*{box-sizing:border-box}html,body{color:#fff;background:#1b1612;height:100%;margin:0;font-family:Segoe UI,system-ui,sans-serif;overflow:hidden}#scene{width:100%;height:100%;display:block;position:fixed;inset:0}#hud{pointer-events:none;text-shadow:0 1px 3px #000000b3;position:fixed;top:16px;left:16px}#title{letter-spacing:.02em;font-size:20px;font-weight:600}#view-label,#time-label,#guide-progress{opacity:.9;margin-top:4px;font-size:13px}#bottom{pointer-events:none;flex-direction:column;align-items:center;gap:10px;width:min(560px,100% - 32px);display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%)}#hints{pointer-events:none;background:#140e0a8c;border-radius:10px;flex-wrap:wrap;justify-content:center;gap:6px 16px;padding:8px 16px;font-size:13px;display:flex}#hints b{color:#ffd27a;font-weight:600}#crosshair{pointer-events:none;background:#fffc;border-radius:50%;width:6px;height:6px;margin:-3px 0 0 -3px;display:none;position:fixed;top:50%;left:50%;box-shadow:0 0 2px #000c}body.first-person #crosshair{display:block}#start{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#140e0a8c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}#start.hidden{display:none}#start .card{text-align:center;background:#281a10e6;border:1px solid #ffd27a59;border-radius:14px;padding:32px 40px}#start h1{color:#ffd27a;margin:0 0 8px;font-size:28px}#start p{opacity:.9;margin:0 0 20px}#start-btn{color:#2a1a0e;cursor:pointer;background:#ffd27a;border:0;border-radius:8px;padding:10px 28px;font-size:16px;font-weight:600}#start-btn:hover{background:#ffe0a0}html,body{overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#scene,#joystick{touch-action:none}#touch-ui,#touch-hint{display:none}#joystick{left:max(24px, env(safe-area-inset-left));bottom:max(28px, env(safe-area-inset-bottom));background:#140e0a59;border:2px solid #ffffff73;border-radius:50%;width:132px;height:132px;position:fixed}#knob{pointer-events:none;background:#ffd27ad9;border-radius:50%;width:56px;height:56px;margin:-28px 0 0 -28px;position:absolute;top:50%;left:50%;box-shadow:0 2px 6px #0006}#touch-buttons{right:max(16px, env(safe-area-inset-right));bottom:max(36px, env(safe-area-inset-bottom));flex-direction:column;gap:12px;display:flex;position:fixed}#touch-buttons button{color:#fff;background:#140e0a8c;border:1px solid #ffffff73;border-radius:24px;min-height:48px;padding:0 16px;font-size:14px;font-weight:600}#touch-buttons button:active{background:#ffd27a99}#touch-hint{opacity:.9;text-shadow:0 1px 3px #000000b3;pointer-events:none;font-size:13px;position:fixed;top:122px;left:16px;right:124px}@media (pointer:coarse){#touch-ui,#touch-hint{display:block}#hints{display:none}}body.touch #touch-ui,body.touch #touch-hint{display:block}body.touch #hints{display:none}#minimap{opacity:.92;pointer-events:none;border:2px solid #ffffff8c;border-radius:10px;width:168px;height:auto;position:fixed;top:16px;right:16px;box-shadow:0 2px 10px #0006}#minimap.hidden{display:none}#guide{opacity:0;pointer-events:none;background:#281a10e0;border:1px solid #ffd27a66;border-radius:12px;width:100%;padding:14px 18px;transition:opacity .35s,transform .35s;transform:translateY(12px)}#guide.show{opacity:1;transform:none}#guide-title{color:#ffd27a;margin-bottom:4px;font-size:17px;font-weight:600}#guide-text{font-size:14px;line-height:1.5}@media (pointer:coarse){#minimap{width:100px;top:12px;right:12px}#bottom{top:170px;bottom:auto}#guide{padding:10px 14px}#guide-title{font-size:15px}#guide-text{font-size:13px}}
