:root {
  color-scheme: dark;
  --ink: #fff8ff;
  --muted: #c8bbd6;
  --line: rgba(255, 255, 255, 0.14);
  --surface: #0b0614;
  --card: #171025;
  --brand: #ff1f5a;
  --brand-dark: #a3003a;
  --accent: #00d084;
  --gold: #ffc857;
  --score-bg: #0b4da2;
  --score-ink: #ffffff;
  --score-ring: rgba(11, 77, 162, 0.26);
  --modal-bg: #130d20;
  --modal-panel: rgba(255, 255, 255, 0.07);
  --modal-field: rgba(255, 255, 255, 0.08);
  --modal-placeholder: #9689a4;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 31, 90, 0.42), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(0, 208, 132, 0.2), transparent 24rem),
    linear-gradient(135deg, #08040f 0%, #1a0825 52%, #02030a 100%);
}

body.theme-light {
  color-scheme: light;
  --ink: #12091f;
  --muted: #6d6076;
  --line: rgba(18, 9, 31, 0.12);
  --surface: #fff8fb;
  --card: #ffffff;
  --brand: #d90445;
  --brand-dark: #8f0030;
  --accent: #00a86b;
  --score-bg: #083d8c;
  --score-ink: #ffffff;
  --score-ring: rgba(8, 61, 140, 0.22);
  --modal-bg: #ffffff;
  --modal-panel: rgba(18, 9, 31, 0.045);
  --modal-field: #ffffff;
  --modal-placeholder: #6d6076;
  --shadow: 0 18px 45px rgba(38, 6, 24, 0.16);
  background:
    radial-gradient(circle at top left, rgba(255, 200, 87, 0.28), transparent 32rem),
    linear-gradient(135deg, #d90445 0%, #fb1b5d 42%, #45002f 100%);
}

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

.app-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 16px 92px;
  padding-left: calc(16px + env(safe-area-inset-left));
  padding-right: calc(16px + env(safe-area-inset-right));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    var(--surface);
}

body.theme-light .app-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--surface);
}

.topbar,
.hero-panel,
.section-title,
.match-head,
.score-row,
.offer-card,
.venue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar {
  margin-bottom: 16px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.top-actions .pill-button {
  padding: 9px 11px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #ff7aa0;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 1.8rem;
  line-height: 0.95;
  white-space: nowrap;
}

h2 {
  margin-bottom: 6px;
  font-size: 1.45rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 6px;
}

p {
  color: var(--muted);
  line-height: 1.4;
}

.pill-button,
.choice-button,
.primary-button,
.nav-item,
.chip {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.pill-button,
.chip {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(38, 6, 24, 0.12);
}

.pill-button {
  padding: 10px 13px;
  white-space: nowrap;
}

.accent-button {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-size: 0.82rem;
  min-height: 42px;
}

.share-app-button {
  margin-left: 8px;
  min-height: 42px;
  padding-inline: 14px;
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.92), rgba(217, 4, 69, 0.92)),
    var(--brand);
  color: #ffffff;
  font-size: 0.82rem;
}

.install-helper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 200, 87, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 31, 90, 0.18), rgba(8, 61, 140, 0.2)),
    rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.install-helper span:last-of-type {
  flex: 1;
}

.install-helper-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1rem;
}

.install-helper button {
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 950;
}

.hero-panel,
.match-card,
.offers-panel,
.prize-panel,
.map-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(23, 16, 37, 0.96), rgba(47, 12, 37, 0.96)),
    radial-gradient(circle at right, rgba(255, 31, 90, 0.2), transparent 14rem);
}

.streak-card {
  min-width: 82px;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  color: #fff;
  background: linear-gradient(160deg, var(--brand), var(--brand-dark));
  display: none;
}

.streak-card span {
  display: block;
  font-size: 2rem;
  font-weight: 950;
}

.streak-card small {
  font-weight: 800;
}

.view {
  display: none;
  animation: rise 180ms ease-out;
}

.view.active {
  display: block;
}

.match-card {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 16px;
}

.match-card::before,
.mini-match::before,
.quick-match::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(255, 255, 255, 0.55) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    var(--home-flag-image, var(--home-flag, linear-gradient(90deg, #ff1f5a, #8a1538))) left center / 50% 100% no-repeat,
    var(--away-flag-image, var(--away-flag, linear-gradient(90deg, #0b65ff, #0038a8))) right center / 50% 100% no-repeat;
  opacity: 0.36;
}

.reto-card::before {
  opacity: 0.46;
  filter: saturate(1.12) brightness(1.08);
}

.match-card > *,
.mini-match > *,
.quick-match > * {
  position: relative;
  z-index: 1;
}

.match-meta {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  text-align: center;
}

.team-card {
  display: grid;
  justify-items: center;
  align-content: center;
  width: 100%;
  min-height: 134px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 13px 8px;
  text-align: center;
  background: rgba(8, 4, 15, 0.78);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.team-card.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(217, 4, 69, 0.12);
  transform: translateY(-2px);
}

.team-card.team-favorite {
  border-color: var(--team-accent, var(--ink));
  background:
    linear-gradient(135deg, rgba(8, 4, 15, 0.12), rgba(8, 4, 15, 0.34)),
    var(--favorite-flag),
    var(--favorite-theme);
  background-position: center;
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 12px 28px rgba(8, 4, 15, 0.18);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
}

.team-card.selected.team-favorite {
  border-color: var(--team-accent, var(--brand));
  box-shadow:
    0 0 0 4px var(--team-soft, rgba(217, 4, 69, 0.12)),
    0 14px 34px rgba(8, 4, 15, 0.24);
}

.match-finished {
  border-color: rgba(255, 200, 87, 0.46);
}

.flag {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(18, 9, 31, 0.16),
    0 8px 14px rgba(18, 9, 31, 0.14);
}

.flag-large {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}

.flag-mini {
  width: 24px;
  height: 24px;
  margin-right: 6px;
  vertical-align: middle;
}

.flag span {
  position: relative;
  z-index: 2;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(8, 4, 15, 0.66);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.flag img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flag::before,
.flag::after {
  position: absolute;
  content: "";
}

.flag-mexico {
  background: linear-gradient(90deg, #006847 0 33%, #fff 33% 66%, #ce1126 66%);
}

.flag-southAfrica {
  background:
    linear-gradient(35deg, transparent 0 42%, #ffb612 42% 48%, #007a4d 48% 60%, #fff 60% 66%, transparent 66%),
    linear-gradient(145deg, #000 0 30%, transparent 30%),
    linear-gradient(180deg, #de3831 0 50%, #002395 50%);
}

.flag-korea {
  background:
    radial-gradient(circle at 50% 43%, #c60c30 0 16%, transparent 17%),
    radial-gradient(circle at 50% 57%, #003478 0 16%, transparent 17%),
    #fff;
}

.flag-czechia {
  background:
    linear-gradient(135deg, #11457e 0 40%, transparent 41%),
    linear-gradient(180deg, #fff 0 50%, #d7141a 50%);
}

.flag-canada {
  background: linear-gradient(90deg, #d80621 0 28%, #fff 28% 72%, #d80621 72%);
}

.flag-canada::before {
  width: 16px;
  height: 24px;
  background: #d80621;
  clip-path: polygon(50% 0, 62% 28%, 90% 18%, 73% 45%, 100% 52%, 66% 61%, 70% 100%, 50% 74%, 30% 100%, 34% 61%, 0 52%, 27% 45%, 10% 18%, 38% 28%);
}

.flag-bosnia {
  background: linear-gradient(135deg, #f7d116 0 46%, #002395 47%);
}

.flag-qatar {
  background: linear-gradient(90deg, #fff 0 30%, #8a1538 30%);
}

.flag-switzerland {
  background: #d52b1e;
}

.flag-switzerland::before {
  width: 34px;
  height: 10px;
  background: #fff;
}

.flag-switzerland::after {
  width: 10px;
  height: 34px;
  background: #fff;
}

.flag-usa {
  background:
    linear-gradient(90deg, #3c3b6e 0 42%, transparent 42%),
    repeating-linear-gradient(180deg, #b22234 0 8%, #fff 8% 16%);
}

.flag-paraguay {
  background: linear-gradient(180deg, #d52b1e 0 33%, #fff 33% 66%, #0038a8 66%);
}

.flag-australia {
  background:
    radial-gradient(circle at 68% 66%, #fff 0 5%, transparent 6%),
    radial-gradient(circle at 78% 28%, #fff 0 4%, transparent 5%),
    linear-gradient(135deg, #012169 0 100%);
}

.flag-turkiye {
  background: #e30a17;
}

.flag-turkiye::before {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  box-shadow: -7px 0 0 4px #fff;
  transform: translateX(5px);
}

.flag-turkiye::after {
  width: 12px;
  height: 12px;
  background: #fff;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
  transform: translate(17px, 0);
}

.flag-brazil {
  background:
    radial-gradient(circle, #002776 0 18%, transparent 19%),
    linear-gradient(135deg, transparent 27%, #ffdf00 27% 50%, transparent 50%),
    linear-gradient(45deg, transparent 27%, #ffdf00 27% 50%, transparent 50%),
    #009c3b;
}

.flag-morocco {
  background: #c1272d;
}

.flag-morocco::before {
  width: 26px;
  height: 26px;
  border: 3px solid #006233;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
}

.flag-haiti {
  background: linear-gradient(180deg, #00209f 0 50%, #d21034 50%);
}

.flag-scotland {
  background:
    linear-gradient(35deg, transparent 43%, #fff 44% 56%, transparent 57%),
    linear-gradient(145deg, transparent 43%, #fff 44% 56%, transparent 57%),
    #005eb8;
}

.team-name {
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.vs {
  color: var(--brand-dark);
  font-weight: 950;
  text-align: center;
}

.score-picker {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  justify-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-align: center;
}

.score-picker label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-align: center;
}

.score-picker input {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 4, 15, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 950;
  text-align: center;
}

.score-picker strong {
  padding-bottom: 14px;
  color: #ffb0c6;
  font-size: 0.72rem;
  text-align: center;
  text-transform: uppercase;
}

.choice-button {
  width: 100%;
  min-height: 50px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  background: rgba(8, 4, 15, 0.82);
  color: var(--ink);
  font-weight: 950;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.choice-button.selected {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.primary-button {
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(217, 4, 69, 0.28);
}

.primary-button:disabled {
  cursor: not-allowed;
  background: #d6d1d8;
  box-shadow: none;
}

.points-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.points-pill {
  border-radius: 8px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.ad-slot {
  display: grid;
  min-height: 74px;
  margin: 14px 0;
  place-items: center;
  border: 1px dashed rgba(18, 9, 31, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offers-panel,
.prize-panel,
.map-panel,
.entry-panel,
.review-panel,
.quick-picks,
.rules-panel {
  padding: 14px;
}

.section-title {
  margin: 18px 0 12px;
}

.section-title h2 {
  margin: 0;
}

.section-title span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.offers-list,
.matches-list,
.leaderboard-list,
.venue-list,
.bracket-grid {
  display: grid;
  gap: 10px;
}

.offer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.offer-card strong {
  display: block;
  margin-bottom: 3px;
}

.offer-card small {
  color: var(--muted);
  font-weight: 800;
}

.offer-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.45rem;
}

.sponsor-logo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.sponsor-placeholder {
  border-style: dashed;
}

.reto-form,
.friend-form,
.match-select-label {
  display: grid;
  gap: 12px;
}

.reto-form label,
.friend-form label,
.match-select-label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.reto-form input,
.reto-form select,
.friend-form input,
.friend-form select,
.match-select-label select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  color-scheme: dark;
  font: inherit;
  font-weight: 850;
}

.reto-form select option,
.friend-form select option,
.match-select-label select option {
  background: #130d20;
  color: #ffffff;
}

.match-finished .match-team-name {
  opacity: 0.72;
}

.match-team-name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lock-note {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.betting-closed {
  border-color: rgba(255, 200, 87, 0.48);
}

.is-hidden {
  display: none !important;
}

.reto-card {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 9px 10px 10px;
}

.reto-card .match-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  justify-items: stretch;
  gap: 10px;
  padding-right: 54px;
  text-align: left;
}

.reto-card h3 {
  margin-bottom: 3px;
  color: #fff4bf;
  font-size: 1.08rem;
  font-weight: 1000;
  line-height: 1.1;
  text-shadow:
    0 0 10px rgba(255, 200, 87, 0.18),
    0 1px 8px rgba(255, 31, 90, 0.12);
}

.reto-card .match-meta {
  margin-top: 5px;
}

.reto-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 8px;
  min-width: 0;
  margin-top: 0;
}

.reto-card-actions .pill-button {
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
}

.reto-card-actions .pill-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.reto-card-delete {
  position: absolute;
  top: 1px;
  right: 9px;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0 !important;
  border-radius: 999px;
  font-size: 1rem !important;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reto-card-details {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-align: left;
}

.reto-stake-prize {
  display: grid;
  gap: 2px;
  width: 100%;
  border: 1px solid rgba(255, 200, 87, 0.48);
  border-radius: 8px;
  padding: 9px 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 231, 140, 0.28), transparent 58%),
    linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(255, 31, 90, 0.1));
  color: var(--ink);
  text-align: center;
}

.reto-resolved .reto-stake-prize {
  border-color: rgba(255, 200, 87, 0.68);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 235, 151, 0.38), transparent 58%),
    linear-gradient(135deg, rgba(255, 200, 87, 0.34), rgba(255, 31, 90, 0.13));
  box-shadow: 0 10px 24px rgba(255, 200, 87, 0.1);
}

.reto-stake-prize span {
  color: #ffd76b;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.reto-stake-prize strong {
  color: #fff1a8;
  font-size: 1.1rem;
  font-weight: 1000;
  line-height: 1.1;
  text-shadow: 0 1px 10px rgba(255, 200, 87, 0.16);
}

.reto-resolved .reto-stake-prize strong {
  color: var(--score-ink);
  font-size: 1.08rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.reto-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 4px 8px;
  background: transparent;
  color: #fff4bf;
  font-size: 1.02rem;
  font-weight: 1000;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255, 200, 87, 0.2),
    0 1px 8px rgba(0, 0, 0, 0.34);
}

.reto-resolved .reto-status {
  border: 1px solid rgba(255, 200, 87, 0.62);
  border-color: rgba(255, 200, 87, 0.62);
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.32), rgba(217, 4, 69, 0.2));
  box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.2), 0 10px 24px rgba(255, 200, 87, 0.1);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.reto-result-status {
  border: 1px solid rgba(255, 200, 87, 0.62);
  border-color: rgba(255, 200, 87, 0.62);
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.32), rgba(217, 4, 69, 0.2));
  box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.2), 0 10px 24px rgba(255, 200, 87, 0.1);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.reto-result-hero {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 200, 87, 0.42);
  border-radius: 12px;
  padding: 11px 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 200, 87, 0.12)),
    rgba(255, 255, 255, 0.05);
  text-align: center;
}

.reto-result-hero small {
  color: #ffe1df;
  font-size: 0.8rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.reto-winner-name {
  color: #ffffff;
  font-size: 1.16rem;
  font-weight: 1000;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255, 31, 90, 0.72),
    0 1px 2px rgba(0, 0, 0, 0.55);
}

.reto-final-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--score-bg);
  color: var(--score-ink);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
}

.reto-match-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.06);
}

.reto-match-strip span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
}

.reto-match-strip span:last-child {
  justify-content: center;
  text-align: center;
}

.reto-match-strip strong {
  justify-self: center;
  width: 58px;
  border-radius: 999px;
  padding: 5px 3px;
  background: var(--score-bg);
  color: var(--score-ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-align: center;
}

.reto-fire-icon {
  display: inline-block;
  width: 16px;
  height: 20px;
  flex: 0 0 16px;
  margin-inline: 4px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23ff7b42'/><stop offset='0.55' stop-color='%23ff1f5a'/><stop offset='1' stop-color='%23870026'/></linearGradient></defs><path fill='url(%23g)' d='M50 4c9 15 27 24 27 48 0 23-14 40-27 44-13-4-27-21-27-44 0-18 10-29 18-42 4-7 7-11 9-6Z'/><path fill='%23080a10' fill-opacity='.96' d='M50 37c7 10 12 17 12 29 0 13-6 22-12 25-6-3-12-12-12-25 0-12 5-19 12-29Z'/><path fill='%23080a10' fill-opacity='.96' d='M36 48c3 5 5 11 3 18-5-5-7-12-3-18Z'/><path fill='%23080a10' fill-opacity='.96' d='M64 48c4 6 5 13 2 18-2-6-1-12-2-18Z'/></svg>") center / contain no-repeat;
  vertical-align: middle;
}

.reto-sides {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
}

.reto-sides > div {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 4px;
  height: 100px;
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 7px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 4, 15, 0.08), rgba(8, 4, 15, 0.26)),
    var(--favorite-flag),
    var(--favorite-theme, rgba(255, 255, 255, 0.07));
  background-position: center;
  background-size: 100% 100%, 100% 100%, cover;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-align: center;
}

.reto-side-flag-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.reto-side-flag-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) brightness(1.08);
}

.reto-side-flag-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 4, 15, 0.05), rgba(8, 4, 15, 0.16));
}

.reto-sides > div > :not(.reto-side-flag-bg) {
  position: relative;
  z-index: 1;
}

.reto-sides small {
  display: block;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 1000;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

.reto-sides > span {
  justify-self: center;
  width: 50px;
  color: var(--team-accent, #ffc857);
  font-size: 0.9rem;
  font-weight: 1000;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 200, 87, 0.2);
}

.reto-sides > span.reto-center-score {
  min-width: 58px;
  width: auto;
  border-radius: 999px;
  padding: 7px 11px;
  background: linear-gradient(135deg, rgba(8, 61, 140, 0.98), rgba(13, 98, 190, 0.96));
  color: #ffffff;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 3px rgba(13, 98, 190, 0.28),
    0 0 16px rgba(255, 31, 90, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.reto-sides strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 1000;
  line-height: 1.12;
  text-align: center;
  text-shadow: 0 1px 9px rgba(0, 0, 0, 0.44);
}

.reto-sides strong .flag {
  flex: 0 0 auto;
}

.reto-side-result-score {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 217, 107, 0.98), rgba(255, 133, 170, 0.92));
  color: #2b0d24 !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  box-shadow:
    0 0 12px rgba(255, 31, 90, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.reto-pick-flags {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.retos-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.reto-tabs {
  margin-bottom: 0;
}

.reto-tab-count {
  margin-left: 5px;
  color: inherit;
  opacity: 0.74;
}

.reto-jump-label {
  margin-bottom: 0;
}

.retos-scroll-list {
  max-height: 285px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 3px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.retos-scroll-list .reto-card {
  min-width: 0;
}

.champion-pool-panel {
  border-color: rgba(255, 200, 87, 0.26);
  background:
    radial-gradient(circle at top left, rgba(255, 31, 90, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(8, 61, 140, 0.2), transparent 36%),
    var(--card);
}

.champion-pool-toggle,
.collapsible-title-toggle {
  width: 100%;
  border: 1px solid rgba(255, 200, 87, 0.28);
  border-radius: 12px;
  padding: 13px 14px;
  background:
    linear-gradient(135deg, rgba(255, 31, 90, 0.16), rgba(8, 61, 140, 0.2)),
    rgba(255, 255, 255, 0.055);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.champion-pool-toggle strong,
.collapsible-title-toggle strong {
  display: block;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.champion-pool-toggle span,
.collapsible-title-toggle span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.champion-pool-toggle mark,
.collapsible-title-toggle mark {
  min-width: 32px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 200, 87, 0.14);
  color: #fff1a8;
  font-weight: 1000;
  text-align: center;
}

.champion-pool-body,
.collapsible-panel-body {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.champion-pool-tabs {
  margin-bottom: 0;
}

.champion-pool-view[hidden] {
  display: none;
}

.champion-pool-panel:not(.is-open) .champion-pool-body,
.collapsible-panel:not(.is-open) .collapsible-panel-body {
  display: none;
}

#retosPanel.is-open #retosPanelBody {
  display: block;
}

.champion-pool-form {
  display: grid;
  gap: 12px;
}

.champion-pool-controls {
  display: grid;
  grid-template-columns: minmax(130px, 0.5fr) minmax(180px, 1fr);
  gap: 10px;
}

.champion-pool-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.champion-pool-field input,
.champion-pool-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--modal-field);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: none;
}

.champion-pool-field select option {
  background: var(--modal-bg);
  color: var(--ink);
}

.champion-pool-entries {
  display: grid;
  gap: 9px;
}

.champion-entry-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.champion-pool-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.champion-pool-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  max-height: 330px;
  overflow-y: auto;
  padding-right: 3px;
  scroll-behavior: smooth;
}

.champion-pool-list:has(.champion-pool-card.resolved) {
  max-height: none;
  overflow-y: visible;
}

.champion-pool-card {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 200, 87, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 31, 90, 0.14), rgba(8, 61, 140, 0.18)),
    rgba(255, 255, 255, 0.055);
}

.champion-pool-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.champion-pool-card-head > div:first-child {
  min-width: 0;
}

.champion-pool-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.champion-pool-card-actions .secondary-button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.78rem;
}

.champion-pool-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.champion-pool-card small {
  color: var(--muted);
  font-weight: 850;
}

.champion-pool-status {
  border: 1px solid rgba(255, 200, 87, 0.46);
  border-radius: 999px;
  padding: 9px 12px;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.14), rgba(255, 31, 90, 0.12));
  color: #fff1a8;
  font-weight: 1000;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.champion-pool-card.resolved .champion-pool-status {
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.35), rgba(255, 31, 90, 0.22));
  color: #ffffff;
}

.champion-pool-card.resolved {
  overflow: hidden;
  border-color: rgba(255, 214, 107, 0.5);
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 31, 90, 0.28), transparent 10rem),
    radial-gradient(circle at 82% 8%, rgba(255, 214, 107, 0.18), transparent 9rem),
    linear-gradient(135deg, rgba(69, 4, 25, 0.96), rgba(4, 29, 78, 0.94));
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.champion-pool-winner-banner {
  display: grid;
  gap: 12px;
  text-align: center;
}

.champion-pool-winner-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.champion-pool-winner-copy .eyebrow {
  color: #ffe08a;
}

.champion-pool-winner-copy h3 {
  color: #ffffff;
  max-width: 100%;
  font-size: clamp(1.2rem, 4.4vw, 2.15rem);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(255, 31, 90, 0.46),
    0 0 28px rgba(255, 214, 107, 0.26);
  word-break: keep-all;
  overflow-wrap: normal;
  text-align: center;
}

.champion-pool-winner-names {
  display: inline-flex;
  max-width: 100%;
  justify-content: center;
  border: 1px solid rgba(255, 214, 107, 0.46);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(8, 4, 15, 0.46);
  color: #fff4cf;
  font-size: clamp(1rem, 4vw, 1.45rem);
  font-weight: 1000;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.champion-pool-prize {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 214, 107, 0.44);
  border-radius: 16px;
  padding: 10px 12px;
  background:
    radial-gradient(circle at center, rgba(255, 214, 107, 0.14), transparent 6rem),
    rgba(8, 4, 15, 0.38);
  color: #ffe08a;
  font-weight: 1000;
}

.champion-pool-prize span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.champion-pool-winner-stage {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.champion-pool-winner-stage .trophy-frame {
  width: clamp(76px, 20vw, 112px);
  height: clamp(112px, 30vw, 166px);
  filter: drop-shadow(0 0 22px rgba(255, 214, 107, 0.38));
}

.champion-pool-champion-team {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 214, 107, 0.34);
  border-radius: 16px;
  padding: 11px;
  background:
    linear-gradient(135deg, rgba(8, 4, 15, 0.46), rgba(8, 4, 15, 0.28)),
    var(--pool-winner-flag);
  background-position: center;
  background-size: cover;
}

.champion-pool-champion-team .flag {
  width: 46px;
  height: 46px;
}

.champion-pool-champion-team strong {
  color: #ffffff;
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 1000;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
}

@media (max-width: 560px) {
  .champion-pool-winner-stage {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
  }

  .champion-pool-champion-team {
    width: 100%;
    min-width: 0;
  }

  .champion-pool-winner-stage .trophy-frame {
    width: 64px;
    height: 94px;
  }

  .champion-pool-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .champion-pool-card-actions {
    max-width: none;
    justify-content: flex-start;
  }
}

.champion-entry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.champion-entry-pill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 3px;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 9px;
  background: rgba(8, 4, 15, 0.28);
  color: #ffffff;
}

.champion-entry-pill-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(8, 4, 15, 0.24);
}

.champion-entry-pill-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.16) brightness(1.08);
}

.champion-entry-pill-bg .flag {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.champion-entry-pill-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 2, 14, 0.18), rgba(5, 2, 14, 0.04)),
    rgba(5, 2, 14, 0.18);
}

.champion-entry-pill::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 4, 15, 0.2);
}

.champion-entry-pill strong,
.champion-entry-pill small,
.champion-entry-team {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.48);
}

.champion-entry-pill small {
  color: rgba(255, 255, 255, 0.86);
}

.champion-entry-pill.winner {
  border-color: rgba(255, 200, 87, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.18), 0 14px 26px rgba(255, 200, 87, 0.08);
}

.champion-entry-pill.eliminated {
  opacity: 0.58;
}

.champion-entry-team {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-weight: 950;
}

.champion-entry-team .flag-mini {
  flex: 0 0 auto;
}

.champion-entry-team span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.champion-delete {
  min-height: 36px;
  padding: 8px 11px;
}

.tip-note {
  margin: 12px 0 0;
  border: 1px solid rgba(255, 200, 225, 0.18);
  border-radius: 12px;
  padding: 9px 11px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 31, 90, 0.045)),
    rgba(255, 255, 255, 0.045);
  color: rgba(245, 232, 242, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.tip-note a {
  color: rgba(255, 238, 246, 0.9);
  font-weight: 950;
  text-decoration: none;
}

.reto-winner {
  border-color: rgba(255, 200, 87, 0.72) !important;
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.24), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.18);
}

.reto-winner strong {
  font-size: 0.9rem;
}

.reto-locked {
  opacity: 0.82;
}

.reto-modal-fields {
  margin: 12px 0;
}

.reto-settings-panel,
.reto-pick-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--modal-panel);
}

.reto-settings-panel {
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.12), rgba(255, 31, 90, 0.1)),
    rgba(255, 255, 255, 0.08);
}

.player-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 10px;
}

.player-name-grid label {
  margin-top: 0;
}

.player-name-grid input {
  min-height: 46px;
  padding: 0 12px;
}

.reto-pick-block {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  text-align: center;
}

.reto-pick-block h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 950;
  text-align: center;
}

.reto-pick-block .section-title {
  justify-content: center;
  text-align: center;
}

.reto-pick-block .section-title > span {
  color: #ffffff;
  font-size: 1.14rem;
  font-weight: 1000;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.36);
}

.reto-modal-fields {
  margin: 9px 0;
}

.reto-settings-panel,
.reto-pick-block {
  padding: 9px 10px;
}

.reto-settings-panel {
  gap: 8px;
}

.reto-settings-panel label {
  gap: 5px;
  margin-top: 8px;
}

.reto-settings-panel input,
.reto-settings-panel select {
  min-height: 40px;
  padding: 0 10px;
}

.reto-settings-panel small {
  line-height: 1.25;
}

.player-name-grid {
  gap: 8px;
}

.player-name-grid input {
  min-height: 40px;
}

.reto-pick-block .teams-grid {
  gap: 8px;
  margin: 12px 0 10px;
}

.reto-pick-block .team-card {
  min-height: 121px;
  padding: 10px 7px;
}

.reto-pick-block .team-card span:not(.flag) {
  font-size: 1.03rem;
  font-weight: 1000;
}

.champion-badge {
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255, 200, 87, 0.22);
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.chip-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.match-status-tabs {
  margin-top: -4px;
}

#quickMatchStatusTabs.match-status-tabs {
  margin-top: 10px;
  margin-bottom: 14px;
}

.chip {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: var(--muted);
}

.chip.active {
  background: #fff;
  color: #12091f;
}

.mini-match {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(23, 16, 37, 0.88);
}

.mini-match:not(.reto-card) {
  padding: 9px 10px;
}

.mini-match:not(.reto-card) .match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-items: stretch;
  gap: 10px;
  text-align: left;
}

.mini-match:not(.reto-card) .match-head .pill-button[data-select-match] {
  flex: 0 0 auto;
  justify-self: end;
  min-width: 108px;
  margin-top: 0;
  text-align: center;
}

.mini-match:not(.reto-card) .match-meta {
  gap: 1px;
  font-size: 0.76rem;
}

.mini-match:not(.reto-card) .eyebrow {
  margin-bottom: 2px;
  font-size: 0.7rem;
}

.mini-match:not(.reto-card) .score-row {
  gap: 8px;
  margin-top: 8px;
}

.mini-match:not(.reto-card) .quick-team {
  min-height: 46px;
  gap: 2px;
  padding: 5px 4px;
}

.mini-match:not(.reto-card) .flag-mini {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

.mini-match:not(.reto-card) .match-team-name {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.05;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 950;
}

.score-row span {
  min-width: 54px;
  text-align: center;
}

.score-row > strong {
  min-width: 0;
}

.score-row > strong .quick-team {
  width: 100%;
  justify-items: center;
  text-align: center;
}

.score-row .score-result,
.result-badge,
.quick-result-score {
  display: inline-grid;
  min-width: 54px;
  place-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--score-bg);
  color: var(--score-ink);
  box-shadow:
    0 0 0 4px var(--score-ring),
    0 10px 22px rgba(0, 0, 0, 0.16);
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1;
}

.group-standings {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(23, 16, 37, 0.9);
}

.group-standings .section-title {
  margin-bottom: 10px;
}

.group-standings-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.group-table {
  width: 100%;
  min-width: 548px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.77rem;
  table-layout: fixed;
}

.group-table th,
.group-table td {
  box-sizing: border-box;
  border-bottom: 1px solid var(--line);
  padding: 8px 3px;
  text-align: center;
  white-space: nowrap;
}

.group-table th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 950;
}

.group-table tbody tr:last-child td {
  border-bottom: 0;
}

.group-table .rank-col {
  width: 32px;
  color: var(--muted);
  font-weight: 950;
}

.group-table .team-col {
  min-width: 0;
  text-align: left;
}

.group-table .standings-rank-col {
  width: 22px;
}

.group-table .standings-team-col {
  width: 138px;
}

.group-table .standings-stat-col {
  width: 30px;
}

.group-table .standings-wide-stat-col {
  width: 36px;
}

.group-table .standings-points-col {
  width: 44px;
}

.group-table .standings-form-col {
  width: 127px;
}

.standings-legend {
  min-width: 548px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 1.35;
  text-align: left;
  opacity: 0.82;
}

.standings-team {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 5px;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  text-align: left;
}

.standings-team .flag-mini {
  width: 19px;
  height: 19px;
}

.standings-team strong {
  display: block;
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.06;
  text-overflow: ellipsis;
  white-space: normal;
}

.form-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.form-dot {
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 950;
}

.form-win {
  border-color: rgba(0, 208, 132, 0.8);
  background: #1fbf75;
}

.form-draw {
  border-color: rgba(255, 200, 87, 0.85);
  background: #b98510;
}

.form-loss {
  border-color: rgba(255, 80, 110, 0.82);
  background: #d9445d;
}

.form-empty {
  background: transparent;
}

.round32-panel {
  display: grid;
  gap: 12px;
}

.round32-title {
  align-items: end;
  margin-top: 0;
}

.round32-title h2 {
  margin-bottom: 4px;
}

.round32-count {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 950;
}

.round32-grid {
  display: grid;
  gap: 12px;
}

.round32-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background:
    radial-gradient(circle at top left, rgba(255, 31, 90, 0.18), transparent 14rem),
    radial-gradient(circle at bottom right, rgba(255, 200, 87, 0.14), transparent 12rem),
    rgba(23, 16, 37, 0.88);
  box-shadow: var(--shadow);
}

.round32-card-head,
.round32-teams,
.bracket-slot,
.slot-flag-strip {
  display: flex;
  align-items: center;
}

.round32-card-head {
  justify-content: space-between;
  gap: 10px;
}

.round32-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  margin-top: 12px;
}

.bracket-slot {
  min-width: 0;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 10px 8px;
  background: rgba(8, 4, 15, 0.58);
  text-align: center;
}

.slot-flag-strip {
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px;
  min-height: 34px;
}

.slot-flag,
.slot-more {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.slot-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-more {
  color: #fff;
  font-size: 0.64rem;
  font-weight: 950;
}

.slot-code {
  font-size: 1.22rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.bracket-slot span:not(.slot-flag):not(.slot-more) {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.bracket-vs {
  align-self: center;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 950;
}

.slot-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
}

.world-bracket-panel {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 200, 87, 0.24), transparent 12rem),
    radial-gradient(circle at top left, rgba(82, 197, 255, 0.34), transparent 14rem),
    linear-gradient(180deg, #0b78bb 0%, #064f8d 44%, #062d65 100%);
  box-shadow: var(--shadow);
  color: #ffffff;
}

.world-bracket-hero {
  display: block;
  gap: 12px;
  margin-bottom: 14px;
  text-align: center;
}

.world-bracket-hero h2 {
  margin-bottom: 4px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 24, 64, 0.32);
}

.world-bracket-hero span {
  color: #d4efff;
  font-size: 0.78rem;
  font-weight: 900;
}

.world-bracket-hero .eyebrow {
  color: #b8ffde;
}

.group-map-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.16), transparent 9rem),
    rgba(4, 29, 78, 0.38);
}

.group-map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.group-map-head h3 {
  margin-bottom: 2px;
  color: #ffffff;
}

.group-map-head span,
.group-map-head strong {
  color: #d4efff;
  font-size: 0.78rem;
  font-weight: 900;
}

.group-map-toolbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 44px 1fr 44px 64px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 8px;
  background: rgba(4, 29, 78, 0.78);
  backdrop-filter: blur(10px);
}

.group-map-toolbar .secondary-button {
  min-height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

#groupMapZoomLabel {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
}

.group-map-viewport {
  overflow: auto;
  max-height: min(76vh, 780px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(4, 29, 78, 0.08), rgba(4, 29, 78, 0.24)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 72px);
  cursor: grab;
}

.group-map-viewport.dragging {
  cursor: grabbing;
}

.group-map-stage-shell {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.group-match-map {
  display: grid;
  grid-template-columns: repeat(12, 190px);
  gap: 12px;
  width: 2444px;
  height: 760px;
  padding: 16px;
  transform: scale(var(--group-map-scale, 0.58));
  transform-origin: top left;
}

.group-map-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(9, 31, 85, 0.8), rgba(4, 22, 67, 0.88)),
    rgba(9, 31, 85, 0.82);
}

.group-map-card-head {
  display: grid;
  gap: 9px;
}

.group-map-card-head strong {
  color: #ffffff;
  font-size: 0.78rem;
}

.group-map-team-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.group-map-header-team {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 5px 3px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
}

.group-map-header-team strong {
  color: #ffffff;
  font-size: 0.58rem;
  line-height: 1;
}

.group-map-header-flag {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background: #ffffff;
}

.group-map-header-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-map-match-list {
  display: grid;
  gap: 8px;
}

.group-map-match {
  display: grid;
  gap: 7px;
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.82);
  color: #101827;
}

.group-map-match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(16, 24, 39, 0.7);
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.group-map-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 4px;
}

.group-map-team {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 4px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #101827;
  cursor: pointer;
  font: inherit;
}

.group-map-team:hover strong {
  color: var(--brand);
}

.group-map-flag {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 39, 0.18);
  border-radius: 999px;
  background: #ffffff;
}

.group-map-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-map-team strong {
  overflow: hidden;
  max-width: 56px;
  font-size: 0.57rem;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  text-overflow: ellipsis;
}

.group-map-vs {
  color: rgba(16, 24, 39, 0.62);
  font-size: 0.55rem;
  font-weight: 950;
  text-transform: uppercase;
}

.group-map-score {
  display: inline-grid;
  min-width: 46px;
  place-items: center;
  border-radius: 999px;
  padding: 6px 8px;
  background: var(--score-bg);
  color: var(--score-ink);
  box-shadow: 0 0 0 3px var(--score-ring);
  font-size: 0.9rem;
  line-height: 1;
}

.group-map-match small {
  overflow: hidden;
  color: rgba(16, 24, 39, 0.72);
  font-size: 0.58rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
}

.group-map-match .group-map-result {
  color: #083d8c;
  font-weight: 950;
}

.final-orb {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 30%, #fff7bf 0 13%, transparent 14%),
    radial-gradient(circle, #ffd76a 0 48%, #b87716 70%, #5a2d0b 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.28),
    0 16px 30px rgba(0, 20, 62, 0.36);
  color: #062d65;
  font-size: 1.05rem;
  font-weight: 950;
}

.final-card {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 3px;
  width: 152px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 8px;
  background: rgba(4, 29, 78, 0.44);
  text-align: center;
}

.final-card-main {
  position: relative;
  z-index: 2;
  border-color: rgba(255, 215, 106, 0.42);
  background:
    radial-gradient(circle at top, rgba(255, 215, 106, 0.16), transparent 5rem),
    rgba(4, 29, 78, 0.62);
}

.third-place-card {
  opacity: 0.84;
}

.final-card strong {
  color: #ffd76a;
  font-size: 1rem;
  text-transform: uppercase;
}

.final-card span {
  color: #ffffff;
  font-size: 0.76rem;
  text-align: center;
}

.trophy-frame {
  position: relative;
  z-index: 2;
  display: grid;
  width: 118px;
  height: 178px;
  place-items: center;
  overflow: hidden;
  border-radius: 999px 999px 22px 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.24), transparent 5rem),
    rgba(255, 215, 106, 0.08);
  box-shadow: 0 18px 38px rgba(0, 20, 62, 0.4);
}

.trophy-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34));
}

.trophy-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.34), transparent 3.8rem),
    radial-gradient(circle at 50% 58%, rgba(255, 215, 106, 0.32), transparent 4.6rem);
  color: #ffd76a;
  font-size: 4.7rem;
  text-shadow:
    0 0 16px rgba(255, 215, 106, 0.42),
    0 12px 20px rgba(0, 0, 0, 0.38);
}

.trophy-fallback[hidden] {
  display: none;
}

.bracket-toolbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 44px 1fr 44px 64px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 8px;
  background: rgba(4, 29, 78, 0.72);
  backdrop-filter: blur(10px);
}

.bracket-round-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 8px;
  background: rgba(4, 29, 78, 0.42);
}

.bracket-round-tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 950;
  cursor: pointer;
}

.bracket-round-tab.active {
  border-color: rgba(255, 31, 90, 0.7);
  background: linear-gradient(135deg, #ff1f5a, #174ed3);
  box-shadow: 0 12px 26px rgba(255, 31, 90, 0.24);
}

.round16-fixtures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.round16-fixtures .full-bracket-match {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(255, 31, 90, 0.2), transparent 8rem),
    radial-gradient(circle at bottom right, rgba(82, 197, 255, 0.18), transparent 9rem),
    rgba(4, 29, 78, 0.56);
}

.quarterfinals-panel {
  display: grid;
  gap: 12px;
}

.quarterfinals-intro {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at top left, rgba(255, 31, 90, 0.18), transparent 8rem),
    radial-gradient(circle at bottom right, rgba(82, 197, 255, 0.14), transparent 9rem),
    rgba(12, 18, 47, 0.72);
  text-align: center;
}

.quarterfinals-intro strong {
  display: block;
  color: #fff4cf;
  font-size: 1.15rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quarterfinal-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 31, 90, 0.22), transparent 9rem),
    radial-gradient(circle at 80% 100%, rgba(82, 197, 255, 0.18), transparent 10rem),
    rgba(10, 15, 36, 0.88);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.quarterfinal-team {
  position: relative;
  display: grid;
  width: min(100%, 620px);
  aspect-ratio: 2.45 / 1;
  min-height: clamp(106px, 22vw, 148px);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 87, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.quarterfinal-team::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--qf-flag-image);
  background-position: center;
  background-size: 100% 100%;
  filter: saturate(1.18) brightness(1.08);
  opacity: 0.9;
}

.quarterfinal-team::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 4, 16, 0.2), rgba(7, 4, 16, 0.34));
}

.quarterfinal-team.is-placeholder::before {
  background-image: none;
}

.quarterfinal-team.is-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 31, 90, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.quarterfinal-team-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(82%, 340px);
  min-height: 48px;
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(8, 4, 15, 0.54);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 24px rgba(0, 0, 0, 0.22);
}

.quarterfinal-team-content strong {
  font-size: clamp(1.2rem, 4.8vw, 1.75rem);
  font-weight: 1000;
  line-height: 1.02;
}

.quarterfinal-team-content small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quarterfinal-center {
  display: grid;
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 70px;
}

.quarterfinal-center::before,
.quarterfinal-center::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 200, 87, 0.54), transparent);
}

.quarterfinal-action {
  display: inline-grid;
  min-width: min(52vw, 190px);
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 200, 87, 0.3);
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(255, 31, 90, 0.16), rgba(11, 101, 255, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.quarterfinal-action strong {
  color: #ffd66b;
  font-size: clamp(1.25rem, 5vw, 2rem);
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 31, 90, 0.4);
}

.quarterfinal-meta {
  display: grid;
  gap: 1px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.quarterfinal-action .pill-button[disabled] {
  opacity: 0.64;
  cursor: not-allowed;
}

.quick-quarterfinals-panel .quarterfinal-card {
  padding: 10px;
}

.quick-quarterfinals-panel .quarterfinal-team {
  width: min(100%, 560px);
  aspect-ratio: 2.35 / 1;
  min-height: clamp(108px, 26vw, 150px);
}

.quick-quarterfinals-panel .quarterfinal-team-content {
  width: min(86%, 360px);
}

.bracket-quarterfinals-panel .quarterfinal-card {
  padding: 14px;
}

.bracket-quarterfinals-panel .quarterfinal-team {
  width: min(100%, 720px);
  aspect-ratio: 2.55 / 1;
  min-height: clamp(122px, 24vw, 176px);
}

.semifinals-panel {
  display: grid;
  gap: 14px;
}

.semifinals-intro {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.28);
  border-radius: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 31, 90, 0.36), transparent 10rem),
    radial-gradient(circle at 82% 20%, rgba(82, 197, 255, 0.28), transparent 10rem),
    linear-gradient(135deg, rgba(55, 10, 45, 0.92), rgba(7, 30, 82, 0.92));
  text-align: center;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.semifinals-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 107, 0.16), transparent);
  pointer-events: none;
}

.semifinals-intro strong {
  position: relative;
  display: block;
  color: #fff4cf;
  font-size: clamp(1.28rem, 5vw, 2rem);
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 31, 90, 0.38);
}

.semifinals-intro span {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.semifinal-card {
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.28);
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 31, 90, 0.3), transparent 10rem),
    radial-gradient(circle at 84% 100%, rgba(82, 197, 255, 0.22), transparent 11rem),
    linear-gradient(145deg, rgba(20, 7, 34, 0.96), rgba(6, 28, 82, 0.96));
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.semifinal-team {
  position: relative;
  display: grid;
  min-height: clamp(118px, 26vw, 170px);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.38);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.semifinal-team::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--sf-flag-image);
  background-position: center;
  background-size: 100% 100%;
  filter: saturate(1.24) brightness(1.1);
  opacity: 0.92;
}

.semifinal-team::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 214, 107, 0.12), transparent 9rem),
    linear-gradient(180deg, rgba(7, 4, 16, 0.16), rgba(7, 4, 16, 0.38));
}

.semifinal-team.is-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 214, 107, 0.12), rgba(82, 197, 255, 0.1)),
    rgba(255, 255, 255, 0.06);
}

.semifinal-team.is-placeholder::before {
  background-image: none;
}

.semifinal-team-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(86%, 390px);
  min-height: 54px;
  border-radius: 14px;
  padding: 11px 16px;
  background: rgba(8, 4, 15, 0.58);
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.semifinal-team-content strong {
  font-size: clamp(1.35rem, 5.4vw, 2rem);
  font-weight: 1000;
  line-height: 1.02;
}

.semifinal-team-content small {
  display: block;
  color: rgba(255, 244, 207, 0.86);
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.semifinal-center {
  display: grid;
  grid-template-columns: minmax(34px, 1fr) auto minmax(34px, 1fr);
  align-items: center;
  gap: 12px;
}

.semifinal-center::before,
.semifinal-center::after {
  content: "";
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 107, 0.78), transparent);
}

.semifinal-action {
  display: inline-grid;
  min-width: min(58vw, 220px);
  place-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 214, 107, 0.42);
  border-radius: 999px;
  padding: 12px 16px;
  background:
    radial-gradient(circle at center, rgba(255, 214, 107, 0.14), transparent 4rem),
    linear-gradient(135deg, rgba(255, 31, 90, 0.2), rgba(11, 101, 255, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.semifinal-action strong {
  color: #ffe08a;
  font-size: clamp(1.5rem, 6vw, 2.4rem);
  font-weight: 1000;
  line-height: 1;
  text-shadow:
    0 0 16px rgba(255, 31, 90, 0.48),
    0 0 22px rgba(255, 214, 107, 0.26);
}

.semifinal-meta {
  display: grid;
  gap: 1px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.quick-semifinals-panel .semifinal-card {
  padding: 10px;
}

.quick-semifinals-panel .semifinal-team {
  min-height: clamp(116px, 28vw, 158px);
}

.bracket-semifinals-panel .semifinal-team {
  min-height: clamp(132px, 25vw, 188px);
}

.third-place-card {
  border-color: rgba(205, 127, 50, 0.5);
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 145, 77, 0.26), transparent 11rem),
    radial-gradient(circle at 84% 12%, rgba(82, 197, 255, 0.2), transparent 12rem),
    linear-gradient(135deg, rgba(37, 14, 27, 0.96), rgba(8, 28, 72, 0.96));
}

.third-place-card .finals-cup-label,
.third-place-card .finals-vs {
  border-color: rgba(255, 190, 109, 0.5);
  color: #ffc985;
}

.finals-panel {
  display: grid;
  gap: 16px;
}

.champions-celebration {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.5);
  border-radius: 22px;
  padding: 14px;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 31, 90, 0.34), transparent 12rem),
    radial-gradient(circle at 84% 12%, rgba(255, 214, 107, 0.22), transparent 10rem),
    linear-gradient(135deg, rgba(69, 4, 25, 0.96), rgba(82, 3, 24, 0.92) 42%, rgba(255, 191, 0, 0.3));
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.champions-celebration::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(170, 21, 27, 0.24), transparent 42%, rgba(241, 191, 0, 0.18)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 255, 255, 0.045) 43px 44px);
  pointer-events: none;
}

.champion-hero,
.champion-team-band,
.champion-stay-banner {
  position: relative;
  z-index: 1;
}

.champion-hero {
  display: grid;
  gap: 10px;
  align-items: center;
}

.champion-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.champion-copy .eyebrow {
  color: #ffe08a;
  text-align: center;
  white-space: nowrap;
}

.champion-copy h2 {
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(1.55rem, 5.8vw, 2.25rem);
  font-weight: 1000;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: normal;
  text-align: center;
  word-break: keep-all;
  text-shadow:
    0 0 20px rgba(255, 31, 90, 0.44),
    0 0 36px rgba(255, 214, 107, 0.28);
}

.champion-copy p {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.92rem, 3.2vw, 1.16rem);
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.champion-score-pill {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 214, 107, 0.5);
  border-radius: 999px;
  padding: 10px 16px;
  background:
    radial-gradient(circle at center, rgba(255, 214, 107, 0.18), transparent 5rem),
    rgba(8, 4, 15, 0.48);
  color: #ffe08a;
  font-size: clamp(1rem, 4vw, 1.36rem);
  font-weight: 1000;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.champion-trophy-stack {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.champion-trophy-stack .trophy-frame {
  width: clamp(86px, 24vw, 145px);
  height: clamp(128px, 36vw, 214px);
  filter:
    drop-shadow(0 0 28px rgba(255, 214, 107, 0.48))
    drop-shadow(0 20px 32px rgba(0, 0, 0, 0.38));
}

.champion-team-band {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 214, 107, 0.42);
  border-radius: 18px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(8, 4, 15, 0.44), rgba(8, 4, 15, 0.24)),
    var(--champion-flag);
  background-position: center;
  background-size: cover;
}

.champion-team-main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.champion-team-main .flag {
  width: 54px;
  height: 54px;
}

.champion-team-main strong {
  color: #ffffff;
  font-size: clamp(1.55rem, 6vw, 2.8rem);
  font-weight: 1000;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.46);
}

.champion-team-main span:last-child {
  color: #ffe08a;
  font-size: clamp(1.2rem, 5vw, 2.1rem);
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-shadow: 0 0 16px rgba(255, 214, 107, 0.4);
}

@media (min-width: 720px) {
  .champion-hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .champion-copy {
    min-width: 0;
  }

  .champion-copy h2 {
    font-size: clamp(1.9rem, 4vw, 2.45rem);
  }
}

.champion-player-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.champion-player-row span {
  border: 1px solid rgba(255, 214, 107, 0.28);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(8, 4, 15, 0.54);
  color: #fff4cf;
  font-size: clamp(0.78rem, 2.8vw, 0.94rem);
  font-weight: 1000;
}

.champion-stay-banner {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 31, 90, 0.38);
  border-radius: 18px;
  padding: 12px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 31, 90, 0.26), transparent 8rem),
    rgba(8, 4, 15, 0.5);
}

.champion-stay-banner strong {
  color: #ff5d8d;
  font-size: clamp(1.15rem, 4.6vw, 1.78rem);
  font-weight: 1000;
  text-transform: uppercase;
}

.champion-stay-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.champion-sports-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.champion-sports-list span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff4cf;
  font-weight: 1000;
}

.finals-intro,
.finals-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.42);
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 31, 90, 0.36), transparent 11rem),
    radial-gradient(circle at 84% 12%, rgba(82, 197, 255, 0.28), transparent 12rem),
    linear-gradient(135deg, rgba(31, 6, 34, 0.96), rgba(3, 24, 76, 0.96));
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.finals-intro {
  padding: 18px;
  text-align: center;
}

.finals-intro strong,
.finals-card-title strong {
  display: block;
  color: #fff4cf;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(255, 31, 90, 0.45),
    0 0 26px rgba(255, 214, 107, 0.22);
}

.finals-intro span,
.finals-card-title span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 950;
}

.finals-card {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.finals-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 31, 90, 0.13), transparent 32%, transparent 68%, rgba(11, 101, 255, 0.13)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(255, 214, 107, 0.04) 45px 46px);
  pointer-events: none;
}

.finals-card-title,
.finals-match-grid,
.finals-cup-stage,
.finals-main-copy,
.finals-roster-strip {
  position: relative;
  z-index: 1;
}

.finals-card-title {
  display: grid;
  gap: 4px;
  text-align: center;
}

.finals-card-title span {
  display: grid;
  gap: 4px;
}

.finals-venue-link {
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: #ffe08a;
  font: inherit;
  font-weight: 1000;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.finals-main-copy {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 214, 107, 0.28);
  border-radius: 18px;
  padding: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 107, 0.16), transparent 8rem),
    rgba(8, 4, 15, 0.38);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  text-align: center;
}

.finals-main-copy strong {
  color: #fff4cf;
  font-size: clamp(1.02rem, 4vw, 1.38rem);
  font-weight: 1000;
}

.finals-cup-stage {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.finals-cup-stage .trophy-frame {
  width: clamp(96px, 24vw, 142px);
  height: clamp(144px, 36vw, 210px);
  filter: drop-shadow(0 0 22px rgba(255, 214, 107, 0.34));
}

.finals-cup-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 214, 107, 0.4);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(8, 4, 15, 0.42);
  color: #ffe08a;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finals-match-grid {
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.finals-vs {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 214, 107, 0.42);
  border-radius: 999px;
  padding: 12px 16px;
  background:
    radial-gradient(circle at center, rgba(255, 214, 107, 0.18), transparent 4rem),
    linear-gradient(135deg, rgba(255, 31, 90, 0.22), rgba(11, 101, 255, 0.22));
  color: #ffe08a;
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  font-weight: 1000;
  text-shadow:
    0 0 18px rgba(255, 31, 90, 0.5),
    0 0 28px rgba(255, 214, 107, 0.26);
}

.finals-center-stage {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
}

.finals-center-stage .pill-button {
  width: min(100%, 260px);
  padding: 12px 16px;
  font-size: clamp(0.88rem, 3vw, 1.02rem);
  line-height: 1.1;
  white-space: normal;
}

.finals-team {
  position: relative;
  display: grid;
  min-height: clamp(190px, 42vw, 290px);
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.42);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font: inherit;
  text-align: left;
}

button.finals-team {
  cursor: pointer;
}

.finals-team::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--final-flag-image);
  background-position: center;
  background-size: 100% 100%;
  filter: saturate(1.25) brightness(1.1);
  opacity: 0.92;
}

.finals-team::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 214, 107, 0.18), transparent 9rem),
    linear-gradient(180deg, rgba(7, 4, 16, 0.08), rgba(7, 4, 16, 0.58));
}

.finals-team.is-placeholder {
  align-content: center;
  background:
    radial-gradient(circle at center, rgba(255, 214, 107, 0.14), transparent 8rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(82, 197, 255, 0.08));
}

.finals-team.is-placeholder::before {
  background-image: none;
}

.finals-team-content,
.finals-team-history,
.finals-team-stars {
  position: relative;
  z-index: 1;
}

.finals-team-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(8, 4, 15, 0.62);
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 32px rgba(0, 0, 0, 0.24);
}

.finals-team-content strong {
  display: block;
  overflow: hidden;
  font-size: clamp(1.78rem, 7vw, 2.72rem);
  font-weight: 1000;
  line-height: 1;
  text-overflow: ellipsis;
}

.finals-team-content small,
.finals-team-history {
  color: rgba(255, 244, 207, 0.88);
  font-weight: 950;
}

.finals-team-content small {
  display: block;
  margin-top: 4px;
  font-size: clamp(0.92rem, 3.4vw, 1.12rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finals-team-content .flag {
  width: clamp(42px, 11vw, 58px);
  height: clamp(42px, 11vw, 58px);
}

.finals-team-history {
  margin-top: 10px;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(8, 4, 15, 0.52);
  font-size: clamp(0.78rem, 2.8vw, 0.94rem);
}

.finals-team-people {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  color: #ffffff;
}

.finals-team-people-row {
  display: block;
  line-height: 1.22;
}

.finals-team-people-row strong {
  color: #ffe08a;
  font-weight: 1000;
}

.finals-team-stars {
  display: inline-flex;
  width: max-content;
  color: #e9eef8;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  letter-spacing: 0.08em;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.52),
    0 0 18px rgba(159, 185, 219, 0.34);
}

.finals-team-argentina .finals-team-content {
  grid-template-columns: auto minmax(0, 1fr);
}

.finals-team-argentina .finals-team-content strong {
  overflow: visible;
  font-size: clamp(1.68rem, 6.35vw, 2.52rem);
  line-height: 1.04;
  text-overflow: clip;
  white-space: normal;
}

.finals-team-argentina .finals-team-stars {
  grid-column: 2;
  justify-self: start;
  margin-top: 2px;
  margin-left: clamp(18px, 5vw, 34px);
}

.finals-roster-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.final-player-chip {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 214, 107, 0.24);
  border-radius: 999px;
  padding: 7px 8px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 3rem),
    rgba(8, 4, 15, 0.5);
  color: #fff4cf;
  font-size: clamp(0.74rem, 2.5vw, 0.9rem);
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.44);
}

.finals-actions {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.finals-actions .pill-button {
  min-width: min(100%, 330px);
  padding: 13px 18px;
  font-size: clamp(0.92rem, 3.3vw, 1.08rem);
}

.finals-actions .pill-button[disabled] {
  opacity: 0.68;
  cursor: not-allowed;
}

.quick-finals-panel .finals-card {
  padding: 12px;
}

.quick-finals-panel .finals-cup-stage .trophy-frame {
  width: clamp(82px, 22vw, 116px);
  height: clamp(122px, 32vw, 172px);
}

.final-venue-hero {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 214, 107, 0.38);
  border-radius: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 31, 90, 0.28), transparent 10rem),
    radial-gradient(circle at 82% 18%, rgba(82, 197, 255, 0.22), transparent 10rem),
    linear-gradient(135deg, rgba(30, 6, 33, 0.94), rgba(4, 29, 78, 0.94));
}

.final-venue-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.final-venue-copy .eyebrow {
  color: #ffe08a;
}

.final-venue-copy h3 {
  color: #ffffff;
  font-size: clamp(1.35rem, 5vw, 2.1rem);
}

.final-venue-collage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.final-venue-collage img {
  display: block;
  width: 100%;
  height: clamp(170px, 38vw, 310px);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.final-venue-collage img:nth-child(2) {
  object-position: 68% center;
}

.final-venue-collage img:nth-child(3) {
  object-position: 32% center;
}

.final-venue-collage img:nth-child(4) {
  object-position: center top;
}

.final-venue-collage img:nth-child(5) {
  object-position: center bottom;
}

.venue-section-heading {
  margin: 8px 0 12px;
  border: 1px solid rgba(255, 214, 107, 0.26);
  border-radius: 14px;
  padding: 12px 14px;
  background:
    linear-gradient(135deg, rgba(255, 31, 90, 0.16), rgba(11, 101, 255, 0.14)),
    rgba(8, 4, 15, 0.34);
}

.venue-section-heading .eyebrow {
  color: #ffe08a;
}

@media (min-width: 760px) {
  .champion-hero {
    grid-template-columns: 1fr;
  }

  .final-venue-hero {
    grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr);
    align-items: center;
  }
}

@media (max-width: 960px) {
  .champion-hero {
    grid-template-columns: 1fr;
  }
}

.complete-map-panel {
  margin-top: 14px;
}

.complete-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.bracket-toolbar .secondary-button {
  min-height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

#bracketZoomLabel {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
}

.bracket-viewport {
  overflow: auto;
  max-height: min(72vh, 760px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(4, 29, 78, 0.18), rgba(4, 29, 78, 0.34)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 80px);
  cursor: grab;
}

.bracket-viewport.dragging {
  cursor: grabbing;
}

.bracket-stage-shell {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.world-bracket-board.full-bracket-stage {
  display: grid;
  grid-template-columns: 132px 118px 106px 98px 176px 98px 106px 118px 132px;
  align-items: stretch;
  gap: 10px;
  width: 1120px;
  height: 940px;
  padding: 18px;
  transform: scale(var(--bracket-scale, 0.52));
  transform-origin: top left;
}

.bracket-column {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.bracket-column::before {
  position: absolute;
  top: 58px;
  bottom: 28px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(202, 239, 255, 0.42), transparent);
  content: "";
}

.bracket-left::before {
  right: -6px;
}

.bracket-right::before {
  left: -6px;
}

.bracket-round-label {
  min-height: 26px;
  color: #d8f3ff;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.bracket-column-matches {
  display: grid;
  align-content: space-around;
  gap: 10px;
}

.bracket-center {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  align-content: stretch;
  justify-items: center;
  gap: 10px;
  min-height: 100%;
  padding: 26px 0 20px;
}

.bracket-center::before {
  position: absolute;
  top: 70px;
  bottom: 88px;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(202, 239, 255, 0.62) 16%, rgba(202, 239, 255, 0.62) 84%, transparent);
  content: "";
  transform: translateX(-50%);
}

.center-title {
  position: relative;
  z-index: 1;
  color: #e9f8ff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 24, 64, 0.44);
}

.center-rail {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 100%;
  border-right: 2px solid rgba(202, 239, 255, 0.52);
  border-left: 2px solid rgba(202, 239, 255, 0.52);
  border-radius: 20px;
  opacity: 0.9;
}

.projected-match {
  position: relative;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(9, 31, 85, 0.88), rgba(4, 22, 67, 0.9)),
    rgba(9, 31, 85, 0.88);
}

.projected-match::before,
.projected-match::after {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 2px;
  background: rgba(202, 239, 255, 0.5);
  content: "";
}

.bracket-left .projected-match::after,
.bracket-left .full-bracket-match::after {
  right: -10px;
}

.bracket-left .projected-match::before,
.bracket-left .full-bracket-match::before {
  display: none;
}

.bracket-right .projected-match::before,
.bracket-right .full-bracket-match::before {
  left: -10px;
}

.bracket-right .projected-match::after,
.bracket-right .full-bracket-match::after {
  display: none;
}

.projected-match .round32-card-head {
  align-items: flex-start;
}

.projected-match .round32-card-head strong {
  display: block;
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 0.72rem;
}

.projected-match .round32-card-head span:not(.slot-pill) {
  display: block;
  color: #c9eaff;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.25;
}

.projected-match .slot-pill {
  padding: 6px 8px;
  background: rgba(255, 215, 106, 0.18);
  color: #fff0b5;
  font-size: 0.62rem;
}

.projected-teams {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

.projected-team {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 5px 7px;
  background: rgba(255, 255, 255, 0.12);
}

.projected-team-button {
  appearance: none;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.winner-slot {
  grid-template-columns: 28px minmax(0, 1fr);
  height: 46px;
  min-height: 46px;
}

.winner-flag {
  display: inline-grid;
  width: 28px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 215, 106, 0.34);
  border-radius: 7px;
  background: rgba(255, 215, 106, 0.14);
  color: #fff0b5;
  font-size: 0.72rem;
  font-weight: 950;
}

.projected-flag {
  display: inline-grid;
  width: 34px;
  height: 28px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
}

.projected-flag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.projected-team strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.12;
  text-overflow: ellipsis;
}

.winner-slot strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.66rem;
}

.leaderboard-list {
  padding-left: 0;
  list-style: none;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.current-user-row {
  border-color: rgba(11, 77, 162, 0.5);
  background:
    linear-gradient(135deg, rgba(11, 77, 162, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
}

.rank-focus {
  animation: rankPulse 900ms ease-in-out 2;
}

.rank-badge {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 31, 90, 0.2);
  color: #ffb0c6;
  font-weight: 950;
}

.prize-panel {
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.16), rgba(23, 16, 37, 0.96)),
    var(--card);
}

.bracket-node,
.venue-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.venue-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.venue-image-wrap {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(255, 31, 90, 0.28), rgba(0, 208, 132, 0.18)),
    #21162f;
}

.venue-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-content {
  padding: 12px;
}

.venue-content h3 {
  margin-bottom: 4px;
}

.venue-content ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 800;
}

.venue-card summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.venue-card summary::-webkit-details-marker {
  display: none;
}

.venue-facts {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 12px 12px 30px;
  color: var(--muted);
  font-weight: 800;
}

.venue-click-hint {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 950;
}

.venue-match-list {
  display: grid;
  gap: 10px;
  margin: 0 12px 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.venue-match-list > strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.venue-fixture-grid {
  display: grid;
  gap: 8px;
}

.venue-fixture {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.venue-fixture-teams {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.venue-fixture-teams > span:not(.venue-team-flag):not(.venue-slot-badge) {
  display: inline-grid;
  min-width: 46px;
  place-items: center;
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--score-bg);
  color: var(--score-ink);
  box-shadow: 0 0 0 3px var(--score-ring);
  font-size: 0.9rem;
  line-height: 1;
}

.venue-team-flag,
.venue-slot-badge {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.venue-team-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-slot-badge {
  padding: 0 3px;
  background: rgba(255, 200, 87, 0.16);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 950;
}

.venue-fixture small {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: right;
}

.bracket-node strong,
.venue-row strong {
  display: block;
}

.bracket-node small,
.venue-row small {
  color: var(--muted);
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  right: auto;
  bottom: 0;
  left: 50%;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100vw, 480px);
  max-width: 100%;
  margin: 0;
  padding: 10px calc(10px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #130d20;
  box-shadow: 0 -18px 34px rgba(0, 0, 0, 0.46);
}

.nav-item {
  display: grid;
  gap: 2px;
  place-items: center;
  border-radius: 8px;
  padding: 8px 4px;
  background: #21162f;
  color: #d9cce7;
  font-weight: 900;
}

.nav-item.active {
  background: #d90445;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 31, 90, 0.24);
}

.nav-item span {
  font-size: 1.25rem;
}

.app-footer {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 18px 0 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-align: center;
}

.footer-recipe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-paypal strong {
  color: var(--ink);
}

.app-footer a {
  color: inherit;
  text-decoration: none;
}

.app-footer a:hover {
  color: var(--ink);
}

.app-rating-panel {
  display: grid;
  gap: 8px;
  margin: 12px auto 8px;
  width: min(100%, 480px);
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0, rgba(255, 255, 255, 0.1), transparent 8rem),
    linear-gradient(135deg, rgba(44, 34, 67, 0.76), rgba(18, 13, 32, 0.82));
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-rating-panel.is-hidden {
  display: none;
}

.app-rating-title {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.app-rating-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.rating-star {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  color: rgba(255, 255, 255, 0.38);
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.rating-star.is-filled {
  border-color: rgba(255, 211, 125, 0.72);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.42), transparent 1.2rem),
    linear-gradient(145deg, #ffd77c, #f5a623);
  color: #231405;
  transform: translateY(-1px);
  box-shadow:
    0 6px 16px rgba(245, 166, 35, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.rating-star:disabled {
  cursor: wait;
  opacity: 0.66;
}

.entry-panel,
.review-panel,
.quick-picks,
.rules-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 16, 37, 0.72);
  box-shadow: var(--shadow);
}

.entry-options,
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.entry-card,
.tier-card,
.pick-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.entry-card strong,
.tier-card strong,
.pick-row strong {
  display: block;
  margin-bottom: 4px;
}

.entry-card small,
.tier-card span,
.pick-row small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.tier-card input {
  margin-bottom: 8px;
  accent-color: var(--accent);
}

.tier-card-locked {
  border-color: rgba(255, 200, 87, 0.38);
}

.quick-match-list {
  display: grid;
  gap: 10px;
}

.quick-match {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(23, 16, 37, 0.88);
}

.featured-focus {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.quick-team {
  display: grid;
  gap: 4px;
  justify-items: center;
  border: 0;
  border-radius: 8px;
  padding: 8px 4px;
  background: rgba(8, 4, 15, 0.52);
  color: var(--ink);
  font: inherit;
  font-weight: 950;
}

.quick-team.active {
  outline: 1px solid rgba(255, 255, 255, 0.34);
}

.quick-team.team-favorite {
  border: 0;
  background:
    linear-gradient(135deg, rgba(8, 4, 15, 0.12), rgba(8, 4, 15, 0.38)),
    var(--favorite-flag),
    var(--favorite-theme);
  background-position: center;
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    0 10px 22px rgba(8, 4, 15, 0.18);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
}

.quick-team.team-favorite::after {
  content: none;
}

.has-favorite-team {
  border-color: var(--line);
}

.quick-center {
  display: grid;
  gap: 4px;
  justify-items: center;
  width: 100%;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
}

.quick-center .secondary-button[data-select-match] {
  justify-self: center;
  min-width: 112px;
  text-align: center;
}

.quick-center small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
}

.result-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 200, 87, 0.34);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(8, 4, 15, 0.72);
  text-align: center;
}

.result-scoreline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.result-scoreline > strong {
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--score-bg);
  color: var(--score-ink);
  box-shadow:
    0 0 0 5px var(--score-ring),
    0 14px 28px rgba(0, 0, 0, 0.18);
  font-size: 1.7rem;
  font-weight: 950;
  line-height: 1;
}

.result-team {
  cursor: default;
}

.ranking-cta {
  margin-top: 2px;
}

.result-panel p,
.result-panel small {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.team-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.secondary-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.favorite-toggle {
  border: 1px solid rgba(255, 200, 87, 0.42);
}

.favorite-toggle.is-favorite {
  background:
    linear-gradient(135deg, rgba(8, 4, 15, 0.10), rgba(8, 4, 15, 0.34)),
    var(--favorite-flag),
    var(--favorite-theme);
  background-position: center;
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: #ffffff;
  box-shadow:
    0 12px 24px var(--team-soft, rgba(255, 200, 87, 0.24)),
    0 0 0 4px var(--team-soft, rgba(255, 200, 87, 0.14));
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
}

.favorite-toggle.is-favorite:hover {
  filter: brightness(1.04);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 92px;
  left: 18px;
  z-index: 80;
  display: none;
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid rgba(0, 208, 132, 0.42);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(0, 43, 28, 0.95);
  color: #dfffee;
  box-shadow: var(--shadow);
  font-weight: 900;
  pointer-events: none;
}

.toast.show {
  display: block;
  animation: rise 180ms ease-out;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(2, 3, 10, 0.68);
  backdrop-filter: blur(16px);
}

#teamModal:not(.hidden) {
  z-index: 42;
}

#playerModal:not(.hidden) {
  z-index: 44;
}

.modal.hidden {
  display: none;
}

.modal-card {
  position: relative;
  width: min(100%, 480px);
  max-height: 92vh;
  max-height: calc(100dvh - 36px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--modal-bg);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
}

.share-canvas {
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #130d20;
}

.app-share-canvas {
  display: block;
  max-height: min(62vh, 700px);
}

.share-modal-card {
  width: min(100%, 560px);
  padding: 14px;
}

.share-modal-card .section-title {
  margin-right: 44px;
}

.share-modal-card .section-title .eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.share-modal-card .section-title h2 {
  color: #b01531;
  font-size: 1.18rem;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.26),
    0 0 12px rgba(176, 21, 49, 0.14);
}

.share-modal-card .modal-close {
  position: sticky;
  z-index: 6;
  top: 0;
  left: auto;
  right: 0;
  float: right;
  margin: -2px -2px 10px 10px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 31, 90, 0.28);
  background: rgba(255, 255, 255, 0.96);
  color: #7d1025;
  box-shadow:
    0 10px 18px rgba(18, 9, 31, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.24);
}

.share-modal-card .share-card-preview {
  justify-self: center;
  width: 100%;
  aspect-ratio: auto;
  max-height: none;
}

.share-modal-card .share-actions {
  margin-top: 8px;
}

.share-card-preview {
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: auto;
  max-height: none;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 42px 16px 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 24%, rgba(255, 31, 90, 0.34), transparent 20%),
    radial-gradient(circle at 88% 24%, rgba(255, 31, 90, 0.32), transparent 20%),
    radial-gradient(circle at 50% 12%, rgba(0, 229, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #09070c 0%, #11070f 44%, #05070d 100%);
}

.share-card-preview::before,
.share-card-preview::after {
  content: "";
  position: absolute;
  top: 14%;
  bottom: 14%;
  width: 29%;
  z-index: -1;
  opacity: 0.82;
  background:
    radial-gradient(ellipse at 50% 82%, rgba(255, 31, 90, 0.76), transparent 40%),
    radial-gradient(ellipse at 50% 60%, rgba(255, 83, 45, 0.38), transparent 46%),
    linear-gradient(180deg, transparent 0%, rgba(255, 31, 90, 0.22) 42%, transparent 100%);
  filter: blur(1px);
}

.share-card-preview::before {
  left: -12%;
}

.share-card-preview::after {
  right: -12%;
  transform: scaleX(-1);
}

.share-card-preview-inner {
  display: grid;
  align-items: center;
  align-content: start;
  gap: 14px;
  justify-self: center;
  padding-top: 18px;
  width: 100%;
}

.share-poster-brand {
  display: grid;
  justify-items: center;
  gap: 1px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.share-poster-brand .brand-flame {
  position: relative;
  display: block;
  width: 34px;
  height: 42px;
  margin-bottom: 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23ff7b42'/><stop offset='0.55' stop-color='%23ff1f5a'/><stop offset='1' stop-color='%23870026'/></linearGradient></defs><path fill='url(%23g)' d='M50 4c9 15 27 24 27 48 0 23-14 40-27 44-13-4-27-21-27-44 0-18 10-29 18-42 4-7 7-11 9-6Z'/><path fill='%23080a10' fill-opacity='.96' d='M50 37c7 10 12 17 12 29 0 13-6 22-12 25-6-3-12-12-12-25 0-12 5-19 12-29Z'/><path fill='%23080a10' fill-opacity='.96' d='M36 48c3 5 5 11 3 18-5-5-7-12-3-18Z'/><path fill='%23080a10' fill-opacity='.96' d='M64 48c4 6 5 13 2 18-2-6-1-12-2-18Z'/></svg>") center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(255, 31, 90, 0.82));
}

.share-poster-brand .brand-flame::before {
  content: none;
}

.share-poster-brand .brand-flame::after {
  content: none;
}

.share-poster-brand strong {
  color: #ffffff;
  font-size: 2.22rem;
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 0.92;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}

.share-poster-brand span:last-child {
  position: relative;
  color: #ff1f5a;
  font-size: 1.38rem;
  font-style: italic;
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 0.9;
  transform: skewX(-11deg);
}

.share-poster-brand span:last-child::after {
  content: "";
  display: block;
  width: 122%;
  height: 4px;
  margin: 4px auto 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 31, 90, 0.88) 18%, rgba(255, 122, 64, 0.96) 50%, rgba(255, 31, 90, 0.88) 82%, transparent 100%);
  box-shadow: 0 0 14px rgba(255, 31, 90, 0.42);
}

.share-poster-headline {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  line-height: 0.96;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 16px rgba(255, 31, 90, 0.56),
    0 2px 0 rgba(255, 31, 90, 0.28);
}

.share-card-preview .reto-card {
  width: 100%;
  gap: 7px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(23, 16, 37, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.share-card-preview .mini-match::before {
  opacity: 0.36;
}

.share-reto-card {
  padding: 16px 14px 18px;
}

.share-reto-card-head {
  display: grid;
  gap: 11px;
  text-align: center;
}

.share-reto-card-head p {
  justify-self: center;
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.34),
    0 0 8px rgba(255, 31, 90, 0.42),
    0 1px 6px rgba(0, 0, 0, 0.22);
  text-transform: uppercase;
}

.share-reto-card-head h3 {
  color: #ffffff !important;
  font-size: 1.58rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow:
    0 0 16px rgba(255, 31, 90, 0.82),
    0 0 2px #ff1f5a,
    0 1px 10px rgba(0, 0, 0, 0.42);
  text-transform: uppercase;
}


.share-reto-players {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 1000;
  line-height: 1.08;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
}

.share-reto-players span:not(.share-reto-versus) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-reto-versus {
  color: #ffd76b;
  font-size: 1.52rem;
  text-shadow: 0 0 14px rgba(255, 31, 90, 0.5);
}

.share-card-preview .reto-stake-prize {
  margin: 2px 0 4px;
  padding: 11px 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 231, 140, 0.28), transparent 58%),
    linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(255, 31, 90, 0.1));
  color: #fff;
}

.share-card-preview .reto-stake-prize span {
  display: block;
  margin-bottom: 8px;
  color: #ffd76b;
}

.share-card-preview .reto-stake-prize strong {
  font-size: 1.12rem;
  color: #fff1a8;
  text-shadow: 0 1px 10px rgba(255, 200, 87, 0.16);
}

.share-card-preview .reto-sides {
  margin-top: 8px;
}

.share-card-preview .reto-status {
  min-height: 58px;
  padding: 10px 14px;
  font-size: 1.1rem;
}

.share-card-preview .reto-sides > div {
  height: 102px;
  min-height: 102px;
  padding: 10px 8px;
  background:
    linear-gradient(180deg, rgba(8, 4, 15, 0.08), rgba(8, 4, 15, 0.26)),
    var(--favorite-flag),
    var(--favorite-theme, rgba(255, 255, 255, 0.07));
  background-position: center;
  background-size: 100% 100%, 100% 100%, cover;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.share-card-preview .reto-sides small {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

.share-card-preview .reto-sides strong {
  color: #ffffff;
  text-shadow: 0 1px 9px rgba(0, 0, 0, 0.44);
}

body.theme-light .share-card-preview {
  background:
    radial-gradient(circle at 11% 24%, rgba(255, 31, 90, 0.34), transparent 20%),
    radial-gradient(circle at 88% 24%, rgba(255, 31, 90, 0.32), transparent 20%),
    radial-gradient(circle at 50% 12%, rgba(0, 229, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #09070c 0%, #11070f 44%, #05070d 100%);
}

body.theme-light .share-card-preview .reto-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(23, 16, 37, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

body.theme-light .share-card-preview .mini-match::before {
  opacity: 0.36;
}

body.theme-light .share-card-preview .reto-stake-prize {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 231, 140, 0.28), transparent 58%),
    linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(255, 31, 90, 0.1));
  color: #fff;
}

body.theme-light .share-card-preview .reto-stake-prize span {
  color: #ffd76b;
}

body.theme-light .share-card-preview .reto-stake-prize strong {
  color: #fff1a8;
  text-shadow: 0 1px 10px rgba(255, 200, 87, 0.16);
}

body.theme-light .share-card-preview .reto-sides > div {
  background:
    linear-gradient(180deg, rgba(8, 4, 15, 0.08), rgba(8, 4, 15, 0.26)),
    var(--favorite-flag),
    var(--favorite-theme, rgba(255, 255, 255, 0.07));
  background-position: center;
  background-size: 100% 100%, 100% 100%, cover;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.theme-light .share-card-preview .reto-sides small,
body.theme-light .share-card-preview .reto-sides strong,
body.theme-light .share-card-preview .share-reto-card-head h3,
body.theme-light .share-card-preview .share-reto-players,
body.theme-light .share-card-preview .share-poster-winner,
body.theme-light .share-card-preview .share-poster-scorebar,
body.theme-light .share-card-preview .share-poster-team,
body.theme-light .share-card-preview .share-poster-score,
body.theme-light .share-card-preview .share-poster-cta,
body.theme-light .share-card-preview .share-poster-cta strong,
body.theme-light .share-card-preview .share-poster-cta div span {
  color: inherit;
}

body.theme-light .share-card-preview .share-reto-card-head p {
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.34),
    0 0 8px rgba(255, 31, 90, 0.42),
    0 1px 6px rgba(0, 0, 0, 0.22);
}

body.theme-light .share-modal-card {
  background:
    radial-gradient(circle at 11% 24%, rgba(255, 31, 90, 0.16), transparent 22%),
    radial-gradient(circle at 89% 24%, rgba(0, 229, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #161028 0%, #141229 100%);
  border-color: rgba(255, 31, 90, 0.2);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.theme-light .share-modal-card .section-title .eyebrow {
  color: #ff88a9;
}

body.theme-light .share-modal-card .section-title h2 {
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.28),
    0 0 8px rgba(255, 31, 90, 0.4),
    0 1px 6px rgba(0, 0, 0, 0.24);
}

body.theme-light .share-modal-card .modal-close {
  border-color: rgba(255, 31, 90, 0.28);
  background: rgba(255, 255, 255, 0.96);
  color: #7d1025;
  box-shadow:
    0 10px 18px rgba(18, 9, 31, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.24);
}

.share-card-preview .reto-sides strong .flag-mini {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 999px;
}

.share-card-preview .reto-sides strong .flag-mini.flag-switzerland::before {
  width: 16px;
  height: 5px;
}

.share-card-preview .reto-sides strong .flag-mini.flag-switzerland::after {
  width: 5px;
  height: 16px;
}

.share-card-preview .reto-sides strong .flag-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-card-preview .reto-sides > span {
  color: #ffd76b;
  font-size: 1.56rem;
  text-shadow:
    0 0 16px rgba(255, 31, 90, 0.58),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

.share-poster-scorebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 31, 90, 0.86);
  border-radius: 999px;
  padding: 9px 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 31, 90, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(255, 31, 90, 0.2), rgba(6, 3, 8, 0.97) 32%, rgba(6, 3, 8, 0.97) 68%, rgba(255, 31, 90, 0.2));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(255, 31, 90, 0.34);
}

.share-poster-team {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  padding: 3px 4px;
  background: transparent;
  color: #ffffff;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.68);
  text-transform: uppercase;
}

.share-poster-team--home {
  justify-content: flex-end;
  padding-right: 8px;
}

.share-poster-team--away {
  justify-content: flex-start;
  padding-left: 8px;
}

.share-poster-team .flag-mini {
  width: 32px;
  min-width: 32px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(255, 31, 90, 0.4);
}

.share-poster-team .flag-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-poster-team strong {
  color: #ffb7c0;
  font-size: 1.02rem;
  font-weight: 1000;
  line-height: 1;
  text-shadow:
    0 0 12px rgba(255, 31, 90, 0.72),
    0 1px 2px rgba(0, 0, 0, 0.55);
}

.share-poster-team--home strong {
  order: 3;
  margin-left: 14px;
}

.share-poster-team--away strong {
  order: 1;
  margin-right: 14px;
}

.share-poster-team--away span {
  order: 2;
}

.share-poster-team--away .flag-mini {
  order: 3;
}

.share-poster-score {
  color: #ff7d8d;
  font-size: 1.38rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 0 16px rgba(255, 31, 90, 0.82),
    0 0 2px #ff1f5a;
}

.share-poster-winner {
  position: relative;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 31, 90, 0.3);
  border-radius: 6px;
  padding: 11px 14px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 31, 90, 0.74) 17%, rgba(255, 31, 90, 0.88) 50%, rgba(255, 31, 90, 0.68) 83%, transparent);
  color: #ffffff;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 1000;
  line-height: 1.05;
  text-align: center;
  text-shadow:
    0 0 12px rgba(255, 31, 90, 0.72),
    0 1px 2px rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
}

.share-poster-winner::before,
.share-poster-winner::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 10px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7));
  transform: translateY(-50%);
  opacity: 0.5;
}

.share-poster-winner::before {
  left: 6px;
}

.share-poster-winner::after {
  right: 6px;
  transform: translateY(-50%) scaleX(-1);
}

.share-poster-winner small {
  color: #ffe1df;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.12em;
  line-height: 1;
}

.share-poster-winner .crown {
  color: #ffd76b;
  margin-left: 5px;
  text-shadow: 0 0 10px rgba(255, 215, 107, 0.58);
}

.share-poster-cta {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 31, 90, 0.58);
  border-radius: 4px;
  padding: 9px 58px;
  background:
    linear-gradient(90deg, rgba(255, 31, 90, 0.18), rgba(8, 4, 15, 0.94), rgba(255, 31, 90, 0.13));
  color: #ffffff;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.share-poster-cta .poster-icon {
  display: grid;
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  justify-self: center;
  place-items: center;
  border: 1px solid rgba(255, 31, 90, 0.4);
  border-radius: 999px;
  background: rgba(255, 31, 90, 0.12);
  color: #ff1f5a;
  font-size: 1.12rem;
  transform: translateY(-50%) skewX(4deg);
}

.share-poster-cta .poster-icon:first-child {
  left: 16px;
}

.share-poster-cta .poster-icon:last-child {
  right: 16px;
}

.share-poster-cta .poster-icon.poster-flame {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23ff7b42'/><stop offset='0.55' stop-color='%23ff1f5a'/><stop offset='1' stop-color='%23870026'/></linearGradient></defs><path fill='url(%23g)' d='M50 4c9 15 27 24 27 48 0 23-14 40-27 44-13-4-27-21-27-44 0-18 10-29 18-42 4-7 7-11 9-6Z'/><path fill='%23080a10' fill-opacity='.96' d='M50 37c7 10 12 17 12 29 0 13-6 22-12 25-6-3-12-12-12-25 0-12 5-19 12-29Z'/><path fill='%23080a10' fill-opacity='.96' d='M36 48c3 5 5 11 3 18-5-5-7-12-3-18Z'/><path fill='%23080a10' fill-opacity='.96' d='M64 48c4 6 5 13 2 18-2-6-1-12-2-18Z'/></svg>") center / 18px 22px no-repeat,
    rgba(255, 31, 90, 0.12);
  color: transparent;
}

.share-poster-cta > div {
  display: grid;
  gap: 5px;
  justify-items: center;
  min-width: 0;
  transform: skewX(4deg);
}

.share-poster-cta strong {
  display: block;
  color: #ff5f8b;
  font-size: 0.82rem;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
}

.share-poster-cta div span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.share-actions button {
  min-width: 0;
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
}

.modal-card label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.modal-card input[type="text"],
.modal-card input[type="email"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--modal-field);
  color: var(--ink);
  font: inherit;
}

.modal-card input::placeholder {
  color: var(--modal-placeholder);
  opacity: 1;
}

.legal-box {
  margin-top: 12px;
  border: 1px solid rgba(255, 200, 87, 0.38);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 200, 87, 0.08);
}

.legal-box p {
  margin-bottom: 0;
}

.team-modal-card {
  padding-top: 28px;
}

@media (max-width: 759px) {
  .team-modal-card .modal-close,
  .player-modal-card .modal-close {
    position: sticky;
    top: 0;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    margin: -10px -8px 8px 10px;
    background: color-mix(in srgb, var(--modal-bg) 82%, var(--ink) 18%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  }
}

.predict-modal-card {
  overflow: hidden auto;
}

.predict-modal-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(255, 255, 255, 0.5) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    var(--home-flag, linear-gradient(90deg, #ff1f5a, #8a1538)) left center / 50% 100% no-repeat,
    var(--away-flag, linear-gradient(90deg, #0b65ff, #0038a8)) right center / 50% 100% no-repeat;
  opacity: 0.08;
}

.predict-modal-card > * {
  position: relative;
  z-index: 1;
}

.predict-modal-card .teams-grid {
  margin: 12px 0 10px;
}

.predict-modal-card .team-card {
  min-height: 112px;
}

.predict-modal-card .choice-button,
.predict-modal-card .primary-button {
  text-align: center;
}

.predict-modal-card .flag-large {
  width: 58px;
  height: 58px;
}

.predict-modal-card .score-picker {
  margin-bottom: 10px;
}

.predict-modal-card #modalConfirmPick {
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.team-profile-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.team-profile-shell {
  --team-primary: #006233;
  --team-secondary: #d21034;
  --team-accent: #f3d36a;
  --team-soft: rgba(0, 98, 51, 0.16);
}

.team-profile-shell .team-profile-head {
  border: 1px solid color-mix(in srgb, var(--team-primary) 46%, transparent);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--team-primary) 18%, transparent), color-mix(in srgb, var(--team-secondary) 12%, transparent)),
    rgba(255, 255, 255, 0.04);
}

.player-profile-head .player-avatar-large {
  margin: 0;
}

.roster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.roster-box {
  border: 1px solid color-mix(in srgb, var(--team-primary, var(--brand)) 34%, var(--line));
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--team-primary, var(--brand)) 16%, transparent), color-mix(in srgb, var(--team-secondary, var(--brand-dark)) 10%, transparent)),
    rgba(255, 255, 255, 0.07);
}

.roster-wide {
  grid-column: 1 / -1;
}

.formation-card {
  margin-top: 14px;
  border: 1px solid color-mix(in srgb, var(--team-primary, var(--brand)) 38%, var(--line));
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--team-primary, var(--brand)) 15%, transparent), color-mix(in srgb, var(--team-secondary, var(--brand-dark)) 11%, transparent)),
    rgba(255, 255, 255, 0.045);
}

.formation-card .section-title {
  margin: 0 0 10px;
}

.formation-pitch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, 92px);
  gap: 8px 12px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  width: calc(100% + 28px);
  margin-inline: -14px;
  padding: 10px 14px;
  background: #007f0f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 18px 44px rgba(0, 0, 0, 0.08);
}

.formation-card.has-custom-lineup .formation-pitch {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.formation-pitch.has-exact-lineup {
  display: block;
  width: min(100%, 430px);
  aspect-ratio: 363 / 545;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  background: #007f0f;
}

.formation-pitch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 363 545' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='14' y='14' width='335' height='517'/%3E%3Cpath d='M14 273h335'/%3E%3Ccircle cx='181.5' cy='273' r='45'/%3E%3Cpath d='M83 14v81h197v-81M137 14v29h91v-29M151 95q30.5 24 61 0'/%3E%3Cpath d='M83 531v-81h197v81M137 531v-29h91v29M151 450q30.5 -24 61 0'/%3E%3Cpath d='M14 25q11 0 11 -11M338 14q0 11 11 11M14 520q11 0 11 11M338 531q0 -11 11 -11'/%3E%3C/g%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='181.5' cy='273' r='4'/%3E%3Ccircle cx='181.5' cy='69' r='4'/%3E%3Ccircle cx='181.5' cy='476' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

.player-chip {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 0;
  padding: 1px 2px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  line-height: 1.05;
  text-align: center;
}

.formation-pitch.has-exact-lineup .player-chip {
  position: absolute;
  width: 104px;
  transform: translate(-50%, -50%);
}

.player-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 116px;
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(8, 4, 15, 0.58);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.18);
}

.player-number {
  display: inline-grid;
  min-width: 21px;
  place-items: center;
  border-radius: 999px;
  padding: 2px 5px;
  background: rgba(184, 255, 222, 0.16);
  color: #b8ffde;
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
}

.captain-mark {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 999px;
  background: #b8ffde;
  color: #102044;
  font-size: 0.58rem;
  font-weight: 1000;
  line-height: 1;
}

.player-chip small {
  display: inline-grid;
  min-width: 26px;
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(8, 4, 15, 0.62);
  color: #b8ffde;
  font-size: 0.56rem;
  font-weight: 950;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.16);
}

.player-name-label {
  overflow: hidden;
  width: auto;
  max-width: 86px;
  font-size: 0.64rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-name-label-mobile {
  display: none;
}

@media (max-width: 520px) {
  .champion-pool-controls,
  .champion-entry-row {
    grid-template-columns: 1fr;
  }

  .champion-entry-list {
    grid-template-columns: 1fr;
  }

  .formation-pitch.has-exact-lineup .player-chip {
    width: 86px;
  }

  .player-avatar-mini {
    width: 52px;
    height: 52px;
    font-size: 0.62rem;
  }

  .player-chip small {
    min-width: 24px;
    padding: 2px 5px;
    font-size: 0.5rem;
  }

  .player-name-row {
    gap: 1px;
    max-width: none;
    padding: 2px 3px;
  }

  .player-number {
    min-width: 17px;
    padding: 2px 3px;
    font-size: 0.56rem;
  }

  .captain-mark {
    width: 15px;
    height: 15px;
    font-size: 0.52rem;
  }

  .player-name-label {
    display: none;
  }

  .player-name-label-mobile {
    display: inline-block;
    overflow: visible;
    width: auto;
    min-width: 0;
    max-width: none;
    font-size: 0.52rem;
    font-weight: 950;
    text-overflow: clip;
    white-space: nowrap;
  }

  .group-standings {
    padding: 10px 8px;
  }

  .group-standings-scroll {
    margin: 0 -2px;
  }

  .group-table {
    min-width: 430px;
    font-size: 0.64rem;
  }

  .group-table th,
  .group-table td {
    padding: 7px 2px;
  }

  .group-table th {
    font-size: 0.62rem;
  }

  .group-table .standings-rank-col {
    width: 18px;
  }

  .group-table .standings-team-col {
    width: 86px;
  }

  .group-table .standings-stat-col {
    width: 20px;
  }

  .group-table .standings-wide-stat-col {
    width: 24px;
  }

  .group-table .standings-points-col {
    width: 31px;
  }

  .group-table .standings-form-col {
    width: 115px;
  }

  .standings-team {
    gap: 4px;
    min-width: 0;
  }

  .standings-team .flag-mini {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }

  .standings-team strong {
    max-width: 58px;
    font-size: 0.64rem;
  }

  .standings-legend {
    min-width: 430px;
    font-size: 0.56rem;
  }
}

.player-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--team-accent, rgba(255, 255, 255, 0.5));
  border-radius: 999px;
  background:
    linear-gradient(rgba(8, 4, 15, 0.54), rgba(8, 4, 15, 0.54)),
    var(--player-flag) center / cover no-repeat,
    linear-gradient(135deg, #1f1630, #3a254c);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--team-primary, #ffffff) 62%, transparent),
    0 9px 18px rgba(0, 0, 0, 0.28);
  color: #ffffff;
  flex: 0 0 auto;
  font-weight: 950;
}

.player-avatar-mini {
  width: 56px;
  height: 56px;
  font-size: 0.68rem;
}

.player-avatar-large {
  width: 118px;
  height: 118px;
  margin: 0 auto 10px;
  border-width: 3px;
  font-size: 1.45rem;
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.player-avatar > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: rgba(8, 4, 15, 0.48);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.player-photo-box {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.player-photo-box small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.player-photo-box strong {
  margin-top: 2px;
  font-size: 1.2rem;
}

.roster-box ul {
  margin: 8px 0 0;
  padding-left: 0;
  color: var(--muted);
  font-weight: 800;
  list-style: none;
}

.squad-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.squad-columns small {
  display: inline-block;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.team-bullets {
  display: grid;
  gap: 6px;
}

.team-bullets li {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, var(--team-primary, var(--brand)) 30%, var(--line));
  border-radius: 8px;
  padding: 6px 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--team-primary, var(--brand)) 13%, transparent), color-mix(in srgb, var(--team-secondary, var(--brand-dark)) 8%, transparent)),
    rgba(255, 255, 255, 0.065);
}

.roster-number {
  display: inline-grid;
  min-width: 30px;
  place-items: center;
  border-radius: 999px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--team-secondary, var(--brand)) 68%, rgba(255, 255, 255, 0.72));
  background:
    linear-gradient(135deg, var(--team-primary, var(--brand-dark)), color-mix(in srgb, var(--team-secondary, var(--brand)) 72%, #102044));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 1000;
}

.roster-name {
  min-width: 0;
  color: color-mix(in srgb, var(--team-accent, var(--ink)) 22%, var(--ink));
  font-weight: 950;
}

.roster-position {
  margin-left: auto;
  color: color-mix(in srgb, var(--team-primary, var(--brand)) 40%, var(--muted));
  font-size: 0.68rem;
  font-weight: 950;
}

.roster-captain {
  color: var(--team-accent, var(--gold));
  font-size: 0.68rem;
  font-weight: 950;
}

.coach-label {
  color: color-mix(in srgb, var(--team-accent, var(--gold)) 32%, var(--ink));
  font-weight: 1000;
}

.coach-name {
  color: var(--ink);
  font-weight: 1000;
}

.team-profile-shell[data-team-profile="ecuador"] .roster-box {
  border-color: color-mix(in srgb, #034ea2 28%, var(--line));
  background:
    linear-gradient(135deg, rgba(255, 251, 220, 0.12), rgba(3, 78, 162, 0.08), rgba(237, 28, 36, 0.07)),
    rgba(255, 255, 255, 0.06);
}

.team-profile-shell[data-team-profile="ecuador"] .team-bullets li {
  border-color: color-mix(in srgb, #034ea2 30%, var(--line));
  padding-left: 8px;
  background:
    linear-gradient(135deg, rgba(255, 251, 220, 0.12), rgba(3, 78, 162, 0.1), rgba(237, 28, 36, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.team-profile-shell[data-team-profile="ecuador"] .roster-number {
  border-color: rgba(255, 221, 0, 0.48);
  background: linear-gradient(135deg, #f7df75 0 31%, #4f7fbd 31% 70%, #e56f78 70% 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.46);
}

.team-profile-shell[data-team-profile="ecuador"] .roster-position {
  color: #7db8ff;
}

.team-profile-shell[data-team-profile="ecuador"] .coach-label,
.team-profile-shell[data-team-profile="ecuador"] .roster-captain {
  color: #f05b67;
}

.team-profile-shell[data-team-profile="ecuador"] .coach-name {
  color: color-mix(in srgb, #fff7b8 34%, var(--ink));
}

body.theme-light .eyebrow {
  color: var(--brand-dark);
}

body.theme-light .champion-pool-toggle,
body.theme-light .collapsible-title-toggle {
  border-color: rgba(122, 20, 55, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 232, 240, 0.98), rgba(223, 235, 255, 0.98)),
    #ffffff;
}

body.theme-light .champion-pool-toggle strong,
body.theme-light .collapsible-title-toggle strong {
  color: #7a1437;
}

body.theme-light .champion-pool-toggle span,
body.theme-light .collapsible-title-toggle span {
  color: #61445a;
}

body.theme-light .champion-pool-toggle mark,
body.theme-light .collapsible-title-toggle mark {
  background: rgba(122, 20, 55, 0.09);
  color: #7a1437;
}

body.theme-light .quarterfinals-intro,
body.theme-light .quarterfinal-card {
  border-color: rgba(138, 21, 56, 0.18);
  background:
    radial-gradient(circle at top left, rgba(255, 31, 90, 0.14), transparent 8rem),
    radial-gradient(circle at bottom right, rgba(11, 101, 255, 0.12), transparent 9rem),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(18, 9, 31, 0.08);
}

body.theme-light .quarterfinals-intro strong {
  color: #8a1538;
}

body.theme-light .quarterfinal-team {
  border-color: rgba(18, 9, 31, 0.12);
}

body.theme-light .quarterfinal-team::after {
  background: linear-gradient(180deg, rgba(8, 4, 15, 0.08), rgba(8, 4, 15, 0.24));
}

body.theme-light .semifinals-intro,
body.theme-light .semifinal-card {
  border-color: rgba(138, 21, 56, 0.2);
  background:
    radial-gradient(circle at top left, rgba(255, 31, 90, 0.16), transparent 9rem),
    radial-gradient(circle at bottom right, rgba(11, 101, 255, 0.14), transparent 9rem),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(18, 9, 31, 0.09);
}

body.theme-light .semifinals-intro strong {
  color: #8a1538;
  text-shadow: 0 0 14px rgba(255, 31, 90, 0.18);
}

body.theme-light .semifinals-intro span,
body.theme-light .semifinal-meta {
  color: #61445a;
}

body.theme-light .semifinal-team {
  border-color: rgba(18, 9, 31, 0.12);
}

body.theme-light .semifinal-team::after {
  background:
    radial-gradient(circle at center, rgba(255, 214, 107, 0.08), transparent 9rem),
    linear-gradient(180deg, rgba(8, 4, 15, 0.08), rgba(8, 4, 15, 0.24));
}

body.theme-light .finals-intro,
body.theme-light .finals-card {
  border-color: rgba(138, 21, 56, 0.2);
  background:
    radial-gradient(circle at top left, rgba(255, 31, 90, 0.16), transparent 10rem),
    radial-gradient(circle at bottom right, rgba(11, 101, 255, 0.14), transparent 10rem),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 32px rgba(18, 9, 31, 0.1);
}

body.theme-light .finals-intro strong,
body.theme-light .finals-card-title strong {
  color: #8a1538;
  text-shadow: 0 0 16px rgba(255, 31, 90, 0.18);
}

body.theme-light .finals-intro span,
body.theme-light .finals-card-title span,
body.theme-light .finals-team-history {
  color: #61445a;
}

body.theme-light .third-place-card {
  border-color: rgba(162, 94, 34, 0.26);
  background:
    radial-gradient(circle at top left, rgba(255, 145, 77, 0.17), transparent 10rem),
    radial-gradient(circle at bottom right, rgba(11, 101, 255, 0.13), transparent 10rem),
    rgba(255, 255, 255, 0.92);
}

body.theme-light .finals-main-copy {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 107, 0.18), transparent 8rem),
    rgba(255, 255, 255, 0.68);
  color: #3f273b;
}

body.theme-light .finals-main-copy strong,
body.theme-light .finals-venue-link {
  color: #8a1538;
}

body.theme-light .finals-team {
  border-color: rgba(18, 9, 31, 0.14);
}

body.theme-light .finals-team::after {
  background:
    radial-gradient(circle at top, rgba(255, 214, 107, 0.1), transparent 9rem),
    linear-gradient(180deg, rgba(8, 4, 15, 0.06), rgba(8, 4, 15, 0.24));
}

body.theme-light .final-venue-hero {
  border-color: rgba(138, 21, 56, 0.22);
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 31, 90, 0.12), transparent 10rem),
    radial-gradient(circle at 82% 18%, rgba(11, 101, 255, 0.12), transparent 10rem),
    rgba(255, 255, 255, 0.86);
}

body.theme-light .final-venue-copy h3 {
  color: #12091f;
}

body.theme-light .venue-section-heading {
  border-color: rgba(138, 21, 56, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 31, 90, 0.08), rgba(11, 101, 255, 0.08)),
    rgba(255, 255, 255, 0.82);
}

body.theme-light .pill-button,
body.theme-light .chip {
  background: #ffffff;
}

body.theme-light .accent-button {
  background: #ffffff;
  color: var(--ink);
}

body.theme-light .share-app-button {
  background: #ffffff;
  color: var(--ink);
}

body.theme-light .install-helper {
  border-color: rgba(217, 4, 69, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 232, 240, 0.96), rgba(232, 241, 255, 0.96)),
    #ffffff;
  box-shadow: 0 12px 24px rgba(38, 6, 24, 0.12);
}

body.theme-light .install-helper-icon,
body.theme-light .install-helper button {
  background: rgba(217, 4, 69, 0.08);
}

body.theme-light .hero-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 232, 240, 0.96)),
    radial-gradient(circle at right, rgba(217, 4, 69, 0.18), transparent 14rem);
}

body.theme-light .match-card::before,
body.theme-light .mini-match::before,
body.theme-light .quick-match::before {
  opacity: 0.3;
}

body.theme-light .team-card,
body.theme-light .choice-button,
body.theme-light .score-picker input,
body.theme-light .mini-match,
body.theme-light .quick-match,
body.theme-light .champion-pool-card,
body.theme-light .champion-entry-row,
body.theme-light .champion-entry-pill,
body.theme-light .round32-card,
body.theme-light .bracket-slot,
body.theme-light .quick-picks,
body.theme-light .review-panel,
body.theme-light .rules-panel,
body.theme-light .offer-card,
body.theme-light .leaderboard-row,
body.theme-light .bracket-node,
body.theme-light .venue-row,
body.theme-light .venue-card,
body.theme-light .venue-fixture,
body.theme-light .roster-box,
body.theme-light .pick-row,
body.theme-light .formation-card,
body.theme-light .group-standings {
  background: rgba(255, 255, 255, 0.88);
}

body.theme-light .champion-pool-status {
  color: #6a2b00;
  text-shadow: none;
}

body.theme-light .venue-image-wrap {
  background:
    linear-gradient(135deg, rgba(217, 4, 69, 0.16), rgba(0, 168, 107, 0.14)),
    #f0e7ef;
}

body.theme-light .formation-pitch {
  background: #008915;
}

body.theme-light .formation-card.has-custom-lineup .formation-pitch {
  background: #008915;
}

body.theme-light .team-profile-shell .formation-card,
body.theme-light .team-profile-shell .roster-box {
  border-color: color-mix(in srgb, var(--team-primary, var(--brand)) 28%, rgba(18, 9, 31, 0.12));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--team-primary, var(--brand)) 12%, transparent), color-mix(in srgb, var(--team-secondary, var(--brand-dark)) 8%, transparent)),
    #ffffff;
}

body.theme-light .team-profile-shell .team-bullets li {
  border-color: color-mix(in srgb, var(--team-primary, var(--brand)) 24%, rgba(18, 9, 31, 0.12));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--team-primary, var(--brand)) 10%, transparent), color-mix(in srgb, var(--team-secondary, var(--brand-dark)) 7%, transparent)),
    #ffffff;
}

body.theme-light .team-profile-shell .roster-name,
body.theme-light .team-profile-shell .coach-name {
  color: #12091f;
}

body.theme-light .team-profile-shell[data-team-profile="ecuador"] .roster-box {
  border-color: color-mix(in srgb, #034ea2 20%, rgba(18, 9, 31, 0.12));
  background:
    linear-gradient(135deg, rgba(255, 253, 232, 0.95), rgba(3, 78, 162, 0.045), rgba(237, 28, 36, 0.035)),
    #ffffff;
}

body.theme-light .team-profile-shell[data-team-profile="ecuador"] .team-bullets li {
  border-color: color-mix(in srgb, #034ea2 18%, rgba(18, 9, 31, 0.12));
  padding-left: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 232, 0.9), rgba(3, 78, 162, 0.045), rgba(237, 28, 36, 0.035)),
    #ffffff;
}

body.theme-light .team-profile-shell[data-team-profile="ecuador"] .coach-name {
  color: #034ea2;
}

body.theme-light .team-profile-shell[data-team-profile="ecuador"] .coach-label,
body.theme-light .team-profile-shell[data-team-profile="ecuador"] .roster-captain {
  color: #ed1c24;
}

body.theme-light .team-profile-shell[data-team-profile="ecuador"] .roster-position {
  color: #034ea2;
}

body.theme-light .quick-team {
  background: rgba(18, 9, 31, 0.06);
}

body.theme-light .quick-team.team-favorite {
  background:
    linear-gradient(135deg, rgba(18, 9, 31, 0.06), rgba(18, 9, 31, 0.24)),
    var(--favorite-flag),
    var(--favorite-theme);
  background-position: center;
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: #ffffff;
}

body.theme-light .result-panel {
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.28), rgba(255, 255, 255, 0.92)),
    #ffffff;
}

body.theme-light .current-user-row {
  border-color: rgba(8, 61, 140, 0.42);
  background:
    linear-gradient(135deg, rgba(8, 61, 140, 0.12), rgba(255, 255, 255, 0.96)),
    #ffffff;
}

body.theme-light .reto-form input,
body.theme-light .reto-form select,
body.theme-light .friend-form input,
body.theme-light .friend-form select,
body.theme-light .match-select-label select,
body.theme-light .reto-sides > div,
body.theme-light .reto-match-strip,
body.theme-light .reto-settings-panel,
body.theme-light .reto-pick-block {
  background: rgba(255, 255, 255, 0.72);
  color-scheme: light;
}

body.theme-light .reto-stake-prize {
  border-color: rgba(180, 96, 0, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 231, 140, 0.32), transparent 58%),
    linear-gradient(135deg, rgba(255, 246, 224, 0.94), rgba(255, 234, 241, 0.88));
}

body.theme-light .reto-stake-prize span {
  color: #9b4f00;
}

body.theme-light .reto-stake-prize strong {
  color: #6b2f00;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.54);
}

body.theme-light .reto-status {
  color: #6f2c62;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
}

body.theme-light .reto-sides > div {
  background:
    linear-gradient(180deg, rgba(8, 4, 15, 0.03), rgba(8, 4, 15, 0.16)),
    var(--favorite-flag),
    var(--favorite-theme, rgba(255, 255, 255, 0.72));
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center;
}

body.theme-light .reto-card h3 {
  color: #7b1432;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 12px rgba(123, 20, 50, 0.14);
}

body.theme-light .reto-pick-block .section-title > span {
  color: #005d8f;
  text-shadow: none;
}

body.theme-light .reto-settings-panel {
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.22), rgba(217, 4, 69, 0.1)),
    rgba(255, 255, 255, 0.82);
}

body.theme-light .reto-form select option,
body.theme-light .friend-form select option,
body.theme-light .match-select-label select option {
  background: #ffffff;
  color: #12091f;
}

body.theme-light .points-pill,
body.theme-light .offer-icon,
body.theme-light .secondary-button,
body.theme-light .slot-pill,
body.theme-light .legal-box {
  background: rgba(255, 255, 255, 0.72);
}

body.theme-light .score-picker strong,
body.theme-light .nav-item.active {
  color: var(--brand-dark);
}

body.theme-light .chip.active {
  background: var(--ink);
  color: #ffffff;
}

body.theme-light .quick-team.active {
  outline-color: rgba(18, 9, 31, 0.24);
}

body.theme-light .form-empty {
  border-color: rgba(18, 9, 31, 0.24);
}

body.theme-light .tip-note {
  border-color: rgba(217, 4, 69, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(217, 4, 69, 0.045)),
    rgba(255, 255, 255, 0.68);
  color: rgba(18, 9, 31, 0.62);
}

body.theme-light .tip-note a {
  color: rgba(143, 0, 48, 0.78);
}

body.theme-light .app-rating-panel {
  border-color: rgba(18, 9, 31, 0.1);
  background:
    radial-gradient(circle at 18% 0, rgba(255, 255, 255, 0.86), transparent 8rem),
    linear-gradient(135deg, rgba(247, 244, 250, 0.95), rgba(231, 226, 238, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.theme-light .rating-star {
  border-color: rgba(18, 9, 31, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 234, 244, 0.88));
  color: rgba(18, 9, 31, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.theme-light .rating-star.is-filled {
  border-color: rgba(166, 111, 0, 0.24);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.78), transparent 1.2rem),
    linear-gradient(145deg, #ffd77c, #e9a019);
  color: #2b1903;
  box-shadow:
    0 6px 14px rgba(166, 111, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.theme-light .prize-panel {
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.28), rgba(255, 255, 255, 0.96)),
    #ffffff;
}

body.theme-light .modal-card {
  background: var(--modal-bg);
}

body.theme-light .modal-card.share-modal-card {
  background:
    radial-gradient(circle at 11% 24%, rgba(255, 31, 90, 0.16), transparent 22%),
    radial-gradient(circle at 89% 24%, rgba(0, 229, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #161028 0%, #141229 100%);
  border-color: rgba(255, 31, 90, 0.2);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.theme-light .modal-card.share-modal-card .section-title .eyebrow {
  color: #ff88a9;
}

body.theme-light .modal-card.share-modal-card .section-title h2 {
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.28),
    0 0 8px rgba(255, 31, 90, 0.4),
    0 1px 6px rgba(0, 0, 0, 0.24);
}

body.theme-light .modal-card.share-modal-card .modal-close {
  border-color: rgba(255, 31, 90, 0.28);
  background: rgba(255, 255, 255, 0.96);
  color: #7d1025;
  box-shadow:
    0 10px 18px rgba(18, 9, 31, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.24);
}

body.theme-light .bottom-nav {
  border-color: rgba(18, 9, 31, 0.12);
  background: #ffffff;
  box-shadow: 0 -16px 30px rgba(38, 6, 24, 0.18);
}

body.theme-light .nav-item {
  background: #f0e7ef;
  color: #51445d;
}

body.theme-light .nav-item.active {
  background: #d90445;
  color: #ffffff;
}

body.theme-light .world-bracket-panel {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 200, 87, 0.26), transparent 12rem),
    radial-gradient(circle at top left, rgba(82, 197, 255, 0.34), transparent 14rem),
    linear-gradient(180deg, #0b78bb 0%, #064f8d 44%, #062d65 100%);
  color: #ffffff;
}

body.theme-light .world-bracket-panel .round32-card,
body.theme-light .world-bracket-panel .projected-match {
  background:
    linear-gradient(180deg, rgba(9, 31, 85, 0.88), rgba(4, 22, 67, 0.9)),
    rgba(9, 31, 85, 0.88);
}

body.theme-light .world-bracket-panel .slot-pill {
  background: rgba(255, 215, 106, 0.18);
  color: #fff0b5;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rankPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(11, 77, 162, 0);
  }
  50% {
    box-shadow: 0 0 0 6px var(--score-ring);
  }
}

@media (min-width: 760px) {
  .app-shell {
    margin-top: 28px;
    margin-bottom: 28px;
    min-height: calc(100vh - 56px);
    min-height: calc(100dvh - 56px);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(18, 9, 31, 0.32);
  }

  .bottom-nav {
    border-radius: 18px 18px 0 0;
  }
}
