*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#111e2b;color:#f4efe4;font-family:system-ui,-apple-system,sans-serif;touch-action:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:2px solid #ffd390;outline-offset:3px}#game,#world{position:absolute;inset:0;width:100%;height:100%;height:100dvh}#world{display:block}#hud{position:absolute;left:28px;right:25px;top:max(22px,env(safe-area-inset-top));display:flex;justify-content:space-between;pointer-events:none;text-shadow:0 2px 6px #000}small{font-size:10px;letter-spacing:2px}h1{font-family:Georgia,serif;font-size:25px;margin:6px 0}.tools{display:flex;gap:8px;pointer-events:auto}.tools button{background:#1023349c;border:1px solid #cce9f63b;width:46px;height:46px;border-radius:12px;font-size:24px}#weather{position:absolute;top:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:11px;padding:8px 18px 10px;background:linear-gradient(90deg,transparent,#102738cc,transparent);text-shadow:0 2px 4px #000}#windArrow{font-size:34px;color:#b5eff5}#weather b{font-size:12px;letter-spacing:2px}#countdown{font-size:12px;margin-left:12px;color:#d9e8e8}.windTrack{height:3px;background:#d6f7ff35;width:126px;margin-top:8px}.windTrack i{display:block;height:100%;background:#a7e6ea;width:5%;transition:width .1s}#shelter{position:absolute;top:65px;white-space:nowrap;left:50%;transform:translateX(-50%);letter-spacing:1px;color:#cde9e8;font-size:10px}#objective{position:absolute;bottom:72px;width:100%;text-align:center;font-size:13px;font-weight:600;letter-spacing:.3px;text-shadow:0 2px 6px #000}#hint{position:absolute;bottom:35px;left:20%;width:60%;text-align:center;font-size:13px;color:#ffe0a6;text-shadow:0 2px 4px #000}#overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#0b1725e8,#14263742 75%);padding:24px}#overlay[hidden]{display:none}.card{width:min(475px,100%);margin-right:40%;padding:28px 30px;border-left:1px solid #f4d29665;background:linear-gradient(90deg,#142837cc,#14283722);max-height:100%;overflow:auto;scrollbar-width:thin}#eyebrow{color:#f3cb8b;letter-spacing:3px}h2{font:normal clamp(40px,6vw,66px)/.98 Georgia,serif;margin:20px 0;letter-spacing:-2px}p{font-size:14px;line-height:1.65;color:#d1dce0}#instructions p{font-size:12px;margin:14px 0}#instructions b{color:#f7d8a5}.primary{background:#ecc68c;color:#172734;border:0;border-radius:4px;padding:15px 25px;font-weight:750;width:100%;margin-top:14px;box-shadow:0 5px 25px #0004}#secondary{margin-top:10px;background:transparent;border:1px solid #b9d1da4d;border-radius:4px;padding:10px;width:100%}.footnote{font-size:10px;letter-spacing:.5px;margin-bottom:0}#routes{display:flex;gap:6px}#routes button{flex:1;background:#0d2439a8;border:1px solid #bad9e64d;border-radius:4px;padding:9px 5px;font-size:11px}#routes button.selected{border-color:#e9cb94;color:#ffe4b9}#touch{display:none;position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:24px;right:24px;height:120px;pointer-events:none}#touch button,#stick{pointer-events:auto;user-select:none;-webkit-user-select:none}#stick{position:absolute;width:112px;height:112px;bottom:0;left:0;border:1px solid #e0f6ff55;border-radius:50%;background:#112a3a55}#stick i{display:block;position:absolute;width:44px;height:44px;left:33px;top:33px;border:1px solid #cfecf299;border-radius:50%;background:#c9e8e72b}#stick span{position:absolute;bottom:8px;width:100%;text-align:center;font-size:9px;letter-spacing:2px;color:#cee4e7}#touch button{position:absolute;border-radius:50%;border:1px solid #d5f7ff88;background:#10283991;width:74px;height:74px;right:0;bottom:0;font-size:12px;font-weight:700}#touch #action{right:1px;bottom:87px;width:70px;height:70px;font-size:11px;color:#ffe4b6;border-color:#ffe0aa88}#action small{font-size:8px;letter-spacing:0}#touch button.held{background:#e2bf8e77}#fatal{position:absolute;inset:30%;background:#0d2337;padding:25px;z-index:10}body[data-mode="title"] #weather,body[data-mode="title"] #objective,body[data-mode="title"] #hint{display:none}body[data-mode="paused"] #touch,body[data-mode="won"] #touch,body[data-mode="title"] #touch{display:none}
@media(pointer:coarse),(max-width:900px){body[data-mode="playing"] #touch{display:block}#objective{bottom:193px;font-size:11px;padding:0 20px}#hint{bottom:166px;font-size:11px;left:16%;width:68%}}
@media(max-width:600px){#hud{left:16px;right:14px;top:17px}h1{font-size:20px}#hud small{font-size:9px;letter-spacing:1px}.tools button{width:37px;height:38px;font-size:20px}.tools{gap:5px}#weather{top:85px;width:210px;justify-content:center;padding-top:0}#shelter{top:54px}.card{margin:0;padding:20px 18px}#overlay{padding:21px;background:linear-gradient(#0b1725c7,#142637a0)}h2{font-size:53px;margin:15px 0}#description{font-size:13px}#instructions p{font-size:11px}#touch{left:20px;right:20px;bottom:24px}#objective{bottom:213px}#hint{bottom:175px;left:16%;width:65%}}
@media(max-height:500px){#hud{top:12px;left:18px}h1{font-size:19px;margin:3px 0}#weather{top:12px}.card{padding:13px 22px;width:630px;max-width:90%;margin:0;display:block}#overlay{padding:12px}h2{font-size:35px;margin:8px 0}#description{margin:5px 0;font-size:12px}#instructions p{font-size:10px;line-height:1.4;margin:5px 0}#eyebrow{font-size:9px}.primary{margin-top:7px;padding:10px}.footnote{margin:6px 0;font-size:9px}#routes button{padding:5px}#touch{bottom:15px;left:20px;right:20px}#stick{width:96px;height:96px}#stick i{left:25px;top:25px}#touch #action{right:83px;bottom:0}#objective{bottom:47px}#hint{bottom:22px;left:25%;width:48%}#secondary{padding:6px;margin-top:5px}}
.card{touch-action:pan-y;overscroll-behavior:contain}#routes{display:grid;grid-template-columns:1fr;gap:4px;margin-top:7px}#routes button{text-align:left;padding:8px 11px;font-size:11px;width:100%}#chapters{display:flex;gap:4px;margin-top:10px}#chapters button{flex:1;background:#0d2439a8;border:1px solid #bad9e64d;border-radius:4px;padding:8px 2px;font-size:10px;white-space:nowrap}#chapters button.selected{border-color:#e9cb94;color:#ffe4b9}button:disabled{opacity:.38;cursor:not-allowed}#progressLine{color:#e8c996;letter-spacing:1px}#choose{margin-top:8px;background:transparent;border:0;text-decoration:underline;padding:7px;width:100%;font-size:12px;color:#cddde3}body[data-mode="title"] h2{font-size:48px;margin:15px 0}body[data-mode="title"] #description{font-size:12px;line-height:1.5}body[data-mode="title"] #instructions p{font-size:10px;margin:8px 0}
@media(max-width:600px){h1{font-size:18px;line-height:1.05;max-width:250px}body[data-mode="title"] h2{font-size:40px;margin:10px 0}body[data-mode="title"] .card{padding:16px}#chapters button{font-size:9px}#routes button{padding:7px 9px;font-size:10px}}
@media(max-height:500px){body[data-mode="title"] .card{display:grid;grid-template-columns:1fr 1.1fr;gap:4px 20px;width:760px}body[data-mode="title"] #eyebrow,body[data-mode="title"] #heading,body[data-mode="title"] #description,body[data-mode="title"] #instructions,body[data-mode="title"] #primary{grid-column:1}body[data-mode="title"] h2{font-size:34px;margin:5px 0}body[data-mode="title"] #selection{grid-column:2;grid-row:1/span 5;align-self:center}body[data-mode="title"] .footnote{grid-column:1/span 2}#routes button{padding:7px 9px}}
