@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');
#startCountdown{position:absolute;inset:0;z-index:9;display:grid;place-items:center;pointer-events:none;background:linear-gradient(180deg,#094a6966,#0e9eb677);backdrop-filter:blur(2px)}.start-shore{position:relative;isolation:isolate;overflow:hidden;width:min(440px,88vw);padding:22px 25px 34px;border:4px solid #f7ffff;border-radius:38px;background:linear-gradient(180deg,#dafcff 0,#a5e9ef 60%,#fff4d4 61%,#f2d69d 100%);text-align:center;color:#154b68;box-shadow:0 16px 0 #07506a50,0 24px 60px #002d4566}.start-shark{display:block;width:190px;max-width:48vw;height:auto;margin:auto}.start-bubbles{position:absolute;top:30px;left:26px;color:#329ebc;font-size:30px}.start-kicker{font-size:14px;letter-spacing:.16em;font-weight:900}.start-number{position:relative;z-index:1;font-size:clamp(100px,20vh,180px);font-weight:900;line-height:1.05;color:#fff;text-shadow:4px 0 #155d7b,-4px 0 #155d7b,0 4px #155d7b,0 -4px #155d7b,0 10px #6eafbd;letter-spacing:-.03em}.start-number.pop{animation:startPop .32s ease-out}.start-caption{position:relative;z-index:1;margin-top:12px;font-weight:800;font-size:16px}.start-wave{position:absolute;left:-12%;right:-12%;height:90px;bottom:52px;background:#55ced599;border-top:7px solid #f0ffff;border-radius:50%;z-index:-1;transform:rotate(-4deg)}#startCountdown.go .start-number{color:#fff296}#app.start-counting .race-progress,#app.start-counting #tideHUD,#app.start-counting #weatherBadge{visibility:hidden}@keyframes startPop{from{transform:scale(1.28);opacity:.5}to{transform:scale(1);opacity:1}}@media(orientation:landscape) and (max-height:600px){.start-shore{width:360px;padding:10px 20px 20px;border-radius:28px}.start-shark{width:125px}.start-number{font-size:100px}.start-caption{margin-top:7px;font-size:14px}}@media(prefers-reduced-motion:reduce){.start-number.pop{animation:none}}
#resetView{position:absolute;right:22px;top:160px;z-index:5;border:1px solid #b8fff0;border-radius:16px;background:#073142de;color:#fff;padding:10px 14px;font-size:14px;touch-action:manipulation}#lightningFlash{position:absolute;inset:0;pointer-events:none;background:#e8faff;opacity:0;z-index:3;transition:opacity .08s}#weatherBadge{font-weight:800}.rain-visible .vignette{background:linear-gradient(#06364b66,transparent 40%,#0b324444)}.storm-visible #weatherBadge{border:2px solid #ffd673;color:#fff4b2;background:#243046}
.battle-active #bigWaveQTE{pointer-events:none}.battle-active #bigWaveQTE .big-wave-rings i{display:none}
@media(orientation:landscape) and (max-height:600px){#resetView{top:145px;right:20px;font-size:12px;padding:8px 10px}}@media(prefers-reduced-motion:reduce){#lightningFlash{display:none}}
#weatherBadge{position:absolute;left:50%;top:125px;transform:translateX(-50%);max-width:calc(100% - 24px);padding:6px 12px;border-radius:12px;background:#092f40e8;color:#fff6be;font-size:14px;text-align:center;pointer-events:none;z-index:3}@media(orientation:landscape) and (max-height:600px){#weatherBadge{top:107px;left:auto;right:18px;transform:none;font-size:12px;max-width:55%}}
:root{--cream:#f5f2dc;--light:#d0ded6;--gold:#eac78e}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#0c282c;font-family:'DM Sans','Noto Sans JP',sans-serif;color:var(--cream)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:6px}[hidden]{display:none!important}#app{height:100%;height:100dvh;width:100%;position:relative;overflow:hidden}#ocean{position:absolute;width:100%;height:100%;display:block;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#12333a55 0,transparent 23%,transparent 65%,#07242f75 100%)}header{position:absolute;top:0;left:0;right:0;z-index:4;display:flex;align-items:center;justify-content:space-between;padding:28px 38px;pointer-events:none}header>*{pointer-events:auto}.brand{font-size:35px;font-weight:500;letter-spacing:-2.5px;line-height:.8;color:inherit;text-decoration:none;display:flex;gap:14px;align-items:center}.brand>span{font-size:8px;font-weight:500;letter-spacing:3px;margin-top:5px;border-left:1px solid #e8ecd04d;padding:10px 0 10px 15px}.session{font-size:9px;letter-spacing:2px;display:flex;align-items:center;gap:8px;color:#edf2dc}.session i{height:5px;width:5px;background:#d1e0b5;border-radius:50%;box-shadow:0 0 10px #d1e0b588}.session>span{color:#d5e2d399;font-size:8px;margin-left:17px}.tools{display:flex;gap:7px;align-items:center}.tools button{border:1px solid #d7e7df33;border-radius:50px;background:#0b39472b;padding:8px 11px;font-size:9px;backdrop-filter:blur(8px)}.tools #pause,.tools #fullscreen{font-size:16px;width:31px;height:31px;padding:0}.hud{position:absolute;left:38px;right:38px;top:123px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.eyebrow{font-size:8px;letter-spacing:2.5px;font-weight:500;color:#e6ecd2b3}.location h1{font-size:25px;line-height:1.6;font-weight:500;letter-spacing:3px;margin:12px 0}.location p{font-size:8px;color:#e3ead3b3;letter-spacing:1px}.location p span{margin:0 8px}.session-stats{display:flex;gap:30px;text-align:right;padding-top:4px}.session-stats small{font-size:8px;letter-spacing:1.7px;color:#e6ecd2b3}.session-stats b{display:block;font-size:31px;font-weight:400;letter-spacing:1px;margin-top:4px}.session-stats b span{font-size:10px;color:#e6ecd2aa}.telemetry{position:absolute;left:38px;bottom:239px;display:flex;gap:22px;align-items:center;pointer-events:none}.speed{display:flex;align-items:baseline;gap:7px}.speed b{font-size:44px;font-weight:400;letter-spacing:-2px;font-variant-numeric:tabular-nums}.speed span{font-size:8px;letter-spacing:1.2px;color:#e6ecd2b3}.wave-meter{border-left:1px solid #e6ecd233;padding-left:20px;min-width:175px}.wave-meter>span{font-size:9px;letter-spacing:.5px}.wave-meter>div{height:2px;width:140px;background:#e6ecd233;margin:9px 0 7px}.wave-meter i{display:block;height:100%;width:30%;background:var(--gold);transition:width .12s}.wave-meter small{font-size:7px;letter-spacing:2px;color:#e6ecd2aa}.controls{position:absolute;left:38px;right:38px;bottom:68px;display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none}.controls>*{pointer-events:auto}.stick{width:122px;height:122px;border:1px solid #eaf3da66;border-radius:50%;position:relative;background:radial-gradient(circle,#c5ddcc12 0,#dcefd80a 65%,#efffd812);backdrop-filter:blur(3px);touch-action:none;user-select:none}.stick:before,.stick:after{content:'';position:absolute;pointer-events:none}.stick:before{left:22px;right:22px;top:50%;border-top:1px solid #e6ecd222}.stick:after{top:22px;bottom:22px;left:50%;border-left:1px solid #e6ecd222}.stick i{position:absolute;width:43px;height:43px;left:calc(50% - 21.5px);top:calc(50% - 21.5px);border:1px solid #edf5db99;background:#d8e8d32e;border-radius:50%;box-shadow:0 3px 15px #07243033}.stick>span{position:absolute;font-size:7px;color:#e6ecd299;pointer-events:none}.top{top:8px;left:50%;transform:translateX(-50%)}.bottom{bottom:8px;left:50%;transform:translateX(-50%)}.left{left:10px;top:50%;transform:translateY(-50%);font-size:16px!important}.right{right:10px;top:50%;transform:translateY(-50%);font-size:16px!important}.control-caption{margin-top:14px;font-size:8px;letter-spacing:2px;color:#e6ecd2d0}.control-caption span{display:block;font-size:8px;font-weight:400;letter-spacing:1px;color:#e6ecd28c;margin-top:6px}.jump-control{text-align:center}.jump-control>button{height:122px;width:122px;position:relative;border:0;border-radius:50%;background:#e8e7cb15;backdrop-filter:blur(3px);touch-action:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.jump-control button svg{position:absolute;inset:0;height:100%;width:100%;transform:rotate(-90deg);pointer-events:none}.jump-control circle{fill:none;stroke:#eaf3da66;stroke-width:.6}.jump-control #chargeRing{stroke:var(--gold);stroke-width:2;stroke-dasharray:283;stroke-dashoffset:283;transition:stroke-dashoffset .05s}.jump-icon{font-size:28px;font-weight:400;line-height:1}.jump-control b{font-size:9px;font-weight:600;letter-spacing:2px}.jump-control small{font-size:7px;color:#e6ecd299}.jump-control button.charging{background:#f1cf8c27}.jump-control button.ready{box-shadow:0 0 35px #f1cf8c33}.center-hint{text-align:center;pointer-events:none;font-size:9px;letter-spacing:1px;color:#e6ecd2c4;margin-bottom:5px}.center-hint span{display:block;font-size:7px;letter-spacing:1.5px;color:#e6ecd280;margin-top:8px}.footer{position:absolute;left:38px;right:38px;bottom:23px;display:flex;align-items:center;gap:20px;font-size:8px;color:#e6ecd288;letter-spacing:.8px}.footer>button{font-size:8px;background:none;border:0;color:#e6ecd2b3}.footer>span:last-child{margin-left:auto;font-size:7px;letter-spacing:1.2px}.footer i{font-style:normal;letter-spacing:0;margin-left:15px;color:#e6ecd266}.toast{position:absolute;left:50%;top:32%;transform:translateX(-50%);text-align:center;font-size:15px;letter-spacing:2px;font-weight:500;text-shadow:0 2px 12px #001f2e99;pointer-events:none;opacity:0;transition:opacity .3s;white-space:nowrap}.toast.show{opacity:1}.buddy-label{position:absolute;left:0;top:0;transform:translate(-50%,-100%);pointer-events:none;font-size:8px;letter-spacing:2px;color:#ffdf9a;white-space:nowrap;text-shadow:0 2px 5px #003540}.buddy-label i{display:inline-block;width:4px;height:4px;background:#f5c575;border-radius:50%;margin:0 6px 1px 0}.buddy-label span{display:block;text-align:center;font-size:6px;color:#f2e8c3b3;letter-spacing:1px;margin-top:4px}.overlay{position:absolute;inset:0;z-index:3;background:linear-gradient(90deg,#0b303bba,#153c4d45 65%,transparent);display:flex;align-items:center;padding:85px 9% 45px}.welcome{max-width:530px}.welcome h2{font-size:45px;line-height:1.65;font-weight:500;letter-spacing:3px;margin:24px 0 21px;text-shadow:0 4px 25px #102e3f22}.welcome h2 em{font-style:normal;color:#f4d7a0}.welcome>p{font-size:11px;line-height:2.2;letter-spacing:1px;color:#e2e8d3c9;margin:0}.primary{margin-top:31px;padding:15px 22px;border:1px solid #e5e8ce55;background:#f3efda;color:#284448;display:flex;gap:70px;align-items:center;justify-content:space-between;border-radius:2px;min-width:270px;font-size:11px;letter-spacing:1px;font-weight:600}.primary:disabled{opacity:.5;cursor:wait}.primary>span:last-child{font-size:23px;line-height:1}.start-note{font-size:8px;color:#e6ecd277;letter-spacing:.6px;margin:12px 0 0}.instruction-row{display:flex;gap:28px;margin-top:32px;border-top:1px solid #e6ecd222;padding-top:20px}.instruction-row>div{display:flex;gap:10px;align-items:flex-start}.instruction-row b{font-size:10px;color:#f4d7a0;font-weight:500}.instruction-row span{font-size:8px;color:#e6ecd2a6;line-height:1.9}.ocean-note{position:absolute;right:5%;bottom:85px;display:flex;flex-direction:column;gap:10px;text-align:right}.ocean-note span{font-size:7px;letter-spacing:2px;color:#e6ecd27d}.ocean-note b{font-size:12px;font-weight:400;letter-spacing:2px;color:#e6ecd2bf}.error{position:absolute;inset:0;background:#102f39;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.error h2{font-size:19px}.error p{font-size:12px;line-height:2;max-width:400px}.error button{border:1px solid #e6ecd255;background:transparent;padding:12px 20px;margin-top:15px}.paused .controls,.paused .telemetry,.paused .hud{opacity:.2}.menu .controls,.menu .telemetry,.menu .hud{opacity:0;pointer-events:none}.menu .controls *{pointer-events:none}.hidden-ui .hud .location{opacity:0;transition:opacity 1s}@media(max-width:800px){header{padding:22px}.brand{font-size:31px}.brand>span{font-size:7px;padding-left:10px;letter-spacing:2px}.session{display:none}.hud{left:22px;right:22px;top:105px}.location h1{font-size:22px}.session-stats{gap:18px}.session-stats small{font-size:7px}.session-stats b{font-size:28px}.telemetry{left:22px;bottom:235px}.controls{left:22px;right:22px}.center-hint{max-width:160px;line-height:1.8;font-size:8px}.center-hint span{font-size:6px}.footer{left:22px;right:22px}.footer i{display:none}.welcome h2{font-size:37px}.ocean-note{display:none}}@media(max-width:520px){header{padding:19px 18px}.brand{font-size:29px;gap:10px}.brand>span{font-size:6px;letter-spacing:1.8px;border-left:0;padding:0;margin:5px 0 0}.tools{gap:5px}.tools button{font-size:8px;padding:7px 9px}.tools #fullscreen{display:none}.hud{left:20px;right:20px;top:94px}.eyebrow{font-size:6px;letter-spacing:1.5px}.location h1{font-size:18px;letter-spacing:2px;margin:10px 0}.location p{font-size:6px;letter-spacing:.2px}.location p span{margin:0 4px}.session-stats{flex-direction:column;gap:17px}.session-stats small{font-size:6px;letter-spacing:1.2px}.session-stats b{font-size:23px;margin-top:2px}.session-stats b span{font-size:8px}.telemetry{left:20px;bottom:232px;gap:14px}.speed b{font-size:36px}.speed span{font-size:7px}.wave-meter{padding-left:14px;min-width:145px}.wave-meter>span{font-size:8px}.wave-meter>div{width:120px}.wave-meter small{font-size:6px}.controls{left:20px;right:20px;bottom:68px}.stick,.jump-control>button{height:108px;width:108px}.stick i{width:39px;height:39px;left:calc(50% - 19.5px);top:calc(50% - 19.5px)}.center-hint{position:absolute;bottom:174px;left:0;right:0;max-width:none;font-size:7px;line-height:1.7;opacity:.8}.center-hint span{display:none}.control-caption{font-size:7px;margin-top:12px;letter-spacing:1.5px}.control-caption span{font-size:7px}.jump-control small{font-size:6px}.jump-control b{font-size:8px}.jump-icon{font-size:26px}.footer{left:20px;right:20px;bottom:22px;gap:7px;font-size:6px;letter-spacing:.2px}.footer>button{font-size:7px;margin-left:5px}.footer>span:last-child{font-size:6px;letter-spacing:.5px}.overlay{padding:87px 9% 60px}.welcome h2{font-size:31px;letter-spacing:2px;line-height:1.7;margin:23px 0 20px}.welcome>p{font-size:9px;line-height:2.2;letter-spacing:.6px}.primary{min-width:245px;width:100%;margin-top:26px;font-size:10px;padding:15px 18px}.start-note{font-size:7px}.instruction-row{gap:15px;margin-top:25px;padding-top:17px}.instruction-row>div{gap:6px}.instruction-row b{font-size:8px}.instruction-row span{font-size:6px;line-height:1.9}.toast{font-size:12px;top:37%;letter-spacing:1px}.buddy-label{font-size:7px}}@media(max-height:600px) and (orientation:landscape){header{padding:15px 22px}.brand{font-size:29px}.hud{top:75px}.location{display:none}.session-stats{margin-left:auto;flex-direction:row;gap:25px}.session-stats b{font-size:23px}.controls{bottom:44px}.stick,.jump-control>button{width:95px;height:95px}.control-caption{display:none}.telemetry{bottom:55px;left:150px}.speed b{font-size:32px}.wave-meter{display:none}.center-hint{max-width:none;font-size:7px;margin-bottom:0}.center-hint span{display:none}.footer{bottom:13px}.overlay{padding:60px 9% 30px}.welcome h2{font-size:26px;line-height:1.5;margin:12px 0}.welcome>p{font-size:8px;line-height:1.8}.welcome>p br:last-of-type{display:none}.primary{margin-top:16px;padding:10px 17px;min-width:230px}.instruction-row{display:none}.start-note{font-size:7px}.ocean-note{display:none}.toast{top:30%;font-size:12px}}

header{top:env(safe-area-inset-top,0px)}.controls{bottom:calc(68px + env(safe-area-inset-bottom,0px))}.footer{bottom:calc(23px + env(safe-area-inset-bottom,0px))}@media(max-width:520px){.center-hint{bottom:150px}}@media(max-height:600px) and (orientation:landscape){.controls{bottom:calc(44px + env(safe-area-inset-bottom,0px))}.footer{bottom:calc(13px + env(safe-area-inset-bottom,0px))}}

@media(max-width:520px){.session-stats{gap:12px}.session-stats small{font-size:5px}.session-stats b{font-size:20px}.footer>span:first-child{max-width:64%;font-size:7px;letter-spacing:0}.footer>span:last-child{display:none}}

.mode-options{display:flex;gap:9px;margin:19px 0 17px}.mode-options button{border:1px solid #e4edcf44;background:#183c4466;border-radius:5px;color:#e6edd7;flex:1;padding:12px 15px;text-align:left;min-width:145px}.mode-options button.selected{background:#f3efd9;color:#244149;border-color:#f3efd9}.mode-options b{display:block;font-size:12px;font-weight:600}.mode-options small{display:block;font-size:8px;margin-top:6px;opacity:.7}.welcome h2{font-size:38px;line-height:1.5;margin:18px 0 13px}.welcome .primary{margin-top:20px}.instruction-row{margin-top:20px;padding-top:15px}.race-progress{position:absolute;top:88px;left:50%;width:300px;transform:translateX(-50%);pointer-events:none}.progress-label{display:flex;justify-content:space-between;font-size:7px;letter-spacing:1.3px;color:#e4ecd1}.progress-label b{font-weight:500}.progress-track{position:relative;height:3px;background:#e7f0db3b;margin:10px 0}.progress-track i{position:absolute;height:7px;width:7px;border-radius:50%;background:#92eed5;top:-2px;left:0;box-shadow:0 0 5px #5ed8c077}.progress-track b{position:absolute;height:5px;width:5px;border-radius:50%;background:#f1c484;left:0;top:-1px}.race-progress>small{font-size:7px;letter-spacing:.5px;color:#e3edceba}.jump-guide{position:absolute;left:50%;top:162px;transform:translateX(-50%);border:1px solid #dde8d348;border-radius:5px;background:#17363fd9;backdrop-filter:blur(5px);padding:12px 22px;min-width:218px;text-align:center;pointer-events:none;color:#eff1db;transition:background .15s,border-color .15s}.jump-guide small{display:block;font-size:7px;letter-spacing:2px;color:#cddbc2}.jump-guide b{display:block;font-size:17px;letter-spacing:1px;margin-top:5px;font-weight:600}.jump-guide>span{display:block;font-size:8px;margin-top:6px;opacity:.8}.jump-guide[data-state="prepare"]{background:#5a4525ed;border-color:#f6cd7e;color:#ffe3a6}.jump-guide[data-state="release"]{background:#153f37ee;border-color:#91f1c6;color:#bcffdf;box-shadow:0 0 25px #78ecbd30}.jump-guide[data-state="air"]{opacity:.65}.menu .jump-guide,.menu .race-progress,.paused .jump-guide{opacity:0}.toast{top:43%;font-size:12px}.session-stats b{font-size:28px}.race-result .welcome h2{color:#f4d7a0}.race-result .mode-options{display:none}.welcome .eyebrow{font-size:7px}.hidden-ui .hud .location{opacity:1}.race-result .controls{pointer-events:none;opacity:.25}.race-result .controls *{pointer-events:none}
@media(max-width:800px){.race-progress{top:79px;width:270px}.jump-guide{top:165px}.welcome h2{font-size:31px}}
@media(max-width:520px){.race-progress{top:77px;width:calc(100% - 40px)}.progress-label{font-size:6px}.progress-track{margin:8px 0}.race-progress>small{font-size:6px}.hud{top:135px}.location h1{font-size:15px}.location .eyebrow{font-size:6px}.location p{font-size:6px;max-width:180px;line-height:1.8}.session-stats{gap:9px}.session-stats b{font-size:19px}.session-stats small{font-size:5px}.jump-guide{top:31%;padding:9px 14px;min-width:200px}.jump-guide b{font-size:14px}.jump-guide>span{font-size:7px}.jump-guide small{font-size:6px}.toast{top:51%;font-size:10px}.welcome h2{font-size:27px;line-height:1.5;margin:14px 0 13px}.mode-options{margin:14px 0;gap:8px}.mode-options button{min-width:0;padding:10px 12px}.mode-options b{font-size:11px}.mode-options small{font-size:7px}.welcome>p{font-size:9px;line-height:1.9}.instruction-row{margin-top:19px;padding-top:13px}.primary{margin-top:20px}.overlay{padding-top:80px;padding-bottom:35px}.center-hint{display:none}}
@media(max-height:600px) and (orientation:landscape){.race-progress{top:66px;width:225px}.jump-guide{top:115px;padding:8px 14px;min-width:170px}.jump-guide b{font-size:12px;margin-top:3px}.jump-guide>span{font-size:6px;margin-top:4px}.jump-guide small{font-size:6px}.hud{top:72px}.session-stats b{font-size:19px}.mode-options{margin:10px 0}.mode-options button{padding:8px 12px}.welcome h2{font-size:23px;line-height:1.45;margin:8px 0}.welcome>p{font-size:8px;line-height:1.7}.welcome .primary{margin-top:12px;padding:10px 16px}.overlay{padding-top:55px}.toast{top:54%;font-size:9px}.race-result .welcome h2{font-size:28px}.location{display:none}}

.menu-back{display:block;background:transparent;border:1px solid #e5e8ce66;padding:10px 16px;font-size:10px;margin-top:10px;border-radius:3px}.race-result .jump-guide{display:none}
.race-result .toast,.race-result .telemetry,.race-result .hud,.race-result .race-progress,.race-result .footer,.race-result .controls{opacity:0;pointer-events:none}
.jump-guide[data-state="air"]{opacity:0}

.menu .toast,.paused .toast{opacity:0}

.hazard-alert{position:absolute;bottom:238px;right:38px;border:1px solid #f1c58a7d;background:#3d2b32da;color:#ffdfb4;padding:10px 15px;font-size:10px;letter-spacing:.6px;border-radius:5px;pointer-events:none;box-shadow:0 4px 15px #0002}.hazard-alert[data-kind="jelly"]{border-color:#d4a2ef;color:#f1d6ff;background:#382b49de}.menu .hazard-alert,.paused .hazard-alert,.race-result .hazard-alert{display:none}@media(max-width:520px){.hazard-alert{right:20px;bottom:310px;font-size:8px;padding:8px 12px;max-width:235px}}@media(max-height:600px) and (orientation:landscape){.hazard-alert{bottom:135px;right:23px;font-size:8px;padding:8px 12px}}

.jump-guide[data-state="cruise"]{opacity:0}.jump-guide[data-state="stun"]{opacity:1;border-color:#f7b1a1;background:#642f2bef;color:#ffe0d5}.stunned .stick,.stunned #jump{opacity:.4}.stunned #jump{cursor:not-allowed}

.overlay{overflow-y:auto}.loadout-panel{width:min(610px,100%);margin:auto 0;padding:15px 0}.loadout-panel h2{font-size:29px;font-weight:500;letter-spacing:1px;margin:10px 0}.loadout-panel h2 em{font-style:normal;color:var(--gold)}.loadout-panel p{font-size:11px;line-height:1.7;margin:9px 0;color:#e1ebde}.gear-slots{display:flex;gap:8px;margin:16px 0}.gear-slot{flex:1;border:1px solid #c9dfd15c;border-radius:6px;padding:12px 6px;background:#183d46;font-size:11px}.gear-slot.selected{border-color:#f2d39b;background:#eee4c9;color:#193b43}.gear-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gear-choices button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #d5ead04a;border-radius:7px;padding:12px;background:#123940eb;min-height:91px}.gear-choices button.equipped{border-color:#88cfbf}.gear-choices button:disabled{opacity:.35;cursor:default}.gear-choices b{font-size:13px;font-weight:500}.gear-choices small{font-size:8px;margin:5px 0;color:#ebcf96}.gear-choices span{font-size:10px;line-height:1.6;color:#d2e1dc}.loadout-panel>small{display:block;font-size:9px;color:#cedbd0;line-height:1.8}.loadout-panel .primary{margin-top:16px;min-width:0;gap:20px}.loadout-panel .menu-back{font-size:9px}.duel-bar{position:absolute;top:125px;left:50%;transform:translateX(-50%);text-align:center;pointer-events:none;background:#103b43ce;border:1px solid #c6ded43b;padding:9px 16px;border-radius:6px;white-space:nowrap}.duel-bar b{display:block;font-size:11px;letter-spacing:.5px}.duel-bar span,.duel-bar small{display:block;font-size:9px;margin-top:6px;color:#cdded6}.duel-bar .on{color:#a3ffdf}.duel-bar small:empty{display:none}.item-bar{position:absolute;bottom:93px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:2}.item-bar button{width:105px;min-height:64px;border:1px solid #bce4d482;border-radius:8px;background:#123d45e8;padding:9px;touch-action:manipulation;position:relative}.item-bar button:disabled{opacity:.5;cursor:default}.item-bar button span{position:absolute;top:5px;left:7px;font-size:7px;opacity:.6}.item-bar b{font-size:11px;font-weight:500;display:block}.item-bar small{font-size:8px;display:block;margin-top:6px;color:#b5ead7}.menu .item-bar,.paused .item-bar,.race-result .item-bar,.menu .duel-bar,.paused .duel-bar,.race-result .duel-bar{display:none}.duel-active .center-hint{display:none}.duel-active .jump-guide{top:223px}
@media(max-width:520px){.loadout-panel{padding:8px 0}.loadout-panel h2{font-size:23px}.loadout-panel p{font-size:10px}.gear-choices button{padding:10px;min-height:91px}.gear-choices b{font-size:12px}.gear-choices span{font-size:9px}.gear-slots{gap:5px;margin:12px 0}.gear-slot{font-size:10px;padding:12px 4px}.loadout-panel .primary{width:100%}.duel-bar{top:121px;padding:8px 13px}.duel-bar b{font-size:10px}.duel-bar span{font-size:8px}.duel-active .location{display:none}.duel-active .telemetry{bottom:303px}.duel-active .hazard-alert{bottom:365px;right:20px}.duel-active .jump-guide{top:33%}.item-bar{bottom:211px;width:calc(100% - 40px);gap:7px}.item-bar button{flex:1;width:auto;min-height:58px;padding:9px 4px}.item-bar b{font-size:10px}.item-bar small{font-size:8px}.duel-active .footer>span:first-child{font-size:6px}}
@media(max-height:600px) and (orientation:landscape){.loadout-panel{width:min(650px,100%);padding:8px 0}.loadout-panel h2{font-size:23px}.overlay:has(.loadout-panel:not([hidden])){align-items:flex-start;padding-top:66px}.gear-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.gear-choices button{min-height:80px;padding:9px}.gear-choices b{font-size:11px}.gear-choices span{font-size:9px}.loadout-panel p{font-size:10px;margin:6px 0}.gear-slots{margin:9px 0}.gear-slot{padding:9px}.loadout-panel .primary{margin-top:10px;padding:12px}.duel-bar{top:102px;padding:7px 10px}.duel-bar b{font-size:9px}.duel-bar span{font-size:8px}.item-bar{bottom:48px;width:320px}.item-bar button{min-height:54px;width:100px}.duel-active .telemetry{display:none}.duel-active .jump-guide{top:175px}.duel-active .hazard-alert{bottom:115px}}

.friend-panel{max-width:530px;width:100%;margin:auto 0;padding:12px 0}.friend-panel h2{font-size:32px;line-height:1.5;font-weight:500;margin:15px 0}.friend-panel h2 em{font-style:normal;color:var(--gold)}.friend-panel p{font-size:11px;line-height:1.8}.friend-panel>small{display:block;font-size:9px;line-height:1.8;color:#c2d7cb;margin-top:13px}.friend-panel label{display:block;font-size:11px;margin:22px 0 10px}.room-join{display:flex;gap:8px}.friend-panel input{min-width:0;max-width:100%;font:inherit;color:#eff8e7;background:#133d45;border:1px solid #b5d6ce80;border-radius:6px;padding:12px}.room-join input{flex:1;text-transform:uppercase;letter-spacing:3px;font-size:18px;width:150px}.room-join button,.invite-actions button{border:1px solid #b9d5c966;background:#17444d;border-radius:6px;padding:12px 16px;font-size:11px}.friend-panel button:disabled{opacity:.5;cursor:wait}.friend-panel .primary{width:100%;min-width:0;gap:12px}.friend-panel #roomStatus{padding:12px;background:#0b323bd9;border-left:2px solid #c8dca8;min-height:42px}.friend-panel #roomCodeDisplay{display:block;font-size:37px;letter-spacing:8px;color:#f4daa3;margin:10px 0 18px}.friend-panel #roomInvite>small{display:block;font-size:10px;margin-top:22px}.friend-panel #inviteLink{font-size:10px;width:100%}.invite-actions{display:flex;gap:8px;margin-top:10px}.invite-actions a{display:flex;align-items:center;justify-content:center;background:#06a948;border:1px solid #06a948;color:white;text-decoration:none;padding:12px 18px;font-size:12px;border-radius:6px}.mode-options{flex-wrap:wrap}.mode-options button{min-width:130px}.friend-panel~.ocean-note{pointer-events:none}
@media(max-width:520px){.friend-panel h2{font-size:27px}.friend-panel p{font-size:10px}.friend-panel #roomCodeDisplay{font-size:32px}.mode-options button{min-width:100px}.mode-options #modeSolo{flex-basis:100%}.friend-panel~.ocean-note{display:none}.friend-panel>small{font-size:8px}.friend-panel .primary{margin-top:15px}}
@media(max-height:600px) and (orientation:landscape){.overlay:has(.friend-panel:not([hidden])){align-items:flex-start;padding-top:65px}.friend-panel{max-width:580px}.friend-panel h2{font-size:24px;margin:8px 0}.friend-panel .primary{padding:12px;margin-top:12px}.friend-panel p{font-size:10px}.friend-panel #roomCodeDisplay{font-size:28px;margin:6px 0 12px}}

.rotate-hint{display:none}.chase-alert{position:absolute;left:50%;top:191px;transform:translateX(-50%);max-width:calc(100% - 36px);padding:9px 14px;border:1px solid #f1b88b;background:#4d2c27e8;color:#ffe4bc;border-radius:6px;font-size:10px;line-height:1.5;text-align:center;pointer-events:none;z-index:2}.chase-alert[data-state="escaped"]{background:#17463fe8;color:#b7f6dc;border-color:#9be2c2}.menu .chase-alert,.paused .chase-alert,.race-result .chase-alert{display:none}.duel-active .jump-guide{top:245px}
@media(orientation:portrait){.rotate-hint:not(.dismissed){position:absolute;left:50%;transform:translateX(-50%);bottom:calc(39px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 32px);width:max-content;display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid #b4dbce70;background:#113b45f2;border-radius:5px;font-size:9px;z-index:5}.rotate-hint button{border:0;background:transparent;padding:3px;font-size:17px}.chase-alert{top:218px;font-size:9px;width:calc(100% - 40px)}.duel-active .jump-guide{top:37%}.menu .rotate-hint{bottom:12px}}
@media(orientation:landscape) and (max-height:600px){header{padding:10px max(20px,env(safe-area-inset-right,0px)) 10px max(20px,env(safe-area-inset-left,0px))}.brand{font-size:27px}.brand>span{font-size:6px}.session{display:none}.tools button{font-size:8px}.hud{top:64px;right:max(20px,env(safe-area-inset-right,0px))}.location{display:none}.session-stats{gap:15px}.session-stats b{font-size:19px}.race-progress{top:52px;width:260px}.race-progress>small{font-size:8px}.progress-label{font-size:7px}.duel-bar{top:95px;padding:7px 12px}.duel-bar b{font-size:10px}.duel-bar span{font-size:8px}.controls{left:max(24px,env(safe-area-inset-left,0px));right:max(24px,env(safe-area-inset-right,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px))}.stick,.jump-control>button{width:108px;height:108px}.stick i{width:39px;height:39px;left:calc(50% - 19.5px);top:calc(50% - 19.5px)}.item-bar{bottom:calc(28px + env(safe-area-inset-bottom,0px));width:310px;gap:7px}.item-bar button{min-height:60px;width:98px}.item-bar b{font-size:11px}.item-bar small{font-size:9px}.duel-active .jump-guide,.jump-guide{top:169px;min-width:180px;padding:7px 12px}.jump-guide b{font-size:12px}.jump-guide>span{font-size:8px}.chase-alert{top:139px;font-size:9px;padding:5px 10px;max-width:340px;width:max-content}.duel-active .telemetry{display:none}.telemetry{left:150px;bottom:35px}.hazard-alert,.duel-active .hazard-alert{bottom:147px;right:24px;max-width:200px;font-size:9px}.center-hint{display:none}.footer{bottom:7px;left:24px;right:24px;font-size:6px}.footer>span:first-child{max-width:55%}.footer>span:last-child{display:none}.toast{top:64%;font-size:11px}.overlay{padding:60px 6% 28px}.overlay:has(.loadout-panel:not([hidden])),.overlay:has(.friend-panel:not([hidden])){padding-top:58px}.loadout-panel,.friend-panel{max-width:640px;margin-left:auto;margin-right:auto}.welcome{max-width:620px}.welcome h2{font-size:24px}.mode-options{flex-wrap:nowrap}.mode-options button,.mode-options #modeSolo{min-width:130px;flex-basis:auto}.instruction-row{display:none}}
@media(orientation:landscape) and (max-height:360px){.race-progress{top:45px}.duel-bar{top:86px}.chase-alert{top:127px}.duel-active .jump-guide,.jump-guide{top:157px}.controls{bottom:22px}.stick,.jump-control>button{width:94px;height:94px}.item-bar{bottom:24px}.item-bar button{min-height:50px}}

@media(min-height:601px) and (orientation:landscape){.chase-alert{top:205px}}
@media(orientation:portrait){.hud .session-stats>div:last-child{display:none}}
@media(orientation:landscape) and (max-height:600px){.duel-bar #effectStatus:not(:empty){position:absolute;left:calc(100% + 8px);top:0;min-width:108px;max-width:140px;margin:0;padding:7px;background:#153d46eb;border:1px solid #cee5d64a;border-radius:5px;font-size:9px}}

.race-progress{width:340px;background:#07151cf5;color:#fff;border:2px solid #ffe15b;border-radius:9px;padding:12px 15px;box-shadow:0 4px 20px #00101888}.goal-row{display:flex;align-items:center;gap:15px}.goal-direction{display:flex;flex-direction:column;align-items:center;min-width:52px;border-right:1px solid #fff5;padding-right:14px}.goal-direction i{font-style:normal;display:block;color:#ffe45c;font-size:38px;font-weight:900;line-height:1;transform-origin:center}.goal-direction small{font-size:8px;color:#fff;white-space:nowrap;margin-top:4px}.progress-label{display:flex;flex-direction:column;gap:5px;letter-spacing:.5px;align-items:flex-start}.progress-label #remaining{font-size:25px;font-weight:800;line-height:1.1;color:#fff;white-space:nowrap}.progress-label #checkpoints{font-size:9px;color:#ffe97e}.progress-track{background:#fff5;height:4px;margin:10px 0 7px}.progress-track i{width:9px;height:9px;top:-2px;box-shadow:0 0 0 2px #07151c}.progress-track b{width:7px;height:7px;top:-1px;box-shadow:0 0 0 2px #07151c}.race-progress>small{font-size:10px;color:#fff;letter-spacing:.1px;line-height:1.4}.duel-bar{top:208px}.chase-alert{top:277px}.duel-active .jump-guide,.jump-guide{top:320px}.location{display:none}
@media(orientation:portrait){.race-progress{top:77px;width:calc(100% - 40px);padding:10px 13px}.goal-direction i{font-size:36px}.progress-label #remaining{font-size:25px}.race-progress>small{font-size:9px}.hud{top:192px}.duel-bar{top:192px;max-width:calc(100% - 105px);padding:8px 10px}.duel-bar b{font-size:9px}.duel-bar span{font-size:8px}.chase-alert{top:260px;max-width:calc(100% - 40px);font-size:9px}.duel-active .jump-guide,.jump-guide{top:310px;max-width:calc(100% - 50px)}.duel-active .telemetry{bottom:303px}}
@media(orientation:landscape) and (max-height:600px){.race-progress{left:max(20px,env(safe-area-inset-left,0px));transform:none;top:56px;width:235px;padding:9px 11px;border-width:2px}.goal-row{gap:9px}.goal-direction{min-width:44px;padding-right:10px}.goal-direction i{font-size:32px}.goal-direction small{font-size:7px}.progress-label #remaining{font-size:23px}.progress-label #checkpoints{font-size:8px}.race-progress>small{font-size:9px}.progress-track{margin:8px 0 6px}.duel-bar{left:auto;right:max(20px,env(safe-area-inset-right,0px));transform:none;top:106px;min-width:185px;max-width:230px;padding:7px 10px}.duel-bar b{font-size:9px}.duel-bar #effectStatus:not(:empty){position:static;margin-top:4px;padding:0;background:none;border:0;font-size:8px;min-width:0}.chase-alert{top:166px;max-width:350px}.duel-active .jump-guide,.jump-guide{top:204px}.telemetry{left:150px;bottom:35px}.hud{top:58px}.session-stats{gap:14px}.session-stats b{font-size:18px}}
@media(orientation:landscape) and (max-height:360px){.race-progress{top:49px;padding:7px 10px}.progress-label #remaining{font-size:21px}.goal-direction i{font-size:29px}.duel-bar{top:97px}.chase-alert{top:151px;font-size:8px}.duel-active .jump-guide,.jump-guide{top:187px}}

.chase-alert{white-space:pre-line}.duel-active .jump-guide,.jump-guide{top:334px}
@media(orientation:portrait){.duel-active .jump-guide,.jump-guide{top:316px}}
@media(orientation:landscape) and (max-height:600px){.duel-active .jump-guide,.jump-guide{top:213px}.chase-alert{font-size:9px;line-height:1.4;padding-top:5px;padding-bottom:5px}}
@media(orientation:landscape) and (max-height:360px){.duel-active .jump-guide,.jump-guide{top:195px}.chase-alert{font-size:8px}}

#app{touch-action:pan-y}#app:not(.menu):not(.paused):not(.race-result){touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#app:not(.menu):not(.paused):not(.race-result) .controls,#app:not(.menu):not(.paused):not(.race-result) .controls *,#app:not(.menu):not(.paused):not(.race-result) .item-bar,#app:not(.menu):not(.paused):not(.race-result) .item-bar button{touch-action:none}.overlay{touch-action:pan-y}@media(pointer:coarse){.friend-panel input,.friend-panel #inviteLink{font-size:16px}}

.item-bar{width:440px}.item-bar button{flex:1;width:auto;min-width:0}.item-bar b{font-size:10px}.hazard-alert[data-kind="vortex"]{background:#073e50ed;border-color:#7df2e5;color:#d4fffa}.gear-slot{min-width:0}
@media(max-width:520px){.item-bar{width:calc(100% - 32px);gap:5px}.item-bar button{padding-left:3px;padding-right:3px}.item-bar b{font-size:9px}.item-bar small{font-size:7px}.gear-slot{font-size:9px;padding-left:3px;padding-right:3px}}
@media(orientation:landscape) and (max-height:600px){.item-bar{width:min(420px,calc(100% - 280px));gap:6px}.item-bar button{width:auto;min-width:0}.item-bar b{font-size:9px}}

.session-stats{margin-left:auto}.item-bar{width:min(440px,calc(100% - 340px))}
@media(orientation:portrait){.item-bar{width:calc(100% - 32px)}}
@media(orientation:landscape) and (max-height:600px){.item-bar{width:min(420px,calc(100% - 280px))}}
@media(orientation:landscape) and (min-height:601px) and (max-width:900px){.hud{top:215px}.session-stats{flex-direction:column;gap:12px}.session-stats b{font-size:22px}.session-stats small{font-size:6px}}


/* Tide duel controls and objective stay readable above the playfield. */
#tideHUD{position:absolute;top:92px;left:50%;transform:translateX(-50%);width:min(530px,calc(100% - 48px));padding:12px 16px;background:#061f2ce8;border:1px solid #9affdf80;border-radius:10px;pointer-events:none;text-align:center;color:#f3fff7;z-index:2;box-sizing:border-box}
#tideHUD b{display:block;font-size:16px;line-height:1.5}#tideHUD span{display:block;font-size:14px;line-height:1.5;margin-top:4px;color:#c9e6e5}.search-track{height:4px;background:#c4fbe829;margin-top:9px;border-radius:5px;overflow:hidden}.search-track i{display:block;height:100%;background:#ffe28b;width:0;transition:width .15s}
#tideControls{position:absolute;right:36px;bottom:calc(235px + env(safe-area-inset-bottom,0px));display:flex;gap:10px;z-index:2;touch-action:none}#tideControls button{min-width:108px;min-height:70px;border:1px solid #8ef7e0;border-radius:14px;background:#07333aee;color:#effff9;padding:10px 12px;touch-action:none;user-select:none;-webkit-user-select:none}#tideControls b{display:block;font-size:16px}#tideControls small{display:block;font-size:12px;margin-top:6px;color:#b7dfd9}#tideControls #waveButton{background:#163c49f5;border:2px solid #ffde8a}#tideControls button:disabled{opacity:.55}
.battle-active .jump-guide,.battle-active .center-hint{display:none}.battle-active .race-progress{top:210px}.battle-active .duel-bar{top:150px}.battle-active .chase-alert{top:auto;bottom:355px}.battle-active .telemetry{bottom:190px}.battle-active .session-stats{display:none}.battle-active .hazard-alert{max-width:calc(100% - 40px)}.diving .hazard-alert,.diving .chase-alert{display:none}.battle-active #itemBar{bottom:120px}.battle-active .item-bar b{font-size:12px}.battle-active .item-bar small{font-size:11px}
.welcome>p,.friend-panel>p{font-size:16px;line-height:1.8}.start-note{font-size:14px}.mode-options button b{font-size:16px}.mode-options button small{font-size:14px}.loadout-panel>p{font-size:15px}.gear-choices button span{font-size:14px;line-height:1.5}.gear-choices button b{font-size:16px}.gear-choices button small{font-size:13px}.gear-slot{font-size:14px}.primary{font-size:16px}.overlay{overflow-y:auto}.welcome{padding-top:15px;padding-bottom:20px}
@media(orientation:portrait){#tideHUD{top:75px;width:calc(100% - 32px);padding:10px 12px}#tideHUD b{font-size:15px}#tideHUD span{font-size:13px}#tideControls{right:18px;bottom:calc(196px + env(safe-area-inset-bottom,0px));gap:8px}#tideControls button{min-width:98px;min-height:68px;padding:8px}.battle-active .race-progress{top:215px}.battle-active .duel-bar{top:178px;left:16px;right:16px;max-width:none;transform:none;min-width:0;padding:6px}.battle-active .duel-bar b{font-size:13px}.battle-active .duel-bar span,.battle-active .duel-bar small{display:none}.battle-active .telemetry{bottom:285px}.battle-active #itemBar{bottom:calc(286px + env(safe-area-inset-bottom,0px));width:calc(100% - 32px)}.battle-active .chase-alert{bottom:370px;top:auto}.battle-active .item-bar button{min-height:48px}.battle-active .footer>span:first-child{display:none}}
@media(orientation:landscape) and (max-height:600px){#tideHUD{top:54px;width:min(420px,calc(100% - 315px));left:auto;right:18px;transform:none;padding:7px 10px}#tideHUD b{font-size:14px}#tideHUD span{font-size:12px;line-height:1.3}.search-track{margin-top:5px}#tideControls{right:22px;bottom:calc(148px + env(safe-area-inset-bottom,0px));gap:8px}#tideControls button{min-width:96px;min-height:58px;padding:7px 10px}#tideControls b{font-size:15px}#tideControls small{font-size:11px;margin-top:3px}.battle-active .race-progress{top:55px;width:220px;padding:8px 10px}.battle-active .duel-bar{left:22px;top:168px;right:auto;min-width:220px;max-width:220px;padding:6px;transform:none}.battle-active .duel-bar b{font-size:12px}.battle-active .duel-bar span,.battle-active .duel-bar small{display:none}.battle-active .chase-alert{top:auto;bottom:130px;left:265px;right:245px;transform:none;max-width:none;font-size:12px;white-space:normal}.battle-active #itemBar{bottom:35px;width:min(360px,calc(100% - 300px))}.battle-active .telemetry{display:none}.battle-active .hazard-alert{display:none}.welcome{max-width:600px}.welcome h2{font-size:24px;line-height:1.3}.welcome>p,.friend-panel>p{font-size:14px}.mode-options button b{font-size:14px}.mode-options button small{font-size:12px}.start-note{font-size:13px}.primary{margin-top:12px}.overlay{align-items:flex-start;padding-top:55px}.battle-active #jump{width:88px;height:88px}.battle-active .controls{bottom:35px}}
@media(max-width:380px){#tideHUD span{font-size:12px}#tideControls button{min-width:88px}.battle-active .race-progress{top:220px}.battle-active #itemBar{bottom:280px}}
#tideRound{display:block;color:#ffe39b;font-size:13px;margin-bottom:5px;line-height:1.3}.battle-active .duel-bar,.battle-active .chase-alert{display:none!important}.battle-active .footer{pointer-events:none}.battle-active .footer button{pointer-events:auto}


/* A friendly surf-club welcome, with the live ocean still visible behind it. */
#overlay{background:linear-gradient(90deg,#093f57b8,#0b5e7048 75%,#0b5e7018);padding:76px clamp(16px,5vw,72px) 28px;align-items:center;gap:28px;box-sizing:border-box}
#welcomePanel{position:relative;box-sizing:border-box;width:min(620px,100%);max-width:620px;padding:30px 32px 25px;border:2px solid #fff;border-radius:30px;background:#f0fcfd;color:#134557;box-shadow:0 18px 60px #002d4366;overflow:hidden;flex-shrink:0;isolation:isolate}
#welcomePanel:after{content:"";position:absolute;left:-30px;right:-30px;bottom:-31px;height:44px;border-radius:50% 50% 0 0;background:#bceff1;z-index:-1}.menu-art{width:45%;height:auto;position:absolute;right:15px;top:15px;pointer-events:none}.welcome .eyebrow{font-size:12px;font-weight:800;letter-spacing:1.1px;color:#177c8c;margin-right:40%;line-height:1.7}.welcome #welcomeTitle{font-size:clamp(28px,3.2vw,40px);font-weight:850;line-height:1.35;letter-spacing:.5px;color:#134557;margin:20px 39% 26px 0;text-shadow:none}.welcome #welcomeTitle em{color:#0b91a6;font-style:normal}.welcome #welcomeText{font-size:16px;line-height:1.8;letter-spacing:0;color:#315d6d;margin:18px 0 0}.welcome .mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.welcome .mode-options button,.welcome .mode-options #modeSolo{position:relative;min-width:0;min-height:138px;padding:15px 12px 13px;border:2px solid #b8dfe4;border-radius:19px;background:#fff;color:#225b6e;text-align:left;flex-basis:auto;transition:background .15s,border-color .15s,transform .15s;touch-action:manipulation}.mode-icon{display:block;width:38px;height:38px;margin-bottom:10px;color:#1a9cac}.welcome .mode-options button.selected{border-color:#078ca0;background:#d9f7f6;box-shadow:0 4px 0 #a0dfe0;color:#124c5f}.welcome .mode-options button:hover{border-color:#098da3;transform:translateY(-2px)}.welcome .mode-options button b{font-size:16px;font-weight:800;line-height:1.5;white-space:normal}.welcome .mode-options button small{font-size:13px;line-height:1.5;margin-top:3px;opacity:1;color:#447583}.welcome .primary{justify-content:center;gap:0;margin-top:20px;min-height:54px;width:100%;min-width:0;padding:14px 20px;border:2px solid #087f92;border-radius:18px;background:#0d9fb0;color:white;font-size:17px;font-weight:800;letter-spacing:.5px;box-shadow:0 5px 0 #087082}.welcome .primary>span:last-child{font-size:17px;line-height:1.5}.welcome .primary:hover{background:#078a9e}.welcome .primary:active{transform:translateY(3px);box-shadow:0 2px 0 #087082}.welcome .primary:disabled{opacity:.55}.welcome .start-note{font-size:14px;color:#477382;line-height:1.6;text-align:center;margin-top:13px;letter-spacing:0}.welcome .instruction-row{display:none}.welcome .menu-back{border:1px solid #9fcfd8;border-radius:12px;padding:10px 16px;font-size:14px;color:#225b6e;background:white;margin-top:14px}.welcome button:focus-visible{outline:3px solid #ed805e;outline-offset:4px}.welcome .mode-options #modeFriend .mode-icon{color:#df805e}.welcome .mode-options #modeSolo .mode-icon{color:#6487b8}
.race-result #welcomePanel .menu-art,.paused #welcomePanel .menu-art{display:none}.race-result .welcome #welcomeTitle,.paused .welcome #welcomeTitle{margin-right:0}.race-result .welcome .eyebrow,.paused .welcome .eyebrow{margin-right:0}.ocean-note b{color:#fff;font-size:20px}.ocean-note span{font-size:13px}
#friendPanel,#loadoutPanel{box-sizing:border-box;padding:26px 28px;border-radius:26px;border:2px solid #fff;background:#edf9fcf5;color:#184d60;box-shadow:0 18px 55px #002d4355;max-width:760px;width:100%}#friendPanel h2,#loadoutPanel h2{color:#184d60}#friendPanel h2 em,#loadoutPanel h2 em{color:#0a91a5}#friendPanel p,#loadoutPanel p,#friendPanel small,#loadoutPanel small{color:#456b7c}#friendPanel label{color:#245a6a}#friendPanel input{background:white;color:#174c5d;border:2px solid #acd8df;border-radius:12px}#friendPanel button,#friendPanel a,#loadoutPanel .primary,#loadoutPanel .menu-back{border-radius:14px}#friendPanel .primary,#loadoutPanel .primary{background:#0d9fb0;color:white;border:1px solid #087b8f;font-size:16px}.gear-choices button{background:#fff;color:#245c6d;border:1px solid #b0d8df;border-radius:15px}.gear-choices button.equipped{background:#d1f4ef;color:#124d58;border-color:#0f9da7}.gear-choices button span,.gear-choices button small{color:#496f7c}.gear-slot{border-radius:12px;background:white;color:#245b6c;border-color:#b3d8df}.gear-slot.selected{background:#d5f4f0;color:#164d58;border-color:#0f98a5}#roomCodeDisplay{color:#087f96}#friendPanel .menu-back,#loadoutPanel .menu-back{color:#286275;border:1px solid #9bcbd7;background:white}
@media(max-width:600px){#overlay{align-items:flex-start;padding:72px 12px 25px}#welcomePanel{padding:24px 20px 22px;border-radius:25px}.menu-art{width:44%;right:6px;top:20px}.welcome .eyebrow{font-size:11px;margin-right:38%}.welcome #welcomeTitle{font-size:28px;margin:18px 38% 25px 0;line-height:1.4}.welcome .mode-options{grid-template-columns:1fr;gap:9px}.welcome .mode-options button,.welcome .mode-options #modeSolo{min-height:76px;padding:13px 12px 12px 65px;border-radius:17px}.mode-icon{position:absolute;left:14px;top:17px;width:35px;height:35px;margin:0}.welcome .mode-options button b{font-size:16px}.welcome .mode-options button small{font-size:14px;margin-top:2px}.welcome #welcomeText{font-size:15px;line-height:1.7;margin-top:18px}.welcome .start-note{font-size:13px}.welcome .primary{margin-top:17px;min-height:53px}#friendPanel,#loadoutPanel{padding:23px 18px;border-radius:24px}.ocean-note{display:none}}
@media(orientation:landscape) and (max-height:650px){#overlay{align-items:flex-start;padding-top:58px;padding-bottom:24px}#welcomePanel{width:min(690px,calc(100vw - 32px));max-width:690px;padding:22px 25px}.menu-art{width:210px;right:24px;top:1px}.welcome #welcomeTitle{font-size:28px;line-height:1.25;margin-top:10px;margin-bottom:19px}.welcome .eyebrow{font-size:11px}.welcome .mode-options{grid-template-columns:repeat(3,minmax(0,1fr))}.welcome .mode-options button,.welcome .mode-options #modeSolo{min-height:82px;padding:12px 10px 12px 54px}.mode-icon{position:absolute;width:31px;height:31px;left:12px;top:18px}.welcome .mode-options button b{font-size:15px}.welcome .mode-options button small{font-size:12px}.welcome #welcomeText{font-size:15px;margin-top:16px}.welcome .primary{margin-top:15px}.ocean-note{display:none}}
@media(prefers-reduced-motion:reduce){.welcome .mode-options button{transition:none}.welcome .mode-options button:hover{transform:none}}

.menu-sharing{margin-top:17px;text-align:center}.menu-sharing a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:14px;background:#06a948;color:white;font-size:15px;font-weight:700;text-decoration:none}.menu-sharing p{font-size:14px;color:#315d6d;line-height:1.6;text-align:left}.menu-sharing p:empty{display:none}.invite-actions{display:flex;flex-wrap:wrap;gap:9px}.invite-actions a,.invite-actions button{min-height:46px;font-size:15px;padding:12px 16px;flex:1 1 145px}.invite-actions button{background:#e1f4f4;color:#205766;border:1px solid #9fcfd5}#friendPanel #shareStatus{font-size:14px;line-height:1.7;color:#245a6b;background:#dff4f1;border-radius:12px;padding:11px 13px;margin-top:12px}#friendPanel #inviteLink{font-size:16px;line-height:1.5;user-select:text;-webkit-user-select:text}.menu-sharing a:focus-visible,.invite-actions a:focus-visible,.invite-actions button:focus-visible{outline:3px solid #ef9472;outline-offset:3px}.race-result .menu-sharing,.paused .menu-sharing{display:none}
#tideHUD{top:66px;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:6px 12px;border-radius:12px;box-shadow:0 2px 8px #001c2833}#tideHUD b{font-size:14px;line-height:1.4;font-weight:650}#tideHUD #tideDetail{display:none}#tideRound{font-size:12px;line-height:1.25;margin-bottom:2px}@media(orientation:portrait){#tideHUD{top:72px;width:max-content;max-width:calc(100% - 24px);padding:6px 11px}#tideHUD b{font-size:14px}}@media(orientation:landscape) and (max-height:600px){#tideHUD{top:54px;right:18px;left:auto;transform:none;width:max-content;max-width:min(330px,calc(100% - 275px));padding:6px 10px}#tideHUD b{font-size:14px}}

#tideHUD.wave-boosting{border-color:#7fffe0;background:#124c50;color:#e5fff5}#tideHUD.wave-ready{border-color:#fff1a7;background:#17464d}#itemBar,#loadoutPanel{display:none!important}

#bigWaveQTE{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);z-index:5;pointer-events:none;text-align:center;color:#fff;text-shadow:0 2px 7px #002b3f;width:min(90vw,430px);filter:drop-shadow(0 5px 16px #00273599)}
.big-wave-kicker{font-size:14px;letter-spacing:.28em;font-weight:900;margin-bottom:35px;color:#fff2a0}
.big-wave-rings{position:relative;width:130px;height:130px;margin:auto auto 38px}
.big-wave-rings b,.big-wave-rings i{position:absolute;inset:0;border-radius:50%;border:5px solid #a9f7ff;box-sizing:border-box}
.big-wave-rings b{background:conic-gradient(#9affc1 var(--wave-progress,0deg),#0b597d70 0);box-shadow:0 0 0 15px #a9f7ff22,0 0 0 1px #a9f7ff55 inset}
.big-wave-rings b:after{content:'';position:absolute;inset:9px;border-radius:50%;background:#073c5dd9}
.big-wave-rings i{transform:scale(var(--ring-scale,2.1));border-color:#fff17c;box-shadow:0 0 18px #ffe55e}
.big-wave-rings span{position:absolute;inset:0;display:grid;place-items:center;font-size:18px;font-weight:900;letter-spacing:.1em}
#bigWaveQTE strong{display:block;font-size:20px}#bigWaveQTE small{display:block;margin-top:10px;font-size:25px;letter-spacing:5px;color:#fff17c}#bigWaveQTE p{font-size:14px;margin:9px 0 0;line-height:1.5}
#bigWaveQTE.ready .big-wave-rings i,#bigWaveQTE.hit .big-wave-rings i{border-color:#93ffbd;box-shadow:0 0 28px #62ffad}
#bigWaveQTE.ready .big-wave-rings span{color:#aaffcd}#bigWaveQTE.clear .big-wave-rings{filter:drop-shadow(0 0 20px #5bffb5)}#bigWaveQTE.clear .big-wave-rings i{transform:scale(1);border-color:#93ffbd}
#bigWaveQTE.clear strong{color:#aaffcd}#bigWaveQTE.fail strong,#bigWaveQTE.miss strong{color:#ffd0a5}#bigWaveQTE.fail .big-wave-rings i{border-color:#ff987d;transform:scale(1)}#bigWaveQTE.fail .big-wave-rings b{border-color:#ff987d}
@media(max-width:600px){#bigWaveQTE{top:44%}.big-wave-rings{width:106px;height:106px;margin-bottom:27px}.big-wave-kicker{margin-bottom:26px}#bigWaveQTE strong{font-size:17px}#bigWaveQTE p{font-size:14px}}
@media(orientation:landscape) and (max-height:500px){#bigWaveQTE{top:45%}.big-wave-kicker{margin-bottom:14px}.big-wave-rings{width:80px;height:80px;margin-bottom:15px}#bigWaveQTE strong{font-size:16px}#bigWaveQTE small{font-size:20px;margin-top:4px}#bigWaveQTE p{margin-top:4px}}

.friend-presence{position:absolute;right:18px;top:90px;z-index:4;width:188px;padding:11px 13px;border:1px solid #90e9df;border-radius:13px;background:#082e3deb;color:#e9fffa;pointer-events:none;box-shadow:0 3px 15px #001e3255}.friend-presence>div{display:flex;align-items:center;gap:10px}.friend-presence i{display:block;font-style:normal;font-size:29px;color:#98f6d7}.friend-presence b{font-size:11px;letter-spacing:1px}.friend-presence small{display:block;font-size:10px;letter-spacing:0;margin-top:4px}.friend-presence>span{display:block;font-size:10px;margin-top:8px;color:#bde4de}.friend-presence strong{display:block;font-size:11px;margin-top:7px;color:#ffe5a5}.friend-presence strong:empty{display:none}.menu .friend-presence,.paused .friend-presence,.race-result .friend-presence{display:none}@media(max-width:700px){.friend-presence{top:65px;right:10px;width:161px;padding:8px 10px}.friend-presence i{font-size:24px}}

#knob{pointer-events:none}

.chase-alert[data-state="ready"]{background:#ffdd74;color:#242016;border-color:#fff2b6}.chase-alert[data-state="escaped"]{background:#123c33;color:#bcffdf;border-color:#9ef6cd}

.hazard-alert[data-kind="landing"]{background:#342507f5;border:2px solid #ffd473;color:#fff4ce;font-size:clamp(12px,1.5vw,16px);font-weight:800;z-index:5;max-width:calc(100% - 40px)}

.map-picker{position:relative;display:flex;align-items:center;gap:12px;margin:12px 0 0;font-size:14px;font-weight:800;color:#225b6e}.map-picker select{flex:1;min-width:0;padding:9px 12px;color:#174c5d;background:#fff;border:1px solid #84bdc9;border-radius:10px;font:inherit}.paused .map-picker,.race-result .map-picker,#roomMap:empty{display:none}

.buddy-label{z-index:5;transform:translate(-50%,-50%);display:flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid #ffdc8e;border-radius:7px;background:#102b38ea;color:#ffe4a3;font-size:11px;letter-spacing:0;text-shadow:none;box-shadow:0 2px 8px #041b27a8}
.buddy-label[data-friend="true"]{border-color:#91efdd;color:#c0fff0}
.buddy-label b,.buddy-label small{white-space:nowrap}
.buddy-label small{font-size:10px;opacity:.9}
.buddy-label #buddyTagArrow{display:none;color:inherit;font-size:14px;line-height:1;margin:0;letter-spacing:0}
.buddy-label[data-edge="true"] #buddyTagArrow{display:block}
.buddy-label[data-edge="false"]::after{content:"";position:absolute;bottom:-5px;left:calc(50% - 4px);width:8px;height:8px;background:inherit;border:inherit;border-left:0;border-top:0;transform:rotate(45deg)}
