@import url('v3.css');
/* Replaceable vector instruction; no pointer interception or visual scene changes. */
.scroll-gesture .gesture-phone,.scroll-gesture .gesture-desktop{width:66px;height:94px;fill:none;stroke:currentColor;stroke-width:1.2}
.scroll-gesture .gesture-phone{display:none}
@media(pointer:coarse){.scroll-gesture .gesture-phone{display:block}.scroll-gesture .gesture-desktop{display:none}}
.gesture-finger{animation:discover-swipe 2.8s ease-in-out infinite;transform-origin:center;animation-play-state:paused}
.gesture-trail{opacity:.35}.gesture-wheel{animation:discover-wheel 2.8s ease-in-out infinite;animation-play-state:paused}
.visible .gesture-finger,.visible .gesture-wheel{animation-play-state:running}
@keyframes discover-swipe{0%,12%{transform:translateY(0);opacity:0}22%{opacity:1}72%{transform:translateY(-43px);opacity:1}86%,100%{transform:translateY(-43px);opacity:0}}
@keyframes discover-wheel{0%,15%{transform:translateY(0);opacity:.2}30%{opacity:1}75%{transform:translateY(14px);opacity:1}90%,100%{transform:translateY(14px);opacity:0}}
.entry-gate{position:fixed;inset:0;z-index:8;background:#000;display:grid;place-items:center;color:#eee}
.entry-choices{display:flex;align-items:center;flex-direction:column;gap:24px}
.entry-choices button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;min-height:44px;padding:10px 18px}
.entry-choices .enter-sound{font-size:clamp(22px,5vw,30px);letter-spacing:-.025em;border-bottom:1px solid #666}
.entry-choices button:focus-visible{outline:1px solid #fff;outline-offset:6px}
body.awaiting-entry{overflow:hidden}
body.awaiting-entry .scroll-gesture{visibility:hidden!important}
#sound[data-state=armed] .speaker-waves,#sound[data-state=loading] .speaker-waves,#sound[data-state=resume] .speaker-waves,#sound[data-state=retry] .speaker-waves{display:none}
#sound[data-state=armed] .speaker-slash,#sound[data-state=loading] .speaker-slash,#sound[data-state=resume] .speaker-slash,#sound[data-state=retry] .speaker-slash{display:block}
@media(prefers-reduced-motion:reduce){.gesture-finger,.gesture-wheel{animation:none;opacity:1}.gesture-finger{transform:translateY(-22px)}}

/* Contextual pill: the entire surface pulses; lettering keeps local contrast. */
.context-scroll-prompt{position:fixed;z-index:9;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:calc(100vw - 132px);text-align:center;pointer-events:none;opacity:0;transition:opacity .35s;color:#111;font-size:10px;letter-spacing:.12em;line-height:1.5}
.context-scroll-prompt.visible{opacity:1}.context-scroll-prompt span{display:inline-block;max-width:100%;padding:10px 16px;border-radius:999px;background:#f4f1e9;border:1px solid #0003;box-shadow:0 3px 18px #0004;font-weight:600;animation:invitation-pulse 2.1s ease-in-out infinite}
.context-scroll-prompt[data-mode=top]{top:50%;bottom:auto;transform:translate(-50%,-50%)}
@keyframes invitation-pulse{0%,100%{opacity:1}50%{opacity:.6}}
@media(prefers-reduced-motion:reduce){.context-scroll-prompt span{animation:none}.context-scroll-prompt{transition:none}}
