:root { color-scheme: light; --papel: #F5F6F1; --papel-2: #E7E9E1; --papel-3: #D9DCD2; --figu: #FCFCFA; --tinta: #17191E;
  --tinta-2: #40444D; --rojo: #D5352A; --verde: #0B7F4D; --oro-c: #E2BC52; --oro-d: #F7E08A; --sello: #4B3C9E;
  --zona-campeon: #8A6A00; --zona-lib: #B88A00; --zona-sud: #0B7A8C; --zona-po: #2F3A8F; --zona-desc: #8C1D18;
  --display: "Anybody", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --texto: "Libre Franklin", "Franklin Gothic Book", "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--papel); }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: var(--texto); font-size: 1rem; line-height: 1.55; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--sello); outline-offset: 2px; border-radius: 4px; }
.caja { max-width: 62rem; margin-inline: auto; padding-inline: 16px; }
.cab { background: var(--tinta); color: var(--papel-3); }
.cab .caja { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-block: 14px; }
.marca { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 140%; font-size: 1.125rem; text-transform: uppercase; color: var(--oro-d); text-decoration: none; }
.cab nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--display); font-weight: 780; font-stretch: 86%; font-size: .9375rem; }
.cab nav a { text-decoration: none; color: var(--papel); }
.cab nav a[aria-current] { color: var(--oro-d); }
.cab a:focus-visible { outline-color: var(--oro-d); }
main { padding-block: 22px 48px; }
.migas ol { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .8125rem; color: var(--tinta-2); }
.migas li + li::before { content: "›"; margin-right: 8px; }
h1 { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 86%; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
h2 { margin: 36px 0 10px; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 118%; font-size: 1.5625rem; line-height: 1.1; text-transform: uppercase; }
h3 { margin: 22px 0 8px; font-family: var(--display); font-weight: 850; font-stretch: 86%; font-size: 1.25rem; }
h4 { margin: 14px 0 4px; font-family: var(--display); font-weight: 850; font-stretch: 86%; font-size: 1rem; }
.sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 10px 0 0; color: var(--tinta-2); }
.sub a { font-weight: 700; color: var(--tinta); }
.lead { max-width: 62ch; margin: 16px 0 0; font-size: 1.0625rem; }
.escudo { width: 24px; height: 24px; object-fit: contain; vertical-align: -6px; flex: none; }
.escudo--g { width: 56px; height: 56px; vertical-align: middle; }
.club-n { display: inline-flex; align-items: center; gap: 7px; }
.titulo-club { display: flex; align-items: center; gap: 14px; }
.wrap { overflow-x: auto; padding: 4px 8px 10px; border-radius: 12px; background: var(--figu); box-shadow: inset 0 0 0 2px var(--papel-2); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9375rem; }
caption { padding: 12px 14px 4px; text-align: left; font-family: var(--display); font-weight: 850; font-stretch: 86%; font-size: 1rem; }
th { padding: 8px 10px; text-align: right; white-space: nowrap; color: var(--tinta-2); font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; border-bottom: 2px solid var(--tinta); }
tbody th { color: var(--tinta); font-family: var(--texto); font-weight: 650; font-stretch: 100%; font-size: .9375rem; letter-spacing: 0; text-transform: none; border-bottom: 0; }
td { padding: 8px 10px; text-align: right; white-space: nowrap; }
.izq { text-align: left; }
.centro { text-align: center; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: color-mix(in srgb, var(--papel-2) 55%, transparent); }
td.fuerte { font-family: var(--display); font-weight: 900; }
.zona { display: inline-block; width: 7px; height: 20px; border-radius: 3px; vertical-align: middle; }
.z-campeon { background: var(--zona-campeon); } .z-libertadores { background: var(--zona-lib); } .z-sudamericana { background: var(--zona-sud); }
.z-playoffs { background: var(--zona-po); } .z-descenso { background: var(--zona-desc); }
.leyenda { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--tinta-2); }
.leyenda li { display: flex; align-items: center; gap: 7px; }
.partidos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.partido { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--figu); box-shadow: inset 0 0 0 2px var(--papel-2); }
.partido-dia { margin: 0; font-size: .8125rem; font-weight: 650; color: var(--tinta-2); }
.cruce { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; line-height: 1.2; }
.cruce > :first-child { justify-self: end; text-align: right; flex-direction: row-reverse; }
.marcador { min-width: 4.4ch; padding: 4px 8px 3px; border-radius: 8px; background: var(--tinta); color: var(--papel); text-align: center; font-family: var(--display); font-weight: 900; font-variant-numeric: tabular-nums; text-decoration: none; }
.marcador--hora { background: transparent; color: var(--tinta-2); box-shadow: inset 0 0 0 1.5px var(--tinta-2); font-weight: 780; font-size: .8125rem; }
a.marcador:hover { background: var(--sello); }
.nota { margin: 0; font-size: .8125rem; color: var(--tinta-2); text-align: center; }
.resultado { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; margin: 6px 0 0; padding: 20px 16px; border-radius: 16px; background: var(--tinta); color: var(--papel); }
.resultado .lado { display: grid; justify-items: center; gap: 8px; text-align: center; font-family: var(--display); font-weight: 850; font-stretch: 90%; font-size: 1.0625rem; line-height: 1.15; }
.resultado .lado a { color: var(--papel); text-decoration: none; }
.resultado .escudo { box-sizing: content-box; width: 44px; height: 44px; padding: 6px; border-radius: 12px; background: #FFFFFF; }
.resultado .goles { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 8px 28px; }
.lista { margin: 0; padding: 0; list-style: none; }
.lista li { padding: 7px 0; border-top: 1px solid var(--papel-2); }
.lista li:first-child { border-top: 0; }
.pasos { max-width: 62ch; margin: 8px 0 0; padding-left: 1.4em; }
.pasos li { padding: 4px 0; }
.dato { color: var(--tinta-2); font-size: .875rem; }
.dorsal { display: inline-block; min-width: 2.2ch; margin-right: 6px; font-family: var(--display); font-weight: 900; color: var(--tinta-2); text-align: right; font-variant-numeric: tabular-nums; }
.texto { max-width: 70ch; margin: 4px 0 0; color: var(--tinta-2); }
.clubes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.clubes a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--figu); box-shadow: inset 0 0 0 2px var(--papel-2); font-weight: 700; text-decoration: none; }
.clubes a:hover { box-shadow: inset 0 0 0 2px var(--tinta); }
.nombres { columns: 3 220px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.nombres li { break-inside: avoid; padding: 3px 0; }
.fechas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fechas a, .fechas span { display: inline-block; padding: 7px 12px; border-radius: 10px; background: var(--figu); box-shadow: inset 0 0 0 2px var(--papel-2); font-family: var(--display); font-weight: 800; font-stretch: 86%; text-decoration: none; }
.fechas a:hover { box-shadow: inset 0 0 0 2px var(--tinta); }
.app { display: grid; gap: 10px; justify-items: start; margin: 40px 0 0; padding: 20px; border-radius: 16px; background: var(--tinta); color: var(--papel-3); }
.app p { margin: 0; max-width: 60ch; }
.app b { color: var(--oro-d); font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 118%; font-size: 1.125rem; text-transform: uppercase; }
.botones { display: flex; flex-wrap: wrap; gap: 10px; }
.boton { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 10px; background: var(--oro-d); color: var(--tinta); font-family: var(--display); font-weight: 850; font-stretch: 86%; text-decoration: none; }
.boton--borde { background: transparent; color: var(--papel); box-shadow: inset 0 0 0 2px var(--papel-3); }
.boton:focus-visible { outline-color: var(--oro-d); }
.pie { padding-block: 24px 32px; background: var(--tinta); color: var(--papel-3); font-size: .8125rem; }
.pie p { margin: 0 0 6px; }
.pie a { color: var(--oro-d); }
@media (hover: hover) and (pointer: fine) { .boton:hover { background: var(--oro-c); } .boton--borde:hover { background: rgba(255, 255, 255, .08); } }
