@font-face{font-family:Lilita;src:url('./assets/lilita-one.ttf')}@font-face{font-family:Fredoka;src:url('./assets/fredoka-regular.ttf')}@font-face{font-family:Fredoka;src:url('./assets/fredoka-semibold.ttf');font-weight:600}
:root{--navy:#063c60;--ink:#114c67;--blue:#087ab0;--gold:#ffd44d;--cream:#fff8e6;--muted:#496f7e;--shadow:0 12px 36px #012f5147;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#087ba4;color:#fff;font-family:Fredoka,sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;filter:saturate(.45);opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ffb82d;outline-offset:4px}button{transition:transform .15s,background .15s}button:hover:enabled{filter:brightness(1.06)}button:active:enabled{transform:translateY(2px)}::selection{background:#ffdc6a;color:#123f5c}input,textarea{caret-color:#087ab0}*{scrollbar-width:thin;scrollbar-color:#2c98ac #e6f1ed}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Lilita,sans-serif;font-weight:400}h1{font-size:clamp(30px,3.6vw,48px);line-height:1.04}h2{font-size:30px}h3{font-size:23px}p{line-height:1.45}a{color:inherit}[hidden]{display:none!important}.definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}#app{height:100svh;position:relative;isolation:isolate;overflow:hidden;background:#0795bd url('./assets/ocean/world.png') center/cover}#ocean{position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline:0}.main-nav{position:absolute;z-index:5;left:32px;right:32px;top:calc(20px + var(--safe-top));display:flex;align-items:center;gap:18px;pointer-events:none}.main-nav>*{pointer-events:auto}.small-logo{font:25px/1 Lilita;text-decoration:none;text-shadow:0 2px 3px #03364c}.small-logo span{color:#ffe36b}.wallet{display:flex;gap:10px;margin-left:auto;align-items:center}.currency{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.wallet .currency{padding:7px 13px 7px 8px;background:#03476bd9;border-radius:30px;font-size:21px;box-shadow:0 3px 9px #02365035}.wallet .icon{width:28px;height:28px}.nav-actions{display:flex;align-items:center;gap:10px}.icon-button{border:1.5px solid #c2eeff;color:white;background:#075d86e8;border-radius:50%;width:44px;height:44px;display:inline-grid;place-items:center;box-shadow:0 3px 8px #06355240}.quiet-button{display:flex;align-items:center;gap:7px;border:0;background:#075d86d9;color:white;border-radius:30px;padding:11px 15px;min-height:44px}.primary-button,.secondary-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px;width:100%;padding:13px 20px;border:0;border-radius:14px;font-weight:600;font-size:20px;box-shadow:0 5px 14px #053a613a}.primary-button{color:#613512;background:linear-gradient(#ffe990,#ffce42);box-shadow:inset 0 2px 0 #fff3c3,0 5px 15px #0732494a}.primary-button .icon{width:24px;height:24px}.secondary-button{background:#fffcf0;color:#185470;box-shadow:0 4px 12px #0746682a}.text-button{border:0;background:transparent;color:inherit;font-weight:600;min-height:44px;padding:9px 8px;text-decoration:underline;text-underline-offset:4px}.screen{position:absolute;inset:0;z-index:3;pointer-events:none}.screen>*,.screen button,.screen input{pointer-events:auto}.home-copy{position:absolute;left:7%;top:16%;width:370px;text-shadow:0 2px 5px #034b7944}.wordmark{font-size:clamp(70px,7vw,108px);line-height:.85;color:#eafaff;letter-spacing:-.025em;-webkit-text-stroke:2px #06578e;paint-order:stroke fill;text-shadow:0 5px 0 #075078,0 9px 13px #003d6f55;transform:rotate(-4deg);margin-bottom:32px}.wordmark span{display:block;color:#ffdc57;-webkit-text-stroke:2px #975b19;text-shadow:0 5px 0 #9b641d,0 9px 13px #003d6f55}.home-copy h2{font-size:clamp(29px,3vw,42px);line-height:1.04;margin-bottom:12px}.home-copy>p{font-size:18px}.home-buttons{display:grid;gap:11px;margin-top:26px;width:290px}.home-copy .selected-label{font-size:14px;margin-top:13px;color:#d8fbff}.home-shark{position:absolute;right:3%;top:25%;width:57%;height:43%;pointer-events:none}.home-away{position:absolute;left:7%;bottom:calc(35px + var(--safe-bottom));display:flex;gap:14px;align-items:center;max-width:490px;background:#034f70d9;padding:16px 20px;border-radius:16px;box-shadow:var(--shadow)}.home-away>.icon{width:32px;height:32px;color:#ffe078}.home-away strong{font-size:18px}.home-away p{font-size:14px;color:#d9f7ff;margin-top:3px}.storage-status{position:absolute;right:32px;bottom:calc(20px + var(--safe-bottom));font-size:13px;color:#e0f8ff;text-shadow:0 1px 3px #045270}.centre-screen{display:grid;place-items:center;background:#003d572b;padding:80px 20px 25px}.glass-sheet{width:min(480px,100%);padding:32px;background:linear-gradient(#fffdf2,#fff1cc);color:var(--ink);border-radius:24px;box-shadow:0 18px 70px #00385466;text-align:center;max-height:100%;overflow:auto}.glass-sheet>p{color:var(--muted);margin:10px 0 22px}.glass-sheet .secondary-button{margin-top:11px;background:#e5f4f0}.compact{max-width:380px}.loading-fin{margin:20px auto;width:70px;height:70px;display:grid;place-items:center;background:#ddf2f2;color:#168fa9;border-radius:50%;animation:bob 2s ease-in-out infinite}.loading-fin .icon{width:42px;height:42px}.pause-links,.results-links{display:flex;justify-content:space-around;margin-top:13px}.objective-list{text-align:left;margin:22px 0}.objective-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #d6ded1}.objective-row strong{color:#147a88}.objective-row.done{color:#378255}.result-score{display:block;font:60px/1.1 Lilita;color:#1287a7;margin:14px 0}.result-stats{display:flex;justify-content:center;gap:24px;color:var(--muted);font-size:15px}.result-money{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin:24px 0;padding:18px 0;border-block:1px solid #e3ddbd;font-size:23px}.result-money .icon{width:28px;height:28px}.next-unlock{font-size:14px;margin:16px 0!important}.glass-sheet .rest-note{font-size:13px;margin:20px 0 0}.notice{position:absolute;z-index:20;left:50%;bottom:calc(140px + var(--safe-bottom));transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:13px 22px;border-radius:14px;background:#fff7df;color:#175271;font-weight:600;box-shadow:var(--shadow);text-align:center}.notice.error{background:#fff0e4;color:#8c3429}
/* The game stays in view while the HUD hugs the edges. */
[data-screen="playing"] .small-logo,[data-screen="paused"] .small-logo,[data-screen="playing"] #parent-entry{display:none}[data-screen="playing"] .main-nav{left:auto;max-width:60%;gap:10px}.shark-hud{position:absolute;top:calc(20px + var(--safe-top));left:24px;display:flex;align-items:center;gap:10px;width:310px}.shark-hud canvas{width:76px;height:64px;border-radius:50%;background:#07527aa6}.shark-status{flex:1}.shark-name{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;font:20px Lilita;text-shadow:0 2px 3px #053854}.shark-name>span{color:#ffdf63;font-size:17px;white-space:nowrap}.meter{position:relative;height:24px;border-radius:20px;overflow:hidden;background:#064064;border:2px solid #daf4ff;box-shadow:0 3px 5px #02385644}.meter>div{position:absolute;inset:0;transform:scaleX(1);transform-origin:left;background:linear-gradient(#b6f449,#53bd20)}.meter span,.meter strong{position:absolute;top:1px;font-size:13px;line-height:18px;text-shadow:0 1px 3px #175507}.meter span{left:7px}.meter strong{right:7px}.growth-meter{height:7px;background:#064064;border-radius:8px;margin:5px 8px 0;overflow:hidden}.growth-meter>div{height:100%;background:#69e8ff;transform-origin:left;transform:scaleX(0)}.dive-readout{position:absolute;left:47%;top:calc(19px + var(--safe-top));transform:translateX(-50%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 20px;min-width:214px;padding:9px 14px 8px;border-radius:14px;background:#03476bd9;text-align:center;text-shadow:0 2px 3px #053f68}.dive-stat{display:flex;flex-direction:column;gap:3px}.dive-stat>span{font-size:12px;font-weight:600;white-space:nowrap}.dive-stat>strong{font:34px/1 Lilita;color:#ffdc61;-webkit-text-stroke:1px #864b17;paint-order:stroke fill;font-variant-numeric:tabular-nums}.dive-readout>#region-name{grid-column:1/-1;font-size:12px;color:#d0f3ff}.growth-status{display:flex;justify-content:space-between;gap:8px;margin:6px 8px 0;padding:3px 6px;border-radius:5px;background:#064064;font-size:11px;line-height:1.2;color:#e0f8ff;text-shadow:0 1px 3px #034b79}.growth-status strong{font-weight:600;font-variant-numeric:tabular-nums}.goals-button{position:absolute;left:32px;top:calc(130px + var(--safe-top));border:0;border-radius:20px;background:#075578c9;color:#fff;padding:9px 14px;font-size:14px}.goals-button span{margin-left:10px;color:#ffdd78}.steering-hint{position:absolute;top:31%;left:50%;transform:translateX(-50%);border-radius:24px;background:#064661bd;padding:10px 22px;white-space:nowrap;font-size:16px;pointer-events:none}.frenzy-hud{position:absolute;bottom:calc(25px + var(--safe-bottom));left:50%;transform:translateX(-50%);width:min(430px,45vw);text-align:center}.frenzy-hud>span{display:inline-block;background:#064b70e6;color:#ffe265;font:21px Lilita;padding:5px 18px 0;border-radius:13px 13px 0 0;text-shadow:0 2px 2px #58391a}.frenzy-meter{height:23px;border:2px solid #e0faff;border-radius:20px;background:#043e60d9;padding:3px;box-shadow:0 4px 10px #003e6655}.frenzy-meter>div{height:100%;background:linear-gradient(#ffe48e,#ffaf22);border-radius:20px;transform-origin:left;transform:scaleX(0)}#boost-button{position:absolute;right:30px;bottom:calc(24px + var(--safe-bottom));width:110px;height:110px;border-radius:50%;border:5px solid #8ceeff;color:#fff;background:linear-gradient(145deg,#ffb02b,#f06c17);box-shadow:inset 0 3px 0 #ffdb85,0 6px 18px #023f6580;display:flex;flex-direction:column;align-items:center;justify-content:center;touch-action:none;user-select:none;text-shadow:0 2px 3px #963e17}#boost-button .icon{width:38px;height:38px}#boost-button strong{font:21px Lilita}.pressed{filter:brightness(1.2)!important;transform:scale(.96)!important}
/* Collection and parent pages use real page layouts, not floating game controls. */
.panel-screen{padding:calc(86px + var(--safe-top)) 28px calc(20px + var(--safe-bottom));background:#02456654;overflow:auto;pointer-events:auto}.panel{background:var(--cream);color:var(--ink);border-radius:22px;max-width:1180px;min-height:calc(100% - 8px);margin:auto;padding:26px 30px;box-shadow:var(--shadow)}.panel-heading{display:flex;align-items:center;gap:18px;margin-bottom:23px}.panel-heading .back{background:#e0f0ed;color:#125a70;border:0;box-shadow:none;flex-shrink:0}.panel-heading h1{font-size:35px}.panel-heading p{color:var(--muted);font-size:14px;margin-top:5px}.tabs{display:flex;gap:7px;margin-bottom:24px;border-bottom:1px solid #cdded8;overflow-x:auto}.tabs button{background:transparent;color:#446c7c;border:0;white-space:nowrap;padding:10px 17px 13px;font-weight:600;min-height:44px}.tabs button[aria-selected="true"]{color:#087b91;border-bottom:3px solid #0d91a0}.shark-select{display:flex;gap:10px;overflow-x:auto;padding:4px 3px 12px;margin-bottom:20px}.shark-choice{flex:1;min-width:125px;background:#d9eeea;border:2px solid transparent;border-radius:14px;color:#215c70;padding:7px 8px 10px}.shark-choice[aria-pressed="true"]{background:#ffedb1;border-color:#e2aa35}.shark-choice canvas{display:block;width:100%;height:67px}.shark-choice strong{display:block;font-family:Lilita;font-size:18px}.shark-choice small{display:block;font-size:12px;margin-top:4px}.shop-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:30px}.shop-stage{min-height:300px;border-radius:16px;background:#078db3 url('./assets/ocean/world.png') 15% center/auto 100%;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.shop-stage canvas{width:100%;height:250px}.stage-name{padding:15px 20px 0;color:#fff;text-shadow:0 2px 3px #074b6f;font:26px Lilita}.stage-note{position:absolute;bottom:13px;left:0;right:0;text-align:center;color:#d6f7ff;font-size:14px}.shop-detail h2{margin:3px 0 10px}.shop-detail>p{color:var(--muted);margin-bottom:18px}.traits{display:flex;gap:12px;margin:20px 0}.trait{flex:1}.trait small{display:block;color:#597984;font-size:13px}.trait strong{font-size:18px}.costs{display:flex;flex-wrap:wrap;gap:18px;margin:18px 0;font-size:23px}.requirements{background:#ecede0;border-radius:12px;padding:13px 15px;color:#486675;font-size:14px;line-height:1.5;margin:16px 0}.shop-detail .primary-button{max-width:350px}.upgrade-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:15px 0;border-bottom:1px solid #d2dfd5}.upgrade-row strong{font-size:20px}.upgrade-row p{font-size:14px;color:var(--muted);margin-top:4px}.purchase-button{border:0;border-radius:12px;background:#ffde7b;color:#68431a;padding:11px 14px;min-height:44px;min-width:110px;font-weight:600}.purchase-button .icon{width:20px;height:20px}.upgrade-steps{letter-spacing:3px;color:#1795a1;font-size:14px;margin-top:3px}.cosmetic-group{margin-bottom:18px}.cosmetic-group h3{font-size:20px;margin-bottom:9px}.cosmetic-options{display:flex;flex-wrap:wrap;gap:8px}.cosmetic-option{background:#e1eeea;border:2px solid transparent;border-radius:12px;padding:9px 12px;color:#22546a;min-height:44px}.cosmetic-option[aria-pressed="true"]{border-color:#168a9e;background:#ceeee8}.cosmetic-option small{display:block;font-size:12px;margin-top:3px}.preview-label{font-size:13px;color:#537583;margin:8px 0 12px}.roadmap-intro{max-width:65ch;color:var(--muted);margin-bottom:24px}.roadmap-tier{display:grid;grid-template-columns:120px 1fr;gap:20px;padding:20px 0;border-top:1px solid #d4dfd4}.roadmap-names{display:flex;gap:10px;flex-wrap:wrap}.roadmap-names>span{padding:9px 14px;border-radius:18px;background:#e1eeea;font-size:14px}.roadmap-names .available{background:#ffecad;color:#78571e}.parent-panel{max-width:790px}.parent-panel h2{margin-bottom:10px}.parent-panel .parent-intro{max-width:58ch;color:var(--muted);margin-bottom:24px}.parent-form{max-width:450px;margin:22px auto}.parent-form label{display:block;font-weight:600;margin:17px 0 7px}.parent-form input,.parent-form textarea,.award-form input,.award-form textarea{width:100%;border:1.5px solid #aec7c4;border-radius:10px;background:#fffef7;color:#174b63;padding:13px 14px;min-height:48px}.parent-form input[inputmode="numeric"]{letter-spacing:.3em;font-size:23px}.parent-form .primary-button{margin-top:24px}.form-error{color:#9b3f2f;margin:13px 0;line-height:1.4}.local-note{font-size:13px;color:#607981;margin-top:22px;line-height:1.5}.parent-summary{padding:18px 0 22px;border-bottom:1px solid #d2dfd5;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.parent-summary .wallet{margin:0;color:var(--ink);flex-wrap:wrap}.parent-summary .currency{background:transparent;padding:0;font-size:20px;box-shadow:none}.reward-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0}.reward-inputs label{display:block}.reward-inputs label>span{display:flex;align-items:center;gap:7px;margin-bottom:8px;font-weight:600}.reward-inputs input{font-size:21px;letter-spacing:0}.award-form>label{display:block;margin:18px 0 8px;font-weight:600}.reason-presets{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.reason-presets button{padding:8px 13px;background:#e3eeea;color:#376576;border:0;border-radius:20px;font-size:14px;min-height:40px}.award-form .primary-button{width:auto;min-width:230px}.reward-history{margin-top:32px;padding-top:24px;border-top:1px solid #d2dfd5}.reward-history h2{font-size:25px}.history-row{padding:15px 0;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #e1e5d5}.history-row p{font-weight:600}.history-row small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.history-money{display:flex;gap:12px;flex-wrap:wrap;font-size:16px}.parent-settings{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.reward-review{text-align:center;max-width:490px;margin:25px auto}.reward-review .costs{justify-content:center;font-size:26px}.reward-review .quote{margin:22px 0;color:var(--muted)}.recovery-code{padding:20px 12px;background:#e4eeeb;border-radius:12px;font-size:22px;font-weight:600;letter-spacing:.08em;text-align:center;overflow-wrap:anywhere;margin:20px 0}.away-explainer{padding:17px 20px;background:#e1efea;border-radius:12px;margin-top:28px}.away-explainer p{font-size:14px;color:#476b77}.away-explainer h3{font-size:21px;margin-bottom:6px}.empty-history{padding:17px 0;color:var(--muted);font-size:14px}
@keyframes bob{50%{transform:translateY(-7px)}}
@media(max-width:1000px){.main-nav{left:20px;right:20px;gap:10px}.small-logo{font-size:21px}.wallet{gap:6px}.wallet .currency{font-size:17px;padding:6px 10px 6px 6px}.wallet .icon{width:24px;height:24px}.home-copy{left:6%;width:330px;top:17%}.home-shark{right:0;width:55%;top:30%}.shark-hud{width:265px;left:17px}.shark-hud canvas{width:60px;height:60px}.shark-name{font-size:17px}.dive-readout{top:calc(106px + var(--safe-top))}.dive-stat>strong{font-size:30px}.shop-layout{gap:22px}.panel{padding:23px}}
@media(max-width:640px){.main-nav{top:calc(12px + var(--safe-top));left:12px;right:12px;flex-wrap:wrap;gap:9px}.small-logo{font-size:19px}.nav-actions{gap:7px;margin-left:auto}.icon-button{width:40px;height:40px}.quiet-button{padding:9px 11px;font-size:14px}.quiet-button .icon{width:19px;height:19px}.wallet{order:3;width:100%;justify-content:center;margin:0}.wallet .currency{font-size:16px;padding:5px 10px}.wallet .icon{width:22px;height:22px}.home-copy{top:17%;left:6%;width:88%;text-align:center}.wordmark{font-size:65px;line-height:.84;margin-bottom:15px;transform:rotate(-4deg)}.home-copy h2{font-size:25px;line-height:1.05}.home-copy>p{font-size:14px}.home-shark{right:2%;width:96%;top:38%;height:25%}.home-buttons{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(135px + var(--safe-bottom));width:min(310px,84vw);gap:9px;margin:0}.home-buttons .primary-button,.home-buttons .secondary-button{min-height:48px;font-size:18px;padding:10px}.home-copy .selected-label{position:fixed;bottom:calc(111px + var(--safe-bottom));left:0;right:0;font-size:12px}.home-away{left:6%;right:6%;bottom:calc(33px + var(--safe-bottom));padding:12px 14px;gap:10px;max-width:none}.home-away strong{font-size:15px}.home-away p{font-size:12px;margin-top:2px}.home-away>.icon{width:25px;height:25px}.storage-status{right:0;left:0;text-align:center;bottom:calc(10px + var(--safe-bottom));font-size:11px}.centre-screen{padding:110px 15px 20px}.glass-sheet{padding:25px 22px;border-radius:20px}.glass-sheet h1{font-size:31px}.glass-sheet>p{font-size:15px}.result-score{font-size:49px}.result-money{font-size:21px;gap:15px;margin:18px 0}.shark-hud{top:calc(12px + var(--safe-top));left:10px;width:225px;gap:7px}.shark-hud canvas{width:48px;height:50px}.shark-name{font-size:16px;gap:5px;margin-bottom:5px}.shark-name>span{font-size:14px}.meter{height:21px;border-width:1.5px}.meter span,.meter strong{font-size:11px;line-height:16px}.growth-meter{height:5px}.dive-readout{top:calc(136px + var(--safe-top));right:12px;left:auto;transform:none;min-width:154px;gap:4px 12px}.dive-stat>strong{font-size:27px}.dive-stat>span{font-size:10px}.dive-readout>#region-name{font-size:10px}.growth-status{font-size:10px;margin-top:5px}[data-screen="playing"] .main-nav{left:12px;right:12px;max-width:none;pointer-events:none}[data-screen="playing"] .main-nav .nav-actions{margin-left:auto}[data-screen="playing"] .main-nav .wallet{position:absolute;top:80px;justify-content:flex-start;width:auto;gap:4px}[data-screen="playing"] .wallet .currency{font-size:13px;padding:4px 7px 4px 4px}[data-screen="playing"] .wallet .icon{width:18px;height:18px}.goals-button{left:12px;top:calc(136px + var(--safe-top));font-size:12px;padding:7px 11px}.steering-hint{font-size:13px;white-space:normal;text-align:center;width:75%;top:28%;padding:10px 15px}.frenzy-hud{left:15px;bottom:calc(27px + var(--safe-bottom));transform:none;width:calc(100% - 126px)}.frenzy-hud>span{font-size:16px;padding:5px 10px 0}.frenzy-meter{height:20px}#boost-button{right:14px;bottom:calc(18px + var(--safe-bottom));width:85px;height:85px;border-width:4px}#boost-button .icon{width:29px;height:29px}#boost-button strong{font-size:17px}.notice{bottom:calc(125px + var(--safe-bottom));font-size:14px;padding:12px 16px}.panel-screen{padding:calc(108px + var(--safe-top)) 10px calc(10px + var(--safe-bottom))}.panel{padding:19px 17px;border-radius:18px}.panel-heading{gap:12px;margin-bottom:17px}.panel-heading h1{font-size:28px}.panel-heading p{font-size:12px}.tabs{gap:0;margin-bottom:17px}.tabs button{padding:10px 13px;font-size:14px}.shark-select{gap:7px}.shark-choice{min-width:112px}.shark-choice canvas{height:55px}.shark-choice strong{font-size:16px}.shop-layout{grid-template-columns:1fr;gap:20px}.shop-stage{min-height:205px}.shop-stage canvas{height:165px}.stage-name{font-size:22px;padding:12px 16px 0}.stage-note{font-size:12px;bottom:10px}.shop-detail h2{font-size:25px}.shop-detail>p{font-size:15px}.traits{margin:15px 0}.costs{font-size:21px}.roadmap-tier{grid-template-columns:1fr;gap:12px;padding:18px 0}.roadmap-names{gap:7px}.roadmap-names>span{font-size:13px;padding:8px 12px}.parent-summary{flex-direction:column;align-items:flex-start}.parent-summary .wallet{justify-content:flex-start;width:auto}.reward-inputs{gap:9px}.reward-inputs label>span{font-size:13px;gap:4px;flex-wrap:wrap}.reward-inputs .icon{width:20px;height:20px}.reward-inputs input{padding:11px 9px;font-size:18px}.award-form .primary-button{width:100%}.history-row{align-items:flex-start;flex-direction:column;gap:8px}.parent-settings{flex-wrap:wrap}.parent-form{margin:18px auto}.recovery-code{font-size:18px}.home-copy .selected-label{pointer-events:none}}
@media(max-height:620px) and (orientation:landscape){.main-nav{top:calc(9px + var(--safe-top))}.home-copy{top:calc(65px + var(--safe-top));left:max(5%,env(safe-area-inset-left,0px));width:43%;max-width:360px;text-align:left}.wordmark{font-size:50px;margin-bottom:12px}.home-copy h2{font-size:23px;margin-bottom:8px}.home-copy>p{font-size:14px}.home-buttons{position:static;left:auto;bottom:auto;transform:none;display:flex;width:100%;margin-top:12px;gap:8px}.home-buttons .primary-button,.home-buttons .secondary-button{flex:1;min-width:0;width:auto;font-size:16px;padding:8px;min-height:44px;gap:6px}.home-buttons .icon{width:20px;height:20px;flex-shrink:0}.home-copy .selected-label{position:static;left:auto;right:auto;bottom:auto;font-size:12px;margin-top:8px}.home-shark{top:24%;height:44%;right:2%;width:49%}.home-away{bottom:calc(16px + var(--safe-bottom));left:auto;right:max(20px,env(safe-area-inset-right,0px));width:42%;max-width:330px;padding:12px 15px}.home-away strong{font-size:14px}.home-away p{font-size:12px}.home-away>.icon{width:24px;height:24px;flex-shrink:0}.storage-status{display:none}.centre-screen{padding:60px 15px 15px}.glass-sheet{padding:22px;max-width:490px}.glass-sheet h1{font-size:28px}.objective-list{margin:12px 0}.objective-row{padding:6px 0;font-size:14px}.glass-sheet>p{margin:8px 0 12px}.glass-sheet .primary-button,.glass-sheet .secondary-button{min-height:43px;padding:9px;font-size:17px}.result-score{font-size:35px;margin:8px 0}.result-money{margin:12px 0;padding:10px 0;font-size:19px}.result-stats{font-size:13px}.dive-readout{top:calc(94px + var(--safe-top))}.frenzy-hud{bottom:15px}.frenzy-hud>span{font-size:17px}.frenzy-meter{height:18px}#boost-button{width:86px;height:86px;right:20px;bottom:15px}#boost-button strong{font-size:17px}#boost-button .icon{width:30px;height:30px}.steering-hint{top:40%;font-size:13px}.panel-screen{padding-top:67px}.panel-heading h1{font-size:28px}}
/* Keep both home actions in view on short landscape phones. */
@media(max-height:375px) and (orientation:landscape),(max-width:640px) and (orientation:landscape){.home-copy{top:calc(60px + var(--safe-top))}.wordmark{font-size:34px;margin-bottom:8px}.home-copy h2{font-size:19px}.home-copy>p{font-size:12px}.home-buttons{margin-top:10px}.home-buttons .primary-button,.home-buttons .secondary-button{font-size:14px;white-space:nowrap}.home-buttons .icon{width:16px;height:16px}.home-copy .selected-label{margin-top:6px}.home-away{padding:10px;gap:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Small state details share the same coin, cream and turquoise vocabulary. */
.traits>span{flex:1;font-size:13px;color:var(--muted)}.traits strong{display:block;font-size:19px;color:var(--ink);margin-bottom:4px}.cosmetic-option.active{border-color:#168a9e;background:#ceeee8}.cosmetic-option i{display:inline-block;width:16px;height:16px;border-radius:50%;vertical-align:middle;margin-right:6px}.upgrade-steps{display:flex;gap:5px;margin-top:9px}.upgrade-steps i{display:block;width:30px;height:6px;border-radius:4px;background:#bed4ce}.upgrade-steps i.filled{background:#1597a5}.roadmap-names small{display:block;font-size:11px;margin-top:4px;color:#587680}.collection-intro{margin:5px 0 24px;color:var(--muted)}.requirement{padding:12px 14px;background:#e6eee0;border-radius:10px;font-size:14px}.inline-money{display:inline-flex;gap:10px}.preview-label>strong{display:block;margin:13px 0 9px}.reward-review-money{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;font-size:27px;margin:25px 0}.reward-review-money .icon{width:30px;height:30px}.reward-inputs input{margin-top:9px}.optional{font-weight:400;font-size:13px;color:var(--muted)}.away-explainer h2{font-size:23px}.away-explainer p+p{margin-top:9px}.parent-settings .secondary-button{width:auto}.parent-content .secondary-button{margin-top:10px}.shop-panel .text-button{margin-top:12px}.shop-detail .primary-button{margin-top:14px}#boost-button{background:conic-gradient(from 0deg,#ffac2b 0 var(--charge,100%),#36738b var(--charge,100%) 100%)}#hud{pointer-events:none}#hud button{pointer-events:auto}.panel-screen .panel-heading{text-align:left}.panel-screen .panel{width:100%;text-align:left;overflow:visible}.panel-screen{overscroll-behavior:contain}.reward-inputs label{font-size:15px}.parent-summary .wallet{width:auto}.home-away{pointer-events:none}.home-shark{filter:drop-shadow(0 16px 14px #005d7d55)}
@media(max-width:640px){.panel-screen{padding:calc(112px + var(--safe-top)) 12px calc(15px + var(--safe-bottom))}.parent-summary{align-items:flex-start;flex-direction:column}.reward-inputs{gap:9px}.reward-inputs label{font-size:12px}.reward-inputs input{padding:12px 9px}.parent-settings{flex-wrap:wrap}.panel-heading h1{font-size:29px}.roadmap-tier{grid-template-columns:1fr;gap:12px}.history-row{align-items:flex-start;flex-direction:column}.shop-stage{min-height:230px}.shop-stage canvas{height:195px}.roadmap-names>span{min-width:110px}}
.meter span,.meter strong{color:#123f27;text-shadow:0 1px 0 #dbffb1}#boost-button{color:#522b0b;text-shadow:0 1px 0 #ffd46f}.result-stats{flex-wrap:wrap;gap:8px 20px}.result-milestones{font-size:14px;color:#267b67!important;margin:0 0 14px!important}.result-milestones:empty{display:none}.parent-next{margin:-7px 0 27px;color:var(--muted);font-size:15px;line-height:1.6}.parent-next .currency{color:var(--ink)}

/* Boost sits under the free thumb; its preference is changed while paused. */
#app{--boost-inset:30px}
#boost-button{left:max(var(--boost-inset),env(safe-area-inset-left,0px));right:auto}
#app[data-boost-side="right"] #boost-button{left:auto;right:max(var(--boost-inset),env(safe-area-inset-right,0px))}

/* App artwork and controls never start text selection, image callouts or
   double-tap zoom. Menus retain panning and parent forms retain text editing. */
body{touch-action:manipulation}
body,body *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body :is(input,textarea,select,[contenteditable="true"],[contenteditable=""],[data-copyable]),body :is([contenteditable="true"],[contenteditable=""],[data-copyable]) *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
img,svg,canvas,video{-webkit-user-drag:none}
#app[data-screen="playing"]{touch-action:none;overscroll-behavior:none}
#game-controls{pointer-events:none}
#game-controls #boost-button{pointer-events:auto}
#boost-button>*{pointer-events:none}
.boost-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 18px;font-size:16px;text-align:left}
.boost-options{display:flex;gap:6px}
.boost-options label{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 10px;border:2px solid #b5d6d8;border-radius:10px;background:#fffdf2;cursor:pointer}
.boost-options label:has(input:checked){border-color:#087ab0;background:#d6f3ef}
.boost-options input{margin:0;width:16px;height:16px;accent-color:#087ab0}
@media(max-width:640px){#app{--boost-inset:14px}#app[data-boost-side="left"] .frenzy-hud{left:auto;right:15px}.boost-setting{gap:8px}.boost-options label{padding:8px}}
@media(max-height:620px) and (orientation:landscape){#app{--boost-inset:20px}.boost-setting{margin:10px 0 12px}}
@media(max-height:620px) and (orientation:landscape){
 .pause-sheet{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 24px;max-width:680px;padding:18px 22px}
 .pause-sheet>h1,.pause-sheet>p,.pause-sheet>.pause-links{grid-column:1/-1;margin:0}
 .pause-sheet>.objective-list{grid-column:1;grid-row:3/6;margin:0;align-self:center}
 .pause-sheet>.boost-setting{grid-column:2;grid-row:3;margin:0;flex-wrap:wrap;gap:4px 8px;font-size:14px}
 .pause-sheet>#resume-button{grid-column:2;grid-row:4}
 .pause-sheet>#bank-button{grid-column:2;grid-row:5;margin:0}
 .pause-sheet>.pause-links{grid-row:6}
}

/* A compact dive recap keeps the catch, records and rewards together. */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.results-sheet{width:min(560px,100%);padding:26px 30px;overscroll-behavior:contain}
.results-sheet>p#result-subtitle{margin:6px 0 14px}
.result-highlights{display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left;margin-bottom:12px}
.result-highlight{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-radius:14px;background:#e4f3ed;color:#335f70}
.result-highlight>span:first-child{font-size:15px;font-weight:600}
.result-highlight-fish{background:#ffebac;color:#73501b}
.result-highlight .result-score,.result-fish-count{display:block;margin:0;font:38px/1 Lilita;color:#087d97;font-variant-numeric:tabular-nums}
.result-fish-count{color:#bd731c}
.result-fish-count.is-counting{color:#df8520}
.result-fish-count.count-complete{animation:catch-finish .42s ease-out}
.result-skip{display:block;margin:-7px 0 5px auto;min-height:36px;padding:4px 8px;border:0;background:transparent;color:#236879;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@keyframes catch-finish{0%{transform:scale(1);color:#df8520}45%{transform:scale(1.14);color:#ffad26;text-shadow:0 0 14px #ffcb64}100%{transform:scale(1);color:#bd731c;text-shadow:none}}
.result-records{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;text-align:left}
.result-records>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;border:1px solid #cfe3dc;border-radius:12px;background:#f5faf1}
.result-records span{font-size:14px;color:#4b7180;font-weight:600}.result-records strong{font:20px Lilita;color:#12677b;font-variant-numeric:tabular-nums;white-space:nowrap}
.result-breakdown{text-align:left;margin:16px 0 0}.result-breakdown h2{font:20px Lilita;color:#155d72;margin-bottom:8px}
.result-catch-list{display:flex;flex-wrap:wrap;gap:7px}.catch-chip{display:inline-flex;align-items:center;gap:7px;border-radius:11px;padding:3px 10px 3px 5px;background:#e6f3ef;color:#285f6f;font-size:14px}.catch-chip strong{color:#0a7285;font-variant-numeric:tabular-nums}.catch-fish-image{width:54px;height:38px;object-fit:contain;flex:none}.catch-fish-fallback{display:grid;place-items:center;font-size:22px}.catch-empty{font-size:14px;color:#597985}
.results-sheet .result-money{margin:16px 0;padding:12px 0}
.results-sheet .next-unlock{margin:12px 0!important}
@media(max-width:640px){.results-sheet{padding:22px}.result-highlight{padding:9px 10px}.result-highlight .result-score,.result-fish-count{font-size:33px}.result-records>div{padding:8px 10px}.result-records span{font-size:12px}}
@media(max-height:620px) and (orientation:landscape){.results-sheet{max-width:530px}.result-highlight .result-score,.result-fish-count{font-size:30px}.result-records{margin-top:9px}.result-breakdown{margin-top:10px}.results-sheet .result-money{margin:10px 0;padding:8px 0}}
@media(prefers-reduced-motion:reduce){.result-fish-count.count-complete{animation:none}}

/* The slim blue meter names shark growth; the lower meter names the power-up. */
.frenzy-hud>small{display:block;width:max-content;max-width:100%;margin:6px auto 0;padding:4px 10px;border-radius:9px;background:#064064;font-size:12px;line-height:1.25;color:#e0f8ff;text-shadow:0 1px 3px #034b79;text-align:center}
.dive-help{margin:0 0 18px;padding:10px 0;border-block:1px solid #d6ded1;text-align:left}
.dive-help summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font-weight:600;font-size:16px}
.dive-help summary:focus-visible{outline:3px solid #ffb82d;outline-offset:3px}
.dive-help dl{display:grid;gap:12px;margin:10px 0 4px}
.dive-help dt{font-weight:600;margin-bottom:3px}
.dive-help dd{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
@media(max-width:640px){.frenzy-hud>small{font-size:11px}.growth-meter{margin-top:4px}}
@media(max-height:620px) and (orientation:landscape){.pause-sheet>.dive-help{grid-column:1/-1;grid-row:6;margin:2px 0;padding:3px 0}.dive-help summary{font-size:14px}.dive-help dl{grid-template-columns:1fr 1fr;gap:10px 20px}.dive-help dd{font-size:13px}.frenzy-hud>small{margin-top:4px;font-size:11px}}

/* Leave growing treasure balances their own row on tablets and narrow screens. */
@media(min-width:1001px) and (max-width:1200px){.dive-readout{top:calc(112px + var(--safe-top))}}

/* One visible power-up state, with no camera shake or full-screen flash. */
.frenzy-announcement{position:absolute;left:50%;top:clamp(220px,28vh,290px);transform:translateX(-50%);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 14px;min-width:min(390px,calc(100% - 32px));max-width:calc(100% - 32px);padding:13px 18px;border-radius:14px;background:linear-gradient(#fff4ba,#ffda64);color:#613512;box-shadow:0 10px 28px #063c6066;text-align:center;pointer-events:none;text-shadow:none}
#frenzy-title{font:27px/1.05 Lilita,sans-serif;grid-column:1}
#frenzy-detail{font-size:16px;line-height:1.3;grid-column:1}
#frenzy-countdown{grid-column:2;grid-row:1/3;align-self:center;min-width:2.3ch;font:38px/1 Lilita,sans-serif;font-variant-numeric:tabular-nums}
.frenzy-announcement[data-phase="active"]{animation:frenzy-arrive .5s cubic-bezier(.16,1,.3,1) both}
.frenzy-announcement[data-phase="ending"]{background:linear-gradient(#ffe8a1,#ffc256)}
.frenzy-announcement[data-phase="finished"]{background:linear-gradient(#fffdf2,#fff1cc);min-width:min(390px,calc(100% - 32px))}
.frenzy-announcement[data-phase="finished"] #frenzy-title,.frenzy-announcement[data-phase="finished"] #frenzy-detail{grid-column:1/-1}
.frenzy-announcement[data-phase="finished"] #frenzy-title{font-size:24px}
@keyframes frenzy-arrive{from{opacity:.65;transform:translateX(-50%) scale(.95)}to{opacity:1;transform:translateX(-50%) scale(1)}}
@media(max-width:640px){.frenzy-announcement{padding:12px 14px;gap:3px 10px}#frenzy-title{font-size:24px}#frenzy-detail{font-size:14px}#frenzy-countdown{font-size:34px}.frenzy-announcement[data-phase="finished"] #frenzy-title{font-size:22px}}
@media(max-height:620px) and (orientation:landscape){.frenzy-announcement{left:auto;right:18px;top:calc(89px + var(--safe-top));transform:none;min-width:0;width:280px;padding:10px 12px}.frenzy-announcement[data-phase="active"]{animation:none}.frenzy-announcement[data-phase="finished"]{min-width:0}#frenzy-title{font-size:22px}#frenzy-detail{font-size:13px}#frenzy-countdown{font-size:31px}}
@media(prefers-reduced-motion:reduce){.frenzy-announcement{animation:none!important}}

/* Keep the hunting lane clear when a tablet/phone has little vertical room. */
@media(max-height:620px) and (orientation:landscape){
 .shark-hud{left:12px;top:calc(12px + var(--safe-top));width:min(260px,30vw);gap:8px}
 .shark-hud canvas{width:52px;height:48px}
 .shark-name{font-size:16px;margin-bottom:5px}.shark-name>span{font-size:14px}
 .dive-readout{left:48%;top:calc(12px + var(--safe-top));min-width:0;width:190px;max-width:26vw;padding:6px 8px;gap:3px 10px}
 .dive-stat>span{font-size:11px}.dive-stat>strong{font-size:25px}
 .dive-readout>#region-name{font-size:10px}
}
