*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#99d4e3;color:#f6f4e7;font-family:Arial,Helvetica,sans-serif}button{font:inherit;cursor:pointer;color:inherit;border:1px solid #ffffff28;background:#103d4ae8;border-radius:10px;font-weight:700;padding:12px 17px;font-size:14px;touch-action:manipulation}button:hover{background:#23616b}button:disabled{opacity:.45;cursor:default}button:focus-visible{outline:3px solid #ffdd93;outline-offset:3px}[hidden]{display:none!important}#world{width:100%;height:100%;display:block;touch-action:none}#vignette{position:absolute;inset:0;background:linear-gradient(#062e4240,transparent 22%,transparent 65%,#062c3b55);pointer-events:none}header{position:absolute;top:max(20px,env(safe-area-inset-top));left:24px;right:24px;display:flex;align-items:center;gap:24px;pointer-events:none}header button{pointer-events:auto}.wordmark{background:none;border:0;text-align:left;padding:0;font-size:23px;letter-spacing:1px;text-shadow:0 2px 10px #0a3244}.wordmark b{font-weight:900}.wordmark small{display:block;font-size:10px;letter-spacing:2px;margin-top:7px}.account{display:flex;gap:22px;align-items:center;background:#0a3442db;border:1px solid #ffffff20;padding:12px 20px;border-radius:12px}.account strong{font-size:25px;color:#ffdf9a}.account span{font-size:12px;font-weight:bold;letter-spacing:1px}.xp-track{width:85px;height:4px;background:#ffffff26;margin-top:7px;border-radius:8px;overflow:hidden}.xp-track i{display:block;height:100%;background:#86dbbf;width:0}nav{display:flex;gap:7px;margin-left:auto}nav button{background:#073b4bbd;font-size:13px;padding:11px}#mission{position:absolute;left:24px;top:112px;width:300px;background:linear-gradient(90deg,#0a3546e6,#0a354695);border-left:3px solid #f2ce84;border-radius:0 12px 12px 0;padding:16px 18px;pointer-events:none}#mission>span{display:block;color:#f8d48b;font-size:11px;letter-spacing:2px;font-weight:bold;margin-bottom:8px}#mission>strong{display:block;font-size:18px;line-height:1.3}#mission>small{display:block;font-size:13px;color:#c1d7d9;margin-top:8px;line-height:1.4}#legal{position:absolute;right:24px;top:104px;padding:12px 16px;border-radius:10px;background:#5d2636e8;color:#ffe3dc;max-width:330px;font-size:14px;line-height:1.5}#toast{position:absolute;left:50%;top:28%;transform:translateX(-50%);background:#062d40ed;border:1px solid #dfdd9e55;max-width:540px;width:max-content;padding:13px 20px;border-radius:12px;font-size:16px;text-align:center;pointer-events:none;opacity:0;transition:opacity .2s}#toast.on{opacity:1}#countdown{position:absolute;top:38%;left:50%;transform:translateX(-50%);font-size:80px;font-weight:900;text-shadow:0 4px 20px #173d4a;pointer-events:none;color:#ffdf93}#boatHud{position:absolute;right:24px;top:190px;width:194px;background:#0a3442d9;border:1px solid #ffffff30;padding:16px;border-radius:14px}#boatHud>div:first-child{display:flex;align-items:baseline;gap:6px}#speed{font-size:40px;letter-spacing:-2px}#boatHud span{font-size:10px}#horsepower{margin-left:auto;font-size:12px;color:#ffdf9a}.hull{margin-top:12px}.hull span{display:flex;justify-content:space-between;letter-spacing:.5px}.hull>div{height:6px;background:#ffffff26;border-radius:5px;margin-top:8px;overflow:hidden}#damage{display:block;height:100%;width:0;background:#f5b96c}#mapWrap{position:absolute;right:24px;bottom:192px;width:174px;border:1px solid #ffffff40;border-radius:12px;overflow:hidden;background:#0a3442c9;pointer-events:none}#minimap{width:100%;height:126px;display:block}#location{display:block;text-align:center;padding:7px;font-size:10px;letter-spacing:1.8px;border-top:1px solid #ffffff20}#controls{position:absolute;left:28px;right:28px;bottom:max(45px,calc(env(safe-area-inset-bottom) + 28px));display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none;user-select:none;-webkit-user-select:none}#joystick{position:relative;width:126px;height:126px;background:#0a34426e;border:1px solid #e4f4e866;border-radius:50%;pointer-events:auto;touch-action:none;backdrop-filter:blur(4px)}#stick{width:52px;height:52px;border-radius:50%;border:1px solid #ffffff70;background:#c8dfe8a8;position:absolute;top:36px;left:36px;pointer-events:none}.cross{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:65px;color:#d0e5de28;font-weight:200}#joystick span{position:absolute;bottom:-23px;left:0;right:0;text-align:center;letter-spacing:2px;font-size:10px;font-weight:bold}#actionArea{display:flex;flex-direction:column;align-items:flex-end;gap:10px}#actionArea button{pointer-events:auto;touch-action:none;min-height:55px}#boatControls{display:flex;gap:10px}#boatControls button{height:70px;min-width:96px;font-size:14px}#boatControls #throttle{min-width:136px}.gold{background:#ffdfa0!important;color:#123e49;border-color:#ffe9b2!important}.pressed{filter:brightness(.8);transform:translateY(2px)}#interact{max-width:310px;white-space:normal}#botLine{position:absolute;left:24px;bottom:215px;max-width:285px;color:#e0efed;background:#103c4ca9;border-left:2px solid #8fd7c8;padding:10px 13px;font-size:12px;line-height:1.4;pointer-events:none}.bottomline{position:absolute;bottom:12px;left:24px;right:24px;display:flex;justify-content:space-between;font-size:10px;color:#d3e5e8;pointer-events:none}#overlay{position:absolute;inset:0;background:#082d4460;backdrop-filter:blur(6px);display:flex;justify-content:center;align-items:center;padding:22px;z-index:10}#panel{position:relative;width:min(780px,100%);max-height:90dvh;overflow:auto;overscroll-behavior:contain;border:1px solid #bcd7d141;border-radius:23px;background:#0b3443;box-shadow:0 25px 120px #001e3960;padding:34px}#closePanel{position:absolute;top:12px;right:14px;border:0;background:none;font-size:27px;padding:4px 10px;color:#d2e2dd}#panel h1{font-size:clamp(34px,5vw,61px);line-height:1.04;letter-spacing:-2px;margin:20px 0}#panel h1 em{font-family:Georgia,serif;color:#ffdc98;font-weight:400}#panel h2{font-size:30px;letter-spacing:-.7px;margin:12px 35px 12px 0}#panel h3{font-size:18px;margin:0 0 10px}#panel p{font-size:16px;color:#bfd5d7;line-height:1.5;margin:10px 0 18px}.eyebrow{font-size:11px;letter-spacing:2px;color:#a0d3ca;font-weight:bold}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}.card{border:1px solid #ffffff22;border-radius:13px;padding:18px;background:#ffffff05}.card p{font-size:14px!important;margin:8px 0 14px!important}.card button{width:100%;font-size:14px}.card .price{font-size:22px;color:#ffe0a4;margin:6px 0 10px}.card .badge{font-size:11px;color:#97d7c8;letter-spacing:1px;margin-bottom:10px}.row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #ffffff18}.row small{display:block;color:#adc9cd;margin-top:5px;line-height:1.4}.row button{white-space:nowrap}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.subtle{font-size:12px!important;color:#97b9bf!important}.pill{display:inline-block;font-size:12px;padding:7px 10px;border-radius:30px;background:#ffffff0b;margin:0 6px 8px 0;color:#bbdcd8}.welcome-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center}.starter-spec{border:1px solid #a5c1b337;border-radius:16px;padding:24px;background:linear-gradient(140deg,#23616b,#123f50)}.starter-spec strong{font-size:46px;color:#ffdfa2}.starter-spec p{font-size:14px!important}.starter-spec .big{font-size:26px;font-weight:bold;color:white;margin-bottom:17px}#workTrack{height:5px;background:#ffffff20;margin-top:12px}#workTrack i{height:100%;display:block;background:#ffdfa0;width:0}.chart{width:100%;height:310px;background:#0d4559;border-radius:12px}.journal-list{padding-left:19px;color:#c2d9d9;line-height:1.7;font-size:15px}.notice-box{border:1px solid #e6bc6940;color:#ffdd9c;padding:14px;border-radius:10px;font-size:14px;line-height:1.5;margin-top:15px}#boot{position:absolute;inset:0;background:#093b49;display:flex;justify-content:center;align-items:center;color:#ffdda0;z-index:30;padding:40px;text-align:center;font-size:19px}
@media(max-width:800px){header{left:16px;right:16px;gap:14px}.wordmark{font-size:18px}.account{padding:9px 12px;gap:12px}.account strong{font-size:20px}.account span{font-size:10px}.xp-track{width:55px}nav{gap:4px}nav button{font-size:12px;padding:10px 8px}#mission{left:16px;top:99px;width:240px;padding:12px}#mission>strong{font-size:16px}#mission>small{font-size:12px}#boatHud{right:16px;width:158px;top:175px;padding:12px}#speed{font-size:32px}#mapWrap{right:16px;width:144px;bottom:187px}#minimap{height:105px}#botLine{left:16px;max-width:230px;bottom:208px}#panel{padding:25px}.welcome-grid{gap:18px}.starter-spec{padding:17px}#legal{top:95px;right:16px;max-width:270px;font-size:12px}}
@media(max-width:550px){header{gap:10px}.wordmark{font-size:15px}.wordmark small{font-size:8px;letter-spacing:1px}.account{gap:8px;padding:8px}.account strong{font-size:18px}nav{position:absolute;right:0;top:57px}.account{margin-left:auto}#mission{top:150px;width:205px}#mission>small{font-size:11px}#legal{top:113px;left:16px;right:16px;max-width:none;font-size:11px;padding:8px}#boatHud{top:auto;right:16px;bottom:190px;width:125px;padding:10px}#speed{font-size:29px}#horsepower{font-size:10px}#boatHud span{font-size:8px}#mapWrap{top:155px;bottom:auto;right:16px;width:105px}#minimap{height:78px}#location{font-size:8px}#controls{left:18px;right:18px;bottom:45px}#joystick{width:100px;height:100px}#stick{width:44px;height:44px;left:27px;top:27px}#boatControls button{min-width:65px;height:62px;padding:11px;font-size:12px}#boatControls #throttle{min-width:98px}#interact{font-size:12px;max-width:185px;min-height:48px}#botLine{bottom:170px;left:16px;max-width:180px;font-size:10px}#hint{display:none}.bottomline{font-size:9px}#toast{max-width:90%;font-size:14px;top:37%;padding:12px}.welcome-grid{grid-template-columns:1fr}.starter-spec{display:none}.grid{grid-template-columns:1fr}.card{padding:15px}#panel{padding:24px;max-height:88dvh}.row{font-size:14px}.row button{font-size:12px;padding:10px}.chart{height:240px}}
@media(max-height:550px){header{top:10px}.account{padding:7px 12px}#mission{top:80px;padding:9px 12px;width:230px}#mission>strong{font-size:15px}#mission>small{font-size:11px}#boatHud{top:147px;width:135px;padding:10px}#boatHud #speed{font-size:28px}#mapWrap{display:none}#botLine{display:none}#controls{bottom:30px}#joystick{width:94px;height:94px}#stick{width:40px;height:40px;top:26px;left:26px}#boatControls button{height:54px}#legal{top:75px;max-width:280px}#panel{max-height:93dvh;padding:22px}.starter-spec{padding:18px}.welcome-grid{gap:20px}#panel h1{font-size:40px;margin:10px 0}#panel p{font-size:14px}.bottomline{bottom:5px}#toast{top:40%}}
#bearing{position:absolute;top:105px;left:50%;transform:translateX(-50%);text-align:center;pointer-events:none;color:#ffe0a0;text-shadow:0 2px 10px #16404b}#bearing b{display:block;font-size:44px;line-height:48px}#bearing small{font-size:9px;letter-spacing:2px}@media(max-width:550px){#bearing{top:80px;left:37%}#bearing b{font-size:30px}#bearing small{display:none}}@media(max-height:550px){#bearing{top:75px}}

#footControls{display:flex;gap:8px}#footControls button{min-width:72px;padding:12px;font-size:14px;border-radius:50%;width:72px;height:72px;background:#14212ee8;border-color:#ffffff65}#footControls #jump{width:82px;height:82px}#healthHud{position:absolute;left:24px;bottom:267px;width:220px;padding:12px 14px;background:#111d2be8;border-left:3px solid #adf16b;border-radius:0 10px 10px 0;pointer-events:none}#healthHud>div:first-child{display:flex;justify-content:space-between;font-size:14px}#healthHud strong{font-size:14px}.healthTrack{height:8px;margin:9px 0;background:#ffffff26;border-radius:2px;overflow:hidden}#healthFill{display:block;width:100%;height:100%;background:#adf16b;transition:width .12s}#healthHud small{font-size:12px;letter-spacing:1.2px;color:#ced6de}#healthHud.hurt{border-color:#ff6b6b}#healthHud.hurt #healthFill{background:#ff6b6b}#botLine{display:none}.bottomline{font-size:12px}
@media(max-width:550px){#healthHud{left:16px;bottom:183px;width:180px;padding:10px}#footControls{gap:5px}#footControls button{min-width:54px;width:54px;height:54px;padding:5px;font-size:12px}#footControls #jump{width:60px;height:60px}#actionArea{gap:8px}}
@media(max-height:550px){#healthHud{left:18px;bottom:144px;width:185px;padding:8px 12px}#footControls button{min-width:58px;width:58px;height:58px}#footControls #jump{width:64px;height:64px}.bottomline{font-size:10px}}

.shop-brand{display:flex;justify-content:space-between;align-items:center;margin:0 20px 24px 0}.shop-brand>span{font-size:38px;font-weight:900;letter-spacing:-2px;position:relative}.smile{display:block;color:#ffcf72;line-height:8px;text-align:right;font-size:40px}.shop-brand small{font-size:12px;color:#abc9cd;letter-spacing:2px}.shop-tabs{display:flex;gap:8px;margin-bottom:22px}.shop-tabs button:disabled{opacity:1;background:#ffdfa0;color:#123e49}#payment{position:absolute;top:24%;right:24px;background:#102f31f5;border:1px solid #a9efb2;border-radius:16px;padding:20px 26px;pointer-events:none;z-index:12;box-shadow:0 12px 45px #001d2580}#payment small,#payment span{display:block;font-size:12px;color:#bce5d7}#payment strong{display:block;font-size:42px;color:#b5fda6;margin:6px 0}#crosshair{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:28px;color:white;pointer-events:none;text-shadow:0 1px 4px black}#exitBtn{border-color:#ffd18d!important;background:#513c2ce8}#fireBtn{border-color:#f4bc80!important}#panel .eyebrow{font-size:12px}#panel .chart{cursor:crosshair}#panel button{min-height:44px}
@media(max-width:550px){nav{gap:3px;flex-wrap:wrap;justify-content:flex-end;max-width:100%}nav button{font-size:12px;padding:8px}#payment{top:36%;right:16px;padding:14px 18px}#payment strong{font-size:32px}#actionArea button#fireBtn,#actionArea button#exitBtn{min-height:42px;font-size:12px;padding:9px}#actionArea{max-width:200px}#healthHud{bottom:200px;width:155px}#mission{top:154px;width:190px}}
@media(max-height:550px){#actionArea{gap:5px}#actionArea button#fireBtn,#actionArea button#exitBtn{min-height:34px;padding:6px 12px}#healthHud{bottom:146px}#payment{top:26%;right:180px}}

#overlay.inspection{background:none;backdrop-filter:none;align-items:flex-end;pointer-events:none}#overlay.inspection #panel{pointer-events:auto;background:linear-gradient(120deg,#0b1725f5,#103746f0);max-width:760px;padding:24px 28px;border-radius:18px;margin-bottom:10px;max-height:38vh}#overlay.inspection h2{margin:8px 0;font-size:32px}#overlay.inspection p{margin:6px 0;font-size:14px}.showroom-spec{display:flex;gap:18px;align-items:center;font-size:12px;letter-spacing:1px;color:#9ddbe1}.showroom-spec strong{margin-left:auto;font-size:24px;color:#ffdd93}.card button+button{margin-top:8px}#overlay.inspection .actions{margin-top:12px}
@media(max-width:550px){#overlay.inspection{padding:10px}#overlay.inspection #panel{padding:18px;max-height:44vh;margin:0}#overlay.inspection h2{font-size:25px}.showroom-spec{gap:10px;flex-wrap:wrap}.showroom-spec strong{font-size:20px}#overlay.inspection .actions{gap:6px}#overlay.inspection .actions button{padding:9px;font-size:12px}}
@media(max-height:550px){#overlay.inspection{justify-content:flex-end;align-items:center}#overlay.inspection #panel{max-width:310px;max-height:90vh}#overlay.inspection .showroom-spec{flex-wrap:wrap}}
/* Camera, controller and graphics preferences */
.settings-tabs{display:flex;gap:6px;border-bottom:1px solid #ffffff25;margin:22px 0;padding-bottom:12px;flex-wrap:wrap}.settings-tabs button{font-size:13px}.settings-tabs [aria-selected=true],.view-options [aria-pressed=true]{background:#ffdfa0;color:#123e49}.setting{display:block;padding:18px 0;border-bottom:1px solid #ffffff18}.setting>span{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:15px;font-weight:bold}.setting output{color:#ffdfa0;font-variant-numeric:tabular-nums}.setting input[type=range]{display:block;accent-color:#ffdfa0;width:100%;height:30px;margin:10px 0 0;cursor:pointer}.setting input[type=checkbox]{accent-color:#ffdfa0;width:22px;height:22px}.setting.check{display:flex;justify-content:space-between;align-items:center}.view-options{display:flex;gap:8px;margin-top:14px}.view-options button{flex:1}select{font:inherit;background:#174858;color:#f6f4e7;border:1px solid #8daebf;border-radius:8px;padding:11px;margin-top:10px;max-width:100%}input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ffdfa0;outline-offset:3px}.control-guide{padding:14px 16px;background:#ffffff05;border-radius:12px;margin:18px 0}.control-guide p{font-size:14px!important;line-height:1.7!important;margin:6px 0 14px!important}.control-guide b{color:#ffdfa0}#controller-status{font-size:14px;overflow-wrap:anywhere;background:#174858;padding:14px;border-radius:10px}details{margin:20px 0}summary{cursor:pointer;font-weight:bold;padding:14px 0;color:#ffdfa0}.binding-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px}.binding{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #ffffff16;font-size:12px}.binding button{font-size:12px;white-space:nowrap;padding:8px}.axis-setting{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.axis-setting>span{flex:1;font-size:13px}.axis-setting>label{font-size:13px;display:flex;align-items:center;gap:5px}.axis-setting select{margin:0}.stick-readout{font:12px monospace;color:#a4dcce;margin:20px 0}#mapping-status{color:#ffdfa0!important}nav{flex-wrap:wrap;justify-content:flex-end;max-width:530px}#footControls{display:grid;grid-template-columns:repeat(2,64px);gap:6px}#footControls button,#footControls #jump{width:64px;height:54px;min-width:0;border-radius:18px;font-size:12px;padding:6px}#actionArea{max-width:310px}
@media(max-width:1050px){header{align-items:flex-start;gap:16px}nav{max-width:365px;gap:5px}nav button{padding:8px;font-size:12px}.wordmark{font-size:19px}.account{padding:9px 12px;gap:12px}#mission{top:125px}}
@media(max-width:700px){nav{position:absolute;right:0;top:60px;max-width:100%;left:0}nav button{font-size:11px;padding:8px}#mission{top:160px}#mapWrap{top:160px;bottom:auto}#bearing{top:112px}.bottomline #hint{display:none}#footControls{grid-template-columns:repeat(2,54px)}#footControls button,#footControls #jump{width:54px;height:46px;font-size:11px}#healthHud{bottom:240px;width:148px}#actionArea{max-width:200px}.binding-grid{grid-template-columns:1fr}.settings-tabs button{flex:1;padding:10px 8px;font-size:12px}}
@media(max-height:550px){nav{position:static;max-width:480px}nav button{font-size:11px;padding:7px}#mission{top:91px;width:220px}#footControls{display:flex;gap:5px}#footControls button,#footControls #jump{width:49px;height:44px}#actionArea{max-width:310px}#healthHud{bottom:149px}#legal{top:88px}#boatHud{top:172px}#bearing{top:85px}}

/* Hyper Reality Pack v1 — zero-image filmic presentation layer */
html.hyper-reality #world{filter:saturate(1.08) contrast(1.045) brightness(1.018)}
html.hyper-reality #vignette{background:radial-gradient(ellipse at 50% 46%,transparent 43%,#061a2430 78%,#020d1470 115%),linear-gradient(#f8c88b16,transparent 19%,transparent 72%,#032c3c24)}
html.hyper-reality body:after{content:'';position:fixed;inset:0;z-index:9;pointer-events:none;opacity:.045;mix-blend-mode:soft-light;background-image:repeating-radial-gradient(circle at 17% 23%,#fff0 0,#fff0 2px,#fff 2.4px,#fff0 3px);background-size:17px 19px}
.hyper-note b{color:#ffdfa0}
