:root {
  --ink: #070707;
  --ink-soft: #0d0f12;
  --panel: #111318;
  --panel-2: #16191e;
  --paper: #f4f0e6;
  --muted: #8d929b;
  --gold: #d9aa43;
  --gold-bright: #ffd66b;
  --gold-deep: #8a641b;
  --line: rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.055);
  --gold-line: rgba(217,170,67,.34);
  --display: "Bebas Neue", sans-serif;
  --body: "Manrope", sans-serif;
  --header-h: 86px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #050505;
}
html::-webkit-scrollbar { width: 6px; height: 6px; }
html::-webkit-scrollbar-track { background: #050505; }
html::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); border-radius: 999px; }
html::-webkit-scrollbar-thumb:hover { background: var(--gold-bright); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M3 2l18 10-7.5 1.8 4.7 8.9-3.8 2.2-4.8-9.1-6.8 5.6z' fill='%23f3c44f' stroke='%23070707' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M5.1 4.2l11.4 6.3-5.2 1.2-2.2 4.8z' fill='%23fff1b8' opacity='.55'/%3E%3C/svg%3E") 3 2, auto;
}
body.is-loading, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button, [role="button"], .btn, .player-links a {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M3 2l18 10-7.5 1.8 4.7 8.9-3.8 2.2-4.8-9.1-6.8 5.6z' fill='%23e0ad38' stroke='%23070707' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M5.1 4.2l11.4 6.3-5.2 1.2-2.2 4.8z' fill='%23ffe38a' opacity='.52'/%3E%3C/svg%3E") 3 2, pointer;
}
button, input, textarea, select { font: inherit; }
button { border: 0; }
input, textarea { cursor: text; }
img, svg { max-width: 100%; height: auto; display: block; }

.lang-en { display: none; }
html[lang="en"] .lang-es { display: none; }
html[lang="en"] .lang-en { display: inline; }

::selection { background: var(--gold); color: #080808; }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity .55s ease, visibility .55s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-core { position: relative; width: 104px; height: 104px; display: grid; place-items: center; }
.preloader-ring { position: absolute; inset: 0; border: 1px solid rgba(217,170,67,.18); border-top-color: var(--gold-bright); border-radius: 50%; animation: spin 1.15s linear infinite; }
.preloader-status {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--gold-bright);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 2.2px;
  line-height: 1;
  text-align: center;
  animation: loaderTextPulse 1.5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loaderTextPulse {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}

/* Header floats over the Hero so the map can begin at viewport top. */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-h);
  padding: 0 clamp(24px, 4.5vw, 84px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  background: rgba(6,7,8,.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.brand { justify-self: start; display: inline-flex; align-items: center; min-width: 0; }
.brand-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; white-space: nowrap; line-height: .8; }
.brand-wordmark strong, .brand-wordmark em { display: block; font-family: var(--display); font-style: normal; font-weight: 400; text-transform: uppercase; }
.brand-wordmark strong { color: var(--paper); font-size: 31px; line-height: .82; letter-spacing: 1.25px; }
.brand-wordmark em { margin-top: 3px; color: var(--gold); font-size: 18px; line-height: .8; letter-spacing: 5.9px; }

.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 1.8vw, 32px); }
.main-nav a {
  position: relative;
  min-width: 0;
  min-height: 42px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #c8cbd0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.55px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .18s ease, transform .18s ease;
}
.main-nav a::after { display: none; }
.main-nav a:hover { color: var(--gold-bright); transform: translateY(-1px); }
.main-nav a.is-current {
  min-height: 42px;
  padding: 0 28px;
  background: var(--gold);
  color: #090909;
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  box-shadow: none;
}
.main-nav a.is-current:hover { color: #090909; }

.section-anchor { position: relative; top: calc(-1 * var(--header-h)); height: 0; visibility: hidden; pointer-events: none; }

.header-controls {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}
.language-switch {
  min-height: 34px;
  padding: 3px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(255,215,0,.20);
  border-radius: 20px;
  background: rgba(20,20,25,.60);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}
.lang-button {
  min-width: 0;
  height: auto;
  padding: 4px 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(7,7,7,.9) 0%, rgba(7,7,7,.7) 58%, rgba(7,7,7,.18) 100%);
  color: rgba(255,255,255,.50);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: .8px;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M3 2l18 10-7.5 1.8 4.7 8.9-3.8 2.2-4.8-9.1-6.8 5.6z' fill='%23e0ad38' stroke='%23070707' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M5.1 4.2l11.4 6.3-5.2 1.2-2.2 4.8z' fill='%23ffe38a' opacity='.52'/%3E%3C/svg%3E") 3 2, pointer;
  transition: color .2s ease, background .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.lang-button:hover {
  color: rgba(255,255,255,1);
}
.lang-button.is-active {
  color: #0a0a0c;
  background: #ffd700;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(255,215,0,.12);
}
.lang-button.is-active:hover {
  color: #0a0a0c;
}
.menu-toggle { display: none; width: 38px; height: 36px; padding: 0 9px; background: transparent; border: 1px solid var(--line); cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M3 2l18 10-7.5 1.8 4.7 8.9-3.8 2.2-4.8-9.1-6.8 5.6z' fill='%23e0ad38' stroke='%23070707' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M5.1 4.2l11.4 6.3-5.2 1.2-2.2 4.8z' fill='%23ffe38a' opacity='.52'/%3E%3C/svg%3E") 3 2, pointer; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 5px 0; background: var(--paper); }

.section { position: relative; padding: 110px clamp(24px, 5vw, 92px); }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; color: var(--gold-bright); font-size: 8px; font-weight: 800; letter-spacing: 2.1px; text-transform: uppercase; }
.eyebrow > span:first-child { width: 34px; height: 1px; background: var(--gold); box-shadow: 0 0 12px rgba(217,170,67,.45); }

/* Hero: cinematic layered composition. The map is a background layer, not a rigid second column. */
.hero {
  min-height: 640px;
  height: clamp(640px, 76vh, 760px);
  padding: 0;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: #070707;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(to right,
      rgba(7,7,7,.82) 0%,
      rgba(7,7,7,.66) 16%,
      rgba(7,7,7,.38) 30%,
      rgba(7,7,7,.16) 44%,
      rgba(7,7,7,.05) 56%,
      transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  height: 6%;
  background: linear-gradient(to bottom, transparent 0%, rgba(7,7,7,.04) 60%, rgba(7,7,7,.22) 100%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  z-index: 1;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 18%, transparent 34%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 18%, transparent 34%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  z-index: auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
}
.hero-copy {
  position: relative;
  z-index: 5;
  width: min(38vw, 540px);
  max-width: 540px;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 22px) 0 54px clamp(28px, 4.2vw, 76px);
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: clamp(-70px, -4vw, -34px);
  top: 17%;
  width: min(118%, 600px);
  height: 66%;
  background: radial-gradient(ellipse at 28% 50%, rgba(7,7,7,.58) 0%, rgba(7,7,7,.36) 34%, rgba(7,7,7,.12) 62%, transparent 78%);
  filter: blur(18px);
  pointer-events: none;
}
.hero-copy h1 {
  margin: 24px 0 25px;
  font: clamp(70px, 5.35vw, 106px)/.8 var(--display);
  letter-spacing: -.018em;
}
.hero-copy h1 span,
.hero-copy h1 strong {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-weight: 400;
}
.hero-copy h1 span { color: var(--paper); }
.hero-copy h1 strong { color: var(--gold); text-shadow: 0 0 45px rgba(217,170,67,.12); }
.hero-copy p { max-width: 405px; margin: 0; color: #aeb2b9; font-size: 15px; line-height: 1.8; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-visual {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  pointer-events: none;
}

/* Mirage is allowed to breathe across the Hero and dissolves softly behind the copy. */
.hero-scene {
  isolation: isolate;
  background: #070707;
}
.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/hero/mirage-map.png");
  background-size: cover;
  background-position: 64% center;
  background-repeat: no-repeat;
  filter: grayscale(.78) brightness(.56) contrast(1.04) saturate(.28);
  transform: scale(1.01);
  transform-origin: center right;
}
.hero-scene::after {
  content: "";
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(7,7,7,.34) 0%,
      rgba(7,7,7,.18) 8%,
      rgba(7,7,7,.06) 14%,
      transparent 22%),
    linear-gradient(to bottom,
      rgba(7,7,7,.01) 0%,
      transparent 88%,
      rgba(7,7,7,.10) 100%);
  box-shadow: none;
}

.hero-operators {
  position: absolute;
  z-index: 3;
  right: clamp(34px, 4.8vw, 98px);
  bottom: 0;
  height: clamp(500px, 80%, 760px);
  max-height: calc(100% - var(--header-h) - 10px);
  width: auto;
  max-width: min(52vw, 780px);
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.48)) drop-shadow(0 0 22px rgba(217,170,67,.14));
  mix-blend-mode: normal;
  opacity: 1;
}

.btn { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--line); text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M3 2l18 10-7.5 1.8 4.7 8.9-3.8 2.2-4.8-9.1-6.8 5.6z' fill='%23e0ad38' stroke='%23070707' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M5.1 4.2l11.4 6.3-5.2 1.2-2.2 4.8z' fill='%23ffe38a' opacity='.52'/%3E%3C/svg%3E") 3 2, pointer; transition: .22s ease; }
.btn--gold { color: #080808; background: var(--gold); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 14px 35px rgba(217,170,67,.14); }
.btn--ghost { color: #d3d5d8; background: transparent; }
.btn--ghost:hover { color: var(--gold-bright); border-color: var(--gold-line); }

/* Full-bleed gold identity banner. */
.ticker { position: relative; z-index: 4; width: 100vw; overflow: hidden; border-top: 1px solid rgba(255,214,107,.48); border-bottom: 1px solid rgba(138,100,27,.65); background: var(--gold); color: #080808; pointer-events: none; user-select: none; }
.ticker-track { width: max-content; min-height: 54px; padding: 0 34px; display: flex; align-items: center; gap: 34px; animation: ticker 30s linear infinite; animation-play-state: running !important; white-space: nowrap; will-change: transform; }
.ticker-track > span { font: 22px/1 var(--display); letter-spacing: 2.15px; }
.ticker-track > span > span { font: inherit; letter-spacing: inherit; }
.ticker-track i { color: rgba(8,8,8,.72); font-style: normal; font-size: 11px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-head, .matches-top { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 42px; }
.section-head h2, .matches-top h2 { margin: 12px 0 0; font: clamp(58px, 6vw, 98px)/.82 var(--display); font-weight: 400; }
.section-head h2 b, .matches-top h2 b { color: var(--gold); font-weight: 400; }
.section-head > p { max-width: 470px; margin: 0 0 7px; color: #858a92; font-size: 12px; line-height: 1.75; }

/* Roster: 4 cards on first row, 3 centered on second row. */
.roster-section { background: linear-gradient(180deg, #0a0b0d, #08090a); }
.roster-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.player-card { grid-column: span 2; position: relative; height: clamp(350px, 28vw, 430px); max-height: 430px; overflow: hidden; background: linear-gradient(180deg, #15181d 0%, #090a0c 100%); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.player-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 18%, rgba(217,170,67,.15), transparent 38%), linear-gradient(180deg, rgba(255,255,255,.03), transparent 36%); pointer-events: none; }
.roster-grid .player-card:nth-child(5) { grid-column: 2 / span 2; }
.player-card:hover { transform: translateY(-5px); border-color: rgba(217,170,67,.45); box-shadow: 0 18px 40px rgba(0,0,0,.24); }
.player-card > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center bottom; padding: 14px 10px 0; filter: drop-shadow(0 16px 26px rgba(0,0,0,.45)) saturate(.93) contrast(1.02); transition: transform .35s ease, filter .35s ease; }
.player-card:hover > img { transform: translateY(-5px) scale(1.03); filter: drop-shadow(0 18px 28px rgba(0,0,0,.5)) saturate(1) contrast(1.05); }
.player-gradient { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,9,.05) 24%, rgba(5,5,6,.2) 54%, rgba(5,5,6,.95) 100%); pointer-events: none; }
.player-index { position: absolute; z-index: 3; top: 16px; left: 17px; color: rgba(255,255,255,.25); font: 28px/1 var(--display); }
.player-meta { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 20px; }
.player-meta > span { color: var(--gold); font-size: 7px; font-weight: 800; letter-spacing: 1.8px; }
.player-meta h3 { margin: 0 0 7px; font: 38px/1 var(--display); font-weight: 400; letter-spacing: .5px; }
.player-role { margin: 0; color: #a3a7ad; font-size: 7px; font-weight: 700; line-height: 1.45; letter-spacing: 2px; text-transform: uppercase; }
.player-role .lang-es, .player-role .lang-en { color: inherit; font: inherit; letter-spacing: inherit; }

/* Match table: versus group stays compact and centered. */
.matches-section { background: #070809; }
.match-filter { display: flex; gap: 5px; }
.match-filter button { border: 1px solid var(--line); background: transparent; padding: 10px 13px; color: #858a93; text-transform: uppercase; font-size: 8px; font-weight: 800; letter-spacing: 1.5px; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M3 2l18 10-7.5 1.8 4.7 8.9-3.8 2.2-4.8-9.1-6.8 5.6z' fill='%23e0ad38' stroke='%23070707' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M5.1 4.2l11.4 6.3-5.2 1.2-2.2 4.8z' fill='%23ffe38a' opacity='.52'/%3E%3C/svg%3E") 3 2, pointer; }
.match-filter button:hover, .match-filter button.is-active { background: var(--gold); border-color: var(--gold); color: #090909; }
.match-list { display: grid; gap: 12px; border-top: 0; }
.match-row--empty {
  grid-template-columns: 1fr;
  min-height: 168px;
  place-items: center;
  padding: 24px 28px;
}
.match-row--empty:hover {
  transform: none;
  border-color: rgba(255,255,255,.075);
  box-shadow: none;
  background: #0a0a0c;
}
.match-empty-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.match-empty-copy strong {
  color: var(--gold);
  font: 40px/1 var(--display);
  font-weight: 400;
  letter-spacing: 1px;
}
.match-empty-copy > span {
  color: #7d828b;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .2px;
  max-width: 540px;
}
.opponent-avatar { width: 36px; height: 36px; max-width: 36px; flex: 0 0 36px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(217,170,67,.25); background: #111216; }
.match-row { display: grid; grid-template-columns: 100px 105px minmax(390px, 1fr) 155px 82px; align-items: center; gap: 20px; min-height: 112px; padding: 22px 24px; background: #0a0a0c; border: 1px solid rgba(255,255,255,.075); border-radius: 8px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease; }
.match-row:hover { transform: translateY(-2px); background: #0c0c0f; border-color: rgba(217,170,67,.36); box-shadow: 0 12px 34px rgba(0,0,0,.26), 0 0 28px rgba(217,170,67,.035); }
.match-row.is-hidden { display: none; }
.match-state { min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--gold-bright); font-size: 8px; font-weight: 800; letter-spacing: 1.7px; }
.match-state--done { color: #747982; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(217,170,67,.09); }
.match-date { display: flex; flex-direction: column; min-width: 0; }
.match-date strong { font: 26px/1 var(--display); font-weight: 400; }
.match-date span { margin-top: 4px; color: #6f747c; font-size: 8px; text-transform: uppercase; letter-spacing: 1.3px; }
.match-versus { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.team { min-width: 0; display: flex; align-items: center; gap: 12px; flex: 0 1 220px; }
.team--us { justify-content: flex-end; text-align: right; }
.team--opponent { justify-content: flex-start; text-align: left; }
.team img { width: 34px; height: 34px; max-width: 34px; object-fit: contain; flex: 0 0 34px; }
.team > span { min-width: 0; font-size: 10px; font-weight: 800; letter-spacing: .9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opponent-mark { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid var(--line); color: #676c74; font: 20px/1 var(--display); }
.score { flex: 0 0 auto; min-width: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 30px/1 var(--display); }
.score b { color: var(--gold-bright); font-weight: 400; }
.score span { color: #868b93; }
.score i { color: #4f545b; font-style: normal; }
.match-row[data-type="result"] .score { min-width: 64px; font-size: 38px; color: var(--gold-bright); text-shadow: 0 0 18px rgba(255,214,107,.10); }
.match-row[data-type="result"] .score b,
.match-row[data-type="result"] .score span,
.match-row[data-type="result"] .score i { color: var(--gold-bright); }
.score--vs { color: #6f747c; font-size: 19px; text-shadow: none; }
.match-event { min-width: 0; display: flex; flex-direction: column; }
.match-event > span { font-size: 9px; font-weight: 800; letter-spacing: 1.2px; white-space: nowrap; }
.match-event small { margin-top: 4px; color: #6f747c; font-size: 8px; }
.watch-link { justify-self: end; color: #8d929a; font-size: 8px; font-weight: 800; white-space: nowrap; transition: color .2s; }
.watch-link:hover { color: var(--gold-bright); }

/* Contact UI only; no submit behavior is attached. */
.contact-section { padding-top: 80px; padding-bottom: 110px; }
.contact-panel { position: relative; padding: clamp(38px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); gap: clamp(42px, 7vw, 110px); align-items: start; overflow: hidden; border: 1px solid var(--gold-line); background: radial-gradient(circle at 82% 12%, rgba(217,170,67,.09), transparent 34%), linear-gradient(120deg, #11141a, #090a0c 72%); }
.contact-panel::after { content: ""; position: absolute; width: 420px; height: 1px; right: -90px; top: 80px; background: linear-gradient(90deg, transparent, var(--gold)); transform: rotate(-34deg); pointer-events: none; }
.contact-copy { position: relative; z-index: 2; }
.contact-copy h2 { margin: 16px 0 24px; font: clamp(66px, 7vw, 112px)/.82 var(--display); font-weight: 400; }
.contact-copy h2 b { color: var(--gold); font-weight: 400; }
.contact-copy p { max-width: 520px; margin: 0; color: #92979f; font-size: 12px; line-height: 1.8; }
.contact-form { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.form-field { display: flex; flex-direction: column; gap: 9px; }
.form-field--message { grid-column: 1 / -1; }
.form-field label { color: #777d86; font-size: 8px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); border-radius: 0; outline: none; background: rgba(255,255,255,.018); color: var(--paper); padding: 13px 12px; font-size: 13px; transition: border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.form-field input { height: 48px; }
.form-field textarea { min-height: 146px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); background: rgba(217,170,67,.025); box-shadow: inset 0 -1px 0 rgba(255,214,107,.3); }
.contact-submit { grid-column: 1 / -1; justify-self: end; min-width: 210px; min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; background: var(--gold); color: #080808; text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M3 2l18 10-7.5 1.8 4.7 8.9-3.8 2.2-4.8-9.1-6.8 5.6z' fill='%23e0ad38' stroke='%23070707' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M5.1 4.2l11.4 6.3-5.2 1.2-2.2 4.8z' fill='%23ffe38a' opacity='.52'/%3E%3C/svg%3E") 3 2, pointer; transition: background .22s ease, transform .22s ease, box-shadow .22s ease; }
.contact-submit:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 14px 35px rgba(217,170,67,.13); }


/* Live Network / Twitch */
.live-section {
  position: relative;
  display: block;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  background: linear-gradient(180deg, #08090a 0%, #060708 100%);
  border-top: 1px solid var(--line-soft);
}
.live-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 22%, rgba(217,170,67,.075), transparent 34%);
}
.live-section > * { position: relative; z-index: 1; }
.live-head { margin-bottom: 38px; }
.live-head h2 { margin: 12px 0 0; max-width: 740px; font: clamp(58px, 6vw, 98px)/.82 var(--display); font-weight: 400; }
.live-head h2 b { color: var(--gold); font-weight: 400; }
.live-head > p { max-width: 470px; margin: 0 0 7px; color: #858a92; font-size: 12px; line-height: 1.75; }
.live-network { width: 100%; max-width: 850px; margin: 0 auto; }
.twitch-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #050506; box-shadow: 0 15px 35px rgba(0,0,0,.60); }
.twitch-stage.is-offline { border: 1px solid rgba(255,255,255,.06); }
.twitch-fallback { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border-radius: inherit; background: radial-gradient(circle at 50% 44%, rgba(217,170,67,.06), transparent 34%), #050506; text-align: center; }
.twitch-unavailable { background: radial-gradient(circle at 50% 40%, rgba(217,170,67,.08), transparent 28%), linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0) 28%), #050506; }
.twitch-fallback::before { content: ""; width: 54px; height: 1px; margin-bottom: 10px; background: var(--gold); box-shadow: 0 0 18px rgba(217,170,67,.24); }
.twitch-fallback-kicker { color: var(--gold); font-size: 7px; font-weight: 800; letter-spacing: 2.4px; }
.twitch-fallback strong { color: var(--paper); font: 54px/1 var(--display); font-weight: 400; letter-spacing: 1px; }
.twitch-fallback small { color: #626770; font-size: 7px; font-weight: 800; letter-spacing: 1.6px; }
.twitch-unavailable strong { color: var(--gold); }
.twitch-unavailable small { color: #8f949c; max-width: 520px; }
.twitch-stage iframe { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; display: block; background: transparent; box-shadow: 0 15px 35px rgba(0,0,0,.60); }

/* Premium footer */
.site-footer { background: #040405; border-top: 0; }
.footer-bottom { min-height: 62px; padding: 18px clamp(24px, 5vw, 92px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.055); color: #51565e; font-size: 7px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: #050507; }
.footer-bottom-links { display: flex; align-items: center; gap: 18px; }
.footer-bottom a:hover { color: var(--gold); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  :root { --header-h: 80px; }
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); padding: 26px 22px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; background: rgba(7,7,7,.985); transform: translateY(-105%); opacity: 0; visibility: hidden; transition: .28s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { width: 100%; min-width: 0; min-height: 52px; padding: 0 18px; justify-content: flex-start; font: 28px/1 var(--display); letter-spacing: 1px; }
  .main-nav a.is-current { padding: 0 24px; justify-content: flex-start; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
  .menu-toggle { display: block; }
  .match-row { grid-template-columns: 92px 96px minmax(330px,1fr) 130px 72px; gap: 14px; }
  .team > span { font-size: 9px; }
  .match-versus { gap: 1.35rem; }
}

@media (max-width: 900px) {
  .section { padding: 90px 24px; }
  .site-header { padding-left: 24px; padding-right: 24px; }
  .brand-wordmark strong { font-size: 28px; }
  .brand-wordmark em { font-size: 16px; letter-spacing: 5.25px; }
  .hero { min-height: 620px; height: clamp(620px, 82svh, 720px); }
  .hero-layout { min-height: 100%; height: 100%; }
  .hero-copy { width: min(66vw, 580px); max-width: 580px; min-height: 100%; height: 100%; padding: calc(var(--header-h) + 32px) 24px 44px; }
  .hero-copy h1 { font-size: clamp(70px, 11vw, 104px); }
  .hero-visual { width: 76%; min-height: 100%; height: 100%; }
  .hero-operators { right: clamp(20px, 3.4vw, 56px); height: clamp(405px, 68%, 610px); max-width: min(58vw, 660px); }
  .hero-scene::before { background-position: 64% center; }
  .hero-scene::after { box-shadow: inset 18px 0 34px rgba(0,0,0,.14); }
  .section-head, .matches-top { align-items: flex-start; flex-direction: column; }
  .roster-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .player-card, .roster-grid .player-card:nth-child(5) { grid-column: auto; height: 420px; }
  .match-row { grid-template-columns: 90px 1fr auto; gap: 14px 18px; padding: 22px 0; }
  .match-state { grid-column: 1; grid-row: 1; }
  .match-date { grid-column: 1; grid-row: 2; }
  .match-versus { grid-column: 2 / -1; grid-row: 1 / span 2; }
  .match-event { grid-column: 2; grid-row: 3; }
  .watch-link { grid-column: 3; grid-row: 3; }
  .contact-panel { grid-template-columns: 1fr; gap: 42px; }
  .contact-copy p { max-width: 620px; }
}

@media (max-width: 620px) {
  :root { --header-h: 72px; }
  .site-header { padding: 0 16px; gap: 10px; }
  .brand-wordmark { gap: 0; }
  .brand-wordmark strong { font-size: 23px; }
  .brand-wordmark em { margin-top: 2px; font-size: 13px; letter-spacing: 4.45px; }
  .header-controls { gap: 7px; margin-left: 10px; }
  .menu-toggle { width: 34px; height: 34px; }
  .section { padding-left: 18px; padding-right: 18px; }
  .hero { min-height: 680px; height: auto; }
  .hero-layout { min-height: 680px; height: auto; }
  .hero-copy { width: 100%; max-width: 100%; min-height: 680px; height: auto; padding: calc(var(--header-h) + 30px) 18px 38px; justify-content: center; }
  .hero-copy h1 { margin-top: 20px; font-size: clamp(58px, 17vw, 82px); line-height: .8; }
  .hero-copy h1 span, .hero-copy h1 strong { white-space: normal; width: auto; }
  .hero-copy p { max-width: 390px; font-size: 13px; line-height: 1.7; }
  .hero-cta-row { flex-direction: column; max-width: 320px; }
  .hero-cta-row .btn { width: 100%; }
  .hero-visual { width: 100%; min-height: 100%; height: 100%; opacity: .58; }
  .hero-operators { right: 8px; height: clamp(330px, 56%, 470px); max-height: calc(100% - var(--header-h) - 12px); max-width: 76vw; opacity: .98; }
  .hero-scene::before { background-position: 76% center; }
  .hero-scene::after { background: linear-gradient(to right, rgba(7,7,7,.94) 0%, rgba(7,7,7,.72) 38%, rgba(7,7,7,.24) 70%, transparent 100%), linear-gradient(to bottom, rgba(7,7,7,.18) 0%, transparent 52%, rgba(7,7,7,.88) 100%); box-shadow: none; }
  .ticker-track { min-height: 46px; padding: 0 22px; gap: 25px; }
  .ticker-track > span { font-size: 20px; letter-spacing: 1.8px; }
  .section-head h2, .matches-top h2 { font-size: 58px; }
  .roster-grid { grid-template-columns: 1fr; gap: 13px; }
  .player-card, .roster-grid .player-card:nth-child(5) { height: min(118vw, 430px); max-height: 430px; }
  .matches-top { gap: 24px; }
  .match-filter { width: 100%; }
  .match-filter button { flex: 1; padding-left: 6px; padding-right: 6px; }
  .match-row { grid-template-columns: 1fr; gap: 15px; padding: 22px 0; }
  .match-state, .match-date, .match-versus, .match-event, .watch-link { grid-column: 1; grid-row: auto; }
  .match-state { order: 1; }
  .match-date { order: 2; }
  .match-versus { order: 3; width: 100%; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .team { flex: 1 1 0; gap: 7px; }
  .team img, .opponent-mark { width: 28px; height: 28px; max-width: 28px; flex-basis: 28px; }
  .team > span { font-size: 8px; }
  .score { min-width: 38px; font-size: 25px; }
  .match-event { order: 4; }
  .watch-link { order: 5; justify-self: start; }
  .contact-section { padding-top: 50px; padding-bottom: 72px; }
  .contact-panel { padding: 30px 22px; gap: 34px; }
  .contact-copy h2 { font-size: 70px; }
  .contact-form { grid-template-columns: 1fr; gap: 20px; }
  .form-field--message, .contact-submit { grid-column: 1; }
  .contact-submit { width: 100%; justify-self: stretch; }
  .live-head { margin-bottom: 26px; }
  .live-head h2 { font-size: 58px; }
  .live-head > p { max-width: 100%; }
  .footer-bottom { padding: 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 390px) {
  .brand-wordmark strong { font-size: 20px; }
  .brand-wordmark em { font-size: 11px; letter-spacing: 3.95px; }
  .language-switch { padding: 3px; }
  .lang-button { padding: 4px 7px; font-size: 9px; }
  .hero-copy h1 { font-size: 58px; }
  .hero-visual { min-height: 100%; height: 100%; }
  .footer-wordmark strong { font-size: 38px; }
  .footer-wordmark em { font-size: 21px; letter-spacing: 7px; }
}

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


.twitch-unavailable { gap: 10px; }
.twitch-unavailable .twitch-fallback-kicker { display: none !important; }

@media (max-width: 767px) {
  .match-row--empty { min-height: 148px; padding: 20px; }
  .match-empty-copy strong { font-size: 32px; }
  .match-empty-copy > span { font-size: 11px; max-width: 100%; }
}


/* Match Center v4.48 */
.match-panel[hidden] { display: none !important; }
.match-panel.is-active { display: block; }
.team-logo--us {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  flex: 0 0 42px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(217,170,67,.25);
  background: #111216;
  opacity: 1;
  filter: none !important;
  box-shadow: none !important;
}
.match-row--empty-upcoming {
  min-height: 180px;
}
.match-empty-copy--upcoming strong {
  color: #d7d9dd;
  font: 34px/1 var(--display);
  letter-spacing: 1px;
}
.match-result-meta {
  margin-top: 7px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px !important;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.match-bo { color: #858a92; }
.match-outcome { font: inherit; letter-spacing: inherit; }
.match-outcome.is-win { color: #55c983; }
.match-outcome.is-loss { color: #e06060; }
.match-outcome.is-neutral { color: #858a92; }
.match-pagination {
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.match-page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.match-pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.09);
  background: #090a0c;
  color: #858a92;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.match-pagination button:not(:disabled):hover {
  color: var(--paper);
  border-color: rgba(217,170,67,.38);
  transform: translateY(-1px);
}
.match-pagination button.is-active {
  color: #090909;
  background: var(--gold);
  border-color: var(--gold);
}
.match-pagination button:disabled {
  opacity: .28;
  cursor: default;
}
.match-page-nav { min-width: 86px !important; }

@media (max-width: 767px) {
  .team-logo--us { width: 36px !important; height: 36px !important; max-width: 36px !important; flex-basis: 36px !important; }
  .match-result-meta { font-size: 9px !important; }
  .match-pagination { gap: 9px; flex-wrap: wrap; }
  .match-page-nav { min-width: 72px !important; }
  .match-pagination button { min-width: 34px; height: 34px; padding: 0 8px; }
}


/* Match Center v4.50 — explicit visibility state */
.match-panel.is-hidden { display: none !important; }
.match-row.is-hidden { display: none !important; }
.match-pagination.is-hidden { display: none !important; }


/* Match Center v4.51 */
.team-logo-fallback {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217,170,67,.42);
  border-radius: 50%;
  color: var(--gold);
  font: 18px/1 var(--display);
  letter-spacing: .5px;
}
.match-row.match-row--empty-upcoming {
  display: grid !important;
  grid-template-columns: 1fr !important;
  place-items: center !important;
  min-height: 180px !important;
  padding: 24px 28px !important;
}
.match-row--empty-upcoming .match-empty-copy--upcoming {
  width: 100% !important;
  min-height: 130px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.match-row--empty-upcoming .match-empty-copy--upcoming strong {
  width: 100%;
  max-width: none;
  margin: 0;
  white-space: nowrap;
  text-align: center !important;
}
.twitch-stage.is-live { border: 1px solid rgba(217,170,67,.16); }
.twitch-unavailable::before { display: none !important; content: none !important; }

@media (max-width: 620px) {
  .match-row--empty-upcoming .match-empty-copy--upcoming strong {
    white-space: normal;
  }
  .team-logo-fallback {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 16px;
  }
}

.team-logo--us:hover { filter: none !important; box-shadow: none !important; }


/* WATCH MATCHES / streamer side cards v4.57 */
.streamer-network {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(160px, 210px) minmax(0, 850px) minmax(160px, 210px);
  align-items: stretch;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
}
.streamer-player-column {
  min-width: 0;
  display: flex;
  align-items: center;
}
.streamer-player-column .twitch-stage {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}
.streamer-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
  transition: opacity .5s ease, filter .5s ease, transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.streamer-card__visual {
  position: relative;
  height: 100%;
  min-height: 330px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(217,170,67,.11), transparent 32%),
    linear-gradient(180deg, #111317 0%, #090a0c 100%);
}
.streamer-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,6,.96) 0%, rgba(5,5,6,.24) 42%, transparent 68%);
  pointer-events: none;
}
.streamer-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.streamer-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(217,170,67,.24) 0 9%, transparent 10%),
    radial-gradient(ellipse at 50% 72%, rgba(217,170,67,.18) 0 28%, transparent 29%),
    linear-gradient(145deg, rgba(217,170,67,.12), rgba(255,255,255,.01) 58%);
}
.streamer-placeholder::before {
  content: "";
  position: absolute;
  top: 16%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #20242a;
  box-shadow: 0 78px 0 46px #171a1f;
}
.streamer-placeholder span {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  font: 74px/1 var(--display);
  color: rgba(255,214,107,.8);
}
.streamer-card__meta {
  position: absolute;
  z-index: 3;
  left: 17px;
  right: 17px;
  bottom: 16px;
  display: grid;
  gap: 3px;
  text-transform: uppercase;
}
.streamer-card__meta small {
  color: var(--gold);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.7px;
}
.streamer-card__meta strong {
  font: 32px/.95 var(--display);
  font-weight: 400;
  color: var(--paper);
  letter-spacing: .5px;
}
.streamer-card__meta > span {
  color: #858b94;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.streamer-live-badge {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(217,170,67,.38);
  background: rgba(8,8,9,.86);
  color: var(--gold-bright);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
}
.streamer-live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58d68d;
  box-shadow: 0 0 0 3px rgba(88,214,141,.11);
  animation: streamerLivePulse 1.8s ease-in-out infinite;
}
.streamer-card.is-offline {
  filter: grayscale(100%);
  opacity: .35;
}
.streamer-card.is-live {
  filter: grayscale(0%);
  opacity: 1;
  border-color: rgba(217,170,67,.28);
  box-shadow: 0 0 34px rgba(217,170,67,.10);
}
.streamer-card.is-live .streamer-live-badge {
  opacity: 1;
  transform: none;
}
.streamer-card.is-live:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 44px rgba(217,170,67,.14);
}
@keyframes streamerLivePulse {
  0%, 100% { opacity: .55; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@media (max-width: 1120px) {
  .streamer-network {
    grid-template-columns: minmax(130px, 165px) minmax(0, 1fr) minmax(130px, 165px);
    gap: 15px;
  }
  .streamer-card__visual { min-height: 290px; }
  .streamer-card__meta strong { font-size: 26px; }
}
@media (max-width: 860px) {
  .streamer-network { grid-template-columns: 1fr; }
  .streamer-player-column { grid-row: 1; }
  .streamer-card { display: none; }
}


/* WATCH MATCHES layout width fix v4.58 */
.live-section .live-network.streamer-network {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(170px, 220px) minmax(0, 850px) minmax(170px, 220px);
  align-items: stretch;
}
.live-section .streamer-player-column {
  min-width: 0;
  width: 100%;
}
.live-section .streamer-player-column .twitch-stage {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}
.live-section .streamer-card {
  display: block;
  width: 100%;
  min-height: 100%;
  height: 100%;
}
.live-section .streamer-card__visual {
  min-height: 100%;
  height: 100%;
}
@media (max-width: 1180px) and (min-width: 861px) {
  .live-section .live-network.streamer-network {
    max-width: 1100px;
    grid-template-columns: minmax(130px, 165px) minmax(0, 1fr) minmax(130px, 165px);
    gap: 14px;
  }
}
@media (max-width: 860px) {
  .live-section .live-network.streamer-network {
    max-width: 850px;
    grid-template-columns: 1fr;
  }
  .live-section .streamer-card { display: none; }
}


/* WATCH MATCHES / wider streamer cards + client Twitch detector v4.59 */
.live-section .live-network.streamer-network {
  width: min(1540px, 100%);
  max-width: 1540px;
  grid-template-columns: minmax(235px, 285px) minmax(0, 820px) minmax(235px, 285px);
  gap: clamp(20px, 2vw, 32px);
}
.live-section .streamer-card {
  min-width: 235px;
}
.live-section .streamer-card__meta small {
  letter-spacing: 2px;
}
.twitch-stage--dynamic {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
}
.twitch-player-mount {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.twitch-player-mount iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  border-radius: 8px;
}
.twitch-player-mount.is-hidden,
.twitch-fallback.is-hidden {
  display: none !important;
}
.twitch-stage--dynamic .twitch-fallback {
  z-index: 3;
}
@media (max-width: 1280px) and (min-width: 861px) {
  .live-section .live-network.streamer-network {
    max-width: 1180px;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(180px, 220px);
    gap: 16px;
  }
  .live-section .streamer-card { min-width: 180px; }
}


/* WATCH MATCHES / dual-live feed selector v4.61 */
.live-section .live-network.streamer-network {
  width: min(1600px, 100%);
  max-width: 1600px;
  grid-template-columns: minmax(270px, 320px) minmax(0, 820px) minmax(270px, 320px);
  gap: clamp(24px, 2.2vw, 38px);
}
.live-section .streamer-player-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
}
.live-section .streamer-card { min-width: 270px; }
.live-section .streamer-card__visual img {
  object-fit: cover;
  object-position: center 10%;
}
.streamer-card.is-selected-feed {
  border-color: rgba(255,214,107,.55);
  box-shadow: 0 0 0 1px rgba(255,214,107,.08), 0 0 34px rgba(217,170,67,.13);
}
.stream-feed-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.stream-feed-button {
  min-width: 150px;
  min-height: 42px;
  padding: 8px 14px;
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas: "status code" "status name";
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  color: #8c929b;
  transition: color .22s ease, border-color .22s ease, background .22s ease, opacity .22s ease, transform .22s ease;
}
.stream-feed-button:not(:disabled):hover {
  transform: translateY(-2px);
  border-color: rgba(217,170,67,.30);
  color: #fff;
}
.stream-feed-button:disabled { opacity: .32; cursor: default; }
.stream-feed-status {
  grid-area: status;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #555a61;
}
.stream-feed-code {
  grid-area: code;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1.8px;
  line-height: 1;
}
.stream-feed-button strong {
  grid-area: name;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.25px;
  line-height: 1.1;
}
.stream-feed-button.is-live {
  opacity: 1;
  color: #d7dbe0;
  border-color: rgba(88,214,141,.18);
}
.stream-feed-button.is-live .stream-feed-status {
  background: #58d68d;
  box-shadow: 0 0 0 3px rgba(88,214,141,.10);
}
.stream-feed-button.is-active {
  color: #090909;
  background: var(--gold);
  border-color: var(--gold-bright);
}
.stream-feed-button.is-active .stream-feed-status { background: #0e8e4e; box-shadow: none; }
.twitch-probes {
  position: fixed;
  left: -20px;
  top: -20px;
  width: 2px;
  height: 2px;
  overflow: hidden;
  opacity: .001;
  pointer-events: none;
}
.twitch-probes > div,
.twitch-probes iframe { width: 2px !important; height: 2px !important; }
@media (max-width: 1360px) and (min-width: 861px) {
  .live-section .live-network.streamer-network {
    max-width: 1240px;
    grid-template-columns: minmax(210px, 245px) minmax(0, 1fr) minmax(210px, 245px);
    gap: 18px;
  }
  .live-section .streamer-card { min-width: 210px; }
}
@media (max-width: 860px) {
  .stream-feed-switcher { gap: 8px; }
  .stream-feed-button { min-width: 0; flex: 1 1 0; }
}


/* ================================
   V4.62 content / season controls
   ================================ */
/* Hero language lines: hero-specific span rules must not override language visibility. */
html[lang="es"] .hero-copy h1 .lang-en,
html[lang="en"] .hero-copy h1 .lang-es {
  display: none !important;
}
html[lang="es"] .hero-copy h1 .lang-es,
html[lang="en"] .hero-copy h1 .lang-en {
  display: inline !important;
  width: auto;
  max-width: none;
  white-space: inherit;
}
.hero-copy .hero-cta-row { display: none !important; }

/* ESEA season selector: one current closed season + next-season placeholder. */
.match-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.esea-season-selector {
  position: relative;
  z-index: 12;
}
.esea-season-toggle {
  min-height: 36px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(217,170,67,.28);
  background: rgba(217,170,67,.035);
  color: var(--gold-bright);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.esea-season-toggle:hover,
.esea-season-selector.is-open .esea-season-toggle {
  border-color: rgba(217,170,67,.58);
  background: rgba(217,170,67,.08);
}
.esea-season-toggle__caret {
  color: #8c929b;
  font-size: 12px;
  line-height: 1;
  transform: translateY(-1px);
}
.esea-season-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 214px;
  padding: 6px;
  border: 1px solid rgba(217,170,67,.20);
  background: #090a0d;
  box-shadow: 0 18px 44px rgba(0,0,0,.42);
}
.esea-season-menu[hidden] { display: none !important; }
.esea-season-option {
  width: 100%;
  min-height: 50px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: transparent;
  border: 1px solid transparent;
  color: #b9bec5;
  text-align: left;
}
.esea-season-option span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
}
.esea-season-option small {
  color: #6f757e;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.1px;
}
.esea-season-option.is-active {
  border-color: rgba(217,170,67,.18);
  color: var(--gold-bright);
  background: rgba(217,170,67,.045);
}
.esea-season-option:disabled {
  opacity: .42;
  cursor: default;
}

/* The feed selector below the player is the live-status indicator. */
.streamer-live-badge { display: none !important; }
.stream-feed-code .lang-es,
.stream-feed-code .lang-en {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

@media (max-width: 860px) {
  .match-controls {
    width: 100%;
    justify-content: flex-start;
  }
  .esea-season-menu {
    left: 0;
    right: auto;
  }
}

/* V4.63 — collaborator streams */
.streamer-placeholder--fallback { width: 100%; height: 100%; }
@media (min-width: 1100px) {
  .live-head h2 { max-width: 760px; }
  html[lang="es"] .live-head h2 { font-size: clamp(56px, 5.2vw, 88px); }
}
