/* Shared reading scale and category accents. Keep game data and image pixels intact. */
:root{--ink:#233c48;--muted:#526875;--line:#d8e2e8;--green:#176552;--green-dark:#124f43;--link:#1266a0;--blue:#176eaa;--amber:#a86419;--purple:#7252a1;font-family:"Meiryo","Yu Gothic UI",sans-serif}
body{font-size:16px;font-weight:500;line-height:1.85;color:var(--ink);background:#f6f8fb;font-synthesis:weight}
button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:#d6e9f0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid #dd8c27;outline-offset:3px}
h1,h2,h3,strong,b{font-weight:700}h1,h2,h3{overflow-wrap:anywhere}h1{letter-spacing:0;line-height:1.5}main{min-width:0}main p{line-height:1.9}
.shell{max-width:1480px;grid-template-columns:205px minmax(0,1fr);padding:24px;gap:22px;background:transparent}.header{height:88px;padding-inline:max(24px,calc((100vw - 1432px)/2))}.brand{font-size:28px}.brand small{font-size:11px;color:#536b6a;letter-spacing:.05em}.header-nav{font-size:14px}.preview-tag{font-size:12px;font-weight:700;color:#3d6651}.game-nav{background:#174e48;border-bottom:4px solid #dfa54c;padding-inline:12px}.game-nav a{font-size:14px;padding:14px 20px;line-height:1.6}.game-nav a:hover{background:#2c7065}.game-nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}
.sidebar{border-radius:8px;overflow:hidden;align-self:start;box-shadow:0 2px 7px #1c354407}.side-label{font-size:15px;background:#244e54;padding:14px}.side-link{font-size:14px;padding:12px;color:#294f6b;font-weight:700;line-height:1.6}.side-link svg{width:21px;height:21px;color:#176e87}.side-link.active{background:#e6f2ed;color:#13543e;box-shadow:inset 4px 0 #de9a37}.side-subtitle{font-size:13px;background:#eaf0f4;color:#3c596b;padding:12px}.side-weapon-links a{font-size:13px;padding:10px;line-height:1.7}.edition-note strong{font-size:15px}.edition-note p,.edition-note a{font-size:13px;color:#486154}.breadcrumb{font-size:13px;margin-bottom:16px;color:#526b78}.breadcrumb a{font-weight:700;color:#17649a}.eyebrow{font-size:13px;color:#436052;letter-spacing:.06em}.muted{font-size:13px!important;color:#526875!important}
.page-heading,.guide-heading,.portal-main,.article,.guide-panel{border-radius:8px;box-shadow:0 2px 8px #233b4c05}.page-heading,.guide-heading{padding:25px 28px;border-top:4px solid #28748a}.page-heading h1,.guide-heading h1,.portal-title h1{font-size:30px;line-height:1.55}.page-heading p,.guide-heading p,.portal-title p{font-size:16px;color:#4d626e;line-height:1.9}.portal-title>span{font-size:13px;color:#1f6557}.portal-main{padding:26px}.portal-layout{grid-template-columns:minmax(0,1fr) 235px;gap:22px}.portal-banner{border-radius:7px;min-height:150px!important;padding:25px}.portal-banner strong{font-size:25px!important}.portal-banner span{font-size:14px;color:#eef6ea}.portal-banner small{color:#ffdfa0}.portal-search .search-form{height:60px}.portal-search .search-form input{font-size:16px}.portal-search .search-form button{font-size:15px;height:46px}.portal-search>p{font-size:14px}.portal-toc{background:#eff5fb;border-color:#c6dae9;border-radius:7px;padding:18px}.portal-toc>strong{font-size:18px}.portal-toc small{font-size:13px;color:#536e80}.portal-toc .portal-links a{font-size:14px;padding:13px}.portal-links a{font-size:15px;padding:15px;min-width:0;overflow-wrap:anywhere}.portal-caption{font-size:15px;color:#4d6571}.portal-section{margin-top:34px;--section-color:#176552;--section-tint:#ecf6f0}
#recommendations{--section-color:#9a5b14;--section-tint:#fff4dd}#quests{--section-color:#226996;--section-tint:#eaf4fc}#weapons{--section-color:#a45829;--section-tint:#fff0e6}#armor{--section-color:#6b4b9e;--section-tint:#f1ebfb}#monsters{--section-color:#a34540;--section-tint:#fff0eb}#maps{--section-color:#167781;--section-tint:#e8f7f8}#items{--section-color:#407a35;--section-tint:#edf6e7}#hunter-tools{--section-color:#3166a4;--section-tint:#edf3ff}
.portal-section>h2{display:flex;align-items:center;gap:13px;background:var(--section-tint);color:var(--section-color);border:1px solid color-mix(in srgb,var(--section-color) 25%,white);border-left:5px solid var(--section-color);padding:14px 16px;font-size:22px;border-radius:5px;line-height:1.55;letter-spacing:0}.portal-section-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--section-color);color:white;flex:0 0 34px}.portal-section-icon svg{width:23px;height:23px;stroke-width:1.8}.portal-section>a:last-child:not(.portal-pickup){font-size:15px;color:var(--section-color);background:var(--section-tint)}
.purpose-grid{gap:12px}.purpose-grid a{border-radius:7px;border-top:4px solid #277c91;padding:17px;background:#eff8fc}.purpose-grid a:nth-child(2){background:#eef7eb;border-top-color:#568639}.purpose-grid a:nth-child(3){background:#fff5e6;border-top-color:#c28a26}.purpose-grid a:nth-child(4){background:#f2edfb;border-top-color:#8060b0}.purpose-grid strong{font-size:16px;color:#294a53}.purpose-grid small{font-size:14px;font-weight:700;color:#3b6779}.purpose-grid span{font-size:14px;color:#4e6571}
.hunter-tool-grid a{grid-template-columns:42px minmax(0,1fr) 18px;border-radius:7px;padding:17px;column-gap:13px;align-items:center;border-color:#cddde8}.hunter-tool-grid .tool-card-icon{grid-area:1 / 1 / 3 / 2;display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#eaf2fc;color:#27649d}.hunter-tool-grid .tool-card-icon svg{width:25px;height:25px;stroke-width:1.8}.hunter-tool-grid strong{grid-area:1 / 2;font-size:16px;color:#254762;line-height:1.7}.hunter-tool-grid small{grid-area:2 / 2;font-size:14px;color:#526879;line-height:1.7}.hunter-tool-grid .tool-card-arrow{grid-area:1 / 3 / 3 / 4;color:#3776a5}.hunter-tool-grid a:nth-child(2n) .tool-card-icon{background:#f1eafa;color:#7950a1}.hunter-tool-grid a:nth-child(3n) .tool-card-icon{background:#fff3de;color:#a76713}
.quick-box h2,.hunter-progress h2{font-size:18px;color:#304e60;border-bottom-color:#e0aa4e}.quick-box>a,.hunter-progress>a{font-size:15px;font-weight:600;padding:13px 0}.quick-box p,.hunter-progress p,.hunter-progress>small{font-size:14px;color:#526b78}.build-portal-card strong,.weapon-guide-title,.monster-links strong,.map-tiles strong{font-size:16px}.build-portal-card small,.build-portal-card b,.weapon-guide-title small,.map-tiles small{font-size:13px;color:#516a78}.build-portal-card{padding:16px 12px;background:#fffdf8}.weapon-card-links a{font-size:14px;padding:12px 6px;font-weight:700}.weapon-guide-grid>div{border-radius:6px;overflow:hidden;border-color:#d6dfe6}.weapon-guide-title{background:#fff6ec}.weapon-guide-title .weapon-type-icon img{width:32px;height:32px}.weapon-type-tabs{border-radius:7px;overflow:hidden;background:white}.weapon-type-tabs>a{font-size:14px;padding:13px 8px;flex-wrap:wrap}.weapon-type-tabs small{font-size:12px;color:#526875}.weapon-type-tabs>a[aria-current]{background:#fff1dc;color:#854c15;box-shadow:inset 0 -4px #d68a29}.weapon-section-tabs>a{font-size:15px;font-weight:700;padding:12px 16px}
/* Article containers must be allowed to shrink before any wide table does. */
.article-layout{grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}.article-aside{display:none}.article{max-width:none;padding:28px;overflow-wrap:anywhere;--article-accent:#26718c;--article-tint:#edf6fa}.article[data-category=weapons]{--article-accent:#a15a22;--article-tint:#fff4e7}.article[data-category=armor]{--article-accent:#7252a1;--article-tint:#f3eefb}.article[data-category=monsters]{--article-accent:#a44b40;--article-tint:#fff1eb}.article[data-category=maps]{--article-accent:#147881;--article-tint:#eaf8f8}.article[data-category=items]{--article-accent:#4a7b32;--article-tint:#f1f7e9}.article[data-category=otomo]{--article-accent:#a16c27;--article-tint:#fff5e6}
.article-topline{gap:10px}.article-type-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;background:var(--article-tint);color:var(--article-accent);border-radius:8px}.article-type-icon svg{width:22px;height:22px;stroke-width:1.8}.article-title{align-items:flex-start;min-width:0}.article-title h1{font-size:32px;line-height:1.55;min-width:0;overflow-wrap:anywhere}.article-lead{font-size:16px;color:#4b6470;margin-block:15px}.article-meta{font-size:13px;color:#506976;gap:9px 20px;line-height:1.8;margin-bottom:18px}.article p,.guide-panel p,.hg-article>p{color:#425c69;font-size:16px;line-height:1.95}.article>h2,.article .data-section>h2,.weapon-overview-stats>h2{display:flex;align-items:center;gap:11px;font-size:22px;background:var(--article-tint);color:var(--article-accent);border-left:5px solid var(--article-accent);border-bottom:0;padding:14px 16px;line-height:1.6;border-radius:4px;scroll-margin-top:88px}.heading-icon{flex:0 0 24px;display:grid;place-items:center}.heading-icon svg{width:24px;height:24px;stroke-width:1.8}.data-section{min-width:0;max-width:100%;scroll-margin-top:88px;margin-top:28px}.article h3{font-size:18px;color:#304f60}.article a:not(.save-btn){color:#12639b;text-underline-offset:3px}.article a:not(.save-btn):hover{text-decoration:underline}.save-btn{font-size:13px;min-height:42px;color:#426578;font-weight:700;border-color:#bcced7}.status{font-size:12px;font-weight:700;padding:4px 9px}.status.sample{background:#e8f4e8;color:#31633e}.status.planned{background:#eef1f5;color:#596a78}
.article-toc{border:1px solid #c9dce8;border-radius:6px;background:#f0f7fc;margin:18px 0}.article-toc>summary{padding:12px 16px;font-size:15px;font-weight:700;color:#245f87;cursor:pointer}.article-toc>summary svg{width:19px;height:19px;display:inline-block;vertical-align:middle;margin-right:9px}.article-toc nav{display:flex;flex-wrap:wrap;gap:9px;padding:0 14px 14px}.article-toc nav>a{font-size:14px;padding:8px 11px;background:white;border:1px solid #d3e1ea;border-radius:5px;line-height:1.7}
.weapon-overview{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;margin:24px 0;align-items:start}.weapon-overview>*{min-width:0}.weapon-overview .image-section{margin:0}.weapon-overview .game-image.detail{height:260px;background:linear-gradient(145deg,#f7faff,#edf4f6);border-radius:7px}.weapon-overview-stats>h2{font-size:20px;margin:0 0 14px!important}.weapon-overview .fact-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border-radius:6px}.weapon-overview .fact-grid>div{padding:11px 13px}.weapon-overview .fact-grid dd{font-size:17px}.weapon-overview .inline-next{font-size:14px;margin:16px 0 0;padding:12px;gap:10px}.weapon-overview-gauge{margin-top:17px}.weapon-overview-gauge h3{font-size:15px}.weapon-overview-gauge .sharpness-block{padding:12px;margin:7px 0 0}.weapon-overview-gauge .sharpness-block>div{gap:8px}.weapon-overview-gauge .sharpness-gauge{width:100%;min-width:0;flex:1}.weapon-overview-gauge .sharpness-block span{font-size:12px;width:65px;flex:0 0 65px}
.fact-grid{grid-template-columns:repeat(3,minmax(0,1fr));border-color:#d3e1e8}.fact-grid>div{padding:15px 17px}.fact-grid dt{font-size:14px;color:#516c7a;font-weight:700}.fact-grid dd{font-size:18px;font-weight:700;color:#284e64;line-height:1.65}.fact-grid dd a{font-size:inherit}.sharpness-block{max-width:100%}.sharpness-block>div{min-width:0}.sharpness-block span{width:82px;flex:0 0 82px;font-size:13px;color:#4d6676}.sharpness-gauge{height:14px;max-width:100%;flex-shrink:1}.sharpness-gauge i{flex-shrink:0}.weapon-path-panel{font-size:15px;background:#edf5fc;border-color:#cbdce9;border-radius:6px;padding:18px}.weapon-path-panel>div{flex-wrap:wrap;align-items:center}.weapon-path-panel p{font-size:15px;line-height:2.2}.weapon-path-panel a{display:inline-block}.weapon-path-panel>div>a{font-weight:700}
.detail-properties{margin:0;border:1px solid #d0dde5;border-radius:7px;overflow:hidden;min-width:0}.detail-properties>div{display:grid;grid-template-columns:135px minmax(0,1fr);border-bottom:1px solid #dbe5eb}.detail-properties>div:last-child{border-bottom:0}.detail-properties dt{padding:15px 17px;background:#f0f5f8;color:#37586d;font-size:15px;font-weight:700;line-height:1.8}.detail-properties dd{margin:0;padding:15px 18px;font-size:16px;line-height:1.9;color:#304c5c;min-width:0;overflow-wrap:anywhere}.recipe-section[data-recipe-kind=craft] .detail-properties dt{background:#edf6ec;color:#416b31}.recipe-section[data-recipe-kind=upgrade] .detail-properties dt{background:#fff3e1;color:#865818}.detail-token-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:baseline}.detail-token-list li{min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.9}.detail-token-list a{display:inline-block;border-bottom:1px solid #a8cadf;font-weight:600}.weapon-upgrade-links{padding:18px;background:#f1f6fc;border:1px solid #cadceb;border-radius:6px;font-size:16px}
.table-wrap{max-width:100%;min-width:0;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#92aebf #edf2f6;background:white}.table-wrap table{font-size:15px;background:white}.table-wrap th,.table-wrap td{font-size:15px;padding:13px 15px;line-height:1.9;vertical-align:top;color:#324f61}.table-wrap th{font-weight:700;background:#eaf1f7;color:#30576e}.factual-table table{min-width:max(100%,calc(var(--table-columns,4) * 76px))}.factual-table td,.factual-table th{font-size:15px;min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere}.factual-table tr:nth-child(even) td{background:#f7fafc}.factual-table .detail-token-list{gap:7px 13px}.table-wrap td:empty{padding-block:3px}.article .iso-panel-body p,.article .source-card p,.article .source-card small{font-size:14px;color:#506874}.article .iso-panel>summary{font-size:15px;color:#235c4b}.article .image-preview-note,.article .image-note{font-size:13px!important;line-height:1.85;color:#705320}.article .image-preview-note{background:#fff8e8;border-color:#e6c98f;border-left:4px solid #d69a31}.game-figure figcaption,.armor-views figcaption{font-size:13px;line-height:1.85;color:#526976}.enlarge-hint{font-size:13px}.image-preview-badge{font-size:12px}.article .related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.related-grid>a{font-size:15px;line-height:1.85;border-radius:6px;background:#fafcfe;overflow-wrap:anywhere}.related-grid small{font-size:12px;color:#557080}
/* A readable tree remains a diagram: its own viewport handles wide rows. */
.tree-scroll,.terminal-grid{max-width:100%;min-width:0}.weapon-tree{min-width:1120px;--tree-joint:40px}.tree-node{min-width:1000px;grid-template-columns:minmax(230px,1fr) 250px minmax(350px,1.4fr);padding:13px 16px;gap:17px}.tree-node-title>a{font-size:17px;line-height:1.6}.tree-node-stats{font-size:14px;gap:7px 12px}.tree-detail-link{font-size:13px;font-weight:700}.rarity-tag,.terminal-tag,.craft-tag{font-size:12px;font-weight:700}.rarity-tag{color:#42576a;background:#edf1f7}.terminal-tag{background:#fff0cb;color:#8a5511;border-color:#e5bd69}.craft-tag{background:#e9f5ea;color:#396334;border-color:#b3d3ac}.tree-performance h3{font-size:14px!important;color:#2b5a78}.tree-performance .sharpness-block span{font-size:12px;width:72px;flex-basis:72px}.tree-performance .sharpness-gauge{height:13px}.tree-ranged{font-size:14px}.tree-ranged dt{width:75px;flex-basis:75px}.tree-ranged dd{min-width:0;overflow-wrap:anywhere}.tree-recipe,.tree-recipe p{font-size:14px;color:#3b5566}.tree-recipe b{font-size:12px;padding:2px 6px}.tree-recipe>div:first-child b{background:#fff0d4;color:#8c5e14}.tree-materials a{font-size:14px}.tree-scroll-hint{font-size:13px!important;color:#4f6b7b}.terminal-grid .tree-node{min-width:1000px}.weapon-family>summary{font-size:17px;padding:15px;background:#edf3f8;color:#315b74}.weapon-family>summary>small{font-size:13px;color:#5b7482}.family-index>a{font-size:14px;padding:8px 11px;background:#f0f6fb;color:#28638a}.guide-filter label,.guide-toolbar,.guide-caption,.guide-source-note{font-size:14px!important;color:#526a78}.guide-filter button{font-size:15px;min-height:44px}.guide-toolbar strong{font-size:17px}.weapon-family{scroll-margin-top:88px}
.result-row h3{font-size:18px;line-height:1.7}.result-row p{font-size:15px;color:#4d6574;line-height:1.85}.result-row small{font-size:13px;color:#526d7d}.result-row>a>span:last-child{min-width:0;overflow-wrap:anywhere}.catalog-filter input,.catalog-filter select{font-size:15px;min-height:44px}.catalog-filter label{font-size:14px;font-weight:700;color:#446274}.catalog-filter button{font-size:15px;min-height:44px}.results-meta{font-size:14px;color:#536a77}.pagination{font-size:15px}.article-callout,.field-list{font-size:15px;color:#425f6c}.source-card p,.source-card small{font-size:14px;color:#536977}.source-card h3{font-size:18px}
.hg-article,.hg-article p,.hg-points{font-size:16px;line-height:1.95}.hg-article>h2{font-size:23px;color:#315d6c}.hg-check-grid p,.hg-combos p,.hg-village-cards p,.hg-tactics p,.hg-small-summary>p{font-size:15px;color:#415f6d}.hg-controls th,.hg-controls td{font-size:15px}.hg-links>a,.hg-record-links>a,.hg-item-links>a,.hg-skills>a,.hg-skills>span{font-size:14px}.hg-weapon-tabs>a{font-size:14px;min-width:0}.hg-stage-tabs>a{font-size:15px}.hg-stage-tabs>a>small{font-size:13px;color:#526f77}.hg-tactics h3{font-size:17px}.hg-tactics h3>span{color:#a36520}.hg-weakpoints p,.hg-weakpoints small{font-size:13px!important;color:#4c6773}.hg-weakpoints dl>div{font-size:15px}.hg-weakpoints dt{color:#4a6674;font-weight:700}.hg-weakpoints dd{color:#244f59}.hg-monster-summary{background:#fff8f0;border-color:#e4d1ba}.hg-weakpoints{background:#f1f6ed}.hg-sources,.hg-sources p{font-size:13px!important;color:#526875}
.hunter-tools label,.sim-targets label,.sim-conditions label,.skill-simulator details>label{font-size:14px;color:#38596c}.hunter-tools button,.skill-simulator button,.ht-detail-actions button{font-size:15px;min-height:44px;font-weight:700}.ht-detail-actions{background:#edf5fc;border-color:#c7dbea;border-radius:6px}.ht-detail-actions>a{font-size:15px;font-weight:700}.ht-tabs a{font-size:14px;padding:10px 12px}.ht-check strong{font-size:15px}.ht-check small,.ht-sub{font-size:13px;color:#526d7c}.hunter-tools .table-wrap td,.hunter-tools .table-wrap th,.sim-result table{font-size:14px}.sim-result-stats span,.sim-skills span{font-size:14px;font-weight:700}.sim-status{font-size:15px}.sim-charms li{font-size:15px}.sim-result,.sim-result>*{min-width:0}.journey-save label{font-size:15px}.journey-save button{font-size:15px;font-weight:700}.journey-save a{font-size:14px}.quality-grid span{font-size:14px}.quality-checklist{font-size:16px}.quality-issue summary{font-size:15px}.guide-action-links a{font-size:15px}.pin-map-layout figcaption,.pin-placement-note{font-size:13px!important}.pin-kind-filters a,.pin-key{font-size:14px}.gathering-summary p,.pin-loot-card p,.gather-point h3,.gather-loot>a,.item-gathering-links a{font-size:15px}.pin-map-heading>span,.pin-rank-label{font-size:13px!important}.field-overview p,.field-overview a{font-size:15px}.field-overview figcaption{font-size:13px}.gathering-layout,.pin-map-layout,.gathering-summary,.pin-loot-card{min-width:0}.quest-item strong{font-size:16px}.quest-item small{font-size:14px;color:#526d78}.quest-kind{font-size:12px;font-weight:700}.quest-group>summary{font-size:16px}.quest-group>summary span{font-size:14px}.quest-item>span{min-width:0;overflow-wrap:anywhere}.quest-item.done strong{color:#586f60}.build-weapon-card h3{font-size:27px}.build-equipment th,.build-equipment td{font-size:15px}.build-equipment tbody td:last-child{font-size:14px}.build-skill-badges a{font-size:15px}.build-summary>span,.build-role{font-size:14px}.build-howto li,.build-howto span{font-size:15px}.build-weapon-facts dt{font-size:14px}.build-weapon-facts dd{font-size:17px}footer{font-size:13px;color:#526976}footer p,footer small{font-size:12px}
@media(min-width:1500px){.article-layout{grid-template-columns:minmax(0,1fr) 230px}.article-aside{display:block;top:80px;max-height:calc(100vh - 100px);overflow:auto;border-radius:7px}.article-aside>a{font-size:14px;color:#28658b;line-height:1.8}.article-aside p{font-size:14px}}
@media(max-width:1400px){.portal-layout{grid-template-columns:minmax(0,1fr)}.portal-right{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-right .quick-box:last-child{display:none}}
@media(max-width:1250px){.portal-layout{grid-template-columns:minmax(0,1fr)}.portal-right{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-right .quick-box:last-child{display:none}.build-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weapon-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weapon-type-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.shell{grid-template-columns:190px minmax(0,1fr);gap:18px;padding:20px}.weapon-overview{grid-template-columns:minmax(0,1fr)}.weapon-overview .game-image.detail{height:290px}.weapon-overview .fact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.shell{display:block;padding:18px}.sidebar{display:none}.sidebar.open{display:block;max-height:70vh;overflow:auto;margin-bottom:18px}.menu-toggle{display:block}.header-nav{display:none}.preview-tag{margin-left:auto}.weapon-overview{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.weapon-overview .fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-layout{display:block}.article{padding:25px}.portal-layout{display:block}.portal-right{margin-top:20px}}
@media(max-width:760px){body{font-size:16px}.header{height:78px;padding-inline:14px;gap:10px}.brand{font-size:23px;gap:8px}.brand img{width:33px;height:33px}.brand small{font-size:9px}.preview-tag{font-size:10px;padding:4px}.game-nav a{font-size:13px;padding:12px 15px}.shell{padding:12px}.breadcrumb{font-size:12px;line-height:1.8;gap:7px}.article,.portal-main,.guide-panel{padding:18px 16px}.article-title h1{font-size:27px}.page-heading h1,.guide-heading h1,.portal-title h1{font-size:26px}.page-heading,.guide-heading{padding:20px 17px}.page-heading p,.guide-heading p,.portal-title p{font-size:15px}.article-title{gap:12px;flex-wrap:wrap}.article>h2,.article .data-section>h2{font-size:20px;padding:12px;gap:9px}.article-meta{font-size:12px;gap:6px 12px}.article p,.guide-panel p{font-size:15px}.article-lead{font-size:15px}.article-toc>summary{font-size:14px}.article-toc nav>a{font-size:13px}.weapon-overview{grid-template-columns:minmax(0,1fr);gap:18px}.weapon-overview .game-image.detail{height:210px}.weapon-overview .fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weapon-overview .fact-grid dd{font-size:18px}.weapon-overview-stats>h2{font-size:19px}.detail-properties>div{grid-template-columns:95px minmax(0,1fr)}.detail-properties dt{font-size:14px;padding:13px 10px}.detail-properties dd{font-size:15px;padding:13px 12px}.detail-token-list{flex-direction:column;align-items:flex-start;gap:7px}.factual-table table{min-width:max(100%,calc(var(--table-columns,4) * 72px))}.factual-table td,.factual-table th,.table-wrap td,.table-wrap th{font-size:14px;padding:11px}.fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fact-grid dd{font-size:17px}.fact-grid>div{padding:12px}.fact-grid dt{font-size:13px}.article .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related-grid>a{font-size:14px;padding:12px}.weapon-path-panel{padding:14px}.weapon-path-panel>div{flex-direction:column;align-items:flex-start;gap:7px}.weapon-path-panel p{font-size:14px}.portal-section>h2{font-size:20px;padding:13px 12px;gap:10px}.portal-section-icon{width:29px;height:29px;flex-basis:29px}.portal-section-icon svg{width:21px;height:21px}.portal-title>span{font-size:12px}.portal-search .search-form input{font-size:15px}.portal-search .search-form button{font-size:14px;padding:0 12px}.portal-search>p{font-size:13px}.portal-banner strong{font-size:22px!important}.portal-banner span{font-size:13px}.portal-banner{padding:19px;min-height:140px!important}.purpose-grid{gap:9px}.purpose-grid a{padding:13px 11px}.purpose-grid strong{font-size:15px}.purpose-grid span{font-size:13px}.hunter-tool-grid strong{font-size:16px}.hunter-tool-grid small{font-size:14px}.portal-links a,.portal-toc .portal-links a{font-size:14px;padding:12px}.portal-toc .portal-links{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-toc{padding:13px}.portal-toc small{display:block;margin:5px 0 0}.weapon-guide-grid{grid-template-columns:minmax(0,1fr)}.build-portal-card strong{font-size:15px}.build-portal-card b{font-size:13px}.weapon-card-links a{font-size:14px}.weapon-type-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.weapon-type-tabs>a{font-size:13px;padding:11px 6px}.weapon-type-tabs small{font-size:11px}.weapon-section-tabs>a{font-size:14px;padding:12px 8px}.weapon-family>summary{font-size:15px;padding:13px}.family-index>a{font-size:13px}.tree-scroll{padding-inline:9px}.tree-node-title>a{font-size:16px}.tree-node-stats{font-size:14px}.tree-recipe{font-size:14px}.tree-materials a{font-size:14px}.tree-performance h3{font-size:14px!important}.tree-scroll-hint{font-size:13px!important}.result-row>a{gap:11px}.result-row h3{font-size:17px}.result-row p{font-size:14px}.row-actions .status{display:none}.result-row .game-image.thumb{width:55px;height:62px}.result-row .save-btn{padding:8px}.catalog-filter>div{min-width:110px}.catalog-filter .filter-search{min-width:100%}.results-meta{font-size:13px;flex-wrap:wrap}.hg-stage-tabs>a{font-size:14px;padding:12px}.hg-stage-tabs>a>small{font-size:12px}.hg-weapon-tabs>a{font-size:13px}.hg-tactics p,.hg-small-summary>p,.hg-village-cards p,.hg-combos p,.hg-check-grid p{font-size:15px}.hg-sources{font-size:13px}.hg-weakpoints dl>div{font-size:14px}.ht-detail-actions{gap:8px;padding:12px}.ht-detail-actions>a,.ht-detail-actions button{font-size:14px}.ht-tabs a{font-size:13px}.hunter-tools button,.skill-simulator button{font-size:14px}.hunter-tool-grid a{padding:15px;column-gap:11px}.journey-save-fields{grid-template-columns:minmax(0,1fr)}.pin-map-layout{padding:12px}.pin-map-inner{min-width:0}.pin-kind-filters a{font-size:13px}.pin-map-heading{flex-wrap:wrap}.pin-map-heading h3{font-size:19px}.field-overview p,.field-overview a{font-size:14px}.pin-loot-card p,.gathering-summary p{font-size:15px}.pin-map-layout figcaption,.pin-placement-note{font-size:12px!important}.quest-item{padding:15px;gap:12px}.quest-item strong{font-size:15px}.quest-item small{font-size:13px}.build-equipment th,.build-equipment td{font-size:14px}.build-weapon-card h3{font-size:24px}.quality-grid span{font-size:13px}.quality-grid strong{font-size:26px}.game-figure figcaption{font-size:12px}.game-image.detail{height:250px}.game-image.armor-detail{height:260px}.source-card{padding:18px}.table-wrap{margin-block:16px}.article .image-preview-note{font-size:12px!important}.portal-right{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.portal-title-suffix{display:inline-block;white-space:nowrap}
@media(max-width:760px){input,select,textarea{font-size:16px!important}.portal-title h1{font-size:25px}}
.recipe-properties>div:first-child dd{font-size:19px;font-weight:700;color:#285273}
@media(max-width:360px){.header .preview-tag{display:none}.header .menu-toggle{margin-left:auto}.brand{font-size:22px}.portal-title h1{font-size:23px}.purpose-grid strong{font-size:14px}.purpose-grid span{font-size:13px}.article-title h1{font-size:25px}}

.side-weapon-links{grid-template-columns:minmax(0,1fr)}.side-weapon-links a{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.7}.side-weapon-links .weapon-type-icon{display:grid;place-items:center;flex:0 0 23px}.side-weapon-links img{width:22px;height:22px}

.game-image.thumb .image-preview-badge{font-size:11px;line-height:1.4;padding:2px 4px;white-space:nowrap}
/* A dark unused track distinguishes white sharpness from the remaining capacity. */
.sharpness-gauge,.tree-performance .sharpness-gauge,.ht-sharpness .sharpness-gauge{background:#30485a;border:1px solid #1e3547;border-radius:3px;box-shadow:0 0 0 2px #e4edf3;min-height:15px;overflow:hidden}
.sharpness-gauge i{box-shadow:inset 0 1px 0 #ffffff55,inset 0 -1px 0 #00000030;position:relative}
.sharpness-gauge i+i:before{content:"";position:absolute;inset:0 auto 0 0;width:1px;background:#172f4659;pointer-events:none}
/* Compact the diagram without reducing its text or hiding recipe information. */
.weapon-tree{--tree-joint:32px}
.weapon-tree .tree-branch{padding-top:8px}
.tree-node{padding:9px 12px;gap:14px}
.tree-node-stats{margin:5px 0;gap:3px 10px;line-height:1.5}
.tree-node .tree-detail-link{margin-top:3px;line-height:1.5}
.tree-performance h3{margin-bottom:6px}
.tree-performance .sharpness-block>div{margin:6px 0}
.tree-ranged>div{margin:2px 0}
.tree-recipe{gap:6px;padding-left:12px}
.tree-recipe>div{display:grid;grid-template-columns:85px minmax(0,1fr);gap:2px 9px;line-height:1.55}
.tree-recipe b{grid-area:1 / 1;justify-self:start;margin:0;line-height:1.45;padding:1px 5px}
.tree-recipe .tree-cost{grid-area:2 / 1;white-space:nowrap;line-height:1.45}
.tree-recipe .tree-materials{grid-area:1 / 2 / 3 / 3;margin:0;gap:2px 9px;align-content:start}
.tree-materials>li{line-height:1.55}
.tree-recipe .tree-recipe-missing{grid-area:1 / 2 / 3 / 3;margin:0}
.tree-recipe p{line-height:1.6}
.terminal-grid .tree-node{margin-block:8px}
.pagination{flex-wrap:wrap}
.pagination-jump{flex-basis:100%;text-align:center}
.pagination-jump summary{cursor:pointer;padding:8px}
.pagination-jump div{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.pagination-jump [aria-current="page"]{padding:9px 15px;font-weight:700}
.publication-directory-group summary{cursor:pointer;padding-block:8px}
.publication-directory-group summary span{margin-inline-start:8px;color:var(--muted);font-size:.9em}
.page-share{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 12px;font-size:.875rem}
.page-share button{cursor:pointer;padding:8px 12px}
