/* Self-hosted fonts (assets/fonts/), variable files for Big Shoulders Display (100-900) and IBM Plex Sans (100-700); IBM Plex Mono static 400/500. font-display: swap. */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/big-shoulders-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/big-shoulders-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0d0e0b;
  --bg-2: #13140f;
  --card: #171813;
  --card-2: #1f2019;
  --line: rgba(236, 230, 216, 0.11);
  --line-2: rgba(236, 230, 216, 0.22);
  --text: #ece6d8;
  --muted: #aaa492;
  --faint: #8f8a7a;
  --accent: #e8a33d;
  --accent-ink: #1a1204;
  --lime: #e8a33d;
  --lime-ink: #1a1204;
  --olive: #8d9a62;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gold: #f0c14a;
  --silver: #d5dbe6;
  --bronze: #e0a06a;
  --danger: #ff5d6c;
  --ok: #3dde9a;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --header: 64px;
  --serif: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  min-height: 100vh;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--lime); text-underline-offset: 0.18em; }
a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 8px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(9, 11, 16, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.brand-mark-img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: block;
  flex: none;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand-name span { color: var(--accent); }
.tagline-bar {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
}
.tagline-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 4px 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
}

.nav-toggle, .nav-close {
  margin-left: auto;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  min-height: 44px;
  min-width: 76px;
  width: 76px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--card);
}
.nav-close { display: none; }

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 12px;
  gap: 4px;
  position: absolute;
  top: var(--header);
  left: 0;
  right: 0;
  background: #0d1118;
  border-bottom: 1px solid var(--line);
}
.nav-links a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 12px 10px;
  min-height: 44px;
  font-weight: 600;
}
.nav-links a[aria-current="page"] {
  color: var(--lime-ink);
  background: var(--lime);
}

#nav:target .nav-links { display: grid; }
#nav:target .nav-toggle { display: none; }
#nav:target .nav-close { display: inline-flex; margin-left: auto; }
#nav:target .tagline-menu { display: block; }

.crumbs { padding: 16px 0 0; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 0.92rem;
  color: var(--faint);
}
.crumbs li { list-style: none; }
.crumbs li[aria-hidden="true"] { margin: 0 8px; color: var(--muted); }
.crumbs li[aria-current="page"] { color: var(--faint); }
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.4rem, 8vw, 4.6rem); max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-top: 1.4em; }
h3 { font-size: 1.35rem; }

.hero-sub {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.lede {
  font-size: 1.15rem;
  max-width: 68ch;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge.off { background: #2a2118; color: var(--gold); }
.badge.live { background: var(--danger); color: white; }
.badge.soon { background: #1c2430; color: var(--lime); }
.badge.done { background: #14241c; color: var(--ok); }
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.stat-row {
  display: grid;
  gap: 14px;
}
.stat-row { grid-template-columns: repeat(2, 1fr); margin: 18px 0; }

.card, .panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 40%), var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.stat span { color: var(--faint); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }

.initials {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #24150f;
  color: var(--accent);
  border: 1px solid rgba(255, 77, 28, 0.4);
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.team-head, .person-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 8px 0 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.team-head h1, .person-head h1 {
  margin: 0;
  font-size: 1.6rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0 6px;
  background: #0e131c;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-variant-numeric: tabular-nums;
}
caption {
  text-align: left;
  padding: 12px 12px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  user-select: none;
  background: #121826;
  position: sticky;
  top: 0;
}
th button {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0;
}
th[aria-sort="ascending"] button::after { content: " ↑"; color: var(--lime); }
th[aria-sort="descending"] button::after { content: " ↓"; color: var(--lime); }
tr.podium-1 td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
tr.podium-2 td:first-child { box-shadow: inset 3px 0 0 var(--silver); }
tr.podium-3 td:first-child { box-shadow: inset 3px 0 0 var(--bronze); }
tr.cut td { border-bottom: 2px solid var(--lime); }
td a { font-weight: 700; }

.note, .sources, .missing, .updated {
  color: var(--muted);
  font-size: 0.95rem;
}
.missing {
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  background: rgba(240, 193, 74, 0.06);
  border-radius: 0 10px 10px 0;
}
.sources { margin-top: 18px; }
.sources ol { padding-left: 1.2em; }
.sources a { display: inline-flex; align-items: center; min-height: 44px; }

.yt-facade {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(255,77,28,0.25), rgba(9,11,16,0.2) 40%),
    repeating-linear-gradient(-45deg, #141a24, #141a24 12px, #10151e 12px, #10151e 24px);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  position: relative;
  overflow: hidden;
}
.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.yt-facade strong, .yt-facade span { position: relative; z-index: 1; }
.yt-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  z-index: 1;
  margin-bottom: auto;
}
.yt-play::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent white;
}
.yt-slot { margin: 8px 0 16px; }
.yt-slot .note { margin: 0 0 4px; }
.watch-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 10px 0 4px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: var(--accent);
}
.watch-btn:hover { color: #fff; background: #c98a2c; }
.vod-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.vod-list .meta { display: block; margin: 4px 0 8px; }
.yt-facade strong { font-family: var(--serif); font-size: 1.8rem; letter-spacing: 0.03em; }
.yt-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: #000;
}

.list-reset { list-style: none; padding: 0; margin: 0; }
.team-list a, .link-row a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
  align-items: center;
}
.team-list a:hover, .link-row a:hover { color: var(--lime); }
.meta { color: var(--faint); font-size: 0.9rem; }

.prose p { max-width: 72ch; }
.prose h2 { max-width: 22ch; }

footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  gap: 18px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.foot-social { display: flex; flex-direction: column; gap: 10px; }
.foot-social-label { font-weight: 700; color: var(--text); font-size: .95rem; }
.foot-social-icons { display: flex; flex-wrap: wrap; gap: 10px; }
a.foot-soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--muted);
}
a.foot-soc:hover { color: var(--accent); border-color: var(--accent); }
a.foot-soc svg { width: 20px; height: 20px; }
.disclaimer { max-width: 85ch; }

@media (max-width: 899px) {
  .tagline-bar { display: none; }
}

@media (min-width: 720px) {
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .nav-toggle, .nav-close { display: none !important; }
  .nav-links {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: auto;
    gap: 2px;
  }
  .nav-links a {
    padding: 8px 8px;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .tagline-menu { display: none !important; }
  #nav:target .nav-links { display: flex; }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .tagline-bar { font-size: 0.75rem; }
  .nav-links a { padding: 8px 5px; font-size: 0.95rem; }
}

.mark, .avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  line-height: 1;
  position: relative;
}
.mark picture, .avatar picture, .banner picture { display: block; width: 100%; height: 100%; box-sizing: border-box; }
.mark-lg picture { padding: 6px; }
.mark-md picture { padding: 3px; }
.mark-sm picture { padding: 1px; }
.mark img, .avatar img, .banner img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
}
.mark img { object-fit: contain; }
.avatar img { object-fit: cover; }
.banner img { object-fit: contain; }
.mark-sm { width: 28px; height: 28px; border-radius: 8px; }
.mark-md { width: 48px; height: 48px; border-radius: 12px; }
.mark-lg { width: 112px; height: 112px; border-radius: 22px; }
.mark-fallback {
  background: var(--mark);
  color: var(--mark-ink);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.mark-sm.mark-fallback { font-size: 0.68rem; }
.mark-md.mark-fallback { font-size: 0.95rem; }
.mark-lg.mark-fallback { font-size: 2rem; }
.avatar-sm { width: 36px; height: 36px; border-radius: 10px; }
.avatar-lg { width: 148px; height: 168px; border-radius: 18px; }
.avatar-fallback {
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--mark) 62%, #10141c), #10141c 72%);
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--mark) 65%, transparent);
  align-content: center;
  gap: 6px;
}
.avatar-initials { font-family: var(--serif); font-weight: 700; letter-spacing: 0.04em; }
.avatar-lg .avatar-initials { font-size: 2.6rem; }
.avatar-sm .avatar-initials { font-size: 0.78rem; }
.avatar-role {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.avatar-sm .avatar-role {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #090b10;
  color: var(--mark);
}
.avatar-sm .avatar-role span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.role-ico { width: 14px; height: 14px; display: block; }
.avatar-sm .role-ico { width: 12px; height: 12px; }
.banner {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  border-radius: 16px;
  overflow: hidden;
  margin: 8px 0 16px;
  background: #10141c;
}
.banner-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 24px;
  background:
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--c2) 80%, transparent), transparent 55%),
    linear-gradient(128deg, var(--c1), #0c1018 68%);
}
.banner picture, .banner > img { position: absolute; inset: 0; }
.banner-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 245, 248, 0.78);
}
.banner-name {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  max-width: 16ch;
}
.card-media { padding: 0 0 16px; overflow: hidden; display: flex; flex-direction: column; }
.card-media .banner { margin: 0 0 12px; border-radius: 0; aspect-ratio: 16 / 8; }
.card-media h3, .card-media p { margin-left: 16px; margin-right: 16px; }
.identity { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
.tip {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 40;
  gap: 6px;
  padding: 8px;
  background: #121820;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.identity:hover .tip, .identity:focus-within .tip, .tip.is-open { display: flex; }
.tip.is-open { position: fixed; bottom: auto; }
.image-credit { color: var(--faint); font-size: 0.85rem; margin-top: 0; }

.player-layout {
  display: grid;
  gap: 28px;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}
.player-card,
.player-copy { min-width: 0; max-width: 100%; }
.player-title { grid-column: 1 / -1; margin: 0; }
.player-card {
  background: var(--card);
  color: var(--text);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}
.player-card a { color: var(--lime); }
.player-card a:hover { color: #fff; }
.pc-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--mark) 42%, var(--card-2));
}
.pc-ign {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--text);
}
.pc-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  overflow: hidden;
}
.pc-photo picture { display: block; width: 100%; height: 100%; }
.pc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}
.pc-photo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    radial-gradient(70% 48% at 50% 12%, color-mix(in srgb, var(--mark) 78%, var(--card-2)), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--mark) 34%, var(--bg)), var(--bg) 78%);
}
.pc-initials {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(4.2rem, 18vw, 6.4rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  color: var(--text);
}
.pc-rolechip .avatar-role {
  color: var(--mark);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}
.pc-nophoto {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 245, 248, 0.72);
}
.pc-section {
  margin: 0;
  padding: 10px 14px;
  text-align: center;
  background: color-mix(in srgb, var(--mark) 24%, var(--card-2));
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.player-card .image-credit {
  margin: 0;
  padding: 6px 12px;
  background: transparent;
  color: var(--faint);
}
.player-card table { min-width: 0; width: 100%; table-layout: fixed; background: transparent; }
.player-card th,
.player-card td {
  white-space: normal;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.player-card thead th,
.pc-facts th {
  position: static;
  cursor: default;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.98rem;
  background: transparent;
  color: var(--text);
}
.player-card thead th {
  background: var(--card-2);
  font-weight: 700;
}
.pc-facts th {
  width: 44%;
  text-align: right;
  font-weight: 700;
}
.pc-facts td { text-align: center; color: var(--muted); }
.pc-facts tr:nth-child(odd),
.pc-history tbody tr:nth-child(odd) { background: rgba(232, 236, 244, 0.04); }
.pc-facts tr:nth-child(even),
.pc-history tbody tr:nth-child(even) { background: transparent; }
.pc-role { color: var(--accent); font-weight: 700; }
.pc-status { font-weight: 700; }
.pc-status-active { color: var(--ok); }
.pc-status-pending { color: var(--gold); }
.pc-team {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  text-align: left;
}
.pc-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 0;
  padding: 12px;
  background: var(--bg-2);
}
.pc-history th:nth-child(1),
.pc-history td:nth-child(1),
.pc-history th:nth-child(2),
.pc-history td:nth-child(2) { width: 28%; }
.pc-history th:last-child,
.pc-history td:last-child { width: 44%; text-align: left; }
.pc-history .pc-team { justify-content: flex-start; flex-wrap: nowrap; }

@media (min-width: 960px) {
  .player-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); }
  .player-card { order: 2; }
}

@media (max-width: 720px) {
  .mark-lg { width: 84px; height: 84px; border-radius: 18px; }
  .avatar-lg { width: 112px; height: 132px; }
  .avatar-lg .avatar-initials { font-size: 2rem; }
}

.hub-hero { margin-top: 8px; }
.hub-hero h1 { max-width: 20ch; }
.hub-jumps {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}
.hub-jumps a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.hub-jumps a:hover { background: var(--lime); color: var(--lime-ink); }

.next-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  width: 100%;
  margin: 8px 0 4px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  border-radius: 12px;
}
.next-strip > div { flex: 1 1 16rem; min-width: 0; }
.next-strip h2 { margin: 0 0 4px; font-size: 1.55rem; }
.next-strip p { margin: 0; }
.next-strip .hub-more { margin-left: auto; }
.next-count {
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--lime);
}

.hub-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hub-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}
.hub-head p { max-width: 68ch; color: var(--muted); }
.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 132px;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%), var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.hub-card:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.hub-card h3 { margin: 0; }
.hub-card p { margin: 0; color: var(--muted); }
.hub-card .meta { margin: 0; font-size: 0.86rem; }
.hub-card h3 a { color: var(--text); text-decoration: none; }
.hub-card h3 a:hover { color: var(--lime); }
.hub-card .tthumb {
  display: block;
  margin: -14px -14px 4px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  background: var(--card-2);
}
.hub-card .tthumb picture,
.hub-card .tthumb img {
  display: block;
  width: 100%;
  height: 100%;
}
.hub-card .tthumb img { object-fit: cover; }
td .tthumb {
  display: inline-block;
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 6px;
  overflow: hidden;
}
td .tthumb img {
  width: 32px;
  height: 32px;
  object-fit: cover;
}
.team-list .tthumb {
  display: inline-block;
  width: 32px;
  height: 32px;
  vertical-align: middle;
  border-radius: 6px;
  overflow: hidden;
  flex: none;
}
.team-list .tthumb img {
  width: 32px;
  height: 32px;
  object-fit: cover;
}
.hub-card .tthumb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #10141c;
}
.hub-card .tthumb-logo picture,
.hub-card .tthumb-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.hub-card .tthumb-logo img { object-fit: contain; }
.banner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #10141c;
}
.banner-logo picture,
.banner-logo img {
  position: static;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.banner-logo img { object-fit: contain; }
.banner-photo {
  margin: 8px 0 16px;
}
.banner-photo .banner-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  border-radius: 16px;
  overflow: hidden;
  background: #10141c;
}
.banner-photo .banner-img picture,
.banner-photo .banner-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-photo figcaption {
  margin-top: 6px;
}
.trophy-figure {
  margin: 18px 0 0;
  max-width: 560px;
}
.trophy-figure picture,
.trophy-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.rank-snap,
.podium-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rank-snap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 14px;
}
.podium-list { margin-top: 8px; }
.rank-snap li,
.podium-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.rank-snap li:last-child,
.podium-list li:last-child { border-bottom: 0; }
.rank-snap b,
.podium-list b {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.hub-more-row { margin: 14px 0 0; }
.hub-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  text-decoration: none;
}
.hub-more:hover { background: #fff; color: var(--lime-ink); }

.hub-watch .yt-facade {
  aspect-ratio: 16 / 10;
  min-height: 96px;
  padding: 10px;
  border-radius: 10px;
  gap: 4px;
}
.hub-watch .yt-facade strong { font-size: 1.15rem; }
.hub-watch .yt-play { width: 40px; height: 40px; }
.hub-watch .yt-play::before {
  left: 16px;
  top: 12px;
  border-width: 8px 0 8px 12px;
}
.hub-watch .yt-slot { margin: 0; }

@media (min-width: 700px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Stream switcher: one player, feed buttons underneath */
.stream-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.stream-btn {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.stream-btn:hover { border-color: var(--accent); color: var(--accent); }
.stream-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Footer brand */
.foot-brand { display: flex; flex-direction: column; gap: 8px; }
.foot-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--text); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.foot-logo img { border-radius: 8px; display: block; }

/* Homepage lists */
.hub-list-head { margin: 22px 0 8px; font-size: 1.05rem; }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 18px; }
.hub-list li { display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--line); }
.hub-list li a { font-weight: 600; }
.hub-list li span { color: var(--muted); font-size: 0.88rem; white-space: nowrap; }

/* Points table */
.points-list { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px 22px; }
.points-list li { display: flex; align-items: baseline; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line); }
.points-list .rank { color: var(--muted); min-width: 2ch; font-variant-numeric: tabular-nums; }
.points-list b { margin-left: auto; font-variant-numeric: tabular-nums; }

/* Avatar fallback for transfer cards */
.avatar-fallback { display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--card-2);
  color: var(--text); font-weight: 800; }

/* Tournament infobox (Liquipedia-style) */
.tinfobox { border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  padding: 16px; margin: 0 0 18px; }
.tinfobox-title { font-size: 1.25rem; margin: 0 0 10px; text-align: center; }
.tinfobox-logo { text-align: center; margin: 0 0 10px; }
.tinfobox-logo img { max-width: 180px; height: auto; }
.tinfobox-head { font-size: 1rem; text-align: center; background: var(--card-2);
  border-radius: 8px; padding: 6px 10px; margin: 14px 0 8px; }
.tinfobox dl { margin: 0; }
.tinfo-row { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.tinfo-row:last-child { border-bottom: 0; }
.tinfo-row dt { flex: 0 0 38%; font-weight: 700; color: var(--muted); }
.tinfo-row dd { flex: 1; margin: 0; }
.tinfobox-teams { text-align: center; margin: 4px 0; }
.tinfobox-chrono { display: flex; justify-content: space-between; gap: 10px; }
.tinfobox-chrono a { min-height: 44px; display: inline-flex; align-items: center; }
.tinfobox-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 4px 0; }
.tinfobox-link { display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card-2); text-decoration: none; color: var(--text); }
.tinfobox-link:hover { color: var(--accent); border-color: var(--accent); }
.tinfobox-link svg, .pc-links svg { width: 20px; height: 20px; display: block; }
.pc-links a { display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card-2); color: var(--text); }
.pc-links a:hover { color: var(--accent); border-color: var(--accent); }
.timeline { position: relative; margin: 0 0 18px; padding-left: 18px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 6px 0 6px 12px; }
.timeline li::before { content: ""; position: absolute; left: -17px; top: 12px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--accent)); }
.timeline .tl-date { display: block; font-size: 0.8rem; color: var(--muted); }
@media (min-width: 900px) {
  .tinfobox { float: right; width: 300px; margin: 0 0 18px 22px; }
}

/* Stage tab nav (Liquipedia-style anchors) */
.stage-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px;
  padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.stage-nav a { min-height: 44px; display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.stage-nav a:hover { border-color: var(--accent); color: var(--accent); }

/* Author box */
.author-box { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 8px;
  padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.author-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent, var(--accent)); color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 1.1rem; }
.author-name { font-weight: 700; margin: 0 0 4px; font-size: 1rem; }
.author-bio { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* Data source attribution line */
.data-source { margin: 10px 0 0; font-size: 0.82rem; color: var(--muted); }
.data-source a { color: var(--muted); }

/* ==========================================================================
   Tactical design layer (premium-redesign)
   Field-manual aesthetic: graphite + bone + signal amber, square geometry,
   hairline rules, mono data labels, corner-bracket framing. No glows.
   ========================================================================== */
:root {
  --r: 3px;
  --shadow: none;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body {
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(var(--bg), var(--bg)),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(236,230,216,.025) 79px 80px);
  background-blend-mode: normal;
}
body::before { /* faint survey grid behind the header area only */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(236,230,216,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236,230,216,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
}
::selection { background: var(--accent); color: var(--accent-ink); }

a { color: var(--text); text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-decoration-thickness: 1px; transition: color .15s var(--ease); }
a:hover { color: var(--accent); }
.prose a, .lede a, .sources a, .note a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap, .header-inner { width: min(1200px, calc(100% - 40px)); }

/* Type */
h1, h2, h3 { font-weight: 800; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: .9; text-transform: uppercase; max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.meta, .updated, .image-credit, .data-source, .crumbs ol, .stat span, th, caption,
.banner-kicker, .hub-list li span, .timeline .tl-date, .next-count {
  font-family: var(--mono); letter-spacing: .02em;
}
.meta { font-size: .78rem; text-transform: uppercase; color: var(--faint); }

/* Header */
.site-header { background: rgba(13,14,11,.9); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(10px); }
.brand-mark {
  clip-path: none; background: transparent; color: var(--text); width: 38px; height: 38px;
  font-size: 1.05rem; position: relative;
  background:
    linear-gradient(var(--accent),var(--accent)) top left/10px 2px,
    linear-gradient(var(--accent),var(--accent)) top left/2px 10px,
    linear-gradient(var(--accent),var(--accent)) bottom right/10px 2px,
    linear-gradient(var(--accent),var(--accent)) bottom right/2px 10px;
  background-repeat: no-repeat;
}
.brand-name { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.brand-name span { color: var(--accent); font-weight: 600; }
.tagline-bar { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); padding-left: 14px; border-left: 1px solid var(--line); }
.nav-links a { font-weight: 500; font-size: .94rem; color: var(--muted); position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { background: transparent; color: var(--text); }
.nav-toggle, .nav-close { background: transparent; border-color: var(--line-2); border-radius: var(--r); font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 900px) {
  .nav-links a::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
}
@media (max-width: 899px) {
  .nav-links { background: var(--bg-2); }
  .nav-links a { border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
}

/* Breadcrumbs */
.crumbs ol { padding: 0; margin: 0; font-size: .76rem; text-transform: uppercase; }
.crumbs li[aria-hidden="true"] { color: var(--accent); }

/* Hero */
.hub-hero { position: relative; margin-top: 28px; padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.hub-hero::before {
  content: "BGMI // IN — ESPORTS RECORD"; display: block; margin-bottom: 18px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; color: var(--accent);
}
.hub-hero h1 { max-width: 21ch; margin-bottom: .35em; }
.hub-hero .lede { font-size: 1.12rem; }

/* Section jump nav: segmented tabs instead of pills */
.hub-jumps { gap: 0; border: 1px solid var(--line); width: max-content; max-width: 100%; margin-top: 22px; padding: 0; -webkit-mask-image: none; mask-image: none; }
.hub-jumps a { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; font-weight: 500; font-size: .9rem; color: var(--muted); padding: 8px 16px; transition: background .15s, color .15s; }
.hub-jumps a:last-child { border-right: 0; }
.hub-jumps a:hover { background: var(--accent); color: var(--accent-ink); }

/* Badges */
.badge { border-radius: var(--r); font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .1em; padding: 3px 8px; }
.badge.live { background: transparent; color: #ff6a52; box-shadow: inset 0 0 0 1px #ff6a52; }
.badge.soon { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px currentColor; }
.badge.done { background: transparent; color: var(--olive); box-shadow: inset 0 0 0 1px currentColor; }
.badge.off { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.pulse { animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { opacity: .25; } }

/* Live strip */
.next-strip { border-radius: 0; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--bg-2); padding: 16px 20px; margin-top: 24px; }
.next-strip.is-live { border-left-color: #ff6a52; }
.next-strip h2 { font-size: 1.7rem; }
.next-strip a { color: var(--accent); }

/* Section blocks: numbered field headers */
.hub-block { margin-top: 56px; padding-top: 0; border-top: 0; }
.hub-head { display: grid; grid-template-columns: 1fr; gap: 4px 32px; padding-top: 14px; border-top: 1px solid var(--line-2); margin-bottom: 20px; position: relative; }
.hub-head::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; border-top: 2px solid var(--accent); }
.hub-head h2 { padding-top: 6px; margin-bottom: 0; }
.hub-head p { margin: 0; font-size: .96rem; }
@media (min-width: 900px) {
  .hub-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .hub-head p { justify-self: end; text-align: right; max-width: 48ch; }
}

/* Cards: flat, framed, bracket-on-hover */
.card, .panel, .hub-card, .rank-snap, .tinfobox, .author-box, .stage-nav, .team-head, .person-head, .player-card, .stat, .table-wrap {
  border-radius: var(--r); box-shadow: none; background: var(--card);
}
.hub-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hub-card { border: 0; border-radius: 0; background: var(--card); padding: 18px; gap: 4px; position: relative; transition: background .2s var(--ease); }
.hub-card::before, .hub-card::after { content: ""; position: absolute; width: 14px; height: 14px; opacity: 0; transition: opacity .2s var(--ease), transform .25s var(--ease); pointer-events: none; }
.hub-card::before { top: 8px; left: 8px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); transform: translate(4px,4px); }
.hub-card::after { bottom: 8px; right: 8px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translate(-4px,-4px); }
a.hub-card:hover, .hub-card:hover { background: var(--card-2); transform: none; border-color: transparent; }
a.hub-card:hover::before, a.hub-card:hover::after { opacity: 1; transform: none; }
.hub-card h3 { font-size: 1.45rem; text-transform: uppercase; }
.hub-card p { font-size: .92rem; }
.hub-card .tthumb { margin: -18px -18px 12px; border-radius: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.hub-card .tthumb img { transition: transform .5s var(--ease), filter .3s; filter: saturate(.85) contrast(1.05); }
a.hub-card:hover .tthumb img { transform: scale(1.03); filter: none; }
.hub-card .tthumb-logo { background: repeating-linear-gradient(-45deg, #15160f 0 10px, #121310 10px 20px); padding: 22px; }
.hub-card .tthumb-logo picture { width: 100%; height: 100%; }
.hub-card .tthumb-logo img { width: 100%; height: 100%; object-fit: contain; transform: none !important; filter: none; opacity: .92; }

/* Compact lists */
.hub-list-head { font-family: var(--mono); font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 32px 0 6px; }
.hub-list { gap: 0 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.hub-list li { align-items: baseline; padding: 10px 0; }
.hub-list li a { font-weight: 500; text-decoration: none; color: var(--text); }
.hub-list li a:hover { color: var(--accent); }
.hub-list li span { font-size: .72rem; color: var(--faint); }
.team-list a, .link-row a { text-decoration: none; }
.team-list a:hover, .link-row a:hover { color: var(--accent); }

/* Buttons */
.hub-more, .watch-btn, .stream-btn {
  border-radius: var(--r); font-family: var(--mono); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
}
.hub-more { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); padding: 10px 18px; transition: background .15s, color .15s, box-shadow .15s; }
.hub-more::after { content: "→"; margin-left: 10px; color: var(--accent); transition: transform .2s var(--ease); }
.hub-more:hover { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.hub-more:hover::after { color: var(--accent-ink); transform: translateX(3px); }
.watch-btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.watch-btn:hover { background: var(--text); color: var(--bg); }
.stream-btn:hover { border-color: var(--accent); color: var(--accent); }
.stream-btn.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Video facade */
.yt-facade { border-radius: var(--r); background: repeating-linear-gradient(-45deg, #15160f 0 12px, #111209 12px 24px); }
.yt-play { border-radius: 0; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.yt-play::before { border-color: transparent transparent transparent var(--accent-ink); }
.yt-frame { border-radius: var(--r); }

/* Tables: scoreboard */
.table-wrap { background: var(--bg-2); border-color: var(--line); }
th { background: var(--card-2); color: var(--faint); font-size: .7rem; font-weight: 500; }
td { border-bottom-color: var(--line); }
tbody tr { transition: background .12s; }
tbody tr:hover { background: rgba(232,163,61,.05); }
tr.cut td { border-bottom: 1px dashed var(--accent); }
td a { font-weight: 600; text-decoration: none; }
.pc-facts th, .player-card thead th { font-family: var(--sans); }

/* Stats */
.stat { background: var(--bg-2); border-left: 2px solid var(--accent); }
.stat b { font-size: 2rem; font-weight: 800; }
.stat span { font-size: .7rem; }

/* Entity heads, banners */
.team-head, .person-head { border-left: 3px solid var(--accent); background: var(--card); }
.banner, .banner-photo .banner-img { border-radius: var(--r); border: 1px solid var(--line); }
.banner-fallback { background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 45%, #0d0e0b), #0d0e0b 70%); }
.banner-name { font-weight: 800; text-transform: uppercase; }
.mark-sm, .mark-md, .mark-lg, .avatar-sm, .avatar-lg { border-radius: var(--r); }
.initials { border-radius: var(--r); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--bg-2); }
.pc-ign { font-weight: 800; }
.pc-role { color: var(--accent); }

/* Player card */
.pc-bar { background: var(--card-2); border-bottom: 2px solid var(--mark, var(--accent)); }
.pc-section { background: var(--card-2); font-size: .78rem; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); text-align: left; padding: 10px 14px; }

/* Infobox / stage nav */
.tinfobox-head { border-radius: 0; background: transparent; border-bottom: 1px solid var(--accent); font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; text-align: left; padding: 6px 0; color: var(--accent); }
.tinfobox-title { text-transform: uppercase; }
.tinfobox-link { border-radius: var(--r); }
.stage-nav { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; gap: 0; }
.stage-nav a { border-radius: 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; color: var(--muted); }
.stage-nav a:hover { color: var(--text); border-bottom-color: var(--accent); }
.timeline li::before { border-radius: 0; transform: rotate(45deg); background: var(--accent); }

/* Notices */
.missing { border-radius: 0; border-left-color: var(--accent); background: rgba(232,163,61,.06); }
.author-box { border-left: 2px solid var(--olive); }
.author-avatar { border-radius: var(--r); background: var(--card-2); color: var(--accent); font-family: var(--serif); font-size: 1.3rem; box-shadow: inset 0 0 0 1px var(--line-2); }
.tip { border-radius: var(--r); background: var(--card-2); }

/* Footer */
footer { margin-top: 96px; border-top: 1px solid var(--line-2); background: var(--bg-2); padding: 40px 0 56px; }
.foot-logo { font-family: var(--serif); text-transform: uppercase; font-size: 1.4rem; letter-spacing: .03em; }
.foot-logo img { border-radius: 0; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.foot-links a:hover { color: var(--accent); }
.disclaimer { font-family: var(--mono); font-size: .76rem; color: var(--faint); }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 2fr; align-items: start; }
  .foot-links { display: grid; grid-template-columns: repeat(3, auto); justify-content: end; gap: 0 40px; }
}

/* Entrance motion (reduced-motion handled above) */
@media (prefers-reduced-motion: no-preference) {
  .hub-hero > * { animation: rise .6s var(--ease) both; }
  .hub-hero > *:nth-child(2) { animation-delay: .06s; }
  .hub-hero > *:nth-child(3) { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
}

/* Mobile tune */
@media (max-width: 640px) {
  .wrap, .header-inner { width: calc(100% - 28px); }
  .hub-hero { margin-top: 8px; padding: 24px 0 20px; }
  h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hub-jumps { width: 100%; overflow-x: auto; }
  .hub-block { margin-top: 44px; }
  .hub-card .tthumb { aspect-ratio: 16 / 8; }
  .hub-list { grid-template-columns: 1fr; }
  .next-strip { padding: 14px 16px; }
}

/* ==========================================================================
   Video system: 16:9 facade, scrim, consistent day grid
   ========================================================================== */
.yt-slot { margin: 10px 0 18px; min-width: 0; }
.yt-box { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0a0b08; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.yt-box > .yt-facade, .yt-box > .yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; margin: 0; }
.yt-facade { display: block; padding: 0; background: repeating-linear-gradient(-45deg, #15160f 0 12px, #111209 12px 24px); color: var(--text); cursor: pointer; text-align: left; overflow: hidden; }
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform .5s var(--ease), filter .3s; filter: saturate(.9); }
.yt-facade:hover img { transform: scale(1.03); filter: none; }
.yt-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,8,0) 45%, rgba(10,11,8,.92)); }
.yt-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 0; background: var(--accent); transition: transform .2s var(--ease), background .2s; }
.yt-play::before { left: 25px; top: 20px; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent var(--accent-ink); }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { transform: scale(1.08); background: var(--text); }
.yt-facade:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.yt-kicker { position: absolute; z-index: 1; left: 14px; top: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; background: rgba(10,11,8,.8); color: var(--accent); box-shadow: inset 0 0 0 1px currentColor; }
.yt-facade strong { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-family: var(--serif); font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1; letter-spacing: .01em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.yt-facade > span:not([class]) { display: none; }
.yt-blank { position: absolute; inset: 0; }
.yt-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 8px 0 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .03em; color: var(--faint); }
.yt-note a { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; min-height: 24px; display: inline-flex; align-items: center; }

.stream-switcher { min-width: 0; }
.stream-switcher .yt-slot { margin-bottom: 0; }
.stream-btns { gap: 0; margin: 10px 0 0; border: 1px solid var(--line); width: max-content; max-width: 100%; }
.stream-btn { border: 0; border-right: 1px solid var(--line); border-radius: 0; min-height: 40px; padding: 6px 14px; background: transparent; color: var(--muted); }
.stream-btn:last-child { border-right: 0; }
.stream-btn:hover { color: var(--text); background: var(--card-2); }
.stream-btn.on { background: var(--accent); color: var(--accent-ink); }

.yt-days-head { font-family: var(--mono); font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 36px 0 12px; }
.yt-days { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.yt-day { background: var(--card); padding: 16px; min-width: 0; }
.yt-day h4 { margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 1.3rem; text-transform: uppercase; }
.yt-day .yt-slot { margin: 0; }
@media (min-width: 760px) { .yt-days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .yt-days { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Compact cards (home watch / schedule) */
.hub-watch .yt-slot { margin: 8px 0 0; }
.hub-watch .yt-facade { padding: 0; min-height: 0; }
.hub-watch .yt-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.hub-watch .yt-play::before { left: 17px; top: 13px; border-width: 9px 0 9px 13px; }
.hub-watch .yt-facade strong { font-size: 1.05rem; }
.hub-watch .yt-note span { display: none; }
.hub-watch .stream-btn { min-height: 36px; padding: 4px 10px; font-size: .72rem; }
.hub-watch .stream-btns { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
@media (max-width: 640px) {
  .yt-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .yt-play::before { left: 20px; top: 16px; border-width: 10px 0 10px 15px; }
  .stream-btns { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .yt-day { padding: 14px 12px; }
}
.yt-facade .yt-kicker { position: absolute; left: 12px; top: 12px; }
.yt-facade .yt-scrim, .yt-facade .yt-blank { position: absolute; }
.hub-watch .yt-facade strong, .hub-watch .yt-scrim { display: none; }
.yt-day .yt-note span { display: none; }
@media (max-width: 1099px) { .yt-day .yt-facade strong { font-size: 1rem; } }
/* One accent sitewide: neutralise per-section inline accents */
.hub-block { --accent: #e8a33d !important; }
.hub-watch .yt-facade:has(.yt-blank) strong { display: block; }

/* ==========================================================================
   Tables: field-manual scoreboard
   ========================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.table-cap { margin: 18px 0 8px; font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; color: var(--faint); max-width: 90ch; }
.table-cap::before { content: "■ "; color: var(--accent); }
.table-shell { position: relative; margin: 0 0 8px; }
.table-shell::before, .table-shell::after { content: ""; position: absolute; top: 1px; bottom: 1px; width: 28px; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 3; }
.table-shell::after { right: 1px; background: linear-gradient(90deg, transparent, rgba(13,14,11,.95)); }
.table-shell::before { left: var(--stick-w, 0); background: linear-gradient(270deg, transparent, rgba(13,14,11,.7)); }
.table-shell.more-right::after, .table-shell.more-left::before { opacity: 1; }
.table-wrap {
  margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-top: 2px solid var(--accent);
  border-radius: 0; max-height: min(78vh, 920px); overflow: auto; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.table-wrap table { min-width: 560px; font-size: .95rem; }
.table-wrap caption { padding: 0; }
.table-wrap th, .table-wrap td { padding: 0 14px; height: 48px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-wrap thead th {
  position: sticky; top: 0; z-index: 2; height: 42px;
  background: var(--card-2); border-bottom: 1px solid var(--line-2);
  font-family: var(--serif); font-weight: 700; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.table-wrap th button { min-height: 42px; gap: 6px; }
.table-wrap th button:hover { color: var(--text); }
.table-wrap th[aria-sort] { color: var(--accent); }
.table-wrap tbody tr:nth-child(even) td { background: rgba(236,230,216,.018); }
.table-wrap tbody tr:hover td { background: rgba(232,163,61,.06); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td { color: var(--text); }
.table-wrap td a { color: var(--text); font-weight: 600; text-decoration: none; }
.table-wrap td a:hover { color: var(--accent); }

/* Numbers */
.table-wrap .c-num, .table-wrap .c-rank { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.table-wrap td.c-num, .table-wrap th.c-num { text-align: right; }
.table-wrap th.c-num button { justify-content: flex-end; }
.table-wrap td.c-num { color: var(--muted); font-size: .9rem; }
.table-wrap tbody tr td.c-total { color: var(--text); font-weight: 500; font-size: 1rem; background: rgba(232,163,61,.045); }
.table-wrap th.c-total { color: var(--text); }

/* Rank column */
.table-wrap .c-rank { width: 56px; text-align: center; padding: 0 6px; }
.table-wrap th.c-rank button { justify-content: center; }
.table-wrap td.c-rank { font-size: .86rem; color: var(--faint); }
tr.podium-1 td.c-rank, tr.podium-2 td.c-rank, .table-wrap tbody tr.podium-3 td.c-rank { color: var(--bg); font-weight: 500; }
tr.podium-1 td:first-child, tr.podium-2 td:first-child, tr.podium-3 td:first-child { box-shadow: none; }
.table-wrap tbody tr.podium-1 td.c-rank { background: linear-gradient(var(--gold), var(--gold)) center/30px 24px no-repeat; }
.table-wrap tbody tr.podium-2 td.c-rank { background: linear-gradient(var(--silver), var(--silver)) center/30px 24px no-repeat; }
.table-wrap tbody tr.podium-3 td.c-rank { background: linear-gradient(var(--bronze), var(--bronze)) center/30px 24px no-repeat; }
tr.podium-1 td { background-color: rgba(240,193,74,.05); }

/* Qualification cut line */
tr.cut td { border-bottom: 1px dashed var(--accent); }
tr.cut td.c-rank { position: relative; }

/* Team identity alignment */
.table-wrap .identity { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }
.table-wrap .mark-sm { width: 28px; height: 28px; flex: 0 0 28px; background: rgba(236,230,216,.04); }
.table-wrap td .tthumb { margin-right: 10px; border-radius: 0; }

/* Mobile: sticky first identity column */
@media (max-width: 760px) {
  .table-wrap { max-height: 72vh; }
  .table-wrap th, .table-wrap td { padding: 0 10px; height: 46px; font-size: .9rem; }
  .table-wrap table.has-rank { --rank-w: 44px; }
  .table-wrap .c-rank { width: 44px; min-width: 44px; }
  .table-wrap tbody td:first-child, .table-wrap thead th:first-child, .table-wrap tfoot td:first-child { position: sticky; left: 0; z-index: 1; background-color: var(--bg-2); }
  .table-wrap thead th:first-child { z-index: 3; background: var(--card-2); }
  .table-wrap tfoot td:first-child { z-index: 2; box-shadow: 1px 0 0 var(--line-2); }
  .table-wrap table.has-rank tbody td:nth-child(2), .table-wrap table.has-rank thead th:nth-child(2) {
    position: sticky; left: 44px; z-index: 1; background-color: var(--bg-2); box-shadow: 1px 0 0 var(--line-2); max-width: 46vw; white-space: normal; line-height: 1.3;
  }
  .table-wrap table.has-rank thead th:nth-child(2) { z-index: 3; background: var(--card-2); }
  .table-wrap table:not(.has-rank) tbody td:first-child { box-shadow: 1px 0 0 var(--line-2); }
  .table-wrap tbody tr.podium-1 td.c-rank { background: var(--bg-2) linear-gradient(var(--gold), var(--gold)) center/28px 22px no-repeat; }
  .table-wrap tbody tr.podium-2 td.c-rank { background: var(--bg-2) linear-gradient(var(--silver), var(--silver)) center/28px 22px no-repeat; }
  .table-wrap tbody tr.podium-3 td.c-rank { background: var(--bg-2) linear-gradient(var(--bronze), var(--bronze)) center/28px 22px no-repeat; }
  /* Narrow tables (3 or fewer columns): full width, no sideways swipe,
     no sticky columns; team names wrap. Wider tables keep scroll. */
  .table-wrap.t-narrow { overflow-x: visible; }
  .table-wrap.t-narrow table { min-width: 0; width: 100%; }
  .table-wrap.t-narrow tbody td:first-child,
  .table-wrap.t-narrow thead th:first-child,
  .table-wrap.t-narrow tfoot td:first-child { position: static; box-shadow: none; }
  .table-wrap.t-narrow table.has-rank tbody td:nth-child(2),
  .table-wrap.t-narrow table.has-rank thead th:nth-child(2) { position: static; box-shadow: none; max-width: none; }
  .table-wrap.t-narrow th, .table-wrap.t-narrow td { white-space: normal; }
  /* Sticky cells must stay opaque: the zebra + hover washes above paint them
     near-transparent, letting scrolled columns show through underneath. */
  .table-wrap tbody tr:nth-child(even):not(.podium-1):not(.podium-2):not(.podium-3) > td:first-child,
  .table-wrap table.has-rank tbody tr:nth-child(even):not(.podium-1):not(.podium-2):not(.podium-3) > td:nth-child(2) {
    background-color: var(--bg-2);
  }
  .table-wrap tbody tr:hover:not(.podium-1):not(.podium-2):not(.podium-3) > td:first-child,
  .table-wrap table.has-rank tbody tr:hover:not(.podium-1):not(.podium-2):not(.podium-3) > td:nth-child(2) {
    background-color: color-mix(in srgb, var(--accent) 8%, var(--bg-2));
  }
  .table-shell { --stick-w: 0; }
}

/* Top 10 cards (teams / players) */
.top-block { margin: 8px 0 40px; }
.top-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .top-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 420px) { .top-grid { gap: 8px; } .top-card { padding: 10px 6px 8px; } .top-stats dt { font-size: .5rem; letter-spacing: 0; } .top-stats dd { font-size: .75rem; } }
.top-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 14px 12px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.top-card:hover { border-color: var(--line-2); }
.top-rank { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-weight: 700; font-size: .78rem; padding: 2px 7px; border: 1px solid var(--line-2); color: var(--muted); background: var(--bg-2); }
.top-rank.gold { background: var(--gold); color: #1a1204; border-color: var(--gold); }
.top-rank.silver { background: var(--silver); color: #14161a; border-color: var(--silver); }
.top-rank.bronze { background: var(--bronze); color: #1a1006; border-color: var(--bronze); }
.top-media { margin: 10px 0 8px; }
.top-media .avatar-lg { width: 96px; height: 110px; }
.top-name { font-family: var(--serif); font-size: 1.3rem; margin: 0; line-height: 1.1; overflow-wrap: anywhere; }
.top-name a { color: var(--text); text-decoration: none; }
.top-name a:hover { color: var(--accent); }
.top-sub { color: var(--muted); font-size: .82rem; margin: 4px 0 10px; }
.top-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; margin: auto 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
.top-stats dt { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.top-stats dd { margin: 2px 0 0; font-family: var(--mono); font-weight: 700; font-size: .85rem; color: var(--text); }

/* Schedule live block */
.live-block { margin: 8px 0 36px; }
.live-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-tag { font-family: var(--mono); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border: 1px solid var(--line-2); color: var(--muted); }
.status-tag.live { background: var(--danger); border-color: var(--danger); color: #fff; }
.status-tag.scheduled { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Latest standings block (driven by the standings table flagged "latest") */
.latest-standings { background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 3px; padding: 18px 18px 14px; margin: 28px 0; }
.ls-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ls-head h2, .ls-head h3 { margin: 0; font-size: clamp(1.35rem, 4.6vw, 1.9rem); line-height: 1.05; }
.ls-kicker { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; font-weight: 500; }
.ls-head .status-tag { flex: none; white-space: nowrap; }
.ls-meta { margin: 8px 0 12px; color: var(--muted); font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; }
.ls-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ls-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); min-width: 0; }
.ls-rank { flex: none; width: 2.1rem; height: 2.1rem; display: inline-grid; place-items: center; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 3px; }
.ls-rank.gold { color: #14120c; background: var(--gold); border-color: var(--gold); }
.ls-rank.silver { color: #14120c; background: var(--silver); border-color: var(--silver); }
.ls-rank.bronze { color: #14120c; background: var(--bronze); border-color: var(--bronze); }
.ls-team { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ls-team .identity { min-width: 0; color: var(--text); text-decoration: none; font-weight: 600; }
.ls-team .identity > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-team a.identity:hover > span:last-child { color: var(--accent); }
.ls-sub { font-family: var(--mono); font-size: .68rem; color: var(--faint); padding-left: 36px; }
.ls-pts { flex: none; font-family: var(--serif); font-size: 1.5rem; font-variant-numeric: tabular-nums; line-height: 1; text-align: right; }
.ls-pts small { font-family: var(--mono); font-size: .62rem; color: var(--muted); margin-left: 3px; font-weight: 400; letter-spacing: .06em; }
.ls-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; }
.ls-src { margin: 0; font-size: .78rem; color: var(--muted); }
.ls-src a { color: var(--muted); }
.ls-current { margin: 10px 0 14px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 3px; font-size: .95rem; }
.ls-current .ls-kicker { display: inline; margin: 0 8px 0 0; }
.ls-current a { color: var(--text); font-weight: 600; }
@media (max-width: 420px) { .latest-standings { padding: 14px 12px 12px; } .ls-list li { gap: 9px; } .ls-rank { width: 1.8rem; height: 1.8rem; } .ls-pts { font-size: 1.3rem; } }

/* Roster moves: table on desktop, two-sided cards on mobile */
.moves { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 3px; background: var(--card); }
.moves > li { display: grid; grid-template-columns: 76px minmax(120px, 1fr) minmax(0, 2.4fr) 104px; align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--line); min-width: 0; }
.moves > li:first-child { border-top: 0; }
.mv-head { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); background: rgba(255,255,255,.02); padding-top: 8px !important; padding-bottom: 8px !important; }
.mv-head .mv-path { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 10px; }
.mv-date { font-family: var(--mono); font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mv-player { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); font-weight: 600; text-decoration: none; }
.mv-player > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.mv-player:hover > span:last-child, a.mv-side:hover .mv-name { color: var(--accent); }
.mv-path { display: grid; grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr); align-items: center; gap: 10px; min-width: 0; }
.mv-side { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); text-decoration: none; }
.mv-txt { display: flex; flex-direction: column; min-width: 0; }
.mv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.mv-role { font-family: var(--mono); font-size: .64rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.mv-none .mv-name { color: var(--faint); }
.mv-none { flex-direction: column; align-items: flex-start; gap: 0; }
.mv-badge { flex: none; width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 3px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: .62rem; color: var(--muted); background: var(--bg); }
.mv-arrow { color: var(--accent); font-size: 1.1rem; text-align: center; line-height: 1; }
.mv-type { justify-self: end; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.mv-in { color: var(--ok); border-color: rgba(61,222,154,.45); }
.mv-out { color: var(--danger); border-color: rgba(255,93,108,.45); }
.mv-move { color: var(--accent); border-color: rgba(232,163,61,.5); }
.mv-warn { color: var(--gold); border-color: rgba(240,193,74,.45); }
@media (max-width: 720px) {
  .moves { background: transparent; border: 0; display: grid; gap: 8px; }
  .moves > .mv-head { display: none; }
  .moves > li.mv-row { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "date type" "player player" "path path"; gap: 8px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 12px; }
  .mv-row .mv-player { grid-area: player; }
  .mv-row .mv-type { grid-area: type; }
  .mv-row .mv-date { grid-area: date; font-size: .68rem; }
  .mv-row .mv-path { grid-area: path; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 8px 10px; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); gap: 8px; }
  .mv-row .mv-path > :last-child { justify-content: flex-end; text-align: right; }
  .mv-row .mv-path > .mv-none:last-child { align-items: flex-end; }
  .mv-row .mv-path > :last-child .mv-txt { align-items: flex-end; }
  .mv-name { font-size: .84rem; white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }
}
.participants-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 16px; }
.participants-list li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.participants-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.participants-list a:hover { color: var(--accent); }

/* Player profile v2 */
.ps-snapshot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 18px;
  background: var(--line); border: 1px solid var(--line); border-top: 2px solid var(--accent); }
.ps-cell { background: var(--card); padding: 12px 14px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ps-cell b { font-family: var(--serif); font-size: 1.9rem; line-height: 1; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.ps-cell span { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ps-cell:first-child b { color: var(--accent); }
@media (min-width: 640px) { .ps-snapshot { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ps-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ps-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; background: var(--bg-2); }
.ps-chip::after { content: "\2197"; margin-left: 6px; color: var(--accent); }
.ps-chip:hover { border-color: var(--accent); }
.ps-timeline { position: relative; margin: 0 0 22px; padding-left: 22px; counter-reset: tl; }
.ps-timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--accent), var(--line) 60%); }
.ps-tl { position: relative; display: grid; gap: 4px; padding: 8px 0 12px 10px; border-bottom: 1px dashed var(--line); }
.ps-tl:last-child { border-bottom: 0; }
.ps-tl::before { content: ""; position: absolute; left: -20px; top: 14px; width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--bg); border: 2px solid var(--faint); }
.ps-tl-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.ps-tl-date { font-family: var(--mono); font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.ps-tl-now .ps-tl-date { color: var(--accent); }
.ps-tl-team .pc-team { justify-content: flex-start; }
.ps-place { display: inline-block; min-width: 3.1em; padding: 2px 6px; text-align: center; font-family: var(--mono); font-weight: 700;
  font-size: .78rem; border: 1px solid var(--line-2); }
.ps-medal-1 { background: var(--gold); color: #1a1204; border-color: var(--gold); }
.ps-medal-2 { background: var(--silver); color: #111; border-color: var(--silver); }
.ps-medal-3 { background: var(--bronze); color: #1a0e04; border-color: var(--bronze); }
.ps-tier { font-family: var(--mono); font-size: .74rem; color: var(--olive); font-weight: 700; }
.ps-stage { display: block; font-family: var(--mono); font-size: .68rem; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.ps-ach td { vertical-align: middle; }
.ps-ach td:first-child { white-space: nowrap; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.ps-awards { display: grid; gap: 8px; margin: 0 0 22px; }
@media (min-width: 640px) { .ps-awards { grid-template-columns: 1fr 1fr; } }
.ps-award { display: grid; gap: 2px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.ps-award-plain { border-left-color: var(--line-2); }
.ps-award-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--gold); }
.ps-award-ev { font-size: .92rem; }
.ps-award-ev .tthumb { display: inline-block; width: 24px; height: 24px; vertical-align: middle;
  margin-right: 6px; border-radius: 5px; overflow: hidden; }
.ps-award-ev .tthumb img { width: 24px; height: 24px; object-fit: contain; }
.ps-award-ev .avatar { width: 24px; height: 24px; border-radius: 6px; vertical-align: middle; margin-right: 6px; }
.ps-award-ev .avatar .avatar-initials { font-size: .62rem; }
.ps-award-team { display: inline-block; vertical-align: middle; margin-left: 8px; }
.ps-award-team .mark-sm { width: 24px; height: 24px; }
.ps-award-team .mark-sm img { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; }
.ps-award-ev .avatar .role-ico { display: none; }
td .tthumb-logo img { object-fit: contain; }
.ps-award-meta, .ps-src { font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.ps-sub { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 8px; }
.ps-years { display: grid; gap: 6px; margin: 0 0 22px; }
.ps-years li { display: grid; grid-template-columns: 3.2em 1fr auto; gap: 10px; align-items: center; font-family: var(--mono); font-size: .78rem; }
.ps-bar { height: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.ps-bar i { display: block; height: 100%; background: repeating-linear-gradient(135deg, var(--accent) 0 6px, color-mix(in srgb, var(--accent) 75%, #000) 6px 8px); }
.ps-amt { color: var(--text); text-align: right; }
.ps-facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 22px; }
.ps-fact { display: grid; grid-template-columns: 9em 1fr; gap: 10px; padding: 9px 12px; background: var(--card); }
.ps-fact dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--faint); }
.ps-fact dd { margin: 0; }
.ps-links li { padding: 8px 0; border-bottom: 1px solid var(--line); display: grid; }
.ps-links small { font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.ps-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 0 0 22px; }
.ps-gallery img { width: 100%; height: auto; display: block; }
.ps-mates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 22px; }
.ps-mates a { display: grid; gap: 4px; padding: 10px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.ps-mates a:hover { border-color: var(--accent); }
.ps-mates small { font-family: var(--mono); font-size: .68rem; color: var(--faint); text-transform: uppercase; }
.ps-cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 640px) { .ps-cell:last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 599px) { .ps-ach th:nth-child(3), .ps-ach td:nth-child(3) { display: none; } .ps-ach td, .ps-ach th { padding-left: 6px; padding-right: 6px; } }

/* Achievements table: stacked cards on phones (players + teams) */
@media (max-width: 599px) {
  .ach-table table { min-width: 0; width: 100%; }
  .ach-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ach-table tbody tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3px 12px; align-items: start;
    padding: 12px 10px; border-bottom: 1px solid var(--line); }
  .ach-table td { padding: 0 !important; border: 0 !important; display: block; min-width: 0; height: auto !important;
    position: static !important; background: transparent !important; box-shadow: none !important; white-space: normal !important; }
  .ach-table td.c-prize:empty, .ach-table td.c-prize.is-empty { display: none; }
  .ach-table td.c-place { grid-row: 1 / span 3; grid-column: 1; }
  .ach-table td.c-tour { grid-column: 2; grid-row: 1; }
  .ach-table td.c-prize { grid-column: 3; grid-row: 1; font-family: var(--mono); font-size: .76rem; text-align: right; }
  .ach-table td.c-date { grid-column: 2 / span 2; grid-row: 2; font-size: .72rem; }
  .ach-table td.c-team { grid-column: 2 / span 2; grid-row: 3; font-size: .85rem; }
  .ach-table td.c-team .pc-team { justify-content: flex-start; }
  .ach-table td.c-tier { display: none; }
  .ach-table caption { text-align: left; }
}
.ts-roster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; }
@media (min-width: 720px) { .ts-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ts-card { position: relative; display: grid; justify-items: start; gap: 4px; padding: 14px 12px 12px; background: var(--card);
  border: 1px solid var(--line); border-top: 2px solid var(--accent); text-decoration: none; height: 100%; }
.ts-card:hover { border-color: var(--accent); }
.ts-ign { font-family: var(--serif); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; margin-top: 6px; }
.ts-real { font-size: .82rem; color: var(--muted); }
.ts-role { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; color: var(--accent); letter-spacing: .05em; }
.ts-join { font-family: var(--mono); font-size: .68rem; color: var(--faint); }
.ts-medals { margin: 0 0 22px; max-width: 420px; }
.ts-medals table { min-width: 0; width: 100%; }
.ts-medals td, .ts-medals th { text-align: center; padding: 8px; }
.ts-medals th[scope="row"] { text-align: left; font-family: var(--mono); font-size: .78rem; color: var(--olive); }
.ts-medals tfoot td, .ts-medals tfoot th { border-top: 1px solid var(--line-2); font-weight: 700; }
.os-team .mark { margin-bottom: 4px; }
.ps-timeline li.ps-tl > span:last-child { font-size: .92rem; }
/* Liquipedia-style tournament calendar */
.t-cal { min-width: 700px; }
.t-cal th { text-align: center; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.t-cal td.cal-date { text-align: center; font-weight: 700; font-size: .85rem; white-space: nowrap; padding: 8px 6px; }
.t-cal td.cal-stage { text-align: center; font-size: .8rem; color: var(--accent); min-height: 1.5em; padding: 6px; }
.t-cal tbody tr:nth-child(4n+3) td, .t-cal tbody tr:nth-child(4n+4) td { background: rgba(255,255,255,.02); }
/* Visible publish time, identical to the sitemap lastmod. */
.publish-time { font-size: .85rem; color: var(--muted); }

/* ---- Light/dark theme (B1, 2026-11-03) ----
   Dark is the default: :root already carries the dark tokens, and the
   head inline script sets data-theme before paint (stored choice wins,
   else prefers-color-scheme). Light only overrides semantic tokens and
   the few surfaces with hardcoded dark backgrounds. */
[data-theme="dark"] { color-scheme: dark; }
[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f4ec;
  --bg-2: #efeadd;
  --card: #fffdf7;
  --card-2: #f2eee3;
  --line: rgba(30, 26, 15, 0.16);
  --line-2: rgba(30, 26, 15, 0.30);
  --text: #211d12;
  --muted: #6d6656;
  --faint: #938a76;
  --accent: #b97a1d;
  --accent-ink: #fff8e6;
  --lime: #8a6400;
  --lime-ink: #fff8e6;
  --olive: #5d6b3a;
  --gold: #8a6400;
  --silver: #5a6b8a;
  --bronze: #a86a35;
  --danger: #c81e2e;
  --ok: #0e7a4c;
  --shadow: 0 18px 40px rgba(30, 26, 15, 0.18);
}
[data-theme="light"] .site-header { background: rgba(247, 244, 236, 0.92); }
[data-theme="light"] .nav-links { background: #f7f4ec; }
[data-theme="light"] .table-wrap { background: #fffdf7; }
[data-theme="light"] th { background: #efeadd; }
[data-theme="light"] .banner { background: #e8e2d2; }
[data-theme="light"] .banner-fallback { background: #fffdf7; }
[data-theme="light"] .initials { background: #f2e8d5; }
[data-theme="light"] .avatar-sm .avatar-role { background: #f2eee3; }
[data-theme="light"] .badge.off { background: #f2e8d5; }
[data-theme="light"] .badge.soon { background: #e3ecf5; }
[data-theme="light"] .badge.done { background: #ddf0e4; }

/* Team-logo plates: in dark mode every logo sits on a light backing so
   black marks stay readable; in light mode the card itself is light. */
.tinfobox-logo { background: #f2f0ea; border-radius: 10px; padding: 10px; }
.banner-logo { background: #f2f0ea; border-radius: 12px; }
.hub-card .tthumb-logo { background: #f2f0ea; }
.mark picture { display: inline-block; background: #f2f0ea; border-radius: 6px; padding: 2px; line-height: 0; }
.mark picture img { display: block; }
[data-theme="light"] .tinfobox-logo { background: transparent; }
[data-theme="light"] .banner-logo { background: transparent; }
[data-theme="light"] .hub-card .tthumb-logo { background: var(--card); }
[data-theme="light"] .mark picture { background: transparent; }

/* Sidebar publish line (injected by build.py) and theme toggle. */
.tinfobox-published { text-align: center; margin: 10px 0 0; }
.theme-toggle {
  margin-left: auto;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--text); }
