*{box-sizing:border-box}body{margin:0;background:#101719;color:#efdfba;font:14px system-ui,sans-serif;overscroll-behavior:none}main{max-width:1440px;margin:auto;padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px,env(safe-area-inset-left))}header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-weight:950;letter-spacing:3px;font-size:22px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#ab9670;margin-top:6px}button{font:700 12px system-ui;color:#f6e9cf;background:#263234;border:1px solid #657271;border-radius:8px;min-height:44px;padding:10px 16px;cursor:pointer;touch-action:none;user-select:none}button:focus-visible{outline:3px solid #ffe281;outline-offset:3px}.tools{display:flex;gap:8px}#stage{position:relative;overflow:hidden;border:1px solid #6d6143;border-radius:12px;background:#1b282a;aspect-ratio:1100/620}canvas{width:100%;height:100%;display:block;touch-action:none}#hud{position:absolute;inset:18px 22px auto;display:flex;justify-content:space-between;font-weight:800;letter-spacing:1px;pointer-events:none;text-shadow:0 2px 3px #000}#health{color:#f6c36d}#objective{font-size:12px;background:#101719cc;padding:8px 12px;border:1px solid #657271;border-radius:5px}#notice{position:absolute;bottom:24px;width:100%;text-align:center;font-weight:800;color:#ffe4a4;text-shadow:0 2px 4px #000;pointer-events:none}#overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#101719ec,#10171998)}.card{max-width:580px;padding:25px;text-align:center}.eyebrow{color:#d4ab62;font-size:10px;letter-spacing:3px}h1{font-family:Georgia,serif;font-size:clamp(27px,4.2vw,58px);line-height:1.05;margin:18px 0}#intro{color:#c5ccbf;line-height:1.6;max-width:410px;margin:0 auto}.facts{display:flex;justify-content:center;gap:24px;font-size:11px;letter-spacing:1px;margin:24px 0}.primary{background:#e8b75d;color:#1b2222;border-color:#ffe3a0;min-width:230px;font-size:15px}#overlayHint{font-size:11px;color:#aeb8b3;margin-top:20px}#touch{display:flex;justify-content:space-between;gap:12px;padding:14px 0}.pad,.actions{display:flex;gap:10px}#touch button{width:64px;height:58px;font-size:13px;border-bottom:4px solid #121c1d;background:linear-gradient(#3e4c4b,#273434)}#touch .fire{background:linear-gradient(#ddb260,#9d7134);color:#141b1b}#touch .interact{color:#9ee3cd}#touch button.held{filter:brightness(1.5);transform:translateY(2px)}footer{display:flex;justify-content:space-between;color:#8e9f9d;font-size:10px;letter-spacing:1px;padding:0 0 14px;gap:15px} @media(max-width:650px){main{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}header{height:60px}.brand{font-size:15px;letter-spacing:2px}.brand small{font-size:7px}.tools button{font-size:10px;padding:8px}#stage{aspect-ratio:4/3}#hud{inset:10px;font-size:12px}#objective{font-size:9px;padding:5px}.card{padding:15px}.facts{margin:14px 0;gap:14px;font-size:9px}#intro{font-size:12px}#overlayHint{font-size:9px;margin-top:10px}h1{margin:12px 0}#touch button{width:55px;height:60px}.pad,.actions{gap:7px}footer span:first-child{display:none}footer{font-size:9px}#notice{font-size:11px;bottom:10px}}@media(max-height:520px) and (orientation:landscape){header{height:42px}.brand small,footer{display:none}main{max-width:1000px}#stage{height:calc(100dvh - 52px);aspect-ratio:auto}#touch{position:absolute;bottom:max(12px,env(safe-area-inset-bottom));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));z-index:3;pointer-events:none;padding:0}#touch button{pointer-events:auto;opacity:.78;width:58px;height:52px}#notice{bottom:75px}.card{padding:8px}h1{font-size:32px;margin:8px}.facts{margin:10px}#overlayHint{margin:8px}}
#hud{align-items:flex-start;height:max-content}
