@font-face{font-family:Archivo;src:url('/game/fonts/archivo.woff2') format('woff2');font-weight:100 900;font-stretch:62% 125%;font-display:swap}@font-face{font-family:Geist Mono;src:url('/game/fonts/geist-mono.woff2')}
:root{--tw-font:Archivo,Arial,sans-serif;--tw-mono:'Geist Mono',monospace;--tw-aqua:#cbdcc6;--tw-aqua-rgb:203,220,198;--tw-sun:#e2c393;--tw-ink:#f2f0e8;--tw-glass:rgba(14,28,29,.75);--tw-line:rgba(240,239,220,.18)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden;background:#172e34;color:#f2f0e8;font-family:Archivo,Arial,sans-serif}#app canvas{display:block;touch-action:none}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button,select{font:inherit}a{color:inherit;text-underline-offset:4px}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #f5d293;outline-offset:5px}[hidden]{display:none!important}
.coast-header{position:absolute;left:34px;right:34px;top:28px;display:flex;justify-content:space-between;align-items:start;pointer-events:none}.coast-header a,.coast-header button{pointer-events:auto}.coast-brand{display:block;flex:none;width:104px;min-height:44px;text-decoration:none;text-shadow:0 2px 12px #0009}.coast-brand img{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 12px #0009)}.coast-brand span{display:block;white-space:nowrap;font:9px 'Geist Mono',monospace;letter-spacing:3px;margin-top:6px}.coast-header nav{display:flex;gap:10px}.coast-header button{border:1px solid #ecead638;background:#172e3455;backdrop-filter:blur(12px);color:inherit;padding:11px 16px;border-radius:3px;font-size:12px}.coast-header kbd{font:10px 'Geist Mono',monospace;margin-left:16px;opacity:.5}.coast-location{position:absolute;left:34px;bottom:32px;display:grid;gap:9px;text-shadow:0 2px 10px #000}#location-name{font-size:20px}#coast-clock{font:10px 'Geist Mono',monospace;text-transform:uppercase;letter-spacing:1px;opacity:.7}.coast-prompt{position:absolute;bottom:38px;left:50%;transform:translateX(-50%);max-width:55%;font-size:12px;text-align:center;line-height:1.8;color:#fff;text-shadow:0 2px 5px #000,0 0 14px #000;pointer-events:none}.coast-toast{position:absolute;top:112px;left:50%;transform:translateX(-50%);max-width:90%;padding:12px 20px;background:#132c2bda;border:1px solid #f0efda26;border-radius:3px;text-align:center;font-size:13px;opacity:0;transition:opacity .3s;pointer-events:none}.coast-toast.visible{opacity:1}.coast-overlay{position:fixed;inset:0;z-index:100;background:linear-gradient(90deg,#0b222deb 0%,#0c222d95 40%,#0c222d15 100%);display:flex;align-items:center;padding:6vh 8vw}.welcome-copy{width:min(620px,100%)}.eyebrow{font:10px 'Geist Mono',monospace;text-transform:uppercase;letter-spacing:2px;color:#d3d8c6}.welcome-copy h1{font-size:clamp(46px,7.5vw,112px);line-height:1.01;letter-spacing:-.045em;margin:32px 0;color:#f5f0dd;font-weight:800;font-stretch:112%;font-style:normal}.welcome-copy h1 span{color:#e6c788}.welcome-deck{font-size:clamp(16px,1.5vw,22px);line-height:1.6;color:#e4eadbc7}#load-status{font:11px 'Geist Mono',monospace;margin-top:30px;color:#cfddcc}#load-progress{display:block;width:290px;height:2px;margin:14px 0 24px;accent-color:#dbc495}#enter{border:0;border-radius:2px;color:#203a39;background:#e6dfc8;padding:17px 28px;font-size:15px}#enter:disabled{opacity:.4;cursor:wait}.welcome-hint{font-size:11px;line-height:1.7;opacity:.5;margin-top:22px}.fallback{font-size:11px;opacity:.75}.welcome-credit{position:absolute;right:30px;bottom:24px;font-size:10px;opacity:.6}
dialog{width:min(530px,calc(100vw - 32px));max-height:90dvh;overflow:auto;background:#18302ff5;border:1px solid #d6e2c43c;border-radius:4px;color:#f2f0e8;padding:30px;box-shadow:0 30px 120px #0008}dialog::backdrop{background:#03171a70;backdrop-filter:blur(8px)}dialog h2{font-size:34px;letter-spacing:-1.5px;margin:15px 0}dialog p{font-size:13px;line-height:1.7;color:#d5ded0}dialog label{display:flex;align-items:center;gap:12px;padding:12px 0;font-size:13px;border-bottom:1px solid #ffffff15}dialog input{accent-color:#cbdcc6}dialog select{margin-left:auto;background:#234943;color:inherit;border:1px solid #d7e3c63c;padding:5px}dialog footer{display:flex;justify-content:space-between;align-items:center;margin-top:22px;font-size:12px}.time-choices{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0;font-size:12px;align-items:center}.time-choices span{width:100%;margin-bottom:5px}.time-choices button,#return-pier{background:transparent;color:#e6e5d3;border:1px solid #e1e5ca40;padding:9px;font-size:12px;border-radius:2px}.save-note{font-size:11px!important;line-height:1.65;color:#c7d0bfa6!important}.save-note a{display:block;margin-top:5px}
.gm-purse{top:94px!important;right:34px!important;padding:0!important;border:0!important;box-shadow:none!important;background:none!important;backdrop-filter:none!important;font-size:11px!important;gap:16px!important;text-shadow:0 2px 8px #000}.gm-money{color:#eee9d6!important}.gm-cooler{font-size:11px!important}.gm-map{right:30px!important;bottom:28px!important;width:140px!important;height:140px!important;background:#17353670!important;padding:3px!important;opacity:.88}.gm-fight{bottom:108px!important;background:#122b2bdd!important}.gm-bite{font-size:42px!important}.gm-panel{width:min(840px,calc(100vw - 32px))!important;max-height:84dvh!important;padding:28px!important;background:#142d2cf5!important;backdrop-filter:blur(22px)!important;border:1px solid #e4e4c82a!important;z-index:40}.field-heading h2{font-size:38px!important;letter-spacing:-1.5px;margin:12px 0!important}.field-heading>p:last-child{font:11px 'Geist Mono',monospace;color:#cbd3c0;margin:14px 0 20px}.field-scroll{overflow:auto;padding-right:6px}.field-summary{display:grid;grid-template-columns:1.1fr 1fr;gap:34px;border-block:1px solid #fff2;padding:12px 0}.field-summary p{font-size:13px;line-height:1.7;margin:4px 0}.field-label{font:10px 'Geist Mono',monospace;text-transform:uppercase;letter-spacing:2px;margin:26px 0 14px;color:#d2d1b9}.field-goals{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:1px 28px;margin:0}.field-goals li{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #fff1;font-size:13px}.field-goals small,.field-species small{display:block;font-size:10px;font-weight:400;color:#b1c2af;margin-top:5px}.field-goals b{font:11px 'Geist Mono',monospace;opacity:.5}.field-goals .earned b{opacity:1;color:#d7c08a}.field-species{display:grid;grid-template-columns:1.3fr 1fr .8fr;gap:12px;padding:16px 0;border-bottom:1px solid #fff1;align-items:center;opacity:.55}.field-species.discovered{opacity:1}.field-num{font:9px 'Geist Mono',monospace;color:#ddd0a7;float:left;margin:5px 10px 24px 0}.field-species h3{font-size:13px;margin:0 0 5px}.field-species em{font-size:10px;opacity:.6}.field-species p{font-size:10px;line-height:1.8;margin:0;text-transform:capitalize}.field-species strong{font:12px 'Geist Mono',monospace;text-align:right}.field-footer{padding-top:20px;display:flex;justify-content:space-between;align-items:center;font-size:10px}.gm-catch{z-index:30;background:transparent!important;box-shadow:none!important;border:0!important}.gm-catch h2{font-family:Archivo,sans-serif!important;letter-spacing:-.04em!important;font-weight:650!important}.gm-catch-sci,.gm-catch-note{font-family:Archivo,sans-serif!important}.gm-catch-foot{flex-direction:column;gap:12px!important}.gm-catch-foot button{pointer-events:auto;padding:14px 28px}.gm-catch-foot>span{font-size:11px}.gm-stat .catch-water{font:20px Archivo,sans-serif;text-transform:capitalize}.gm-catch-stage{width:min(92vw,1200px,calc(42vh * 2.4))!important}.gm-catch-scrim{z-index:29}.tw-root:has(.gm-catch.is-on) .coast-header,.tw-root:has(.gm-catch.is-on) .gm-purse,.tw-root:has(.gm-catch.is-on) .coast-location,.tw-root:has(.gm-catch.is-on) .touch-controls{visibility:hidden}.tw-root:has(.gm-panel.is-open) .touch-controls{visibility:hidden}
.touch-controls{position:absolute;inset:0;pointer-events:none}#move-pad{position:absolute;bottom:34px;left:28px;width:110px;height:110px;border-radius:50%;border:1px solid #eef5dc55;background:#13333055;pointer-events:auto;touch-action:none;display:grid;place-items:center}#move-pad span{position:absolute;top:12px;font:8px 'Geist Mono',monospace;letter-spacing:2px;opacity:.5}#move-pad i{width:34px;height:34px;border-radius:50%;background:#e0e4ce60}.touch-actions{position:absolute;bottom:30px;right:24px;width:190px;display:flex;gap:7px;flex-wrap:wrap;justify-content:end}.touch-actions button{pointer-events:auto;touch-action:none;border:1px solid #d6e5c560;border-radius:24px;background:#17372c99;color:#f2f0de;padding:12px;font-size:11px;min-height:44px}#touch-cast{background:#dfe6cc;color:#14342d;padding:15px 22px}
@media(pointer:coarse){.gm-map{bottom:200px!important;width:98px!important;height:98px!important}.coast-location{bottom:185px;left:24px}.coast-prompt{bottom:165px;font-size:10px;max-width:90%;width:90%}.gm-fight{bottom:210px!important;width:280px!important}.gm-purse{font-size:10px!important}}
@media(max-width:640px){.coast-header{left:20px;right:20px;top:20px}.coast-brand{width:78px}.coast-header button{padding:10px}.coast-header kbd{display:none}.gm-purse{right:20px!important;top:83px!important;gap:10px!important}.coast-overlay{padding:36px 28px}.welcome-credit{right:28px;bottom:18px;font-size:9px}.welcome-copy h1{font-size:clamp(46px,14vw,64px);margin:24px 0}.field-heading h2{font-size:28px!important}.gm-panel{padding:20px!important}.field-summary{grid-template-columns:1fr;gap:10px}.field-goals{grid-template-columns:1fr}.field-species{grid-template-columns:1fr 90px}.field-species p{display:none}.field-species strong{font-size:10px}.field-footer{gap:12px}.field-footer .gm-btn{font-size:11px;padding:10px 15px}.gm-catch h2{font-size:36px!important}.gm-catch-note{font-size:13px!important}.gm-stat{padding:8px!important}.gm-stat .catch-water{font-size:14px}.gm-catch-stage{width:98vw!important}.coast-location{font-size:12px}}
@media(max-height:600px){.welcome-copy h1{font-size:clamp(46px,7.5vw,64px);margin:15px 0}.welcome-deck{font-size:15px}.welcome-hint{margin-top:12px}#load-status{margin-top:16px}.gm-catch{gap:5px!important}.gm-catch-stage{height:32vh!important;width:80vw!important}.gm-catch h2{font-size:32px!important}.gm-catch-foot{margin-top:6px!important}.gm-catch-note{margin-top:6px!important}.gm-stat{padding:6px 12px!important}.gm-stat i{display:none}.gm-catch-eyebrow{margin:0!important}.gm-catch-foot button{padding:9px 18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.gm-panel{border-radius:4px!important}.gm-catch-foot .gm-btn{border-radius:3px!important}

/* Keeper’s Reach: authored station, field notes, and chart. */
.coast-overlay{background:linear-gradient(90deg,#0b222dec 0%,#102b329c 43%,#102b3210 100%)}
.keeper-note{position:absolute;left:34px;top:125px;width:330px;display:flex;align-items:start;gap:10px;padding:14px 15px 15px 12px;border:1px solid #d8d2ad32;border-radius:3px;background:linear-gradient(125deg,#142f2ee8,#102625bd);box-shadow:0 8px 35px #061d1d20;color:#e8e7cf;text-align:left;pointer-events:auto;backdrop-filter:blur(12px)}
.keeper-note img{width:70px;height:64px;object-fit:contain;margin:20px 0 0 -3px;filter:drop-shadow(0 4px 5px #0005)}.keeper-note-copy{display:grid;gap:9px}.keeper-note .eyebrow{font-size:7px;line-height:1.7;letter-spacing:1px;color:#cdbb8f}.keeper-note strong{font-size:17px;font-weight:550;letter-spacing:-.4px;line-height:1.2}.keeper-note small{font:9px 'Geist Mono',monospace;color:#babfaa}.keeper-note-copy>span:last-child{font-size:11px;line-height:1.6;color:#ccd5c7}#survey-lights{display:block;font-size:11px;letter-spacing:5px;color:#f1c47d}
.reach-chart{position:absolute;right:34px;bottom:30px;width:210px;background:#183b37c9;border:1px solid #d7c69758;border-radius:3px;padding:10px;box-shadow:0 8px 40px #001a1d35;pointer-events:none}.reach-chart canvas{width:100%;display:block;border:1px solid #d9cca828;opacity:.93}.chart-heading{display:flex;justify-content:space-between;font:8px 'Geist Mono',monospace;letter-spacing:1.5px;padding:0 1px 8px;color:#e5d1a8}.chart-bearing{font:8px 'Geist Mono',monospace;color:#e5d1a8;line-height:1.6;padding-top:7px}
.survey-entry{display:flex;gap:17px;padding:18px 0;border-bottom:1px solid #d5dac423}.survey-entry>span{font:12px 'Geist Mono',monospace;color:#c1b587;padding-top:3px}.survey-entry h3{margin:0;font-size:17px;font-weight:550}.survey-entry p{font-size:12px;line-height:1.65;color:#c0cdbd;max-width:550px;margin:8px 0}.survey-entry small{font:9px 'Geist Mono',monospace;color:#bdc3ac}.survey-entry>b{margin-left:auto;color:#aab799}.survey-entry.active h3,.survey-entry.done>b{color:#ead29d}.survey-entry.active{border-left:2px solid #e0c28b;padding-left:12px}.tw-root:has(.gm-catch.is-on) .keeper-note,.tw-root:has(.gm-catch.is-on) .reach-chart,.tw-root:has(.gm-panel.is-open) .keeper-note,.tw-root:has(.gm-panel.is-open) .reach-chart{visibility:hidden}
@media(max-width:800px){.keeper-note{width:255px;left:20px;top:119px;padding:12px}.keeper-note img{width:46px;height:48px;margin-top:17px}.keeper-note strong{font-size:14px}.keeper-note-copy>span:last-child{display:none}.keeper-note-copy{gap:6px}.reach-chart{right:20px;width:160px;bottom:27px}.coast-prompt{bottom:95px;width:50%;font-size:10px}.coast-location{bottom:28px;max-width:48%}#location-name{font-size:17px}}
@media(pointer:coarse){.reach-chart{width:126px;bottom:196px;right:20px;padding:7px}.chart-bearing{font-size:7px}.keeper-note{top:118px}.coast-location{bottom:187px;left:24px}.coast-prompt{bottom:153px;width:90%;max-width:90%}}
@media(max-height:650px){.keeper-note{top:112px;width:255px;padding:10px}.keeper-note img,.keeper-note-copy>span:last-child{display:none}.reach-chart{width:145px}}

body:not(.playing) #coast-ui{visibility:hidden}

@media(max-width:800px){.coast-toast{top:232px;width:max-content;max-width:calc(100% - 40px);font-size:11px;padding:10px 14px}}
@media(max-height:650px){.coast-toast{top:207px}}

/* A specimen page in the Keeper's record. The live fish retains its own lighting. */
.gm-catch-top{width:min(1100px,90vw);align-items:flex-start!important;text-align:left;border-bottom:1px solid #d4c49b55;padding-bottom:18px}
.gm-catch-eyebrow{justify-content:flex-start!important;font:9px 'Geist Mono',monospace!important;letter-spacing:2px!important;color:#d7c69d!important;margin-bottom:16px!important}
.gm-catch h2{font-size:clamp(30px,4vw,62px)!important;font-weight:500!important;text-shadow:none!important}
.gm-catch-sci{font-family:Georgia,serif!important;margin-top:9px!important}
.gm-catch-stage{width:min(92vw,1200px,calc(42vh * 2.4))!important}
.gm-catch-bottom{width:min(1100px,90vw);display:grid!important;grid-template-columns:1fr auto;gap:14px 36px;border-top:1px solid #d4c49b55;padding-top:22px;text-align:left}
.gm-catch-stats{grid-column:1;grid-row:1;justify-content:flex-start!important;gap:0!important}
.gm-stat{background:transparent!important;border:0!important;border-right:1px solid #d4c49b40!important;border-radius:0!important;padding:0 30px!important;min-width:130px;box-shadow:none!important;text-align:left!important}
.gm-stat:first-child{padding-left:0!important}.gm-stat:last-child{border-right:0!important}.gm-stat>span{font:8px 'Geist Mono',monospace!important;letter-spacing:2px!important}.gm-stat>b{font:30px Archivo,sans-serif!important}.gm-stat>i{font:9px 'Geist Mono',monospace!important}.gm-stat .catch-water{font-size:23px!important}
.gm-catch-note{grid-column:1;grid-row:2;margin:0!important;font-size:12px!important;color:#c4cfc2!important}.gm-catch-foot{grid-column:2;grid-row:1/span 2;align-items:flex-end!important;margin:0!important}.gm-catch-foot>span{font-size:10px!important;color:#c4cfc2}.gm-splash{display:none}
@media(max-width:640px){.gm-catch-top{padding-bottom:13px}.gm-catch-eyebrow{font-size:7px!important;letter-spacing:1px!important;margin-bottom:12px!important}.gm-catch h2{font-size:34px!important}.gm-catch-bottom{display:flex!important;align-items:stretch!important;gap:14px;padding-top:15px}.gm-catch-stats{justify-content:space-between!important}.gm-stat{min-width:0;padding:0 13px!important}.gm-stat>b{font-size:24px!important}.gm-stat .catch-water{font-size:17px!important}.gm-catch-foot{align-items:stretch!important;text-align:center}.gm-catch-note{font-size:11px!important}.gm-catch-stage{width:98vw!important}}
@media(max-height:650px){.gm-catch-top{padding-bottom:9px}.gm-catch-eyebrow{margin-bottom:7px!important}.gm-catch h2{font-size:30px!important}.gm-catch-bottom{padding-top:12px;gap:8px 20px}.gm-catch-stage{width:min(78vw,calc(32vh * 2.4))!important}.gm-catch-foot>span{display:none}}

.field-footer .gm-btn{border-radius:3px!important}
.tw-root:has(.gm-catch.is-on) .coast-toast{visibility:hidden}

/* Keep all three controls reachable on the smallest phones. */
@media(max-width:380px){.coast-brand span{position:absolute;top:30px;font-size:8px;letter-spacing:2px}.coast-header nav{gap:6px}.coast-header button{font-size:11px;padding:10px 9px}}

/* Keep the entrance and collection link reachable on short landscape screens. */
@media(max-height:480px){.coast-overlay{display:block;overflow-y:auto;padding-block:24px}.welcome-copy h1{font-size:clamp(38px,7.5vw,52px)}.welcome-credit{position:static;display:block;margin-top:24px;text-align:right}}
/* Demo CREDIT from released catches: the HUD's paid-catches line and the catch card's pay stat. */
.gm-credit{font:10px 'Geist Mono',monospace;letter-spacing:.5px;color:#e6c788;white-space:nowrap}.gm-credit.is-paid{animation:gm-bump 420ms ease}.gm-stat.catch-pay b{color:#e6c788}
@media(max-width:640px){.gm-purse{flex-wrap:wrap;justify-content:flex-end;row-gap:5px!important;max-width:calc(100vw - 40px)}.gm-credit{flex-basis:100%;text-align:right}}

.catch-choices{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.gm-catch-foot .keep-fish{background:#233c3d;color:#e5dfc8;border:1px solid #8f9b85}.gm-catch-foot .keep-fish:disabled{opacity:.5;cursor:default}.gm-catch-foot>span{max-width:360px;line-height:1.5}.field-tabs{flex-wrap:wrap}@media(max-width:640px){.catch-choices{justify-content:center}.catch-choices .gm-btn{flex:1;padding:12px 10px;font-size:12px}}

/* One sprint toggle on either input layout; normal movement stays precise. */
.coast-sprint{position:absolute;left:34px;bottom:110px;pointer-events:auto;min-height:44px;padding:11px 16px;border:1px solid #ecead638;border-radius:3px;background:#172e34b8;backdrop-filter:blur(12px);color:inherit;font-size:12px}
.coast-sprint kbd{margin-left:12px;font:10px 'Geist Mono',monospace;opacity:.65}
#sprint-toggle[aria-pressed="true"]{background:#e6dfc8;color:#203a39;border-color:#e6dfc8}
#sprint-toggle[aria-pressed="true"]::before{content:'✓ ';}
.tw-root:has(.gm-catch.is-on) .coast-sprint,.tw-root:has(.gm-panel.is-open) .coast-sprint{visibility:hidden}
@media(max-width:640px){.coast-sprint{left:20px;bottom:110px}}

#boat-recovery{width:min(460px,calc(100vw - 40px));padding:32px;border:1px solid #e4e4c840;border-radius:6px;background:#142d2c;color:#f2f0e8;box-shadow:0 20px 80px #0008}
#boat-recovery::backdrop{background:#071c25b8;backdrop-filter:blur(7px)}
#boat-recovery h2{font-size:32px;line-height:1.1;font-weight:500;letter-spacing:-1px;margin:18px 0}
#boat-recovery p{font-size:14px;line-height:1.7;color:#cbd3c0}
#boat-recovery button{width:100%;min-height:48px;margin-top:18px;background:#e6dfc8;color:#203a39;border:0;border-radius:3px}

/* Match the active touch layout, including hybrid devices, and reserve room for all six actions. */
.touch-mode .touch-actions{display:grid;grid-template-columns:repeat(2,1fr);width:174px;right:16px}
.touch-mode .touch-actions button{padding:12px 8px}
.touch-mode .reach-chart{width:126px;bottom:232px;right:20px;padding:7px}
.touch-mode .chart-bearing{font-size:7px}
.touch-mode .coast-location{bottom:236px;left:24px;max-width:calc(100% - 175px)}
.touch-mode .coast-prompt{bottom:188px;width:90%;max-width:90%;font-size:10px}
@media(max-width:360px){.touch-mode .touch-actions{width:156px}}
.touch-mode #touch-cast{padding:12px 8px}
@media(max-width:420px){.touch-mode .coast-brand span{position:absolute;top:43px;font-size:8px;letter-spacing:2px}}
