:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#deece8;background:#091e22;font-synthesis:none;--accent:#e5b875;--muted:#8fa9a7;--line:#ffffff14;--panel:#102b30}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.45;cursor:not-allowed}button:not(:disabled):hover{filter:brightness(1.12)}button{transition:background .18s,filter .18s,transform .18s}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.app{max-width:1920px;margin:auto}.topbar{height:84px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:#0b2429;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;font-size:25px;letter-spacing:4px;font-weight:600}.brand-mark{width:43px;height:43px;border:1px solid #b49d76;color:var(--accent);display:grid;place-items:center;font:26px Georgia,serif;border-radius:50%}.brand small{font-size:13px;font-weight:400;letter-spacing:3px;margin-left:12px;color:#a9bbb4}.top-actions{display:flex;align-items:center;gap:15px}.version{font-size:12px;color:var(--muted);margin-right:10px}.wallet{border:1px solid #d2b27142;border-radius:25px;display:flex;align-items:center;gap:9px;background:#243733;padding:9px 12px;color:var(--accent);font-size:14px}.wallet b{font-size:17px;font-variant-numeric:tabular-nums}.wallet i{font-style:normal;background:#d2b27122;border-radius:50%;width:22px;height:22px}.icon-button{border:1px solid #ffffff20;background:transparent;border-radius:50%;width:34px;height:34px;font-size:19px;flex-shrink:0}.coin{font-size:18px}main{display:grid;grid-template-columns:minmax(0,1fr) 345px;min-height:690px;height:calc(100svh - 158px)}.fishing-stage{position:relative;overflow:hidden;background:#215758;isolation:isolate;min-height:650px}.landscape{position:absolute;inset:0;background-size:cover;background-position:50% 50%;z-index:-4;transition:background-image .5s}.landscape.reservoir{background-image:url('../assets/reservoir.png')}.landscape.river{background-image:url('../assets/river.png')}.landscape.pond{background-image:url('../assets/pond.png')}.shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#001c3060,transparent 40%,#001e2455 66%,#071e28eb 100%)}#water{position:absolute;inset:0;width:100%;height:100%;touch-action:none;z-index:-1}.scene-heading{position:absolute;top:40px;left:40px;text-shadow:0 1px 15px #052e43}.eyebrow{font-size:12px;letter-spacing:2px;color:#b2c3b8}.scene-heading h1{font-size:38px;font-weight:500;letter-spacing:6px;margin:12px 0 10px}.scene-heading p{font-size:14px;letter-spacing:2px;color:#e6eeea;margin:0 0 22px}.weather{display:flex;gap:16px;font-size:13px;color:#e0ebe7}.glass{background:#0c302b88;border:1px solid #cce9d926;backdrop-filter:blur(12px)}.change-scene{position:absolute;top:39px;right:30px;border-radius:7px;padding:11px 15px;font-size:14px}.spot-label{position:absolute;left:40px;top:227px;display:flex;align-items:center;gap:10px;padding:10px 13px;border-radius:6px;font-size:13px}.dot{width:5px;height:5px;border-radius:50%;background:#b8debf}.divider{width:1px;height:12px;background:#ffffff40}.float-callout{position:absolute;top:47%;left:50%;transform:translate(-50%,-100%);padding:8px 14px;border-radius:24px;background:#092c38a8;white-space:nowrap;font-size:13px;pointer-events:none}.stage-message{position:absolute;bottom:236px;left:20px;right:20px;text-align:center;color:#fff7e5;font-size:16px;text-shadow:0 2px 12px #000;letter-spacing:1px}.session-strip{position:absolute;bottom:22px;left:28px;border-radius:6px;display:flex;align-items:center;gap:22px;font-size:12px;padding:10px 13px;color:#b6cdca}.session-strip b{font-size:14px;color:#f4ede1;font-weight:500}.session-strip button{background:none;color:#d2e3dc;padding:0 4px}.controls{position:absolute;bottom:58px;left:50%;transform:translateX(-50%);width:min(450px,94%)}.action-row{display:flex;justify-content:center;align-items:center;gap:27px}.cast-button{width:104px;height:104px;background:linear-gradient(145deg,#f5d39e,#d2a364);color:#24352d;border:5px solid #8f9f8a;border-radius:50%;outline:1px solid #e2ceac99;box-shadow:0 0 0 8px #b9c1a814,0 10px 30px #00131588;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;user-select:none;touch-action:none}.cast-button:active{transform:scale(.97)}.cast-button span{font-size:28px;line-height:1}.cast-button b{font-size:19px;letter-spacing:2px}.cast-button.bite{background:#f3c06f;animation:pulse .45s infinite alternate}.cast-button.fight{background:linear-gradient(145deg,#dbf3d8,#9cceb3)}.action-tip{font-size:13px;line-height:1.7;color:#c7d4cc;text-align:right;width:85px}.small-action{background:#e1eee712;border:1px solid #d4e4d031;width:60px;height:60px;border-radius:50%;font-size:14px;color:#e2e8de}.small-action span{font-size:11px;color:#acbfb7}.control-note{font-size:12px;text-align:center;color:#acc1b9;letter-spacing:1px;margin:19px 0 0}.fight-ui,.power-ui{padding:13px 17px;background:#082c32eb;border:1px solid #cce9d926;border-radius:10px;margin:0 auto 18px;max-width:310px}.meter-label{display:flex;justify-content:space-between;font-size:12px;color:#c8ded3;margin-bottom:7px}.meter-label b{font-weight:400;color:#d5c69b}.tension-track{height:11px;border-radius:9px;background:linear-gradient(90deg,#688d91 20%,#88c9a3 21% 66%,#d3a762 67% 83%,#b55f59 84%);position:relative;margin-bottom:14px}.tension-track i{position:absolute;top:-4px;width:3px;height:19px;background:white;border-radius:2px;left:30%}.progress-track,.power-track{height:5px;background:#ffffff20;border-radius:9px;overflow:hidden}.progress-track i,.power-track i{display:block;height:100%;background:var(--accent);width:0}.power-ui{display:flex;align-items:center;gap:10px;font-size:12px}.power-track{flex:1;height:9px}.power-ui b{width:35px}.rig-panel{padding:29px 25px 20px;background:var(--panel);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#395553 transparent}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.panel-head .eyebrow{font-size:10px;color:#87a4a0}.panel-head h2{font-size:19px;font-weight:500;margin:7px 0 0}.setup-dot{font-size:11px;color:#a0cba9;border:1px solid #6b9f7738;background:#57845f19;border-radius:4px;padding:4px 6px;white-space:nowrap}.label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.label-row h3{font-size:14px;font-weight:500;margin:0}.label-row>span{font-size:11px;color:#8da6a0}.label-row>b{font-weight:500;font-size:14px;color:var(--accent)}.terrain-options{display:flex;gap:6px}.terrain-options button{flex:1;padding:10px 3px;background:#18383d;border:1px solid transparent;border-radius:5px;font-size:12px;color:#acc3ba}.terrain-options button.selected{color:var(--accent);border-color:#b3976455;background:#d7b27c15}.terrain-section{padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:19px}.gear-section{margin-bottom:17px}.gear-options{display:flex;gap:6px}.gear-option{flex:1;min-width:0;border-radius:5px;border:1px solid #ffffff0d;background:#153237;padding:11px 4px;color:#adbfba;font-size:12px;text-align:center}.gear-option strong{font-size:12px;font-weight:500;display:block;margin-bottom:5px}.gear-option small{display:block;color:#77938e;font-size:11px}.gear-option.selected{background:#d7b27c10;border-color:#bda4797a;color:#f0cf9c}.gear-option.selected small{color:#b9a98e}.depth-section{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}input[type=range]{width:100%;accent-color:var(--accent);height:18px;cursor:pointer}.range-label{display:flex;justify-content:space-between;color:#7c9a95;font-size:11px}.fish-intel{background:#08212670;border:1px solid var(--line);padding:14px;border-radius:6px;margin-top:21px}.fish-intel .eyebrow{font-size:11px;color:#ccbe97;letter-spacing:1px}.fish-intel p{font-size:12px;line-height:1.8;margin:8px 0;color:#a5bdb5}.match{font-size:12px;color:#91bfa2}.bottom-nav{height:74px;padding:0 36px;background:#0b2429;display:flex;align-items:stretch;gap:35px;border-top:1px solid var(--line)}.bottom-nav>button{background:transparent;color:#92aba5;display:flex;align-items:center;gap:9px;position:relative;font-size:14px;padding:0 8px;white-space:nowrap}.bottom-nav>button>span{font-size:24px;color:#b8c8bc}.bottom-nav>button.active{color:#ecd3a6}.bottom-nav>button.active:before{content:'';position:absolute;top:0;left:10px;right:10px;height:2px;background:var(--accent)}.bottom-nav i{font-style:normal;font-size:11px;background:#ffffff0b;padding:3px 6px;border-radius:4px;color:#789c95}.nav-progress{margin-left:auto;align-self:center;width:165px;font-size:12px;color:#c2ccbd}.nav-progress>div{height:3px;background:#ffffff12;margin-top:9px}.nav-progress>div>i{display:block;padding:0;border-radius:0;height:3px;background:#bbaa79;width:0}.nav-progress span{font-size:12px}
dialog{padding:25px;border:1px solid #789c814d;border-radius:16px;background:#102b30;color:#e3eee6;width:min(680px,calc(100vw - 28px));max-height:85svh;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#03151bc4;backdrop-filter:blur(7px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.modal-head h2{font-size:25px;font-weight:500;letter-spacing:2px;margin:6px 0 0}.modal-head .eyebrow{font-size:10px;color:#b7b894}#modal-body p{font-size:14px;line-height:1.8;color:#a9c1b8}.scene-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.scene-card{padding:0;overflow:hidden;border-radius:8px;border:1px solid #ffffff20;background:#153237;text-align:left}.scene-card.selected{border-color:var(--accent)}.scene-card img{width:100%;height:145px;object-fit:cover}.scene-card div{padding:13px}.scene-card strong{font-weight:500;font-size:16px;display:block;margin-bottom:9px}.scene-card span{font-size:12px;color:#b6c8ba;display:block;line-height:1.7}.scene-card em{display:block;font-size:11px;color:#d5b77f;margin-top:9px;font-style:normal}.wide-button{width:100%;border-radius:7px;padding:13px;background:var(--accent);color:#20382f;font-weight:600;font-size:15px;margin-top:15px}.subtle-button{background:#ffffff0a;color:#b5cabd;border:1px solid #ffffff20}.notice{background:#dfbb7d0e;border:1px solid #dfbb7d30;border-radius:7px;padding:12px;color:#c4b692!important;font-size:12px!important;margin:0 0 18px}.catch-card{text-align:center;padding:8px 0 13px}.fish-symbol{font-size:64px;line-height:1.4}.catch-card h3{font-size:30px;font-weight:500;margin:5px 0}.catch-card .weight{font-size:42px;color:var(--accent);font-family:Georgia,serif;margin:13px 0}.weight small{font-size:17px;font-family:inherit}.reward-row{display:flex;justify-content:center;gap:12px;font-size:13px}.reward-row span{background:#ffffff08;border:1px solid #ffffff15;padding:7px 12px;border-radius:4px}.new-record{color:var(--accent);font-size:13px;letter-spacing:2px}.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.book-item{border:1px solid var(--line);background:#08212666;border-radius:8px;padding:15px}.book-item.unknown{opacity:.55}.book-item strong{font-size:17px;font-weight:500}.book-item p{font-size:12px!important;margin:7px 0 0}.book-item .mini-fish{font-size:26px;margin-right:10px}.stats-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px}.stats-row b{font-size:23px;color:var(--accent);font-weight:500}.stats-row small{display:block;font-size:12px;color:#8eaba3;margin-top:6px}.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shop-item{border:1px solid var(--line);border-radius:8px;padding:15px;background:#0b252b}.shop-item h3{font-size:16px;font-weight:500;margin:10px 0}.shop-item p{font-size:12px!important;margin:6px 0 12px}.shop-item button{background:#d6b47814;color:#e0bd83;border:1px solid #d6b47844;border-radius:5px;padding:8px 10px;width:100%;font-size:13px}.shop-symbol{font-size:28px;color:#d5bb84}.recharge-grid{display:flex;gap:10px}.recharge-grid button{flex:1;background:#13383b;border:1px solid #bda47966;border-radius:8px;padding:18px 6px}.recharge-grid strong{display:block;font-size:23px;color:var(--accent)}.recharge-grid span{display:block;font-size:12px;margin:7px 0}.recharge-grid b{font-size:15px;font-weight:400}.help-list{padding-left:22px;color:#bed0c6;font-size:14px;line-height:1.9}.help-list li{margin-bottom:12px}.order-item{border-top:1px solid var(--line);padding:12px 0;font-size:13px;color:#b7c9bb}.order-item small{display:block;color:#809f93;margin-top:4px}.modal-tabs{display:flex;gap:8px;margin-bottom:18px}.modal-tabs button{border:1px solid var(--line);background:#ffffff08;color:#b4c5b8;padding:9px 14px;border-radius:5px}.modal-tabs .selected{color:var(--accent);border-color:#c0a47460}#toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,10px);background:#09282ef2;color:#edd8b8;border:1px solid #b9aa7755;z-index:10;padding:12px 21px;border-radius:8px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes pulse{to{box-shadow:0 0 0 13px #f5c47722,0 0 28px #ffc86e88}}@media(min-width:1500px){main{grid-template-columns:minmax(0,1fr) 385px}.rig-panel{padding:35px 32px}.gear-section{margin-bottom:25px}.scene-heading{top:50px;left:50px}.spot-label{left:50px}}@media(max-width:1000px){.topbar{padding:0 20px}.version{display:none}main{grid-template-columns:minmax(0,1fr) 305px}.rig-panel{padding:24px 18px}.scene-heading{left:25px}.scene-heading h1{font-size:30px}.change-scene{top:25px;right:20px}.scene-heading{top:82px}.spot-label{left:25px;top:258px}.bottom-nav{padding:0 20px;gap:18px}.nav-progress{width:120px}.brand small{display:none}.stage-message{font-size:14px}}
@media(max-width:720px){.topbar{height:65px;padding:0 17px}.brand{font-size:21px;gap:8px}.brand-mark{width:33px;height:33px;font-size:20px}.top-actions{gap:9px}.top-actions .icon-button{width:30px;height:30px}.wallet{padding:6px 9px;gap:6px;font-size:12px}.wallet b{font-size:15px}.wallet i{width:18px;height:18px}.wallet>span:not(.coin){display:none}main{display:flex;flex-direction:column;height:auto;min-height:0}.fishing-stage{min-height:570px;height:calc(100svh - 136px);max-height:900px}.rig-panel{padding:24px 22px 30px;overflow:visible}.scene-heading{top:27px;left:23px}.scene-heading .eyebrow{font-size:10px}.scene-heading h1{font-size:30px;letter-spacing:4px;margin-top:8px}.scene-heading p{font-size:12px;margin-bottom:17px}.weather{font-size:11px;gap:13px}.change-scene{top:28px;right:18px;padding:8px 11px;font-size:12px}.spot-label{top:189px;left:22px;padding:8px 10px;font-size:11px}.stage-message{bottom:236px;font-size:14px;letter-spacing:0}.controls{bottom:63px}.session-strip{bottom:15px;left:18px;right:18px;justify-content:space-between;gap:6px;font-size:11px}.session-strip b{font-size:12px}.action-row{gap:20px}.cast-button{width:94px;height:94px}.control-note{margin-top:17px;font-size:11px}.action-tip{width:68px;font-size:12px}.small-action{width:54px;height:54px}.bottom-nav{position:sticky;bottom:0;z-index:3;height:71px;padding:0 10px;gap:0;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom);background:#0b2429f5;backdrop-filter:blur(16px)}.bottom-nav>button{flex:1;flex-direction:column;gap:3px;justify-content:center;font-size:11px;padding:4px 0}.bottom-nav>button>span{font-size:23px;line-height:1}.bottom-nav i{display:none}.nav-progress{display:none}.label-row h3{font-size:15px}.gear-option{padding:14px 8px}.gear-option strong{font-size:14px}.gear-option small{font-size:12px}.terrain-options button{font-size:13px;padding:12px}.fish-intel p{font-size:13px}.panel-head .eyebrow{font-size:11px}.scene-grid{grid-template-columns:1fr}.scene-card{display:flex}.scene-card img{width:37%;height:120px}.scene-card div{flex:1}.scene-card span{font-size:12px}.scene-card em{margin-top:4px}.scene-card strong{margin-bottom:4px}dialog{padding:20px;max-height:87svh}.modal-head h2{font-size:23px}.shop-grid{gap:9px}.shop-item{padding:12px}.shop-item h3{font-size:14px}.book-item{padding:12px}.book-item strong{font-size:15px}.float-callout{font-size:12px;top:45%}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.terrain-options button,.gear-option strong{font-size:14px}.gear-option small{font-size:12px}.fish-intel p{font-size:13px}.label-row>span{font-size:12px}@media(max-width:720px){.app{padding-bottom:71px}.bottom-nav{position:fixed;left:0;right:0;bottom:0}.terrain-options button{font-size:13px}}

.audio-start{position:absolute;top:96px;right:30px;font-size:13px;padding:9px 13px;border-radius:20px;color:#f6dab0;z-index:1}@media(max-width:1000px){.audio-start{top:74px;right:20px;font-size:12px}}@media(max-width:720px){.audio-start{top:222px;left:22px;right:auto;padding:7px 11px}}

.rod-label{position:absolute;left:40px;top:275px;padding:7px 11px;border-radius:5px;font-size:12px;color:#d3ddcc}.landing-progress{position:absolute;left:50%;transform:translateX(-50%);top:38%;padding:8px 15px;border-radius:18px;color:#f3d8a8;font-size:14px;white-space:nowrap}.controls{left:auto;right:24px;transform:none;width:340px}.sound-mix{margin-top:21px;border-top:1px solid var(--line);padding-top:18px}.sound-mix label{display:flex;justify-content:space-between;font-size:13px;color:#b6c8bc;margin:10px 0 4px}.sound-mix b{font-size:12px;font-weight:400;color:var(--accent)}.fish-sprite{background-image:url('../assets/fish-atlas.png');background-size:400% 200%;background-repeat:no-repeat}.catch-fish{width:230px;height:230px;margin:-40px auto -35px}.mini-fish.fish-sprite{display:inline-block;width:48px;height:48px;vertical-align:middle;margin-right:8px}.cast-button b{font-size:16px;letter-spacing:1px}@media(max-width:1000px){.rod-label{left:25px;top:302px}.controls{width:300px;right:15px}.action-row{gap:15px}}@media(max-width:720px){.controls{width:260px;right:10px;bottom:63px}.action-row{gap:14px}.rod-label{top:225px;left:22px;font-size:11px}.audio-start{top:262px}.action-tip{width:60px;font-size:11px}.control-note{font-size:11px;letter-spacing:0}.landing-progress{top:37%;font-size:12px}.scene-heading p{margin-bottom:12px}.float-callout{left:67%;top:46%}.stage-message{font-size:13px}.cast-button{width:90px;height:90px}.catch-fish{width:210px;height:210px}}

/* Fishing-first HUD: equipment is an on-demand tray, leaving the water unobstructed. */
main{display:block;height:calc(100svh - 130px);min-height:530px}.topbar{height:62px;background:#0a2229}.fishing-stage{height:100%;min-height:530px}.bottom-nav{height:68px}.rig-panel{width:min(460px,calc(100vw - 24px));max-height:88svh;position:fixed;margin:auto 18px auto auto;padding:25px;overflow-y:auto;border:1px solid #557c71;border-radius:12px}.rig-panel:not([open]){display:none}.rig-panel::backdrop{background:#03191b80;backdrop-filter:blur(3px)}.rig-close{position:absolute;right:14px;top:14px}.rig-panel .panel-head{padding-right:35px}.scene-heading{top:24px;left:25px}.scene-heading .eyebrow,.scene-heading p{display:none}.scene-heading h1{font-size:23px;letter-spacing:3px;margin:0 0 10px}.weather{font-size:12px}.spot-label{top:98px;left:25px}.rod-label{top:141px;left:25px}.change-scene{top:24px;right:25px}.water-tools{position:absolute;top:73px;right:25px;display:flex;gap:8px;z-index:2}.water-tools button{padding:9px 12px;border-radius:6px;font-size:13px}.audio-start{top:123px;right:25px;left:auto}.shade{background:linear-gradient(180deg,#001c3040,transparent 35%,#001e2420 68%,#071e28a0 100%)}.stage-message{font-size:14px}.controls{width:290px;right:24px;bottom:42px}.session-strip{bottom:16px;left:20px}.fight-ui{max-width:270px;padding:10px 14px}.action-tip{font-size:12px;width:65px}.action-row{gap:14px}.cast-button{width:88px;height:88px}.cast-button span{font-size:24px}.cast-button b{font-size:16px}.control-note{font-size:12px;letter-spacing:0}.power-ui{max-width:260px}.simulation-setup{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}.simulation-setup p{font-size:13px;line-height:1.6;color:#b8c7bb}.simulation-setup label{font-size:14px}.simulation-setup select{display:block;width:100%;padding:10px;margin:8px 0 16px;background:#183a3e;color:#dce6d7;border:1px solid #ffffff30;border-radius:5px;font-size:14px}.terrain-button{padding:7px 10px;background:#dfbb7d16;border:1px solid #d4b47750;color:#e4c490;border-radius:5px;font-size:13px}.practice-control{display:flex;align-items:center;gap:8px}.sim-note{font-size:12px!important;color:#819e92!important}.focus-water .scene-heading,.focus-water .spot-label,.focus-water .rod-label,.focus-water .session-strip,.focus-water .change-scene{visibility:hidden}.focus-water .action-tip,.focus-water .control-note{visibility:hidden}.focus-water .fight-ui{opacity:.45}.focus-water #focus-mode{border-color:#d8bd8b;color:#f0cf9b}.focus-water .shade{opacity:.55}
@media(max-width:720px){.app{padding-bottom:62px}.topbar{height:53px}.bottom-nav{height:62px}main{height:calc(100svh - 115px);min-height:490px}.fishing-stage{min-height:490px;max-height:none}.scene-heading{top:18px;left:17px}.scene-heading h1{font-size:21px}.weather{font-size:11px;gap:8px}.spot-label{top:85px;left:17px;font-size:11px}.rod-label{top:121px;left:17px;font-size:10px}.change-scene{top:19px;right:14px;font-size:11px;padding:8px}.water-tools{top:167px;right:14px;gap:6px}.water-tools button{font-size:12px;padding:8px}.audio-start{top:207px;right:14px;left:auto;font-size:11px}.controls{width:236px;right:8px;bottom:53px}.action-tip{width:50px;font-size:11px}.action-row{gap:9px}.cast-button{width:80px;height:80px}.small-action{width:47px;height:47px;font-size:12px}.small-action span{font-size:10px}.stage-message{font-size:12px}.rig-panel{margin:auto;width:calc(100vw - 20px);padding:22px}.session-strip{bottom:9px;left:12px;right:12px}.fight-ui{max-width:220px}.control-note{font-size:11px}.top-actions{gap:7px}.brand{font-size:18px}.brand-mark{width:29px;height:29px;font-size:18px}}
@media(max-height:520px) and (orientation:landscape){.topbar{height:42px}.bottom-nav{height:42px}.app{padding-bottom:0}main{height:calc(100svh - 84px);min-height:260px}.fishing-stage{min-height:260px}.scene-heading{top:13px}.scene-heading h1{font-size:19px}.spot-label{top:77px}.rod-label{top:114px}.controls{bottom:10px;right:16px}.cast-button{width:62px;height:62px}.control-note{display:none}.session-strip{bottom:8px}.water-tools{top:57px}.fight-ui{margin-bottom:10px;padding:6px 10px}.scene-heading .weather{font-size:11px}.stage-message{bottom:100px!important;left:200px;right:240px}.landing-progress{top:22%;font-size:12px}.audio-start{top:97px}}

.landscape,.shade{display:none}#water{z-index:-1;background:#7d9d9e}.render-status{position:absolute;left:22px;top:181px;font-size:12px;color:#e3eddc;pointer-events:none;text-shadow:0 1px 4px #183125}.cast-distance{position:absolute;left:22px;top:208px;font-size:12px;color:#d7e7dc;text-shadow:0 1px 4px #123c31}.view-tools{position:absolute;right:25px;top:119px;display:flex;gap:8px}.view-tools button{padding:8px 11px;border-radius:5px;font-size:12px}.audio-start{top:164px}.many-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.many-options .gear-option{width:100%;padding:12px 5px}.fish-nameplate{display:inline-flex;flex-direction:column;justify-content:center;padding:8px 10px;color:#d4dec9;font-size:14px;background:#193c3d;border-radius:5px;margin:5px 0}.fish-nameplate small{font-size:10px;opacity:.65;margin-top:4px}.fish-nameplate.large{font-size:32px;display:flex;padding:30px;margin:15px}.fish-nameplate.large small{font-size:13px}.focus-water .render-status,.focus-water .cast-distance{visibility:hidden}@media(max-width:720px){.render-status{left:17px;top:151px;font-size:10px}.cast-distance{left:17px;top:173px;font-size:10px}.water-tools{top:206px}.view-tools{top:246px;right:14px;gap:6px}.view-tools button{font-size:11px;padding:7px 9px}.audio-start{top:284px}.many-options .gear-option strong{font-size:13px}}@media(max-height:520px) and (orientation:landscape){.render-status{top:151px}.cast-distance{top:172px}.view-tools{top:95px;right:25px}.audio-start{top:135px}.water-tools{top:56px}}

/* V1 play focus: main water view plus a synchronized, unobstructed float lens. */
.float-lens{position:absolute;pointer-events:none;border:1px solid #eef7df88;box-shadow:0 5px 25px #001d2366;border-radius:3px}.float-lens span{position:absolute;top:-24px;left:0;font-size:11px;letter-spacing:1px;color:#f4f4df;text-shadow:0 1px 3px #001b1a}.render-status{display:none}.cast-distance{top:171px}.fight-ui{display:none!important}.scene-heading p,.scene-heading .weather,.spot-label,.session-strip{display:none}.rod-label{top:92px}.water-tools{top:72px}.view-tools{top:112px}.audio-start{top:152px}.cast-distance{top:121px}.stage-message{pointer-events:none}@media(max-width:720px){.rod-label{top:69px}.cast-distance{top:93px}.water-tools{top:63px}.view-tools{top:103px}.audio-start{top:143px}.controls{width:210px;right:6px}.action-tip{display:none}.control-note{max-width:195px}.stage-message{bottom:220px!important;font-size:11px}}

.render-status:empty{display:none}.render-status:not(:empty){display:block;top:40%;left:10%;right:10%;padding:20px;background:#162e2e;color:#fff;z-index:8}.controls .action-tip{display:none}@media(max-width:720px){.controls{width:160px;right:10px}.action-row{justify-content:flex-end}.control-note{font-size:10px}.view-tools{gap:4px}.view-tools button{padding:7px}.float-lens{z-index:1}}

/* Water-first composition, especially on a landscape phone. */
.float-lens span{white-space:nowrap;letter-spacing:0;font-size:12px;top:-22px}.float-lens{box-shadow:0 3px 14px #001b2340}.cast-distance{display:none}.scene-heading .eyebrow{display:none}.rod-label{background:#102d2b66;border:0;font-size:12px;padding:7px 10px}.view-tools button,.water-tools button,.change-scene{background:#102d2b77;border-color:#dce7d52b}.scene-heading h1{font-size:24px;letter-spacing:2px}.stage-message:empty{display:none}
@media(max-height:520px) and (orientation:landscape){.topbar{height:42px;padding:0 16px}.brand{font-size:18px}.brand-mark{width:26px;height:26px;font-size:18px}.top-actions{gap:8px}.wallet{font-size:12px;padding:5px 9px}.wallet b{font-size:13px}.bottom-nav{height:42px}main{height:calc(100svh - 84px);min-height:240px}.fishing-stage{min-height:240px}.scene-heading{top:12px;left:16px}.scene-heading h1{font-size:20px;margin:0}.rod-label{top:43px;left:16px;font-size:12px}.water-tools{top:58px;right:16px;gap:5px}.view-tools{top:99px;right:16px;gap:5px}.change-scene{top:13px;right:16px;padding:8px 10px;font-size:12px}.water-tools button,.view-tools button{font-size:12px;padding:7px 9px}.audio-start{top:140px;right:16px;font-size:12px;padding:7px 9px}.controls{bottom:12px;right:18px;width:150px}.cast-button{width:64px;height:64px}.small-action{width:45px;height:45px}.control-note{display:none}.action-row{justify-content:flex-end;gap:12px}.stage-message{left:25%;right:25%;bottom:20px!important;font-size:12px}.landing-progress{top:17%;font-size:12px}.float-lens span{top:-22px}.topbar .version,.brand small{display:none}}

@media(max-height:520px) and (orientation:landscape){main{min-height:0}.fishing-stage{min-height:0}}

/* Catch portrait: the fish occupies the card, including on a phone. */
.catch-fish.fish-sprite{width:min(100%,560px);height:auto;aspect-ratio:1;margin:-12% auto -13%;filter:drop-shadow(0 16px 12px #0005)}
.catch-card{overflow:hidden}.catch-card h3{position:relative;font-size:32px}.catch-card .new-record{position:relative;z-index:1;margin-bottom:10px}
@media(max-height:520px) and (orientation:landscape){.catch-fish.fish-sprite{width:min(65%,390px);margin:-60px auto -65px}}

/* 2D water-first layout: quiet perimeter controls and a clear central casting axis. */
.topbar{height:52px;padding:0 18px;background:#102d2b}.topbar .wallet{display:none}.brand{font-size:22px}.brand-mark{width:32px;height:32px;font-size:23px}.brand small{display:none}.top-actions .version{font-size:12px;letter-spacing:1px;color:#b8c9c1}
main{height:calc(100svh - 106px);min-height:0}.fishing-stage{min-height:0}.bottom-nav{height:54px;background:#102d2b}.scene-heading{top:18px;left:18px}.scene-heading h1{font-size:22px;margin:0;text-shadow:0 2px 10px #071d25}.rod-label{left:18px;top:53px;font-size:12px;background:#0b25294d}.view-tools{top:17px;right:18px}.view-tools #view-reset{display:none}.water-tools{left:18px;right:auto;top:auto;bottom:24px;flex-direction:column;align-items:flex-start}.water-tools button{font-size:14px;padding:10px 14px;background:#102d2baa}.change-scene{display:none}.audio-start{top:64px;right:18px;left:auto;max-width:180px;font-size:12px;background:#102d2ba8}.controls{right:18px;bottom:22px;width:168px}.control-note{display:none}.cast-button{width:78px;height:78px}.small-action{width:48px;height:48px}.stage-message{top:auto!important;bottom:122px!important;left:12%;right:12%;font-size:14px!important;text-shadow:0 2px 6px #062023;letter-spacing:0}.landing-progress{top:19%;font-size:13px;background:#0a262c77}.catch-photo{display:block;width:100%;max-height:46svh;object-fit:contain;background:#e9ede9;border-radius:6px;margin:20px auto 8px}.mini-photo{display:block;width:100%;height:110px;object-fit:contain;background:#e9ede9;border-radius:4px;margin:0 0 12px}.photo-caption{display:block;font-size:12px;color:#a5bcb2}.catch-card .weight{margin:8px 0}.catch-card .weight p{margin:0}.catch-card h3{margin-top:12px}.book-item.unknown .mini-photo{filter:grayscale(1);opacity:.55}.book-item{padding:12px}.focus-water .water-tools{visibility:visible}
@media(max-width:720px){.topbar{padding:0 14px}.brand{font-size:19px}.bottom-nav{gap:8px;padding:0 10px}.bottom-nav button{font-size:12px;padding:8px}.nav-progress{display:none}.top-actions{gap:7px}.scene-heading h1{font-size:20px}.water-tools{left:12px;bottom:22px}.controls{right:12px}.rod-label{left:18px}.audio-start{top:94px;right:14px}.stage-message{bottom:125px!important}.catch-photo{max-height:42svh}}
@media(max-height:520px) and (orientation:landscape){.topbar{height:40px}.bottom-nav{height:40px}main{height:calc(100svh - 80px)}.scene-heading{top:12px}.rod-label{top:41px}.controls{bottom:14px;right:18px}.cast-button{width:64px;height:64px}.water-tools{bottom:14px;left:18px;flex-direction:row}.water-tools button{padding:8px 12px}.audio-start{top:57px;font-size:12px}.stage-message{bottom:16px!important;left:30%;right:26%;font-size:12px!important}.landing-progress{top:10%}.catch-photo{max-height:58svh}.view-tools{top:12px}}

/* Two thumb controls; the float retains the clear centre of the water. */
.controls{left:18px;right:18px;width:auto;pointer-events:none}.action-row{width:100%;justify-content:space-between;flex-direction:row-reverse}.controls button{pointer-events:auto}.small-action{width:78px;height:78px;border-radius:50%;font-size:14px;background:#123f40c9;border:1px solid #d9e7dc66}.water-tools{top:88px;bottom:auto;left:18px;flex-direction:row}.water-tools #focus-mode{display:none}.topbar .version{font-size:12px}.stage-message{bottom:112px!important}.power-ui{position:absolute;right:0;bottom:90px;width:180px}#nav-shop,.nav-progress{display:none}.bottom-nav{justify-content:center}.fishing-stage .rod-label{font-size:12px}
@media(max-height:520px) and (orientation:landscape){.controls{left:18px;right:18px;bottom:14px}.cast-button,.small-action{width:64px;height:64px}.water-tools{top:73px}.stage-message{bottom:20px!important}.power-ui{bottom:72px}.landing-progress{top:12%}}

/* Inset thumb rests: comfortable reach, tactile fishing-tool buttons. */
.controls{left:max(env(safe-area-inset-left,0px),clamp(30px,9vw,150px));right:max(env(safe-area-inset-right,0px),clamp(30px,9vw,150px));bottom:clamp(32px,8vh,66px)}
.controls .cast-button,.controls .small-action{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:84px;height:84px;padding:0;border-radius:50%;border:2px solid #f6dfb2;touch-action:none;user-select:none;-webkit-user-select:none;transition:transform .12s,box-shadow .12s,filter .12s;background:radial-gradient(circle at 35% 24%,#f6d694,#ce9e52 68%,#a17438);color:#203e38;box-shadow:0 5px 0 #79552d,0 9px 19px #082c3655,inset 0 2px 1px #fff8;letter-spacing:1px}
.controls .small-action{background:radial-gradient(circle at 35% 24%,#538d7a,#245d52 68%,#19483f);border-color:#a9d0b5;color:#f1edcf;box-shadow:0 5px 0 #143b34,0 9px 19px #082c3655,inset 0 2px 1px #ffffff45}
.controls .cast-button::after,.controls .small-action::after{content:"";position:absolute;inset:5px;border:1px solid #fff5;border-radius:50%;pointer-events:none}
.controls #action-icon,.controls .thumb-icon{font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:29px;line-height:31px;display:block;color:inherit;transform:none;margin:0}
.controls #action-label,.controls .small-action b{font-size:15px;line-height:20px;font-weight:700;margin:0;letter-spacing:2px}.controls .small-action b{letter-spacing:1px}
.controls button:not(:disabled):active{transform:translateY(4px) scale(.95);box-shadow:0 1px 0 #173f35,inset 0 3px 8px #143f3555;filter:brightness(.95)}
.controls button:focus-visible{outline:3px solid #f8f1ce;outline-offset:5px}.controls .cast-button.fight{border-color:#fff0ce;background:radial-gradient(circle at 35% 24%,#f2c885,#d18e42 68%,#a4662d)}
.controls button:disabled{opacity:.6}.controls .power-ui{bottom:104px}.stage-message{bottom:145px!important}
@media(orientation:landscape){.controls{left:max(env(safe-area-inset-left,0px),clamp(52px,10vw,170px));right:max(env(safe-area-inset-right,0px),clamp(52px,10vw,170px));bottom:clamp(26px,8vh,62px)}.controls .cast-button,.controls .small-action{width:76px;height:76px}.controls #action-icon,.controls .thumb-icon{font-size:27px;line-height:29px}.controls .power-ui{bottom:91px}.stage-message{bottom:20px!important}}
@media(max-height:340px) and (orientation:landscape){.controls{bottom:22px}.controls .cast-button,.controls .small-action{width:64px;height:64px}.controls #action-icon,.controls .thumb-icon{font-size:23px;line-height:25px}.controls #action-label,.controls .small-action b{font-size:14px}.controls .power-ui{bottom:78px}}
@media(prefers-reduced-motion:reduce){.controls button{transition:none}}

.chain-tools{position:absolute;top:12px;left:34%;z-index:7;font-size:12px}.chain-tools button{padding:8px 12px}.chain-tools pre{font:12px/1.65 ui-monospace,monospace;padding:8px 12px;background:#06292ce6;color:#ffefbb;border-radius:7px;margin:5px 0;pointer-events:none}.chain-tools[hidden]{display:none}

/* Full-page fishing: the lake is the surface; navigation opens only on demand. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
.app{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;padding:0;overflow:hidden;background:#102d2b}
.app main{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0}
.app .fishing-stage{position:absolute;inset:0;width:100%;height:100%;min-height:0}
.app .topbar{position:absolute;top:calc(env(safe-area-inset-top,0px) + 14px);right:max(14px,env(safe-area-inset-right,0px));height:auto;padding:0;background:none;border:0;z-index:15;pointer-events:none}
.app .topbar .brand,.app .topbar .wallet,.app .topbar .version{display:none}
.app .top-actions{gap:6px;pointer-events:auto}.app .top-actions .icon-button{width:32px;height:32px;background:#103936a8;backdrop-filter:blur(8px);font-size:20px}
.app .bottom-nav{display:none;position:absolute;top:calc(env(safe-area-inset-top,0px) + 54px);right:max(14px,env(safe-area-inset-right,0px));bottom:auto;left:auto;width:180px;height:auto;z-index:21;flex-direction:column;gap:0;padding:6px;background:#102d2bf2;border:1px solid #cde2d333;border-radius:10px;box-shadow:0 6px 20px #06242166}
.game-menu-open .app .bottom-nav{display:flex}.app .bottom-nav button{min-height:44px;padding:8px 14px;justify-content:flex-start;font-size:14px}.app .bottom-nav button.active:before{display:none}
.app .scene-heading{top:calc(env(safe-area-inset-top,0px) + 16px);left:max(18px,env(safe-area-inset-left,0px))}
.app .scene-heading h1{font-size:20px;margin:0}.app .fishing-stage .rod-label{top:calc(env(safe-area-inset-top,0px) + 53px);left:max(18px,env(safe-area-inset-left,0px))}
.app .water-tools{top:calc(env(safe-area-inset-top,0px) + 88px);bottom:auto;left:max(18px,env(safe-area-inset-left,0px))}
.app .view-tools{top:calc(env(safe-area-inset-top,0px) + 56px);right:max(18px,env(safe-area-inset-right,0px))}
.app .audio-start{top:calc(env(safe-area-inset-top,0px) + 100px);right:max(14px,env(safe-area-inset-right,0px))}
.app .controls{bottom:max(calc(env(safe-area-inset-bottom,0px) + 22px),clamp(32px,8dvh,66px))}
.app .stage-message{bottom:calc(max(env(safe-area-inset-bottom,0px) + 22px,clamp(32px,8dvh,66px)) + 102px)!important}
.app .rig-panel{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px)}
@media(orientation:landscape){.app .controls{bottom:max(calc(env(safe-area-inset-bottom,0px) + 14px),clamp(22px,7dvh,42px))}.app .stage-message{left:27%;right:27%;bottom:calc(env(safe-area-inset-bottom,0px) + 22px)!important}}
@media(max-width:360px){.app .top-actions{gap:4px}.app .top-actions .icon-button{width:28px;height:30px}.app .scene-heading h1{font-size:18px}}

/* The annotation is inside the game stage, not the native phone chrome.
   Reference: stage y=303..2298, red x=758..1055 / 1170, centre y=1747.
   Anchor the yellow track itself; text must not shift its origin. */
.fishing-stage > .power-ui{
  position:absolute;left:64.8%;top:72.4%;right:auto;bottom:auto;
  transform:translateY(-50%);width:25.5%;max-width:182px;height:11px;
  display:block;margin:0;padding:0;border:0;border-radius:0;
  background:transparent;box-shadow:none;backdrop-filter:none;
  pointer-events:none;z-index:4;font-size:12px;line-height:18px;
}
.fishing-stage > .power-ui[hidden]{display:none}
.power-ui > .power-track{
  width:100%;height:100%;background:transparent;box-shadow:none;
}
.power-ui .power-track i{
  background:linear-gradient(90deg,#f1b73d,#ffd86a 72%,#fff1a5);
  border-radius:9px;box-shadow:0 0 8px rgba(255,205,77,.7);
}
.power-ui > #power-title,.power-ui > #power-label{
  position:absolute;top:50%;transform:translateY(-50%);white-space:nowrap;
}
.power-ui > #power-title{right:calc(100% + 10px)}
.power-ui > #power-label{
  left:calc(100% + 6px);width:auto;font-variant-numeric:tabular-nums;text-align:left;
}
@media(max-width:360px){.power-ui > #power-label{left:calc(100% + 2px)}}

/* Phase 1 gear selections reuse the existing fishing setup surface. */
.gear-option.locked{opacity:.78}.gear-option small{display:block;font-size:14px;line-height:1.45}.rod-swatch{display:block;width:38px;height:12px;background:var(--rod-color);border:2px solid var(--rod-accent);border-radius:3px;margin-bottom:9px}.preference-detail{margin-top:12px;font-size:14px}.preference-detail summary{cursor:pointer;padding:8px 0}.preference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0}.preference-grid span{display:flex;justify-content:space-between;gap:8px}.creel-sale{display:flex;align-items:center;justify-content:space-between;gap:16px}.creel-sale button{padding:12px;border:1px solid #8baf9e;border-radius:8px;background:#163e37;color:#f2f6ef;font-size:16px}.gear-section .gear-options{grid-template-columns:repeat(2,minmax(0,1fr))}.gear-option strong{font-size:16px}.rod-label{max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-item button:disabled{opacity:.55;cursor:default}@media(min-width:760px){.gear-section .gear-options{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Seven locations remain readable on a narrow phone. */
#terrain-options{display:flex;flex-wrap:wrap;gap:6px}#terrain-options button{flex:1 1 130px;white-space:normal}.reservoir-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reservoir-choices .wide-button{margin:0;font-size:14px}.reservoir-choices .selected{outline:1px solid var(--accent)}

/* Fisher-first interface: water owns the screen; tools appear only on demand. */
:root{--ui-panel:#10272c;--ui-card:#18343a;--ui-stroke:#bed7d42b;--ui-ink:#eff5ef;--ui-gold:#e4bf7f}
[hidden]{display:none!important}
.app .scene-heading .eyebrow,.app .scene-heading p,.app .scene-heading .weather,.app .rod-label,.app .session-strip,.app .audio-start,.app #focus-mode,.app #view-reset{display:none!important}
.app .scene-heading{top:max(15px,env(safe-area-inset-top));left:max(18px,env(safe-area-inset-left))}.app .scene-heading h1{font-size:19px;font-weight:600;letter-spacing:1px}
.app .spot-label{position:absolute;top:46px;bottom:auto;left:max(18px,env(safe-area-inset-left));font-size:14px;padding:5px 9px;background:#0e2a2c9e;max-width:65vw}.app .spot-label .dot{display:none}
.app .water-tools{top:86px;left:max(18px,env(safe-area-inset-left))}.app #rig-open{min-width:68px;min-height:44px;font-size:16px;border:1px solid #ffffff38}
.app .top-actions .icon-button{width:44px;height:44px;border:1px solid #ffffff38}.app .view-tools{top:68px;right:max(14px,env(safe-area-inset-right))}.app #pause{min-width:44px;min-height:44px}
.app .bottom-nav{width:224px;max-height:calc(100dvh - 84px);overflow:auto;padding:8px;gap:2px;background:#10272cf7;backdrop-filter:blur(8px)}.app .bottom-nav button{width:100%;display:flex;flex-direction:row;flex:0 0 auto;align-items:center;gap:13px;min-height:48px;padding:6px 10px;font-size:16px;line-height:1.35;text-align:left}.app .bottom-nav button img{flex:0 0 46px;width:46px;height:36px;object-fit:cover;border-radius:5px}.app .bottom-nav button>span{display:grid;place-items:center;flex:0 0 46px;width:46px;height:36px;font-size:24px}.app .bottom-nav button:hover{background:#ffffff0c}
.app .tackle-sheet{inset:auto 0 0;width:min(1040px,100vw);max-width:100vw;margin:0 auto;padding:12px 16px max(12px,env(safe-area-inset-bottom));max-height:calc(100dvh - 12px);overflow:auto;border:1px solid var(--ui-stroke);border-bottom:0;border-radius:18px 18px 0 0;background:var(--ui-panel);color:var(--ui-ink);box-shadow:0 -12px 44px #00101166}
dialog::backdrop{background:#04121688;backdrop-filter:blur(2px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;margin:0 0 8px}.sheet-head h2{margin:0;font-size:21px;letter-spacing:1px}.sheet-head>div{display:flex;align-items:baseline;gap:16px;min-width:0}#setup-summary{font-size:14px;color:#aec6c5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sheet-done{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 22px;border-radius:9px;background:var(--ui-gold);color:#1b3235;font-size:16px;font-weight:600;border:0;white-space:nowrap}.sheet-done:disabled{background:#516063;color:#c4cdcd}
.tackle-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:8px}.tackle-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;padding:5px;min-height:56px;color:#a9c0be;background:#193439;border:1px solid transparent;border-radius:10px;font-size:16px}.tackle-tabs button.active{background:#254548;border-color:#d5b778;color:#f8f1df}.tackle-tabs img.tab-picture{width:48px;height:43px;object-fit:contain;border-radius:5px}.tackle-tabs .line-visual{width:48px;height:43px;display:inline-block}.tackle-tabs .line-visual svg{height:36px}.tackle-tabs .line-fish{display:none}
#gear-sections .gear-section{padding:0;margin:0;border:0}.equipment-heading{display:flex;justify-content:space-between;align-items:baseline;height:24px;margin:0 0 6px}.equipment-heading h3{font-size:15px;margin:0;font-weight:500}.equipment-heading>span{font-size:14px;color:#adc6c3}.visual-cards{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:2px 2px 7px;scrollbar-width:thin;scrollbar-color:#456366 transparent}.visual-card{position:relative;flex:0 0 144px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:3px;margin:0;padding:0 0 8px;background:var(--ui-card);border:2px solid transparent;border-radius:12px;overflow:hidden;color:var(--ui-ink);font-size:16px;min-height:176px}.visual-card[data-gear=rod]{flex-basis:clamp(104px,calc((100vw - 120px)/7),134px)}.visual-card.selected{border-color:var(--ui-gold);background:#244348}.visual-frame{display:block;position:relative;width:100%;height:142px;margin-bottom:3px;background:#102b30}.visual-frame>img{display:block;width:100%;height:100%;object-fit:cover}.visual-card strong{font-size:18px;line-height:24px;font-weight:600}.visual-card small{font-size:14px;line-height:19px;color:#b8cdca}.visual-card.locked .visual-frame>img{filter:brightness(.65)}.card-price{font-size:14px;color:#e8c98e;line-height:20px}.equipped-mark{position:absolute;right:7px;top:7px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--ui-gold);color:#183238;font-weight:700}.lock-mark{position:absolute;right:8px;top:8px;color:#e4eae2;width:22px;height:22px}.lock-mark svg{width:20px;height:20px}
.line-visual{display:block;position:relative;width:100%;height:100%;color:#e7f0ed}.line-visual svg{width:100%;height:70%;padding:8px}.line-visual .line-fish{position:absolute;left:12%;bottom:0;object-fit:contain;width:76%;height:43%}.line-visual .line-0{width:43%;left:28%;height:30%}.line-visual .line-1{width:57%;left:22%;height:35%}.rig-details{margin-top:3px;border-top:1px solid var(--ui-stroke);padding:0}.rig-details>summary{padding:11px 4px;font-size:14px;color:#b7cbc7;cursor:pointer}.rig-adjustments{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:10px}.rig-adjustments .depth-section{margin:0}.rig-adjustments p{font-size:14px;color:#b7cbc7}.rig-adjustments input{width:100%}
.settings-panel{width:min(650px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:var(--ui-panel);color:var(--ui-ink);padding:18px;border:1px solid var(--ui-stroke);border-radius:16px}.settings-panel .sheet-head{position:sticky;top:-18px;z-index:2;background:var(--ui-panel);padding:10px 0}.settings-section{padding:14px 0;border-top:1px solid var(--ui-stroke)}.settings-section h3{font-size:18px;margin:0 0 14px}.settings-section>label,.settings-section details label{display:flex;justify-content:space-between;align-items:center;font-size:16px;margin:12px 0 8px}.settings-section input[type=range]{width:100%;min-height:32px}.settings-section input[type=checkbox]{width:22px;height:22px;accent-color:var(--ui-gold)}.settings-section summary{font-size:14px;padding:14px 0;cursor:pointer;color:#adc4c0}.settings-section details>a{display:block;padding:12px 0;text-decoration:underline;color:#d8c596}.settings-section select{font-size:16px;min-height:44px;background:#284246;color:inherit}.setting-options{display:flex;gap:10px;margin-bottom:14px}.setting-options button{flex:1;min-height:48px;background:#234045;border:1px solid #ffffff20;border-radius:8px;font-size:16px}.setting-options button[aria-pressed=true]{border-color:var(--ui-gold);color:var(--ui-gold)}
#modal{width:min(940px,calc(100vw - 24px));max-width:940px;max-height:calc(100dvh - 24px);padding:18px;background:var(--ui-panel);color:var(--ui-ink);border:1px solid var(--ui-stroke);border-radius:16px}.modal-head{margin-bottom:14px;align-items:center}.modal-head h2{font-size:23px;margin:0}.modal-head .eyebrow{font-size:14px;letter-spacing:0;color:#adc5c0}.modal-head .icon-button{width:44px;height:44px}.unlock-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding-bottom:10px}.unlock-card>img{width:min(280px,44vw);height:min(260px,48dvh);object-fit:contain;border-radius:12px}.unlock-card>strong{font-size:25px;color:var(--ui-gold)}.unlock-card>p{margin:0;color:#bfd1cc}.unlock-card>small{font-size:14px;color:#a2bdb9}
.creel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:14px;color:#bbcfcb}.creel-tabs{display:flex;gap:6px}.creel-tabs button{min-height:44px;padding:8px 14px;background:#1d393e;color:#b6ccc7;border-radius:8px;font-size:16px}.creel-tabs button[aria-pressed=true]{color:var(--ui-gold);background:#2d4648}.catch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.catch-tile{min-height:170px;border:1px solid #ffffff14;background:#1b363d;color:var(--ui-ink);padding:10px;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:4px}.catch-tile .mini-fish{display:block!important;width:100%;height:105px;margin:0}.catch-tile strong{font-size:16px}.catch-tile>span:not(.fish-sprite){font-size:20px;color:#e9cb93}.catch-tile>small{font-size:14px;color:#a8bdb6}.creel-footer{position:sticky;bottom:-18px;padding:12px 0 2px;margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--ui-panel);font-size:14px}.empty-creel{text-align:center;padding:12px}.empty-creel img{width:150px;height:130px;object-fit:contain;opacity:.75}.empty-creel p{font-size:16px;color:#b8cdc8}.catch-detail .catch-fish{width:100%;height:55dvh;max-height:440px;margin:0 auto 18px}.catch-detail{background:#1a343b;border-radius:12px;margin-bottom:15px}
#modal.map-modal{width:min(1100px,calc(100vw - 12px));max-width:none;padding:10px;max-height:calc(100dvh - 12px)}.map-modal .modal-head{margin:0 0 4px;height:40px}.map-modal .modal-head h2{font-size:18px}.map-modal .modal-head .eyebrow{display:none}.ui-reservoir{position:relative;width:min(100%,calc((100dvh - 124px)*1.777));margin:auto;aspect-ratio:1672/941}.ui-reservoir>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px}.ui-map-points{position:absolute;inset:0}.ui-map-points button{position:absolute;left:clamp(48px,var(--x),calc(100% - 48px));top:var(--y);transform:translate(-50%,-20%);background:none;display:grid;justify-items:center;gap:2px;padding:0;min-width:44px;min-height:44px;color:#fff;white-space:nowrap}.ui-map-points b{display:grid;place-items:center;width:25px;height:25px;font-size:15px;border:1px solid #eee5cb;border-radius:50%;background:#173b3bda}.ui-map-points span{font-size:14px;line-height:20px;padding:0 4px;border-radius:3px;background:#102d2ed9;text-shadow:0 1px 3px #000}.original-spot-row{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding-top:7px}.original-spot-row>a{display:flex;gap:8px;align-items:center;font-size:14px}.original-spot-row img{width:65px;height:40px;object-fit:cover;border-radius:5px}.original-spot-row small{display:block;font-size:12px;color:#adc3be}.original-spot-row>div{display:flex;gap:6px}.original-spot-row button{min-height:44px;padding:7px 11px;background:#254247;border-radius:7px;font-size:14px}.original-spot-row button[aria-pressed=true]{color:var(--ui-gold)}
.visual-help{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.visual-help section{background:#19373d;border-radius:12px;padding:14px;text-align:center}.visual-help section>img{width:100%;height:125px;object-fit:contain}.visual-help strong{display:block;font-size:16px;margin:8px 0}.visual-help p{font-size:14px;color:#b6cbc5}.help-pair{display:flex;align-items:center;height:125px}.help-pair>img{width:47%;height:100%;object-fit:contain}.help-pair .mini-fish{width:47%;height:100%;margin:0}.help-keys{min-height:125px;display:flex;align-items:center;justify-content:space-around;gap:8px}.help-keys b{padding:12px 8px;background:#38534b;border:1px solid #abc1a8;border-radius:10px;font-size:14px}.reach-guide{display:flex;align-items:center;gap:5px;font-size:14px;color:#bfd4cf}.reach-guide i{height:2px;flex:1;background:#a7bdba}.visual-help+.sheet-done{display:flex;margin:auto}
@media(max-height:500px) and (orientation:landscape){.app .tackle-sheet{padding:8px 12px max(8px,env(safe-area-inset-bottom))}.sheet-head{min-height:38px;margin-bottom:5px}.sheet-head h2{font-size:18px}.tackle-tabs{margin-bottom:5px}.tackle-tabs button{min-height:48px;font-size:14px}.tackle-tabs img.tab-picture{height:34px;width:40px}.visual-frame{height:108px}.visual-card{min-height:154px;gap:1px;flex-basis:132px}.visual-card strong{font-size:16px;line-height:21px}.visual-card small,.card-price{font-size:14px;line-height:18px}.equipment-heading{height:20px;margin-bottom:3px}.rig-details>summary{padding:8px 4px}.app .bottom-nav{display:none;width:440px;grid-template-columns:1fr 1fr}.game-menu-open .app .bottom-nav{display:grid}.app .bottom-nav button{min-height:46px}.settings-panel{padding:12px 18px}.unlock-card{display:grid;grid-template-columns:200px 1fr;max-width:500px;margin:auto;align-items:center;text-align:center}.unlock-card>img{grid-row:1/5;width:200px;height:200px}.unlock-card>p,.unlock-card>strong,.unlock-card>small,.unlock-card>button{grid-column:2}.catch-tile .mini-fish{height:85px}.catch-tile{min-height:142px}.visual-help section>img,.help-pair,.help-keys{height:95px;min-height:95px}}
@media(max-width:540px) and (orientation:portrait){.sheet-head>div{display:block}#setup-summary{font-size:12px;display:block;max-width:54vw;margin-top:3px}.tackle-tabs button{flex-direction:column;gap:2px;font-size:14px}.tackle-tabs img.tab-picture{width:42px;height:35px}.visual-frame{height:142px}.rig-adjustments{grid-template-columns:1fr}.visual-help{grid-template-columns:1fr}.ui-map-points span{font-size:12px}.ui-map-points b{width:22px;height:22px}.ui-map-points button{left:clamp(38px,var(--x),calc(100% - 38px))}.original-spot-row{flex-wrap:wrap}.creel-top{flex-wrap:wrap}.catch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app .spot-label{font-size:13px}.app .bottom-nav{width:224px}}
@media(prefers-reduced-motion:reduce){.visual-cards{scroll-behavior:auto}dialog::backdrop{backdrop-filter:none}}

.ui-map-leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;stroke:#f3e7c9;stroke-width:.25;fill:#f3e7c9}.ui-map-leaders path{fill:none;stroke-opacity:.8}.app #nav-fish{background:#31534d;color:#f2dfb9;font-size:18px;min-height:58px}.app #nav-fish span{font-size:18px}

/* Large product pictures; the full-float/body-detail pair remains completely visible. */
.visual-frame{height:200px}.visual-card[data-gear=float] .visual-frame>img,.visual-card[data-gear=line] .visual-frame>img{object-fit:contain}.visual-card[data-gear=float],.visual-card[data-gear=line]{flex-basis:168px}
@media(max-height:500px) and (orientation:landscape){.visual-frame{height:138px}.visual-card[data-gear=float],.visual-card[data-gear=line]{flex-basis:154px}}
.visual-card[data-gear=float] .visual-frame:after{content:"Full Float / 漂身细节";position:absolute;bottom:3px;left:0;right:0;text-align:center;font-size:12px;color:#afc0bc;pointer-events:none}

/* Match the slender product compositions; bounded framing preserves names and engraving. */
.visual-card[data-gear=rod] .visual-frame{height:auto;aspect-ratio:2/3.45;overflow:hidden}
.visual-card[data-gear=rod] .visual-frame>img{object-fit:cover;object-position:center;transform:scale(var(--rod-framing,1));transform-origin:center}

/* Rod imagery gains 15% height; compact labels leave the product in focus. */
.visual-card[data-gear=rod] strong{font-size:16px;line-height:21px}
.visual-card[data-gear=rod] small{font-size:12px;line-height:17px}
@media(max-height:500px) and (orientation:landscape){.visual-card[data-gear=rod] strong{font-size:14px;line-height:19px}}

/* Restore the original tactile faces/rims above; keep the selected live artwork.
   Circle size, thumb position, gold/green gradients, dual rings, bevel and
   press travel are owned by the original inset-thumb rules (not duplicated). */
.controls #action-icon,.controls .thumb-icon{width:68%;height:48%;flex:none;line-height:1;font-size:0;display:flex;align-items:center;justify-content:center}
.controls .thumb-icon{width:62%}
.controls .thumb-icon img,.controls .handpole-action{width:100%;height:100%;object-fit:contain;display:block}
.controls #action-label,.controls .small-action b{position:relative;z-index:1}

/* All seven categories stay visible; never hide nets beyond a full first row. */
.tackle-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;overflow:visible}
.tackle-tabs button{min-width:0}
@media(max-width:700px){.tackle-tabs button{flex-direction:column;gap:2px}.tackle-tabs img.tab-picture{width:34px;height:28px}}
@media(max-width:540px) and (orientation:portrait){
 .tackle-tabs{grid-template-columns:repeat(10,minmax(0,1fr))}
 .tackle-tabs button{grid-column:span 2}
 .tackle-tabs button[data-gear-tab=net],.tackle-tabs button[data-gear-tab=keep]{grid-column:span 5;flex-direction:row;gap:10px;min-height:44px}
}
.visual-card[data-gear=net],.visual-card[data-gear=keep]{flex-basis:190px}
.visual-card[data-gear=net] .visual-frame,.visual-card[data-gear=keep] .visual-frame{height:auto;aspect-ratio:1}
.visual-card[data-gear=net] .visual-frame>img,.visual-card[data-gear=keep] .visual-frame>img{object-fit:contain}
@media(max-height:500px) and (orientation:landscape){.visual-card[data-gear=net],.visual-card[data-gear=keep]{flex-basis:156px}}

.float-review-panel{position:fixed;z-index:20;top:max(8px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(390px,calc(100vw - 120px));padding:8px 12px;background:#102b30e8;color:#e7f0e8;border:1px solid #6c8c83;border-radius:12px;box-sizing:border-box}
.float-review-panel[hidden]{display:none}.float-review-panel>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.float-review-panel strong{font-size:14px}.float-review-panel a{color:#d7c093;font-size:14px}.float-review-choices{margin:6px 0}.float-review-choices button{flex:1;min-height:36px;background:#284a4a;color:#edf3ed;border:1px solid #557775;border-radius:6px;font-size:14px}.float-review-panel small{display:block;font-size:12px;color:#bccfca}

/* Seven approved scenes: terrain overview and matching current scene cards. */
.map-modal .ui-reservoir{width:min(100%,calc((100dvh - 245px)*1.777))}
.ui-map-points button[aria-current="true"] b{background:#f1d68f;color:#163b37;border-color:#fff2cd;box-shadow:0 0 0 3px #f4d98c55}
.ui-map-scenes{display:grid;grid-template-columns:repeat(7,minmax(112px,1fr));gap:8px;overflow-x:auto;padding:10px 2px 4px;scrollbar-width:thin}
.ui-map-scene{position:relative;display:grid;grid-template-columns:1fr;align-content:start;padding:0;text-align:left;border:1px solid #56756d;border-radius:8px;overflow:hidden;background:#143530;color:#f2f7ee;min-width:0}
.ui-map-scene>img{width:100%;height:56px;object-fit:cover;object-position:50% 28%;display:block}
.ui-map-scene>span{padding:6px;display:grid;gap:3px}.ui-map-scene b{font-size:14px;line-height:1.4;font-weight:600;white-space:nowrap}.ui-map-scene small{font-size:12px;line-height:1.4;color:#bdd1c9;white-space:nowrap}
.ui-map-scene[aria-current="true"]{border-color:#f1d68f;box-shadow:inset 0 0 0 1px #f1d68f}.ui-map-scene em{position:absolute;top:4px;right:4px;font-size:12px;font-style:normal;background:#f1d68f;color:#183b35;border-radius:4px;padding:2px 5px}
.ui-map-scene:focus-visible,.ui-map-points button:focus-visible{outline:2px solid #f1d68f;outline-offset:2px}
@media(orientation:portrait){.map-modal .ui-reservoir{width:100%}.map-modal .ui-map-points span{display:none}.map-modal .ui-map-points button{transform:translate(-50%,-50%);left:var(--x)}.map-modal .ui-map-points b{width:28px;height:28px;font-size:15px}.ui-map-scenes{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.ui-map-scene>img{height:66px}.ui-map-scene:last-child{grid-column:1/-1;grid-template-columns:38% 1fr;align-items:center}.ui-map-scene:last-child>img{height:60px}}
@media(max-height:500px) and (orientation:landscape){.map-modal .ui-reservoir{width:min(100%,calc((100dvh - 182px)*1.777))}.ui-map-scene>img{height:36px}.ui-map-scene small{display:none}.ui-map-scenes{gap:6px;padding-top:7px}.ui-map-scene>span{padding:4px}.ui-map-points span{font-size:12px}}
@media(max-height:500px) and (orientation:landscape){
 .map-modal #modal-body{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,1fr);gap:10px;align-items:center}
 .map-modal .ui-reservoir{width:100%}.map-modal .ui-map-points span{display:none}.map-modal .ui-map-points button{transform:translate(-50%,-50%);left:var(--x)}
 .map-modal .ui-map-scenes{grid-template-columns:1fr;gap:4px;padding:0;overflow:visible}
 .map-modal .ui-map-scene{grid-template-columns:56px 1fr;align-items:center;min-height:34px}
 .map-modal .ui-map-scene>img{height:34px}.map-modal .ui-map-scene>span{padding:3px 6px}.map-modal .ui-map-scene em{position:static;margin-right:5px;grid-column:2;display:none}
}

.line-care{padding:12px 16px;color:#d7e8e0;font-size:14px;line-height:1.5}.line-care p{margin:0 0 10px}.line-care button{min-height:44px;padding:10px 16px;background:#d4e6d9;color:#17332a;border:0;border-radius:8px;font:inherit}.line-care small{display:block;margin-top:8px;font-size:14px}.visual-card .line-condition{font-size:14px;color:#cfdfd7}

.rig-choices{font:14px/1.5 system-ui,sans-serif;color:inherit}.rig-choices fieldset{padding:0;margin:0 0 14px;border:0}.rig-choices legend{font-size:14px;font-weight:650;margin:0 0 7px}.rig-options{display:flex;gap:6px;flex-wrap:wrap}.rig-options button{flex:1;min-width:62px;border:1px solid #b7cbc4;background:#f7faf8;color:#234b40;border-radius:7px;padding:6px 5px;font:14px/1.35 system-ui;cursor:pointer}.rig-options button[aria-pressed=true]{background:#204e40;color:#fff;border-color:#204e40}.rig-options svg{display:block;width:50px;height:40px;margin:auto}.rig-options span{display:block}.rig-auto{display:flex;gap:14px;align-items:center;margin:2px 0}.rig-auto strong{background:#e7efe9;color:#2c5748;border-radius:20px;padding:4px 15px;font-size:14px}.rig-float-motion{height:44px;width:66px;display:block;position:relative;margin:auto;overflow:hidden}.rig-float-motion:after{content:'';position:absolute;left:2px;right:2px;top:26px;height:1px;background:#719eaa}.rig-float-motion i{position:absolute;display:block;left:31px;top:4px;width:3px;height:38px;background:repeating-linear-gradient(#ff6550 0 4px,#131c22 4px 5px,#b9ef51 5px 9px,#131c22 9px 10px);transform-origin:50% 30px;animation:rigTurn 3s infinite}.rig-float-motion b{display:block;position:absolute;top:22px;left:-3px;width:9px;height:12px;border-radius:50%;background:#c8b487}.fm-0 i{animation-duration:1.7s}.fm-0 b{width:7px;left:-2px}.fm-2 i{width:5px}.fm-2 b{width:11px}.fm-3 i{animation-duration:4.7s}.fm-3 b{height:9px;top:27px}.rig-float-motion em{display:block;position:absolute;left:34px;top:32px;width:2px;height:10px;background:#608584}.fm-3 em{animation:rigBait 4.7s infinite}@keyframes rigTurn{0%,10%{transform:rotate(73deg)}40%,80%{transform:rotate(0deg)}88%{transform:translateY(3px)}100%{transform:rotate(0deg)}}@keyframes rigBait{0%,40%{transform:rotate(-55deg)}90%,100%{transform:rotate(0deg)}}@media(prefers-reduced-motion:reduce){.rig-float-motion i,.fm-3 em{animation:none}}.rig-module{padding:22px;background:#fff;border:1px solid #d5e1d8;border-radius:10px;margin:0 0 26px}.rig-module h2{font-size:22px;margin:0 0 18px}.rig-workspace{display:grid;grid-template-columns:minmax(270px,1fr) minmax(330px,1.3fr);gap:24px}.rig-screen{background:#102e36;border-radius:8px;overflow:hidden;color:#e1edf0}.rig-preview-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 14px;font-size:14px}.rig-preview-tools button,.rig-preview-tools select{background:#244650;color:#eef7f8;border:1px solid #5a7b84;border-radius:5px;padding:6px 9px;font:inherit}.rig-preview-tools label{margin-right:auto}.rig-screen svg{display:block;width:100%;height:auto}.rig-screen text{font-family:system-ui,sans-serif}.rig-status{padding:0 14px 12px;font-size:14px;min-height:36px}.rig-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 14px;border-top:1px solid #31505a}.rig-metrics span{display:block;font-size:14px;color:#adcad0}.rig-metrics strong{font-size:20px;font-weight:550}.rig-advanced{margin-top:18px;border-top:1px solid #dce6e0;padding-top:14px}.rig-advanced summary{cursor:pointer;font-size:14px}.rig-param-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.rig-param-grid label{font-size:14px}.rig-param-grid input{display:block;width:100%;padding:8px;border:1px solid #b6c9c0;border-radius:4px;font:16px system-ui;margin-top:5px}.rig-layer-times{font-size:14px;margin:12px 0 0}.rig-layer-times table{width:100%;border-collapse:collapse}.rig-layer-times td{padding:5px;border-bottom:1px solid #dee7e0}.rig-player-choice{background:#f5f8f6;padding:16px;border-radius:10px;color:#244438}@media(max-width:1050px){.rig-workspace{grid-template-columns:1fr}.rig-screen{max-width:680px}.rig-module{padding:16px}}@media(max-width:500px){.rig-param-grid{grid-template-columns:repeat(2,1fr)}.rig-options button{min-width:56px;font-size:14px}.rig-metrics strong{font-size:18px}}

/* Approved mobile HUD: current equipment stays visible; the lake remains open. */
.app{--hud-left:max(16px,env(safe-area-inset-left,0px));--hud-top:calc(env(safe-area-inset-top,0px) + 12px)}
.app .topbar{left:var(--hud-left);right:auto;top:var(--hud-top)}
.app .top-actions #game-menu{width:44px;height:44px;padding:7px;border:1px solid #ece9d17a;background:#194d405e;backdrop-filter:none;color:#f6f4e2;box-shadow:0 1px 3px #082a2833}
#game-menu svg{display:block;width:100%;height:100%}
.app .scene-heading{top:calc(var(--hud-top) + 2px);left:calc(var(--hud-left) + 56px);pointer-events:none}
.app .scene-heading h1{font-size:18px;font-weight:600;letter-spacing:1px;color:#fffdf2e0;text-shadow:0 1px 3px #163b3d99}
.app .spot-label{display:flex;top:calc(var(--hud-top) + 27px);left:calc(var(--hud-left) + 56px);gap:7px;padding:0;border:0;background:none;backdrop-filter:none;font-size:12px;color:#f5f8eed1;text-shadow:0 1px 3px #163b3db3;pointer-events:none}
.app .equipment-hud{position:absolute;top:calc(var(--hud-top) + 57px);left:var(--hud-left);right:var(--hud-left);display:grid;gap:16px;z-index:3;pointer-events:none}
.app .fishing-stage .rod-label{position:static;display:grid!important;gap:2px;top:auto;left:auto;right:auto;min-width:0;max-width:none;padding:0;border:0;border-radius:0;background:none;backdrop-filter:none;overflow:visible;white-space:normal;font-size:12px;line-height:16px;font-weight:400;letter-spacing:0;color:rgb(245 250 241 / 76%);text-shadow:0 1px 3px #0c303fba;pointer-events:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
#hud-equipment{color:rgb(250 252 243 / 88%);font-weight:500}
.app .water-tools{position:static;top:auto;left:auto;right:auto;bottom:auto;display:flex;flex-direction:column;align-items:flex-start;justify-self:start;gap:12px;padding:0;z-index:3;pointer-events:auto}
.app .water-tools .hud-tool,.app .water-tools #rig-open{position:relative;display:block;flex:none;width:47.196px;height:47.196px;min-width:47.196px;min-height:47.196px;padding:0;overflow:hidden;border-radius:8px;border:1px solid #f1ead48a;background:rgb(23 66 53 / 48%);box-shadow:0 2px 5px #092b2a33;backdrop-filter:none;color:#fffef4}
.hud-tool>img{display:block;width:100%;height:100%;object-fit:cover}
#rig-open>img{object-fit:contain;padding:2px 2px 10px}
.app .water-tools .hud-tool>span{position:absolute;bottom:0;left:0;right:0;padding:2px 0;background:linear-gradient(transparent,#102f2ccb);font-size:12px;line-height:16px;font-weight:600;letter-spacing:1px;text-shadow:0 1px 2px #102523}
.app .bottom-nav{top:calc(var(--hud-top) + 50px);left:var(--hud-left);right:auto;max-width:calc(100vw - var(--hud-left) - 14px);max-height:calc(100dvh - var(--hud-top) - 64px);overscroll-behavior:contain}
.app .view-tools{display:none}
.app .controls{left:max(calc(env(safe-area-inset-left,0px) + 22px),7vw);right:max(calc(env(safe-area-inset-right,0px) + 22px),7vw);width:auto;bottom:max(calc(env(safe-area-inset-bottom,0px) + 24px),7dvh)}
.app .controls .cast-button,.app .controls .small-action{width:88px;height:88px;padding:4px 0 6px;gap:1px;flex:none;border-radius:50%;border:1.5px solid rgb(255 244 209 / 78%);outline:none;background:rgb(239 207 146 / 48%);color:#182b25;box-shadow:0 2px 4px #082b2733,inset 0 1px 0 #fff5;backdrop-filter:none;animation:none;transition:transform .12s,filter .12s}
.app .controls .small-action{background:rgb(35 109 85 / 46%);border-color:rgb(233 246 220 / 73%);color:#fffef4}
.app .controls .cast-button::after,.app .controls .small-action::after{inset:3px;border:1px solid rgb(249 246 219 / 28%);box-shadow:none}
.app .controls #action-icon,.app .controls .thumb-icon{width:70%;height:58%;margin:0;transform:none}
.app .controls .cast-button,.app .controls .small-action{position:relative;overflow:hidden}
.app .controls #action-icon{position:absolute;left:16%;top:9%;width:68%;height:64%;pointer-events:none}
.app .controls .thumb-icon{position:absolute;left:9%;top:3%;width:82%;height:72%;pointer-events:none}
.app .controls .thumb-icon img{object-fit:fill;clip-path:ellipse(44% 37% at 50% 49%)}
.app .controls #action-label,.app .controls .small-action b{position:absolute;bottom:7%;left:0;width:100%;pointer-events:none}
.app .controls #action-label,.app .controls .small-action b{font-family:inherit;font-size:15px;font-weight:600;letter-spacing:1px;line-height:20px;margin:0}
.app .controls .small-action b{text-shadow:0 1px 2px #103e3477}
.app .controls .cast-button:not(:disabled):active,.app .controls .small-action:not(:disabled):active{transform:scale(.95);box-shadow:inset 0 1px 3px #132f3033}
.app .controls .cast-button:focus-visible,.app .controls .small-action:focus-visible{outline:2px solid #fff3cd;outline-offset:4px}
.app .controls button:disabled{opacity:.48}
.app .stage-message{bottom:calc(max(env(safe-area-inset-bottom,0px) + 24px,7dvh) + 105px)!important;font-size:13px;line-height:1.5;color:#f5f5e9d1}
@media(min-width:760px){.app .controls{left:10vw;right:10vw}.app .controls .cast-button,.app .controls .small-action{width:94px;height:94px}}
@media(max-height:500px) and (orientation:landscape){
 .app .equipment-hud{gap:10px}
 .app .fishing-stage .rod-label{font-size:11px;line-height:15px;gap:2px}
 .app .water-tools{gap:9px}
 .app .water-tools .hud-tool,.app .water-tools #rig-open{width:41.952px;height:41.952px;min-width:41.952px;min-height:41.952px}
 .app .controls{left:max(calc(env(safe-area-inset-left,0px) + 20px),12vw);right:max(calc(env(safe-area-inset-right,0px) + 20px),12vw);bottom:max(calc(env(safe-area-inset-bottom,0px) + 14px),5dvh)}
 .app .controls .cast-button,.app .controls .small-action{width:76px;height:76px}
 .app .stage-message{left:28%;right:28%;bottom:calc(env(safe-area-inset-bottom,0px) + 22px)!important}
}

.bait-status{position:absolute;left:12px;right:12px;bottom:160px;text-align:center;z-index:4;pointer-events:none;font:13px/1.5 sans-serif;color:#fff3d0;text-shadow:0 1px 4px #162b28;background:rgba(22,43,40,.62);border-radius:8px;padding:6px 10px;width:max-content;max-width:calc(100% - 24px);margin:auto}.bait-status[hidden]{display:none}@media(max-height:520px){.bait-status{bottom:118px;font-size:12px}}
/* Friend PK is a direct home HUD button immediately above tackle. */
.app .water-tools #pk-open{display:grid;place-items:center;font:700 18px/1 system-ui,sans-serif;letter-spacing:1px}
/* Catch records and friend rooms: bounded DOM, no additional animation loop. */
.creel-summary{display:flex;flex-wrap:wrap;gap:12px 22px;padding:14px 0;color:#d9e8df;font-size:16px}.creel-summary b{font-size:23px;color:#ead09b}.social-note{font-size:14px;line-height:1.6;color:#b8cec5;margin:10px 0}.social-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.social-actions button{min-height:44px}.share-preview{text-align:center;min-height:120px;margin-bottom:14px}.share-preview img{display:block;width:min(100%,380px);max-height:64dvh;object-fit:contain;margin:auto;user-select:auto;-webkit-touch-callout:default}.pk-lobby label{display:grid;gap:8px;font-size:16px;margin:14px 0}.pk-lobby input,.pk-lobby select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #63877e;background:#153631;border-radius:8px;color:#eff7ef;font:inherit}.pk-join{display:flex;gap:12px;align-items:center}.pk-join label{flex:1;min-width:0}.pk-room-head{display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:space-between;font-size:16px}.pk-clock{font-size:30px;font-variant-numeric:tabular-nums;color:#e9cb93;margin:16px 0 8px}.pk-members{margin:14px 0}.pk-member{display:flex;gap:14px;align-items:center;padding:12px 10px;border-bottom:1px solid #b7d6c327;font-size:16px}.pk-member>span{flex:1;overflow-wrap:anywhere}.pk-member small{display:block;font-size:14px;color:#b8cec5;margin-top:5px}.pk-member.is-me{background:#305249;border-radius:8px}.pk-member>strong{white-space:nowrap;font-variant-numeric:tabular-nums;color:#e9cb93}#pk-error{color:#ffd0a8;font-size:14px;line-height:1.5}#pk-hud{position:absolute;right:max(16px,env(safe-area-inset-right));top:calc(env(safe-area-inset-top) + 16px);z-index:4;max-width:60%;padding:9px 12px;min-height:44px;border:1px solid #bedcca55;border-radius:9px;background:#123f39e6;color:#f5f7ec;font-size:14px;font-variant-numeric:tabular-nums}#pk-hud[hidden]{display:none}

/* Switching stays on the original map until its target image is ready. */
.spot-load-state{grid-column:1/-1;padding:12px;background:#173c3d;border-radius:8px;font-size:14px;line-height:1.5}.spot-load-state[hidden]{display:none}.spot-load-state p{margin:0 0 8px}.spot-load-state button{margin:0 8px 0 0;min-height:44px}.map-image-retry{position:absolute;inset:35% 10%;z-index:2;background:#173c3d;color:#eee5cb;font-size:15px;min-height:44px}

/* All species share the real in-game float review. */
.float-review-panel>.float-review-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.float-review-choices button{min-width:0;padding:4px 2px}.float-review-panel #float-review-language{margin-bottom:5px;font-size:13px;line-height:1.4}

/* Approved career panel: all detail stays off the fishing HUD. */
.career-panel{font-size:15px;line-height:1.6}.career-hero{display:grid;gap:5px;padding:20px;border:1px solid #d6b77b;border-radius:16px;background:#203b3d}.career-hero strong{font-size:26px;color:#f1ce8e}.career-gates{list-style:none;padding:0;margin:16px 0}.career-gates li{display:flex;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid #486365}.career-gates b{white-space:nowrap;color:#fff}.career-gates .complete{color:#9dd4b0}.career-note{font-size:13px;color:#b7ceca}.career-panel details{margin:16px 0;padding:12px;background:#1d383b;border-radius:10px}.career-panel summary{cursor:pointer;font-weight:700}.career-table{width:100%;border-collapse:collapse;font-size:13px}.career-table td{vertical-align:top;border-bottom:1px solid #486365;padding:10px 6px}.career-table td:first-child{min-width:95px;color:#edc986}.career-live,.giant-honor{padding:14px;border:1px solid #dbb775;border-radius:10px}.giant-catch{position:absolute;z-index:35;left:50%;top:20%;transform:translateX(-50%);width:min(82%,380px);padding:16px 20px;border:1px solid #edc986;border-radius:16px;background:rgba(28,43,35,.95);box-shadow:0 5px 30px #0005;color:#ffe3a2;pointer-events:none;text-align:center}.giant-catch:not([hidden]){display:grid;gap:5px}.giant-catch strong{font-size:21px}.giant-catch span{font-size:18px}.giant-catch small{color:#e8e4cd}

/* Shared original approved image, four fixed crops; no runtime canvas or loop. */
.visual-card[data-gear=hook] .visual-frame{height:auto;aspect-ratio:1;overflow:hidden}
.hook-atlas{display:block;position:relative;width:100%;aspect-ratio:1;overflow:hidden;background:#123629;border-radius:inherit}
.hook-atlas>img.hook-sheet{position:absolute;width:200%!important;height:200%!important;max-width:none!important;left:0;top:0;object-fit:fill!important;transform:none!important}
.hook-atlas-iseama>img.hook-sheet,.hook-atlas-haixi>img.hook-sheet{left:-100%}
.hook-atlas-kanto>img.hook-sheet,.hook-atlas-haixi>img.hook-sheet{top:-100%}
.tackle-tabs .hook-atlas{width:64px;max-width:100%;margin:auto}

/* Rank ceremony: transient DOM/CSS only, no additional rendering loop. */
body #level-up{position:fixed;z-index:220;left:50%;top:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:min(410px,calc(100vw - 32px));max-height:calc(100dvh - 24px);overflow:auto;padding:24px 28px;text-align:center;color:#f3cf87;background:radial-gradient(ellipse at 50% 22%,#425042 0%,#132b2ef8 48%,#081b21fc 100%);border:1px solid #d9b675;border-radius:20px;box-shadow:0 22px 80px #0009,0 0 45px #e1b85c26;animation:promotion-arrive .65s ease-out;pointer-events:auto}
body #level-up[hidden]{display:none}#level-up .promotion-medal{width:148px;margin:0 auto 8px;color:#f4cf86;filter:drop-shadow(0 0 16px #dfac5b50)}.promotion-medal svg{display:block;width:100%}.promotion-stars{display:flex;justify-content:center;gap:5px;margin-top:-14px;font-size:12px}#level-up .promotion-kicker{letter-spacing:3px;font-size:16px}#level-up h2{margin:10px 0;font-size:30px;line-height:1.15;color:#fff1cf}#level-up .i18n-copy{display:block}#level-up .i18n-zh{display:block;opacity:1;margin-top:5px;font-size:.7em}#level-up .promotion-level{margin:14px 0;color:#c7d9cd;font-size:18px}#level-up .promotion-level strong{color:#ffe3a9;font-size:26px}#level-up .promotion-message{font-size:13px;line-height:1.5;color:#c7cdbd}#level-up button{padding:10px 25px;border:1px solid #f5d08c;border-radius:25px;background:#e4c38b;color:#173138;font:inherit;cursor:pointer}#level-up button .i18n-zh{color:inherit}@keyframes promotion-arrive{from{opacity:0;transform:translate(-50%,-46%) scale(.88)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(max-height:550px){body #level-up{padding:12px 22px;width:min(510px,calc(100vw - 24px));display:grid;grid-template-columns:132px 1fr;column-gap:20px;align-items:center}body #level-up[hidden]{display:none}#level-up .promotion-medal{grid-row:1/6;width:132px}#level-up h2{font-size:23px;margin:5px}#level-up .promotion-level{margin:5px}#level-up .promotion-message{margin:4px}#level-up button{padding:7px 18px}}
@media(prefers-reduced-motion:reduce){body #level-up{animation:none}}
/* Keep the float's central sightline clear. Controls fold away while watching. */
body .float-review-panel{left:max(8px,env(safe-area-inset-left));top:max(8px,env(safe-area-inset-top));transform:none;width:min(278px,30vw);max-height:calc(100dvh - 24px);overflow:auto;padding:10px;z-index:35}
.float-review-panel>.float-review-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.float-review-panel.review-collapsed>*:not(.review-toolbar){display:none!important}.float-review-panel .review-toolbar{display:flex;gap:5px;flex-wrap:wrap}.review-toolbar button,.review-tuning button{border:1px solid #79988c;background:#244743;color:#fff1cd;border-radius:6px;padding:8px;cursor:pointer}.float-review-panel .review-tuning{display:block;border-top:1px solid #718b7c;margin-top:8px;padding-top:8px}.review-tuning label{display:block;margin:8px 0;font-size:12px}.review-tuning input,.review-tuning select{display:block;width:100%;box-sizing:border-box;min-height:32px;background:#112f31;color:#fff;border:1px solid #688b82;border-radius:4px;padding:4px}.review-tuning p{font-size:12px;line-height:1.5}.review-tuning a{display:block;margin:8px 0}
@media(max-width:600px) and (orientation:portrait){body .float-review-panel{width:42vw;max-height:42dvh}.float-review-panel strong{font-size:11px}.float-review-panel .i18n-en{font-size:11px}.float-review-panel.review-collapsed{width:42vw}}
