:root {
  --bg: #07090d;
  --bg2: #0b0e15;
  --panel: #10141c;
  --panel2: #151a25;
  --panel3: #1b2130;
  --line: #1f2533;
  --line2: #2a3244;
  --text: #eef1f7;
  --muted: #9aa3b8;
  --dim: #626b80;
  --red: #ff4b2b;
  --red-d: #b8230f;
  --gold: #ffc53d;
  --rad: #74e36b;
  --dire: #ff5a47;
  --str: #ff6a3d;
  --agi: #3ee07d;
  --int: #3cc8ff;
  --uni: #d6a0ff;
  --wr-hi: #4fe38a;
  --wr-up: #a6e36b;
  --wr-mid: #c9cfdc;
  --wr-dn: #ffab4a;
  --wr-lo: #ff5d4f;
  --r: 16px;
  --r-s: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 75, 43, .10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 197, 61, .06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.45 Manrope, system-ui, -apple-system, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, .display { font-family: Unbounded, Manrope, sans-serif; letter-spacing: -.01em; margin: 0; }
img { display: block; }
img.x { opacity: 0; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  height: 64px; padding: 0 28px;
  background: rgba(7, 9, 13, .78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font: 900 19px Unbounded, sans-serif; letter-spacing: .02em; }
.logo i { font-style: normal; color: var(--gold); font-weight: 500; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 14px; transition: .15s; }
.nav a:hover { color: var(--text); background: var(--panel2); }
.nav a.on { color: #fff; background: linear-gradient(135deg, rgba(255, 75, 43, .28), rgba(255, 197, 61, .14)); box-shadow: inset 0 0 0 1px rgba(255, 110, 70, .35); }
.search { position: relative; display: flex; align-items: center; gap: 8px; color: var(--dim); }
.top-search { margin-left: auto; width: 300px; padding: 0 14px; height: 40px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line2); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 600 14px Manrope, sans-serif; }
.search input::placeholder { color: var(--dim); }
.top-search:focus-within { border-color: rgba(255, 110, 70, .6); box-shadow: 0 0 0 4px rgba(255, 75, 43, .12); }
.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: var(--panel2); border: 1px solid var(--line2); border-radius: 14px; box-shadow: var(--shadow);
  padding: 6px; display: none; max-height: 420px; overflow: auto;
}
.suggest.show { display: block; }
.suggest .sg-h { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); padding: 8px 10px 4px; font-weight: 800; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 9px; color: var(--text); font-weight: 700; font-size: 14px; }
.suggest a:hover, .suggest a.act { background: var(--panel3); }
.suggest a small { margin-left: auto; color: var(--muted); font-weight: 600; }
.suggest .pt { width: 48px; height: 27px; border-radius: 5px; }
.patch { font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); white-space: nowrap; }
.patch b { color: var(--gold); }
.steam-btn { display: flex; align-items: center; gap: 8px; border: 0; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 13px; background: linear-gradient(135deg, var(--red), #ff7a2b); color: #fff; box-shadow: 0 6px 20px rgba(255, 75, 43, .35); white-space: nowrap; }
.steam-btn:hover { filter: brightness(1.1); }

main { min-height: 70vh; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.foot { max-width: 1320px; margin: 60px auto 0; padding: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }

/* ---------- basic blocks ---------- */
.sec { margin-top: 44px; }
.sec-h { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.sec-h h2 { font-size: 22px; font-weight: 700; }
.sec-h p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.sec-h .more { margin-left: auto; color: var(--gold); font-weight: 800; font-size: 14px; white-space: nowrap; }
.sec-h .more:hover { text-decoration: underline; }
.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.card h3 small { font: 600 12px Manrope, sans-serif; color: var(--dim); margin-left: auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.up { color: var(--wr-hi); }
.down { color: var(--wr-lo); }

.wr-hi { --wr: var(--wr-hi); } .wr-up { --wr: var(--wr-up); } .wr-mid { --wr: var(--wr-mid); } .wr-dn { --wr: var(--wr-dn); } .wr-lo { --wr: var(--wr-lo); }
.wrt { color: var(--wr); font-weight: 800; }

/* portrait */
.pt {
  position: relative; display: block; flex: none;
  width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #252c3d, #141925);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .18s, box-shadow .18s;
}
.pt::before { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font: 700 12px Unbounded; color: var(--dim); }
.pt img { position: relative; width: 100%; height: 100%; object-fit: cover; }
a.pt:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 2px var(--gold), 0 8px 24px rgba(0, 0, 0, .5); z-index: 2; }
.pt.sm { width: 64px; border-radius: 6px; }
.pt.xs { width: 44px; border-radius: 5px; }
.pt.lg { width: 140px; border-radius: 10px; }
.hi { width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--panel3); object-fit: cover; }

.it { position: relative; display: inline-block; width: 40px; height: 29px; border-radius: 5px; overflow: hidden; background: #0b0e14; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); flex: none; }
.it img { width: 100%; height: 100%; object-fit: cover; }
.it.lg { width: 58px; height: 42px; border-radius: 7px; }
.it.empty { background: repeating-linear-gradient(45deg, #0e1118 0 6px, #121621 6px 12px); }
.it b { position: absolute; right: 2px; bottom: 1px; font-size: 11px; font-weight: 800; text-shadow: 0 1px 2px #000, 0 0 4px #000; }
.items { display: flex; gap: 3px; flex-wrap: nowrap; }

.medal { position: relative; display: inline-block; width: 44px; height: 44px; flex: none; }
.medal img { position: absolute; inset: 0; width: 100%; height: 100%; }
.medal.lg { width: 110px; height: 110px; }
.medal.sm { width: 30px; height: 30px; }
.medal .lbn { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font: 800 10px Manrope; color: #fff; text-shadow: 0 1px 3px #000; }
.medal.lg .lbn { font-size: 17px; bottom: 10%; }

.attr { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line2); color: var(--muted); font-weight: 700; font-size: 13px; transition: .15s; white-space: nowrap; }
button.chip:hover { color: var(--text); border-color: #3a4459; }
.chip.on { color: #fff; background: linear-gradient(135deg, rgba(255, 75, 43, .35), rgba(255, 150, 43, .2)); border-color: rgba(255, 110, 70, .6); }
.chip img.attr { width: 16px; height: 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; background: var(--panel3); color: var(--muted); }

.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--wr, var(--gold)); }

/* ---------- tooltip ---------- */
.tip {
  position: fixed; z-index: 100; pointer-events: none; opacity: 0; transform: translateY(4px);
  transition: opacity .12s, transform .12s;
  background: rgba(19, 23, 33, .97); border: 1px solid var(--line2); border-radius: 12px;
  padding: 10px 12px; font-size: 13px; box-shadow: var(--shadow); max-width: 280px;
}
.tip.show { opacity: 1; transform: none; }
.tip b { font-weight: 800; }
.tt-hero { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; }
.tt-hero .pt { width: 96px; }
.tt-hero .n { font: 700 14px Unbounded; margin-bottom: 2px; }
.tt-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 2px 14px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.tt-stats b { display: block; color: var(--text); font-size: 14px; }
.tt-row { display: flex; justify-content: space-between; gap: 18px; }
.tt-row .sw { display: inline-block; width: 10px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

/* ---------- home: hero wall ---------- */
.hero-wall { position: relative; height: 560px; overflow: hidden; }
.wall { position: absolute; inset: -160px -14%; justify-content: center; display: flex; flex-direction: column; gap: 12px; transform: rotate(-6deg) scale(1.08); }
.wall-row { display: flex; gap: 12px; width: max-content; animation: slide 160s linear infinite; }
.wall-row:nth-child(2n) { animation-direction: reverse; animation-duration: 190s; }
.wall-row:nth-child(3n) { animation-duration: 140s; }
.wall-row .pt { width: 188px; border-radius: 10px; filter: saturate(1.15); }
.wall-row .pt:hover { transform: scale(1.08); filter: saturate(1.3) brightness(1.1); }
@keyframes slide { to { transform: translateX(-50%); } }
.hero-wall::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(7, 9, 13, .92) 25%, rgba(7, 9, 13, .55) 65%, rgba(7, 9, 13, .2)),
    linear-gradient(180deg, rgba(7, 9, 13, .6), transparent 25%, transparent 70%, var(--bg));
}
.hw-center { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; pointer-events: none; }
.hw-center > * { pointer-events: auto; }
.hw-center h1 { font-size: clamp(34px, 5.6vw, 72px); font-weight: 900; line-height: 1.02; margin: 14px 0 12px; text-transform: uppercase; }
.hw-center h1 span { background: linear-gradient(95deg, #ffd35c, #ff4b2b 55%, #ff2b6a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hw-center .lead { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 0 26px; }
.big-search { width: min(640px, 100%); height: 60px; padding: 0 22px; border-radius: 18px; background: rgba(16, 20, 28, .85); border: 1px solid var(--line2); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.big-search input { font-size: 17px; }
.big-search:focus-within { border-color: rgba(255, 110, 70, .7); box-shadow: 0 0 0 5px rgba(255, 75, 43, .15), var(--shadow); }
.big-search .kbd { font-size: 12px; color: var(--dim); border: 1px solid var(--line2); border-radius: 6px; padding: 2px 7px; }
.hw-quick { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }
.hw-quick a { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(21, 26, 37, .85); border: 1px solid var(--line2); font-weight: 700; font-size: 13px; }
.hw-quick a:hover { border-color: var(--gold); }
.hw-quick .hi { width: 26px; height: 26px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 3; }
.kpi { padding: 18px 20px; border-radius: var(--r); background: linear-gradient(180deg, rgba(27, 33, 48, .95), rgba(16, 20, 28, .95)); border: 1px solid var(--line2); box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; min-width: 0; }
.kpi .l { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.kpi .v { font: 700 26px Unbounded; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .s { font-size: 13px; color: var(--muted); }
.kpi .pt { width: 88px; }
.kpi > div { min-width: 0; }

/* ---------- tier list ---------- */
.tier-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.tier-row:first-child { border-top: 0; padding-top: 0; }
.tier-l { height: 64px; border-radius: 14px; display: grid; place-items: center; font: 900 30px Unbounded; color: #0b0d12; }
.t-S { background: linear-gradient(135deg, #ffe07a, #ff8a2b); box-shadow: 0 6px 22px rgba(255, 150, 43, .35); }
.t-A { background: linear-gradient(135deg, #ff9a6a, #ff4b2b); }
.t-B { background: linear-gradient(135deg, #b8f07a, #3ec46d); }
.t-C { background: linear-gradient(135deg, #7ad8ff, #3c7dff); }
.t-D { background: linear-gradient(135deg, #8e97ab, #545d70); }
.tier-heroes { display: flex; flex-wrap: wrap; gap: 8px; }
.th { display: flex; flex-direction: column; gap: 3px; align-items: center; font-size: 12px; font-weight: 800; }
.th .pt { width: 84px; }
.th.big .pt { width: 112px; }

/* movers */
.mover { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.mover:first-of-type { border-top: 0; }
.mover .nm { font-weight: 800; }
.mover .sub { font-size: 12px; color: var(--muted); }
.mover .dl { margin-left: auto; font: 700 15px Unbounded; }
.mover svg { flex: none; }

/* positions */
.poscols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.poscol { padding: 16px; }
.poscol .ph { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.posn { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 800 14px Unbounded; background: var(--panel3); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 197, 61, .3); }
.poscol .ph b { font-size: 14px; }
.prow { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
.prow .pt { width: 58px; }
.prow .nm { font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* match cards */
.mcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mcard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); transition: .15s; }
.mcard:hover { border-color: var(--line2); transform: translateY(-2px); box-shadow: var(--shadow); }
.mcard .team { display: flex; gap: 4px; }
.mcard .team.dire { justify-content: flex-end; }
.mcard .team .pt { width: 52px; }
.mcard .team.lose .pt { filter: grayscale(.7) brightness(.7); }
.mc-mid { text-align: center; min-width: 96px; }
.mc-score { font: 700 20px Unbounded; }
.mc-score .r { color: var(--rad); } .mc-score .d { color: var(--dire); }
.mc-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.mc-top { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: -6px; }
.mc-top .w { color: var(--rad); } .mc-top .wd { color: var(--dire); }

/* ---------- heroes page ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: 40px; font-weight: 900; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 680px; }
.filters { position: sticky; top: 64px; z-index: 20; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding: 14px 0; margin-top: 16px; background: linear-gradient(180deg, var(--bg) 70%, transparent); }
.filters .search.inline { height: 38px; padding: 0 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line2); width: 220px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line2); }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.seg button.on { background: var(--panel3); color: #fff; box-shadow: inset 0 0 0 1px var(--line2); }
.seg button img { width: 22px; height: 22px; }
.fl-sep { width: 1px; height: 24px; background: var(--line2); }

.hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.hcard { position: relative; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .18s, box-shadow .18s, border-color .18s; }
.hcard:hover { transform: translateY(-4px); border-color: var(--ac); box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 0 1px var(--ac), 0 0 30px -6px var(--ac); }
.hcard .pt { width: 100%; border-radius: 0; box-shadow: none; }
.hcard:hover .pt { transform: none; box-shadow: none; }
.hcard:hover .pt img { transform: scale(1.08); }
.hcard .pt img { transition: transform .35s; }
.hc-tier { position: absolute; top: 8px; left: 8px; z-index: 3; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font: 900 12px Unbounded; color: #0b0d12; }
.hc-attr { position: absolute; top: 8px; right: 8px; z-index: 3; width: 20px; height: 20px; filter: drop-shadow(0 1px 3px #000); }
.hc-body { padding: 10px 12px 12px; }
.hc-name { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }
.hc-wr { font: 700 18px Unbounded; color: var(--wr); }
.hc-pick { font-size: 11px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.hc-row { gap: 6px; }
.hc-body .bar { margin-top: 8px; height: 4px; }
.hc-body .bar i { background: linear-gradient(90deg, var(--red), var(--gold)); }

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl th { position: sticky; top: 130px; z-index: 5; background: var(--bg2); text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 10px 12px; border-bottom: 1px solid var(--line2); white-space: nowrap; user-select: none; }
.tbl th[data-sort] { cursor: pointer; }
.tbl th[data-sort]:hover { color: var(--text); }
.tbl th.on { color: var(--gold); }
.tbl th.on::after { content: " ↓"; }
.tbl th.on.asc::after { content: " ↑"; }
.tbl td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.tbl tbody tr { transition: background .1s; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .025); }
.tbl .hn { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.tbl .hn .pt { width: 72px; }
.tbl .num { text-align: right; }
.cellbar { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.cellbar b { width: 52px; text-align: right; }
.cellbar .bar { flex: 1; }
.tbl-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.tbl-wrap .tbl th { position: static; }

/* ---------- hero page ---------- */
.hp-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hp-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) saturate(1.6) brightness(.45); transform: scale(1.2); }
.hp-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 9, 13, .6) 45%, rgba(7, 9, 13, .2) 70%, rgba(7, 9, 13, .7)), linear-gradient(180deg, transparent 60%, var(--bg)); }
.hp-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; min-height: 460px; }
.hp-info { padding: 48px 0 40px; }
.hp-crumbs { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.hp-crumbs a:hover { color: var(--text); }
.hp-name { font-size: clamp(40px, 5vw, 68px); font-weight: 900; line-height: 1; text-transform: uppercase; }
.hp-tags { display: flex; gap: 8px; align-items: center; margin: 16px 0 26px; flex-wrap: wrap; }
.hp-render { position: relative; height: 460px; display: flex; align-items: flex-end; justify-content: center; }
.hp-render video, .hp-render > img { height: 118%; width: auto; max-width: 150%; object-fit: contain; margin-bottom: -40px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.hp-glow { position: absolute; bottom: 0; left: 50%; width: 520px; height: 520px; transform: translate(-50%, 35%); border-radius: 50%; background: radial-gradient(circle, var(--ac) 0%, transparent 65%); opacity: .35; }
.hp-stats { display: grid; grid-template-columns: repeat(5, auto); gap: 10px; justify-content: start; }
.stat { padding: 12px 16px; border-radius: 14px; background: rgba(16, 20, 28, .72); border: 1px solid var(--line2); backdrop-filter: blur(8px); min-width: 108px; }
.stat .l { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stat .v { font: 700 24px Unbounded; margin-top: 2px; }
.stat .s { font-size: 12px; font-weight: 700; margin-top: 1px; }
.tier-badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 900 16px Unbounded; color: #0b0d12; }

.hp-body { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; margin-top: 28px; }
.hp-body > div { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.build { display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; }
.bstep { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
.bstep .t { color: var(--muted); font-weight: 700; }
.bstep .w { font-weight: 800; }
.barrow { color: var(--dim); margin-top: 12px; font-size: 18px; }

.rb { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: stretch; }
.rb-col { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: default; }
.rb-track { position: relative; width: 100%; height: 150px; }
.rb-track::before { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; border-top: 1px dashed var(--line2); }
.rb-bar { position: absolute; left: 22%; right: 22%; border-radius: 4px; }
.rb-bar.pos { bottom: 50%; background: var(--wr-hi); border-radius: 4px 4px 0 0; }
.rb-bar.neg { top: 50%; background: var(--wr-lo); border-radius: 0 0 4px 4px; }
.rb-val { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 800; }
.rb-col:hover .rb-bar { filter: brightness(1.2); }
.rb-col .medal { width: 40px; height: 40px; }

.mu { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mu-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mu-row:first-of-type { border-top: 0; }
.mu-row .pt { width: 64px; }
.mu-row .nm { font-weight: 800; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mu-row .adv { font-weight: 800; width: 56px; text-align: right; }
.mu-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.mu-h i { width: 8px; height: 8px; border-radius: 50%; }

.irow { display: grid; grid-template-columns: 40px 1fr 60px 140px; gap: 12px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.irow:first-of-type { border-top: 0; }
.irow .nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lane { display: flex; height: 34px; border-radius: 10px; overflow: hidden; gap: 2px; }
.lane div { display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #0b0d12; }
.lane-leg { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--muted); font-weight: 700; flex-wrap: wrap; }
.lane-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.plist .prow { padding: 7px 0; border-top: 1px solid var(--line); }
.plist .prow:first-child { border-top: 0; }

/* ---------- charts ---------- */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .gl { stroke: rgba(255, 255, 255, .06); }
.chart .ref { stroke: rgba(255, 255, 255, .22); stroke-dasharray: 4 4; }
.chart text { fill: var(--dim); font: 600 11px Manrope; }
.chart .xh { stroke: rgba(255, 255, 255, .35); opacity: 0; }
.chart .hd { opacity: 0; stroke: var(--panel); stroke-width: 2; }
.chart.hov .xh, .chart.hov .hd { opacity: 1; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 8px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.legend i.dash { background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px) !important; }

/* ---------- player ---------- */
.pp-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.pp-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; filter: saturate(1.3) brightness(.4); }
.pp-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 13, .3), var(--bg)), linear-gradient(90deg, rgba(7, 9, 13, .85), transparent 70%); }
.pp-head .wrap { position: relative; z-index: 2; }
.pp-inner { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 26px; padding: 70px 0 32px; flex-wrap: wrap; }
.pp-ava { width: 128px; height: 128px; border-radius: 28px; object-fit: cover; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--gold), var(--shadow); background: var(--panel3); }
.pp-name { font-size: 42px; font-weight: 900; }
.pp-sub { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 700; margin-top: 8px; align-items: center; }
.pp-rank { display: flex; align-items: center; gap: 14px; margin-left: auto; padding: 12px 20px 12px 12px; border-radius: 20px; background: rgba(16, 20, 28, .75); border: 1px solid var(--line2); backdrop-filter: blur(8px); }
.pp-rank .rn { font: 700 22px Unbounded; }
.pp-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 24px; }

.heat { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; gap: 3px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, .05); }
.heat i.l1 { background: #5a2416; } .heat i.l2 { background: #9a3418; } .heat i.l3 { background: #e0481f; } .heat i.l4 { background: #ffa23a; }
.heat-leg { display: flex; align-items: center; gap: 4px; justify-content: flex-end; font-size: 11px; color: var(--dim); margin-top: 8px; }
.heat-leg i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

.mlist { display: flex; flex-direction: column; }
.mrow { display: grid; grid-template-columns: 4px 80px 124px 70px 84px minmax(0, 1fr) 64px; gap: 10px; align-items: center; padding: 8px 14px 8px 0; border-top: 1px solid var(--line); font-size: 13px; transition: background .1s; }
.mrow:hover { background: rgba(255, 255, 255, .03); }
.mrow .res { align-self: stretch; border-radius: 0 3px 3px 0; }
.mrow.w .res { background: var(--rad); } .mrow.l .res { background: var(--dire); }
.mrow .rt { font-weight: 800; }
.mrow.w .rt { color: var(--rad); } .mrow.l .rt { color: var(--dire); }
.mrow .kda b { font-size: 14px; }
.mrow .pt { width: 80px; }

.posbars .pb { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; padding: 5px 0; }
.posbars .bar { height: 10px; }
.posbars .bar i { background: linear-gradient(90deg, var(--red), var(--gold)); }

/* ---------- match ---------- */
.mp-head { position: relative; padding: 44px 0 30px; overflow: hidden; border-bottom: 1px solid var(--line); }
.mp-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 20% 0%, var(--wc), transparent 70%); opacity: .25; }
.mp-top { position: relative; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.mp-res { font-size: 44px; font-weight: 900; text-transform: uppercase; line-height: 1; color: var(--wc); }
.mp-score { display: flex; align-items: center; gap: 18px; font: 900 48px Unbounded; margin-left: auto; }
.mp-score .r { color: var(--rad); } .mp-score .d { color: var(--dire); }
.mp-score small { font: 700 14px Manrope; color: var(--muted); display: block; text-align: center; }
.mp-meta { position: relative; display: flex; gap: 20px; margin-top: 16px; color: var(--muted); font-weight: 700; font-size: 14px; flex-wrap: wrap; align-items: center; }
.draft { display: flex; gap: 22px; flex-wrap: wrap; }
.draft .side { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.draft .ban { position: relative; }
.draft .ban .pt { width: 52px; filter: grayscale(1) brightness(.55); }
.draft .ban::after { content: ""; position: absolute; left: 50%; top: 50%; width: 110%; height: 2px; background: var(--dire); transform: translate(-50%, -50%) rotate(-28deg); }
.team-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.team-h h3 { font-size: 18px; margin: 0; }
.team-h .wtag { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.team-h.rad h3 { color: var(--rad); } .team-h.dire h3 { color: var(--dire); }
.wtag { background: rgba(255, 197, 61, .15); color: var(--gold); }
.mtbl .pl { display: flex; align-items: center; gap: 12px; }
.mtbl .pl .pt { width: 76px; }
.mtbl .lvl { position: absolute; right: 2px; bottom: 2px; z-index: 2; background: rgba(0, 0, 0, .8); font-size: 10px; font-weight: 800; padding: 0 4px; border-radius: 4px; }
.mtbl .nk { font-weight: 800; }
.mtbl .nk:hover { color: var(--gold); }
.mtbl .sub { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.mtbl tr.me td { background: rgba(255, 197, 61, .06); }
.nwv { color: var(--gold); font-weight: 800; }

/* ---------- leaderboard ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; margin-bottom: 26px; }
.pod { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line2); padding: 22px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.pod.first { min-height: 280px; border-color: rgba(255, 197, 61, .5); box-shadow: 0 0 60px -20px rgba(255, 197, 61, .5); }
.pod-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.45) saturate(1.2); transition: transform .4s; }
.pod:hover .pod-bg { transform: scale(1.06); }
.pod::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(7, 9, 13, .95)); }
.pod > *:not(.pod-bg) { position: relative; z-index: 2; }
.pod .place { font: 900 54px Unbounded; line-height: 1; background: linear-gradient(180deg, #fff, #9aa3b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pod.first .place { background: linear-gradient(180deg, #ffe07a, #ff8a2b); -webkit-background-clip: text; background-clip: text; }
.pod .nk { font: 700 22px Unbounded; margin-top: 6px; }
.pod .meta { display: flex; gap: 14px; color: var(--muted); font-size: 13px; font-weight: 700; margin-top: 6px; align-items: center; }
.lbn-cell { font: 700 16px Unbounded; color: var(--muted); width: 50px; }
.rating { font: 700 15px Unbounded; color: var(--gold); }

.empty-state { padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 8px 10px; }
  .patch { display: none; }
  .poscols { grid-template-columns: repeat(3, 1fr); }
  .hp-body { grid-template-columns: 1fr; }
  .pp-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .topbar { gap: 12px; padding: 0 16px; }
  .nav { display: none; }
  .steam-btn { display: none; }
  .top-search { width: auto; flex: 1; }
  .wrap { padding: 0 16px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid2, .grid3, .mu, .mcards { grid-template-columns: 1fr; }
  .poscols { grid-template-columns: 1fr 1fr; }
  .hp-inner { grid-template-columns: 1fr; }
  .hp-render { height: 280px; order: -1; }
  .hp-stats { grid-template-columns: repeat(3, 1fr); }
  .mrow { grid-template-columns: 4px 72px 1fr 90px; }
  .mrow .pt { width: 72px; }
  .mrow > :nth-child(n+5) { display: none; }
  .podium { grid-template-columns: 1fr; }
  .mcard .team .pt { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .wall-row { animation: none; }
}

/* ---------- meta: scatter & pairs ---------- */
.sc { position: relative; height: 520px; margin: 10px 10px 34px 44px; }
.sc-gx, .sc-gy { position: absolute; pointer-events: none; }
.sc-gx { top: 0; bottom: 0; border-left: 1px solid rgba(255, 255, 255, .06); }
.sc-gx span { position: absolute; bottom: -24px; transform: translateX(-50%); font-size: 11px; color: var(--dim); font-weight: 700; }
.sc-gy { left: 0; right: 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.sc-gy.mid { border-top: 1px dashed rgba(255, 255, 255, .25); }
.sc-gy span { position: absolute; left: -42px; top: -8px; font-size: 11px; color: var(--dim); font-weight: 700; }
.sc-q { position: absolute; font: 700 12px Unbounded; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .16); pointer-events: none; }
.sc-q.tl { left: 12px; top: 10px; } .sc-q.tr { right: 12px; top: 10px; color: rgba(255, 197, 61, .45); }
.sc-q.bl { left: 12px; bottom: 10px; } .sc-q.br { right: 12px; bottom: 10px; color: rgba(255, 93, 79, .4); }
.sc-ax { position: absolute; font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.sc-ax.x { right: 0; bottom: -26px; }
.sc-ax.y { left: -44px; top: -4px; transform: rotate(-90deg) translateX(-100%); transform-origin: left top; }
.sc-dot { position: absolute; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--panel3); box-shadow: 0 0 0 2px var(--ac), 0 2px 8px rgba(0, 0, 0, .6); transition: transform .15s; z-index: 1; }
.sc-dot img { width: 100%; height: 100%; border-radius: 50%; }
.sc-dot:hover { transform: translate(-50%, -50%) scale(1.6); z-index: 5; }
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.pair { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.pair .plus { color: var(--gold); font: 900 18px Unbounded; }
.pair > div:last-child { margin-left: auto; text-align: right; }
.pair .wrt { font: 700 17px Unbounded; }

.irow .cellbar { min-width: 0; }
.irow .cellbar b { width: 46px; }
.mrow .items .it { width: 30px; height: 22px; }

/* ---------- topbar: больше пунктов ---------- */
@media (max-width: 1560px) { .patch { display: none; } .top-search { width: 230px; } .nav a { padding: 8px 11px; } }
@media (max-width: 1320px) { .steam-btn { display: none; } }

/* ---------- team badge ---------- */
.tb { position: relative; display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--h) 70% 45%), hsl(calc(var(--h) + 40) 70% 22%)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.tb::before { content: attr(data-l); font: 800 12px Unbounded; color: rgba(255,255,255,.92); letter-spacing: -.02em; }
.tb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12%; background: #151a25; }
.tb img.x { display: none; }
.tb.xs { width: 22px; height: 22px; border-radius: 6px; } .tb.xs::before { font-size: 8px; }
.tb.sm { width: 26px; height: 26px; border-radius: 7px; } .tb.sm::before { font-size: 9px; }
.tb.lg { width: 56px; height: 56px; border-radius: 14px; } .tb.lg::before { font-size: 16px; }
.tb.xl { width: 76px; height: 76px; border-radius: 18px; } .tb.xl::before { font-size: 20px; }
.tb.xxl { width: 140px; height: 140px; border-radius: 30px; box-shadow: 0 20px 60px -10px hsl(var(--h) 80% 40% / .6), inset 0 0 0 1px rgba(255,255,255,.15); } .tb.xxl::before { font-size: 36px; }
.tl { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; min-width: 0; }
.tl span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.tl:hover span:last-child { color: var(--gold); }

.spinner { width: 40px; height: 40px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--gold); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- TI hub ---------- */
.ti-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 30px 0 70px; }
.ti-hero.sm { padding: 40px 0 36px; }
.ti-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(600px 380px at 75% 50%, rgba(255, 197, 61, .22), transparent 70%),
  radial-gradient(900px 400px at 10% 0%, rgba(255, 75, 43, .14), transparent 70%); }
.ti-hero-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 360px; }
.ti-title { font-size: clamp(44px, 6.2vw, 92px); font-weight: 900; line-height: .92; text-transform: uppercase; margin-top: 14px;
  background: linear-gradient(180deg, #fff7dc 0%, #ffc53d 55%, #d0721a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ti-title.sm { font-size: clamp(34px, 4.6vw, 62px); }
.aegis.big { width: 220px; margin-right: 20px; height: auto; filter: drop-shadow(0 0 50px rgba(255, 197, 61, .45)); animation: float 6s ease-in-out infinite; flex: none; }
.aegis.mini { width: 44px; flex: none; }
.aegis.home { position: absolute; right: 24px; top: 20px; width: 110px; opacity: .9; filter: drop-shadow(0 0 30px rgba(255,197,61,.4)); }
@keyframes float { 50% { transform: translateY(-12px) rotate(1.5deg); } }
.ti-hero + .wrap .kpis { margin-top: -44px; }

.pp-chart { display: flex; align-items: flex-end; gap: 8px; height: 340px; padding-top: 20px; }
.pp-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.pp-bar { width: 100%; max-width: 38px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #ffd35c, #ff7a2b); transition: filter .15s; }
.pp-col:hover .pp-bar { filter: brightness(1.25); }
.pp-col.off .pp-bar { background: repeating-linear-gradient(45deg, #2a3244 0 4px, #1b2130 4px 8px); height: 12px !important; }
.pp-v { font-size: 10px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.pp-y { font: 700 12px Unbounded; color: var(--dim); }
.hall { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.hall:first-of-type { border-top: 0; }
.hall .nm { flex: 1; min-width: 0; }
.aegs { display: flex; gap: 4px; }
.aegs img { width: 34px; height: 25px; border-radius: 4px; box-shadow: 0 0 12px rgba(255, 197, 61, .35); }

.ti-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.ti-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255, 197, 61, .08), transparent 40%), linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); transition: .18s; }
a.ti-card:hover { transform: translateY(-3px); border-color: rgba(255, 197, 61, .5); box-shadow: 0 16px 40px -12px rgba(255, 197, 61, .25); }
.ti-card.off { opacity: .6; }
.ti-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ti-y { font: 900 34px Unbounded; line-height: 1; background: linear-gradient(180deg, #fff, #9aa3b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ti-ed { font-size: 12px; font-weight: 800; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.ti-pp { font: 700 14px Unbounded; color: var(--gold); white-space: nowrap; }
.ti-champ { display: flex; align-items: center; gap: 12px; }
.ti-wn { font: 700 17px Unbounded; margin: 2px 0; }

/* ---------- TI year ---------- */
.ti-hero.sm .wrap { position: relative; }
.gf { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-top: 30px; padding: 22px 26px; border-radius: 22px;
  background: rgba(16, 20, 28, .7); border: 1px solid rgba(255, 197, 61, .35); backdrop-filter: blur(8px); box-shadow: 0 0 80px -30px rgba(255, 197, 61, .5); }
.gf-team { display: flex; align-items: center; gap: 16px; min-width: 0; }
.gf-team.r { flex-direction: row-reverse; text-align: right; }
.gf-n { font: 700 22px Unbounded; margin-top: 4px; }
.gf-n .tl .tb { display: none; }
.gf-score { display: flex; align-items: center; gap: 12px; font: 900 54px Unbounded; flex-direction: row; position: relative; }
.gf-score .w { color: var(--gold); }
.gf-score small { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); font: 700 11px Manrope; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.story { display: flex; gap: 18px; align-items: flex-start; }
.story p { margin: 0; font-size: 16px; line-height: 1.6; color: #d6dbe6; }

.rcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.rcard { padding: 16px; border-radius: 14px; background: linear-gradient(180deg, var(--panel3), var(--panel)); border: 1px solid var(--line2); }
.rcard.coach { opacity: .75; border-style: dashed; }
.rc-role { font-size: 11px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.rc-nick { font: 700 20px Unbounded; margin: 6px 0 2px; word-break: break-word; }
.rc-name { font-size: 13px; color: var(--muted); font-weight: 600; }

.bracket { display: flex; flex-direction: column; gap: 22px; overflow-x: auto; padding-bottom: 6px; }
.br-lt { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.br-row { display: flex; gap: 18px; align-items: stretch; }
.br-col { display: flex; flex-direction: column; min-width: 180px; flex: 0 0 180px; }
.br-h { font-size: 12px; font-weight: 700; color: var(--dim); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-ms { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 8px; }
.br-m { border-radius: 10px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line2); }
.br-t { display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.br-t + .br-t { border-top: 1px solid var(--line); }
.br-t .n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-t b { font: 700 13px Unbounded; }
.br-t.w { color: var(--text); background: linear-gradient(90deg, rgba(255, 197, 61, .12), transparent); }
.br-t.w b { color: var(--gold); }

.plc { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.plc:first-of-type { border-top: 0; }
.plc .tl { flex: 0 1 220px; }
.plc-bar { flex: 1; }
.plc > b { min-width: 90px; text-align: right; font-weight: 800; }
.plc-p { min-width: 44px; height: 26px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center; font: 800 12px Unbounded; background: var(--panel3); color: var(--muted); }
.plc-p.p1 { background: linear-gradient(135deg, #ffe07a, #ff8a2b); color: #0b0d12; }
.plc-p.p2 { background: linear-gradient(135deg, #eef1f7, #8e97ab); color: #0b0d12; }
.plc-p.p3 { background: linear-gradient(135deg, #ffb38a, #b8602b); color: #0b0d12; }
a.plc:hover { color: var(--gold); }
.src { display: block; font-size: 12px; color: var(--muted); padding: 3px 0; word-break: break-all; }
.src:hover { color: var(--gold); }
.ti-nav { display: flex; justify-content: space-between; margin-top: 30px; font-weight: 800; }
.ti-nav a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); }
.ti-nav a:hover { border-color: var(--gold); color: var(--gold); }
.ti-home { position: relative; overflow: hidden; display: block; border-color: rgba(255, 197, 61, .3); }
.ti-home:hover { border-color: rgba(255, 197, 61, .6); }

/* ---------- teams ---------- */
.teams-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; margin-top: 6px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.team-card { position: relative; overflow: hidden; padding: 18px; border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(260px 140px at 0% 0%, hsl(var(--h) 70% 40% / .22), transparent 70%), linear-gradient(180deg, var(--panel2), var(--panel)); transition: .18s; }
.team-card:hover { transform: translateY(-3px); border-color: hsl(var(--h) 70% 55% / .7); box-shadow: 0 18px 40px -16px hsl(var(--h) 80% 45% / .6); }
.tc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tc-rank { font: 700 12px Unbounded; color: var(--dim); }
.tc-name { font: 700 16px Unbounded; line-height: 1.15; overflow-wrap: anywhere; }
.tc-ti { margin-left: auto; display: flex; gap: 3px; align-self: flex-start; }
.tc-ti img { width: 26px; height: 19px; border-radius: 3px; box-shadow: 0 0 10px rgba(255, 197, 61, .4); }
.tc-roster { display: flex; flex-direction: column; gap: 6px; }
.tc-p { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.tc-p .posn { width: 22px; height: 22px; font-size: 11px; border-radius: 6px; }
.tc-p .hi { width: 24px; height: 24px; }
.tc-p .nk { font-weight: 800; flex: 1; }
.tc-p .fl { font-size: 16px; }
.tr-feed { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow: auto; }
.tr { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.tr:first-of-type { border-top: 0; }
.tr-d { width: 46px; flex: none; font-weight: 800; color: var(--gold); font-size: 12px; }
.tr-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tr-p { font-size: 14px; }
.tr-m { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tr-m .tl { font-size: 12px; max-width: 120px; }
.tr-m .arr { color: var(--dim); }
.tag.up { background: rgba(79, 227, 138, .15); color: var(--wr-hi); } .tag.down { background: rgba(255, 93, 79, .15); color: var(--wr-lo); }

.team-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 56px 0 40px;
  background: radial-gradient(700px 360px at 12% 30%, hsl(var(--h) 80% 40% / .35), transparent 70%); }
.team-hero-in { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pcard { position: relative; overflow: hidden; min-height: 290px; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel); display: flex; align-items: flex-end; transition: .18s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--gold); }
.pc-bg { position: absolute; inset: 0 0 35% 0; background-size: cover; background-position: center; filter: saturate(1.2); transition: transform .4s; }
.pcard:hover .pc-bg { transform: scale(1.07); }
.pcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 10%, rgba(16, 20, 28, .85) 50%, var(--panel) 70%); z-index: 1; }
.pc-in { position: relative; z-index: 2; padding: 16px; width: 100%; }
.pc-pos { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pc-nick { font: 800 24px Unbounded; margin: 8px 0 2px; word-break: break-word; }
.pc-name { font-size: 13px; color: var(--muted); font-weight: 600; }
.pc-heroes { display: flex; gap: 4px; margin-top: 12px; flex-wrap: wrap; }
.pc-heroes .pt { width: 52px; }
.coach-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; border: 1px dashed var(--line2); width: fit-content; }

@media (max-width: 1180px) { .teams-layout { grid-template-columns: 1fr; } .tr-feed { position: static; max-height: none; } .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 920px) {
  .ti-hero-in { flex-direction: column; align-items: flex-start; min-height: 0; } .aegis.big { width: 150px; align-self: center; }
  .gf { grid-template-columns: 1fr; text-align: center; } .gf-team, .gf-team.r { flex-direction: column; text-align: center; } .gf-score { justify-content: center; }
  .pgrid { grid-template-columns: 1fr 1fr; } .aegis.home { display: none; }
}
.suggest .aegis.mini { width: 22px; }

.aegis.ico { width: 20px; height: 25px; flex: none; filter: drop-shadow(0 0 6px rgba(255,197,61,.45)); }
.aegs .aegis.ico { width: 24px; height: 30px; }
.chip .aegis.ico { width: 16px; height: 20px; }
.ti-hero:not(.sm) { border-bottom: 0; }
