/* Basket en TV, identidad «Pista». Fuentes: Big Shoulders Display y Libre Franklin (SIL Open Font License), autoalojadas. */
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 600 900; font-display: swap; src: url('fonts/big-shoulders-display-600-900-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 600 900; font-display: swap; src: url('fonts/big-shoulders-display-600-900-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; }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/libre-franklin-400-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/libre-franklin-400-700-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; }

/* Identidad «Pista». Tres ideas del baloncesto y nada más:
   - cada hora es un reloj de posesión: caja negra, dígitos ámbar;
   - el día se cuenta en cuartos (1.º mediodía, 2.º tarde, 3.º noche, 4.º la madrugada de la NBA);
   - cada partido es un marcador de pabellón: Local a la izquierda, el reloj en medio, Visitante a la derecha (en el
     móvil, el reloj a la izquierda y los dos equipos uno encima del otro); la ficha abre con el marcador grande.
   Cabecera color parqué con la pista dibujada; Big Shoulders Display para horas y títulos, Libre Franklin para leer.
   Esquinas rectas, sin sombras ni degradados; el único botón lleno es el ámbar «Ver en…» de la ficha. */
:root {
  --btv-font: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --btv-font-head: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --btv-font-num: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --btv-bg: #fffdf8;
  --btv-ink: #15130f;
  --btv-mid: #4b463d;
  --btv-soft: #6f685c;
  --btv-faint: #a59d8f;
  --btv-ln: #ebe4d7;
  --btv-ln2: #d6cbb7;
  --btv-band: #f5efe4;
  --btv-acc: #f0a10a;
  --btv-acc-ink: #8a5300;
  --btv-free: #0b7a3e;
  --btv-live: #d92d20;
  --btv-btn-bg: #ffb81c;
  --btv-btn-ink: #15130f;
  --btv-when-w: 66px;
  --btv-time-size: 22px;
  --btv-h1-size: 34px;
  --btv-h1-size-l: 52px;
  --pista-parque: #dfa964;
  --pista-parque-ln: #c48f4c;
  --pista-reloj: #15130f;
  --pista-ambar: #ffb81c;
  --site-head-bg: var(--pista-parque);
  --site-head-ink: #15130f;
  --site-head-soft: #3f3020;
  --site-head-rule: #15130f;
}

/* Cabecera: el parqué y, como marca, la pista dibujada */
.site-head { border-bottom: 4px solid var(--btv-ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 30px/1 var(--btv-font-head); letter-spacing: 0; }
.brand-mark { flex: none; }
.site-nav a, .site-nav li a { font-weight: 600; }
.site-nav a[aria-current="page"], .site-nav .current-menu-item > a { border-bottom-color: var(--btv-ink); }
@media (max-width: 719px) {
  .brand { padding: 12px 16px 10px; font-size: 28px; }
  .site-nav { border-top-color: var(--pista-parque-ln); }
}

/* Pie: oscuro, como el fondo del marcador */
.site-foot { border-top: 0; background: var(--pista-reloj); color: #cfc7b8; }
.site-foot a { color: #fffdf8; }
.foot-cols { border-bottom-color: #3a352d; }
@media (min-width: 720px) { .foot-cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-cols h2 { color: var(--pista-ambar); font-size: 20px; }
.foot-cols li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot-free { color: #6fd39b; }

/* Títulos */
.btv-h1 { font-weight: 800; line-height: 1; letter-spacing: 0; }
.single-partido .btv-h1 { font-size: 30px; } /* la ficha lleva título largo: un punto más pequeño */
@media (min-width: 720px) { .single-partido .btv-h1 { font-size: 44px; } }
.btv-sec-h, .btv-about h2, .btv-newsblock-h h2, .btv-sidecard h2 { font-weight: 800; font-size: 24px; letter-spacing: 0; }
.btv-sec-h, .btv-about h2, .btv-newsblock-h, .btv-sidecard h2 { border-bottom-width: 3px; }
.btv-sidecard h2 { font-size: 21px; }
.btv-strip b { font-weight: 700; }

/* Días: la pestaña activa con la línea ámbar del reloj */
.btv-bar { border-bottom-width: 3px; }
.btv-tab { font: 700 20px/1 var(--btv-font-head); padding-top: 13px; }
.btv-tab.is-on { border-bottom: 4px solid var(--btv-acc); }
.btv-n { font-family: var(--btv-font); font-size: 12px; }
.btv-chip.is-on, .btv-sel.is-set { border-color: var(--btv-ink); }

/* Cuartos */
.btv-slot, .btv-lg { display: flex; align-items: center; padding: 18px 0 6px; font: 800 20px/1 var(--btv-font-head); color: var(--btv-ink); }
.btv-q { min-width: 30px; margin-right: 9px; padding: 3px 4px 2px; border: 0; background: var(--pista-reloj); color: var(--pista-ambar); font: 700 14px/1 var(--btv-font-num); }
.btv-night .btv-q { background: var(--pista-ambar); color: var(--pista-reloj); }
.btv-slot + .btv-row, .btv-lg + .btv-row { border-top: 2px solid var(--btv-ink); }

/* El reloj de posesión (hora o resultado) */
.btv-when { align-items: flex-start; }
.btv-when .btv-box { display: inline-flex; justify-content: center; min-width: 62px; padding: 6px 6px 5px; background: var(--pista-reloj); color: var(--pista-ambar); font-weight: 700; letter-spacing: 0.03em; }
.btv-st { margin-top: 3px; width: 62px; text-align: center; font-size: 11px; }
.btv-st.is-late { color: var(--btv-acc-ink); font-weight: 600; }
.btv-row.is-live .btv-when .btv-box { color: #ff6b5e; }
.btv-row.is-done .btv-when .btv-box { background: var(--btv-ln); color: var(--btv-soft); }
.btv-row.is-done .btv-when .btv-box-score { background: var(--pista-reloj); color: #fffdf8; }
.btv-row.is-off .btv-when .btv-box { background: var(--btv-ln); color: var(--btv-faint); }

/* Fila en el móvil: el reloj a la izquierda; los dos equipos uno encima del otro, con su escudo; debajo, la
   competición y el canal */
.btv-row { padding: 10px 0; column-gap: 12px; }
.btv-teams { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 1px; font-size: 16.5px; font-weight: 700; }
.btv-vs { display: none; }
.btv-team { gap: 8px; }
.btv-crest { width: 22px; height: 22px; }
.btv-meta { margin-top: 4px; font-size: 13.5px; }
.btv-chl { font-weight: 700; }
.btv-row.is-done .btv-team.is-win { color: var(--btv-ink); }

/* Fila en el ordenador: el marcador. Local | reloj | Visitante, con los escudos pegados al reloj, y el canal en su
   columna. Los relojes quedan todos en una columna y los nombres siempre en el mismo sitio. */
@media (min-width: 900px) {
  .btv-row { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr) 210px; grid-template-areas: "home when away meta"; align-items: center; column-gap: 16px; padding: 9px 0; }
  .btv-teams { display: contents; }
  .btv-team { font-size: 17px; font-weight: 700; gap: 12px; min-width: 0; }
  .btv-team-home { grid-area: home; flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
  .btv-team-away { grid-area: away; }
  .btv-crest { width: 30px; height: 30px; }
  .btv-crest-txt { font-size: 10px; }
  .btv-when { grid-area: when; align-items: center; }
  .btv-when .btv-box { min-width: 76px; font-size: 25px; padding: 7px 6px 6px; }
  .btv-st { width: auto; }
  .btv-meta { grid-area: meta; margin-top: 0; }
}

/* Ficha: el marcador del pabellón */
.btv-hero { margin-top: 14px; padding: 0 0 14px; border-top: 0; }
.btv-hero-top { margin-bottom: 8px; }
.btv-hero-main { padding: 14px 10px 16px; background: var(--pista-reloj); color: #fffdf8; gap: 8px; }
.btv-hero-team { gap: 7px; font: 700 19px/1.1 var(--btv-font-head); color: #fffdf8; }
.btv-hero-team a:hover { color: var(--pista-ambar); text-decoration: none; }
.btv-hero-side { color: #a59d8f; font-size: 12px; font-family: var(--btv-font); font-weight: 600; }
.btv-hero-team .btv-crest-l { width: 52px; height: 52px; padding: 6px; background: #fffdf8; }
.btv-hero-team .btv-crest-txt { border: 0; color: var(--btv-ink); font-size: 14px; }
.btv-hero-num { color: var(--pista-ambar); font-size: 54px; font-weight: 800; letter-spacing: 0.02em; }
.btv-hero-num i { color: #6f685c; }
.btv-hero-done, .btv-hero-off { color: #cfc7b8; }
.btv-hero-sub { color: #cfc7b8; font-size: 12px; }
.btv-hero-main .btv-live { color: #ff6b5e; }
@media (min-width: 720px) {
  .btv-hero-main { padding: 22px 20px 24px; }
  .btv-hero-team { font-size: 26px; }
  .btv-hero-team .btv-crest-l { width: 68px; height: 68px; }
  .btv-hero-num { font-size: 76px; }
}
.btv-btn { border-width: 2px; }
.btv-btn.is-main:hover { text-decoration: none; background: #ffc74a; }
.btv-facts dd { font-weight: 700; }
.btv-faq summary { font-weight: 700; }
.btv-about p, .btv-lead { color: var(--btv-mid); }
