/* PartidosTV — hoja de estilos. Una sola familia (Archivo variable), claro por defecto, parrilla con tarjetas. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('/assets/fonts/archivo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F2F4F7; --sf: #FFFFFF; --sf2: #F7F8FA; --ln: #E3E7EE; --ln2: #D7DCE5;
  --navy: #0B1B33; --navy2: #16284A; --navy-ln: #2A3D61;
  --ink: #141A26; --mid: #4C5565; --soft: #6F7889; --faint: #9AA3B5;
  --acc: #FF4D1C; --acc-ink: #D8390E; --acc-bg: #FFF1EC; --acc-ln: #F5B9A6;
  --free: #1B7F4A; --free-bg: #E6F6EC; --free-ln: #9BD7B3;
  --amb: #9A5B00; --amb-bg: #FFF6E0; --amb-ln: #E5C27A;
  --r: 12px; --r-s: 8px;
  --shadow: 0 1px 2px rgba(11,27,51,.05), 0 10px 28px -20px rgba(11,27,51,.28);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--acc-ink); }
img { max-width: 100%; display: inline-block; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--navy); }
p { margin: 0; }
table { border-collapse: collapse; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

.cond { font-stretch: 75%; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.ico { width: 18px; height: 18px; flex-shrink: 0; }
.ico-s { width: 14px; height: 14px; }
.lbl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.muted { color: var(--soft); }
.small { font-size: 12px; }

/* ---------- Cabecera ---------- */
.hdr { background: var(--navy); color: #fff; }
.hdr-in { display: flex; align-items: center; gap: 10px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 5px; color: #fff; white-space: nowrap; }
.logo:hover { color: #fff; }
.logo-a { font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: .01em; }
.logo-b { font-stretch: 75%; font-weight: 800; font-size: 18px; line-height: 1; display: inline-flex; align-items: center; height: 24px; padding: 0 6px; border-radius: 5px; background: var(--acc); color: #fff; }
.logo-dark { color: var(--navy); }
.logo-dark:hover { color: var(--navy); }
.srch { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--navy2); color: #fff; min-width: 0; flex: 1 1 200px; max-width: 320px; }
.srch .ico { color: #C9D2E0; }
.srch input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: 600 14px var(--font); outline: none; }
.srch input::placeholder { color: #8F9CB3; }
.srch input::-webkit-search-cancel-button { -webkit-appearance: none; }
.srch:focus-within { outline: 2px solid var(--acc); outline-offset: 1px; }
.srch-k { display: none; font: 600 11px var(--font); color: #8F9CB3; border: 1px solid var(--navy-ln); border-radius: 4px; padding: 1px 5px; }
@media (min-width: 1024px) and (hover: hover) { .srch-k { display: inline; } }
.nav { display: none; }
.hdr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 10px; border-radius: var(--r-s); border: 1px solid var(--navy-ln); background: none; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.hdr-btn:hover { color: #fff; background: var(--navy2); }
.hdr-mz { position: relative; }
.hdr-mz span { display: none; }
/* El contador va superpuesto en la esquina: el botón no cambia de ancho al guardar algo y el menú no se mueve. */
.hdr-mz[data-n]:not([data-n="0"])::after { content: attr(data-n); position: absolute; top: -7px; right: -7px; background: var(--acc); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 18px; min-width: 18px; text-align: center; padding: 0 5px; box-shadow: 0 0 0 2px var(--navy); }
.menu { border-top: 1px solid var(--navy-ln); background: var(--navy); }
.menu-in { display: flex; flex-wrap: wrap; gap: 4px 2px; padding: 10px 16px; }
.menu-in a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--r-s); color: #C9D2E0; font-weight: 700; font-size: 14px; }
.menu-in a.on, .menu-in a:hover { color: #fff; background: var(--navy2); }
@media (min-width: 1024px) {
  .hdr-in { gap: 18px; min-height: 66px; }
  .logo-a { font-size: 28px; } .logo-b { font-size: 21px; height: 28px; padding: 0 7px; border-radius: 6px; }
  .srch { flex: 1 1 260px; max-width: 420px; }
  .hdr-mz { margin-left: auto; }
  .hdr-mz span { display: inline; }
}
/* El menú completo solo cabe en una línea a partir de 1200 px; por debajo sigue el botón de menú. */
@media (min-width: 1200px) {
  .srch { flex: 0 1 260px; min-width: 170px; max-width: 320px; }
  .nav { display: flex; flex: 1 0 auto; justify-content: center; gap: 2px; flex-wrap: nowrap; }
  .nav a { padding: 8px 7px; font-size: 13px; font-weight: 700; color: #C9D2E0; white-space: nowrap; border-bottom: 2px solid transparent; }
  .nav a:hover, .nav a.on { color: #fff; }
  .nav a.on { border-bottom-color: var(--acc); }
  .hdr-mz { margin-left: 0; }
  .hdr-menu { display: none; }
}
@media (min-width: 1360px) {
  .nav a { padding: 8px 10px; }
}

/* ---------- Pie ---------- */
.ftr { margin-top: 48px; background: var(--sf); border-top: 1px solid var(--ln); }
.ftr-in { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 28px 16px; }
.ftr-brand p { margin-top: 10px; font-size: 13px; color: var(--mid); max-width: 420px; }
.ftr-col { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.ftr-col h2 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.ftr-col a { color: var(--mid); }
.ftr-col a:hover { color: var(--acc-ink); }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 16px 24px; border-top: 1px solid var(--ln); font-size: 12px; color: var(--soft); }
.ftr-legal a { color: var(--soft); }
@media (min-width: 720px) { .ftr-in { grid-template-columns: 2fr 1fr 1fr 1fr; padding: 32px 24px; } .ftr-legal { padding: 14px 24px 24px; } }

/* ---------- Estructura ---------- */
.main { padding: 18px 0 24px; }
.page { display: flex; flex-direction: column; gap: 14px; }
.page-narrow { max-width: 860px; }
.cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.col-main { flex: 999 1 650px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.col-side { flex: 1 1 280px; max-width: 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 719px) { .col-side { max-width: none; } }
.h1 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
@media (min-width: 720px) { .h1 { font-size: 28px; } }
.h2 { font-size: 18px; font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: .03em; }
.h3 { font-size: 15px; font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: .03em; color: var(--mid); }
.mz-sec { display: flex; flex-direction: column; gap: 14px; }
.mz-sec + .mz-sec { margin-top: 10px; }
.lead { font-size: 15px; color: var(--mid); max-width: 820px; }
.lead-ficha { font-size: 16px; color: var(--ink); background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); padding: 16px 20px; max-width: none; }
.note { font-size: 13px; color: var(--soft); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.note a { color: var(--navy); font-weight: 700; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-h-top { margin-top: 18px; }
.sec-n { font-size: 13px; color: var(--soft); }
.day-rel { font-stretch: 100%; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; color: var(--acc-ink); margin-left: 6px; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--soft); }
.crumb li + li::before { content: '/'; margin-right: 8px; color: var(--faint); }
.crumb a { color: var(--mid); }
.crumb span { color: var(--ink); font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Botones y controles ---------- */
.bf, .bo, .bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.bf { height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; }
.bf:hover { background: var(--navy2); color: #fff; }
.bo { height: 40px; padding: 0 14px; border: 1px solid var(--ln2); border-radius: 10px; background: var(--sf); color: var(--navy); }
.bo:hover { border-color: var(--navy); color: var(--navy); }
.bo[aria-pressed="true"] { border-color: var(--acc); color: var(--acc-ink); background: var(--acc-bg); }
.bo[aria-pressed="true"] .ico { fill: var(--acc); stroke: var(--acc); }
.bt { border: 0; background: none; padding: 0; color: var(--acc-ink); }
.bt:hover { text-decoration: underline; }
.srch-page { flex: none; background: var(--sf); color: var(--ink); border: 1px solid var(--ln2); max-width: 560px; height: 46px; padding-right: 4px; }
.srch-page .ico { color: var(--soft); }
.srch-page input { color: var(--ink); font-size: 15px; }
.srch-page input::placeholder { color: var(--faint); }
.srch-page .bf { height: 36px; }
.srch-side { flex: none; background: var(--sf2); color: var(--ink); border: 1px solid var(--ln); height: 40px; max-width: none; margin-top: 10px; }
.srch-side .ico { color: var(--soft); }
.srch-side input { color: var(--ink); }
.srch-side input::placeholder { color: var(--faint); }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .tabs { flex-wrap: wrap; overflow: visible; } }
.tabp { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ln); background: var(--sf); font-size: 13px; font-weight: 700; color: var(--mid); white-space: nowrap; flex-shrink: 0; }
.tabp .c { font-size: 11px; font-weight: 600; opacity: .7; }
.tabp:hover { color: var(--navy); border-color: var(--ln2); }
.tabp.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.tabp-all { color: var(--acc-ink); }
.bar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; padding-bottom: 2px; }
.days::-webkit-scrollbar { display: none; }
.days-wrap { flex-wrap: wrap; overflow: visible; }
.day { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; height: 50px; border-radius: 10px; border: 1px solid var(--ln); background: var(--sf); color: var(--mid); font-size: 11px; font-weight: 700; gap: 1px; flex-shrink: 0; cursor: pointer; }
.day .d { font-stretch: 75%; font-weight: 800; font-size: 15px; color: var(--navy); text-transform: uppercase; }
.day:hover { border-color: var(--ln2); color: var(--navy); }
.day.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.day.on .d { color: var(--acc-ink); }
.day-past { opacity: .7; }
.day-m .ico { width: 16px; height: 16px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tools-right { justify-content: flex-end; }
.tog { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid var(--ln); background: var(--sf); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.tog .sw { width: 32px; height: 18px; border-radius: 999px; background: var(--ln2); position: relative; transition: background .15s; }
.tog .sw i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .15s; }
.tog[aria-pressed="true"] .sw { background: var(--free); }
.tog[aria-pressed="true"] .sw i { left: 16px; }
.sel { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mid); }
.sel select { height: 34px; border-radius: 999px; border: 1px solid var(--ln); background: var(--sf); padding: 0 10px; font: 700 13px var(--font); color: var(--ink); }

/* ---------- Tarjetas ---------- */
.card { background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--shadow); }
.mlist { display: flex; flex-direction: column; gap: 8px; }
.hour { display: flex; align-items: center; gap: 10px; margin: 8px 0 -2px; }
.hour .h { font-stretch: 75%; font-weight: 800; font-size: 13px; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; }
.hour .ln { flex: 1; height: 1px; background: var(--ln); }
.hour .n { font-size: 11px; color: var(--soft); white-space: nowrap; }
.day-h { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.day-n { font-stretch: 100%; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; color: var(--soft); margin-left: auto; }
.m { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; align-items: stretch; overflow: hidden; }
.m .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.m .st { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 4px 10px 9px; border-right: 1px solid var(--ln); color: inherit; }
.st-h { font-stretch: 75%; font-weight: 800; font-size: 20px; color: var(--acc-ink); line-height: 1; white-space: nowrap; }
.st-s { font-size: 10px; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: .05em; text-align: center; line-height: 1.1; }
.st-live { color: var(--acc-ink); }
.st-s-live { color: var(--acc-ink); }
.st-done { color: var(--soft); }
.st-apl { color: var(--amb); font-size: 15px; }
.st-tbc { color: var(--faint); }
.m .body { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 10px 12px; min-width: 0; }
.m .lg { display: flex; align-items: baseline; gap: 8px; font-size: 11px; min-width: 0; }
.m .lg-n { font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m .lg-n:hover { color: var(--acc-ink); }
.m .lg-s { color: var(--soft); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tms-link { display: block; min-width: 0; color: inherit; }
.tms-link:hover { color: inherit; }
.tms { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.tms-ev { grid-template-columns: minmax(0, 1fr); }
.tm { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tm .n { font-stretch: 75%; font-weight: 800; font-size: 15px; text-transform: uppercase; line-height: 1.1; color: var(--ink); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tm-h { justify-content: flex-end; text-align: right; }
.tms-ev .n { font-stretch: 85%; font-size: 15px; }
.vs { font-size: 11px; font-weight: 700; color: var(--faint); }
.crest { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; flex-shrink: 0; background: var(--sf2); }
.crest-txt { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ln); color: var(--navy); font-size: 8px; font-weight: 800; letter-spacing: .02em; }
.crest-s { width: 20px; height: 20px; font-size: 7px; }
.crest-l { width: 52px; height: 52px; font-size: 13px; }
.crest-xl { width: 64px; height: 64px; font-size: 16px; }
.m .chs { display: flex; flex-wrap: wrap; gap: 5px; }
.star { grid-column: 3; display: inline-flex; align-items: center; justify-content: center; width: 40px; border: 0; border-left: 1px solid var(--ln); background: none; color: var(--faint); cursor: pointer; }
.star:hover { color: var(--navy); background: var(--sf2); }
.star[aria-pressed="true"] { color: var(--acc-ink); }
.star[aria-pressed="true"] .ico { fill: var(--acc); stroke: var(--acc); }
.m-finished, .m-played { opacity: .72; }
.m-finished:hover, .m-played:hover { opacity: 1; }
.m-mine { border-color: var(--acc-ln); background: #FFFBF9; }
.m-dim { display: none; }
@media (min-width: 720px) {
  .m { grid-template-columns: 92px minmax(0, 1fr) 44px; }
  .m .st { padding: 12px 6px 12px 11px; }
  .st-h { font-size: 24px; }
  .st-s { font-size: 11px; }
  /* Tarjeta mediana (tableta o columna estrecha): competición y canales arriba, equipos debajo a todo el ancho. */
  .m .body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lg chs" "tms tms"; align-items: center; gap: 6px 14px; padding: 10px 10px 10px 16px; }
  .m .lg { grid-area: lg; font-size: 12px; }
  .m .chs { grid-area: chs; justify-content: flex-end; }
  .tms-link { grid-area: tms; min-width: 0; }
  .tm .n { font-size: 17px; }
  .crest { width: 30px; height: 30px; }
  .star { width: 44px; }
}
/* La tarjeta se adapta al ancho de la lista, no de la ventana: la portada con barra lateral tiene menos sitio que la semana. */
.mlist { container-type: inline-size; }
@container (min-width: 820px) {
  .m .body { display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 12px 10px 12px 16px; }
  /* Competición y canales con ancho fijo: así el «vs» cae en el mismo punto en todas las tarjetas. */
  .m .lg { flex: 0 0 150px; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; }
  .m .lg-s { font-size: 11px; }
  .m .lg-n, .m .lg-s { max-width: 150px; }
  .tms-link { flex: 1 1 0; min-width: 0; }
  .m .chs { flex: 0 0 190px; justify-content: flex-end; }
  .m .chs .chip { display: block; max-width: 100%; line-height: 20px; overflow: hidden; text-overflow: ellipsis; }
}
@container (min-width: 900px) {
  .m .lg { flex-basis: 170px; }
  .m .lg-n, .m .lg-s { max-width: 170px; }
  .m .chs { flex-basis: 210px; }
}

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1px solid var(--ln); background: var(--sf); color: var(--mid); white-space: nowrap; }
.chip-pay { color: #B8300C; background: var(--acc-bg); border-color: var(--acc-ln); }
.chip-free { color: var(--free); background: var(--free-bg); border-color: var(--free-ln); }
.chip-neutral { color: var(--navy); }
.chip-none { color: var(--faint); border-style: dashed; }
.chip-more { color: var(--soft); }
.chip-s { height: 22px; padding: 0 8px; font-size: 10px; }
.chip-btn { cursor: pointer; }
.chip-btn[aria-pressed="true"] { outline: 2px solid var(--navy); outline-offset: 1px; }
a.chip:hover { filter: brightness(.96); color: inherit; }
.chip-pay:hover { color: #B8300C; } .chip-free:hover { color: var(--free); }
.chs-wrap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chs-lead .lbl { margin-right: 4px; }
.bar-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

/* ---------- Estados ---------- */
.state { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.st-t { font-weight: 800; font-size: 15px; color: var(--navy); }
.st-x { font-size: 13px; color: var(--mid); line-height: 1.5; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(11,27,51,.5); }
.toast a { color: #fff; text-decoration: underline; }
.srch-status { font-size: 13px; color: var(--mid); }
.more { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; font-weight: 700; }
.pager a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ln); background: var(--sf); color: var(--navy); }
.pager a:hover { border-color: var(--navy); }

/* ---------- En juego ---------- */
.live { background: var(--navy); color: #fff; border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.live-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: #C9D2E0; }
.live-top h2 { font-stretch: 75%; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.live-x a { color: #fff; font-weight: 700; }
.live-x b { color: #fff; }
.live-all { margin-left: auto; color: #fff; font-weight: 700; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(255,77,28,.3); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(255,77,28,.35); } 50% { box-shadow: 0 0 0 6px rgba(255,77,28,.12); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.live-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .live-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.live-m { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; min-width: 0; }
.live-m:hover { background: rgba(255,255,255,.12); color: #fff; }
.live-l { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; color: #C9D2E0; text-transform: uppercase; letter-spacing: .04em; }
.live-min { color: #FF8A66; font-stretch: 75%; font-size: 13px; }
.live-t { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.live-t .n { color: #fff; font-size: 15px; -webkit-line-clamp: 2; }
.live-sc { font-stretch: 75%; font-weight: 800; font-size: 26px; line-height: 1; }
.live-m .chip-pay { background: rgba(255,77,28,.15); border-color: rgba(255,120,90,.5); color: #FFB49B; }
.live-m .chip-free { background: rgba(27,127,74,.25); border-color: rgba(120,210,160,.5); color: #A8EBC4; }
.live-m .chip-none, .live-m .chip-more { background: none; border-color: rgba(255,255,255,.25); color: #C9D2E0; }

/* ---------- Barra lateral ---------- */
.side { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sl .n { width: 0; }
.side h2 { font-stretch: 75%; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.side-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.side p { font-size: 13px; color: var(--mid); line-height: 1.5; }
.side-mz { background: #FFF6F2; border-color: var(--acc-ln); }
.side-mz .bf { align-self: flex-start; }
.side-txt p + p { margin-top: 8px; }
.sl { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--ln); font-size: 13px; color: var(--ink); }
.sl:first-of-type { border-top: 0; }
.sl .h { font-stretch: 75%; font-weight: 800; color: var(--acc-ink); white-space: nowrap; min-width: 44px; text-transform: uppercase; font-size: 13px; }
.sl .n { flex: 1; min-width: 0; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sl:hover .n { color: var(--acc-ink); }
.st-table { width: 100%; font-size: 13px; }
.st-table th { font-size: 11px; font-weight: 700; color: var(--soft); text-align: left; padding: 4px 4px; border-bottom: 1px solid var(--ln); }
.st-table td { padding: 7px 4px; border-top: 1px solid var(--ln); }
.st-table tr:first-child td { border-top: 0; }
.st-table .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--soft); }
.st-table .pts { font-weight: 800; color: var(--navy); }
.st-table .mine { background: #FFF6F2; }
.st-table a:hover { color: var(--acc-ink); }
.st-full { font-size: 12px; }
.team-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.team-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--ln); font-size: 13px; font-weight: 600; min-width: 0; }
.team-row span { min-width: 0; line-height: 1.2; }
.team-row:nth-child(-n+2) { border-top: 0; }

/* ---------- Ficha de partido ---------- */
.hero { position: relative; overflow: hidden; }
.hero .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 14px 18px 0 22px; font-size: 13px; color: var(--mid); }
.hero-lg { font-weight: 800; color: var(--navy); }
.sep { color: var(--faint); }
.hero-live { display: inline-flex; align-items: center; gap: 8px; color: var(--acc-ink); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; margin-left: auto; }
.hero-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 18px 16px 14px 22px; }
.hero-main-ev { grid-template-columns: auto minmax(0, 1fr); }
.hero-tm { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); }
.hero-tm-h { justify-content: flex-end; text-align: right; }
.hero-tn { font-stretch: 75%; font-weight: 800; font-size: 20px; line-height: 1.05; text-transform: uppercase; }
.hero-sc { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 6px; }
.hero-num { font-stretch: 75%; font-weight: 800; font-size: 40px; line-height: 1; color: var(--acc-ink); letter-spacing: -.02em; white-space: nowrap; }
.hero-num-apl { color: var(--amb); font-size: 28px; }
.hero-num-tbc { color: var(--faint); }
.hero-num-live { font-size: 28px; }
.hero-min { font-stretch: 75%; font-weight: 800; font-size: 14px; color: var(--acc-ink); text-transform: uppercase; }
.hero-sub { font-size: 12px; color: var(--soft); text-align: center; }
.hero-ev { font-stretch: 75%; font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.hero-watch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 18px 14px 22px; border-top: 1px solid var(--ln); background: var(--sf2); }
.hero-watch .lbl { color: var(--navy); margin-right: 4px; }
.hero-chs { display: flex; flex-wrap: wrap; gap: 8px; }
.chx { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 6px; border: 1px solid var(--ln); border-radius: 10px; background: var(--sf); color: var(--ink); }
.chx:hover { border-color: var(--navy); color: var(--ink); }
.chx-l { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; background: var(--sf2); }
.chx-t { display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: var(--navy); border: 1px solid var(--ln); }
.chx-n { font-size: 14px; font-weight: 700; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 10px 18px 12px 22px; border-top: 1px solid var(--ln); font-size: 13px; }
.hero-facts div { display: flex; gap: 6px; }
.hero-facts dt { color: var(--soft); margin: 0; }
.hero-facts dd { margin: 0; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cols-ficha { margin-top: 4px; }
@media (max-width: 719px) {
  .hero-main { gap: 8px; padding: 16px 12px 12px 18px; align-items: start; }
  .hero-tm { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .hero-tm-h { flex-direction: column-reverse; justify-content: flex-start; }
  .hero-tn { font-size: 15px; overflow-wrap: anywhere; }
  .crest-l { width: 44px; height: 44px; font-size: 11px; }
  .hero-num { font-size: 34px; }
  .hero-ev { font-size: 18px; }
  .hero-sc { padding: 6px 2px 0; }
}
@media (min-width: 720px) {
  .hero-tn { font-size: 30px; }
  .hero-num { font-size: 64px; }
  .hero-main { gap: 20px; padding: 24px 24px 18px 28px; }
  .hero-top, .hero-watch, .hero-facts { padding-left: 28px; padding-right: 24px; }
}

/* ---------- Páginas de listado ---------- */
.title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.title-logo { width: 48px; height: 48px; object-fit: contain; }
.title-sub { font-size: 13px; color: var(--mid); margin-top: 4px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.title-star { margin-left: auto; }
.lg-grid, .ch-grid, .art-grid, .team-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .lg-grid, .ch-grid, .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lg-grid, .ch-grid, .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lg-card, .ch-card, .team-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; overflow: hidden; color: var(--ink); }
.lg-card:hover, .ch-card:hover, .team-card:hover, .art-card:hover { border-color: var(--ln2); color: var(--ink); }
.lg-card .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.lg-logo, .ch-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: var(--sf2); flex-shrink: 0; }
.ch-logo-t { display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: var(--navy); border: 1px solid var(--ln); }
.lg-body, .ch-body, .team-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.lg-name, .ch-name, .team-name { font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-meta, .ch-meta, .team-meta { font-size: 12px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-arrow { color: var(--faint); }
.team-card { padding-left: 14px; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letters a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border-radius: var(--r-s); border: 1px solid var(--ln); background: var(--sf); font-size: 13px; font-weight: 700; color: var(--navy); }
.letter-h { margin-top: 10px; color: var(--acc-ink); }
.art-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
.art-date { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.art-title { font-weight: 800; font-size: 16px; color: var(--navy); line-height: 1.25; }
.art-x { font-size: 13px; color: var(--mid); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mz-results { display: flex; flex-direction: column; border: 1px solid var(--ln); border-radius: var(--r-s); overflow: hidden; }
.mz-results button { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; border-top: 1px solid var(--ln); background: var(--sf); text-align: left; cursor: pointer; font-size: 13px; font-weight: 600; }
.mz-results button:first-child { border-top: 0; }
.mz-results button:hover { background: var(--sf2); }

/* ---------- Texto largo ---------- */
.prose-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.prose-card h2, .prose-card .h1 { font-size: 22px; }
.excerpt { font-size: 16px; color: var(--mid); }
.prose { color: var(--ink); line-height: 1.65; }
.prose p { margin: 0 0 12px; }
.prose h2 { font-size: 18px; margin: 18px 0 8px; }
.prose h3 { font-size: 16px; margin: 14px 0 6px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; }
.prose li { margin-bottom: 4px; }
.prose a { color: var(--acc-ink); text-decoration: underline; }
.prose blockquote { margin: 0 0 12px; padding: 8px 14px; border-left: 3px solid var(--acc); background: var(--sf2); border-radius: 0 var(--r-s) var(--r-s) 0; }
.faq { padding: 14px 20px 6px; display: flex; flex-direction: column; }
.faq .lbl { margin-bottom: 6px; }
.faq details { border-top: 1px solid var(--ln); }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] .ico-sum { transform: rotate(180deg); }
.faq .ico-sum { color: var(--soft); transition: transform .15s; }
.faq p { padding: 0 0 12px; font-size: 14px; color: var(--mid); line-height: 1.6; }

/* Enlaces relacionados (barra lateral de la ficha) */
.rel { display: flex; flex-direction: column; }
.rel a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--ln); font-size: 13px; font-weight: 700; color: var(--navy); }
.rel a:first-child { border-top: 0; }
.rel a .ico { color: var(--acc-ink); flex: none; }
.rel a:hover { color: var(--acc-ink); }

/* Bloque de texto de la portada */
.home-about { margin-top: 18px; }
.home-about h2 { font-size: 20px; line-height: 1.25; }
.home-about .prose { font-size: 15px; }
.home-about .prose p:last-child { margin-bottom: 0; }
.home-about .prose a { color: var(--acc-ink); font-weight: 600; }
.home-about .prose a:hover { text-decoration: underline; }
