:root{--navy:#1d2a39;--ink:#283344;--muted:#7c838b;--line:#e8e7e2;--paper:#f5f4f0;--orange:#ce7544;--rail:208px;font-family:"Segoe UI","Inter",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0;transition:background .16s,border-color .16s,box-shadow .16s}button,input,select,a{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e5ac83;outline-offset:3px}h1,h2,h3,h4,p{margin:0}a{color:inherit}svg{display:block}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:10px;left:10px;background:#fff;z-index:30;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{width:auto;height:auto;padding:12px;clip-path:none}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--rail);background:var(--navy);color:#dfe4ea;display:flex;flex-direction:column;padding:30px 18px 22px;z-index:10}.brand{display:flex;align-items:center;gap:11px;text-align:left;padding:0 6px;background:none;color:inherit}.brandmark{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:13px;background:var(--orange);color:#fff;font-size:20px;letter-spacing:-1.4px;font-weight:750}.brandmark>span{font-size:25px;line-height:1;margin-left:1px}.brand-copy strong{display:block;color:#f8f7f2;font-size:17px;letter-spacing:1px;font-weight:550}.brand-copy small{display:block;font-size:8px;letter-spacing:1.8px;color:#8997a8;margin-top:6px}.sidebar-section{font-size:10px;color:#738397;letter-spacing:1.5px;padding:43px 14px 15px}.nav-inner{display:flex;flex-direction:column;gap:8px}.nav-button{display:flex;align-items:center;gap:11px;background:transparent;color:#99a8ba;border-radius:10px;padding:14px 13px;text-align:left;white-space:nowrap;font-size:13px}.nav-button:hover{background:#ffffff07;color:#e3e8ee}.nav-button.active{background:#f5f1e8;color:var(--navy);box-shadow:0 5px 15px #111b2520}.nav-icon{width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.nav-button.active .nav-icon{color:var(--orange)}.nav-count{margin-left:auto;font-size:10px;color:#728297;font-variant-numeric:tabular-nums}.nav-button.active .nav-count{color:#9d8c7d}.nav-button:last-child{margin-top:14px;border-top:1px solid #ffffff0a;border-radius:0;padding-top:23px}.nav-button:last-child.active{border-radius:10px;border:0;padding-top:14px}.sidebar-bottom{margin-top:auto;padding:25px 12px 0}.sidebar-art{width:100%;height:108px;stroke:#65798b;stroke-width:1;opacity:.55}.sidebar-bottom>p{font-size:10px;color:#8b99a9;margin-top:15px;letter-spacing:.7px}.offline{display:flex;align-items:center;gap:7px;font-size:9px;color:#718697;margin-top:22px}.offline i{width:5px;height:5px;border-radius:50%;background:#a3b692}
.app-surface{margin-left:var(--rail);min-width:0}.topbar{height:76px;background:#fbfaf7;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 36px}.breadcrumb{font-size:10px;letter-spacing:1.1px;color:#92969c;white-space:nowrap}.breadcrumb>span{color:#c9cbd0;margin:0 13px}.breadcrumb>b{font-size:11px;color:#8c929a;font-weight:400;letter-spacing:1px}.top-stats{display:flex;align-items:center}.top-stats button{background:none;display:flex;align-items:baseline;gap:7px;padding:0 20px;border-left:1px solid #e3e3de}.top-stats button:first-child{border:0}.top-stats button:last-child{padding-right:0}.top-stats strong{font-size:21px;font-weight:550;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.top-stats span{font-size:10px;color:#92969b}.top-stats button:hover strong{color:var(--orange)}
.workspace{max-width:1780px;margin:auto;padding:32px 36px 48px;min-height:calc(100vh - 150px);scroll-margin-top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:9px;letter-spacing:2px;color:#a18b78;font-weight:650}.section-heading h1{font-size:30px;letter-spacing:1px;font-weight:650;line-height:1.4;margin-top:7px}.heading-deco{font-size:11px;color:#a49c92;display:flex;align-items:center;gap:10px;letter-spacing:.7px}.heading-deco>span{height:1px;width:30px;background:#d4c5b7}.section-description{margin-top:10px;font-size:12px;color:#858681;line-height:1.9}.query-panel{margin-top:23px}.search-row{display:flex;align-items:center;gap:12px}.search-box{display:flex;align-items:center;gap:13px;min-width:0;flex:1;background:#fff;border:1px solid #e0e1df;border-radius:12px;padding:13px 16px;box-shadow:0 2px 6px #1d2a3903}.search-box:focus-within{border-color:#c28c65;box-shadow:0 0 0 3px #ce75440c}.search-box svg{width:21px;height:21px;stroke:#b38b6b;stroke-width:1.5;flex:none}.search-box input{height:24px;width:100%;min-width:0;border:0;outline:none!important;background:transparent;color:var(--ink);font-size:13px}.search-box input::placeholder{color:#a4a5a4}.search-box kbd{border:1px solid #e9e8e3;color:#aaa8a2;padding:1px 7px;border-radius:5px;font-size:11px;font-family:inherit}.reset-button{background:#edece7;border:1px solid #e4e3dc;border-radius:10px;display:flex;align-items:center;gap:7px;font-size:11px;color:#8b8c87;padding:16px;white-space:nowrap}.reset-button:hover{background:#e6e4dc}.reset-button svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.filters{display:flex;flex-wrap:wrap;align-items:center;gap:18px;padding-top:14px}.filters label{display:flex;align-items:center;gap:9px;color:#85877f;font-size:10px}.filters select,.filters input{color:#646c72;font-size:11px;background:#fdfcf9;border:1px solid #e5e3dd;border-radius:6px;padding:7px 9px;max-width:220px;min-width:0}.filters input[type=number]{width:86px}.filter-tip{font-size:10px;color:#aaa69e;margin-left:auto}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 15px}.result-toolbar p{font-size:11px;color:#96948e;white-space:nowrap}.result-toolbar b{font-size:13px;color:#474e55;font-weight:650}.result-toolbar p>span{color:#aaa59b}.quick-links{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.quick-links>span{font-size:10px;color:#a49a8d;margin-right:2px}.quick-links button{font-size:10px;background:#ebe9e2;color:#918575;border-radius:5px;padding:5px 8px}.quick-links button:hover{background:#e7ded2;color:#85634d}.quick-links .warn-link{color:#ac815b;background:#f0e8db}
.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}.catalog-main{min-width:0}.fish-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}.fish-card{background:#fff;border:1px solid #e7e5df;border-radius:16px;overflow:hidden;min-width:0;display:flex;flex-direction:column;transition:border-color .16s,box-shadow .16s,transform .16s}.fish-card:hover{border-color:#d8c9ba;box-shadow:0 8px 26px #292e3408;transform:translateY(-2px)}.fish-card.selected{border-color:#c99770;box-shadow:0 0 0 2px #c9977012}.card-visual{position:relative;background:#f0ede4;border-bottom:1px solid #ede8dc}.artwork-button{display:block;padding:0;width:100%;background:transparent}.fish-artwork{height:185px;position:relative;background:#f1eee5;overflow:hidden}.fish-artwork img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;padding:13px 20px;filter:drop-shadow(0 4px 3px #3e33280e)}.water-pill{position:absolute;top:12px;left:12px;display:flex;align-items:center;gap:5px;padding:4px 7px;border-radius:5px;background:#ffffffbe;border:1px solid #ffffffa0;color:#919380;font-size:9px;backdrop-filter:blur(6px);pointer-events:none}.water-pill i{width:4px;height:4px;background:#a7ad81;border-radius:50%}.water-pill.sea{color:#688b9b}.water-pill.sea i{background:#78a7b7}.card-no{position:absolute;top:14px;right:13px;font-size:9px;letter-spacing:1px;color:#b5aa94;pointer-events:none}.card-body{padding:16px 18px 0;flex:1}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.fish-card h3{font-size:17px;font-weight:650;letter-spacing:.3px;line-height:1.45;overflow-wrap:anywhere}.card-arrow{font-size:17px;color:#c2b29f;line-height:1}.trophy-weights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 15px}.trophy-value{display:flex;align-items:center;gap:7px;min-width:0;border-radius:7px;background:#faf6e9;padding:8px 9px}.trophy-value img{width:19px;height:22px;flex:none;object-fit:contain}.trophy-value>div{display:flex;align-items:center;justify-content:space-between;gap:5px;flex:1;flex-wrap:wrap;min-width:0}.trophy-value span{font-size:9px;color:#a28a54;white-space:nowrap}.trophy-value strong{font-family:"Segoe UI",sans-serif;font-size:14px;color:#92722c;font-weight:650;letter-spacing:.1px;white-space:nowrap}.trophy-value.blue{background:#edf4f7}.trophy-value.blue span{color:#7b9eb2}.trophy-value.blue strong{color:#4c7691}.trophy-value small{font-size:11px;margin-left:2px;color:#bd7d46}.mini-label{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#92928a;margin-bottom:9px}.mini-label span{font-size:9px;color:#b2aa9e}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{max-width:100%;display:inline-block;text-align:left;overflow-wrap:anywhere;background:#f5f4f0;color:#737b78;border:1px solid #eeece5;border-radius:5px;padding:3px 7px;font-size:11px;line-height:1.6}.chip:hover{background:#ede7dd;border-color:#d9c8b7;color:#8e664a}.chip.neutral{background:#faf9f6;border-color:#eeeae1;color:#9a917f}.chip.ground{background:#faf3e9;color:#9b7b50;border-color:#f0e7d8}.chip.exclusion{background:#fbf0eb;color:#ad7861;border-color:#f1dfd5}.chip.extra{background:#f0f3f8;color:#7185a0;border-color:#e3e9f0}.fish-card .chips{min-height:52px;align-content:flex-start}.card-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.tiny-tag{padding:3px 5px;border-radius:4px;background:#f5f4ef;color:#a49c8f;font-size:9px;line-height:1.6}.tiny-tag.amber{color:#ab8054;background:#faf1e4}.card-bottom{padding:13px 18px;margin-top:16px;border-top:1px solid #f1eee8;display:flex;align-items:center;justify-content:space-between;gap:10px}.map-preview{max-width:68%;font-size:10px;line-height:1.7;color:#93958d;overflow-wrap:anywhere}.view-detail{background:transparent;padding:3px 0;color:#b58056;white-space:nowrap;font-size:11px}.view-detail:hover{color:#ac5e2a}.disabled-notice{background:#faf0e5;color:#a87b50;border:1px solid #efdfcb;border-radius:6px;padding:9px;font-size:11px;line-height:1.8}.small{font-size:11px;line-height:1.8}.muted{color:var(--muted)}
.detail-panel{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d5cbbf transparent;background:#fff;border:1px solid #e3dfd6;border-radius:16px;box-shadow:0 6px 20px #252c3404}.detail-head{padding:18px 20px 19px;border-bottom:1px solid #e9e4db;background:var(--navy);color:#f3f0e9}.detail-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:1.7px;color:#899daf}.detail-kicker button{font-size:9px;color:#d8bb95;border:1px solid #ffffff17;background:#ffffff06;border-radius:5px;padding:5px 8px;letter-spacing:0}.detail-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}.detail-title h3{font-size:24px;line-height:1.4;font-weight:550;letter-spacing:.8px}.detail-sub{font-size:9px;color:#8fa2b5;letter-spacing:1px;margin-top:5px}.detail-title>svg{width:32px;height:32px;fill:none;stroke:#61758a;stroke-width:1.2;flex:none}.detail-body{padding:0 20px 21px}.wiki-profile{padding:17px 0;border-bottom:1px solid #f0ece5}.artwork-detail{height:210px;border-radius:9px;background:#f6f3eb}.artwork-detail img{padding:10px}.trophy-large{margin:14px 0 0;gap:9px}.trophy-large .trophy-value{padding:11px 10px;gap:10px}.trophy-large .trophy-value img{width:25px;height:30px}.trophy-large .trophy-value>div{display:block}.trophy-large .trophy-value span{display:block;font-size:9px;margin-bottom:4px}.trophy-large .trophy-value strong{font-size:24px;font-weight:550;line-height:1.1}.detail-section{padding:18px 0;border-bottom:1px solid #f0ece5}.detail-section:last-child{border-bottom:0;padding-bottom:0}.detail-section h4{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px;color:#505865;font-weight:650;margin-bottom:12px}.detail-section h4>span{font-size:9px;font-weight:400;color:#a39a8c}.detail-section p{font-size:11px;line-height:1.9;color:#959084}.detail-section .chips+.small{font-size:10px;margin-top:9px}.excluded-block{margin-top:14px}.excluded-block .mini-label{color:#ad856d}.conditional-box{background:#f1f4f8;border:1px solid #e8edf3;border-radius:8px;padding:12px;margin-top:15px}.conditional-box h4{font-size:10px;color:#788ba4}.conditional-box p{font-size:10px;color:#8492a5;line-height:1.8;margin-top:9px}.rule-list{list-style:none;margin:0;padding:0}.rule-list li{position:relative;padding-left:13px;font-size:11px;line-height:1.9;color:#83867f;margin-bottom:9px;overflow-wrap:anywhere}.rule-list li:before{content:"";position:absolute;left:0;top:9px;width:4px;height:4px;background:#d8b48d;border-radius:1px}.rule-list li:last-child{margin-bottom:0}.rule-list li.danger{color:#a87952}.weight-notes{margin-top:12px;background:#fbf1e3;border:1px solid #efe0c9;border-radius:7px;padding:10px}.weight-notes p{font-size:10px;line-height:1.9;color:#9c7946}
.index-list{display:grid;gap:16px}.index-card{background:#fff;border:1px solid #e7e5df;border-radius:13px;padding:21px}.index-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.index-card h3{font-size:17px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}.index-card-head>span{font-size:10px;color:#a49682;white-space:nowrap}.fish-link{border:1px solid #e7e5de;border-radius:6px;background:#f8f7f3;color:#788078;padding:6px 9px;font-size:11px;line-height:1.7}.fish-link:hover{background:#f6e9dd;color:#9e704b;border-color:#e8cbb1}.fish-link.unavailable{color:#a97b51;background:#fbf2e7;border-color:#eedec9}.index-card>.small{font-size:10px;color:#a79f92;margin-top:15px}.no-results{background:#fdfcf9;border:1px dashed #d9d1c4;border-radius:13px;text-align:center;padding:65px 20px;color:#9f917e;font-size:12px;line-height:2}.no-results strong{display:block;font-size:20px;font-weight:550;color:#827563;margin-bottom:8px}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:26px;color:#a49785;font-size:11px}.pagination button{background:#fff;border:1px solid #e3ded4;border-radius:8px;padding:9px 14px;font-size:11px;color:#9a866c}.pagination button:hover:not(:disabled){background:#f3e9dd;border-color:#debea0}.pagination span{font-variant-numeric:tabular-nums}
.table-wrap{background:#fff;border:1px solid #e7e3db;border-radius:13px;overflow:auto}.gear-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.gear-table th{padding:16px 22px;background:#f0ede6;border-bottom:1px solid #e3ddd2;color:#8c816c;font-weight:500;font-size:11px;white-space:nowrap}.gear-table td{padding:15px 22px;border-bottom:1px solid #f0ede8;color:#818c83}.gear-table tbody tr:last-child td{border-bottom:0}.gear-table tbody tr:hover{background:#fcfaf6}.gear-table .gear-name{min-width:260px;font-weight:550;color:#515d66;line-height:1.6}.gear-table .strength{text-align:right;color:#394e60;font-size:17px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.gear-table .strength>span{font-size:10px;color:#9ca3a7;font-weight:400;margin-left:6px}.gear-table .table-note{font-size:11px;color:#a3957b;min-width:90px}.kind-pill{display:inline-block;border:1px solid #e5e8e9;background:#f4f6f6;border-radius:5px;padding:4px 8px;font-size:10px;color:#81929c;white-space:nowrap}.kind-pill.custom{background:#fcf2e5;border-color:#f1dfc7;color:#a5814e}.equipment-note{border:1px solid #e8e0d3;background:#f5f0e6;border-radius:8px;padding:13px 17px;color:#9d907a;line-height:1.85;font-size:11px;margin-bottom:17px}.equipment-note strong{color:#927e5d;font-weight:600}
.rules-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:24px;margin-top:26px;align-items:start}.rule-paper{background:#fff;border:1px solid #e5e2db;border-radius:15px;padding:27px}.rule-paper h3{font-size:19px;font-weight:600;margin-bottom:24px}.rule-paper p{color:#8e8676;font-size:12px;line-height:1.9}.numbered-rules{list-style:none;padding:0;margin:0;counter-reset:rules}.numbered-rules li{counter-increment:rules;position:relative;padding:0 0 20px 38px;margin-bottom:20px;border-bottom:1px solid #f0ebe3;font-size:12px;line-height:2;color:#81877c}.numbered-rules li:last-child{border:0;padding-bottom:0;margin-bottom:0}.numbered-rules li:before{content:counter(rules,decimal-leading-zero);position:absolute;left:0;top:2px;color:#b28f67;font-size:13px;font-weight:550;letter-spacing:1px}.rule-stack{display:grid;gap:18px}.rule-paper.warning{background:#f8f1e6;border-color:#e9d9be}.rule-paper.warning h3{color:#a1804c;font-size:17px;margin-bottom:14px}.disabled-fish{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}footer{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1708px;margin:0 36px;border-top:1px solid #e5dfd4;padding:20px 0 25px;font-size:10px;color:#a79c8b}footer>span:first-child{font-size:11px;font-weight:550;color:#9b8c77}footer i{font-style:normal;font-size:9px;color:#cec4b5;margin:0 5px}footer button{background:none;color:#ab8c69;padding:0;font-size:10px}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:var(--navy);color:#e9e7df;padding:13px 23px;border-radius:10px;box-shadow:0 5px 24px #1d2a3920;font-size:12px;z-index:30;max-width:90vw;text-align:center}
.nav-button{font-size:14px}.section-description{font-size:13px;color:#747b75}.search-box input{font-size:14px}.filters label{font-size:11px;color:#747c75}.filters select,.filters input{font-size:12px}.filter-tip{font-size:11px;color:#86877e}.result-toolbar p{font-size:12px;color:#7b817a}.result-toolbar b{font-size:14px}.quick-links>span{font-size:11px;color:#8b8174}.quick-links button{font-size:11px;color:#7c6d5b}.trophy-value span{font-size:10px;color:#8e763f}.trophy-value.blue span{color:#60859d}.mini-label{font-size:11px;color:#777f78}.mini-label span{font-size:10px;color:#918a7f}.chip{font-size:12px;color:#626b65}.tiny-tag{font-size:10px;color:#8e8475}.map-preview{font-size:11px;color:#7c8077}.view-detail{font-size:12px;color:#9f653a}.detail-kicker{font-size:10px}.detail-section h4{font-size:13px}.detail-section h4>span{font-size:10px;color:#8e867a}.detail-section p,.rule-list li{font-size:12px;color:#777f79}.detail-section .chips+.small{font-size:11px}.fish-link{font-size:12px;color:#687266}.index-card-head>span{font-size:11px}.gear-table th{font-size:12px}.equipment-note{font-size:12px;color:#86785f}
@media(min-width:1700px){.fish-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-layout{grid-template-columns:minmax(0,1fr) 370px}.fish-artwork{height:195px}.artwork-detail{height:225px}}
@media(min-width:2100px){footer{margin-left:auto;margin-right:auto}}
@media(max-width:1350px){:root{--rail:184px}.sidebar{padding-left:13px;padding-right:13px}.brand{gap:9px}.brandmark{width:39px;height:40px;font-size:18px}.brand-copy strong{font-size:15px}.brand-copy small{font-size:7px}.nav-button{padding:13px 11px;gap:9px;font-size:12px}.workspace{padding:27px 27px 40px}.topbar{padding:0 27px}.catalog-layout{grid-template-columns:minmax(0,1fr) 315px;gap:20px}.fish-grid{gap:16px}.fish-artwork{height:165px}.artwork-detail{height:195px}.card-body{padding:14px 15px 0}.card-bottom{padding:12px 15px}.fish-card h3{font-size:16px}.trophy-value{gap:5px;padding:7px}.trophy-value strong{font-size:13px}.trophy-value span{font-size:9px}.trophy-value img{width:17px;height:21px}.trophy-large .trophy-value strong{font-size:23px}.detail-body{padding:0 17px 17px}.detail-head{padding:17px}.top-stats button{padding:0 14px}.heading-deco{font-size:10px}.filter-tip{display:none}footer{margin:0 27px}.fish-card .chips{min-height:63px}}
@media(max-width:1100px){.sidebar{position:relative;inset:auto;width:auto;height:auto;display:block;padding:16px 25px 0}.brand{display:inline-flex;padding:0}.brand-copy{display:flex;align-items:baseline;gap:10px}.brand-copy strong{font-size:17px}.brand-copy small{font-size:8px}.brandmark{height:34px;width:35px;border-radius:9px}.sidebar-section,.sidebar-bottom{display:none}.nav-inner{flex-direction:row;gap:7px;overflow:auto;scrollbar-width:none;padding:15px 0 12px}.nav-button{font-size:12px;padding:10px 13px;border-radius:7px;gap:7px;flex:none}.nav-icon{width:17px;height:17px}.nav-count{font-size:9px;margin-left:3px}.nav-button:last-child{margin:0 0 0 auto;border:0;border-radius:7px;padding:10px 13px}.nav-button:last-child.active{padding:10px 13px}.app-surface{margin-left:0}.topbar{height:58px}.top-stats strong{font-size:18px}.workspace{padding-top:25px}.catalog-layout{grid-template-columns:minmax(0,1fr) 315px}.fish-artwork{height:175px}.artwork-detail{height:195px}.detail-panel{top:20px}.heading-deco{display:none}}
@media(max-width:820px){.sidebar{padding:15px 20px 0}.nav-button{padding:10px 11px}.nav-icon{display:none}.nav-inner{gap:6px}.workspace{padding:24px 20px 36px}.topbar{padding:0 20px}.breadcrumb{font-size:8px;letter-spacing:.5px}.breadcrumb>b,.breadcrumb>span{display:none}.top-stats strong{font-size:17px}.top-stats button{padding:0 11px}.top-stats span{font-size:9px}.catalog-layout{grid-template-columns:1fr}.detail-panel{position:static;max-height:none;scroll-margin-top:20px}.fish-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.fish-artwork{height:210px}.artwork-detail{height:280px}.fish-card h3{font-size:18px}.card-body{padding:17px 19px 0}.card-bottom{padding:13px 19px}.trophy-value{padding:9px;gap:8px}.trophy-value img{width:21px;height:24px}.trophy-value span{font-size:9px}.trophy-value strong{font-size:15px}.fish-card .chips{min-height:50px}.section-heading h1{font-size:28px}.detail-head{padding:20px 23px}.detail-body{padding:0 23px 23px}.detail-title h3{font-size:26px}.detail-section .chip{font-size:12px}.detail-section p,.rule-list li{font-size:12px}.trophy-large .trophy-value>div{display:flex;align-items:center;justify-content:space-between}.trophy-large .trophy-value strong{font-size:26px}.trophy-large .trophy-value span{font-size:11px}.trophy-large .trophy-value{padding:15px}.trophy-large .trophy-value img{width:30px;height:32px}.rules-layout{grid-template-columns:1fr}.result-toolbar{margin-top:24px}.result-toolbar p>span{display:none}.quick-links{gap:5px}.quick-links button{font-size:9px}footer{margin:0 20px}}
@media(max-width:540px){.sidebar{padding:14px 16px 0}.brand-copy strong{font-size:16px}.brand-copy small{font-size:7px;letter-spacing:1.2px}.nav-inner{margin-right:-16px;padding-right:16px;gap:5px}.nav-button{padding:9px 10px;font-size:11px}.nav-button:last-child{padding:9px 10px}.nav-button:last-child.active{padding:9px 10px}.nav-count{font-size:8px}.topbar{display:none}.workspace{padding:23px 15px 30px}.section-heading h1{font-size:26px;margin-top:5px}.eyebrow{font-size:8px;letter-spacing:1.7px}.section-description{font-size:12px;line-height:1.9;margin-top:8px}.query-panel{margin-top:18px}.search-row{gap:8px}.search-box{padding:11px;gap:9px;border-radius:9px}.search-box svg{width:18px;height:18px}.search-box input{font-size:12px}.search-box kbd{display:none}.reset-button{padding:14px 10px;font-size:10px;gap:0}.reset-button svg{display:none}.filters{gap:8px 15px;padding-top:12px}.filters label{font-size:10px;gap:7px}.filters select{max-width:180px;font-size:10px;padding:7px}.filters input[type=number]{width:74px;font-size:10px}.result-toolbar{align-items:flex-start;flex-direction:column;gap:12px;margin:22px 0 13px}.result-toolbar p{font-size:11px}.result-toolbar p>span{display:inline}.quick-links>span{font-size:9px}.fish-grid{gap:11px}.fish-card{border-radius:11px}.fish-artwork{height:135px}.fish-artwork img{padding:17px 7px 9px}.water-pill{top:8px;left:8px;padding:3px 5px;font-size:8px}.card-no{font-size:7px;right:9px;top:11px;letter-spacing:.5px}.card-body{padding:12px 12px 0}.card-head{gap:5px;margin-bottom:10px}.fish-card h3{font-size:14px}.card-arrow{display:none}.trophy-weights{gap:5px;margin-bottom:13px}.trophy-value{padding:6px 5px;gap:4px;border-radius:5px}.trophy-value img{width:14px;height:18px}.trophy-value>div{display:block}.trophy-value span{display:block;font-size:9px;line-height:1.7;letter-spacing:0}.trophy-value strong{font-size:13px;line-height:1.3}.mini-label{font-size:9px;gap:2px}.mini-label>span{font-size:8px}.chip{font-size:11px;line-height:1.7;padding:2px 5px}.chips{gap:4px}.fish-card .chips{min-height:64px}.card-tags{margin-top:9px;gap:4px}.tiny-tag{font-size:8px;line-height:1.5}.card-bottom{flex-wrap:wrap;padding:10px 12px;margin-top:13px;gap:4px}.map-preview{font-size:9px;max-width:100%;width:100%;min-height:28px}.view-detail{font-size:10px;margin-left:auto}.disabled-notice{font-size:10px;padding:7px}.detail-panel{border-radius:13px}.detail-head{padding:17px 18px}.detail-body{padding:0 18px 20px}.detail-title h3{font-size:24px}.detail-kicker{font-size:8px;letter-spacing:1.3px}.artwork-detail{height:230px}.artwork-detail img{padding:10px}.trophy-large{gap:9px;margin-top:13px}.trophy-large .trophy-value{padding:12px;gap:9px}.trophy-large .trophy-value img{width:26px;height:30px}.trophy-large .trophy-value>div{display:block}.trophy-large .trophy-value span{font-size:10px}.trophy-large .trophy-value strong{font-size:25px}.detail-section h4{font-size:13px}.detail-section .chips{gap:6px}.index-card{padding:18px 16px}.index-card h3{font-size:16px}.index-card-head{gap:7px;align-items:flex-start}.index-card-head>span{font-size:9px}.index-card .chips{gap:6px}.fish-link{font-size:11px;padding:5px 8px}.table-wrap{border-radius:10px}.gear-table th,.gear-table td{padding:13px}.gear-table .gear-name{min-width:210px;font-size:12px}.gear-table .strength{font-size:15px}.equipment-note{font-size:10px;padding:12px}.rule-paper{padding:20px 18px}.rule-paper h3{font-size:17px}.numbered-rules li{font-size:12px;padding-left:30px}.numbered-rules li:before{font-size:11px}.pagination{font-size:10px;gap:13px}.pagination button{padding:8px 12px;font-size:10px}footer{margin:0 15px;padding:18px 0 22px;gap:10px;font-size:9px;flex-wrap:wrap}footer>span:nth-child(2){display:none}.toast{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.topbar-info{display:flex;flex-direction:column;gap:7px;min-width:0}.updated-at{font-size:11px;letter-spacing:.3px;color:#8b8174;white-space:nowrap}.updated-at time{font-variant-numeric:tabular-nums;color:#68717a;margin-left:7px}.updated-at small{font-size:10px;margin-left:7px;color:#969083}
@media(max-width:540px){.topbar{display:flex;height:45px;padding:0 16px}.topbar .breadcrumb,.topbar .top-stats{display:none}.updated-at{font-size:10px}.updated-at small{font-size:9px}}
.bait-star{display:inline-block;margin-left:5px;font-size:.95em;line-height:1;vertical-align:baseline}
.universal-notice{margin-bottom:16px;background:#fbf6ec}.universal-notice h3{margin-bottom:12px}.universal-notice .small{line-height:1.8}

.fishing-method-rules>li{padding-bottom:11px;margin-bottom:10px;border-bottom:1px solid var(--line)}.fishing-method-rules>li:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.fishing-method-rules strong{display:block;font-size:12px;color:var(--ink);margin-bottom:4px}.fishing-method-rules span{display:block;line-height:1.9;overflow-wrap:anywhere}.fish-artwork img[data-query-src]{opacity:0}.query-home{display:inline-flex;align-items:center;gap:5px;color:#ce7544;text-decoration:none;font-size:12px;white-space:nowrap;padding:9px 0}.topbar .query-home{margin-left:auto;margin-right:18px}.query-home:hover{text-decoration:underline}.sidebar-bottom .query-home{margin-bottom:8px}@media(max-width:540px){.topbar .query-home{font-size:11px;margin-right:0}.topbar{gap:10px;justify-content:space-between}.updated-at small{display:none}}

/* Русские подписи длиннее китайских: даём рейлу чуть больше места и разрешаем перенос. */
:root{--rail:238px}
@media(max-width:1350px){:root{--rail:214px}}
.nav-button{white-space:normal;line-height:1.3}
.nav-button .nav-icon{flex:none;margin-top:2px}
.nav-button .nav-count{flex:none}
@media(max-width:820px){.nav-button{white-space:nowrap}}
@media(max-width:540px){.nav-button{white-space:nowrap;font-size:11.5px}}


/* Инструкция в разделе «Правила ловли» */
.guide-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;margin-top:24px;align-items:start}
.guide-grid .rule-paper h3{font-size:17px;margin-bottom:18px}
.guide-grid .numbered-rules li{font-size:12px;line-height:1.95;padding:0 0 14px 34px;margin-bottom:14px}
.guide-grid .numbered-rules li:before{font-size:12px}
.guide-grid b{color:#5d655f;font-weight:600}
.guide-grid code{background:#f2eee5;border-radius:4px;padding:1px 5px;font-size:11px;color:#8a7a63}
.guide-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding-top:15px;border-top:1px solid #f0ebe3}
.guide-actions .fish-link{background:#f7efe4;border-color:#e7d5bf;color:#9a7350}
.guide-note{font-size:10px;line-height:1.8;color:#a1968a;flex:1;min-width:180px}
.guide-grid>.rule-paper>.guide-note{margin-top:14px}
@media(max-width:820px){.guide-grid{grid-template-columns:1fr}}

/* Редкость вида */
.tiny-tag.rare{color:#a2673f;background:#f8ede2;border:1px solid #f0ddc9}

.lang-switch{display:flex;align-items:center;gap:3px;margin-top:15px;padding:3px;border:1px solid #ffffff12;border-radius:8px;background:#ffffff09;flex:none}
.lang-switch button{flex:1;font-size:10px;letter-spacing:.8px;color:#8b9aac;padding:6px 0;border-radius:5px;background:none}
.lang-switch button:hover{color:#dbe2ea}
.lang-switch button.active{background:#f5f1e8;color:var(--navy);box-shadow:0 2px 6px #0d16200f}
@media(max-width:1100px){.lang-switch{position:absolute;top:16px;right:25px;margin:0;width:80px}}
@media(max-width:820px){.lang-switch{top:15px;right:20px}}
@media(max-width:540px){.lang-switch{position:static;width:100%;margin:12px 0 0;padding:2px}.lang-switch button{padding:5px 0;font-size:9px}}

/* Наживки новой версии: как получить каждую и её пометки */
.bait-acquire{margin-top:14px;border-top:1px solid #f0ece5;padding-top:12px;display:grid;gap:9px}
.bait-acquire-line{font-size:11px;line-height:1.75;color:#8a8f88}
.bait-acquire-name{font-weight:600;color:#5f6a72;margin-right:7px}
.bait-source{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:5px;background:#f4efe4;border:1px solid #e8ddc9;color:#a1814f;font-size:9px;letter-spacing:.3px}
.bait-meta{margin-bottom:12px}
.bait-meta p{font-size:11px;line-height:1.8;color:#8b918a;margin-top:6px}
.note-line{margin-top:8px}

/* Шильдик редкости на фото рыбы */
.rarity-badge{position:absolute;right:12px;top:12px;display:inline-flex;align-items:center;gap:5px;padding:4px 9px 4px 4px;border-radius:8px;border:1px solid #e8ddf3;background:#ffffffef;font-size:10px;font-weight:650;line-height:1;letter-spacing:.3px;box-shadow:0 2px 7px #1b263615;pointer-events:none;z-index:2}
.rarity-badge.rarity-1{color:#78549d;background:#f7f0ffef;border-color:#d8c3ed}
.rarity-badge.rarity-2{color:#9a6a10;background:#fff1caf5;border-color:#ddba69}
.fish-artwork .rarity-badge .rarity-icon{position:static;inset:auto;width:22px;height:22px;max-width:none;max-height:none;padding:0;object-fit:contain;filter:none;flex:none}
@media(max-width:540px){.rarity-badge{right:7px;top:8px;gap:3px;padding:3px 6px 3px 3px;font-size:8px}.fish-artwork .rarity-badge .rarity-icon{width:17px;height:17px}}

/* Номер карточки уходит вниз, чтобы не спорить с шильдиком редкости */
.card-no{top:auto;bottom:8px;right:12px}
@media(max-width:540px){.card-no{top:auto;bottom:7px;right:9px}}

/* ==== Карты водоёмов ==== */
.map-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px}
.map-card{border-radius:15px;overflow:hidden;border:1px solid #e3e0d7;background:#fff;text-align:left;padding:0;box-shadow:0 3px 12px #1d2a3904;transition:transform .18s,box-shadow .18s,border-color .18s}
.map-card:hover{transform:translateY(-3px);border-color:#c5a789;box-shadow:0 10px 24px #263b4c12}
.map-card-image{height:174px;position:relative;overflow:hidden;background:#e2e5d7}
.map-card-image>img{width:100%;height:100%;object-fit:cover;object-position:center 48%;display:block;filter:saturate(.7);transition:transform .3s}
.map-card:hover .map-card-image>img{transform:scale(1.035)}
.map-card-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#172f302a,transparent 60%,#0f27322a);pointer-events:none}
.map-water{position:absolute;left:12px;top:12px;z-index:1;color:#fff;background:#233e3ecc;border:1px solid #ffffff26;padding:5px 8px;border-radius:5px;font-size:10px;backdrop-filter:blur(8px)}
.map-card.ocean-map .map-water{background:#1f4c69e8}
.map-card-copy{padding:19px 18px 17px}
.map-card h2{font-size:18px;font-weight:650;letter-spacing:.4px}
.map-count{font-size:11px;color:#7d827b;margin-top:11px;display:flex;gap:6px;align-items:baseline}
.map-count strong{font-size:24px;line-height:1.2;color:#334d48;font-weight:550;font-variant-numeric:tabular-nums}
.map-count>span{margin-left:auto;font-size:11px;color:#a06c45}
.map-rarity-counts{display:flex;gap:14px;flex-wrap:wrap;border-top:1px solid #efede8;margin-top:15px;padding-top:12px;font-size:10px;color:#8c719d}
.map-rarity-counts>span{display:inline-flex;align-items:center;gap:4px}
.map-rarity-counts>span+span{color:#a38443}
.map-rarity-counts .rarity-icon{width:20px;height:20px}
.map-overview,.map-species{overflow:hidden;background:#fff;border:1px solid #dfe1e5;border-radius:13px;margin-bottom:20px}
.wiki-section-heading{display:flex;align-items:center;gap:18px;justify-content:space-between;min-height:65px;padding:16px 24px;background:#e9e9ec;border-bottom:1px solid #e5e5e8}
.wiki-section-heading h2{font-size:20px;line-height:1.4;font-weight:700;color:#1c2a38;margin:0;display:flex;align-items:center;gap:17px}
.wiki-section-heading h2:before{content:'';display:block;width:7px;height:27px;background:#8590ad;border-radius:4px;flex:none}
.wiki-section-heading>span{font-size:12px;color:#7a8391}
.wiki-section-heading>button{padding:7px 11px;font-size:12px;border:1px solid #d6d9df;border-radius:6px;background:#f6f6f8;color:#647187;flex:none}
.wiki-section-heading>button:hover{background:#eceded;color:#465468}
.map-profile-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.85fr);gap:30px;align-items:start;padding:28px 28px 0}
.map-topographic{min-width:0}
.map-topographic>img{display:block;width:100%;height:auto;object-fit:contain;border:1px solid #c6c7bc;border-radius:9px;padding:3px;background:#fff}
.map-recommendations h3{font-size:22px;line-height:1.4;color:#253244;margin:0 0 16px;padding:2px 6px}
.map-facts{display:grid;gap:10px}
.map-fact-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:45px;padding:10px 16px;background:#f7f7f9;border-radius:7px;color:#273446;font-size:16px;line-height:1.4}
.map-fact-row strong{font-size:16px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.map-fact-row .gold-value{color:#c79a00}
.map-fact-label{display:flex;align-items:center;gap:10px;font-weight:650}
.method-icon{width:24px;height:24px;object-fit:contain;flex:none}
.method-rating{display:inline-flex;align-items:center;justify-content:flex-end;white-space:nowrap;flex:none;color:#334355}
.method-rating>img{display:block;width:22px;height:22px;object-fit:contain}
.map-description{margin:25px 28px 0;padding:23px 0 25px;border-top:1px solid #e7e8ec}
.map-description h3{font-size:20px;color:#243246;margin:0 0 12px}
.map-description>p{font-size:13px;color:#5e6a77;line-height:2;margin:0}
.map-intro-stats{display:flex;flex-wrap:wrap;gap:10px 20px;border-top:1px solid #eceef1;padding-top:17px;margin-top:20px;font-size:12px;color:#7d8693}
.map-intro-stats>span{display:inline-flex;align-items:center;gap:4px}
.map-intro-stats b{color:#405065;font-weight:600}
.species-list{display:flex;flex-wrap:wrap;align-content:flex-start;gap:15px 14px;padding:18px 15px 22px}
.species-chip{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-height:52px;padding:6px 12px;border-radius:13px;background:#eff2f5;color:#182330;border:1px solid transparent;font-size:16px;line-height:1.4;transition:background .15s,border-color .15s}
.species-chip:hover{background:#e5eaf0;border-color:#c6cfda}
.species-chip .rarity-icon{width:20px;height:20px}
.species-rarity-1>span:first-of-type{color:#8c60cb}
.species-rarity-2>span:first-of-type{color:#c74f95}
.species-thumb{width:38px;height:38px;object-fit:contain;flex:none}
@media(max-width:1350px){.map-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.map-card-image{height:170px}.map-card h2{font-size:16px}.map-card-copy{padding:16px}.map-profile-body{grid-template-columns:minmax(0,1.15fr) minmax(265px,.85fr);gap:20px;padding:22px 22px 0}}
@media(max-width:1100px){.map-profile-body{grid-template-columns:1fr;padding:18px 18px 0;gap:22px}.map-topographic{max-width:600px;margin:auto}}
@media(max-width:820px){.map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.map-card-image{height:150px}.map-rarity-counts{gap:9px;font-size:9px}}
@media(max-width:540px){.map-grid{grid-template-columns:1fr;gap:12px}.map-card-image{height:145px}.map-card-copy{padding:14px}.map-count strong{font-size:20px}.map-water{font-size:8px;top:8px;left:8px;padding:4px 5px}.map-profile-body{padding:14px 13px 0;gap:19px}.species-list{gap:9px;padding:13px}.species-chip{font-size:14px;padding:5px 9px;min-height:46px}.species-thumb{width:30px;height:30px}.wiki-section-heading{padding:13px 15px;min-height:56px}.wiki-section-heading h2{font-size:17px}.map-fact-row{font-size:13px;padding:8px 11px}}

/* ── sourceRules: требования к ловле и механика появления ── */
.source-rule-list{margin:16px 0 0;padding:0;border-top:1px solid var(--line)}
.source-rule-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8}
.source-rule-row dt{font-weight:600;color:var(--muted)}
.source-rule-row dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.source-rule-row.emphasis dd{color:#8a5a33;font-weight:600}
.source-rule-row.spawn-mechanism dt{color:#b04a3a;font-weight:700}
.source-rule-row.spawn-mechanism dd{font-size:15px;line-height:1.7;font-weight:700}
.spawn-mechanism-line{--mechanism-color:#8a5a33;display:block;color:var(--mechanism-color)}
.spawn-method-float{--mechanism-color:#b04a3a}.spawn-method-bottom{--mechanism-color:#2c5f8a}.spawn-method-lure{--mechanism-color:#6d4a8a}.spawn-method-sea{--mechanism-color:#2c7a6b}
.source-rules .detail-section h4{color:#8a5a33}

/* ── map-bait: рекомендация водоёма и наживки ── */
.map-bait-recommendations h4{flex-wrap:wrap;gap:8px}
.map-bait-intro{font-size:11px;line-height:1.8;color:var(--muted);margin:0 0 14px}
.map-bait-score{display:flex;align-items:center;gap:22px;padding:15px 18px;background:#eef3ec;border:1px solid #dde5d8;border-radius:11px;margin-bottom:13px}
.map-bait-score>div{flex-shrink:0}
.map-bait-score>div>span{display:block;font-size:11px;font-weight:600;color:#5c7057}
.map-bait-score strong{font-size:26px;line-height:1.3;color:#33492f}
.map-bait-score strong small{font-size:12px;margin-left:5px;font-weight:500}
.map-bait-score p{font-size:11px;line-height:1.8;margin:0;color:#4a5c4d}
.map-bait-score p b{font-weight:600;color:#2c3d29}
.map-bait-options{display:grid;gap:11px}
.map-bait-option{background:#faf9f5;border:1px solid #e8e4da;border-radius:11px;padding:14px 15px}
.map-bait-label{font-size:10px;font-weight:600;color:#8a8272;margin:0 0 8px}
.map-bait-maps{margin-bottom:13px}
.map-bait-maps .chip{font-size:12px;font-weight:600;background:#fff;border-color:#d8ddd0;color:#33492f;padding:6px 10px}
.map-bait-maps .chip span{color:#9aa48c;margin-left:7px}
.map-bait-baits .chip{font-size:11px;line-height:1.7;background:#fff;border-color:#e1dcd0;padding:5px 9px;overflow-wrap:anywhere;text-align:left}
.map-bait-note{font-size:10px;line-height:1.8;color:#8a8272;margin:12px 0 0}
@media(max-width:540px){.source-rule-row{grid-template-columns:78px minmax(0,1fr);gap:9px}.map-bait-score{gap:14px;padding:13px}.map-bait-score strong{font-size:23px}.map-bait-option{padding:12px}}
.map-jump{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:21px;padding-top:18px;border-top:1px solid #e6e3dc}
.map-jump>span{font-size:11px;color:#8c8276;margin-right:4px}
.map-jump button{font-size:12px;padding:7px 11px;background:#eeece5;border:1px solid transparent;border-radius:7px;color:#6b716c;cursor:pointer}
.map-jump button:hover,.map-jump button.active{background:#fff6e9;border-color:#d3ae83;color:#885b30}
.map-jump .all-maps{margin-left:auto;color:#a3663c;background:none}
.guide-mode .section-heading,.guide-mode .section-description{display:none}
.workspace.guide-mode{min-height:0;padding-bottom:36px}
.guide-mode #content{max-width:1440px;margin-inline:auto}
.stage-list{display:grid;gap:16px}
.guide-category{margin:0 0 10px;color:#243345;font-size:30px;font-weight:700;line-height:1.5}
.stage-card+.guide-category{margin-top:20px}
.stage-card{min-width:0;background:#fff;border:1px solid #d9ddd8;border-radius:14px;overflow:hidden;box-shadow:0 2px 6px #263b2910}
.stage-card>summary{display:flex;align-items:center;gap:24px;min-height:88px;padding:23px 28px;cursor:pointer;list-style:none}
.stage-card>summary::-webkit-details-marker{display:none}
.stage-card>summary:hover{background:#f6f7f1}
.stage-card>summary:focus-visible,.guide-page-button:focus-visible{outline:3px solid #ce7544;outline-offset:-4px}
.stage-title{flex:1;font-size:24px;font-weight:700;color:#293a4a;line-height:1.5}
.task-method-count{font-size:17px;font-weight:600;color:#536557;flex:none;white-space:nowrap;background:#edf1e9;padding:6px 13px;border-radius:7px}
.stage-toggle{display:flex;align-items:center;gap:13px;color:#57655a;font-size:17px;white-space:nowrap}
.task-chevron{width:10px;height:10px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);flex:none;margin:0 3px 5px 0}
.stage-when-open{display:none}
.stage-card[open] .stage-when-closed{display:none}
.stage-card[open] .stage-when-open{display:inline}
.stage-card[open] .task-chevron{transform:rotate(225deg);margin-bottom:-5px}
.stage-card[open]>summary{background:#edf1e9;border-bottom:1px solid #dce2d8}
.stage-task+.stage-task{border-top:2px solid #e4e8df}
.task-title{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;font-size:20px;line-height:1.7;font-weight:650;color:#253849;overflow-wrap:anywhere;margin:0;padding:28px 30px 0}
.task-title>span:last-child{flex:1;min-width:220px}
.task-label{font-size:18px;font-weight:700;line-height:1.5;background:#293c4c;color:#fff;border-radius:7px;padding:6px 13px;white-space:nowrap}
.task-body{padding:20px 30px 26px;hyphens:auto}
.task-conditions{border-left:4px solid #bd6637;background:#fbf1e5;padding:14px 18px;margin-bottom:20px;color:#77441f;font-size:17px;line-height:1.85}
.task-conditions p{margin:3px 0;overflow-wrap:anywhere}
.task-methods{list-style:none;padding:0;margin:0;counter-reset:method;display:grid;gap:18px}
.task-methods>li{counter-increment:method;border:1px solid #dfe5da;background:#f9faf7;border-radius:11px;padding:20px 22px;min-width:0}
.task-fish{display:flex;align-items:center;gap:13px;font-size:20px;font-weight:700;line-height:1.6;margin-bottom:17px;color:#2e4834}
.task-fish:before{content:counter(method,decimal-leading-zero);display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 4px;border-radius:7px;background:#e5eddf;font-size:16px;color:#4e6845;font-weight:650;font-variant-numeric:tabular-nums}
.task-method-info{display:grid;grid-template-columns:1fr 1fr;gap:13px 32px;margin:0}
.task-method-info>div{display:grid;grid-template-columns:42px minmax(0,1fr);gap:15px;min-width:0}
.task-method-info dt{font-size:16px;font-weight:650;line-height:1.9;color:#667563}
.task-method-info dd{margin:0;font-size:18px;hyphens:auto;line-height:1.8;color:#2e3f35;overflow-wrap:anywhere;min-width:0}
.task-method-info>div:nth-child(n+3){grid-column:1/-1}
.guide-pagination{margin-top:30px;padding-top:22px;border-top:1px solid #d9ddd2}
.guide-page-position{text-align:center;color:#4e5c51;font-size:18px;margin:0 0 18px;line-height:1.7}
.guide-page-position strong{font-size:25px;color:#263a2c;margin:0 5px}
.guide-page-position>span{color:#687363}
.guide-page-actions{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.guide-page-button{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;row-gap:2px;align-content:center;align-items:center;justify-content:normal;min-height:132px;padding:22px 28px;border:1px solid #bcc8b6;border-radius:12px;text-align:left;line-height:1.5;background:#fff;color:#293d31;overflow-wrap:anywhere;box-shadow:0 2px 4px #29352208;cursor:pointer}
.guide-page-direction{grid-column:1;grid-row:1 / span 2;white-space:nowrap;font-size:21px;font-weight:750}
.guide-page-button strong{grid-column:2;font-size:21px;font-weight:650}
.guide-page-range{grid-column:2;font-size:17px;color:#53644e}
.guide-page-button:hover{background:#edf2e8;border-color:#7e9574}
.guide-page-next{background:#a34d28;color:#fff;border-color:#a34d28;box-shadow:0 4px 12px #a34d2824}
.guide-page-next .guide-page-range{color:#fff1e9}
.guide-page-next:hover{background:#883e1e;border-color:#883e1e}
.guide-page-end{display:flex;align-items:center;justify-content:center;color:#6e786a;font-size:17px;border:1px dashed #d5dccc;border-radius:12px;background:#f0f2eb;min-height:132px;padding:22px}
@media(max-width:1000px){.map-jump .all-maps{margin-left:0}}
@media(max-width:700px){.guide-category{font-size:26px;margin-bottom:6px}.stage-list{gap:13px}.stage-card>summary{min-height:78px;padding:19px 18px;gap:15px}.stage-title{font-size:22px}.task-method-count{font-size:15px;padding:5px 9px}.stage-toggle{font-size:16px;gap:10px}.task-title{font-size:19px;gap:12px;padding:20px 19px 0}.task-label{font-size:17px}.task-title>span:last-child{flex-basis:100%;min-width:0}.task-body{padding:18px 19px 22px}.task-conditions{font-size:17px;padding:12px 15px}.task-methods>li{padding:18px}.task-fish{font-size:19px}.task-method-info{grid-template-columns:1fr;gap:12px}.task-method-info>div{gap:11px}.task-method-info>div:nth-child(n+3){grid-column:auto}.task-method-info dt{font-size:16px}.task-method-info dd{font-size:18px;line-height:1.85}.guide-page-actions{gap:12px}.guide-page-button{min-height:76px;padding:11px 14px}.guide-page-direction{font-size:17px}.guide-page-button strong{font-size:16px}.guide-page-range{font-size:15px}}
@media(max-width:480px){.stage-card>summary{gap:10px;padding:18px 15px}.stage-toggle{gap:8px}.task-method-count{font-size:14px;padding:5px 7px}.guide-page-actions{grid-template-columns:1fr;max-width:330px}.guide-page-next{grid-row:1}.guide-page-button{min-height:76px;padding:12px 17px}.guide-page-end{min-height:36px;padding:8px}.guide-page-position{font-size:16px}.task-title{padding-left:16px;padding-right:16px}.task-body{padding-left:15px;padding-right:15px}.task-methods>li{padding:16px 14px}}

/* ── Тёмная тема (по системной настройке) ─────────────────────────── */
@media (prefers-color-scheme: dark) {
:root{color-scheme:dark;--navy:#0c1219;--ink:#dde4ec;--muted:#8d99a8;--line:#2a3442;--paper:#141b26;--orange:#e08a5a}
body{color-scheme:dark}
.sidebar{background:#0a0f16}
.brand-copy strong{color:#f2f4f7}
.brand-copy small,.sidebar-section,.sidebar-bottom>p{color:#7d8b9c}
.nav-button{color:#a9b7c7}
.nav-button:hover{background:#ffffff0d;color:#e6ecf3}
.nav-button.active{background:#2b3a4e;color:#eef2f7;box-shadow:0 5px 15px #00000055}
.nav-button.active .nav-count{color:#c8a47e}
.topbar{background:#1a2331}
.breadcrumb,.top-stats span,.top-stats button{border-color:var(--line)}
.breadcrumb,.top-stats span,.result-toolbar p,.result-toolbar p>span,.quick-links>span,.section-description,.filters label,.filters select,.filters input,.updated-at,.updated-at small,.heading-deco,.eyebrow{color:#93a0ae}
.section-heading h1{color:#eef2f7}
.heading-deco>span{background:#3a4757}
.top-stats strong{color:#e8edf3}
.search-box{background:#1d2836;border-color:#314052;box-shadow:none}
.search-box:focus-within{border-color:#c28c65;box-shadow:0 0 0 3px #ce75441f}
.search-box svg{stroke:#c99a72}
.search-box input{color:var(--ink)}
.search-box input::placeholder{color:#6f7d8d}
.search-box kbd{border-color:#3a4657;color:#7d8b9c}
.reset-button{background:#232e3d;border-color:#33414f;color:#a9b7c7}
.reset-button:hover{background:#2b3850}
.filters select,.filters input{background:#1d2836;border-color:#33414f;color:#c6d0da}
.filters input[type=number]{color-scheme:dark}
.result-toolbar b{color:#d5dde6}
.quick-links button{background:#263242;color:#b9a488}
.quick-links button:hover{background:#2e3d52;color:#d9b78d}
.quick-links .warn-link{color:#d9b48a;background:#3a2f22}
.fish-card:hover{border-color:#41516a;box-shadow:0 8px 26px #00000055}
.fish-card.selected{border-color:#c99770;box-shadow:0 0 0 2px #c9977033}
.fish-artwork{background:#232d3c}
.fish-card h3,.index-card h3,.detail-title h3,.stage-title,.guide-category{color:#eef2f7}
.card-bottom,.detail-section p,.rule-list li,.numbered-rules li,.index-card p,.index-card-head>span,.mini-label,.mini-label span,.tiny-tag,.map-preview,.view-detail,.fish-link,.detail-kicker,.detail-section h4,.detail-section h4>span,.gear-table th,.gear-table td,.equipment-note,.table-note,.kind-pill,.disabled-notice,.universal-notice p,.rule-paper p{color:#a4b1bf}
.chip{background:#222c3a;border-color:#35435a;color:#b9c6d4}
.chip:hover{border-color:#c99770}
.fish-link{color:#9db8a4}
.trophy-value{background:#2a2c1e}
.trophy-value span{color:#cbb37a}
.trophy-value strong{color:#e0c078}
.trophy-value.blue{background:#1d2a33}
.trophy-value.blue span{color:#8fb4c9}
.trophy-value.blue strong{color:#7fa8c2}
.water-pill{background:#1d2836cc;border-color:#ffffff1f;color:#a7b4c2}
.pagination button{background:#1d2836;border-color:#33414f;color:#b9c6d4}
.pagination button:hover{background:#2b3850}
.pagination button.active,.pagination button[aria-current]{background:#ce7544;color:#fff}
.map-jump button{background:#1e2837;color:#a4b1bf}
.map-jump button:hover,.map-jump button.active{background:#3a2c1c;border-color:#d3ae83;color:#e8b06a}
.map-jump .all-maps{color:#d99a63}
.map-jump>span{color:#7d8b9c}
.stage-list .stage-card>summary:hover{background:#232e3d}
.stage-card[open]>summary{background:#202a38;border-bottom-color:#2b3644}
.stage-toggle{color:#9aa78f}
.task-conditions{background:#33261a;border-left-color:#c97b4a;color:#eec39a}
.task-method-count{background:#26301f;color:#b9cfae}
.task-methods>li{background:#1a2331;border-color:#2b3644}
.task-fish{color:#a8d5a2}
.task-fish:before{background:#2c3d28;color:#9dc48f}
.task-method-info dt{color:#93a491}
.task-method-info dd{color:#d7e0d5}
.task-title{color:#dfe7ef}
.task-label{background:#31405a}
.guide-page-position{color:#9fb0bd}
.guide-page-position strong{color:#dfe7ef}
.guide-page-position>span{color:#7d8b9c}
.guide-page-button{background:#1c2532;border-color:#3a4757;color:#d7e2dc}
.guide-page-button strong{color:#e8efe6}
.guide-page-range{color:#9fb3a0}
.guide-page-button:hover{background:#243020;border-color:#7e9574}
.guide-page-next{background:#a34d28;border-color:#a34d28;color:#fff}
.guide-page-next .guide-page-range{color:#ffe8d9}
.guide-page-next:hover{background:#883e1e}
.guide-page-end{background:#1a2230;border-color:#2b3644;color:#93a090}
.guide-pagination{border-top-color:#2b3644}
.toast{background:#1d2836;color:#e6ecf3;border:1px solid #33414f}
footer{color:#93a0ae}
footer button{color:#c9a67e}
.universal-notice{background:#2c2419}
.disabled-notice{background:#2c2419;color:#e6c9a0}
.map-bait-maps .chip,.map-bait-baits .chip{background:#222c3a;border-color:#35435a;color:#b9c6d4}
.map-bait-note{color:#8f9aa8}
.lang-switch button{color:#a9b7c7}
.lang-switch button.active{background:#ce7544;color:#fff}
}

/* Тёмная тема: светлые плашки-бейджи остаются светлыми — затемняем их текст */
@media (prefers-color-scheme: dark) {
.tiny-tag{color:#4d463c}
.tiny-tag.amber{color:#7a5326}
.tiny-tag.rare{color:#8a4f28}
.kind-pill{color:#3d4a56}
.kind-pill.custom{color:#7a5326}
.rarity-badge{color:#3d3450}
.rarity-badge.rarity-1{color:#5e3f8f}
.rarity-badge.rarity-2{color:#7a5208}
.mini-label{color:#8d99a8}
.mini-label span{color:#7d8b9c}
.filter-tip{color:#6f7d8d}
}

/* ── Крупнее и контрастнее плашки-ссылки (наживки/прикормка/рыбы) ──── */
.chip{font-size:13px;line-height:1.7;padding:6px 11px;color:#4c5651;border-color:#e2ded5}
.chip:hover{color:#7a4f2e}
.chip.neutral{color:#6d675c}
.chip.ground{color:#7a5a2e}
.chip.exclusion{color:#8a4f3a}
.chip.extra{color:#46608a}
.fish-link{font-size:13px;line-height:1.8;padding:8px 13px;color:#454f4a;border-color:#d8d4c9;background:#f7f6f1}
.fish-link:hover{color:#8a5a33}
.fish-link.unavailable{color:#8a4f28}
.chips{gap:8px}
.fish-card .chips{min-height:64px}
@media(max-width:540px){
.chip{font-size:12.5px;padding:6px 10px}
.fish-link{font-size:12.5px;padding:8px 12px}
.chips{gap:6px}
}
@media (prefers-color-scheme: dark) {
.chip{background:#222c3a;border-color:#3d4c63;color:#dbe5f0}
.chip:hover{background:#2b3a4f;color:#f0c9a0}
.chip.neutral{background:#242c3a;color:#c4cfdc}
.chip.ground{background:#33291c;color:#e5c795}
.chip.exclusion{background:#3a2420;color:#eeae96}
.chip.extra{background:#1e2c40;color:#a9c4ee}
.fish-link{background:#1d2836;border-color:#3a4a60;color:#d5e0ea}
.fish-link:hover{background:#2b3850;color:#f0c9a0;border-color:#c99770}
.fish-link.unavailable{background:#3a2c1c;color:#e8b06a;border-color:#6b4a2c}
}

/* ── Таблицы снастей и плашки: читаемость в обеих темах ────────────── */
.gear-table{font-size:14px}
.gear-table th{font-size:12.5px}
.gear-table td{font-size:14px}
.gear-table .table-note{font-size:12.5px}
.equipment-note{font-size:13px}
.kind-pill{font-size:11.5px;padding:5px 10px}
@media (prefers-color-scheme: dark) {
.table-wrap{background:#1c2532}
.gear-table th{background:#232e3d;border-bottom-color:#33414f;color:#c2cede}
.gear-table td{border-bottom-color:#2b3644;color:#d3dce6}
.gear-table tbody tr:hover{background:#232e3d}
.gear-table .gear-name{color:#e4eaf1}
.gear-table .strength{color:#f0d9a8}
.gear-table .strength>span{color:#8d99a8}
.gear-table .table-note{color:#b6c2cf}
.kind-pill{background:#26313f;border-color:#3a4a60;color:#cfe0f2}
.kind-pill.custom{background:#3a2c1c;border-color:#6b4a2c;color:#f0c9a0}
.equipment-note{background:#241f16;border-color:#4a3d28;color:#d8c39a}
.equipment-note strong{color:#f0d9a8}
/* светло-серый текст делаем заметно светлее */
.detail-section p,.rule-list li,.numbered-rules li,.index-card p,.index-card-head>span,.mini-label,.mini-label span,.map-preview,.view-detail,.fish-link,.detail-kicker,.detail-section h4,.detail-section h4>span,.disabled-notice,.universal-notice p,.rule-paper p,.result-toolbar p,.filters label,.section-description,.updated-at{color:#c2cdd9}
.result-toolbar p>span,.quick-links>span,.heading-deco,.eyebrow,.breadcrumb,.top-stats span{color:#9aa7b5}
}

/* ── Карты: тёмная тема ───────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
.map-card{border-color:#2b3644;box-shadow:0 3px 12px #00000040}
.map-card:hover{border-color:#c5a789;box-shadow:0 10px 24px #00000066}
.map-card-copy{color:#dfe6ee}
.map-card h2{color:#eef2f7}
.map-count{color:#9aa7b5}
.map-count strong{color:#e8c98a}
.map-count>span{color:#d9a05f}
.map-rarity-counts{border-top-color:#2b3644;color:#b9a8d8}
.map-rarity-counts>span+span{color:#d9b478}
.map-overview,.map-species{background:#1c2532;border-color:#2b3644}
.map-profile-body{color:#dfe6ee}
.map-recommendations h3{color:#eef2f7}
.map-fact-row{background:#232e3d;color:#dfe6ee}
.map-fact-row strong{color:#f0d9a8}
.map-fact-row .gold-value{color:#f0d9a8}
.map-fact-label{color:#c2cdd9}
.map-description{border-top-color:#2b3644}
.map-description h3{color:#eef2f7}
.map-description>p{color:#c2cdd9}
.map-intro-stats{border-top-color:#2b3644;color:#9aa7b5}
.map-intro-stats b{color:#d5dde6}
.map-topographic>img{border-color:#3a4657;background:#0f141c}
.map-bait-note,.map-context p{color:#9aa7b5}
}

/* ── Тёмная тема: мелкие плашки ───────────────────────────────────── */
@media (prefers-color-scheme: dark) {
.tiny-tag,.tiny-tag.amber,.tiny-tag.rare{background:#26313f;border-color:#3a4657;color:#cfd9e3}
.tiny-tag.amber{background:#33291a;border-color:#4d3f26;color:#e8cf9a}
.tiny-tag.rare{background:#31263f;border-color:#4a3a63;color:#d6baf2}
.rarity-badge,.rarity-badge.rare,.rarity-badge.very-rare{background:#22303f;color:#cfd9e3}
.rarity-badge.rare{background:#3d2a1a;color:#f0cfa0}
.rarity-badge.very-rare{background:#3a2440;color:#e5c0f0}
.fish-artwork{background:#0f141c}
.conditional-box{background:#1d2836;border-color:#2b3644}
.weight-notes{background:#241f16;border-color:#3a3226;color:#d8c39a}
.detail-kicker button{border-color:#2b3644;background:#1d2836;color:#c2cdd9}
.map-card .map-preview{color:#9aa7b5}
.map-card .view-detail{color:#d5dde6}
}

/* ── Тёмная тема: карточка рыбы и мелкие блоки ────────────────────── */
@media (prefers-color-scheme: dark) {
.card-bottom,.wiki-profile,.detail-section{border-color:#2b3644}
.card-bottom{color:#dfe6ee}
.disabled-notice{background:#33261a;border-color:#4d3f26;color:#eec39a}
.universal-notice{background:#2c2419;border-color:#4d3f26}
.universal-notice h3,.universal-notice p{color:#e8cf9a}
.excluded-block .mini-label{color:#e0a08a}
.map-bait-intro,.map-bait-note{color:#9aa7b5}
.map-bait-score{background:#1d2836;border-color:#2b3644}
.map-bait-score>div>span{color:#9aa7b5}
.map-bait-score strong{color:#f0d9a8}
.map-bait-score strong small{color:#c2cdd9}
.map-bait-score p{color:#c2cdd9}
.map-bait-score p b{color:#e4eaf1}
.map-bait-option{background:#1a2230;border-color:#2b3644}
.map-bait-label{color:#9aa7b5}
.map-bait-maps .chip,.map-bait-baits .chip{background:#26313f;border-color:#3a4657;color:#d5e0ea}
.map-bait-maps .chip span{color:#9aa7b5}
.bait-meta p{color:#c2cdd9}
.bait-acquire-line{color:#c2cdd9}
.bait-acquire-name{color:#e4eaf1}
.bait-source{background:#26313f;border-color:#3a4657;color:#e8cf9a}
.trophy-value{background:#1d2836}
.trophy-value.blue{background:#1c2532}
.no-results{background:#1a2230;border-color:#3a4657;color:#9aa7b5}
.no-results strong{color:#c2cdd9}
.spawn-method-float{--mechanism-color:#e07868}
.spawn-method-bottom{--mechanism-color:#7db3e8}
.spawn-method-lure{--mechanism-color:#c8a5f0}
.spawn-method-sea{--mechanism-color:#6fd3c4}
}

/* Режим карты в «Атласе рыб»: обзор + виды + карточка (как на сайте-источнике) */
.map-workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:20px;align-items:start}
.map-main{min-width:0}
.map-fish-detail{position:sticky;top:18px;min-width:0;align-self:start}
.map-fish-detail .detail-panel{position:static;max-height:calc(100vh - 36px);overflow:auto;border-radius:12px;scroll-margin-top:16px}
.species-trophy{font-size:16px;margin-left:2px}
.map-mode .section-heading,.map-mode .section-description,.map-mode .map-jump,.map-mode .quick-links{display:none}
.map-mode .result-toolbar{margin:17px 0 13px}
.map-mode .map-overview{margin-bottom:16px}
.map-mode .wiki-section-heading{min-height:44px;padding:10px 15px;gap:10px}
.map-mode .wiki-section-heading h2{font-size:17px;gap:10px}
.map-mode .wiki-section-heading h2:before{height:21px;width:5px}
.map-mode .wiki-section-heading>button{font-size:10px;padding:5px 9px}
.map-mode .wiki-section-heading>span{font-size:10px}
.map-mode .species-list{gap:8px;padding:12px;align-items:flex-start}
.map-mode .species-chip{min-height:35px;max-width:100%;padding:3px 7px;font-size:13px;border-radius:7px;gap:3px;line-height:1.4}
.map-mode .species-thumb{width:27px;height:27px}
.map-mode .species-chip .rarity-icon{width:19px;height:19px;margin-left:0}
.map-mode .species-trophy{font-size:12px;margin-left:0}
.map-mode .map-profile-body{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:20px;padding:18px 20px 0}
.map-mode .map-description{margin:18px 20px 0;padding:18px 0 20px}
.map-mode .map-recommendations h3{font-size:17px;margin-bottom:12px}
.map-mode .map-fact-row{min-height:38px;padding:8px 13px;font-size:13px}
.map-mode .map-fact-row strong{font-size:13px}
.map-mode .map-description h3{font-size:16px}
.map-mode .map-description>p{font-size:12px}
.map-mode .map-intro-stats{font-size:11px}
.map-mode .map-fish-detail .detail-head{padding:16px 18px}
.map-mode .map-fish-detail .detail-body{padding:0 18px 18px}
@media(min-width:1700px){.map-workspace{grid-template-columns:minmax(0,1fr) 380px;gap:22px}}
@media(min-width:901px) and (max-width:1250px){.map-workspace{grid-template-columns:minmax(0,1fr) 310px;gap:15px}}
@media(max-width:900px){.map-workspace{grid-template-columns:1fr}.map-fish-detail{position:static}.map-fish-detail .detail-panel{max-height:none;overflow:visible}}
@media(max-width:540px){.map-mode .map-profile-body{grid-template-columns:92px minmax(0,1fr);gap:10px;padding:12px}.map-mode .map-topographic{width:92px}.map-mode .map-topographic>img{height:92px}.map-mode .map-facts{grid-template-columns:1fr;gap:4px}.map-mode .map-fact-row{min-height:28px;padding:5px 8px;font-size:11px}.map-mode .map-fact-row strong{font-size:11px}.map-mode .map-recommendations h3{font-size:13px}.map-mode .species-list{gap:6px;padding:10px}.map-mode .species-chip{font-size:12px;min-height:33px;padding:3px 6px}.map-mode .species-thumb{width:24px;height:24px}.map-mode .species-chip .rarity-icon{width:18px;height:18px}}

/* Поиск: подсветка совпадений, подсказки «вы имели в виду», компактный вид, кнопка наверх */
.did-you-mean{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:16px;font-size:12px;color:#8d8272}
.did-you-mean>span{margin-right:4px}
mark.hit{display:inline;width:auto;height:auto;padding:0 2px;margin:0;border-radius:3px;background:#f3d9a4;color:inherit;font:inherit;letter-spacing:0;font-weight:inherit}
.to-top{position:fixed;right:22px;bottom:22px;z-index:35;background:var(--orange);border:2px solid #fff;border-radius:10px;padding:10px 15px;font-size:12px;font-weight:600;color:#fff;box-shadow:0 6px 22px #ce754444,0 0 0 1px #b85f33;letter-spacing:.3px;text-shadow:-1px -1px 0 #000,-1px 0 0 #000,-1px 1px 0 #000,0 -1px 0 #000,0 1px 0 #000,1px -1px 0 #000,1px 0 0 #000,1px 1px 0 #000}
.to-top:hover{background:#bd6238;border-color:#fff;transform:translateY(-1px)}
.to-top span{margin-right:4px}
body.compact .fish-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.compact .fish-artwork{height:118px}
body.compact .card-body{padding:12px 14px 0}
body.compact .card-bottom{padding:11px 14px}
@media(max-width:1250px){body.compact .fish-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){body.compact .fish-artwork{height:100px}}
@media (prefers-color-scheme: dark) {
.did-you-mean{color:#93a1b3}
mark.hit{background:#5a4a22;color:#f0e2bd}
.to-top{background:var(--orange);border-color:#fff;color:#fff}
.to-top:hover{background:#c96f42;border-color:#a34f27}
}

/* Тёмная тема: панели, у которых был зашит белый фон. */
@media (prefers-color-scheme: dark) {
.fish-card,.detail-panel,.index-card,.rule-paper,.stage-card,.map-card{background:#1c2532;border-color:#2b3644}
.card-visual{background:#111823;border-bottom-color:#2a3442}
}

/* Быстрая навигация в гайдах задач */
.guide-nav{display:grid;gap:10px;margin:0 0 20px}
.guide-nav-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.guide-nav-label{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:#8c8276}
.guide-nav-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #ded9cc;border-radius:8px;background:#fff;color:#5c655c;font-size:12px;line-height:1.5;text-align:left}
.guide-nav-chip span{font-size:10px;color:#a09585}
.guide-nav-chip:hover{border-color:#cbb79a;color:#8a5f39}
.guide-nav-chip.active{background:#ce7544;border-color:#a8542b;color:#fff;box-shadow:0 3px 10px #ce754440;font-weight:600}
.guide-nav-chip.active span{color:#ffe4cf}
.guide-nav-chip[disabled]{opacity:.45;pointer-events:none}
.guide-nav-stage{padding:7px 10px;border:1px solid #ded9cc;border-radius:7px;background:#f6f5ef;color:#5c655c;font-size:12px}
.guide-nav-stage:hover{background:#fff6e9;border-color:#d3ae83;color:#885b30}
.guide-nav-bulk{margin-left:auto;display:flex;gap:6px}
.guide-nav-bulk button{padding:7px 10px;border:1px solid #ded9cc;border-radius:7px;background:transparent;color:#7d8478;font-size:11px}
.guide-nav-bulk button:hover{background:#f2efe7;color:#5f6a5c}
@media (prefers-color-scheme: dark) {
.guide-nav-label{color:#8d99a8}
.guide-nav-chip,.guide-nav-stage{background:#1c2532;border-color:#2b3644;color:#b9c6d4}
.guide-nav-chip span{color:#8d99a8}
.guide-nav-chip:hover{border-color:#41516a;color:#f0d9bd}
.guide-nav-chip.active{background:#ce7544;border-color:#e0905f;color:#fff;box-shadow:0 3px 12px #ce754455}
.guide-nav-chip.active span{color:#ffe4cf}
.guide-nav-stage:hover{background:#243044;border-color:#41516a;color:#f0d9bd}
.guide-nav-bulk button{border-color:#2b3644;color:#8d99a8}
.guide-nav-bulk button:hover{background:#243044;color:#dfe6ee}
}

/* Карточка этапа */
.stage-card{display:flex;align-items:center;gap:24px;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer}
.stage-card .stage-title{flex:1}
.stage-card:focus-visible{outline:3px solid #ce7544;outline-offset:-4px}
.stage-dialog{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;background:#10182299;backdrop-filter:blur(4px)}
.stage-sheet{display:flex;flex-direction:column;width:min(940px,100%);max-height:min(88vh,920px);background:#fff;border-radius:18px;box-shadow:0 30px 80px #0d162033;overflow:hidden}
.stage-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 26px;background:#1d2a39;color:#f3f0e9}
.stage-sheet-kicker{font-size:9px;letter-spacing:1.8px;text-transform:uppercase;color:#93a7ba}
#stageTitle{font-size:25px;font-weight:600;line-height:1.35;margin-top:6px}
#stageSubtitle{font-size:12px;color:#9fb0c2;margin-top:6px}
.stage-sheet-close{flex:none;width:34px;height:34px;border-radius:9px;background:#ffffff14;border:1px solid #ffffff1f;color:#dbe3ec;font-size:14px}
.stage-sheet-close:hover{background:#ffffff26;color:#fff}
.stage-sheet-body{overflow:auto;padding:22px 26px 6px;background:#fff}
.stage-sheet .stage-task{border:1px solid #e8e4da;border-radius:12px;padding:18px 20px;margin:0 0 14px;background:#fff}
.stage-sheet .stage-task+.stage-task{border-top:1px solid #e8e4da}
.stage-sheet .stage-task:last-child{margin-bottom:8px}
.stage-sheet .task-title{font-size:15px;padding:0;border:0;margin:0 0 12px;font-weight:650;color:#253849}
.stage-sheet .task-body{padding:0}
.stage-sheet .task-conditions{font-size:12px;line-height:1.75;padding:10px 13px;margin-bottom:12px;border-left-width:3px;border-radius:0 7px 7px 0}
.stage-sheet .task-methods{gap:10px}
.stage-sheet .task-methods>li{padding:12px 14px;border-radius:9px}
.stage-sheet .task-fish{font-size:14px;gap:9px;margin-bottom:9px}
.stage-sheet .task-fish:before{min-width:26px;height:26px;font-size:11px}
.stage-sheet .task-method-info{grid-template-columns:1fr;gap:6px}
.stage-sheet .task-method-info>div{grid-template-columns:96px minmax(0,1fr);gap:10px}
.stage-sheet .task-method-info dt{font-size:11px}
.stage-sheet .task-method-info dd{font-size:12px;line-height:1.7}
.stage-sheet-foot{display:flex;gap:10px;justify-content:space-between;padding:14px 20px;border-top:1px solid #eeeae1;background:#faf8f3}
.stage-sheet-nav{padding:9px 13px;border:1px solid #e0dace;border-radius:8px;background:#fff;color:#6b716c;font-size:12px}
.stage-sheet-nav:hover:not([disabled]){background:#f4f0e6;border-color:#cbb79a;color:#885b30}
.stage-sheet-nav[disabled]{opacity:.45;pointer-events:none}
body.stage-open{overflow:hidden}
@media(max-width:700px){.stage-dialog{padding:0}.stage-sheet{height:100%;max-height:100%;border-radius:0}.stage-sheet-head{padding:18px}.stage-sheet-body{padding:16px 16px 4px}.stage-sheet .task-method-info>div{grid-template-columns:1fr}}
@media (prefers-color-scheme: dark) {
.stage-sheet,.stage-sheet-body{background:#141b26}
.stage-sheet .stage-task{background:#1c2532;border-color:#2b3644}
.stage-sheet .stage-task+.stage-task{border-top-color:#2b3644}
.stage-sheet .task-title{color:#eef2f7}
.stage-sheet .task-methods>li{background:#101823;border-color:#2b3644}
.stage-sheet .task-fish{color:#cfe0d4}
.stage-sheet .task-method-info dt{color:#93a0ae}
.stage-sheet .task-method-info dd{color:#c8d3de}
.stage-sheet .task-conditions{background:#2a2115;color:#e2c69c;border-left-color:#b8763f}
.stage-sheet-foot{background:#161d27;border-top-color:#2b3642}
.stage-sheet-nav{background:#1c2532;border-color:#2b3644;color:#b9c6d4}
.stage-sheet-nav:hover:not([disabled]){background:#243044;border-color:#41516a;color:#f0d9bd}
}

/* Галочка «этап выполнен» */
.stage-card{display:flex;align-items:stretch;gap:0}
.stage-card-open{display:flex;align-items:center;gap:24px;flex:1;min-width:0;min-height:88px;padding:23px 18px 23px 28px;background:none;border:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
.stage-card-open:hover{background:#f6f7f1}
.stage-card-open:focus-visible{outline:3px solid #ce7544;outline-offset:-4px}
.stage-card-done{display:flex;align-items:center;gap:8px;padding:0 24px 0 8px;border-left:1px solid #ece9e1;font-size:12px;color:#6d756c;cursor:pointer;white-space:nowrap}
.stage-card-done input{width:18px;height:18px;accent-color:#5f8a5a;cursor:pointer}
.stage-card.is-done{background:#f4f7f1;border-color:#cfdac7}
.stage-card.is-done .stage-title{color:#71876f}
.stage-card.is-done .stage-card-open:hover{background:#eef3ea}
.stage-sheet-foot{align-items:center}
.stage-sheet-done{display:flex;align-items:center;gap:8px;font-size:12px;color:#5c655c;cursor:pointer}
.stage-sheet-done input{width:18px;height:18px;accent-color:#5f8a5a;cursor:pointer}
.stage-sheet-actions{display:flex;gap:10px;margin-left:auto}
@media(max-width:540px){.stage-card-done span{display:none}.stage-card-done{padding:0 16px}.stage-card-open{padding:18px 14px 18px 18px;gap:14px}}
@media (prefers-color-scheme: dark) {
.stage-card-done{color:#93a0ae;border-left-color:#2b3644}
.stage-card.is-done{background:#1a2430;border-color:#33414f}
.stage-card.is-done .stage-title{color:#a3b6a6}
.stage-card.is-done .stage-card-open:hover{background:#1f2b39}
.stage-card-open:hover{background:#1f2b39}
.stage-sheet-done{color:#b9c6d4}
}

/* Кнопка «Официальный источник» под переключателем языка */
.source-button{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:12px;padding:10px 12px;border-radius:8px;background:#ce7544;color:#fff;font-size:12px;font-weight:600;text-decoration:none;letter-spacing:.2px;box-shadow:0 6px 16px #ce754430;transition:background .18s,transform .18s}
.source-button:hover{background:#b8623a;color:#fff;transform:translateY(-1px)}
.source-button:active{transform:none}
@media(max-width:1100px){.source-button{width:max-content;margin-top:9px;padding:8px 14px;font-size:11px}}
@media(max-width:540px){.source-button{width:100%;margin-top:8px;padding:9px 12px}}
/* Новогоднее оформление: снег, звёзды в меню, золотые акценты */
.rf-snow{position:fixed;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.rf-snow i{position:absolute;top:-6vh;display:block;border-radius:50%;background:#fff;box-shadow:0 0 6px #ffffffb0;animation-name:rf-snow-fall;animation-timing-function:linear;animation-iteration-count:infinite;will-change:transform}
@keyframes rf-snow-fall{0%{transform:translate3d(0,-8vh,0)}100%{transform:translate3d(var(--drift,0vw),112vh,0)}}
@media (prefers-reduced-motion: reduce){.rf-snow{display:none}}
@media (prefers-color-scheme: light){.rf-snow i{background:#b9cadb;box-shadow:0 0 4px #ffffffd0}}
body{background-image:radial-gradient(900px 420px at 96% -140px,#ce75441a,transparent 70%),radial-gradient(700px 360px at 12% -160px,#7fa7cd1a,transparent 70%)}
.sidebar{background-image:radial-gradient(1.6px 1.6px at 22% 14%,#ffffff45,transparent 60%),radial-gradient(1.2px 1.2px at 72% 9%,#ffffff33,transparent 60%),radial-gradient(1.6px 1.6px at 46% 33%,#ffffff2b,transparent 60%),radial-gradient(1.2px 1.2px at 84% 47%,#ffffff2e,transparent 60%),radial-gradient(1.4px 1.4px at 30% 59%,#ffffff26,transparent 60%),radial-gradient(1.6px 1.6px at 66% 75%,#ffffff33,transparent 60%),radial-gradient(1.2px 1.2px at 42% 88%,#ffffff2b,transparent 60%)}
.brandmark{box-shadow:0 6px 18px #ce75444d,inset 0 0 0 1px #ffffff26}
.eyebrow::before{content:"❄";color:#ce7544;margin-right:6px;letter-spacing:0;font-size:10px}
.rf-greeting{margin:14px 0 0;padding:0 6px;font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:#e0b354;text-align:center}
@media(max-width:820px){.rf-greeting{display:none}}
/* Кнопка «наверх»: только стрелка, без подписи */
.to-top{width:44px;height:44px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:0;text-shadow:none}
.to-top[hidden]{display:none}
.to-top svg{display:block;width:19px;height:19px}
@media(max-width:540px){.to-top{right:14px;bottom:14px;width:40px;height:40px}}

/* ===== Мобильная полировка ===== */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
button,a{touch-action:manipulation}
/* dvh: на мобильных браузерах 100vh считается с учётом спрятанной строки адреса —
   заменяем на динамическую высоту, чтобы не было щелей и наложений */
.workspace{min-height:calc(100vh - 150px);min-height:calc(100dvh - 150px)}
.detail-panel{max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px)}
.map-fish-detail .detail-panel{max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px)}
/* Таблица снастей: первая колонка прилипает при горизонтальной прокрутке */
@media(max-width:820px){
  .gear-table td.gear-name{position:sticky;left:0;z-index:1;background:#fff;box-shadow:1px 0 0 var(--line)}
  .gear-table tbody tr:hover td.gear-name{background:#fcfaf6}
}
@media(max-width:540px){
  /* iOS Safari автоматически зумит страницу при фокусе на input <16px — поэтому 16px */
  .search-box input{font-size:16px}
  .filters input{font-size:16px}
  .filters select{font-size:12px}
  /* Safe-area: iPhone с чёлкой и домашней полосой */
  .to-top{right:calc(14px + env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom))}
  footer{padding-bottom:calc(22px + env(safe-area-inset-bottom))}
  .workspace{padding-bottom:calc(30px + env(safe-area-inset-bottom))}
  .sidebar{padding-bottom:calc(22px + env(safe-area-inset-bottom))}
}
