@font-face{font-family:Archivo Black;src:url("./art/archivo-black.woff2") format("woff2");font-display:swap;font-weight:900}
*{box-sizing:border-box}html,body{margin:0;height:100%;background:#080707;color:#fff9ef;font-family:"Segoe UI","Microsoft YaHei",sans-serif}body{overscroll-behavior:none}
button,a{color:inherit;font:inherit;-webkit-tap-highlight-color:transparent}button{border:0;background:none;cursor:pointer}a{text-decoration:none}
:focus-visible{outline:2px solid #fff9ef;outline-offset:5px}
.stage{position:relative;width:100%;height:100%;height:100dvh;min-height:280px;isolation:isolate;overflow:hidden;touch-action:none;background:#080707;user-select:none}
#landscape,.land,#film,#mineral{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#landscape{z-index:0;overflow:hidden;opacity:0}.land{inset:-4%;width:108%;height:108%;background-size:cover;background-position:center;opacity:0;will-change:opacity,transform}
.land::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,5,6,.24),transparent 38%,transparent 65%,rgba(6,5,7,.57))}
.land{background-size:auto 100%;background-repeat:repeat-x}.land:first-child{opacity:1}
#beauty-frame{position:absolute;z-index:3;pointer-events:none;overflow:hidden;border:1px solid #95847b;border-radius:5px;opacity:0}#beauty-frame span{display:block;background:#292221;color:#d0bfb1;padding:3px 7px;font:10px Arial,sans-serif;text-align:left}
#film{z-index:1}.frame-head,.frame-foot{position:absolute;z-index:6;left:clamp(18px,3vw,54px);right:clamp(18px,3vw,54px);display:flex;align-items:center;justify-content:space-between}
.frame-head{top:max(env(safe-area-inset-top),clamp(13px,2.8vh,34px))}.frame-foot{bottom:max(env(safe-area-inset-bottom),clamp(12px,2.8vh,30px))}
.frame-control,.sound,.direction{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:44px;font-weight:600;line-height:1;font-size:clamp(12px,.98vw,15px);text-shadow:0 1px 8px #000b}
.frame-control{padding:0 3px}.enter-link span{font-size:19px;transition:transform .25s}.enter-link:hover span{transform:translate(2px,-2px)}
.index-mark{width:17px;height:15px;position:relative;transform:skewX(-22deg);display:flex;align-items:center;gap:2px}.index-mark i{width:3px;height:11px;background:currentColor}.index-mark i:nth-child(2){height:15px}.index-count,.mobile-count{font:11px/1.2 Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:.07em}
.index-count{color:#eee2d2;margin-left:3px}.index-toggle,.frame-foot{opacity:0;visibility:hidden;transition:opacity .55s}.is-ready .index-toggle,.is-ready .frame-foot{opacity:1;visibility:visible}
#scene-index{position:absolute;z-index:8;top:max(70px,8.7vh);left:clamp(18px,3vw,54px);background:#191817f2;border:1px solid #8a776d81;min-width:210px;padding:5px 15px;border-radius:3px}
#scene-index button{display:flex;align-items:center;gap:20px;width:100%;min-height:48px;text-align:left;border-bottom:1px solid #ffffff24;font-weight:600}#scene-index button:last-child{border:0}#scene-index button span{color:#cebdac;font:11px Consolas,monospace}
#scene-index button[aria-current=true]::after{content:"";margin-left:auto;width:6px;height:6px;background:#f5dcc2;border-radius:50%}
.portal{position:absolute;z-index:4;left:50%;top:48%;transform:translate(-50%,-50%);width:min(42vh,56vw);height:82%;border-radius:45%;visibility:hidden;cursor:zoom-in}.is-ready .portal{visibility:visible}
.portal:focus-visible{outline-offset:6px;outline:1px dashed #fff}
.reel{position:absolute;inset:0;z-index:5;pointer-events:none;perspective:1000px}
.reel button{position:absolute;top:80%;left:50%;padding:.02em .09em .06em;display:flex;flex-direction:column;align-items:center;justify-content:center;white-space:nowrap;line-height:.80;letter-spacing:-.076em;font-family:"Archivo Black","Arial Black",Impact,sans-serif;font-weight:900;font-size:clamp(42px,min(10.8vw,13.9vh),180px);will-change:transform,opacity;visibility:hidden;color:transparent;-webkit-text-stroke:1.1px #fff3e2}
.is-ready .reel button{pointer-events:auto}.reel button:focus-visible{outline-offset:0}.reel button[aria-current=true]{cursor:zoom-in}
.steps,.sound,.gesture{display:flex;align-items:center}.steps{gap:4px}.direction{min-width:44px;font-size:23px;font-weight:400;border-radius:30px}.direction:hover,.sound:hover{background:#ffffff16}
.gesture{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;text-shadow:0 1px 6px #000;letter-spacing:.06em}.divider{margin:0 10px;opacity:.6}.mobile-count,.touch-tip{display:none}
.sound{gap:8px;padding:0 7px;font-size:12px}.meter{display:flex;align-items:center;gap:2px;height:17px}.meter i{display:block;width:2px;height:3px;background:currentColor}.sound[aria-pressed=true] .meter i{animation:bars .8s ease-in-out infinite alternate}.meter i:nth-child(2){animation-delay:-.65s!important}.meter i:nth-child(3){animation-delay:-.25s!important}.meter i:nth-child(5){animation-delay:-.5s!important}@keyframes bars{to{height:13px}}
.sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
@media(max-width:650px){.frame-head,.frame-foot{left:16px;right:16px}.index-count{display:none}.reel button{font-size:clamp(38px,11.4vw,67px);top:79%}.portal{width:67vw}.frame-foot{bottom:max(12px,env(safe-area-inset-bottom));flex-wrap:wrap}.gesture{bottom:51px;font-size:11px}.mobile-count{display:inline}.steps{gap:0}.sound{padding-right:0}}
@media(pointer:coarse){.desktop-tip{display:none}.touch-tip{display:inline}}
@media(max-height:470px) and (orientation:landscape){.reel button{font-size:10vh;top:80%}.frame-foot{bottom:3px}.gesture{bottom:auto}.frame-head{top:2px}}
@media(prefers-reduced-motion:reduce){*,*::after{animation:none!important;transition:none!important}}

#mineral{z-index:3;opacity:0}#projection{position:absolute;z-index:2;left:50%;top:45%;pointer-events:none;visibility:hidden;will-change:transform;transform-origin:50% 50%}
.header-actions{display:flex;align-items:center;gap:clamp(18px,2.1vw,32px)}#close-detail[hidden]{display:none}
.is-detail .portal,.is-detail .reel button[aria-current=true]{cursor:zoom-out}.is-detail .portal{border-radius:0;width:min(80vw,106vh);height:63%;top:45%}
.reel button span{background-image:linear-gradient(90deg,#fff8ee var(--fill,0%),transparent var(--fill,0%));background-clip:text;-webkit-background-clip:text;color:transparent}
.reel button[aria-current=true]{filter:drop-shadow(0 2px 7px #21181a22)}
#scene-index{max-height:calc(100dvh - 140px);overflow-y:auto;touch-action:pan-y}
@media(max-width:650px){.portal{top:44.5%;width:min(62vw,40vh);height:min(128vw,82vh)}.frame-head{align-items:center}.header-actions{gap:12px}.reel button{font-size:clamp(39px,13vw,75px)}}

#enter-platform,.entrance-fallback{position:absolute;top:56%;left:50%;z-index:7;display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:46px;padding:0 23px;border:1px solid #ffffff91;border-radius:2px;background:#171410ed;color:#fffaf0;transform:translate(-50%,-50%);font-weight:650;letter-spacing:.06em;box-shadow:0 3px 16px #0a060838}
#enter-platform[hidden]{display:none}
#enter-platform:hover{background:#fff9ed;color:#201916}
#enter-platform:focus-visible{outline-offset:4px}
@media(prefers-reduced-motion:no-preference){#enter-platform{animation:platform-arrive .48s cubic-bezier(.19,1,.22,1) both}@keyframes platform-arrive{from{opacity:0;transform:translate(-50%,0) scale(.94)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}}

#landscape::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background-image:var(--terrain-grain);background-size:112px 112px;background-position:var(--grain-pan,0px) center;opacity:.44;mix-blend-mode:soft-light;mask-image:linear-gradient(#0007 0%,#0005 50%,#000 68%)}

#wake{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.skip-intro{position:absolute;left:50%;top:14px;transform:translate(-50%,-170%);padding:9px 14px;background:#211a18;color:#fff;z-index:9}
.skip-intro:focus{transform:translate(-50%,0)}
