:root{font-family:'Segoe UI',Arial,sans-serif;font-synthesis:none;color:#edf9f6;background:#102e41;--yellow:#ffd346;--ink:#163b45;--muted:#a8c9d0}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}#game{height:100svh;min-height:640px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 55% 38%,#138fb0 0%,#126484 48%,#07314d 100%)}#scene{position:absolute;inset:0;touch-action:none}canvas{display:block}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#08253966,transparent 21%,transparent 75%,#08253988)}.topbar{position:absolute;inset:0 0 auto;height:100px;padding:25px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:17px}.brand>img{width:82px;height:49px;object-fit:contain;padding:4px;background:#fff9e8;border-radius:9px}.brand>div>span{font-size:7px;font-weight:700;letter-spacing:1.9px;color:#b0cdd0}.brand h1{font-size:29px;font-weight:700;letter-spacing:-1.1px;margin:2px 0 0}.trident{font-family:Georgia,serif;font-size:32px;color:var(--yellow);margin-left:9px}.header-tools{display:flex;gap:10px;align-items:center}.glass{background:#103448c9;border:1px solid #9dd5de2b;box-shadow:0 10px 36px #001f3a20;backdrop-filter:blur(18px)}.region-field{display:flex;align-items:center;gap:8px;font-size:11px}.region-field select{background:#163b4e;color:#e1f2ee;border:1px solid #8bc6d330;border-radius:10px;font-size:11px;padding:10px;max-width:170px}.region-field select:disabled{opacity:.55}.book-open{display:flex;gap:9px;align-items:center;font-size:10px;font-weight:600;padding:11px 13px;border-radius:10px}.book-open b{background:#ffd346;color:#1d3a43;padding:4px 7px;border-radius:5px;font-size:10px}.round{width:33px;height:33px;border-radius:50%;font-weight:700}button svg,[data-icon] svg{display:block;width:19px;height:19px;flex-shrink:0}.location{position:absolute;top:113px;left:36px;display:flex;align-items:center;gap:9px;font-size:10px;font-weight:600;pointer-events:none;color:#d0e6e3}.location small{font-size:9px;font-weight:400;color:#9bbfc4;border-left:1px solid #a6c6ca55;padding-left:10px;margin-left:2px}.live-dot{display:inline-block;width:5px;height:5px;flex-shrink:0;border-radius:50%;background:#8ad6b5;box-shadow:0 0 0 4px #85d4b412}.shore-panel{position:absolute;left:34px;bottom:93px;width:305px;border-radius:20px;padding:24px;box-shadow:0 20px 60px #001e3444}.eyebrow{font-size:8px;font-weight:700;letter-spacing:1.5px;color:#9cd3d5;display:block}.shore-panel h2{font-size:30px;line-height:1.2;letter-spacing:-1px;margin:15px 0 11px}.shore-panel>p{font-size:11px;line-height:1.85;color:#a9cbd0;margin:0 0 23px}.suit-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:8px;color:#a1c2ca;letter-spacing:1px}.suit-heading strong{font-size:10px;color:#e6e8cf;letter-spacing:0;font-weight:600}.suits{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin:12px 0 20px}.suit{padding:2px;height:45px;border:1px solid #8abccf26;border-radius:7px;background:#163f54;position:relative}.suit svg{width:100%;height:100%}.suit.active{background:#52736a;border-color:var(--yellow)}.suit.active:after{content:'';position:absolute;bottom:-6px;left:50%;width:4px;height:4px;background:var(--yellow);border-radius:50%;margin-left:-2px}.primary,.secondary{border-radius:10px;min-height:43px;padding:12px 15px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;font-weight:650;white-space:nowrap}.primary{background:var(--yellow);color:#163b45;box-shadow:0 5px 20px #ffd34614}.primary:hover{background:#ffdf69}.secondary{border:1px solid #9ac6d542;background:#173c50e6;color:#d8eeeb}.secondary:hover{background:#28566c}.shore-panel>.primary,.shore-panel>.secondary{width:100%;margin-top:8px;font-size:10px;justify-content:flex-start}.shore-panel>button>span:last-child{margin-left:auto}.text-button{display:block;font-size:9px;color:#a2c2c7;margin:13px auto -1px;background:none;padding:4px}.text-button:hover{color:#fff1b9}.camera-tools{position:absolute;right:28px;bottom:94px;padding:7px;border-radius:13px;display:flex;flex-direction:column;gap:3px}.camera-tools button{width:30px;height:28px;display:grid;place-items:center;background:none;border-radius:6px;font-size:21px;color:#d6eae8}.camera-tools button:hover{background:#8cccd328}.camera-tools>span{height:1px;background:#b7e3e42b;margin:4px}.camera-tools svg{width:17px;height:17px}.exploration{position:absolute;left:32px;top:155px;width:222px;border-radius:15px;padding:18px}.depth{display:flex;align-items:center;gap:13px}.depth>span:first-child{color:#8bd1dc}.depth small{display:block;color:#9fcbcd;font-size:7px;letter-spacing:1.5px}.depth strong{display:block;font-size:27px;margin-top:3px;letter-spacing:-.5px}.depth em{font-size:13px;font-weight:400;font-style:normal;color:#aad0d1}.depth>span:last-child{font-size:9px;line-height:1.7;color:#b0ced0;border-left:1px solid #77b4c340;padding-left:12px;margin-left:auto;max-width:66px}.mission{margin-top:17px;padding-top:16px;border-top:1px solid #a1c5ce26}.mission .eyebrow{font-size:7px;letter-spacing:1px}.mission strong{display:block;font-size:11px;line-height:1.7;font-weight:500;margin-top:9px}.progress-track{background:#81a8b22b;height:4px;border-radius:3px;margin-top:12px;overflow:hidden}.progress-track>span{display:block;height:100%;width:0;background:var(--yellow);transition:width .3s}.mission>small{display:block;font-size:9px;color:#b4d0d0;margin-top:8px}.actions{position:absolute;bottom:95px;left:50%;transform:translateX(-50%);display:flex;gap:8px}.actions button{font-size:10px;min-height:41px;padding:10px 13px}.actions svg{width:17px;height:17px}.actions kbd{margin-left:8px;font-size:8px;background:#133a4320;color:#3c5b58}.control-bar{position:absolute;bottom:0;left:0;right:0;height:63px;padding:18px 33px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #93c8d21e;background:#08283a8c;backdrop-filter:blur(16px);font-size:9px;color:#adc9cd}.control-bar>span:first-child{display:flex;gap:10px;align-items:center}.control-bar strong{font-weight:500}#keyboard-hints{display:flex;gap:19px;color:#b3cdd0;font-size:9px}#keyboard-hints>span{display:flex;gap:4px;align-items:center}.stem-signature{font-size:7px;letter-spacing:2px;color:#7da6b3}kbd{font:inherit;font-size:9px;background:#a3c8d316;color:#d9e8e5;border:1px solid #a3c8d326;padding:3px 5px;border-radius:4px}.navigation{position:absolute;right:90px;top:152px;width:245px;padding:18px;border-radius:15px}.navigation>div:first-child{display:flex;align-items:center;justify-content:space-between}.navigation>div:first-child>button{background:none;font-size:22px;color:#c1dddc}.navigation .eyebrow{font-size:7px}.navigation canvas{width:100%;height:180px;margin:9px 0}.destinations{display:grid;grid-template-columns:1fr 1fr;gap:6px}.destinations button{padding:9px 6px;border:1px solid #8cc4d52b;border-radius:7px;background:#245065;font-size:9px}.fish-label{position:absolute;z-index:2;transform:translate(-50%,-100%);display:flex;gap:6px;align-items:center;padding:6px 10px;border-radius:9px;background:#113b4fdc;border:1px solid #bce8e84d;color:#e8f6ec;backdrop-filter:blur(6px);font-size:9px;font-weight:500;white-space:nowrap;box-shadow:0 4px 12px #0a304544}.fish-label>span{color:var(--yellow)}.fish-label:after{content:'';position:absolute;left:50%;bottom:-5px;width:7px;height:7px;transform:rotate(45deg);background:#123e50;border-right:1px solid #bce8e84d;border-bottom:1px solid #bce8e84d}.touch-controls{position:absolute;left:22px;right:90px;bottom:163px;display:none;justify-content:space-between;align-items:flex-end;pointer-events:none}.touch-controls button{pointer-events:auto;width:43px;height:43px;margin:2px;border-radius:10px;background:#133c51c9;border:1px solid #a5d7dd44;color:#e9f6ed;font-size:20px;touch-action:none;user-select:none}.steering>button{margin-left:49px}.steering>div{display:flex}.vertical{display:flex;gap:5px}.vertical button{height:52px}.vertical small{display:block;font-size:6px;font-weight:700;letter-spacing:1px}#loading,#error{position:absolute;inset:0;z-index:30;background:#123347;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}#loading .wave{font-size:90px;color:var(--yellow);animation:bob 1.8s ease-in-out infinite}#loading h2,#error h2{font-weight:500;font-size:23px;letter-spacing:-.5px}#loading p,#error p{font-size:12px;color:#a0c5ca;line-height:1.9}#toast{position:absolute;z-index:25;top:92px;left:50%;max-width:90%;transform:translate(-50%,-10px);opacity:0;pointer-events:none;background:#f9edc8;color:#244c55;padding:12px 19px;border:1px solid #fff3d7;border-radius:11px;font-size:11px;text-align:center;transition:.25s;box-shadow:0 6px 28px #06283e33}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #d4e9dd;border-radius:20px;background:#f5f6e9;color:var(--ink);box-shadow:0 30px 120px #001e3988;padding:30px;max-height:90svh;overflow:auto}dialog::backdrop{background:#06263888;backdrop-filter:blur(8px)}dialog h2{font-size:28px;font-weight:650;letter-spacing:-.8px;line-height:1.2;margin:15px 0 8px}dialog .eyebrow{color:#4a918b}dialog .primary{color:#163b45}dialog .secondary{background:#edf1e4;color:#28585c;border-color:#c8dace}.close{position:absolute;right:15px;top:14px;width:32px;height:32px;border-radius:50%;background:#fbfff5d9;border:1px solid #cbded0;font-size:22px;z-index:2;color:#24535a;display:grid;place-items:center}.discovery{width:740px;padding:0}.discovery[open]{display:grid;grid-template-columns:.88fr 1fr}.discovery-art{background:radial-gradient(ellipse at 50% 40%,#c4e5d6,#79b9c0);padding:14px;display:grid;place-items:center;min-height:350px}.discovery-art svg{width:100%;height:auto;filter:drop-shadow(0 17px 9px #18545e30)}.discovery-copy{padding:36px 27px 29px}.discovery-copy>.eyebrow{font-size:8px;letter-spacing:1px}.discovery-copy h2{font-size:28px}.latin{font-size:11px;color:#759187;font-style:italic;margin-top:2px}.discovery-copy>p:not(.latin){font-size:13px;line-height:1.9;margin:22px 0 19px}.habitat{border-top:1px solid #d6e2d4;padding:15px 0;display:flex;align-items:center;gap:10px}.habitat small{display:block;font-size:7px;letter-spacing:1px;color:#719288}.habitat strong{display:block;font-size:11px;line-height:1.7;font-weight:600;margin-top:5px}.card-actions{display:flex;gap:7px;flex-wrap:wrap}.card-actions button{min-height:39px;padding:10px;font-size:10px}.card-actions svg{width:16px;height:16px}.source-link{font-size:9px;color:#4c8983;margin-top:19px;display:block}.book{width:880px}.book>p{font-size:12px;color:#718c80;margin:12px 0}.book-filters{display:flex;gap:10px;margin:24px 0 20px}.book-filters label{display:flex;align-items:center;gap:9px;flex:1;background:#fff;border:1px solid #d1dfce;border-radius:9px;padding:10px 12px}.book-filters input{border:0;background:none;font-size:11px;min-width:0;width:100%;color:#28545c;outline:0}.book-filters select{border:1px solid #d1dfce;border-radius:9px;background:#fff;color:#28545c;font-size:11px;padding:10px}.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.book-item{position:relative;border:1px solid #d3e3d1;background:#fffff9;padding:9px 12px 13px;border-radius:12px;text-align:left;color:#264f56}.book-item svg{display:block;width:100%;height:90px}.book-item strong{display:block;font-size:11px;line-height:1.5}.book-item small{display:block;font-size:8px;color:#7a9584;margin-top:5px}.book-item .found{position:absolute;top:10px;right:10px;background:#d8ebce;border-radius:50%;height:17px;width:17px;line-height:17px;text-align:center;color:#2e805c;font-size:9px}.book footer{margin-top:22px;font-size:10px;color:#789180;display:flex;justify-content:space-between;gap:15px}.empty{grid-column:1/-1;text-align:center;color:#739083;font-size:12px;padding:30px}.quiz{width:450px;text-align:center}.quiz>.eyebrow{font-size:7px;margin-top:10px}.quiz h2{font-size:25px}.quiz-art{border-radius:13px;background:#d3e7dc;margin:20px 0}.quiz-art svg{width:100%;height:180px}#quiz-options{display:flex;flex-direction:column;gap:8px}#quiz-options button{padding:13px;background:#fff;border:1px solid #ccddcb;border-radius:10px;font-size:12px;color:#254f53}#quiz-options button.correct{background:#d8efd1;border-color:#76ad79}#quiz-options button.wrong{background:#fae6d7;border-color:#d3ac8c}#quiz-feedback{font-size:12px;line-height:1.8}#quiz-next{width:100%}.help{max-width:620px}.help p,.help dd{font-size:12px;line-height:1.85;color:#58766a}.help dl{display:grid;grid-template-columns:120px 1fr;gap:12px 15px;margin:25px 0}.help dt{font-size:11px;font-weight:700}.help dd{margin:0}.help a{font-size:11px}@keyframes bob{50%{transform:translateY(-8px)}}
@media(min-width:1650px){.shore-panel{left:3%;bottom:13%;width:330px;padding:28px}.shore-panel h2{font-size:34px}.suit{height:51px}.location{left:3%}.topbar{padding-left:3%;padding-right:3%}}@media(max-width:1100px){.book-open>span:nth-child(2){display:none}.brand>div>span{font-size:6px}.brand h1{font-size:25px}.shore-panel{width:278px;padding:21px}.shore-panel h2{font-size:27px}.suits{gap:3px}.suit{height:41px}.stem-signature{display:none}#keyboard-hints{gap:10px;font-size:8px}.actions{left:auto;right:90px;transform:none}.actions button{font-size:9px;padding:10px}.actions kbd{display:none}}@media(pointer:coarse){.touch-controls{display:flex}#keyboard-hints{display:none}.actions{bottom:88px;right:22px;left:auto;transform:none}.exploration{width:200px}.camera-tools{bottom:244px}.navigation{right:85px}.vertical{margin-right:0}}@media(max-width:700px){#game{min-height:680px}.topbar{height:82px;padding:17px 16px;gap:8px}.brand{gap:10px}.brand>img{width:61px;height:40px}.brand>div>span{display:none}.brand h1{font-size:24px}.trident{font-size:26px;margin-left:5px}.header-tools{gap:6px}.region-field>span{display:none}.region-field select{font-size:8px;padding:8px 5px;width:112px}.book-open{padding:7px;gap:4px}.book-open svg{width:16px;height:16px}.book-open b{font-size:8px;padding:4px}.round{height:27px;width:27px;font-size:11px}.location{top:94px;left:19px;font-size:8px}.location small{display:none}.shore-panel{left:16px;bottom:70px;right:16px;width:auto;padding:18px 20px;border-radius:15px;background:#0d3248e6;display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.shore-panel>.eyebrow{grid-column:1/-1;font-size:6px}.shore-panel h2{font-size:24px;margin:11px 0 8px;grid-column:1/-1}.shore-panel h2 br{display:none}.shore-panel>p{font-size:9px;line-height:1.7;margin:0 0 13px;grid-column:1/-1}.shore-panel>p br{display:none}.suit-heading,.suits{grid-column:1/-1}.suit-heading{font-size:7px}.suit-heading strong{font-size:9px}.suits{margin:10px 0 11px;gap:7px}.suit{height:42px}.shore-panel>.primary,.shore-panel>.secondary{min-height:40px;font-size:8px;justify-content:center;gap:6px;padding:9px 6px}.shore-panel>button>span:last-child{display:none}.shore-panel button svg{width:15px;height:15px}.text-button{grid-column:1/-1;margin-top:10px;font-size:8px}.camera-tools{right:15px;bottom:431px;flex-direction:row;padding:5px;gap:0}.camera-tools button{width:27px;height:25px;font-size:18px}.camera-tools>span{width:1px;height:19px;margin:3px}.camera-tools svg{width:15px;height:15px}body:not([data-mode="beach"]) .camera-tools{bottom:250px;flex-direction:column}body:not([data-mode="beach"]) .camera-tools>span{height:1px;width:20px}.control-bar{height:51px;padding:15px 18px;font-size:8px}.exploration{left:16px;top:122px;width:166px;padding:14px}.depth{gap:8px}.depth strong{font-size:23px}.depth>span:last-child{font-size:7px;padding-left:8px}.depth small{font-size:6px}.mission{margin-top:12px;padding-top:12px}.mission .eyebrow{font-size:6px;letter-spacing:.6px}.mission strong{font-size:9px;margin-top:8px}.mission small{font-size:8px}.actions{bottom:69px;left:auto;right:16px;transform:none;flex-direction:column;gap:6px}.actions button{min-height:35px;font-size:8px;padding:9px 12px}.actions button svg{width:15px;height:15px}.actions kbd{display:none}.touch-controls{bottom:162px;left:14px;right:82px}.touch-controls button{width:36px;height:36px;font-size:18px;margin:2px}.steering>button{margin-left:42px}.vertical{flex-direction:column;gap:0}.vertical button{height:40px}.vertical small{font-size:5px}.navigation{top:122px;right:16px;width:205px;padding:13px;z-index:4}.navigation canvas{height:155px}.navigation .eyebrow{font-size:6px}.destinations button{font-size:8px}.fish-label{font-size:8px;padding:5px 8px}#toast{top:85px;font-size:9px;padding:10px 13px;width:max-content;max-width:90%}.discovery[open]{display:block;width:calc(100% - 22px)}.discovery-art{min-height:160px;padding:0}.discovery-art svg{height:170px;width:100%}.discovery-copy{padding:22px}.discovery-copy h2{font-size:24px}.discovery-copy>p:not(.latin){font-size:12px;margin-top:16px}.book{width:calc(100% - 18px);padding:25px 17px}.book h2{font-size:24px}.book>.eyebrow{font-size:7px}.book-filters{flex-direction:column;gap:7px;margin-top:20px}.book-filters input{font-size:10px}.book-filters select{font-size:10px;min-height:38px}.book-grid{grid-template-columns:1fr 1fr;gap:8px}.book-item{padding:8px 10px 12px}.book-item strong{font-size:10px}.book footer{flex-direction:column;font-size:9px}.quiz{width:calc(100% - 22px);padding:25px 20px}.help{width:calc(100% - 22px);padding:27px 21px}.help h2{font-size:25px}.help dl{grid-template-columns:80px 1fr;gap:11px}.help dt{font-size:10px}.help dd,.help p{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.touch-controls .swim-control{font-size:9px;letter-spacing:.4px;font-weight:700}.tile-counter{color:#e1d58a!important}.navigation{width:265px}.navigation canvas{height:215px}.destinations{max-height:135px;overflow:auto}@media(max-width:700px){.location .tile-counter{display:block;font-size:7px}.navigation{width:235px}.navigation canvas{height:190px}.touch-controls .swim-control{font-size:8px}}

/* v3: mask camera, pickup status and the long coastal route. */
#game{background:radial-gradient(ellipse at 55% 32%,#11b9d1 0%,#087ba8 49%,#032b57 100%)}
.navigation{width:300px}.navigation canvas{height:auto;aspect-ratio:600/230;margin:12px 0}.destinations{max-height:140px}
.actions{max-width:calc(100% - 150px);flex-wrap:wrap;justify-content:center}.actions button{font-size:9px}.actions kbd{margin-left:2px}
.mask-view{position:absolute;inset:0;pointer-events:none;z-index:1;box-shadow:inset 0 0 80px 24px #001524b0;background:radial-gradient(ellipse at 50% 49%,transparent 45%,#001d3e55 85%)}
.mask-rim{position:absolute;inset:9% 6% 14%;border:9px solid #0b1827b0;border-radius:38% 38% 32% 32% / 35% 35% 44% 44%;box-shadow:0 0 0 2px #d6f7ff22,inset 0 0 0 2px #b6faff44}
.mask-aim{position:absolute;left:50%;top:49%;font-size:34px;color:#f1ffb9b0;transform:translate(-50%,-50%)}.mask-caption{position:absolute;left:50%;bottom:21%;transform:translateX(-50%);font-size:9px;letter-spacing:2px;color:#bcf5fa9c}
body[data-view="mask"] .fish-label{z-index:2}.topbar,.camera-tools,.exploration,.actions,.navigation,.control-bar,.recall-panel{z-index:3}
.recall-panel{position:absolute;left:50%;bottom:100px;transform:translateX(-50%);padding:18px 28px;border-radius:15px;min-width:300px;text-align:center}.recall-panel strong{display:block;margin-top:9px;font-size:13px}.recall-wave{display:block;font-size:28px;color:#ffdf68;margin-top:4px}
@media(max-width:700px){.navigation{width:235px}.navigation canvas{height:auto}.actions{max-width:230px;flex-wrap:nowrap;align-items:stretch}.actions button{font-size:8px}.mask-rim{inset:8% 2% 13%;border-width:6px}.recall-panel{min-width:0;width:calc(100% - 36px);bottom:73px;padding:16px}.recall-panel strong{font-size:11px}}
/* v3.1: legible equipment cards, inset surfaces and compact exploration controls. */
.glass{background:linear-gradient(145deg,#123e51ed,#092b40ee);border-color:#9edce340;box-shadow:inset 0 1px 0 #d9f9f518,0 14px 34px #001c3540}
.shore-panel{width:350px;padding:24px;max-height:calc(100svh - 180px);overflow:auto;border-radius:22px}
.shore-panel h2{font-size:28px;letter-spacing:-.7px;margin:12px 0 8px}.shore-panel>p{font-size:12px;line-height:1.6;margin-bottom:18px;color:#b9d8dd}.eyebrow{font-size:10px;letter-spacing:1.2px}
.suit-heading{font-size:10px}.suit-heading strong{font-size:12px}.suits{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:13px 0 17px}
.suit{height:87px;padding:4px 3px 6px;background:linear-gradient(150deg,#255367,#10364d);border:1px solid #94c6d340;border-bottom:3px solid #06263d;border-radius:12px;box-shadow:inset 0 1px 0 #cdf0ef16,0 4px 8px #001d3124;transition:transform .15s,border-color .15s;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;min-width:0}
.suit:hover{transform:translateY(-3px);border-color:#e0eec68c}.suit.active{background:linear-gradient(145deg,#657c57,#284f4d);border-color:#f8d66a;box-shadow:inset 0 1px 0 #fff0a755,0 0 0 1px #ffd34b60}.suit.active:after{content:'✓';top:5px;right:5px;left:auto;bottom:auto;margin:0;width:15px;height:15px;display:grid;place-items:center;font-size:10px;color:#153947;background:#ffdf69}
.suit-model{height:56px;position:relative;width:100%;display:grid;place-items:center}.suit-model:before{content:'';position:absolute;bottom:0;width:37px;height:12px;border-radius:50%;background:linear-gradient(#7db2bb6b,#244c5f);box-shadow:0 4px 0 #082a40,0 7px 8px #0017275c}.suit .suit-model svg{width:36px;height:54px;z-index:1;filter:drop-shadow(3px 3px 1px #001a3e66)}.suit-label{font-size:9px;line-height:1.15;display:block;text-align:center;width:100%;min-height:20px;overflow-wrap:normal;color:#e4f2ef}
.shore-panel>.primary,.shore-panel>.secondary{font-size:12px;min-height:46px}.text-button{font-size:11px}.primary{background:linear-gradient(#ffe375,#ffd044);border-bottom:3px solid #c49b28;box-shadow:inset 0 1px 0 #fff6c2a8,0 6px 14px #001d342e}.secondary{background:linear-gradient(#255166,#163d52);border-bottom:3px solid #0a293c}
.region-field select,.book-open,.book-open b{font-size:12px}.location{font-size:12px}.location small{font-size:11px}.control-bar{font-size:11px}#keyboard-hints{font-size:10px;gap:12px}.stem-signature{font-size:9px}
.actions{bottom:84px;gap:7px}.actions button{font-size:12px;min-height:43px;padding:10px 14px}.actions kbd{font-size:10px}.actions button:hover{transform:translateY(-1px)}
.navigation{width:310px;padding:16px}.navigation .eyebrow{font-size:10px}.navigation canvas{border-radius:10px;background:#052d42b0;border:1px solid #80bdca25}.destinations{gap:7px;max-height:140px}.destinations button{font-size:11px;line-height:1.35;padding:10px 7px;background:linear-gradient(#315e70,#204759);border-bottom:2px solid #092e42;text-align:left}
.depth small,.mission .eyebrow{font-size:9px}.depth>span:last-child,.mission>small{font-size:11px}.mission strong{font-size:12px}.fish-label{font-size:12px}.recall-panel .eyebrow{font-size:10px}.recall-panel strong{font-size:14px}.recall-wave{margin:0}.camera-tools button{min-width:33px;min-height:30px}
@media(max-width:1100px){#keyboard-hints{display:none}.actions{max-width:calc(100% - 120px)}.actions button{font-size:11px;padding:10px}.navigation{right:76px}}
@media(max-width:700px){
 #game{min-height:540px}.topbar{height:78px;padding:16px;gap:10px}.brand{gap:9px}.brand>img{width:53px;height:35px}.brand h1{font-size:23px}.trident{font-size:25px;margin-left:5px}.header-tools{gap:6px}.region-field select{font-size:11px;max-width:128px;padding:8px}.book-open b{font-size:10px}.book-open{padding:8px}.round{width:30px;height:30px}
 .location{top:86px;left:18px;font-size:10px;gap:7px}.location .tile-counter{font-size:9px;max-width:160px}.location small{padding-left:7px}
 .shore-panel{left:14px;right:14px;bottom:64px;width:auto;padding:16px;gap:0 9px;max-height:calc(100svh - 175px);border-radius:18px}.shore-panel>.eyebrow{font-size:9px}.shore-panel h2{font-size:23px;margin:8px 0 6px}.shore-panel>p{font-size:11px;margin:0 0 11px;line-height:1.4}.suit-heading{font-size:9px}.suit-heading strong{font-size:11px}
 .suits{display:flex;overflow-x:auto;gap:7px;margin:10px 0 14px;padding:2px 1px 7px;scrollbar-width:thin;scrollbar-color:#80b5b8 #12384b}.suit{flex:0 0 69px;height:88px}.suit-label{font-size:10px}.suit .suit-model svg{height:55px;width:37px}.shore-panel>.primary,.shore-panel>.secondary{font-size:11px;min-height:44px;padding:9px 7px}.shore-panel .text-button{font-size:10px;margin-top:10px}
 .camera-tools{bottom:auto;top:116px;right:14px;flex-direction:row;max-width:calc(100% - 28px)}.camera-tools button{min-width:28px;width:28px;min-height:28px}.camera-tools>span{width:1px;height:20px}.control-bar{height:48px;padding:12px 16px;font-size:10px}.stem-signature{font-size:8px}
 body:not([data-mode="beach"]) .camera-tools{top:auto;bottom:285px;flex-direction:column;right:12px}.exploration{left:14px;top:117px;width:168px;padding:13px}.depth small{font-size:8px}.depth strong{font-size:25px}.depth>span:last-child{font-size:9px}.mission strong{font-size:11px}.mission .eyebrow{font-size:8px}.mission>small{font-size:10px}
 .navigation{top:117px;right:14px;width:min(250px,calc(100% - 210px));padding:10px}.navigation .eyebrow{font-size:8px;letter-spacing:.7px}.destinations{grid-template-columns:1fr;max-height:111px}.destinations button{font-size:10px;padding:8px}.navigation canvas{margin:8px 0}
 .actions{left:auto;right:14px;bottom:63px;max-width:220px;gap:5px}.actions button{font-size:10px;min-height:38px;padding:9px 11px}.touch-controls{left:13px;right:82px;bottom:168px}.touch-controls button{width:40px;height:40px}.touch-controls .swim-control{font-size:9px}.steering>button{margin-left:46px}.vertical small{font-size:7px}.fish-label{font-size:10px}.recall-panel{bottom:65px}.recall-panel strong{font-size:13px}
}
@media(max-width:430px){.brand h1{font-size:21px}.brand>img{width:43px;height:31px}.region-field select{max-width:105px;font-size:10px}.region-field>[data-icon]{display:none}.topbar{gap:6px}.header-tools{gap:5px}.brand{gap:6px}.book-open b{font-size:9px}.shore-panel h2{font-size:21px}.shore-panel>.primary,.shore-panel>.secondary{font-size:10px}.location .tile-counter{max-width:125px}.exploration{width:148px}.navigation{width:calc(100% - 184px)}.mission{display:none}.depth>span:last-child{display:none}.recall-panel .eyebrow{font-size:9px}}
@media(max-height:720px) and (min-width:701px){.shore-panel{bottom:76px;padding:18px;max-height:calc(100svh - 155px)}.shore-panel h2{font-size:23px}.shore-panel>p{margin-bottom:10px}.suit{height:75px}.suit-model{height:46px}.suit .suit-model svg{height:44px}.suits{margin:10px 0}.shore-panel>.primary,.shore-panel>.secondary{min-height:40px}}
/* Z TEAM expedition identity uses the existing family art from JoyToy Space. */
.team-intro{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:8px;align-items:center;margin-bottom:10px}.team-intro .team-logo{width:95px;height:33px;object-fit:contain;object-position:left center}.team-intro h2{font-size:24px;margin:8px 0;line-height:1.13}.team-intro p{font-size:11px;line-height:1.5;color:#c4dee2;margin:0}.team-heroes{display:block;width:100%;height:125px;object-fit:contain;filter:drop-shadow(0 7px 9px #001d3990)}.shore-panel>.team-promise{font-size:11px;line-height:1.55;padding:10px 12px;border-radius:10px;background:#28608745;border-left:3px solid #ffd745;margin:0 0 15px;color:#d2e9e8}
@media(max-width:700px){.team-intro{grid-column:1/-1;grid-template-columns:1fr 130px;margin-bottom:6px}.team-intro .team-logo{width:83px;height:28px}.team-intro h2{font-size:20px;margin:4px 0}.team-intro h2 br{display:block}.team-intro p{display:none}.team-heroes{height:87px}.shore-panel>.team-promise{font-size:10px;line-height:1.35;padding:7px 10px;margin-bottom:9px}.shore-panel>.team-promise br{display:none}}
@media(max-width:430px){.team-intro{grid-template-columns:1fr 104px}.team-heroes{height:81px}.team-intro h2{font-size:18px}.team-intro .team-logo{width:77px;height:26px}}
/* Blue water and pale sand follow the ocean diorama reference. */
#game{background:radial-gradient(ellipse at 55% 30%,#11b3eb 0%,#087ed0 50%,#043b7d 100%)}

/* Photographs keep their full frame; no cropped fins or tails. */
.marine-photo{margin:0;width:100%;display:grid;gap:8px}.marine-photo img{display:block;width:100%;height:180px;object-fit:contain;background:#082f43;border-radius:12px}.marine-photo figcaption{font-size:10px;line-height:1.5;color:inherit;opacity:.82}.marine-photo figcaption a{text-decoration:underline}.book-item .marine-photo img{height:125px}.discovery-art .marine-photo img,#discovery-art .marine-photo img,#quiz-art .marine-photo img{height:230px;max-height:30svh}.book-item .marine-photo{margin-bottom:9px}

/* High harbor: the room is rendered by the game, these are its three actions. */
.shop-room-ui{position:fixed;inset:0;z-index:35;display:flex;flex-direction:column;justify-content:space-between;padding:28px 36px 26px;background:linear-gradient(#102d354d,transparent 26%,transparent 65%,#0e303b99);pointer-events:auto}.shop-room-identity{color:#fff5dd;text-shadow:0 2px 12px #113d4caa;pointer-events:none}.shop-room-identity>span{font-size:10px;letter-spacing:2px;color:#f4cf8a}.shop-room-identity h1{font-size:31px;margin:7px 0}.shop-room-identity p{font-size:14px;margin:0}.shop-room-actions{display:flex;gap:12px;justify-content:center;align-items:stretch;width:min(920px,100%);align-self:center}.shop-room-actions button{position:relative;text-align:left;flex:1;min-height:100px;border:1px solid #e6d3a66b;border-radius:16px;background:#103d4cef;color:#fff1d4;padding:19px 24px;box-shadow:0 8px 30px #002b3633;cursor:pointer;touch-action:manipulation}.shop-room-actions button:hover{background:#195b65}.shop-room-actions span{font-size:10px;letter-spacing:2px;color:#e8bd70;display:block;margin-bottom:9px}.shop-room-actions strong{display:block;font-size:17px}.shop-room-actions small{display:block;margin-top:7px;color:#b8d5d5;font-size:12px}.shop-room-actions .room-exit{flex:.8;background:#ece0c6f2;color:#25434b}.shop-room-actions .room-exit small{color:#526b6e}.shop-room-actions .room-exit:hover{background:#fff0cc}
body[data-shop] .toolbar,body[data-shop] .topbar,body[data-shop] #launch-actions,body[data-shop] #touch-controls,body[data-shop] #navigation,body[data-shop] #swim-speed,body[data-shop] #toast{visibility:hidden}body[data-shop] dialog::backdrop{background:#082b344d;backdrop-filter:blur(2px)}body[data-shop] .setup-dialog,body[data-shop] .stories-dialog{background:#faf0d9f5;box-shadow:0 18px 80px #052e4d88}.shop-room-ui button:focus-visible{outline:3px solid #ffe3a0;outline-offset:4px}
@media(max-width:650px){.shop-room-ui{padding:18px 16px max(16px,env(safe-area-inset-bottom))}.shop-room-identity h1{font-size:23px}.shop-room-identity p{font-size:12px;max-width:300px}.shop-room-actions{flex-wrap:wrap;gap:8px}.shop-room-actions button{padding:12px 14px;min-height:86px;flex:1 1 44%}.shop-room-actions strong{font-size:14px}.shop-room-actions small{font-size:10px}.shop-room-actions .room-exit{flex:1 1 100%;min-height:48px;display:flex;align-items:center;justify-content:space-between}.shop-room-actions .room-exit small{margin:0}.shop-room-actions span{margin-bottom:5px}}
@media(max-height:500px){.shop-room-ui{padding:12px 20px}.shop-room-identity h1{font-size:20px;margin:3px 0}.shop-room-identity p{font-size:11px}.shop-room-actions button{min-height:64px;padding:10px 16px;flex:1}.shop-room-actions .room-exit{flex:.8;display:block}.shop-room-actions span{display:none}.shop-room-actions strong{font-size:13px}.shop-room-actions small{font-size:10px}}
.room-home{position:absolute;right:24px;top:24px;width:44px;height:44px;border-radius:12px;border:1px solid #d9c59988;background:#153e4e;color:#ffe3a4;font-size:25px;cursor:pointer}

/* Storefront composition: host at left, the two display choices at right. */
.shop-room-actions{position:absolute;left:55%;right:32px;top:48%;bottom:auto;width:auto;max-width:520px;display:grid;grid-template-columns:1fr;gap:10px;align-self:auto}.shop-room-actions button{flex:none;min-height:84px;padding:15px 22px;background:#103d4ce8}.shop-room-actions span{float:left;margin:4px 14px 0 0}.shop-room-actions strong{font-size:18px}.shop-room-actions .room-exit{min-height:52px;padding:13px 22px}.shop-room-actions .room-exit small{display:none}.shop-room-identity{max-width:80%}
@media(max-width:650px){.shop-room-actions{left:51%;right:14px;top:51%;gap:9px}.shop-room-actions button{min-height:94px;padding:13px 12px;display:block}.shop-room-actions span{float:none;margin:0 0 6px}.shop-room-actions strong{font-size:14px;line-height:1.35}.shop-room-actions small{font-size:10px;line-height:1.5}.shop-room-actions .room-exit{min-height:56px;display:block;padding:12px}.shop-room-actions .room-exit strong{font-size:12px}}
@media(max-height:500px){.shop-room-actions{left:55%;right:20px;top:26%;gap:7px}.shop-room-actions button{min-height:68px;padding:10px 16px}.shop-room-actions strong{font-size:14px}.shop-room-actions span{display:none}.shop-room-actions .room-exit{min-height:46px;padding:10px 16px}}

body.eco-active > :not(#eco-session){visibility:hidden!important;pointer-events:none!important;}
