:root {
  --bg: #07120d;
  --ink: #f7f2e8;
  --muted: rgba(247, 242, 232, 0.68);
  --soft: rgba(247, 242, 232, 0.1);
  --softer: rgba(247, 242, 232, 0.06);
  --line: rgba(247, 242, 232, 0.16);
  --panel: rgba(12, 24, 19, 0.72);
  --panel-strong: rgba(16, 31, 24, 0.88);
  --paper: #fbf6ec;
  --paper-ink: #18231d;
  --grass: #17a56d;
  --mint: #79e1bd;
  --gold: #f4c85c;
  --coral: #ff735f;
  --sky: #5bc6ff;
  --plum: #7e5bef;
  --danger: #ff5d76;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --radius-sm: 6px;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 12%, rgba(244, 200, 92, 0.16), transparent 24rem),
    linear-gradient(160deg, rgba(7, 18, 13, 0.82), rgba(8, 19, 24, 0.92) 44%, #07120d 100%);
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 18, 13, 0.42), rgba(7, 18, 13, 0.76)),
    linear-gradient(0deg, rgba(7, 18, 13, 0.86), rgba(7, 18, 13, 0.12) 48%, rgba(7, 18, 13, 0.84)),
    url("assets/stadium-hero.webp") center top / cover no-repeat;
  filter: saturate(1.05);
}

.backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, transparent 74%);
}

.app-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.sticky-head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  gap: 10px;
  padding: 14px 0 10px;
  background: rgba(7, 18, 13, 0.97);
}

.sticky-head::after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 22px;
  content: "";
  background: linear-gradient(rgba(7, 18, 13, 0.95), transparent);
  pointer-events: none;
}

.topbar,
.tabbar,
.hero-dashboard,
.panel,
.profile-card,
.compact-panel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(8, 19, 15, 0.76);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(121, 225, 189, 0.4);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(121, 225, 189, 0.2), rgba(91, 198, 255, 0.12)),
    rgba(255, 255, 255, 0.06);
  color: var(--mint);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-size: 1rem;
  font-weight: 850;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.78rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.security-pill,
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(121, 225, 189, 0.28);
  border-radius: 999px;
  background: rgba(121, 225, 189, 0.1);
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(121, 225, 189, 0.62);
  background: rgba(121, 225, 189, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.icon-button.danger:hover,
.icon-button.danger:focus-visible {
  border-color: rgba(255, 93, 118, 0.7);
  background: rgba(255, 93, 118, 0.14);
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius);
  background: rgba(8, 19, 15, 0.68);
}

.tab {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-weight: 780;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.tab:hover,
.tab:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.tab.is-active {
  color: #092017;
  background: linear-gradient(135deg, var(--mint), var(--gold));
}

.hero-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 18px;
  margin-top: 18px;
  padding: 40px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(12, 24, 19, 0.76), rgba(12, 24, 19, 0.34)),
    rgba(12, 24, 19, 0.55);
}

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

.eyebrow {
  margin: 0 0 7px;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 9ch;
  margin-bottom: 22px;
  font-size: 7.2rem;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.85rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.hero-kpis,
.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.profile-card .mini-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kpi,
.mini-stat {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.kpi strong,
.mini-stat strong {
  display: block;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.kpi span,
.mini-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.deadline-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(244, 200, 92, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 200, 92, 0.2), rgba(255, 115, 95, 0.1)),
    rgba(8, 19, 15, 0.5);
}

.deadline-card h2 {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.deadline-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.deadline-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  padding-top: 2px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(8, 19, 15, 0.9) 0 58%, transparent 59%),
    conic-gradient(var(--gold), var(--mint), var(--sky), var(--gold));
}

.deadline-ring span {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 0.95;
}

.deadline-ring small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.1;
}

.workspace {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.side-rail {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 14px;
}

.profile-card,
.compact-panel,
.panel {
  border-radius: var(--radius);
  background: var(--panel);
}

.profile-card,
.compact-panel {
  padding: 16px;
}

.profile-top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(91, 198, 255, 0.38);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(91, 198, 255, 0.24), rgba(244, 200, 92, 0.18)),
    rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-weight: 900;
}

.player-field,
.select-field,
.score-field,
.bonus-field {
  display: grid;
  gap: 6px;
}

.player-field span,
.select-field span,
.score-field span,
.bonus-field span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
}

.player-field input,
.select-field select,
.score-input,
.bonus-field input,
.bonus-field select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
  outline: none;
}

.player-field input,
.bonus-field input {
  width: 100%;
  padding: 0 12px;
}

.select-field select,
.bonus-field select {
  min-width: 130px;
  padding: 0 34px 0 12px;
}

.player-field input:focus,
.select-field select:focus,
.score-input:focus,
.bonus-field input:focus,
.bonus-field select:focus {
  border-color: rgba(121, 225, 189, 0.72);
  box-shadow: 0 0 0 3px rgba(121, 225, 189, 0.16);
}

.compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.compact-head h2 {
  font-size: 1rem;
}

.compact-head span {
  color: var(--gold);
  font-weight: 900;
}

.rank-mini,
.ranking-table,
.standings-wrap {
  display: grid;
  gap: 8px;
}

.view-stack {
  min-width: 0;
}

.panel {
  min-height: 520px;
  padding: 18px;
}

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

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

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

.match-card {
  display: grid;
  gap: 12px;
  min-height: 214px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
}

.match-card.is-final {
  border-color: rgba(244, 200, 92, 0.36);
}

.match-meta,
.match-footer,
.rank-row,
.standing-row,
.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.match-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.status-badge.final {
  background: rgba(244, 200, 92, 0.16);
  color: var(--gold);
}

.teams {
  display: grid;
  gap: 8px;
}

.team-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 10px;
}

.team-chip {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.team-code {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--team-color, var(--mint)), white 20%);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--team-color, var(--mint)), transparent 78%);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.team-code-mex { --team-color: #11845b; }
.team-code-jpn { --team-color: #d94f55; }
.team-code-mar { --team-color: #c0364c; }
.team-code-can { --team-color: #df3d35; }
.team-code-usa { --team-color: #4267c7; }
.team-code-ger { --team-color: #e0b94f; }
.team-code-gha { --team-color: #e0a928; }
.team-code-kor { --team-color: #4c7bd9; }
.team-code-bra { --team-color: #27a756; }
.team-code-esp { --team-color: #d95d43; }
.team-code-nga { --team-color: #1e9b68; }
.team-code-cro { --team-color: #5f8fe6; }
.team-code-fra { --team-color: #4d7fe6; }
.team-code-arg { --team-color: #66bde8; }
.team-code-eng { --team-color: #d9dee8; }
.team-code-por { --team-color: #d74855; }
.team-code-ned { --team-color: #f07b35; }
.team-code-sen { --team-color: #2fb16f; }
.team-code-aus { --team-color: #f2c45a; }
.team-code-col { --team-color: #f0cf52; }
.team-code-bel { --team-color: #d14d43; }
.team-code-uru { --team-color: #72c7ee; }
.team-code-jma { --team-color: #f0cb55; }
.team-code-irn { --team-color: #45ad72; }
.team-code-ita { --team-color: #4b85d9; }
.team-code-egy { --team-color: #cd3e48; }
.team-code-chi { --team-color: #4377d4; }
.team-code-nzl { --team-color: #f3f3f0; }
.team-code-sui { --team-color: #e34e50; }
.team-code-den { --team-color: #d94a4a; }
.team-code-pan { --team-color: #4d78d9; }
.team-code-ksa { --team-color: #32a56e; }
.team-code-pol { --team-color: #e6e6df; }
.team-code-ser { --team-color: #de4d61; }
.team-code-per { --team-color: #d64b4b; }
.team-code-qat { --team-color: #8d3c68; }
.team-code-swe { --team-color: #4f97de; }
.team-code-cmr { --team-color: #2eaa66; }
.team-code-ecu { --team-color: #e6bb3d; }
.team-code-crc { --team-color: #4f78dc; }
.team-code-tur { --team-color: #dc4d4f; }
.team-code-rsa { --team-color: #3fac6e; }
.team-code-ukr { --team-color: #e0c64e; }
.team-code-nor { --team-color: #4e76cc; }
.team-code-aut { --team-color: #df4f4e; }
.team-code-cze { --team-color: #4a7dd9; }
.team-code-wal { --team-color: #d94b4b; }
.team-code-sco { --team-color: #4d79d4; }

.team-name {
  overflow: hidden;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-input {
  width: 54px;
  padding: 0;
  text-align: center;
  font-weight: 900;
  appearance: textfield;
}

.score-input::-webkit-outer-spin-button,
.score-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  cursor: pointer;
}

.chip-button:hover,
.chip-button:focus-visible {
  border-color: rgba(91, 198, 255, 0.55);
  color: var(--ink);
  outline: none;
}

.score-preview {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.rank-row,
.standing-row,
.team-row {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
}

.rank-row.local {
  border-color: rgba(121, 225, 189, 0.48);
  background: rgba(121, 225, 189, 0.12);
}

.rank-id,
.standing-rank {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 900;
}

.rank-main,
.team-main {
  min-width: 0;
  margin-right: auto;
}

.rank-main strong,
.team-main strong {
  display: block;
}

.rank-main span,
.team-main span,
.standing-form {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 710;
}

.rank-points,
.team-points {
  color: var(--gold);
  font-weight: 950;
  white-space: nowrap;
}

.standings-table {
  display: grid;
  gap: 8px;
}

.standing-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) repeat(5, 42px);
}

.standing-stat {
  text-align: right;
  font-weight: 850;
}

.standing-head {
  min-height: 34px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.bracket-board {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  gap: 12px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 8px;
}

.bracket-round {
  display: grid;
  min-width: 210px;
  gap: 10px;
}

.bracket-round h3 {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.bracket-match {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
}

.bracket-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
}

.bracket-team.winner {
  color: var(--mint);
  font-weight: 900;
}

.bonus-grid,
.team-grid,
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bonus-card,
.team-card,
.rule-card {
  min-height: 160px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
}

.bonus-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.bonus-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.bonus-points {
  color: var(--gold);
  font-weight: 950;
  white-space: nowrap;
}

.team-card {
  display: grid;
  gap: 12px;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.member-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
}

.rule-card {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 120px;
}

.rule-card strong {
  color: var(--gold);
  font-size: 2.2rem;
  line-height: 1;
}

.rule-card span {
  color: var(--muted);
  font-weight: 780;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(380px, calc(100% - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(121, 225, 189, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(8, 19, 15, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .workspace,
  .hero-dashboard {
    grid-template-columns: 1fr;
  }

  .hero-dashboard {
    padding: 30px;
  }

  h1 {
    font-size: 5.8rem;
  }

  .side-rail {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .match-grid,
  .bonus-grid,
  .team-grid,
  .rules-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 18px, 1440px);
  }

  .sticky-head {
    gap: 6px;
    padding: 8px 0 8px;
  }

  .brand-sub,
  .security-pill {
    display: none;
  }

  .topbar-actions {
    gap: 5px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .tabbar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    overflow: visible;
  }

  .tab {
    min-width: 0;
    min-height: 38px;
    font-size: 0.9rem;
  }

  .hero-dashboard {
    padding: 18px;
  }

  h1 {
    font-size: 4.35rem;
    line-height: 0.9;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero-kpis,
  .mini-stats,
  .side-rail,
  .match-grid,
  .bonus-grid,
  .team-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .deadline-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .deadline-ring {
    width: 80px;
  }

  .deadline-ring span {
    font-size: 1.65rem;
  }

  .deadline-ring small {
    font-size: 0.66rem;
  }

  .panel {
    padding: 14px;
  }

  .panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar {
    justify-content: stretch;
  }

  .select-field select {
    width: 100%;
  }

  .standing-row {
    grid-template-columns: 32px minmax(130px, 1fr) repeat(5, 36px);
    overflow-x: auto;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.58rem;
  }

  .deadline-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .deadline-ring {
    width: 74px;
  }
}

@media (max-width: 370px) {
  .tabbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-name {
    display: none;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }
}

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

@media print {
  body {
    background: #fff;
    color: #111;
  }

  .backdrop,
  .topbar-actions,
  .tabbar,
  .side-rail,
  .toast,
  .splash,
  .tip-progress {
    display: none !important;
  }

  .app-shell {
    width: 100%;
    padding: 0;
  }

  .topbar,
  .hero-dashboard,
  .panel {
    border: 1px solid #ddd;
    box-shadow: none;
    background: #fff;
    color: #111;
  }

  .panel.is-hidden {
    display: block;
  }
}

/* ---- Tipp-Fortschritt ---- */

.tip-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.tip-progress-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tip-progress-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tip-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.tip-progress-fill {
  width: var(--progress, 0%);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--sky));
  transition: width 360ms ease;
}

.tip-progress.is-complete .tip-progress-fill {
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

.tip-progress.is-complete .tip-progress-label {
  color: var(--gold);
}

.jump-button {
  border-color: rgba(121, 225, 189, 0.45);
  color: var(--mint);
}

.jump-button:disabled {
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
  opacity: 0.6;
}

/* ---- Tippkarten-Status ---- */

.match-card.is-tipped {
  border-color: rgba(121, 225, 189, 0.42);
}

.match-card.is-target {
  border-color: rgba(244, 200, 92, 0.75);
}

.status-badge.tipped {
  background: rgba(121, 225, 189, 0.16);
  color: var(--mint);
}

.chip-button.is-active {
  border-color: rgba(244, 200, 92, 0.72);
  background: rgba(244, 200, 92, 0.16);
  color: var(--gold);
}

.empty-card {
  display: grid;
  justify-items: start;
  gap: 12px;
  align-content: center;
  min-height: 160px;
}

@media (prefers-reduced-motion: no-preference) {
  .match-card.is-saved {
    animation: card-save 620ms ease;
  }

  .match-card.is-target {
    animation: card-target 1.4s ease;
  }
}

@keyframes card-save {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(121, 225, 189, 0);
  }

  30% {
    transform: scale(1.015);
    box-shadow: 0 0 0 5px rgba(121, 225, 189, 0.35);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(121, 225, 189, 0);
  }
}

@keyframes card-target {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 200, 92, 0);
  }

  25% {
    box-shadow: 0 0 0 5px rgba(244, 200, 92, 0.45);
  }
}

/* ---- First-Visit Splash ---- */

body.splash-open {
  overflow: hidden;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  background: var(--bg);
  transition: opacity 320ms ease;
}

.splash[hidden] {
  display: none;
}

.splash.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.splash-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(12deg, rgba(7, 18, 13, 0.94) 16%, rgba(7, 18, 13, 0.3) 54%, rgba(7, 18, 13, 0.52) 100%),
    radial-gradient(circle at 74% 16%, rgba(244, 200, 92, 0.2), transparent 26rem),
    url("assets/stadium-hero.webp") center / cover no-repeat;
}

.splash-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

.splash-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 30px;
}

.splash-brand {
  position: absolute;
  top: 26px;
  left: 30px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(121, 225, 189, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(7, 18, 13, 0.55);
  color: var(--mint);
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.splash-skip {
  position: absolute;
  top: 26px;
  right: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 18, 13, 0.55);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.splash-skip:hover,
.splash-skip:focus-visible {
  border-color: rgba(121, 225, 189, 0.6);
  color: var(--ink);
  outline: none;
}

.splash-skip kbd {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.7rem;
}

.splash-content {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 860px;
  padding-bottom: 22px;
}

.splash-rule {
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transform-origin: left;
}

.splash-eyebrow {
  margin: 0;
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.splash-title {
  display: grid;
  margin: 0;
  font-size: 6.6rem;
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
}

.splash-year {
  color: transparent;
  -webkit-text-stroke: 2px rgba(244, 200, 92, 0.85);
}

@supports not (-webkit-text-stroke: 1px white) {
  .splash-year {
    color: var(--gold);
  }
}

.splash-facts {
  margin: 2px 0 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.splash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.splash-cta {
  min-height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #221506;
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(244, 200, 92, 0.3);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.splash-cta:hover,
.splash-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(244, 200, 92, 0.42);
}

.splash-cta:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.splash-secondary {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(121, 225, 189, 0.45);
  border-radius: 999px;
  background: rgba(7, 18, 13, 0.5);
  color: var(--mint);
  font-size: 0.98rem;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.splash-secondary:hover,
.splash-secondary:focus-visible {
  background: rgba(121, 225, 189, 0.16);
  transform: translateY(-2px);
  outline: none;
}

.splash-secondary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .splash.is-open .splash-media {
    animation: splash-zoom 6.5s ease-out both;
  }

  .splash.is-open .splash-rule {
    animation: splash-sweep 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 150ms backwards;
  }

  .splash.is-open .splash-eyebrow,
  .splash.is-open .splash-line,
  .splash.is-open .splash-facts,
  .splash.is-open .splash-actions {
    animation: splash-rise 640ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  }

  .splash.is-open .splash-eyebrow {
    animation-delay: 240ms;
  }

  .splash.is-open .splash-line:nth-child(1) {
    animation-delay: 330ms;
  }

  .splash.is-open .splash-line:nth-child(2) {
    animation-delay: 420ms;
  }

  .splash.is-open .splash-line:nth-child(3) {
    animation-delay: 510ms;
  }

  .splash.is-open .splash-facts {
    animation-delay: 640ms;
  }

  .splash.is-open .splash-actions {
    animation-delay: 760ms;
  }
}

@keyframes splash-zoom {
  from {
    transform: scale(1.07);
  }

  to {
    transform: scale(1);
  }
}

@keyframes splash-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes splash-sweep {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 760px) {
  .splash-inner {
    padding: 18px;
  }

  .splash-brand {
    top: 16px;
    left: 18px;
    width: 42px;
    height: 42px;
  }

  .splash-skip {
    top: 16px;
    right: 18px;
  }

  .splash-title {
    font-size: 4.1rem;
  }

  .splash-facts {
    font-size: 0.92rem;
  }

  .splash-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .splash-cta,
  .splash-secondary {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .splash-title {
    font-size: 3.35rem;
  }
}

/* ---- Dunkle Select-Dropdowns ---- */

select option {
  background-color: #0c1813;
  color: var(--ink);
}

/* ---- Team-Combobox mit Suche ---- */

.combo {
  position: relative;
}

.combo-input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
  outline: none;
}

.combo-input::placeholder {
  color: rgba(247, 242, 232, 0.45);
}

.combo-input:focus {
  border-color: rgba(121, 225, 189, 0.72);
  box-shadow: 0 0 0 3px rgba(121, 225, 189, 0.16);
}

.combo-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 6;
  display: grid;
  max-height: 236px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #0d1d16;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  scrollbar-width: thin;
  scrollbar-color: rgba(121, 225, 189, 0.35) transparent;
}

.combo-list[hidden] {
  display: none;
}

.combo-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.combo-option:hover,
.combo-option.is-active {
  background: rgba(121, 225, 189, 0.14);
}

.combo-option.is-selected .combo-name {
  color: var(--mint);
  font-weight: 850;
}

.combo-code {
  flex: 0 0 auto;
  width: 42px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.combo-name {
  overflow: hidden;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo-empty {
  padding: 12px 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 740;
}

/* ---- Prediction Cards (Bonus) ---- */

.bonus-card {
  transition: border-color 200ms ease;
}

.bonus-card.is-answered {
  border-color: rgba(121, 225, 189, 0.42);
}

.bonus-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.bonus-titles {
  min-width: 0;
}

.bonus-status {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bonus-card.is-answered .bonus-status {
  color: var(--mint);
}

.bonus-reward {
  flex: 0 0 auto;
  text-align: right;
}

.bonus-reward strong {
  display: block;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

.bonus-reward span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bonus-field input::placeholder {
  color: rgba(247, 242, 232, 0.45);
}

.panel-badge.is-complete {
  border-color: rgba(244, 200, 92, 0.4);
  background: rgba(244, 200, 92, 0.14);
  color: var(--gold);
}

/* ---- Ranglisten-Bewegung ---- */

.rank-delta {
  flex: 0 0 auto;
  min-width: 34px;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 900;
}

.rank-delta.up {
  color: var(--mint);
}

.rank-delta.down {
  color: var(--coral);
}

.rank-delta.flat {
  color: rgba(247, 242, 232, 0.35);
}

/* ---- Tipp-Profil ---- */

.persona-tag {
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.insight-grid .mini-stat {
  min-height: 70px;
  padding: 10px 12px;
}

.insight-grid .mini-stat strong {
  font-size: 1.25rem;
}

.insight-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
}

/* ---- Konfetti ---- */

.confetti {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -14px;
  left: var(--cx, 50%);
  width: 9px;
  height: 14px;
  border-radius: 2px;
  background: var(--cc, var(--gold));
  animation: confetti-fall var(--ct, 2.6s) ease-in var(--cd, 0s) forwards;
  opacity: 0;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(108vh) rotate(var(--cr, 360deg));
    opacity: 0.7;
  }
}

/* ---- Elfmeterschiessen ---- */

.shootout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
  gap: 18px;
  align-items: start;
}

.shootout-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(7, 18, 13, 0.25), rgba(7, 18, 13, 0.55) 78%),
    linear-gradient(160deg, #1d5c40, #123d2b 60%, #0d2c20);
}

.shootout-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(
    0deg,
    transparent 0 26px,
    rgba(255, 255, 255, 0.045) 26px 52px
  );
  pointer-events: none;
}

.goal-frame {
  position: absolute;
  top: 9%;
  left: 12%;
  width: 76%;
  height: 56%;
  border: 4px solid rgba(247, 242, 232, 0.92);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.goal-net {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 242, 232, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 232, 0.14) 1px, transparent 1px);
  background-size: 13px 13px;
  pointer-events: none;
}

.goal-zones {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
}

.goal-zone {
  border: 1px dashed rgba(247, 242, 232, 0.18);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.goal-zone:hover,
.goal-zone:focus-visible {
  border-color: rgba(121, 225, 189, 0.6);
  background: rgba(121, 225, 189, 0.12);
  outline: none;
}

.goal-zone.was-goal {
  border-color: rgba(121, 225, 189, 0.8);
  background: rgba(121, 225, 189, 0.28);
}

.goal-zone.was-saved {
  border-color: rgba(255, 115, 95, 0.8);
  background: rgba(255, 115, 95, 0.24);
}

.keeper {
  position: absolute;
  bottom: 0;
  left: var(--kx, 50%);
  z-index: 2;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  transition: left 380ms cubic-bezier(0.3, 0.9, 0.4, 1);
}

.keeper-figure {
  position: relative;
  display: grid;
  justify-items: center;
  transform-origin: 50% 88%;
  transition: transform 380ms cubic-bezier(0.3, 0.9, 0.4, 1);
}

.keeper-head {
  position: relative;
  z-index: 2;
  width: 17px;
  height: 17px;
  margin-bottom: 1px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #f2c79b, #d99b63 78%);
}

.keeper-head::before {
  position: absolute;
  top: -1px;
  right: 1px;
  left: 1px;
  height: 8px;
  content: "";
  border-radius: 9px 9px 3px 3px;
  background: #2c2118;
}

.keeper-torso {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 28px;
  border-radius: 9px 9px 5px 5px;
  background: linear-gradient(180deg, #f4c85c 0 62%, #e09b3e);
}

.keeper-torso::after {
  position: absolute;
  top: 9px;
  right: 7px;
  left: 7px;
  height: 3px;
  content: "";
  border-radius: 2px;
  background: rgba(12, 24, 19, 0.4);
}

.keeper-arm {
  position: absolute;
  top: 14px;
  z-index: 0;
  width: 8px;
  height: 27px;
  border-radius: 5px;
  background: linear-gradient(180deg, #f4c85c, #e09b3e);
  transition: transform 380ms cubic-bezier(0.3, 0.9, 0.4, 1);
}

.keeper-arm::after {
  position: absolute;
  top: -8px;
  left: -1px;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: #f7f2e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.keeper-arm.left {
  left: -7px;
  transform: rotate(24deg);
  transform-origin: 50% 90%;
}

.keeper-arm.right {
  right: -7px;
  transform: rotate(-24deg);
  transform-origin: 50% 90%;
}

.keeper-shorts {
  width: 26px;
  height: 9px;
  border-radius: 2px 2px 4px 4px;
  background: #16241c;
}

.keeper-legs {
  width: 24px;
  height: 16px;
  border-radius: 0 0 3px 3px;
  background:
    linear-gradient(180deg, transparent 0 52%, #f7f2e8 52%),
    linear-gradient(90deg, #d99b63 0 38%, transparent 38% 62%, #d99b63 62%);
}

.keeper-shadow {
  width: 42px;
  height: 7px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(1px);
}

.keeper.is-diving .keeper-figure {
  transform: translateY(-15px);
}

.keeper.is-diving .keeper-arm.left {
  transform: rotate(36deg) translateY(-4px);
}

.keeper.is-diving .keeper-arm.right {
  transform: rotate(-36deg) translateY(-4px);
}

.keeper.is-diving.dive-low .keeper-figure {
  transform: translateY(5px) scaleY(0.82);
}

.keeper.is-diving.dive-left .keeper-figure {
  transform: rotate(-56deg) translate(-8px, -9px);
}

.keeper.is-diving.dive-right .keeper-figure {
  transform: rotate(56deg) translate(8px, -9px);
}

.keeper.is-diving.dive-low.dive-left .keeper-figure {
  transform: rotate(-80deg) translate(-12px, 7px);
}

.keeper.is-diving.dive-low.dive-right .keeper-figure {
  transform: rotate(80deg) translate(12px, 7px);
}

.ball {
  position: absolute;
  top: var(--by, 88%);
  left: var(--bx, 50%);
  z-index: 4;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #ffffff 0 38%, #cfd4cd 60%, #9aa098 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
  transition:
    top 420ms cubic-bezier(0.2, 0.9, 0.3, 1),
    left 420ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

.pitch-line {
  position: absolute;
  right: 0;
  bottom: 14%;
  left: 0;
  height: 2px;
  background: rgba(247, 242, 232, 0.3);
}

.shootout-hud {
  display: grid;
  gap: 14px;
  justify-items: start;
  align-content: start;
  min-height: 200px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.shot-dots {
  display: flex;
  gap: 8px;
}

.shot-dot {
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.shot-dot.is-goal {
  border-color: rgba(121, 225, 189, 0.7);
  background: var(--mint);
}

.shot-dot.is-saved {
  border-color: rgba(255, 115, 95, 0.7);
  background: var(--coral);
}

.shootout-message {
  min-height: 44px;
  margin: 0;
  color: var(--ink);
  font-weight: 760;
}

@media (max-width: 1120px) {
  .shootout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .insight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shootout-stage {
    aspect-ratio: 4 / 3;
  }

  .goal-frame {
    left: 7%;
    width: 86%;
  }
}

/* ---- Elfmeter-Tab + Teaser ---- */

.tab-game {
  color: var(--gold);
}

.tab-game::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffffff 0 40%, #cfd4cd 62%, #9aa098);
  vertical-align: 1px;
}

.tab-game:hover,
.tab-game:focus-visible {
  color: var(--gold);
  background: rgba(244, 200, 92, 0.12);
}

.tab-game.is-active {
  color: #092017;
  background: linear-gradient(135deg, var(--gold), var(--coral));
}

.game-teaser {
  border-color: rgba(244, 200, 92, 0.32);
  background:
    linear-gradient(150deg, rgba(244, 200, 92, 0.12), rgba(255, 115, 95, 0.06) 60%),
    var(--panel);
}

.teaser-best {
  color: var(--gold);
  font-weight: 900;
}

.teaser-copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 720;
}

.teaser-button {
  min-height: 38px;
  border-color: rgba(244, 200, 92, 0.5);
  color: var(--gold);
}

.teaser-button:hover,
.teaser-button:focus-visible {
  border-color: var(--gold);
  background: rgba(244, 200, 92, 0.14);
  color: var(--gold);
}
