@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(../media/dm-sans-latin-400-normal.2o7k1_w7_w7bj.woff2)format("woff2"),url(../media/dm-sans-latin-400-normal.12jnqtfk91av5.woff)format("woff")}
@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(../media/dm-sans-latin-500-normal.2f4st7_5x_v78.woff2)format("woff2"),url(../media/dm-sans-latin-500-normal.366wxi7rk3-vz.woff)format("woff")}
@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(../media/dm-sans-latin-600-normal.32n_x70livn_1.woff2)format("woff2"),url(../media/dm-sans-latin-600-normal.2tavyc8arpb_3.woff)format("woff")}
@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:700;src:url(../media/dm-sans-latin-700-normal.0lo5o3yaiuo13.woff2)format("woff2"),url(../media/dm-sans-latin-700-normal.3frjp6l305o-t.woff)format("woff")}
@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:800;src:url(../media/dm-sans-latin-800-normal.1oia07c3md39i.woff2)format("woff2"),url(../media/dm-sans-latin-800-normal.285m8l7v47wg1.woff)format("woff")}
@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:600;src:url(../media/barlow-condensed-latin-600-normal.2t96v6p0iv501.woff2)format("woff2"),url(../media/barlow-condensed-latin-600-normal.3id26guef6u69.woff)format("woff")}
@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:700;src:url(../media/barlow-condensed-latin-700-normal.3hmancrpg57x4.woff2)format("woff2"),url(../media/barlow-condensed-latin-700-normal.31l4qbhx6zok2.woff)format("woff")}
@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:800;src:url(../media/barlow-condensed-latin-800-normal.3djb9aq_mafq5.woff2)format("woff2"),url(../media/barlow-condensed-latin-800-normal.3r87gr0di6ox9.woff)format("woff")}
@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:900;src:url(../media/barlow-condensed-latin-900-normal.3geamipqgkhm5.woff2)format("woff2"),url(../media/barlow-condensed-latin-900-normal.2ho0fyjzrme0s.woff)format("woff")}
:root{color:#fff7e8;font-synthesis:none;background:#0d3746;font-family:DM Sans,Arial,sans-serif}*{box-sizing:border-box}body{overscroll-behavior:none;margin:0;overflow:hidden}button{font:inherit;cursor:pointer;touch-action:none;border:0}#game,#world,#shade,.screen{width:100%;height:100dvh;position:absolute;inset:0}#world{touch-action:none;display:block}#shade{pointer-events:none;background:linear-gradient(#04222b3b,#0000 30% 70%,#051e2759)}.hidden{display:none!important}.screen{z-index:10;align-items:center;display:flex}.screen#start{background:linear-gradient(90deg,#051f2ade,#051f2a87 35%,#0000 75%)}.intro{max-width:570px;margin-left:6vw}.pill{letter-spacing:2px;border:1px solid #ffffff40;border-radius:4px;align-items:center;gap:9px;padding:9px 13px;font-size:11px;font-weight:800;display:inline-flex}.pill span{background:#ff885d;border-radius:50%;width:6px;height:6px}h1,h2{letter-spacing:-2px;margin:25px 0 20px;font-family:Barlow Condensed,Arial Narrow,Impact,sans-serif;line-height:.88}h1{font-size:clamp(70px,8.7vw,142px);font-weight:900}em{color:#ff997b;font-style:normal}.lead{font-size:23px;font-weight:500;line-height:1.4}.rule{letter-spacing:1px;color:#ffe6ad;gap:15px;margin:25px 0 13px;font-size:11px;display:flex}.instructions{color:#d2e5e6;font-size:14px;line-height:1.6}.primary{color:#193d46;letter-spacing:1.6px;background:#ff926f;border-radius:5px;min-width:245px;margin:15px 0 7px;padding:18px 28px;font-size:14px;font-weight:900;transition:transform .15s,background .15s;box-shadow:0 5px #ba5745}.primary:hover{background:#ffa889;transform:translateY(-2px)}.primary:disabled{opacity:.6}.controlhint{letter-spacing:1.5px;color:#b3cbd2;font-size:10px;font-weight:700}.scene-label{text-align:right;text-shadow:0 2px 5px #173945;flex-direction:column;gap:8px;display:flex;position:absolute;bottom:38px;right:40px}.scene-label span{letter-spacing:2px;color:#ffbb91;font-size:11px}.scene-label b{font-size:18px}.scene-label small{color:#d7e8e5}#hud{pointer-events:none;justify-content:space-between;align-items:flex-start;display:flex;position:absolute;inset:25px 30px auto}.scoreplate{flex-direction:column;min-width:165px;display:flex}.eyebrow{letter-spacing:2px;color:#e4eeeb;font-size:11px;font-weight:800}#score{letter-spacing:-3px;text-shadow:0 3px #144b58;font-size:64px;font-weight:800;line-height:1.08}.equal{letter-spacing:1px;color:#b6dadb;font-size:9px;font-weight:800}.clock{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0b3549b5;border:1px solid #fff3;border-radius:8px;flex-direction:column;align-items:center;padding:10px 25px;display:flex;position:absolute;left:50%;transform:translate(-50%)}#time{font-variant-numeric:tabular-nums;font-size:34px;line-height:1.15}.tools{pointer-events:auto;gap:8px;display:flex}.tools button{color:#fff4dc;background:#0a344aad;border:1px solid #fff3;border-radius:5px;height:36px;padding:0 12px;font-size:11px;font-weight:800}.cargo{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0a3348bf;border:1px solid #c1e8ec45;border-radius:9px;width:230px;padding:15px;position:absolute;bottom:35px;left:30px}.row{letter-spacing:1px;justify-content:space-between;align-items:center;font-size:10px;font-weight:800;display:flex}.track{background:#fff2;border-radius:5px;height:8px;margin:10px 0;overflow:hidden}.track>div{background:#ffb183;width:0;height:100%;transition:width .1s}.counts{color:#bdd5d6;font-size:9px}.counts b{color:#fff;margin-right:3px;font-size:16px}.boostrow{letter-spacing:1px;align-items:center;gap:15px;margin-top:10px;font-size:9px;display:flex}.boostrow .track{flex:1;height:5px;margin:0}.boostrow .track>div{background:#98efd8;width:100%}.mapbox{text-align:center;width:174px;position:absolute;bottom:28px;right:30px}.mapbox canvas{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#0b354bd9;border:1px solid #d3f4ef55;border-radius:50%;width:160px;height:160px}.mapbox>span{letter-spacing:2px;margin-top:8px;font-size:9px;font-weight:800;display:block}.legend{color:#d0e6e8;justify-content:center;align-items:center;gap:4px;margin-top:7px;font-size:8px;display:flex}.legend i{border-radius:50%;width:5px;height:5px;margin-left:4px}.pink{background:#ff999a}.yellow{background:#ffe88a}.mint{background:#80f8bf}#keyboard{letter-spacing:1px;color:#d0e2e3;font-size:9px;position:absolute;bottom:30px;left:50%;transform:translate(-50%)}kbd{font:inherit;background:#0b3449a6;border:1px solid #fff3;border-radius:3px;margin:0 5px 0 12px;padding:5px}#notice{text-align:center;opacity:0;pointer-events:none;z-index:4;background:#153f4beb;border:1px solid #ffffff40;border-radius:5px;max-width:80%;padding:12px 18px;font-size:13px;font-weight:700;transition:opacity .2s;position:absolute;top:130px;left:50%;transform:translate(-50%)}#notice.visible{opacity:1}.bubble{color:#29424a;pointer-events:none;z-index:3;background:#fff7dd;border-radius:14px;max-width:190px;padding:10px 15px;font-size:13px;font-weight:700;position:absolute;transform:translate(-50%,-100%);box-shadow:0 3px #15384930}.bubble.passenger{background:#dff6ec;border-radius:14px;top:71%;left:50%}.popup{color:#fff2b9;pointer-events:none;text-shadow:0 2px #4c7477;z-index:2;font-size:22px;font-weight:900;animation:1s forwards float;position:absolute}@keyframes float{to{opacity:0;transform:translateY(-65px)}}#pauseScreen{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#09253680;justify-content:center}.modal{text-align:center}.modal h2{font-size:64px}.secondary{color:#d9eeea;letter-spacing:2px;background:0 0;margin:20px auto;font-size:12px;font-weight:800;display:block}#results{background:linear-gradient(90deg,#0000 30%,#0a263bd9);justify-content:flex-end}.resultcard{text-align:center;width:310px;margin-right:7vw}.resultcard h2{margin-bottom:15px;font-size:72px}.resultcard>strong{letter-spacing:-4px;font-size:80px;display:block}.resultcard>.eyebrow{display:block}.resultsplit{border-block:1px solid #fff3;justify-content:space-evenly;margin:24px 0 10px;padding:18px 0;display:flex}.resultsplit div{flex-direction:column;gap:4px;display:flex}.resultsplit b{font-size:28px}.resultsplit span{letter-spacing:2px;color:#d0dfdf;font-size:10px}#touch{pointer-events:none;z-index:5;position:absolute;inset:0}#steering{color:#fff8;pointer-events:auto;touch-action:none;background:#103d4c66;border:1px solid #fff4;border-radius:50px;justify-content:space-between;align-items:center;width:175px;height:82px;padding:15px;font-size:35px;display:flex;position:absolute;bottom:22px;left:22px}#stick{pointer-events:none;background:#d6eddf55;border:2px solid #fff9;border-radius:50%;width:60px;height:60px;position:absolute;top:11px;left:58px}.pedals{pointer-events:auto;align-items:flex-end;gap:12px;display:flex;position:absolute;bottom:22px;right:22px}.pedals button{color:#fff;background:#134655a8;border:1px solid #fff7;border-radius:50%;width:64px;height:64px;font-size:10px;font-weight:900}.pedals #gas{color:#254c53;background:#fff6dddb;width:83px;height:83px}.pedals #boost{color:#233d4a;background:#ff927de8;border-radius:16px;width:64px;height:52px;position:absolute;bottom:98px;right:0}.pedals button.pressed{color:#123946!important;background:#a5efcf!important}#rotate{z-index:100;text-align:center;background:#123f4d;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:none;position:absolute;inset:0}#rotate h2{font-size:45px;line-height:1}.rotateicon{color:#ff9e7d;font-size:80px}#rotate p{color:#cde3de;font-size:16px}#fatal{z-index:150;background:#173e4d;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}#fatal button{background:#ff997b;padding:15px}body.touch #keyboard{display:none}body.touch .cargo{width:175px;padding:10px;bottom:118px;left:22px}body.touch .mapbox>span,body.touch .legend{display:none}@media (max-height:600px){.intro{margin-left:5vw}.pill{padding:6px 10px;font-size:9px}h1{margin:15px 0 12px;font-size:72px}.lead{margin:12px 0;font-size:17px}.rule{margin:12px 0 8px;font-size:9px}.instructions{margin:8px 0;font-size:12px}.primary{min-width:220px;margin:8px 0;padding:13px 25px}.controlhint{margin:6px 0;font-size:8px}.scene-label{bottom:22px;right:25px}#hud{inset:12px 20px auto}#score{font-size:42px}.eyebrow{font-size:9px}.clock{padding:7px 20px}#time{font-size:27px}.equal{font-size:8px}#notice{padding:8px 12px;font-size:11px;top:83px}.tools button{height:30px;font-size:9px}.bubble{max-width:155px;padding:8px 10px;font-size:11px}.resultcard{width:270px;margin-right:6vw}.resultcard h2{margin:15px 0 5px;font-size:48px}.resultcard>strong{font-size:56px}.resultsplit{margin:15px 0 8px;padding:10px 0}.resultsplit b{font-size:23px}.resultsplit span{font-size:9px}.mapbox{width:120px;bottom:18px}.mapbox canvas{width:115px;height:115px}.cargo{bottom:20px}body.touch .cargo{bottom:112px}.modal h2{font-size:48px}}@media (orientation:portrait) and (pointer:coarse){#rotate{display:flex}}h1{font-size:clamp(66px,7.5vw,112px)}.intro{max-width:670px}#returnGuide{z-index:4;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#123c49c9;border:1px solid #a8fbd34d;border-radius:10px;align-items:center;gap:12px;padding:10px 15px;display:flex;position:absolute;top:138px;left:50%;transform:translate(-50%)}#returnArrow{color:#aaffcf;text-align:center;width:30px;font-size:34px;font-weight:800;line-height:1;transition:transform .15s;display:block}#returnGuide b{letter-spacing:1px;font-size:11px;display:block}#routeHint{color:#cde9e0;margin-top:3px;font-size:11px;display:block}.control-ocean{pointer-events:none;background:linear-gradient(#0000,#0a34482b);height:210px;position:absolute;inset:auto 0 0}#steering{width:140px;height:140px;bottom:max(24px, env(safe-area-inset-bottom));left:max(24px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);-webkit-user-select:none;user-select:none;background:#174b6045;border:1px solid #edffef60;border-radius:50%;padding:0}#stick{background:#def4e099;border:2px solid #f3fff2bb;width:50px;height:50px;top:calc(50% - 25px);left:calc(50% - 25px)}.stick-up,.stick-down{text-align:center;letter-spacing:1px;color:#f2ffedb3;pointer-events:none;font-size:10px;font-weight:800;position:absolute;left:0;right:0}.stick-up{top:12px}.stick-down{bottom:12px}.pedals{right:max(30px, env(safe-area-inset-right));bottom:max(46px, env(safe-area-inset-bottom));width:92px;height:92px;display:block}.pedals #boost{letter-spacing:1px;background:#ff9c7bd9;border:2px solid #ffe6ca9c;border-radius:50%;width:92px;height:92px;font-size:13px;position:static;box-shadow:0 4px #704f4955}body.touch .cargo{background:#0a334890;width:168px;padding:10px;bottom:185px;left:24px}body.touch .mapbox{width:106px;bottom:175px;right:25px}body.touch .mapbox canvas{width:100px;height:100px}body.touch .counts{font-size:10px}body.touch .counts b{font-size:15px}body.touch .row,body.touch .boostrow{font-size:10px}body.touch .tools button{min-width:34px}#fatal h2{line-height:1.1}@media (orientation:portrait){.screen#start{background:linear-gradient(#082f41eb 0%,#092f40bd 55%,#082f4140 100%);align-items:flex-start}.intro{max-width:86vw;margin:8vh 7vw 0}h1{letter-spacing:-1.5px;margin:24px 0;font-size:clamp(54px,16vw,98px);line-height:.95}.lead{font-size:20px}.rule{flex-wrap:wrap;gap:12px;margin:22px 0 12px;font-size:10px}.instructions{max-width:330px;font-size:14px}.primary{min-width:240px;margin-top:18px;padding:17px 20px;font-size:13px}.controlhint{max-width:290px;font-size:10px;line-height:1.6}.scene-label{bottom:30px;right:7vw}.scene-label b{font-size:15px}.scene-label small{font-size:12px}#hud{inset:max(18px, env(safe-area-inset-top)) 18px auto}.scoreplate{min-width:100px}#score{letter-spacing:-2px;font-size:42px}.eyebrow{letter-spacing:1.5px;font-size:10px}.equal{letter-spacing:.5px;font-size:8px}.clock{padding:8px 15px;left:50%}#time{font-size:29px}.tools{flex-direction:column;gap:6px}.tools button{height:30px;padding:0 7px;font-size:9px}#notice{width:max-content;max-width:88%;padding:8px 12px;font-size:12px;top:106px}#returnGuide{gap:8px;max-width:80%;padding:8px 10px;top:151px}#returnGuide b,#routeHint{font-size:10px}#returnArrow{font-size:29px}.bubble{max-width:158px;padding:9px 11px;font-size:12px}.bubble.passenger{max-width:180px;top:58%;left:55%}#results{background:linear-gradient(#0000 5%,#102c4bbc 52%,#102c4be0 100%);justify-content:center;align-items:flex-start}.resultcard{width:280px;margin:35vh 0 0}.resultcard h2{margin:16px 0 10px;font-size:53px}.resultcard>strong{font-size:60px}.resultsplit{margin:18px 0 8px;padding:12px 0}.resultsplit b{font-size:26px}.resultcard .primary{margin-top:12px}.modal h2{font-size:53px;line-height:1}.modal{padding:25px}body.touch .cargo{bottom:190px}body.touch .mapbox{bottom:181px}}@media (orientation:portrait) and (max-height:720px){.intro{margin-top:5vh}h1{margin:16px 0;font-size:15vw}.lead{margin:12px 0;font-size:18px}.rule{margin:14px 0 8px}.instructions{font-size:13px}.scene-label{display:none}body.touch #steering{width:120px;height:120px;bottom:20px;left:18px}.pedals{width:82px;height:82px;bottom:35px;right:22px}.pedals #boost{width:82px;height:82px}body.touch .cargo{width:151px;padding:8px;bottom:155px;left:18px}body.touch .mapbox{width:90px;bottom:150px;right:20px}body.touch .mapbox canvas{width:86px;height:86px}.resultcard{margin-top:25vh}.resultcard h2{font-size:47px}}@media (orientation:landscape) and (max-height:600px){h1{font-size:64px}.intro{max-width:65vw;margin-top:0}.instructions{max-width:400px;font-size:12px}.rule{font-size:9px}.primary{margin:8px 0}body.touch #steering{width:115px;height:115px;bottom:18px;left:24px}.pedals{width:80px;height:80px;bottom:28px;right:28px}.pedals #boost{width:80px;height:80px}body.touch .cargo{width:155px;padding:8px;bottom:148px}body.touch .mapbox{width:94px;bottom:131px}body.touch .mapbox canvas{width:90px;height:90px}#returnGuide{top:96px}.control-ocean{height:150px}}@media (orientation:portrait){body.touch .cargo,body.touch .mapbox{bottom:170px}}@media (orientation:portrait) and (max-height:720px){body.touch .cargo{padding:8px;bottom:143px}.cargo .track{height:6px;margin:5px 0}body.touch .counts{font-size:9px}body.touch .boostrow{margin-top:5px;font-size:9px}body.touch .mapbox{bottom:143px}}html,body,#game,#game *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}#game{touch-action:none}#game button,#game svg,#game canvas{touch-action:none;-webkit-user-drag:none}#hud{inset:max(18px, env(safe-area-inset-top)) auto auto max(18px, env(safe-area-inset-left));z-index:6;flex-direction:column;align-items:stretch;gap:15px;width:170px;display:flex}.state-top{align-items:center;gap:13px;display:flex}#hud .clock{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;align-items:flex-start;padding:0;position:static;transform:none}#hud #time{font-size:31px}#hud .scoreplate{min-width:0}#hud #score{font-size:49px;line-height:1.05}#sound{color:#efffec;pointer-events:auto;background:#123d4c66;border:1px solid #e4ffeb40;border-radius:50%;flex-shrink:0;width:39px;height:39px;padding:9px}#sound svg{pointer-events:none;width:100%;height:100%;display:block}.sound-cross,#sound.muted .sound-waves{display:none}#sound.muted .sound-cross{display:block}#sound.muted{color:#bad0cd}#dashboard .boat-zone{top:max(18px, env(safe-area-inset-top));right:max(18px, env(safe-area-inset-right));pointer-events:none;z-index:6;flex-direction:column;align-items:flex-end;gap:12px;width:195px;display:flex;position:absolute}#dashboard .boat-zone .cargo{background:#0c364a9c;border-radius:9px;width:100%;padding:12px;position:static;inset:auto}#dashboard .boat-zone .mapbox{width:145px;position:static;inset:auto}#dashboard .boat-zone .mapbox canvas{width:140px;height:140px}#dashboard .boat-zone .row{letter-spacing:.7px;font-size:11px}#dashboard .boat-zone .counts{font-size:10px}#dashboard .boat-zone .boostrow{gap:8px;font-size:10px}#boostLabel{min-width:42px}#boostbar.locked{background:#d2b281}#touch .drive-controls{left:50%;bottom:max(24px, env(safe-area-inset-bottom));width:calc(100% - 48px);max-width:720px;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);pointer-events:none;justify-content:space-between;align-items:center;gap:20px;display:flex;position:absolute;transform:translate(-50%)}#touch .drive-controls #steering{pointer-events:auto;flex-shrink:0;width:140px;height:140px;position:relative;inset:auto}#touch .drive-controls .pedals{pointer-events:auto;flex-shrink:0;width:92px;height:92px;position:static;inset:auto}#touch .drive-controls #boost{width:92px;height:92px;font-size:12px}#touch .drive-controls #boost.recharging{box-shadow:none;border-style:dashed;font-size:9px;color:#e5f0e4!important;background:#7f9593a8!important}#keyboard{white-space:nowrap;font-size:11px;bottom:26px}#shoreBubbles{pointer-events:none;z-index:3;position:absolute;inset:0}.shore-bubble{color:#29424a;pointer-events:none;background:#fff5ddf5;border-radius:12px;max-width:175px;padding:8px 11px;font-size:12px;font-weight:700;line-height:1.3;animation:.18s ease-out shout-in;position:absolute;transform:translate(-50%,-100%);box-shadow:0 3px #173e4638}@keyframes shout-in{0%{opacity:0;transform:translate(-50%,-90%)scale(.9)}to{opacity:1;transform:translate(-50%,-100%)scale(1)}}#notice{top:160px}#returnGuide{top:205px}@media (orientation:portrait){#hud{width:135px;inset:max(16px, env(safe-area-inset-top)) auto auto 16px;gap:12px}#hud #time{font-size:27px}#hud #score{font-size:41px}#hud .eyebrow{letter-spacing:1px;font-size:10px}.state-top{gap:9px}#sound{width:35px;height:35px;padding:8px}#dashboard .boat-zone{width:155px;top:max(16px, env(safe-area-inset-top));gap:8px;right:14px}#dashboard .boat-zone .cargo{padding:9px}#dashboard .boat-zone .row{letter-spacing:.3px;font-size:10px}#dashboard .boat-zone .track{height:6px;margin:7px 0}#dashboard .boat-zone .counts{font-size:9px}#dashboard .boat-zone .counts b{font-size:14px}#dashboard .boat-zone .boostrow{margin-top:7px;font-size:9px}#dashboard .boat-zone .boostrow .track{height:5px;margin:0}#dashboard .boat-zone .mapbox{width:105px}#dashboard .boat-zone .mapbox canvas{width:100px;height:100px}#dashboard .boat-zone .mapbox>span,#dashboard .boat-zone .legend{display:none}#notice{font-size:11px;top:222px}#returnGuide{padding:7px 10px;top:266px}.shore-bubble{max-width:142px;padding:7px 9px;font-size:11px}.bubble.passenger{top:66%}}@media (max-height:600px){#hud{gap:8px}#hud #score{font-size:35px}#hud #time{font-size:25px}#dashboard .boat-zone{gap:8px;width:170px}#dashboard .boat-zone .cargo{padding:8px}#dashboard .boat-zone .track{height:6px;margin:6px 0}#dashboard .boat-zone .mapbox{width:92px}#dashboard .boat-zone .mapbox canvas{width:88px;height:88px}#dashboard .boat-zone .mapbox>span,#dashboard .boat-zone .legend{display:none}#touch .drive-controls{gap:20px;bottom:16px}#touch .drive-controls #steering{width:110px;height:110px}#touch .drive-controls .pedals,#touch .drive-controls #boost{width:78px;height:78px}#notice{top:110px}#returnGuide{top:153px}}@media (orientation:portrait) and (max-width:350px){#hud{width:118px;left:12px}#dashboard .boat-zone{width:140px;right:12px}#touch .drive-controls #steering{width:124px;height:124px}#touch .drive-controls{gap:16px;width:calc(100% - 32px)}}@media (prefers-reduced-motion:reduce){.shore-bubble{animation:none}}
#game #hud{text-shadow:0 2px 10px #052a3bcc;align-items:flex-start;gap:16px;width:125px}#game #hud .scoreplate,#game #hud .clock{flex-direction:column;align-items:flex-start;gap:4px;display:flex}#game #hud .eyebrow{letter-spacing:1.6px;font-size:12px}#game #hud #score{font-size:52px;line-height:.94}#game #hud #time{font-size:31px;line-height:1}#game #hud #sound{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#123e4c80;width:40px;height:40px}#game #dashboard .boat-zone{transform-origin:100% 0;align-items:stretch;gap:18px;width:190px;transform:scale(.7)}.meter{filter:drop-shadow(0 2px 5px #092e40aa);width:100%}.meter-label{letter-spacing:1px;color:#f3ffef;justify-content:space-between;align-items:baseline;gap:5px;margin-bottom:7px;font-size:12px;font-weight:800;display:flex}.meter-label b{font-variant-numeric:tabular-nums;letter-spacing:0;font-size:15px}.meter-track{background:#092e48b8;border:1px solid #d9f5fa65;border-radius:6px;height:17px;position:relative;overflow:hidden;box-shadow:inset 0 2px 4px #041820c4,0 1px #fff2}.meter-track>div{border-radius:4px;height:100%;transition:width 80ms linear;position:relative}#game #loadbar{background:linear-gradient(#ffedd2 0%,#ffa584 35%,#ed715e 100%);box-shadow:0 0 12px #ff97738c}#game #boostbar{background:linear-gradient(#faffda 0%,#c7fa68 35%,#68cd87 100%);box-shadow:0 0 14px #c2ff688c}.meter-track:after{content:"";pointer-events:none;background:repeating-linear-gradient(90deg,#0000 0 calc(20% - 1px),#0c394c55 calc(20% - 1px) 20%);position:absolute;inset:0}.meter-track>div:before{content:"";background:#fff6;border-radius:5px;position:absolute;inset:1px 0 55%}.boost-meter.boosting .meter-track{box-shadow:0 0 16px #caff6880,inset 0 1px 4px #092e48}.boost-meter.boosting #boostbar:after{content:"";background:linear-gradient(110deg,#0000 30%,#fff9 50%,#0000 70%);animation:.65s linear infinite boost-shine;position:absolute;inset:0}#game .boost-meter.locked #boostbar{box-shadow:none;background:linear-gradient(#ffdeb1,#d6996e)}.capacity-meter.full .meter-label{color:#ffb094}#game #dashboard .boat-zone .mapbox{box-sizing:border-box;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0b364f0d;border:1px solid #dcffeb70;border-radius:50%;width:100%;padding:0;overflow:hidden}#game #dashboard .boat-zone .mapbox canvas{aspect-ratio:1;width:100%;height:auto;display:block}#game #dashboard .boat-zone .mapbox>span,#game #dashboard .boat-zone .legend{display:none}#game #returnGuide{top:210px}#game #returnGuide b{color:#ffbd9d}@keyframes boost-shine{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (max-width:600px){#game #hud{width:112px;left:max(16px, env(safe-area-inset-left));gap:14px}#game #hud #score{font-size:43px}#game #hud #time{font-size:28px}#game #hud .eyebrow{letter-spacing:1.2px;font-size:10px}#game #dashboard .boat-zone{width:148px;right:max(16px, env(safe-area-inset-right));gap:14px}.meter-label{letter-spacing:.8px;margin-bottom:6px;font-size:10px}.meter-label b{font-size:13px}.meter-track{height:15px}#game #returnGuide{top:300px}#game #notice{top:270px}}@media (max-height:600px){#game #hud{gap:10px}#game #hud #score{font-size:34px}#game #hud #time{font-size:25px}#game #dashboard .boat-zone{gap:10px;width:118px}.meter-track{height:12px}.meter-label{font-size:9px}.meter-label b{font-size:11px}#game #returnGuide{top:156px}}@media (prefers-reduced-motion:reduce){.boost-meter.boosting #boostbar:after{animation:none}}#game #notice{box-sizing:border-box;letter-spacing:0;text-transform:none;color:#fff6e4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#103b49ed;border:1px solid #c9f4e65c;border-radius:12px;width:max-content;max-width:min(520px,100vw - 32px);padding:16px 22px;font-size:clamp(17px,1.6vw,20px);font-weight:700;line-height:1.4;box-shadow:0 8px 28px #03273555}#game #notice #returnGuide{width:auto;max-width:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-align:left;font-size:inherit;line-height:inherit;background:0 0;border:0;border-radius:0;gap:16px;margin:0;padding:0;position:static;inset:auto;transform:none}#game #notice #returnGuide b{color:inherit;letter-spacing:0;text-transform:none;font-size:1em;font-weight:700}#game #notice #routeHint{letter-spacing:0;color:#cde9e0;margin-top:3px;font-size:.88em;font-weight:500}
:root{--ink:#123b45;--cream:#fff4da;--muted:#c5d9d4;--brass:#d9b779;--gold:#edc77e;--panel:#153d48;--edge:#e3c58c70;--ui-font:"DM Sans", Arial, sans-serif;--display-font:"Barlow Condensed", "Arial Narrow", Impact, sans-serif;color:var(--cream);font-family:var(--ui-font)}#game button,#game kbd{font-family:var(--ui-font)}#game h1,#game h2,#game #score,#game #time,#game #finalScore,#game .resultsplit b{font-family:var(--display-font);font-variant-numeric:tabular-nums}#game em{color:var(--gold)}#game #shade{background:linear-gradient(#072c3810,#0000 24% 75%,#082f3a18)}#game .screen{overscroll-behavior:contain;padding-block:24px;overflow-y:auto}#game .pill,#game .eyebrow,#game .kicker{font-family:var(--ui-font);font-weight:700}#game .pill{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);background:0 0;border:0;border-radius:0;padding:0;font-size:11px}#game .eyebrow{letter-spacing:.045em;color:var(--cream);font-size:11px}#game .screen#start{background:linear-gradient(90deg,#0a2935f2 0%,#123c48d9 24%,#163d4873 52%,#0000 85%);align-items:center}#game .intro{width:52%;max-width:600px;margin:0 0 0 6vw;padding:16px 0 22px;animation:.7s ease-out both chart-arrive;position:relative}.intro-masthead{align-items:center;gap:15px;margin-bottom:26px;display:flex}#game .kicker{text-transform:uppercase;letter-spacing:.22em;color:var(--cream);margin-bottom:6px;font-size:19px;display:block}#game h1{letter-spacing:-.025em;color:#fff4d8;text-shadow:0 1px #fffbed,0 3px #b4a17b,0 6px #294b4c,0 14px 26px #001f3780;transform-origin:0;margin:26px 0 28px;font-size:clamp(76px,8.5vw,136px);font-weight:800;line-height:.84;transform:rotate(-2deg)}#game h1 em{color:var(--gold);text-shadow:0 1px #fff0bf,0 3px #a17b48,0 6px #294b4c,0 14px 26px #001f3780;margin-top:7px;display:inline-block}#game .lead{color:var(--cream);margin:24px 0 20px;font-size:22px;font-weight:500;line-height:1.38}#game .lead em{color:#c7ded4;font-size:18px;font-weight:400}#game .rule{letter-spacing:0;color:var(--muted);gap:0;margin:20px 0 18px;font-size:12px;display:flex}#game .rule b{border-left:1px solid #c6d8c440;align-items:center;gap:7px;padding:0 18px;font-weight:500;display:flex}#game .rule b:first-child{border-left:0;padding-left:0}#game .rule b span{font-family:var(--display-font);color:var(--gold);font-size:26px;font-weight:600}#game .instructions{color:var(--muted);max-width:420px;margin:0 0 16px;font-size:14px;line-height:1.65}.equal-rule{color:var(--cream);margin-top:10px;font-weight:700;display:block}#game button{letter-spacing:.015em;border-radius:9px;font-size:15px;font-weight:800;line-height:1.3;transition:transform 80ms,box-shadow 80ms,background-color .11s}#game .primary,#game #fatal button{color:#263f3c;text-shadow:0 1px #fff4d075;background:linear-gradient(175deg,#ffdfa0,#dfb167);border:1px solid #fff0c1;border-bottom-color:#b89459;min-width:248px;min-height:54px;margin:10px 0;padding:16px 24px;position:relative;transform:translateY(0);box-shadow:inset 0 2px #fff3cf,inset 0 -2px #c69a54,0 5px #8b683f,0 6px #243d40,0 12px 24px #001c3a55}#game .secondary{color:#d7e6df;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);letter-spacing:0;background:linear-gradient(#31596270,#143e4870);border:1px solid #9fb9b55c;min-height:46px;padding:12px 20px;transform:translateY(0);box-shadow:inset 0 1px #c3dedc16,0 5px #0a2632,0 6px #08222c,0 10px 20px #001c3a30}#game .sound-toggle:active,#game #touch .drive-controls #boost.pressed{transform:translateY(3px);box-shadow:inset 0 2px 5px #092d4055,0 1px #6e573d}#game button:disabled{opacity:.6;cursor:wait}@media (hover:hover){#game .primary:hover,#game #fatal button:hover{filter:brightness(1.07)}#game .secondary:hover{background-color:#396774}}#game .controlhint{color:#bbd0ca;letter-spacing:.02em;margin-top:16px;font-size:11px;font-weight:500;line-height:1.5}#game .scene-label{text-align:left;border-left:2px solid var(--brass);gap:6px;padding:8px 0 8px 20px;bottom:42px;right:5vw;transform:rotate(-2deg)}#game .scene-label span{color:var(--gold);letter-spacing:.14em;text-transform:uppercase;font-size:10px}#game .scene-label b{font-family:var(--display-font);letter-spacing:.01em;font-size:29px;font-weight:600}#game .scene-label small{color:#d5e5db;font-size:12px}#game #hud{text-shadow:0 1px 3px #082e42;gap:11px;width:max-content}#game #hud .scoreplate{background:linear-gradient(155deg,#315c65ed,#143b49e0 65%);border:1px solid #c8dbd460;border-top-color:#f1d69c;border-radius:9px;gap:2px;width:max-content;padding:13px 14px 12px;position:relative;box-shadow:inset 0 1px #fff4cf38,inset 0 -3px #061e2b50,0 4px #0a2b37a6,0 10px 24px #03273930}#game #hud .eyebrow{letter-spacing:.015em;color:#fff;font-size:11px;font-weight:600;line-height:1.3}#game #hud #score{font-variant-numeric:tabular-nums;letter-spacing:-.02em;text-shadow:0 2px #072d3a;color:#fff1cf;font-size:51px;font-weight:700;line-height:1}#game #hud .clock{background:linear-gradient(145deg,#234a55b8,#12374280);border:1px solid #d4dcca42;border-radius:9px;gap:5px;width:max-content;padding:9px 12px 11px;box-shadow:inset 0 1px #e2f3de20,0 3px #15323c55}.clock-readout{align-items:center;gap:7px;display:flex}#game #hud #time{font-variant-numeric:tabular-nums;letter-spacing:0;font-size:32px;font-weight:600;line-height:1}#game #hud #time.urgent{color:#ffac8c;opacity:var(--warning-opacity,1)}#game #hud #sound{width:40px;height:40px;color:var(--cream);background:linear-gradient(145deg,#4c737bbf,#153d49bf);border:1px solid #c7d8c77a;border-radius:50%;margin-top:3px;box-shadow:inset 0 1px #e5eee938,0 3px #102e39a6}#game #dashboard .boat-zone{gap:13px;width:156px;transform:none}#game #dashboard .boat-zone .mapbox{background:linear-gradient(145deg,#f1dfad,#988761 43%,#466568 54%,#d5bc87);border:1px solid #fff0bb99;border-radius:50%;width:100%;padding:5px;position:relative;overflow:hidden;box-shadow:inset 0 1px #fff4d8,0 2px #21454b,0 4px #0d2d3c80,0 10px 24px #092f3b55}#game #dashboard .boat-zone .mapbox canvas{aspect-ratio:1;background:radial-gradient(circle at 35% 24%,#2f5962,#102c3f 90%);border:2px solid #163541;border-radius:50%;width:100%;height:auto;display:block}#game .mapbox:after{content:"";pointer-events:none;background:linear-gradient(135deg,#e1f8ef22,#0000 44% 70%,#9ed2d113);border-radius:50%;position:absolute;inset:8px;box-shadow:inset 0 4px 7px #051d365c,inset 0 -1px #c1dac833}#game .meter{filter:none;background:linear-gradient(145deg,#2c535ed9,#153a48cf);border:1px solid #d3ddc84f;border-radius:6px;padding:9px 10px 11px;box-shadow:inset 0 1px #edf2d92b,0 3px #0a2a37a3,0 6px 15px #092e3a22}#game .meter-label{font-family:var(--ui-font);letter-spacing:0;text-shadow:0 1px 2px #0a2f3d;gap:4px;margin-bottom:7px;font-size:11px;font-weight:600;line-height:1.3;color:#fff!important}#game .meter-label>span{white-space:nowrap;align-items:center;gap:4px;display:flex}#game .meter-label b{font-size:12px;font-weight:600}#game .meter-track{background:#092b3dc9;border:1px solid #082b3d;border-radius:4px;height:12px;transition:box-shadow .22s,background-color .22s;box-shadow:inset 0 2px 4px #021929,0 1px #d6e4d23d}#game .meter-track>div{border-radius:3px;transition:width 80ms linear,background-color .22s,box-shadow .22s;box-shadow:inset 0 1px #fff6,inset 0 -1px #0002;background-image:linear-gradient(#fff6,#0000 48%,#082b4020)!important}#game #loadbar{background-color:#55aee1}#game .boost-meter #boostbar{background-color:#edc54d}#game .boost-meter.locked #boostbar{background-color:#df7163}#game .meter-track>div:before,#game .boost-meter.boosting #boostbar:after{display:none}#game .meter-track:after{background:repeating-linear-gradient(90deg,#0000 0 calc(20% - 1px),#092f4366 calc(20% - 1px) 20%)}#game .boost-meter.boosting .meter-track{box-shadow:0 0 12px #f4cf5c70,inset 0 1px 4px #092e48}#game .capacity-meter.full .meter-track,#game .boost-meter.recharging .meter-track{opacity:var(--warning-opacity,1)}#game #notice{max-width:min(560px,100vw - 360px);color:var(--cream);background:linear-gradient(135deg,#37616bea,#133b48f2);border:1px solid #e5d1a366;border-bottom-color:#102e3e;border-radius:10px;padding:13px 20px;font-size:18px;font-weight:500;line-height:1.4;transition:opacity .22s,transform .22s;top:160px;transform:translate(-50%,calc(-50% - 7px));box-shadow:inset 0 1px #f6e5bc29,0 3px #15323db3,0 8px 24px #082e3b30}#game #noticeText,#game #notice #returnGuide b{font-family:var(--display-font);color:#fff1cf;letter-spacing:.01em;font-size:26px;font-weight:600;line-height:1.1;display:block}#game #noticeSubtitle{color:#d2e3db;margin-top:5px;font-size:14px;font-weight:400;line-height:1.4;display:block}#game #notice.visible{transform:translate(-50%,-50%)}#game #notice #returnGuide{width:auto;max-width:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-align:left;font-size:inherit;background:0 0;border:0;border-radius:0;gap:12px;margin:0;padding:0;position:static;inset:auto;transform:none}#game #notice #returnGuide b{color:#fff1cf;letter-spacing:0;text-transform:none;font-size:26px}#game #notice #routeHint{letter-spacing:0;color:#c6e0d5;margin-top:3px;font-size:14px}#game #returnArrow{color:#bef0cf;font-size:28px}#game .shore-bubble,#game .bubble.passenger{max-width:164px;font-family:var(--ui-font);letter-spacing:0;color:#21434a;background:linear-gradient(155deg,#fffae9f5,#ece3c9f5);border:1px solid #fff6de;border-bottom-color:#c5b995;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:600;line-height:1.35;box-shadow:inset 0 1px #fff,0 2px #24454750,0 6px 16px #1b444726}#game .shore-bubble.departure-call{box-sizing:border-box;text-align:center;white-space:nowrap;background:linear-gradient(155deg,#fffae9,#ece3c9);max-width:none;height:26px;padding:4px 7px;font-size:11.5px;line-height:16px;transition:none;animation:none}#game .shore-bubble:after{content:"";background:#ece3c9;border-bottom:1px solid #c5b995;border-right:1px solid #c5b995;width:8px;height:8px;position:absolute;bottom:-5px;left:calc(50% - 4px);transform:rotate(45deg)}#game .shore-bubble.departure-call:after{content:none;display:none}#game .bubble.passenger{background:linear-gradient(150deg,#f2f8e8,#dbe9cc);border-color:#f5f9e2;max-width:185px}#game .popup{font-family:var(--display-font);color:#fff2c5;text-shadow:0 2px #245263,0 0 12px #ffd98755;font-size:27px}#game #keyboard{color:#e1e9d6c9;letter-spacing:.01em;font-size:11px}#game kbd{color:var(--cream);background:linear-gradient(#39626a90,#143d478c);border:1px solid #d9e2c857;border-bottom-color:#0b2c38;border-radius:5px;padding:6px 8px;font-size:11px;font-weight:600;display:inline-block;box-shadow:0 2px #0c303ca6}#game #pauseScreen{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0a2c3866;justify-content:center}#game .modal,#game .resultcard,#game .menu-panel{isolation:isolate;background:repeating-radial-gradient(at 130% 0,#0000 0 22px,#b7d0bc09 23px 24px,#0000 25px 42px),linear-gradient(145deg,#315b64f7,#153b48fa 70%);border:1px solid #ecd29f96;border-radius:20px;animation:.5s cubic-bezier(.2,.8,.2,1) both chart-arrive;position:relative;overflow:hidden;box-shadow:inset 0 2px #f9dfb32b,inset 0 -4px #09273680,0 7px #0b2936b3,0 24px 60px #071c3b70}#game .modal:after,#game .resultcard:after,#game .menu-panel:after{content:"";pointer-events:none;z-index:-1;border:1px solid #d6c79a30;border-radius:13px;position:absolute;inset:7px}#game .modal{text-align:center;width:min(390px,100% - 36px);padding:30px 32px 20px}#game .modal h2{letter-spacing:-.02em;margin:12px 0 28px;font-size:52px;font-weight:600;line-height:1}#game .modal .primary,#game .modal .secondary{width:100%;min-width:0}#game .modal .secondary{margin:12px auto}#game #results{background:linear-gradient(90deg,#0000 35%,#112f3b66);align-items:center}#game .resultcard{text-align:center;flex-shrink:0;width:354px;margin:24px 5vw 24px 24px;padding:26px 30px 28px}#game .resultcard .pill{color:var(--brass);letter-spacing:.16em;font-size:10px;display:block}#game .resultcard h2{letter-spacing:-.025em;text-shadow:0 2px #092a3b;margin:20px 0 22px;font-size:58px;font-weight:600;line-height:.9}#game #finalScore{letter-spacing:-.025em;color:#ffe7ad;text-shadow:0 2px #a17b48,0 4px #0d3040,0 0 30px #f6d58d20;font-size:86px;font-weight:700;line-height:1;animation:.75s .15s both score-reveal;display:block;position:relative}#game .resultcard>.eyebrow{letter-spacing:.04em;color:#e7edda;margin-top:7px;font-size:12px}#game .resultsplit{background:linear-gradient(90deg,#0000,#bfd7ca0a,#0000);border-block:1px solid #d4c99f40;margin:22px 0 16px;padding:15px 0}#game .resultsplit div{flex:1;gap:4px}#game .resultsplit div+div{border-left:1px solid #d4c99f40}#game .resultsplit b{color:var(--cream);letter-spacing:0;font-size:29px;font-weight:600}#game .resultsplit span{letter-spacing:.02em;color:var(--muted);font-size:11px}#game .resultcard .primary{width:100%;min-width:0}#game #touch .drive-controls #steering{background:radial-gradient(circle,#173f4d66 0 55%,#75948c30 56% 58%,#123b4b55 59%);border:1px solid #e0dfb987;box-shadow:inset 0 3px 8px #0a2c3b36,0 2px #062b3440}#game #stick{background:radial-gradient(circle at 36% 24%,#e0e6cb,#9fbcb3 60%,#678e8e);border:1px solid #e7edd5;box-shadow:inset 0 2px #fff5,0 4px #355b62,0 7px 14px #052a4150}#game .stick-up,#game .stick-down{letter-spacing:0;color:#f4f1db;font-size:11px;font-weight:600}#game #touch .drive-controls #boost{color:#28433f;letter-spacing:0;background:radial-gradient(circle at 38% 25%,#fbe0a0,#d4ad64);border:2px solid #ffedba;border-radius:50%;font-size:15px;box-shadow:inset 0 2px #fff6cf,0 5px #846d48,0 8px 15px #062a4050}#game #touch .drive-controls #boost.recharging{opacity:var(--warning-opacity,1);border:2px solid #bfcfc3;font-size:15px;box-shadow:inset 0 2px 7px #092b3b66,0 2px #294a52;color:#fff!important;background:#627e7c!important}@keyframes chart-arrive{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes seal-arrive{0%{opacity:0;transform:scale(.8)rotate(-12deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes score-reveal{0%{opacity:0;transform:translateY(8px)scale(.9)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:600px){#game .screen{padding-block:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-bottom))}#game .screen#start{background:linear-gradient(105deg,#0a2935eb,#153b47bf 60%,#153b4777);align-items:center}#game .intro{width:calc(100% - 48px);max-width:380px;margin:0 auto;padding:8px 0}.intro-masthead{gap:12px;margin-bottom:20px}#game .kicker{font-size:16px}#game .intro .pill{font-size:9px}#game h1{margin:22px 0 24px;font-size:clamp(64px,18vw,100px)}#game .lead{margin:20px 0 16px;font-size:21px}#game .lead em{font-size:17px}#game .rule{margin:16px 0;font-size:11px}#game .rule b{padding:0 13px}#game .rule b span{font-size:23px}#game .instructions{font-size:13px;line-height:1.6}#game .controlhint{max-width:100%;font-size:10px}#game .scene-label{display:none}#game #hud{width:max-content;left:max(14px, env(safe-area-inset-left));gap:9px}#game #hud .scoreplate{padding:10px 11px}#game #hud .eyebrow{font-size:10px}#game #hud #score{font-size:42px}#game #hud .clock{padding:8px 10px 9px}#game #hud #time{font-size:28px}.clock-readout{gap:5px}#game #dashboard .boat-zone{transform-origin:100% 0;gap:12px;width:144px;transform:scale(.82)}#game .meter{padding:9px 8px 10px}#game .meter-label{font-size:11px}#game .meter-label b{font-size:12px}#game #notice{max-width:calc(100vw - 36px);padding:11px 15px;font-size:16px;top:280px}#game .shore-bubble{max-width:145px;padding:7px 10px;font-size:11px}#game #results{background:#12344050;justify-content:center;align-items:center}#game .resultcard{width:min(344px,100% - 40px);margin:0;padding:24px}#game .resultcard h2{font-size:53px}#game #finalScore{font-size:76px}}@media (max-height:720px) and (orientation:portrait){#game .intro-masthead{margin-bottom:14px}#game h1{margin:16px 0 20px;font-size:clamp(60px,17vw,80px)}#game .lead{margin:14px 0;font-size:18px}#game .lead em{font-size:16px}#game .rule{margin:12px 0}#game .instructions{margin-bottom:10px}#game .primary{margin:6px 0}#game .resultcard h2{margin:15px 0;font-size:46px}#game #finalScore{font-size:64px}#game .resultsplit{margin:16px 0 12px;padding:10px 0}}@media (max-height:600px) and (orientation:landscape){#game .screen{align-items:center;padding-block:18px}#game .intro{width:55%;margin:0 0 0 5vw;padding:0}.intro-masthead{gap:10px;margin:0 0 10px}#game .kicker{margin-bottom:3px;font-size:13px}#game .intro .pill{font-size:8px}#game h1{margin:12px 0 16px;font-size:62px}#game .lead{margin:12px 0;font-size:16px;line-height:1.2}#game .lead br{display:none}#game .lead em{margin-left:5px;font-size:15px}#game .rule{margin:10px 0;font-size:10px}#game .rule b span{font-size:19px}#game .instructions{margin:8px 0;font-size:11px;line-height:1.4}.equal-rule{margin-top:5px}#game .primary{min-height:44px;margin:7px 0;padding:11px 20px;font-size:13px}#game .controlhint{margin:8px 0 0;font-size:9px}#game .scene-label{display:none}#game #hud{gap:8px;width:max-content}#game #hud .scoreplate{padding:9px 11px}#game #hud #score{font-size:35px}#game #hud .eyebrow{font-size:10px}#game #hud .clock{padding:8px 10px}#game #hud #time{font-size:26px}#game #dashboard .boat-zone{transform-origin:100% 0;gap:9px;width:140px;transform:scale(.82)}#game #dashboard .boat-zone .mapbox{align-self:flex-end;width:108px}#game .meter{padding:7px 8px 8px}#game .meter-label{margin-bottom:5px;font-size:11px}#game #notice{max-width:calc(100vw - 320px);font-size:16px;top:110px}#game .modal{padding:20px 26px 14px}#game .modal h2{margin:10px 0 18px;font-size:42px}#game .resultcard{width:310px;margin:0 5vw 0 24px;padding:18px 24px}#game .resultcard h2{margin:12px 0;font-size:40px}#game #finalScore{font-size:56px}#game .resultsplit{margin:12px 0;padding:8px 0}#game .resultsplit b{font-size:24px}}@media (prefers-reduced-motion:reduce){#game *,#game :before,#game :after{transition:none!important;animation:none!important}#game .capacity-meter.full .meter-track,#game .boost-meter.recharging .meter-track,#game #hud #time.urgent,#game #touch .drive-controls #boost.recharging{opacity:1}}.stick-arrows{color:#e8efda;opacity:.32;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}@media (max-height:450px) and (orientation:landscape){#game .screen#start{background:linear-gradient(100deg,#0a2935ed,#123b47b3);align-items:safe center}#game .intro{grid-template-columns:1.1fr 1fr;column-gap:34px;width:90%;max-width:none;margin:0 auto;display:grid}#game .intro-masthead{grid-area:1/1;margin:0}#game h1{grid-area:2/1/5;align-self:center;margin:18px 0;font-size:clamp(42px,7vw,62px)}#game .lead{grid-area:5/1;margin:10px 0 0;font-size:15px}#game .lead br{display:block}#game .lead em{margin-left:0;font-size:14px}#game .rule{flex-wrap:wrap;grid-area:1/2;align-self:center;row-gap:6px}#game .rule b{padding:0 9px}#game .rule b:first-child{padding-left:0}#game .instructions{grid-area:2/2;margin:14px 0 8px}#game #launch{grid-area:3/2;width:100%;min-width:0;margin:8px 0}#game .controlhint{grid-area:4/2;margin:8px 0}#game #results{align-items:safe center}#game .resultcard{padding:14px 22px}#game .resultcard h2{margin:10px 0;font-size:36px}#game #finalScore{font-size:52px}#game .resultsplit{margin:10px 0;padding:7px 0}}.audio-credit{color:inherit;opacity:.72;text-underline-offset:3px;margin:24px auto 10px;font-size:11px;display:block}#game .primary:active:not(:disabled),#game #fatal button:active:not(:disabled){transform:translateY(4px);box-shadow:inset 0 2px #fff3cf,inset 0 -2px #c69a54,0 1px #8b683f,0 2px #243d40,0 5px 12px #001c3a40}#game .secondary:active:not(:disabled){transform:translateY(4px);box-shadow:inset 0 1px #c3dedc16,0 1px #0a2632,0 2px #08222c,0 4px 10px #001c3a30}#game #keyboard .movement-keys{align-items:center;gap:5px;display:inline-flex}#game #keyboard .movement-keys kbd{box-sizing:border-box;justify-content:center;align-items:center;width:28px;height:28px;margin:0;padding:0;display:inline-flex}#game button.audio-credit{min-height:0;box-shadow:none;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:0;padding:4px;font-size:12px;text-decoration:underline}#game button.audio-credit:hover{opacity:1}#game #pauseScreen .modal{max-height:calc(100dvh - 32px);overflow-y:auto}#game #pauseCredits h2{margin-top:4px;margin-bottom:24px;font-size:38px}.credits-copy{font-size:14px;line-height:1.5}.credits-copy p{margin:10px 0}.credits-copy a{color:inherit;text-underline-offset:3px}.credits-copy .credit-label{color:#e7cc96;margin:20px 0 4px;font-size:11px}.credits-copy .credit-note{opacity:.7;font-size:11px}#game #creditsBack{margin-top:22px}.voice-credits{margin-top:18px;font-size:11px;line-height:1.5}.voice-credits summary{cursor:pointer;text-underline-offset:3px;text-decoration:underline}#game #pauseScreen .modal{overscroll-behavior:contain;touch-action:pan-y}#game #notice .hidden{display:none}
#cinematic{z-index:9;pointer-events:none;position:absolute;inset:0;overflow:hidden}#game.cinematic-active #shade{opacity:0}.intro-actions{top:max(24px, env(safe-area-inset-top));right:max(28px, env(safe-area-inset-right));z-index:2;pointer-events:auto;gap:10px;display:flex;position:absolute}#game .intro-actions button,#game .title-sound{color:#fff4da;letter-spacing:0;text-transform:none;cursor:pointer;background:#102d38e8;border:1px solid #fff4da70;border-radius:5px;min-height:44px;padding:11px 16px;font-size:13px;font-weight:600}#game .intro-actions button:hover,#game .title-sound:hover{background:#275260}#game .intro-actions button:focus-visible,#game .title-sound:focus-visible{outline-offset:3px;outline:3px solid #edc77e}#introNews{filter:drop-shadow(0 5px 14px #09242d45);width:max-content;max-width:min(89%,1120px);position:absolute;bottom:10%;left:5.5%}.intro-news-meta{width:max-content;max-width:100%;font:700 12px/1.2 var(--ui-font);letter-spacing:.12em;text-transform:uppercase;display:flex}.intro-breaking{color:#fff7e7;background:#b74436;padding:9px 13px}#introHeadline{color:#fff4da;font:700 clamp(27px,3.5vw,52px)/1.12 var(--display-font);text-transform:uppercase;letter-spacing:0;background:#102d38ed;border-left:4px solid #d9b779;margin:0;padding:15px 22px 18px;display:block}#introTitle{text-align:center;color:#fff4da;text-shadow:0 3px 20px #0a2939cc,0 2px 3px #0a2939;position:absolute;inset:20% 6% auto}#game #introTitle h1{font:800 clamp(54px,8.3vw,126px)/.9 var(--display-font);letter-spacing:-.01em;margin:0}#game #start.loading-screen{background:#153d48;place-items:center;display:grid}.ocean-loader{text-align:center;width:96px;max-width:40vw}.loading-label{color:#c7d8d1;font:500 12px/1.4 var(--ui-font);margin-top:9px;display:block}.ocean-loader picture,.ocean-loader img{width:100%;height:auto;display:block}#world:focus{outline:none}#game #introStart{text-align:center;background:linear-gradient(#102d3820,#102d3860 55%,#102d3890);justify-content:center;padding:24px}#game #introStart h1{color:#fff4da;font:800 clamp(64px,10vw,140px)/.88 var(--display-font);letter-spacing:-.015em;margin:0 0 36px}#game #introStart .primary{min-width:190px}.title-sound{position:absolute;top:24px;right:28px}#game button.sound-toggle{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;min-height:40px;padding:9px;display:inline-flex}#game button.sound-toggle,#game .intro-actions button{color:var(--cream);background:linear-gradient(145deg,#4c737bbf,#153d49bf);border:1px solid #c7d8c77a;box-shadow:inset 0 1px #e5eee938,0 3px #102e39a6}#game button.sound-toggle svg{pointer-events:none;width:100%;height:100%;display:block}#game button.sound-toggle.muted{color:#bad0cd}#game button.sound-toggle.muted .sound-waves{display:none}#game button.sound-toggle.muted .sound-cross{display:block}#game button.sound-toggle:hover,#game .intro-actions button:hover{background:linear-gradient(145deg,#5a838bbf,#214b56bf)}#game .intro-actions{align-items:center}#game #skipIntro{border-radius:999px}#game .intro-actions button{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);min-height:44px}#game .intro-actions button.sound-toggle{width:44px;height:44px;padding:10px}#game .intro-actions button:active{transform:translateY(3px);box-shadow:inset 0 2px 5px #092d4055,0 1px #102e39a6}#briefingShade{z-index:1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0a2c3866;display:none;position:absolute;inset:0}#game.briefing-active #briefingShade{display:block}#introBriefing{z-index:13;overscroll-behavior:contain;pointer-events:auto;touch-action:pan-y;place-items:center;padding:16px;display:grid;position:absolute;inset:0;overflow-y:auto}.intro-briefing-card{--guide-action-height:56px;grid-template-columns:minmax(0,1fr);grid-template-rows:28px minmax(0,1fr) var(--guide-action-height);color:#fff4da;gap:18px;width:min(430px,100%);height:clamp(320px,100dvh - 280px,420px);max-height:calc(100dvh - 32px);padding:28px;display:grid}#game .intro-briefing-card{animation:none}#game #briefingGoal{color:#fff4da;font:600 26px/1.3 var(--ui-font);letter-spacing:-.015em;text-transform:none;text-align:center;margin:0}#briefingGoal strong{color:inherit;white-space:nowrap}.guide-panel{flex-direction:column;grid-area:2/1;justify-content:center;align-items:center;gap:20px;min-height:0;display:flex}.guide-goal{gap:20px}.guide-description{color:#e4ebdf;text-align:center;font:400 15px/1.5 var(--ui-font);margin:0;display:block}.guide-keys{--key-row:31px;--key-gap:4px;grid-template-columns:max-content 22px max-content;justify-content:center;align-items:center;gap:18px;width:max-content;max-width:100%;margin:0 auto;display:grid}.guide-key-cluster{grid-template-rows:repeat(2,31px);grid-template-columns:repeat(3,30px);gap:4px;display:grid}#game .guide-key-cluster kbd,#game .guide-space{color:#183d48;min-width:30px;height:31px;font:700 14px/1 var(--ui-font);background:#e8f0df;border:1px solid #c2d6d0;border-bottom:3px solid #728f91;border-radius:4px;place-items:center;margin:0;padding:0 5px;display:inline-grid;box-shadow:0 2px #07232c}.guide-key-cluster kbd:first-child{grid-area:1/2}.guide-key-cluster kbd:nth-child(2){grid-area:2/1}.guide-key-cluster kbd:nth-child(3){grid-area:2/2}.guide-key-cluster kbd:nth-child(4){grid-area:2/3}.guide-key-cluster svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;display:block}.guide-or{transform:translateY(calc((var(--key-row) + var(--key-gap)) / 2));text-align:center;color:#a8c2be;font:500 12px/1 var(--ui-font);display:block}#game .guide-space{letter-spacing:.08em;width:170px;height:42px}#game #guidePanel2[data-boost-state=using] .guide-space{background:#d7e5cf;border-bottom-color:#9aac9e;transform:translateY(3px);box-shadow:inset 0 2px 4px #163b4226,0 1px #07232c}#guidePanel2[data-boost-state=using] .guide-boost-button{transform:translateY(3px);box-shadow:inset 0 2px 3px #163b4226,0 1px #896b35}.guide-unload{aspect-ratio:300/190;width:100%;max-width:270px;height:auto;display:block}#guidePanel2[data-boost-state=empty] .guide-space,#guidePanel2[data-boost-state=recharging] .guide-space{opacity:.45}#guidePanel2[data-boost-state=empty] .guide-boost-button,#guidePanel2[data-boost-state=recharging] .guide-boost-button{color:#fff;background:#627e7c;box-shadow:0 3px #264650}.guide-navigation{grid-area:3/1;margin:0;display:flex}#game .guide-navigation .primary{width:100%;min-width:0;height:var(--guide-action-height);min-height:var(--guide-action-height);margin:0;padding:12px}#game .guide-back{color:#c8dcd2;text-align:left;min-height:28px;font:600 12px/1.4 var(--ui-font);background:0 0;border:0;border-radius:0;grid-area:1/1;align-items:center;gap:6px;margin:0;padding:0;display:flex}#game .guide-back svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}#game .guide-back:hover{color:#fff4da;text-decoration:underline}#guideConnector{z-index:14;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}#guideConnectorPath{fill:none;stroke:#edc77e;stroke-width:2px;stroke-dasharray:5 5;opacity:1;filter:drop-shadow(0 1px 1px #102d38)}#guideConnectorDot{fill:#fff1c9;stroke:#edc77e;stroke-width:3px}.guide-mobile{display:none}body.touch .guide-desktop{display:none!important}body.touch .guide-mobile{display:flex}.guide-joystick{color:#e9eedc;width:76px;height:76px;font:600 10px/1 var(--ui-font);background:radial-gradient(circle,#123744 35%,#668d8c80);border:2px solid #a7c6bb;border-radius:50%;flex-direction:column;justify-content:space-between;align-items:center;padding:6px;position:relative}.guide-joystick i{background:#8ba5a1;border:2px solid #fff1d1;border-radius:50%;width:27px;height:27px;position:absolute;top:23px;left:23px;box-shadow:0 3px #16343a}.guide-boost-button{color:#183d48;min-height:42px;font:800 14px/1 var(--ui-font);background:#e4bd65;border:1px solid #fff0bb;border-radius:7px;justify-content:center;align-items:center;padding:12px 28px;box-shadow:0 3px #896b35}#game.briefing-active #hud,#game.briefing-active #dashboard,#game.briefing-active #touch{z-index:10;pointer-events:none}#game.briefing-active #dashboard{position:absolute;inset:0}#game.briefing-active #dashboard .boat-zone{z-index:10}#game.briefing-active #touch *{pointer-events:none}#game.briefing-active #keyboard{display:none}#game.briefing-active .scoreplate,#game.briefing-active .clock:not(.guide-target),#game.briefing-active #sound,#game.briefing-active .mapbox:not(.guide-target),#game.briefing-active .meter:not(.guide-target),#game.briefing-active #steering:not(.guide-target),#game.briefing-active #boost:not(.guide-target){opacity:.16}#game.briefing-active .guide-target{z-index:12;opacity:1;outline-offset:7px;outline:3px solid #edc77e;box-shadow:0 0 0 9px #102d38d9,0 12px 50px #000b,0 0 55px #edc77e55}#game.briefing-active #roundClock.guide-target{transform-origin:0 0;position:relative;transform:scale(1.8)}#game.briefing-active #radarInstrument.guide-target{transform-origin:100% 0;transform:scale(1.6)}#game.briefing-active .meter.guide-target{transform-origin:100%;background:#123947;transform:scale(1.8)}#game.briefing-active #steering.guide-target,#game.briefing-active #boost.guide-target{outline-width:3px}#game.briefing-active .meter{position:relative}@media (orientation:portrait){.intro-actions{top:max(18px,env(safe-area-inset-top));justify-content:flex-end;gap:8px;left:16px;right:16px}#game .intro-actions button{padding:10px 12px;font-size:12px}#introNews{left:5%;bottom:max(10%, calc(env(safe-area-inset-bottom) + 26px));max-width:90%}.intro-news-meta{letter-spacing:.07em;font-size:10px}.intro-breaking{padding:8px 9px}#introHeadline{padding:14px 16px 17px;font-size:clamp(28px,7.8vw,40px)}#introTitle{top:22%}#game #introTitle h1{font-size:clamp(56px,16vw,90px)}.title-sound{top:18px;right:16px}#game #briefingGoal{font-size:24px}.guide-description{font-size:14px}.guide-key-cluster{grid-template-rows:repeat(2,28px);grid-template-columns:repeat(3,26px);gap:3px}#game .guide-key-cluster kbd{min-width:26px;height:28px;font-size:12px}.guide-keys{--key-row:28px;--key-gap:3px;gap:13px}#game.briefing-active #roundClock.guide-target{transform:scale(1.6)}#game.briefing-active #radarInstrument.guide-target{transform:scale(1.45)}#game.briefing-active .meter.guide-target{transform:scale(1.65)}}@media (orientation:portrait) and (max-height:700px){#game #briefingGoal{font-size:20px}}@media (orientation:landscape) and (max-height:550px){.intro-actions{top:12px;right:16px}#introHeadline{padding:10px 16px 12px;font-size:30px}#introNews{max-width:92%;bottom:9%;left:4%}.intro-news-meta{font-size:10px}.intro-breaking{padding:6px 10px}#introTitle{top:23%}#game #introTitle h1{font-size:64px}.intro-briefing-card{width:min(360px,100%)}#game #briefingGoal{font-size:22px}.guide-description{font-size:13px}.guide-joystick{width:62px;height:62px}.guide-joystick i{top:16px;left:16px}#game.briefing-active #radarInstrument.guide-target{transform:scale(1.35)}#game.briefing-active .meter.guide-target{transform:scale(1.55)}#game.briefing-active #roundClock.guide-target{transform:scale(1.5)}}@media (orientation:portrait){#game.briefing-active .guide-target{outline-offset:5px;outline-width:2.5px}}@media (orientation:portrait) and (max-height:700px){.guide-description{font-size:13px}.guide-joystick{width:56px;height:56px}.guide-joystick i{width:22px;height:22px;top:15px;left:15px}}@media (prefers-reduced-motion:reduce){#game .menu-panel{animation:none}}#game #introStartTitle,#game #introTitle h1{transform:none}#introStartTitle,#introTitle h1,#introHeadline,#briefingGoal,.guide-description{text-wrap:balance}#game .guide-navigation #beginRescue{min-height:var(--guide-action-height);color:#163b42;letter-spacing:.015em;background:linear-gradient(175deg,#fff0bb 0%,#ffda83 42%,#e9ae49 100%);border:1px solid #fff4ca;border-bottom-color:#bb8737;justify-content:center;align-items:center;gap:14px;font-size:18px;font-weight:800;transition:transform .14s,box-shadow .14s,filter .14s;display:flex;box-shadow:inset 0 2px #fff9e2,inset 0 -3px #d39137,0 6px #966329,0 8px #173b43,0 12px 32px #f0b84d44}.rescue-launch-arrow{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;transition:transform .18s}@media (hover:hover){#game .guide-navigation #beginRescue:hover{filter:brightness(1.07);box-shadow:inset 0 2px #fff9e2,inset 0 -3px #d39137,0 6px #966329,0 8px #173b43,0 12px 32px #f0b84d66}#beginRescue:hover .rescue-launch-arrow{transform:translate(2.5px)}}#game .guide-navigation #beginRescue:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 2px #fff9e2,inset 0 -3px #d39137,0 3px #966329,0 5px #173b43,0 9px 26px #f0b84d44}#game .guide-navigation #beginRescue:focus-visible{outline-offset:6px;outline:3px solid #fff3bb}@media (prefers-reduced-motion:reduce){#game .guide-navigation #beginRescue,.rescue-launch-arrow{transition:none}#game .guide-navigation #beginRescue:hover,#game .guide-navigation #beginRescue:active,#beginRescue:hover .rescue-launch-arrow{transform:none}}@media (max-height:700px){.intro-briefing-card{--guide-action-height:48px;grid-template-rows:24px minmax(0,1fr) var(--guide-action-height);gap:12px;padding:18px}#game .guide-back{min-height:24px}.guide-panel{gap:14px}.guide-unload{max-width:220px}#game .guide-navigation #beginRescue{font-size:16px}}@media (max-height:600px){.intro-briefing-card{gap:10px;padding:14px 18px}.guide-panel{gap:12px}.guide-unload{max-width:160px}#game .guide-description{font-size:13px}}@media (orientation:portrait) and (max-height:700px){#game.briefing-active #touch{visibility:hidden}}#game #introStart #playIntro,#game #introStart .replay-intro{justify-content:center;align-items:center;width:190px;height:54px;min-height:54px;margin:0 auto;padding:12px 18px;font-size:15px;display:flex}#game #introStart .rescue-social-title{margin-top:18px}#game #introStart .replay-intro{margin-bottom:18px}#game #pauseMain>#resume,#game #pauseMain>#restart{justify-content:center;align-items:center;height:54px;min-height:54px;margin:0;padding:12px 18px;display:flex}#game #pauseMain>#restart{margin-top:12px}#game .guide-space,#game .guide-boost-button{transition:transform .18s,opacity .26s,box-shadow .18s,background-color .18s,border-color .18s}@media (prefers-reduced-motion:reduce){#game .guide-space,#game .guide-boost-button{transition:none}}
#game .rescue-flag{object-fit:contain;flex-shrink:0;width:34px;height:26px}#game .social-title-links .rescue-flag,#game .pause-social .rescue-flag{width:25px;height:20px}#game .standings-captain .rescue-flag{width:34px;height:26px}#game .save-first-score{margin:12px 0 14px}#game .rescue-dialog-flag{width:min(510px,100vw - 28px)}#game .rescue-dialog-flag .social-dialog-header{margin-bottom:6px}#game .rescue-dialog-flag .social-dialog-header h2{margin:0;font-size:38px}#game .flag-preview{justify-content:center;align-items:center;height:142px;margin:4px 0 13px;display:flex}#game .flag-preview .rescue-flag{filter:drop-shadow(0 5px 4px #08263370);width:190px;height:142px}#game .flag-form fieldset{border:0;min-width:0;margin:0 0 15px;padding:0}#game .flag-form legend,#game .flag-form>label{color:var(--muted);margin:0 0 7px;padding:0;font-size:11px;font-weight:500;display:block}#game .flag-options{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}#game .flag-options.flag-symbols{grid-template-columns:repeat(8,1fr)}#game .flag-options.flag-colors{grid-template-columns:repeat(6,1fr)}#game .flag-options>button{height:44px;color:var(--cream);cursor:pointer;background:#0c303c70;border:1px solid #d9b77935;border-radius:6px;justify-content:center;align-items:center;padding:3px;display:flex;position:relative}#game .flag-options>button[aria-checked=true]{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold);background:#d9b77914}#game .flag-options>button:hover{border-color:var(--brass)}#game .flag-options .rescue-flag{width:44px;height:33px}#game .flag-symbols .rescue-flag{width:38px;height:30px}#game .flag-colors>button>span{opacity:.6;width:25px;height:7px;position:absolute;transform:rotate(-35deg)}#game .flag-colors>button>b{font-size:17px;font-weight:500;position:relative}#game .boat-name-select{margin-bottom:21px;position:relative}#game .boat-name-trigger,#game .boat-name-native{width:100%;min-height:44px;color:var(--cream);text-align:left;font:500 12px/1.4 var(--ui-font);cursor:pointer;background:linear-gradient(145deg,#315b64,#153b48);border:1px solid #d9b77970;border-radius:7px;justify-content:space-between;align-items:center;gap:16px;margin:0;padding:11px 14px;display:flex;box-shadow:inset 0 1px #f9dfb32b,0 3px #0b2936b3}#game .boat-name-native{appearance:auto;font-size:16px;display:block}#game .boat-name-trigger:hover,#game .boat-name-trigger[aria-expanded=true]{border-color:var(--gold)}#game .boat-name-trigger svg,#game .boat-name-menu svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:16px;height:16px}#game .boat-name-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}#game .boat-name-menu{box-sizing:border-box;z-index:5;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6a8a89 #153b48;background:linear-gradient(170deg,#496f76,#345a64);border:1px solid #ecd29f96;border-radius:10px;max-height:260px;padding:6px;position:absolute;bottom:calc(100% + 9px);left:0;right:0;overflow-y:auto;box-shadow:inset 0 2px #f9dfb32b,0 5px #0b2936b3,0 14px 32px #001b2d99}#game .boat-name-menu [role=option]{width:100%;min-height:38px;color:var(--cream);text-align:left;font:500 12px/1.4 var(--ui-font);cursor:pointer;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:9px 11px;display:flex;transform:none}#game .boat-name-menu [role=option].is-active{background:#edc77e22;border-color:#edc77e66}#game .boat-name-menu [aria-selected=true]{color:var(--gold)}#game .boat-name-menu [role=option]:active{box-shadow:none;transform:none}#game .rescue-social-title{width:min(440px,85vw);margin:22px auto 0}#game .replay-intro{width:190px;margin:-6px auto 20px;padding:12px 18px;font-size:13px;display:block}#game .standings-tabs{background:#0b2c3770;border:1px solid #d9b77950;border-radius:9px;gap:4px;padding:4px;display:flex}#game .standings-tabs button{min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:1;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-size:12px;display:flex}#game .standings-tabs button[aria-pressed=true]{color:var(--cream);background:#42666b;box-shadow:inset 0 1px #ffffff19,0 2px 4px #06232e66}#game .mode-caption{min-height:2.5em;color:var(--muted);margin:12px 0;font-size:11px;line-height:1.6}#game .social-title-links,#game .pause-social{justify-content:center;align-items:center;gap:14px;display:flex}#game .social-title-links>span{opacity:.4}#game .social-title-links button,#game .pause-social button{color:var(--cream);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:6px 0;font-size:11px;display:inline-flex}#game .social-title-links button:hover,#game .pause-social button:hover{color:var(--gold)}#game .social-title-links button,#game .pause-social button,#game .social-text-button,#game .ghost-button{box-shadow:none;text-shadow:none;transition:color .12s,opacity .12s;transform:none}#game .social-title-links button:is(:hover,:active),#game .pause-social button:is(:hover,:active),#game .social-text-button:is(:hover,:active),#game .ghost-button:is(:hover,:active){box-shadow:none;color:var(--gold);transform:none}#game .pause-footer{justify-content:center;align-items:center;gap:8px;margin-top:16px;display:flex}#game .pause-footer #socialPause,#game .pause-footer .pause-social{display:contents}#game .pause-footer button{min-height:40px;box-shadow:none;color:var(--cream);font:600 10px/1.3 var(--ui-font);white-space:nowrap;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:5px;margin:0;padding:6px 0;text-decoration:none;display:inline-flex}#game .pause-footer button:hover{color:var(--gold)}#game .pause-footer button svg{width:15px;height:15px}#game .pause-footer .rescue-flag{width:22px;height:17px}#game .social-title-links .captain-mark{width:20px;height:20px}#game .pause-social{margin:15px 0}#game .social-result svg,#game .rescue-social-title svg,#game .rescue-dialog button svg,#game .pause-social svg{flex-shrink:0;width:18px;height:18px}#game .social-label{color:var(--brass);font:700 10px/1.4 var(--ui-font);letter-spacing:.13em;text-transform:uppercase;display:block}#game .challenge-invitation{flex-direction:column;align-items:center;gap:5px;margin:0 auto 18px;display:flex}#game .challenge-invitation>span:nth-child(2){color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}#game .challenge-invitation strong{color:var(--gold);font:700 42px/1.1 var(--display-font)}#game .challenge-invitation strong small{color:var(--cream);font:500 12px var(--ui-font)}#game .challenge-invitation p{color:var(--muted);margin:0;font-size:11px}#game #introStart:has(.challenge-invitation) h1{font-size:clamp(54px,8vw,100px)}#game #introStart:has(.challenge-invitation) .intro-title{padding-top:10px}#game .social-result{margin:0 0 13px}#game .result-social-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}#game .result-social-actions button.secondary{justify-content:center;align-items:center;gap:7px;width:100%;min-width:0;margin:0;padding:11px 7px;font-size:11px;display:flex}#game .save-recovery{border:1px solid #d9b77950;border-radius:5px;margin-bottom:12px;padding:9px 10px}#game .save-recovery p{color:var(--muted);margin:0 0 6px;font-size:10px;line-height:1.6}#game .save-recovery button{color:var(--gold);cursor:pointer;background:0 0;border:0;font-size:11px;text-decoration:underline}#game .resultcard{overscroll-behavior:contain;touch-action:pan-y;width:366px;max-height:calc(100dvh - 40px);padding:22px 28px;overflow-y:auto}#game .resultcard h2{white-space:nowrap;color:var(--cream);margin:0 0 18px;font-size:clamp(26px,7.5vw,34px)}#game .zero-score .resultcard h2{font-size:clamp(20px,6.25vw,28px)}#game .zero-score .resultcard>.eyebrow{margin-bottom:20px}#game .resultcard #finalScore{color:var(--cream);text-shadow:0 3px #0d3040;font-size:70px}#game .resultcard>.eyebrow{color:var(--cream);text-transform:none;letter-spacing:.02em;margin-top:10px;font-size:14px}#game .resultcard .resultsplit{color:var(--cream);opacity:.6;font:400 11px/1.4 var(--ui-font);white-space:nowrap;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;margin:16px 0 18px;padding:0;display:flex}#game .resultcard .resultsplit div{border:0;flex-direction:row;flex:none;align-items:baseline;gap:3px;padding:0;display:flex}#game .resultcard .resultsplit b,#game .resultcard .resultsplit span{font:inherit;color:inherit;letter-spacing:0;text-transform:none}#game .resultcard .resultsplit b{font-variant-numeric:tabular-nums}#game .result-pills{flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:16px;display:flex}#game .result-pill{color:var(--cream);font:600 11px/1.3 var(--ui-font);background:#fff5d50a;border:1px solid #fff5d52e;border-radius:999px;padding:6px 10px}#game .resultcard #again{width:100%;min-height:44px;margin:0;padding:12px;font-size:13px}#game .resultcard #again.secondary{font-size:11px}#game .challenge-hud{left:max(20px, env(safe-area-inset-left));color:var(--gold);z-index:20;pointer-events:none;background:#153d48d9;border:1px solid #d9b77960;border-radius:7px;align-items:baseline;gap:7px;padding:8px 11px;display:flex;position:fixed;top:132px}#game .challenge-hud span,#game .challenge-hud small{color:var(--muted);font-size:10px}#game .challenge-hud b{font:700 23px var(--display-font)}#game .rescue-dialog{--dialog-pad:30px;overscroll-behavior:contain;touch-action:pan-y;width:min(540px,100vw - 28px);max-width:none;max-height:calc(100dvh - 32px);color:var(--cream);background:linear-gradient(145deg,#315b64,#153b48 70%);border:1px solid #ecd29f96;border-radius:18px;padding:0;position:fixed;inset:0;overflow-y:auto;box-shadow:inset 0 2px #f9dfb32b,0 6px #0b2936b3,0 25px 90px #001b2dcc}#game .rescue-dialog::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#092632b8}#game .rescue-dialog:before{content:"";pointer-events:none;position:fixed}#game .social-dialog-paper{padding:var(--dialog-pad);background:repeating-radial-gradient(at 130% 0,#0000 0 22px,#b7d0bc07 23px 24px,#0000 25px 42px);position:relative}#game .social-dialog-header{margin-bottom:23px;padding-right:25px;position:relative}#game .social-dialog-header h2{color:var(--cream);font:600 46px/.95 var(--display-font);letter-spacing:-.015em;margin:0 0 8px}#game .social-dialog-header p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}#game .social-close{width:42px;height:42px;color:var(--cream);font:300 28px var(--ui-font);cursor:pointer;background:#0c303d60;border:0;border-radius:50%;position:absolute;top:-12px;right:-9px}#game .social-close:hover{background:#446870}#game .rescue-dialog button:disabled{opacity:.5;cursor:wait;transform:none}#game .standings-row{grid-template-columns:32px minmax(0,1fr) 64px;align-items:center;gap:9px;min-height:57px;padding:10px 12px;display:grid}#game .standings-head{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}#game .standings-row>strong{color:var(--muted);font:600 20px var(--display-font);text-align:center}#game .standings-row>strong.rank-medal{color:var(--gold)}#game .standings-row>b{font:700 25px var(--display-font);text-align:right;color:var(--cream);font-variant-numeric:tabular-nums}#game .standings-captain{align-items:center;gap:9px;min-width:0;font-size:11px;display:flex}#game .standings-captain .captain-mark{width:28px;height:28px;color:var(--brass);flex-shrink:0}#game .standings-entry{border-bottom:1px solid #d9b77920;padding-block:2px}:is(#game .standings-entry:has(.is-you),#game .standings-entry:has(+.standings-entry .is-you)){border-bottom-color:#0000}#game .standings-row.is-you{background:#d9b77913;border-radius:6px;box-shadow:inset 0 0 0 1px #d9b77940}#game .standings-captain>span{overflow-wrap:anywhere;min-width:0}#game .rank-gap{text-align:center;color:var(--brass);padding:5px}#game .social-empty{text-align:center;color:var(--muted);padding:36px 14px;font-size:12px;line-height:1.7}#game .social-empty>svg{width:40px;height:40px;color:var(--brass)}#game .social-empty h3{font:600 29px var(--display-font);color:var(--cream);margin:15px 0 8px}#game .board-footer{flex-direction:column;align-items:center;gap:13px;margin-top:10px;display:flex}#game .rescue-dialog .secondary,#game .rescue-dialog .primary{justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;margin:0;font-size:12px;display:flex}#game .social-text-button{color:var(--muted);text-underline-offset:4px;cursor:pointer;background:0 0;border:0;font-size:11px;text-decoration:underline}#game .captain-preview{flex-direction:column;align-items:center;gap:9px;padding:15px 0 28px;display:flex}#game .captain-preview .captain-mark{width:70px;height:70px;color:var(--brass)}#game .captain-preview strong{font:600 34px var(--display-font);color:var(--cream)}#game .captain-preview>span{color:var(--muted);font-size:11px}#game .captain-form label,#game .captain-field-label{color:var(--brass);margin-bottom:8px;font-size:11px;display:block}#game .captain-form select{appearance:auto;width:100%;color:var(--cream);font:500 13px var(--ui-font);background:#153d48;border:1px solid #d9b77970;border-radius:7px;margin-bottom:24px;padding:13px}#game .captain-avatar-options{gap:10px;display:flex}#game .captain-avatar-options button{color:var(--muted);cursor:pointer;background:#0b303c60;border:1px solid #d9b77940;border-radius:7px;flex:1;padding:10px}#game .captain-avatar-options button[aria-pressed=true]{border-color:var(--brass);color:var(--gold);background:#d9b77919}#game .captain-avatar-options button .captain-mark{width:37px;height:37px}#game .captain-note{color:var(--muted);margin:19px 0 25px;font-size:10px;line-height:1.7}#game .social-action-notice{color:var(--cream);text-align:center;border-top:1px solid #d9b77940;margin:22px 0 0;padding-top:15px;font-size:12px;line-height:1.6}#game .share-action-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}#game .share-action-grid>.primary{grid-column:1/-1}#game .share-action-grid>button{min-height:43px;padding:11px}#game .share-action-grid>button:nth-child(2){grid-column:1/-1}#game .challenge-link-field{box-sizing:border-box;width:100%;min-width:0;color:var(--muted);font:500 10px var(--ui-font);background:#0d303c80;border:1px solid #d9b77945;border-radius:6px;grid-column:1/-1;padding:11px}#game .challenge-link-field:focus-visible{outline:2px solid var(--gold);outline-offset:3px}#game .captain-medals{border-block:1px solid #d9b77935;margin-top:23px;padding:13px 0}#game .captain-medals summary{cursor:pointer;color:var(--cream);justify-content:space-between;font-size:12px;display:flex}#game .captain-medals summary span{color:var(--brass)}#game .captain-medals>div{gap:9px;padding-top:17px;display:grid}#game .captain-medals>div>div{color:#c5d9d480;align-items:center;gap:10px;display:flex}#game .captain-medals>div>div.is-earned{color:var(--gold)}#game .captain-medals>div>div>span{font-size:24px}#game .captain-medals p{margin:0}#game .captain-medals strong{font-size:11px;font-weight:600;display:block}#game .captain-medals small{color:var(--muted);margin-top:3px;font-size:9px;display:block}#game .rescue-dialog-share{--dialog-pad:22px;width:min(400px,100vw - 28px)}#game .rescue-dialog-share .social-dialog-paper{display:block}#game .rescue-dialog-share .social-dialog-header{margin-bottom:16px}#game .rescue-dialog-share .social-dialog-header h2{font-size:34px}#game .rescue-dialog-share .social-dialog-header p{font-size:12px;line-height:1.5}#game .rescue-dialog-share .share-action-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:17px;padding:0;display:grid}#game .rescue-dialog-share .share-action-grid>button{grid-column:auto;min-height:44px;padding:10px 7px}.rescue-missing{color:#fff4da;text-align:center;min-height:100dvh;font-family:var(--ui-font);background:#153b48;flex-direction:column;justify-content:center;align-items:center;padding:25px;display:flex}.rescue-missing>span{color:var(--brass);letter-spacing:.15em;font-size:11px}.rescue-missing h1{font:700 64px/1 var(--display-font);margin:25px 0}.rescue-missing p{color:var(--muted)}.rescue-missing a{background:var(--gold);color:var(--ink);border-radius:7px;margin-top:22px;padding:15px 26px;text-decoration:none}@media (max-width:600px){#game .flag-options.flag-symbols{grid-template-columns:repeat(4,1fr)}#game .flag-preview{height:112px;margin:3px 0 13px}#game .flag-preview .rescue-flag{width:150px;height:112px}#game .rescue-dialog-share{width:min(400px,100vw - 28px)}#game .rescue-dialog-share .social-dialog-paper{display:block}#game .rescue-dialog{--dialog-pad:23px}#game .social-dialog-header h2{font-size:40px}#game .standings-row{grid-template-columns:24px minmax(0,1fr) 55px;gap:5px}#game .standings-captain{gap:6px;font-size:10px}#game .standings-captain .captain-mark{width:23px;height:23px}#game .standings-row>b{font-size:22px}#game .resultcard{width:min(366px,100% - 28px);max-height:calc(100dvh - 30px);margin:0;padding:20px 24px}#game .resultcard #finalScore{font-size:65px}#game .challenge-hud{top:122px;left:max(14px, env(safe-area-inset-left))}}@media (max-height:680px){#game .resultcard{padding:17px 24px}#game .resultcard #finalScore{font-size:53px}#game .rescue-social-title{margin-top:12px}#game .mode-caption{margin:8px 0}#game #introStart h1{font-size:clamp(47px,9vw,76px)}}#game .pause-separator{color:var(--brass);opacity:.65;pointer-events:none;font-size:12px;line-height:1}@media (max-width:360px){#game .result-social-actions{grid-template-columns:1fr}#game .pause-footer{gap:5px}#game .pause-footer button{gap:4px;font-size:9px}#game .pause-footer button svg{width:13px;height:13px}#game .pause-footer .rescue-flag{width:18px;height:14px}}#game .score-card-preview{isolation:isolate;aspect-ratio:1200/630;clip-path:inset(0 round 9px);background:#153b48;border:1px solid #d9b77955;border-radius:9px;width:100%;position:relative;overflow:hidden}#game .score-card-preview img{width:100%;height:auto;display:block}#game .score-card-preview p{text-align:center;height:100%;color:var(--muted);place-items:center;margin:0;padding:24px;font-size:13px;display:grid}#game .standings-tabs{margin-bottom:18px}#game #results:has(.result-detail)>.resultcard{display:none}#game #results .result-detail{--dialog-pad:24px;flex-shrink:0;width:366px;max-width:calc(100% - 28px);max-height:calc(100% - 32px);margin:24px 5vw 24px 24px;position:relative;inset:auto}#game .result-detail .social-dialog-header{padding-right:0}#game .result-detail .social-dialog-header h2{font-size:34px}#game .result-detail .social-back{width:max-content;min-height:32px;box-shadow:none;color:var(--muted);font:600 12px/1.4 var(--ui-font);background:0 0;border:0;border-radius:0;align-items:center;gap:6px;margin:-6px 0 14px;padding:0;display:flex}#game .result-detail .social-back svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}#game .result-detail .social-back:hover{color:var(--cream)}@media (max-width:600px),(pointer:coarse){#game #results .result-detail{margin:0}}#game .shrimp-captain-unlock{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:linear-gradient(#31596270,#143e4870);border:1px solid #9fb9b55c;border-radius:12px;margin:4px 0 16px;padding:12px 12px 16px;box-shadow:inset 0 1px #c3dedc16,0 3px 10px #001c3a20}#game .shrimp-captain-unlock strong{color:var(--cream);font:600 14px/1.4 var(--ui-font);letter-spacing:0;display:block}#game .shrimp-captain-unlock img{object-fit:contain;width:70%;height:88px;margin:5px auto 0;display:block}#game .score-card-draft{position:absolute;inset:0}#game .score-card-draft>div{color:#fff;text-shadow:0 2px 2px #0008;position:absolute;top:5%;left:4%}#game .score-card-draft strong{font:900 58px/1 var(--display-font);display:block}#game .score-card-draft span{font:700 16px/1 var(--display-font);text-transform:uppercase;display:block}#game .score-card-save-scrim{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a293bd6;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px 24px;display:flex;position:absolute;inset:0}#game .score-card-save-scrim p{max-width:235px;height:auto;color:var(--cream);padding:0;font-size:13px;line-height:1.5;display:block}#game .score-card-save-scrim>.primary{width:auto;min-height:44px;padding:10px 18px}#game .rescue-dialog-board,#game #results .rescue-dialog-board{box-sizing:border-box;width:min(480px,100vw - 28px);height:min(800px,100dvh - 32px);overflow:hidden}#game .rescue-dialog-board .social-dialog-paper{box-sizing:border-box;flex-direction:column;height:100%;min-height:0;max-height:100%;display:flex}#game .rescue-dialog-board .social-dialog-header{flex:none}#game .rescue-dialog-board .social-dialog-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}#game .rescue-dialog-board .standings-tabs{flex:none;margin-bottom:14px}#game .standings-content{overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable;scrollbar-width:thin;flex:1;min-height:0;overflow-y:auto}#game .standings-context{color:var(--muted);text-align:center;flex:none;margin:0 0 12px;font-size:11px;line-height:1.5}#game .rescue-dialog-board .board-footer{flex:none}#game .score-card-preview video{width:100%;height:auto;display:block}#game .score-preview-toggle{width:32px;height:32px;min-height:32px;color:var(--cream);box-shadow:none;cursor:pointer;background:#082633b3;border:1px solid #fff6;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;bottom:8px;right:8px}#game .score-preview-toggle svg{fill:currentColor;width:18px;height:18px}@media (hover:hover) and (pointer:fine){#game .score-preview-toggle{opacity:0;pointer-events:none}#game .score-card-preview:hover .score-preview-toggle,#game .score-preview-toggle:focus-visible{opacity:1;pointer-events:auto}}
#noticeContent{justify-content:center;align-items:center;gap:14px;display:flex}.notice-copy{min-width:0}#game #notice .notice-icon{width:46px;height:46px;color:var(--notice-accent);border:1px solid color-mix(in srgb,var(--notice-accent) 65%,transparent);background:color-mix(in srgb,var(--notice-accent) 12%,#113845);box-shadow:0 0 18px color-mix(in srgb,var(--notice-accent) 25%,transparent),inset 0 1px 0 #fff3;border-radius:50%;flex:none;place-items:center;display:grid}#game #notice .notice-icon.hidden{display:none}#game #noticeIcon svg{width:27px;height:27px;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--notice-accent) 45%,transparent))}#game #notice.powerup-notice{border-color:color-mix(in srgb,var(--notice-accent) 75%,#173a48);background:radial-gradient(ellipse at top left,color-mix(in srgb,var(--notice-accent) 22%,#1a4552),#133b48f5 85%);box-shadow:inset 0 1px 0 #fff3,0 3px 0 #15323db3,0 0 25px color-mix(in srgb,var(--notice-accent) 18%,transparent),0 8px 24px #082e3b30}#game #notice.powerup-notice .notice-copy{text-align:left}#game #notice.powerup-notice #noticeText{color:var(--notice-accent)}#game #notice.notice-swapping{opacity:0;transition:opacity 90ms ease-in,transform 90ms ease-in;transform:translate(-50%,calc(8px - 50%))scale(.94)}.guide-powerups{justify-content:center;align-items:center;gap:15px;margin:0 0 6px;display:flex}.guide-powerups span{color:#153c47;border:3px solid #fff0c6;border-radius:50%;place-items:center;width:53px;height:53px;font-size:34px;font-weight:800;animation:2.1s ease-in-out infinite disc-bob;display:grid;box-shadow:0 5px #0a2d3d,0 8px 18px #071e3544}.guide-powerups span:nth-child(2){animation-delay:-.5s}.guide-powerups span:nth-child(3){font-size:23px;animation-delay:-1s}.guide-powerups span:nth-child(4){animation-delay:-1.5s}.power-tailwind{background:#70e9ef}.power-beacon{background:#91f2b5}.power-secondWind{background:#ffda7b}.power-airlift{background:#c8b1ff}#game .guide-powerup-title{font:600 25px/1.3 var(--ui-font);letter-spacing:-.02em;color:#fff2ce;text-align:center;margin:0}@keyframes disc-bob{0%,to{transform:translateY(3px)rotate(-5deg)}50%{transform:translateY(-5px)rotate(5deg)}}@media (max-width:480px){.guide-powerups{gap:10px}.guide-powerups span{width:48px;height:48px}#game #notice .notice-icon{width:40px;height:40px}#noticeContent{gap:11px}}@media (prefers-reduced-motion:reduce){.guide-powerups span{animation:none}#game #notice{transition:opacity .1s linear}#game #notice.notice-swapping{transform:translate(-50%,-50%)}}
body.touch #game #dashboard .boat-zone{gap:12px;width:100px;transform:scale(.82)}body.touch #game #dashboard .boat-zone .mapbox{align-self:stretch;width:100%}body.touch #game #dashboard .meter-label{letter-spacing:0;gap:3px}body.touch #game #touch .drive-controls{--drive-control-size:clamp(124px, 39vw, 156px)}body.touch #game #touch .drive-controls #steering,body.touch #game #touch .drive-controls .pedals{width:var(--drive-control-size);height:var(--drive-control-size)}body.touch #game #touch .drive-controls #steering{box-shadow:none;background:0 0;border-color:#0000}body.touch #game #touch #joystickSurface{pointer-events:none;background:radial-gradient(circle,#173f4d66 0 55%,#75948c30 56% 58%,#123b4b55 59%);border:1px solid #e0dfb987;border-radius:50%;transition:transform .18s ease-out;position:absolute;inset:-1px;box-shadow:inset 0 3px 8px #0a2c3b36,0 2px #062b3440}@media (prefers-reduced-motion:reduce){body.touch #game #touch #joystickSurface{transition:none}}body.touch #game #touch .drive-controls #boost{width:calc(var(--drive-control-size) - 6px);height:calc(var(--drive-control-size) - 6px);margin:3px}body.touch #game #touch #stick{width:calc(var(--drive-control-size) * .36);height:calc(var(--drive-control-size) * .36);left:calc(50% - var(--drive-control-size) * .18);top:calc(50% - var(--drive-control-size) * .18)}@media (orientation:landscape) and (max-height:600px){body.touch #game #touch .drive-controls{--drive-control-size:clamp(112px, 32vh, 140px)}}#game .social-dialog-actions{margin-top:0}#game .social-dialog-actions .primary{width:100%;margin:0}#game .guide-boost-button{background:linear-gradient(150deg,#f3d797,#d7ad5e);border-radius:50%;width:88px;height:88px;min-height:88px;padding:0;box-shadow:inset 0 2px #fff5cd99,0 4px #896b35}#game .guide-joystick .stick-arrows{color:#e9eedc;width:100%;height:100%;display:block;position:absolute;inset:0}#game .guide-joystick i{top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width:600px),(max-height:550px){#game .rescue-dialog{overflow:hidden}#game .rescue-dialog .social-dialog-paper{flex-direction:column;min-height:0;max-height:calc(100dvh - 34px);display:flex}#game .rescue-dialog .social-dialog-header{flex:none;margin-bottom:14px}#game .social-dialog-body{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;min-height:0;margin:-3px -3px -6px;padding:3px 3px 6px;overflow-y:auto}#game .social-dialog-actions{border-top:1px solid #d9b77935;flex:none;margin-top:14px;padding-top:12px}#game .flag-preview{height:110px;padding:0}#game .flag-preview .rescue-flag{width:148px;height:110px}#game .flag-form .boat-name-select{margin-bottom:0}}#game .loading-audio-retry{text-align:center;max-width:320px;margin:auto;position:absolute;top:calc(50% + 85px);left:24px;right:24px}#game .loading-audio-retry p{color:var(--cream);font:400 13px/1.5 var(--ui-font)}#game .loading-audio-retry button{width:100%;min-width:0;min-height:44px;margin:8px 0 0}body.touch #game .intro-briefing-card{--guide-action-height:48px;grid-template-rows:24px auto var(--guide-action-height);gap:14px;height:auto;padding:18px}body.touch #game .intro-briefing-card>.guide-panel{gap:14px}body.touch #game .intro-briefing-card>.guide-panel.hidden{visibility:hidden;pointer-events:none;display:flex!important}body.touch #game .guide-unload{max-width:210px}body.touch #game .guide-back{min-height:24px}body.touch #game #introNews{bottom:24px}@media (orientation:landscape) and (max-height:550px){body.touch #game .intro-briefing-card{gap:10px;padding:12px 18px}body.touch #game .guide-unload{max-width:145px}body.touch #game #introNews{bottom:16px}}
.browser-backdrop{display:none}@media (pointer:coarse){:is(html:has(#game),body:has(#game)){overscroll-behavior:none;background-color:var(--browser-ocean,#153d48);height:100%;overflow:hidden}body:has(#game){--browser-sky:#aab5b9;--browser-ocean:#395f66}body:has(#game)[data-rescue-tone=night]{--browser-sky:#21345c;--browser-ocean:#075166}:is(html:has(#start.loading-screen:not(.hidden)),body:has(#start.loading-screen:not(.hidden))){--browser-sky:#153d48;--browser-ocean:#153d48;background:#153d48}.browser-backdrop{display:contents}.browser-bleed{z-index:-1;pointer-events:none;background:linear-gradient(var(--browser-sky) 0% 35%, var(--browser-ocean) 70%);width:100%;height:100lvh;position:fixed;top:0;left:0}}.browser-scene-shade{display:none}.browser-safe-probe{width:0;height:0;padding-top:env(safe-area-inset-top);visibility:hidden;pointer-events:none;position:absolute;top:0;left:0}@media (pointer:coarse){html[data-rescue-viewport]{scroll-behavior:auto!important}html[data-rescue-viewport=cover] #game{top:var(--rescue-bleed-top);height:var(--rescue-view-height);bottom:auto}html[data-rescue-viewport=cover] #world,html[data-rescue-viewport=cover] #shade,html[data-rescue-viewport=cover] .browser-scene-shade{top:calc(-1 * var(--rescue-bleed-top));width:100%;position:absolute;bottom:auto;left:0;height:calc(var(--rescue-view-height) + var(--rescue-bleed-top) + var(--rescue-bleed-bottom))!important}html[data-rescue-viewport=cover] .browser-bleed,html[data-rescue-viewport=plain] .browser-bleed{display:none}html[data-rescue-viewport=cover] .browser-scene-shade{pointer-events:none}html[data-rescue-viewport=cover] #game:has(#start.loading-screen:not(.hidden)) .browser-scene-shade{z-index:9;background:#153d48;display:block}html[data-rescue-viewport=cover] #game #introStart,html[data-rescue-viewport=cover] #game #pauseScreen,html[data-rescue-viewport=cover] #game #results,html[data-rescue-viewport=cover] #game #briefingShade{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}html[data-rescue-viewport=cover] #game:has(#introStart:not(.hidden)) .browser-scene-shade{z-index:9;background:linear-gradient(#102d3820,#102d3860 55%,#102d3890);display:block}html[data-rescue-viewport=cover] #game.briefing-active .browser-scene-shade{z-index:1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0a2c3866;display:block}html[data-rescue-viewport=cover] #game:has(#pauseScreen:not(.hidden)) .browser-scene-shade{z-index:9;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0a2c3866;display:block}html[data-rescue-viewport=cover] #game:has(#results:not(.hidden)) .browser-scene-shade{z-index:9;background:#12344050;display:block}html[data-rescue-viewport=cover] #game:has(dialog[open]) .browser-scene-shade{z-index:160;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#092632b8;display:block}html[data-rescue-viewport=cover] #game .rescue-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}}
:where(button,a[href],input,select,textarea,summary,[tabindex]:not(canvas)):focus-visible{outline:3px solid var(--gold,#ffdb69);outline-offset:4px}
