/* Rediseño del home (/nuevo-home). Tokens y componentes del HANDOFF.
   Todo va bajo .tdsh para no pisar los estilos del resto del sitio. */


:root {
  --bg: #FFFFFF;
  --panel: #F6F6F4;
  --line: #E3E3DF;
  --ink: #0E0E0C;
  --muted: #55554E;
  --body: #3A3A35;
  --moss: #4A5A2B;
  --moss-100: #DFE3CF;
  --moss-200: #C7CDB0;
  --moss-light: #A9B38A;
  --moss-ink: #2E3A18;
  --map-land: #EEEEEB;
  --sponsor-bg: #F4F4F2;
  --dark-soft: #DCDCD6;
  --dark-panel: #1C1C19;

  --font-display: 'Anybody', sans-serif;
  --font-text: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --gutter: 64px;

  /* Radios: el sitio usa solo estos tres valores (o 50% en círculos). */
  --radius-none: 0;        /* fotos a sangre, hero, franjas, ticker, barras */
  --radius-sm: 4px;        /* contenedores: tarjetas, filas, inputs, paneles, botones con texto */
  --radius-full: 999px;    /* píldoras (chips, filtros) y círculos (avatar, botones solo-ícono) */
}

.tdsh, .tdsh *, .tdsh *::before, .tdsh *::after { box-sizing: border-box; }
.tdsh { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); -webkit-font-smoothing: antialiased; }
.tdsh a { color: var(--ink); text-decoration: none; }
.tdsh a:hover { color: var(--moss); }
.tdsh button, .tdsh input { font-family: inherit; }
.tdsh button { cursor: pointer; }
.tdsh img { display: block; max-width: 100%; }
.tdsh :focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.tdsh h1, .tdsh h2, .tdsh h3, .tdsh p { margin: 0; }

html { scroll-behavior: smooth; }
#calendario, #mapa { scroll-margin-top: 80px; }
.tdsh-skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff !important; padding: 10px 16px; z-index: 100; }
.tdsh-skip:focus { left: 0; }
.tdsh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografía ---------- */
/* Etiqueta mono: un solo estilo para todo texto en JetBrains Mono (nunca menos de 12px).
   Cada componente conserva su color y su caja; el tamaño, el peso, el interlineado y el tracking viven solo acá.
   Color: --muted (#55554E) sobre claro; --moss-light (#A9B38A) sobre oscuro (.label-mono.on-dark). */
.label-mono,
.tdsh .lbl,
.tdsh-seg button,
.tdsh-seg .segl,
.nh-grat,
.tdsh-sel-list .d,
.tdsh .tg small,
.race .r-flag,
.tk-tag,
.tdsh .ex-tg small,
.ex-seg button,
.ex-opt small,
.ex-dk,
.ex-flag,
.ex-check small,
.rc-crumbs ol,
.tdsh .rc-subnav a,
.st-pt small,
.st-tabs button,
.st-rd small,
.st-recap-tag,
.br-strip-r,
.br-crumbs ol,
.br-opt small,
.br-badge-new,
.br-lead-foot span,
.br-index-row .l,
.br-badge-tx,
.br-cover figcaption,
.br-byline dt,
.br-facts dt,
.br-quote figcaption,
.br-eyebrow,
.br-stats span,
.br-list small,
.br-sec-img figcaption,
.br-pull figcaption,
.br-shot-cap,
.nw-crumbs,
.pd-tabs button,
.au-div,
.fm-l,
.adm-table th,
.adm .table th,
.adm .form-label,
.cp-chip,
.sl-crumbs ol,
.sl-stats dt,
.sl-count,
.sl-date i,
.sl-date em,
.sl-tags em,
.tl .tool-eyebrow,
.tl .filter-title,
.tl .tool-output-label,
.tl .tool-table th,
.tl .rf-dists i {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.label-mono { color: var(--muted); }
.label-mono.on-dark { color: var(--moss-light); }
.tdsh .lbl { color: var(--muted); }
.tdsh .h { font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.03em; line-height: .88; }
.tdsh .moss { color: var(--moss); }

/* ---------- botones / píldoras ---------- */
.tdsh .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: var(--radius-sm); border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.tdsh .btn:hover { background: var(--ink); color: #fff; }
.tdsh .btn-ink { background: var(--ink); color: #fff; }
.tdsh .btn-ink:hover { background: var(--moss); border-color: var(--moss); color: #fff; }
.tdsh .btn-moss { background: var(--moss); border-color: var(--moss); color: #fff; }
.tdsh .btn-moss:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.tdsh .btn-sm { height: 42px; }
.tdsh .pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; background: var(--panel); color: var(--ink); }
.tdsh .pill-moss { background: var(--moss); color: #fff; }
.tdsh .pill-chip { background: var(--moss-100); color: var(--moss-ink); height: 24px; padding: 0 10px; }
/* Ícono de línea de la familia de deporte dentro de los chips de disciplina (hereda el color del chip). */
.sf-ic { width: 1.3em; height: 1.3em; flex: none; margin-right: 5px; margin-left: -1px; fill: none; stroke: currentColor; }
.tdsh .dist { display: inline-flex; padding: 6px 11px; border: 1px solid var(--ink); border-radius: var(--radius-full); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.tdsh .dist-fill { background: var(--ink); color: #fff; }

/* ---------- nav ---------- */
.tdsh-nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.tdsh-logo { display: flex; align-items: center; flex: 0 0 300px; }
.tdsh-logo img { height: 16px; width: auto; }
.tdsh-links { display: flex; gap: 36px; font-size: 15px; }
.tdsh-links a { color: var(--muted); }
.tdsh-links a:first-child { color: var(--ink); font-weight: 600; }
.tdsh-links a:hover { color: var(--moss); }
.tdsh-nav-r { display: flex; align-items: center; gap: 12px; flex: 0 0 420px; justify-content: flex-end; }
.tdsh-nav-search { display: flex; align-items: center; gap: 10px; width: 250px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); color: var(--muted); }
.tdsh-nav-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 14px; color: var(--ink); }
.tdsh-nav-search:focus-within { border-color: var(--ink); }
.tdsh-nav-send-short { display: none; }

.tdsh-status { height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); gap: 16px; overflow: hidden; white-space: nowrap; }
.tdsh-status > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tdsh-dot { width: 7px; height: 7px; border-radius: var(--radius-full); background: var(--moss); flex: none; }

/* ---------- buscador en línea (boletín) ---------- */
.tdsh-search { display: flex; align-items: center; height: 56px; border: 1px solid var(--ink); border-radius: var(--radius-sm); background: var(--panel); padding: 0 6px 0 18px; gap: 12px; }
.tdsh-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; color: var(--ink); }

/* ---------- hero del home: "Arma tu temporada" ---------- */
/* Una pantalla de 900 px = barra 42 + menú 72 + hero 742 + cinta 44. En pantallas más bajas se comprime con vh. */
.hh { display: grid; grid-template-columns: minmax(0, 784fr) minmax(0, 656fr); min-height: clamp(600px, calc(100vh - 158px), 742px); }
.hh-l { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 6.2vh, 56px) 40px clamp(20px, 4.4vh, 40px) var(--gutter); }
.tdsh .hh-h1 { color: var(--moss); }
/* "TEMPORADA" mide 7,25 veces el cuerpo: el tamaño sale del ancho de la columna (y del alto en pantallas bajas). */
.tdsh .hh-title { margin-top: clamp(14px, 4vh, 36px); font-size: min(92px, 11.5vh, calc((54.4vw - 104px) / 7.45)); white-space: nowrap; }
.tdsh .hh-lead { margin-top: clamp(14px, 3.8vh, 34px); max-width: 580px; font-size: clamp(16px, 2.12vh, 19px); line-height: 1.45; color: var(--body); }
.hh-nowrap { white-space: nowrap; }

/* buscador */
.hh-search { display: flex; align-items: stretch; flex: none; height: clamp(64px, 8.45vh, 76px); margin-top: clamp(18px, 4.7vh, 42px); border: 2px solid var(--ink); border-radius: 6px; background: var(--bg); }
.hh-seg { position: relative; flex: 1.05; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 14px 0 16px; border-right: 1px solid var(--line); cursor: pointer; }
.hh-seg-q { flex: 1.45; padding: 0 8px 0 16px; cursor: text; }
.hh-seg-when { flex: 1.3; }
.hh-seg input, .hh-seg select { width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: 500 17px/1.3 var(--font-text); }
.hh-seg select { appearance: none; -webkit-appearance: none; padding-right: 14px; font-weight: 600; text-overflow: ellipsis; cursor: pointer; }
.tdsh .hh-seg-sel .label-mono { position: absolute; left: 16px; top: calc(50% - 21px); pointer-events: none; }
.hh-seg-sel select { position: absolute; inset: 0; height: 100%; padding: 20px 14px 0 16px; }
.hh-seg-sel::after { content: '▾'; position: absolute; right: 12px; bottom: calc(50% - 21px); font-size: 14px; pointer-events: none; }
.hh-seg input::placeholder { color: #76766E; }
.tdsh .hh-seg input:focus-visible, .tdsh .hh-seg select:focus-visible { outline: 0; }
.hh-seg:focus-within { box-shadow: inset 0 0 0 2px var(--moss); }
.hh-q-ic { display: none; }
.hh-go { width: 128px; flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 0 3px 3px 0; background: var(--moss); color: #fff; font: 700 17px var(--font-text); }
.hh-go:hover { background: var(--moss-ink); }
.tdsh .hh-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* chips de disciplina */
.hh-chips-wrap { position: relative; margin-top: clamp(12px, 2.2vh, 20px); }
.hh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tdsh .hh-chip { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 clamp(11px, 1.05vw, 15px); border: 1.5px solid var(--moss-200); border-radius: var(--radius-full); background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s ease-out, color .15s ease-out; }
.tdsh .hh-chip:hover { border-color: var(--ink); color: var(--ink); }
.tdsh .hh-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.hh-more { position: relative; }
.hh-more > summary { list-style: none; user-select: none; }
.hh-more > summary::-webkit-details-marker { display: none; }
.hh-caret { font-size: 11px; }
.hh-menu { position: absolute; top: 52px; right: 0; z-index: 20; width: 420px; max-width: calc(100vw - 32px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 6px; background: var(--bg); border: 1.5px solid var(--ink); border-radius: 6px; box-shadow: 0 16px 28px -16px rgba(14,14,12,.5); }
.tdsh .hh-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm); color: var(--ink); font-size: 15px; font-weight: 500; }
.tdsh .hh-menu a:hover, .tdsh .hh-menu a.on { background: var(--moss-100); }

.hh-pick { display: none; } /* solo móvil */

.hh-foot { margin-top: auto; flex: none; display: flex; align-items: center; min-height: 48px; border-top: 1px solid var(--line); }
.tdsh .hh-map { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.hh-map svg { width: 18px; height: 18px; color: var(--moss); }

/* panel de los próximos meses */
.hh-r { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 6.2vh, 56px) var(--gutter) clamp(20px, 4.4vh, 40px) 48px; background: var(--panel); border-left: 1px solid var(--line); }
.hh-r-head p { color: var(--moss); }
.hh-r-head { display: flex; align-items: center; min-height: 16px; }
.hh-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: none; margin-top: clamp(12px, 2.2vh, 20px); border-bottom: 1px solid var(--line); }
.tdsh .hh-r .hh-tab { display: flex; flex-direction: column; justify-content: center; height: 48px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--muted); transition: color .15s ease-out; }
.tdsh .hh-r .hh-tab:hover { color: var(--ink); }
.tdsh .hh-r .hh-tab.on { border-bottom-color: var(--moss); color: var(--ink); }
.tdsh .hh-tab .h { font-size: 22px; }
.hh-body { flex: 1; display: flex; flex-direction: column; }
.hh-month[hidden] { display: none; }

/* carrera principal */
.tdsh .hh-r .hh-feat { position: relative; display: block; height: clamp(160px, 26.2vh, 236px); margin-top: clamp(14px, 2.7vh, 24px); border-radius: 6px; overflow: hidden; background: var(--moss); color: #fff; }
.tdsh .hh-r .hh-feat:hover { color: #fff; }
.tdsh .hh-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); }
.hh-feat-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 80%; background: linear-gradient(to top, rgba(14,14,12,.94), rgba(14,14,12,.72) 50%, rgba(14,14,12,0)); }
.hh-feat-tx { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; text-shadow: 0 1px 8px rgba(14,14,12,.6); }
.hh-feat-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hh-feat-tag { color: var(--moss-200); }
.tdsh .hh-feat-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-right: 4px; font-size: clamp(22px, 3.1vh, 28px); line-height: .95; }
.hh-feat-meta { font-size: 13px; color: var(--dark-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-feat-weeks { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tdsh .hh-feat-weeks .h { padding-right: 3px; font-size: 44px; }
.hh-feat-weeks .label-mono { color: var(--moss-200); }
.tdsh .hh-r .hh-feat:hover .hh-feat-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* filas */
.hh-rows { list-style: none; margin: clamp(8px, 1.4vh, 12px) 0 0; padding: 0; }
.hh-row { display: flex; align-items: center; gap: 16px; height: clamp(60px, 8vh, 72px); border-bottom: 1px solid var(--line); transition: background .15s ease-out; }
.hh-row:hover { background: var(--bg); }
.hh-thumb { position: relative; width: 56px; height: 56px; flex: none; border-radius: var(--radius-sm); overflow: hidden; background: var(--moss-100); }
.tdsh .hh-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); }
.tdsh .hh-r .hh-row-link { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 16px; }
.hh-day { display: none; }
.hh-row-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hh-row-tx b, .hh-row-tx small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-row-tx b { font-size: 16px; font-weight: 600; }
.hh-row-tx small { font-size: 13px; color: var(--muted); }
.hh-weeks { width: 64px; flex: none; text-align: right; white-space: nowrap; color: var(--moss); }
.hh-save { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1.5px solid var(--moss-200); border-radius: var(--radius-full); background: var(--bg); color: var(--ink); }
.hh-save:hover { border-color: var(--ink); }
.hh-save[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: #fff; }
.hh-save[aria-pressed="true"] path { fill: currentColor; }

.tdsh .hh-empty { padding: 24px 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.tdsh .hh-r .hh-empty a { display: inline-flex; align-items: center; min-height: 44px; color: var(--moss); text-decoration: underline; text-underline-offset: 4px; }
.tdsh .hh-r .hh-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex: none; min-height: 48px; margin-top: 12px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.tdsh .hh-r .hh-cta:hover { color: var(--moss); }

@media (min-width: 1280px) and (max-width: 1439px) { .hh-go { width: 112px; } }

/* escritorio angosto: el buscador pasa a dos filas */
@media (min-width: 640px) and (max-width: 1279px) {
  .hh-search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; grid-template-rows: 64px 64px; height: auto; }
  .hh-seg-q { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .hh-go { width: 112px; border-radius: 0 0 3px 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hh-r { padding-left: 32px; }
  .hh-l { padding-right: 32px; }
  .hh-row, .tdsh .hh-r .hh-row-link { gap: 12px; }
  .hh-thumb { display: none; }
  .tdsh .hh-title { font-size: min(92px, 11.5vh, calc((54.4vw - 72px) / 7.45)); }
}
@media (max-width: 1023px) {
  .hh { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hh-l { padding: 28px var(--gutter) 24px; }
  .tdsh .hh-title { font-size: min(92px, calc((100vw - 80px) / 7.45)); }
  .hh-foot { margin-top: 24px; }
  .hh-r { padding: 32px var(--gutter) 28px; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 639px) {
  .hh-l { padding-bottom: 0; }
  .tdsh .hh-h1 { font-size: 11px; letter-spacing: .04em; }
  .tdsh .hh-title { margin-top: 18px; font-size: calc((100vw - 40px) / 7.45); }
  .tdsh .hh-lead { margin-top: 16px; font-size: 16px; }
  .hh-wide { display: none; }
  .hh-search { height: 56px; margin-top: 20px; }
  .hh-seg-q { flex: 1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; padding: 0 14px; border-right: 0; }
  .hh-seg-q .label-mono { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hh-q-ic { display: inline-flex; color: var(--muted); }
  .hh-seg input { font-size: 16px; text-overflow: ellipsis; }
  .hh-seg-sel { display: none; }
  .hh-go { width: auto; padding: 0 18px; font-size: 15px; }
  .hh-go svg { display: none; }
  /* deportes: en vez de chips, un campo bajo el buscador (el texto queda alineado con el de arriba) que despliega la
     lista con el mismo formato del panel de Novedades */
  .hh-chips { display: none; }
  .hh-chips-wrap { margin: 10px 0 20px; }
  .hh-pick { display: block; position: relative; }
  .hh-pick-btn { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14.5px; border: 1.5px solid var(--moss-200); border-radius: 6px; list-style: none; user-select: none; cursor: pointer; }
  .hh-pick-btn::-webkit-details-marker { display: none; }
  .hh-pick-btn svg { flex: none; color: var(--muted); }
  .hh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hh-pick-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 600; }
  .hh-pick-btn.on, .hh-pick[open] > .hh-pick-btn { border-color: var(--ink); }
  .hh-pick[open] > .hh-pick-btn::before { content: ''; position: fixed; inset: 0; z-index: 40; cursor: default; }
  .hh-drop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 41; background: var(--bg); border: 1.5px solid var(--ink); box-shadow: 0 14px 34px rgba(0,0,0,.16); }
  .hh-drop-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tdsh .hh-drop-list a { display: flex; align-items: center; min-width: 0; min-height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600; }
  .tdsh .hh-drop-list a:first-child { grid-column: 1 / -1; }
  .hh-drop-list a:nth-child(even) { border-right: 1px solid var(--line); }
  .tdsh .hh-drop-list a:nth-last-child(-n+2) { border-bottom: 0; }
  .tdsh .hh-drop-list a:active { background: var(--panel); }
  .tdsh .hh-drop-list a.on { background: var(--panel); box-shadow: inset 3px 0 0 var(--moss); }
  .hh-foot { display: none; }

  .hh-r { padding: 8px var(--gutter) 12px; }
  .hh-r-head { min-height: 44px; }
  .hh-r-head p { font-size: 11px; letter-spacing: .06em; }
  .hh-tabs { margin-top: 0; }
  .tdsh .hh-r .hh-tab { align-items: center; height: 47px; }
  .tdsh .hh-tab .h { font-size: 20px; }
  .tdsh .hh-r .hh-feat { height: 180px; margin-top: 14px; }
  .hh-feat-tx { left: 14px; right: 14px; bottom: 14px; }
  .tdsh .hh-feat-name { font-size: 24px; }
  .tdsh .hh-feat-weeks .h { font-size: 34px; }
  .hh-rows { margin-top: 4px; }
  .hh-row { height: auto; min-height: 66px; }
  .tdsh .hh-r .hh-row-link { gap: 14px; padding: 10px 0; }
  .hh-thumb, .hh-save, .hh-row-date { display: none; }
  .hh-day { display: flex; flex-direction: column; width: 40px; flex: none; }
  .tdsh .hh-day .h { font-size: 20px; }
  .hh-day .label-mono { color: var(--moss); }
  .hh-row-tx b { font-size: 15px; }
  .hh-row-tx small { font-size: 12px; }
  .tdsh .hh-r .hh-weeks { width: auto; padding: 4px 8px; border-radius: var(--radius-sm); background: var(--moss-100); color: var(--ink); }
  .tdsh .hh-r .hh-cta { min-height: 52px; margin-top: 0; border-top: 0; } /* la línea de la última fila ya separa */
}
@media (prefers-reduced-motion: reduce) { .tdsh .hh-chip, .hh-row, .tdsh .hh-r .hh-tab { transition: none; } }

/* ---------- secciones ---------- */
.tdsh-sec { padding: 120px var(--gutter) 110px; display: flex; flex-direction: column; gap: 40px; border-bottom: 1px solid var(--line); }
.tdsh-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.tdsh-sec-head > div { display: flex; flex-direction: column; gap: 24px; }
.tdsh-sec h2 { font-size: 81px; }

/* ---------- destacadas ---------- */
.tdsh-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; min-height: 560px; }
.tdsh-feat-main { grid-column: span 2; display: flex; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.tdsh-feat-main { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.tdsh-feat-main:hover { border-color: var(--ink); }
.tdsh-feat-info h3 a::after { content: ''; position: absolute; inset: 0; z-index: 3; } /* toda la tarjeta es clicable */
.tdsh-feat-btns .btn { position: relative; z-index: 4; }
.tdsh-feat-photo { width: 420px; flex: none; position: relative; overflow: hidden; background: var(--map-land); border-right: 1px solid var(--line); }
.tdsh-feat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); }
.tdsh-feat-tags { position: absolute; left: 20px; top: 20px; display: flex; gap: 8px; flex-wrap: wrap; right: 20px; }
.tdsh-feat-big { position: absolute; left: 20px; bottom: 16px; font-size: 124px; letter-spacing: -0.05em; color: var(--ink); background: rgba(255,255,255,.0); }
.tdsh-feat-body { flex: 1; min-width: 0; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tdsh-feat-info { display: flex; flex-direction: column; gap: 16px; }
.tdsh-feat-info h3 { font-size: 36px; line-height: .95; }
.tdsh-feat-info .where { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); }
.tdsh-feat-ex { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tdsh-feat-dist { display: flex; align-items: center; gap: 10px; }
.tdsh-feat-dist i { flex: 1; height: 1px; background: var(--ink); }
.tdsh-feat-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--ink); }
.tdsh-feat-stats div { padding: 16px 0 16px 16px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tdsh-feat-stats div:first-child { padding-left: 0; border-left: 0; }
.tdsh-feat-stats .h { font-size: 44px; }
.tdsh-feat-stats .h { line-height: 44px; }
.tdsh-feat-stats .h.reg { font-size: 24px; line-height: 44px; }
.tdsh-feat-body { container-type: inline-size; }
.tdsh-feat-stats { display: flex; }
.tdsh-feat-stats div { flex: 0 0 auto; padding-right: 24px; }
.tdsh-feat-stats div:last-child { flex: 1 1 0; padding-right: 0; }
/* cuando la columna es angosta (pantallas medianas) la región pasa a su propia fila */
@container (max-width: 480px) {
  .tdsh-feat-stats { flex-wrap: wrap; }
  .tdsh-feat-stats div:last-child { flex: 1 1 100%; padding: 14px 0 16px; border-left: 0; border-top: 1px solid var(--line); }
}
.tdsh-feat-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.tdsh-feat-side { display: flex; flex-direction: column; gap: 16px; }
.tdsh-card { flex: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.tdsh-card:hover { border-color: var(--ink); background: var(--bg); }
.tdsh-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tdsh-card .h { font-size: 30px; line-height: .95; }
.tdsh-card-ex { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tdsh-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.tdsh-go { width: 44px; height: 44px; flex: none; border-radius: var(--radius-full); background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tdsh-sponsor { border: 1.5px dashed var(--moss); background: var(--sponsor-bg); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tdsh-sponsor span.t { display: flex; flex-direction: column; gap: 6px; }
.tdsh-sponsor .lbl { color: var(--moss); }
.tdsh-sponsor b { font-size: 18px; font-weight: 700; }
.tdsh-sponsor small { font-size: 13px; color: var(--muted); }

/* ---------- podcast ---------- */
.tdsh-pod { background: var(--ink); color: #fff; padding: 110px var(--gutter); display: flex; flex-direction: column; gap: 56px; }
.tdsh-pod a { color: #fff; }
.tdsh-pod a:hover { color: var(--moss-light); }
.tdsh-pod .lbl { color: var(--moss-light); }
.tdsh-pod h2 { font-size: 81px; color: #fff; }
.tdsh-pod h2 span { color: var(--moss-light); }
.tdsh-pod-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.tdsh-pod-head > div:first-child { display: flex; flex-direction: column; gap: 24px; }
.tdsh-pod-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tdsh-pod-brand .lbl.b { color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-full); padding: 6px 10px; }
.tdsh-pod-right { display: flex; flex-direction: column; gap: 18px; align-items: flex-end; }
.tdsh-pod-right p { max-width: 440px; font-size: 17px; line-height: 1.55; color: var(--dark-soft); text-align: right; }
.tdsh-pod-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.tdsh-pod .btn { border-color: rgba(255,255,255,.5); color: #fff; }
.tdsh-pod .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.tdsh-pod .btn-white { background: #fff; border-color: #fff; color: var(--ink); }
.tdsh-pod .btn-white:hover { background: var(--moss-light); border-color: var(--moss-light); color: var(--ink); }
.tdsh-pod-ep { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.3); }
.tdsh-pod-art { border-radius: var(--radius-sm); height: 420px; position: relative; overflow: hidden; background: var(--dark-panel); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.tdsh-pod-art.has-img { padding: 0; background: var(--dark-panel); }
.tdsh-pod-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tdsh-pod-art:hover img { transform: scale(1.03); }
.tdsh-pod-art .tag { position: absolute; left: 16px; top: 16px; padding: 6px 10px; background: var(--ink); color: var(--moss-light); border-radius: var(--radius-full); }
.tdsh-pod-art > .row, .tdsh-pod-art > .t2 { position: relative; }
.tdsh-pod-art .row { display: flex; justify-content: space-between; }
.tdsh-pod-art .t2 { font-size: 88px; line-height: .85; letter-spacing: -0.04em; color: var(--moss-light); }
.tdsh-pod-main { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-width: 0; }
.tdsh-pod-main .meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.tdsh-pod-main .pill { background: var(--moss-light); color: var(--ink); font-weight: 700; }
.tdsh-pod-main h3 { font-size: 48px; line-height: .92; color: #fff; overflow-wrap: anywhere; }
.tdsh-pod-main p { margin-top: 20px; max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--dark-soft); }
.tdsh-play-row { display: flex; align-items: center; gap: 20px; }
.tdsh-play { width: 76px; height: 76px; flex: none; border-radius: var(--radius-full); background: var(--moss-light); color: var(--ink) !important; display: inline-flex; align-items: center; justify-content: center; }
.tdsh-play:hover { background: #fff; color: var(--ink) !important; }
.tdsh-bar { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tdsh-bar i { display: block; height: 4px; background: rgba(255,255,255,.2); border-radius: var(--radius-full); }
.tdsh-bar div { display: flex; justify-content: space-between; }
.tdsh-pod .tdsh-bar .lbl { color: var(--moss-light); }
.tdsh-pod-eps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tdsh-pod-eps a { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 180px; padding: 24px; border: 1px solid rgba(255,255,255,.2); }
.tdsh-pod-eps a:hover { border-color: var(--moss-light); }
.tdsh-pod-eps .top { display: flex; justify-content: space-between; align-items: flex-start; }
.tdsh-pod-eps .th { width: 64px; height: 64px; object-fit: cover; display: block; background: var(--dark-panel); }
.tdsh-pod-eps .pl { width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,.5); display: inline-flex; align-items: center; justify-content: center; }
.tdsh-pod-eps a:hover .pl { background: var(--moss-light); border-color: var(--moss-light); color: var(--ink); }
.tdsh-pod-eps .bd { display: flex; flex-direction: column; gap: 10px; }
.tdsh-pod-eps b { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.tdsh-pod-more { display: none; }

.tdsh [hidden] { display: none !important; }
.tdsh .dot { display: inline-block; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--moss); flex: none; }

/* ---------- segmentado ---------- */
.tdsh-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--ink); border-radius: var(--radius-sm); padding: 3px; gap: 3px; }
.tdsh-seg button, .tdsh-seg .segl { height: 38px; padding: 0 14px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.tdsh-seg .on { background: var(--ink); color: #fff; }
.tdsh-seg button:not(.on):hover, .tdsh-seg .segl:hover { background: var(--panel); color: var(--ink); }
.tdsh-seg-line { border-color: var(--line); border-radius: var(--radius-sm); grid-auto-columns: auto; }

/* ---------- mapa ---------- */
.tdsh-map { display: grid; grid-template-columns: 821px minmax(0, 1fr); border: 1px solid var(--line); background: var(--panel); }
.tdsh-map-l { padding: 32px; display: flex; flex-direction: column; gap: 24px; border-right: 1px solid var(--line); min-width: 0; }
.tdsh-map-cols { display: flex; gap: 40px; }
.tdsh-map-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; transition: opacity .2s; }
.tdsh-map-col:nth-child(1) { flex: 204 1 0; }
.tdsh-map-col:nth-child(2) { flex: 186 1 0; }
.tdsh-map-col:nth-child(3) { flex: 287 1 0; }
.tdsh-map-ch { display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.tdsh-leaflet { height: 600px; background: var(--panel); }
.tdsh-leaflet.leaflet-container { font-family: var(--font-text); background: var(--panel); }
.nh-grat { color: var(--muted); line-height: 12px; text-align: left; background: none; border: 0; }
.nh-mk-wrap { background: none; border: 0; display: flex; align-items: center; justify-content: center; }
.nh-mk { display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); background: rgba(74,90,43,.92); box-shadow: 0 0 0 5px rgba(110,138,58,.25); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 700; cursor: pointer; transition: opacity .2s; }
.nh-mk-wrap:hover .nh-mk { box-shadow: 0 0 0 7px rgba(110,138,58,.35); }
.nh-mk.sel { background: var(--ink); box-shadow: 0 0 0 5px rgba(14,14,12,.15); outline: 2px solid #fff; }
.nh-mk.dim { opacity: .25; }
.tdsh-map-legend { display: flex; gap: 24px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.tdsh-map-legend > span { display: flex; align-items: center; gap: 8px; }
.tdsh-map-legend .dot { width: 10px; height: 10px; box-shadow: 0 0 0 4px rgba(110,138,58,.22); }
.tdsh-map-legend .dot.sel { background: var(--ink); box-shadow: 0 0 0 5px rgba(14,14,12,.12); }
.tdsh-map-legend .r { margin-left: auto; }
.tdsh-map-r { padding: 32px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.tdsh-map-sum { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.tdsh-sel-empty { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tdsh-selected { margin-top: 0; background: var(--bg); border: 1px solid var(--ink); border-radius: var(--radius-sm); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.tdsh-selected .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tdsh-selected .h { font-size: 30px; line-height: .95; }
.tdsh-sel-list { list-style: none; margin: 0; padding: 0; max-height: 232px; overflow-y: auto; border-top: 1px solid var(--line); }
.tdsh-sel-list li { border-bottom: 1px solid var(--line); }
.tdsh .tdsh-sel-list a { display: grid; grid-template-columns: 58px minmax(0, 1fr) 24px; gap: 10px; align-items: center; padding: 10px 0; }
.tdsh-sel-list .d { color: var(--muted); }
.tdsh-sel-list .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tdsh-sel-list b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tdsh-sel-list small { font-size: 12px; color: var(--muted); }
.tdsh-sel-list .go { text-align: right; }
.tdsh-sel-list a:hover b { color: var(--moss); }

/* ---------- calendario ---------- */
.tdsh-cal-r { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.tdsh-filters { border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.tdsh-f-row { display: flex; align-items: center; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tdsh-f-row:last-child { border-bottom: 0; }
.tdsh-f-top { gap: 12px; }
.tdsh-f-l { width: 100px; flex: none; }
.tdsh-f-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.tdsh-f-search:focus-within { border-color: var(--ink); }
.tdsh-f-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 15px; color: var(--ink); }
.tdsh-f-select select { height: 46px; padding: 0 36px 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230E0E0C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-size: 14px; font-weight: 600; color: var(--ink); max-width: 220px; }
.tdsh-f-more { border-color: var(--line); }
.tdsh-f-pick input { height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-size: 14px; }
.tdsh-tgs { display: flex; flex-wrap: wrap; gap: 8px; }
.tdsh-grow { flex: 1; }
.tdsh .tg { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--radius-full); border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
.tdsh .tg small { opacity: .75; }
.tdsh .tg:hover { border-color: var(--ink); }
.tdsh .tg.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.tdsh-f-months { align-items: flex-end; padding-top: 18px; }
.tdsh-months { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tdsh-months button { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: transparent; text-align: left; color: var(--ink); }
.tdsh-months .bar { height: 48px; width: 100%; display: flex; align-items: flex-end; border-bottom: 1px solid var(--ink); }
.tdsh-months .bar i { display: block; width: 100%; background: var(--moss-200); }
.tdsh-months button.on .bar i, .tdsh-months button:hover .bar i { background: var(--moss); }
.tdsh-months .row { display: flex; justify-content: space-between; width: 100%; }
.tdsh-months .u { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.tdsh-f-active .tg b { font-weight: 700; }

.tdsh-list { display: flex; flex-direction: column; gap: 10px; }
.tdsh-mhead { display: flex; align-items: center; gap: 16px; padding: 28px 0 6px; }
.tdsh-mhead i { flex: 1; height: 1px; background: var(--line); }
.tdsh .race { display: grid; grid-template-columns: 120px 120px minmax(0, 1fr) 250px 56px; align-items: center; gap: 20px; height: 84px; padding: 0 14px 0 32px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); }
.tdsh .race:hover { border-color: var(--ink); background: var(--bg); color: var(--ink); }
.race .r-date { display: flex; flex-direction: column; gap: 2px; }
.race .r-dd { font-weight: 700; font-size: 28px; letter-spacing: -0.03em; }
.race .r-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.race .r-name b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.race .r-flag { font-style: normal; padding: 3px 8px; border: 1px solid var(--ink); border-radius: var(--radius-full); vertical-align: middle; margin-left: 6px; }
.race .r-where { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.race .r-where svg { width: 13px; height: 13px; flex: none; }
.race .r-dist { display: flex; align-items: center; gap: 8px; }
.race .r-dist i { flex: 1; height: 1px; background: var(--ink); }
.race .dist { padding: 6px 10px; }
.race .r-go { width: 52px; height: 52px; border-radius: var(--radius-full); background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tdsh .race:hover .r-go { background: var(--moss); }
.tdsh .tdsh-race-sponsor { display: flex; align-items: center; gap: 20px; height: 84px; padding: 0 14px 0 32px; border-radius: var(--radius-sm); border: 1.5px dashed var(--moss); background: var(--sponsor-bg); margin-top: 6px; }
.tdsh-race-sponsor .lbl { color: var(--moss); width: 120px; flex: none; }
.tdsh-race-sponsor .t { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.tdsh-race-sponsor .t b { font-size: 20px; font-weight: 700; }
.tdsh-race-sponsor .t small { font-size: 14px; color: var(--muted); }
.tdsh-race-sponsor .btn { height: 52px; border-radius: var(--radius-sm); }
.tdsh-empty { padding: 40px 0; font-size: 16px; color: var(--muted); }
.tdsh .lnk { border: 0; background: none; padding: 0; font-size: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.tdsh-list-foot { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- mi temporada ---------- */
.tdsh-season { background: var(--panel); border-bottom: 1px solid var(--line); padding: 120px var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.tdsh-season-l { grid-column: span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.tdsh-season h2 { font-size: 80px; line-height: .9; }
.tdsh-season-l p { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 460px; margin: 0; }
.tdsh-season-btns { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.tdsh-season a.u { color: var(--ink); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.tdsh-season a.u:hover { color: var(--moss); }
.tdsh-season-r { grid-column: 7 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); align-self: end; }
.tdsh-season-r li { display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tdsh-season-r .lbl { color: var(--moss); padding-top: 4px; }
.tdsh-season-r b { display: block; font-size: 20px; margin-bottom: 6px; color: var(--ink); }
.tdsh-season-r p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }

/* ---------- comunidad ---------- */
.tdsh-comm { background: var(--moss); color: #fff; padding: 120px var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.tdsh-comm-l { grid-column: span 7; display: flex; flex-direction: column; gap: 28px; }
.tdsh-comm .lbl { color: var(--moss-light); }
.tdsh-comm h2 { font-size: 95px; line-height: .88; color: #fff; }
.tdsh-comm-r { grid-column: span 5; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; }
.tdsh-comm-r p { font-size: 19px; line-height: 1.55; color: var(--sponsor-bg); }
.tdsh-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.35); }
.tdsh-steps li { display: flex; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 18px; font-weight: 600; }
.tdsh-steps em { margin-left: auto; font-style: normal; font-size: 14px; font-weight: 400; color: var(--moss-100); }
.tdsh-comm-btns { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.tdsh .btn-white-lg { height: 54px; padding: 0 28px; background: #fff; border-color: #fff; color: var(--ink); font-size: 15px; }
.tdsh .btn-white-lg:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.tdsh-comm a.u { color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.tdsh-comm a.u:hover { color: var(--moss-100); }

/* ---------- novedades + herramientas ---------- */
.tdsh-nt { padding: 120px var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; border-bottom: 1px solid var(--line); }
.tdsh-nt-l { grid-column: span 7; display: flex; flex-direction: column; gap: 28px; padding-right: 40px; }
.tdsh-nt-r { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; }
.tdsh-nt-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tdsh-nt-h > div { display: flex; flex-direction: column; gap: 20px; }
.tdsh-nt-h h2 { font-size: 56px; }
.tdsh-posts { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.tdsh-posts a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tdsh-posts .ph { width: 96px; height: 96px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: block; }
.tdsh-posts .ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.15); transition: filter .2s, transform .3s; }
.tdsh-posts a:hover .ph img { filter: none; transform: scale(1.05); }
.tdsh-posts .tx { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tdsh-posts b { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.tdsh-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.tdsh-tools a { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.tdsh-tools a:hover { background: var(--panel); }
.tdsh-tools .h { font-size: 32px; letter-spacing: -0.03em; }
.tdsh-tools small { font-size: 14px; color: var(--muted); letter-spacing: 0; font-family: var(--font-text); font-style: normal; font-weight: 500; }
.tdsh-tools b { font-size: 15px; font-weight: 600; }
.tdsh-tools .feat { grid-column: 1 / -1; background: var(--ink); color: #fff; padding: 32px; gap: 16px; border-right-color: var(--ink); border-bottom-color: var(--ink); }
.tdsh-tools .feat:hover { background: var(--moss); color: #fff; }   /* sin esto .tdsh a:hover pinta el texto de verde sobre verde */
.tdsh-tools .feat:hover b { color: #fff; }
.tdsh-tools .feat .lbl { color: var(--moss-light); }
.tdsh-tools .feat:hover .lbl { color: #fff; }
.tdsh-tools .feat .h { font-size: 44px; line-height: .95; }
.tdsh-tools .feat b { font-size: 16px; font-weight: 500; line-height: 1.5; max-width: 46ch; color: #e8e8e4; }
.tdsh-tools .feat .go { align-self: flex-start; margin-top: 8px; height: 44px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: var(--radius-sm); background: var(--moss); color: #fff; font-size: 14px; font-weight: 600; }
.tdsh-tools .feat:hover .go { background: #fff; color: var(--ink); }

/* ---------- boletín ---------- */
.tdsh-news { padding: 72px var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; border-bottom: 1px solid var(--line); }
.tdsh-news > div { display: flex; flex-direction: column; gap: 18px; }
.tdsh-news h2 { font-size: 49px; }
.tdsh-news-f { width: 540px; max-width: 100%; }

/* ---------- footer ---------- */
.tdsh-foot { padding: 56px var(--gutter) 40px; display: flex; flex-direction: column; gap: 40px; overflow: hidden; }
.tdsh-foot-top { display: flex; justify-content: space-between; gap: 24px; }
.tdsh-foot-cols { display: flex; gap: 96px; font-size: 15px; }
.tdsh-foot-cols > div { display: flex; flex-direction: column; gap: 12px; }
.tdsh-foot-brand img { height: 18px; width: auto; }

/* ---------- acceso flotante (solo móvil) ---------- */
.tdsh-fab { display: none; }

/* ================= responsive ================= */
@media (max-width: 1279px) {
  :root { --gutter: 40px; }
  .tdsh-map { grid-template-columns: minmax(0, 1fr); }
  .tdsh-map-l { border-right: 0; border-bottom: 1px solid var(--line); }
  .tdsh-f-top { flex-wrap: wrap; }
  .tdsh-f-search { flex-basis: 100%; }
  .tdsh .race { grid-template-columns: 100px 110px minmax(0, 1fr) 190px 56px; gap: 16px; padding-left: 24px; }
  .tdsh-comm h2 { font-size: 74px; }
  .tdsh-foot-cols { gap: 56px; }
  .tdsh-logo { flex-basis: auto; }
  .tdsh-nav-r { flex-basis: auto; }
  .tdsh-links { gap: 24px; }
  .tdsh-nav-search { width: 180px; }
  .tdsh-sec h2, .tdsh-pod h2 { font-size: 67px; }
  .tdsh-pod-ep { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; }
  .tdsh-pod-art { height: 340px; }
  .tdsh-pod-art .t2 { font-size: 72px; }
  .tdsh-pod-main h3 { font-size: 38px; }
  .tdsh-feat-photo { width: 300px; }
  .tdsh-feat-big { font-size: 96px; }
}

@media (max-width: 1023px) {
  .tdsh-links, .tdsh-nav-search { display: none; }
  .tdsh-f-l { width: 80px; }
  .tdsh-months { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .tdsh-cal-r { align-items: flex-start; }
  .tdsh .race { grid-template-columns: 90px minmax(0, 1fr) 150px 52px; }
  .tdsh .race .r-sport { display: none; }
  .tdsh-season { padding: 80px var(--gutter); row-gap: 40px; }
  .tdsh-season-l, .tdsh-season-r { grid-column: 1 / -1; }
  .tdsh-season h2 { font-size: 63px; }
  .tdsh-comm { padding: 80px var(--gutter); row-gap: 40px; }
  .tdsh-comm-l, .tdsh-comm-r { grid-column: 1 / -1; }
  .tdsh-comm h2 { font-size: 63px; }
  .tdsh-nt { padding: 80px var(--gutter); row-gap: 56px; }
  .tdsh-nt-l, .tdsh-nt-r { grid-column: 1 / -1; padding-right: 0; }
  .tdsh-news { flex-direction: column; align-items: flex-start; }
  .tdsh-foot-top { flex-direction: column; }
  .tdsh-sec { padding: 80px var(--gutter) 72px; }
  .tdsh-sec-head, .tdsh-pod-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tdsh-pod-right { align-items: flex-start; }
  .tdsh-pod-right p { text-align: left; }
  .tdsh-pod-links { justify-content: flex-start; }
  .tdsh-feat { grid-template-columns: 1fr; min-height: 0; }
  .tdsh-feat-main { grid-column: auto; }
  .tdsh-feat-side { display: grid; grid-template-columns: 1fr 1fr; }
  .tdsh-sponsor { grid-column: span 2; }
  .tdsh-pod { padding: 80px var(--gutter); }
  .tdsh-pod-ep { grid-template-columns: 1fr; }
  .tdsh-pod-art { height: 280px; }
  .tdsh-pod-eps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  :root { --gutter: 20px; }
  .tdsh-nav { height: 60px; }
  .tdsh-nav-send-long { display: none; }
  .tdsh-nav-send-short { display: inline; }
  .tdsh-status { height: 32px; }
  .tdsh-status > div:last-child { min-width: 0; overflow: hidden; }
  .tdsh-status > div:last-child a { overflow: hidden; text-overflow: ellipsis; }
  .tdsh-status > div:last-child .hide-sm { display: none; }
  .tdsh-status > div:first-child { display: none; }
  .tdsh-sec { padding: 56px var(--gutter) 48px; gap: 28px; }
  .tdsh-sec h2, .tdsh-pod h2 { font-size: 39px; }
  .tdsh-sec-head > .btn { display: none; }
  .tdsh-feat-main { flex-direction: column; }
  .tdsh-feat-photo { width: 100%; height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tdsh-feat-big { font-size: 84px; }
  .tdsh-feat-body { padding: 20px; }
  .tdsh-feat-info h3 { font-size: 28px; }
  .tdsh-feat-stats .h { font-size: 30px; line-height: 34px; }
  .tdsh-feat-stats .h.reg { font-size: 20px; line-height: 34px; }
  .tdsh-feat-side { grid-template-columns: 1fr; }
  .tdsh-sponsor { grid-column: auto; }
  .tdsh-pod { padding: 56px var(--gutter); gap: 32px; }
  .tdsh-pod-right p { font-size: 15px; }
  .tdsh-pod-links .btn:not(.btn-white) { display: none; }
  .tdsh-pod-ep { padding-top: 24px; gap: 24px; }
  .tdsh-pod-art { height: auto; aspect-ratio: 1 / 1; max-height: 340px; }
  .tdsh-pod-art:not(.has-img) { display: none; }
  .tdsh-pod-main h3 { font-size: 21px; line-height: 1.05; }
  .tdsh-pod-main p { font-size: 15px; }
  .tdsh-play { width: 56px; height: 56px; }
  .tdsh-pod-eps { grid-template-columns: 1fr; gap: 0; }
  .tdsh-pod-eps a { min-height: 0; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .tdsh-pod-eps .top { flex: none; }
  .tdsh-pod-eps .th { width: 56px; height: 56px; }
  .tdsh-pod-eps .pl { display: none; }
  .tdsh-pod-eps .bd { gap: 6px; }
  .tdsh-pod-eps b { font-size: 17px; }
  .tdsh-map-l { padding: 12px; gap: 12px; }
  .tdsh-map-cols { gap: 6px; }
  .tdsh-map-col { gap: 10px; }
  .tdsh-map-ch { padding-bottom: 8px; }
  .tdsh-map-ch .lbl { white-space: nowrap; }
  .tdsh-map-legend { display: none; }
  .tdsh-leaflet { height: 380px; }
  .tdsh-map-ch .sub { display: none; }
  .tdsh-map-legend .r { margin-left: 0; width: 100%; }
  .tdsh-map-r { padding: 20px; }
  .tdsh-f-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .tdsh-f-l { width: auto; }
  .tdsh-f-top .tdsh-seg-line { display: flex; overflow-x: auto; }
  .tdsh-f-top .tdsh-seg-line button { flex: none; }
  .tdsh-f-select select { width: 100%; max-width: none; }
  .tdsh .tdsh-f-more { display: none; }
  .tdsh-tgs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tdsh-f-row > .lbl:not(.tdsh-f-l), .tdsh-f-row > .tg { display: none; }
  .tdsh-f-months { align-items: stretch; }
  .tdsh-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tdsh-mhead { padding-top: 20px; }
  .tdsh .race { grid-template-columns: 56px minmax(0, 1fr) 40px; height: auto; border-radius: var(--radius-sm); padding: 14px 14px 14px 16px; gap: 12px; }
  .tdsh .race .r-dist { display: none; }
  .race .r-dow { display: none; }
  .race .r-dd { font-size: 22px; line-height: 1; }
  .race .r-name b { font-size: 17px; white-space: normal; }
  .race .r-go { width: 40px; height: 40px; }
  .tdsh .tdsh-race-sponsor { flex-wrap: wrap; height: auto; border-radius: var(--radius-sm); padding: 16px; gap: 10px; }
  .tdsh-race-sponsor .lbl { width: 100%; }
  .tdsh-list-foot .btn { flex: 1; }
  .tdsh-season { padding: 56px var(--gutter); }
  .tdsh-season h2 { font-size: 46px; }
  .tdsh-season-l p { font-size: 16px; }
  .tdsh-season-r li { gap: 16px; padding: 18px 0; }
  .tdsh-season-r b { font-size: 18px; }
  .tdsh-comm { padding: 56px var(--gutter); }
  .tdsh-comm h2 { font-size: 46px; }
  .tdsh-comm-r p { font-size: 16px; }
  .tdsh-steps li { font-size: 16px; }
  .tdsh-nt { padding: 56px var(--gutter); }
  .tdsh-nt-h h2 { font-size: 39px; }
  .tdsh-posts a { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .tdsh-posts .ph { width: 72px; height: 72px; }
  .tdsh-posts b { font-size: 18px; }
  .tdsh-tools a { padding: 16px; gap: 20px; }
  .tdsh-tools .h { font-size: 26px; }
  .tdsh-tools .feat { padding: 22px 18px; }
  .tdsh-tools .feat .h { font-size: 32px; }
  .tdsh-news { padding: 48px var(--gutter); }
  .tdsh-news h2 { font-size: 32px; }
  .tdsh-foot { padding: 40px var(--gutter) 24px; gap: 28px; }
  .tdsh-foot-cols { gap: 28px; flex-wrap: wrap; }
  .tdsh-fab { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); display: flex; z-index: 60; background: var(--ink); border-radius: var(--radius-sm); padding: 4px; transition: transform .25s; }
  .tdsh-fab.on { transform: translate(-50%, 0); }
  .tdsh .tdsh-fab a { color: #fff; font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 12px 18px; border-radius: var(--radius-sm); }
  .tdsh .tdsh-fab a:hover { background: var(--moss); color: #fff; }
}

/* ---------- diálogo "Configura tu carrera" (al guardar una carrera) ---------- */
.sv { border: 1px solid var(--ink); padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--bg); color: var(--ink); font-family: var(--font-text); }
.sv::backdrop { background: rgba(14,14,12,.55); backdrop-filter: blur(3px); }
.sv-in { position: relative; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.tdsh .sv-x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border: 0; background: transparent; border-radius: var(--radius-full); font-size: 15px; color: var(--ink); }
.tdsh .sv-x:hover { background: var(--panel); }
.sv-ok { display: flex; flex-direction: column; gap: 12px; padding-right: 32px; }
.sv-ok .lbl { color: var(--moss); }
.sv-ok .h { font-size: clamp(24px, 4vw, 34px); line-height: .98; margin: 0; }
.sv-q h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.sv-pills, .sv-prio { display: flex; gap: 8px; flex-wrap: wrap; }
.tdsh .sv-pills button { height: 40px; padding: 0 16px; border-radius: var(--radius-full); border: 1px solid var(--ink); background: var(--bg); color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.tdsh .sv-pills button:hover { background: var(--panel); }
.tdsh .sv-pills button.on, .tdsh .sv-prio button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tdsh .sv-prio button { width: 52px; height: 52px; border-radius: var(--radius-full); border: 1px solid var(--ink); background: var(--bg); color: var(--ink); font-family: var(--font-mono); font-size: 16px; font-weight: 700; }
.tdsh .sv-prio button:hover { background: var(--panel); }
.sv-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.sv-legend b { display: inline-block; width: 18px; color: var(--ink); font-family: var(--font-mono); }
.sv-help { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.sv-help a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sv-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sv-status { font-size: 13px; color: var(--moss); font-weight: 600; }
.sv-status.bad { color: #b3261e; }
@media (max-width: 639px) {
  .sv { margin: auto auto 0; width: 100vw; max-width: 100vw; border-left: 0; border-right: 0; border-bottom: 0; }
  .sv-in { padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); }
}

/* ---------- "Próximos desafíos": misma barra y mismas tarjetas que Explorar ---------- */
.nh-filterbox { display: flex; flex-direction: column; } /* una sola pieza: el espacio entre bloques de la sección no la separa */
.nh-bar { border: 1px solid var(--ink); flex-wrap: wrap; row-gap: 10px; padding: 12px 20px; margin-bottom: 8px; }
.nh-bar .ex-search { width: 250px; }
.nh-bar .ex-pop { z-index: 70; }
.nh-active { margin-bottom: 8px; }
/* la fila de tipos queda pegada a la barra, como una sola pieza */
.nh-bar.has-sub { margin-bottom: 0; border-bottom-color: var(--line); }
.nh-subbar { border: 1px solid var(--ink); border-top: 0; margin-bottom: 8px; padding: 10px 20px; }
.tdsh-list.nh-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.nh-cards .ex-month, .nh-cards .ex-sponsor, .nh-cards .tdsh-empty { grid-column: 1 / -1; }
.nh-cards .ex-month { padding-top: 24px; }
.nh-cards .ex-month:first-child { padding-top: 12px; }
.nh-cards .ex-card { margin-bottom: 12px; }
@media (max-width: 1023px) {
  .nh-bar { overflow: visible; padding: 12px 16px; position: relative; }
  .nh-bar .ex-pills { flex-wrap: wrap; }
  .nh-bar .ex-search { width: 100%; }
  .tdsh-list.nh-cards { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .tdsh .nh-bar { padding: 10px 12px; gap: 8px; row-gap: 8px; }
  .tdsh .nh-bar .ex-search { order: 1; flex: 1 1 0; min-width: 0; width: auto; height: 40px; }
  .tdsh .nh-bar .nh-w-filt { order: 2; }
  .tdsh .nh-bar .ex-pills { order: 3; flex: 0 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px 2px; width: calc(100% + 24px); }
  .tdsh .nh-bar .ex-pills::-webkit-scrollbar { display: none; }
  .tdsh .nh-bar .ex-pills .ex-tg { flex: none; }
  .tdsh .nh-bar .nh-w-date { order: 4; }
  .tdsh .nh-bar .nh-w-dist { order: 5; }
  .tdsh .nh-bar .ex-sep { display: none; }
  .tdsh .nh-bar .ex-tg { height: 34px; padding: 0 13px; font-size: 14px; }
  .tdsh .nh-bar .ex-seg { order: 6; margin-left: auto; width: auto; display: flex; padding: 2px; }
  .tdsh .nh-bar .ex-seg button { height: 30px; padding: 0 12px; }
  .tdsh .nh-bar .ex-pop, .nh-bar .ex-pop-wide { position: fixed; left: 10px; right: 10px; top: auto; bottom: calc(86px + env(safe-area-inset-bottom)); width: auto; min-width: 0; max-height: calc(100vh - 180px); overflow-y: auto; z-index: 90; margin: 0; box-shadow: 0 -8px 40px rgba(0,0,0,.25); }
}

/* ---------- enlace a Instagram en el menú ---------- */
.tdsh .nav-ig { display: inline-flex; align-items: center; color: var(--muted); }
.tdsh .nav-ig:hover { color: var(--moss); }
.tdsh .ex-links .nav-ig, .tdsh .tdsh-links .nav-ig { padding-bottom: 0; border-bottom: 0; }

/* ---------- barra superior (lo más útil primero + invitación a publicar) ---------- */
.tb { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; padding: 0 var(--gutter); background: var(--ink); color: #fff; font-size: 13px; }
.tdsh .tb a { color: #fff; }
.tdsh .tb a:hover { color: #fff; }
.tb-l { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.tb-l b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.tb-full { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.tb-short { display: none; }
.tdsh .tb-l .lbl { color: var(--moss-light); }
.tb-arrow { transition: transform .15s; }
.tb-l:hover .tb-arrow { transform: translateX(3px); }
.tb-dot { width: 7px; height: 7px; border-radius: var(--radius-full); background: var(--moss-light); flex: none; animation: tb-pulse 2.2s ease-in-out infinite; }
@keyframes tb-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(169,179,138,.55); } 50% { box-shadow: 0 0 0 6px rgba(169,179,138,0); } }
.tb-r { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; flex: none; }
.tb-r u { text-underline-offset: 3px; }
.tb-r:hover u { text-decoration-thickness: 2px; }
.tb-r-short { display: none; }
@media (prefers-reduced-motion: reduce) { .tb-dot { animation: none; } }
@media (max-width: 639px) {
  .tb { padding: 0 16px; min-height: 38px; font-size: 12px; }
  .tb-r-long, .tb-arrow, .tb-full { display: none; }
  .tb-r-short, .tb-short { display: inline; }
}

/* el menú del home se queda fijo arriba al hacer scroll */
.home-page .ex-nav { position: sticky; top: 0; background: var(--bg); }

/* ---------- franja verde de novedades (se desplaza sola; pausa al pasar el cursor) ---------- */
.tk { background: var(--moss); color: #fff; height: 44px; overflow: hidden; display: flex; align-items: center; }
.tk-track { display: flex; width: max-content; animation: tk-scroll 70s linear infinite; }
.tk:hover .tk-track, .tk:focus-within .tk-track { animation-play-state: paused; }
.tk-set { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; flex: none; }
.tk-set li { display: flex; align-items: center; white-space: nowrap; }
.tk-set li::after { content: '◆'; font-size: 9px; opacity: .55; margin: 0 28px; }
.tdsh .tk a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 14px; font-weight: 600; }
.tdsh .tk a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.tk-tag { background: var(--moss-ink); padding: 4px 8px; border-radius: var(--radius-sm); }
@keyframes tk-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .tk { overflow-x: auto; }
  .tk-track { animation: none; }
  .tk-set[aria-hidden="true"] { display: none; }
}
@media (max-width: 639px) {
  .tdsh .tk a { font-size: 13px; }
  .tk-set li::after { margin: 0 20px; }
}

.sv-foot-btns { display: inline-flex; gap: 10px; }
.tdsh .sv-foot-btns .btn[disabled] { opacity: .4; cursor: not-allowed; }
.tdsh .sv-foot-btns .btn[disabled]:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Aviso breve (compartir / copiar) */
.tds-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:12px 20px;font:600 13px/1 'Space Grotesk',sans-serif;z-index:200;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.tds-toast.on{opacity:1;transform:translate(-50%,0)}

/* Menú de compartir (escritorio) */
.tds-share{position:fixed;z-index:210;min-width:190px;background:#fff;border:1.5px solid var(--ink);box-shadow:0 12px 32px rgba(0,0,0,.18);display:flex;flex-direction:column;padding:6px}
.tds-share a,.tds-share button{display:block;width:100%;text-align:left;background:none;border:0;border-radius:var(--radius-none);padding:11px 14px;font:600 14px/1.2 'Space Grotesk',sans-serif;color:var(--ink);cursor:pointer;text-decoration:none}
.tds-share a:hover,.tds-share button:hover{background:var(--ink);color:#fff}

/* Cierre común de ficha de carrera y notas (shared/_end_blocks): carreras → notas → podcast */
.mb { padding: 96px var(--gutter) 24px; display: flex; flex-direction: column; gap: 72px; }
.mb-sec { display: flex; flex-direction: column; gap: 26px; }
.mb-head { display: flex; flex-direction: column; gap: 14px; }
.mb-head h2 { margin: 0; font-size: clamp(26px, 3.2vw, 42px); }
.mb-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 24px; }
.mb-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mb-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tdsh .mb-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mb-card .ph { aspect-ratio: 3 / 2; background: var(--panel); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tdsh .mb-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.mb-card .ph em, .rc-ep .ph em { font: 700 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.mb-card b { font-size: 17px; line-height: 1.3; }
.mb-card small { font-size: 13px; color: var(--muted); }
.tdsh .mb-card:hover b { color: var(--moss); }
.tdsh .rc-ep { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; border: 1px solid var(--line); padding: 16px; }
.rc-ep .ph { aspect-ratio: 1; background: var(--panel); overflow: hidden; }
.tdsh .rc-ep .ph img { width: 100%; height: 100%; object-fit: cover; }
.rc-ep-tx { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rc-ep-tx b { font-size: 20px; line-height: 1.25; }
.rc-ep-tx > span:not(.lbl):not(.rc-ep-go) { font-size: 14px; line-height: 1.5; color: var(--muted); }
.rc-ep-go { font: 700 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.tdsh .rc-ep:hover { border-color: var(--ink); }
.tdsh .rc-ep:hover b { color: var(--moss); }
@media (max-width: 1023px) { .mb-4, .mb-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .mb { padding-top: 64px; gap: 56px; }
  .mb-4, .mb-3 { gap: 22px 16px; }
  .mb-card b { font-size: 15px; }
  .tdsh .rc-ep { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .rc-ep-tx > span:not(.lbl):not(.rc-ep-go) { display: none; }
  .rc-ep-tx b { font-size: 16px; }
}

/* Fotos en blanco y negro con un poco de grano (ruido) encima. */
.ex-card .ph, .tdsh-posts .ph, .mb-card .ph { position: relative; }
.nw-fph::after, .nw-ph::after, .ex-card .ph::after, .st-next-photo::after, .rc-media:has(> .rc-photo)::after, .tdsh-feat-photo:has(> img)::after, .tdsh-posts .ph::after, .mb-card .ph:has(> img)::after, .rc-brand-photo:has(> img)::after, .hh-feat:has(> img)::after, .hh-thumb:has(> img)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url(/nuevo-home/grain.png); background-size: 128px 128px;
  mix-blend-mode: hard-light; opacity: .18;
}
/* Las miniaturas de "Sigue explorando" también van en gris (volvían a color), y recuperan el color al pasar el cursor. */
.mb-card .ph img { filter: grayscale(1) contrast(1.12); transition: filter .2s; }
.tdsh .mb-card:hover .ph img { filter: none; }
@media (prefers-reduced-data: reduce) { .nw-fph::after, .nw-ph::after, .ex-card .ph::after, .st-next-photo::after, .rc-media:has(> .rc-photo)::after, .tdsh-feat-photo:has(> img)::after, .tdsh-posts .ph::after, .mb-card .ph:has(> img)::after, .rc-brand-photo:has(> img)::after, .hh-feat:has(> img)::after, .hh-thumb:has(> img)::after { display: none; } }

/* Etiquetas y textos sobre las fotos van por encima del grano. */
.tdsh-feat-tags, .tdsh-feat-big, .rc-media-tags, .rc-brand-flag, .rc-brand-stamp, .st-next-photo .st-chip, .hh-feat-shade, .hh-feat-tx { z-index: 2; }

.tdsh .ext-ic { display: inline-block; vertical-align: -1px; margin-left: 2px; flex: none; }

/* Clima y UV de la carrera (weather.js) */
.wx { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.wx[hidden] { display: none; }
.wx-i { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.wx-i b { font-size: 14px; font-weight: 600; }
.wx-uv { padding: 0 6px; border-radius: var(--radius-sm); color: #fff; background: #6b8e23; }
.wx-uv.mid { background: #c9a400; }
.wx-uv.high { background: #e07b00; }
.wx-uv.vhigh { background: #c62828; }
.wx-uv.ext { background: #6a1b9a; }

/* Ficha en mobile: cada fila apila etiqueta arriba y valor abajo, alineado a la izquierda; el clima va en grilla 2x2 */
@media (max-width: 639px) {
  dl.rc-facts > div { flex-direction: column; align-items: stretch; gap: 6px; padding: 12px 0; }
  dl.rc-facts dd { text-align: left; }
  .wx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .wx-uv { display: inline-block; padding: 2px 8px; }
}
