/* Cherry-детокс: shared header, footer, aura ground, sound toggle and cherry cursor. */

body.cherry { background: transparent; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M14 4 C 12 9, 11 13, 9 19' stroke='%235e2a40' stroke-width='1.6' fill='none'/%3E%3Ccircle cx='8.5' cy='21' r='6' fill='%23d64a7c'/%3E%3Ccircle cx='19' cy='20' r='6' fill='%23b83a68'/%3E%3Cellipse cx='12' cy='7' rx='4' ry='2' fill='%23a6d18a' transform='rotate(-20 12 7)'/%3E%3C/svg%3E") 8 8, auto; }
body.cherry a, body.cherry button { cursor: inherit; }

.aura-bg { position: fixed; inset: -10%; z-index: -1; pointer-events: none; background: radial-gradient(38% 42% at var(--mx, 50%) var(--my, 40%), rgb(247 168 192 / .6), transparent 72%), radial-gradient(34% 40% at calc(100% - var(--mx, 50%)) 72%, rgb(196 178 236 / .42), transparent 72%), radial-gradient(42% 38% at 18% 82%, rgb(251 227 199 / .62), transparent 72%), radial-gradient(30% 30% at 88% 14%, rgb(214 74 124 / .2), transparent 72%), var(--paper); animation: aura-breathe 11s ease-in-out infinite alternate; }
@keyframes aura-breathe { 0% { transform: scale(1); } 100% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .aura-bg { animation: none; } }

.st-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; }
.st-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: var(--wrap); margin: 0 auto; padding: 30px 0; }
.st-header__name { font-family: var(--name); font-size: 25px; line-height: 1; letter-spacing: .04em; color: var(--accent); text-decoration: none; font-weight: 300; }
.st-header__nav { display: flex; gap: 32px; font-size: 16px; }
.st-header__nav a { text-decoration: none; opacity: .78; transition: opacity .4s ease; }
.st-header__nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.st-header__nav a:hover { opacity: 1; }
.st-header__end { display: flex; align-items: center; gap: 16px; }
.st-header__age { padding: 7px 12px; border-radius: 999px; background: var(--dark); color: var(--on-dark); font-size: 14px; line-height: 1; }
.st-header__tg { font-size: 16px; text-decoration: none; }
.st-header__snd { padding: 9px 14px; border: 0; border-radius: 999px; background: rgb(253 243 246 / .7); color: var(--ink); font: 500 14px/1 var(--text); cursor: pointer; box-shadow: inset 0 0 0 1px rgb(59 37 48 / .2); }
.st-header__snd[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.st-header__menu { display: none; }
.st-header__toggle { padding: 10px 0; border: 0; background: none; color: var(--ink); font: 500 16px/1 var(--text); cursor: pointer; }
.st-header__panel { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 20px 36px; background: var(--fog); }
.st-header__panel nav { display: grid; gap: 4px; margin-top: 10svh; }
.st-header__panel nav a { font-family: var(--display); font-size: 44px; line-height: 1.15; text-decoration: none; font-weight: 300; }
.st-header__close { align-self: flex-end; padding: 10px 0; border: 0; background: none; color: var(--ink); font: 500 16px/1 var(--text); }
.st-header__panel-tg { font-size: 18px; }
@media (max-width: 1080px) { .st-header__nav { gap: 20px; font-size: 15px; } }
@media (max-width: 960px) { .st-header__bar { padding: 22px 0; } .st-header__name { font-size: 21px; } .st-header__nav, .st-header__tg, .st-header__snd { display: none; } .st-header__menu { display: block; } .st-header__end { gap: 12px; } }

.st-footer { position: relative; min-height: min(90svh, 620px); background: var(--fog); color: var(--accent); }
.st-footer [data-vx-wordmark] { margin: 0; font-family: var(--display); font-weight: 500; font-size: 15vw; line-height: 1; letter-spacing: -.01em; color: var(--accent); }
.st-footer__top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 30px; width: var(--wrap); margin: 0 auto; padding-top: 44px; font-size: 18px; color: #9c2f58; }
.st-footer__top a { text-decoration: none; }
.st-footer__legal { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 20px; width: var(--wrap); margin: 0 auto; padding: 28px 0; font-size: 14px; color: #9c2f58; }
@media (max-width: 860px) { .st-footer__top { flex-direction: column; gap: 6px; padding-top: 32px; font-size: 16px; } .st-footer__legal { flex-direction: column; gap: 6px; padding: 22px 0; } }

.dx-age-note { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: var(--dark); color: var(--on-dark); font-size: 15px; line-height: 1; }
.dx-tg { display: inline-flex; align-items: center; gap: 12px; }
.dx-tg::after { content: "→"; font-family: var(--display); font-size: 1.2em; line-height: 1; }
.dx-snd-state { font-size: 14px; color: var(--muted); }
.dx-sparkle { position: absolute; width: 10px; height: 10px; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, transparent 70%); }
