:root {
  color-scheme: dark;
  --bg: #08080a;
  --nav: #0c0c0e;
  --panel: #111113;
  --panel-2: #161619;
  --panel-3: #1d1d21;
  --line: #1f1f23;
  --ink: #e6e6e8;
  --ink-dim: #96979d;
  --ink-faint: #5d5e65;
  --accent: #c29124;
  --accent-2: #d9a83a;
  --gold: #c29124;
  --win: #3aa76d;
  --loss: #c94a44;
  --knights: #4271c9;
  --vikings: #b8433b;
  --samurai: #2e9572;
  --wu-lin: #bf9230;
  --outlanders: #8459b5;
  --radius: 6px;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 15px/1.45 Rubik, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
main { flex: 1; width: min(1400px, 100%); margin: 0 auto; padding: 24px 16px 64px; }
main:focus-visible { outline: none; }
h1, h2, h3, p { margin: 0; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.crest { width: 22px; height: 22px; object-fit: contain; flex: none; }
.crest-fallback { fill: none; stroke: currentColor; stroke-width: 1.8; }
.crest[src*="wu-lin"] { transform: scale(1.5); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.masthead { position: sticky; top: 0; z-index: 20; }
.subnav { display: flex; align-items: center; gap: 22px; height: 56px; padding: 0 16px; background: var(--nav); border-bottom: 1px solid #000; }
.nav-search { display: flex; align-items: center; gap: 8px; background: var(--panel-3); border-radius: 8px; padding: 0 12px; height: 38px; width: 240px; color: var(--ink-faint); }
.nav-search input { background: none; border: 0; outline: 0; width: 100%; min-width: 0; color: var(--ink); }
.nav-search input::placeholder { color: var(--ink-faint); }
.nav-links { display: flex; gap: 4px; align-self: stretch; }
.nav-links a { display: flex; align-items: center; font-weight: 600; padding: 0 14px; color: var(--ink-dim); border-bottom: 3px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--accent); }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 30px 0 12px; }
.section-head h2 { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.section-head .meta { color: var(--ink-dim); font-size: 14px; }
.section-head .link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.section-head .link .icon { width: 16px; height: 16px; }
.section-head .link:hover { color: var(--accent-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 20px 14px; padding: 22px 24px; }
.stats-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat dt { color: var(--ink-dim); font-size: 13px; font-weight: 500; white-space: nowrap; }
.stat dd { margin: 3px 0 0; font-size: 21px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: 13px; font-weight: 500; color: var(--ink-faint); margin-left: 4px; }
.note { font-size: 13px; color: var(--ink-faint); margin: 8px 2px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; cursor: pointer; background: var(--panel-2); }
.btn-accent { border-color: transparent; }
.btn:hover { background: var(--panel-3); }
.btn-accent { background: var(--accent); color: #15120a; }
.btn-accent:hover { background: var(--accent-2); }
.btn:disabled { opacity: .6; cursor: default; }
.muted { color: var(--ink-faint); }
.up { color: var(--win); }
.down { color: var(--loss); }
.plat { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; color: var(--ink-dim); }
.plat svg { width: 100%; height: 100%; fill: currentColor; }

.rep-emblem { width: 24px; height: 24px; fill: #ece6d6; color: #ece6d6; flex: none; overflow: visible; }
.rep { justify-self: start; display: inline-flex; align-items: center; gap: 5px; color: #ece6d6; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rep.none { opacity: .35; }
.name-rep { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding-left: 16px; border-left: 1px solid #ffffff26; color: #ece6d6; font-size: .72em; font-weight: 600; font-variant-numeric: tabular-nums; }
.name-rep .rep-emblem { width: 1.35em; height: 1.35em; }

.home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-top: 28px; }
.home-title { display: flex; gap: 24px; align-items: center; margin-bottom: 36px; }
.home-title .big-mark { width: 112px; height: 112px; flex: none; fill: currentColor; color: var(--accent); }
.home-title h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.04; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.home-title h1 span { color: var(--accent); }
.home-title p { margin-top: 10px; color: var(--ink-dim); }
.big-search { display: flex; align-items: center; height: 56px; border: 1px solid #2a2a2f; border-radius: var(--radius); background: var(--panel); }
.big-search:focus-within { border-color: var(--accent); }
.big-search .platforms { display: flex; gap: 6px; padding: 0 14px; border-right: 1px solid var(--line); height: 100%; align-items: center; }
.plat-pick { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; border: 1px solid transparent; border-radius: 4px; background: none; color: var(--ink-faint); font-size: 12px; font-weight: 600; cursor: pointer; }
.plat-pick .plat { color: inherit; width: 16px; height: 16px; }
.plat-pick:hover { color: var(--ink); }
.plat-pick[aria-pressed="true"] { color: var(--ink); background: var(--panel-3); border-color: #34343a; }
.big-search input { flex: 1; min-width: 0; height: 100%; padding: 0 16px; background: none; border: 0; outline: 0; font-size: 17px; }
.big-search input::placeholder { color: var(--ink-dim); }
.big-search button { height: 44px; margin-right: 8px; }
.recent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.recent > span { color: var(--ink-faint); }
.recent a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.recent a:hover { color: var(--accent-2); }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; padding: 16px 8px; }
.strip > div { text-align: center; border-left: 1px solid var(--line); }
.strip > div:first-child { border-left: 0; }
.strip small { display: block; color: var(--ink-dim); font-size: 12px; }
.strip b { font-size: 21px; font-variant-numeric: tabular-nums; }
.promo { position: relative; overflow: hidden; min-height: 230px; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.promo h2 { position: relative; font-size: 22px; font-weight: 700; max-width: 320px; }
.promo p { position: relative; margin: 10px 0 20px; max-width: 320px; color: var(--ink-dim); }
.promo .btn { position: relative; }
.promo-art { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; background-size: cover; background-position: center 15%; mask-image: linear-gradient(90deg, transparent, #000 50%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%); opacity: .5; filter: grayscale(.4); }
.top-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 16px; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.top-card { position: relative; display: block; padding: 18px; background: var(--panel); min-height: 160px; }
.top-card:hover { background: var(--panel-2); }
.top-card .rank { position: absolute; top: 14px; right: 16px; color: var(--ink-faint); font-size: 15px; font-weight: 700; }
.top-card .rank small { font-size: 14px; }
.top-card .name { display: block; margin-top: 14px; font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.top-card .label { color: var(--ink-dim); font-size: 13px; margin-top: 6px; }
.top-card .value { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.top-empty { grid-column: 1 / -1; padding: 28px; background: var(--panel); color: var(--ink-dim); }

.avatar { position: relative; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--panel-3); color: var(--ink); font-weight: 700; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar-blank { width: 62%; height: 62%; margin-top: 18%; fill: #3a3a40; }
.avatar.has-img .avatar-blank { display: none; }
.avatar-sm { width: 46px; height: 46px; font-size: 18px; }
.avatar-xs { width: 32px; height: 32px; font-size: 14px; }
.portrait { position: relative; flex: none; width: 46px; height: 46px; border-radius: 4px; overflow: hidden; background: var(--panel-3); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.portrait-sm { width: 36px; height: 36px; border-radius: 8px; border-width: 1px; }

.banner { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.banner-art { position: relative; height: 240px; overflow: hidden; background: #0b0b0d; }
.banner-hero { position: absolute; right: 0; top: 0; bottom: 0; width: 60%; background-size: cover; background-position: center 18%; opacity: .75;
  mask-image: linear-gradient(90deg, transparent 0, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.banner-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #000000c8, transparent 65%); }
.banner-word { position: absolute; left: 34%; bottom: -16px; z-index: 1; font: 800 clamp(56px, 9vw, 130px)/1 Rubik, sans-serif; text-transform: uppercase; color: #ffffff12; white-space: nowrap; letter-spacing: -2px; pointer-events: none; }
.banner-id { position: absolute; left: 24px; bottom: 62px; z-index: 2; display: flex; align-items: flex-end; gap: 20px; }
.banner-id .avatar { width: 108px; height: 108px; font-size: 40px; border: 3px solid #2c2c31; }
.banner-id .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: #e2e2e6; margin-bottom: 4px; }
.banner-id .meta span { display: inline-flex; align-items: center; gap: 6px; }
.banner-id h1 { display: flex; align-items: center; gap: 10px; font-size: clamp(26px, 4vw, 40px); font-weight: 700; text-shadow: 0 2px 12px #000a; overflow-wrap: anywhere; }
.banner-id h1 .plat { width: .8em; height: .8em; color: var(--ink); }
.tabs .share { display: flex; align-items: center; gap: 8px; margin: 9px 0 9px auto; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: none; color: var(--ink-dim); font-weight: 500; cursor: pointer; white-space: nowrap; }
.tabs .share:hover { color: var(--ink); border-color: #333338; }
.tabs .share .icon { width: 16px; height: 16px; }
.tabs { display: flex; gap: 4px; padding: 0 16px 0 148px; background: var(--panel-2); border-top: 1px solid var(--line); min-height: 52px; overflow-x: auto; }
.tabs a { display: flex; align-items: center; padding: 0 16px; font-weight: 600; font-size: 15px; color: var(--ink-dim); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: #fff; }
.tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.live { position: fixed; right: 18px; top: 72px; z-index: 15; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel-2); font-size: 13px; color: var(--ink-dim); }
.live > span { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--win); }
.live button { display: grid; place-items: center; width: 36px; height: 34px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--ink-dim); cursor: pointer; }
.live button:hover { color: var(--ink); background: var(--panel-3); }
.live button:disabled { opacity: .7; }
.live-report { grid-column: 1 / -1; display: grid; place-items: center; height: 32px; padding: 0 12px; border-top: 1px solid var(--line); color: #ff7b72; font-weight: 600; letter-spacing: .3px; }
.live-report:hover { background: var(--panel-3); color: #ff9b94; }
.live button.spinning .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notice { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius); background: var(--panel); border-left: 3px solid var(--accent); color: var(--ink-dim); }
.notice b { color: var(--ink); }

.filterbar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.seg { display: flex; align-items: stretch; height: 40px; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.seg > * { display: flex; align-items: center; gap: 8px; padding: 0 18px; border: 0; background: none; color: var(--ink-dim); font-weight: 500; cursor: pointer; white-space: nowrap; }
.seg > *:hover { color: var(--ink); background: #ffffff08; }
.seg > [aria-pressed="true"] { color: var(--ink); background: var(--panel-3); box-shadow: inset 0 -2px 0 var(--accent); }
.seg .seg-label { cursor: default; color: var(--ink-faint); font-size: 13px; padding-right: 6px; }
.seg .seg-label:hover { background: none; color: var(--ink-faint); }

.layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 24px; }

.rating { padding: 20px 24px; }
.rating-top { display: flex; align-items: center; gap: 14px; }
.rating-value { font-size: 34px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.rating-value small { font-size: 14px; color: var(--ink-faint); font-weight: 500; margin-left: 6px; }
.rating-delta { margin-left: auto; font-weight: 600; font-size: 13px; }
.rating-bar { position: relative; height: 4px; margin: 16px 0 4px; border-radius: 2px; background: #232327; }
.rating-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: #5a5b62; }
.rating-bar span { position: absolute; top: -4px; width: 2px; height: 12px; background: var(--ink); transform: translateX(-50%); }
.rating-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-faint); }
.rating p { margin-top: 10px; font-size: 13px; color: var(--ink-faint); }

.side-card { padding: 16px 20px; }
.war { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.war .crest { width: 60px; height: 60px; }
.war b { display: block; font-size: 18px; }
.war small { color: var(--ink-dim); }
.war-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 16px 20px 18px; }
.kv-list { padding: 8px 20px; }
.kv-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv-list div:last-child { border-bottom: 0; }
.kv-list span { color: var(--ink-dim); }
.kv-list b { font-variant-numeric: tabular-nums; }
.faction-row { display: grid; grid-template-columns: 28px 82px 1fr 52px; gap: 8px; align-items: center; padding: 6px 0; font-size: 14px; }
.faction-row .crest { width: 28px; height: 28px; }
.faction-row .bar { height: 8px; border-radius: 8px; background: var(--panel-2); overflow: hidden; }
.faction-row .bar span { display: block; height: 100%; border-radius: 8px; }
.faction-row .num { text-align: right; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.aliases table { width: 100%; border-collapse: collapse; }
.aliases th { font-size: 12px; font-weight: 600; color: var(--ink-dim); text-align: left; padding-bottom: 6px; }
.aliases th:last-child, .aliases td:last-child { text-align: right; }
.aliases td { padding: 5px 0; font-weight: 600; font-size: 15px; }
.aliases td small { color: var(--ink-faint); font-weight: 400; margin-left: 6px; font-size: 12px; }
.aliases tr.current td:first-child { color: var(--accent-2); }

.rows { padding: 14px; display: grid; gap: 8px; }
.rows { gap: 0; padding: 0; }
.row { position: relative; display: grid; align-items: center; gap: 14px; padding: 10px 18px 10px 20px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--panel-2); }
.row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); }
.row.dim { opacity: .4; }
.hero-row { grid-template-columns: 46px minmax(130px, 1.4fr) 78px repeat(4, minmax(64px, 1fr)); }
.session-row { grid-template-columns: minmax(130px, 1.3fr) minmax(110px, 1fr) repeat(5, minmax(64px, 1fr)); }
.row .title small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-dim); }
.row .title small .crest { width: 18px; height: 18px; }
.row .title b { font-size: 16px; font-weight: 600; }
.cell small { display: block; font-size: 12px; color: var(--ink-dim); text-align: inherit; }
.cell b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wl-big { font-size: 16px; font-weight: 600; }
.delta { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 5px; font-size: 12px; font-weight: 700; vertical-align: middle; }
.delta.up { background: #34d27b22; }
.delta.down { background: #ef464622; }
.rows-foot { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); font-weight: 500; font-size: 14px; color: var(--ink-dim); }
.rows-foot:hover { color: var(--ink); background: var(--panel-2); }
.empty { padding: 26px; color: var(--ink-dim); }
.empty b { color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); color: var(--ink-dim); font-weight: 500; font-size: 14px; cursor: pointer; }
.chip .crest { width: 22px; height: 22px; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--panel-3); border-color: #34343a; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
select.chip { padding-right: 10px; margin-left: auto; }

.chart-wrap { position: relative; padding: 18px 20px 12px; }
.chart-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.chart-head b { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chart-head span { color: var(--ink-dim); font-size: 14px; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: #ffffff12; stroke-width: 1; }
.chart .axis { fill: var(--ink-faint); font-size: 12px; font-family: Rubik, sans-serif; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#trend-fill); }
.chart .cross { stroke: #ffffff40; stroke-width: 1; }
.chart .dot { fill: var(--accent); stroke: var(--panel); stroke-width: 2; }
.tip { position: absolute; pointer-events: none; padding: 8px 10px; border-radius: 8px; background: #0d0d10ee; border: 1px solid var(--line); font-size: 13px; white-space: nowrap; transform: translate(-50%, -110%); }
.tip b { display: block; font-size: 16px; }
.tip span { color: var(--ink-dim); }

.ann-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 16px; align-items: start; }
.ann { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.ann header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; }
.ann header time { margin-left: auto; color: var(--ink-faint); }
.ann-source { padding: 2px 8px; border-radius: 3px; background: var(--panel-3); color: var(--ink); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.ann-body { font-size: 14px; line-height: 1.55; color: var(--ink-dim); overflow-wrap: anywhere; }
.ann-body.clamp { max-height: 8.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.ann-body b, .ann-body strong { color: var(--ink); }
.ann-body .ann-h { display: block; font-size: 15px; margin-top: 2px; }
.ann-body a { color: var(--accent-2); }
.ann-body code { padding: 1px 4px; border-radius: 3px; background: var(--panel-3); font-size: 13px; }
.ann-body .mention { color: #a8b4ff; }
.ann-body .emoji { width: 1.25em; height: 1.25em; vertical-align: -.25em; }
.ann-more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--ink-dim); font-size: 13px; font-weight: 600; cursor: pointer; }
.ann-more:hover { color: var(--ink); }
.ann-img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 4px; }
.ann-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-2); }
.ann-link .icon { width: 15px; height: 15px; }

.lb-head { display: flex; align-items: center; gap: 16px; margin: 8px 0 18px; }
.lb-head .icon { width: 34px; height: 34px; color: var(--gold); }
.lb-head h1 { font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-dim); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lb-table td { padding: 10px 18px; border-bottom: 1px solid var(--line); }
.lb-table tr:last-child td { border-bottom: 0; }
.lb-table tbody tr:hover { background: #ffffff06; }
.lb-table .num { text-align: right; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.lb-rank { width: 64px; font-weight: 800; color: var(--ink-dim); }
.lb-rank.top { color: var(--gold); }
.lb-player { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.lb-player:hover { color: var(--accent-2); }

.state { text-align: center; padding: 16vh 16px; color: var(--ink-dim); }
.state h1 { font-size: 26px; color: var(--ink); margin-bottom: 10px; }
.state a { color: var(--accent); font-weight: 600; }
.skeleton { background: linear-gradient(90deg, var(--panel) 0, var(--panel-2) 50%, var(--panel) 100%) 0 0 / 200% 100%; animation: shimmer 1.2s infinite linear; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }

.footer { padding: 28px 16px; background: var(--nav); color: var(--ink-faint); font-size: 13px; }
.footer-inner { width: min(1400px, 100%); margin: 0 auto; }
.footer-brand { color: var(--ink-dim); font-weight: 600; margin-bottom: 6px; }

@media (max-width: 1240px) { .stats-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .home { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .layout > aside { order: 2; }
  .live { top: auto; bottom: 16px; }
}
@media (max-width: 760px) {
  .subnav { position: relative; gap: 8px; height: 60px; padding: 0 12px; }
  .nav-search { width: auto; flex: 1 1 auto; min-width: 0; height: 40px; }
  .subnav .nav-menu-btn { display: grid; }
  .nav-user { margin-left: 0; }
  .nav-user-btn { gap: 6px; padding: 0 6px 0 4px; }
  .nav-user-name, .nav-user-btn .caret { display: none; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px 0 10px; background: var(--nav); border-bottom: 1px solid #000; box-shadow: 0 18px 30px rgba(0, 0, 0, .55); }
  .masthead.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 20px; font-size: 16px; border-bottom: 0; border-left: 3px solid transparent; }
  .nav-links a.active { border-left-color: var(--accent); background: var(--panel-2); }
  .nav-links .nav-sep { align-self: stretch; width: auto; height: 1px; margin: 6px 20px; }
  .big-search input { font-size: 15px; }
  .lb-boards { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .lb-boards::-webkit-scrollbar { display: none; }
  .lb-boards .chip { flex: none; }
  .lb-table td:first-child, .lb-table th:first-child { width: 1%; white-space: nowrap; padding-right: 4px; }
  .lb-player { flex-wrap: wrap; gap: 4px 8px; min-width: 0; overflow-wrap: anywhere; }
  .lb-player .tier-tag, .lb-player .team-tag { margin-left: 0; }
  .lb-player .lb-flag { margin-left: 0 !important; }
  .lb-aka { display: none; }
  .lb-table .num { white-space: nowrap; }
  .live { position: static; margin: 12px 0 0; }
  .lb-head { flex-wrap: wrap; gap: 10px 16px; }
  .lb-head h1 { font-size: 22px; }
  .lb-head .btn { white-space: nowrap; }
  .comp-tabs, .hero-tabs, .training-tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .home { padding-top: 6px; }
  .home-title { gap: 16px; margin-bottom: 22px; }
  .home-title .big-mark { width: 68px; height: 68px; }
  .big-search { flex-wrap: wrap; height: auto; }
  .big-search .platforms { width: 100%; height: 44px; border-right: 0; border-bottom: 1px solid var(--line); }
  .big-search input { height: 52px; }
  .top-cards { grid-template-columns: 1fr; }
  .top-card { min-height: 0; }
  .banner-art { height: 200px; }
  .banner-hero { width: 100%; opacity: .55; }
  .banner-word { display: none; }
  .banner-id { left: 14px; bottom: 66px; gap: 12px; }
  .banner-id .avatar { width: 78px; height: 78px; font-size: 30px; }
  .tabs { padding-left: 6px; }
  .tabs a { padding: 0 11px; font-size: 15px; }
  .tabs .share span { display: none; }
  .filterbar .seg { flex: 1 1 100%; overflow-x: auto; }
  .stats-8, .stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { padding: 18px; }
  .hero-row, .session-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .hero-row .portrait { display: none; }
  .hero-row .title, .session-row .title { grid-column: 1 / 3; }
  .hero-row .rep, .session-row .wl-cell { justify-self: end; }
  .hero-row .cell.extra, .session-row .cell.extra { display: none; }
  .lb-table .hide-sm { display: none; }
  .lb-table td, .lb-table th { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { .skeleton, .live button.spinning .icon { animation: none; } }

.doc { max-width: 760px; padding: 32px 0 16px; line-height: 1.65; color: var(--ink-dim); }
.doc h1 { font-size: 30px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .8px; }
.doc-lead { margin-top: 10px; font-size: 17px; color: var(--ink); }
.doc-section { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc-section h2 { margin-bottom: 10px; font-size: 17px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .8px; }
.doc-section p + p, .doc-section ul + p { margin-top: 10px; }
.doc-section ul { margin: 8px 0 0; padding-left: 20px; }
.doc-section li + li { margin-top: 6px; }
.doc b { color: var(--ink); font-weight: 600; }

.nav-user { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.nav-user { position: relative; }
.nav-user-btn { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px 0 4px; border: 1px solid transparent; border-radius: var(--radius); background: none; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.nav-user-btn:hover, .nav-user-btn[aria-expanded="true"] { background: var(--panel-2); border-color: var(--line); }
.nav-user-btn .caret { width: 12px; height: 12px; color: var(--ink-dim); transition: transform .15s; }
.nav-user-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.staff-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 200px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 10px 28px #000b; display: grid; }
.staff-menu[hidden] { display: none; }
.staff-menu a, .staff-menu button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.staff-menu a:hover, .staff-menu button:hover, .staff-menu a:focus-visible, .staff-menu button:focus-visible { background: var(--panel-3); }
.staff-menu hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--line); }
.staff-menu #sign-out { color: var(--ink-dim); }
.nav-user-name { font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-danger { background: #7a1f1b; border-color: transparent; color: #fff; }
.btn-danger:hover { background: #962722; }
.role { padding: 2px 7px; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; background: var(--panel-3); color: var(--ink-dim); }
.role-reviewer { color: #8fc3ff; }
.role-mod { color: var(--accent); }
.role-admin { color: #15120a; background: var(--accent); }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink-faint); font-size: 12px; cursor: pointer; }
.link-btn:hover { color: var(--loss); }
.muted { color: var(--ink-faint); }
.notice-warn { border-left-color: #d9822b; }
.notice-bad { border-left-color: var(--loss); background: #c94a4412; }
.notice-good { border-left-color: var(--win); }
.notice a { color: var(--accent-2); font-weight: 600; }
.notice .acct { margin-left: 4px; }

.status { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 3px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.st-pending, .st-rejected { background: var(--panel-3); color: var(--ink-dim); }
.st-suspected { background: #d9822b26; color: #f0a35a; }
.st-confirmed { background: #c94a4433; color: #ff7b72; }
.st-cleared { background: #3aa76d26; color: #5fd08f; }
.st-tournament { background: #8a6cff26; color: #b3a1ff; }
.notice-ban { border-left-color: #8a6cff; }
.notice-ban small { display: block; margin-top: 4px; color: var(--ink-faint); }
.report-row-top .status + .status { margin-left: -4px; }
.ban-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 10px; }
.ban-facts dt { color: var(--ink-faint); font-size: 13px; }
.ban-facts dd { margin: 0; color: var(--ink); }
.ban-box .hint a { color: var(--accent-2); }
.ban-edit { margin-top: 12px; }
.ban-edit summary { cursor: pointer; color: var(--accent-2); font-weight: 600; }
.ban-form { display: grid; gap: 10px; margin-top: 10px; }
.ban-form label { display: grid; gap: 6px; font-size: 14px; }
.flags-form { display: grid; gap: 10px; }
.flags-title { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-dim); }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink); }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check small { display: block; color: var(--ink-faint); font-size: 12px; }
.ban-fields { display: grid; gap: 10px; margin: 0 0 0 27px; padding: 0; border: 0; }
.ban-fields[hidden] { display: none; }
.ban-fields label { display: grid; gap: 6px; font-size: 14px; }
.other-moves { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.lb-flag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 3px; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; }
.lb-flag-confirmed { background: #ff2b2b; color: #fff; }
.lb-flag-suspected { background: #d9822b33; color: #f0a35a; }
.lb-flag-ban { background: #6d4fe0; color: #fff; }
.lb-flag-boosted { background: #e0b42b33; color: #f2cd5c; }
.top-card .lb-flag { margin: 6px 6px 0 0; }
.suggestions { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.suggestions ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.suggestions li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }

.rules { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--ink-dim); font-size: 14px; line-height: 1.6; }
.rules b { color: var(--ink); }
.input { height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); color: var(--ink); min-width: 0; }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; width: 100%; font: inherit; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--accent); }
.input-sm { height: 32px; padding: 0 8px; }
.report-search { margin-left: auto; }
.report-search .input { width: 240px; }
.count:not(:empty) { margin-left: 4px; padding: 0 6px; border-radius: 9px; background: var(--accent); color: #15120a; font-size: 12px; font-weight: 700; }

.report-row { display: grid; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.report-row:last-child { border-bottom: 0; }
.report-row:hover { background: #ffffff06; }
.report-row-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.report-row small { color: var(--ink-faint); }
.accts { display: flex; flex-wrap: wrap; gap: 6px; }
.acct { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 3px; background: var(--panel-3); font-size: 13px; font-weight: 600; color: var(--ink); }
a.acct:hover { color: var(--accent-2); }
.acct .plat { width: 13px; height: 13px; }

.report-form { display: grid; gap: 18px; }
.report-form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
.report-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.report-form legend { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.report-form .hint { font-size: 13px; color: var(--ink-faint); }
.report-form [data-add-row] { justify-self: start; }
.report-form [type=submit] { justify-self: start; height: 44px; padding: 0 22px; }
.form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.form-row .input { flex: 1 1 160px; }
.form-row select.input { flex: 0 0 auto; }
.form-error { color: #ff7b72; font-size: 14px; }
.form-error:empty { display: none; }

.report { padding-top: 22px; }
.back { display: inline-block; margin: 18px 0 10px; color: var(--ink-dim); font-size: 14px; font-weight: 600; }
.report .back { margin-top: 0; }
.back:hover { color: var(--accent-2); }
.report-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.report-head h1 { font-size: 26px; font-weight: 700; }
.report > .muted { margin-top: 6px; font-size: 14px; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; margin-top: 18px; align-items: start; }
.report-grid > div, .report-grid > aside { display: grid; gap: 16px; }
.pad { padding: 18px; }
.panel .h { margin-bottom: 12px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-dim); }
.report-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.acct-list, .evidence, .comments, .events { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acct-list li, .evidence li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acct-list + form, .evidence + form, .comments + form { margin-top: 14px; }
.evidence a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-weight: 600; }
.evidence a .icon { width: 14px; height: 14px; }
.evidence span { color: var(--ink-dim); font-size: 14px; }
.comments li { display: flex; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.comments li:last-child { border-bottom: 0; }
.comments li > div { flex: 1; min-width: 0; }
.comments b { margin-right: 6px; }
.comments small { margin: 0 8px; color: var(--ink-faint); font-size: 12px; }
.comments p { margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
[data-comment] { display: grid; gap: 8px; }
[data-comment] .btn { justify-self: start; }
[data-move] { display: grid; gap: 10px; }
.moves { display: flex; flex-wrap: wrap; gap: 8px; }
.events li { font-size: 14px; color: var(--ink-dim); }
.events b { color: var(--ink); }
.events small { display: block; color: var(--ink-faint); font-size: 12px; }
.events q { display: block; margin-top: 2px; color: var(--ink); font-style: italic; }
@media (max-width: 900px) { .report-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .nav-user-name, .nav-user .role { display: none; }
  .nav-search { flex: 1 1 0; }
  .nav-user { order: 1; margin-left: 10px; }
  .nav-links { order: 2; }
  .report-search { margin-left: 0; width: 100%; }
  .report-search .input { width: 100%; }
}

.login { width: min(380px, 100% - 32px); margin: 12vh auto; display: grid; gap: 14px; }
.login h1 { font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; }
.login-discord { height: 44px; }
.login-or { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 13px; }
.login-or::before, .login-or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.login-form { display: grid; gap: 12px; }
.login-form label { display: grid; gap: 6px; font-weight: 600; }
.login-form .btn { height: 44px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.staff-new .form-row .input { flex: 1 1 170px; }
.staff-new .hint, .hint { margin-top: 8px; font-size: 13px; color: var(--ink-faint); }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
tr.is-disabled td { opacity: .55; }
.contact { margin-bottom: 12px; font-size: 14px; color: var(--ink-dim); overflow-wrap: anywhere; }
.h .muted { font-weight: 500; text-transform: none; letter-spacing: 0; }
.login { align-content: start; }
.report-form label .input, .login-form .input { font-weight: 400; }
.login .hint { margin-top: -4px; font-size: 13px; color: var(--ink-faint); }
.login-wait { padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--panel); display: grid; gap: 8px; }
.login-wait[hidden] { display: none; }
.login .form-error { margin-top: 4px; }
.cheater-badge { display: inline-flex; align-items: center; align-self: center; margin-left: 14px; padding: 5px 12px; border-radius: 4px; background: #ff2b2b; color: #fff; font: 800 15px/1.2 Rubik, sans-serif; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; box-shadow: 0 0 18px #ff2b2b66; }
.cheater-badge:hover { background: #ff4a4a; color: #fff; }
.report-row-wrap { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.report-row-wrap:last-child { border-bottom: 0; }
.report-row-wrap .report-row { flex: 1; min-width: 0; border-bottom: 0; }
.report-row-wrap > .btn { margin-right: 16px; }
.delete-zone { display: grid; gap: 6px; justify-items: start; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.delete-zone small { color: var(--ink-faint); font-size: 12px; }
.ban-badge { display: inline-flex; align-items: center; align-self: center; margin-left: 14px; padding: 5px 12px; border-radius: 4px; background: #6d4fe0; color: #fff; font: 800 15px/1.2 Rubik, sans-serif; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.ban-badge:hover { background: #7f63f0; color: #fff; }
.cheater-badge + .ban-badge { margin-left: 8px; }
@media (max-width: 760px) { .cheater-badge, .ban-badge { margin-left: 0; font-size: 12px; padding: 4px 9px; } }
.banner-id h1 { flex-wrap: wrap; row-gap: 8px; }
.nav-sep { align-self: center; width: 1px; height: 22px; margin: 0 10px; background: #ffffff26; flex: none; }
.nav-menu-btn { display: none; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); color: var(--ink); cursor: pointer; }
.nav-menu-btn .icon { width: 20px; height: 20px; }
.masthead.nav-open .nav-menu-btn { background: var(--panel-3); border-color: #3a3a40; }
.nav-links { scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }

.comp-section { margin-top: 8px; }
.comp-discords { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.comp-discords .muted { font-size: 13px; margin-right: 2px; }
.lb-head .comp-discord { gap: 6px; }
.lb-head .comp-discord .icon { width: 14px; height: 14px; color: inherit; }
@media (max-width: 520px) { .comp .lb-head { flex-wrap: wrap; gap: 10px; } .comp-discords { margin-left: 0; } .comp-discords .muted { flex-basis: 100%; } }
.comp-tabs { display: flex; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.comp-tabs a { display: flex; align-items: center; min-height: 46px; padding: 0 16px; font-weight: 600; font-size: 15px; color: var(--ink-dim); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.comp-tabs a:hover { color: #fff; }
.comp-tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.video-grid > .comp-form { grid-column: 1 / -1; }
.acct-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-2); }
.yt-sub { margin-left: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.yt-title { font-size: 16px !important; line-height: 1.35; }
.yt-title a:hover { color: var(--accent-2); }
.yt-card .accts { align-items: center; }
.yt-card.is-hidden { opacity: .45; }
.yt-top { padding: 2px 8px; border-radius: 3px; background: linear-gradient(135deg, #f2c230, #b8860b); color: #2a1c02; font-size: 12px; font-weight: 800; }
.yt-when { margin: -4px 0 0; font-size: 13px; color: var(--ink-faint); }
.yt-more { margin-top: 12px; }
#home-videos { margin-bottom: 8px; }
.home-videos-all { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-weight: 600; }
.home-videos-all .icon { width: 14px; height: 14px; }
.home-video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-video-grid .yt-title { font-size: 15px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1100px) { .home-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-video-grid { grid-template-columns: 1fr; } .home-video-grid > :nth-child(n+3) { display: none; } }
.yt-manage { margin-top: 16px; }
.yt-manage summary { cursor: pointer; }
.yt-channels { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.yt-channels li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.yt-channels small { display: block; color: var(--ink-dim); }
.yt-add { display: grid; grid-template-columns: 2fr 1.2fr auto; gap: 8px; }
@media (max-width: 760px) { .yt-add { grid-template-columns: 1fr; } }
.yt-side { padding: 6px; display: grid; gap: 2px; }
.yt-side-item { display: flex; gap: 10px; align-items: flex-start; padding: 6px; border-radius: var(--radius); }
.yt-side-item:hover { background: var(--panel-3); }
.yt-side-item img { flex: none; width: 112px; height: 63px; object-fit: cover; border-radius: 4px; background: #000; }
.yt-side-item b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; }
.yt-side-item small { display: block; margin-top: 4px; color: var(--ink-faint); font-size: 12px; }
.acct-link:hover { color: #fff; }
.acct-link .icon { width: 12px; height: 12px; }
@media (max-width: 760px) { .comp-tabs a { padding: 0 11px; } .video-grid { grid-template-columns: 1fr; } }
.comp-section .section-head .comp-add { margin-left: auto; }
.comp-sub { margin: 22px 0 10px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-dim); }
.comp-body { white-space: normal; line-height: 1.6; color: var(--ink-dim); overflow-wrap: anywhere; }
.comp-body b { color: var(--ink); }
.comp-body a { color: var(--accent-2); }
.comp-card { display: grid; gap: 10px; align-content: start; }
.comp-card h3, .tourney h3 { font-size: 18px; font-weight: 700; }
.comp-card .acct { justify-self: start; width: fit-content; }
.comp-section > .comp-card + .comp-card { margin-top: 12px; }
.comp-controls { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.comp-controls small { color: var(--ink-faint); font-size: 12px; }
.comp-controls .link-btn:hover { color: var(--accent-2); }
.comp-controls [data-comp-del]:hover { color: var(--loss); }
.coming-soon { position: relative; overflow: hidden; border-radius: var(--radius); }
.coming-soon-preview { max-height: 420px; overflow: hidden; filter: blur(7px); opacity: .55; pointer-events: none; user-select: none; }
.coming-soon-label { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: 22px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); text-shadow: 0 2px 12px #000; }
.comp-past { margin-top: 12px; }
.comp-past summary { cursor: pointer; color: var(--ink-dim); font-weight: 600; margin-bottom: 10px; }
.comp-form { gap: 12px; margin-bottom: 14px; }
.comp-form h3 { font-size: 16px; }
.form-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.report-form select.input { width: 100%; }

.tourney { display: flex; align-items: flex-start; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.tourney:last-child { border-bottom: 0; }
.tourney-date { display: grid; place-items: center; flex: none; width: 58px; padding: 8px 0; border-radius: var(--radius); background: var(--panel-3); border-top: 3px solid var(--accent); }
.tourney-date b { font-size: 24px; line-height: 1; }
.tourney-date span { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink-dim); }
.tourney-main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.tourney > .btn { flex: none; align-self: center; }

.video-thumb { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; overflow: hidden; cursor: pointer; color: var(--ink); }
.comp-card .video-thumb { border-radius: var(--radius); }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .15s; }
.video-thumb:hover img { opacity: 1; }
.video-thumb .play { position: relative; width: 60px; height: 42px; border-radius: 10px; background: var(--accent); }
.video-thumb .play::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #15120a; }
.video-link { gap: 10px; align-content: center; font-weight: 600; background: var(--panel-3); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
@media (max-width: 760px) {
  .tourney { flex-wrap: wrap; }
  .tourney-main { flex: 1 1 calc(100% - 76px); }
  .tourney > .btn { margin-left: 76px; }
}

.guide { max-width: 820px; }
.guide-intro { display: grid; gap: 12px; margin-top: 12px; font-size: 17px; color: var(--ink); }
.guide .doc-section h2 { font-size: 22px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.guide h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 700; color: var(--accent); scroll-margin-top: 76px; }
.guide h4 { margin: 20px 0 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.guide p + p { margin-top: 10px; }
.guide a { color: var(--accent-2); font-weight: 600; }
.guide strong { color: var(--ink); font-weight: 700; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.guide-toc .chip { height: 30px; font-size: 13px; }
.guide .guide-credit { margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-style: italic; color: var(--muted, var(--ink-dim)); }
.guide .guide-credit a { font-weight: 500; }
.guide-video { max-width: 560px; margin: 14px 0 4px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.guide figure { max-width: 640px; margin: 18px 0; }
.tierlist { max-width: 840px; margin: 0; }
.tierlist img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.tierlist figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-dim); }
.tl { max-width: 1000px; }
.tl-filters { margin-bottom: 10px; }
.tl-for { margin: -2px 0 12px; font-size: 14px; color: var(--ink-dim); }
.tl-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.tl-note { margin: 0 0 12px; color: var(--ink-dim); }
.tl-meta { margin-top: 8px; font-size: 14px; color: var(--ink-dim); }
.tl-board { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #17171a; }
.tl-row { display: flex; min-height: 88px; }
.tl-row + .tl-row { border-top: 1px solid #0b0b0d; }
.tl-label { flex: none; display: grid; place-items: center; width: 96px; padding: 6px; color: #15120a; font-weight: 800; font-size: 18px; text-align: center; overflow-wrap: anywhere; }
.tl-c-red { background: #ff7f7f; } .tl-c-orange { background: #ffbf7f; } .tl-c-gold { background: #ffdf7f; }
.tl-c-yellow { background: #ffff7f; } .tl-c-lime { background: #bfff7f; } .tl-c-green { background: #7fff7f; }
.tl-c-teal { background: #7fffff; } .tl-c-blue { background: #7fbfff; } .tl-c-purple { background: #bf7fff; } .tl-c-gray { background: #a9a9b0; }
.tl-heroes { flex: 1; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; padding: 4px; }
.tl-empty-row { align-self: center; padding: 0 10px; color: var(--ink-faint); }
.tl-hero { position: relative; width: 80px; height: 80px; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: #222; color: #fff; cursor: default; }
.tl-hero img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.tl-hero span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 3px 3px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-editing .tl-hero, .tl-pool .tl-hero { cursor: grab; }
.tl-hero.is-picked { outline: 3px solid var(--accent); outline-offset: -3px; }
.tl-hero.is-dragging { opacity: .4; }
.tl-drop { min-height: 88px; }
.tl-drop.is-over { background: #24242a; box-shadow: inset 0 0 0 2px var(--accent); }
.tl-label-edit { width: 150px; display: flex; flex-direction: column; gap: 6px; place-items: stretch; }
.tl-label-edit .input { height: 32px; padding: 0 8px; font-size: 14px; font-weight: 700; background: rgba(255,255,255,.85); color: #15120a; border-color: rgba(0,0,0,.2); }
.tl-row-tools { display: flex; justify-content: center; gap: 10px; }
.tl-row-tools .link-btn { color: #15120a; font-weight: 800; font-size: 16px; }
.tl-row-tools .link-btn:disabled { opacity: .3; }
.tl-board.tl-editing + .btn { margin-top: 10px; }
.tl-pool { border: 1px dashed var(--line); border-radius: var(--radius); background: #121215; }
.tl-note-edit { display: grid; gap: 6px; margin: 16px 0 12px; font-weight: 600; }
.tl-help { margin-bottom: 12px; }
@media (max-width: 560px) {
  .tl-label { width: 64px; font-size: 15px; }
  .tl-label-edit { width: 112px; }
  .tl-hero { width: 60px; height: 60px; }
  .tl-hero span { font-size: 9px; }
  .tl-row, .tl-drop { min-height: 68px; }
}
.comp-guide { max-width: none; line-height: 1.65; color: var(--ink-dim); }
.comp-guide h3:first-of-type { margin-top: 20px; }
.last-updated { margin-top: 10px; font-size: 14px; }
.comp-guide > p, .comp-guide > h3, .comp-guide > .table-scroll { max-width: 820px; }
.hero-select { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; margin: 18px 0 14px; }
.faction { min-width: 0; padding-left: 12px; border-left: 3px solid var(--c); }
.faction-knights { --c: #d4a72c; }
.faction-vikings { --c: var(--vikings); }
.faction-samurai { --c: var(--samurai); }
.faction-wu-lin { --c: #8e5cc2; }
.faction-outlanders { --c: #4aa8d8; }
.guide .faction-name { margin: 0 0 10px; font-size: 14px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--c); }
.faction-heroes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hero-tile { display: flex; flex-direction: column; align-items: stretch; width: 100%; padding: 0; overflow: hidden; background: var(--panel); border: 2px solid var(--line); border-radius: 8px; color: var(--ink); font: inherit; cursor: pointer; }
.hero-tile:hover, .hero-tile:focus-visible { border-color: var(--c); }
.hero-tile.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.hero-tile:disabled { cursor: not-allowed; opacity: .35; }
.hero-tile:disabled:hover { border-color: var(--line); }
.hero-portrait { display: block; aspect-ratio: 5 / 6; background: var(--panel-2); overflow: hidden; }
.hero-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-name { padding: 5px 4px; font-size: 12px; font-weight: 600; line-height: 1.15; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1100px) { .hero-select { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hero-select { grid-template-columns: 1fr; } .faction-heroes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero-tile { position: relative; }
.top5-badge { position: absolute; top: 4px; left: 4px; z-index: 1; padding: 1px 5px; border-radius: 4px; background: var(--accent); color: #111; font-size: 10px; font-weight: 800; letter-spacing: .3px; }
.guide .hero-feats h5 { margin: 18px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ink); }
.hero-feats .hero-exes li, .hero-feats .hero-punishes li { display: block; margin-top: 6px; padding-top: 0; border-top: 0; }
.hero-select-hint { font-style: italic; }
.hero-feats-list { max-width: 820px; }
.hero-feats { display: none; margin: 14px 0; padding: 16px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 76px; }
.hero-feats.is-active { display: block; }
.hero-tabs { display: flex; gap: 4px; margin: 12px 0 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.hero-tabs button { min-height: 40px; padding: 0 14px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-dim); font: inherit; font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer; }
.hero-tabs button:hover { color: #fff; }
.hero-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--accent); }
.hero-pane .feats-soon { margin-top: 12px; }
.punish-group { margin-top: 16px; }
.punish-group h6 { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--accent-2); }
.hero-feats .punish-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: baseline; }
.hero-feats .punish-list li + li { margin-top: 8px; padding-top: 8px; }
.punish-how { font-weight: 600; color: var(--ink); }
.punish-stats { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.punish-stats span { padding: 2px 8px; border-radius: 3px; background: var(--panel-3); font-size: 12px; font-weight: 700; white-space: nowrap; }
.punish-dmg { color: var(--ink); }
.punish-dmg small { font-weight: 500; color: var(--ink-dim); }
.punish-stam { color: var(--ink-dim); }
.punish-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--ink-dim); }
.punish-note.ex-from { font-size: 12px; color: var(--ink-faint); }
.ex-intro { margin: 12px 0 0; font-size: 14px; color: var(--ink-dim); }
.ex-lead { margin: -2px 0 8px; font-size: 13px; color: var(--ink-dim); }
.ex-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.ex-kind { margin: 4px 0 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.ex-none { margin: 0; font-size: 13px; }
.ex-more summary { margin-top: 8px; cursor: pointer; color: var(--accent-2); font-size: 13px; font-weight: 600; }
.ex-more .punish-list { margin-top: 8px; }
.perk-list { margin-top: 12px !important; }
.hero-feats .perk-list li { display: flex; gap: 14px; align-items: flex-start; }
.perk-list img { flex: none; width: 48px; height: 48px; }
.perk-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink); }
.perk-list p { margin: 4px 0 0; font-size: 14px; color: var(--ink-dim); }
.perk-cat { padding: 1px 7px; border-radius: 3px; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; background: var(--panel-3); color: var(--ink-dim); }
.perk-offense { color: #ff8a7a; } .perk-defense { color: #7fb4ff; } .perk-assist { color: #8fe0a0; }
@media (max-width: 760px) { .ex-cols { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hero-feats .punish-list li { grid-template-columns: 1fr; } .punish-stats { justify-content: flex-start; } }
@media (max-width: 760px) { .hero-tabs button { padding: 0 10px; } }
.guide .hero-feats h4 { margin: 0 0 6px; font-size: 18px; color: var(--accent-2); }
.hero-feats ul { margin: 10px 0 0; padding: 0; list-style: none; }
.hero-feats li { display: flex; gap: 14px; align-items: flex-start; }
.hero-feats li + li { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.feat-icons { display: flex; flex-direction: column; gap: 6px; flex: none; }
.feat-icons img { display: block; width: 48px; height: 48px; }
.feat-text { min-width: 0; }
.hero-feats .feat-desc { margin-top: 4px; font-size: 13px; color: var(--muted, var(--ink-dim)); opacity: .85; }
.hero-feats .feat-desc em { color: var(--ink); font-style: normal; font-weight: 600; }
.hero-feats .feats-soon { font-style: italic; }
.table-scroll { overflow-x: auto; }
.guide td.table-soon { text-align: center; font-style: italic; font-weight: 400; color: var(--ink-dim); }
.glossary { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; max-width: 640px; margin: 14px 0; }
.glossary dt { font-weight: 700; color: var(--accent); }
.glossary dd { margin: 0; }
.video-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 14px 0; }
.video-row figure { margin: 0; }
.guide-clip { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: var(--radius); }
.guide figcaption { margin-top: 8px; font-size: 14px; }
.guide .clip-credit { display: block; margin-top: 4px; font-size: 12px; font-style: italic; color: var(--ink-dim); opacity: .85; }
.guide table { width: 100%; margin: 14px 0; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-variant-numeric: tabular-nums; }
.guide caption { caption-side: top; text-align: left; padding-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink-dim); }
.guide th, .guide td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.guide th { background: var(--panel-2); color: var(--ink); font-size: 13px; font-weight: 700; }
.guide td { background: var(--panel); }
.guide td:first-child { color: var(--ink); font-weight: 600; }
.guide tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) { .guide th, .guide td { padding: 8px 8px; font-size: 13px; } }
.training-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.training-head span { font-size: 15px; color: var(--ink-dim); }
.training-layout { display: grid; grid-template-columns: 240px minmax(0, 820px); gap: 32px; align-items: start; margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 57px; }
.training-tabs { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 96px); overflow-y: auto; scrollbar-width: none; }
.training-tabs::-webkit-scrollbar { display: none; }
.training-group { display: flex; flex-direction: column; gap: 2px; }
.training-group + .training-group { margin-top: 16px; }
.training-group h2 { margin: 0 0 6px; padding-left: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--accent); }
.training-tabs a { padding: 9px 12px; border-left: 2px solid var(--line); color: var(--ink-dim); font-weight: 600; font-size: 15px; line-height: 1.35; }
.training-tabs a:hover { color: var(--ink); background: var(--panel); }
.training-tabs a[aria-current="page"] { color: var(--ink); border-left-color: var(--accent); background: var(--panel); }
.training-soon { padding: 9px 12px; border-left: 2px solid var(--line); color: var(--ink-dim); font-size: 14px; font-style: italic; opacity: .7; }
.training-guide { padding-top: 0; }
.training-guide > h2 { margin-bottom: 10px; font-size: 22px; font-weight: 700; color: var(--ink); }
@media (max-width: 900px) {
  .training-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 0; }
  .training-tabs { position: relative; top: 0; flex-direction: row; gap: 4px; max-height: none; overflow-x: auto; border-bottom: 1px solid var(--line); }
  .training-group { flex-direction: row; align-items: center; flex: none; }
  .training-group + .training-group { margin: 0 0 0 10px; padding-left: 10px; border-left: 1px solid var(--line); }
  .training-group h2 { margin: 0 4px 0 0; padding-left: 0; font-size: 11px; white-space: nowrap; }
  .training-soon { padding: 12px 14px 12px 4px; border-left: 0; white-space: nowrap; }
  .training-tabs a { flex: none; padding: 12px 14px; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; background: none; }
  .training-tabs a:hover { background: none; }
  .training-tabs a[aria-current="page"] { border-bottom-color: var(--accent); background: none; }
}

.tier-tag, .team-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 3px; font: 800 11px/1 Rubik, sans-serif; letter-spacing: .4px; white-space: nowrap; cursor: help; vertical-align: middle; }
.tier-1 { background: linear-gradient(135deg, #fff1a8 0%, #f2c230 40%, #b8860b 75%, #7a5208 100%); color: #2a1c02; text-shadow: 0 1px 0 rgba(255, 244, 190, .6); box-shadow: 0 0 7px rgba(242, 194, 48, .55); }
.tier-2 { background: linear-gradient(135deg, #ff3d5a 0%, #c2187a 45%, #6a1fd1 100%); color: #fff5fa; text-shadow: 0 0 4px rgba(255, 90, 160, .7), 0 1px 1px #2a0620; box-shadow: 0 0 7px rgba(200, 40, 150, .5); }
.tier-3 { background: linear-gradient(135deg, #ffb347 0%, #ff6a3d 45%, #e0307a 100%); color: #fff8f2; text-shadow: 0 0 4px rgba(255, 140, 80, .65), 0 1px 1px #3a0d10; box-shadow: 0 0 6px rgba(255, 110, 70, .45); }
.tier-4 { background: linear-gradient(135deg, #c6ff4a 0%, #3fcf6e 45%, #0d6e52 100%); color: #f4fff6; text-shadow: 0 0 3px rgba(150, 255, 120, .55), 0 1px 1px #063322; box-shadow: 0 0 5px rgba(80, 210, 110, .38); }
.tier-5 { background: linear-gradient(135deg, #0c0a0f 0%, #3a1430 45%, #ff5fae 100%); color: #fff2f8; text-shadow: 0 0 4px rgba(255, 95, 174, .6), 0 1px 1px #000; box-shadow: 0 0 5px rgba(255, 95, 174, .35); }
.tier-OC { background: linear-gradient(135deg, #0b2a6b 0%, #1f63e0 50%, #6fb4ff 100%); color: #f4f9ff; text-shadow: 0 0 4px rgba(111, 180, 255, .75), 0 1px 1px #04132f; box-shadow: 0 0 6px rgba(80, 150, 255, .5); }
.tier-P1 { background: linear-gradient(135deg, #14f1d9 0%, #0aa5b8 45%, #0b2a6b 100%); color: #f2fffd; text-shadow: 0 0 4px rgba(20, 241, 217, .7), 0 1px 1px #04132f; box-shadow: 0 0 6px rgba(20, 241, 217, .45); }
.team-tag { border: 1px solid #4a4a52; background: var(--panel-3); color: var(--ink); }
.lb-player .tier-tag + .lb-flag, .lb-player .team-tag + .lb-flag { margin-left: 6px; }
.top-card .tier-tag, .top-card .team-tag { margin: 6px 6px 0 0; }
.name-tags { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.name-tags:empty { display: none; }
.name-tags .tier-tag, .name-tags .team-tag { margin: 0; height: 26px; padding: 0 9px; font-size: 14px; text-shadow: none; }
.hover-tip { position: fixed; z-index: 100; max-width: 300px; padding: 8px 11px; border: 1px solid #3a3a42; border-radius: 6px; background: #101013; color: var(--ink); font-size: 13px; line-height: 1.45; white-space: pre-line; pointer-events: none; box-shadow: 0 6px 20px #000a; }
.hover-tip[hidden] { display: none; }

.win-list { padding: 4px 20px; }
.win { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.win:last-child { border-bottom: 0; }
.win-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.win-text b { overflow-wrap: anywhere; }
.win-text a { color: var(--accent-2); }
.win-text small { color: var(--ink-dim); font-size: 13px; }

.tag-editor { display: grid; gap: 18px; }
.tag-form { display: grid; gap: 10px; }
.tag-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.tag-form select.input { width: 100%; }
.tag-form fieldset { border: 0; padding: 0; margin: 0; }
.tag-form legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.tag-form .h { margin: 0; }
.tag-form .btn { justify-self: start; }
#win-form { padding-top: 16px; border-top: 1px solid var(--line); }
.team-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.team-checks label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel-2); font-size: 13px; font-weight: 700; cursor: pointer; }
.team-checks label:has(:checked) { border-color: var(--accent); }
.team-checks input { margin: 0; accent-color: var(--accent); }
.tag-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tag-actions .link { color: var(--accent); font-size: 14px; font-weight: 600; }
.tag-status { color: #6fcf8f; font-size: 13px; }

.team-form { display: grid; gap: 10px; }
.team-form .h { margin: 0; }
.team-form .btn-accent { justify-self: start; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 16px; }
.team-head { display: flex; align-items: center; gap: 10px; }
.team-head .muted { margin-left: auto; font-size: 13px; }
.team-tag-lg { margin: 0; height: 24px; font-size: 13px; cursor: default; }
.team-members { font-size: 13px; color: var(--ink-dim); }
.team-members a { color: var(--accent-2); }

.comp-card { padding: 4px 20px; }
.comp-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comp-block:last-child { border-bottom: 0; }
.comp-block h3 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-dim); }
.comp-block .win { padding: 8px 0; }
.comp-block .win:last-child { padding-bottom: 0; }
.tier-row, .team-row { display: flex; align-items: flex-start; gap: 12px; }
.team-row + .team-row { margin-top: 10px; }
.tier-row + .tier-row { margin-top: 10px; }
.tier-tag.tier-stack { flex-direction: column; justify-content: center; gap: 1px; height: auto; min-height: 22px; min-width: 32px; padding: 2px 5px 3px; line-height: 1; }
.tier-stack .tier-mode { font-size: 7.5px; font-weight: 800; letter-spacing: .7px; line-height: 1; opacity: .9; }
.name-tags .tier-tag.tier-stack { height: auto; min-height: 30px; min-width: 42px; padding: 3px 8px 4px; font-size: 14px; }
.name-tags .tier-stack .tier-mode { font-size: 9px; }
.tier-row .tier-tag .tier-mode { display: none; }
.tier-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
.tier-picks label { font-size: 13px; }
@media (max-width: 700px) { .tier-picks { grid-template-columns: 1fr; } }
.tier-row > div, .team-row > div { display: grid; gap: 2px; min-width: 0; }
.tier-row small, .team-row small { color: var(--ink-dim); font-size: 13px; white-space: pre-line; overflow-wrap: anywhere; }
.tier-row .tier-tag, .team-row .team-tag { margin: 0; flex: none; min-width: 42px; justify-content: center; height: 24px; font-size: 12px; cursor: default; }
.team-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.team-picks label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.team-picks label span { flex: 0 0 36px; }
.team-picks select.input { flex: 1; min-width: 0; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; }
.pager .chip { min-width: 38px; justify-content: center; }
.pager-gap { color: var(--ink-faint); padding: 0 2px; }

.lb-show { margin-top: -6px; }
.chip-flagged[aria-pressed="true"] { border-color: #ff2b2b; color: #fff; box-shadow: inset 0 -2px 0 #ff2b2b; }
.lb-flag-note { margin: -4px 2px 14px; font-size: 13px; color: var(--ink-dim); }
.lb-top-note { margin: -4px 2px 14px; font-size: 13px; color: var(--ink-dim); }
.lb-top-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lb-top-head .btn { margin: -10px 0 12px; }
.top50-ranks { display: flex; flex-wrap: wrap; gap: 6px; }
.socials { display: grid; gap: 6px; }
.social { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius); background: var(--panel-3); border-left: 3px solid var(--c, #666); color: var(--ink); font-size: 14px; min-width: 0; }
a.social:hover { background: #2a2a30; }
.social-kind { flex: none; width: 74px; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--ink-dim); }
.social b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social .icon { width: 14px; height: 14px; color: var(--ink-faint); }
.social-youtube { --c: #ff3b30; } .social-twitch { --c: #9146ff; } .social-twitter { --c: #e7e9ea; } .social-tiktok { --c: #25f4ee; }
.social-kick { --c: #53fc18; } .social-instagram { --c: #e1306c; } .social-discord { --c: #5865f2; } .social-website { --c: var(--accent); }
.other-accts { display: grid; gap: 6px; }
.other-acct { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--radius); background: var(--panel-3); }
.other-acct:hover { color: var(--accent-2); }
.other-acct b { flex: 1; }
.other-acct .icon:last-child { width: 14px; height: 14px; color: var(--ink-faint); }
.top50-rank { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 3px; background: var(--panel-3); color: var(--ink-dim); font-size: 13px; font-weight: 600; }
.top50-rank b { color: var(--accent-2); font-size: 15px; }
.top50-rank:hover { color: #fff; }
.top50-edit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.top50-edit label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.lb-flag-note a { color: var(--accent-2); }

[data-public-comment] { display: grid; gap: 8px; }
[data-public-comment] .input[name=name] { max-width: 260px; }
[data-public-comment] .btn { justify-self: start; }
.poster-tag { margin-left: 6px; font: 600 11px/1 ui-monospace, monospace; color: var(--ink-faint); cursor: help; }

.notice-boosted { border-left-color: #b7791f; background: #b7791f14; }
.notice-boosted q { display: block; margin-top: 4px; font-style: italic; }
#boosted-form .check { display: flex; gap: 8px; align-items: center; }

.aka { margin-top: 4px; color: var(--ink-dim); font-size: 14px; }
.aka b { color: var(--ink); font-weight: 600; }
.lb-aka { color: var(--ink-faint); font-weight: 500; }
.alias-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; }
.alias-list li { display: flex; gap: 8px; align-items: center; }

.notif { position: relative; margin-left: auto; }
.notif + .nav-user { margin-left: 8px; }
.notif-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid transparent; border-radius: var(--radius); background: none; color: var(--ink-dim); cursor: pointer; }
.notif-btn:hover { background: var(--panel-2); border-color: var(--line); color: var(--ink); }
.notif-btn svg { width: 20px; height: 20px; }
.notif-count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #e5484d; color: #fff; font: 700 10px/17px Rubik, sans-serif; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.notif-kind { display: inline-block; padding: 3px 8px; border-radius: 3px; font: 700 10px/1.4 Rubik, sans-serif; letter-spacing: .6px; text-transform: uppercase; background: #2b6cb033; color: #8fc1ff; }
.notif-kind.notif-announcement { background: #c2912433; color: #f2c230; }
.notice-admin-list { display: grid; gap: 12px; margin-top: 16px; }
.pn-editor { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }

html.pn-locked { overflow: hidden; }
.patch-notes { width: min(1180px, calc(100vw - 48px)); height: min(860px, calc(100svh - 48px)); max-width: none; max-height: none; padding: 0; border: 1px solid #ffffff1f; border-radius: 14px; background: #0f1014f2; color: var(--ink); box-shadow: 0 30px 80px #000d, 0 0 0 1px #000; overflow: hidden; }
.patch-notes::backdrop { background: #05060acc; backdrop-filter: blur(10px) saturate(.8); -webkit-backdrop-filter: blur(10px) saturate(.8); }
.patch-notes[open] { display: flex; animation: pn-in .22s ease-out; }
@keyframes pn-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@media (prefers-reduced-motion: reduce) { .patch-notes[open] { animation: none; } }
.pn-shell { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.pn-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #c2912414, transparent); }
.pn-eyebrow { color: var(--accent); font: 700 11px/1 Rubik, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.pn-head h1 { margin-top: 6px; font: 700 28px/1.1 Cinzel, serif; letter-spacing: .5px; }
.pn-head-actions { display: flex; align-items: center; gap: 10px; }
.pn-unread { margin-left: 10px; padding: 3px 9px; border-radius: 10px; background: #e5484d; color: #fff; font: 700 12px/1.4 Rubik, sans-serif; letter-spacing: 0; vertical-align: middle; }
.pn-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); color: var(--ink-dim); font-size: 24px; line-height: 1; cursor: pointer; }
.pn-close:hover { color: var(--ink); background: var(--panel-3); }
.pn-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px 1fr; }
.pn-list { overflow-y: auto; padding: 10px; border-right: 1px solid var(--line); background: #0a0b0e; display: grid; align-content: start; gap: 4px; }
.pn-item { display: grid; gap: 4px; width: 100%; padding: 12px 14px; border: 1px solid transparent; border-left: 3px solid transparent; border-radius: 8px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pn-item:hover { background: var(--panel-2); }
.pn-item[aria-current="true"] { background: var(--panel-2); border-color: var(--line); border-left-color: #4d8fe0; }
.pn-item.notif-announcement[aria-current="true"] { border-left-color: #f2c230; }
.pn-item-top { display: flex; justify-content: space-between; align-items: center; }
.pn-item-kind { color: var(--ink-faint); font: 700 10px/1 Rubik, sans-serif; letter-spacing: .6px; text-transform: uppercase; }
.pn-new { padding: 2px 6px; border-radius: 3px; background: #e5484d; color: #fff; font: 800 9px/1.3 Rubik, sans-serif; letter-spacing: .6px; text-transform: uppercase; }
.pn-item b { font-size: 14px; line-height: 1.3; }
.pn-item small { color: var(--ink-faint); font-size: 12px; }
.pn-content { overflow-y: auto; padding: 30px 40px 40px; }
.pn-article { max-width: 760px; }
.pn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-faint); font-size: 13px; }
.pn-version { padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); font: 700 12px/1.4 ui-monospace, Consolas, monospace; }
.pn-article h2 { margin: 14px 0 18px; font-size: 30px; line-height: 1.15; }
.pn-body { color: #d3d5db; font-size: 15.5px; line-height: 1.65; }
.pn-body h4 { margin: 26px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--accent); font: 700 13px/1.2 Rubik, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; }
.pn-body h4:first-child { margin-top: 0; }
.pn-body p { margin: 0 0 14px; overflow-wrap: anywhere; }
.pn-body ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.pn-body li { position: relative; padding-left: 20px; overflow-wrap: anywhere; }
.pn-body li::before { content: ''; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); transform: rotate(45deg); }
.pn-body b { color: var(--ink); }
.pn-article > .btn { margin-top: 10px; }
.pn-empty { display: grid; place-content: center; height: 100%; text-align: center; color: var(--ink-dim); }
.pn-empty h2 { color: var(--ink); margin-bottom: 6px; }
.pn-foot { padding: 12px 26px; border-top: 1px solid var(--line); font-size: 13px; }
.pn-foot a { color: var(--accent-2); font-weight: 600; }
@media (max-width: 760px) {
  .patch-notes { width: calc(100vw - 20px); height: calc(100svh - 20px); }
  .pn-head { padding: 16px 18px 14px; }
  .pn-head h1 { font-size: 22px; }
  .pn-main { display: flex; flex-direction: column; overflow-y: auto; }
  .pn-list { flex: none; display: flex; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .pn-item { flex: 0 0 220px; }
  .pn-content { overflow: visible; padding: 22px 18px 30px; }
  .pn-article h2 { font-size: 24px; }
}

.staff-tabs { margin: 24px 0 4px; }
.staff-tabs .chip[aria-current="page"] { background: var(--panel-3); border-color: #34343a; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 14px; }
.perm-area h2 { margin-bottom: 10px; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.perm-area h2 a { color: var(--accent); }
.perm-area ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.perm { display: flex; gap: 10px; align-items: baseline; line-height: 1.45; }
.perm-mark { flex: none; width: 16px; font-weight: 800; text-align: center; }
.perm.yes .perm-mark { color: var(--win, #4caf73); }
.perm.no { color: var(--ink-dim); }
.perm.no .perm-mark { color: var(--loss, #e0564b); }
.perm small { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: var(--panel-3); font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }

.tag-launch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tag-launch p { margin: 0; font-size: 14px; }
.tag-dialog { width: min(980px, calc(100vw - 32px)); max-height: calc(100svh - 48px); max-width: none; padding: 0; border: 1px solid #ffffff1f; border-radius: 14px; background: #0f1014f7; color: var(--ink); box-shadow: 0 30px 80px #000d, 0 0 0 1px #000; overflow: hidden; }
.tag-dialog[open] { display: flex; flex-direction: column; }
.tag-dialog::backdrop { background: #05060acc; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; border-bottom: 1px solid var(--line); }
.tag-dialog-head h2 { margin: 2px 0 0; font-size: 22px; font-weight: 800; }
.tag-dialog-x { flex: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink-dim); font-size: 22px; line-height: 1; cursor: pointer; }
.tag-dialog-x:hover { color: var(--ink); }
.tag-dialog-body { overflow-y: auto; padding: 20px 22px 24px; }
.tag-dialog .tag-editor { grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); align-items: start; gap: 22px 28px; }
.tag-dialog .tag-editor > #tag-form, .tag-dialog .tag-editor > .form-error { grid-column: 1 / -1; }
.tag-dialog .tag-form { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.tag-dialog .form-error:empty { display: none; }
@media (max-width: 600px) {
  .tag-dialog { width: 100vw; max-height: 100svh; border-radius: 0; }
  .tag-dialog-body { padding: 14px; }
}

.results-org { display: block; margin-top: 2px; font-size: 12px; }
.results-table td { vertical-align: middle; }
.result-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 6px 0 12px; }
.result-bar label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.result-bar .hint { font-size: 13px; color: var(--ink-dim); }
.results-detail td { vertical-align: middle; }
.result-place { white-space: nowrap; }
.result-team { margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--accent); }
.result-check { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.result-check select.input { width: auto; min-width: 70px; }
.result-link { display: flex; gap: 6px; }
.result-link .input { width: 160px; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 8px; }
.result-similar { color: #ffb347; font-weight: 700; }
.result-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.result-pick select.input { width: auto; max-width: 180px; }
.results-detail td .link-btn { margin-left: 6px; }
.placing { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.placing-place { flex: none; min-width: 46px; padding: 3px 0; border-radius: 4px; background: var(--panel-3); color: var(--ink); font-weight: 800; font-size: 13px; text-align: center; }
.placing-place.top1 { background: linear-gradient(135deg, #fff1a8, #f2c230 45%, #b8860b); color: #2a1c02; }
.placing-place.top2 { background: linear-gradient(135deg, #f4f6f8, #b9c0c8 50%, #7d858f); color: #15181c; }
.placing-place.top3 { background: linear-gradient(135deg, #ffd0a1, #c87f3e 50%, #7a4318); color: #1f0f03; }
.placing .placing-result { font-size: 14px; font-weight: 600; color: var(--ink); }
.result-teampick { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--ink-dim); white-space: nowrap; }
.result-teampick select.input { width: auto; max-width: 190px; }
.live .stale-note { color: #ffb347; font-weight: 600; cursor: help; }
.points-row { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.points-row > div { display: grid; gap: 2px; }
.points-row b { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.points-total b { color: var(--accent); }
.points-row span { font-size: 13px; color: var(--ink-dim); }
.points-modes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.points-modes b { color: var(--ink); margin-left: 4px; }
.result-panel { overflow-x: auto; }
.result-panel .results-detail { min-width: 760px; }
.result-place-input { width: 64px; }
.result-noplaces { color: #ffb347; }
.staff-tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px 0 4px; margin-left: 6px; border-radius: 3px; font: 800 11px/1 Rubik, sans-serif; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; cursor: help; vertical-align: middle; border: 1px solid; }
.staff-tag img { width: 12px; height: 12px; border-radius: 2px; }
.staff-admin { background: #2a1f05; border-color: var(--accent); color: #ffd56a; }
.staff-mod { background: #1d1530; border-color: #8f6bff; color: #c9b8ff; }
.staff-reviewer { background: #0d2230; border-color: #4aa8e8; color: #9fd6ff; }
.name-tags .staff-tag { margin: 0; height: 26px; padding: 0 9px 0 6px; font-size: 13px; }
.name-tags .staff-tag img { width: 14px; height: 14px; }
.staff-plays { min-width: 160px; }
.staff-plays .acct { display: inline-flex; align-items: center; gap: 4px; margin: 0 4px 4px 0; }
.staff-plays .link-btn { margin-left: 2px; }
.log-table td { vertical-align: top; }
.log-when { white-space: nowrap; }
.log-who { white-space: nowrap; }
.log-table td a { color: var(--accent-2); }

.result-add { margin: 0 0 14px; max-width: 560px; }
.result-add label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.result-add-row { display: flex; gap: 8px; }
.result-add-row .input { flex: 1; min-width: 0; }
.result-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 24px; margin-bottom: 6px; }
.result-tools .result-add { max-width: none; }
.result-tools small { display: block; margin-top: 6px; font-size: 12.5px; }
.result-hosts { margin: 4px 0 14px; }
.result-hosts summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.result-hosts-body { padding: 8px 0 0; }
.result-host-list { list-style: none; margin: 0; padding: 0; }
.result-host-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 6px 0; border-bottom: 1px solid var(--line, rgba(127,127,127,.2)); }
.result-host-list .link-btn { margin-left: auto; }
.result-searching { margin-left: 8px; font-size: 14px; }

.top-teams .rank { color: var(--ink-dim); font-weight: 600; width: 40px; }
.top-team { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.top-team:hover b { color: var(--accent); }
.top-team .team-tag { margin: 0; cursor: pointer; }
.top-team-latest { display: block; margin-top: 3px; font-size: 12.5px; }
.crumbs { margin: 4px 0 10px; font-size: 14px; }
.crumbs a { color: var(--accent); }
.team-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.team-hero h1 { margin: 0; }
.team-hero p { margin: 4px 0 0; }
.team-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.team-stat { background: var(--panel, rgba(127,127,127,.06)); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.team-stat span { display: block; color: var(--ink-dim); font-size: 13px; }
.team-stat b { font-size: 21px; font-variant-numeric: tabular-nums; }
.team-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 24px; }
@media (max-width: 760px) { .team-cols { grid-template-columns: 1fr; } }
.team-ach-list, .team-roster { list-style: none; margin: 0; padding: 0; }
.team-ach { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.team-ach:last-child, .team-roster li:last-child { border-bottom: 0; }
.team-ach-icon { width: 22px; text-align: center; flex: none; }
.team-ach > div { flex: 1; min-width: 0; }
.team-ach > div > a { color: inherit; }
.team-ach > div > a:hover { color: var(--accent); }
.team-ach small { display: block; margin-top: 2px; }
.team-ach-form { margin-top: 14px; display: grid; gap: 8px; }
.team-ach-form .h { margin: 0; }
.team-ach-form .btn { justify-self: start; }
.team-roster li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.team-roster a { display: inline-flex; align-items: center; gap: 6px; }
.team-roster-past a { color: var(--ink-dim); }
.team-past-h { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-dim); margin: 14px 0 4px; }
.team-ach-link { margin-left: auto; font-size: 13px; color: var(--accent); }
.top-teams th { white-space: nowrap; }

.comp-drop summary { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; cursor: pointer; list-style: none; }
.comp-drop summary::-webkit-details-marker { display: none; }
.comp-drop summary h3 { margin: 0; }
.comp-drop-best { flex-basis: 100%; font-size: 13px; color: var(--ink-dim); line-height: 1.4; }
.comp-drop-best b { color: var(--ink); }
.comp-drop-arrow { margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--ink-dim); border-bottom: 2px solid var(--ink-dim); transform: rotate(45deg); transition: transform .15s; flex: none; }
.comp-drop[open] .comp-drop-arrow { transform: rotate(-135deg); }
.comp-drop[open] summary { margin-bottom: 6px; }
.comp-drop summary:hover h3 { color: var(--ink); }

.ranked-card .rating-top { flex-wrap: wrap; gap: 8px 12px; }
.rank-badge { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 6px; font-weight: 800; font-size: 15px; letter-spacing: .3px; background: var(--panel-3); color: var(--ink); }
.rank-bronze { background: linear-gradient(135deg, #e7b089, #a0623a 55%, #6a3a1d); color: #1d0e04; }
.rank-silver { background: linear-gradient(135deg, #f3f5f7, #aeb5bd 55%, #6f7781); color: #14171a; }
.rank-gold { background: linear-gradient(135deg, #fff1a8, #f2c230 50%, #b8860b); color: #2a1c02; }
.rank-platinum { background: linear-gradient(135deg, #d8fbf6, #5fd0c3 55%, #23857c); color: #04201d; }
.rank-diamond { background: linear-gradient(135deg, #dcecff, #6aa8ff 55%, #2d5fc2); color: #06132b; }
.rank-master { background: linear-gradient(135deg, #ffc2c2, #e0393b 55%, #8e1416); color: #fff; }
.rank-grandmaster { background: linear-gradient(135deg, #f1d9ff, #b16cf0 55%, #6a2bb0); color: #fff; }
.rank-unranked { background: var(--panel-3); color: var(--ink-dim); }
.rank-gm { font-size: 13px; font-weight: 700; color: #f2c230; }
.ranked-rp { margin-top: 14px; font-size: 26px; }
.ranked-card .rating-bar i { background: var(--accent); }
.session-ranked { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 10px; background: var(--panel-3); color: var(--accent); font-weight: 600; font-size: 11px; }

.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 10px; }
.footer-top .footer-brand { margin: 0; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-actions .btn { text-decoration: none; }

.feedback-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.feedback-dialog::backdrop { background: #000a; backdrop-filter: blur(4px); }
.fb-form { display: grid; gap: 14px; padding: 22px 24px 24px; }
.fb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fb-head h2 { margin: 0; font-size: 24px; }
.fb-form > p { margin: 0; }
.fb-field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.fb-field small { color: var(--ink-faint); font-weight: 500; }
.fb-field textarea { resize: vertical; min-height: 110px; font: inherit; padding: 10px 12px; }
.fb-kind { justify-self: start; }
.fb-page { font-size: 12px; }
.fb-error { margin: 0; color: #ff6b6b; font-weight: 600; }
.fb-actions { display: flex; justify-content: flex-end; gap: 8px; }
.fb-list { display: grid; gap: 10px; margin-top: 12px; }
.fb-item { padding: 16px 18px; display: grid; gap: 8px; }
.fb-item header, .fb-item footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; }
.fb-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.fb-kind { height: auto; flex-wrap: wrap; justify-self: stretch; }
.fb-kind > * { min-height: 38px; flex: 1 1 auto; justify-content: center; padding: 0 14px; }
.fb-field[hidden] { display: none; }
.fb-bf { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.fb-bf a { color: var(--accent); }
.fb-types { margin-bottom: 4px; }
.fb-count { margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink, #000); font-size: 11px; }
