/* Hero (featured live match) */
.hero {
  position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--panel)), color-mix(in srgb, var(--accent-2) 18%, var(--panel)));
  padding: 20px; cursor: pointer; margin-bottom: 16px;
}
.hero:hover { box-shadow: var(--shadow); }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.hero-top .ev { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.hero-team { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.hero-team .tn { font-weight: 800; font-size: 17px; overflow-wrap: anywhere; }
.hero-score { font-size: 44px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.hero-score .sep { color: var(--muted); margin: 0 8px; font-weight: 500; }
.hero-sub { color: var(--muted); font-size: 12px; margin-top: 8px; }
.hero-maps { display: flex; justify-content: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.map-pill { font-size: 11px; padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--panel) 70%, transparent); border: 1px solid var(--line); }
.map-pill.now { border-color: var(--live); color: var(--live); font-weight: 700; }
.map-pill.done { opacity: .6; }

/* Ranking */
.rank-row { display: grid; grid-template-columns: 44px 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.rank-row:first-child { border-top: 0; }
.rank-row:hover { background: var(--panel-2); }
.rank-pos { font-size: 18px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.rank-pos.top1 { color: var(--gold); } .rank-pos.top2 { color: var(--silver); } .rank-pos.top3 { color: var(--bronze); }
.change { font-size: 11px; font-weight: 700; display: block; text-align: center; }
.change.up { color: var(--win); } .change.down { color: var(--lose); } .change.same { color: var(--muted); }
.rank-name { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.points-bar { height: 5px; background: var(--panel-3); border-radius: 99px; margin-top: 6px; overflow: hidden; max-width: 320px; }
.points-bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* Events */
.event-card { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; }
.event-card .en { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress { height: 6px; background: var(--panel-3); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--win), var(--accent)); }
.banner-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.banner-card .banner { aspect-ratio: 16 / 5; width: 100%; object-fit: cover; background: var(--panel-3); }
.banner-card .body { padding: 12px 14px 14px; display: grid; gap: 8px; }
.banner-card .en { font-weight: 800; font-size: 15px; }
.facts { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.facts b { color: var(--text); font-weight: 600; }
.tag { font-size: 11px; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag.lan { color: var(--accent); border-color: var(--accent); }
.tag.picked, .tag.won { color: var(--win); border-color: var(--win); }
.tag.removed, .tag.lost { color: var(--lose); border-color: var(--lose); }
.tag.decider { color: var(--accent); border-color: var(--accent); }
.tag.soon { color: var(--star); border-color: var(--star); }

/* News */
.news-feature { padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.news-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel-3); }
.news-feature .body { padding: 12px 14px 14px; }
.news-feature .t { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.news-line { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--text); }
.news-line:first-child { border-top: 0; }
.news-line:hover { background: var(--panel-2); text-decoration: none; }
.news-line .nt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
