:root {
    --bg: #0b0c11;
    --bg2: #101219;
    --panel: #151821;
    --panel2: #1b1f2a;
    --line: #2b3040;
    --text: #d8d5ca;
    --dim: #8c91a0;
    --gold: #f0b232;
    --gold-hi: #ffd461;
    --link: #62b6ff;
    --green: #1eff00;
    --red: #ff6060;
    --radius: 6px;
    --serif: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
    --sans: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
    margin: 0; color: var(--text); font: 15px/1.55 var(--sans);
    background: radial-gradient(1200px 500px at 50% -120px, #1d2233 0%, rgba(11, 12, 17, 0) 70%) no-repeat, var(--bg);
    min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: #9bd1ff; text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--gold-hi); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2rem; } h2 { font-size: 1.4rem; margin-top: 1.6em; } h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: 1280px; }
main { flex: 1; padding-top: 28px; padding-bottom: 60px; }
.dim { color: var(--dim); }
.lead { font-size: 1.1rem; color: var(--dim); }
.center { text-align: center; }
.inline { display: inline; margin: 0; }

/* header */
.site-header { background: rgba(9, 10, 14, .92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(6px); }
.header-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 22px; padding-top: 10px; }
.header-right { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold-hi); font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.brand:hover { text-decoration: none; color: #fff; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--gold); border-radius: 50%; font-size: .8rem; color: var(--gold); }
.main-nav { grid-column: 1 / -1; display: flex; gap: 4px; overflow-x: auto; }
.main-nav a { padding: 10px 14px; white-space: nowrap; color: var(--text); font-weight: 500; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .03); }
.main-nav a.active { color: var(--gold-hi); border-bottom-color: var(--gold); }
.search input { background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 7px 12px; border-radius: 20px; width: 240px; font: inherit; font-size: .9rem; }
.search input:focus { outline: none; border-color: var(--gold); }
.account-nav { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.nav-account { color: var(--gold-hi); font-weight: 600; }
.linklike { background: none; border: 0; padding: 0; color: var(--dim); cursor: pointer; font: inherit; }
.linklike:hover { color: #fff; text-decoration: underline; }

/* buttons */
.btn { display: inline-block; padding: 10px 22px; border-radius: var(--radius); border: 1px solid #b57d12; color: #1a1204; font-weight: 700; font-family: var(--sans); cursor: pointer;
    background: linear-gradient(#ffd461, #e0991a); text-align: center; }
.btn:hover { text-decoration: none; color: #000; filter: brightness(1.1); }
.btn-small { padding: 5px 14px; font-size: .88rem; }
.btn-ghost { background: transparent; color: var(--gold-hi); border-color: var(--gold); }
.btn-ghost:hover { background: rgba(240, 178, 50, .12); color: #fff; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; filter: grayscale(.5); }

/* panels */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.panel + .panel { margin-top: 18px; }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.page-head { margin-bottom: 22px; }
.page-head h1 { margin-bottom: .2em; }
.crumbs { color: var(--dim); font-size: .88rem; margin-bottom: 8px; }

/* forms */
label { display: block; font-weight: 600; margin: 14px 0 5px; }
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], select, textarea {
    width: 100%; background: var(--bg2); border: 1px solid var(--line); color: var(--text); padding: 9px 12px; border-radius: var(--radius); font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(240, 178, 50, .18); }
.hint { color: var(--dim); font-size: .85rem; margin-top: 4px; }
.form-narrow { max-width: 440px; }
.notice { padding: 11px 16px; border-radius: var(--radius); margin-bottom: 18px; border: 1px solid; }
.notice.error { background: rgba(255, 96, 96, .1); border-color: #7b2f2f; color: #ffb3b3; }
.notice.ok { background: rgba(30, 255, 0, .07); border-color: #25661c; color: #b6ffa8; }
.notice.info { background: rgba(98, 182, 255, .08); border-color: #28507a; color: #b9dcff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* tables */
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-weight: 600; color: var(--dim); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.list td { padding: 7px 10px; border-bottom: 1px solid rgba(43, 48, 64, .6); vertical-align: middle; }
table.list tr:hover td { background: rgba(255, 255, 255, .025); }
table.list td.num, table.list th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; align-items: center; }
.pager a, .pager span { padding: 5px 11px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--text); font-size: .9rem; }
.pager span.cur { border-color: var(--gold); color: var(--gold-hi); }
.pager a:hover { text-decoration: none; border-color: var(--gold); }

/* icons and item names */
.icon { display: inline-block; width: 36px; height: 36px; border-radius: 4px; border: 1px solid #000; box-shadow: 0 0 0 1px #4a4f60; background: #000 center/cover no-repeat; vertical-align: middle; flex: none; }
.icon.s18 { width: 18px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px #4a4f60; }
.icon.s24 { width: 24px; height: 24px; }
.icon.s56 { width: 56px; height: 56px; border-radius: 6px; }
.icon.q0 { box-shadow: 0 0 0 1px #9d9d9d; } .icon.q1 { box-shadow: 0 0 0 1px #cfcfcf; } .icon.q2 { box-shadow: 0 0 0 1px #1eff00; }
.icon.q3 { box-shadow: 0 0 0 1px #0070dd; } .icon.q4 { box-shadow: 0 0 0 1px #a335ee; } .icon.q5 { box-shadow: 0 0 0 1px #ff8000; }
.with-icon { display: inline-flex; align-items: center; gap: 9px; }
.q0 { color: #9d9d9d; } .q1 { color: #fff; } .q2 { color: #1eff00; } .q3 { color: #4a9bff; } .q4 { color: #c36bff; } .q5 { color: #ff8000; } .q6 { color: #e6cc80; }
a.q0:hover, a.q1:hover, a.q2:hover, a.q3:hover, a.q4:hover, a.q5:hover { filter: brightness(1.25); }

/* money */
.money { display: inline-flex; align-items: center; gap: 3px; }
.money::after { content: ''; width: 11px; height: 11px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0, 0, 0, .6); }
.money.gold::after { background: radial-gradient(circle at 35% 30%, #fff2a8, #e9b100 60%, #a67a00); }
.money.silver::after { background: radial-gradient(circle at 35% 30%, #fff, #c7ccd6 60%, #7e8594); }
.money.copper::after { background: radial-gradient(circle at 35% 30%, #ffd0a0, #c8743a 60%, #7d3f17); }

/* game tooltip */
.tt { background: rgba(10, 10, 20, .97); border: 1px solid #5b5b6e; border-radius: 5px; padding: 9px 12px; color: #fff; font-size: 13.5px; line-height: 1.4; max-width: 380px; min-width: 200px; box-shadow: 0 6px 22px rgba(0, 0, 0, .6); text-align: left; font-family: var(--sans); font-weight: 400; }
.tt-name { font-weight: 700; font-size: 15px; }
.tt-row { display: flex; justify-content: space-between; gap: 22px; }
.tt-green { color: #1eff00; } .tt-yellow { color: #ffd100; } .tt-dim { color: #9a9aac; } .tt-red { color: #ff4040; }
.tt-sell { margin-top: 4px; }
.tt-set { margin-top: 8px; }
.tt-set-name { color: #ffd100; }
.tt-set-have { color: #ffff9a; padding-left: 8px; } .tt-set-miss { color: #8b8b95; padding-left: 8px; }
.tt-set > .tt-green, .tt-set > .tt-set-miss:not([class*='have']) { padding-left: 0; }
#tooltip { position: fixed; z-index: 1000; pointer-events: none; display: none; }
.tt-static { display: inline-block; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 22px 0; color: var(--dim); font-size: .82rem; background: rgba(0, 0, 0, .25); }

@media (max-width: 860px) {
    .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
    .header-inner { grid-template-columns: 1fr; row-gap: 6px; }
    .header-right { justify-content: space-between; flex-wrap: wrap; }
    .search { flex: 1; min-width: 160px; } .search input { width: 100%; }
}

/* home */
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center; padding: 34px 0 40px; }
.hero h1 { font-size: 3.4rem; letter-spacing: .01em; margin-bottom: .15em; text-shadow: 0 2px 24px rgba(240, 178, 50, .25); }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; margin-bottom: 6px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.status-card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.status-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.status-head .dim { margin-left: auto; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #666; box-shadow: 0 0 0 3px rgba(255, 255, 255, .05); }
.dot.up { background: #3ddc4a; box-shadow: 0 0 10px #3ddc4a; } .dot.down { background: #e24a4a; }
.status-list { margin: 0; } .status-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-bottom: 1px dashed rgba(43, 48, 64, .7); }
.status-list dt { color: var(--dim); } .status-list dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
code { background: #0a0b10; border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; font-size: .88em; color: var(--gold-hi); }
.features { margin-bottom: 26px; }
.feature { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--text); transition: border-color .15s, transform .15s; }
.feature:hover { border-color: var(--gold); text-decoration: none; transform: translateY(-2px); }
.feature h3 { margin-bottom: 6px; } .feature p { color: var(--dim); margin: 0; font-size: .92rem; }
.news { padding: 10px 0 12px; border-bottom: 1px solid var(--line); } .news:last-of-type { border-bottom: 0; }
.news h3 { margin: 2px 0 4px; } .news p { margin: 0; color: var(--dim); font-size: .93rem; }
.news-date { color: var(--gold); font-size: .8rem; letter-spacing: .06em; font-weight: 600; }
.tools { list-style: none; margin: 0; padding: 0; } .tools li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tools li:last-child { border-bottom: 0; } .tools span { color: var(--dim); font-size: .88rem; text-align: right; }

/* changes */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 22px; flex-wrap: wrap; }
.tabs a { padding: 10px 18px; color: var(--text); border: 1px solid transparent; border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.tabs a:hover { text-decoration: none; background: rgba(255, 255, 255, .03); } .tabs a.active { background: var(--panel); border-color: var(--line); color: var(--gold-hi); margin-bottom: -1px; }
.bullets { margin: 0; padding-left: 20px; } .bullets li { margin: 5px 0; }
.release h2 { margin-top: .1em; } .release .lead { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 13px 4px 8px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--text); font-size: .9rem; }
.chip:hover { text-decoration: none; background: var(--panel2); }
.class-icon { display: inline-block; vertical-align: middle; border-radius: 4px; flex: none; }
.specs { margin: 0 0 12px; } .specs dt { font-weight: 700; color: var(--gold-hi); margin-top: 12px; } .specs dd { margin: 2px 0 0; }

/* account + downloads */
.steps { padding-left: 20px; margin: 0 0 14px; } .steps li { margin: 8px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; } .kv dt { color: var(--dim); } .kv dd { margin: 0; }
.tag { display: inline-block; font-size: .72rem; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; }
.tag.up { color: #7dff72; border-color: #25661c; } .tag.req { color: var(--gold-hi); border-color: #7a5a14; }
.dl-list { display: grid; gap: 10px; } .dl-group { margin: 20px 0 8px; color: var(--dim); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--sans); }
.dl { display: flex; align-items: center; gap: 20px; justify-content: space-between; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.dl h3 { margin: 0 0 2px; font-size: 1.05rem; } .dl p { margin: 4px 0 0; color: var(--dim); font-size: .92rem; } .dl-action { flex: none; }
.btn-size { font-weight: 500; opacity: .75; margin-left: 6px; font-size: .85em; }

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; } .hero h1 { font-size: 2.6rem; }
    .dl { flex-direction: column; align-items: stretch; } .dl-action { text-align: center; }
}

/* talents */
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.class-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--c); }
.class-card:hover { text-decoration: none; border-color: var(--c); background: var(--panel2); }
.class-picker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.class-picker a { padding: 4px; border: 2px solid var(--line); border-radius: 8px; opacity: .6; } .class-picker a:hover { opacity: 1; border-color: var(--c); }
.class-picker a.on { opacity: 1; border-color: var(--c); box-shadow: 0 0 12px -2px var(--c); }
.calc-bar { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 16px; }
.calc-stats { display: flex; gap: 30px; flex-wrap: wrap; } .calc-stats div { display: flex; flex-direction: column; } .calc-stats strong { font-size: 1.25rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.calc-actions { display: flex; gap: 16px; align-items: center; } .check { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; color: var(--dim); cursor: pointer; } .check input { width: auto; }
.trees { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.tree { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 14px; }
.tree-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .tree-head strong { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-hi); }
.tree-count { background: #000; border: 1px solid var(--line); border-radius: 10px; padding: 0 9px; font-size: .85rem; font-variant-numeric: tabular-nums; } .tree-head .linklike { margin-left: auto; font-size: .85rem; }
.tgrid { position: relative; background: #07080c center top / auto no-repeat; border-radius: 4px; box-shadow: inset 0 0 0 1px #000, inset 0 0 40px rgba(0, 0, 0, .65); }
.talent { position: absolute; padding: 0; border: 2px solid #4a4f60; border-radius: 6px; background: #000 center/cover no-repeat; cursor: pointer; filter: grayscale(1) brightness(.55); transition: filter .12s, border-color .12s; }
.talent:hover { filter: none; }
.talent.available { filter: none; border-color: #3ddc4a; } .talent.partial { filter: none; border-color: #3ddc4a; } .talent.maxed { filter: none; border-color: var(--gold); }
.talent.locked { cursor: default; }
.talent.modified::after { content: ''; position: absolute; right: -2px; top: -2px; width: 0; height: 0; border-top: 13px solid var(--gold); border-left: 13px solid transparent; border-top-right-radius: 4px; }
.rank { position: absolute; right: -7px; bottom: -8px; min-width: 18px; padding: 0 4px; background: #000; border: 1px solid #555; border-radius: 9px; font-size: 11px; line-height: 16px; color: #3ddc4a; font-weight: 700; text-align: center; }
.talent.maxed .rank { color: var(--gold-hi); }
.arrow { position: absolute; background: #5a5f70; opacity: .85; } .arrow.active { background: #3ddc4a; }
.arrow.v { width: 8px; } .arrow.h { height: 8px; }
.passives { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; max-width: 264px; }
.passives-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: 6px; }
.passive { display: flex; gap: 9px; padding: 5px 0; opacity: .45; font-size: .84rem; } .passive.on { opacity: 1; } .passive-name { font-weight: 600; } .passive-desc { color: var(--dim); }
.passive.on .passive-name { color: var(--green); }
.tt-next { margin-top: 8px; color: #fff; }
.share { margin-top: 18px; } .share-row { display: flex; gap: 8px; } .share-row input { flex: 1; }

/* armory etc. are added below */

/* database */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; padding: 12px 14px; }
.filters input, .filters select { width: auto; min-width: 120px; flex: 1 1 140px; max-width: 220px; }
.filters input[type=number] { max-width: 120px; min-width: 100px; flex: 0 1 110px; } .filters input[type=checkbox] { min-width: 0; flex: none; width: auto; }
.filters .check { margin: 0; }
.search-big { display: flex; gap: 10px; margin-bottom: 20px; } .search-big input { flex: 1; font-size: 1.05rem; padding: 12px 16px; }
.db-cards .feature span { display: block; margin-top: 10px; font-size: .82rem; }
.detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; } .detail-head h1 { margin: 0; }
.detail-grid { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 20px; align-items: start; } .detail-grid.wide-left { grid-template-columns: 1fr minmax(280px, 360px); }
.mt { margin-top: 14px; } .nowrap { white-space: nowrap; } td.desc { color: var(--dim); font-size: .9rem; }
.tag.mod { color: var(--gold-hi); border-color: #7a5a14; }
.plain { list-style: none; margin: 0; padding: 0; } .plain li { padding: 4px 0; }
.quest-text h3 { font-size: 1rem; margin-top: 1em; } .quest-text h3:first-child { margin-top: 0; }
.tt-yellow-text { color: #ffd100; }
@media (max-width: 860px) { .detail-grid, .detail-grid.wide-left { grid-template-columns: 1fr; } }

/* armory */
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 20px; }
.char-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.char-card:hover { text-decoration: none; border-color: var(--gold); background: var(--panel2); }
.portrait { border-radius: 8px; border: 2px solid #4a4f60; background: #000; object-fit: cover; flex: none; }
.portrait.big { border-radius: 10px; border-width: 3px; }
.char-name { font-weight: 700; font-size: 1.1rem; font-family: var(--serif); } .char-sub { font-weight: 500; }
.up { color: #5dff55; }
.char-head { display: flex; align-items: center; gap: 22px; padding: 18px 22px; background: linear-gradient(90deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }
.char-head h1 { margin: 0 0 2px; font-size: 2.2rem; } .char-head .lead { margin: 0 0 2px; color: var(--text); }
.char-head-text { flex: 1; }
.ilvl-badge { text-align: center; padding: 8px 20px; border: 1px solid #7a5a14; border-radius: var(--radius); background: rgba(240, 178, 50, .07); }
.ilvl-num { display: block; font-size: 2rem; font-weight: 700; color: var(--gold-hi); line-height: 1.1; font-family: var(--serif); }
.paperdoll { display: grid; grid-template-columns: 1fr 230px 1fr; gap: 16px; padding: 20px; background: radial-gradient(500px 360px at 50% 40%, rgba(255, 255, 255, .06), rgba(0, 0, 0, 0) 70%), var(--panel); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.doll-col { display: flex; flex-direction: column; gap: 10px; }
.slot { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.slot.right { flex-direction: row-reverse; text-align: right; }
.slot-text { min-width: 0; line-height: 1.3; font-size: .92rem; } .slot-text > a { font-weight: 600; word-break: break-word; }
.slot-ench { color: #1eff00; font-size: .82rem; }
.slot-icon { display: inline-block; } .slot-empty { opacity: .55; filter: grayscale(.6); box-shadow: 0 0 0 1px #333; }
.doll-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.doll-portrait { border-radius: 50%; border: 3px solid var(--c); box-shadow: 0 0 40px -6px var(--c); width: 160px; height: 160px; object-fit: cover; background: #000; margin-bottom: 10px; }
.doll-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.weapons { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 14px 20px 18px; background: var(--panel); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); margin-bottom: 18px; }
.armory-cols { margin-bottom: 18px; } .armory-cols .panel + .panel { margin-top: 0; }
.stat-list dd { text-align: right; font-variant-numeric: tabular-nums; } .stat-list { grid-template-columns: 1fr max-content; }
.spec-main { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1.05rem; }
.spec-list { list-style: none; margin: 0 0 12px; padding: 0; } .spec-list li { display: grid; grid-template-columns: auto 1fr 90px 34px; gap: 10px; align-items: center; padding: 4px 0; } .spec-list li > strong { text-align: right; }
.spec-list li:not(:has(.icon)) { grid-template-columns: 1fr 90px 34px; }
.spec-bar { height: 8px; background: #0a0b10; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; display: block; } .spec-bar span { display: block; height: 100%; background: var(--gold); }
.pvp { display: flex; gap: 40px; flex-wrap: wrap; } .pvp-stat { display: flex; flex-direction: column; } .pvp-stat strong { font-size: 1.3rem; color: var(--gold-hi); font-family: var(--serif); }
@media (max-width: 900px) {
    .paperdoll { grid-template-columns: 1fr; } .doll-center { order: -1; } .slot.right { flex-direction: row; text-align: left; }
    .char-head { flex-wrap: wrap; }
}
.table-wrap { overflow-x: auto; max-width: 100%; }
.side.alliance { color: #6db3ff; } .side.horde { color: #ff7b6b; }
