@font-face{font-family:Cormorant;src:url(../fonts/cormorant-italic.woff2) format("woff2");font-style:italic;font-weight:400;font-display:swap}:root{color-scheme:dark;font-family:PingFang SC,Microsoft YaHei,sans-serif;background:#091825;color:#f3f2e7;--edge: clamp(17px, 3vw, 56px);--accent: #f3d49e}*{box-sizing:border-box}body{margin:0}#exhibit{height:100vh;height:100dvh;min-height:240px;position:relative;isolation:isolate;overflow:hidden;background:#102638}#stage,#stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}#stage{touch-action:none;outline:none;cursor:crosshair}#stage:active{cursor:grabbing}button{appearance:none;background:transparent;border:0;color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:1px solid var(--accent);outline-offset:2px}button:disabled{opacity:.45}button[aria-pressed=true]{color:var(--accent)}button svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;fill:none;display:block}.icons{width:0;height:0;position:absolute;overflow:hidden}.overlay{position:absolute;z-index:1;transition:opacity .42s,visibility .42s;text-shadow:0 1px 8px #071522,0 1px 3px #14242b}.clean .overlay,.clean #notice,.failed .field-tools,.failed .chapter{opacity:0;visibility:hidden;pointer-events:none}.inscription{display:flex;gap:13px;align-items:center;left:var(--edge);top:max(25px,env(safe-area-inset-top));pointer-events:none}.seal{font:40px/1 Georgia,serif;color:var(--accent);filter:drop-shadow(0 0 7px #d0a87588)}h1{margin:0;font-family:Songti SC,STSong,serif;font-size:18px;font-weight:500;letter-spacing:.35em}.inscription em{display:block;font:italic 15px/1.35 Cormorant,Georgia,serif;color:#ede4d1;letter-spacing:.025em}.instruments{top:max(21px,env(safe-area-inset-top));right:var(--edge);display:flex;align-items:center;gap:5px}.instruments button,.toolrow button{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:42px;filter:drop-shadow(0 2px 2px #08101e)}.instruments button:hover,.chapter button:hover,.toolrow button:hover{color:#ffe3ac}.instruments button[aria-busy=true]{animation:pulse 1s infinite alternate}@keyframes pulse{to{opacity:.3}}.chapter{left:var(--edge);bottom:max(25px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.18em}.chapter .alive{width:5px;height:5px;background:#bfdbd1;border-radius:50%;box-shadow:0 0 8px #81d9b6}.chapter i{width:25px;height:1px;background:#d5d9c880}.chapter button{display:flex;align-items:center;gap:6px;min-height:40px;letter-spacing:.08em;font-size:11px}.chapter svg{width:13px;height:13px}.field-tools{left:50%;transform:translate(-50%);bottom:max(19px,env(safe-area-inset-bottom));text-align:center;white-space:nowrap}.field-tools p{font-size:10px;letter-spacing:.16em;margin:0 0 5px;color:#e1e9e8}.toolrow{display:flex;align-items:center;justify-content:center;gap:8px}.toolrow button{gap:7px;font-size:11px;letter-spacing:.13em;padding:0 9px;position:relative}.toolrow button[aria-pressed=true]:after{content:"";position:absolute;bottom:2px;height:2px;width:8px;background:var(--accent)}#exhibit:not([data-phase=free]) .field-tools{visibility:hidden;opacity:0}@property --hand{syntax: "<color>"; inherits: true; initial-value: #d9ecf5;}@property --hand2{syntax: "<color>"; inherits: true; initial-value: #b9f0e0;}#hand-preview{right:var(--edge);bottom:max(25px,env(safe-area-inset-bottom));width:clamp(206px,18vw,272px);padding:7px 7px 9px;border-radius:20px;background:linear-gradient(165deg,#12303c8c,#06121bb8 55%);-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);box-shadow:0 18px 50px #01080e99,0 0 42px color-mix(in srgb,var(--hand) 14%,transparent),inset 0 1px #ffffff1f;pointer-events:none;transition:opacity .42s,visibility .42s,--hand .5s,--hand2 .5s;animation:hand-in .7s cubic-bezier(.2,.9,.25,1)}@keyframes hand-in{0%{opacity:0;transform:translateY(14px) scale(.96)}}#hand-preview:before{content:"";position:absolute;inset:0;padding:1px;border-radius:inherit;background:linear-gradient(140deg,var(--hand),#ffffff14 38%,#ffffff0a 62%,var(--hand2));-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);opacity:.75}.hand-view{position:relative;aspect-ratio:4 / 3;overflow:hidden;border-radius:14px;background:#07151e}.hand-view video,.hand-view canvas{position:absolute;inset:0;width:100%;height:100%}.hand-view video{object-fit:fill;transform:scaleX(-1);filter:grayscale(.85) brightness(.46) contrast(1.12)}.hand-view:before{content:"";position:absolute;z-index:1;inset:0;background:radial-gradient(ellipse at 50% 45%,transparent 35%,#030c14d9 115%),linear-gradient(200deg,#123f5a73,#0b2233a6)}.hand-view canvas{z-index:2}.hand-state{margin:9px 0 8px;text-align:center;font-family:Songti SC,STSong,serif;font-size:13px;line-height:1.3;letter-spacing:.2em;text-indent:.2em;white-space:nowrap;color:var(--hand);text-shadow:0 0 14px color-mix(in srgb,var(--hand) 60%,transparent)}#hand-preview[data-state=idle] .hand-state{animation:breathe 1.5s infinite alternate ease-in-out}@keyframes breathe{to{opacity:.45}}.hand-legend{display:grid;grid-template-columns:repeat(6,1fr);margin:0;padding:0;list-style:none}.hand-legend li{display:grid;justify-items:center;gap:4px;font-size:10px;letter-spacing:.06em;color:#dfeaf0;opacity:.5;transition:opacity .3s,color .3s}.hand-legend i{position:relative;display:grid;place-items:center;width:31px;height:31px}.hand-legend i:before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(var(--hand) calc(var(--hold, 0) * 360deg),#ffffff24 0);-webkit-mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1px));mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1px));opacity:0;transition:opacity .3s}.hand-legend svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-linecap:round}.hand-legend .thin{stroke-width:.7;opacity:.6}.hand-legend .bold{stroke-width:1.5}.hand-legend g{fill:currentColor;stroke:none}.hand-legend li.on{opacity:1;color:var(--hand)}.hand-legend li.on i:before{opacity:1}.hand-legend li.on svg{filter:drop-shadow(0 0 5px var(--hand))}#wish{z-index:3;top:calc(max(21px,env(safe-area-inset-top)) + 54px);right:var(--edge);width:min(304px,calc(100vw - 34px));padding:20px 20px 15px;border:1px solid #f3d49e42;border-radius:20px;background:linear-gradient(165deg,#14323dc7,#06121be0 60%);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);box-shadow:0 18px 50px #01080e99,inset 0 1px #ffffff1f;text-align:center;animation:hand-in .5s cubic-bezier(.2,.9,.25,1)}#wish p{margin:0}.wish-x{position:absolute;top:4px;right:4px;width:42px;height:42px;font-size:20px;line-height:1;opacity:.7}.wish-title{font-family:Songti SC,STSong,serif;font-size:16px;letter-spacing:.24em;text-indent:.24em;color:var(--accent)}.wish-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#wish-name{width:100%;margin:14px 0 9px;padding:9px 4px;border:0;border-bottom:1px solid #f3d49e80;border-radius:0;outline:0;background:transparent;color:#fff6df;font:500 24px Songti SC,STSong,serif;letter-spacing:.12em;text-align:center}#wish-name:focus{border-color:var(--accent);box-shadow:0 8px 14px -10px #f3d49eb0}#wish-name::selection{background:#f3d49e52;color:#fff}#wish-name::placeholder{color:#e6edf28a;font-size:17px}#wish-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;letter-spacing:.1em;color:#dfeaf0}.wish-row{display:flex;gap:8px;margin:15px 0 11px}.wish-row button{min-height:42px;padding:0 16px;border:1px solid #f3d49e66;border-radius:21px;font-size:13px;letter-spacing:.1em}.wish-row .wish-main{flex:1;border-color:transparent;background:linear-gradient(100deg,#f7dfae,#d9a862);color:#2b1c08;font-weight:600}.wish-note{font-size:11px;letter-spacing:.04em;color:#c6d4dc}#notice{position:absolute;z-index:2;left:50%;bottom:110px;transform:translate(-50%);width:max-content;max-width:88%;text-align:center;color:#fff3d8;background:#0b2029d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:3px;padding:8px 16px;font-size:12px;pointer-events:none}#notice:empty{display:none}#exit-clean{position:absolute;opacity:0;left:16px;top:16px;pointer-events:none}#exit-clean:focus-visible{opacity:1;pointer-events:auto;background:#0a202d;padding:10px}#unavailable{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;font-size:14px}#retry{text-decoration:underline;padding:10px}[hidden]{display:none!important}@media(max-width:760px){.inscription{gap:8px;top:max(15px,env(safe-area-inset-top))}.seal{font-size:31px}h1{font-size:15px}.inscription em{font-size:13px}.instruments{top:max(12px,env(safe-area-inset-top));gap:1px}.instruments button{min-width:34px}.chapter{bottom:max(12px,env(safe-area-inset-bottom));gap:6px}.chapter i{width:12px}#hand-preview{top:calc(max(12px,env(safe-area-inset-top)) + 50px);bottom:auto;width:148px;padding:5px 5px 2px;border-radius:16px}#hand-preview[data-portrait=true]{width:118px}.hand-view{border-radius:11px}.hand-state{margin:7px 0 6px;font-size:11px;letter-spacing:.06em;text-indent:.06em}.hand-legend{display:none}.field-tools{bottom:calc(53px + env(safe-area-inset-bottom))}.field-tools p{font-size:9px;letter-spacing:.1em}.toolrow{gap:2px}}@media(orientation:landscape)and (max-height:500px){.inscription{top:8px}.instruments{top:4px}.chapter{bottom:4px}.field-tools{bottom:5px}#hand-preview{top:auto;bottom:8px;width:148px;padding:5px 5px 2px}.hand-state{margin:6px 0;font-size:11px;letter-spacing:.06em}.hand-legend{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.clean #stage,.clean #stage:active{cursor:none}
