*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#e7e8e3;color:#252b25;font-family:Arial,Helvetica,sans-serif}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,canvas:focus-visible{outline:2px solid #7b9700;outline-offset:4px}button[hidden],[hidden]{display:none!important}canvas{display:block;width:100%;height:100%;touch-action:none;outline:0}
.icon{width:44px;height:44px;padding:12px;display:grid;place-content:center;border:1px solid #fff9;background:#f6f8f149;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:50%;box-shadow:0 4px 14px #2e3a2410}.icon:hover{background:#faffea9c}.icon svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}#back{position:absolute;left:28px;top:25px;z-index:5}#exit{position:absolute;right:28px;top:25px;z-index:5}.tools{position:absolute;right:28px;bottom:28px;display:flex;align-items:center;gap:8px;z-index:5}
#description{position:absolute;right:48px;top:50%;translate:0 -50%;width:360px;max-width:33vw;perspective:1200px;z-index:4;pointer-events:none}.glass{position:relative;pointer-events:auto;transform:rotateY(-8deg) rotateX(2deg);transform-style:preserve-3d;padding:27px 26px;background:linear-gradient(135deg,#fffffc61,#eef5e52b);border:1px solid #ffffffe0;box-shadow:inset 0 1px 0 #ffffff,0 20px 60px #26362019,5px 6px 0 #dce8d030;backdrop-filter:blur(24px) saturate(140%);-webkit-backdrop-filter:blur(24px) saturate(140%);border-radius:3px}
.glass::before{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 24px #faffff38;border-radius:inherit}#description.opening .glass{animation:appear .45s ease-out both}#description h1{font-size:29px;font-weight:500;letter-spacing:-1px;margin:0 30px 27px 0;line-height:1.15}.note-close{position:absolute;top:18px;right:17px;background:none;border:0;padding:7px;font-size:23px;font-weight:300;line-height:1}.tabs{display:flex;gap:24px;border-bottom:1px solid #5d6d4935;margin-bottom:22px}.tabs button{padding:0 0 12px;border:0;background:none;font-size:13px;color:#55614d;position:relative}.tabs button[aria-selected=true]{color:#202b18}.tabs button[aria-selected=true]::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:#a6ce16}#note-body{font-size:16px;line-height:1.75;max-height:min(390px,calc(100dvh - 300px));overflow:auto;overscroll-behavior:contain;margin:0;padding-right:3px;scrollbar-width:thin;scrollbar-color:#70815d6b transparent}
#loading{position:absolute;inset:0;z-index:10;display:grid;place-content:center;background:#e7e8e3}#loading>div{width:150px;height:2px;background:#b8c0ac}#loading span{display:block;height:100%;width:0;background:#90b012;transition:width .25s}#load-error{font-size:16px;max-width:270px;line-height:1.6}#cover{border:0;background:#e7e8e3e8;backdrop-filter:blur(25px);width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;inset:0}#cover::backdrop{background:#e7e8e3}#cover .cover-content{height:100%;display:flex;align-items:center;justify-content:center;gap:40px}#cover strong{font-size:60px;font-weight:500;letter-spacing:-4px}#resume{width:62px;height:62px}#resume svg{width:30px;height:30px}
.accessible-scenes{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.accessible-scenes:focus-within{clip-path:none;width:auto;height:auto;top:20px;left:50%;transform:translateX(-50%);z-index:12;display:flex;background:#f4f8ec;padding:8px;gap:5px}.accessible-scenes button{background:none;border:1px solid #bcc6ae;padding:7px}
@keyframes appear{from{opacity:0;translate:12px 8px}to{opacity:1;translate:0 0}}
@media(max-width:759px){#back{left:17px;top:18px}#exit{right:17px;top:18px}.icon{width:39px;height:39px;padding:10px}.tools{right:17px;bottom:20px;gap:7px}#description{right:20px;left:20px;width:auto;max-width:none;top:auto;bottom:84px;translate:none}.glass{padding:21px 22px;transform:rotateX(4deg) rotateY(-2deg);background:linear-gradient(130deg,#ffffff70,#edf4e33d)}#description h1{font-size:23px;margin-bottom:19px}.tabs{margin-bottom:16px;gap:25px}.tabs button{font-size:12px;padding-bottom:10px}#note-body{font-size:13px;line-height:1.7;max-height:24dvh}.note-close{top:14px;right:14px}.accessible-scenes:focus-within{max-width:70vw;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){#description.opening .glass{animation:none}}

#scene-hint{margin-right:5px;padding:7px 10px;color:#394032;background:#e7e8e3ed;border-radius:4px;font-size:13px;line-height:1.35}
@media(max-width:759px){#scene-hint{font-size:12px;margin-right:1px}.tools{bottom:max(20px,env(safe-area-inset-bottom))}}

.night-market{color:#edf0ed;background:#202837}
.night-market .icon{background:#3b465865;border-color:#e4edff40}
.night-market .icon:hover{background:#59677b9c}
.night-market .glass{background:linear-gradient(135deg,#344153d9,#263345b5);border-color:#e1ebff55;box-shadow:0 14px 46px #080e1a3d}
.night-market .glass::before{box-shadow:inset 0 1px #e8efff25}
.night-market .tabs{border-color:#b3c1cf50}
.night-market .tabs button{color:#c6d0dc}
.night-market .tabs button[aria-selected=true]{color:#fff}
