:root {
  /* Argentina + dorado copa */
  --bg: #07152d;

  --navy-950: #030815;
  --navy-900: #07152d;
  --navy-850: #0a1f3f;
  --navy-800: #0d2b57;

  --arg-blue: #48c7f4;
  --arg-blue-2: #9be7ff;
  --arg-blue-soft: rgba(72, 199, 244, 0.18);
  --arg-blue-line: rgba(72, 199, 244, 0.28);

  --arg-white: #f8fbff;
  --arg-white-soft: rgba(248, 251, 255, 0.12);

  --gold: #f2c14e;
  --gold-2: #ffe08a;
  --gold-dark: #b98518;
  --gold-soft: rgba(242, 193, 78, 0.16);
  --gold-line: rgba(242, 193, 78, 0.3);

  --text: #f8fbff;
  --muted: #c4d8e8;
  --line: rgba(248, 251, 255, 0.16);

  --panel: rgba(7, 21, 45, 0.74);
  --panel-soft: rgba(72, 199, 244, 0.055);

  --green: var(--arg-blue);
  --yellow: var(--gold);
  --blue: var(--arg-blue);
  --red: var(--gold);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background:
    radial-gradient(circle at 16% 0%, rgba(72, 199, 244, 0.3), transparent 28%),
    radial-gradient(
      circle at 82% 9%,
      rgba(242, 193, 78, 0.22),
      transparent 25%
    ),
    radial-gradient(
      circle at 52% 100%,
      rgba(248, 251, 255, 0.09),
      transparent 32%
    ),
    linear-gradient(150deg, #030815 0%, #07152d 38%, #0d2b57 72%, #041022 100%);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

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

/* Layout */
.wc-page {
  position: relative;
  width: 100%;
  max-width: 1220px;
  margin: auto;
  padding: 22px;
}

/* Listones laterales Argentina — CSS puro */
.wc-page::before,
.wc-page::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 78px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.48;
  background: linear-gradient(
    90deg,
    rgba(72, 199, 244, 0) 0%,
    rgba(72, 199, 244, 0.36) 18%,
    rgba(248, 251, 255, 0.5) 48%,
    rgba(72, 199, 244, 0.36) 78%,
    rgba(72, 199, 244, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 10%,
    #000 88%,
    transparent 100%
  );
  animation: argentinaRibbonMove 7s ease-in-out infinite;
}

.wc-page::before {
  left: 0;
  transform: skewX(-10deg);
}

.wc-page::after {
  right: 0;
  transform: skewX(10deg);
  animation-delay: -3.5s;
}

@keyframes argentinaRibbonMove {
  0% {
    opacity: 0.32;
    filter: blur(0);
  }

  50% {
    opacity: 0.58;
    filter: blur(0.4px);
  }

  100% {
    opacity: 0.32;
    filter: blur(0);
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 28px;
  min-height: 480px;
  padding: 26px;
  border: 1px solid var(--gold-line);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(3, 8, 21, 0.94), rgba(13, 43, 87, 0.9)),
    radial-gradient(
      circle at 76% 28%,
      rgba(72, 199, 244, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at 22% 22%,
      rgba(248, 251, 255, 0.11),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 42%,
      rgba(242, 193, 78, 0.16),
      transparent 24%
    );
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      115deg,
      transparent 0 23%,
      rgba(72, 199, 244, 0.14) 23% 30%,
      transparent 30% 43%,
      rgba(248, 251, 255, 0.1) 43% 50%,
      transparent 50% 100%
    ),
    linear-gradient(180deg, rgba(242, 193, 78, 0.045), transparent 44%);
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(72, 199, 244, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(120deg, #000, transparent 72%);
  opacity: 0.48;
  pointer-events: none;
}

/* Brand */
.brand-bar {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
}

.brand-lockup {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 8px 14px 8px 8px;
  perspective: 900px;
}

.brand-mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: #030815;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 16px 36px rgba(72, 199, 244, 0.22),
    0 0 34px rgba(242, 193, 78, 0.18);
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-lockup:hover .brand-mark {
  transform: rotateY(180deg);
}

.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at center,
      rgba(242, 193, 78, 0.16),
      transparent 58%
    ),
    url("assets/estrellas.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 94%;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  box-shadow:
    inset 0 0 18px rgba(242, 193, 78, 0.18),
    0 0 22px rgba(242, 193, 78, 0.18);
}

.brand-copy {
  position: relative;
  z-index: 2;
}

.brand-copy strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.05;
}

.brand-copy span,
.brand-bar span {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 4;
  align-self: end;
}

.hero-trophy {
  position: absolute;
  left: -245px;
  top: 240px;
  width: 260px;
  height: 390px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.96;
  animation: trophyFloat 4s ease-in-out infinite;
}

.hero-trophy img {
  position: absolute;
  top: 0;
  left: -235px;
  height: 390px;
  width: auto;
  max-width: none;
  transform: none;
  filter: drop-shadow(0 0 18px rgba(242, 193, 78, 0.38))
    drop-shadow(0 0 55px rgba(72, 199, 244, 0.13));
}

@keyframes trophyFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

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

h1 {
  color: #ffffff;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.9;
  margin-bottom: 18px;
  letter-spacing: -0.07em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.lead {
  max-width: 760px;
  color: #dcecf8;
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eyebrow.dark {
  color: #8a5a00;
}

.muted {
  color: var(--muted);
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #15100a;
  box-shadow: 0 14px 32px rgba(242, 193, 78, 0.27);
}

.btn.ghost {
  background: rgba(248, 251, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(72, 199, 244, 0.25);
}

.btn.ghost:hover,
.tab:hover {
  background: rgba(72, 199, 244, 0.14);
  border-color: rgba(72, 199, 244, 0.42);
}

/* Next match */
.next-card {
  position: relative;
  z-index: 4;
  align-self: end;
  padding: 22px;
}

.versus {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.versus .team {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.08);
  border: 1px solid rgba(72, 199, 244, 0.14);
  font-weight: 950;
}

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

/* Tabs */
.tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 18px 2px;
  backdrop-filter: blur(14px);
}

.tab {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.075);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 900;
}

.tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #15100a;
  border-color: var(--gold-line);
}

/* Views */
.view {
  animation: fade 0.25s ease;
}

.hidden {
  display: none !important;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* Cards */
.scoreboard article,
.panel,
.group-card,
.match-card,
.slot,
.next-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border: 1px solid rgba(72, 199, 244, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

/* Scoreboard */
.scoreboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 10px 0 22px;
}

.scoreboard article {
  padding: 20px;
}

.scoreboard span,
.scoreboard small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.scoreboard strong {
  color: var(--gold);
  font-size: 2.5rem;
  line-height: 1;
}

.countdown-card .countdown-clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.countdown-clock div {
  text-align: center;
  background: rgba(242, 193, 78, 0.12);
  border: 1px solid rgba(242, 193, 78, 0.24);
  border-radius: 14px;
  padding: 10px 6px;
}

.countdown-clock strong {
  display: block;
  color: var(--gold);
  font-size: 1.45rem;
  line-height: 1;
}

.countdown-clock small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

/* General sections */
.layout-2 {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.panel {
  padding: 20px;
}

.section-title,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.section-head {
  scroll-margin-top: 92px;
}

.section-title span {
  font-size: 1.5rem;
}

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

.facts div {
  background: rgba(72, 199, 244, 0.09);
  border: 1px solid rgba(72, 199, 244, 0.18);
  border-radius: 20px;
  padding: 18px;
}

.facts b {
  display: block;
  color: var(--gold);
  font-size: 2rem;
}

/* Matches */
.match-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.match-list.compact {
  grid-template-columns: 1fr;
}

.match-card {
  padding: 16px;
}

.match-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.teams {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.team-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 15px;
  background: rgba(248, 251, 255, 0.058);
  border: 1px solid rgba(72, 199, 244, 0.11);
}

.score-input {
  width: 54px;
  text-align: center;
  border: 1px solid rgba(242, 193, 78, 0.28);
  border-radius: 12px;
  background: rgba(3, 9, 20, 0.92);
  color: var(--gold);
  font-weight: 950;
  padding: 8px;
}

.score-input:disabled {
  opacity: 0.55;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Flags */
.team-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team-flag-img {
  width: 24px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
  object-fit: cover;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.32);
}

.team-flag-placeholder {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 18px;
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}

.team-row strong,
.versus .team > .team-name,
.positions .team-name {
  min-width: 0;
}

.positions .team-name {
  justify-content: flex-start;
}

/* Filters */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filters input,
.filters select {
  background: #07152d;
  color: var(--text);
  border: 1px solid rgba(72, 199, 244, 0.18);
  border-radius: 16px;
  padding: 11px 13px;
}

/* Groups */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.group-card {
  padding: 18px;
}

.positions {
  width: 100%;
  border-collapse: collapse;
}

.positions th,
.positions td {
  padding: 9px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.positions th:first-child,
.positions td:first-child {
  text-align: left;
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(242, 193, 78, 0.16);
  color: var(--gold);
  font-weight: 950;
  margin-right: 6px;
}

/* Bracket */
.bracket {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.bracket-col {
  min-width: 210px;
  display: grid;
  gap: 12px;
}

.slot {
  padding: 14px;
  min-height: 86px;
}

.slot b {
  color: var(--gold);
}

/* Argentina */
.arg-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 34px;
  padding: 28px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #2aaee2 0%, #bfefff 48%, #35bde9 100%);
  color: #06152d;
  box-shadow: 0 20px 54px rgba(72, 199, 244, 0.2);
}

.arg-panel h2 {
  font-size: 3rem;
}

.flag-big {
  font-size: 6rem;
}

#argentina .match-list {
  margin-bottom: 0;
}

.argentina-brush {
  margin: -70px auto -35px;
  max-width: 760px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.argentina-brush img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 8px;
  padding: 22px;
  color: var(--muted);
  border-top: 1px solid rgba(72, 199, 244, 0.16);
}

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

/* Tablet */
@media (max-width: 900px) {
  .hero,
  .layout-2 {
    grid-template-columns: 1fr;
  }

  .hero-trophy {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 260px;
    text-align: center;
    margin: 20px auto;
    overflow: visible;
    animation: trophyFloat 4s ease-in-out infinite;
  }

  .hero-trophy img {
    position: relative;
    top: auto;
    left: auto;
    height: 260px;
    max-width: 100%;
    transform: none;
  }

  .scoreboard {
    grid-template-columns: repeat(2, 1fr);
  }

  .match-list,
  .groups-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.2rem;
  }

  .arg-panel h2 {
    font-size: 2rem;
  }

  .flag-big {
    font-size: 4rem;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .wc-page {
    max-width: 100%;
    padding: 10px;
    overflow-x: hidden;
  }

  .wc-page::before,
  .wc-page::after {
    width: 34px;
    opacity: 0.24;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 18px;
    border-radius: 24px;
    overflow: hidden;
  }

  .hero__content {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-trophy {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 230px;
    z-index: 1;
    margin: 8px auto -40px;
    text-align: center;
    overflow: visible;
    opacity: 0.78;
    animation: trophyFloat 4s ease-in-out infinite;
  }

  .hero-trophy img {
    position: relative;
    top: auto;
    left: auto;
    height: 230px;
    max-width: 100%;
    transform: none;
  }

  .next-card {
    width: 100%;
    z-index: 4;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    overflow: visible;
    padding: 14px 0;
  }

  .tab {
    width: 100%;
    text-align: center;
    font-size: 0.88rem;
    padding: 11px 10px;
  }

  .scoreboard,
  .layout-2,
  .match-list,
  .groups-grid {
    grid-template-columns: 1fr;
  }

  .scoreboard {
    gap: 10px;
  }

  .scoreboard article {
    padding: 14px 16px;
    min-height: auto;
  }

  .scoreboard strong {
    font-size: 2rem;
  }

  .countdown-card .countdown-clock {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-2 {
    gap: 12px;
  }

  .panel {
    padding: 16px;
  }

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

  .filters {
    flex-direction: column;
  }

  .filters input,
  .filters select {
    width: 100%;
  }

  .group-card {
    overflow-x: auto;
  }

  .positions {
    min-width: 620px;
  }

  #eliminatoria {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  #eliminatoria .bracket {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
    padding: 0 0 18px;
  }

  #eliminatoria .bracket-col {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: grid;
    gap: 10px;
  }

  #eliminatoria .bracket-col h3 {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #15100a;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  }

  #eliminatoria .slot {
    width: 100%;
    min-height: auto;
    padding: 14px;
  }

  .footer {
    text-align: center;
  }

  .brand-lockup {
    min-height: 86px;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    perspective: 900px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-copy span {
    font-size: 0.82rem;
  }

  .team-name {
    gap: 7px;
  }

  .team-flag-img,
  .team-flag-placeholder {
    width: 22px;
    height: 16px;
  }
}

/* Small mobile */
@media (max-width: 520px) {
  .wc-page {
    padding: 12px;
  }

  .hero {
    padding: 18px;
    border-radius: 24px;
  }

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

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters input,
  .filters select {
    width: 100%;
  }

  .brand-lockup {
    min-height: 76px;
    gap: 10px;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
}

/* Print */
@media print {
  body {
    background: white;
    color: #111;
  }

  .tabs,
  .hero-actions,
  .admin-trigger,
  .hero-trophy {
    display: none !important;
  }

  .wc-page {
    max-width: none;
    padding: 0;
  }

  .wc-page::before,
  .wc-page::after {
    display: none !important;
  }

  .hero,
  .scoreboard article,
  .panel,
  .group-card,
  .match-card,
  .slot {
    box-shadow: none;
    border-color: #ddd;
    background: white;
    color: #111;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .next-card {
    display: none;
  }

  .hidden {
    display: block !important;
  }

  .view {
    page-break-inside: auto;
    margin-bottom: 24px;
  }

  .match-list,
  .groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .score-input {
    border: 0;
    color: #111;
    background: white;
  }

  .footer {
    color: #333;
  }
}

/* Corrección tabla de posiciones */
.groups-grid {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.group-card {
  min-width: 0;
}

.positions {
  table-layout: auto;
}

.positions th:first-child,
.positions td:first-child {
  width: 52%;
  min-width: 190px;
}

.positions .team-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.positions .team-name span:last-child {
  white-space: normal;
  line-height: 1.15;
}

.positions .team-flag-img,
.positions .team-flag-placeholder {
  width: 24px;
  height: 18px;
  flex: 0 0 24px;
}

.positions td {
  vertical-align: middle;
}

.positions td:not(:first-child),
.positions th:not(:first-child) {
  text-align: center;
  min-width: 32px;
}

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

  .positions th:first-child,
  .positions td:first-child {
    min-width: 170px;
  }
}

/* Botón flotante instalación gratis — chico abajo */
.free-download-float {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 76px;
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 220, 90, 0.55);
  border-radius: 18px;
  background: #071f18;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  cursor: pointer;
}

.free-download-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 6px 8px;
  color: #ffffff;
}

.free-download-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(72, 199, 244, 0.12);
  color: #ffffff;
  font-size: 1.35rem;
}

.free-download-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.free-download-copy strong {
  color: #ffd84a;
  font-size: 0.9rem;
  line-height: 1.1;
  font-weight: 950;
}

.free-download-copy small {
  color: rgba(248, 251, 255, 0.72);
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 600;
}

.free-download-cta {
  display: block;
  margin: 4px 8px 2px 54px;
  padding: 9px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd84a, #f2b800);
  color: #08120f;
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

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

/* Ocultar flotante en escritorio */
@media (min-width: 761px) {
  .free-download-float {
    display: none !important;
  }
}

/* Mostrar flotante solo en celular */
@media (max-width: 760px) {
  .free-download-float {
    display: block;
  }
}

@media print {
  .free-download-float {
    display: none !important;
  }
}

/* Barra inferior de acciones */
.bottom-actions {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 10px;
  z-index: 9998;
  max-width: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(3, 15, 13, 0.94);
  border: 1px solid rgba(255, 220, 90, 0.16);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(12px);
}

.bottom-actions button {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 58px;
  padding: 8px 4px;
  border-radius: 14px;
  border: 1px solid rgba(72, 199, 244, 0.12);
  background: rgba(10, 60, 44, 0.56);
  color: #dfffee;
  cursor: pointer;
}

.bottom-actions button:nth-child(2) {
  border-color: rgba(255, 216, 74, 0.55);
  background: rgba(255, 216, 74, 0.12);
  color: #ffd84a;
}

.bottom-actions span {
  font-size: 1.25rem;
  line-height: 1;
}

.bottom-actions strong {
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (min-width: 761px) {
  .bottom-actions {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .footer {
    padding-bottom: 220px;
  }
}

@media print {
  .bottom-actions {
    display: none !important;
  }
}

/* Panel lateral: curiosidades + noticias */
.side-home-actions {
  margin-top: 18px;
}

.side-home-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid rgba(255, 216, 74, 0.38);
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 216, 74, 0.22),
      transparent 38%
    ),
    linear-gradient(135deg, rgba(7, 21, 45, 0.92), rgba(10, 143, 196, 0.22));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.side-home-btn span {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 216, 74, 0.14);
  font-size: 1.5rem;
}

.side-home-btn strong {
  color: var(--gold-2);
  font-size: 1rem;
  line-height: 1.1;
}

.side-home-btn small {
  color: rgba(248, 251, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.25;
}

.side-news-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(72, 199, 244, 0.18);
  background: rgba(3, 8, 21, 0.34);
}

.side-news-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-weight: 950;
}

.side-news-list {
  display: grid;
  gap: 10px;
}

.side-news-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(248, 251, 255, 0.06);
  border: 1px solid rgba(72, 199, 244, 0.12);
}

.side-news-item:hover {
  border-color: rgba(255, 216, 74, 0.42);
  background: rgba(255, 216, 74, 0.08);
}

.side-news-item strong {
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.25;
}

.side-news-item span {
  color: rgba(248, 251, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.2;
}

/* Menú hamburguesa fijo */
.quick-menu {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  display: block;
  margin: 0;
  pointer-events: none;
}

.quick-menu-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(242, 193, 78, 0.55);
  border-radius: 14px;
  background: rgba(3, 8, 21, 0.88);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.quick-menu-btn span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}

.quick-menu-panel {
  pointer-events: auto;
  position: absolute;
  top: 52px;
  right: 0;
  display: none;
  width: min(310px, calc(100vw - 28px));
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(72, 199, 244, 0.24);
  background: rgba(3, 8, 21, 0.97);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
}

.quick-menu-panel.is-open {
  display: grid;
  gap: 8px;
}

.quick-menu-panel button,
.quick-menu-panel a {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 12px;
  background: rgba(248, 251, 255, 0.075);
  color: #ffffff;
  text-align: left;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.quick-menu-panel button:hover,
.quick-menu-panel a:hover {
  background: rgba(242, 193, 78, 0.16);
  color: var(--gold-2);
}

@media (max-width: 760px) {
  .quick-menu {
    top: 10px;
    right: 10px;
  }

  .quick-menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .quick-menu-panel {
    top: 50px;
    right: 0;
    width: min(300px, calc(100vw - 20px));
  }
}

/* Página Curiosidades */
.curiosidades-page {
  padding-bottom: 110px;
}

.curiosidades-back {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 193, 78, 0.38);
  background: rgba(3, 8, 21, 0.88);
  color: #ffffff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.curiosidades-back:hover {
  background: rgba(242, 193, 78, 0.14);
  color: var(--gold-2);
}

.curiosidades-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 26px;
  border-radius: 36px;
  border: 1px solid var(--gold-line);
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(242, 193, 78, 0.24),
      transparent 28%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(72, 199, 244, 0.24),
      transparent 34%
    ),
    linear-gradient(135deg, rgba(3, 8, 21, 0.96), rgba(13, 43, 87, 0.92));
  box-shadow: var(--shadow);
}

.curiosidades-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0 24%,
    rgba(72, 199, 244, 0.13) 24% 31%,
    transparent 31% 48%,
    rgba(248, 251, 255, 0.09) 48% 55%,
    transparent 55% 100%
  );
  pointer-events: none;
}

.curiosidades-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin-top: 72px;
}

.curiosidades-hero-content h1 {
  max-width: 820px;
}

.curiosidades-ball {
  position: absolute;
  right: 34px;
  bottom: 20px;
  z-index: 1;
  font-size: clamp(6rem, 18vw, 14rem);
  opacity: 0.18;
  filter: drop-shadow(0 0 32px rgba(242, 193, 78, 0.28));
}

.curiosidades-source-box {
  display: grid;
  gap: 5px;
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(242, 193, 78, 0.28);
  background:
    radial-gradient(
      circle at top left,
      rgba(242, 193, 78, 0.18),
      transparent 36%
    ),
    rgba(3, 8, 21, 0.58);
}

.curiosidades-source-box strong {
  color: var(--gold-2);
  font-size: 1rem;
}

.curiosidades-source-box span {
  color: var(--muted);
  line-height: 1.45;
}

.curiosidades-toolbar {
  position: sticky;
  top: 10px;
  z-index: 12;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 18px 0;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(72, 199, 244, 0.14);
  background: rgba(3, 8, 21, 0.72);
  backdrop-filter: blur(14px);
}

.curiosity-filter {
  flex: 0 0 auto;
  border: 1px solid rgba(72, 199, 244, 0.2);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(248, 251, 255, 0.08);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.curiosity-filter.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #15100a;
  border-color: rgba(242, 193, 78, 0.5);
}

.curiosity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.curiosity-card {
  position: relative;
  overflow: hidden;
  min-height: 225px;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(72, 199, 244, 0.18);
  background:
    radial-gradient(
      circle at top right,
      rgba(72, 199, 244, 0.16),
      transparent 34%
    ),
    linear-gradient(180deg, rgba(7, 21, 45, 0.88), rgba(3, 8, 21, 0.72));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
}

.curiosity-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -55px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(242, 193, 78, 0.08);
  pointer-events: none;
}

.curiosity-card > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(242, 193, 78, 0.13);
  border: 1px solid rgba(242, 193, 78, 0.22);
  font-size: 1.6rem;
}

.curiosity-card small {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(72, 199, 244, 0.12);
  color: var(--arg-blue-2);
  font-weight: 900;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.curiosity-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.12;
  margin-bottom: 10px;
}

.curiosity-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 14px;
}

.curiosity-card em {
  display: inline-flex;
  color: rgba(248, 251, 255, 0.58);
  font-size: 0.78rem;
  font-style: normal;
}

.curiosity-card.featured {
  grid-column: span 2;
  min-height: 260px;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(242, 193, 78, 0.22),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(7, 21, 45, 0.96), rgba(13, 43, 87, 0.92));
  border-color: rgba(242, 193, 78, 0.32);
}

.curiosity-card.featured strong {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.curiosidades-extra {
  margin-top: 22px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(72, 199, 244, 0.16);
  background: rgba(3, 8, 21, 0.48);
}

.curiosidades-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.curiosidades-links a {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(248, 251, 255, 0.07);
  border: 1px solid rgba(72, 199, 244, 0.13);
}

.curiosidades-links a:hover {
  background: rgba(242, 193, 78, 0.12);
  border-color: rgba(242, 193, 78, 0.28);
}

.curiosidades-links strong {
  color: var(--gold-2);
}

.curiosidades-links span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

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

  .curiosidades-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .curiosidades-back {
    top: 10px;
    left: 10px;
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .curiosidades-hero {
    min-height: 360px;
    padding: 18px;
    border-radius: 24px;
  }

  .curiosidades-hero-content {
    margin-top: 62px;
  }

  .curiosidades-toolbar {
    top: 8px;
    margin: 14px 0;
    padding: 8px;
  }

  .curiosity-filter {
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .curiosity-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .curiosity-card,
  .curiosity-card.featured {
    grid-column: auto;
    min-height: auto;
    border-radius: 22px;
    padding: 18px;
  }

  .curiosity-card.featured strong {
    font-size: 1.45rem;
  }

  .curiosidades-ball {
    right: 14px;
    bottom: 14px;
    font-size: 7rem;
  }
}

/* Feedback visual al tocar botones */
.tap-feedback {
  position: relative;
  overflow: hidden;
  animation: tapPulse 0.42s ease;
}

.tap-feedback::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle,
    rgba(242, 193, 78, 0.5) 0%,
    rgba(72, 199, 244, 0.26) 32%,
    transparent 68%
  );
  opacity: 0;
  pointer-events: none;
  animation: tapLight 0.55s ease;
}

@keyframes tapPulse {
  0% {
    transform: scale(1);
    box-shadow: none;
  }

  45% {
    transform: scale(0.97);
    box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.18);
  }

  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

@keyframes tapLight {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }

  35% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

/* Aviso flotante de acción */
.action-toast {
  position: fixed;
  left: 50%;
  top: 82px;
  z-index: 10000;
  transform: translateX(-50%) translateY(-10px);
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(242, 193, 78, 0.45);
  background: rgba(3, 8, 21, 0.92);
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

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

@media (max-width: 760px) {
  .action-toast {
    top: 66px;
    max-width: calc(100vw - 24px);
    text-align: center;
    font-size: 0.88rem;
  }
}

/* Dónde ver / escuchar Argentina */
.argentina-live-box {
  margin: 18px 0 24px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(242, 193, 78, 0.34);
  background:
    radial-gradient(
      circle at top left,
      rgba(242, 193, 78, 0.18),
      transparent 34%
    ),
    linear-gradient(180deg, rgba(7, 21, 45, 0.88), rgba(3, 8, 21, 0.72));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
}

.argentina-live-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.argentina-live-head > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(242, 193, 78, 0.14);
  border: 1px solid rgba(242, 193, 78, 0.28);
  font-size: 1.7rem;
}

.argentina-live-head strong {
  display: block;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.argentina-live-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.argentina-live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.argentina-live-card {
  display: grid;
  gap: 8px;
  min-height: 145px;
  padding: 16px;
  border-radius: 22px;
  text-decoration: none;
  border: 1px solid rgba(72, 199, 244, 0.16);
  background: rgba(248, 251, 255, 0.07);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.argentina-live-card:hover {
  transform: translateY(-2px);
  background: rgba(242, 193, 78, 0.13);
  border-color: rgba(242, 193, 78, 0.34);
}

.argentina-live-card span {
  font-size: 1.8rem;
}

.argentina-live-card strong {
  color: var(--gold-2);
  font-size: 1.05rem;
}

.argentina-live-card small {
  color: var(--muted);
  line-height: 1.35;
}

.argentina-live-note {
  margin: 14px 0 0;
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.4;
}

.live-highlight {
  animation: liveHighlight 1s ease;
}

@keyframes liveHighlight {
  0% {
    box-shadow:
      0 0 0 0 rgba(242, 193, 78, 0.46),
      0 16px 46px rgba(0, 0, 0, 0.24);
  }

  45% {
    box-shadow:
      0 0 0 8px rgba(242, 193, 78, 0.2),
      0 0 34px rgba(72, 199, 244, 0.28),
      0 16px 46px rgba(0, 0, 0, 0.24);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(242, 193, 78, 0),
      0 16px 46px rgba(0, 0, 0, 0.24);
  }
}

@media (max-width: 760px) {
  .argentina-live-box {
    padding: 16px;
    border-radius: 24px;
  }

  .argentina-live-head {
    align-items: flex-start;
  }

  .argentina-live-head strong {
    font-size: 1.12rem;
  }

  .argentina-live-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .argentina-live-card {
    min-height: auto;
  }
}

.live-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ff2f2f;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 950;
  vertical-align: middle;
}

.position-live {
  background: rgba(255, 47, 47, 0.08);
}

.stadium-strip {
  width: 100%;
  margin: 40px 0 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  background: #071827;
}

.stadium-strip img {
  display: block;
  width: 100%;
  height: clamp(180px, 32vw, 380px);
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .stadium-strip {
    margin-top: 28px;
    border-radius: 22px;
  }

  .stadium-strip img {
    height: 220px;
  }
}

.argentina-messi-block {
  margin: 32px auto 0;
  max-width: 520px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  background: #071827;
}

.argentina-messi-block img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .argentina-messi-block {
    margin-top: 24px;
    max-width: 100%;
    border-radius: 22px;
  }
}
.team-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.team-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  padding-left: 30px;
}

.team-event {
  font-size: 0.78rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.78);
}

.team-event-goal {
  color: #eaf7ff;
  font-weight: 700;
}

.team-event-yellow {
  color: #ffe680;
}

.team-event-red {
  color: #ff9b9b;
  font-weight: 700;
}

@media (max-width: 760px) {
  .team-events {
    padding-left: 26px;
  }

  .team-event {
    font-size: 0.74rem;
  }
}

.match-detail-btn {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.match-detail-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.match-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.match-detail-modal.is-open {
  display: block;
}

.match-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.match-detail-panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow-y: auto;
  border-radius: 28px;
  padding: 24px;
  background: #071827;
  color: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.match-detail-close {
  position: sticky;
  top: 0;
  float: right;
  border: 0;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.match-detail-header h2 {
  margin: 10px 0;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
}

.match-detail-header .score-input {
  width: 48px;
  height: 42px;
  margin: 0 6px;
}

.match-detail-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.match-detail-section h3 {
  margin: 0 0 12px;
}

.match-detail-events {
  display: grid;
  gap: 8px;
}

.match-detail-event {
  display: grid;
  grid-template-columns: 28px 54px 1fr 1.5fr;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.match-detail-event small {
  grid-column: 4;
  color: rgba(255, 255, 255, 0.65);
}

.match-detail-event-goal {
  border-left: 4px solid rgba(255, 255, 255, 0.85);
}

.match-detail-event-yellow {
  border-left: 4px solid #ffe680;
}

.match-detail-event-red {
  border-left: 4px solid #ff7777;
}

@media (max-width: 760px) {
  .match-detail-panel {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
    margin: 9px auto;
    padding: 18px;
    border-radius: 22px;
  }

  .match-detail-event {
    grid-template-columns: 26px 46px 1fr;
  }

  .match-detail-event small {
    grid-column: 3;
  }
}

.lineups-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}

.lineup-team {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

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

.lineup-team-header strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.lineup-team-header span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 174, 239, 0.18);
  color: #8edcff;
  font-weight: 800;
  font-size: 0.82rem;
}

.lineup-coach-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(0, 174, 239, 0.22),
    rgba(255, 255, 255, 0.08)
  );
  border: 1px solid rgba(0, 174, 239, 0.35);
}

.lineup-coach-badge small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  line-height: 1;
}

.lineup-coach-badge strong {
  display: block;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.2;
}

.lineup-coach-flag {
  display: flex;
  align-items: center;
}

.lineup-field {
  position: relative;
  height: 440px;
  overflow: hidden;
  border-radius: 18px;
  margin: 12px 0 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #2d8a43, #1f7137);
  background-size:
    100% 88px,
    88px 100%,
    100% 100%;
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.lineup-field::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.lineup-field::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.lineup-field-halfway {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.lineup-field-box {
  position: absolute;
  left: 50%;
  width: 48%;
  height: 82px;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.lineup-field-box-top {
  top: -2px;
  border-top: 0;
}

.lineup-field-box-bottom {
  bottom: -2px;
  border-bottom: 0;
}

.lineup-field-player {
  position: absolute;
  z-index: 2;
  width: 74px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.lineup-field-number {
  position: absolute;
  left: 2px;
  top: -4px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: #102033;
  font-weight: 900;
  font-size: 0.72rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.lineup-field-dot {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 5px;
  border-radius: 999px;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #ffffff, #c9d7e8);
  color: #102033;
  border: 3px solid rgba(255, 255, 255, 0.9);
  font-weight: 900;
  font-size: 0.68rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}
.lineup-field-dot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 999px;
}

.lineup-field-player strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 0.76rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.lineup-block {
  margin-top: 12px;
}

.lineup-block h4 {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.lineup-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lineup-list-substitutes {
  max-height: 230px;
  overflow: auto;
  padding-right: 4px;
}

.lineup-player {
  display: grid;
  grid-template-columns: 34px 1fr 42px;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.lineup-player-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
  font-size: 0.75rem;
}

.lineup-player-name {
  min-width: 0;
  overflow: hidden;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lineup-player-pos {
  justify-self: end;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0, 174, 239, 0.15);
  color: #8edcff;
  font-size: 0.7rem;
  font-weight: 900;
}

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

  .lineup-field {
    height: 390px;
  }
}

@media (max-width: 520px) {
  .lineup-team {
    padding: 10px;
    border-radius: 14px;
  }

  .lineup-field {
    height: 350px;
  }

  .lineup-field-player {
    width: 62px;
  }

  .lineup-field-dot {
    width: 42px;
    height: 42px;
    font-size: 0.58rem;
  }

  .lineup-field-number {
    width: 19px;
    height: 19px;
    font-size: 0.62rem;
  }

  .lineup-field-player strong {
    font-size: 0.65rem;
  }
}

.match-live-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 6px;
}

.match-live-badge,
.match-paused-badge,
.match-finished-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.match-live-badge {
  background: rgba(255, 45, 85, 0.18);
  color: #ff6b8a;
  border: 1px solid rgba(255, 45, 85, 0.45);
}

.match-paused-badge {
  background: rgba(255, 184, 0, 0.18);
  color: #ffd166;
  border: 1px solid rgba(255, 184, 0, 0.45);
}

.match-finished-badge {
  background: rgba(46, 204, 113, 0.16);
  color: #7dffb0;
  border: 1px solid rgba(46, 204, 113, 0.38);
}

.match-live-time {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.match-events-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.match-events-title-legend {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
}

.match-events-title-legend span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .match-events-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .match-events-title-legend {
    font-size: 0.68rem;
    gap: 5px;
  }
}
.penalty-summary {
  margin: 10px 0 8px;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(242, 193, 78, 0.12);
  border: 1px solid rgba(242, 193, 78, 0.28);
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 850;
  display: grid;
  gap: 3px;
}

.penalty-summary strong {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.penalty-summary span {
  color: var(--text);
}

.shootout-box {
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.06);
  border: 1px solid rgba(242, 193, 78, 0.24);
}

.shootout-box > strong {
  display: block;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 6px;
}

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

.shootout-team {
  padding: 12px;
  border-radius: 16px;
  background: rgba(3, 8, 21, 0.34);
  border: 1px solid rgba(72, 199, 244, 0.14);
}

.shootout-team h4 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.98rem;
}

.shootout-list {
  display: grid;
  gap: 7px;
}

.shootout-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.06);
  color: var(--text);
  font-size: 0.9rem;
}

.shootout-result {
  width: 22px;
  flex: 0 0 22px;
  text-align: center;
}

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

  .shootout-box {
    padding: 12px;
  }

  .shootout-team {
    padding: 10px;
  }
}
.substitutions-box {
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.06);
  border: 1px solid rgba(72, 199, 244, 0.18);
}

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

.substitutions-head,
.substitutions-row {
  display: grid;
  grid-template-columns: 1.4fr 70px 1fr 1fr;
  align-items: center;
  gap: 12px;
}

.substitutions-head {
  padding: 0 10px 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(248, 251, 255, 0.12);
}

.substitutions-row {
  padding: 10px;
  border-radius: 14px;
  background: rgba(3, 8, 21, 0.34);
  color: var(--text);
  font-size: 0.9rem;
}

.substitutions-row strong {
  color: var(--gold);
  font-size: 0.95rem;
}

.substitution-team .team-name {
  justify-content: flex-start;
  gap: 8px;
}

.substitutions-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .substitutions-box {
    padding: 12px;
  }

  .substitutions-head {
    display: none;
  }

  .substitutions-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .substitution-team {
    font-weight: 800;
  }

  .substitutions-row strong::before {
    content: "Minuto: ";
    color: var(--muted);
    font-weight: 700;
  }

  .substitutions-row span:nth-child(3)::before {
    content: "Entra: ";
    color: var(--muted);
    font-weight: 700;
  }

  .substitutions-row span:nth-child(4)::before {
    content: "Sale: ";
    color: var(--muted);
    font-weight: 700;
  }
}

.statistics-box-premium {
  margin-top: 12px;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at top left,
      rgba(72, 199, 244, 0.12),
      transparent 34%
    ),
    rgba(248, 251, 255, 0.055);
  border: 1px solid rgba(72, 199, 244, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.statistics-premium-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(248, 251, 255, 0.12);
}

.statistics-premium-head strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 900;
}

.statistics-premium-head strong:last-child {
  text-align: right;
}

.statistics-premium-head span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.statistics-premium-list {
  display: grid;
  gap: 16px;
}

.statistics-premium-row {
  display: grid;
  gap: 8px;
}

.statistics-premium-values {
  display: grid;
  grid-template-columns: 86px 1fr 86px;
  align-items: end;
  gap: 12px;
}

.statistics-premium-values strong {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

.statistics-premium-values strong:last-child {
  text-align: right;
}

.statistics-premium-values span {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.statistics-bars {
  display: flex;
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.12);
  border: 1px solid rgba(248, 251, 255, 0.12);
}

.statistics-bar-home {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), rgba(242, 193, 78, 0.72));
}

.statistics-bar-away {
  display: block;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(248, 251, 255, 0.92),
    rgba(248, 251, 255, 0.58)
  );
}

@media (max-width: 760px) {
  .statistics-box-premium {
    padding: 13px;
    border-radius: 18px;
  }

  .statistics-premium-head {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .statistics-premium-head strong {
    font-size: 0.72rem;
    justify-self: center;
  }

  .statistics-premium-head span {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .statistics-premium-head strong:last-child {
    text-align: center;
  }

  .statistics-premium-list {
    gap: 14px;
  }

  .statistics-premium-values {
    grid-template-columns: 58px 1fr 58px;
    gap: 8px;
  }

  .statistics-premium-values strong {
    font-size: 1rem;
  }

  .statistics-premium-values span {
    font-size: 0.78rem;
  }

  .statistics-bars {
    height: 8px;
  }
}

.top-scorers-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(242, 193, 78, 0.26);
  background:
    radial-gradient(
      circle at top left,
      rgba(242, 193, 78, 0.16),
      transparent 34%
    ),
    rgba(3, 8, 21, 0.38);
}

.top-scorers-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.top-scorers-head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(242, 193, 78, 0.13);
  border: 1px solid rgba(242, 193, 78, 0.25);
  font-size: 1.35rem;
}

.top-scorers-head strong {
  display: block;
  color: var(--gold-2);
  font-size: 1rem;
  font-weight: 950;
}

.top-scorers-head small {
  display: block;
  margin-top: 3px;
  color: rgba(248, 251, 255, 0.66);
  font-size: 0.76rem;
}

.top-scorers-list {
  display: grid;
  gap: 8px;
}

.top-scorer-row {
  display: grid;
  grid-template-columns: 28px 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.065);
  border: 1px solid rgba(72, 199, 244, 0.12);
}

.top-scorer-rank {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(242, 193, 78, 0.16);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
}

.top-scorer-photo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.1);
  border: 1px solid rgba(248, 251, 255, 0.16);
}

.top-scorer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-scorer-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.top-scorer-info strong {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.top-scorer-info small {
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.74rem;
  line-height: 1.2;
}

.top-scorer-goals {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #15100a;
  font-size: 1rem;
  font-weight: 950;
}

@media (max-width: 760px) {
  .top-scorers-box {
    padding: 14px;
    border-radius: 20px;
  }

  .top-scorer-row {
    grid-template-columns: 24px 38px 1fr auto;
    gap: 8px;
    padding: 8px;
  }

  .top-scorer-photo {
    width: 38px;
    height: 38px;
  }

  .top-scorer-info strong {
    font-size: 0.84rem;
  }

  .top-scorer-info small {
    font-size: 0.7rem;
  }

  .top-scorer-goals {
    min-width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

.curiosity-card.live-featured {
  border-color: rgba(242, 193, 78, 0.48);
  background:
    radial-gradient(
      circle at top right,
      rgba(242, 193, 78, 0.24),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(72, 199, 244, 0.18),
      transparent 34%
    ),
    linear-gradient(135deg, rgba(7, 21, 45, 0.96), rgba(13, 43, 87, 0.9));
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(242, 193, 78, 0.08) inset;
}

.curiosity-card[data-type="en-vivo"] {
  border-color: rgba(242, 193, 78, 0.3);
}

.curiosity-card[data-type="en-vivo"] small {
  color: var(--gold-2);
  background: rgba(242, 193, 78, 0.14);
}

.curiosity-card[data-type="en-vivo"] > span {
  background: rgba(242, 193, 78, 0.16);
  border-color: rgba(242, 193, 78, 0.28);
}

@media (max-width: 760px) {
  .curiosity-card.live-featured::before {
    top: 12px;
    right: 12px;
    font-size: 0.62rem;
  }
}

.curiosity-live-meta {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.curiosity-live-meta b {
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #15100a;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.curiosity-live-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.1);
  border: 1px solid rgba(248, 251, 255, 0.14);
  color: rgba(248, 251, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 800;
}

.free-download-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(3, 8, 21, 0.58);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.free-download-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (max-width: 760px) {
  .free-download-close {
    top: 7px;
    right: 7px;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }

  .free-download-copy {
    padding-right: 24px;
  }
}

/* Filtro de fecha */
.date-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(72, 199, 244, 0.18);
  border-radius: 16px;
  background: #07152d;
  color: var(--muted);
  font-weight: 800;
}

.date-filter-label span {
  font-size: 0.82rem;
  white-space: nowrap;
}

.date-filter-label input {
  min-width: 145px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}

.date-filter-label input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.8;
}

@media (max-width: 760px) {
  .date-filter-label {
    width: 100%;
    height: 44px;
    min-height: 44px;
    justify-content: space-between;
    padding: 0 13px;
  }

  .date-filter-label input {
    width: auto;
    min-width: 155px;
    text-align: right;
  }
}

.worldcup-audio-box {
  margin: 0 0 14px;
}

.worldcup-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(242, 193, 78, 0.45);
  border-radius: 999px;
  padding: 10px 15px;
  background: linear-gradient(
    135deg,
    rgba(242, 193, 78, 0.96),
    rgba(255, 224, 138, 0.96)
  );
  color: #15100a;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(242, 193, 78, 0.24);
}

.worldcup-audio-btn.is-playing {
  background: linear-gradient(
    135deg,
    rgba(72, 199, 244, 0.96),
    rgba(248, 251, 255, 0.96)
  );
  border-color: rgba(72, 199, 244, 0.55);
}
