/* The knowledge base keeps the game's icon language and live catalog views. */
body.kb-refined{--text:#f3ebdc;--muted:#aaa69d;--line:rgba(230,196,122,.2);--gold:#e6c47a;font-family:Inter,system-ui,sans-serif;font-size:14px;line-height:1.65;background:#090d0f}
.kb-refined::before{opacity:.24;filter:saturate(.5);transform:none}
.kb-refined::after{background:linear-gradient(180deg,rgba(7,11,13,.83),rgba(7,11,13,.98))}
.kb-refined .shell{width:min(1760px,100%);padding:0 0 40px;margin:0 auto}
.kb-refined .top{min-height:74px;margin:0;padding:12px 28px;border-bottom:1px solid var(--line);background:rgba(7,11,13,.85);flex-direction:row;align-items:center}
.kb-refined .brand{gap:12px}.kb-refined .brand b{font:600 23px/1.1 Alegreya,Georgia,serif;letter-spacing:.04em}.kb-refined .brand span{font-size:9px;color:var(--muted);letter-spacing:.14em}
.kb-refined .mark{width:42px;height:42px;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none}
.kb-refined .back{height:auto;min-height:36px;padding:5px 0;border:0;background:none;font-size:11px;letter-spacing:.05em;text-transform:none}
.kb-refined .grid{grid-template-columns:280px minmax(0,1fr);gap:0;margin:0;align-items:start}
.kb-refined .nav{top:0;max-height:100dvh;min-height:calc(100dvh - 74px);overflow:auto;padding:22px 14px;border:0;border-right:1px solid var(--line);border-radius:0;background:rgba(8,12,14,.8);box-shadow:none;backdrop-filter:none;scrollbar-width:thin;scrollbar-color:#655237 transparent}
.kb-refined .nav-title{padding:0 10px;margin:0 0 13px;font-size:9px;letter-spacing:.18em;color:#777b78}
.kb-nav-icon{display:inline-block;flex:0 0 20px;width:20px;height:20px;background:currentColor;mask-image:var(--kb-icon);mask-size:contain;mask-position:center;mask-repeat:no-repeat;-webkit-mask-image:var(--kb-icon);-webkit-mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;color:var(--gold)}
.kb-refined .nav button,.kb-nav-group summary{display:flex;align-items:center;gap:12px;width:100%;height:auto;min-height:38px;margin:0;padding:8px 10px;border:0;border-radius:0;background:none;color:#b8b9af;text-align:left;font:500 12px/1.45 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:none}
.kb-refined .nav button span:not(.kb-nav-icon),.kb-nav-group summary>span:not(.kb-nav-icon){min-width:0;flex:1}
.kb-refined .nav button:hover,.kb-nav-group summary:hover{background:rgba(230,196,122,.045);color:var(--text)}
.kb-refined .nav button.active{box-shadow:inset 2px 0 var(--gold);background:linear-gradient(90deg,rgba(230,196,122,.11),transparent);color:var(--gold)}
.kb-refined .nav button.active .kb-nav-icon{opacity:1}
.kb-nav-group{margin:8px 0 0;padding:7px 0;border-bottom:1px solid var(--line)}
.kb-nav-group summary{min-height:48px;font:600 16px/1.3 Alegreya,Georgia,serif;color:var(--text);list-style:none}
.kb-nav-group summary::-webkit-details-marker{display:none}
.kb-chevron{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;transition:transform .18s}
.kb-nav-group[open] .kb-chevron{transform:rotate(180deg)}
.kb-nav-topics{padding:1px 0 8px 10px}.kb-nav-topics .kb-nav-icon{flex-basis:16px;width:16px;height:16px;opacity:.7}
.kb-nav-return{display:flex;justify-content:space-between;margin:24px 10px 6px;color:var(--gold);font-size:11px;text-decoration:none}
.kb-refined .content{min-width:0;min-height:calc(100dvh - 74px);padding:30px 38px 48px;border:0;border-radius:0;background:rgba(8,12,14,.76);box-shadow:none;backdrop-filter:none;scroll-margin-top:12px}
.kb-refined .section[hidden],.kb-refined [data-kb-collection-panel][hidden]{display:none!important}
.kb-refined .section h2{font:600 clamp(28px,3vw,40px)/1.15 Alegreya,Georgia,serif;color:var(--text);margin:0 0 12px;letter-spacing:0;outline-offset:8px}
.kb-refined .section h3{font-family:Alegreya,Georgia,serif;font-size:23px;line-height:1.25;font-weight:600;color:var(--text)}
.kb-refined .section p{font-size:13px;line-height:1.8;color:#bbbcb1;max-width:100%;overflow-wrap:anywhere}
.kb-refined .section>.kb-section-head{padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:22px}
.kb-refined .kb-section-head>div{min-width:0}
.kb-refined .content:has(>[data-kb-section="start"].active){padding:0}
.kb-welcome{position:relative;min-height:310px;padding:34px 38px 30px;overflow:hidden;border-bottom:1px solid var(--line)}
.kb-welcome picture{position:absolute;inset:0;pointer-events:none}
.kb-welcome picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.kb-welcome::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,11,13,.88),rgba(7,11,13,.24) 80%),linear-gradient(0deg,rgba(7,11,13,.8),transparent 65%);pointer-events:none}
.kb-welcome-copy{position:relative;z-index:1;max-width:660px;text-shadow:0 2px 12px #000}
.kb-refined .kb-welcome h2{font-size:clamp(40px,5vw,68px);font-weight:600;line-height:1.04;margin:0 0 16px}
.kb-refined .kb-welcome .kb-welcome-greeting{font:500 clamp(19px,2vw,27px)/1.3 Alegreya,Georgia,serif;color:#f2e9d8;margin:0 0 12px}
.kb-refined .kb-welcome p:last-child{max-width:560px;font-size:13px;line-height:1.65;color:#d5d2c7;margin:0}
.kb-start-route{padding:20px 36px 24px;border-bottom:1px solid var(--line)}
.kb-start-route h3{margin:0 0 12px}.kb-start-route>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.kb-start-route button{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;padding:8px 18px;background:none;color:var(--text);border:0;border-right:1px solid var(--line);cursor:pointer;font:inherit}
.kb-start-route button:first-child{padding-left:0}.kb-start-route button:last-child{border:0;padding-right:0}
.kb-start-route button>span:nth-child(2){flex:1;min-width:0}.kb-start-route button>span:last-child{color:var(--gold)}
.kb-start-route b{display:block;font:600 20px/1.2 Alegreya,Georgia,serif;color:var(--gold)}
.kb-start-route small{display:block;margin-top:5px;font-size:11px;line-height:1.6;color:var(--muted)}
.kb-route-number{flex:0 0 34px;width:34px;height:34px;border:1px solid #8d774d;border-radius:50%;display:grid;place-items:center;font:500 24px/1 Alegreya,Georgia,serif;color:var(--gold)}
.kb-reference-shelves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.kb-reference-shelf{min-width:0;padding:23px 30px;border-bottom:1px solid var(--line)}
.kb-reference-shelf:nth-child(odd){border-right:1px solid var(--line)}
.kb-reference-shelf h3{display:flex;gap:14px;align-items:center;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.kb-reference-shelf h3 .kb-nav-icon{flex-basis:25px;width:25px;height:25px}
.kb-reference-shelf>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;align-items:start}
.kb-reference-shelf button{display:flex;justify-content:space-between;gap:9px;text-align:left;border:0;background:none;padding:5px 0;font:400 12px/1.6 Inter,system-ui,sans-serif;color:#c8c9be;cursor:pointer}
.kb-reference-shelf button span{color:var(--gold);opacity:0}.kb-reference-shelf button:hover,.kb-reference-shelf button:focus-visible{color:var(--gold)}
.kb-reference-shelf button:hover span,.kb-reference-shelf button:focus-visible span{opacity:1}
.kb-mobile-note{display:flex;align-items:center;gap:20px;padding:25px 36px;background:linear-gradient(110deg,rgba(141,119,77,.09),transparent)}
.kb-mobile-note>.kb-nav-icon{flex-basis:34px;width:34px;height:34px}.kb-mobile-note>div{flex:1;min-width:0}
.kb-mobile-note h3{margin:0 0 6px}.kb-refined .kb-mobile-note p{margin:0;font-size:12px}.kb-mobile-note button{border:1px solid var(--line);background:none;color:var(--gold);padding:10px 14px;font:500 12px/1.4 Inter,system-ui,sans-serif;cursor:pointer}
.kb-collection-tabs{display:flex;gap:6px;margin:18px 0 24px;border-bottom:1px solid var(--line)}
.kb-collection-tabs button{border:0;background:none;color:var(--muted);font:600 13px Inter,system-ui,sans-serif;padding:12px 18px;cursor:pointer}
.kb-collection-tabs button[aria-pressed=true]{box-shadow:inset 0 -2px var(--gold);color:var(--gold)}
.kb-refined .kb-achievement-icon{border:0;background:none;box-shadow:none;border-radius:0}
.kb-refined .kb-achievement-head img,.kb-refined .kb-achievement-icon-fallback{border:0;background:none;box-shadow:none;border-radius:0}
.kb-refined :is(.kb-achievement-card,.kb-title-card,.card,.rate-card,.odds-card,.feature-card,.feature-lead,.sphere-lead,.selected-item){box-shadow:none;backdrop-filter:none;border-color:var(--line);border-radius:4px}
.kb-refined :is(.kb-level-power,.kb-power-groups,.kb-stat-grid)>*{min-width:0}
.kb-refined .kb-level-power{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.kb-refined .kb-level-power b{white-space:normal;overflow-wrap:anywhere;line-height:1.65;font:500 12px/1.65 Inter,system-ui,sans-serif}
.kb-refined .kb-level-power>div:last-child{grid-column:1/-1}
.kb-refined .kb-power-groups{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr))}
.kb-refined .kb-power-scale-row{min-width:0}.kb-refined .kb-power-scale-row>*{min-width:0}
.kb-refined :is(.kb-table,.kb-reward-table) th{letter-spacing:.04em;font-size:10px;white-space:normal}
.kb-refined :is(.kb-table,.kb-reward-table) td{font-size:12px;overflow-wrap:anywhere}
.kb-refined .kb-empty,.kb-refined .stub{padding:14px 0;border:0;border-radius:0;background:none;box-shadow:none;font-size:12px;font-weight:400;color:var(--muted)}
.kb-refined :is(button,a,summary,input,select):focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.kb-rank-guide{margin:0 0 22px;padding:16px 0;border-block:1px solid var(--line)}
.kb-rank-examples{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:10px}.kb-rank-examples button{display:flex;gap:7px;align-items:center;border:0;background:none;text-align:left;font:500 12px/1.4 Inter,system-ui,sans-serif;cursor:pointer;padding:4px 0;max-width:230px}
.kb-rank-examples small{display:block;font-size:10px;opacity:.8}.kb-rank-examples img{width:28px;height:28px;object-fit:contain;border:0;background:none}
.kb-rank-filter{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);margin-top:12px}
.kb-rank-filter select{max-width:100%;color:var(--text);background:#101719;border:1px solid var(--line);padding:8px 26px 8px 10px;font:inherit;border-radius:3px}
.kb-refined .kb-detail{min-width:0}.kb-refined .kb-item-name{overflow-wrap:anywhere}
.kb-related-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-bottom:18px}
.kb-related-link{display:inline-block;padding:8px 0;border:0;background:none;color:var(--gold);font:500 12px/1.6 Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.kb-related-link:hover{text-decoration:underline;text-underline-offset:4px}
.kb-refined .kb-detail .kb-enchant-tabs{margin-bottom:10px}
.kb-refined .kb-secret-achievement-note{border:0;border-left:2px solid var(--line);background:none;border-radius:0;color:var(--muted);font-size:12px;padding:8px 14px}
.kb-mobile-toolbar,#kbMenuBackdrop{display:none}
@media(min-width:1500px){.kb-refined .grid{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:1250px){.kb-refined .grid{grid-template-columns:252px minmax(0,1fr)}.kb-refined .content{padding:26px}.kb-welcome{padding:30px}.kb-start-route{padding:22px 26px}.kb-start-route button{gap:9px;padding:5px 12px}.kb-start-route b{font-size:18px}.kb-reference-shelf{padding:22px}.kb-reference-shelf>div{grid-template-columns:1fr}}
@media(max-width:900px){.kb-refined .top{padding:12px 18px}.kb-refined .brand b{font-size:20px}.kb-refined .grid{display:block}.kb-mobile-toolbar{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:16px;min-height:50px;padding:7px 18px;border-bottom:1px solid var(--line);background:rgba(9,14,16,.97)}.kb-mobile-toolbar button{display:flex;gap:8px;align-items:center;border:0;background:none;color:var(--gold);font:600 12px Inter,system-ui,sans-serif;min-height:36px;padding:0}.kb-mobile-toolbar>span{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kb-refined .nav{display:none;position:fixed;left:0;top:50px;bottom:0;z-index:50;width:min(310px,85vw);max-height:calc(100dvh - 50px);min-height:0;background:#0b1113}.kb-menu-open .nav{display:block}.kb-menu-open #kbMenuBackdrop{display:block;position:fixed;inset:50px 0 0;z-index:45;border:0;background:rgba(0,0,0,.6);backdrop-filter:blur(3px)}.kb-refined .content{min-height:calc(100dvh - 124px);scroll-margin-top:64px}.kb-refined .back{font-size:10px}.kb-refined .brand span{font-size:8px}}
@media(max-width:600px){.kb-refined .top{min-height:66px;padding:10px 14px;gap:10px}.kb-refined .brand{gap:7px}.kb-refined .brand b{font-size:17px;max-width:190px}.kb-refined .mark{width:30px;height:30px}.kb-refined .back{max-width:70px;line-height:1.5;text-align:right}.kb-refined .content{padding:23px 16px 36px}.kb-welcome{padding:30px 20px;min-height:330px}.kb-welcome::after{background:linear-gradient(90deg,rgba(7,11,13,.85),rgba(7,11,13,.5)),linear-gradient(0deg,rgba(7,11,13,.6),transparent)}.kb-refined .kb-welcome h2{font-size:43px}.kb-refined .kb-welcome .kb-welcome-greeting{font-size:22px}.kb-start-route{padding:22px 20px}.kb-start-route>div{grid-template-columns:1fr;gap:4px}.kb-start-route button,.kb-start-route button:first-child,.kb-start-route button:last-child{border:0;padding:10px 0}.kb-start-route b{font-size:21px}.kb-reference-shelves{grid-template-columns:1fr}.kb-reference-shelf:nth-child(odd){border-right:0}.kb-reference-shelf{padding:23px 20px}.kb-reference-shelf>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.kb-reference-shelf button{font-size:11px}.kb-mobile-note{padding:22px 20px;flex-wrap:wrap;gap:15px}.kb-mobile-note button{margin-left:49px}.kb-mobile-note>.kb-nav-icon{flex-basis:28px;width:28px;height:28px}.kb-collection-tabs button{padding:11px 14px}.kb-refined .section h2{font-size:31px}.kb-rank-examples{gap:8px 12px}.kb-rank-examples button{max-width:calc(50% - 6px)}.kb-rank-examples .kb-nav-icon{display:none}}
@media(prefers-reduced-motion:reduce){.kb-chevron{transition:none}}
@media(max-width:600px){.kb-refined .section .kb-welcome h2{font-size:43px}}
