:root{color-scheme:dark;--gold:#edcb8b;--cream:#fff5d6;--navy:#0b2435;--ink:#051b27;--aqua:#b4ebed;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{background:#07131c;display:grid;place-items:center}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:none}button:focus-visible{outline:3px solid #bceaff;outline-offset:5px}button:disabled{cursor:default}svg{display:block}.game{width:100%;height:100dvh;max-width:540px;max-height:1080px;min-height:420px;position:relative;isolation:isolate;overflow:hidden;background:#164b59;box-shadow:0 0 100px #0009;touch-action:none;user-select:none;-webkit-user-select:none}.environment,.shade,#scene{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.environment{background-image:url('assets/harbor.webp');background-size:cover;background-position:center center;filter:saturate(.94)}.shade{background:linear-gradient(#071a2d33,transparent 19%,transparent 65%,#06192320 75%,#061521a0);z-index:1}#scene{z-index:2}.topbar{position:absolute;top:max(18px,env(safe-area-inset-top));left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;z-index:4}.place{display:flex;gap:9px;align-items:center;padding:10px 16px 10px 12px;background:linear-gradient(135deg,#0d243aeb,#122c44dd);border:1px solid #c4d6e52c;border-radius:40px;box-shadow:0 3px 16px #08172425,inset 0 1px #fff2}.place svg{width:21px;height:28px;color:#b7ecff;filter:drop-shadow(0 0 7px #85e0ff66)}h1{font-size:18px;letter-spacing:.07em;margin:0;font-weight:750}.place span{font-size:7px;letter-spacing:.2em;color:#b8c6d5}.icon-button{width:46px;height:46px;border:1px solid #bccde947;border-radius:50%;background:#14243cd9;display:grid;place-items:center;box-shadow:inset 0 1px #fff2}.icon-button svg{width:23px;height:23px;stroke:#eaf1f7;stroke-width:3;stroke-linecap:round;fill:none}.weather{position:absolute;top:84px;left:30px;display:flex;align-items:center;gap:7px;z-index:4;color:#f4e8d7;font-size:10px;letter-spacing:.08em;text-shadow:0 1px 5px #142c43}.weather>span:not(.sun-dot){opacity:.55}.sun-dot{width:6px;height:6px;border-radius:50%;background:#ffe2ac;box-shadow:0 0 10px #ffd374}.status{position:absolute;top:14.5%;left:12px;right:12px;text-align:center;z-index:4;pointer-events:none;text-shadow:0 2px 16px #14223566}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.16em;color:#fff6df;margin-bottom:5px}.status h2{font-size:clamp(25px,7vw,36px);font-weight:800;letter-spacing:.07em;color:#fff7e3;margin:0}.status h2.hit{font-family:Arial,sans-serif;font-size:65px;line-height:1.05;letter-spacing:-.04em;font-style:italic;background:linear-gradient(#ffffe6 15%,#ffe797 48%,#ffc349 78%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 2px #ffe67a) drop-shadow(0 4px 12px #cb762a);animation:hitpop .45s ease-out}.status h2.fight{font-size:42px;font-style:italic;letter-spacing:.04em;color:#ffe6a1;text-shadow:0 0 18px #d38632aa,0 2px 2px #77462366}.distance-pill{display:inline-flex;align-items:baseline;gap:6px;background:#11243dd6;border:1px solid #dbddec33;border-radius:30px;padding:6px 20px;color:#f6f5ef;font-size:13px;box-shadow:inset 0 1px #fff1;margin-top:9px;line-height:1.1}.distance-pill strong{color:#ffe5a1;font-family:ui-rounded,Arial,sans-serif;font-weight:800;font-size:28px;letter-spacing:-.04em}.distance-pill>span{font-size:17px;font-weight:700;color:#ffe5a1}.status p{font-size:11px;letter-spacing:.05em;margin:9px 0 0;color:#fff8e7}.fish-cue{position:absolute;top:43%;left:50%;z-index:3;padding:6px 11px;background:#082b3eb3;border:1px solid #c5f6f22e;border-radius:20px;display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:10px;letter-spacing:.05em;backdrop-filter:blur(6px)}.fish-cue i{width:5px;height:5px;background:#acede0;border-radius:50%;box-shadow:0 0 7px #8ce8da}.fish-cue.burst{background:#653c23c7;border-color:#ffe4a155}.fish-cue.burst i{background:#ffcd7c}.bottom-ui{position:absolute;z-index:5;left:18px;right:18px;bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px));height:202px}.meter-area{position:absolute;top:16px;left:0;right:137px;min-width:120px;padding:13px 12px 8px;border-radius:18px;background:linear-gradient(135deg,#11283ce8,#0b1e31ed);border:1px solid #c0d3e33e;box-shadow:0 5px 14px #00121a44,inset 0 1px #fff2}.meter-label{display:flex;justify-content:space-between;gap:4px;align-items:center;margin-bottom:10px;font-size:12px;font-weight:700;white-space:nowrap}.meter-label b{font-weight:500;font-size:9px;color:#c4e4dd}.tension-meter{height:17px;position:relative;border-radius:9px;background:linear-gradient(90deg,#39aeb2,#2ccba0 30%,#b2da64 55%,#f6d46a 72%,#ea7952 85%,#e55450);border:3px solid #061c2a;outline:1px solid #adc5df50;box-shadow:0 1px 7px #0009}.tension-meter:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#0d25384d calc(10% - 1px),#0d25384d 10%);border-radius:8px}.safe-zone{position:absolute;top:-6px;left:25%;width:47%;height:23px;border:1px solid #fff2;border-radius:3px}.tension-meter i{z-index:2;position:absolute;left:50%;top:-7px;width:4px;height:25px;border-radius:4px;background:#fff3c2;box-shadow:0 0 8px #fff0a1,0 0 3px #fff;transform:translateX(-50%)}.meter-scale{display:flex;justify-content:space-between;font-size:8px;color:#b8c9d8;margin-top:7px;letter-spacing:.05em}.warning{font-size:9px;margin:8px 0 0;color:#f5e1b8;text-align:center;min-height:13px;white-space:nowrap}.meter-area.danger{border-color:#ffb06d;animation:warnpulse .7s infinite alternate}.meter-area.danger .warning{color:#ffb79a}.action-button{position:absolute;right:0;top:0;width:126px;height:126px;border-radius:50%;border:2px solid #f6d49c;padding:6px;background:linear-gradient(130deg,#f1d69e,#7e5c28 27%,#ffedb0 48%,#9c7131 70%,#f8d184);box-shadow:0 0 0 3px #182a39,0 0 0 4px #dec58a88,0 6px 20px #07141ba8,0 0 15px #fdd48833;transition:transform .1s,filter .15s;touch-action:none}.action-inner{height:100%;width:100%;border-radius:50%;border:1px solid #a2b4cb99;display:flex;flex-direction:column;justify-content:center;align-items:center;background:radial-gradient(at 33% 10%,#385570,#152c44 48%,#071722 80%);box-shadow:inset 0 2px 7px #dce9ff30,inset 0 -3px 6px #000c;color:#ffe6a4}.action-button strong{font-size:23px;line-height:1.1;letter-spacing:.1em;text-shadow:0 0 10px #e8bd4e70}.action-button small{font-size:7px;letter-spacing:.04em;margin-top:4px;color:#d4c5a3}.reel-icon{width:43px;height:43px;fill:none;stroke:#f9dd9d;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:4px;filter:drop-shadow(0 1px 5px #f5c35544)}.action-button.pressed{transform:scale(.96);filter:brightness(1.12)}.action-button.pressed .spool{transform-origin:26px 33px;animation:spool .35s linear infinite}.action-button.waiting{filter:saturate(.55);opacity:.8}.action-button.bite{animation:buttonpulse .65s ease-in-out infinite alternate}.toolbar{position:absolute;left:0;bottom:36px;display:flex;gap:9px;align-items:center}.square-button{width:46px;height:46px;display:grid;place-items:center;border:1px solid #a6bed178;border-radius:14px;background:linear-gradient(#273d52ed,#0b2132ed);box-shadow:inset 0 1px 2px #fff3,0 4px 7px #0004}.square-button svg{width:24px;height:24px;fill:#bdedff;stroke:#bfd5e8;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.square-button:nth-child(2) svg{fill:none;stroke-width:2}.edition{font-size:7px;letter-spacing:.12em;color:#c6d4d9cc;margin-left:2px;line-height:1.5;text-shadow:0 1px 6px #001722}.edition span{display:block;letter-spacing:.03em;font-size:8px;color:#ccd9df}.instruction{position:absolute;bottom:0;width:100%;text-align:center;font-size:11px;font-weight:600;letter-spacing:.11em;color:#f4f1e8;text-shadow:0 1px 8px #000;background:linear-gradient(90deg,transparent,#091c2666,transparent);padding:5px}.cast-guide{position:absolute;top:38%;left:47%;text-align:center;z-index:3;color:#f7ecc9;font-size:10px;text-shadow:0 2px 7px #000}.cast-line{height:75px;width:2px;margin:0 auto 9px;background:linear-gradient(transparent,#f2dda5);position:relative}.cast-line:before{content:"";position:absolute;top:10px;left:-6px;width:12px;height:12px;border-top:2px solid #f2dda5;border-left:2px solid #f2dda5;transform:rotate(45deg)}.toast{position:absolute;top:35%;left:50%;transform:translateX(-50%);max-width:85%;width:max-content;background:#0b293eea;border:1px solid #cbe0ec55;border-radius:18px;padding:12px 18px;font-size:12px;z-index:9;text-align:center;box-shadow:0 7px 30px #0005}.hidden{display:none!important}.modal-layer{position:absolute;z-index:20;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#02121a80;backdrop-filter:blur(7px);overflow:auto;touch-action:pan-y;user-select:text}.modal{width:100%;max-width:390px;background:linear-gradient(145deg,#18394ded,#091e2cf5);border:1px solid #d5c79c59;border-radius:25px;padding:28px 24px;box-shadow:0 20px 70px #00131caa,inset 0 1px #fff1;color:#f7f1e3;max-height:calc(100dvh - 48px);overflow:auto;touch-action:pan-y}.modal-kicker{font-size:9px;letter-spacing:.2em;color:#d5bc8c;text-align:center;margin-bottom:9px}.modal h2{font-size:26px;letter-spacing:.08em;text-align:center;margin:0 0 10px}.modal-lead{font-size:11px;line-height:1.8;color:#cbd6dc;text-align:center;margin:0 0 24px}.steps{display:grid;gap:18px;margin:25px 0}.step{display:flex;gap:12px;align-items:flex-start}.step b{display:grid;place-items:center;width:27px;height:27px;border:1px solid #dccda15e;border-radius:50%;font-size:11px;color:#e8ce94;flex-shrink:0}.step strong{font-size:13px;display:block;margin-bottom:4px}.step p{font-size:10px;line-height:1.7;color:#aebfcb;margin:0}.primary,.secondary{width:100%;padding:14px 16px;border-radius:12px;border:1px solid #efdcaa77;font-weight:700;font-size:13px;min-height:48px;touch-action:manipulation}.primary{background:linear-gradient(135deg,#f4deab,#c69f5c);color:#152b37;box-shadow:0 4px 14px #00131b55}.secondary{margin-top:10px;background:#153447;color:#e6e3d6;border-color:#829dac4d}.small-note{text-align:center;font-size:9px;line-height:1.7;color:#9eb1be;margin:13px 0 0}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #a8b8be20;font-size:12px;gap:12px}.toggle{min-width:74px;border:1px solid #aabfb854;background:#234d59;color:#e8ebd8;padding:8px 10px;border-radius:9px;font-size:10px;touch-action:manipulation}.catch-image{height:128px;width:100%;object-fit:contain;filter:drop-shadow(0 8px 12px #0005);margin:8px 0}.catch-name{text-align:center;font-size:25px!important;margin:0!important}.catch-stats{display:flex;justify-content:center;gap:24px;margin:18px 0 20px}.catch-stats strong{font-family:Arial,sans-serif;font-size:30px;color:#ffe0a0;letter-spacing:-.04em}.catch-stats span{font-size:11px;margin-left:4px;color:#c8d0d1}.catch-stats small{display:block;font-size:9px;letter-spacing:.1em;color:#99b0bd;text-align:center;margin-top:3px}.record{border:1px solid #ebcc8066;background:#a7873220;border-radius:20px;color:#f5da9a;font-size:10px;padding:6px 13px;text-align:center;width:max-content;margin:0 auto 18px}.log{display:grid;gap:9px;max-height:240px;overflow:auto;margin:20px 0}.log-row{border-bottom:1px solid #9eb4c223;padding:10px 0;display:flex;justify-content:space-between;font-size:12px;gap:12px}.log-row span{color:#e7c989}.empty{font-size:12px;line-height:1.8;text-align:center;color:#bdcbd3;margin:30px 0}.fail-symbol{font-size:40px;text-align:center;color:#e9c588;margin:10px 0 20px}@keyframes spool{to{transform:rotate(360deg)}}@keyframes warnpulse{to{box-shadow:0 0 18px #ee804640}}@keyframes buttonpulse{to{box-shadow:0 0 0 3px #182a39,0 0 0 4px #ffdf8ccc,0 0 30px #ffd48a9c}}@keyframes hitpop{from{transform:scale(1.35);opacity:0}to{transform:scale(1);opacity:1}}@media(min-width:750px){.game{height:min(96dvh,1000px);aspect-ratio:9/16;width:auto;border-radius:20px;border:1px solid #8199a133}body{background:radial-gradient(ellipse at 50% 30%,#263944,#07131c 70%)}.status h2{font-size:32px}}@media(max-height:680px){.topbar{top:max(12px,env(safe-area-inset-top));left:13px;right:13px}.place{padding:8px 12px}.place h1{font-size:15px}.weather{top:70px;font-size:9px;left:25px}.status{top:17%}.status h2{font-size:25px}.status h2.fight{font-size:34px}.status h2.hit{font-size:48px}.status p{font-size:10px}.bottom-ui{height:176px;left:14px;right:14px;bottom:max(16px,calc(env(safe-area-inset-bottom) + 8px))}.action-button{width:110px;height:110px}.reel-icon{width:34px;height:34px}.action-button strong{font-size:20px}.meter-area{right:122px;padding:10px 9px 7px}.meter-label{font-size:11px}.toolbar{bottom:30px}.square-button{width:40px;height:40px}.instruction{font-size:10px}.modal{padding:23px 20px}.steps{gap:12px;margin:18px 0}}@media(prefers-reduced-motion:reduce){.action-button,.status h2,.meter-area{animation:none!important;transition:none!important}}
/* Skill Fight revision — readable tells, genuine species art, local collection. */
.status h2.nibble{color:#e3e7d5;font-size:29px;font-weight:650;letter-spacing:.12em}.status p{line-height:1.5;max-width:95%;margin:8px auto 0}.fish-cue{top:33%;left:50%;right:auto;transform:translateX(-50%);display:block;width:230px;max-width:70%;padding:10px 15px 9px;text-align:center;border-radius:16px;background:linear-gradient(135deg,#082a3fea,#0b2534d9);box-shadow:0 5px 20px #00192440;white-space:normal;pointer-events:none}.cue-kicker{font-size:9px;letter-spacing:.06em;color:#b0c6d1;margin-bottom:5px}.fish-cue strong{display:block;font-size:17px;color:#f7f3df;letter-spacing:.05em}.fish-cue>span{display:block;font-size:10px;letter-spacing:.03em;margin-top:5px;color:#d9e7e5}.fish-cue.burst{background:linear-gradient(135deg,#56371fe8,#2e2930de);border-color:#f2cb8880}.fish-cue.telegraph{border-color:#f2daa68c}.fish-cue.telegraph .cue-kicker{color:#ffdf9f}.cue-timer{height:2px;background:#bfd5df22;margin-top:8px;border-radius:2px;overflow:hidden}.cue-timer i{display:block;border-radius:0;width:100%;height:2px;box-shadow:none;background:#b9e2dc}.fish-cue.burst .cue-timer i{background:#ebc48d}.hook-window{position:absolute;z-index:4;top:34%;left:50%;transform:translateX(-50%);width:255px;max-width:76%;background:#092338e8;border:1px solid #e0c68d88;box-shadow:0 7px 24px #00121e50;border-radius:16px;padding:13px 16px 11px;pointer-events:none}.hook-window>div:first-child{display:flex;justify-content:space-between;gap:7px;align-items:center;font-size:9px;color:#bfcdd2}.hook-window b{font-size:10px;color:#ffe5a6}.hook-track{height:15px;position:relative;border-radius:12px;background:linear-gradient(90deg,#586b79,#4a817a 35%,#689d83 55%,#9d6a48 80%,#724c43);margin-top:11px;border:2px solid #061b28;outline:1px solid #b3c6c84a}.perfect-zone{position:absolute;left:23%;width:25%;height:100%;background:#f6dc87;border-left:1px solid #fff6ca;border-right:1px solid #fff6ca;box-shadow:0 0 12px #efcd7b99}.hook-track>i{position:absolute;top:-5px;left:0;width:4px;height:21px;transform:translateX(-50%);background:#fff6d9;box-shadow:0 0 8px #fff0a2;border-radius:4px}.hook-window small{font-size:8px;color:#d4c29a;display:block;text-align:center;margin-top:7px;letter-spacing:.05em}.fight-vitals{position:absolute;z-index:4;left:45%;right:22px;bottom:244px;padding:10px 12px;background:#092635a6;border:1px solid #c8e2dc33;border-radius:13px;backdrop-filter:blur(5px);pointer-events:none}.fight-vitals>div{display:flex;gap:9px;align-items:center;font-size:8px;color:#d0e1e4}.fight-vitals>div+div{margin-top:7px}.fight-vitals span{width:40px;flex-shrink:0}.fight-vitals i{height:4px;display:block;flex:1;background:#d9ede722;border-radius:4px;overflow:hidden}.fight-vitals b{display:block;height:100%;background:#99c9cb;border-radius:4px}.fight-vitals #gripFill{background:#e4cb92}.fight-vitals #gripFill.weak{background:#e89473}.action-button.release-cue .action-inner{box-shadow:inset 0 2px 7px #dce9ff30,inset 0 -3px 6px #000c,0 0 12px #e6a75f70}.warning{white-space:normal;line-height:1.3;min-height:12px}.edition{font-size:6px;letter-spacing:.08em}.toast{top:28%;padding:10px 16px;font-size:11px;z-index:10}.modal-layer{padding:16px}.modal{max-height:calc(100dvh - 32px);padding:25px 23px;overscroll-behavior:contain}.modal h2{font-size:23px;letter-spacing:.04em}.modal-lead{line-height:1.8;margin-bottom:20px}.steps{gap:17px;margin:22px 0}.step p{line-height:1.8}.fish-art{position:relative;display:flex;align-items:center;justify-content:center;min-width:0}.fish-art img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 13px #00131c80)}.image-fallback{font-size:10px;color:#d6d9cb;text-align:center;padding:20px 8px;line-height:1.7}.image-fallback small{display:block;font-size:9px;color:#8faebd}.catch-modal .modal{padding:23px 22px 20px;background:radial-gradient(ellipse at 48% 25%,#244e59,#112f41 50%,#081d2b 100%);border-color:#dbc69177}.catch-modal .modal-kicker{font-size:9px;letter-spacing:.16em;margin-bottom:9px}.catch-modal h2{font-size:18px;font-weight:600;letter-spacing:.08em;margin-bottom:0;color:#e7e6da}.catch-hero{height:clamp(150px,25dvh,230px);margin:5px -12px 0;background:radial-gradient(ellipse at 50% 55%,#c0d5bc17,transparent 67%)}.catch-hero:after{content:"";position:absolute;bottom:12px;left:8%;right:8%;height:1px;background:linear-gradient(90deg,transparent,#c8d2b944,transparent);pointer-events:none}.catch-hero img{max-height:100%;object-fit:contain}.catch-species{text-align:center}.catch-species h3{font-size:25px;letter-spacing:.12em;margin:0;color:#f6f2dd}.catch-species>span{display:block;font-size:9px;color:#abc1cc;margin:7px auto 0;line-height:1.5;max-width:90%}.catch-size{text-align:center;display:flex;justify-content:center;align-items:baseline;gap:6px;margin-top:12px;line-height:1}.catch-size strong{font-family:Arial,sans-serif;font-weight:600;font-size:66px;letter-spacing:-.055em;color:#f6dc9e;text-shadow:0 2px 15px #ebc78a16}.catch-size>span{font-size:19px;color:#d9c496;font-weight:500}.catch-details{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 18px;color:#c3d2d6;font-size:8px;line-height:1.5;flex-wrap:wrap}.catch-details>i{display:block;width:2px;height:2px;background:#adbea9;border-radius:50%}.record{font-size:10px;padding:7px 12px;max-width:100%;margin-bottom:18px}.record small{display:block;font-size:8px;margin-top:4px;color:#d0bd94}.record.quiet{border-color:#a2b7bb30;background:transparent;color:#a5b9c2;font-size:9px}.catch-modal .primary{font-size:12px;min-height:49px}.catch-modal .secondary{font-size:11px;min-height:42px;padding:11px 14px}.catch-modal .small-note{margin-top:11px;font-size:8px}.species-book{display:grid;gap:3px;margin:18px -4px}.species-row{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid #b6cbd31e}.book-fish{width:76px;height:54px;flex-shrink:0}.species-row.uncaught .book-fish img{opacity:.6;filter:saturate(.45) drop-shadow(0 4px 5px #00131c80)}.species-row>div:nth-child(2){flex:1;min-width:0}.species-row strong{font-size:13px;letter-spacing:.04em}.species-row small{display:block;font-size:8px;color:#9eb5bf;margin-top:4px}.species-best{text-align:right;white-space:nowrap}.species-best b{display:block;font-size:20px;color:#efd497;font-family:Arial,sans-serif;font-weight:500;letter-spacing:-.03em}.species-best span{display:block;font-size:7px;color:#9db5bd;margin-top:3px;letter-spacing:.03em}.journal-subtitle{font-size:11px;font-weight:600;letter-spacing:.08em;margin-top:20px;color:#d7d8c8}.journal-modal .log{margin:8px 0;gap:0;max-height:185px}.journal-modal .log-row{padding:9px 0;font-size:10px}.journal-modal .modal{padding:23px 22px}.journal-modal .modal-lead{font-size:10px;margin-bottom:10px}.book-fish .image-fallback{font-size:7px;padding:0}.book-fish .image-fallback small{display:none}@media(max-height:700px){.fish-cue{top:35%;width:210px;padding:8px 12px}.fish-cue strong{font-size:15px}.cue-kicker{font-size:8px}.fish-cue>span{font-size:9px}.hook-window{top:36%;padding:10px 13px}.fight-vitals{bottom:215px;padding:8px 10px;right:17px}.catch-modal .modal{padding:18px}.catch-hero{height:clamp(125px,23dvh,165px);margin-top:2px}.catch-size{margin-top:8px}.catch-size strong{font-size:52px}.catch-species h3{font-size:22px}.catch-details{margin:9px 0 13px;font-size:7px;gap:6px}.record{margin-bottom:13px;padding:6px 10px}.catch-modal h2{font-size:16px}.catch-modal .modal-kicker{font-size:8px}.modal-layer{padding:12px}.modal{max-height:calc(100dvh - 24px)}.steps{gap:12px;margin:16px 0}.step strong{font-size:12px}.step p{font-size:9px}.modal h2{font-size:21px}.modal-lead{font-size:10px;margin-bottom:15px}}@media(max-width:350px){.fish-cue{max-width:74%}.catch-modal .modal{padding:17px}.catch-details{gap:5px}.catch-size strong{font-size:54px}.book-fish{width:65px}.species-row{gap:7px}.species-row strong{font-size:12px}.instruction{font-size:9px;letter-spacing:.04em}.status p{font-size:10px}.status h2{font-size:24px}.edition{max-width:105px}}@media(prefers-reduced-motion:reduce){.action-button.bite,.status h2.hit{animation:none!important}}
/* Mystery catch: heavier cues without revealing a fish outline or species. */
.heavy-strike .status .eyebrow{color:#ffe5a2;text-shadow:0 0 14px #efb952b3;font-size:12px;letter-spacing:.08em}.heavy-strike .status h2.hit{filter:drop-shadow(0 0 5px #ffe67a) drop-shadow(0 5px 20px #b66821);color:#ffe5a2}.heavy-strike .hook-window{border-color:#ffdfa4;box-shadow:0 0 22px #f6be5c33,0 7px 24px #00121e50}.species-row.undiscovered{min-height:68px}.unknown-water{width:76px;height:54px;display:grid;place-items:center;flex-shrink:0;color:#9bb8c5;font-family:Georgia,serif;font-size:30px;background:radial-gradient(ellipse,#b6d8df0d,transparent 65%);border:1px solid #d9edf019;border-radius:12px}.undiscovered strong{font-weight:500;color:#b5c7cf}.undiscovered small{font-size:8px;color:#87a2ae}@media(max-width:350px){.unknown-water{width:65px}.heavy-strike .status .eyebrow{font-size:10px}}

/* Strict hook bands: the JS sets exact shared-model positions; marker centre is judged. */
.hook-track{background:#263e4b;overflow:visible}.success-zone,.perfect-zone{position:absolute;height:100%;top:0;border:0;pointer-events:none}.success-zone{background:#b89243;box-shadow:0 0 8px #efcd7b77;outline:1px solid #eed58e;outline-offset:-1px}.perfect-zone{background:#fff0b4;box-shadow:inset 0 0 0 1px #fff9df,0 0 5px #ffe7a455}.hook-track>i{z-index:2;background:#fff;box-shadow:0 0 0 1px #143343,0 0 6px #fff9}.hook-window small{font-size:9px;letter-spacing:0;line-height:1.5}
/* Landed catch: full fish, two prominent measurements. No exact values before landing. */
.catch-modal .modal{max-width:460px;padding:22px 20px 18px}.catch-hero{height:clamp(180px,30dvh,280px);margin:4px -14px 0}.catch-hero img{object-fit:contain;max-width:100%;max-height:100%}.catch-species h3{font-size:25px}.catch-species>span{margin-top:4px;font-size:9px}.catch-measurements{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:15px 0 0}.catch-measurement{min-width:0;text-align:center;border:1px solid #d8c28f3b;border-radius:13px;padding:10px 4px;background:#00192338}.measurement-label{display:block;font-size:10px;letter-spacing:.18em;color:#c2d3d8}.catch-size{margin-top:6px;gap:4px}.catch-size strong{font-size:44px;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.catch-weight strong{font-size:36px;letter-spacing:-.05em}.catch-size>span{font-size:15px;color:#f0d7a0}.catch-details{margin:10px 0 12px;font-size:9px}.species-best small{display:block;font-size:9px;color:#b7cbd2;white-space:nowrap;margin-top:4px}.log-row>span{text-align:right;line-height:1.6}
@media(max-height:720px){.catch-modal .modal{padding:17px}.catch-hero{height:clamp(150px,27dvh,195px)}.catch-measurements{margin-top:11px;gap:8px}.catch-measurement{padding:8px 3px}.catch-size strong{font-size:39px}.catch-weight strong{font-size:32px}.catch-species h3{font-size:22px}.catch-modal .record{margin-bottom:11px}}
@media(max-width:350px){.catch-size strong{font-size:36px}.catch-weight strong{font-size:30px}.catch-size>span{font-size:13px}.catch-measurements{gap:7px}.log-row{font-size:9px}.hook-window small{font-size:8px}}

/* Market/workshop: functional browser-local economy, never real payments. */
.market-button span{font-size:11px;color:#f3d69b}.edition strong{font-size:11px;color:#f4da9f;letter-spacing:.01em}.edition>span{display:block;font-size:7px;letter-spacing:0}.toolbar{gap:7px}.coin-card{padding:14px 16px;border-radius:15px;background:linear-gradient(120deg,#31505a88,#0c2434cc);border:1px solid #e4c99455;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px}.coin-card>span{font-size:11px}.coin-card>strong{font-size:28px;letter-spacing:-.03em;color:#f5d897}.coin-card strong small{font-size:13px}.coin-card>small{width:100%;font-size:8px;color:#9fb8c4}.economy-nav{display:flex;gap:8px;margin:13px 0}.economy-nav .secondary{margin:0;flex:1;padding:10px;font-size:11px}.trade-notice{font-size:11px;line-height:1.7;color:#ead6ac;min-height:20px;margin:15px 0}.inventory-heading{display:flex;justify-content:space-between;align-items:center;margin:16px 0 9px}.inventory-heading h3{font-size:13px;margin:0}.inventory-heading>span{font-size:10px;color:#a3b9c4}.inventory-list{display:grid;gap:10px;margin-bottom:14px}.inventory-fish{display:flex;align-items:center;gap:12px;border:1px solid #a7c2cf33;border-radius:14px;padding:10px;background:#001b2a44}.market-fish{width:110px;height:80px;flex-shrink:0}.inventory-fish>div:last-child{flex:1;min-width:0}.inventory-fish strong{display:block;font-size:15px}.inventory-fish small{display:block;color:#b2c8d3;font-size:10px;margin:5px 0;white-space:normal}.inventory-fish em{display:block;font-size:10px;color:#f0ce84;font-style:normal;margin:4px 0}.sell-button{border:1px solid #ddc28688;border-radius:8px;background:#dcc48617;padding:9px 10px;font-size:10px;color:#f6dca7;width:100%;min-height:36px}.empty-inventory{padding:28px 12px;margin:15px 0;text-align:center;border:1px dashed #a8c5d044;border-radius:14px;color:#b7ccd4;font-size:12px;line-height:1.9}.gear-cards{display:grid;gap:13px}.gear-card{border:1px solid #b5ced141;border-radius:16px;padding:16px;background:linear-gradient(120deg,#17405277,#0a2433bb)}.gear-name{display:flex;justify-content:space-between;color:#f2d797;font-size:10px;letter-spacing:.04em}.gear-name b{font-size:11px}.gear-card h3{font-size:14px;line-height:1.5;margin:13px 0 9px}.gear-card p{font-size:12px;color:#e4eee9;margin:0 0 5px}.gear-card>small{display:block;font-size:10px;color:#9ebac7;margin-bottom:14px}.gear-card .primary{padding:11px 10px;font-size:12px}.primary:disabled,.sell-button:disabled{opacity:.42;cursor:default;box-shadow:none}.unlock-card{margin:17px 0;padding:15px;border:1px solid #d2b87842;border-radius:13px}.unlock-card>strong{font-size:12px;color:#ead49f}.unlock-card p{font-size:10px;color:#8da7b2;line-height:1.6;margin:10px 0}.unlock-card p.unlocked{color:#dbdbb0}.unlock-card>small{display:block;font-size:9px;color:#9cb6c1;line-height:1.7}.modal .small-note{overflow-wrap:anywhere}@media(max-width:350px){.toolbar{gap:6px}.edition>span{font-size:6px}.market-fish{width:90px;height:69px}.inventory-fish{gap:9px;padding:8px}.inventory-fish strong{font-size:13px}.inventory-fish small{font-size:9px}}

.toolbar{bottom:28px}@media(max-height:720px){.toolbar{bottom:24px}}

/* Habitat selection: only current scene is used by the live fishing canvas. */
.game[data-location="surf"] .environment{background-image:url('assets/surf.webp')}.game[data-location="offshore"] .environment{background-image:url('assets/offshore.webp')}.place{cursor:pointer;text-align:left;max-width:calc(100% - 54px)}.place .place-copy{display:block;min-width:0}.place .location-name{font-size:17px;line-height:1.3;letter-spacing:.06em;font-weight:750;color:#f5f2df;display:block;white-space:nowrap}.place .place-link{font-size:8px;letter-spacing:.13em;color:#c1d6e2;display:block;margin-top:4px}.location-list{display:grid;gap:17px}.location-card{border:1px solid #b4ced13d;border-radius:17px;overflow:hidden;background:#0a2635}.location-card.selected{border-color:#e8c989b3}.location-card>img{display:block;width:100%;height:133px;object-fit:cover;object-position:center 39%;background:#193e4c}.location-card-body{padding:15px}.location-title{display:flex;justify-content:space-between;gap:10px;align-items:center}.location-title h3{font-size:18px;margin:0;color:#f4e5bd;letter-spacing:.05em}.location-title>span{font-size:9px;color:#c5d7dc;border:1px solid #bdcdcc44;border-radius:20px;padding:4px 8px;white-space:nowrap}.location-card-body>p{font-size:11px;color:#c3d6dc;line-height:1.5;margin:8px 0}.location-card-body>small{font-size:10px;color:#90aebd;line-height:1.7;display:block}.location-pool{font-size:11px;color:#e4e5cf;line-height:1.8;margin:12px 0}.location-pool>span{display:block;font-size:8px;letter-spacing:.13em;color:#8eaeba}.location-card-body>.location-secret{font-size:10px;color:#efd191}.location-card .primary,.location-card .secondary{padding:12px;margin:10px 0 0;font-size:12px}.weather #locationWeather{letter-spacing:.03em}@media(max-width:350px){.place .location-name{font-size:15px}.place .place-link{font-size:7px}.location-title h3{font-size:16px}}

.catch-origin{display:block;color:#89a7b6;font-size:8px;line-height:1.7}

/* The original land remains fixed. Only a source-aligned, sea-masked canvas moves. */
#water{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;filter:saturate(.94)}

/* Equipment is a product, not an abstract upgrade button. Full-image contain keeps every guide and handle visible. */
.gear-cards{gap:24px}.gear-card{padding:16px;background:linear-gradient(150deg,#142c39,#071b29 65%);border-color:#b5ced137;overflow:hidden}.gear-name{align-items:center;gap:8px;color:var(--gear-accent)}.gear-name>b{font-size:9px;letter-spacing:0;color:#c1cdd0}.equipment-hero{position:relative;margin:13px -8px 0;border-radius:12px;overflow:hidden;background:#07131d}.equipment-art{position:relative;overflow:hidden;min-width:0;background:#07131d}.equipment-art>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.equipment-main{width:100%;aspect-ratio:8/5;min-height:160px}.equipment-rank{position:absolute;z-index:1;top:11px;left:12px;font-size:7px;letter-spacing:.17em;color:var(--gear-accent);text-shadow:0 1px 4px #000}.equipment-rank>strong{display:block;margin-top:4px;font-size:18px;letter-spacing:0}.equipment-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 8px}.equipment-title>div>span{font-size:8px;letter-spacing:.22em;color:var(--gear-accent)}.equipment-title h3{font-size:27px;letter-spacing:.13em;line-height:1.4;margin:3px 0;color:#f7edd4}.equipment-title h3>small{font-weight:400;letter-spacing:.04em;font-size:11px;margin-left:10px;color:#b5c9ce}.equipment-title>b{font-size:9px;font-weight:500;color:var(--gear-accent);border:1px solid #d1c5a444;border-radius:20px;padding:6px 9px;white-space:nowrap}.gear-card .equipment-copy{color:#bccfd1;font-size:11px;margin-bottom:14px}.equipped-row{display:flex;align-items:center;gap:11px;padding:10px 0;border-top:1px solid #c0d2d41a;border-bottom:1px solid #c0d2d41a}.equipment-current{width:88px;aspect-ratio:8/5;flex-shrink:0;border:1px solid #b7c7cd26;border-radius:8px}.equipped-row>div:last-child{min-width:0}.equipped-row small,.equipped-row strong,.equipped-row span{display:block}.equipped-row small{color:#96adb8;font-size:9px}.equipped-row strong{color:#e0e9e5;font-size:12px;margin:4px 0}.equipped-row span{font-size:8px;color:#8da7b3;line-height:1.5}.gear-benefit{padding:15px 0 11px}.gear-benefit>span{font-size:10px;color:#b6cbd1}.gear-benefit>div{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:8px 0}.gear-benefit>div>span,.gear-benefit>div>strong{font-size:9px;font-weight:400;color:#a8bcc2}.gear-benefit b{font-size:22px;margin-left:5px;letter-spacing:-.04em}.gear-benefit>div>strong b{color:var(--gear-accent)}.gear-benefit i{font-style:normal;color:#6d8a95}.gear-benefit>small{display:block;font-size:9px;color:#8da7b3;line-height:1.6}.gear-benefit .gear-max{font-size:14px;color:var(--gear-accent)}.equipment-price{display:flex;align-items:center;justify-content:space-between;margin:4px 0 10px;gap:8px}.equipment-price>span{font-size:10px;color:#c1d0d2}.equipment-price>strong{font-size:24px;color:#f1d49a;letter-spacing:-.04em}.equipment-price>strong>small{font-size:12px}.gear-card .equipment-price.owned{margin:10px 0;color:var(--gear-accent);font-size:11px}.gear-card .primary{min-height:46px;font-size:12px}.gear-card .equipment-status{font-size:9px;line-height:1.7;margin:9px 0 18px;min-height:16px;color:#a9bdc6;text-align:center}.equipment-roadmap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;border-top:1px solid #a6c1cc24;padding-top:14px}.equipment-step{min-width:0;text-align:center;border-radius:7px;padding:3px 3px 6px;border:1px solid transparent}.equipment-mini{width:100%;aspect-ratio:8/5;border-radius:4px}.equipment-step strong{display:block;font-size:10px;font-weight:500;color:#c3d0d3;margin-top:6px}.equipment-step small{display:block;font-size:7px;line-height:1.6;color:#8aa6b3;margin-top:3px;white-space:nowrap}.equipment-step.current{border-color:#b4d1cf77;background:#b2d0c90b}.equipment-step.current small{color:#c1e2d8}.equipment-step.next{border-color:#e3c18166;background:#e0c17b08}.equipment-step.next small{color:#e5cb93}.equipment-art .image-fallback{font-size:9px;padding:8px;line-height:1.6}.equipment-art .image-fallback small{font-size:8px}.equipment-mini .image-fallback{font-size:7px;padding:2px}.equipment-mini .image-fallback small{display:none}@media(max-width:350px){.gear-card{padding:12px}.equipment-main{min-height:144px}.equipment-title h3{font-size:24px}.equipment-title>b{font-size:8px;padding:5px 7px}.equipment-current{width:75px}.gear-benefit b{font-size:20px}.equipment-roadmap{gap:3px}.equipment-step{padding-left:2px;padding-right:2px}.equipment-step small{font-size:6px}}

.equipment-art .image-fallback:not(.hidden){position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}

.workshop-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.workshop-heading h2{margin:0;font-size:23px}.workshop-back{min-height:40px;padding:8px 10px;border:1px solid #c7d7d344;border-radius:9px;font-size:10px;background:#102a3999;white-space:nowrap;color:#c6d6d8}@media(max-width:350px){.workshop-heading h2{font-size:20px}.workshop-back{font-size:9px;padding:7px 8px}}

/* Taxonomic detail appears only after an earned reveal, never in active-fish cues. */
.catch-species .fish-detail-name{display:block;margin-top:4px;font-size:10px;letter-spacing:.08em;font-weight:400;color:#abc1cc}

/* Sound controls are real, separately labelled and thumb-sized. */
.audio-volume-row{gap:12px}.audio-volume-control{display:flex;align-items:center;gap:7px;flex:none}.audio-volume-control button{width:44px;height:44px;border:1px solid #d4c28c66;border-radius:9px;background:#143747;color:#fff1cf;font-size:20px;touch-action:manipulation}.audio-volume-control button:disabled{opacity:.35}.audio-volume-control output{min-width:43px;text-align:center;font-variant-numeric:tabular-nums;color:#f1dbab;font-size:12px}.audio-note{margin:10px 0 17px}.audio-volume-row>span{font-size:12px}@media(max-width:350px){.audio-volume-control{gap:4px}.audio-volume-row{gap:7px}.audio-volume-row>span{font-size:11px}}

/* v20: notch-aware HUD and thumb targets; gameplay timing/geometry is unchanged. */
.game{--hud-controls:202px;--hud-top:max(18px,env(safe-area-inset-top));--hud-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
.topbar{top:var(--hud-top)}
.weather{top:calc(var(--hud-top) + 66px)}
.status{top:max(14.5%,calc(var(--hud-top) + 90px))}
.fish-cue{top:max(33%,calc(var(--hud-top) + 230px))}
.hook-window{top:max(34%,calc(var(--hud-top) + 230px))}
.bottom-ui{bottom:var(--hud-bottom)}
.fight-vitals{bottom:calc(var(--hud-bottom) + var(--hud-controls) + 14px)}
.toggle{min-height:44px;min-width:86px}
.square-button{min-width:44px;min-height:44px;flex-shrink:0}
.toolbar{max-width:100%}.edition{min-width:0;overflow-wrap:anywhere}
.place{min-width:0}.place .place-copy{overflow:hidden}.place .location-name{overflow:hidden;text-overflow:ellipsis}
.modal-layer:not(.title-modal):not(.commerce-modal):not(.encyclopedia-modal){padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
.modal-layer:not(.title-modal):not(.commerce-modal):not(.encyclopedia-modal) .modal{max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));overscroll-behavior:contain;overflow-x:hidden}
.modal button{touch-action:manipulation}
.save-warning{padding:12px;border:1px solid #e4bc7966;border-radius:10px;color:#f2d5aa;background:#49351f66;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
@media(max-height:700px){
 .game{--hud-top:max(12px,env(safe-area-inset-top));--hud-bottom:max(16px,calc(env(safe-area-inset-bottom) + 8px))}
 .weather{top:calc(var(--hud-top) + 58px)}
 .status{top:max(17%,calc(var(--hud-top) + 74px))}
 .game[data-phase="fight"] .status,.game[data-phase="bite"] .status{display:grid;grid-template-columns:minmax(0,1fr) auto;text-align:left;align-items:center;column-gap:8px;left:18px;right:18px}
 .game:is([data-phase="fight"],[data-phase="bite"]) .status .eyebrow{grid-column:1/-1;font-size:9px;line-height:1.5;margin-bottom:4px;letter-spacing:.06em}
 .game[data-phase="fight"] .status h2{font-size:28px;line-height:1.1}
 .game[data-phase="bite"] .status h2{font-size:40px;line-height:1.05}
 .game:is([data-phase="fight"],[data-phase="bite"]) .distance-pill{margin:0;padding:6px 10px;font-size:11px}
 .game:is([data-phase="fight"],[data-phase="bite"]) .distance-pill strong{font-size:24px}
 .game:is([data-phase="fight"],[data-phase="bite"]) .status p{display:none}
 .fish-cue{top:max(35%,calc(var(--hud-top) + 145px))}
 .hook-window{top:max(36%,calc(var(--hud-top) + 145px))}

}

@media(max-height:680px){.game{--hud-controls:176px}}
