:root{--ink:#153f46;--paper:#fff7df;--teal:#12695b;--teal-dark:#0d4f46;--mint:#bde7c6;--gold:#ffc44a;--coral:#ed7050;--edge:#a88d54;--home-background:radial-gradient(ellipse at 78% 12%, #ffdf85 0, transparent 38%), linear-gradient(160deg, #7cd9e6, #53cdd7 58%, #31bdc3);color:var(--ink);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#53cdd7;font-family:ui-rounded,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#game-root{width:100%;min-width:320px;height:100%;min-height:100%;margin:0;overflow:hidden}#game-root{isolation:isolate;background:#53cdd7;position:relative}#game-canvas,#game-canvas canvas{width:100%;height:100%;position:absolute;inset:0}.home-screen{z-index:1;background:var(--home-background);text-align:center;overscroll-behavior:contain;flex-direction:column;justify-content:flex-start;align-items:center;padding:1.5rem 1.25rem;display:flex;position:absolute;inset:0;overflow-y:auto}.home-content{flex:none;width:min(100%,560px);margin-block:auto}.home-content .home-sun,.home-content .home-actions{margin-inline:auto}.home-introduction{max-width:48ch;margin:1rem auto 0;font-size:.9rem;line-height:1.7}.home-development{margin-top:1rem;font-size:.78rem;line-height:1.6}.home-status{flex-wrap:wrap;justify-content:center;align-items:center;gap:.65rem;font-weight:650;display:flex}.home-development p{margin:.6rem 0 0}.home-page-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:1.5rem 0;display:grid}.home-page-link{border:1px solid var(--edge);background:var(--paper);min-height:48px;color:var(--ink);border-radius:16px;justify-content:center;align-items:center;padding:.75rem;font-size:.85rem;font-weight:600;line-height:1.5;text-decoration:none;display:flex}.home-page-link:nth-child(3){border-color:var(--coral)}.home-page-link:hover{background:#ffe8a4}.home-back-link{min-height:44px;color:var(--ink);text-underline-offset:3px;align-items:center;font-size:.85rem;display:inline-flex}.home-page-link:focus-visible,.home-back-link:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:12px}.home-section h2:focus{outline:none}.playable-note{color:var(--ink);font-weight:650}.home-sections{text-align:left}.home-section{padding:1.5rem 0}.home-section h2{margin:0 0 .7rem;font-size:1.25rem;font-weight:650;line-height:1.4}.home-section p{margin:.75rem 0 0;font-size:.9rem;line-height:1.7}.section-status{color:var(--ink);font-weight:650}.planned-badge{border:1px solid var(--edge);background:var(--paper);border-radius:999px;padding:.2rem .65rem;font-size:.75rem;display:inline-block}.country-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1rem 0;padding:0;list-style:none;display:grid}.country-grid li{border:1px solid var(--edge);background:var(--paper);text-align:center;overflow-wrap:anywhere;border-radius:16px;justify-content:center;align-items:center;min-height:48px;padding:.65rem;font-size:.85rem;font-weight:600;display:flex}.ai-grid,.roadmap-grid{gap:.75rem;margin-top:1rem;display:grid}.home-card{border:1px solid var(--edge);background:var(--paper);border-radius:18px;min-width:0;padding:1rem}.home-card h3{margin:0;font-size:.95rem;line-height:1.5}.home-card p,.home-card li{font-size:.85rem;line-height:1.7}.home-card ul{margin:.6rem 0 0;padding-inline-start:1.2rem}.home-card li+li{margin-top:.3rem}.home-section .home-detail-note{border-top:1px solid var(--edge);padding-top:.75rem;font-size:.8rem}.home-footer{border-top:1px solid var(--edge);margin-top:.5rem;padding:1.25rem 0 .5rem;font-size:.75rem;line-height:1.7}.home-footer p{margin:.4rem 0}.home-footer a{color:var(--ink);text-underline-offset:3px}.home-footer a:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:3px}@media (width>=600px){.roadmap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.roadmap-grid .home-card:last-child{grid-column:1/-1}}@media (width<=380px){.country-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}#game-canvas canvas{touch-action:none}[hidden]{display:none!important}.home-sun{background:var(--gold);border-radius:50%;width:56px;height:56px;margin-bottom:1.25rem;box-shadow:0 0 0 12px #ffc44a45,0 0 0 25px #ffc44a22}.home-actions{width:min(100%,280px);margin-top:1.5rem}.home-actions .google-button{margin-top:.85rem}.secondary-button{background:var(--paper);color:var(--teal);box-shadow:0 3px 0 var(--edge);margin-top:.85rem}.secondary-button:hover:enabled{background:var(--paper)}.settings-screen{border:1px solid var(--edge);background:var(--paper);width:min(420px,100% - 2rem);max-height:calc(100dvh - 2rem);color:var(--teal);border-radius:24px;padding:clamp(1.2rem,4vw,2rem);overflow-y:auto;box-shadow:0 18px 65px #143b3540}.settings-screen::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#173d3566}.settings-screen h2{margin:0 0 1.3rem;font-size:1.6rem}.settings-screen fieldset{border:1px solid #a5bd91;border-radius:15px;margin:0 0 1.4rem;padding:1rem}.settings-screen legend{padding:0 .4rem;font-weight:650}.settings-screen label{margin-bottom:.4rem;font-size:.85rem;display:block}.settings-screen select{border:1px solid var(--edge);background:var(--paper);width:100%;color:var(--teal);font:inherit;border-radius:10px;padding:.7rem}.settings-screen :focus-visible{outline:3px solid var(--ink);outline-offset:3px}.settings-hint{text-align:center;font-size:.8rem}.settings-screen .settings-toggle{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin:0;display:flex}.settings-toggle input{width:24px;height:24px;accent-color:var(--teal);flex-shrink:0;margin:10px 0}.settings-screen #settings-back{margin-top:.3rem}@media (width<=600px){.settings-screen #customize-controls+#wind-debug-settings{margin-top:1rem}}.chest-notice{text-align:center;width:min(340px,100% - 2rem)}.chest-notice-icon{margin:0 auto 1rem;display:block}.chest-notice h2{margin-bottom:.7rem}.chest-notice p{margin:0 0 1.5rem;line-height:1.6}.game-version{background:var(--paper);color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:.04em;border:1px solid #ffffffa8;border-radius:999px;padding:.35rem .7rem;font-size:.72rem}.loading-status{min-height:2.5em;margin:0 0 .75rem;font-size:.85rem}progress{width:100%;height:6px;accent-color:var(--teal);background:#75aea52b;border:0;border-radius:8px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#75aea52b}progress::-webkit-progress-value{background:var(--teal);border-radius:8px}progress::-moz-progress-bar{background:var(--teal)}button{background:var(--teal);width:100%;color:var(--paper);font:inherit;cursor:pointer;box-shadow:0 4px 0 var(--teal-dark);border:0;border-radius:30px;margin-top:1.5rem;padding:1rem 1.5rem;font-weight:600;transition:background .15s,transform .15s}button:hover:enabled{background:var(--teal-dark);transform:translateY(-2px)}button:disabled{color:var(--ink);box-shadow:none;cursor:wait;background:#a1c4b5}button:focus-visible{outline:3px solid var(--ink);outline-offset:5px}#start-button:enabled{background:var(--gold);color:var(--ink);font-weight:750;box-shadow:0 4px #b47d25}#start-button:hover:enabled{background:#ffd574}.eyebrow{color:var(--ink);letter-spacing:.24em;margin:0 0 .35rem;font-size:.68rem;font-weight:700}h1{color:var(--ink);letter-spacing:.015em;text-shadow:0 3px #fff7df80;margin:0;font-family:ui-rounded,system-ui,sans-serif;font-size:clamp(3.5rem,10vw,6.5rem);font-weight:750;line-height:1}.tagline{color:var(--ink);margin:1rem 0 0;font-family:ui-rounded,system-ui,sans-serif;font-size:clamp(.95rem,2.5vw,1.2rem)}.sea-label{z-index:1;left:max(16px, env(safe-area-inset-left,0px));top:max(16px, env(safe-area-inset-top,0px));max-width:min(320px,100% - 32px);color:var(--ink);text-shadow:0 1px 2px var(--paper), 0 0 4px var(--paper);pointer-events:auto;margin:0;position:absolute}.sea-label .eyebrow{margin:0 0 .2rem;font-size:.6rem}.sea-label h2{color:var(--ink);outline:none;margin:0;font-size:1.25rem;line-height:1.2}.sea-label>p:last-child{margin:.35rem 0 0;font-size:.8rem;line-height:1.35}.game-hud{z-index:2;pointer-events:auto;filter:drop-shadow(0 5px 8px #14413f26);position:absolute;top:clamp(1rem,3vw,2rem);right:clamp(1rem,3vw,2rem)}.instrument-row{gap:.5rem;display:flex}.instrument-row>svg{width:138px;height:138px}.dial-rim{fill:var(--gold);stroke:var(--edge);stroke-width:1px}.dial-face{fill:var(--paper);stroke:#eee2bf;stroke-width:2px}.dial-tick,.dial-unit,.dial-value,.dial-cardinal{text-anchor:middle;fill:var(--ink);font-family:inherit}.dial-tick{font-size:10px;font-weight:500}.dial-unit{font-size:10px}.dial-value{font-variant-numeric:tabular-nums;font-size:23px;font-weight:650}.dial-cardinal{font-size:13px;font-weight:650}.dial-cardinal.north{fill:#b84e32}.instrument-pointer{transform-box:view-box;transform-origin:50%;transition:transform .12s linear,opacity .18s linear}.compass-legend{color:var(--ink);background:var(--paper);text-align:center;border-radius:8px;margin-top:2px;padding:3px 6px;font-size:10px}.clock-badge{border:1px solid var(--edge);background:var(--paper);font-variant-numeric:tabular-nums;width:max-content;color:var(--ink);border-radius:24px;justify-content:center;align-items:center;gap:6px;margin:.5rem auto 0;padding:6px 15px;font-size:.85rem;font-weight:600;display:flex}.clock-badge svg{fill:none;width:17px;height:17px;stroke:var(--teal);stroke-width:1.5px;stroke-linecap:round}.clock-divider{background:#d4d1b5;width:1px;height:12px;margin:0 3px}@media (width<=600px){.game-hud{top:auto;bottom:16px;right:12px}.instrument-row{gap:3px}.instrument-row>svg{width:100px;height:100px}.clock-badge{margin-top:4px;padding:4px 11px;font-size:.75rem}}@media (prefers-reduced-motion:reduce){.instrument-pointer{transition:none}}.wind-debug{width:100%;margin:0 0 1rem}.wind-debug button{width:auto;box-shadow:none;border-radius:12px;margin:0;padding:7px 12px;font-size:.8rem}.debug-toggle{border:1px solid var(--edge)}.debug-panel{background:#f6f0df;border:1px solid #b6aa83;border-radius:12px;width:100%;margin-top:12px;padding:12px}.debug-heading{justify-content:space-between;margin-bottom:14px;font-size:.9rem;display:flex}.debug-heading span{color:var(--teal);font-size:.75rem}.debug-panel label{margin-top:12px;font-size:.8rem;display:block}.debug-panel output{font-variant-numeric:tabular-nums;font-weight:700}.debug-panel input{width:100%;accent-color:var(--teal);margin:10px 0}.debug-presets{gap:4px;display:flex}.debug-presets button{background:var(--mint);color:var(--ink);flex:1;padding:7px 0}.debug-presets button:hover:enabled{background:var(--mint)}.debug-panel p{color:var(--teal);margin:14px 0 10px;font-size:.72rem;line-height:1.5}.debug-panel>button{width:100%;margin-top:6px;display:block}.debug-panel>[data-auto]{color:var(--ink);background:var(--mint)}@media (height<=520px){.game-hud{top:12px;bottom:auto;right:12px}.instrument-row>svg{width:100px;height:100px}.clock-badge{padding:4px 11px;font-size:.75rem}.home-sun{width:36px;height:36px;margin-bottom:1rem}.home-actions{margin-top:1rem}h1{font-size:3.5rem}}.region-label{text-align:left;margin-bottom:6px;font-size:.85rem;display:block}#start-region{border:1px solid var(--edge);background:var(--paper);width:100%;color:var(--ink);font:inherit;border-radius:12px;padding:10px 12px}.location-button{background:var(--mint);color:var(--ink);box-shadow:none;border:1px solid var(--edge);margin-top:10px;padding:10px 14px}.location-button:hover:enabled{background:var(--mint)}.google-button{color:#1f1f1f;min-height:48px;box-shadow:none;letter-spacing:.25px;background:#fff;border:1px solid #747775;border-radius:999px;justify-content:center;align-items:center;gap:12px;margin-top:10px;padding:0 16px;font-family:Google Sans,Roboto,Arial,sans-serif;font-size:14px;font-weight:500;line-height:20px;display:inline-flex}.google-button img{flex:0 0 20px;width:20px;height:20px;display:block}.google-button:hover:enabled{color:#1f1f1f;background:#f8faff;transform:none;box-shadow:0 1px 2px #0002}.google-button:disabled{color:#5f6368;box-shadow:none;opacity:.65;background:#fff}.location-status{min-height:2.5em;margin:12px 0;font-size:.75rem}.navigation-notice{z-index:2;background:var(--paper);border-radius:12px;max-width:min(360px,100% - 40px);padding:10px 14px;font-size:.8rem;position:absolute;top:110px;left:20px}.navigation-notice p{margin:0}.navigation-notice button{box-shadow:none;margin-top:8px;padding:8px 10px}@media (height<=740px){.home-screen{padding:1rem;overflow-y:auto}.home-sun{width:36px;height:36px;margin-bottom:1rem}.home-actions{margin-top:1.2rem}#start-button{margin-top:.75rem}}.minimap{z-index:2;right:clamp(1rem,3vw,2rem);bottom:max(16px, env(safe-area-inset-bottom,0px));border:1px solid var(--paper);background:var(--paper);width:264px;color:var(--ink);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:16px;padding:10px;position:absolute}.map-heading{justify-content:space-between;align-items:center;gap:8px;font-size:.7rem;display:flex}.map-heading>div{gap:4px;display:flex}.map-heading button{width:auto;box-shadow:none;color:var(--ink);background:#d9eee0;border-radius:8px;margin:0;padding:4px 8px;font-size:.7rem}.map-heading button[aria-pressed=true]{background:var(--gold)}.map-heading button:hover:enabled{background:var(--mint)}.map-heading button[aria-pressed=true]:hover:enabled{background:#ffd574}.minimap canvas{width:100%;height:auto;margin-top:6px;display:block}@media (width<=600px){.minimap{width:190px;padding:8px;top:164px;bottom:auto;right:12px}.map-heading{gap:4px;font-size:.62rem}.map-heading button{padding:4px 6px;font-size:.65rem}}@media (height<=520px){.minimap{width:210px;top:auto;bottom:12px}}.display-controls{z-index:4;top:max(12px, env(safe-area-inset-top,0px));right:max(12px, env(safe-area-inset-right,0px));gap:8px;max-width:calc(100% - 24px);display:flex;position:absolute}.display-controls select,.display-controls button{border:1px solid var(--edge);background:var(--paper);width:auto;min-width:44px;min-height:44px;color:var(--ink);font:inherit;box-shadow:none;border-radius:12px;margin:0;padding:8px 12px;font-size:.8rem}.display-controls select:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.display-controls select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23153f46' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:12px 8px;padding-right:36px}@media (forced-colors:active){.display-controls select{appearance:auto;background-image:none;padding-right:12px}}.map-heading button{min-width:44px;min-height:44px}.map-heading{flex-wrap:wrap}@media (width>=601px){.game-hud{top:max(68px, calc(env(safe-area-inset-top,0px) + 56px))}}@media (width<=600px){.sea-label{top:max(68px, calc(env(safe-area-inset-top,0px) + 68px));left:max(12px, env(safe-area-inset-left,0px));max-width:calc(100% - 24px)}.navigation-notice{max-width:calc(100% - 24px);top:164px;left:12px}.minimap{top:auto;bottom:max(164px, calc(env(safe-area-inset-bottom,0px) + 164px));right:max(12px, env(safe-area-inset-right,0px))}}.display-controls button:hover:enabled{background:var(--mint);transform:none}.sea-overlays,.fishing-dock{display:contents}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.reel-control{z-index:4;right:max(12px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom));background:var(--paper);border:1px solid var(--edge);width:154px;color:var(--ink);text-align:center;border-radius:16px;padding:8px;position:absolute}.reel-control [data-reel-drum]{touch-action:none;-webkit-user-select:none;user-select:none;background:var(--mint);border-radius:50%;width:84px;height:84px;margin:0 auto;padding:6px;box-shadow:inset 0 2px 6px #315d5933}.reel-control img{pointer-events:none;display:block}.reel-readout{font-variant-numeric:tabular-nums;margin-top:8px;font-size:.8rem}.reel-control p{margin:4px 0 0;font-size:.7rem}@media (width<=600px) and (height>=521px){.reel-control{bottom:max(180px, calc(env(safe-area-inset-bottom) + 180px))}}@media (width>=601px) and (height>=521px){.reel-control{bottom:250px}}@media (height<=520px) and (width>=480px){#game-root:has(#minimap:not([hidden])) .reel-control{right:calc(clamp(1rem,3vw,2rem) + 222px)}}@media (width<=600px) and (height>=521px){.sea-label{top:max(12px, env(safe-area-inset-top,0px));max-width:calc(100% - 190px)}}.fishing-controls{z-index:3;left:max(16px, env(safe-area-inset-left,0px));bottom:max(68px, calc(env(safe-area-inset-bottom,0px) + 68px));border:1px solid var(--edge);background:var(--paper);width:max-content;max-width:calc(100% - 24px);color:var(--ink);border-radius:16px;padding:7px;position:absolute;box-shadow:0 4px 16px #143f3f18}.tool-actions{flex-wrap:nowrap;gap:8px;display:flex}.toolbar-placement{justify-content:space-between;display:flex}.toolbar-placement button{height:28px;min-height:28px;color:var(--ink);box-shadow:none;background:0 0;margin:0 0 4px;padding:0 12px;font-size:1.2rem}.toolbar-placement button:hover:enabled{background:var(--mint)}.toolbar-placement [data-toolbar-drag]{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;flex:1}.line-readout{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:5px 5px 0;font-size:.75rem;line-height:1.5}.tool-actions button{width:48px;height:48px;min-height:48px;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:11px;flex-shrink:0;margin:0;padding:5px}.tool-actions img,.tool-actions svg{pointer-events:none;-webkit-user-select:none;user-select:none;width:36px;height:36px;display:block}.tool-actions [data-camera-reset]{color:var(--ink)}.tool-actions button:hover:enabled{background:var(--mint);transform:none}.tool-actions button:disabled{opacity:1;cursor:default;background:var(--mint);border-color:var(--teal)}.tool-actions button:disabled img{opacity:.65}.tool-actions button:focus-visible{outline:3px solid var(--ink);outline-offset:2px}@media (width<=600px){.fishing-controls{top:150px;bottom:auto;left:12px}}@media (height<=520px){.fishing-controls{top:96px;bottom:auto}}@media (height<=520px) and (width>=480px){.sea-label{max-width:calc(100% - 250px);top:12px}.game-hud{top:auto;bottom:max(56px, calc(env(safe-area-inset-bottom,0px) + 56px));left:12px;right:auto}.minimap{top:auto;bottom:max(12px, env(safe-area-inset-bottom,0px))}.navigation-notice{max-width:calc(100% - 248px);top:68px;left:236px}}@media (height<=520px) and (width<=479px){.game-hud{top:auto;bottom:16px}.minimap{width:190px;top:164px;bottom:auto}.minimap canvas{width:auto;max-width:100%;max-height:64px;margin-inline:auto}}@media (width<=600px) and (height>=521px),(width<=479px){.sea-overlays{z-index:3;max-height:calc(100dvh - 314px - env(safe-area-inset-bottom,0px));overscroll-behavior:contain;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:absolute;top:150px;left:12px;right:12px;overflow-y:auto}.sea-overlays>:not([hidden]){pointer-events:auto;flex-shrink:0;max-width:100%;position:static}.sea-overlays .navigation-notice{width:100%}.sea-overlays .fishing-controls{pointer-events:auto;flex-shrink:0;width:max-content;max-width:100%;position:static}.sea-overlays .reel-control{pointer-events:auto;position:fixed}.sea-overlays .minimap{align-self:flex-end}}.fishing-setup{max-width:220px;padding:5px}.fishing-setup p{margin:4px 0;font-size:.7rem;line-height:1.4}.fishing-setup label{margin:5px 0 2px;font-size:.75rem;display:block}.fishing-setup select{border:1px solid var(--teal);background:var(--paper);width:100%;min-height:36px;color:var(--ink);border-radius:8px;padding:4px 8px}.fishing-setup select:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.fishing-notice{max-width:220px;margin:5px 0 0;padding:6px;font-size:.8rem;font-weight:600;line-height:1.4}.reel-control[data-load=danger] [data-reel-drum]{background:#ffb59b;box-shadow:inset 0 0 0 3px #b84e32}.reel-control[data-load=loose] [data-reel-drum]{background:#d4dce3;box-shadow:inset 0 0 0 3px #7b98ad}.reel-control[data-load=steady] [data-reel-drum]{background:var(--mint)}@media (height<=520px){.fishing-setup p{display:none}.fishing-setup label{display:inline-block}.fishing-setup select{min-height:30px}}@media (height<=520px) and (width>=480px){.game-hud{top:12px;bottom:auto;left:auto;right:max(12px, env(safe-area-inset-right,0px));transform-origin:100% 0;transform:scale(.65)}}@media (width<=600px) and (height>=521px){#game-root:has(#reel-control:not([hidden])) .sea-overlays{max-height:calc(100dvh - 530px - env(safe-area-inset-bottom,0px))}}.backpack-screen{width:min(840px,100% - 1.25rem);padding:clamp(1rem,3vw,1.6rem)}.backpack-screen[open]{grid-template-rows:auto minmax(0,1fr);gap:1.3rem;height:min(620px,100dvh - 2rem);display:grid;overflow:hidden}.backpack-header{align-items:center;gap:.8rem;margin-bottom:0;display:flex}.backpack-header>div{flex:1;min-width:0}.backpack-header h2{margin:0 0 .2rem;font-size:1.45rem}.backpack-header p{margin:0;font-size:.85rem}.backpack-close{width:auto;min-width:44px;min-height:44px;margin:0;padding:.65rem;font-size:.9rem}.backpack-layout{grid-template-rows:minmax(0,1fr) minmax(0,1fr);grid-template-columns:minmax(0,1fr);align-items:stretch;gap:1rem;min-height:0;display:grid}.inventory-grid{grid-template-columns:repeat(auto-fit,minmax(64px,1fr));grid-auto-rows:max-content;align-content:start;gap:.55rem;min-height:0;padding:5px;display:grid;overflow-y:auto}.inventory-slot{aspect-ratio:1;border:2px solid var(--edge);background:#d9eee0;border-radius:14px;place-items:center;width:100%;min-width:44px;min-height:64px;margin:0;padding:.45rem;display:grid;position:relative;box-shadow:inset 0 2px 4px #80976b20,0 2px #c2c9aa}.inventory-slot:disabled{opacity:1;background:#eee9d7;border-style:dashed;box-shadow:inset 0 2px 4px #80976b12}.inventory-slot:disabled:after{content:"";opacity:.5;background:#b9c3a3;border-radius:50%;width:9px;height:9px}.inventory-slot img{pointer-events:none;width:100%;max-width:62px;height:100%;max-height:62px}.inventory-slot:hover:enabled{background:#ffe8a4}.inventory-slot[aria-pressed=true]{border-color:var(--ink);background:var(--gold);box-shadow:0 0 0 2px #d79628, 0 3px 0 var(--edge)}.inventory-slot:focus-visible,.inventory-actions button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.inventory-equipped{border:2px solid var(--paper);background:var(--teal);width:24px;height:24px;color:var(--paper);pointer-events:none;border-radius:50%;place-items:center;font-size:.9rem;font-weight:800;display:grid;position:absolute;bottom:-4px;right:-4px}.inventory-detail{border:1px solid var(--edge);background:var(--paper);overflow-wrap:anywhere;border-radius:18px;min-width:0;min-height:0;padding:1rem;overflow-y:auto}.inventory-empty-detail{color:var(--ink);margin:.7rem 0;line-height:1.6}.inventory-item-heading{align-items:center;gap:.8rem;display:flex}.inventory-item-heading img{flex:0 0 52px;width:52px;height:52px}.inventory-item-heading h3{margin:0;font-size:1.2rem}.inventory-stats{margin:1rem 0}.inventory-stat{border-bottom:1px solid #e3e3cd;justify-content:space-between;align-items:baseline;gap:.8rem;padding:.4rem 0;font-size:.9rem;display:flex}.inventory-stat dt{color:var(--ink)}.inventory-stat dd{text-align:right;margin:0;font-weight:650}.inventory-note{color:var(--ink);margin:.65rem 0;font-size:.8rem;line-height:1.5}.inventory-confirm{font-weight:650;line-height:1.5}.inventory-actions{flex-wrap:wrap;gap:.6rem;margin-top:1rem;display:flex}.inventory-actions button{flex:1;min-width:90px;min-height:44px;margin:0;padding:.7rem .8rem;font-size:.95rem}.inventory-actions [data-inventory-action=DROP],.inventory-actions [data-inventory-action=CONFIRM]{background:var(--gold);color:var(--ink);box-shadow:0 3px 0 var(--edge)}.inventory-actions [data-inventory-action=DROP]:hover:enabled,.inventory-actions [data-inventory-action=CONFIRM]:hover:enabled{background:#ffd574}.equipped-setup{flex-wrap:wrap;gap:.4rem;margin:.4rem 0;display:flex}.equipped-gear{align-content:start;place-items:center;width:40px;height:56px;display:grid;position:relative}.equipment-tier{clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);background:var(--ink);min-width:22px;height:17px;color:var(--paper);pointer-events:none;justify-content:center;align-items:center;gap:2px;padding:0 3px 3px;font-size:10px;font-weight:800;line-height:1;display:flex;position:absolute;bottom:3px;left:3px}.equipped-gear .equipment-tier{bottom:0;left:50%;transform:translate(-50%)}.equipment-tier:before{content:"★";color:var(--gold);font-size:6px}@media (width>=720px){.backpack-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:1.5rem}}@media (width<=370px){.inventory-grid{grid-template-columns:repeat(auto-fit,minmax(54px,1fr));gap:.45rem}.inventory-slot{min-height:54px}.backpack-header{gap:.4rem}.backpack-header>img{width:36px;height:36px}}@media (width>=900px) and (height>=521px) and (pointer:fine){.fishing-dock{z-index:4;left:max(16px, env(safe-area-inset-left,0px));bottom:max(68px, calc(env(safe-area-inset-bottom,0px) + 68px));pointer-events:none;align-items:flex-end;gap:12px;display:flex;position:absolute}.fishing-dock>.fishing-controls{max-width:none}.fishing-dock>.fishing-controls,.fishing-dock>.reel-control{pointer-events:auto;flex-shrink:0;position:static}}@media (width>=720px){.backpack-screen[open]{height:min(480px,100dvh - 2rem)}}.fish-debug-panel{z-index:5;top:max(150px, env(safe-area-inset-top,0px));left:max(12px, env(safe-area-inset-left,0px));overscroll-behavior:contain;border:1px solid var(--edge);background:var(--paper);width:min(310px,100vw - 24px);max-height:min(360px,38dvh);color:var(--ink);pointer-events:auto;border-radius:12px;padding:8px;font-size:.7rem;position:fixed;overflow:auto}.fish-debug-panel summary{cursor:pointer;align-content:center;min-height:44px;font-weight:700}.fish-debug-panel p{margin:4px 0 8px;font-size:.65rem;line-height:1.4}.fish-debug-panel dl{margin:0}.fish-debug-panel dl>div{border-top:1px solid #d3ddc7;flex-wrap:wrap;justify-content:space-between;gap:2px 8px;padding:4px 0;display:flex}.fish-debug-panel dt{max-width:65%}.fish-debug-panel dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0}.fish-debug-panel summary:focus-visible{outline:3px solid var(--ink);outline-offset:1px}@media (width<=600px) and (height>=521px){.fish-debug-panel{width:calc(100vw - 190px);max-height:35dvh}}@media (height<=520px){.fish-debug-panel{top:max(80px, env(safe-area-inset-top,0px));width:min(250px,100vw - 190px);max-height:calc(100dvh - 100px)}}.reel-control{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}.reel-placement{justify-content:space-between;gap:4px;margin-bottom:4px;display:flex}.reel-placement:has([data-reel-drag][hidden]){display:none}.reel-placement button{width:44px;min-width:44px;min-height:44px;box-shadow:none;color:var(--teal);background:0 0;border:0;margin:0;padding:4px;font-size:.9rem}.reel-placement button:hover:enabled{background:var(--mint)}.reel-placement [data-reel-drag]{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;flex:0 0 44px}.reel-placement [data-reel-drag]:active{cursor:grabbing}.reel-placement button:focus-visible{outline:3px solid var(--ink);outline-offset:2px}@media (width<=600px) and (height>=521px),(width<=479px){.sea-overlays>.fish-debug-panel{width:calc(100vw - 190px);max-height:min(220px,35dvh);position:static}#game-root:has(#fish-debug-panel:not([hidden])) .sea-overlays{max-height:calc(100dvh - 350px - env(safe-area-inset-bottom,0px))}}@media (width>=640px) and (height<=520px){.fish-debug-panel{left:max(260px,50vw - 125px);top:max(12px, env(safe-area-inset-top,0px));width:min(250px,100vw - 450px);max-height:calc(100dvh - 24px)}}body.information-page{height:auto;min-height:100dvh;overflow:auto}html:has(.information-page){height:auto;min-height:100dvh;overflow:auto}.information-page{background:var(--home-background);background-attachment:fixed;min-height:100dvh}.information-shell{width:min(100%,600px);margin-inline:auto;padding:1.5rem 1.25rem}.information-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.information-brand{color:var(--ink);font-size:1.5rem;text-decoration:none}.page-languages{flex-wrap:wrap;gap:.5rem;display:flex}.page-languages a{min-height:44px;color:var(--ink);text-underline-offset:3px;border-radius:12px;align-items:center;padding:.4rem .6rem;font-size:.8rem;display:inline-flex}.page-languages a[aria-current=page]{background:var(--gold);font-weight:650;text-decoration:none}.information-header a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.information-page .home-section h1{color:var(--ink);letter-spacing:normal;text-shadow:none;margin:0 0 1rem;font-size:clamp(1.5rem,5vw,2rem);font-weight:650;line-height:1.4}.fishing-controls [data-toolbar-toggle]{flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:0;font-size:1.8rem}.fishing-controls [data-toolbar-toggle]:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.fishing-controls [data-toolbar-toggle] span{display:block}.fishing-dock[data-toolbar-collapsed=true] [data-toolbar-toggle] span{transform:rotate(180deg)}.fishing-dock[data-mobile-toolbar=true] .toolbar-placement{align-items:center}.fishing-dock[data-mobile-toolbar=true] .toolbar-content{width:216px;max-width:100%;transition:width .18s;overflow:hidden}.fishing-dock[data-mobile-toolbar=true] .fishing-setup,.fishing-dock[data-mobile-toolbar=true] .line-readout{display:none}.fishing-dock[data-toolbar-collapsed=true] .toolbar-content{width:0;height:0}.fishing-dock[data-toolbar-collapsed=true] .toolbar-placement{justify-content:flex-start}@media (prefers-reduced-motion:reduce){.fishing-dock .toolbar-content{transition:none}}.music-settings input[type=range]{width:100%;min-height:44px;accent-color:var(--teal);margin:0}.music-status{overflow-wrap:anywhere;font-size:.85rem;line-height:1.5}.music-settings .secondary-button{margin-top:.4rem}#game-root #minimap{top:auto;bottom:max(12px, env(safe-area-inset-bottom,0px));right:max(12px, env(safe-area-inset-right,0px));position:absolute}[data-map-toggle]{width:44px;height:44px;min-height:44px;box-shadow:none;background:var(--mint);color:var(--ink);flex:0 0 44px;margin:0;padding:0;font-size:1.5rem}[data-map-toggle]:hover:enabled{background:var(--gold)}#minimap[data-map-mobile=true]{flex-direction:row-reverse;align-items:flex-start;gap:6px;width:190px;display:flex}#minimap[data-map-mobile=true][hidden]{display:none}#minimap[data-map-mobile=true] [data-map-content]{flex:1;min-width:0}#minimap[data-map-mobile=true] .map-heading{flex-direction:column;align-items:flex-start}#minimap[data-map-collapsed=true]{width:max-content}#minimap[data-map-collapsed=true] [data-map-toggle] span{display:block;transform:rotate(180deg)}#game-root:has(#minimap:not([hidden])) .reel-control{bottom:calc(var(--map-panel-height,200px) + 24px + env(safe-area-inset-bottom,0px))}@media (width<=600px),(height<=520px){#game-root .game-hud{top:max(12px, env(safe-area-inset-top,0px));right:max(12px, env(safe-area-inset-right,0px));bottom:auto;left:auto;transform:none}#game-root .game-hud .instrument-row>svg{width:78px;height:78px}#game-root .game-hud .clock-badge{margin-top:4px;padding:4px 10px}#game-root .game-hud .compass-legend{font-size:9px}#game-root #minimap canvas{width:100%;height:auto;max-height:none}#game-root .reel-control{bottom:max(12px, env(safe-area-inset-bottom,0px))}}@media (height<=520px) and (width>=480px){#game-root:has(#minimap:not([hidden])) .reel-control{bottom:max(12px, env(safe-area-inset-bottom,0px));right:calc(24px + var(--map-panel-width,228px) + env(safe-area-inset-right,0px))}#game-root:has(#minimap[data-map-collapsed=true]){--map-panel-width:62px}}@media (height<=340px) and (width>=480px){#game-root #minimap canvas{width:auto;max-width:100%;height:auto;max-height:48px;margin-inline:auto}#game-root .fishing-controls{top:78px}#game-root .reel-control:not([hidden]){grid-template-columns:44px 1fr;align-items:center;display:grid}#game-root .reel-placement{flex-direction:column;grid-row:1/3;margin-bottom:0}#game-root .reel-control [data-reel-drum]{width:76px;height:76px}#game-root .reel-control [data-reel-drum] img{width:64px;height:64px}#game-root .reel-readout{margin-top:0}#game-root .reel-control [data-reel-hint]{display:none}}.mobile-menu-back{display:none}.mobile-map-screen,.mobile-menu-screen{color:var(--ink);background:var(--paper)}.mobile-sheet-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-sheet-header h2{margin:0;font-size:1.2rem}.mobile-sheet-header button,.mobile-map-actions button{min-height:44px;margin:0;padding:8px 12px;font-size:.85rem}.mobile-menu-destinations{gap:12px;margin-top:20px;display:grid}.mobile-fishing-alert{background:var(--gold);border-radius:14px;margin-top:12px;padding:8px 12px;position:sticky;bottom:0}.mobile-fishing-alert p{margin:0 0 6px;font-size:.85rem}.mobile-fishing-alert button{min-height:44px;margin:0;font-size:.85rem}.mobile-fishing-alert[hidden]{display:none}.mobile-map-screen[open]{width:100vw;max-width:none;height:100dvh;max-height:none;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));border:0;border-radius:0;flex-direction:column;margin:0;display:flex;overflow:hidden}.mobile-map-surface{flex:1;min-height:0;margin-block:12px;display:flex}#game-root #minimap[data-fullscreen-map=true]{background:0 0;border:0;border-radius:0;width:100%;padding:0;display:block;position:static}#game-root #minimap[data-fullscreen-map=true][hidden],#minimap[data-fullscreen-map=true] [data-map-toggle]{display:none}#minimap[data-fullscreen-map=true] [data-map-content]{flex-direction:column;width:100%;height:100%;display:flex}#minimap[data-fullscreen-map=true] .map-heading{flex-flow:wrap;flex:none;gap:8px}#game-root #minimap[data-fullscreen-map=true] canvas{touch-action:none;background:var(--teal);border-radius:16px;flex:1;width:100%;height:100%;min-height:0;max-height:none;display:block}.mobile-map-actions{flex-wrap:wrap;gap:8px;display:flex}:is(body:has(#mobile-map-screen[open]),body:has([data-mobile-sheet=true][open])){overflow:hidden}[data-mobile-sheet=true][open]{width:100%;max-width:600px;max-height:calc(100dvh - max(12px, env(safe-area-inset-top)));height:auto;padding:20px max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));overscroll-behavior:contain;border-radius:24px 24px 0 0;margin:0 auto;position:fixed;inset:auto 0 0;overflow:auto}[data-mobile-sheet=true] .mobile-menu-back{width:auto;min-height:44px;margin:0 0 12px;padding:8px 12px;font-size:.85rem;display:block}@media (width<=600px),(height<=520px){#game-root .sea-overlays{pointer-events:none}#game-root .fishing-dock[data-unified=true]{z-index:6;left:max(8px, env(safe-area-inset-left));right:max(8px, env(safe-area-inset-right));bottom:max(8px, env(safe-area-inset-bottom));border:1px solid var(--edge);background:var(--paper);pointer-events:auto;border-radius:22px;justify-content:space-between;align-items:center;gap:8px;width:auto;max-width:580px;margin-inline:auto;padding:8px;display:flex;position:fixed;top:auto}#game-root .fishing-dock[data-unified=true]:has(#fishing-controls[hidden]){display:none}#game-root .fishing-dock[data-unified=true] #fishing-controls{width:auto;max-width:none;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:static}.fishing-dock[data-unified=true] .toolbar-content{width:auto;height:auto;transition:none}.fishing-dock[data-unified=true] .toolbar-placement,.fishing-dock[data-unified=true] [data-tool-chest],.fishing-dock[data-unified=true] [data-tool-settings],.fishing-dock[data-unified=true] .fishing-setup,.fishing-dock[data-unified=true] .line-readout{display:none}.fishing-dock[data-unified=true] .tool-actions{gap:4px;display:flex}.fishing-dock[data-unified=true] .tool-actions button{width:48px;min-width:44px;height:48px;min-height:44px;margin:0;padding:6px}.fishing-dock[data-unified=true] .tool-actions img,.fishing-dock[data-unified=true] .tool-actions svg{width:32px;height:32px}#game-root .fishing-dock[data-unified=true] #reel-control{width:auto;min-width:0;max-width:220px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:1;grid-template-columns:76px minmax(0,1fr);gap:0 6px;padding:0;display:grid;position:static}#game-root .fishing-dock[data-unified=true] #reel-control[hidden]{display:none}#game-root .fishing-dock[data-unified=true] [data-reel-drum]{grid-row:1/3;width:76px;height:76px;margin:0}#game-root .fishing-dock[data-unified=true] [data-reel-image]{width:64px;height:64px}.fishing-dock[data-unified=true] .reel-readout{align-self:end;margin:0;font-size:.85rem}.fishing-dock[data-unified=true] [data-reel-hint]{overflow-wrap:anywhere;margin:4px 0 0;font-size:.7rem;line-height:1.3}.fishing-dock[data-unified=true] .reel-placement{display:none}.fishing-dock[data-unified=true] .mobile-dock-actions{flex-direction:column;gap:4px;display:flex}.mobile-dock-actions button{width:auto;min-width:44px;min-height:44px;box-shadow:none;margin:0;padding:6px 10px;font-size:.8rem}.mobile-cast-hint{background:var(--paper);text-align:center;border-radius:12px;margin:0;padding:6px 10px;font-size:.8rem;position:absolute;bottom:calc(100% + 6px);left:0;right:0}.fishing-dock[data-unified=true] .fishing-notice{width:auto;margin:0;font-size:.85rem;position:absolute;bottom:calc(100% + 6px);left:0;right:0}#game-root .game-hud .instrument-row>svg{width:52px;height:52px}#game-root .game-hud .compass-legend{display:none}#game-root .game-hud .clock-badge{padding:3px 8px;font-size:.75rem}.fishing-dock[data-unified=true][data-customizing=true] .toolbar-placement{display:flex}.fishing-dock[data-unified=true][data-customizing=true] .reel-placement{grid-column:1/-1;display:flex}.fishing-dock[data-unified=true] [data-toolbar-toggle]{display:none}[data-mobile-sheet=true] .backpack-layout{grid-template-rows:auto auto;grid-template-columns:1fr}}@media (width<=360px){.fishing-dock[data-unified=true][data-fishing-state=fight] .tool-actions,.fishing-dock[data-unified=true][data-fishing-state=bite] .tool-actions{display:none}}.mobile-sheet-header h2{white-space:nowrap;flex:1}.mobile-sheet-header button{flex:none;width:auto}.mobile-map-actions button{flex:1;width:auto}#minimap[data-fullscreen-map=true] .map-heading{font-size:.8rem}#minimap[data-fullscreen-map=true] .map-heading button{width:auto;min-height:44px;font-size:.85rem}@media (width<=600px),(height<=520px){.fishing-dock[data-unified=true][data-fishing-state=casting] .tool-actions [data-pick-rod],.fishing-dock[data-unified=true][data-fishing-state=waiting] .tool-actions [data-pick-rod],.fishing-dock[data-unified=true][data-hand=FISHING_ROD][data-fishing-state=bite] .tool-actions [data-pick-rod],.fishing-dock[data-unified=true][data-hand=FISHING_ROD][data-fishing-state=fight] .tool-actions [data-pick-rod]{display:none}.fishing-dock[data-unified=true][data-customizing=true] .toolbar-placement button{min-width:44px;height:44px;min-height:44px}}@media (width<=360px){.fishing-dock[data-unified=true][data-fishing-state=fight] .tool-actions,.fishing-dock[data-unified=true][data-fishing-state=bite] .tool-actions{display:flex}}@media (width<=600px),(height<=520px){#game-root .fishing-dock[data-unified=true][data-customized=true]{width:min(calc(100vw - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right))), 580px);margin:0;right:auto}html,body,#game-root{min-width:0}}@media (width<=360px){#game-root .sea-label>p:last-child{display:none}}.home-diorama{text-align:left;grid-template-columns:minmax(320px,460px) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,64px);padding:clamp(28px,4vw,64px);display:grid}.home-scene-ready .home-diorama{background:linear-gradient(90deg,#fff3dd 0%,#fff3ddf5 30%,#fff3ddce 40%,#fff3dd00 65%)}.home-diorama .home-content{width:100%;min-width:0;max-width:460px;margin:0}.home-diorama .home-sun{width:24px;height:24px;margin:0 0 24px 12px;box-shadow:0 0 0 7px #ffc44a30}.home-diorama h1{letter-spacing:-.035em;text-shadow:none;font-size:clamp(56px,6.4vw,88px)}.home-diorama .eyebrow{letter-spacing:.16em;line-height:1.5}.home-diorama .tagline{margin-top:16px;font-size:1.2rem;line-height:1.55}.home-diorama .home-introduction{margin:16px 0 0;font-size:.85rem;font-weight:500}.home-diorama .home-actions{width:min(100%,340px);margin:24px 0 0}.home-diorama .loading-status{min-height:1.5em;line-height:1.5}.home-diorama button{border-radius:16px;min-height:48px;margin-top:12px;padding:12px 20px}.home-diorama #settings-button{box-shadow:none;background:#fff7dfb8;border:1px solid #153f4640}.home-diorama .home-development{margin-top:20px;font-size:.73rem}.home-changelog{border:1px solid var(--edge);background:var(--paper);width:min(100%,380px);color:var(--ink);border-radius:16px;margin-top:16px;padding:12px 14px}.home-changelog h2{margin:0 0 8px;font-size:.9rem;line-height:1.4}.changelog-scroll{overscroll-behavior-y:contain;scrollbar-gutter:stable;height:118px;overflow-y:auto}.changelog-scroll:focus-visible{outline:3px solid var(--teal);outline-offset:2px;border-radius:6px}.changelog-entries{margin:0;padding:0;list-style:none}.changelog-entries li+li{border-top:1px solid var(--edge);margin-top:10px;padding-top:10px}.changelog-entries h3{margin:2px 0;font-size:.82rem;line-height:1.4}.changelog-entries p,.changelog-empty{overflow-wrap:anywhere;margin:0;font-size:.75rem;line-height:1.5}.changelog-date{opacity:.8;font-size:.68rem;line-height:1.4}.home-diorama .home-status{justify-content:flex-start}.home-diorama .game-version{background:0 0;border-color:#153f462b;padding:2px 8px}.home-diorama .home-page-links{gap:4px 16px;max-width:380px;margin:16px 0 0}.home-diorama .home-page-link{text-underline-offset:4px;background:0 0;border:0;border-radius:4px;justify-content:flex-start;min-height:44px;padding:4px 0;font-size:.78rem;text-decoration:underline}.home-diorama .home-page-link:hover{color:var(--teal);background:0 0}.home-diorama .home-footer{border-color:#153f462b;margin-top:12px;padding-top:12px;font-size:.65rem}.home-scenery{pointer-events:none;align-self:stretch;min-width:0;min-height:480px}@media (width<=899px){.home-diorama{grid-template-columns:minmax(0,1fr);align-items:start;gap:0;padding:28px 24px 0}.home-scene-ready .home-diorama{background:0 0}.home-diorama .home-content{background:#fff3ddf5;border-radius:20px;max-width:520px;margin:0 auto;padding:20px 20px 12px}.home-diorama .home-sun{display:none}.home-diorama h1{font-size:clamp(48px,12vw,68px)}.home-diorama .tagline{margin-top:12px;font-size:1.05rem}.home-diorama .home-introduction{margin-top:10px;font-size:.78rem;line-height:1.6}.home-diorama .home-actions{width:100%;margin-top:16px}.home-diorama button{min-height:44px;margin-top:10px;padding:10px 16px}.home-diorama .home-development{margin-top:14px}.home-diorama .home-page-links{gap:0 12px;margin-top:8px}.home-diorama .home-footer{margin-top:4px;padding-top:8px}.home-scenery{min-height:max(240px,34dvh)}}@media (height<=520px) and (orientation:landscape){.home-diorama{grid-template-columns:minmax(0,45%) minmax(0,1fr);align-items:start;gap:16px;padding:20px 24px}.home-scene-ready .home-diorama{background:linear-gradient(90deg,#fff3dd 0%,#fff3dded 44%,#fff3dd00 68%)}.home-diorama .home-sun{display:none}.home-diorama h1{font-size:48px}.home-diorama .home-actions{margin-top:16px}.home-diorama .home-content{max-width:none}.home-scenery{align-self:start;height:calc(100dvh - 40px);min-height:0;position:sticky;top:0}}@media (width<=380px){.home-diorama{padding:16px 12px 0}.home-diorama .home-content{padding:16px}.home-diorama .home-page-links{gap:0 8px}}@media (prefers-reduced-motion:reduce){.home-diorama button{transition:none}}@media (width<=899px) and (orientation:portrait){.home-diorama{padding-top:16px}.home-diorama .home-content{padding-top:16px;padding-bottom:8px}.home-diorama h1{font-size:clamp(48px,12vw,60px)}.home-diorama .tagline{margin-top:10px;font-size:.95rem}.home-diorama .home-development{margin-top:10px}.home-diorama .home-footer p{margin:2px 0}.home-diorama progress[value="1"]{display:none}}.inventory-feedback{overflow-wrap:anywhere;min-height:1.5em}.inventory-stats dd,.inventory-item-heading h3{overflow-wrap:anywhere}.inventory-actions button:disabled{cursor:default;opacity:.65}#game-root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}#game-root[data-mode] .sea-overlays{pointer-events:none;max-height:none;display:block;position:absolute;inset:0;overflow:visible}#game-root[data-mode] #mobile-game-dock{pointer-events:none;background:0 0;border:0;padding:0;display:contents}#game-root[data-mode] #mobile-game-dock #fishing-controls{left:calc(12px + var(--safe-left));bottom:calc(12px + var(--safe-bottom));border:1px solid var(--edge);background:var(--paper);pointer-events:auto;border-radius:20px;width:auto;max-width:calc(100vw - 144px);margin:0;padding:6px;position:fixed;top:auto;right:auto;box-shadow:0 5px 18px #153f4620}#game-root[data-mode] .toolbar-content{width:auto;height:auto}#game-root[data-mode] .fishing-setup,#game-root[data-mode] .line-readout,#game-root[data-mode] [data-mobile-hint],#game-root[data-mode] #mobile-game-dock #fishing-controls>button,#game-root[data-mode] .toolbar-placement,#game-root[data-mode] [data-tool-chest],#game-root[data-mode] [data-tool-settings]{display:none}#game-root[data-mode] [data-tool-status]{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}#game-root[data-mode] .tool-actions{gap:4px;display:flex}#game-root[data-mode] .tool-actions button{place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:5px;display:grid}#game-root[data-mode] .tool-actions img,#game-root[data-mode] .tool-actions svg{width:30px;height:30px}#game-root[data-mode] .mobile-dock-actions{right:calc(12px + var(--safe-right));bottom:calc(12px + var(--safe-bottom));pointer-events:auto;flex-direction:row;gap:6px;display:flex;position:fixed}#game-root[data-mode] .mobile-dock-actions button{border-radius:16px;width:auto;min-width:44px;min-height:44px;margin:0;padding:8px 12px;font-size:.8rem}#game-root[data-mode] .game-hud{top:calc(12px + var(--safe-top));right:calc(12px + var(--safe-right));bottom:auto;left:auto;transform:none}#game-root[data-mode] .instrument-row>svg{width:64px;height:64px}#game-root[data-mode] .compass-legend{display:none}#game-root[data-mode] .sea-label{top:calc(16px + var(--safe-top));left:calc(16px + var(--safe-left));max-width:calc(100% - 170px)}#game-root[data-mode=fishing] .sea-label,#game-root[data-mode=fishing] .game-hud{display:none}#game-root[data-mode] #mobile-game-dock #reel-control{right:calc(16px + var(--safe-right));bottom:calc(14px + var(--safe-bottom));width:136px;max-width:none;box-shadow:none;pointer-events:auto;background:0 0;border:0;padding:6px;display:block;position:fixed;top:auto;left:auto}#game-root[data-mode] #mobile-game-dock #reel-control[hidden]{display:none}#game-root[data-mode] #reel-control [data-reel-drum]{border:4px solid var(--paper);width:116px;height:116px;box-shadow:0 0 0 3px var(--teal), 0 5px 14px #153f4630;background:var(--mint);border-radius:50%;place-items:center;margin:auto;padding:8px;transition:box-shadow .12s;display:grid}#game-root[data-mode] #reel-control [data-reel-image]{width:88px;height:88px}#game-root[data-mode] .reel-readout{display:none}#game-root[data-mode] #reel-control [data-reel-hint]{color:var(--paper);text-shadow:0 1px 3px var(--ink);overflow-wrap:normal;margin:10px -4px 0;font-size:.75rem;line-height:1.3;display:block}#game-root[data-mode] #mobile-game-dock #reel-control[data-input] [data-reel-drum]{box-shadow:0 0 0 5px var(--gold), 0 5px 16px #153f4650}#game-root[data-mode] #mobile-game-dock #reel-control[data-load=danger] [data-reel-drum]{border-color:var(--coral,#ed7050)}#game-root[data-mode] .reel-placement{display:none}.fishing-hud{z-index:5;pointer-events:none;color:var(--ink);position:absolute;inset:0}.fishing-hud button{pointer-events:auto;border-radius:14px;width:auto;min-width:44px;min-height:44px;margin:0;padding:8px 12px;font-size:.8rem}.fishing-phase-card{top:calc(12px + var(--safe-top));left:calc(12px + var(--safe-left));width:min(340px, calc(100% - 24px - var(--safe-left) - var(--safe-right)));border:1px solid var(--edge);background:var(--paper);pointer-events:auto;border-radius:18px;padding:14px 16px;position:absolute;box-shadow:0 5px 18px #153f4620}.fishing-phase-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;font-size:.9rem;display:flex}.fishing-phase-row>span{font-variant-numeric:tabular-nums;font-size:.78rem}.fishing-load-label{justify-content:space-between;gap:12px;margin-top:10px;font-size:.75rem;display:flex}.fishing-load-label strong{text-align:right;max-width:70%}.fishing-phase-card meter{width:100%;height:10px;accent-color:var(--teal);margin-top:5px}.fishing-phase-card[data-load=danger] meter{accent-color:#bb4b32}.fishing-phase-card p{margin:9px 0 0;font-size:.78rem;line-height:1.45}.fishing-result-card{width:min(360px, calc(100% - 32px - var(--safe-left) - var(--safe-right)));max-height:calc(100dvh - 120px - var(--safe-top) - var(--safe-bottom));border:1px solid var(--edge);background:var(--paper);text-align:center;pointer-events:auto;border-radius:24px;padding:24px;position:absolute;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 12px 40px #153f4640}.fishing-result-card img{margin:0 auto 12px;display:block}.fishing-result-card h2{margin:0 0 8px;font-size:1.25rem}.fishing-result-card p{font-size:.9rem;line-height:1.5}.fishing-result-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.fishing-hud [hidden]{display:none}#game-root[data-mode] [data-customizing=true] #fishing-controls .toolbar-placement{display:flex}#game-root[data-mode] [data-customizing=true] #fishing-controls{pointer-events:auto}@media (width<=600px),(height<=520px){#game-root[data-mode] .sea-label>p:last-child{display:none}#game-root[data-mode] .instrument-row>svg{width:52px;height:52px}#game-root[data-mode] #mobile-game-dock #fishing-controls{max-width:calc(100vw - 140px)}}@media (height<=520px){.fishing-phase-card{width:min(320px,48vw);padding:9px 12px}.fishing-phase-card p{margin-top:5px}#game-root[data-mode] #mobile-game-dock #reel-control{width:112px;bottom:calc(8px + var(--safe-bottom))}#game-root[data-mode] #reel-control [data-reel-drum]{width:92px;height:92px}#game-root[data-mode] #reel-control [data-reel-image]{width:68px;height:68px}.fishing-result-card{padding:14px}.fishing-result-card img{display:none}}@media (prefers-reduced-motion:reduce){#game-root[data-mode] #reel-control [data-reel-drum]{transition:none}}.fishing-hud button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}#game-root[data-mode] #mobile-game-dock[data-customized=true]{left:calc(12px + var(--safe-left));right:auto;bottom:calc(12px + var(--safe-bottom));width:max-content;max-width:calc(100vw - 24px - var(--safe-left) - var(--safe-right));margin:0;display:block;position:fixed;top:auto}#game-root[data-mode] #mobile-game-dock[data-customized=true] #fishing-controls{width:max-content;max-width:100%;position:relative;inset:auto}#game-root[data-mode] #mobile-game-dock[data-customizing=true] #fishing-controls{display:block}#game-root[data-mode] #mobile-game-dock[data-customizing=true] .toolbar-placement{display:flex}#game-root[data-mode] #mobile-game-dock[data-customizing=true] [data-toolbar-drag],#game-root[data-mode] #mobile-game-dock[data-customizing=true] [data-toolbar-reset]{min-width:44px;min-height:44px}#game-root[data-mode] #fishing-controls [data-tool-chest],#game-root[data-mode] #fishing-controls [data-tool-settings]{display:none}.fishing-hud[data-view=preparing] .fishing-phase-card{top:calc(110px + var(--safe-top))}.paddle-line-notice{top:calc(112px + var(--safe-top));left:calc(12px + var(--safe-left));width:min(340px, calc(100% - 24px - var(--safe-left) - var(--safe-right)));background:var(--paper);border:1px solid var(--edge);pointer-events:auto;border-radius:18px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex;position:absolute;box-shadow:0 4px 14px #153f4620}.paddle-line-notice p{flex:150px;margin:0;font-size:.8rem;line-height:1.4}.paddle-line-notice[data-bite=true]{border:3px solid var(--gold);box-shadow:0 4px 18px #153f4640}@media (height<=520px){.fishing-hud[data-view=preparing] .fishing-phase-card,.paddle-line-notice{top:calc(106px + var(--safe-top));width:min(320px,48vw);padding:8px 10px}}.wildlife-notice{z-index:25;top:calc(env(safe-area-inset-top,0px) + 82px);color:#234f48;pointer-events:none;text-align:center;background:#fff6dfed;border-radius:1rem;max-width:min(82vw,30rem);margin:0;padding:.6rem .9rem;font-size:.85rem;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 2px 12px #21473c20}.wildlife-map{color:#315b50;background:#fff5df;padding:.3rem .55rem;font-size:.7rem}.wildlife-map p{margin:.2rem 0}.wildlife-map-choices{align-items:center;gap:.25rem;display:flex}.wildlife-map-choices select{color:#264f45;background:#fffaf0;border:1px solid #b6c6b3;border-radius:.5rem;flex:1;min-width:0;padding:.3rem}.wildlife-map-choices button{border-radius:.5rem;padding:.3rem;font-size:.65rem}.wildlife-map :focus-visible{outline-offset:2px;outline:2px solid #277667}[data-fullscreen-map=true] .wildlife-map{font-size:.85rem}[data-fullscreen-map=true] .wildlife-map-choices :is(button,select){min-height:44px}@media (height<=500px) and (width>=600px){.wildlife-notice{top:calc(env(safe-area-inset-top,0px) + 12px);max-width:44vw}}.wildlife-map-choices{grid-template-columns:minmax(0,1fr);display:grid}.wildlife-map-choices select{grid-area:1/1/auto/-1;width:100%;min-height:36px}.wildlife-map-choices button{width:100%;margin:0}@media (width<=600px) and (height>=501px){.wildlife-notice{top:calc(env(safe-area-inset-top,0px) + 94px)}}@media (height<=500px) and (width>=600px){#minimap[data-fullscreen-map=true] [data-map-content]{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(240px,36%);gap:8px;display:grid}#minimap[data-fullscreen-map=true] .map-heading{grid-column:1/-1}#game-root #minimap[data-fullscreen-map=true] canvas{grid-area:2/1;margin:0}#minimap[data-fullscreen-map=true] .wildlife-map{border-radius:12px;grid-area:2/2;align-self:stretch;min-height:0;overflow:auto}.wildlife-notice{left:auto;right:max(12px, env(safe-area-inset-right,0px));max-width:36vw;transform:none}}#game-root[data-mode] #mobile-game-dock #fishing-controls{box-shadow:none;background:0 0;border:0;padding:0}#game-root[data-mode] .tool-actions .tool-dial-trigger,.tool-dial button{border:1px solid var(--edge);background:var(--paper);color:var(--ink);border-radius:50%;place-items:center;display:grid;box-shadow:0 3px 10px #153f4640}#game-root[data-mode] .tool-actions .tool-dial-trigger{width:52px;height:52px;padding-right:10px;position:relative}.tool-dial-chevron{border-top:2px solid;border-right:2px solid;width:6px;height:6px;position:absolute;right:7px;transform:rotate(45deg)}.tool-dial{--dial-anchor-x:34px;--dial-anchor-y:calc(100% - 34px);--dial-inline:1;--dial-block:1;pointer-events:auto;background:0 0;border:0;width:216px;max-width:none;height:216px;max-height:none;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.tool-dial[data-leftward=true]{--dial-anchor-x:calc(100% - 34px);--dial-inline:-1}.tool-dial[data-downward=true]{--dial-anchor-y:34px;--dial-block:-1}.tool-dial::backdrop{background:#153f461a}.tool-dial:before{content:"";left:var(--dial-anchor-x);bottom:calc(100% - var(--dial-anchor-y));border:2px solid var(--mint);opacity:.75;pointer-events:none;transform-origin:0 100%;width:148px;height:148px;transform:scale(var(--dial-inline), var(--dial-block));border-bottom:0;border-left:0;border-radius:0 100% 0 0;position:absolute}.tool-dial button{--dial-x:0px;--dial-y:0px;left:calc(var(--dial-anchor-x) + var(--dial-inline) * var(--dial-x));top:calc(var(--dial-anchor-y) - var(--dial-block) * var(--dial-y));align-content:center;gap:2px;width:68px;height:68px;min-height:44px;margin:0;padding:5px;font-size:.67rem;line-height:1.1;position:absolute;transform:translate(-50%,-50%)}.tool-dial button:hover:enabled{background:var(--mint);transform:translate(-50%,-50%)}.tool-dial button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.tool-dial button[data-active=true]{border:2px solid var(--teal);background:var(--mint);opacity:1}.tool-dial button:disabled{cursor:default}.tool-dial img,.tool-dial svg{pointer-events:none;width:25px;height:25px}.tool-dial [data-pick-rod]{--dial-y:148px}.tool-dial :is([data-pick-paddle],[data-camera-reset]){--dial-x:105px;--dial-y:105px}.tool-dial[data-full=true] [data-pick-paddle]{--dial-x:74px;--dial-y:128px}.tool-dial[data-full=true] [data-camera-reset]{--dial-x:128px;--dial-y:74px}.tool-dial #mobile-menu-button{--dial-x:148px}.tool-dial .tool-dial-close{width:52px;height:52px;font-size:2rem}
