
/* Ant Design dark look, matching tibiamarket.top */
:root{
  color-scheme:dark;
  --bg:#0f0f0f;--layout:#141414;--sider:#1f1f1f;--surface:#141414;--surface2:#1d1d1d;--hover:#262626;
  --line:#303030;--line2:#424242;--text:rgba(255,255,255,.85);--muted:rgba(255,255,255,.45);--strong:#fff;
  --blue:#1668dc;--blue-h:#3c89e8;--gold:#d89614;--npc:#d87a16;--mkt:#3c89e8;--good:#49aa19;--warn:#d89614;--bad:#dc4446;
  --body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  --mono:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%}
body{background:var(--bg);color:var(--text);font:14px/1.5715 var(--body)}
a{color:var(--blue);text-decoration:none} a:hover{color:var(--blue-h)}
.layout{display:grid;grid-template-columns:320px minmax(0,1fr) 210px;min-height:100%}
aside.tools{background:var(--sider);border-left:1px solid #000;padding:18px 12px;display:flex;flex-direction:column;gap:10px;position:sticky;top:0;height:100vh;overflow:auto}
.tools-h{font-family:"Cinzel",serif;font-weight:700;font-size:17px;letter-spacing:2px;text-transform:uppercase;text-align:center;background:linear-gradient(180deg,#f7e3a1,#c99a2e 60%,#8a6418);-webkit-background-clip:text;background-clip:text;color:transparent;padding:6px 0 10px;border-bottom:1px solid var(--line)}
.toolbtn{display:flex;align-items:center;gap:10px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px;color:var(--text);cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.toolbtn:hover{border-color:var(--blue-h)}
.toolbtn[aria-selected=true]{border-color:#fff200;box-shadow:0 0 0 1px rgba(255,242,0,.35),0 0 14px rgba(255,242,0,.15);background:color-mix(in srgb,#fff200 6%,var(--surface))}
.toolbtn .tb-ic{width:40px;height:40px;flex:none;display:flex;align-items:center;justify-content:center}
.toolbtn .tb-ic .ic,.toolbtn .tb-ic img{width:40px;height:40px;max-height:none;image-rendering:pixelated}
.tb-cycle{position:relative;width:40px;height:40px;display:block}
.tb-cycle .ic{position:absolute;inset:0;opacity:0;transition:opacity .12s}
.tb-cycle .ic.on{opacity:1}
.toolbtn .tb-t{display:flex;flex-direction:column;min-width:0}
.toolbtn b{font-size:15px;color:var(--strong)}
.toolbtn small{font-size:11.5px;color:var(--muted);line-height:1.3}
@media (max-width:1150px){.layout{grid-template-columns:280px minmax(0,1fr) 170px}.toolbtn small{display:none}}
.sitestats{margin-top:auto;text-align:center;font-size:11.5px;color:#8a8a8a;line-height:1.6;text-shadow:0 0 6px rgba(170,170,170,.35);letter-spacing:.2px}
.sitestats b{font-weight:600;color:#a8a8a8;font-variant-numeric:tabular-nums}
aside.sider{background:var(--sider);padding:18px 16px 24px;display:flex;flex-direction:column;gap:14px;position:sticky;top:0;height:100vh;overflow:auto;border-right:1px solid #000}
aside.sider h1{margin:0;font-size:20px;font-weight:600;color:var(--strong);display:flex;align-items:center;gap:8px}
.logorow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.lg-av{width:66px;height:66px;border-radius:50%;flex:none;border:2px solid #c99a2e;box-shadow:0 0 0 2px rgba(0,0,0,.6),0 0 12px rgba(201,154,46,.45);image-rendering:auto}
aside.sider .logo{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1}
.logo .lg-main{font-family:"Cinzel Decorative","Cinzel",Georgia,"Times New Roman",serif;font-weight:900;font-size:25px;letter-spacing:.02em;
  background:linear-gradient(180deg,#f3e6bf 0%,#c9a45a 45%,#7a5a22 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 6px rgba(150,20,20,.55)) drop-shadow(0 2px 1px rgba(0,0,0,.9))}
.logo .lg-by{font-family:"Cinzel",Georgia,serif;font-weight:600;font-size:11px;letter-spacing:.42em;color:#c4262e;padding-left:2px;
  text-shadow:0 0 8px rgba(196,38,46,.7),0 0 2px rgba(0,0,0,.9)}
.logo .lg-by i{font-style:italic;letter-spacing:.1em;color:#8d8172;text-shadow:none;margin-right:4px;text-transform:none}
aside.sider h1 img{width:28px;height:28px;image-rendering:pixelated}
.divider{border-top:1px solid rgba(253,253,253,.12);margin:2px 0}
.content{min-width:0;display:flex;flex-direction:column}
header.bar{min-height:64px;display:flex;justify-content:center;align-items:center;padding:0 16px;border-bottom:1px solid var(--line);background:var(--bg)}
header.bar h2{margin:0;font-size:24px;font-weight:600;color:var(--text);text-align:center}
header.bar .right{justify-self:end;display:flex;gap:8px}
main{padding:16px 24px 24px;flex:1}
label.f{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--text)}
input,select,button{font:inherit;color:var(--text)}
input[type=text],input[type=number],select{background:var(--surface);border:1px solid var(--line2);border-radius:6px;padding:4px 11px;height:32px;min-width:0;transition:border-color .2s}
input:hover,select:hover{border-color:var(--blue-h)}
input:focus,select:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 2px rgba(0,60,180,.35)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.search{position:relative}
.search input{width:100%;height:36px}
.sugg{position:absolute;z-index:20;left:0;right:0;top:100%;margin-top:4px;background:var(--sider);border-radius:8px;max-height:380px;overflow:auto;box-shadow:0 6px 16px rgba(0,0,0,.48),0 3px 6px -4px rgba(0,0,0,.6),0 9px 28px 8px rgba(0,0,0,.3);padding:4px}
.sugg div{display:flex;align-items:center;gap:10px;padding:5px 8px;cursor:pointer;border-radius:4px}
.sugg div[aria-selected=true],.sugg div:hover{background:rgba(255,255,255,.08)}
.sugg .ic{width:32px;height:32px}
.sugg small{color:var(--muted);margin-left:auto;font-size:12px;white-space:nowrap}
.sugg .added{color:var(--good)}
.row2{display:grid;grid-template-columns:1fr 110px;gap:10px}
.fee{display:flex;align-items:center}
.fee input{width:100%;border-radius:6px 0 0 6px}
.fee span{height:32px;display:grid;place-items:center;padding:0 10px;border:1px solid var(--line2);border-left:0;border-radius:0 6px 6px 0;background:rgba(255,255,255,.04);color:var(--muted)}
.switch{display:flex;align-items:center;gap:10px;cursor:pointer;user-select:none}
.switch input{appearance:none;width:44px;height:22px;border-radius:100px;background:rgba(255,255,255,.3);position:relative;cursor:pointer;margin:0;transition:background .2s}
.switch input::after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .2s}
.switch input:checked{background:var(--blue)}
.switch input:checked::after{left:24px}
.btn{background:var(--surface);border:1px solid var(--line2);border-radius:6px;padding:4px 15px;height:32px;cursor:pointer;color:var(--text);display:inline-flex;align-items:center;gap:6px;transition:all .2s}
.btn:hover{color:var(--blue-h);border-color:var(--blue-h)}
.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.btn.primary:hover{background:var(--blue-h);border-color:var(--blue-h);color:#fff}
button.link{background:none;border:0;padding:0;color:var(--blue);cursor:pointer;font-size:inherit}
button.link:hover{color:var(--blue-h)}

.ic{display:grid;place-items:center;flex:none;overflow:hidden}
.ic img{max-width:100%;max-height:100%;image-rendering:pixelated}

.hunt-h{display:flex;justify-content:space-between;align-items:baseline;font-weight:600;color:var(--strong)}
.hunt-h small{font-weight:400;color:var(--muted);font-size:12px}
.hunt{display:flex;flex-direction:column;gap:6px}
.hunt>.mon+.mon{margin-top:14px}
.mon{position:relative;display:grid;grid-template-columns:50px 1fr auto;gap:0 10px;align-items:center;background:var(--layout);border:1px solid var(--line);border-radius:8px;padding:6px 8px}
.mon .ic{width:50px;height:40px;grid-row:span 2;position:relative;overflow:visible}
.mon .ic img{position:absolute;left:-20px;bottom:-12px;width:80px;height:80px;max-width:none;max-height:none;object-fit:contain;object-position:bottom;image-rendering:pixelated;filter:drop-shadow(0 4px 3px rgba(0,0,0,.65)) drop-shadow(0 0 1px rgba(0,0,0,.8));transition:transform .15s}
.mon:hover .ic img{transform:translateY(-2px) scale(1.05)}
@media (prefers-reduced-motion:reduce){.mon .ic img{transition:none}.mon:hover .ic img{transform:none}}
.mon .nm{font-weight:600;color:var(--strong);display:flex;gap:6px;align-items:center;min-width:0}
.mon .nm span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mon .st{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.mon>div{min-width:0}
.mon .kills{grid-row:span 2;display:flex;align-items:center;gap:6px}
.mon .kills input{width:64px;text-align:right;height:28px;padding:2px 8px}
.mon .rm{background:none;border:0;color:var(--muted);cursor:pointer;font-size:16px;line-height:1;padding:4px;border-radius:4px}
.mon .rm:hover{color:var(--bad);background:rgba(220,68,70,.12)}
.tag{font-size:12px;line-height:20px;padding:0 7px;border-radius:4px;border:1px solid;display:inline-block;white-space:nowrap}
.tag.red{color:#dc4446;background:#2c1618;border-color:#5b2526}
.emptyhunt{border:1px dashed var(--line2);border-radius:8px;padding:16px;color:var(--muted);text-align:center;font-size:13px}

.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin-bottom:24px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:16px 20px}
.card .k{color:var(--muted);font-size:14px}
.card .v{font-size:24px;color:var(--strong);margin-top:4px;font-variant-numeric:tabular-nums}
.card .v small{font-size:14px;color:var(--muted);margin-left:4px}
.card .s{font-size:12px;color:var(--muted);margin-top:2px}
.card.hl .v{color:var(--gold)}
.card.neon .v{color:#fff200;font-weight:700;text-shadow:0 0 6px rgba(255,242,0,.75),0 0 16px rgba(255,230,0,.4)}
.card.neon .v small{text-shadow:none}

h3.sec{font-size:16px;font-weight:600;color:var(--strong);margin:0 0 12px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
h3.sec small{font-weight:400;font-size:13px;color:var(--muted)}
section.block{margin-bottom:24px}

.route{display:grid;align-items:start;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:26px 12px;padding-top:14px}
.stop{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:visible}
.stop>header{border-radius:8px 8px 0 0}
.stop header{background:var(--surface2);padding:8px 12px;display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--line)}
.stop header b{color:var(--strong);font-weight:600}
.stop header span{color:var(--gold);font-weight:600;font-variant-numeric:tabular-nums}
.npcstop>header{display:grid;grid-template-columns:minmax(0,1.2fr) 56px minmax(0,1fr);gap:10px;min-height:46px}
.stop.npcstop>header>b{max-width:none;white-space:normal;overflow:visible;line-height:1.25}
.npcstop .npcic{width:56px;justify-self:center}
.npcstop .npccity{justify-self:end;text-align:right}
.stop header .npcw{display:flex;align-items:center;gap:6px;min-width:0;flex:0 1 auto;margin:0 auto 0 4px}
.stop header>b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 0 auto;max-width:55%}
.npccity{min-width:0;overflow:hidden;text-overflow:ellipsis}
.stop header>span:last-child{white-space:nowrap;flex:none}
.npccity{flex:0 1 auto}
.npcic{position:relative;width:34px;height:32px;flex:none}
.npcic .ic{position:absolute;left:50%;transform:translateX(-50%) scale(1.1);transform-origin:50% 100%;bottom:-12px;width:auto;height:auto;overflow:visible;filter:drop-shadow(0 3px 2px rgba(0,0,0,.6));z-index:2}.npcic .ic img{display:block;width:auto;height:auto;max-width:170px;max-height:110px;image-rendering:pixelated}
.npccity{color:var(--gold);font-weight:600;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stop .city{font-size:12px;color:var(--muted);padding:6px 12px 0}
.stop ul{list-style:none;margin:0;padding:8px 12px 12px;display:flex;flex-direction:column;gap:4px}
.stop li{display:flex;align-items:center;gap:6px;border:1px solid var(--line2);background:rgba(255,255,255,.04);border-radius:4px;padding:2px 8px 2px 2px;font-size:12.5px}
.stop li .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stop li .up{color:#fff200;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 4px rgba(255,242,0,.75),0 0 10px rgba(255,230,0,.45)}
.stop li .up small{font-weight:500;opacity:.8;margin-left:2px}
.stop li .ic{width:22px;height:22px}
.stop.mk header span{color:var(--mkt)}

.status{font-size:13px;color:var(--muted);margin-bottom:10px;display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center}
.status .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--muted);margin-right:8px;vertical-align:2px}
.status .ok .dot{background:var(--good)} .status .err .dot{background:var(--bad)} .status .load .dot{background:var(--warn)}

.tablebox{overflow-x:auto;border-radius:8px;background:var(--surface)}
table{border-collapse:separate;border-spacing:0;width:100%;min-width:1000px;font-variant-numeric:tabular-nums}
th,td{padding:12px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
th{background:var(--surface2);color:var(--text);font-weight:600;cursor:pointer;white-space:nowrap;position:relative}
th:first-child{border-top-left-radius:8px} th:last-child{border-top-right-radius:8px}
th:not(:last-child)::after{content:"";position:absolute;right:0;top:50%;height:1.6em;transform:translateY(-50%);width:1px;background:rgba(253,253,253,.12)}
th:hover{background:#262626}
th .srt{color:var(--muted);font-size:10px;margin-left:6px}
th.on .srt{color:var(--blue)}
tbody tr:hover td{background:var(--hover)}
td{transition:background .2s}
th.num,td.num{text-align:right}
td.num{font-weight:600}
.item{display:flex;gap:10px;align-items:flex-start;min-width:200px}
.item .ic{width:32px;height:32px}
.item a{font-weight:600}
.sub{display:block;color:var(--muted);font-size:12px;font-weight:400}
.from{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.from span{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:0 6px 0 1px}
.from .ic{width:18px;height:18px}
.price{white-space:nowrap;font-weight:600}
.npc .price{color:var(--npc)} .mkt .price{color:var(--mkt)}
.where{font-size:12px;color:var(--muted);max-width:240px}
.where details summary{cursor:pointer;color:var(--blue)}
.where ul{margin:4px 0 0;padding-left:16px}
.mrow{display:flex;justify-content:space-between;gap:12px;font-size:13px}
.mrow span{white-space:nowrap}
.mrow span:first-child{color:var(--muted)}
.verdict{font-weight:400}
.v-npc{color:#d87a16;background:#2b1d11;border-color:#593815}
.v-now{color:#3c89e8;background:#111a2c;border-color:#15325b}
.v-list{color:#49aa19;background:#162312;border-color:#274916}
.v-none{color:var(--muted);background:rgba(255,255,255,.04);border-color:var(--line2)}
.v-gold{color:#d89614;background:#2b2111;border-color:#594214}
.why{display:block;font-size:12px;color:var(--muted);margin-top:6px;max-width:230px}
.dim td{opacity:.5}
.foot{border-top:1px solid var(--line);padding:16px 24px 24px;color:var(--muted);font-size:13px;display:grid;gap:6px}
.foot p{margin:0;max-width:110ch}
.iconbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
progress{width:160px;accent-color:var(--blue)}
.tabsrow{display:flex;justify-content:center;border-bottom:1px solid var(--line);padding:0 16px;background:var(--bg)}
.tabs{display:flex;gap:4px;align-items:flex-end;padding-top:26px}
.tabs button{height:52px}
.tgroup{position:relative;display:flex;flex-direction:column;align-items:stretch}
.tg-btns{display:flex;gap:4px}
.tg-lbl{position:absolute;top:-24px;left:50%;transform:translateX(-50%);z-index:1;font-size:12px;font-weight:800;letter-spacing:2px;color:#3b9bff;text-shadow:0 0 8px rgba(59,155,255,.6);background:var(--bg);padding:0 8px;line-height:16px;white-space:nowrap}
.tgroup::before{content:"";position:absolute;top:-16px;left:6px;right:6px;height:12px;border:2px solid #3b9bff;border-bottom:0;border-radius:8px 8px 0 0;box-shadow:0 -2px 8px rgba(59,155,255,.25)}
.tabs button{background:none;border:0;border-bottom:2px solid transparent;color:var(--muted);font-size:15px;padding:0 12px;white-space:nowrap;cursor:pointer;transition:color .2s,border-color .2s}
.tabs button:hover{color:var(--blue-h)}
.tabs button[aria-selected=true]{color:var(--strong);border-bottom-color:var(--blue);font-weight:600}
.tabs{overflow-x:auto;scrollbar-width:none;min-width:0;max-width:100%;justify-self:center}
.wtabw,.tblwrap{overflow-x:auto;max-width:100%}
.stn{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px solid var(--line2);font-size:11px;margin-right:7px;color:var(--muted);vertical-align:1px}
.tabs button.done .stn{background:var(--good);border-color:var(--good);color:#fff}
.tabs button[aria-selected=true] .stn{border-color:var(--blue);color:var(--strong)}
.tabs button.done[aria-selected=true] .stn{color:#fff}
.today{display:flex;gap:16px;align-items:flex-end;justify-content:center;flex-wrap:wrap;min-width:0;max-width:100%;overflow:visible;padding:34px 0 10px}
.todaym{display:none;padding:8px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap;overflow:visible}
.tw{display:flex;align-items:center;gap:7px;min-width:0;flex:0 1 auto;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:4px 10px 4px 4px;font:inherit;color:inherit;text-align:left;cursor:default}
button.tw{cursor:pointer}button.tw:hover{border-color:var(--blue-h)}
.tw{overflow:visible;position:relative;padding-left:82px!important;height:44px}
.tw .twi{position:absolute;left:0;bottom:0;width:80px;height:80px;display:grid;place-items:end center;pointer-events:none;filter:drop-shadow(0 4px 3px rgba(0,0,0,.65)) drop-shadow(0 0 1px rgba(0,0,0,.8));transition:transform .15s}
.tw:hover .twi{transform:translateY(-2px) scale(1.06)}
.tw .twi img{width:80px;height:80px;max-width:none;max-height:none;object-fit:contain;object-position:bottom;image-rendering:pixelated}
.tw .twi .ic{width:80px;height:80px;background:none;border:0;overflow:visible}.tw .twi .ic img{width:80px;height:80px;max-width:none;max-height:none}
@media (prefers-reduced-motion:reduce){.tw .twi{transition:none}.tw:hover .twi{transform:none}}
.tw .twt{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.tw .twt span{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tw .twt b{font-size:14px;color:var(--strong);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.tw.yes b{color:var(--good)}.tw.no b{color:var(--bad)}
.tw .twt{align-items:flex-start;text-align:left}
@media (max-width:560px){.today .tw .twt span{display:none}.today .tw .twt b{max-width:110px}}
.today .tw{flex:0 1 auto}
@media (max-width:900px){.todaym{display:flex}}
header.bar{position:relative}
#langbox{position:absolute;right:16px;top:12px}
.langsw{display:flex;gap:2px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:2px}
.langsw button{background:none;border:0;color:var(--muted);font:inherit;font-size:12px;font-weight:600;padding:4px 8px;border-radius:6px;cursor:pointer}
.langsw button:hover{color:var(--strong)}.langsw button.on{background:var(--blue);color:#fff}
@media (max-width:700px){#langbox{position:static;order:-1;width:100%;display:flex;justify-content:flex-end;padding-top:8px}header.bar{flex-wrap:wrap}}
.sitefoot{text-align:center;color:var(--muted);font-size:12px;padding:28px 16px 24px;margin-top:24px;border-top:1px solid var(--line)}
.tabs button.xtab{border-left:1px solid var(--line);margin-left:6px;padding-left:16px}
.im-head{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:flex-end;justify-content:space-between}
.im-head h2{margin:0;font-size:22px;color:var(--strong)}
.im-ctl{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.im-chip{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:16px;padding:5px 12px;font:inherit;font-size:13px;cursor:pointer}
.im-chip.on{background:var(--blue);border-color:var(--blue);color:#fff}
.im-ctl input[type=search]{min-width:200px}
.im-note{font-size:12.5px;color:var(--muted);margin-top:6px}
.im-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:10px;margin-top:12px}
.im-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;min-width:0;padding:0 0 4px}
.im-card.mine{border-color:#d4a017}
.im-ch{display:flex;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid var(--line)}
.im-ch .ic{width:28px;height:28px}.im-tt{min-width:0;line-height:1.2}.im-tt b{color:var(--strong);font-size:14px}.im-tt .sub{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.im-mine{margin-left:auto;color:#d4a017;font-size:15px}
.im-hd,.im-r{display:grid;grid-template-columns:22px minmax(0,1fr) 62px 62px;gap:6px;align-items:center;padding:0 10px}
.im-hd{font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding-top:5px;padding-bottom:2px}.im-hd span:nth-child(n+3){text-align:right}
.im-r{padding-top:3px;padding-bottom:3px;border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}
.im-r:hover{background:var(--surface2)}
.im-tb{width:20px;height:20px;border-radius:5px;display:grid;place-items:center;font-size:11px;font-weight:800;color:#111}
.im-tb.t-B{background:#9aa3ad}.im-tb.t-I{background:#5fa8e8}.im-tb.t-P{background:#d4a017}
.im-ms{display:flex;flex-wrap:wrap;gap:2px 8px;min-width:0}
.im-m{display:inline-flex;align-items:center;gap:1px}.im-m .ic{width:24px;height:24px}.im-m i{font-style:normal;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.im-m i.no{color:var(--bad)}
.im-v{text-align:right;font-variant-numeric:tabular-nums;font-size:12.5px;color:var(--text);line-height:1.15}
.im-v.win{color:#fff200;font-weight:700;text-shadow:0 0 5px rgba(255,242,0,.55)}
.im-v small{display:block;font-size:10px;font-weight:600;color:var(--good);text-shadow:none}
.im-note{font-size:12px;color:var(--muted);margin-top:6px}.im-note summary{cursor:pointer;color:var(--blue-h)}
.im-sel{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;margin:12px 0 4px}
.im-sel .f{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted)}
.im-sel select{min-width:220px}
.im-title{display:flex;align-items:center;gap:10px;margin:16px 0 10px}.im-title .ic{width:36px;height:36px}.im-title b{font-size:18px;color:var(--strong)}.im-title .sub{display:block}
.im-cmp{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px}
@media (max-width:800px){.im-cmp{grid-template-columns:1fr}}
.addf{display:flex!important;flex-direction:column;align-items:stretch!important;gap:6px!important;text-align:left}
.eqsettings .addf input#eqq{border-width:3px!important;border-style:solid!important;border-color:#39ff14;font-size:15px;padding:10px 12px;animation:addpulse 1.8s ease-in-out infinite}
.addf #eqq:focus{outline:none}
@keyframes addpulse{0%,100%{border-color:rgba(57,255,20,.3);box-shadow:0 0 2px rgba(57,255,20,.15)}50%{border-color:#39ff14;box-shadow:0 0 14px rgba(57,255,20,.85),0 0 28px rgba(57,255,20,.35)}}
@media (prefers-reduced-motion:reduce){.eqsettings .addf input#eqq{animation:none;box-shadow:0 0 10px rgba(57,255,20,.45)}}
.addlbl{display:block;text-align:left;padding-left:2px;font-size:16px!important;font-weight:800;color:#39ff14!important;letter-spacing:.3px;text-shadow:0 0 6px rgba(57,255,20,.85),0 0 16px rgba(57,255,20,.45);margin-bottom:2px}
.eqnext{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin-top:4px}
.br-kpi{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin:12px 0 14px}
.br-kpi>span:first-child{color:var(--muted)}
.br-kpi b{font-size:22px;color:#fff200;text-shadow:0 0 8px rgba(255,242,0,.55)}
.br-kpi .link{margin-left:auto}
.br-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:12px}
.br-sec{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.br-sec .lbl{margin:0 0 6px}
.br-row{display:grid;grid-template-columns:30px 36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--line)}
.br-row:first-of-type{border-top:0}
.br-row.top .br-n b{color:var(--strong)}
.br-row:not(.top){opacity:.9}
.br-row .ic{width:34px;height:34px}
.br-rk{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;background:var(--surface2);color:var(--muted);border:1px solid var(--line)}
.br-rk.rk1{background:linear-gradient(180deg,#ffe27a,#c99a2e);color:#2a1d00;border-color:#ffe27a;box-shadow:0 0 10px rgba(255,214,90,.5)}
.br-rk.rk2{background:linear-gradient(180deg,#f1f1f1,#9aa3ad);color:#1c1f23;border-color:#e6e6e6}
.br-rk.rk3{background:linear-gradient(180deg,#e8a56b,#9c5a2a);color:#241104;border-color:#e8a56b}
.br-n{min-width:0}.br-n .sub{display:block;font-size:11.5px;line-height:1.35}
.br-p{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:1px;white-space:nowrap}
.bp-v{color:#fff200;text-shadow:0 0 6px rgba(255,242,0,.5);font-variant-numeric:tabular-nums}
.bp-avg{font-size:11px;color:var(--muted)}
.bp-none{font-size:12px;color:var(--muted)}
.bp-wait{color:var(--muted)}
@media (max-width:760px){.br-grid{grid-template-columns:1fr}}
.ls-in{width:100%;min-height:150px;margin-top:12px;background:var(--surface2);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:10px 12px;font:12.5px/1.45 ui-monospace,Consolas,monospace;resize:vertical}
.ls-btns{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin:10px 0 16px}
.ls-world{margin-left:auto;display:flex;flex-direction:column;gap:3px}
.ls-cards{margin-bottom:12px}
.ls-stats{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--muted);margin-bottom:14px}
.ls-stats b{color:var(--strong)} .ls-stats b.up{color:var(--good)} .ls-stats b.dn{color:var(--bad)}
.ls-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}
.ls-row{display:grid;grid-template-columns:32px minmax(0,1fr) 78px 78px 78px 120px 96px;gap:10px;align-items:center;padding:6px 12px;border-bottom:1px solid var(--line);font-size:13px}
.ls-row:last-child{border-bottom:0}
.ls-row .num{text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}
.ls-row .num.win{color:#fff200;font-weight:700;text-shadow:0 0 6px rgba(255,242,0,.6)}
.ls-row .nm{min-width:0} .ls-row .nm .sub{display:block;font-size:11.5px}
.ls-row .wh{font-size:12px;color:var(--text)}
.ls-row .ls-v{color:var(--strong)}
.ls-h{background:var(--surface2);font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.3px}
.ls-row .ic{width:32px;height:32px}
@media (max-width:760px){.ls-row{grid-template-columns:28px minmax(0,1fr) 70px 70px 80px}.ls-row>:nth-child(5),.ls-row>:nth-child(6){display:none}.ls-world{margin-left:0}}
.gearload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:46px 16px;background:var(--surface);border:1px solid var(--line);border-radius:10px;text-align:center}
.gearload svg{width:170px;height:170px;filter:drop-shadow(0 0 10px rgba(255,200,40,.45))}
.gearload .gear-g{fill:#d4a017;transform-origin:50px 50px;animation:gearspin 2.6s linear infinite}
.gearload .gear-hole{fill:var(--surface)}
.gearload b{font-size:20px;color:#fff200;text-shadow:0 0 8px rgba(255,242,0,.6)}
@keyframes gearspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.gearload .gear-g{animation-duration:8s}}
.im-box{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px 14px;min-width:0}
.im-box.win{border-color:#fff200;box-shadow:0 0 0 1px rgba(255,242,0,.35),0 0 18px rgba(255,242,0,.12)}
.im-box .lbl{margin-top:0}
.im-rows2{display:flex;flex-direction:column}
.im-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto auto;gap:10px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line);font-size:13px}
.im-row .ic{width:28px;height:28px}.im-row .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--strong)}
.im-row .q,.im-row .pr,.im-row .sm{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.im-row .q{color:var(--muted);min-width:42px}.im-row .pr{min-width:78px;color:#fff200;text-shadow:0 0 4px rgba(255,242,0,.45)}.im-row .sm{min-width:92px}
.im-row.imfee .nm{color:var(--muted);white-space:normal}.im-row .neg{color:var(--bad);text-shadow:none}
@media (max-width:520px){.im-row{grid-template-columns:28px minmax(0,1fr) auto auto}.im-row .pr{display:none}}
.im-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}
.im-total span{color:var(--muted)}.im-total b{font-size:22px;color:var(--strong);font-variant-numeric:tabular-nums}
.im-box.win .im-total b{color:#fff200;text-shadow:0 0 8px rgba(255,242,0,.6)}
.im-scroll{display:flex;align-items:center;gap:10px;margin:6px 0}.im-scroll .ic{width:40px;height:40px}.im-scroll span{color:var(--strong);font-weight:600}
.im-verdict{margin-top:14px;padding:12px 16px;border-radius:10px;font-size:15px;background:var(--surface2);border:1px solid var(--line)}
.im-verdict.sc,.im-verdict.it{border-color:var(--good);background:color-mix(in srgb,var(--good) 12%,var(--surface))}
.im-verdict b{color:var(--strong)}
.im-status{margin-top:10px;font-size:13px}
.stepnav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 24px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.stepnav .grow{flex:1;min-width:0}.stepnav b{color:var(--strong)}
.stepnav .btn.primary{margin-left:auto}
.st-hero{display:grid;gap:6px;margin-bottom:4px}.st-hero h2{margin:0;font-size:22px;color:var(--strong);text-wrap:balance}
.st-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (max-width:900px){.st-grid{grid-template-columns:1fr}.stepnav{padding:10px 16px}}
.st-steps{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.st-steps li{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;background:var(--surface2);border:1px solid var(--line);border-radius:8px;padding:10px 12px}
.st-steps li .stn{width:24px;height:24px;margin:0;font-size:12px}
.st-steps li.done .stn{background:var(--good);border-color:var(--good);color:#fff}
.st-steps li b{color:var(--strong)}.st-steps li span.sub{display:block}
.st-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;max-width:520px}
.st-form .f-new{grid-column:1}
.st-form .f{display:flex;flex-direction:column;gap:6px}
.st-form input,.st-form select{width:100%}
.st-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:14px}
.st-prof{display:grid;gap:6px;margin-top:10px}
.st-prof .row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;background:var(--surface2);border-radius:6px;padding:6px 10px}
.st-prof .row b{color:var(--strong)}
.st-save{display:flex;gap:8px;margin-top:8px}.st-save input{flex:1;min-width:0}
.charsum{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px}
.charsum .chip{background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:2px 10px;color:var(--text)}
.needbox{border:1px solid var(--warn);border-radius:8px;padding:12px 14px;margin-bottom:14px;font-size:13px;display:grid;gap:6px}
.needbox b{color:var(--strong)}
#q.attn{border-color:var(--blue);box-shadow:0 0 0 3px rgba(22,104,220,.35)}
.eqsettings{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:14px 16px}
.eqsettings .f{display:flex;flex-direction:column;gap:6px}
.eqsettings #lvl,.eqsettings #skill,.eqsettings #mobs,.eqsettings #hk{width:100px}
.warnnote{background:rgba(250,173,20,.1);border:1px solid rgba(250,173,20,.35);color:#f0c36d;border-radius:6px;padding:8px 10px;font-size:12.5px;margin-bottom:10px}
.wtab .brk{font-size:12px;line-height:1.5}
.wtab .brk .sub{display:block;font-size:11px}
.imbup{display:block;font-size:11.5px;color:#8fd16a;margin-top:2px}
.eqsettings .search input{height:32px}
.eqsettings .switch{padding-bottom:5px}
.sugg .sub{display:block}
.lbl{font-size:12px;color:var(--muted);margin:10px 0 6px;text-transform:uppercase;letter-spacing:.04em}
.ecards{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px;align-items:start}
.ecard{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px 14px}
.ecard.wide{margin-bottom:12px}
.ecard.wide .lbl{margin-top:0}
.ehead{display:flex;gap:10px;align-items:center}
.ehead .ic{width:40px;height:40px}
.ehead b{color:var(--strong)}
.maxhit{margin-left:auto;font-size:12px;color:var(--bad);border:1px solid #5b2526;background:#2c1618;border-radius:4px;padding:0 7px;white-space:nowrap}
.mixbar{display:flex;height:12px;border-radius:6px;overflow:hidden;background:var(--surface2);gap:2px}
.mixbar span{display:block;min-width:3px}
.mixlegend{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px;font-size:13px;color:var(--muted)}
.mixlegend span{display:inline-flex;align-items:center;gap:5px}
.mixlegend b{color:var(--text);font-weight:600}
.mixlegend i,.wchip i,.rchip i,.abil i,.atkel i,i.dot{display:inline-block;width:8px;height:8px;border-radius:2px;flex:none}
.abil{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:2px;font-size:12.5px}
.abil li{display:flex;align-items:center;gap:6px}
.abil span{color:var(--muted);margin-left:auto;font-variant-numeric:tabular-nums}
.wchips,.rchips{display:flex;flex-wrap:wrap;gap:4px}
.wchip,.rchip{display:inline-flex;align-items:center;gap:5px;font-size:12px;border:1px solid var(--line2);border-radius:4px;padding:0 7px;line-height:20px}
.wchip.weak{color:#49aa19;background:#162312;border-color:#274916}
.wchip.strong{color:#dc4446;background:#2c1618;border-color:#5b2526}
.wchip.neutral{color:var(--muted)}
.rchip{color:#49aa19;border-color:#274916}
.rchip.neg{color:#dc4446;border-color:#5b2526}
.setgrid{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start;margin-bottom:16px}
.wearcol{display:grid;gap:12px;width:250px}
.tpanel{display:grid;grid-template-columns:repeat(3,72px);justify-content:center;gap:0 6px;padding:12px 10px 14px;border-radius:4px;
  background:linear-gradient(180deg,#3d3d3d,#2e2e2e);border:1px solid #111;box-shadow:inset 1px 1px 0 #5a5a5a,inset -1px -1px 0 #1a1a1a,0 2px 8px rgba(0,0,0,.5)}
.tcol{display:grid;gap:6px;align-content:start}
.tcol.side{padding-top:22px}
.tslot{position:relative;width:72px;height:72px;display:grid;place-items:center;background:#1c1c1c;
  border:2px solid;border-color:#0c0c0c #5b5b5b #5b5b5b #0c0c0c;box-shadow:inset 0 0 0 1px #262626}
.tslot .ic{width:64px;height:64px}
.tslot .ic img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}
.tslot svg{width:40px;height:40px;fill:#3b3b3b;stroke:#3b3b3b}
.tslot:not(.empty){background:radial-gradient(circle at 50% 45%,#2a2a2a,#161616)}
.tstar{position:absolute;right:2px;bottom:1px;font-size:11px;font-weight:700;color:#49aa19;text-shadow:0 0 2px #000,0 0 2px #000}
.tbox{height:44px;border:2px solid;border-color:#0c0c0c #5b5b5b #5b5b5b #0c0c0c;background:#1c1c1c;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}
.tbox span{font-size:11px;color:#bdbdbd}
.tbox b{font-size:14px;color:#fff}
.wearlist{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.wearlist li{display:flex;gap:8px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:4px 8px}
.wearlist .ic{width:32px;height:32px}
.wearlist b{display:block;color:var(--strong);font-size:13px;line-height:1.2}
.wearlist .sub{font-size:11px;line-height:1.2}
.wimb{display:block;font-size:11px;color:#49aa19;line-height:1.3}
.setinfo{display:grid;gap:14px;min-width:0}
.bigred{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:14px 16px;color:var(--text)}
.bigred>span{font-size:32px;font-weight:600;color:var(--good);font-variant-numeric:tabular-nums}
.eltab{border-collapse:separate;border-spacing:0;width:100%;min-width:0;background:var(--surface);border-radius:8px;overflow:hidden}
.eltab th,.eltab td{padding:8px 12px}
.eltab th{cursor:default}
.eltab th:hover{background:var(--surface2)}
.eltab td.pos{color:#49aa19} .eltab td.neg{color:#dc4446}
.eltab i.dot{margin-right:8px}
.eltab tr.best td{background:#111a2c}
.wn{display:inline-flex;align-items:center;gap:8px}
.wn .ic{width:28px;height:28px}
.tips{background:#2b2111;border:1px solid #594214;border-radius:8px;padding:10px 14px;font-size:13px}
.tips b:first-child{color:#d89614}
.tips ul{margin:6px 0 0;padding-left:18px;display:grid;gap:4px}
.atk{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
.eqtop{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.eqtop .tpanel{flex:none}
.eqtop .atkbest{flex:0 1 320px;min-width:0}
.atk .wtab{width:100%}.wtabw{min-width:0}.wtab th,.wtab td{padding:8px 10px}.wtab .brk{min-width:220px}.atk .wtab .wn{white-space:nowrap}
.elnote{margin-top:8px;padding:8px 10px;border-left:3px solid #d4a017;background:color-mix(in srgb,#d4a017 8%,transparent);border-radius:6px;font-size:12.5px;line-height:1.45}
.atkbest{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px 14px}
.atkbest .lbl{margin-top:0}
.atkrow{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.atkel{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line2);border-radius:6px;padding:4px 10px;font-size:13px}
.atkel b{margin-left:4px}
.atkel.top{border-color:#274916;background:#162312;color:#49aa19;font-size:15px}
.inv{display:grid;gap:14px}
.invgroup .lbl{margin-top:0}
.invrow{display:grid;grid-template-columns:36px 1fr minmax(220px,auto) auto;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px 10px;margin-bottom:6px}
.invrow .ic{width:34px;height:34px}
.invrow.used{border-color:#274916}
.invrow.nofit{opacity:.55}
.invname{font-weight:600;color:var(--strong);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.invmain .rchips{margin-top:4px}
.imbs{display:flex;flex-direction:column;gap:6px}
.wshop,.spells{margin-top:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px 14px}
.wshop .lbl,.spells .lbl{margin-top:0}
.wshop .wn .sub{display:block;font-size:11.5px}
.spgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-bottom:8px}
.sph{display:block;color:var(--strong);font-size:13px;margin-bottom:6px}
.splist{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.splist li{display:grid;grid-template-columns:18px 30px 1fr auto 40px;gap:8px;align-items:center;background:var(--surface2);border-radius:6px;padding:4px 8px}
.splist .ic{width:28px;height:28px}
.spn{color:var(--muted);font-size:12px}
.spw b{display:block;color:var(--strong);font-size:13px}
.spw .sub{font-size:11.5px}
.spe{font-size:12px;white-space:nowrap;display:inline-flex;align-items:center;gap:2px}
.spc{font-size:11.5px;color:var(--muted);text-align:right}
.spgrid2{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px;margin-bottom:10px}
@media (max-width:860px){.spgrid2{grid-template-columns:1fr}}
.splist.sp3 li{grid-template-columns:22px 30px minmax(0,1fr) auto auto auto auto;padding:6px 8px}
.sp3 .spn{color:var(--blue-h);font-weight:600}
.spt{font-size:12px;white-space:nowrap}.spt small{color:var(--muted)}
.spd{font-weight:600;color:var(--strong);font-size:13px;min-width:44px;text-align:right}
.sp3 .spc{min-width:78px}
.spsum{display:flex;justify-content:space-between;margin:10px 0 6px;font-size:13px}.spsum b{color:var(--strong)}
.spwhy,.spalt{margin:0;padding-left:18px;font-size:12.5px;line-height:1.55}
.spalt{list-style:none;padding:0;display:grid;gap:4px}
.spalt li{display:grid;grid-template-columns:1fr auto 44px;gap:8px;background:var(--surface2);border-radius:6px;padding:4px 8px}
.spalt .sub{text-align:right}

.imbbtn{display:flex;align-items:center;gap:8px;background:var(--surface2);border:1px dashed var(--line2);border-radius:6px;padding:3px 10px 3px 3px;cursor:pointer;text-align:left;min-width:220px;max-width:340px;color:var(--text)}
.imbbtn:hover{border-color:var(--blue-h)}
.imbbtn.set{border-style:solid;border-color:#274916;background:#162312}
.imbbtn .ic{width:32px;height:32px}
.imbbtn b{display:block;font-size:12.5px;color:var(--strong);font-weight:600;line-height:1.2}
.imbbtn .sub{font-size:11.5px;line-height:1.2}
.imbdlg{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.65);display:grid;place-items:center;padding:16px}
.imbpanel{background:var(--sider);border:1px solid var(--line2);border-radius:10px;max-width:560px;width:100%;max-height:calc(100vh - 32px);display:flex;flex-direction:column;box-shadow:0 12px 40px rgba(0,0,0,.6)}
.imbhead{display:flex;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--line)}
.imbhead .ic{width:36px;height:36px}.imbhead b{color:var(--strong)}
.imbhead .rm{margin-left:auto;background:none;border:0;color:var(--muted);font-size:22px;cursor:pointer}
.imbgrid{display:grid;grid-template-columns:minmax(110px,1fr) repeat(3,minmax(0,1fr));gap:6px;padding:12px 14px;overflow:auto;align-items:center;
  background:radial-gradient(circle at 30% 20%,#3f6b26,#2b4d1a 70%);}
.imbcol{font-size:12px;font-weight:600;color:#e8e8c8;text-align:center;text-shadow:0 1px 2px #000}
.imbtype{font-size:12.5px;font-weight:600;color:#fff;text-shadow:0 1px 2px #000;line-height:1.2}
.imbtype .sub{color:#e6c46a;font-size:11px}
.scroll{display:flex;flex-direction:column;align-items:center;gap:2px;background:rgba(0,0,0,.25);border:1px solid rgba(0,0,0,.35);border-radius:6px;padding:4px 2px;cursor:pointer;color:#f0f0e0}
.scroll .ic{width:44px;height:44px}
.scroll span{font-size:10.5px;line-height:1.15;text-align:center;text-shadow:0 1px 2px #000}
.scroll:hover:not([disabled]){background:rgba(255,255,255,.14);border-color:#e6c46a}
.scroll.on{background:rgba(230,196,106,.25);border-color:#e6c46a}
.scroll[disabled]{opacity:.35;cursor:not-allowed}
.imbfoot{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;border-top:1px solid var(--line)}

.imbs select{height:30px;max-width:340px;font-size:13px}
.invrow .rm{background:none;border:0;color:var(--muted);cursor:pointer;font-size:18px;padding:4px 6px;border-radius:4px}
.invrow .rm:hover{color:var(--bad);background:rgba(220,68,70,.12)}
.wscale{display:grid;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);gap:3px;align-items:end;overflow-x:auto;padding-bottom:2px}
.wlo{display:flex;gap:3px;justify-content:flex-end}
.whi{display:flex;gap:3px;justify-content:flex-start}
.wmid{display:flex;gap:3px;padding:0 3px;border-left:1px dashed var(--line2);border-right:1px dashed var(--line2)}
.wzero{display:grid;place-items:end center;width:14px;height:52px;font-size:11px;color:var(--muted)}
.wlegend2{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:4px}
.wtile{display:inline-flex;flex-direction:column;align-items:center;gap:2px;width:40px}
.wtile .elbig{width:32px;height:32px}
.wtile b{display:block;width:100%;text-align:center;font-size:10.5px;font-weight:700;color:#fff;padding:1px 0;border-radius:2px;background:#6b6b1f}
.wtile.weak b{background:#237a2b}.wtile.strong b{background:#a3231f}.wtile.immune b{background:#000}.wtile.neutral b{background:#8a7a14}
.elbig{width:24px;height:24px;flex:none}
.atkel .elbig{width:24px;height:24px}.atkel.top .elbig{width:28px;height:28px}
.elbigfb{width:18px;height:18px}
.wchips{gap:3px;flex-wrap:nowrap}
.elic{width:13px;height:13px;image-rendering:pixelated;vertical-align:-3px;flex:none}
.elsq{display:inline-block;width:10px;height:10px;border-radius:2px;flex:none}
.atkel.top .elic{width:20px;height:20px}
.wheelcanvas{position:relative}
.wheelcanvas canvas{width:100%;max-width:522px;height:auto;display:block;margin:0 auto;image-rendering:auto}
.wload{text-align:center;padding:4px 0}
.wtip{position:fixed;z-index:120;max-width:260px;background:#1f1f1f;border:1px solid #5a4a22;border-radius:6px;padding:8px 10px;font-size:12.5px;color:var(--text);box-shadow:0 6px 18px rgba(0,0,0,.6);pointer-events:none;display:grid;gap:3px}
.wtip b{color:#f0d890}.wtip span{color:var(--muted)}.wtip span.ok{color:#49aa19}
.wwhytext ul{margin:0;padding-left:18px;display:grid;gap:6px;font-size:13px}.wwhytext b{color:var(--strong)}.wwhytext .elic{vertical-align:-2px}
.wwhy{display:grid;grid-template-columns:minmax(140px,1.2fr) 2fr 44px;gap:8px;align-items:center;font-size:13px;padding:3px 0}
.wwhy i{display:block;height:8px;border-radius:4px;background:var(--blue)}
.wwhy b{text-align:right;color:var(--strong);font-weight:600}
.wofficial{margin-top:10px;width:100%;justify-content:center}
.wheelgrid{display:grid;grid-template-columns:minmax(300px,520px) 1fr;gap:20px;align-items:start}
.wheelbox{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px}
.wheelsvg{width:100%;height:auto;display:block}
.wheelsvg path{cursor:help;transition:fill-opacity .15s}
.wheelsvg path:hover{fill-opacity:1;stroke-width:2.5}
.wlegend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--muted);padding:6px 4px 2px}
.wlegend span{display:inline-flex;align-items:center;gap:6px}
.wlegend i{display:inline-block;width:12px;height:12px;border-radius:2px}
.wpts{margin-left:auto;padding-bottom:5px;font-size:14px}.wpts b{font-size:20px;color:var(--gold)}
.wheelinfo{display:grid;gap:14px;min-width:0}
.wdoms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.wdom{background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--dc);border-radius:8px;padding:8px 10px}
.wdh{display:flex;justify-content:space-between;font-size:13px}.wdh b{color:var(--dc)}.wdh span{color:var(--muted)}
.wrev{display:flex;gap:8px;align-items:flex-start;margin-top:6px}
.wrev .ic{width:32px;height:32px}.wrev.off{opacity:.55}
.wrev b{color:var(--strong)}
.wstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.wstats div{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px 10px;display:flex;flex-direction:column}
.wstats span{font-size:12px;color:var(--muted)}.wstats b{font-size:17px;color:var(--strong);font-variant-numeric:tabular-nums}
.wlist{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px 12px}
.wlist .lbl{margin-top:0}
.wli{display:flex;gap:10px;align-items:flex-start;padding:5px 0;border-top:1px solid var(--line)}
.wli:first-of-type{border-top:0}
.wli .ic{width:32px;height:32px}.wli b{color:var(--strong)}
.weff{display:flex !important;align-items:center;gap:4px;flex-wrap:wrap}
@media (max-width:900px){
  .wheelgrid{grid-template-columns:1fr}
  .wstats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tabsrow{justify-content:flex-start}
  .setgrid,.atk{grid-template-columns:1fr}
  .wearcol{width:100%;max-width:360px}
  .invrow{grid-template-columns:36px 1fr auto}
  .invrow .imbs{grid-column:1/-1}
}
@media (max-width:900px){
  .layout{grid-template-columns:1fr}
  aside.sider{position:static;height:auto}
  aside.tools{position:static;height:auto;order:1;flex-direction:row;flex-wrap:wrap;border-left:0;border-top:1px solid #000;padding:10px 16px}
  .content{order:2}
  .tools-h{width:100%;border-bottom:0;padding:0}
  .toolbtn{flex:1 1 140px}
  .toolbtn small{display:none}
  header.bar h2{text-align:left;font-size:20px}
  main{padding:16px}
  .foot{padding:16px}
}

.rhead{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:14px 16px}
.rhead h2{margin:0 0 4px;font-size:18px;color:var(--strong)}
.rtags{display:flex;flex-wrap:wrap;gap:8px}
.rtag{display:flex;flex-direction:column;gap:2px;background:var(--surface2);border-radius:6px;padding:6px 10px;font-size:12.5px}
.rtag .sub{font-size:11px}
.rcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:14px;margin-top:14px}
.rcard.wide{grid-column:1/-1}
.rsp2{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px}
@media (max-width:860px){.rsp2{grid-template-columns:1fr}}
.rtag>span:last-child{display:block}
.rtodo .ic{display:inline-block}
.rcard{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:14px 16px;min-width:0}
.rch{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.rch b{font-size:15px;color:var(--strong)}
.rch .link{margin-left:auto}
.rnum{width:22px;height:22px;border-radius:50%;background:var(--blue,#1677ff);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:600}
.rgrid2{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start}
.rtp{transform:scale(.92);transform-origin:top left}
.rkpi{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
.rkpi div{flex:1 1 100px;background:var(--surface2);border-radius:6px;padding:8px 10px}
.rkpi span{display:block;font-size:11.5px;color:var(--muted)}
.rkpi b{font-size:20px;color:var(--good)}
.rbrk{margin-top:6px}
.rtodo,.rwhy{margin:10px 0 0;padding-left:18px;font-size:12.5px;line-height:1.55}
.rtodo .ic{width:20px;height:20px;vertical-align:middle}
.rwheel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.rwc canvas,.rwc svg{width:100%;height:auto;display:block}
.rdoms{display:grid;gap:6px}
.rdom{display:flex;gap:8px;align-items:center;border-left:3px solid var(--dc);background:var(--surface2);border-radius:4px;padding:5px 8px}
.rdom.off{opacity:.45}
.rdom b{display:block;font-size:13px;color:var(--strong)}.rdom .sub{font-size:11.5px}
.rdom .ic{width:28px;height:28px}
.raugs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.raug{display:inline-flex;align-items:center;gap:5px;background:var(--surface2);border-radius:4px;padding:3px 7px;font-size:12px}
.raug .ic{width:20px;height:20px}
.rhot{display:grid;gap:6px}
.rhk{display:grid;grid-template-columns:34px 32px minmax(0,1fr) auto;gap:10px;align-items:center;background:var(--surface2);border-left:3px solid var(--c);border-radius:6px;padding:7px 10px}
.rkey{font-weight:700;color:var(--c)}
.rhk b{display:block;color:var(--strong);font-size:14px}.rhk .sub{display:block;font-size:11.5px}
.rhk .rnote{color:#8fb8ff}
.rhk em{font-style:normal;font-weight:600;color:var(--strong)}
.rseqs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
.rseq{display:flex;flex-direction:column;align-items:center;border-bottom:3px solid var(--c);background:var(--surface2);border-radius:4px;padding:3px 3px 1px;min-width:34px}
.rseq .ic{width:26px;height:26px}.rseq small{font-size:10px;color:var(--muted)}
.rseq.idle{justify-content:center;color:var(--muted);border-bottom-color:transparent}
@media (max-width:720px){.rcards{grid-template-columns:1fr}.rgrid2,.rwheel{grid-template-columns:1fr}}

.rstyles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 8px}
@media (max-width:720px){.rstyles{grid-template-columns:1fr}}
.rstyle{background:var(--surface2);border:1px solid var(--line);border-radius:6px;padding:8px 10px;font-size:12px}
.rstyle.cur{border-color:var(--blue-h)}
.rstyle.rec:not(.cur){border-color:#49aa19}
.rsh{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:6px}.rsh b{color:var(--strong);font-size:13px}
.rbar{display:grid;grid-template-columns:48px 1fr 36px;gap:6px;align-items:center;margin:3px 0}
.rbar span{color:var(--muted)}.rbar i{display:block;height:6px;border-radius:3px}.rbar b{text-align:right}
.rstyle ul{margin:6px 0;padding-left:16px;line-height:1.45;color:var(--text)}
.rstyle .btn{width:100%;margin-top:4px;height:28px;font-size:12px}
.rperks{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.rperks li{display:flex;gap:10px;background:var(--surface2);border-radius:6px;padding:7px 10px;font-size:12.5px;line-height:1.5}
.rperks .ic{width:30px;height:30px;flex:none}
.rperks b{color:var(--strong)}.rperks span:not(.sub){display:block}

.rstw{overflow-x:auto}
.rstab th,.rstab td{padding:6px 10px;font-size:12.5px;vertical-align:top}
.rstab tbody th{color:var(--muted);font-weight:400;white-space:nowrap;text-align:left}
.rstab .cur{background:#111a2c}
.rstab thead th .tag{margin-left:6px}
.rstab .btn{height:26px;font-size:12px}

.saved{margin-top:12px}
.savrow{display:flex;gap:6px}.savrow input{flex:1;min-width:0;height:32px}
.savrow .btn{height:32px;white-space:nowrap}
.savlist{display:grid;gap:4px}
.savitem{display:flex;align-items:center;gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:2px 4px 2px 2px}
.savitem.on{border-color:var(--blue-h)}
.savload{flex:1;display:flex;align-items:center;gap:6px;background:none;border:0;color:var(--text);cursor:pointer;text-align:left;padding:4px 6px;min-width:0}
.savload .ic{width:24px;height:24px;flex:none}
.savload b{display:block;font-size:13px;color:var(--strong);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.savload .sub{font-size:11px}
.savload:hover b{color:var(--blue-h)}

.altlist{display:grid;gap:8px;margin-bottom:6px}
.altc{background:var(--surface2);border:1px solid var(--line);border-radius:6px;padding:10px 12px;font-size:12.5px;line-height:1.5}
.altc.best{border-color:#49aa19}
.alth{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px}
.alth .ic{width:28px;height:28px}.alth>b{font-size:14px;color:var(--strong)}
.altn{margin-left:auto;display:flex;gap:14px;flex-wrap:wrap;color:var(--muted)}.altn b{color:var(--strong)}
.altb{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
@media (max-width:860px){.altb{grid-template-columns:1fr}}
.altb ul{margin:2px 0 0;padding-left:18px}
.altl{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.altvs{margin-top:8px;padding-top:6px;border-top:1px solid var(--line)}
.altc .pos{color:#49aa19}.altc .neg{color:#dc4446}
.rsrc{margin-top:14px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px 14px;font-size:12.5px;line-height:1.55}.rsrc summary{cursor:pointer;color:var(--strong)}.rsrc ul{margin:8px 0 0;padding-left:18px}

.saved,.savlist,.savrow{width:100%;max-width:100%;box-sizing:border-box}
.savitem{min-width:0;overflow:hidden;box-sizing:border-box;width:100%}
.savload{min-width:0;overflow:hidden;padding:3px 4px;gap:4px}
.savload>span{min-width:0;overflow:hidden}
.savload .ic{width:20px;height:20px}
.savload b{font-size:12.5px}
.savitem .rm{flex:none;width:22px;height:22px;min-width:22px;padding:0;display:grid;place-items:center;background:#e9e9e9;color:#000;border:0;border-radius:4px;font-size:15px;font-weight:700;line-height:1;cursor:pointer;margin-right:2px}
.savitem .rm:hover{background:#fff;color:#000}
.savrow input{min-width:0}

.savtxt{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.savtxt b{font-size:12px;margin-bottom:1px}
.savmon{font-size:11px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.savload:hover .savmon{color:var(--blue-h)}
.savload{align-items:flex-start}
.savload .ic{margin-top:2px}

.storybox{margin-top:12px;display:grid;gap:8px}
.storysum{background:var(--surface2);border-radius:6px;padding:8px 10px;font-size:13px}
.story{border-left:3px solid var(--c,#555);background:var(--surface2);border-radius:4px;padding:6px 10px;font-size:12.5px;line-height:1.55}
.story ul{margin:2px 0 0;padding-left:18px}
.storyh{font-weight:600;color:var(--strong)}
.s-hit{--c:#dc4446}.s-low{--c:#faad14}.s-save{--c:#49aa19}.s-all{--c:#1677ff}
.imblim{font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:6px;margin-top:2px}.imblim select{height:24px;font-size:11.5px;padding:0 4px}
.pk-head{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;justify-content:space-between}
.pk-ctl{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.pk-ctl label{display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--muted)}
.pk-ctl select{min-width:200px}
.pk-weapon{display:flex;gap:10px;align-items:center;margin:4px 0 10px}.pk-weapon b{font-size:16px}
.pk-tree{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(126px,1fr);gap:10px;overflow-x:auto;padding:4px 2px 10px}
.pk-col{display:flex;flex-direction:column;gap:8px;position:relative}
.pk-col.locked .pk-tile{opacity:.5}
.pk-lv{font-size:12px;color:var(--muted);text-align:center;line-height:1.3}.pk-lv b{display:block;color:var(--text);font-size:13px}
.pk-tile{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;background:var(--surface2);border:1px solid var(--border);border-radius:8px;padding:10px 8px;font-size:12px;line-height:1.35;position:relative}
.pk-tile.on{border:2px solid #d4a017;background:color-mix(in srgb,#d4a017 12%,var(--surface2))}
.pk-tile .pk-txt{color:var(--text)}
.pk-tile .pk-d{font-size:11px;color:var(--muted)}.pk-tile .pk-d .up{color:var(--good)}.pk-tile .pk-d .dn{color:#e5534b}
.pk-tile .pk-badge{position:absolute;top:-9px;left:50%;transform:translateX(-50%);background:#d4a017;color:#1a1300;font-size:10px;font-weight:700;border-radius:9px;padding:1px 8px;white-space:nowrap}
.pk-ic{position:relative;width:40px;height:40px;border-radius:6px;background:#1b1b1b;border:2px solid #4a4a4a;display:flex;align-items:center;justify-content:center;flex:none}
.pk-tile.on .pk-ic{border-color:#d4a017;box-shadow:0 0 6px #d4a01788}
.pk-ic .pk-spr{width:32px;height:32px;background-repeat:no-repeat;image-rendering:pixelated}
.pk-ic img{width:32px;height:32px;image-rendering:pixelated}
.pk-ic .pk-sm{position:absolute;top:-4px;right:-4px;width:16px;height:16px;background-repeat:no-repeat;image-rendering:pixelated}
.pk-ic .pk-fb{font-size:10px;color:#ddd;font-weight:700}
.pk-path{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}.pk-path .pk-ic{width:34px;height:34px}.pk-path .pk-ic .pk-spr,.pk-path .pk-ic img{transform:scale(.85)}
.pk-path i{color:var(--muted);font-style:normal}
.pk-steps{margin:6px 0 0;padding-left:20px;line-height:1.6}.pk-steps li{margin-bottom:4px}
.pk-kpi{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0}.pk-kpi>div{background:var(--surface2);border-radius:8px;padding:8px 12px;min-width:150px}.pk-kpi span{display:block;font-size:11.5px;color:var(--muted)}.pk-kpi b{font-size:15px}
.pk-exp{font-size:12px;border-collapse:collapse;margin-top:6px}.pk-exp td,.pk-exp th{padding:3px 10px;border-bottom:1px solid var(--border);text-align:right}.pk-exp th:first-child,.pk-exp td:first-child{text-align:left}
.profline{margin-top:4px;font-size:11.5px;line-height:1.5}.pperk{display:inline-block;background:var(--surface2);border-radius:4px;padding:1px 6px;margin:2px 3px 0 0;color:var(--text)}.pperk.pick{border:1px solid #3c89e8}.pperk b{color:var(--muted);font-weight:400}

.seo{max-width:980px;margin:8px auto 0;padding:22px 24px 8px;color:var(--muted);font-size:14px;line-height:1.65;border-top:1px solid var(--line)}
.seo h1{font-size:20px;color:var(--strong);margin:0 0 10px}
.seo h2{font-size:15px;color:var(--strong);margin:18px 0 8px}
.seo p{margin:0 0 10px}
.seo details{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px 12px;margin-bottom:6px}
.seo summary{cursor:pointer;color:var(--text);font-weight:600}
.seo details p{margin:8px 0 2px}
.seo-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin:6px 0 14px}
.seo-links a{color:var(--blue-h);text-decoration:none}
.seo-links a:hover{text-decoration:underline}
.seo-bc{font-size:12.5px;margin-bottom:8px}.seo-bc a{color:var(--blue-h);text-decoration:none}
.seo-tab{width:100%;min-width:0!important;border-collapse:collapse;font-size:13px;margin:6px 0 12px}
.seo-tab th,.seo-tab td{border-bottom:1px solid var(--line);padding:6px 8px;text-align:left;vertical-align:top;color:var(--text)}
.seo-tab th{color:var(--muted);font-weight:600;font-size:12px}
.seo-tab a{color:var(--blue-h);text-decoration:none}
.seo-ul{margin:0 0 10px;padding-left:20px}.seo-ul li{margin-bottom:4px}
