@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/barlow-400-7a686e763128.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: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow-600-488b58098126.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: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/barlow-700-98aa8b5c2582.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: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/chakra-petch-600-4d6d5f0b31b3.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: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/chakra-petch-700-3c2433eb1671.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;
}

/* ==========================================================================
   Raid-Sur · Clasificaciones 2026
   Estilo alineado con raidsur.com: marrón oscuro, arena y naranja,
   Chakra Petch para títulos y cifras, Barlow para el texto.
   ========================================================================== */

:root {
  --ink: #241A0F;
  --ink-2: #1E150C;
  --text: #2A1E12;
  --muted: #6B5D4A;
  --sand: #F4ECDD;
  --sand-2: #E7DCC5;
  --sand-3: #CDBFA6;
  --eyebrow-dark: #F5B25C;
  --paper: #FBF6EC;
  --line: #E3D5BC;
  --line-2: #D9C9AC;
  --orange: #EE7C00;
  --orange-dark: #A24E00;
  --up: #1F6E43;
  --down: #9A3B1F;
  --gold: #D9A441;
  --silver: #9C9A93;
  --copper: #B4703F;
  --gutter: clamp(16px, 4vw, 72px);
  --on-orange: #1B1206;
  --radius-lg: 18px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 36px rgba(36, 26, 15, .08);
  --head: 'Chakra Petch', Barlow, system-ui, sans-serif;
  --body: Barlow, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --topo-light: url(/assets/topo-arena-2380ded52645.webp);
  --topo-dark: url(/assets/topo-oscuro-231170c5f903.webp);
}

html, body { margin: 0; background: var(--sand); }
body { -webkit-font-smoothing: antialiased; }

#rs-v2 { min-height: 100vh; display: flex; flex-direction: column; font: 400 17px/1.6 var(--body); color: var(--text); background: var(--sand); }
#rs-v2 *, #rs-v2 *::before, #rs-v2 *::after { box-sizing: border-box; }
#rs-v2 [hidden] { display: none !important; }
#rs-v2 h1, #rs-v2 h2, #rs-v2 h3 { font-family: var(--head); font-weight: 700; margin: 0; color: var(--ink); line-height: 1.16; letter-spacing: -.025em; text-wrap: balance; }
#rs-v2 h1 { font-size: clamp(34px, 3.55vw, 56px); line-height: 1.08; }
#rs-v2 h2 { font-size: clamp(28px, 2.3vw, 42px); }
#rs-v2 h3 { font-size: 24px; }
#rs-v2 .lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
#rs-v2 p { margin: 0; }
#rs-v2 a { color: var(--orange-dark); }
#rs-v2 button, #rs-v2 input { font: inherit; color: inherit; }
#rs-v2 button { cursor: pointer; }
#rs-v2 :focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
#rs-v2 .muted { color: var(--muted); }

/* Rótulo con barrita naranja (como en los briefings) */
#rs-v2 .eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 600 14px/1.5 var(--head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-dark);
}
#rs-v2 .eyebrow::before { content: ""; flex: none; width: 28px; height: 4px; border-radius: 2px; background: var(--orange); }

/* ---------- Cabecera ---------- */
#rs-v2 header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 12px var(--gutter);
  background: var(--ink); border-bottom: 2px solid var(--orange);
}
#rs-v2 .brand { display: flex; align-items: center; gap: 16px; }
#rs-v2 .brand-logo { display: block; height: 52px; width: auto; }
#rs-v2 .brand-divider { width: 2px; height: 26px; background: var(--orange); color: transparent; overflow: hidden; }
#rs-v2 .brand-section { font: 600 18px/1 var(--head); color: var(--sand); text-transform: capitalize; }
#rs-v2 header nav { display: flex; align-items: center; gap: 28px; }
#rs-v2 .nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  font: 600 16px/1 var(--head); color: var(--sand-2); text-decoration: none;
  border-bottom: 2px solid transparent;
}
#rs-v2 .nav-link:hover { color: #fff; }
#rs-v2 .nav-link.selected { color: var(--orange); border-bottom-color: var(--orange); }
#rs-v2 .nav-external { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid rgba(244, 236, 221, .35); border-radius: var(--radius-sm); color: var(--sand); font: 600 14px/1 var(--body); text-decoration: none; }
#rs-v2 .nav-external:hover { border-color: var(--orange); color: #fff; }

/* ---------- Portada ---------- */
#rs-v2 .hero {
  min-height: 420px; display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: 56px var(--gutter);
  background:
    linear-gradient(90deg, rgba(36, 26, 15, .94) 0%, rgba(36, 26, 15, .8) 34%, rgba(36, 26, 15, .3) 62%, rgba(36, 26, 15, .05) 82%),
    url(/assets/hero-desktop-036f12ffe15c.webp) center 60% / cover var(--ink);
}
#rs-v2 .hero .eyebrow { color: var(--eyebrow-dark); }
#rs-v2 .hero .eyebrow::before { width: 36px; }
#rs-v2 .hero h1 { color: var(--sand); max-width: 14em; }
#rs-v2 .hero h1 em { font-style: normal; color: var(--orange); }
#rs-v2 #rs-sync-status {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(244, 236, 221, .1); border: 1px solid rgba(244, 236, 221, .22);
  color: var(--sand); font-size: 15px; font-weight: 600;
}
#rs-v2 #rs-sync-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
#rs-v2 #rs-sync-status:empty { display: none; }

/* ---------- Recorrido de etapas ---------- */
#rs-v2 .route {
  padding: 30px var(--gutter) 26px;
  background: linear-gradient(rgba(36, 26, 15, .88), rgba(36, 26, 15, .88)), var(--topo-dark) center / cover var(--ink);
}
#rs-v2 .route:empty { display: none; }
#rs-v2 .route-track { position: relative; }
#rs-v2 .route-inner { position: relative; }
#rs-v2 .route-line, #rs-v2 .route-progress { position: absolute; top: 12px; left: calc(100% / 12); height: 0; }
#rs-v2 .route-line { right: calc(100% / 12); border-top: 3px dashed rgba(238, 124, 0, .5); }
#rs-v2 .route-progress { border-top: 3px solid var(--orange); }
#rs-v2 .route-snake { display: none; }
#rs-v2 .route ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
#rs-v2 .route-stop {
  display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%;
  padding: 0 0 6px; background: none; border: 0; border-radius: var(--radius-sm); text-align: center; color: var(--sand);
}
#rs-v2 .route-stop:hover .route-name { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
#rs-v2 .route-dot { width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%; background: var(--ink); border: 2px dashed rgba(244, 236, 221, .45); }
#rs-v2 .is-done .route-dot { background: var(--orange); border: 0; box-shadow: 0 0 0 5px rgba(238, 124, 0, .22); }
#rs-v2 .is-next .route-dot { position: relative; border: 3px solid var(--orange); background: var(--ink); animation: rs-heartbeat 1.6s ease-in-out infinite; }
#rs-v2 .is-next .route-dot::before, #rs-v2 .is-next .route-dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--orange);
  animation: rs-ripple 1.6s cubic-bezier(.2, .6, .35, 1) infinite;
}
#rs-v2 .is-next .route-dot::after { animation-delay: .8s; }
@keyframes rs-heartbeat {
  0%, 100% { transform: scale(1); background: var(--ink); }
  14% { transform: scale(1.18); background: rgba(238, 124, 0, .55); }
  28% { transform: scale(1); background: var(--ink); }
  42% { transform: scale(1.1); background: rgba(238, 124, 0, .35); }
  70% { transform: scale(1); background: var(--ink); }
}
@keyframes rs-ripple {
  from { transform: scale(1); opacity: .85; }
  to { transform: scale(2.4); opacity: 0; }
}
#rs-v2 .route-label { font: 700 12px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-3); }
#rs-v2 .is-done .route-label, #rs-v2 .is-next .route-label { color: var(--orange); }
#rs-v2 .route-name { font: 600 17px/1.2 var(--head); color: var(--sand); }
#rs-v2 .route-meta { font-size: 13px; color: var(--sand-3); }

/* ---------- Contenido ---------- */
#rs-v2 main {
  flex: 1 0 auto; display: flex; flex-direction: column; gap: 26px;
  padding: 52px var(--gutter) 72px;
  background: linear-gradient(rgba(244, 236, 221, .82), rgba(244, 236, 221, .82)), var(--topo-light) center top / 1440px auto var(--sand);
}
#rs-v2 #rs-retry { align-self: flex-start; min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm); background: var(--ink); color: var(--sand); border: 0; font-weight: 700; }
#rs-v2 .heading .muted { margin-top: 8px; font-size: 18px; line-height: 1.6; }
#rs-v2 #rs-page-title:focus { outline: none; }

#rs-v2 .toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px 24px; align-items: end; }
#rs-v2 .toolbar > .stage-buttons, #rs-v2 .toolbar > .stage-summary, #rs-v2 .toolbar > .stage-extras { grid-column: 1 / -1; }

/* Selector de etapas */
#rs-v2 .stage-buttons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 12px; border-radius: var(--radius); background: var(--ink-2); }
#rs-v2 .stage-buttons button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; padding: 10px 14px;
  border-radius: var(--radius-sm); background: transparent; border: 1px solid rgba(238, 124, 0, .5); color: var(--sand); text-align: left;
}
#rs-v2 .stage-buttons button.stage-pending { border-color: rgba(244, 236, 221, .18); }
#rs-v2 .stage-buttons button:hover { background: rgba(244, 236, 221, .06); }
#rs-v2 .stage-buttons button.selected { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
#rs-v2 .stage-button-title { font: 700 12px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
#rs-v2 .stage-pending .stage-button-title { color: var(--sand-3); }
#rs-v2 .stage-button-name { font: 600 15px/1.25 var(--head); }
#rs-v2 .stage-button-status { font-size: 12px; color: var(--sand-3); }
#rs-v2 .stage-buttons button.selected .stage-button-title,
#rs-v2 .stage-buttons button.selected .stage-button-status { color: #3A2610; }

/* Portada de etapa */
#rs-v2 .stage-summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 32px;
  padding: 34px 38px; border-radius: var(--radius-lg); color: var(--sand);
  background: linear-gradient(100deg, rgba(36, 26, 15, .96), rgba(36, 26, 15, .82)), var(--topo-dark) center / cover var(--ink);
  border-top: 5px solid var(--orange);
}
#rs-v2 .stage-summary-text { display: flex; flex-direction: column; gap: 10px; }
#rs-v2 .stage-summary .eyebrow { color: var(--eyebrow-dark); }
#rs-v2 .stage-summary strong { font: 700 clamp(34px, 3.55vw, 56px)/1.08 var(--head); color: var(--sand); letter-spacing: -.025em; }
#rs-v2 .stage-summary span { font-size: 18px; color: var(--sand-2); }
#rs-v2 .stage-summary small { display: block; font: 700 clamp(44px, 6vw, 84px)/.9 var(--head); color: var(--orange); letter-spacing: -.03em; text-align: right; }
#rs-v2 .stage-summary small i { display: block; margin-top: 8px; font: 700 13px/1.2 var(--head); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-2); }

/* Filtros y buscador */
#rs-v2 .filters { display: flex; flex-wrap: wrap; gap: 10px; }
#rs-v2 .filters button {
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--head); background: var(--paper); color: var(--text); border: 1px solid var(--line-2);
}
#rs-v2 .filters button:hover { border-color: var(--orange); }
#rs-v2 .filters button.selected { background: var(--ink); color: var(--sand); border-color: var(--ink); }
#rs-v2 .search { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
#rs-v2 .search input {
  height: 48px; padding: 0 14px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 500; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2);
}
#rs-v2 .search input::placeholder { color: #8C7A62; }
#rs-v2 #rs-share-status { font-weight: 600; color: var(--up); }
#rs-v2 #rs-share-status:empty { display: none; }
#rs-v2 .share-link { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper); }

/* ---------- Podio ---------- */
#rs-v2 .podium-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#rs-v2 .podium-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; text-align: left;
  background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow);
}
#rs-v2 .podium-card:nth-child(2) { border-top-color: var(--silver); }
#rs-v2 .podium-card:nth-child(3) { border-top-color: var(--copper); }
#rs-v2 .podium-card:hover { border-color: var(--orange); border-top-color: var(--orange); }
#rs-v2 .podium-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#rs-v2 .podium-pos { font: 700 52px/1 var(--head); color: var(--orange-dark); }
#rs-v2 .podium-card .bib { width: 96px; }
#rs-v2 .podium-name { font: 700 22px/1.15 var(--head); color: var(--ink); }
#rs-v2 .podium-cat { font-size: 14px; color: var(--muted); }
#rs-v2 .podium-time { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
#rs-v2 .podium-time b { font: 700 28px/1 var(--head); font-variant-numeric: tabular-nums; color: var(--ink); }
#rs-v2 .podium-time span { font: 600 15px/1 var(--head); font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- Tabla de clasificación ---------- */
#rs-v2 #rs-classification { display: flex; flex-direction: column; gap: 16px; }
#rs-v2 .standings { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
#rs-v2 .tablehead, #rs-v2 .result {
  display: grid; grid-template-columns: 76px 112px minmax(0, 1fr) 150px 130px; align-items: center; gap: 12px; padding: 0 22px;
}
#rs-v2 .tablehead { min-height: 48px; background: var(--ink); color: var(--sand-2); font: 700 12px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; }
#rs-v2 .tablehead > span:nth-child(n+4) { text-align: right; }
#rs-v2 .tablehead .gap { color: inherit; font: inherit; }
#rs-v2 .result { min-height: 72px; padding-top: 8px; padding-bottom: 8px; border-top: 1px solid #EADFCB; transition: background .15s; }
#rs-v2 .result:first-child { border-top: 0; }
#rs-v2 .result:hover { background: #FFF9EF; }
#rs-v2 .result.podium-1 { background: linear-gradient(90deg, rgba(222, 160, 40, .55), rgba(222, 160, 40, .12) 75%, rgba(222, 160, 40, .04)); }
#rs-v2 .result.podium-2 { background: linear-gradient(90deg, rgba(140, 142, 146, .48), rgba(140, 142, 146, .1) 75%, rgba(140, 142, 146, .03)); }
#rs-v2 .result.podium-3 { background: linear-gradient(90deg, rgba(184, 104, 50, .5), rgba(184, 104, 50, .1) 75%, rgba(184, 104, 50, .03)); }
#rs-v2 .position { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font: 700 21px/1 var(--head); color: var(--ink); }
#rs-v2 .podium .position { color: var(--ink); }
#rs-v2 .result.podium:hover { filter: brightness(1.04); }
#rs-v2 .movement { font: 700 13px/1 var(--head); font-variant-numeric: tabular-nums; color: var(--muted); }
#rs-v2 .movement-up { color: var(--up); }
#rs-v2 .movement-down { color: var(--down); }
#rs-v2 .result [role="cell"] { min-width: 0; }
#rs-v2 .result [role="cell"]:nth-child(3) { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
#rs-v2 .open-team {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0; max-width: 100%;
  background: none; border: 0; text-align: left; font: 700 17px/1.2 var(--head); color: var(--ink);
}
#rs-v2 .open-team:hover { color: var(--orange-dark); }
#rs-v2 .open-team span { font: 500 13px/1.3 var(--body); color: var(--muted); }
#rs-v2 .stage-winner { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--orange); color: var(--on-orange); font: 700 12px/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; }
#rs-v2 .share-row {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: -4px 0; padding: 0;
  background: none; border: 0; font: 600 13px/1 var(--body); color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px;
}
#rs-v2 .share-row:hover { color: var(--ink); }
#rs-v2 .duration { text-align: right; font: 700 18px/1.1 var(--head); font-variant-numeric: tabular-nums; color: var(--ink); }
#rs-v2 .result-status { display: block; margin-top: 4px; font: 700 12px/1.2 var(--body); color: var(--down); }
#rs-v2 .mobile-gap { display: none; }
#rs-v2 .gap { text-align: right; font: 600 15px/1 var(--head); font-variant-numeric: tabular-nums; color: var(--muted); }
#rs-v2 .notice { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
#rs-v2 .notice::before { content: ""; flex: none; width: 4px; height: 18px; border-radius: 2px; background: var(--orange); }

/* Dorsales (placas oficiales) */
#rs-v2 .bib { position: relative; display: block; width: 100%; max-width: 96px; padding: 0; background: none; border: 0; border-radius: 8px; transition: transform .15s; }
#rs-v2 .bib:hover { transform: translateY(-2px); }
#rs-v2 .bib img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 446; }
#rs-v2 .bib:not(.bib-complete) img { aspect-ratio: 640 / 512; }
#rs-v2 .empty { padding: 20px; color: var(--muted); }
#rs-v2 .bib .number, #rs-v2 .bib .bibname { position: absolute; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--head); font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
#rs-v2 .bib .number { top: 34%; font-size: 1.4em; }
#rs-v2 .bib .bibname { bottom: 22%; font-size: .55em; text-transform: uppercase; }

/* ---------- Equipos ---------- */
#rs-v2 .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
#rs-v2 .teamcard { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
#rs-v2 .teamcard:hover { transform: translateY(-3px); box-shadow: 0 24px 44px rgba(36, 26, 15, .14); }
#rs-v2 .photo-placeholder { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); color: var(--muted); font-size: 14px; font-weight: 600; }
#rs-v2 .teamcard .body { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 22px 22px; }
#rs-v2 .teamcard .photo-placeholder::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(251, 246, 236, 0), rgba(251, 246, 236, .55) 62%, var(--paper)); pointer-events: none; }
#rs-v2 .teamcard .bib { align-self: center; width: 74%; max-width: 250px; margin: -112px 0 4px; filter: drop-shadow(0 12px 18px rgba(36, 26, 15, .3)); transform: rotate(-2deg); transition: transform .2s; }
#rs-v2 .teamcard:hover .bib { transform: rotate(0) scale(1.03); }
#rs-v2 .teamcard .eyebrow, #rs-v2 .teamcard h3 { align-self: center; text-align: center; }
#rs-v2 .teamcard .eyebrow::before { display: none; }
#rs-v2 .teamcard .eyebrow { font-size: 13px; }
#rs-v2 .teamcard h3 { font-size: 24px; }
#rs-v2 .team-details { display: grid; gap: 0; margin: 4px 0 0; border-top: 1px solid var(--line); }
#rs-v2 .team-details div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
#rs-v2 .team-details dt { font: 700 12px/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#rs-v2 .team-details dd { margin: 0; text-align: right; font-size: 15px; font-weight: 600; color: var(--ink); }
#rs-v2 .teamcard button:not(.bib) { align-self: flex-start; min-height: 44px; margin-top: 6px; padding: 0; background: none; border: 0; font: 700 15px/1 var(--head); color: var(--orange-dark); }
#rs-v2 .teamcard button:not(.bib):hover { color: var(--ink); }

/* ---------- Ficha de equipo ---------- */
#rs-v2 #rs-profile { display: flex; flex-direction: column; gap: 28px; }
#rs-v2 #rs-back { align-self: flex-start; min-height: 44px; padding: 0; background: none; border: 0; font-weight: 700; color: var(--orange-dark); }
#rs-v2 .profile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
#rs-v2 .profile > div { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
#rs-v2 .profile .photo-placeholder { border-radius: var(--radius-lg); box-shadow: 0 24px 48px rgba(36, 26, 15, .18); }
#rs-v2 .profile .photo-placeholder::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, rgba(36, 26, 15, 0), rgba(36, 26, 15, .55)); pointer-events: none; }
#rs-v2 .profile > div:first-child .bib { width: 58%; max-width: 360px; align-self: center; margin: -190px 0 0; filter: drop-shadow(0 16px 26px rgba(20, 14, 8, .45)); transform: rotate(-2deg); transition: transform .2s; }
#rs-v2 .profile > div:first-child .bib:hover { transform: rotate(0) scale(1.03); }
#rs-v2 .profile h2 { font-size: clamp(34px, 3.55vw, 56px); line-height: 1.08; }
#rs-v2 .profile h3 { margin-top: 10px; }
#rs-v2 .profile > div > p:not(.eyebrow):not(.notice) { font-size: 18px; line-height: 1.6; }
#rs-v2 .profile-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#rs-v2 .profile-stat { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
#rs-v2 .profile-stat.is-key { background: var(--ink); border: 0; border-top: 4px solid var(--orange); }
#rs-v2 .profile-stat span { font: 700 12px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#rs-v2 .profile-stat.is-key span { color: var(--sand-3); }
#rs-v2 .profile-stat b { font: 700 30px/1 var(--head); font-variant-numeric: tabular-nums; color: var(--ink); }
#rs-v2 .profile-stat.is-key b { color: var(--orange); font-size: 38px; }
#rs-v2 .profile-stat.is-key .movement { font-size: 15px; vertical-align: middle; }
#rs-v2 .profile-stat.is-key .movement-up { color: #8FD3A8; }
#rs-v2 .profile-stat.is-key .movement-down { color: #F0A58A; }
#rs-v2 .share-profile {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 13px 24px;
  border: 0; border-radius: var(--radius-sm); background: var(--orange); color: var(--on-orange); font: 700 16px/1.4 var(--body);
}
#rs-v2 .share-profile:hover { background: #FF8F1A; }
#rs-v2 .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
#rs-v2 .facts p { display: flex; flex-direction: column; gap: 4px; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); }
#rs-v2 .facts .muted { font: 700 12px/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; }
#rs-v2 .facts strong { font-size: 17px; font-weight: 600; color: var(--ink); }
#rs-v2 .stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#rs-v2 .stage {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px;
  background: var(--ink); color: var(--sand); border-top: 3px solid rgba(244, 236, 221, .2);
}
#rs-v2 .stage.is-done { border-top-color: var(--orange); }
#rs-v2 .stage span { font: 700 12px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
#rs-v2 .stage strong { font: 700 20px/1.2 var(--head); font-variant-numeric: tabular-nums; color: var(--sand); }
#rs-v2 .stage-rank { font-size: 13px; color: var(--sand-3); }

/* ---------- Etapa: ganador y redes ---------- */
#rs-v2 .stage-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
#rs-v2 .stage-extras[hidden] { display: none; }
#rs-v2 .winner-card, #rs-v2 .social-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px; border-radius: var(--radius-lg); color: var(--sand); }
#rs-v2 .winner-card { background: var(--ink); border-top: 5px solid var(--orange); }
#rs-v2 .winner-card .eyebrow, #rs-v2 .social-card .eyebrow { color: var(--eyebrow-dark); }
#rs-v2 .winner-card h3 { color: var(--sand); font-size: clamp(24px, 2.2vw, 34px); }
#rs-v2 .winner-card.is-pending p:not(.eyebrow) { color: var(--sand-3); font-size: 16px; }
#rs-v2 .winner-team { display: flex; align-items: center; gap: 18px; }
#rs-v2 .winner-team .bib { flex: none; width: 120px; max-width: 120px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
#rs-v2 .winner-team span { color: var(--sand-3); font-size: 15px; }
#rs-v2 .winner-card dl { display: flex; gap: 32px; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid rgba(244, 236, 221, .15); }
#rs-v2 .winner-card dt { color: var(--sand-3); font-size: 13px; }
#rs-v2 .winner-card dd { margin: 2px 0 0; font: 700 30px/1.1 var(--head); font-variant-numeric: tabular-nums; color: var(--sand); }
#rs-v2 .winner-card dl div + div dd { color: var(--orange); }
#rs-v2 .social-card {
  justify-content: flex-end; min-height: 230px;
  background: linear-gradient(180deg, rgba(36, 26, 15, .35), rgba(36, 26, 15, .9)), url(/assets/hero-6c3e577c175b.webp) center 45% / cover var(--ink);
}
#rs-v2 .social-card h3 { color: #fff; font-size: clamp(24px, 2.2vw, 34px); }
#rs-v2 .social-card p:not(.eyebrow) { color: var(--sand-2); font-size: 17px; line-height: 1.5; max-width: 460px; }
#rs-v2 .social-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
#rs-v2 .social-buttons a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--radius-sm); background: var(--orange); color: var(--on-orange); font: 700 16px/1 var(--body); text-decoration: none; }
#rs-v2 .social-buttons a + a { background: rgba(244, 236, 221, .1); color: var(--sand); border: 1px solid rgba(244, 236, 221, .4); }
#rs-v2 .social-buttons a:hover { filter: brightness(1.1); }

/* ---------- Ficha: título, historia y etapa a etapa ---------- */
#rs-v2 .profile-title { display: flex; flex-direction: column; gap: 8px; }
#rs-v2 .profile-crew { font-size: 18px; color: var(--muted); }
#rs-v2 .profile-story { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; padding: 36px 40px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
#rs-v2 .profile-story h3 { font-size: clamp(28px, 2.3vw, 34px); margin: 0; }
#rs-v2 .profile-story p { font-size: 20px; line-height: 1.6; color: var(--text); }
#rs-v2 .profile-timeline { display: flex; flex-direction: column; gap: 26px; padding: 36px 40px 40px; border-radius: var(--radius-lg); background: linear-gradient(rgba(36, 26, 15, .9), rgba(36, 26, 15, .9)), var(--topo-dark) center / cover var(--ink); }
#rs-v2 .timeline-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#rs-v2 .timeline-head h3 { margin: 0; color: var(--sand); font-size: clamp(28px, 2.3vw, 34px); }
#rs-v2 .timeline-head span { color: var(--sand-3); font-size: 15px; }
#rs-v2 .timeline-track { position: relative; }
#rs-v2 .timeline-line, #rs-v2 .timeline-progress { position: absolute; top: 10px; left: calc(100% / 12); height: 0; }
#rs-v2 .timeline-line { right: calc(100% / 12); border-top: 3px dashed rgba(238, 124, 0, .5); }
#rs-v2 .timeline-progress { border-top: 3px solid var(--orange); }
#rs-v2 .timeline { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
#rs-v2 .tl-stop { display: flex; flex-direction: column; align-items: center; gap: 12px; }
#rs-v2 .tl-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 2px dashed rgba(244, 236, 221, .45); }
#rs-v2 .is-done .tl-dot { background: var(--orange); border: 0; box-shadow: 0 0 0 5px rgba(238, 124, 0, .22); }
#rs-v2 .tl-card { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 14px 10px; border-radius: 12px; text-align: center; border: 1px solid rgba(244, 236, 221, .15); }
#rs-v2 .is-done .tl-card { background: rgba(244, 236, 221, .08); border-color: rgba(238, 124, 0, .45); }
#rs-v2 .tl-label { font: 700 12px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
#rs-v2 .tl-name { font: 600 15px/1.25 var(--head); color: var(--sand); }
#rs-v2 .tl-card strong { margin-top: 4px; font: 700 20px/1.2 var(--head); font-variant-numeric: tabular-nums; color: #8C7A62; }
#rs-v2 .is-done .tl-card strong { color: var(--sand); }
#rs-v2 .tl-card .stage-winner { margin-top: 6px; }

/* ---------- Próxima edición ---------- */
#rs-v2 .next-edition {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 20px; padding: 40px 44px; border-radius: var(--radius-lg);
  background: linear-gradient(100deg, rgba(36, 26, 15, .96), rgba(36, 26, 15, .84)), var(--topo-dark) center / cover var(--ink);
}
#rs-v2 .next-edition > div { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
#rs-v2 .next-edition .eyebrow { color: var(--eyebrow-dark); }
#rs-v2 .next-edition h2 { color: var(--sand); }
#rs-v2 .next-edition p { color: var(--sand-2); font-size: 18px; line-height: 1.6; }
#rs-v2 .next-edition a { display: inline-flex; align-items: center; min-height: 52px; padding: 13px 24px; border-radius: var(--radius-sm); background: var(--orange); color: var(--on-orange); font: 700 16px/1.4 var(--body); text-decoration: none; }
#rs-v2 .next-edition a:hover { background: #FF8F1A; }

/* ---------- Pie ---------- */
#rs-v2 footer {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  padding: 26px var(--gutter); background: var(--ink-2); color: var(--sand-3); font-size: 14px;
}
#rs-v2 .footer-social { display: flex; justify-content: center; gap: 12px; margin: 8px 0 4px; }
#rs-v2 .footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244, 236, 221, .25); color: var(--sand-2); transition: background .15s, color .15s, border-color .15s; }
#rs-v2 .footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
#rs-v2 .social-wide[hidden] { display: none; }
#rs-v2 .social-wide .social-card { min-height: 0; padding: 34px 40px; background: linear-gradient(90deg, rgba(36, 26, 15, .95) 0%, rgba(36, 26, 15, .8) 40%, rgba(36, 26, 15, .25) 75%), url(/assets/hero-6c3e577c175b.webp) center 55% / cover var(--ink); }
#rs-v2 .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 4px; }
#rs-v2 .footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--sand-2); }
#rs-v2 .footer-links a:hover { color: #fff; }

/* ---------- Entrada (solo primera visita) ---------- */
.launch-screen {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 32px;
  background: radial-gradient(ellipse at 50% 42%, #3A2A18 0%, #241A0F 62%, #1E150C 100%); color: #F4ECDD;
  transition: opacity 500ms cubic-bezier(.45, 0, .55, 1);
}
.launch-screen[hidden] { display: none; }
.launch-screen.launch-leaving { opacity: 0; pointer-events: none; }
.launch-brand { width: min(360px, 100%); text-align: center; animation: launch-arrive 550ms ease-out both; }
.launch-brand img { display: block; width: 100%; height: auto; }
.launch-brand p { margin: 26px 0 32px; font: 600 clamp(18px, 4vw, 23px)/1.3 'Chakra Petch', sans-serif; }
.launch-track { position: relative; height: 2px; overflow: hidden; background: rgba(244, 236, 221, .15); }
.launch-track span { display: block; position: absolute; width: 38%; height: 100%; background: #EE7C00; animation: launch-travel 1.2s ease-in-out infinite; }
.launch-label { display: block; margin-top: 14px; color: #CDBFA6; font: 600 12px/1.5 Barlow, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
@keyframes launch-travel { from { transform: translateX(-105%); } to { transform: translateX(370%); } }
@keyframes launch-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Tableta ---------- */
@media (max-width: 980px) {
  #rs-v2 .stage-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #rs-v2 .profile { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #rs-v2 .profile > div:first-child { max-width: 560px; }
  #rs-v2 .stage-extras { grid-template-columns: minmax(0, 1fr); }
  #rs-v2 .profile-story { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #rs-v2 .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  #rs-v2 .timeline-line, #rs-v2 .timeline-progress { display: none; }
  #rs-v2 .podium-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  #rs-v2 .podium-card { padding: 18px; }
  #rs-v2 .podium-pos { font-size: 40px; }
  #rs-v2 .podium-card .bib { width: 72px; }
}

/* ---------- Móvil ---------- */
@media (max-width: 700px) {
  #rs-v2 header { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 16px; }
  #rs-v2 .brand { gap: 12px; }
  #rs-v2 .brand-logo { height: 44px; }
  #rs-v2 .brand-section { font-size: 16px; }
  #rs-v2 header nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  #rs-v2 .nav-link { justify-content: center; text-align: center; padding: 6px; font-size: 13px; line-height: 1.15; border: 1px solid rgba(244, 236, 221, .25); border-radius: var(--radius-sm); }
  #rs-v2 .nav-link.selected { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }

  #rs-v2 .hero {
    min-height: 0; justify-content: flex-end; gap: 12px; padding: 96px 18px 20px;
    background:
      linear-gradient(0deg, rgba(36, 26, 15, .96) 0%, rgba(36, 26, 15, .7) 50%, rgba(36, 26, 15, .15) 100%),
      url(/assets/hero-mobile-758a8fed4323.webp) 65% center / cover var(--ink);
  }
  #rs-v2 .hero .eyebrow { font-size: 12.5px; letter-spacing: .12em; }
  #rs-v2 .hero .eyebrow::before { width: 24px; height: 3px; }
  #rs-v2 .hero h1 { font-size: 34px; }
  #rs-v2 #rs-sync-status { padding: 0; background: none; border: 0; font-size: 13px; color: var(--sand-2); }

  /* Recorrido en serpentín: 1→2, baja, 4←3, baja, 5→6 */
  #rs-v2 .route { padding: 26px 18px 22px; }
  #rs-v2 .route-line, #rs-v2 .route-progress { display: none; }
  #rs-v2 .route ol { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; column-gap: 0; row-gap: 22px; }
  #rs-v2 .route li:nth-child(3) { grid-area: 2 / 2; }
  #rs-v2 .route li:nth-child(4) { grid-area: 2 / 1; }
  #rs-v2 .route li:nth-child(5) { grid-area: 3 / 1; }
  #rs-v2 .route li:nth-child(6) { grid-area: 3 / 2; }
  #rs-v2 .route-stop { padding: 0 14px 4px; }
  #rs-v2 .route-label { letter-spacing: .1em; }
  #rs-v2 .route-dot { width: 22px; height: 22px; margin-bottom: 6px; }
  #rs-v2 .route-name { font-size: 16px; }
  #rs-v2 .route-snake { --pitch: calc((100% + 22px) / 3); display: block; position: absolute; inset: 0; pointer-events: none; }
  #rs-v2 .route-snake i { position: absolute; border: 0 dashed rgba(238, 124, 0, .5); }
  #rs-v2 .route-snake i.is-done { border-style: solid; border-color: var(--orange); }
  #rs-v2 .route-snake .snake-1, #rs-v2 .route-snake .snake-3, #rs-v2 .route-snake .snake-5 { left: 25%; right: 25%; border-top-width: 3px; }
  #rs-v2 .route-snake .snake-1 { top: 10px; }
  #rs-v2 .route-snake .snake-3 { top: calc(var(--pitch) + 10px); }
  #rs-v2 .route-snake .snake-5 { top: calc(var(--pitch) * 2 + 10px); }
  #rs-v2 .route-snake .snake-2, #rs-v2 .route-snake .snake-4 { height: var(--pitch); border-width: 3px; }
  #rs-v2 .route-snake .snake-2 { top: 10px; left: 75%; right: -8px; border-left: 0; border-radius: 0 999px 999px 0; }
  #rs-v2 .route-snake .snake-4 { top: calc(var(--pitch) + 10px); left: -8px; right: 75%; border-right: 0; border-radius: 999px 0 0 999px; }

  #rs-v2 main { gap: 18px; padding: 24px 14px 36px; background-size: auto, 900px auto; }
  #rs-v2 .heading { padding: 0 4px; }
  #rs-v2 .heading .muted { font-size: 16px; }
  #rs-v2 .toolbar { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #rs-v2 .stage-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; }
  #rs-v2 .stage-buttons button { padding: 8px; }
  #rs-v2 .stage-button-title { font-size: 12px; letter-spacing: .04em; }
  #rs-v2 .stage-button-name { font-size: 13px; }
  #rs-v2 .stage-summary { grid-template-columns: minmax(0, 1fr); padding: 24px 22px; }
  #rs-v2 .stage-summary span { font-size: 16px; }
  #rs-v2 .stage-summary small { text-align: left; font-size: 52px; }
  #rs-v2 .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px; scrollbar-width: none; }
  #rs-v2 .filters::-webkit-scrollbar { display: none; }
  #rs-v2 .filters button { flex: none; padding: 0 16px; font-size: 14px; }

  #rs-v2 .podium-cards { display: none; }
  #rs-v2 .standings { border-radius: 14px; }
  #rs-v2 .tablehead, #rs-v2 .result { grid-template-columns: 40px 60px minmax(0, 1fr) auto; gap: 8px; padding: 0 12px; }
  #rs-v2 .tablehead > span:nth-child(5), #rs-v2 .result > .gap { display: none; }
  #rs-v2 .tablehead { letter-spacing: .08em; font-size: 12px; }
  #rs-v2 .result { min-height: 66px; padding-top: 8px; padding-bottom: 8px; }
  #rs-v2 .position { align-items: center; font-size: 18px; }
  #rs-v2 .movement { font-size: 12px; }
  #rs-v2 .open-team { font-size: 15px; }
  #rs-v2 .open-team span { font-size: 12px; }
  #rs-v2 .duration { font-size: 15px; }
  #rs-v2 .mobile-gap { display: block; margin-top: 3px; font: 600 12px/1 var(--head); color: var(--muted); }
  #rs-v2 .share-row { font-size: 13px; }

  #rs-v2 .grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #rs-v2 .profile > div:first-child .bib { width: 72%; margin-top: -118px; }
  #rs-v2 .profile-stat b { font-size: 24px; }
  #rs-v2 .profile-stat.is-key b { font-size: 30px; }
  #rs-v2 .facts { grid-template-columns: minmax(0, 1fr); }
  #rs-v2 .nav-external { display: none; }
  #rs-v2 .winner-card, #rs-v2 .social-card { padding: 22px; }
  #rs-v2 .social-wide .social-card { padding: 24px 22px; }
  #rs-v2 .social-buttons { flex-wrap: nowrap; }
  #rs-v2 .social-buttons a { flex: 1 1 0; justify-content: center; padding: 0 12px; }
  #rs-v2 .winner-team .bib { width: 92px; max-width: 92px; }
  #rs-v2 .winner-card dd { font-size: 24px; }
  #rs-v2 .profile-story, #rs-v2 .profile-timeline { padding: 24px 20px; }
  #rs-v2 .profile-story p { font-size: 18px; }
  #rs-v2 .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }

  #rs-v2 .next-edition { margin-top: 8px; padding: 28px 22px; }
  #rs-v2 .next-edition a { width: 100%; justify-content: center; }
  #rs-v2 footer { padding: 22px 16px; }
}

@media (max-width: 360px) {
  #rs-v2 .brand-logo { height: 36px; }
  #rs-v2 .tablehead, #rs-v2 .result { grid-template-columns: 34px 50px minmax(0, 1fr) auto; gap: 6px; padding: 0 8px; }
  #rs-v2 .stage-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  #rs-v2 *, #rs-v2 *::before, #rs-v2 *::after, .launch-screen, .launch-brand { transition: none !important; animation: none !important; }
  .launch-track span { width: 100%; opacity: .7; }
}

/* Recorte del blanco exterior de las placas oficiales */
#rs-v2 .bib-complete img {
  -webkit-mask: url("/assets/dorsales/marco-b163cb904ee9.svg") center / contain no-repeat;
  mask: url("/assets/dorsales/marco-b163cb904ee9.svg") center / contain no-repeat;
}
