/* =========================================================
   VARIABLES DE MARCA
   ========================================================= */
:root {
  --bg: #030814;
  --bg-2: #050d1b;
  --card: #0a1628;
  --card-2: #0d1d34;
  --line: #1a3356;
  --line-soft: #12253f;

  --gold: #f2c14e;
  --gold-2: #d49a2a;
  --gold-soft: #fde7a3;

  --blue: #2b8cff;
  --cyan: #38c4f8;

  --text: #e9eef7;
  --muted: #8fa3bf;
  --muted-2: #61738f;

  --win: #22c55e;
  --draw: #f59e0b;
  --loss: #ef4444;

  --radius: 14px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 500px at 50% -150px, rgba(43, 140, 255, 0.10), transparent 70%),
    radial-gradient(800px 400px at 100% 0%, rgba(242, 193, 78, 0.06), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-2);
}

.oswald {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gold-text {
  background: linear-gradient(180deg, #fff4c7 0%, var(--gold) 45%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tarjeta base */
.card {
  background: linear-gradient(160deg, rgba(14, 30, 54, 0.92) 0%, rgba(7, 16, 30, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.card-title i {
  color: var(--gold);
}

.card-title small {
  margin-left: auto;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--muted-2);
  text-transform: none;
  letter-spacing: 0;
}

/* =========================================================
   CABECERA
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 10, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.8);
}

.header-top {
  max-width: 1600px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 14px rgba(242, 193, 78, 0.45));
  transition: transform 0.3s;
  flex-shrink: 0;
}

.brand-logo:hover {
  transform: scale(1.06) rotate(-4deg);
}

.brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.brand-tag {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-tag b {
  color: var(--gold);
  margin: 0 6px;
}

.header-stats {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  background: rgba(10, 22, 40, 0.85);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hstat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-right: 1px solid var(--line-soft);
  cursor: help;
  outline: none;
  transition: background 0.2s;
}

.hstat:hover,
.hstat:focus {
  background: rgba(43, 140, 255, 0.08);
}

.hstat-label .fa-circle-info {
  font-size: 9px;
  color: var(--muted-2);
  margin-left: 3px;
}

/* Explicación al pasar el mouse (o al tocar en celular) */
.tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 280px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #0c1a30;
  border: 1px solid var(--gold-2);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.9);
  font-size: 12.5px;
  line-height: 1.5;
  color: #d6dfec;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}

.tip b {
  display: block;
  margin-bottom: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.tip em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--cyan);
}

.hstat:hover .tip,
.hstat:focus .tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hstat:first-child .tip {
  left: 0;
  transform: translateY(-4px);
}

.hstat:first-child:hover .tip,
.hstat:first-child:focus .tip {
  transform: translateY(0);
}

.hstat:last-child .tip {
  left: auto;
  right: 0;
  transform: translateY(-4px);
}

.hstat:last-child:hover .tip,
.hstat:last-child:focus .tip {
  transform: translateY(0);
}

.hstat:last-child {
  border-right: none;
}

.hstat i {
  font-size: 24px;
  color: var(--gold);
}

.hstat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--cyan);
}

.hstat-value.positive {
  color: var(--gold);
}

.hstat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.account-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd977 0%, var(--gold) 50%, var(--gold-2) 100%);
  color: #0b1220;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 20px -6px rgba(242, 193, 78, 0.6);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.account-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(242, 193, 78, 0.8);
}

.account-btn small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
  line-height: 1.1;
}

.nav {
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 15, 28, 0.9);
}

.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9d4e6;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav a i {
  color: var(--muted);
}

.nav a:hover {
  background: rgba(43, 140, 255, 0.10);
  color: #fff;
}

.nav a.active {
  background: linear-gradient(180deg, #ffd977 0%, var(--gold) 55%, var(--gold-2) 100%);
  color: #0b1220;
  font-weight: 600;
  box-shadow: 0 4px 16px -4px rgba(242, 193, 78, 0.6);
}

.nav a.active i {
  color: #0b1220;
}

/* =========================================================
   ESPACIOS PUBLICITARIOS
   ========================================================= */
.ad {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 193, 78, 0.35);
  background:
    linear-gradient(135deg, rgba(43, 140, 255, 0.18), transparent 55%),
    linear-gradient(315deg, rgba(242, 193, 78, 0.14), transparent 55%),
    #071224;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 8px;
  padding: 16px;
  color: var(--muted);
}

.ad::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0 10px, transparent 10px 20px);
  pointer-events: none;
}

.ad-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
}

.ad-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}

.ad-size {
  font-size: 11px;
  color: var(--muted-2);
  font-family: monospace;
}

.ad-cta {
  margin-top: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--gold);
  color: #0b1220;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.ad-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(242, 193, 78, 0.10);
  border: 1px solid rgba(242, 193, 78, 0.45);
  color: var(--gold);
  font-size: 26px;
  margin: 10px 0;
}

.ad-top {
  max-width: 728px;
  height: 90px;
  margin: 14px auto 0;
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
  padding: 0 24px;
}

.ad-top .ad-title {
  font-size: 20px;
}

.ad-bottom {
  max-width: 970px;
  height: 90px;
  margin: 0 auto;
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
  padding: 0 24px;
  border-color: rgba(242, 193, 78, 0.5);
  background:
    radial-gradient(300px 120px at 15% 50%, rgba(242, 193, 78, 0.16), transparent 70%),
    radial-gradient(300px 120px at 85% 50%, rgba(43, 140, 255, 0.16), transparent 70%),
    #070d1a;
}

/* =========================================================
   ESTRUCTURA PRINCIPAL (3 COLUMNAS)
   ========================================================= */
.layout {
  max-width: 1280px;
  margin: 14px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* =========================================================
   JORNADA + CARRUSEL DE 8 PARTIDOS
   ========================================================= */
.jornada {
  padding: 14px;
}

.jornada-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.jornada-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jornada-title i {
  font-size: 22px;
  color: var(--gold);
}

.jornada-title h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jornada-title span {
  color: var(--muted);
  font-size: 14px;
}

.jornada-title span b {
  color: var(--cyan);
  font-weight: 600;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border-radius: 10px;
  background: #071224;
  border: 1px solid var(--line);
}

.countdown-label {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c9d4e6;
}

.countdown i {
  color: var(--gold);
  font-size: 20px;
}

.countdown-digits {
  display: flex;
  gap: 6px;
  font-family: 'Oswald', sans-serif;
}

.cd-unit {
  text-align: center;
  line-height: 1;
}

.cd-unit b {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.cd-unit small {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.cd-sep {
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}

.carousel-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-top: 12px;
}

.carousel-arrow {
  width: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #071224;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.carousel-arrow:hover {
  color: var(--gold);
  border-color: var(--gold-2);
}

.carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 2px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.mcard {
  flex: 1 0 128px;
  min-width: 128px;
  padding: 8px 10px 10px;
  border-radius: 10px;
  background: #081427;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  position: relative;
}

.mcard:hover {
  transform: translateY(-2px);
  border-color: #2b4f80;
}

.mcard.active {
  background: linear-gradient(180deg, rgba(242, 193, 78, 0.16), rgba(242, 193, 78, 0.04));
  border: 2px solid var(--gold);
  box-shadow: 0 0 18px -4px rgba(242, 193, 78, 0.55);
}

.mcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.mcard-num {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  background: #1b2c46;
  color: #cfd9ea;
}

.mcard.active .mcard-num {
  background: var(--gold);
  color: #0b1220;
}

.mcard-league {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cfd9ea;
  line-height: 1.1;
  text-align: right;
}

.mcard-league b {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.mcard.active .mcard-league b {
  color: var(--gold);
}

.mcard-crests {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.mcard-crests img,
.mcard-crests .crest-fallback {
  width: 34px;
  height: 34px;
}

.mcard-status {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
  letter-spacing: 0.05em;
}

.mcard-status.free {
  background: var(--cyan);
  color: #04121f;
}

/* Escudo de respaldo */
.crest-fallback {
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #1d3a63, #0b1a30);
  border: 1px solid #2b4f80;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 12px;
}

/* =========================================================
   FRANJA DE INFORMACIÓN DEL PARTIDO
   ========================================================= */
.infobar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #071224;
  border: 1px solid var(--line);
}

.infobar-league {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.league-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--gold);
  color: #0b1220;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
}

.infobar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: #c4d0e3;
}

.infobar-meta i {
  color: var(--cyan);
  margin-right: 6px;
}

/* =========================================================
   FICHA DEL PARTIDO: HERO + ANÁLISIS
   ========================================================= */
.match-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(3, 8, 20, 0.15) 0%, rgba(3, 8, 20, 0.55) 45%, rgba(3, 8, 20, 0.97) 100%),
    url('https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1200&q=70') center 30% / cover,
    linear-gradient(160deg, #0d2140, #050b17);
  box-shadow: var(--shadow);
}

.hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: radial-gradient(60% 80% at 50% 100%, rgba(34, 197, 94, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-teams {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.team {
  text-align: center;
}

.team-crest {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

.team .crest-fallback {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  font-size: 30px;
}

.team-name {
  margin-top: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  line-height: 1.1;
}

.vs {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 46px;
  font-style: italic;
  filter: drop-shadow(0 0 14px rgba(242, 193, 78, 0.55));
}

.hero-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
}

.form-box {
  background: rgba(5, 12, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}

.form-box span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.form-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.fdot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.fdot.G {
  background: var(--win);
}

.fdot.E {
  background: var(--draw);
}

.fdot.P {
  background: var(--loss);
}

/* Panel de análisis con pestañas */
.analysis {
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 10px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.tab {
  padding: 8px 18px;
  border-radius: 8px;
  background: #081427;
  border: 1px solid var(--line);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c4d0e3;
  white-space: nowrap;
  transition: all 0.2s;
}

.tab:hover {
  color: #fff;
  border-color: #2b4f80;
}

.tab.active {
  background: linear-gradient(180deg, #ffd977 0%, var(--gold) 55%, var(--gold-2) 100%);
  border-color: var(--gold);
  color: #0b1220;
  font-weight: 600;
}

.pane {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  animation: fadeIn 0.35s ease;
}

.pane.active {
  display: grid;
}

.pane > .ablock:only-child {
  grid-column: 1 / -1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ablock {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #071224;
  border: 1px solid var(--line-soft);
}

.ablock-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.ic-blue {
  background: rgba(43, 140, 255, 0.15);
  color: var(--blue);
}

.ic-cyan {
  background: rgba(56, 196, 248, 0.15);
  color: var(--cyan);
}

.ic-green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--win);
}

.ic-gold {
  background: rgba(242, 193, 78, 0.15);
  color: var(--gold);
}

.ic-red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--loss);
}

.ablock h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.ablock p,
.ablock li {
  font-size: 13.5px;
  color: #c9d4e6;
  line-height: 1.55;
}

.ablock ul {
  list-style: none;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ablock li {
  position: relative;
  padding-left: 16px;
}

.ablock li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* =========================================================
   TABLERO DE ESTADÍSTICAS CLAVE (fijo por deporte)
   ========================================================= */
.sboard {
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.sboard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.sboard-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sboard-head h3 i {
  color: var(--gold);
}

.seg {
  margin-left: auto;
  display: flex;
  padding: 3px;
  border-radius: 9px;
  background: #071224;
  border: 1px solid var(--line);
}

.seg button {
  padding: 6px 12px;
  border-radius: 7px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c4d0e3;
  transition: all 0.2s;
}

.seg button:hover {
  color: #fff;
}

.seg button.active {
  background: linear-gradient(180deg, #ffd977 0%, var(--gold) 55%, var(--gold-2) 100%);
  color: #0b1220;
  font-weight: 600;
}

.steams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.steam {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.steam.right {
  justify-content: flex-end;
  text-align: right;
}

.steam-crest {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.steam .crest-fallback {
  width: 30px;
  height: 30px;
  font-size: 10px;
  flex-shrink: 0;
}

.steam b {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--blue);
}

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

.steam small {
  font-size: 11px;
  color: var(--muted);
}

.sseason {
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.srow {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.sval {
  padding: 2px 0;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.sval.l {
  color: var(--blue);
}

.sval.v {
  color: var(--gold);
}

.sval.best.l {
  background: rgba(43, 140, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(43, 140, 255, 0.45);
}

.sval.best.v {
  background: rgba(242, 193, 78, 0.12);
  box-shadow: inset 0 0 0 1px rgba(242, 193, 78, 0.45);
}

.slabel {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #d6dfec;
}

.slabel small {
  font-weight: 500;
  color: var(--muted-2);
}

.sbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  height: 6px;
  margin-top: 5px;
}

.sbar > div {
  display: flex;
  background: #14223a;
  border-radius: 99px;
  overflow: hidden;
}

.sbar > div:first-child {
  justify-content: flex-end;
}

.sbar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
}

.sbar i.l {
  background: linear-gradient(270deg, #1666d6, var(--blue));
}

.sbar i.v {
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}

.sleader {
  margin-top: 10px;
}

.sleader-title {
  margin-bottom: 6px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

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

.sl {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 9px;
  background: #071224;
  border: 1px solid var(--line-soft);
}

.sl.v {
  justify-content: flex-end;
  text-align: right;
}

.sl > div {
  min-width: 0;
}

.sl i {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.sl.l i {
  background: rgba(43, 140, 255, 0.15);
  color: var(--blue);
}

.sl.v i {
  background: rgba(242, 193, 78, 0.15);
  color: var(--gold);
}

.sl b {
  display: block;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sl small {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  color: var(--gold);
}

.sl.l small {
  color: var(--cyan);
}

.snote {
  margin-top: 10px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* =========================================================
   FILOSOFÍA, DEMO DE RESULTADOS Y MEDIDOR DE VALOR
   ========================================================= */
.valor-strip {
  max-width: 1280px;
  margin: 12px auto 0;
  padding: 0 16px;
}

.valor-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(242, 193, 78, 0.35);
  background:
    linear-gradient(90deg, rgba(242, 193, 78, 0.08), rgba(43, 140, 255, 0.08)),
    #060f1f;
  text-align: center;
}

.valor-strip-inner i {
  font-size: 20px;
  color: var(--gold);
}

.valor-strip-inner p {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: #e3eaf5;
}

.valor-strip-inner p b {
  font-weight: 600;
}

.valor-strip-inner a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.valor-strip-inner a:hover {
  color: var(--gold);
}

.jornada-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.demo-btn {
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px dashed var(--muted-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  transition: all 0.2s;
}

.demo-btn:hover {
  color: var(--gold);
  border-color: var(--gold-2);
}

.day-summary {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #071224;
  border: 1px solid var(--line);
}

.ds-label {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c9d4e6;
}

.ds {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 99px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.ds.g {
  background: rgba(34, 197, 94, 0.16);
  color: var(--win);
}

.ds.p {
  background: rgba(239, 68, 68, 0.16);
  color: var(--loss);
}

.ds.n {
  background: rgba(100, 116, 139, 0.2);
  color: #cbd5e1;
  font-size: 13px;
}

.ds.pct {
  background: linear-gradient(180deg, #ffd977, var(--gold) 55%, var(--gold-2));
  color: #0b1220;
}

.mcard-score {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.mcard-hits {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  padding: 1px 8px;
  border-radius: 99px;
  background: rgba(34, 197, 94, 0.16);
  color: var(--win);
  font-size: 11px;
  font-weight: 800;
}

.final-chip {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.16);
  color: var(--win);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-score {
  text-align: center;
}

.hero-score b {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 18px rgba(242, 193, 78, 0.5);
}

.hero-score small {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--gold);
  color: #0b1220;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.ablock-risk {
  border-color: rgba(239, 68, 68, 0.35);
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.07), #071224 60%);
}

.ablock-risk h4 {
  color: #fca5a5;
}

.ablock-risk li::before {
  background: var(--loss);
}

.pick {
  position: relative;
}

.stamp {
  position: absolute;
  top: -10px;
  right: -8px;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  border: 3px solid #050d1b;
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.8);
  animation: pop 0.35s ease;
}

.stamp.G {
  background: var(--win);
}

.stamp.P {
  background: var(--loss);
}

.stamp.N {
  background: #64748b;
  font-size: 10px;
  letter-spacing: 0.06em;
}

@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.pick.res-G {
  border-color: rgba(34, 197, 94, 0.7);
}

.pick.res-P {
  border-color: rgba(239, 68, 68, 0.6);
  opacity: 0.8;
}

.pick.res-N {
  opacity: 0.8;
}

.pick.main-pick.res-G {
  border-color: var(--win);
  box-shadow: 0 0 26px -8px rgba(34, 197, 94, 0.7);
}

.vcard {
  padding: 14px;
}

.vtable-wrap {
  overflow-x: auto;
}

.vtable {
  min-width: 640px;
}

.vrow {
  display: grid;
  grid-template-columns: minmax(170px, 1.7fr) 1.1fr 0.9fr 1.3fr 1.1fr;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}

.vtable.final .vrow {
  grid-template-columns: minmax(170px, 1.7fr) 1.1fr 0.9fr 1.3fr 1.1fr 0.8fr;
}

.vrow.vhead {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.vrow:not(.vhead):hover {
  background: rgba(43, 140, 255, 0.05);
}

.vmarket {
  font-weight: 700;
  color: #fff;
}

.vmarket small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #b4c2d8;
}

.vodds {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: var(--gold);
}

.vodds small {
  font-size: 15px;
  color: #e9eef7;
}

.vimpl {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: #c4d0e3;
}

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

.vour b {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--cyan);
  min-width: 38px;
}

.vbar {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #14223a;
}

.vbar .our {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #0e7fb8, var(--cyan));
}

.vbar .mark {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 14px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.vchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.vchip.valor {
  background: rgba(34, 197, 94, 0.16);
  color: var(--win);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.vchip.justa {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.vchip.sinvalor {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.vres {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
}

.vres.G {
  background: var(--win);
}

.vres.P {
  background: var(--loss);
}

.vres-text {
  font-size: 11px;
  color: var(--muted-2);
}

.vnote {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.vnote i {
  color: var(--gold);
  margin-right: 4px;
}

.vnote .mk {
  display: inline-block;
  width: 2px;
  height: 10px;
  background: #fff;
  margin: 0 4px;
  vertical-align: middle;
}

/* =========================================================
   NUESTRAS APUESTAS
   ========================================================= */
.picks {
  padding: 14px;
}

.picks-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.picks-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 28px 8px 16px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold) 60%, #ffd977);
  color: #0b1220;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  border-radius: 8px 0 0 8px;
}

.picks-head small {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 12px;
}

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

.pick {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #081427;
  border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s;
}

.pick:hover {
  transform: translateY(-3px);
  border-color: #2b4f80;
}

.pick.main-pick {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(242, 193, 78, 0.16), transparent 65%),
    linear-gradient(180deg, #13284a, #0a1628);
  border: 2px solid var(--gold);
  box-shadow: 0 0 26px -8px rgba(242, 193, 78, 0.7);
}

.pick-type {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.main-pick .pick-type {
  color: var(--gold);
}

.pick-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.pick-market {
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.pick-market small {
  display: block;
  margin-top: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #b4c2d8;
}

.main-pick .pick-market {
  font-size: 21px;
}

.pick-odds {
  flex-shrink: 0;
  min-width: 62px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  text-align: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffe08a, var(--gold) 55%, var(--gold-2));
  color: #0b1220;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  box-shadow: 0 4px 12px -4px rgba(242, 193, 78, 0.6);
}

.pick-odds small {
  font-size: 19px;
  font-weight: 600;
  opacity: 0.9;
}

/* Stake sugerido dentro de cada tarjeta */
.pick-stake {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(56, 196, 248, 0.08);
  border: 1px solid rgba(56, 196, 248, 0.3);
}

.pick-stake span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.pick-stake b {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--cyan);
}

.pick-stake em {
  margin-left: auto;
  font-style: normal;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: #fff;
}

.pick-stake em.empty {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--muted-2);
}

/* Ganancia si acierta */
.pick-win {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.pick-win span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.pick-win b {
  margin-left: auto;
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--win);
}

.pick-win small {
  flex-basis: 100%;
  text-align: right;
  font-size: 11.5px;
  color: var(--muted);
}

/* Calculadora de bank */
.bankcalc {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(56, 196, 248, 0.07), transparent 60%),
    #071224;
  border: 1px solid var(--line);
}

.bankcalc-info h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.bankcalc-info h4 i {
  color: var(--cyan);
}

.bankcalc-info p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #b4c2d8;
}

.bankcalc-info p b {
  color: #fff;
}

.bankcalc-input label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.money {
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: #040b17;
  border: 2px solid var(--gold-2);
  overflow: hidden;
}

.money span {
  padding: 0 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--gold);
}

.money input {
  width: 100%;
  padding: 10px 12px 10px 0;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
}

.money input::placeholder {
  color: #3b4d68;
}

.bankcalc-input small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--cyan);
}

.bankcalc-scale {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  color: #c4d0e3;
}

.bankcalc-scale .sc b {
  display: inline-block;
  min-width: 54px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  color: var(--gold);
}

.bankcalc-scale .warn {
  margin-top: 2px;
  font-weight: 700;
  color: #fca5a5;
}

.bankcalc-scale .warn i {
  margin-right: 4px;
}

.bankcalc-scale .scale-title {
  margin-bottom: 2px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Perfil de riesgo */
.risk-seg {
  margin: 10px 0 0;
  width: 100%;
}

.risk-seg button {
  flex: 1;
  padding: 7px 6px;
  font-size: 12px;
}

.risk-seg button[data-p="agresivo"].active {
  background: linear-gradient(180deg, #fca5a5 0%, #ef4444 60%, #b91c1c 100%);
  color: #fff;
}

/* Exposición total del día */
.bank-expo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: -6px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #071224;
  border: 1px solid var(--line);
  font-size: 13px;
  color: #c4d0e3;
}

.bank-expo > i {
  font-size: 20px;
  color: var(--gold);
}

.expo-item b {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 3px;
}

.expo-item em {
  font-style: normal;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: var(--cyan);
}

.expo-warn {
  flex-basis: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 12.5px;
  font-weight: 600;
}

.expo-warn i {
  margin-right: 6px;
}

.pick-foot {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.confidence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}

.conf-bars {
  display: flex;
  gap: 3px;
}

.conf-bars span {
  width: 16px;
  height: 7px;
  border-radius: 2px;
  background: #1f3150;
}

.conf-bars span.on {
  background: var(--win);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.main-pick .conf-bars span.on {
  background: var(--gold);
  box-shadow: 0 0 6px rgba(242, 193, 78, 0.6);
}

.pick-note {
  font-size: 12.5px;
  color: #b4c2d8;
  line-height: 1.45;
}

.pick-bet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.pick-bet:hover {
  opacity: 1;
}

/* =========================================================
   FILA INFERIOR: ESTADÍSTICAS, PROBABILIDADES, HISTORIAL
   ========================================================= */
.bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bottom-grid > .card {
  padding: 14px;
}

.donuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.donut {
  --p: 50;
  --c: var(--blue);
  width: 86px;
  height: 86px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #16243b 0);
  display: grid;
  place-items: center;
  transition: background 0.4s;
}

.donut::before {
  content: attr(data-label);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #08142a;
  display: grid;
  place-items: center;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.donut-name {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #c4d0e3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.trend {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trend-top {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #c4d0e3;
  margin-bottom: 4px;
}

.trend-top b {
  color: var(--win);
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.trend-bar {
  height: 8px;
  border-radius: 99px;
  background: #14223a;
  overflow: hidden;
}

.trend-bar div {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #16a34a, var(--win));
  transition: width 0.6s ease;
}

.hist-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hist {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #071224;
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
}

.hist-match {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hist-match small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 11.5px;
}

.hist-odds {
  font-family: 'Oswald', sans-serif;
  color: var(--gold);
  font-size: 15px;
}

.hist-odds small {
  font-size: 14px;
  color: #e9eef7;
}

.hist-res {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
}

.hist-res.G {
  background: var(--win);
}

.hist-res.P {
  background: var(--loss);
}

.hist-res.N {
  background: #64748b;
}

.hist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffd977, var(--gold) 55%, var(--gold-2));
  color: #0b1220;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}

/* =========================================================
   PIE DE PÁGINA
   ========================================================= */
.footer {
  margin-top: 22px;
  padding: 18px 16px 26px;
  border-top: 1px solid var(--line);
  background: #030712;
}

.footer-legal {
  max-width: 970px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.7;
}

.footer-legal .age {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--loss);
  color: var(--loss);
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 8px;
}

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

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1440px) {
  .brand-name {
    font-size: 28px;
  }

  .hstat {
    padding: 8px 12px;
  }
}

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

@media (max-width: 1100px) {
  .header-top {
    flex-wrap: wrap;
  }

  .header-stats {
    order: 3;
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .account-btn {
    margin-left: auto;
  }
}

@media (max-width: 960px) {
  .bankcalc {
    grid-template-columns: minmax(0, 1fr);
  }

  .pane {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bottom-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 13.5px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-tag {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .account-btn span.txt {
    display: none;
  }

  .hstat {
    flex: 1;
    padding: 8px 6px;
    gap: 6px;
    justify-content: center;
  }

  .hstat i {
    display: none;
  }

  .hstat-value {
    font-size: 19px;
  }

  .hstat-label {
    font-size: 8.5px;
  }

  .ad-top,
  .ad-bottom {
    height: auto;
    flex-direction: column;
    text-align: center;
    padding: 14px;
  }

  .team-crest,
  .team .crest-fallback {
    width: 80px;
    height: 80px;
  }

  .team-name {
    font-size: 17px;
  }

  .vs {
    font-size: 32px;
  }

  .fdot {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .picks-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jornada-title h2 {
    font-size: 18px;
  }
}

/* =========================================================
   PÁGINAS DEL SITIO (inicio, resultados, acceso, legal)
   ========================================================= */
.aviso {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid;
}

.aviso-ok {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.aviso-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.aviso-alerta {
  background: rgba(242, 193, 78, 0.1);
  border-color: rgba(242, 193, 78, 0.45);
  color: var(--gold-soft);
}

.link-gold {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.link-gold:hover {
  color: #fff;
}

.muted {
  color: var(--muted);
  font-weight: 500;
}

/* Inicio: filosofía y beneficios */
.landing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  align-items: center;
}

.landing-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
}

.landing h1 {
  margin: 6px 0 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.landing p {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #c9d4e6;
}

.landing p b {
  color: #fff;
}

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

.beneficio {
  padding: 12px;
  border-radius: 10px;
  background: #071224;
  border: 1px solid var(--line-soft);
}

.beneficio i {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--gold);
}

.beneficio b {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.beneficio span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Invitación a ser miembro */
.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-color: rgba(242, 193, 78, 0.5);
}

.cta-box h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
}

.cta-box p {
  margin-top: 8px;
  color: #c4d0e3;
}

.cta-precio {
  text-align: center;
}

.cta-precio b {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.cta-precio span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Estado vacío */
.vacio {
  padding: 36px 20px;
  text-align: center;
}

.vacio > i {
  font-size: 34px;
  color: var(--gold);
}

.vacio h2 {
  margin: 10px 0 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
}

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

/* Resultados */
.res-head,
.res-dias {
  padding: 16px;
}

.res-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.res-card {
  padding: 14px;
  border-radius: 10px;
  background: #071224;
  border: 1px solid var(--line-soft);
  text-align: center;
}

.res-card span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.res-card b {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--cyan);
}

.pos,
.res-card b.pos {
  color: var(--win);
}

.neg,
.res-card b.neg {
  color: var(--loss);
}

.chart-wrap {
  margin-top: 16px;
}

.chart-title {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.chart {
  display: block;
  width: 100%;
  height: 220px;
  border-radius: 10px;
  background: #071224;
  border: 1px solid var(--line-soft);
}

/* Tablas */
.tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.tabla th {
  padding: 8px 10px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.tabla td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.tabla td.acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Formularios */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-fila {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.form-fila .campo {
  flex: 1;
  min-width: 200px;
}

.campo span {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.campo input,
.campo select,
.campo textarea,
.tabla-form input,
.tabla-form select,
.res-fila select,
.marcador {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #040b17;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.campo textarea {
  resize: vertical;
  line-height: 1.5;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus,
.tabla-form input:focus,
.tabla-form select:focus {
  outline: none;
  border-color: var(--gold-2);
}

.tabla-form td {
  padding: 6px;
}

.tabla-form input.corto {
  width: 90px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #c4d0e3;
}

.btn {
  align-self: flex-start;
  padding: 11px 22px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd977 0%, var(--gold) 55%, var(--gold-2) 100%);
  color: #0b1220;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -6px rgba(242, 193, 78, 0.6);
}

.btn:hover {
  filter: brightness(1.06);
}

/* Acceso */
.login-card {
  max-width: 460px;
  width: 100%;
  margin: 10px auto;
  padding: 22px;
}

.login-card .btn {
  align-self: stretch;
}

/* Legal */
.legal {
  padding: 24px;
  max-width: 860px;
}

.legal-titulo {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
}

.legal h2 {
  margin: 22px 0 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  scroll-margin-top: 170px;
}

.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.65;
  color: #c9d4e6;
}

.legal-lista {
  margin: 0 0 10px 18px;
}

/* =========================================================
   PANEL DE ADMINISTRACIÓN
   ========================================================= */
.admin-card {
  padding: 16px;
}

.chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chip-borrador {
  background: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

.chip-publicada {
  background: rgba(56, 196, 248, 0.16);
  color: var(--cyan);
}

.chip-finalizada {
  background: rgba(34, 197, 94, 0.16);
  color: var(--win);
}

.chip-gratis {
  background: var(--cyan);
  color: #04121f;
}

.partido-edit summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
}

.partido-edit summary::-webkit-details-marker {
  display: none;
}

.partido-edit summary::after {
  content: '\f078';
  margin-left: auto;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--muted);
}

.partido-edit[open] summary {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.sub {
  margin-top: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.sub small {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.res-partido-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}

.res-partido-head .marcador {
  width: 64px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
}

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

.res-fila {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13.5px;
}

.res-fila small {
  display: block;
}

.guardar-barra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  bottom: 10px;
  z-index: 20;
}

@media (max-width: 960px) {
  .landing,
  .cta-box,
  .res-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .beneficios {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing h1 {
    font-size: 26px;
  }

  .res-fila {
    grid-template-columns: minmax(0, 1fr);
  }
}
