/* PitchFire community site (home, league table, red cards, news).
   Identity: night-match arena — turf stripes, fire-orange accents, the arena's teal lines, angled cuts. */
:root {
  color-scheme: dark;
  --bg: #090c11;
  --bg-2: #0e1219;
  --card: #121821;
  --card-2: #18202c;
  --line: #1f2834;
  --line-2: #2a3544;
  --text: #edf1f6;
  --muted: #8b97a8;
  --faint: #5a6677;
  --fire: #ff6a2b;
  --fire-2: #ff9a3d;
  --fire-deep: #f0342e;
  --fire-soft: rgba(255, 106, 43, .12);
  --teal: #2fe0c8;
  --teal-soft: rgba(47, 224, 200, .1);
  --gold: #ffc23d;
  --silver: #c9d1dc;
  --bronze: #e08a4c;
  --red: #ff4250;
  --red-soft: rgba(255, 66, 80, .12);
  --green: #39d98a;
  --green-soft: rgba(57, 217, 138, .12);
  --team-red: #ff5d52;
  --team-blue: #4f9dff;
  --radius: 6px;
  --display: "Chakra Petch", "Bahnschrift", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background-color: var(--bg); color: var(--text); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased;
  /* Mown-turf stripes under floodlights. */
  background-image:
    radial-gradient(900px 520px at 50% -160px, rgba(255, 106, 43, .10), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .014) 0 90px, transparent 90px 180px);
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(9, 12, 17, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 106, 43, .55), rgba(47, 224, 200, .35), transparent); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); transition: transform .15s; }
.brand:hover img { transform: scale(1.04); }
.footer-grid .brand img { height: 46px; }
.online-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid rgba(47, 224, 200, .3); border-radius: 4px; background: var(--teal-soft); font-size: 11px; color: var(--teal); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; font-weight: 600; }
.online-pill b { color: var(--text); font-family: var(--display); font-size: 14px; letter-spacing: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(47, 224, 200, .18); flex: none; }
.dot-live { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(47, 224, 200, 0); } }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 8px 13px; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -13px; height: 3px; background: linear-gradient(90deg, var(--fire-2), var(--fire-deep)); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-2); color: var(--muted); transition: color .15s, border-color .15s; }
.icon-btn:hover { color: var(--text); border-color: var(--fire); }
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
.menu-toggle { display: none; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 20px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, filter .15s; white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.btn:hover { border-color: var(--fire); transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.btn-primary { background: linear-gradient(100deg, var(--fire-2), var(--fire) 50%, var(--fire-deep)); border-color: transparent; color: #1a0700; }
.btn-primary:hover { filter: brightness(1.08); border-color: transparent; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 12px; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.btn-ghost { background: rgba(255, 255, 255, .03); }

.user-chip { display: inline-flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.user-chip img, .user-chip .avatar { width: 28px; height: 28px; border-radius: 3px; font-size: 11px; }
.user-menu { position: relative; }
.user-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; padding: 14px; border: 1px solid var(--line-2); border-top: 2px solid var(--fire); border-radius: var(--radius); background: var(--card); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); display: grid; gap: 10px; }
.user-pop h4 { font-family: var(--display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.user-ranks { display: grid; gap: 6px; }
.user-rank { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 4px; background: var(--bg-2); font-size: 13px; }
.user-rank img { width: 28px; height: 28px; }
.user-rank b { margin-left: auto; font-family: var(--display); }
.user-pop .btn { width: 100%; }

/* ---------------------------------------------------------------- shared blocks */
.page { padding: 28px 0 70px; display: grid; gap: 32px; }
/* Grid children may shrink below their content (wide tables scroll inside their panel instead). */
.page > *, .columns > *, .stack > * { min-width: 0; }
.panel { position: relative; background: linear-gradient(180deg, rgba(24, 32, 44, .92), rgba(18, 24, 33, .92)); border: 1px solid var(--line); border-radius: var(--radius); }
.section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-title::before { content: ""; width: 4px; height: 20px; background: linear-gradient(180deg, var(--fire-2), var(--fire-deep)); transform: skewX(-14deg); }
.section-title h2 { font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .05em; }
.section-title svg { display: none; }
.section-title .meta { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--teal); text-transform: uppercase; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.kicker svg { width: 14px; height: 14px; fill: currentColor; }
.empty { padding: 26px; text-align: center; color: var(--muted); font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 3px; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1px solid transparent; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-live { color: var(--teal); background: var(--teal-soft); border-color: rgba(47, 224, 200, .3); }
.badge-active { color: var(--red); background: var(--red-soft); border-color: rgba(255, 66, 80, .35); }
.badge-active::before { width: 7px; height: 10px; border-radius: 1px; }
.badge-expired { color: var(--muted); background: rgba(139, 151, 168, .1); border-color: var(--line-2); }
.badge-revoked { color: var(--green); background: var(--green-soft); border-color: rgba(57, 217, 138, .3); }
.badge-tag { color: var(--fire-2); background: var(--fire-soft); border-color: rgba(255, 106, 43, .3); }
.badge-tag::before { display: none; }

.avatar { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 4px; font-family: var(--display); font-weight: 700; font-size: 14px; color: #fff; overflow: hidden; background: var(--card-2); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.player { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-text { min-width: 0; }
.player-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-id { font-size: 11px; color: var(--faint); font-family: ui-monospace, Consolas, monospace; }
a.player:hover .player-name { color: var(--fire-2); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { padding: 8px 20px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .15s, background .15s;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.tab:hover { color: var(--text); }
.tab.is-active { background: linear-gradient(100deg, var(--fire-2), var(--fire) 50%, var(--fire-deep)); border-color: transparent; color: #1a0700; }
.tab svg { width: 14px; height: 14px; fill: currentColor; }

.search { position: relative; }
.search svg { position: absolute; left: 13px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); fill: var(--muted); pointer-events: none; }
.search input { width: 260px; max-width: 100%; padding: 11px 14px 11px 38px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-2); outline: none; transition: border-color .15s; }
.search input:focus { border-color: var(--teal); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 760px; }
.table th { padding: 13px 18px; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); text-align: left; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .18); white-space: nowrap; }
.table td { padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.table tbody tr { transition: background .15s; }
.table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .012); }
.table tbody tr:hover { background: rgba(255, 106, 43, .05); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-family: var(--display); font-weight: 600; font-size: 15px; white-space: nowrap; }
.table .num.dim { color: var(--muted); }
.table .is-sorted, .table th.is-sorted { color: var(--fire-2); }
.table-foot { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
.table-foot b { color: var(--fire-2); }

.skeleton { position: relative; overflow: hidden; background: var(--card-2); border-radius: 4px; min-height: 14px; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .05), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.notice { padding: 12px 16px; border: 1px solid rgba(255, 194, 61, .35); background: rgba(255, 194, 61, .08); color: #ffe0a0; border-radius: var(--radius); font-size: 14px; }

/* ---------------------------------------------------------------- page heads (league table / red cards) */
.page-hero { --hero-image: url("/assets/site/hero.jpg"); position: relative; overflow: hidden; padding: 40px 40px 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; border-bottom: 3px solid var(--fire); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-image) center / cover; opacity: .22; mask-image: linear-gradient(90deg, transparent 10%, #000 70%); }
.page-hero > * { position: relative; }
.page-title { margin-top: 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .95; font-size: clamp(38px, 6vw, 68px); letter-spacing: .01em; }
.page-title span { color: var(--fire); }
.page-lead { margin-top: 12px; max-width: 480px; color: var(--muted); }

/* ---------------------------------------------------------------- home: hero */
.announcement { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-left: 3px solid var(--fire); background: var(--fire-soft); font-size: 14px; font-weight: 600; }
.announcement svg { width: 16px; height: 16px; fill: var(--fire-2); flex: none; }
.announcement a { margin-left: auto; color: var(--fire-2); font-size: 13px; white-space: nowrap; }
.hero { position: relative; min-height: 460px; overflow: hidden; display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; background: var(--hero-image) center / cover no-repeat; }
.hero-art::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(9, 12, 17, .96) 0%, rgba(9, 12, 17, .85) 36%, rgba(9, 12, 17, .25) 70%, rgba(9, 12, 17, .1) 100%),
  linear-gradient(0deg, rgba(9, 12, 17, .9), transparent 45%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--fire-2), var(--fire-deep) 40%, var(--teal)); }
.hero-body { position: relative; padding: 54px 48px; max-width: 660px; }
.hero-title { margin-top: 12px; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .9; font-size: clamp(48px, 8vw, 96px); }
.hero-title span { display: block; }
.hero-title .accent { background: linear-gradient(100deg, var(--fire-2), var(--fire) 45%, var(--fire-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { margin-top: 20px; color: #c6cfdb; max-width: 470px; white-space: pre-line; }
.hero-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* stats: one scoreboard strip */
.stats, .ban-stats { display: grid; grid-template-columns: repeat(5, 1fr); background: linear-gradient(180deg, #131a24, #0f141c); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ban-stats { grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; padding: 20px 22px 18px; border: 0; border-radius: 0; background: none; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat svg { position: absolute; right: 16px; top: 18px; width: 20px; height: 20px; fill: var(--faint); }
.stat.is-accent { background: linear-gradient(180deg, rgba(47, 224, 200, .07), transparent); }
.stat.is-accent .stat-value { color: var(--teal); }
.ban-stats .stat-value.red { color: var(--red); }
.ban-stats .stat-value.green { color: var(--green); }

/* live matches: little scoreboards */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.live-grid > .live-empty { grid-column: 1 / -1; }
.live-card { display: grid; overflow: hidden; }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.live-mode { font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .05em; }
.live-score { display: grid; grid-template-columns: 1fr auto 1fr; font-family: var(--display); font-weight: 700; font-size: 32px; }
.live-score span { display: grid; place-items: center; padding: 10px 0; }
.live-score .red { color: var(--team-red); background: linear-gradient(90deg, rgba(255, 93, 82, .14), transparent); }
.live-score .blue { color: var(--team-blue); background: linear-gradient(270deg, rgba(79, 157, 255, .14), transparent); }
.live-score .sep { color: var(--faint); font-size: 18px; padding-inline: 6px; }
.live-foot { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.live-foot b { color: var(--text); }
.live-empty { padding: 22px 26px; display: flex; align-items: center; gap: 16px; color: var(--muted); }
.live-empty .btn { margin-left: auto; }

/* two columns */
.columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.stack { display: grid; gap: 22px; }
.panel-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .05em; }
.panel-head svg { width: 17px; height: 17px; fill: var(--fire); }
.panel-head .right { margin-left: auto; }
.panel-head .meta { font-size: 12px; }
.panel-head a.right { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
.panel-head a.right:hover { color: var(--fire-2); }

/* top of the table (home): one mini league table per ranked mode */
.mini-table { padding: 12px 18px 14px; }
.mini-table + .mini-table { border-top: 1px solid var(--line); }
.mini-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mini-head h3 { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.mini-head a { font-family: var(--display); font-weight: 600; font-size: 12px; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; }
.mini-head a:hover { color: var(--fire-2); }
.mini-row { display: grid; grid-template-columns: 30px 34px minmax(0, 1fr) 30px 64px; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 4px; }
.mini-row:hover { background: rgba(255, 255, 255, .03); }
.mini-row.first { background: linear-gradient(90deg, rgba(255, 194, 61, .1), transparent 70%); }
.mini-row .pos { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--muted); }
.mini-row.first .pos { color: var(--gold); }
.mini-row.second .pos { color: var(--silver); }
.mini-row.third .pos { color: var(--bronze); }
.mini-row .avatar { width: 34px; height: 34px; font-size: 12px; }
.mini-row .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row .tier-icon { width: 28px; height: 28px; }
.mini-row .value { text-align: right; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--fire-2); }
.mini-empty { padding: 12px 8px; color: var(--muted); font-size: 13px; }

/* news */
.news-list { display: grid; }
.news-card { display: grid; grid-template-columns: 108px 1fr; gap: 14px; padding: 12px 16px; transition: background .15s; }
.news-card + .news-card { border-top: 1px solid var(--line); }
.news-card:hover { background: rgba(255, 255, 255, .025); }
.news-thumb { aspect-ratio: 4 / 3; border-radius: 4px; background: var(--card-2) center / cover; }
.news-card h3 { font-size: 15px; font-weight: 700; line-height: 1.3; margin: 6px 0 4px; }
.news-card p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--faint); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.news-tile { overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; border-top: 3px solid var(--fire); }
.news-tile:hover { border-color: var(--fire); transform: translateY(-2px); }
.news-tile .news-thumb { aspect-ratio: 16 / 9; border-radius: 0; }
.news-tile .body { padding: 16px 18px 18px; display: grid; gap: 8px; }
.news-tile h3 { font-family: var(--display); font-size: 21px; line-height: 1.15; text-transform: uppercase; }
.news-tile p { color: var(--muted); font-size: 14px; }
.news-head { margin-bottom: 22px; }
.load-more { display: flex; justify-content: center; margin-top: 22px; }
.article { max-width: 820px; margin-inline: auto; width: 100%; overflow: hidden; border-top: 3px solid var(--fire); }
.article-cover { aspect-ratio: 21 / 9; background: var(--card-2) center / cover; }
.article-body { padding: 30px 36px 36px; display: grid; gap: 14px; }
.article-body h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4vw, 46px); line-height: 1; }
.article-text p { margin: 0 0 1em; color: #ccd4df; font-size: 16px; line-height: 1.7; white-space: pre-line; }

/* red card feed */
.feed { padding: 4px 0; }
.feed-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 10px 18px; }
.feed-row + .feed-row { border-top: 1px solid var(--line); }
.feed-row:hover { background: rgba(255, 255, 255, .02); }
.feed-icon { width: 16px; height: 22px; border-radius: 2px; background: linear-gradient(160deg, #ff6670, var(--red) 60%, #c81d2b); box-shadow: 0 2px 8px rgba(255, 66, 80, .35); transform: rotate(-8deg); }
.feed-icon svg { display: none; }
.feed-icon.is-revoked { background: linear-gradient(160deg, #6cecae, var(--green)); box-shadow: 0 2px 8px rgba(57, 217, 138, .3); }
.feed-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-title span { color: var(--muted); font-weight: 400; }
.feed-reason { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-time { font-size: 11px; color: var(--faint); white-space: nowrap; }

/* hall of fame */
.champions { display: flex; align-items: center; gap: 14px; padding: 16px 20px; flex-wrap: wrap; border-left: 3px solid var(--gold); }
.champions h2 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.champions h2 svg { width: 18px; height: 18px; fill: var(--gold); }
.champion { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-2); font-weight: 600; font-size: 13px; }
.champion small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.champion .avatar { width: 26px; height: 26px; font-size: 10px; }

/* download */
.download { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; padding: 30px; align-items: start; overflow: hidden; }
.download::before { content: ""; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; border: 2px solid rgba(255, 255, 255, .045); border-radius: 50%; pointer-events: none; }
.download-title { margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: 34px; text-transform: uppercase; line-height: 1; }
.download-title span { color: var(--fire); }
.download .lead { margin: 10px 0 20px; color: var(--muted); }
.build-downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.build-card { padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); display: grid; gap: 6px; align-content: start; }
.build-card h3 { font-family: var(--display); font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.build-card p { font-size: 13px; color: var(--muted); }
.build-card .btn { justify-self: start; margin-top: 8px; }
.build-card:first-child { border-color: rgba(255, 106, 43, .55); background: linear-gradient(140deg, rgba(255, 106, 43, .12), var(--bg-2) 60%); }
.build-card:first-child .btn { background: linear-gradient(100deg, var(--fire-2), var(--fire) 50%, var(--fire-deep)); border-color: transparent; color: #1a0700; }
.requirements { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.requirements h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 17px; letter-spacing: .05em; margin-bottom: 10px; }
.requirements dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13px; }
.requirements dt { color: var(--teal); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; padding-top: 2px; }
.requirements dd { margin: 0; color: #ccd4df; }
.version-line { font-size: 12px; color: var(--faint); }
.requirements .version-line { margin-top: 14px; }

/* ---------------------------------------------------------------- league table */
.champion-card { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border: 1px solid rgba(255, 194, 61, .4); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 194, 61, .12), rgba(18, 24, 33, .94)); min-width: 300px; }
.champion-card .place { font-family: var(--display); font-weight: 700; font-size: 44px; color: var(--gold); line-height: 1; }
.champion-card .avatar { width: 56px; height: 56px; box-shadow: 0 0 0 2px var(--gold); font-size: 18px; }
.champion-card small { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.champion-card .name { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.champion-card .sub { font-size: 12px; color: var(--fire-2); font-weight: 700; }
.board-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.place-cell { font-family: var(--display); font-weight: 700; font-size: 19px; width: 64px; }
.place-cell.p1 { color: var(--gold); }
.place-cell.p2 { color: var(--silver); }
.place-cell.p3 { color: var(--bronze); }
.place-cell.pn { color: var(--muted); font-size: 16px; }
.tier { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tier img { width: 34px; height: 34px; }
.row-me td { background: rgba(47, 224, 200, .08); }
.row-me td:first-child { box-shadow: inset 3px 0 0 var(--teal); }
.my-rank { display: flex; align-items: center; gap: 16px; padding: 14px 18px; flex-wrap: wrap; border-left: 3px solid var(--teal); }
.my-rank img { width: 40px; height: 40px; }
.my-rank b { font-family: var(--display); font-size: 19px; }

/* ---------------------------------------------------------------- red cards */
.reason-cell { max-width: 280px; color: #ccd4df; }
.issuer { display: inline-flex; align-items: center; gap: 7px; color: #ccd4df; white-space: nowrap; }
.issuer svg { width: 14px; height: 14px; fill: var(--teal); }
.duration { font-weight: 600; white-space: nowrap; }
.when { color: var(--faint); font-size: 12px; white-space: nowrap; }

/* ---------------------------------------------------------------- footer: a halfway line and centre circle */
.site-footer { position: relative; border-top: 1px solid var(--line); background: #070a0e; margin-top: 20px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .035); border-radius: 50%; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; padding: 44px 0 34px; }
.footer-grid p { color: var(--muted); font-size: 13px; max-width: 330px; margin-top: 12px; }
.footer-grid h4 { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; color: var(--teal); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13px; color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 26px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); flex-wrap: wrap; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats .stat:nth-child(4) { border-left: 0; }
  .stats .stat:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .columns, .download { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-grid; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a.is-active::after { display: none; }
  .online-pill span.label { display: none; }
  .brand img { height: 30px; }
  .header-inner { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ban-stats { grid-template-columns: repeat(2, 1fr); }
  .ban-stats .stat:nth-child(3) { border-left: 0; }
  .ban-stats .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hero-body { padding: 36px 24px; }
  .page-hero { padding: 30px 22px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stats .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stats .stat:nth-child(-n + 2) { border-top: 0; }
  .stat-value { font-size: 30px; }
  .news-card { grid-template-columns: 84px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .discord-link { display: none; }
  .user-chip span.name { display: none; }
  .champion-card { min-width: 0; width: 100%; }
  .article-body { padding: 22px 18px 26px; }
  .page-title { font-size: 36px; }
  .hero-title { font-size: 52px; }
  .mini-row { grid-template-columns: 24px 30px minmax(0, 1fr) 54px; }
  .mini-row .tier-icon { display: none; }
}

/* Report a bug */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; margin-top: 24px; align-items: start; }
.support-form { padding: 24px; display: grid; gap: 16px; }
.support-form label { display: grid; gap: 7px; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.support-form input, .support-form select, .support-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-2); outline: none; font-family: var(--body, inherit); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text); transition: border-color .15s; }
.support-form textarea { resize: vertical; min-height: 90px; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus { border-color: var(--teal); }
.support-form .optional { color: var(--faint); font-size: 11px; letter-spacing: .1em; }
.support-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-who { font-size: 14px; color: var(--muted); }
.support-who a, .support-side a { color: var(--teal); }
.support-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.support-status { font-size: 14px; color: var(--muted); }
.support-status.is-ok { color: var(--teal); }
.support-status.is-error { color: #ff6b6b; }
.support-side { padding: 22px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.support-side h2 { font-family: var(--display); font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin-top: 6px; }
.support-side b { color: var(--text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } .support-row { grid-template-columns: 1fr; } }

/* Begi Games intro (home page, once per session) */
html.intro-open, html.intro-open body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(ellipse at 50% 40%, #16090b 0%, #07080c 60%, #040507 100%); transition: opacity .6s ease, visibility .6s; }
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro-glow { position: absolute; left: 50%; top: 42%; width: min(70vw, 620px); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(230, 20, 30, .22), transparent 65%); filter: blur(10px); animation: intro-pulse 2.4s ease-in-out infinite; pointer-events: none; }
.intro-inner { position: relative; display: grid; justify-items: center; gap: 18px; width: min(420px, 100%); text-align: center; }
.intro-logo { width: min(240px, 62vw); height: auto; aspect-ratio: 846 / 668; object-fit: contain; margin-bottom: 14px; animation: intro-fade .9s ease both; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .6)); }
@keyframes intro-fade { from { opacity: 0; } to { opacity: 1; } }
.intro-bar { width: 100%; height: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.intro-bar span { display: block; height: 100%; width: 0; transition: width .25s linear; background: linear-gradient(90deg, #b30d17, #ff2a32); box-shadow: 0 0 12px rgba(255, 42, 50, .7); }
.intro-status { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); min-height: 1.2em; }
.intro:not(.is-ready) .intro-status::after { content: "…"; }
.intro-continue { min-width: 220px; background: linear-gradient(100deg, #ff3a3f, #d1121c 55%, #9e0b13); color: #fff; animation: intro-in .5s ease both; }
.intro-continue:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.intro-next { font-size: 13px; color: var(--faint); }
.intro-next b { color: var(--fire); font-family: var(--display); letter-spacing: .06em; }
@keyframes intro-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes intro-pulse { 50% { opacity: .55; transform: translate(-50%, -50%) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .intro-logo, .intro-continue, .intro-glow { animation: none; } .intro { transition: none; } }
