/* PartidosTV Lite: parrilla, ficha de partido y páginas de competición/canal.
   Guía de televisión: líneas y columnas, cifras alineadas, una sola familia (Archivo variable, condensada para
   horas y títulos), esquinas rectas, sin tarjetas ni sombras. El tema puede cambiar los colores con las variables. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('../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('../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 {
  --ptvl-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ptvl-navy: #0b1b33;
  --ptvl-acc: #ff4d1c;
  --ptvl-acc-ink: #d8390e;
  --ptvl-ink: #141a26;
  --ptvl-mid: #4c5565;
  --ptvl-soft: #6f7889;
  --ptvl-faint: #9aa3b5;
  --ptvl-ln: #e3e7ee;
  --ptvl-ln2: #d7dce5;
  --ptvl-bg: #ffffff;
  --ptvl-band: #f4f6f9;
  --ptvl-free: #1b7f4a;
  --ptvl-free-ln: #9bd7b3;
}
.ptvl, .ptvl-page { color: var(--ptvl-ink); font: 15px/1.45 var(--ptvl-font); -webkit-font-smoothing: antialiased; }
.ptvl *, .ptvl-page * { box-sizing: border-box; }
.ptvl a, .ptvl-page a { color: inherit; text-decoration: none; }
.ptvl-page { max-width: 1200px; margin: 0 auto; padding: 18px 16px 48px; }
@media (min-width: 720px) { .ptvl-page { padding: 26px 24px 64px; } }
.ptvl-cond { font-stretch: 80%; }

/* ---- Títulos y textos ---- */
.ptvl-h1 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 30px; line-height: 1.05; font-weight: 800; font-stretch: 80%; letter-spacing: -0.01em; color: var(--ptvl-navy); }
@media (min-width: 720px) { .ptvl-h1 { font-size: 40px; } }
.ptvl-h1-logo { width: 34px; height: 34px; object-fit: contain; flex: none; }
.ptvl-lead { margin: 0 0 18px; max-width: 80ch; font-size: 15px; line-height: 1.55; color: var(--ptvl-mid); }
.ptvl-lead a, .ptvl-about a { color: var(--ptvl-acc-ink); text-decoration: underline; text-decoration-color: rgba(216, 57, 14, .35); text-underline-offset: 2px; }
.ptvl-lead a:hover, .ptvl-about a:hover { text-decoration-color: currentColor; }
.ptvl-lead b { color: var(--ptvl-navy); }
.ptvl-lbl { margin: 0 0 6px; font-size: 13px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; color: var(--ptvl-navy); }
.ptvl-note { margin: 22px 0 0; font-size: 13px; color: var(--ptvl-mid); }
.ptvl-crumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: 13px; color: var(--ptvl-soft); }
.ptvl-crumb a:hover { color: var(--ptvl-acc-ink); }
.ptvl-empty { padding: 16px 0; border-top: 1px solid var(--ptvl-ln); border-bottom: 1px solid var(--ptvl-ln); color: var(--ptvl-mid); }
.ptvl-card { background: var(--ptvl-bg); }

/* ---- Franja resumen ---- */
.ptvl-strip { margin: 0 0 16px; padding: 0; font-size: 15px; color: var(--ptvl-mid); }
.ptvl-strip b { color: var(--ptvl-navy); font-weight: 700; }
.ptvl-strip-sep { color: var(--ptvl-faint); margin: 0 4px; }

/* ---- Filtros ---- */
.ptvl-filters { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; padding: 12px 0; border-top: 1px solid var(--ptvl-ln2); border-bottom: 1px solid var(--ptvl-ln); }
.ptvl-frow { display: grid; grid-template-columns: 1fr; gap: 4px 12px; align-items: start; }
@media (min-width: 900px) { .ptvl-frow { grid-template-columns: 110px minmax(0, 1fr); } }
.ptvl-flabel { padding-top: 5px; font-size: 13px; font-weight: 700; color: var(--ptvl-navy); }
.ptvl-chips { display: flex; gap: 4px; overflow-x: auto; padding: 0 0 4px; scrollbar-width: thin; }
@media (min-width: 900px) { .ptvl-chips { flex-wrap: wrap; overflow: visible; padding-bottom: 0; } }
.ptvl-chip { flex: none; height: 28px; padding: 0 9px; border: 1px solid var(--ptvl-ln2); border-radius: 0; background: #fff; color: var(--ptvl-ink); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ptvl-chip:hover { border-color: var(--ptvl-navy); }
.ptvl-chip.is-on { background: var(--ptvl-navy); border-color: var(--ptvl-navy); color: #fff; }
.ptvl-chips-ch .ptvl-chip.is-free:not(.is-on) { color: var(--ptvl-free); border-color: var(--ptvl-free-ln); }

/* ---- Días y orden ---- */
.ptvl-bar { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 16px; margin: 0 0 18px; border-bottom: 2px solid var(--ptvl-navy); }
.ptvl-bar .ptvl-days { flex: 1 1 auto; margin: 0; border-bottom: 0; }
.ptvl-order { display: flex; align-items: center; gap: 2px; padding: 6px 0; font-size: 13px; color: var(--ptvl-soft); }
.ptvl-order span { margin-right: 6px; }
.ptvl-ord { height: 26px; padding: 0 9px; border: 1px solid var(--ptvl-ln2); border-radius: 0; background: #fff; color: var(--ptvl-ink); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ptvl-ord + .ptvl-ord { margin-left: -1px; }
.ptvl-ord:hover { border-color: var(--ptvl-navy); position: relative; }
.ptvl-ord.is-on { background: var(--ptvl-navy); border-color: var(--ptvl-navy); color: #fff; }
@media (max-width: 719px) { .ptvl-order { width: 100%; padding: 8px 0 6px; border-top: 1px solid var(--ptvl-ln); } }
.ptvl-rowlg { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 1px; font-size: 11.5px; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .03em; color: var(--ptvl-soft); }
.ptvl-rowlg img { width: 14px; height: 14px; object-fit: contain; }
.ptvl-rowlg:hover { color: var(--ptvl-acc-ink); }
.ptvl-view > .ptvl-row:first-child { border-top: 1px solid var(--ptvl-ln); }
.ptvl-days { display: flex; gap: 0; overflow-x: auto; margin: 0 0 18px; border-bottom: 2px solid var(--ptvl-navy); scrollbar-width: thin; }
.ptvl-tab { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 14px 8px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; border-radius: 0; background: transparent; color: var(--ptvl-mid); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ptvl-tab:hover { color: var(--ptvl-navy); }
.ptvl-tab.is-on { color: var(--ptvl-navy); font-weight: 800; border-bottom-color: var(--ptvl-acc); }
.ptvl-tab .ptvl-n { font-size: 13px; font-weight: 700; color: var(--ptvl-soft); font-variant-numeric: tabular-nums; }
.ptvl-tab.is-on .ptvl-n { color: var(--ptvl-acc-ink); }
.ptvl-tab.is-empty { color: var(--ptvl-faint); }
.ptvl-tab.is-empty .ptvl-n { color: var(--ptvl-faint); }

/* ---- Lista ---- */
.ptvl-group { margin: 0 0 18px; }
.ptvl-lg { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 12px 7px 14px; border-left: 4px solid var(--ptvl-navy); background: var(--ptvl-band); font-size: 15px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; color: var(--ptvl-navy); }
.ptvl-lg a:hover { color: var(--ptvl-acc-ink); }
.ptvl-lglogo { width: 20px; height: 20px; object-fit: contain; }
.ptvl-lgdate { margin-left: auto; font-size: 12px; font-weight: 600; font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--ptvl-soft); }
.ptvl-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 6px 10px; align-items: center; padding: 10px 0 10px 4px; border-bottom: 1px solid var(--ptvl-ln); }
@media (min-width: 720px) { .ptvl-row { grid-template-columns: 76px minmax(0, 1fr) minmax(0, auto); gap: 14px; padding: 10px 8px 10px 4px; } }
.ptvl-h { font-size: 24px; line-height: 1; font-weight: 800; font-stretch: 75%; color: var(--ptvl-acc-ink); font-variant-numeric: tabular-nums; }
.ptvl-live { display: inline-block; font-size: 13px; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; color: var(--ptvl-acc-ink); }
.ptvl-teams { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ptvl-team { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; min-width: 0; }
.ptvl-team span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptvl-team:hover span:last-child { color: var(--ptvl-acc-ink); text-decoration: underline; text-underline-offset: 2px; }
.ptvl-vs { font-size: 11px; color: var(--ptvl-faint); margin-left: 32px; line-height: 1; }
.ptvl-crest { width: 24px; height: 24px; flex: none; object-fit: contain; }
.ptvl-crest-txt { display: inline-flex; align-items: center; justify-content: center; background: var(--ptvl-band); border: 1px solid var(--ptvl-ln); color: var(--ptvl-soft); font-size: 10px; font-weight: 700; font-stretch: 80%; }
.ptvl-crest-l { width: 52px; height: 52px; font-size: 17px; }
.ptvl-watch { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
@media (min-width: 720px) { .ptvl-watch { grid-column: auto; justify-content: flex-end; max-width: 460px; } }
.ptvl-chs { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.ptvl-ch { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--ptvl-ln2); background: #fff; color: var(--ptvl-navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ptvl-ch.is-free { color: var(--ptvl-free); border-color: var(--ptvl-free-ln); }
a.ptvl-ch:hover { border-color: var(--ptvl-navy); }
.ptvl-veren { margin: 0 2px 0 8px; font-size: 12px; color: var(--ptvl-soft); }
.ptvl-btns { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.ptvl-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid rgba(0, 0, 0, .15); background: var(--bg, var(--ptvl-navy)); color: var(--fg, #fff); font-size: 12px; font-weight: 800; white-space: nowrap; }
.ptvl-btn:hover { filter: brightness(1.08); }
.ptvl-tbc { font-size: 12px; color: var(--ptvl-faint); }
.ptvl-none { margin: 0 0 18px; padding: 14px 0; border-bottom: 1px solid var(--ptvl-ln); color: var(--ptvl-mid); }

/* ---- Guía y preguntas frecuentes ---- */
.ptvl-about { margin: 30px 0 0; padding: 18px 0 0; border-top: 2px solid var(--ptvl-navy); }
.ptvl-about h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.1; font-weight: 800; font-stretch: 80%; color: var(--ptvl-navy); }
.ptvl-about p { margin: 0 0 10px; max-width: 86ch; font-size: 15.5px; line-height: 1.6; }
.ptvl-about p:last-child { margin-bottom: 0; }
.ptvl-about b { color: var(--ptvl-navy); }
.ptvl-faq { margin: 26px 0 0; padding: 14px 0 0; border-top: 2px solid var(--ptvl-navy); }
.ptvl-faq details { border-bottom: 1px solid var(--ptvl-ln); }
.ptvl-faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 15px; font-weight: 700; color: var(--ptvl-navy); cursor: pointer; list-style: none; }
.ptvl-faq summary::-webkit-details-marker { display: none; }
.ptvl-faq summary::after { content: '+'; color: var(--ptvl-faint); font-weight: 400; font-size: 20px; line-height: 1; }
.ptvl-faq details[open] summary::after { content: '–'; }
.ptvl-faq p { margin: 0; padding: 0 0 12px; max-width: 86ch; color: var(--ptvl-mid); line-height: 1.6; }

/* ---- Ficha de partido ---- */
.ptvl-hero { margin: 0 0 18px; padding: 14px 0 0; border-top: 2px solid var(--ptvl-navy); }
.ptvl-hero-top { margin: 0 0 10px; font-size: 13px; color: var(--ptvl-mid); }
.ptvl-hero-top a { font-weight: 700; color: var(--ptvl-navy); }
.ptvl-hero-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0 18px; }
.ptvl-hero-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; font-size: 16px; font-weight: 700; }
@media (min-width: 720px) { .ptvl-hero-team { flex-direction: row; justify-content: flex-end; gap: 14px; font-size: 24px; font-stretch: 85%; } .ptvl-hero-team.ptvl-hero-away { flex-direction: row-reverse; } }
.ptvl-hero-time { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 12px; }
.ptvl-hero-num { font-size: 44px; line-height: 1; font-weight: 800; font-stretch: 75%; color: var(--ptvl-acc-ink); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .ptvl-hero-num { font-size: 60px; } }
.ptvl-hero-sub { font-size: 12px; font-weight: 700; color: var(--ptvl-soft); text-transform: uppercase; letter-spacing: .04em; }
.ptvl-hero-watch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 0; border-top: 1px solid var(--ptvl-ln); border-bottom: 1px solid var(--ptvl-ln); }
.ptvl-hero-watch .ptvl-lbl { margin: 0; }
.ptvl-watch-big { justify-content: flex-start; max-width: none; }
.ptvl-watch-big .ptvl-ch { height: 28px; font-size: 13px; }
.ptvl-watch-big .ptvl-btn { height: 30px; font-size: 13px; padding: 0 14px; }
.ptvl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 20px; margin: 0; padding: 0; }
.ptvl-facts div { padding: 9px 0; border-bottom: 1px solid var(--ptvl-ln); }
.ptvl-facts dt { margin: 0 0 1px; font-size: 12px; color: var(--ptvl-soft); }
.ptvl-facts dd { margin: 0; font-size: 14px; font-weight: 600; }
.ptvl-cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.ptvl-main { flex: 999 1 560px; min-width: 0; }
.ptvl-side { flex: 1 1 260px; max-width: 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 919px) { .ptvl-side { max-width: none; } }
.ptvl-prose { font-size: 16px; line-height: 1.65; max-width: 80ch; }
.ptvl-prose p { margin: 0; }
.ptvl-prose p + p { margin-top: 10px; }
.ptvl-main .ptvl-faq { margin-top: 24px; }
.ptvl-sidecard { display: flex; flex-direction: column; padding: 10px 0 0; border-top: 2px solid var(--ptvl-navy); }
.ptvl-sidecard h2 { margin: 0 0 4px; font-size: 14px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .03em; color: var(--ptvl-navy); }
.ptvl-sl { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 3px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--ptvl-ln); font-size: 13.5px; }
.ptvl-sl-h { grid-row: 1 / span 2; font-size: 16px; font-weight: 800; font-stretch: 75%; color: var(--ptvl-acc-ink); font-variant-numeric: tabular-nums; }
.ptvl-sl-n { font-weight: 600; }
.ptvl-sl:hover .ptvl-sl-n { color: var(--ptvl-acc-ink); }
.ptvl-sl .ptvl-ch { grid-column: 2; justify-self: start; height: 20px; font-size: 10.5px; }
.ptvl-more { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ptvl-acc-ink); }
.ptvl-rel { display: flex; flex-direction: column; }
.ptvl-rel a { padding: 8px 0; border-bottom: 1px solid var(--ptvl-ln); font-size: 13.5px; font-weight: 600; color: var(--ptvl-navy); }
.ptvl-rel a:hover { color: var(--ptvl-acc-ink); }
