
:root {
  --bg: #090806;
  --panel: rgba(14, 13, 10, .86);
  --line: rgba(205, 166, 84, .28);
  --gold: #cda654;
  --gold-bright: #edc66d;
  --text: #f4efe2;
  --muted: #c4bba9;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

.background-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to bottom, rgba(8,7,5,.02), rgba(8,7,5,.14) 52%, rgba(8,7,5,.38) 100%),
    url("assets/bg.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.04);
  transform-origin: center top;
  will-change: transform;
  pointer-events: none;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: .045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #fff0a3);
  box-shadow: 0 0 20px rgba(237,198,109,.65);
}

.hero,
main,
footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 104px 24px 80px;
}

.topbar {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: min(var(--max), calc(100% - 40px));
  height: 80px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}

body.has-scrolled .topbar {
  position: fixed;
  height: 70px;
  padding-inline: 20px;
  background: rgba(9,8,6,.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  color: var(--text);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  line-height: .92;
  text-transform: uppercase;
}

.brand-main {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--gold-bright);
}

.brand-sub {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(900px, 94vw);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.tournament-logo {
  width: min(520px, 84vw);
  max-height: 64vh;
  object-fit: contain;
  background: transparent;
  filter:
    drop-shadow(0 12px 10px rgba(0,0,0,.25))
    drop-shadow(0 28px 36px rgba(0,0,0,.55));
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--gold-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .22em;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .12em;
  transition: transform .2s ease, filter .2s ease;
}

.primary-button {
  min-width: 205px;
  min-height: 52px;
  gap: 10px;
  padding: 0 28px;
  color: #171208;
  background: linear-gradient(180deg, #f2d17e, #b98d3c);
  border: 1px solid #ffe5a6;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  box-shadow: 0 15px 30px rgba(0,0,0,.35);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
}

.trophy-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  width: max-content;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(255,255,255,.65);
  font-size: .66rem;
  letter-spacing: .18em;
}

.scroll-hint span {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: .25; transform: scaleY(.65); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h1,
.section-heading h2 {
  margin: 8px 0 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.ranking-card {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(22,20,15,.93), rgba(8,8,7,.88));
  border: 1px solid var(--line);
  box-shadow: 0 34px 90px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
}

.ranking-header,
.ranking-item {
  display: grid;
  grid-template-columns: 90px 1fr 170px;
  align-items: center;
}

.ranking-header {
  padding: 18px 26px;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .85rem;
  letter-spacing: .14em;
  border-bottom: 1px solid var(--line);
}

.ranking-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ranking-item {
  min-height: 66px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .25s ease, transform .25s ease;
}

.ranking-item:last-child {
  border-bottom: 0;
}

.ranking-item:hover {
  background: rgba(205,166,84,.07);
  transform: translateX(5px);
}

.rank-position {
  color: rgba(255,255,255,.42);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.team-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: .025em;
}

.status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status .trophy-icon {
  width: 15px;
  height: 15px;
}

.ranking-item.qualified {
  background: linear-gradient(90deg, rgba(205,166,84,.12), transparent);
}

.ranking-item.qualified .rank-position,
.ranking-item.qualified .team-name {
  color: var(--gold-bright);
}

.ranking-item.qualified .status {
  color: #171208;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 34px 90px rgba(0,0,0,.55);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.video-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.secondary-button {
  min-width: 210px;
  min-height: 50px;
  padding: 0 26px;
  color: var(--gold-bright);
  background: rgba(8,8,7,.72);
  border: 1px solid var(--gold);
}

.secondary-button:hover {
  color: #171208;
  background: var(--gold);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.rule-card {
  grid-column: span 4;
  min-height: 255px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(28,25,19,.86), rgba(9,8,6,.92));
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.rule-card:nth-child(4),
.rule-card:nth-child(5) {
  grid-column: span 6;
}

.rule-card::before {
  content: "";
  position: absolute;
  top: -55px;
  right: -55px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(205,166,84,.16);
  transform: rotate(45deg);
}

.rule-number {
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .12em;
}

.rule-card h3 {
  margin: 50px 0 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.75rem;
  text-transform: uppercase;
}

.rule-card p {
  color: var(--muted);
  line-height: 1.65;
}

.supporters-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.supporter-card {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 20px 14px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(23,20,15,.80), rgba(8,8,7,.92));
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.supporter-card:hover {
  transform: translateY(-6px);
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(23,20,15,.96);
  box-shadow: 0 18px 36px rgba(0,0,0,.30);
}

.supporter-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.05;
}

footer {
  padding: 46px 20px 70px;
  color: var(--muted);
  text-align: center;
  background: rgba(5,5,4,.92);
  border-top: 1px solid rgba(255,255,255,.08);
}

footer .small {
  font-size: .78rem;
  opacity: .65;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.music-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  min-width: 112px;
  height: 46px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--gold-bright);
  background: rgba(9,8,6,.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.38);
}

.music-icon {
  width: 18px;
  height: 18px;
}

.music-icon-off {
  display: none;
}

.music-toggle.is-muted .music-icon-on {
  display: none;
}

.music-toggle.is-muted .music-icon-off {
  display: block;
}

.music-toggle.is-muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .supporters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rule-card,
  .rule-card:nth-child(4),
  .rule-card:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-inline: 14px;
  }

  .topbar {
    width: calc(100% - 28px);
  }

  .tournament-logo {
    width: min(88vw, 500px);
    max-height: 56vh;
  }

  .section {
    width: min(100% - 24px, var(--max));
    padding: 80px 0;
  }

  .ranking-header {
    display: none;
  }

  .ranking-item {
    grid-template-columns: 54px 1fr;
    gap: 4px 12px;
    padding: 14px 16px;
  }

  .status {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .rules-grid {
    display: block;
  }

  .rule-card {
    margin-bottom: 14px;
    min-height: 220px;
  }

  .supporters-grid {
    grid-template-columns: 1fr;
  }

  .supporter-card {
    min-height: 92px;
  }

  .music-toggle {
    right: 14px;
    bottom: 14px;
    width: 48px;
    min-width: 48px;
    padding: 0;
  }

  .music-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .background-layer {
    transform: scale(1.04);
  }
}


/* V11.1 navigation fix */
.hero {
  z-index: 40;
}

main,
footer {
  z-index: 1;
}

.topbar {
  z-index: 90;
  pointer-events: auto;
}

body.has-scrolled .topbar {
  z-index: 90;
}

section[id] {
  scroll-margin-top: 88px;
}

@media (max-width: 680px) {
  section[id] {
    scroll-margin-top: 78px;
  }
}


/* ===== V12 Background Continuity ===== */
:root{
  --site-bg: #14110D;
}

html,
body{
  background:var(--site-bg) !important;
}

main,
section,
footer{
  background:transparent;
}

.background-layer{
  background-color:var(--site-bg);
  background-image:
    linear-gradient(
      to bottom,
      rgba(8,7,5,.02) 0%,
      rgba(8,7,5,.12) 45%,
      rgba(36,32,28,.85) 78%,
      rgba(36,32,28,.96) 92%,
      #211D18 100%
    ),
    url("assets/bg.png");
  background-position:center top;
  background-size:cover;
  background-repeat:no-repeat;
}

footer{
  background:#211D18 !important;
}


/* ===== V12.1 Seamless footer transition ===== */
#apoiadores {
  padding-bottom: 90px;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

footer {
  margin: 0;
  border-top: 0 !important;
  box-shadow: none !important;
  background: var(--site-bg) !important;
}

footer::before,
footer::after,
#apoiadores::before,
#apoiadores::after {
  display: none !important;
  content: none !important;
}

main {
  background: var(--site-bg);
}


/* ===== V12.2 Restore scrolling background ===== */

/* The fixed wallpaper must remain visible behind every section. */
main,
section,
#apoiadores {
  background: transparent !important;
}

/* Keep only the footer solid, using the exact continuation color. */
footer {
  background: var(--site-bg) !important;
}

/* Restore the fixed parallax layer across the full viewport. */
.background-layer {
  position: fixed !important;
  inset: -5vh -3vw !important;
  width: auto;
  height: auto;
  z-index: 0;
  background-color: var(--site-bg);
  background-image:
    linear-gradient(
      to bottom,
      rgba(8,7,5,.02) 0%,
      rgba(8,7,5,.10) 42%,
      rgba(36,32,28,.72) 80%,
      rgba(36,32,28,.94) 94%,
      #211D18 100%
    ),
    url("assets/bg.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.06);
  transform-origin: center top;
  will-change: transform;
  pointer-events: none;
}

/* Prevent any section layer from covering the wallpaper. */
.hero,
main,
footer {
  position: relative;
}

.hero,
main {
  z-index: 1;
}

footer {
  z-index: 2;
}


/* ===== V13 Final Consolidation ===== */
:root {
  --site-bg: #14110D;
}

html,
body {
  background: var(--site-bg) !important;
}

.background-layer {
  position: fixed !important;
  inset: -5vh -3vw !important;
  z-index: 0;
  background-color: var(--site-bg);
  background-image:
    linear-gradient(
      to bottom,
      rgba(8,7,5,.01) 0%,
      rgba(8,7,5,.08) 42%,
      rgba(36,32,28,.50) 78%,
      rgba(36,32,28,.88) 94%,
      #211D18 100%
    ),
    var(--ladder-background-image, url("assets/bg.png"));
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.05);
  transform-origin: center top;
  will-change: transform;
  pointer-events: none;
}

main,
section,
#apoiadores {
  background: transparent !important;
}

footer {
  margin: 0;
  border-top: 0 !important;
  box-shadow: none !important;
  background: var(--site-bg) !important;
}

.tournament-logo {
  width: min(520px, 84vw);
  max-height: 60vh;
}

.nav-links .join-us {
  color: #171208;
  background: linear-gradient(180deg, #f2d17e, #b98d3c);
  border: 1px solid #ffe5a6;
  padding: 9px 17px;
  font-weight: 800;
  letter-spacing: .1em;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  box-shadow: 0 8px 20px rgba(0,0,0,.24);
  transition: transform .2s ease, filter .2s ease;
}

.nav-links .join-us:hover {
  color: #171208;
  transform: translateY(-2px);
  filter: brightness(1.08);
}

@media (max-width: 680px) {
  .tournament-logo {
    width: min(88vw, 500px);
    max-height: 54vh;
  }
}


/* ===== V13.1 Reliable fixed navigation ===== */
.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  z-index: 1000 !important;
  width: min(var(--max), calc(100% - 40px));
  height: 80px;
  transform: translateX(-50%) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto !important;
  isolation: isolate;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(to bottom, rgba(9,8,6,.42), rgba(9,8,6,.08));
  transition:
    height .25s ease,
    padding .25s ease,
    background .25s ease,
    backdrop-filter .25s ease,
    box-shadow .25s ease;
}

body.has-scrolled .topbar {
  position: fixed !important;
  height: 70px;
  padding-inline: 20px;
  background: rgba(9,8,6,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0,0,0,.30);
}

.topbar a,
.nav-links,
.nav-links a {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
}

.hero {
  z-index: 1 !important;
}

main {
  z-index: 1 !important;
}

section[id] {
  scroll-margin-top: 92px;
}

@media (max-width: 680px) {
  .topbar {
    width: calc(100% - 28px);
  }

  section[id] {
    scroll-margin-top: 80px;
  }
}


/* ===== V15 Wider navigation spacing ===== */
.topbar {
  width: min(1480px, calc(100% - 96px)) !important;
  height: 82px;
  padding-inline: 28px;
}

body.has-scrolled .topbar {
  width: min(1480px, calc(100% - 96px)) !important;
  height: 76px;
  padding-inline: 32px;
  backdrop-filter: blur(9px);
}

.nav-links {
  gap: 34px;
}

.nav-links .join-us {
  margin-left: 14px;
}

@media (max-width: 1100px) {
  .topbar,
  body.has-scrolled .topbar {
    width: calc(100% - 48px) !important;
    padding-inline: 22px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links .join-us {
    margin-left: 8px;
  }
}

@media (max-width: 820px) {
  .topbar,
  body.has-scrolled .topbar {
    width: calc(100% - 28px) !important;
    padding-inline: 16px;
  }
}


/* ===== V15.1 Supporter links fix ===== */
#apoiadores,
.supporters-grid {
  position: relative;
  z-index: 10;
}

.supporter-card {
  position: relative;
  z-index: 11;
  pointer-events: auto !important;
  cursor: pointer;
}

.supporter-card::before,
.supporter-card::after {
  pointer-events: none !important;
}

.supporter-name {
  pointer-events: none;
}


/* ===== V15.2 Playoff system ===== */
.playoffs-section {
  position: relative;
}

.playoff-board {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(24,21,16,.96), rgba(8,8,7,.92)),
    radial-gradient(circle at 50% 0%, rgba(205,166,84,.12), transparent 42%);
  border: 1px solid var(--line);
  box-shadow: 0 34px 90px rgba(0,0,0,.48);
  backdrop-filter: blur(14px);
}

.playoff-board::before,
.playoff-board::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(205,166,84,.10);
  transform: rotate(45deg);
  pointer-events: none;
}

.playoff-board::before {
  top: -190px;
  left: -125px;
}

.playoff-board::after {
  right: -125px;
  bottom: -190px;
}

.playoff-stage-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .14em;
}

.playoff-stage-label span {
  color: var(--gold-bright);
  font-size: 1.25rem;
  font-weight: 800;
}

.playoff-stage-label strong {
  color: var(--muted);
  font-size: .78rem;
}

.playoff-bracket {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  position: relative;
  z-index: 2;
}

.semifinal-card {
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(31,27,20,.92), rgba(8,8,7,.96));
  border: 1px solid rgba(205,166,84,.34);
  box-shadow: 0 22px 55px rgba(0,0,0,.34);
}

.semifinal-card-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(205,166,84,.13), transparent);
  border-bottom: 1px solid rgba(205,166,84,.22);
}

.semifinal-card-header > div {
  display: grid;
  gap: 3px;
}

.semifinal-number,
.semifinal-card-header strong,
.match-date,
.playoff-seed,
.playoff-score,
.playoff-versus,
.semifinal-card-footer,
.championship-kicker,
.championship-format {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.semifinal-number {
  color: var(--gold-bright);
  font-size: 1.12rem;
  font-weight: 800;
}

.semifinal-card-header strong {
  color: var(--muted);
  font-size: .72rem;
}

.match-date {
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}

.match-date.tba {
  color: var(--muted);
  border-style: dashed;
}

.match-date.confirmed {
  color: #171208;
  background: var(--gold);
  border-color: var(--gold);
}

.semifinal-teams {
  padding: 18px;
}

.playoff-team {
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(5,5,4,.52);
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.playoff-team:hover {
  transform: translateX(4px);
  background: rgba(205,166,84,.08);
  border-color: rgba(205,166,84,.34);
}

.playoff-seed {
  color: rgba(255,255,255,.38);
  font-size: .76rem;
}

.playoff-team-name {
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: .025em;
}

.playoff-score {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  justify-self: end;
  color: var(--gold-bright);
  background: rgba(205,166,84,.10);
  border: 1px solid rgba(205,166,84,.34);
  font-size: 1.18rem;
  font-weight: 800;
}

.playoff-versus {
  margin: 7px 0;
  color: var(--gold);
  text-align: center;
  font-size: .7rem;
  font-weight: 800;
}

.semifinal-card-footer {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  color: rgba(244,239,226,.54);
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .65rem;
}

.championship-panel {
  position: relative;
  z-index: 2;
  width: min(610px, 100%);
  margin: 32px auto 0;
  padding: 22px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(205,166,84,.16), rgba(9,8,6,.92));
  border: 1px solid rgba(237,198,109,.42);
  box-shadow: 0 20px 48px rgba(0,0,0,.32);
}

.championship-panel::before {
  content: "";
  position: absolute;
  top: -33px;
  left: 50%;
  width: 1px;
  height: 33px;
  background: linear-gradient(var(--gold), rgba(205,166,84,.15));
}

.championship-kicker {
  color: var(--gold-bright);
  font-size: .8rem;
  font-weight: 800;
}

.championship-slot {
  margin: 14px 0 11px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
}

.championship-slot strong {
  color: var(--gold);
  font-size: .76rem;
}

.championship-format {
  color: var(--muted);
  font-size: .68rem;
}

@media (max-width: 820px) {
  .playoff-bracket {
    grid-template-columns: 1fr;
  }

  .championship-panel::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .playoff-board {
    padding: 16px;
  }

  .playoff-stage-label,
  .semifinal-card-header,
  .semifinal-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .semifinal-card-footer {
    padding-block: 12px;
  }

  .championship-slot {
    grid-template-columns: 1fr;
  }
}


/* ===== V15.3 Tournament Rules ===== */
.tournament-rules-section {
  position: relative;
}

.rules-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tournament-rule-panel {
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(36,29,18,.96), rgba(14,11,7,.98)),
    radial-gradient(circle at 50% 0%, rgba(205,166,84,.10), transparent 45%);
  border: 1px solid rgba(205,166,84,.34);
  box-shadow: 0 24px 58px rgba(0,0,0,.36);
  backdrop-filter: blur(12px);
}

.tournament-rule-panel header {
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(90deg, rgba(205,166,84,.22), rgba(72,54,22,.25), rgba(205,166,84,.12));
  border-bottom: 1px solid rgba(205,166,84,.24);
}

.tournament-rule-panel h3 {
  margin: 0;
  color: var(--text);
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.rule-panel-icon {
  color: var(--gold-bright);
  font-size: .85rem;
}

.tournament-rule-panel ul {
  margin: 0;
  padding: 20px 24px 24px 44px;
}

.tournament-rule-panel li {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.tournament-rule-panel li:last-child {
  margin-bottom: 0;
}

.rule-intro {
  margin: 20px 24px 12px;
  color: var(--muted);
  line-height: 1.6;
}

.map-pool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 24px 8px;
}

.map-pool-grid span {
  padding: 10px 12px;
  color: var(--text);
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.07);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.02rem;
  letter-spacing: .02em;
}

@media (max-width: 900px) {
  .rules-panel-grid {
    grid-template-columns: 1fr;
  }

  .map-pool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .map-pool-grid {
    grid-template-columns: 1fr;
  }

  .tournament-rule-panel ul {
    padding-left: 36px;
  }
}


/* ===== V17 Localized heading shadows ===== */

/* Remove broad dark overlays so the artwork remains visible. */
.tournament-rules-section::before,
.tournament-rules-section .section-heading::before {
  content: none !important;
  display: none !important;
}

/* Shared treatment for section headings across the site. */
.section-heading {
  position: relative;
  z-index: 3;
  isolation: isolate;
}

.section-heading .section-kicker,
.section-heading h1,
.section-heading h2,
.section-heading p {
  position: relative;
  z-index: 2;
}

/* Localized soft shadow only behind the large heading text. */
.section-heading h1::before,
.section-heading h2::before {
  content: "";
  position: absolute;
  left: -28px;
  right: -28px;
  top: -18px;
  bottom: -18px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,.70) 0%,
      rgba(0,0,0,.46) 48%,
      rgba(0,0,0,.16) 72%,
      rgba(0,0,0,0) 100%
    );
  filter: blur(16px);
}

.section-heading h1,
.section-heading h2 {
  text-shadow:
    0 4px 14px rgba(0,0,0,.86),
    0 0 24px rgba(0,0,0,.42);
}

/* Localized soft shadow only behind the descriptive paragraph. */
.section-heading p {
  display: inline-block;
  color: #f0eadf;
  text-shadow:
    0 2px 8px rgba(0,0,0,.95),
    0 0 14px rgba(0,0,0,.55);
}

.section-heading p::before {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: -10px;
  bottom: -10px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,.58) 0%,
      rgba(0,0,0,.30) 58%,
      rgba(0,0,0,0) 100%
    );
  filter: blur(12px);
}

/* Kicker text gets a smaller glow for consistency. */
.section-heading .section-kicker {
  text-shadow:
    0 2px 8px rgba(0,0,0,.9),
    0 0 12px rgba(0,0,0,.5);
}

/* Keep rules section fully transparent over the artwork. */
.tournament-rules-section {
  background: transparent !important;
  overflow: visible;
}

/* Hero eyebrow readability, using the same localized approach. */
.hero-content .eyebrow {
  position: relative;
  text-shadow:
    0 2px 10px rgba(0,0,0,.9),
    0 0 14px rgba(0,0,0,.5);
}

.hero-content .eyebrow::before {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: -9px;
  bottom: -9px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,.48),
      rgba(0,0,0,0) 76%
    );
  filter: blur(10px);
}

@media (max-width: 680px) {
  .section-heading h1::before,
  .section-heading h2::before {
    left: -16px;
    right: -16px;
    top: -12px;
    bottom: -12px;
    filter: blur(12px);
  }

  .section-heading p::before {
    left: -12px;
    right: -12px;
    filter: blur(9px);
  }
}


/* ===== V18 Twitch Live Center ===== */
.live-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-menu-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}

.live-menu-link.has-live-streams {
  color: #ff6b69;
}

.live-menu-link.has-live-streams .live-menu-dot {
  background: #ff413d;
  box-shadow: 0 0 0 4px rgba(255,65,61,.14), 0 0 15px rgba(255,65,61,.8);
  animation: twitchLivePulse 1.5s infinite;
}

.live-section[hidden] {
  display: none !important;
}

.live-status-bar {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(205,166,84,.12), rgba(8,8,7,.82));
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(0,0,0,.24);
}

.live-pulse {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff413d;
  box-shadow: 0 0 0 5px rgba(255,65,61,.12), 0 0 18px rgba(255,65,61,.65);
  animation: twitchLivePulse 1.5s infinite;
}

.live-status-bar strong {
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.refresh-live {
  min-height: 34px;
  margin-left: auto;
  padding: 0 13px;
  color: var(--gold-bright);
  background: rgba(8,8,7,.68);
  border: 1px solid var(--line);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.refresh-live:hover {
  color: #171208;
  background: var(--gold);
}

.refresh-live.is-loading {
  opacity: .6;
  cursor: wait;
}

.live-stream-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.live-stream-card {
  overflow: hidden;
  background: linear-gradient(160deg, rgba(24,20,16,.96), rgba(7,7,6,.98));
  border: 1px solid rgba(205,166,84,.34);
  box-shadow: 0 26px 60px rgba(0,0,0,.38);
}

.live-stream-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(145,70,255,.14), transparent);
  border-bottom: 1px solid rgba(205,166,84,.20);
}

.live-stream-header h3 {
  margin: 5px 0 0;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: .04em;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff7774;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff413d;
  box-shadow: 0 0 12px rgba(255,65,61,.8);
}

.live-viewers {
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
}

.twitch-player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.twitch-player,
.twitch-player iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.twitch-domain-warning {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.live-stream-details {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 15px 16px;
}

.live-stream-details strong {
  color: var(--text);
  line-height: 1.35;
}

.live-stream-details span {
  color: var(--muted);
  font-size: .82rem;
}

.watch-on-twitch {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3edff;
  background: rgba(145,70,255,.18);
  border-top: 1px solid rgba(145,70,255,.28);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .11em;
}

.watch-on-twitch:hover {
  background: #9146ff;
  color: #fff;
}

.live-empty {
  padding: 42px 24px;
  text-align: center;
  background: rgba(8,8,7,.74);
  border: 1px dashed rgba(205,166,84,.28);
}

.live-empty-icon {
  display: inline-block;
  color: rgba(255,255,255,.28);
  font-size: 1.4rem;
}

.live-empty h3 {
  margin: 10px 0 7px;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.live-empty p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes twitchLivePulse {
  0%, 100% { opacity: .55; transform: scale(.86); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .live-stream-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .live-stream-grid {
    grid-template-columns: 1fr;
  }

  .live-status-bar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .refresh-live {
    width: 100%;
    margin-left: 0;
  }
}


/* ===== V18.1 Manual live configuration ===== */
.live-status-bar::after {
  content: "MANUAL CONTROL";
  margin-left: 4px;
  padding: 4px 7px;
  color: var(--gold-bright);
  border: 1px solid rgba(205,166,84,.28);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
}

@media (max-width: 720px) {
  .live-status-bar::after {
    order: 3;
  }
}


/* ===== V19 Manual live modal ===== */
.live-card-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(145,70,255,.18), transparent 62%),
    linear-gradient(145deg, rgba(16,13,20,.96), rgba(6,6,6,.98));
}

.live-card-channel {
  color: rgba(255,255,255,.52);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.live-play-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  color: #fff;
  background: #9146ff;
  border: 1px solid #b789ff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .10em;
  cursor: pointer;
}

.live-play-button:hover {
  filter: brightness(1.10);
  transform: translateY(-2px);
}

body.live-modal-open {
  overflow: hidden;
}

.live-modal[hidden] {
  display: none !important;
}

.live-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.live-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
}

.live-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1180px, 96vw);
  overflow: hidden;
  background: #090806;
  border: 1px solid rgba(205,166,84,.35);
  box-shadow: 0 36px 110px rgba(0,0,0,.70);
}

.live-modal-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(145,70,255,.18), rgba(8,8,7,.96));
  border-bottom: 1px solid rgba(205,166,84,.22);
}

.live-modal-header h2 {
  margin: 5px 0 0;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  letter-spacing: .04em;
}

.live-modal-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 1.55rem;
  cursor: pointer;
}

.live-modal-close:hover {
  color: #171208;
  background: var(--gold);
}

.live-modal-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.live-modal-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.live-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
}

.live-modal-footer p {
  margin: 0;
  color: var(--muted);
}

.live-modal-footer a {
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .09em;
}

.live-modal-footer a:hover {
  color: var(--gold-bright);
}

@media (max-width: 680px) {
  .live-modal {
    padding: 10px;
  }

  .live-modal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ===== V20 Simple manual Twitch live ===== */
.live-menu-link {
  display: none;
  align-items: center;
  gap: 7px;
}

.live-menu-link.has-live-streams {
  display: inline-flex;
  color: #ff6b69;
}

.live-menu-link.has-live-streams .live-menu-dot {
  background: #ff413d;
  box-shadow: 0 0 0 4px rgba(255,65,61,.14), 0 0 15px rgba(255,65,61,.8);
  animation: twitchLivePulse 1.5s infinite;
}

.live-section[hidden] {
  display: none !important;
}

.live-simple-card {
  overflow: hidden;
  background: linear-gradient(160deg, rgba(24,20,16,.96), rgba(7,7,6,.98));
  border: 1px solid rgba(205,166,84,.34);
  box-shadow: 0 26px 60px rgba(0,0,0,.38);
}

.live-simple-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(145,70,255,.14), transparent);
  border-bottom: 1px solid rgba(205,166,84,.20);
}

.live-simple-header strong {
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: .04em;
}

.live-simple-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.live-simple-player iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.live-open-button {
  width: min(240px, calc(100% - 36px));
  margin: 18px auto;
}

@keyframes twitchLivePulse {
  0%, 100% { opacity: .55; transform: scale(.86); }
  50% { opacity: 1; transform: scale(1); }
}


/* ===== V20.2 Twitch iframe correction ===== */
.live-simple-player {
  position: relative;
  min-height: 300px;
}

.live-simple-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.live-player-message {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--text);
  text-align: center;
  background: rgba(4,4,4,.94);
}

.live-player-message[hidden] {
  display: none !important;
}

.live-player-message strong {
  color: var(--gold-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: .08em;
}

.live-player-message span {
  color: var(--muted);
}

.live-simple-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  border-top: 1px solid rgba(205,166,84,.20);
}

.live-simple-actions .secondary-button {
  width: auto;
  min-width: 210px;
  margin: 0;
  cursor: pointer;
}

.live-reload-button {
  font-size: inherit;
}

@media (max-width: 600px) {
  .live-simple-actions {
    flex-direction: column;
  }

  .live-simple-actions .secondary-button {
    width: 100%;
  }
}


/* ===== V21 Official Twitch SDK Live Center ===== */
.live-menu-link {
  display: none;
  align-items: center;
  gap: 7px;
}

.live-menu-link.has-live-streams {
  display: inline-flex;
  color: #ff6b69;
}

.live-menu-link.has-live-streams .live-menu-dot {
  background: #ff413d;
  box-shadow: 0 0 0 4px rgba(255,65,61,.14), 0 0 15px rgba(255,65,61,.8);
  animation: twitchLivePulse 1.5s infinite;
}

.live-section[hidden] {
  display: none !important;
}

.live-stream-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.live-stream-card {
  overflow: hidden;
  background: linear-gradient(160deg, rgba(24,20,16,.96), rgba(7,7,6,.98));
  border: 1px solid rgba(205,166,84,.34);
  box-shadow: 0 26px 60px rgba(0,0,0,.38);
}

.live-stream-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(145,70,255,.14), transparent);
  border-bottom: 1px solid rgba(205,166,84,.20);
}

.live-stream-header h3 {
  margin: 5px 0 0;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: .04em;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff7774;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff413d;
  box-shadow: 0 0 12px rgba(255,65,61,.8);
}

.live-viewers {
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
}

.twitch-player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.twitch-player,
.twitch-player iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.twitch-player-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  background: rgba(5,5,5,.96);
}

.twitch-player-fallback[hidden] {
  display: none !important;
}

.live-stream-details {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 15px 16px;
}

.live-stream-details strong {
  color: var(--text);
  line-height: 1.35;
}

.live-stream-details span {
  color: var(--muted);
  font-size: .82rem;
}

.watch-on-twitch {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3edff;
  background: rgba(145,70,255,.18);
  border-top: 1px solid rgba(145,70,255,.28);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .11em;
}

.watch-on-twitch:hover {
  color: #fff;
  background: #9146ff;
}

@keyframes twitchLivePulse {
  0%, 100% {
    opacity: .55;
    transform: scale(.86);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .live-stream-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .live-stream-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== V21.1 Large centered Twitch player ===== */
.live-stream-grid {
  display: block;
}

.live-stream-card {
  width: min(1120px, 100%);
  margin: 0 auto 28px;
}

.live-stream-header {
  min-height: 78px;
  padding-inline: 22px;
}

.live-stream-header h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.twitch-player-shell {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.live-stream-details {
  min-height: 98px;
  padding: 18px 22px;
}

.watch-on-twitch {
  min-height: 50px;
  font-size: .95rem;
}

@media (max-width: 720px) {
  .live-stream-card {
    width: 100%;
  }

  .live-stream-header {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ===== V21.3 YouTube live support ===== */
.live-stream-header.youtube-live {
  background: linear-gradient(90deg, rgba(255,0,0,.16), transparent);
}

.watch-on-twitch.youtube-live {
  color: #fff;
  background: rgba(255,0,0,.18);
  border-top-color: rgba(255,0,0,.30);
}

.watch-on-twitch.youtube-live:hover {
  background: #d90000;
}


/* ===== V23 Language switcher ===== */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.14);
}

.language-button {
  min-width: 44px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  color: var(--muted);
  background: rgba(8,8,7,.54);
  border: 1px solid rgba(255,255,255,.13);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.language-button:hover,
.language-button.is-active {
  color: #171208;
  background: var(--gold);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

.language-button span:first-child {
  font-size: 1rem;
  line-height: 1;
}

.language-code {
  font-size: .72rem;
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 18px;
  }

  .language-switcher {
    margin-left: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 900px) {
  .language-switcher {
    margin-left: auto;
    border-left: 0;
    padding-left: 0;
  }
}


/* ===== V23.1 Language control fix ===== */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.language-button {
  min-width: 72px;
  height: 38px;
  gap: 8px;
  padding: 0 10px;
  border-radius: 4px;
}

.language-flag {
  width: 26px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22);
}

.language-button.is-active {
  box-shadow:
    0 0 0 1px rgba(237,198,109,.55),
    0 0 18px rgba(205,166,84,.24);
}

.language-code {
  min-width: 22px;
  text-align: center;
}

@media (max-width: 760px) {
  .language-button {
    min-width: 48px;
    width: 48px;
    padding: 0;
  }

  .language-code {
    display: none;
  }

  .language-flag {
    width: 28px;
    height: 19px;
  }
}


/* ===== V23.4 Background continuity correction ===== */
:root {
  --site-bg: #14110D;
}

html,
body {
  background-color: var(--site-bg) !important;
}

.background-layer {
  background-color: var(--site-bg) !important;
}

#apoiadores {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

footer {
  margin-top: 0 !important;
  background-color: var(--site-bg) !important;
  border-top: 0 !important;
}


/* ===== V23.7 Small navigation logo ===== */
.brand-logo-link {
  width: 126px;
  min-width: 126px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  text-decoration: none;
}

.brand-logo {
  width: 116px;
  height: auto;
  max-height: 56px;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.55));
  transition: transform .2s ease, filter .2s ease;
}

.brand-logo-link:hover .brand-logo {
  transform: translateY(-1px) scale(1.025);
  filter:
    drop-shadow(0 3px 8px rgba(0,0,0,.58))
    drop-shadow(0 0 10px rgba(205,166,84,.22));
}

@media (max-width: 900px) {
  .brand-logo-link {
    width: 106px;
    min-width: 106px;
    height: 50px;
  }

  .brand-logo {
    width: 98px;
    max-height: 48px;
  }
}

@media (max-width: 560px) {
  .brand-logo-link {
    width: 86px;
    min-width: 86px;
  }

  .brand-logo {
    width: 80px;
  }
}


/* ===== V23.8 Flags only language selector ===== */
.language-switcher {
  gap: 9px;
}

.language-button {
  width: 46px;
  min-width: 46px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.language-code {
  display: none !important;
}

.language-flag {
  width: 30px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

.language-button:hover .language-flag {
  transform: scale(1.06);
}

.language-button.is-active {
  color: inherit;
  background: rgba(205,166,84,.12);
  border-color: var(--gold-bright);
  box-shadow:
    0 0 0 1px rgba(237,198,109,.52),
    0 0 18px rgba(205,166,84,.28);
}

.language-button.is-active .language-flag {
  box-shadow:
    0 0 0 2px var(--gold-bright),
    0 0 13px rgba(205,166,84,.55);
  filter: brightness(1.06);
}

@media (max-width: 760px) {
  .language-button {
    width: 44px;
    min-width: 44px;
    height: 38px;
  }

  .language-flag {
    width: 29px;
    height: 21px;
  }
}


/* ===== V23.10 Stable music icon states ===== */
.music-toggle .music-icon {
  pointer-events: none;
}

.music-toggle.is-switching .music-icon-on {
  display: block;
  opacity: .55;
  animation: musicStatePulse .8s ease-in-out infinite alternate;
}

.music-toggle.is-switching .music-icon-off {
  display: none;
}

@keyframes musicStatePulse {
  from {
    opacity: .4;
    transform: scale(.94);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}


/* ===== V23.12 Ladder APP open integration area ===== */
.app-section {
  padding-top: 92px;
}

.app-board {
  position: relative;
  width: 100%;
  min-height: 720px;
  border: 1px solid rgba(205, 166, 84, .52);
  background:
    linear-gradient(135deg, rgba(205,166,84,.055), transparent 18%),
    linear-gradient(315deg, rgba(205,166,84,.035), transparent 18%),
    rgba(8, 8, 6, .82);
  box-shadow:
    0 22px 55px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.025);
  overflow: hidden;
}

/* Decorative corners keep the same military/gold visual language as Playoffs. */
.app-board::before,
.app-board::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 94px;
  height: 94px;
  pointer-events: none;
  opacity: .5;
}

.app-board::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid rgba(205,166,84,.34);
  border-left: 1px solid rgba(205,166,84,.34);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background: linear-gradient(135deg, rgba(205,166,84,.11), transparent 66%);
}

.app-board::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid rgba(205,166,84,.34);
  border-bottom: 1px solid rgba(205,166,84,.34);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background: linear-gradient(315deg, rgba(205,166,84,.08), transparent 66%);
}

/*
 * This is the actual application mount point.
 * Keep it empty until the external Ladder app is ready.
 */
.ladder-app-root {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 720px;
}

/* Ready-to-use class for a future externally hosted application. */
.ladder-app-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 720px;
  border: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .app-board,
  .ladder-app-root,
  .ladder-app-embed {
    min-height: 660px;
  }
}

@media (max-width: 560px) {
  .app-section {
    padding-top: 72px;
  }

  .app-board,
  .ladder-app-root,
  .ladder-app-embed {
    min-height: 600px;
  }
}

/* ===== V23.12 Lightweight caster video feed ===== */
.caster-videos-section {
  padding-top: 76px;
}

.caster-videos-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.caster-videos-heading > div {
  max-width: 760px;
}

.caster-view-all {
  flex: 0 0 auto;
  min-width: 128px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--gold-bright);
  background: rgba(8,8,7,.7);
  border: 1px solid rgba(205,166,84,.55);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.caster-view-all:hover {
  color: #171208;
  background: var(--gold);
  border-color: var(--gold);
}

.caster-feed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.caster-video-card {
  min-width: 0;
  background: linear-gradient(160deg, rgba(27,24,18,.93), rgba(8,8,7,.94));
  border: 1px solid rgba(205,166,84,.28);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.caster-video-card.is-playable:hover {
  transform: translateY(-4px);
  border-color: rgba(205,166,84,.72);
  box-shadow: 0 26px 55px rgba(0,0,0,.4);
}

.caster-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #080807;
  cursor: pointer;
}

.caster-video-thumb:disabled {
  cursor: default;
}

.caster-video-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform .35s ease, filter .35s ease;
}

.caster-video-card.is-placeholder .caster-video-thumb img {
  filter: grayscale(.55) brightness(.42);
}

.caster-video-card.is-playable:hover .caster-video-thumb img {
  transform: scale(1.055);
}

.caster-thumb-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.52)),
    linear-gradient(90deg, rgba(205,166,84,.08), transparent 42%);
}

.caster-platform,
.caster-slot {
  position: absolute;
  z-index: 2;
  top: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.caster-platform {
  left: 12px;
  padding: 6px 8px;
  color: #171208;
  background: var(--gold);
}

.caster-slot {
  right: 12px;
  padding: 6px 8px;
  color: var(--gold-bright);
  border: 1px solid rgba(205,166,84,.55);
  background: rgba(6,6,5,.72);
}

.caster-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: #171208;
  background: var(--gold-bright);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  font-size: 1rem;
  padding-left: 3px;
}

.caster-video-info {
  padding: 17px 18px 16px;
}

.caster-byline {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .7rem;
  letter-spacing: .12em;
}

.caster-byline strong {
  color: var(--gold-bright);
  font-weight: 800;
}

.caster-video-info h3 {
  margin: 0;
  color: #f3ead4;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.18rem;
  line-height: 1.08;
  letter-spacing: .02em;
}

.caster-detail-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin: 10px 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .72rem;
  line-height: 1.3;
  color: rgba(230,221,200,.82);
}

.caster-detail-label {
  flex-shrink: 0;
  color: var(--gold-bright);
  font-weight: 800;
  font-size: .62rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.caster-detail-label::after {
  content: ":";
  margin-right: 1px;
}

.caster-detail-value {
  color: rgba(230,221,200,.9);
}

/* Nomes dos jogadores com fonte maior e mais legível. */
.caster-players-line {
  margin-top: 6px;
  font-size: .9rem;
  line-height: 1.4;
}

.caster-players-line .caster-detail-label {
  font-size: .66rem;
}

.caster-players-line .caster-detail-value {
  font-weight: 600;
  color: #f3ead4;
}

.caster-video-meta {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 5px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(230,221,200,.58);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .7rem;
}

.caster-video-meta .caster-detail-value {
  letter-spacing: .04em;
}

body.caster-modal-open {
  overflow: hidden;
}

.caster-video-modal[hidden] {
  display: none;
}

.caster-video-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.caster-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(8px);
}

.caster-video-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1080px, 94vw);
  border: 1px solid rgba(205,166,84,.58);
  background: #090907;
  box-shadow: 0 36px 100px rgba(0,0,0,.72);
}

.caster-video-modal-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px 15px 22px;
  border-bottom: 1px solid rgba(205,166,84,.28);
  background: linear-gradient(90deg, rgba(205,166,84,.1), transparent);
}

.caster-video-modal-header span {
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.caster-video-modal-header h2 {
  margin: 3px 0 0;
  color: #f4ead4;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  line-height: 1;
}

.caster-video-modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(205,166,84,.48);
  color: var(--gold-bright);
  background: rgba(0,0,0,.28);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.caster-video-modal-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.caster-video-modal-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1050px) {
  .caster-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .caster-videos-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .caster-view-all {
    align-self: flex-start;
  }

  .caster-feed {
    grid-template-columns: 1fr;
  }

  .caster-video-modal {
    padding: 10px;
  }

  .caster-video-modal-header {
    min-height: 68px;
    padding-left: 15px;
  }
}


/* V23.12 — Playoffs integrated into Ladder Standings */
.standings-playoffs {
  margin: 1.75rem 0 2rem;
  padding: 0;
}

.standings-playoffs .section-heading {
  margin-bottom: 1.25rem;
}

.standings-playoffs .playoff-board {
  margin-bottom: 0;
}


/* V23.12 — compact standings with expandable positions */
.ranking-item[hidden] {
  display: none !important;
}

.ranking-toggle {
  display: block;
  margin: 0.55rem auto 0.45rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(205, 164, 74, 0.55);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.82);
  color: inherit;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ranking-toggle:hover,
.ranking-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(205, 164, 74, 0.95);
  background: rgba(205, 164, 74, 0.1);
}

.ranking-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}


/* V23.12 — Discord invite */
.discord-invite[hidden] {
  display: none !important;
}

.discord-invite {
  position: fixed;
  left: 1.25rem;
  right: auto;
  bottom: 1.25rem;
  z-index: 5000;
  width: min(390px, calc(100vw - 2rem));
  pointer-events: none;
}

.discord-invite-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.15rem 1rem;
  border: 1px solid rgba(205, 164, 74, 0.48);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18,18,18,.98), rgba(7,7,7,.97));
  box-shadow: 0 18px 48px rgba(0,0,0,.48);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  transform: translateY(14px);
  opacity: 0;
  animation: discordInviteIn 260ms ease forwards;
}

.discord-invite-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(205, 164, 74, .88);
}

.discord-invite-kicker {
  display: block;
  margin-bottom: .35rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  opacity: .72;
}

.discord-invite-card h2 {
  margin: 0 2rem .45rem 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.discord-invite-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  opacity: .76;
}

.discord-invite-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1rem;
}

.discord-invite-button,
.discord-invite-later {
  min-height: 40px;
  border-radius: 999px;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.discord-invite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid rgba(205,164,74,.75);
  background: rgba(205,164,74,.14);
  color: inherit;
  text-decoration: none;
}

.discord-invite-later {
  padding: 0 .8rem;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: .65;
  cursor: pointer;
}

.discord-invite-close {
  position: absolute;
  top: .65rem;
  right: .7rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}

.discord-invite.is-closing .discord-invite-card {
  animation: discordInviteOut 180ms ease forwards;
}

@keyframes discordInviteIn {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes discordInviteOut {
  to { transform: translateY(10px); opacity: 0; }
}

@media (max-width: 640px) {
  .discord-invite {
    left: .85rem;
    right: auto;
    bottom: .85rem;
    width: calc(100vw - 1.7rem);
  }

  .discord-invite-card {
    padding: 1rem;
  }

  .discord-invite-button {
    flex: 1;
  }
}

/* ============================================================
   V23.12 — Dynamic Season Champions Hero
   Content is controlled by champions.js
   ============================================================ */
.hero.champions-active {
  min-height: 100vh;
  height: auto;
  padding: clamp(7.5rem, 11vw, 9rem) 1.35rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}

.hero.champions-active::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 30%, rgba(214, 166, 57, .21), transparent 31%),
    radial-gradient(circle at 12% 56%, rgba(177, 126, 30, .08), transparent 24%),
    radial-gradient(circle at 88% 56%, rgba(177, 126, 30, .08), transparent 24%),
    linear-gradient(180deg, rgba(3, 3, 3, .12), rgba(3, 3, 3, .80));
  pointer-events: none;
}

.season-champions-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}

.season-champions-heading {
  transform: translate3d(0, var(--champion-heading-y, 0px), 0);
  transition: transform 90ms linear;
  will-change: transform;
}

.season-champions-kicker {
  display: block;
  margin-bottom: .55rem;
  font-size: clamp(.72rem, 1.2vw, .92rem);
  font-weight: 800;
  letter-spacing: .23em;
  color: rgba(245, 235, 207, .82);
}

.season-champions-heading h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4.2rem, 10.5vw, 8.8rem);
  font-weight: 800;
  line-height: .83;
  letter-spacing: .035em;
  color: #d6a743;
  text-shadow:
    0 1px 0 #fff0b2,
    0 4px 0 rgba(75, 45, 6, .72),
    0 0 36px rgba(224, 169, 53, .18);
}

.season-champions-podium {
  display: grid;
  grid-template-columns: 1fr 1.16fr 1fr;
  gap: clamp(.8rem, 1.7vw, 1.35rem);
  align-items: end;
  margin-top: clamp(2.1rem, 4vw, 3.3rem);
  perspective: 1100px;
}

.season-champion-card {
  --champion-shift-x: 0px;
  --champion-shift-y: 0px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: .9rem .9rem 0;
  border: 1px solid rgba(201, 151, 45, .42);
  background:
    radial-gradient(circle at 50% 24%, rgba(210, 156, 48, .13), transparent 42%),
    linear-gradient(180deg, rgba(23, 18, 10, .88), rgba(4, 4, 4, .98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .42);
  clip-path: polygon(8% 0, 92% 0, 100% 7%, 100% 100%, 0 100%, 0 7%);
  transform: translate3d(var(--champion-shift-x), var(--champion-shift-y), 0);
  transition: transform 100ms linear, border-color 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.season-champion-card.is-main {
  z-index: 3;
  margin-bottom: 1.1rem;
  border-color: rgba(241, 193, 72, .92);
  box-shadow:
    0 0 0 1px rgba(255, 224, 132, .12),
    0 0 40px rgba(216, 160, 45, .24),
    0 30px 78px rgba(0, 0, 0, .52);
}

.season-champion-rank {
  position: absolute;
  z-index: 2;
  top: .75rem;
  left: 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.8rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(208, 158, 51, .21);
}

.season-champion-crown {
  position: absolute;
  z-index: 4;
  top: .6rem;
  right: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #e2b34b;
  filter: drop-shadow(0 0 12px rgba(225, 171, 52, .50));
}

.season-champion-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.season-champion-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 3, 3, .96) 98%);
  pointer-events: none;
}

.season-champion-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.035);
  filter: contrast(1.06) saturate(.86) brightness(.94);
}

.season-champion-card.is-main .season-champion-photo img {
  filter: contrast(1.07) saturate(.95) brightness(1.02);
}

.season-champion-nameplate {
  position: relative;
  z-index: 4;
  margin: -3.3rem .15rem 0;
  padding: .95rem .7rem .85rem;
  border: 1px solid rgba(204, 156, 53, .52);
  background: rgba(5, 5, 5, .94);
  clip-path: polygon(5% 0, 95% 0, 100% 25%, 100% 100%, 0 100%, 0 25%);
}

.season-champion-nameplate strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.season-champion-nameplate span {
  display: block;
  margin-top: .3rem;
  color: #ca9b3c;
  font-size: clamp(.62rem, .9vw, .76rem);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.season-champion-ribbon {
  position: relative;
  z-index: 5;
  margin: 0 -.15rem;
  padding: .62rem .75rem;
  background: linear-gradient(180deg, #dfb553, #9c6919);
  color: #080603;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(.72rem, 1.25vw, .94rem);
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.season-champions-thanks {
  transform: translate3d(0, var(--champion-thanks-y, 0px), 0);
  margin: clamp(1.4rem, 2vw, 2rem) auto 0;
  padding: 1.1rem 1rem 1rem;
  border-top: 1px solid rgba(206, 158, 53, .44);
  border-bottom: 1px solid rgba(206, 158, 53, .20);
  transition: transform 90ms linear;
  will-change: transform;
}

.season-champions-star {
  display: block;
  margin-bottom: .25rem;
  color: #d7a743;
}

.season-champions-thanks strong {
  display: block;
  color: #d7a743;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  letter-spacing: .09em;
}

.season-champions-thanks p {
  max-width: 720px;
  margin: .32rem auto 0;
  color: rgba(241, 237, 224, .62);
  font-size: .85rem;
  line-height: 1.55;
}

.season-champions-standings {
  display: inline-flex;
  margin-top: 1.25rem;
  padding: .72rem 1.1rem;
  border: 1px solid rgba(210, 162, 57, .55);
  border-radius: 999px;
  background: rgba(6, 6, 6, .52);
  color: inherit;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}

.season-champions-standings:hover {
  border-color: rgba(225, 179, 76, .95);
  background: rgba(201, 150, 44, .11);
}

@media (max-width: 900px) {
  .season-champions-podium {
    grid-template-columns: 1fr 1fr;
  }
  .season-champion-card.is-main {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(520px, 100%);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .hero.champions-active {
    padding-inline: .85rem;
  }
  .season-champions-podium {
    grid-template-columns: 1fr;
  }
  .season-champion-card,
  .season-champion-card.is-main {
    grid-column: auto;
    width: min(430px, 100%);
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .season-champion-card,
  .season-champions-heading,
  .season-champions-thanks {
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   V23.13 — Champions visual refinement
   Match the site's standard section typography and keep the
   page artwork open; dark backing is reserved for THANK YOU.
   ============================================================ */
.hero.champions-active::before {
  background:
    radial-gradient(circle at 50% 30%, rgba(214, 166, 57, .16), transparent 32%),
    radial-gradient(circle at 12% 56%, rgba(177, 126, 30, .06), transparent 24%),
    radial-gradient(circle at 88% 56%, rgba(177, 126, 30, .06), transparent 24%);
}

.season-champions-kicker {
  margin: 0 0 .55rem;
  color: var(--gold-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.season-champions-heading h1 {
  margin: 8px 0 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow:
    0 4px 14px rgba(0,0,0,.86),
    0 0 24px rgba(0,0,0,.42);
}

.season-champions-thanks {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1rem 1.15rem;
  border: 1px solid rgba(206, 158, 53, .26);
  background: linear-gradient(90deg, rgba(4,4,4,.18), rgba(4,4,4,.78) 18%, rgba(4,4,4,.84) 50%, rgba(4,4,4,.78) 82%, rgba(4,4,4,.18));
  backdrop-filter: blur(5px);
  box-shadow: 0 16px 42px rgba(0,0,0,.20);
}

/* ============================================================
   V23.13 — Champions finishing refinements
   - THANK YOU strip spans the full viewport width with no gold frame.
   - Player nameplate border is continuous at the angled corners.
   ============================================================ */
.season-champions-thanks {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
  padding-right: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
  border: 0;
  border-top: 0;
  border-bottom: 0;
  border-radius: 0;
  background: linear-gradient(90deg,
    rgba(4,4,4,.62) 0%,
    rgba(4,4,4,.82) 18%,
    rgba(4,4,4,.88) 50%,
    rgba(4,4,4,.82) 82%,
    rgba(4,4,4,.62) 100%);
  box-shadow: none;
}

/* Use an inset decorative line instead of a clipped border, so the
   angled corners stay visually connected with no broken gold segments. */
.season-champion-nameplate {
  border: 0;
  background:
    linear-gradient(rgba(5,5,5,.95), rgba(5,5,5,.95)) padding-box,
    linear-gradient(135deg, rgba(215,171,72,.72), rgba(152,104,25,.60)) border-box;
  clip-path: polygon(5% 0, 95% 0, 100% 25%, 100% 100%, 0 100%, 0 25%);
}

.season-champion-nameplate::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inherit;
  box-shadow: inset 0 0 0 1px rgba(204,156,53,.62);
}


/* V23.13 — Champions cutout / soft portrait treatment */
.season-champion-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  overflow: visible;
}

.season-champion-card.is-main {
  border-color: transparent;
  box-shadow: none;
}

.season-champion-photo {
  isolation: isolate;
  overflow: visible;
  background:
    radial-gradient(
      ellipse at 50% 48%,
      rgba(0, 0, 0, .80) 0%,
      rgba(0, 0, 0, .80) 48%,
      rgba(0, 0, 0, .62) 66%,
      rgba(0, 0, 0, 0) 86%
    );
}

.season-champion-photo::after {
  inset: -4% -6% -5%;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 52%,
      rgba(0, 0, 0, .40) 76%,
      rgba(0, 0, 0, .88) 100%
    );
}

.season-champion-photo img {
  position: relative;
  z-index: 1;
  object-fit: cover;
  /*
   * Feather the rectangular source-photo edges so the player feels cut out
   * instead of appearing as a hard square. Transparent PNG/WebP player
   * cutouts work even better with the same CSS.
   */
  -webkit-mask-image:
    radial-gradient(
      ellipse 68% 94% at 50% 50%,
      #000 0%,
      #000 66%,
      rgba(0,0,0,.94) 72%,
      rgba(0,0,0,.55) 84%,
      transparent 100%
    );
  mask-image:
    radial-gradient(
      ellipse 68% 94% at 50% 50%,
      #000 0%,
      #000 66%,
      rgba(0,0,0,.94) 72%,
      rgba(0,0,0,.55) 84%,
      transparent 100%
    );
}

.season-champion-rank {
  z-index: 6;
  padding: .18rem .5rem .28rem;
  border-radius: .45rem;
  background: rgba(0, 0, 0, .80);
  color: rgba(224, 174, 65, .90);
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}

.season-champion-crown {
  z-index: 7;
  padding: .18rem .42rem;
  border-radius: .45rem;
  background: rgba(0, 0, 0, .80);
}

.season-champion-nameplate {
  margin-top: -3.1rem;
  background: rgba(5, 5, 5, .90);
}


/* V23.13 — Champions open-background refinement
   Removes the black translucent boxes around portrait/rank/crown.
   Keeps only subtle contrast aids so content remains readable over the site background. */
.season-champion-card,
.season-champion-card.is-main {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.season-champion-photo {
  background: transparent !important;
  overflow: visible;
}

.season-champion-photo::after {
  background: radial-gradient(
    ellipse at 50% 58%,
    rgba(0,0,0,.20) 0%,
    rgba(0,0,0,.10) 48%,
    rgba(0,0,0,0) 78%
  ) !important;
}

/* Keep the portrait visually open; only feather its outer edges. */
.season-champion-photo img {
  filter:
    contrast(1.05)
    saturate(.94)
    drop-shadow(0 12px 18px rgba(0,0,0,.58));
}

.season-champion-rank {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: rgba(224,174,65,.96) !important;
  text-shadow:
    0 2px 3px rgba(0,0,0,1),
    0 0 10px rgba(0,0,0,.95),
    0 0 20px rgba(0,0,0,.75) !important;
}

.season-champion-crown {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-shadow:
    0 2px 3px rgba(0,0,0,1),
    0 0 12px rgba(0,0,0,.95),
    0 0 22px rgba(215,169,70,.30) !important;
}


/* V23.13 — Champions framed podium style */
.season-champions-heading {
  position: relative;
  margin-bottom: 1.4rem;
}

.season-champions-heading h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.65rem, 1.5vw, 1.1rem);
  margin: 0;
}

.season-champions-heading h1::before,
.season-champions-heading h1::after {
  content: "★";
  color: #d7a743;
  font-size: .34em;
  line-height: 1;
  text-shadow: 0 0 12px rgba(215, 167, 67, .35);
}

.season-champions-kicker {
  display: block;
  margin-top: .38rem;
  color: #d7a743;
  letter-spacing: .16em;
}

/* Three consistent framed player panels */
.season-champion-card,
.season-champion-card.is-main {
  position: relative;
  overflow: hidden;
  padding: 1rem 1rem 0;
  border: 1px solid rgba(207, 159, 55, .48) !important;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .72), rgba(5, 5, 5, .88)) !important;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, .28),
    inset 0 0 0 1px rgba(255,255,255,.015) !important;
  clip-path: polygon(7% 0, 93% 0, 100% 7%, 100% 100%, 0 100%, 0 7%);
}

.season-champion-card.is-main {
  border-color: rgba(235, 188, 70, .9) !important;
  box-shadow:
    0 0 0 1px rgba(255, 221, 121, .10),
    0 0 28px rgba(213, 160, 51, .18),
    0 22px 55px rgba(0, 0, 0, .38) !important;
}

.season-champion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 36%, rgba(214, 166, 63, .10), transparent 52%);
}

/* Standardized portrait box: no head cropping. */
.season-champion-photo {
  position: relative;
  z-index: 2;
  height: clamp(300px, 38vw, 455px);
  aspect-ratio: auto;
  overflow: visible;
  background: transparent !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.season-champion-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,5,5,0), rgba(5,5,5,.92)) !important;
}

.season-champion-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain !important;
  object-position: center bottom !important;
  transform: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter:
    contrast(1.05)
    saturate(.96)
    drop-shadow(0 12px 18px rgba(0,0,0,.50)) !important;
}

/* Rank remains readable but without a black square. */
.season-champion-rank {
  top: 1rem;
  left: 1rem;
  z-index: 6;
  padding: 0 !important;
  background: transparent !important;
  color: #d7a743 !important;
  text-shadow:
    0 2px 2px rgba(0,0,0,.95),
    0 0 10px rgba(0,0,0,.80) !important;
}

/* Nameplate keeps the strong esports visual. */
.season-champion-nameplate {
  position: relative;
  z-index: 5;
  margin: -2.7rem .1rem 0;
  padding: .9rem .75rem .8rem;
  border: 1px solid rgba(204, 156, 53, .52);
  background: rgba(5, 5, 5, .90) !important;
  clip-path: polygon(5% 0, 95% 0, 100% 25%, 100% 100%, 0 100%, 0 25%);
}

.season-champion-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.season-champion-name-row strong {
  margin: 0;
}

.season-champion-inline-crown {
  display: inline-block;
  color: #e0b04c;
  font-size: 1.15em;
  line-height: 1;
  filter: drop-shadow(0 0 7px rgba(225,171,52,.35));
  transform: translateY(-1px);
}

/* Keep the thank-you band as the only full-width dark strip. */
.season-champions-thanks {
  background: rgba(5, 5, 5, .82);
  border: 0 !important;
}

@media (max-width: 900px) {
  .season-champion-photo {
    height: clamp(320px, 56vw, 430px);
  }
}

@media (max-width: 620px) {
  .season-champion-photo {
    height: min(430px, 112vw);
  }

  .season-champions-heading h1::before,
  .season-champions-heading h1::after {
    font-size: .28em;
  }
}


/* V23.13 — FINAL transparent-player podium treatment
   Players sit directly on the Ladder background. No square/card behind the PNG. */
.season-champions-podium {
  align-items: end;
  overflow: visible;
}

.season-champion-card,
.season-champion-card.is-main {
  position: relative;
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
}

.season-champion-card::before,
.season-champion-card.is-main::before {
  display: none !important;
}

/* The image stage is transparent and identical in height for all players. */
.season-champion-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(330px, 39vw, 500px) !important;
  aspect-ratio: auto !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible !important;
  background: transparent !important;
}

/* No black overlay / rectangle behind or over the player. */
.season-champion-photo::before,
.season-champion-photo::after {
  display: none !important;
}

/* Transparent PNGs remain fully visible, including the head.
   contain = never crop; bottom = all players share the same baseline. */
.season-champion-photo img {
  position: relative;
  z-index: 2;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center bottom !important;
  transform: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter:
    contrast(1.03)
    saturate(.98)
    drop-shadow(0 5px 4px rgba(0,0,0,.55))
    drop-shadow(0 14px 18px rgba(0,0,0,.42)) !important;
}

/* Main champion is slightly larger, but still uses contain so nothing is cropped. */
.season-champion-card.is-main .season-champion-photo {
  height: clamp(370px, 43vw, 550px) !important;
}

/* Ranking floats directly over the background, with shadow only. */
.season-champion-rank {
  top: .4rem !important;
  left: .35rem !important;
  z-index: 8;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d9aa43 !important;
  text-shadow:
    0 2px 2px rgba(0,0,0,1),
    0 0 7px rgba(0,0,0,.95),
    0 0 16px rgba(0,0,0,.72) !important;
}

/* Only the nickname/team plate remains as a UI element beneath each player. */
.season-champion-nameplate {
  position: relative;
  z-index: 7;
  margin: -1.1rem auto 0 !important;
  width: min(94%, 360px);
  padding: .82rem .8rem .72rem;
  border: 1px solid rgba(204,156,53,.58) !important;
  background: rgba(5,5,5,.90) !important;
  clip-path: polygon(6% 0,94% 0,100% 28%,100% 100%,0 100%,0 28%) !important;
}

/* Crown stays beside the champion nickname, never floating above the portrait. */
.season-champion-inline-crown {
  display: inline-block !important;
  position: static !important;
  padding: 0 !important;
  background: transparent !important;
  color: #e0b04c;
  font-size: 1.12em;
  line-height: 1;
  text-shadow: 0 0 8px rgba(0,0,0,.85);
  filter: drop-shadow(0 0 6px rgba(225,171,52,.28));
}

.season-champion-crown {
  display: none !important;
}

/* Preserve the title treatment requested earlier. */
.season-champions-heading h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.65rem,1.5vw,1.1rem);
}

.season-champions-heading h1::before,
.season-champions-heading h1::after {
  content: "★";
  color: #d7a743;
  font-size: .34em;
  line-height: 1;
  text-shadow: 0 0 12px rgba(215,167,67,.35);
}

.season-champions-kicker {
  display: block;
  margin-top: .38rem;
}

/* Thank-you remains the only full-width dark band. */
.season-champions-thanks {
  background: rgba(5,5,5,.82) !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .season-champion-photo {
    height: clamp(330px, 57vw, 460px) !important;
  }
  .season-champion-card.is-main .season-champion-photo {
    height: clamp(370px, 63vw, 500px) !important;
  }
}

@media (max-width: 620px) {
  .season-champion-photo,
  .season-champion-card.is-main .season-champion-photo {
    height: min(470px, 120vw) !important;
  }
}


/* V23.13 — unified action buttons
   VIEW MORE, VIEW ALL and VIEW LADDER STANDINGS share one visual language. */
.site-action-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 1.25rem;
  padding: .72rem 1.15rem !important;
  border: 1px solid rgba(210, 162, 57, .62) !important;
  border-radius: 999px !important;
  background: rgba(6, 6, 6, .52) !important;
  color: inherit !important;
  font-family: inherit;
  font-size: .72rem !important;
  font-weight: 800 !important;
  line-height: 1;
  letter-spacing: .12em !important;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease !important;
}

.site-action-button:hover,
.site-action-button:focus-visible {
  border-color: rgba(225, 179, 76, .95) !important;
  background: rgba(201, 150, 44, .11) !important;
  transform: translateY(-1px);
}

.site-action-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Ranking button stays centered beneath the fifth position. */
.ranking-toggle.site-action-button {
  margin: .65rem auto .55rem !important;
}

/* Videos header button should not inherit an oversized heading margin. */
.caster-view-all.site-action-button {
  margin-top: 0 !important;
  flex: 0 0 auto;
}

/* Champions CTA keeps the same pill, centered naturally. */
.season-champions-standings.site-action-button {
  margin-top: 1.25rem !important;
}

[hidden] {
  display: none !important;
}


/* V23.13 — button alignment refinement only */
.ranking-toggle.site-action-button {
  display: flex !important;
  width: max-content;
  margin: 1rem auto 0 !important;
}

.video-actions {
  display: flex;
  justify-content: center;
}

.video-actions .site-action-button {
  margin-top: 1.1rem !important;
}


/* V23.13 — Champions duo avatars */
.season-champion-duo-card {
  overflow: visible !important;
}

.season-champion-duo-photos {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(.65rem, 1.5vw, 1rem);
  min-height: 205px;
  padding: 2.6rem .55rem .7rem;
}

.season-champion-duo-player {
  width: min(42%, 150px);
  text-align: center;
}

.season-champion-duo-player img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(210, 162, 57, .68);
  background: rgba(5, 5, 5, .42);
  box-shadow:
    0 9px 20px rgba(0, 0, 0, .35),
    0 0 0 1px rgba(255,255,255,.02);
}

.season-champion-duo-player span {
  display: block;
  margin-top: .42rem;
  overflow-wrap: anywhere;
  color: rgba(241, 237, 224, .88);
  font-size: clamp(.68rem, .9vw, .78rem);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.season-champion-duo-card.is-main .season-champion-duo-player {
  width: min(44%, 160px);
}

.season-champion-duo-card .season-champion-nameplate {
  margin-top: 0 !important;
}

.season-champion-duo-card .season-champion-name-row strong {
  font-size: clamp(1rem, 1.7vw, 1.35rem);
}

.season-champion-duo-card .season-champion-rank {
  top: .45rem !important;
  left: .45rem !important;
}

@media (max-width: 900px) {
  .season-champion-duo-photos {
    min-height: 185px;
  }

  .season-champion-duo-player,
  .season-champion-duo-card.is-main .season-champion-duo-player {
    width: min(43%, 145px);
  }
}

@media (max-width: 620px) {
  .season-champion-duo-photos {
    min-height: 0;
    padding-top: 2.8rem;
  }

  .season-champion-duo-player,
  .season-champion-duo-card.is-main .season-champion-duo-player {
    width: min(42%, 135px);
  }
}


/* V23.13 — Champions supports 2 or 3 players per team */
.season-champion-duo-photos.players-2 .season-champion-duo-player {
  width: min(42%, 150px);
}

.season-champion-duo-card.is-main .season-champion-duo-photos.players-2 .season-champion-duo-player {
  width: min(44%, 160px);
}

.season-champion-duo-photos.players-3 {
  gap: clamp(.45rem, 1vw, .72rem);
}

.season-champion-duo-photos.players-3 .season-champion-duo-player {
  width: min(30%, 112px);
}

.season-champion-duo-card.is-main .season-champion-duo-photos.players-3 .season-champion-duo-player {
  width: min(31%, 120px);
}

.season-champion-duo-photos.players-3 .season-champion-duo-player span {
  font-size: clamp(.6rem, .78vw, .7rem);
  letter-spacing: .045em;
}

@media (max-width: 900px) {
  .season-champion-duo-photos.players-2 .season-champion-duo-player,
  .season-champion-duo-card.is-main .season-champion-duo-photos.players-2 .season-champion-duo-player {
    width: min(43%, 145px);
  }

  .season-champion-duo-photos.players-3 .season-champion-duo-player,
  .season-champion-duo-card.is-main .season-champion-duo-photos.players-3 .season-champion-duo-player {
    width: min(30.5%, 105px);
  }
}

@media (max-width: 620px) {
  .season-champion-duo-photos.players-2 .season-champion-duo-player,
  .season-champion-duo-card.is-main .season-champion-duo-photos.players-2 .season-champion-duo-player {
    width: min(42%, 135px);
  }

  .season-champion-duo-photos.players-3 {
    gap: .4rem;
  }

  .season-champion-duo-photos.players-3 .season-champion-duo-player,
  .season-champion-duo-card.is-main .season-champion-duo-photos.players-3 .season-champion-duo-player {
    width: min(31%, 96px);
  }
}


/* V23.13 — original hero VIEW STANDINGS follows the common CTA standard */
.hero-standings-button.site-action-button {
  margin-top: 1.1rem !important;
  gap: .5rem;
}

.hero-standings-button .trophy-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}


/* V23.13 — CTA text must stay on one line */
.site-action-button,
.hero-standings-button,
.hero-join-button {
  white-space: nowrap !important;
  width: auto;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
}

@media (max-width: 420px) {
  .site-action-button,
  .hero-standings-button,
  .hero-join-button {
    font-size: .66rem !important;
    letter-spacing: .08em !important;
    padding-left: .9rem !important;
    padding-right: .9rem !important;
  }
}


/* V23.13 — hero VIEW STANDINGS uses the exact same geometry as VIEW LADDER STANDINGS */
.hero-standings-button.season-champions-standings.site-action-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 42px !important;
  margin: 1.25rem auto 0 !important;
  padding: .72rem 1.1rem !important;
  border: 1px solid rgba(210, 162, 57, .55) !important;
  border-radius: 999px !important;
  background: rgba(6, 6, 6, .52) !important;
  box-shadow: none !important;
  clip-path: none !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  overflow: visible !important;
}

.hero-standings-button.season-champions-standings.site-action-button::before,
.hero-standings-button.season-champions-standings.site-action-button::after {
  display: none !important;
  content: none !important;
}

.hero-content .hero-standings-button {
  margin-left: auto !important;
  margin-right: auto !important;
}


/* V23.13 — visibility must always win over button display rules */
.site-action-button[hidden],
.hero-standings-button[hidden],
.hero-join-button[hidden],
.season-champions-standings[hidden],
[data-competition-link][hidden],
[data-standings-fallback][hidden],
[hidden] {
  display: none !important;
}


/* V23.13 — final false-state CTA safeguard */
[data-competition-link][hidden],
[data-standings-fallback][hidden],
.hero-standings-button[hidden],
.hero-join-button[hidden] {
  display: none !important;
}


/* V23.13 — Champions names-only podium */
.season-champion-name-card,
.season-champion-name-card.is-main {
  position: relative;
  min-height: 300px;
  padding: 2.8rem 1.15rem 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(205,160,58,.40) !important;
  background: linear-gradient(180deg,rgba(16,13,9,.40),rgba(5,5,5,.82)) !important;
  box-shadow: 0 22px 55px rgba(0,0,0,.28) !important;
  clip-path: polygon(7% 0,93% 0,100% 7%,100% 100%,0 100%,0 7%) !important;
}
.season-champion-name-card.is-main {
  min-height: 340px;
  border-color: rgba(233,186,70,.82) !important;
  box-shadow: 0 0 30px rgba(213,161,51,.18),0 28px 65px rgba(0,0,0,.36) !important;
}
.season-champion-name-card::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 50% 38%,rgba(218,171,67,.14),transparent 54%);
}
.season-champion-name-card .season-champion-rank {
  position:absolute;
  top:.7rem !important;
  left:1rem !important;
  z-index:2;
  font-size:clamp(4rem,7vw,6.5rem);
  color:rgba(216,169,64,.16) !important;
  text-shadow:none !important;
}
.season-champion-name-stage {
  position:relative;
  z-index:3;
  min-height:245px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.season-champion-name-list {
  display:grid;
  gap:.45rem;
  justify-items:center;
}
.season-champion-name-only {
  display:block;
  width:100%;
  padding:.52rem .75rem;
  color:rgba(244,239,225,.96);
  font-family:"Barlow Condensed",sans-serif;
  font-size:clamp(1.45rem,2.5vw,2.3rem);
  font-weight:800;
  line-height:1;
  letter-spacing:.045em;
  text-transform:uppercase;
  text-align:center;
  text-shadow:0 2px 2px rgba(0,0,0,.85),0 0 12px rgba(0,0,0,.55);
}
.season-champion-name-card.is-main .season-champion-name-only {
  font-size:clamp(1.65rem,2.9vw,2.65rem);
}
.season-champion-name-only + .season-champion-name-only {
  border-top:1px solid rgba(205,160,58,.22);
}
.season-champion-team-row {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  margin-top:1.2rem;
  padding-top:.9rem;
  border-top:1px solid rgba(205,160,58,.36);
  color:#d4a64a;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.season-champion-inline-crown {
  display:inline-block !important;
  position:static !important;
  background:transparent !important;
  color:#e0b04c;
  font-size:1.2em;
}
@media(max-width:900px){
  .season-champion-name-card,.season-champion-name-card.is-main{min-height:280px}
  .season-champion-name-stage{min-height:220px}
}
@media(max-width:620px){
  .season-champion-name-card,.season-champion-name-card.is-main{min-height:0}
  .season-champion-name-stage{min-height:200px}
}


/* V23.13 — music toggle uses the same pill language as VIEW MORE / VIEW ALL */
.music-action-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap !important;
  min-height: 42px !important;
  padding: .72rem 1.1rem !important;
  border: 1px solid rgba(210, 162, 57, .62) !important;
  border-radius: 999px !important;
  background: rgba(6, 6, 6, .52) !important;
  color: inherit !important;
  box-shadow: none !important;
  clip-path: none !important;
}

.music-action-button::before,
.music-action-button::after {
  display: none !important;
  content: none !important;
}


/* V23.13 — rounded Champions cards */
.season-champion-name-card,
.season-champion-name-card.is-main {
  border-radius: 26px !important;
  clip-path: none !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(16, 13, 9, .46), rgba(5, 5, 5, .80)) !important;
  border: 1px solid rgba(205, 160, 58, .38) !important;
}

.season-champion-name-card.is-main {
  border-color: rgba(233, 186, 70, .78) !important;
  box-shadow:
    0 0 0 1px rgba(255, 221, 122, .08),
    0 0 30px rgba(213, 161, 51, .18),
    0 26px 58px rgba(0, 0, 0, .34) !important;
}

.season-champion-name-card .season-champion-rank {
  top: .7rem !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: auto;
  color: rgba(224, 174, 65, .78) !important;
  font-size: clamp(4.8rem, 8vw, 7.2rem) !important;
  text-shadow:
    0 2px 2px rgba(0,0,0,.9),
    0 0 12px rgba(213,161,51,.28) !important;
}

.season-champion-name-card.is-main .season-champion-rank {
  color: rgba(236, 192, 82, .96) !important;
  font-size: clamp(5.3rem, 8.7vw, 7.8rem) !important;
  text-shadow:
    0 2px 2px rgba(0,0,0,.95),
    0 0 16px rgba(224,174,65,.38),
    0 0 30px rgba(224,174,65,.18) !important;
}

.season-champion-name-stage {
  padding-top: 4.2rem;
}

.season-champion-name-stage::before {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin: 0 auto 1rem;
  background: rgba(217, 170, 67, .72);
  box-shadow: 0 0 10px rgba(217, 170, 67, .22);
}

.season-champion-name-card.is-main .season-champion-name-stage::before {
  width: 68px;
  background: rgba(235, 190, 78, .92);
}

.season-champion-name-only {
  padding: .48rem .75rem;
}

.season-champion-name-only + .season-champion-name-only {
  border-top: 0 !important;
}

.season-champion-team-row {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(205, 160, 58, .28);
}

.season-champion-inline-crown {
  transform: translateY(-1px);
}

@media (max-width: 620px) {
  .season-champion-name-card,
  .season-champion-name-card.is-main {
    border-radius: 22px !important;
  }

  .season-champion-name-stage {
    padding-top: 3.7rem;
  }
}


/* V23.13 — Champions refinement: clean rank + integrated winner highlight */

/* Remove the short decorative line below the podium number. */
.season-champion-name-stage::before,
.season-champion-name-card.is-main .season-champion-name-stage::before {
  content: none !important;
  display: none !important;
}

/* Keep comfortable spacing after removing the divider. */
.season-champion-name-stage {
  padding-top: 4.5rem !important;
}

/*
 * The Season Champion label is no longer rendered as a button/pill.
 * It becomes an integrated title at the bottom of the winning card.
 */
.season-champion-name-card.is-main .season-champion-ribbon {
  position: relative !important;
  z-index: 4;
  display: block !important;
  width: auto !important;
  margin: .9rem 1.15rem 1.15rem !important;
  padding: .9rem .5rem .2rem !important;
  border: 0 !important;
  border-top: 1px solid rgba(231, 183, 70, .42) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  color: rgba(235, 190, 78, .96) !important;
  font-size: clamp(.72rem, 1.1vw, .86rem) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: .18em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

/* A subtle champion glow makes first place special without another button. */
.season-champion-name-card.is-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 34px rgba(224, 174, 65, .08),
    inset 0 -28px 45px rgba(224, 174, 65, .035);
}

/* Make the crown part of the identity, rather than a separate badge. */
.season-champion-name-card.is-main .season-champion-inline-crown {
  color: rgba(239, 195, 82, 1) !important;
  font-size: 1.35em !important;
  filter: drop-shadow(0 0 7px rgba(224, 174, 65, .35));
}


/* V23.13 — podium alignment for teams with up to 3 players */
.season-champion-name-card,
.season-champion-name-card.is-main {
  display: flex !important;
  flex-direction: column !important;
}

/*
 * Reserve the same vertical area for player names on every podium card.
 * This keeps SECOND/THIRD PLACE TEAM aligned even when the champion has 3 names.
 */
.season-champion-name-stage {
  flex: 1 1 auto !important;
  min-height: 270px !important;
  justify-content: flex-start !important;
  padding-top: 5.15rem !important;
}

.season-champion-name-list {
  min-height: 112px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Three names still fit without pushing the team label down. */
.season-champion-name-only {
  padding-top: .38rem !important;
  padding-bottom: .38rem !important;
}

.season-champion-team-row {
  margin-top: auto !important;
  min-height: 48px;
  box-sizing: border-box;
}

/* Keep the champion signature anchored independently of name count. */
.season-champion-name-card.is-main .season-champion-ribbon {
  flex: 0 0 auto !important;
}

@media (max-width: 900px) {
  .season-champion-name-stage {
    min-height: 255px !important;
  }

  .season-champion-name-list {
    min-height: 108px !important;
  }
}

@media (max-width: 620px) {
  .season-champion-name-stage {
    min-height: 235px !important;
    padding-top: 4.7rem !important;
  }
}


/* =========================================================
   V23.13 — CLEAN NESTED RULE PANELS
   One outer panel + one inner panel; no card clutter.
   ========================================================= */
.clean-rules-shell {
  position: relative;
  margin-top: 1.35rem;
  padding: 14px;
  border: 1px solid rgba(205, 160, 58, .34);
  border-radius: 24px;
  background: rgba(7, 7, 7, .22);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
}

.clean-rules-shell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,174,65,.65), transparent);
}

.clean-rules-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(205, 160, 58, .18);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(211, 163, 60, .055), transparent 34%),
    rgba(5, 5, 5, .66);
  backdrop-filter: blur(5px);
}

.clean-rule-item {
  position: relative;
  min-height: 150px;
  padding: 1.55rem 1.7rem;
}

.clean-rule-item:nth-child(odd) {
  border-right: 1px solid rgba(205, 160, 58, .12);
}

.clean-rule-item:nth-child(n+3) {
  border-top: 1px solid rgba(205, 160, 58, .12);
}

/* Fifth Ladder item spans the panel instead of creating another box. */
.clean-rules-inner:not(.clean-playoff-inner) .clean-rule-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: 125px;
  border-right: 0;
}

.clean-rule-item h3 {
  margin: 0 0 .65rem;
  color: var(--text, #f3eee2);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
}

.clean-rule-item h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: .65rem;
  border-radius: 99px;
  background: rgba(216, 169, 64, .82);
}

.clean-rule-item p,
.clean-rule-item li {
  color: rgba(238, 233, 219, .72);
  line-height: 1.62;
}

.clean-rule-item p {
  margin: 0;
}

.clean-rule-item ul {
  margin: .35rem 0 0;
  padding-left: 1.15rem;
}

.clean-rule-item li + li {
  margin-top: .4rem;
}

/* Playoff section uses the exact same component, just roomier for longer rules. */
.clean-playoff-inner .clean-rule-item {
  min-height: 0;
}

.clean-playoff-inner .clean-rule-item:nth-child(odd) {
  border-right: 1px solid rgba(205, 160, 58, .12);
}

.clean-playoff-inner .clean-rule-item:nth-child(n+3) {
  border-top: 1px solid rgba(205, 160, 58, .12);
}

.clean-map-pool {
  margin: .85rem 0 !important;
  gap: .45rem !important;
}

.clean-map-pool span {
  border: 1px solid rgba(205, 160, 58, .16) !important;
  border-radius: 10px !important;
  background: rgba(205, 160, 58, .035) !important;
}

/* Very subtle interaction, without making each item feel like a separate card. */
.clean-rule-item {
  transition: background-color 180ms ease;
}

.clean-rule-item:hover {
  background: rgba(216, 169, 64, .025);
}

@media (max-width: 760px) {
  .clean-rules-shell {
    padding: 9px;
    border-radius: 19px;
  }

  .clean-rules-inner {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .clean-rule-item,
  .clean-rules-inner:not(.clean-playoff-inner) .clean-rule-item:last-child:nth-child(odd) {
    grid-column: auto;
    min-height: 0;
    border-right: 0 !important;
    border-top: 1px solid rgba(205, 160, 58, .12);
    padding: 1.3rem 1.25rem;
  }

  .clean-rule-item:first-child {
    border-top: 0;
  }
}


/* =========================================================
   V23.13 — UNIFIED CLEAN SITE PANELS
   Extends the clean nested-rules language to videos,
   supporters, semifinal descriptions and CTAs.
   ========================================================= */

.supporter-card,
.caster-video-card,
.playoff-board,
.championship-panel {
  border-radius: 20px !important;
  border: 1px solid rgba(205,160,58,.24) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(211,163,60,.045), transparent 36%),
    rgba(5,5,5,.64) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.18) !important;
  overflow: hidden;
}

.caster-video-card {
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.caster-video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220,173,70,.46) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(211,163,60,.065), transparent 36%),
    rgba(5,5,5,.70) !important;
}

.caster-video-thumb {
  border-radius: 16px 16px 0 0 !important;
  overflow: hidden;
}

.caster-video-info {
  padding: 1rem 1.05rem 1.05rem !important;
}

.caster-byline {
  color: rgba(218,170,73,.92) !important;
}

.caster-video-meta {
  padding-top: .75rem;
  border-top: 1px solid rgba(205,160,58,.12);
}

.supporter-card {
  padding: 1rem !important;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.supporter-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220,173,70,.46) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(211,163,60,.06), transparent 36%),
    rgba(5,5,5,.69) !important;
}

.supporter-card img {
  border-radius: 14px;
}

.playoff-board {
  padding: 14px !important;
}

.playoff-stage-label {
  border-radius: 16px !important;
  border: 1px solid rgba(205,160,58,.16) !important;
  background: rgba(5,5,5,.54) !important;
}

.playoff-match,
.playoff-team-row,
.playoff-team {
  border-radius: 14px !important;
}

.playoff-match {
  border-color: rgba(205,160,58,.16) !important;
  background: rgba(5,5,5,.48) !important;
}

.championship-panel {
  margin-top: 1rem !important;
  padding: 1.15rem !important;
}

.championship-slot {
  border-radius: 14px !important;
  border: 1px solid rgba(205,160,58,.14) !important;
  background: rgba(5,5,5,.44) !important;
}

.playoff-stage-label span,
.championship-kicker,
.championship-format,
.caster-byline,
.section-kicker {
  letter-spacing: .12em;
}

.site-action-button,
.secondary-button,
.caster-view-all,
.ranking-toggle,
.season-champions-standings,
.hero-standings-button,
.hero-join-button {
  border-radius: 999px !important;
  border: 1px solid rgba(210,162,57,.58) !important;
  background: rgba(6,6,6,.50) !important;
  box-shadow: none !important;
  clip-path: none !important;
  white-space: nowrap !important;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease !important;
}

.site-action-button:hover,
.secondary-button:hover,
.caster-view-all:hover,
.ranking-toggle:hover,
.season-champions-standings:hover,
.hero-standings-button:hover,
.hero-join-button:hover {
  transform: translateY(-1px);
  border-color: rgba(226,181,78,.90) !important;
  background: rgba(205,156,48,.10) !important;
}

.standings-playoffs .playoff-stage-label,
.championship-panel,
.caster-video-info,
.supporter-card {
  color: rgba(241,237,224,.90);
}

.playoff-board p,
.championship-panel p,
.caster-video-info p,
.supporter-card p {
  color: rgba(238,233,219,.70);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .supporter-card,
  .caster-video-card,
  .playoff-board,
  .championship-panel {
    border-radius: 16px !important;
  }

  .playoff-board {
    padding: 9px !important;
  }
}


/* =========================================================
   V23.13 — final visual alignment adjustments
   ========================================================= */

/* Semifinals: center title/description and prevent BEST OF 3 from wrapping. */
.playoff-stage-label,
.playoff-stage-label > *,
.championship-panel .championship-kicker,
.championship-panel .championship-format {
  text-align: center !important;
}

.playoff-stage-label {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.playoff-stage-label h3,
.playoff-stage-label strong,
.playoff-stage-label span {
  width: 100%;
  text-align: center !important;
}

.championship-format,
.playoff-stage-label .championship-format {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

/* Ranking: same rounded visual language as the other panels. */
.ranking-panel,
.ranking-card,
.standings-card,
.standings-table-wrap,
.standings-table-container {
  border-radius: 20px !important;
  clip-path: none !important;
}

.ranking-panel,
.ranking-card,
.standings-card {
  overflow: hidden !important;
  border: 1px solid rgba(205,160,58,.24) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(211,163,60,.045), transparent 36%),
    rgba(5,5,5,.64) !important;
}

/* Supporters: smaller, denser cards so the section scales better. */
.supporters-grid,
.supporter-grid {
  gap: .7rem !important;
}

.supporter-card {
  padding: .7rem !important;
  border-radius: 15px !important;
  min-height: 0 !important;
}

.supporter-card img {
  border-radius: 10px !important;
  max-height: 82px !important;
  object-fit: contain !important;
}

.supporter-card .supporter-name,
.supporter-card h3 {
  margin-top: .55rem !important;
  margin-bottom: .15rem !important;
  font-size: .86rem !important;
  line-height: 1.2 !important;
}

.supporter-card p,
.supporter-card .supporter-meta {
  font-size: .72rem !important;
  line-height: 1.35 !important;
}

@media (min-width: 900px) {
  .supporters-grid,
  .supporter-grid {
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .ranking-panel,
  .ranking-card,
  .standings-card {
    border-radius: 16px !important;
  }

  .supporter-card {
    padding: .62rem !important;
    border-radius: 13px !important;
  }

  .supporter-card img {
    max-height: 72px !important;
  }
}


/* =========================================================
   V23.13 — semifinal header + compact social links
   ========================================================= */

/* One clean line: SEMIFINALS (gold) + BEST OF 3 (white). */
.playoff-stage-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .65rem !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.playoff-stage-label span {
  width: auto !important;
  color: var(--gold-bright, #d9aa43) !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.playoff-stage-label strong {
  width: auto !important;
  color: rgba(246, 242, 233, .96) !important;
  text-align: center !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

/* Discord / YouTube — icon-only controls beside the music button. */
.quick-social-links {
  position: fixed;
  right: 148px;
  bottom: 22px;
  z-index: 81;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.quick-social-button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(205,166,84,.42);
  border-radius: 7px;
  color: var(--gold-bright);
  background: rgba(9,8,6,.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  text-decoration: none;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.quick-social-button svg {
  width: 18px;
  height: 18px;
  display: block;
}

.quick-social-button:hover,
.quick-social-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--gold-bright);
  background: rgba(205,166,84,.11);
}

.quick-social-button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .quick-social-links {
    right: 72px;
    bottom: 14px;
    gap: 5px;
  }

  .quick-social-button {
    width: 36px;
    height: 36px;
  }

  .quick-social-button svg {
    width: 17px;
    height: 17px;
  }

  .playoff-stage-label {
    gap: .45rem !important;
  }
}


/* =========================================================
   V23.13 — ROUND ALL GOLD UI ELEMENTS
   ========================================================= */

/* Buttons / calls to action */
.join-us,
.primary-button,
.secondary-button,
.site-action-button,
.ranking-toggle,
.caster-view-all,
.season-champions-standings,
.hero-standings-button,
.hero-join-button,
.music-action-button,
.discord-invite-actions a,
.discord-invite-actions button {
  border-radius: 999px !important;
  clip-path: none !important;
}

/* Ranking statuses: finalist / eliminated pills */
.ranking-item .status,
.ranking-item.qualified .status,
.ranking-item .status.eliminated,
.status {
  border-radius: 999px !important;
  clip-path: none !important;
  padding-left: .72rem !important;
  padding-right: .72rem !important;
}

/* Semifinal yellow date / match labels / small badges */
.playoff-date,
.playoff-match-label,
.playoff-match-number,
.playoff-label,
.playoff-badge,
.playoff-header-badge,
.playoff-match .date,
.playoff-match-date {
  border-radius: 999px !important;
  clip-path: none !important;
}

/* Video platform badge */
.caster-platform,
.caster-slot {
  border-radius: 999px !important;
  clip-path: none !important;
  padding-left: .7rem !important;
  padding-right: .7rem !important;
}

/* Caster video play control: fully circular */
.caster-play {
  width: 54px !important;
  height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  clip-path: none !important;
  border: 1px solid rgba(224,174,65,.82) !important;
  background: rgba(5,5,5,.72) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.32), 0 0 16px rgba(224,174,65,.12) !important;
}

/* Generic gold chips/badges used across the site */
.badge,
.tag,
.pill,
.gold-badge,
.gold-label {
  border-radius: 999px !important;
  clip-path: none !important;
}


/* =========================================================
   V23.13 — play icon + semifinal date pill refinements
   ========================================================= */

/* Keep the outer gold play circle, but make the triangle smaller and clearer. */
.caster-play {
  width: 50px !important;
  height: 50px !important;
  font-size: 0 !important;
  border-radius: 50% !important;
}

.caster-play::after {
  content: "▶";
  display: block;
  margin-left: 3px;
  color: rgba(246,242,233,.98);
  font-size: 17px;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.85);
}

/* Dates generated in the semifinal bracket: AUG 5 / AUG 2. */
.playoff-date,
.playoff-match-date,
.playoff-match .date,
.match-date,
.match-date-badge,
.semifinal-date,
.bracket-date {
  border-radius: 999px !important;
  clip-path: none !important;
  overflow: hidden !important;
}


/* V24.1 — remove top scroll progress bar */
.scroll-progress {
  display: none !important;
}


/* V24.1 — compact social icons beside music, without gold treatment */
.quick-social-links {
  right: 148px !important;
  bottom: 22px !important;
  gap: 6px !important;
}

.quick-social-button {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 8px !important;
  background: rgba(8,8,8,.76) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.24) !important;
  color: #f2f2f2 !important;
}

.quick-social-button:first-child {
  color: #8ea1ff !important;
}

.quick-social-button:last-child {
  color: #ff5252 !important;
}

.quick-social-button svg {
  width: 17px !important;
  height: 17px !important;
}

.quick-social-button:hover,
.quick-social-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.30) !important;
  background: rgba(18,18,18,.92) !important;
  box-shadow: 0 9px 20px rgba(0,0,0,.30) !important;
}

.quick-social-button:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .quick-social-links {
    right: 68px !important;
    bottom: 14px !important;
    gap: 5px !important;
  }

  .quick-social-button {
    width: 32px !important;
    height: 32px !important;
  }

  .quick-social-button svg {
    width: 16px !important;
    height: 16px !important;
  }
}


/* =========================================================
   V24.2 — LADDER APP LOGIN MODAL
   ========================================================= */

.login-modal-trigger {
  font: inherit;
  cursor: pointer;
}

.login-app-modal[hidden] {
  display: none !important;
}

.login-app-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 24px);
}

.login-app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(9px);
}

.login-app-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1320px, 96vw);
  height: min(900px, 92vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(205,166,84,.48);
  border-radius: 20px;
  background: #090907;
  box-shadow: 0 36px 100px rgba(0,0,0,.72);
}

.login-app-modal-header {
  flex: 0 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 20px;
  border-bottom: 1px solid rgba(205,166,84,.22);
  background: linear-gradient(90deg, rgba(205,166,84,.085), transparent);
}

.login-app-modal-header span {
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.login-app-modal-header h2 {
  margin: 3px 0 0;
  color: #f4ead4;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1;
}

.login-app-modal-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.login-app-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(205,166,84,.34);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(0,0,0,.24);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  white-space: nowrap;
}

.login-app-modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205,166,84,.42);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(0,0,0,.24);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.login-app-modal-frame {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #050505;
}

.login-app-modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  background: #050505;
}

body.login-app-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .login-app-modal {
    padding: 6px;
  }

  .login-app-modal-dialog {
    width: 98vw;
    height: 95vh;
    border-radius: 14px;
  }

  .login-app-modal-header {
    min-height: 58px;
    padding: 9px 9px 9px 13px;
  }

  .login-app-external {
    display: none;
  }

  .login-app-modal-close {
    width: 36px;
    height: 36px;
  }
}


/* =========================================================
   V24.3 — rounded LIVE + caster video presentation
   Matches the rounded Login modal language.
   ========================================================= */

/* Caster modal */
.caster-video-modal-dialog {
  border-radius: 20px !important;
  overflow: hidden !important;
  clip-path: none !important;
}

.caster-video-modal-header {
  border-radius: 20px 20px 0 0 !important;
}

.caster-video-modal-close {
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  clip-path: none !important;
}

.caster-video-modal-player {
  overflow: hidden !important;
  border-radius: 0 0 20px 20px !important;
}

.caster-video-modal-player iframe,
.caster-video-modal-player video {
  border-radius: 0 0 20px 20px !important;
}

/* LIVE section/cards/players */
.live-card,
.live-player-card,
.live-stream-card,
.live-video-card,
.live-embed-shell,
.live-player-shell,
.live-panel {
  border-radius: 20px !important;
  overflow: hidden !important;
  clip-path: none !important;
}

.live-card iframe,
.live-player-card iframe,
.live-stream-card iframe,
.live-video-card iframe,
.live-embed-shell iframe,
.live-player-shell iframe,
.live-panel iframe,
.live-card video,
.live-player-card video,
.live-stream-card video,
.live-video-card video {
  border-radius: 20px !important;
}

/* If Twitch/YouTube wrapper has its own border/background, keep it rounded too */
.live-section .video-wrapper,
.live-section .embed-wrapper,
.live-section .live-frame,
.live-section .live-container {
  border-radius: 20px !important;
  overflow: hidden !important;
  clip-path: none !important;
}

/* Keep LIVE labels/chips rounded as well */
.live-badge,
.live-platform,
.live-status,
.live-label {
  border-radius: 999px !important;
  clip-path: none !important;
}

@media (max-width: 760px) {
  .caster-video-modal-dialog,
  .live-card,
  .live-player-card,
  .live-stream-card,
  .live-video-card,
  .live-embed-shell,
  .live-player-shell,
  .live-panel,
  .live-section .video-wrapper,
  .live-section .embed-wrapper,
  .live-section .live-frame,
  .live-section .live-container {
    border-radius: 14px !important;
  }

  .caster-video-modal-header {
    border-radius: 14px 14px 0 0 !important;
  }

  .caster-video-modal-player,
  .caster-video-modal-player iframe,
  .caster-video-modal-player video {
    border-radius: 0 0 14px 14px !important;
  }
}


/* V24.3 adjustment — LIVE container rounded, video itself not rounded */
.live-card iframe,
.live-player-card iframe,
.live-stream-card iframe,
.live-video-card iframe,
.live-embed-shell iframe,
.live-player-shell iframe,
.live-panel iframe,
.live-card video,
.live-player-card video,
.live-stream-card video,
.live-video-card video,
.live-section iframe,
.live-section video {
  border-radius: 0 !important;
}


/* V24.3 — supporters moved to lightweight footer links */
.footer-supporters {
  max-width: 1500px;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  line-height: 1.65 !important;
  text-align: center;
}

.footer-supporters strong {
  color: rgba(239, 226, 194, .88);
  font-weight: 700;
}

.footer-supporters a {
  color: rgba(218, 170, 73, .86);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.footer-supporters a:hover,
.footer-supporters a:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-supporters-separator {
  color: rgba(205, 166, 84, .48);
}

@media (max-width: 760px) {
  .footer-supporters {
    display: block;
    padding: 0 .8rem;
  }

  .footer-supporters-separator {
    display: none;
  }

  .footer-supporters > span {
    display: block;
  }

  .footer-supporters > span + span {
    margin-top: .35rem;
  }
}


/* =========================================================
   V24.4 — LADDER APP LOGIN MODAL
   ========================================================= */
.login-modal-trigger{font:inherit;cursor:pointer}
.login-app-modal[hidden]{display:none!important}
.login-app-modal{position:fixed;z-index:10020;inset:0;display:grid;place-items:center;padding:clamp(10px,2vw,24px)}
.login-app-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.88);backdrop-filter:blur(9px)}
.login-app-modal-dialog{position:relative;z-index:2;width:min(1500px,96vw);height:min(900px,92vh);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(205,166,84,.48);border-radius:20px;background:#090907;box-shadow:0 36px 100px rgba(0,0,0,.72)}
.login-app-modal-header{flex:0 0 auto;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px 12px 20px;border-bottom:1px solid rgba(205,166,84,.22);background:linear-gradient(90deg,rgba(205,166,84,.085),transparent)}
.login-app-modal-header span{color:var(--gold);font-family:"Barlow Condensed",sans-serif;font-size:.66rem;font-weight:800;letter-spacing:.13em}
.login-app-modal-header h2{margin:3px 0 0;color:#f4ead4;font-family:"Barlow Condensed",sans-serif;font-size:clamp(1.05rem,2.2vw,1.45rem);line-height:1}
.login-app-modal-actions{display:inline-flex;align-items:center;gap:8px}
.login-app-external{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid rgba(205,166,84,.34);border-radius:999px;color:var(--gold-bright);background:rgba(0,0,0,.24);font-family:"Barlow Condensed",sans-serif;font-size:.68rem;font-weight:800;letter-spacing:.1em;text-decoration:none;white-space:nowrap}
.login-app-modal-close{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(205,166,84,.42);border-radius:50%;color:var(--gold-bright);background:rgba(0,0,0,.24);font-size:1.5rem;line-height:1;cursor:pointer}
.login-app-modal-frame{flex:1 1 auto;min-height:0;width:100%;background:#050505}
.login-app-modal-frame iframe{display:block;width:100%;height:100%;min-height:100%;border:0;background:#050505}
body.login-app-modal-open{overflow:hidden}
@media(max-width:760px){
  .login-app-modal{padding:6px}
  .login-app-modal-dialog{width:98vw;height:95vh;border-radius:14px}
  .login-app-modal-header{min-height:58px;padding:9px 9px 9px 13px}
  .login-app-external{display:none}
  .login-app-modal-close{width:36px;height:36px}
}


/* Music feature removed */
.music-toggle, #music-toggle, #background-music { display: none !important; }


/* =========================================================
   V24.4 — larger floating social links + translated caption
   ========================================================= */

.quick-social-links {
  right: 22px !important;
  bottom: 22px !important;
  gap: 9px !important;
}

.quick-social-button {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  border-radius: 9px !important;
}

.quick-social-button svg {
  width: 22px !important;
  height: 22px !important;
}

@media (max-width: 680px) {
  .quick-social-links {
    right: 12px !important;
    bottom: 12px !important;
    gap: 6px !important;
  }

  .quick-social-button {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  .quick-social-button svg {
    width: 20px !important;
    height: 20px !important;
  }
}


/* =========================================================
   V24.4 — LADDER NEWS
   ========================================================= */
.ladder-news-shell {
  width: min(1060px, 94vw);
  margin: 0 auto;
  border: 1px solid rgba(205,166,84,.25);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(24,21,16,.80), rgba(7,7,6,.88));
  box-shadow: 0 24px 58px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.018);
}

.ladder-news-item {
  position: relative;
  padding: 24px 28px 23px;
  border-bottom: 1px solid rgba(205,166,84,.13);
  background: rgba(6,6,6,.20);
}

.ladder-news-item:last-child { border-bottom: 0; }

.ladder-news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  bottom: 17px;
  width: 2px;
  background: rgba(205,166,84,.28);
}

.ladder-news-item.is-featured {
  background: linear-gradient(90deg, rgba(205,166,84,.075), transparent 55%);
}

.ladder-news-item.is-featured::before {
  width: 3px;
  background: var(--gold-bright);
  box-shadow: 0 0 14px rgba(205,166,84,.22);
}

.ladder-news-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ladder-news-date { color: rgba(246,242,233,.58); }

.ladder-news-category {
  padding: 5px 9px 4px;
  border: 1px solid rgba(205,166,84,.36);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(205,166,84,.06);
}

.ladder-news-item h3 {
  margin: 0 0 8px;
  color: rgba(246,242,233,.97);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  font-weight: 650;
}

.ladder-news-item p {
  max-width: 880px;
  margin: 0;
  color: rgba(246,242,233,.68);
  font-size: .90rem;
  line-height: 1.65;
}

.ladder-news-link {
  display: inline-flex;
  margin-top: 13px;
  color: var(--gold-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.ladder-news-toggle {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-top: 1px solid rgba(205,166,84,.18);
  color: var(--gold-bright);
  background: rgba(8,8,7,.52);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  cursor: pointer;
  text-transform: uppercase;
}

.ladder-news-toggle:hover { background: rgba(205,166,84,.08); }

@media (max-width: 680px) {
  .ladder-news-shell { width: calc(100% - 20px); border-radius: 15px; }
  .ladder-news-item { padding: 20px 19px 19px 22px; }
  .ladder-news-meta { flex-wrap: wrap; }
}


/* =========================================================
   V24.4 — LADDER NEWS compact / wide
   ========================================================= */
.ladder-news-shell {
  width: min(1220px, 96vw) !important;
  border-radius: 14px !important;
}

.ladder-news-item {
  padding: 15px 26px 14px !important;
}

.ladder-news-item::before {
  top: 11px !important;
  bottom: 11px !important;
}

.ladder-news-meta {
  margin-bottom: 5px !important;
  font-size: .62rem !important;
}

.ladder-news-category {
  padding: 3px 8px 2px !important;
}

.ladder-news-item h3 {
  margin-bottom: 4px !important;
  font-size: clamp(.96rem, 1.35vw, 1.14rem) !important;
}

.ladder-news-item p {
  max-width: 1080px !important;
  font-size: .83rem !important;
  line-height: 1.45 !important;
}

.ladder-news-link {
  margin-top: 7px !important;
  font-size: .68rem !important;
}

.ladder-news-toggle {
  min-height: 40px !important;
}

@media (max-width: 680px) {
  .ladder-news-shell {
    width: calc(100% - 16px) !important;
  }

  .ladder-news-item {
    padding: 15px 17px 14px 20px !important;
  }
}


/* =========================================================
   V24.4 — LADDER NEWS modal
   ========================================================= */
body.news-modal-open {
  overflow: hidden;
}

.ladder-news-modal[hidden] {
  display: none !important;
}

.ladder-news-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.ladder-news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(8px);
}

.ladder-news-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1220px, 96vw);
  max-height: min(760px, 88vh);
  overflow: hidden;
  border: 1px solid rgba(205,166,84,.58);
  border-radius: 18px;
  background: #090907;
  box-shadow: 0 36px 100px rgba(0,0,0,.72);
}

.ladder-news-modal-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px 13px 22px;
  border-bottom: 1px solid rgba(205,166,84,.28);
  background: linear-gradient(90deg, rgba(205,166,84,.10), transparent);
}

.ladder-news-modal-header span {
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.ladder-news-modal-header h2 {
  margin: 3px 0 0;
  color: #f4ead4;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1;
}

.ladder-news-modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(205,166,84,.48);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(0,0,0,.28);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.ladder-news-modal-content {
  max-height: calc(88vh - 72px);
  overflow-y: auto;
}

.ladder-news-modal .ladder-news-list {
  display: grid;
}

.ladder-news-modal .ladder-news-item {
  padding: 15px 26px 14px !important;
}

.ladder-news-modal .ladder-news-item p {
  max-width: 1080px !important;
}

.ladder-news-modal .ladder-news-toggle {
  position: sticky;
  bottom: 0;
}

@media (max-width: 680px) {
  .ladder-news-modal {
    padding: 10px;
  }

  .ladder-news-modal-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 14px;
  }

  .ladder-news-modal-header {
    min-height: 66px;
    padding-left: 15px;
  }

  .ladder-news-modal-content {
    max-height: calc(92vh - 66px);
  }

  .ladder-news-modal .ladder-news-item {
    padding: 14px 17px 13px 20px !important;
  }
}


/* =========================================================
   V24.4 — NEWS unread indicator
   ========================================================= */

.news-menu-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.news-menu-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--gold-bright, #e0ae41);
  box-shadow:
    0 0 0 1px rgba(224,174,65,.28),
    0 0 8px rgba(224,174,65,.78),
    0 0 16px rgba(224,174,65,.32);
}

.news-menu-dot[hidden] {
  display: none !important;
}

.news-menu-link.has-unread-news .news-menu-dot {
  animation: ladderNewsPulse 1.65s ease-in-out infinite;
}

@keyframes ladderNewsPulse {
  0%, 100% {
    opacity: .55;
    transform: scale(.82);
    box-shadow:
      0 0 0 1px rgba(224,174,65,.22),
      0 0 6px rgba(224,174,65,.55),
      0 0 12px rgba(224,174,65,.20);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
    box-shadow:
      0 0 0 1px rgba(224,174,65,.48),
      0 0 10px rgba(224,174,65,.92),
      0 0 20px rgba(224,174,65,.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-menu-link.has-unread-news .news-menu-dot {
    animation: none;
  }
}

/* ===== Ladder Background — metal contínuo ===== */
:root {
  --site-bg: #14110D;
}

html,
body {
  background-color: var(--site-bg) !important;
}

.background-layer {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: var(--site-bg) !important;
  background-image:
    linear-gradient(
      to bottom,
      rgba(20,17,13,0) 0%,
      rgba(20,17,13,0) 68%,
      rgba(20,17,13,.34) 82%,
      var(--site-bg) 100%
    ),
    url("assets/bg.png") !important;
  background-position: center top !important;
  background-size: 100% auto !important;
  background-repeat: no-repeat !important;
  transform: none !important;
  pointer-events: none !important;
}

@media (max-width: 760px) {
  .background-layer {
    background-size: auto 760px !important;
    background-position: 62% top !important;
  }
}

/* ===== Ladder Background — BUNKER STEEL · 100% CSS ===== */
:root {
  --site-bg: #17130f;
  --bunker-gold: 205, 166, 84;
}

html,
body {
  background: var(--site-bg) !important;
}

/*
 * Background 100% CSS: no JPG, PNG or SVG.
 * The visual is built from gradients, highlights, seams and simulated rivets.
 */
.background-layer {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  transform: none !important;
  background-color: var(--site-bg) !important;
  background-image:
    /* warm focus behind the main content */
    radial-gradient(
      ellipse at 50% 28%,
      rgba(205,166,84,.13) 0%,
      rgba(135,94,34,.075) 23%,
      rgba(20,17,13,0) 52%
    ),
    /* broad steel reflection */
    linear-gradient(
      118deg,
      rgba(255,255,255,.018) 0%,
      rgba(255,255,255,0) 27%,
      rgba(205,166,84,.035) 49%,
      rgba(255,255,255,0) 70%,
      rgba(0,0,0,.11) 100%
    ),
    /* brushed-metal micro grain */
    repeating-linear-gradient(
      100deg,
      rgba(255,255,255,.012) 0px,
      rgba(255,255,255,.012) 1px,
      rgba(0,0,0,.018) 1px,
      rgba(0,0,0,.018) 3px,
      transparent 3px,
      transparent 6px
    ),
    /* steel body */
    linear-gradient(
      135deg,
      #12100d 0%,
      #1b1712 19%,
      #292118 48%,
      #1c1712 72%,
      #110f0c 100%
    ) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Armored plate seams + rivets. */
.background-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* four corner rivets */
    radial-gradient(circle at 3.6% 7%, rgba(224,185,96,.28) 0 2px, rgba(31,24,16,.95) 3px 6px, rgba(232,190,88,.11) 7px 8px, transparent 9px),
    radial-gradient(circle at 96.4% 7%, rgba(224,185,96,.28) 0 2px, rgba(31,24,16,.95) 3px 6px, rgba(232,190,88,.11) 7px 8px, transparent 9px),
    radial-gradient(circle at 3.6% 93%, rgba(224,185,96,.22) 0 2px, rgba(31,24,16,.95) 3px 6px, rgba(232,190,88,.09) 7px 8px, transparent 9px),
    radial-gradient(circle at 96.4% 93%, rgba(224,185,96,.22) 0 2px, rgba(31,24,16,.95) 3px 6px, rgba(232,190,88,.09) 7px 8px, transparent 9px),
    /* left armored seam */
    linear-gradient(132deg, transparent 0 15.6%, rgba(0,0,0,.42) 15.75% 16.05%, rgba(205,166,84,.085) 16.15% 16.32%, transparent 16.5% 100%),
    /* right armored seam */
    linear-gradient(228deg, transparent 0 15.6%, rgba(0,0,0,.42) 15.75% 16.05%, rgba(205,166,84,.075) 16.15% 16.32%, transparent 16.5% 100%),
    /* subtle horizontal plate join */
    linear-gradient(to bottom, transparent 0 73%, rgba(0,0,0,.24) 73.15% 73.35%, rgba(205,166,84,.035) 73.45% 73.55%, transparent 73.7% 100%);
  opacity: .95;
}

/* Edge vignette makes the cards/readability stronger. */
.background-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(7,6,5,.14) 69%, rgba(7,6,5,.48) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.07), transparent 19%, transparent 72%, rgba(0,0,0,.30) 100%);
}

main,
section,
#apoiadores {
  background: transparent !important;
}

footer {
  background: #11100d !important;
}

@media (max-width: 760px) {
  .background-layer {
    background-image:
      radial-gradient(ellipse at 50% 24%, rgba(205,166,84,.12) 0%, rgba(135,94,34,.06) 24%, transparent 50%),
      repeating-linear-gradient(100deg, rgba(255,255,255,.012) 0 1px, rgba(0,0,0,.017) 1px 3px, transparent 3px 6px),
      linear-gradient(135deg, #12100d 0%, #292118 48%, #110f0c 100%) !important;
  }

  .background-layer::before {
    opacity: .65;
  }
}

/* ============================================================
   V23.14 — Clean bunker background for champions page
   - Pure CSS only
   - Removes lateral seam lines, bottom seam, and side circles
   - Keeps only a simple metal glow + subtle brushed texture
   ============================================================ */
.background-layer {
  background-color: #14110D !important;
  background-image:
    radial-gradient(
      ellipse at 50% 24%,
      rgba(214,166,57,.18) 0%,
      rgba(150,103,33,.09) 25%,
      rgba(0,0,0,0) 56%
    ),
    repeating-linear-gradient(
      100deg,
      rgba(255,255,255,.010) 0px,
      rgba(255,255,255,.010) 1px,
      rgba(0,0,0,.016) 1px,
      rgba(0,0,0,.016) 3px,
      transparent 3px,
      transparent 6px
    ),
    linear-gradient(
      135deg,
      #12100d 0%,
      #1b1712 19%,
      #292118 48%,
      #1c1712 72%,
      #110f0c 100%
    ) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.background-layer::before {
  content: none !important;
  background: none !important;
}

.background-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      transparent 40%,
      rgba(7,6,5,.10) 72%,
      rgba(7,6,5,.34) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0,0,0,.06) 0%,
      transparent 20%,
      transparent 78%,
      rgba(0,0,0,.22) 100%
    );
  pointer-events: none;
}

.hero.champions-active::before {
  background:
    radial-gradient(circle at 50% 30%, rgba(214, 166, 57, .14), transparent 34%) !important;
}

@media (max-width: 760px) {
  .background-layer {
    background-image:
      radial-gradient(
        ellipse at 50% 24%,
        rgba(214,166,57,.15) 0%,
        rgba(150,103,33,.07) 24%,
        rgba(0,0,0,0) 52%
      ),
      repeating-linear-gradient(
        100deg,
        rgba(255,255,255,.010) 0 1px,
        rgba(0,0,0,.015) 1px 3px,
        transparent 3px 6px
      ),
      linear-gradient(135deg, #12100d 0%, #292118 48%, #110f0c 100%) !important;
  }
}

/* ============================================================
   V23.15 — Rotating Ladder Banner
   Content and images are controlled by js-admin/banner-config.js
   ============================================================ */
.ladder-banner-section {
  position: relative;
  z-index: 3;
  width: min(1240px, calc(100% - 2.7rem));
  margin: clamp(1.5rem, 3.2vw, 3rem) auto clamp(2.4rem, 5vw, 4.8rem);
}

.ladder-banner-section[hidden] {
  display: none !important;
}

.ladder-banner-frame {
  position: relative;
  min-height: clamp(240px, 30vw, 385px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(205, 166, 84, .34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(205,166,84,.13), transparent 42%),
    linear-gradient(135deg, rgba(33,29,24,.98), rgba(12,10,8,.98));
  box-shadow:
    0 24px 60px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.ladder-banner-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,219,126,.025);
}

.ladder-banner-track {
  position: absolute;
  inset: 0;
}

.ladder-banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4.6rem) clamp(2rem, 6.5vw, 5.5rem);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity .65s ease, transform 1.1s ease, visibility .65s ease;
  background:
    radial-gradient(circle at 22% 42%, rgba(205,166,84,.13), transparent 34%),
    linear-gradient(120deg, rgba(34,28,20,.96), rgba(12,10,8,.98));
}

.ladder-banner-slide.has-image {
  background-image:
    linear-gradient(90deg,
      rgba(8,7,5,.94) 0%,
      rgba(8,7,5,.83) 32%,
      rgba(8,7,5,.48) 58%,
      rgba(8,7,5,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.36)),
    var(--banner-image);
  background-size: cover;
  background-position: center, center, var(--banner-position, center);
  background-repeat: no-repeat;
}

.ladder-banner-slide.is-css-only {
  background:
    radial-gradient(circle at 68% 42%, rgba(205,166,84,.16), transparent 31%),
    linear-gradient(112deg, rgba(255,255,255,.018) 0 18%, transparent 18.2% 76%, rgba(205,166,84,.045) 76.2% 84%, transparent 84.2%),
    linear-gradient(135deg, #1b1712 0%, #292118 48%, #12100d 100%);
}

.ladder-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.ladder-banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 22%, transparent 78%, rgba(0,0,0,.28));
}

.ladder-banner-content {
  position: relative;
  z-index: 3;
  width: min(600px, 72%);
  text-align: left;
}

.ladder-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .75rem;
  color: var(--gold-bright, #d8a845);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(.7rem, 1vw, .86rem);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ladder-banner-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}

.ladder-banner-content h2 {
  max-width: 720px;
  margin: 0;
  color: var(--text, #f1ede5);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-shadow: 0 5px 18px rgba(0,0,0,.72);
}

.ladder-banner-content p {
  max-width: 590px;
  margin: 1rem 0 0;
  color: rgba(241,237,224,.72);
  font-size: clamp(.82rem, 1.2vw, 1rem);
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0,0,0,.72);
}

.ladder-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  min-height: 40px;
  padding: .7rem 1.05rem;
  border: 1px solid rgba(219,174,74,.65);
  border-radius: 999px;
  background: rgba(7,6,5,.68);
  color: #f4eee2;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.ladder-banner-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(241,193,72,.95);
  background: rgba(205,166,84,.12);
}

.ladder-banner-accent {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 0;
  width: clamp(90px, 13vw, 180px);
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(224,175,68,.95));
}

.ladder-banner-arrow {
  position: absolute;
  z-index: 9;
  top: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(205,166,84,.35);
  border-radius: 50%;
  background: rgba(5,5,4,.62);
  color: rgba(245,239,227,.85);
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.ladder-banner-arrow:hover {
  color: #fff4cf;
  border-color: rgba(230,184,79,.78);
  background: rgba(205,166,84,.10);
}

.ladder-banner-arrow span {
  display: block;
  margin-top: -3px;
  font-family: Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
}

.ladder-banner-arrow.is-prev { left: 14px; }
.ladder-banner-arrow.is-next { right: 14px; }

.ladder-banner-dots {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 15px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.ladder-banner-dot {
  width: 20px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.24);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.ladder-banner-dot.is-active {
  width: 34px;
  background: var(--gold-bright, #d8a845);
}

@media (max-width: 760px) {
  .ladder-banner-section {
    width: min(100% - 1.3rem, 1240px);
    margin-top: 1rem;
    margin-bottom: 2.5rem;
  }

  .ladder-banner-frame {
    min-height: 330px;
    border-radius: 14px;
  }

  .ladder-banner-slide {
    align-items: flex-end;
    padding: 3rem 1.25rem 3.2rem;
  }

  .ladder-banner-slide.has-image {
    background-image:
      linear-gradient(180deg, rgba(8,7,5,.28) 0%, rgba(8,7,5,.68) 48%, rgba(8,7,5,.96) 100%),
      var(--banner-image);
    background-position: center, var(--banner-position, center);
  }

  .ladder-banner-content {
    width: 100%;
    padding: 0 1.4rem;
    text-align: center;
  }

  .ladder-banner-kicker {
    justify-content: center;
  }

  .ladder-banner-kicker::before {
    display: none;
  }

  .ladder-banner-content p {
    margin-inline: auto;
  }

  .ladder-banner-arrow {
    width: 34px;
    height: 34px;
  }

  .ladder-banner-arrow.is-prev { left: 8px; }
  .ladder-banner-arrow.is-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .ladder-banner-slide {
    transition: none;
    transform: none;
  }
}


/* ============================================================
   V23.16 — Banner / Champions editorial positioning
   champions.js controls the state through .champions-enabled / .champions-disabled.
   ============================================================ */
html.champions-disabled .hero#inicio,
body.champions-disabled .hero#inicio {
  display: none !important;
}

/* No champions: banner becomes the first visual area, close to the fixed navigation. */
body.champions-disabled .ladder-banner-section {
  margin-top: 104px;
  margin-bottom: clamp(2rem, 4vw, 3.8rem);
}

/* Champions active: keep Champions as the hero and place the banner directly below it. */
body.champions-enabled .ladder-banner-section {
  margin-top: clamp(.8rem, 1.7vw, 1.35rem);
}

@media (max-width: 760px) {
  body.champions-disabled .ladder-banner-section {
    margin-top: 88px;
  }

  body.champions-enabled .ladder-banner-section {
    margin-top: .7rem;
  }
}


/* ============================================================
   V23.15 — Small navigation/playoff refinements
   ============================================================ */
.semifinal-card {
  border-radius: 18px !important;
  overflow: hidden !important;
}

.semifinal-card-header {
  border-radius: 18px 18px 0 0;
}

.semifinal-card-footer {
  border-radius: 0 0 18px 18px;
}

/* ===== Ladder Login — loading feedback ===== */
.nav-links .join-us[data-app-login] {
  position: relative;
  min-width: 88px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links .join-us[data-app-login].is-loading {
  color: transparent !important;
  pointer-events: none;
  transform: none !important;
  filter: none !important;
  cursor: wait;
}

.nav-links .join-us[data-app-login].is-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(23, 18, 8, .28);
  border-top-color: #171208;
  border-radius: 50%;
  animation: ladder-login-spin .72s linear infinite;
}

@keyframes ladder-login-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links .join-us[data-app-login].is-loading::after {
    animation-duration: 1.35s;
  }
}

/* ===== Full-width top menu background — unified ===== */
/* The menu content keeps its existing centered width. Only the visual layer spans the viewport. */
.topbar {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.topbar::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(9,8,6,.42), rgba(9,8,6,.08));
  border-bottom: 1px solid rgba(255,255,255,.12);
  z-index: -1;
  pointer-events: none;
}

body.has-scrolled .topbar::before {
  background: rgba(9,8,6,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0,0,0,.30);
}



/* =========================================================
   V25 — Prediction Ranking (Discord) popup
   Data: js-admin/predictions-ranking.js · Logic: predictions.js
   ========================================================= */

[data-predictions-open][hidden],
.ladder-predictions-modal[hidden] {
  display: none !important;
}

body.predictions-modal-open {
  overflow: hidden;
}

.ladder-predictions-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.ladder-predictions-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(8px);
}

.ladder-predictions-dialog {
  position: relative;
  z-index: 2;
  width: min(1120px, 96vw);
  max-height: min(820px, 90vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(205,166,84,.58);
  border-radius: 18px;
  background: #090907;
  box-shadow: 0 36px 100px rgba(0,0,0,.72);
}

.ladder-predictions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 18px 26px;
  border-bottom: 1px solid rgba(205,166,84,.28);
  background: linear-gradient(90deg, rgba(205,166,84,.10), transparent);
}

.ladder-predictions-kicker,
.ladder-predictions-label {
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.ladder-predictions-header h2 {
  margin: 4px 0 0;
  color: #f4ead4;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.ladder-predictions-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ladder-predictions-discord {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(237,198,109,.6);
  border-radius: 999px;
  color: var(--gold-bright);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .1em;
  transition: background .2s ease, color .2s ease;
}

.ladder-predictions-discord:hover {
  color: #171208;
  background: linear-gradient(180deg, #f2d17e, #b98d3c);
}

.ladder-predictions-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(205,166,84,.48);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(0,0,0,.28);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.ladder-predictions-content {
  overflow-y: auto;
  padding: 22px 26px 26px;
}

.ladder-predictions-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ladder-predictions-side {
  display: grid;
  gap: 14px;
}

.ladder-predictions-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: #12100b;
}

.ladder-predictions-card.is-leader {
  border-color: rgba(237,198,109,.55);
  background: #17130a;
}

.ladder-predictions-leader-name {
  color: var(--gold-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
}

.ladder-predictions-leader-name.is-empty {
  color: var(--muted);
}

.ladder-predictions-leader-stats {
  color: var(--text);
  font-size: .95rem;
}

.ladder-predictions-prize {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px dashed rgba(237,198,109,.6);
  border-radius: 12px;
  background: rgba(237,198,109,.07);
}

.ladder-predictions-prize svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
  color: var(--gold-bright);
}

.ladder-predictions-prize span {
  color: var(--gold-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.ladder-predictions-prize p {
  margin: 4px 0 0;
  color: var(--text);
  font-size: .86rem;
  line-height: 1.45;
}

.ladder-predictions-rules {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.ladder-predictions-rules li + li {
  margin-top: 6px;
}

.ladder-predictions-updated {
  margin: 4px 0 0;
  color: #9a9180;
  font-size: .8rem;
}

.ladder-predictions-table {
  overflow: hidden;
  border: 1px solid rgba(205,166,84,.3);
  border-radius: 16px;
  background: #100e0a;
}

.ladder-predictions-table.is-empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 24px;
  text-align: center;
}

.ladder-predictions-table.is-empty p {
  margin: 0;
  color: var(--muted);
}

.ladder-predictions-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 96px 96px;
  align-items: center;
  padding: 11px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ladder-predictions-row:last-child {
  border-bottom: 0;
}

.ladder-predictions-row.is-head {
  padding-block: 14px;
  border-bottom-color: rgba(205,166,84,.25);
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.ladder-predictions-row > span:nth-child(3),
.ladder-predictions-row > span:nth-child(4) {
  text-align: right;
}

.ladder-predictions-row.is-top-1 {
  background: rgba(205,166,84,.08);
}

.ladder-predictions-pos {
  color: #8a8270;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.is-top-1 .ladder-predictions-pos { color: #f2d17e; }
.is-top-2 .ladder-predictions-pos { color: #d2d2d2; }
.is-top-3 .ladder-predictions-pos { color: #d39a6a; }

.ladder-predictions-nick {
  overflow: hidden;
  color: var(--text);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ladder-predictions-hits {
  color: var(--muted);
}

.ladder-predictions-points {
  color: var(--gold-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

/* Narrow screens: the top menu has no room left for this item. */
@media (max-width: 920px) {
  .nav-links .predictions-menu-link {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .ladder-predictions-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ladder-predictions-table {
    order: -1;
  }
}

@media (max-width: 680px) {
  .ladder-predictions-modal {
    padding: 10px;
  }

  .ladder-predictions-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 14px;
  }

  .ladder-predictions-header {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 64px 16px 16px;
  }

  .ladder-predictions-close {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .ladder-predictions-content {
    padding: 14px;
  }

  .ladder-predictions-row {
    grid-template-columns: 34px minmax(0, 1fr) 72px 60px;
    column-gap: 8px;
    padding-inline: 14px;
  }

  .ladder-predictions-row.is-head {
    font-size: .72rem;
    letter-spacing: .08em;
  }

  .ladder-predictions-leader-name {
    font-size: 2rem;
  }
}
