*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#101e25;color:#fff4d8;font-family:Arial,sans-serif;touch-action:none;overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer;min-width:48px;min-height:48px;background:#142b31cc;border:1px solid #d5b57165;border-radius:8px;touch-action:none}button:hover{background:#31505c}button:focus-visible{outline:3px solid #a9fff1;outline-offset:3px}button:disabled{opacity:.42;cursor:default}[hidden]{display:none!important}#world{display:block;width:100%;height:100%;position:fixed;inset:0}#vignette{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 52% 43%,transparent 42%,#04101865 100%)}#hud{position:fixed;left:25px;right:22px;top:22px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}#hud h1{font:600 24px Georgia,serif;margin:5px 0;text-shadow:0 2px 6px #000}small,#chapter{font-size:10px;letter-spacing:2px;color:#edc482}#tools{display:flex;gap:8px;pointer-events:auto}#tools button{font-size:25px;width:48px;height:48px;background:#0d222bd9}#objective{position:fixed;top:93px;left:25px;right:25px;font-size:13px;color:#e5e4ce;text-shadow:0 2px 6px #000;pointer-events:none}#timer{margin-left:12px;color:#89e6e3;font-variant-numeric:tabular-nums}#hint{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);max-width:620px;width:max-content;text-align:center;padding:11px 20px;border-radius:30px;background:#0b1c25cf;border:1px solid #d9b67050;font-size:14px;pointer-events:none}.overlay{position:fixed;inset:0;display:flex;align-items:center;background:linear-gradient(90deg,#081820f2,#081820cf 36%,#0818201a 80%);padding:4vh 6vw}.title-card{max-width:660px}.eyebrow{letter-spacing:3px;color:#dbb66a;font-size:11px;font-weight:bold}h2{font:600 clamp(56px,6.6vw,96px)/.94 Georgia,serif;letter-spacing:-3px;margin:22px 0}h2 em{font-weight:400;color:#e6bc71}.story{font:17px/1.6 Georgia,serif;color:#c0d0cc}.controls{font-size:12px;line-height:1.9;color:#b3c5c6}.primary{background:#deb776;color:#17272b;border-color:#ffe0a6;font-weight:bold;padding:14px 22px;min-width:230px}.primary:hover{background:#f7d598}.primary span{float:right;padding-left:28px}.local{letter-spacing:1.2px;font-size:9px;color:#7e9b9f}#chapters{display:flex;gap:8px;margin:25px 0 10px}#chapters button{font-size:12px;min-width:58px;padding:10px 16px}#chapters button.selected{border-color:#f6cb75;background:#89704755}#stage-description{font-size:13px;color:#e7d2a4;min-height:30px}.centered{justify-content:center;text-align:center;background:#06151bc7;backdrop-filter:blur(7px)}.dialog{max-width:550px;padding:32px}.dialog h2{font-size:54px;line-height:1.05}.dialog p{line-height:1.7;color:#b9cecc;margin-bottom:28px}.dialog button{display:block;width:100%;margin-top:12px}#touch{position:fixed;inset:0;pointer-events:none}#stick{position:absolute;left:25px;bottom:28px;width:120px;height:120px;border-radius:50%;background:#10283165;border:1px solid #fff3;pointer-events:auto;touch-action:none}#stick i{display:block;position:absolute;left:38px;top:38px;width:44px;height:44px;border-radius:50%;background:#c9d8c757;border:1px solid #ead8a977}#stick span{position:absolute;bottom:12px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:2px;color:#d9e8df8c}.touch-actions{position:absolute;right:24px;bottom:29px;display:flex;align-items:flex-end;gap:15px;pointer-events:auto}.touch-actions button{width:72px;height:72px;border-radius:50%;background:#21383ebf;font-size:27px;border-color:#e4c78c88}.touch-actions #jump{width:84px;height:84px;background:#b8873cab;color:#fff9de}.touch-actions small{display:block;font:8px Arial;letter-spacing:1px;color:inherit;margin-top:3px}#failure{position:fixed;inset:30%;padding:20px;background:#132931}
#chapter-pages{display:flex;align-items:center;gap:14px;margin-top:18px;max-width:330px}#chapter-pages button{min-width:44px;min-height:44px;padding:0}#page-label{flex:1;text-align:center;font-size:10px;letter-spacing:1px;color:#cfba8f}#chapters{margin-top:8px}#chapters button{min-width:52px;padding:9px 10px}.title-card{width:660px}
@media(pointer:fine){#touch{display:none}}@media(max-width:600px){#hud{top:18px;left:16px;right:14px}#hud h1{font-size:19px;max-width:220px}#chapter{font-size:9px}#tools{gap:5px}#tools button{width:44px;min-width:44px;height:44px;min-height:44px}#objective{top:84px;left:16px;right:16px;font-size:12px;max-width:320px;line-height:1.5}#hint{bottom:171px;width:calc(100% - 32px);font-size:12px;padding:10px 14px}#stick{left:18px;bottom:28px;width:110px;height:110px}#stick i{left:33px;top:33px}.touch-actions{right:18px;gap:10px}.touch-actions button{width:64px;height:64px}.touch-actions #jump{width:75px;height:75px}.overlay{padding:25px 26px;background:linear-gradient(90deg,#081820ef,#08182085)}h2{font-size:61px;margin:16px 0;letter-spacing:-2px}.story{font-size:14px;line-height:1.5}.story br{display:none}#chapters{margin-top:8px}.controls{font-size:10px;margin-top:16px}.local{font-size:8px}.dialog{padding:12px}.dialog h2{font-size:44px}}
@media(max-height:500px){.overlay{padding:15px 5vw}.title-card{max-width:650px;display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.title-card h2{font-size:53px;grid-row:2/5;margin:12px 0}.eyebrow{font-size:9px}.title-card .eyebrow{grid-column:1/3}.story{font-size:12px;margin:10px 0 0}.title-card #chapters{margin:10px 0 2px}.title-card #stage-description{margin:4px 0;min-height:20px;font-size:11px}.title-card .primary{grid-column:2;min-height:44px;padding:8px}.title-card .controls{grid-column:1;font-size:9px;margin:0}.title-card .local{grid-column:2;margin-top:8px;font-size:7px}.dialog h2{font-size:35px;margin:10px}.dialog{padding:10px}.dialog p{margin:10px}.dialog button{min-height:44px;margin:6px;padding:8px}#hud{top:12px}#objective{top:72px}#hint{bottom:15px;max-width:430px;font-size:11px}#stick{width:100px;height:100px;bottom:20px}#stick i{left:28px;top:28px}.touch-actions{bottom:20px}.touch-actions #jump{width:70px;height:70px}.touch-actions button{width:62px;height:62px}}
@media(max-height:500px){.title-card h2{grid-column:1;grid-row:2/6}.title-card .story,.title-card #chapter-pages,.title-card #chapters,.title-card #stage-description{grid-column:2}.title-card #chapter-pages{margin-top:4px}.title-card #chapters{margin-top:4px}.title-card .controls{grid-row:6/8}.title-card #chapters button{min-width:44px;min-height:44px;padding:5px}.dialog{max-width:600px}.dialog button{min-height:44px}.dialog h2{margin:5px;font-size:32px}.dialog p{margin:8px}}
