:root{font-family:Arial,"Noto Sans Hebrew",sans-serif;color:#edf4ee;font-synthesis:none;--line:rgba(217,241,235,.19);--lime:#c8ee9b;--muted:#b2c7c7;--navy:#071c26}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#0d3546}body{touch-action:manipulation}#sea{touch-action:none}.panel{touch-action:pan-y}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid var(--lime);outline-offset:4px}button:disabled{cursor:default;opacity:.5}#sea{position:fixed;inset:0;width:100%;height:100%;display:block}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(2,18,26,.43),transparent 24%,transparent 65%,rgba(2,18,26,.73))}header{position:fixed;top:0;right:0;left:0;display:flex;align-items:center;justify-content:space-between;direction:ltr;padding:27px 34px;pointer-events:none}.brand{display:flex;align-items:center;gap:12px;letter-spacing:3px;font-size:15px}.brand b{font-weight:800}.brand small{display:block;font-size:7px;letter-spacing:2.3px;margin-top:6px;color:#c3d5d3}.brandmark{font-size:41px;font-weight:bold;line-height:30px;color:var(--lime)}.top-actions{display:flex;gap:8px;pointer-events:auto}.icon-button{width:39px;height:39px;border:1px solid var(--line);border-radius:50%;background:rgba(5,28,37,.62);font-size:20px}.icon-button:hover{background:#254752}.hud{position:fixed;top:112px;left:35px;right:35px;display:flex;justify-content:space-between;direction:ltr;pointer-events:none}.mission{width:242px;direction:rtl;text-align:right}.eyebrow{font-size:10px;letter-spacing:2.4px;color:var(--lime);direction:ltr}.mission h1{font-size:29px;font-weight:500;letter-spacing:-.6px;margin:10px 0}.mission-detail{font-size:11px;color:#c4d9d7;display:flex;align-items:center;gap:6px}.dot{display:inline-block;background:var(--lime);border-radius:50%;width:5px;height:5px}.progress-track{margin-top:18px;background:rgba(228,245,232,.15);height:2px;direction:ltr}.progress-track i{display:block;height:2px;width:0;background:var(--lime);transition:width .4s}.mission-stats{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:8px}.mission-stats span:first-child,.mission-stats span:last-child{font-family:monospace;direction:ltr;color:#e6f3ef}.radar-wrap{width:124px;background:rgba(3,24,32,.69);border:1px solid var(--line);padding:10px;border-radius:4px;direction:rtl;backdrop-filter:blur(14px)}.radar-label{display:flex;justify-content:space-between;font-size:9px;color:#c1d0cd;margin-bottom:5px}.radar-label span:last-child{color:var(--lime)}#radar{width:102px;height:153px;display:block}.radar-key{font-size:8px;color:#acc2bf;display:flex;gap:5px;justify-content:center;align-items:center;margin-top:4px}.radar-key i{width:4px;height:4px;background:var(--lime)}.controls{position:fixed;bottom:max(26px,env(safe-area-inset-bottom));left:35px;right:35px;display:flex;align-items:center;gap:17px;direction:ltr}.helm{display:grid;grid-template-columns:42px 42px 42px;grid-template-rows:38px 38px 38px;gap:3px;flex:none}.helm button{background:rgba(7,30,40,.8);border:1px solid var(--line);border-radius:7px;font-size:24px;box-shadow:0 2px 10px #00121a30}.helm button:hover{background:#35515b}.helm button:active{background:#618374}.north{grid-column:2;grid-row:1}.west{grid-column:1;grid-row:2}.east{grid-column:3;grid-row:2}.south{grid-column:2;grid-row:3}.helm-center{grid-column:2;grid-row:2;display:grid;place-items:center;font-size:24px;color:var(--lime)}.controls-hint{font-size:11px;color:#d0ded7;line-height:1.8;direction:rtl}.controls-hint span{font:9px monospace;color:#8ca6ac}.sonar{margin-left:auto;display:flex;align-items:center;gap:15px;text-align:right;direction:rtl;padding:17px 22px;min-width:272px;border:1px solid #d4edb45e;border-radius:11px;color:var(--lime);background:rgba(11,38,40,.9);box-shadow:0 8px 30px #041a24aa;position:relative;overflow:hidden}.sonar:before{content:"";position:absolute;inset:auto 0 0;height:2px;background:var(--lime);width:var(--charge,100%);transition:width .1s}.sonar strong{font-size:17px;font-weight:600}.sonar small{display:block;font-size:10px;margin-top:4px;color:#b7d3bf}.sonar-symbol{font-size:37px;line-height:1}.sonar kbd{margin-right:auto;background:rgba(204,236,188,.1);padding:5px 7px;border:1px solid #c8ee9b33;border-radius:4px;font-size:9px;letter-spacing:1px}.sonar:hover{background:rgba(37,65,49,.98)}.reading{position:fixed;left:50%;bottom:50px;transform:translateX(-50%);background:rgba(5,28,37,.7);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:12px;padding:12px 16px;backdrop-filter:blur(12px);min-width:215px;direction:rtl}.reading small{display:block;font-size:9px;color:#afc8c5;margin-bottom:4px}.reading strong{font-size:12px;font-weight:400}.read-icon{font-size:25px;color:var(--lime)}.read-cell{direction:ltr;font:11px monospace;color:var(--muted);margin-right:8px;border-right:1px solid var(--line);padding-right:12px}.toast{position:fixed;top:42%;left:50%;transform:translate(-50%,-50%);border:1px solid #e6f2df33;padding:10px 18px;font-size:12px;color:#edf6e7;border-radius:30px;background:#09222fe8;opacity:0;transition:opacity .22s;pointer-events:none;text-align:center;max-width:80vw}.toast.show{opacity:1}.overlay{position:fixed;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;background:rgba(2,17,25,.34);backdrop-filter:blur(5px);padding:20px}.panel{width:420px;border:1px solid rgba(215,235,222,.21);border-radius:16px;background:linear-gradient(145deg,#0d2e39f2,#071c28f5);box-shadow:0 25px 120px #00101780;padding:34px 35px}.route-tag{font-size:9px;letter-spacing:1.2px;color:#b2c8c2;display:flex;align-items:center;gap:8px}.route-tag span{height:5px;width:5px;background:var(--lime);border-radius:50%}.intro-kicker{color:var(--lime);font-size:13px;margin:28px 0 9px}.panel h2{font-size:38px;font-weight:400;line-height:1.2;letter-spacing:-1px;margin:0}.intro-copy{font-size:13px;line-height:1.8;color:#b7cac9;margin:16px 0 22px}.steps{border-top:1px solid var(--line);padding-top:20px;margin-bottom:24px;display:grid;gap:15px}.steps>div{display:flex;gap:13px;align-items:start}.steps b{font-family:monospace;font-weight:400;font-size:10px;color:#83a0a5;padding-top:2px}.steps span{font-size:11px;color:#b0c8c6;line-height:1.7}.steps strong{font-weight:500;color:#e2efe6;margin-left:6px}.primary{border:0;border-radius:6px;background:var(--lime);color:#19332e;width:100%;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600}.primary:hover{background:#deffb7}.primary span{font-size:22px;line-height:12px}.intro-footer{margin-top:14px;text-align:center;color:#829da1;font-size:9px}.hidden{display:none!important}.result{text-align:center}.result-symbol{font-size:42px;color:var(--lime);margin-bottom:20px}.result h2{margin-top:15px}.result p{font-size:13px;line-height:1.8;color:#b3c9c8}.result-stats{display:flex;justify-content:center;gap:40px;border-block:1px solid var(--line);margin:24px 0;padding:18px 0}.result-stats strong{display:block;font:25px monospace;color:#dcefcf}.result-stats small{font-size:10px;color:#9cb6b7;display:block;margin-top:6px}.result .result-footer{font-size:10px;margin-top:16px;margin-bottom:0}.paused #controls{pointer-events:none;opacity:.6}
@media(min-width:1700px){.reading{bottom:62px}}@media(max-width:1050px){.reading{bottom:174px}.controls-hint{display:none}}@media(max-width:600px){header{padding:20px 18px}.brand{font-size:11px;letter-spacing:2px;gap:7px}.brand small{font-size:6px;letter-spacing:1.3px}.brandmark{font-size:31px}.icon-button{width:32px;height:32px;font-size:17px}.top-actions{gap:5px}.hud{top:91px;left:18px;right:18px}.mission{width:172px}.mission h1{font-size:23px;margin:9px 0}.eyebrow{font-size:8px;letter-spacing:1.7px}.mission-detail{font-size:9px;max-width:165px;line-height:1.5}.progress-track{margin-top:13px}.mission-stats{font-size:8px}.radar-wrap{width:79px;padding:7px}.radar-label{font-size:7px}#radar{width:63px;height:95px}.radar-key{font-size:6px}.controls{left:18px;right:18px;bottom:max(18px,env(safe-area-inset-bottom));gap:12px}.helm{grid-template-columns:44px 44px 44px;grid-template-rows:44px 44px 44px;gap:3px}.helm button{font-size:23px}.sonar{min-width:0;padding:15px 13px;gap:10px;border-radius:9px;flex:1;justify-content:center}.sonar strong{font-size:17px}.sonar small{font-size:8px;max-width:90px;line-height:1.5}.sonar-symbol{font-size:31px}.sonar kbd{display:none}.reading{bottom:173px;padding:9px 12px;min-width:200px;gap:9px}.reading strong{font-size:11px}.reading small{font-size:8px}.read-icon{font-size:20px}.read-cell{font-size:10px}.panel{padding:27px 26px;width:360px;max-height:calc(100dvh - 30px);overflow:auto}.panel h2{font-size:34px}.intro-kicker{margin-top:23px}.intro-copy{font-size:12px;margin:14px 0 18px}.steps{gap:12px;padding-top:16px;margin-bottom:21px}.steps span{font-size:10px}.intro-footer{font-size:8px}.toast{top:43%;font-size:11px;padding:9px 14px;min-width:200px}}
@media(max-height:620px) and (min-width:601px){.panel{padding:22px 30px;width:510px}.panel h2{font-size:29px}.intro-kicker{margin-top:13px}.intro-copy{margin:10px 0}.steps{gap:8px;padding-top:12px;margin-bottom:14px}.radar-wrap{display:none}.hud{top:87px}.reading{bottom:35px}.controls{bottom:15px}.helm{grid-template-rows:30px 30px 30px}.mission h1{font-size:23px}}
/* Continuous-navigation revision. */
.hud{top:107px}.mission{width:235px}.radar-wrap{width:88px;padding:8px}#radar{width:70px;height:110px}.radar-label{font-size:7px}.radar-key{font-size:7px}.controls{align-items:flex-end}.controls-hint{padding-bottom:34px}.telegraph{margin-left:auto;display:flex;align-items:center;gap:23px;direction:ltr;border:1px solid var(--line);background:#071f2cbd;backdrop-filter:blur(15px);padding:17px 21px;border-radius:10px}.speed{text-align:center}.speed strong{font:32px monospace;font-weight:300;display:block}.speed span{display:block;font-size:7px;color:#adc5c6;letter-spacing:3px;margin-top:4px}.compass{border-left:1px solid var(--line);padding-left:19px}.compass small{font-size:7px;letter-spacing:1.3px;display:block;color:#97b3b8}.compass strong{font:16px monospace;display:block;margin-top:7px}.camera-toggle{font-size:10px;border:1px solid var(--line);border-radius:5px;padding:10px 12px;background:#ffffff08;direction:rtl}.reading{bottom:53px;min-width:252px}.exposure-bar{width:45px;height:4px;border-radius:4px;background:#ffffff20;overflow:hidden}.exposure-bar i{display:block;height:100%;background:#ee9b75;width:0;transition:width .05s}.reading.detected{border-color:#f4a17a88;background:#4a2727d9}.reading.detected .read-icon{color:#ffac85}.joystick{display:none;position:relative;width:132px;height:132px;border:1px solid #ffffff24;background:#071d2990;border-radius:50%;touch-action:none;user-select:none}.joystick-label{position:absolute;bottom:-18px;width:100%;text-align:center;color:#bfd1ca;font-size:9px}.joystick-ring{position:absolute;inset:23px;border:1px solid #ffffff21;border-radius:50%}.stick{width:49px;height:49px;border-radius:50%;position:absolute;top:41px;left:41px;border:1px solid #c8ee9b61;background:#48695db3;display:grid;place-items:center;color:#d9f4b6;font-size:25px;pointer-events:none;box-shadow:0 3px 15px #001d2b80}.helm button{touch-action:none;user-select:none}.helm button.held{background:#6a8c6d;color:#fff}.joystick:before{content:'↑';position:absolute;top:5px;left:59px;color:#d7e9cf;font-size:17px}.intro-copy{max-width:330px}.intro-kicker{color:#cbdcbe}.result-symbol{line-height:1}.mission-stats{gap:6px}.radar-wrap{align-self:flex-start}.vignette{background:linear-gradient(180deg,rgba(2,18,26,.38),transparent 22%,transparent 72%,rgba(2,18,26,.64))}
@media(max-width:1100px){.reading{bottom:183px}.controls-hint{display:none}}
@media(max-width:600px){.hud{top:86px}.mission{width:168px}.mission h1{font-size:24px}.radar-wrap{width:71px;padding:6px}#radar{width:57px;height:90px}.radar-label{font-size:6px}.radar-key{font-size:6px}.helm{display:none}.joystick{display:block;order:0;margin-bottom:16px}.controls{bottom:max(18px,env(safe-area-inset-bottom));align-items:flex-end}.telegraph{padding:12px 14px;gap:12px;flex-wrap:wrap;max-width:148px;justify-content:center;margin-bottom:16px}.speed strong{font-size:25px}.speed span{font-size:6px;letter-spacing:1.6px}.compass{padding-left:12px}.compass small{font-size:6px}.compass strong{font-size:13px}.camera-toggle{padding:7px 8px;width:100%;font-size:9px}.reading{bottom:190px;min-width:238px;padding:10px 13px}.exposure-bar{width:36px}.controls-hint{display:none}.toast{top:52%}.panel h2{font-size:34px}}
@media(max-height:620px) and (min-width:601px){.reading{bottom:35px}.telegraph{padding:12px}.controls-hint{display:none}}
.hull-status{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:9px;color:#b9cec8}.hull-status strong{color:#c8ee9b;letter-spacing:4px;font-size:13px;direction:ltr}.mission-detail{line-height:1.6;font-size:10px}.captain-bubble{position:fixed;top:32%;right:50%;transform:translateX(50%);padding:10px 18px;border-radius:18px;background:#102b35de;color:#f3dfac;font-size:12px;max-width:75vw;z-index:3}.credits-link{position:fixed;bottom:5px;left:50%;transform:translateX(-50%);font-size:7px;color:#a2bbb5;text-decoration:none;z-index:1}.intro-footer{line-height:1.5}.mission h1{margin-bottom:5px}.mission .eyebrow{font-size:8px;letter-spacing:1.4px}@media(max-width:600px){.hull-status{font-size:8px;margin-top:7px}.hull-status strong{font-size:11px}.mission-detail{font-size:8px;max-width:165px}.mission .eyebrow{font-size:6px;letter-spacing:.8px}.mission h1{font-size:23px;margin-top:8px}.progress-track{margin-top:10px}.credits-link{font-size:6px}}
/* Corner HUD: keep the ship, sailing view and map clear. */
.reading{left:35px;right:auto;top:264px;bottom:auto!important;transform:none;min-width:0;width:230px;max-width:230px;padding:10px 12px;gap:8px;border-radius:7px;justify-content:flex-start;z-index:2}.reading strong{font-size:11px;line-height:1.5}.reading small{font-size:8px}.reading .read-icon{font-size:21px}.reading .exposure-bar{width:32px;margin-right:auto}.toast{left:35px;right:auto;top:333px;bottom:auto;transform:none;max-width:230px;width:230px;min-width:0;text-align:right;font-size:11px;border-radius:7px;line-height:1.65;padding:10px 12px;background:#102935dc}.hud .mission{width:230px;padding:11px 12px;border:1px solid #cce8df26;border-radius:7px;background:#071d279e;backdrop-filter:blur(10px)}.mission h1{font-size:24px}.mission-detail{font-size:9px}.mission .progress-track{margin-top:10px}.hull-status{margin-top:9px}.hud{top:96px}.controls-hint{max-width:170px}.telegraph{background:#071e27c4}.credits-link{opacity:.65}.reading.locked{border-color:#ff846c;background:#482825e8}.reading.missile{border-color:#ffc277;background:#49331fe8}.result.panel{max-width:410px}.bridge-loading{color:#c8ee9b}
@media(max-width:600px){.hud{top:82px;left:13px;right:13px}.hud .mission{width:172px;padding:9px}.mission h1{font-size:20px}.mission .eyebrow{font-size:6px}.mission-detail{font-size:7px}.hull-status{font-size:7px;margin-top:5px}.hull-status strong{font-size:10px}.mission-stats{font-size:7px}.mission .progress-track{margin-top:7px}.reading{left:13px;right:auto;top:229px;bottom:auto!important;width:172px;max-width:172px;padding:8px;gap:6px}.reading strong{font-size:9px;max-width:110px}.reading small{font-size:7px}.reading .read-icon{font-size:17px}.reading .exposure-bar{width:22px}.toast{left:13px;right:auto;top:294px;bottom:auto;width:172px;max-width:172px;min-width:0;padding:8px;font-size:9px;line-height:1.65}.radar-wrap{width:71px}.controls{left:13px;right:13px;bottom:max(15px,env(safe-area-inset-bottom))}.joystick{width:124px;height:124px}.joystick-label{bottom:-16px}.joystick-ring{inset:21px}.stick{top:37px;left:37px}.joystick:before{left:55px}.telegraph{max-width:137px;padding:10px 11px}}
@media(max-height:620px) and (min-width:601px){.hud{top:82px}.hud .mission{width:190px;padding:8px}.mission h1{font-size:18px}.reading{left:35px;top:220px;width:190px;max-width:190px;bottom:auto!important}.toast{left:35px;top:280px;width:190px;max-width:190px}.controls{bottom:10px}}

/* Compact sailing HUD: essential information at the screen edges. */
header{left:auto;right:max(14px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));width:auto;padding:0;z-index:4}.top-actions{gap:5px}.icon-button{width:34px;height:34px;font-size:17px;background:#071e2777;border-color:#bdd9d330}.hud{top:max(14px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));pointer-events:none}.hud .mission{width:112px;padding:7px 8px;border:0;border-radius:5px;background:#071d278a;backdrop-filter:blur(6px)}.hull-status{margin:0;gap:8px;direction:ltr;font-size:9px}.hull-status strong{font-size:11px;letter-spacing:2px;white-space:nowrap}.mission-stats{font-size:8px;margin-top:5px;gap:5px;justify-content:space-between}.mission .progress-track{height:2px;margin-top:6px}.radar-wrap{position:absolute;top:44px;right:0;left:auto;width:66px;padding:5px;display:block;border:1px solid #bad3ca38;border-radius:5px;background:#071e27bb;pointer-events:auto;cursor:pointer;transition:width .15s}.radar-label{display:block;font:7px monospace;line-height:10px;text-align:left;color:#c8dcd1}.radar-wrap #radar{display:block;width:54px;height:81px;margin:1px 0 0}.radar-wrap.expanded{width:114px}.radar-wrap.expanded #radar{width:102px;height:153px}.reading{top:80px;left:max(14px,env(safe-area-inset-left));width:164px;max-width:164px;padding:7px 8px;gap:6px;background:#102935bd;transition:opacity .15s}.reading.quiet{opacity:0;pointer-events:none}.reading strong{font-size:9px;line-height:1.4}.reading small{display:none}.reading .read-icon{font-size:15px}.reading .exposure-bar{width:24px;flex-shrink:0}.toast{top:130px;left:max(14px,env(safe-area-inset-left));width:190px;max-width:190px;padding:8px 9px;font-size:10px;line-height:1.5;background:#102935d9}.controls-hint{display:none!important}.controls{left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));bottom:max(15px,env(safe-area-inset-bottom));gap:10px}.helm{grid-template-columns:38px 38px 38px;grid-template-rows:38px 38px 38px;gap:3px}.helm button{font-size:23px}.telegraph{padding:10px 12px;gap:12px;background:#071e279c}.speed strong{font-size:25px}.speed span{font-size:6px;letter-spacing:2px}.compass{padding-left:12px}.compass small{font-size:6px}.compass strong{font-size:12px}.camera-toggle{font-size:9px;padding:8px}.credits-link{font-size:6px;opacity:.55}
@media(max-width:600px){header{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}.icon-button{width:32px;height:32px;font-size:16px}.top-actions{gap:4px}.hud{top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right))}.hud .mission{width:100px;padding:6px 7px}.hull-status{font-size:9px}.hull-status strong{font-size:10px;letter-spacing:1px}.mission-stats{font-size:8px}.radar-wrap{top:40px;width:58px;padding:4px}.radar-wrap #radar{width:48px;height:72px}.radar-label{font-size:6px;line-height:8px}.radar-wrap.expanded{width:110px}.radar-wrap.expanded #radar{width:100px;height:150px}.reading{top:74px;left:max(10px,env(safe-area-inset-left));width:145px;max-width:145px;padding:6px 7px;gap:5px}.reading strong{font-size:9px;max-width:105px}.reading .read-icon{font-size:14px}.reading .exposure-bar{width:18px}.toast{top:124px;left:max(10px,env(safe-area-inset-left));width:176px;max-width:176px;padding:7px 8px;font-size:10px}.controls{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}.joystick{width:104px;height:104px;margin-bottom:16px}.joystick-ring{inset:18px}.stick{width:42px;height:42px;left:30px;top:30px;font-size:22px}.joystick:before{left:46px;top:3px;font-size:15px}.joystick-label{font-size:8px;bottom:-15px}.telegraph{width:94px;max-width:94px;padding:7px 8px;gap:7px;margin-bottom:15px}.compass{display:none}.speed strong{font-size:22px}.speed span{font-size:6px}.camera-toggle{width:100%;font-size:8px;padding:7px 3px}}
@media(max-height:620px) and (min-width:601px){.hud{top:12px}.hud .mission{width:112px;padding:7px 8px}.radar-wrap{display:block}.reading{top:77px;width:160px;max-width:160px}.toast{top:127px;width:185px;max-width:185px}.controls{bottom:10px}.helm{grid-template-rows:32px 32px 32px}.telegraph{padding:8px}}

/* Preserve the health row at its existing screen location, independent of the removed card. */
.health-preserved{position:fixed;left:48px;top:204.390625px;width:204px;height:15px;display:flex;align-items:center;justify-content:space-between;direction:rtl;font-size:9px;color:#b9cec8;background:#071d278a;box-shadow:0 0 0 5px #071d278a;border-radius:2px}.health-preserved strong{font-size:13px;line-height:15px;letter-spacing:4px;direction:ltr;white-space:nowrap;color:#c8ee9b}.trip-clock{text-align:left;font:9px monospace;color:#e6f3ef}.toast{top:239px}.camera-toggle{min-height:32px;font-size:9px}
@media(max-width:600px){.health-preserved{left:23px;top:171.1875px;width:152px;height:11px;font-size:7px}.health-preserved strong{font-size:10px;line-height:11px;letter-spacing:4px}.toast{top:205px}.camera-toggle{min-height:32px;font-size:9px}}

.trip-clock{font-size:10px}.mission-stats{font-size:9px}.radar-label{font-size:8px;line-height:10px}.reading strong{font-size:10px}@media(max-width:600px){.mission-stats{font-size:9px}.radar-label{font-size:8px;line-height:10px}.reading strong{font-size:10px}}

@media(max-height:620px) and (min-width:601px){.toast{top:12px;left:146px;width:190px;max-width:190px}}

.intercept-button{position:fixed;left:50%;bottom:max(25px,env(safe-area-inset-bottom));transform:translateX(-50%);width:110px;min-height:52px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border:1px solid #8ee2ef66;border-radius:8px;background:#10333edb;color:#b9eff4;z-index:3;padding:8px 6px;direction:rtl}.intercept-button strong{font-size:13px;font-weight:500}.intercept-button small{font-size:9px;white-space:nowrap}.intercept-button.ready{background:#164b58e8;border-color:#a2f2ff;box-shadow:0 0 15px #80deef22}.intercept-button:disabled{opacity:.65}.intercept-button.spent{color:#aec2c5;border-color:#8aa2a433;background:#112d36a6}.intercept-button.spent strong{font-size:11px}@media(max-width:600px){.intercept-button{width:96px;min-height:48px;bottom:max(28px,env(safe-area-inset-bottom));padding:7px 4px;gap:4px}.intercept-button strong{font-size:12px}.intercept-button small{font-size:8px}}

@media(max-width:350px){.intercept-button{width:88px}}

/* Passive supply guidance under the minimap, with no action or choice controls. */
.supply-cue{position:absolute;right:0;top:calc(100% + 6px);width:120px;display:flex;flex-direction:column;gap:3px;padding:6px 7px;border-radius:5px;background:#0b2c35d9;border:1px solid #eed18a55;color:#ffe3a5;pointer-events:none;text-align:right;direction:rtl}
.supply-cue strong{font-size:11px;font-weight:500;line-height:1.3;white-space:nowrap}.supply-cue small{font-size:9px;line-height:1.4;white-space:nowrap}.supply-cue.ammo{color:#a9f1ff;border-color:#8bdbe966}
@media(max-width:600px){.supply-cue{width:112px;padding:5px 6px}.supply-cue strong{font-size:10px}.supply-cue small{font-size:9px}}

/* English UI retains the existing HUD positions and sailing controls. */
.mission,.radar-wrap,.controls-hint,.reading,.toast,.camera-toggle,.intercept-button,.supply-cue{direction:ltr;text-align:left}.reading .exposure-bar{margin-right:0;margin-left:auto}.steps strong{margin-left:0;margin-right:6px}.supply-cue strong{font-size:10px}.supply-cue small{font-size:9px}.intro-footer a{color:#bedb9d}.intro .steps span{font-size:11px}#result{touch-action:pan-y;overscroll-behavior:contain}
@media(max-width:600px){.reading strong{font-size:9px}.supply-cue strong{font-size:9px}.supply-cue small{font-size:8px}.intro .steps span{font-size:10px}.intro h2{font-size:31px}}

.captain-name-row{margin:18px 0 20px;text-align:left;direction:ltr}.captain-name-row label{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:#e6f2d8;margin-bottom:9px}.captain-name-row label span{font-size:7px;letter-spacing:1px;color:#86aaa2;white-space:nowrap}.captain-name-row input{display:block;width:100%;min-height:44px;border:1px solid #c8ee9b4a;border-radius:6px;background:#061c26;color:#d9f0b5;font:15px Arial;padding:11px 13px;outline:none}.captain-name-row input:focus{border-color:#c8ee9b;box-shadow:0 0 0 3px #c8ee9b1a}.captain-name-row small{display:block;font-size:9px;line-height:1.6;color:#7ea0a7;margin-top:7px}.intro .intro-kicker{margin-top:18px}.intro .intro-copy{margin-bottom:14px}.intro .steps{padding-top:15px;gap:10px}.intro.panel{max-height:calc(100dvh - 30px);overflow:auto}
.intro .intro-kicker{display:none}.intro h2{margin-top:18px}.intro .intro-copy{margin:12px 0;color:#9dbabd}.intro .captain-name-row{margin:16px 0}.intro-how{margin-top:11px;color:#9eb9b9}.intro-how summary{font-size:11px;cursor:pointer;padding:9px 0;min-height:36px}.intro-how .steps{margin-top:3px;margin-bottom:10px}.intro-footer{line-height:1.7}@media(max-width:600px){.intro.panel{padding:22px}.intro h2{font-size:29px;margin-top:15px}.intro .intro-copy{font-size:11px}.captain-name-row label{font-size:11px}.intro-footer{font-size:8px}}

.supply-cue.health{color:#a9ef91;border-color:#a9ef9188}#health.restored{border-radius:5px;outline:2px solid #a9ef91;outline-offset:5px;box-shadow:0 0 18px #a9ef9155}

/* Compact, passive collection points and finite automatic missile defense. */
.supply-cue{width:140px}.supply-cue strong{font-size:11px}.supply-cue small{font-size:10px;line-height:1.35}.supply-cue.shield{color:#ddcaff;border-color:#c7a4ff88}.supply-cue #supply-points{font-weight:700;color:#d5f9b0}.supply-cue #shield-status{padding-top:4px;margin-top:1px;border-top:1px solid #c7a4ff44;color:#ddcaff}
@media(max-width:600px){.supply-cue{width:132px}.supply-cue strong{font-size:10px}.supply-cue small{font-size:9px}}

/* Keep the preserved health row clear on the narrowest phone screens. */
@media(max-width:340px){.radar-wrap:not(.expanded) .supply-cue{margin-top:42px}}
@media(max-height:620px) and (min-width:601px){.radar-wrap.expanded .supply-cue{right:calc(100% + 8px);top:0}}

#rank-mode{display:block;font-size:9px;letter-spacing:.03em;color:#b9d0ce;line-height:1.3}.live-board .board-footnote{display:block;line-height:1.8}.live-board .board-footnote a{color:#c8ee9b}.rank-retry{padding:12px 16px;border-radius:8px;border:1px solid #b8cf8c;background:#173c45;color:#e9f4df;cursor:pointer}.intro-footer small{font-size:10px;line-height:1.4;display:inline-block;max-width:390px}.captain-name-row a{color:inherit}
