:root {
  --bg: #0e1117;
  --bg-2: #141922;
  --panel: #181e29;
  --panel-2: #1f2633;
  --line: #2a3242;
  --line-soft: #222a38;
  --text: #e6eaf2;
  --text-2: #a9b2c3;
  --muted: #7a8498;
  --accent: #ff7a1a;
  --accent-soft: rgba(255, 122, 26, 0.14);
  --win: #3ccf7a;
  --lose: #ef5a5a;
  --live: #ff3b4e;
  --coal: #4aa3ff;
  --breach: #ffb547;
  --radius: 6px;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  font: 15px/1.45 'Barlow', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
code { font-size: 0.9em; background: var(--panel-2); padding: 1px 5px; border-radius: 3px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--head); letter-spacing: 0.01em; margin: 0; }
h1 { font-size: 34px; line-height: 1.1; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }

/* ---------- header ---------- */
.site-header { background: var(--bg-2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 25px; font-weight: 800; letter-spacing: 0.04em; }
.brand b { color: var(--accent); }
.brand-text { display: flex; flex-direction: column; font-size: 19px; line-height: 0.95; white-space: nowrap; }
.brand-text b { font-size: 14px; letter-spacing: 0.12em; }
.brand:hover { color: var(--text); }
.brand-logo { display: block; height: 28px; width: auto; }
.main-nav { display: flex; gap: 2px; height: 100%; }
.main-nav a {
  display: flex; align-items: center; padding: 0 14px; height: 100%;
  font-family: var(--head); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-2); border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--text); border-bottom-color: var(--accent); }
.search { margin-left: auto; position: relative; }
.search input {
  width: 260px; height: 34px; padding: 0 12px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit;
}
.search input:focus { outline: none; border-color: var(--accent); }
.search-results {
  position: absolute; right: 0; top: 40px; width: 320px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); overflow: hidden;
}
.search-results a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); }
.search-results a:hover, .search-results a.sel { background: var(--panel-2); color: var(--text); }
.search-results .kind { margin-left: auto; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.search-results .empty { padding: 12px; color: var(--muted); }

.live-strip { border-top: 1px solid var(--line-soft); background: #11151d; }
.live-strip:empty { display: none; }
.live-strip .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 6px; padding-bottom: 6px; }
.live-chip {
  display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px;
  padding: 3px 10px; border-radius: 4px; background: var(--panel); border: 1px solid var(--line-soft);
}
.live-chip b { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
#main { flex: 1; padding-top: 20px; padding-bottom: 40px; }
.layout { display: grid; grid-template-columns: 260px minmax(0, 1fr) 280px; gap: 18px; align-items: start; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--text-2); }

.panel { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px;
  background: var(--panel-2); border-bottom: 1px solid var(--line-soft);
  font-family: var(--head); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em;
}
.panel-head a.more { font-family: 'Barlow', sans-serif; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--accent); font-weight: 600; }
.panel-body { padding: 14px; }
.panel-foot { display: block; text-align: center; padding: 9px; font-size: 13px; font-weight: 600; color: var(--accent); border-top: 1px solid var(--line-soft); }
.panel-foot:hover { background: var(--panel-2); }

/* ---------- small atoms ---------- */
.logo {
  display: inline-grid; place-items: center; flex: none; width: var(--s, 24px); height: var(--s, 24px);
  border-radius: 22%; background: var(--c); color: #0e1117; font-family: var(--head); font-weight: 800;
  font-size: calc(var(--s, 24px) * 0.38); letter-spacing: 0; line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}
.flag {
  display: inline-block; flex: none; font-size: 10px; font-weight: 700; line-height: 1; padding: 3px 4px; border-radius: 2px;
  background: #2b3445; color: #c9d2e3; letter-spacing: 0.04em; vertical-align: middle;
}
.team-inline { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.team-inline span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 2px 7px; border-radius: 3px; background: var(--panel-2); color: var(--text-2);
}
.tag.accent { background: var(--accent-soft); color: var(--accent); }
.tag.s { background: rgba(255, 122, 26, 0.16); color: var(--accent); }
.tag.a { background: rgba(74, 163, 255, 0.15); color: var(--coal); }
.tag.b { background: var(--panel-2); color: var(--text-2); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--live); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none; } }
.won { color: var(--win); }
.lost { color: var(--lose); }
.rating-good { color: var(--win); }
.rating-bad { color: var(--lose); }
.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
}
.btn:hover { border-color: var(--accent); color: var(--text); }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs button, .tabs a {
  padding: 6px 12px; border-radius: 4px; border: 1px solid var(--line-soft); background: var(--panel); color: var(--text-2);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.tabs button:hover, .tabs a:hover { color: var(--text); }
.tabs .on { background: var(--accent); color: #10131a; border-color: var(--accent); }
select {
  height: 34px; padding: 0 10px; background: var(--panel); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--radius); font: inherit; font-size: 14px;
}

/* ---------- match rows ---------- */
.day-head { padding: 9px 14px; background: var(--panel-2); font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.match-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 70px minmax(0, 1fr) minmax(0, 210px); align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line-soft);
}
.match-row:last-child { border-bottom: 0; }
.match-row:hover { background: #1c2330; color: var(--text); }
.match-row .time { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.match-row .t1 { justify-content: flex-end; text-align: right; }
.match-row .t1 .team-inline { flex-direction: row-reverse; }
.match-row .side { display: flex; min-width: 0; }
.match-row .score { text-align: center; font-family: var(--head); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.match-row .vs { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.match-row .meta { font-size: 13px; color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-row .win { font-weight: 700; }
.match-row .lose { color: var(--text-2); }
.match-row.live { background: linear-gradient(90deg, rgba(255, 59, 78, 0.08), transparent 40%); }

.mini-match { display: block; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.mini-match:last-child { border-bottom: 0; }
.mini-match:hover { background: #1c2330; color: var(--text); }
.mini-match .line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 0; }
.mini-match .line b { font-variant-numeric: tabular-nums; }
.mini-match .sub { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 4px; gap: 8px; }
.mini-match .sub span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-match .lose { color: var(--text-2); }

/* ---------- news ---------- */
.hero-news {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; padding: 26px;
  border: 1px solid var(--line-soft); background: var(--panel);
}
.hero-news .bg { position: absolute; inset: 0; opacity: 0.9; }
.hero-news .content { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 188px; max-width: 560px; padding-right: 150px; }
@media (max-width: 860px) { .hero-news .content { padding-right: 0; } }
.hero-news h2 { font-size: 32px; line-height: 1.08; margin: 10px 0 8px; }
.hero-news p { margin: 0; color: #d3d9e5; }
.hero-news:hover h2 { color: var(--accent); }
.hero-news .big-logo { position: absolute; right: 30px; top: 50%; transform: translateY(-50%) rotate(-8deg); opacity: 0.95; }
.news-item { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: #1c2330; color: var(--text); }
.news-item .title { display: block; font-weight: 600; line-height: 1.3; }
.news-item .when { display: block; }
.news-item:hover .title { color: var(--accent); }
.news-item .when { font-size: 12px; color: var(--muted); margin-top: 2px; }
.news-item .grow { min-width: 0; flex: 1; }
.article { padding: 26px 30px; }
.article h1 { font-size: 38px; margin: 10px 0 8px; }
.article .byline { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.article p { font-size: 17px; line-height: 1.65; color: #d8dde8; margin: 0 0 16px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted);
  padding: 9px 10px; background: var(--panel-2); border-bottom: 1px solid var(--line-soft); white-space: nowrap;
}
table.data th.sortable { cursor: pointer; user-select: none; }
table.data th.sortable:hover { color: var(--text); }
table.data th.sorted { color: var(--accent); }
table.data td { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: #1c2330; }
table.data .r { text-align: right; }
table.data .c { text-align: center; }
table.data td.player { font-weight: 600; }
table.data td.player small { color: var(--muted); font-weight: 400; margin-left: 4px; }

/* ---------- ranking ---------- */
.rank-row { display: grid; grid-template-columns: 56px 44px minmax(0, 1fr) auto 26px; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.rank-row:hover { background: #1c2330; }
.rank-row .pos { font-family: var(--head); font-size: 28px; font-weight: 800; color: var(--text-2); }
.rank-row .name { font-family: var(--head); font-size: 21px; font-weight: 700; margin-right: 8px; }
.rank-row .roster { font-size: 13px; color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row .pts { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.rank-row .move { font-size: 12px; font-weight: 700; display: block; }
.rank-row .chev { color: var(--muted); transition: transform 0.15s; }
.rank-row.open .chev { transform: rotate(90deg); }
.rank-detail { display: none; padding: 4px 16px 16px 130px; border-bottom: 1px solid var(--line-soft); background: #161c26; }
.rank-row.open + .rank-detail { display: block; }
.mini-rank { display: grid; grid-template-columns: 26px 24px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 12px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.mini-rank:hover { background: #1c2330; color: var(--text); }
.mini-rank .pos { color: var(--muted); font-weight: 700; }
.mini-rank .pts { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.player-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.player-card { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px; text-align: center; }
.player-card:hover { border-color: var(--accent); color: var(--text); }
.avatar {
  width: var(--s, 64px); height: var(--s, 64px); border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; font-size: calc(var(--s, 64px) * 0.36); color: #0e1117;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 70%, white), var(--c));
}
.player-card .nick { font-weight: 700; font-size: 16px; }
.player-card .real { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-card .role { margin-top: 6px; }

/* ---------- match page ---------- */
.match-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px;
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--panel); position: relative; overflow: hidden;
}
.match-hero .glow { position: absolute; inset: 0; pointer-events: none; }
.match-hero .team { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; text-align: center; }
.match-hero .team .tname { font-family: var(--head); font-size: 26px; font-weight: 700; }
.match-hero .team.lose .tname { color: var(--text-2); }
.match-hero .center { text-align: center; position: relative; }
.match-hero .bigscore { font-family: var(--head); font-size: 58px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.match-hero .bigscore .dash { color: var(--muted); margin: 0 10px; }
.match-hero .when { color: var(--text-2); font-size: 14px; margin-bottom: 6px; }
.match-hero .ev { color: var(--text-2); font-size: 14px; margin-top: 8px; }
.countdown { font-family: var(--head); font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }

.maps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.map-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); background: var(--panel-2); cursor: pointer;
  text-align: left; padding: 0; font: inherit; color: inherit;
}
.map-card.on { border-color: var(--accent); }
.map-card .art { height: 64px; position: relative; display: flex; align-items: flex-end; padding: 8px 10px; }
.map-card .art span { font-family: var(--head); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: 0.06em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.map-card .res { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 14px; gap: 6px; }
.map-card .res b { font-variant-numeric: tabular-nums; }
.map-card .pickinfo { font-size: 11px; color: var(--muted); padding: 0 10px 8px; }
.map-card.skipped { opacity: 0.45; cursor: default; }

.veto { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.veto li { padding: 6px 0; border-bottom: 1px dashed var(--line-soft); color: var(--text-2); }
.veto li:last-child { border-bottom: 0; }
.veto li b { color: var(--text); }

.round-history { display: flex; flex-direction: column; gap: 6px; padding: 14px; overflow-x: auto; }
.rh-row { display: flex; align-items: center; gap: 3px; }
.rh-row .lbl { width: 48px; flex: none; font-size: 12px; font-weight: 700; color: var(--text-2); }
.rh-cell { width: 24px; height: 24px; flex: none; border-radius: 3px; background: #1a202b; display: grid; place-items: center; }
.rh-cell svg { width: 15px; height: 15px; }
.rh-cell.c { background: rgba(74, 163, 255, 0.18); color: var(--coal); }
.rh-cell.b { background: rgba(255, 181, 71, 0.18); color: var(--breach); }
.rh-gap { width: 10px; flex: none; }
.rh-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); padding: 0 14px 12px; }
.rh-legend span { display: inline-flex; align-items: center; gap: 5px; }
.rh-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

.scoreboard-team { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--panel-2); border-bottom: 1px solid var(--line-soft); font-weight: 700; }
.scoreboard-team .sc { margin-left: auto; font-family: var(--head); font-size: 20px; }
.side-c { color: var(--coal); }
.side-b { color: var(--breach); }

/* ---------- bracket ---------- */
.bracket { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 28px; padding: 18px; overflow-x: auto; }
.bracket-col { display: flex; flex-direction: column; justify-content: space-around; gap: 14px; }
.bracket-col h4 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.b-match { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel-2); font-size: 14px; position: relative; }
.b-match:hover { border-color: var(--accent); color: var(--text); }
.b-match .bt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; }
.b-match .bt + .bt { border-top: 1px solid var(--line-soft); }
.b-match .bt.lose { color: var(--muted); }
.b-match .bt b { font-variant-numeric: tabular-nums; }
.b-match .bt.tbd { color: var(--muted); font-style: italic; }
.b-match .when { font-size: 11px; color: var(--muted); padding: 4px 10px; background: #161c26; border-top: 1px solid var(--line-soft); }

/* ---------- events ---------- */
.event-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.event-card:last-child { border-bottom: 0; }
.event-card:hover { background: #1c2330; color: var(--text); }
.event-card .emblem { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 18px; color: #0e1117; }
.event-card .ename { font-family: var(--head); font-size: 20px; font-weight: 700; }
.event-card .einfo { font-size: 13px; color: var(--muted); margin-top: 2px; }
.event-card .eprize { text-align: right; font-weight: 700; }
.event-card .eprize small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line-soft); }
.facts > div { background: var(--panel); padding: 12px 14px; }
.facts .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts .v { font-weight: 700; font-size: 16px; margin-top: 2px; }

.profile-head { display: flex; gap: 22px; align-items: center; padding: 22px; position: relative; overflow: hidden; }
.profile-head .glow { position: absolute; inset: 0; pointer-events: none; }
.profile-head > *:not(.glow) { position: relative; }
.profile-head .info { min-width: 0; }
.profile-head .sub { color: var(--text-2); margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.profile-head .avatar { margin: 0; }

.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.stat-tile { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px; }
.stat-tile .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-tile .v { font-family: var(--head); font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }

.bar { height: 6px; border-radius: 3px; background: #262e3c; overflow: hidden; min-width: 60px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.empty-state { padding: 30px; text-align: center; color: var(--muted); }

/* ---------- real-data additions ---------- */
.rlogo { position: relative; display: inline-grid; flex: none; width: var(--s); height: var(--s); }
.rlogo img { width: 100%; height: 100%; object-fit: contain; border-radius: 22%; background: #0e1117; }
.rlogo .logo { display: none; }
.rlogo.broken img { display: none; }
.rlogo.broken .logo { display: inline-grid; }
.thumb { flex: none; width: 64px; height: 36px; border-radius: 4px; background: #222 center/cover no-repeat; }
.thumb.lg { width: 120px; height: 68px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bracket .b-match { margin: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; font-size: 13px; color: var(--text-2); }
.site-footer p { margin: 4px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .layout > .left-col { display: none; }
  .search input { width: 200px; }
  .main-nav a { padding: 0 10px; }
}
@media (max-width: 860px) {
  .layout, .layout-2 { grid-template-columns: minmax(0, 1fr); }
  .header-inner { gap: 14px; height: auto; flex-wrap: wrap; padding-top: 8px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; height: 42px; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 0 10px; font-size: 15px; }
  .rank-row { grid-template-columns: 40px 32px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .rank-row .pos { font-size: 22px; }
  .rank-row .name { font-size: 18px; display: block; }
  .rank-row .chev { display: none; }
  .rank-row .logo { --s: 30px !important; }
  .search { margin-left: auto; }
  .search input { width: 180px; }
  .match-row { grid-template-columns: 52px minmax(0, 1fr) 54px minmax(0, 1fr); }
  .match-row .meta { display: none; }
  .player-cards { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .match-hero { grid-template-columns: 1fr auto 1fr; padding: 18px 10px; gap: 8px; }
  .match-hero .team .tname { font-size: 18px; }
  .match-hero .bigscore { font-size: 40px; }
  .rank-detail { padding-left: 16px; }
  .hero-news .big-logo { display: none; }
  .article { padding: 20px; }
}
