*{box-sizing:border-box}html,body,#scene{width:100%;height:100%;margin:0;overflow:hidden}body{background:#b8b9ad;font-family:Arial,sans-serif}canvas{width:100%;height:100%;display:block}body.entrance-review{background:#171918;place-items:center;display:grid}body.entrance-review #scene{aspect-ratio:16/9;width:min(100vw,177.778dvh);height:auto}#loading{color:#354145;letter-spacing:.12em;z-index:3;background:#b8b9ad;justify-content:center;align-items:center;gap:12px;font-size:12px;transition:opacity .6s;display:flex;position:fixed;inset:0}#loading.ready{opacity:0;pointer-events:none}#loading span{border:1px solid #35414544;border-top-color:#354145;border-radius:50%;width:12px;height:12px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}#controls{opacity:0;z-index:2;gap:6px;transition:opacity .3s;display:flex;position:fixed;bottom:18px;right:20px}body:hover #controls,#controls:focus-within{opacity:.65}#controls:hover{opacity:1}button{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#f2eee3;cursor:pointer;background:#15232655;border:1px solid #ffffff28;border-radius:3px;place-items:center;width:34px;height:32px;font-size:18px;display:grid}button:hover,button:focus-visible{background:#152326aa;outline:1px solid #f2eee3}body.clean #controls,button[hidden]{display:none}#phase{color:#f3eee1;letter-spacing:.22em;text-shadow:0 1px 8px #0008;pointer-events:none;opacity:.8;font-size:10px;position:fixed;top:28px;left:30px}#explore-hint{color:#f2eee3;pointer-events:none;background:#172322c9;border-radius:3px;max-width:calc(100% - 60px);padding:6px 10px;font-size:12px;line-height:1.5;position:fixed;top:48px;left:30px}.playing #explore-hint{top:59px}.touch-hint,body.clean #explore-hint{display:none}@media (pointer:coarse){.mouse-hint{display:none}.touch-hint{display:inline}#controls{opacity:.85}}#sequences{z-index:2;gap:8px;width:min(448px,100% - 24px);display:flex;position:fixed;bottom:52px;left:50%;transform:translate(-50%)}#sequences button{letter-spacing:.14em;background:#172322d6;border:1px solid #e6e3cd50;border-radius:2px;flex:1;justify-content:space-between;align-items:center;height:51px;padding:0 21px;font-size:11px;display:flex;box-shadow:0 8px 40px #0002}#sequences button:hover{background:#25342de8;border-color:#e6e3cd99}#sequences[hidden],body.clean #sequences,body.clean #phase{display:none}@media (width<=820px){.ended #ending{bottom:121px;left:20px}}@media (width<=440px){#sequences{gap:5px;bottom:58px}#sequences button{letter-spacing:.07em;padding:0 12px}}.standby #pause,#sound .sound-slash{display:none}#sound.muted .sound-slash{display:block}#sound.muted .sound-waves{display:none}#cinema-frame{pointer-events:none;z-index:1;position:fixed;inset:0}#cinema-frame:before,#cinema-frame:after{content:"";background:#080b0b;height:0;transition:height 1.8s;position:absolute;left:0;right:0}#cinema-frame:before{top:0}#cinema-frame:after{bottom:0}.playing #cinema-frame:before,.playing #cinema-frame:after,.ended #cinema-frame:before,.ended #cinema-frame:after{height:22px}.playing #phase{opacity:.6;top:39px}#ending{z-index:2;color:#f1ead9;pointer-events:none;opacity:0;text-shadow:0 2px 20px #0008;transition:opacity 2s,transform 2s;position:fixed;bottom:54px;left:42px;transform:translateY(6px)}#ending span{letter-spacing:.32em;font-size:16px;font-weight:400;display:block}#ending small{letter-spacing:.3em;opacity:.6;margin-top:12px;font-size:8px;display:block}.ended #ending{opacity:1;transform:none}.ended #phase{opacity:0}body.clean #ending,body.clean #cinema-frame{display:none}@media (prefers-reduced-motion:reduce){#loading span{animation:none}}
