/* Sealed Japan — identidad "Eki" (estación japonesa) */
:root {
  --anden: #F4F2EC;
  --blanco: #FFFFFF;
  --papel: #FBFAF6;
  --tinta: #1B2A4A;
  --tinta-2: #22345A;
  --tinta-3: #2E4370;
  --gris: #5B6478;
  --raya: #DCD6C8;
  --naranja: #F28C28;
  --verde: #3AAA35;
  --celeste: #00A7DB;
  --magenta: #D7006F;
  --tactil: #E9B824;
  --led: #FFB224;
  --led-verde: #7CF26A;
  --display: "Dela Gothic One", "Hiragino Sans", sans-serif;
  --texto: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --pixel: "DotGothic16", ui-monospace, monospace;
  --ancho: 1220px;
  --canal: clamp(18px, 4vw, 44px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { background: var(--anden); color: var(--tinta); font-family: var(--texto); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 6px; }
.ancho { width: min(100% - var(--canal) * 2, var(--ancho)); margin-inline: auto; position: relative; }
.salto { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.salto:focus { top: 12px; }

h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.14; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.4vw, 62px); }
h2 { font-size: clamp(30px, 3.6vw, 50px); }
h3 { font-family: var(--texto); font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.sub { font-size: clamp(17px, 1.35vw, 19px); color: var(--gris); margin-top: 18px; max-width: 58ch; }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 12px; border: 2px solid transparent; font-weight: 800; font-size: 16px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.boton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.boton:hover svg { transform: translateX(4px); }
.boton-naranja { background: var(--naranja); color: var(--tinta); box-shadow: 0 4px 0 #C96D14; }
.boton-naranja:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #C96D14; }
.boton-naranja:active { transform: translateY(3px); box-shadow: 0 1px 0 #C96D14; }
.boton-linea { background: var(--blanco); border-color: var(--tinta); color: var(--tinta); }
.boton-linea:hover { background: var(--tinta); color: #fff; }
.boton.pequeno { min-height: 42px; padding: 0 16px; font-size: 14px; box-shadow: 0 3px 0 #C96D14; }
.ancho-total { width: 100%; }

/* Barra */
.barra { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--canal); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--raya); }
.marca { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.marca-roundel { width: 44px; height: 44px; }
.marca-texto { display: grid; line-height: 1.05; }
.marca-texto b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .02em; }
.marca-texto small { font-size: 11px; font-weight: 700; color: var(--gris); letter-spacing: .12em; margin-top: 3px; }
.linea-nav { position: relative; display: flex; gap: 6px; }
.linea-nav::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; height: 4px; margin-top: -2px; background: var(--raya); border-radius: 2px; }
.linea-nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--blanco); font-size: 14.5px; font-weight: 700; color: var(--gris); transition: color .2s, background .2s; }
.linea-nav a i { width: 13px; height: 13px; border-radius: 50%; border: 3.5px solid var(--c); background: #fff; flex: none; transition: background .2s, transform .2s; }
.linea-nav a:hover, .linea-nav a.activo { color: var(--tinta); }
.linea-nav a.activo i { background: var(--c); transform: scale(1.15); }
.barra-fin { display: flex; align-items: center; gap: 12px; flex: none; }
.idioma { display: flex; background: var(--anden); border-radius: 10px; padding: 3px; }
.idioma button { border: 0; background: none; cursor: pointer; font-weight: 800; font-size: 13px; padding: 7px 10px; border-radius: 8px; color: var(--gris); }
.idioma button.activo { background: var(--tinta); color: #fff; }
.menu-boton { display: none; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--tinta); background: #fff; cursor: pointer; position: relative; }
.menu-boton span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--tinta); border-radius: 2px; transition: transform .25s, top .25s; }
.menu-boton span:first-child { top: 16px; }
.menu-boton span:last-child { top: 25px; }
.menu-boton[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-boton[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }
.recorrido { position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; }
.recorrido i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: linear-gradient(90deg, var(--naranja), var(--magenta) 35%, var(--verde) 60%, var(--celeste)); }
.recorrido b { position: absolute; top: -5px; left: var(--p, 0%); width: 30px; height: 14px; margin-left: -30px; border-radius: 3px 12px 12px 3px; background: #fff; border: 2px solid var(--tinta); box-shadow: inset -9px 0 0 var(--celeste); }

/* Andén (portada) */
.anden { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 70px; overflow: hidden; }
.anden-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anden-velo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244, 242, 236, .97) 0%, rgba(244, 242, 236, .92) 38%, rgba(244, 242, 236, .35) 66%, rgba(244, 242, 236, .1) 100%), linear-gradient(0deg, var(--anden) 0%, rgba(244, 242, 236, 0) 18%); }
.anden::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 1; background: repeating-linear-gradient(90deg, var(--tactil) 0 16px, #d9a514 16px 18px); opacity: .9; }
.anden-rejilla { z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.ekimeihyo { width: min(100%, 470px); background: #fff; border-radius: 12px; box-shadow: 0 2px 0 var(--raya), 0 18px 40px -18px rgba(27, 42, 74, .35); overflow: hidden; margin-bottom: 30px; }
.ekimeihyo-arriba { display: flex; align-items: center; gap: 16px; padding: 16px 20px 14px; }
.ek-num svg { width: 52px; height: 52px; }
.ek-nombre { display: grid; line-height: 1.05; }
.ek-nombre b { font-family: var(--display); font-weight: 400; font-size: 40px; letter-spacing: .08em; }
.ek-nombre small { font-weight: 700; font-size: 13px; color: var(--gris); letter-spacing: .14em; margin-top: 6px; }
.ekimeihyo-franja { display: flex; justify-content: space-between; gap: 10px; padding: 9px 20px; background: var(--naranja); color: #fff; font-weight: 800; font-size: 13.5px; letter-spacing: .08em; }
.subrayado { background: linear-gradient(transparent 60%, rgba(242, 140, 40, .38) 60%, rgba(242, 140, 40, .38) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.entrada { font-size: clamp(17px, 1.4vw, 19.5px); color: #3E4860; max-width: 54ch; margin-top: 22px; }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Panel de salidas LED */
.tablero { position: relative; background: #0E131C; color: var(--led); border-radius: 16px; border: 8px solid #2A303B; box-shadow: 0 30px 60px -24px rgba(14, 19, 28, .6), inset 0 0 0 1px #000; padding: 16px 18px 18px; font-family: var(--pixel); }
.tablero-cab { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #263044; }
.tablero-titulo { color: #fff; font-size: 18px; letter-spacing: .1em; }
.tablero-titulo em { font-style: normal; color: #8D98AF; font-size: 13px; margin-left: 6px; }
.tablero-reloj small { color: #8D98AF; font-size: 12px; }
.tablero-reloj b { font-weight: 400; color: var(--led-verde); font-size: 20px; text-shadow: 0 0 8px rgba(124, 242, 106, .55); font-variant-numeric: tabular-nums; }
.tablero-cols, .tablero-filas li { display: grid; grid-template-columns: 84px 1fr 62px 40px; gap: 10px; align-items: center; }
.tablero-cols { padding: 10px 0 6px; color: #8D98AF; font-size: 12px; }
.tablero-cols span:nth-child(n+3), .tablero-filas li span:nth-child(n+3) { text-align: right; }
.tablero-filas li { padding: 8px 0; border-top: 1px dashed #263044; font-size: 18px; text-shadow: 0 0 6px rgba(255, 178, 36, .5); }
.tablero-filas li.cambia { animation: volteo .5s ease; }
@keyframes volteo { 0% { transform: rotateX(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.tipo { font-size: 12px; text-align: center; padding: 3px 0; border-radius: 4px; color: #fff; text-shadow: none; }
.t-naranja { background: #C4620C; } .t-verde { background: #23801F; } .t-celeste { background: #0080A8; } .t-magenta { background: #A80058; }
.dest { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.via { color: #fff; }
.tablero-cuenta { margin-top: 12px; padding: 14px 16px; border-radius: 10px; background: #161D2A; border: 1px solid #2E3A52; display: grid; gap: 2px; }
.tablero-cuenta span { color: #C9D2E4; font-size: 14px; }
.tablero-cuenta b { font-weight: 400; font-size: clamp(40px, 4.2vw, 54px); line-height: 1.05; color: var(--led); text-shadow: 0 0 14px rgba(255, 178, 36, .6); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.tablero-cuenta.cerrado b { color: var(--led-verde); text-shadow: 0 0 14px rgba(124, 242, 106, .5); }
.tablero-pie { margin-top: 10px; color: #8D98AF; font-size: 13px; font-family: var(--texto); }
.tablero-pie b { color: #fff; font-weight: 700; }
.tablero-jefe { position: absolute; width: 130px; height: auto; right: 18px; top: -118px; filter: drop-shadow(0 10px 16px rgba(14, 19, 28, .3)); transform: rotate(4deg); z-index: -1; }
.tablero { z-index: 1; }

/* Estación (cabecera de sección) */
.bloque { position: relative; padding: clamp(84px, 10vw, 140px) 0; overflow-x: clip; }
.cabecera { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.estacion { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.est-num { display: inline-grid; place-items: center; align-content: center; width: 58px; height: 58px; border-radius: 14px; border: 6px solid var(--c); background: #fff; color: var(--tinta); font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: .02em; }
.est-num b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; margin-top: 1px; }
.est-nombre { font-family: var(--display); font-size: 26px; line-height: 1; letter-spacing: .06em; }
.est-nombre em { font-family: var(--texto); font-style: normal; font-weight: 700; font-size: 14px; color: var(--gris); letter-spacing: .04em; margin-left: 6px; }
.estacion.clara .est-nombre { color: #fff; }
.estacion.clara .est-nombre em { color: #AFC0DD; }

/* Sello del rally en cada estación */
.parada-sello { position: absolute; top: -18px; right: 0; width: 150px; display: grid; justify-items: center; gap: 4px; pointer-events: none; z-index: 3; }
.parada-sello img { width: 140px; height: auto; opacity: 0; transform: scale(1.7) rotate(-22deg); }
.parada-sello span { font-weight: 800; font-size: 12px; letter-spacing: .06em; color: var(--magenta); opacity: 0; transition: opacity .4s .5s; }
.parada-sello.sellado img { animation: sellar .55s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.parada-sello.sellado span { opacity: 1; }
.parada-sello.clara img { filter: brightness(0) invert(1); }
.parada-sello.clara span { color: var(--naranja); }
@keyframes sellar { 0% { opacity: 0; transform: scale(1.7) rotate(-22deg); } 60% { opacity: .95; transform: scale(.94) rotate(-7deg); } 100% { opacity: .9; transform: scale(1) rotate(-8deg); } }

/* Billetes (por qué) */
.billetes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.billete { grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 18px 30px; border-radius: 10px; color: var(--tinta);
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 7%, transparent) 0 2px, transparent 2px 9px),
    color-mix(in srgb, var(--c) 9%, #FFFDF7);
  box-shadow: 0 1px 0 var(--raya), 0 14px 28px -20px rgba(27, 42, 74, .5);
  -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transition: transform .25s ease; }
.billete:nth-child(4), .billete:nth-child(5) { grid-column: span 3; }
.billete::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--c); }
.billete-cab { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 17px; color: var(--c); letter-spacing: .1em; }
.mono-num { font-family: var(--pixel); font-size: 13px; color: var(--gris); letter-spacing: .06em; }
.billete h3 { font-size: 22px; }
.billete p { color: #46506A; font-size: 15.5px; }
.billete-pie { margin-top: auto; padding-top: 12px; border-top: 2px dashed color-mix(in srgb, var(--c) 40%, transparent); display: flex; justify-content: space-between; align-items: center; font-family: var(--pixel); font-size: 13px; letter-spacing: .1em; color: var(--gris); }
.billete-pie i { width: 18px; height: 18px; border-radius: 50%; border: 2px dashed var(--c); transition: background .2s, transform .2s; }
.billete:hover .billete-pie i { background: var(--anden); border-style: solid; transform: scale(1.15); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .25); }

/* Secuencia de la caja */
.secuencia { position: relative; height: 420vh; background: var(--anden); }
.secuencia-fijo { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: 76px; overflow: hidden; }
.secuencia-rejilla { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.momentos { position: relative; min-height: 300px; }
.momento { position: absolute; inset: 0 0 auto 0; opacity: var(--o, 0); transform: translateY(var(--dy, 24px)); pointer-events: none; }
.momento.activo { pointer-events: auto; }
.momento h2 { font-size: clamp(28px, 3.2vw, 46px); }
.momento p { margin-top: 16px; font-size: clamp(16.5px, 1.3vw, 19px); color: var(--gris); max-width: 40ch; }
.momento .boton { margin-top: 26px; }
.ventana { position: relative; aspect-ratio: 16 / 10; border-radius: 34px; overflow: hidden; background: #0b0b0b; border: 14px solid #E2DDD1; box-shadow: inset 0 0 0 2px #C9C2B2, 0 30px 60px -30px rgba(27, 42, 74, .55), 0 0 0 2px #fff; }
.ventana canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ventana-reflejo { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .06) 100%); pointer-events: none; }
.ventana-barra { position: absolute; left: 22px; right: 22px; bottom: 18px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ventana-barra i { display: block; height: 100%; width: var(--p, 0%); background: var(--magenta); }
.ventana-pista { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-weight: 800; font-size: 13px; transition: opacity .4s; white-space: nowrap; }
.ventana-pista.oculta { opacity: 0; }
.sello-secuencia { top: 96px; right: var(--canal); }

/* Ruta */
.mapa-linea { position: relative; background: #fff; border-radius: 18px; padding: 48px 30px 32px; box-shadow: 0 1px 0 var(--raya), 0 20px 40px -30px rgba(27, 42, 74, .4); }
.via-tren { position: absolute; left: calc(30px + (100% - 60px) / 12); right: calc(30px + (100% - 60px) / 12); top: 58px; height: 10px; border-radius: 5px; background: repeating-linear-gradient(90deg, var(--raya) 0 14px, transparent 14px 20px); }
.via-relleno { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); border-radius: 5px; background: linear-gradient(90deg, var(--verde) 0%, var(--verde) 58%, var(--celeste) 62%); transition: width 2.4s cubic-bezier(.4, 0, .2, 1); }
.via-relleno::after { content: ""; position: absolute; right: -16px; top: -8px; width: 34px; height: 26px; border-radius: 6px 16px 16px 6px; background: #fff; border: 3px solid var(--tinta); box-shadow: inset -10px 0 0 var(--celeste); }
.mapa-linea.visto .via-relleno { width: 100%; }
.paradas { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.paradas li { display: grid; justify-items: center; align-content: start; text-align: center; gap: 6px; padding-top: 44px; position: relative; }
.paradas li::before { content: ""; position: absolute; top: 0; left: 50%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: #fff; border: 7px solid var(--verde); }
.paradas li.tuyo::before { border-color: var(--celeste); }
.p-num { font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--tinta); color: #fff; letter-spacing: .04em; }
.paradas b { font-size: 16.5px; font-weight: 800; line-height: 1.2; }
.paradas small { font-size: 13.5px; color: var(--gris); line-height: 1.35; }
.p-quien { font-style: normal; font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--verde); }
.tuyo .p-quien { color: var(--celeste); }
.ruta-pie { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.ruta-pie img { width: 130px; height: auto; flex: none; }
.ruta-pie p { color: var(--gris); max-width: 60ch; }

/* Mundo */
.bloque-tinta { background: var(--tinta); color: #fff; }
.bloque-tinta .sub { color: #B9C6DE; }
.mapa { border-radius: 20px; background: var(--tinta-2); padding: clamp(10px, 2vw, 26px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.mapa svg { width: 100%; height: auto; overflow: visible; }
.mapa .malla { fill: rgba(255, 255, 255, .16); }
.mapa .ruta { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: var(--largo); stroke-dashoffset: var(--largo); }
.mapa.visto .ruta { animation: trazar 1.8s ease forwards; animation-delay: var(--espera); }
@keyframes trazar { to { stroke-dashoffset: 0; } }
.mapa .destino circle { fill: #fff; stroke-width: 4; }
.mapa .destino text { font-family: var(--texto); font-weight: 800; font-size: 14px; fill: #fff; letter-spacing: .04em; }
.mapa .origen rect { fill: var(--naranja); }
.mapa .origen text { font-family: var(--display); font-size: 15px; fill: var(--tinta); }
.mapa .origen .onda { fill: none; stroke: var(--naranja); stroke-width: 3; transform-origin: center; transform-box: fill-box; animation: onda 2.4s ease-out infinite; }
@keyframes onda { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.leyenda { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.leyenda li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--tinta-2); border-top: 6px solid var(--c); }
.leyenda i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-family: var(--display); display: grid; place-items: center; font-size: 15px; }
.leyenda b { display: block; font-weight: 800; }
.leyenda span { color: #B9C6DE; font-size: 14px; }

/* Aduanas */
.aduana-rejilla { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: clamp(30px, 5.5vw, 80px); align-items: center; }
.aduana-rejilla .cabecera { margin-bottom: 32px; }
.reparto { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reparto-col { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 1px 0 var(--raya); }
.reparto-col.tu { background: var(--tinta); color: #fff; }
.reparto-col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 10px; }
.chapa-linea { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: 7px; background: var(--c); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.reparto-col li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--raya); font-size: 15.5px; line-height: 1.4; }
.reparto-col.tu li { border-color: rgba(255, 255, 255, .14); }
.reparto-col li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--naranja); }
.reparto-col.tu li::before { border-color: var(--celeste); }
.aviso { margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: #FFF4E6; border-left: 6px solid var(--naranja); font-weight: 700; max-width: 60ch; }
.factura { position: relative; background: #fff; border-radius: 6px; padding: 28px 26px 118px; font-size: 14px; box-shadow: 0 2px 0 var(--raya), 0 40px 60px -34px rgba(27, 42, 74, .55); }
.factura-cab { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 3px solid var(--tinta); }
.factura-etq { display: block; font-weight: 700; font-size: 12px; color: var(--gris); letter-spacing: .08em; text-transform: uppercase; }
.factura-cab strong { font-family: var(--pixel); font-size: 22px; font-weight: 400; }
.chapa-muestra { font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; border: 2px solid var(--tinta); }
.factura-partes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 0; }
.factura dt { font-weight: 700; font-size: 11px; color: var(--gris); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.factura dd { font-weight: 700; line-height: 1.35; }
.factura-lineas { width: 100%; border-collapse: collapse; }
.factura-lineas th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); text-align: left; font-weight: 700; padding: 8px 0; border-block: 1px solid var(--raya); }
.factura-lineas td { padding: 10px 8px 10px 0; border-bottom: 1px dashed var(--raya); vertical-align: top; }
.factura-lineas th:not(:first-child), .factura-lineas td:not(:first-child) { text-align: right; padding-left: 10px; padding-right: 0; }
.factura-pie { display: grid; grid-template-columns: .6fr 1fr 1fr; gap: 12px; padding-top: 16px; }
.factura-sello { position: absolute; right: 18px; bottom: 10px; width: 92px; height: auto; transform: rotate(-12deg); opacity: .85; }

/* Líneas (catálogo) */
.bloque-blanco { background: #fff; }
.lineas { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.linea { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px; background: var(--anden); border-top: 10px solid var(--c); }
.linea-cab { display: flex; align-items: center; gap: 12px; }
.linea-letra { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--display); font-size: 20px; display: grid; place-items: center; }
.linea-cab > div { flex: 1; min-width: 0; }
.linea-cab h3 { font-family: var(--display); font-weight: 400; font-size: 21px; }
.jp { color: var(--gris); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.linea-estado { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; color: var(--verde); }
.linea-estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: parpadeo 1.6s infinite; }
.linea-estado.pedido { color: var(--gris); }
.linea-estado.pedido::before { animation: none; }
@keyframes parpadeo { 50% { opacity: .25; } }
.linea-fotos { display: flex; gap: 10px; }
.linea-fotos img { flex: 1; min-width: 0; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; transition: transform .3s; }
.linea:hover .linea-fotos img:first-child { transform: rotate(-2deg) scale(1.03); }
.linea p:not(.jp) { color: #46506A; font-size: 15.5px; }
.linea-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.linea-tags li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 2px solid var(--c); font-weight: 700; font-size: 13.5px; }
.formatos { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-radius: 16px; border: 2px solid var(--raya); overflow: hidden; }
.formatos div { padding: 20px 22px; display: grid; gap: 2px; }
.formatos div + div { border-left: 2px solid var(--raya); }
.formatos b { font-weight: 800; }
.formatos span { color: var(--gris); font-size: 14.5px; }

/* Normas */
.normas-rejilla { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5.5vw, 80px); align-items: start; }
.normas-cab { position: sticky; top: 110px; }
.normas-cab img { width: 200px; height: auto; margin-top: 26px; }
.normas { background: #fff; border-radius: 20px; padding: 8px 28px; box-shadow: 0 1px 0 var(--raya), 0 24px 50px -36px rgba(27, 42, 74, .5); border-top: 12px solid var(--tinta); }
.normas li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 22px 0; border-bottom: 2px dashed var(--raya); }
.normas li:last-child { border-bottom: 0; }
.n-num { width: 46px; height: 46px; border-radius: 50%; background: var(--tinta); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 20px; }
.normas h3 { font-size: clamp(18px, 1.7vw, 22px); }
.normas p { color: var(--gris); margin-top: 6px; font-size: 15.5px; }

/* Alta: torno y pase */
.alta-rejilla { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5.5vw, 80px); align-items: start; }
.alta-texto h2 { font-size: clamp(34px, 4.4vw, 60px); }
.alta-lista { margin-top: 26px; }
.alta-lista li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid rgba(255, 255, 255, .14); color: #D5DEEE; }
.alta-lista li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--naranja); }
.rally-resumen { margin-top: 30px; padding: 18px; border-radius: 16px; background: var(--tinta-2); }
.rally-resumen > p:first-child { display: flex; justify-content: space-between; font-weight: 800; }
.rally-resumen .rally-cuenta { font-family: var(--pixel); color: var(--led); font-size: 18px; }
.rally-resumen .rally-nota { color: #AFC0DD; margin-bottom: 0; }
.pase { position: relative; background: #fff; color: var(--tinta); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7); }
.pase-cab { display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: var(--naranja); }
.pase-logo svg { width: 46px; height: 46px; }
.pase-cab > div { flex: 1; display: grid; line-height: 1.2; }
.pase-cab b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.pase-cab small { font-weight: 700; font-size: 12px; letter-spacing: .06em; }
.pase-num { font-family: var(--pixel); font-size: 14px; }
.pase-num b { font-weight: 400; }
.pase-cuerpo { padding: clamp(20px, 3vw, 30px); display: grid; gap: 16px; background: repeating-linear-gradient(135deg, rgba(242, 140, 40, .04) 0 2px, transparent 2px 10px), #fff; }
.campo-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo { display: grid; gap: 7px; border: 0; min-width: 0; }
.campo > span, .campo legend { font-weight: 800; font-size: 13.5px; }
.campo legend { margin-bottom: 8px; }
.campo input:not([type=radio]):not([type=checkbox]), .campo select, .campo textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--raya); background: var(--papel); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.campo select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tinta) 50%), linear-gradient(135deg, var(--tinta) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--naranja); box-shadow: 0 0 0 4px rgba(242, 140, 40, .2); }
.campo .mal, .opciones.mal label > span { border-color: var(--magenta) !important; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones label { cursor: pointer; position: relative; }
.opciones input { position: absolute; opacity: 0; pointer-events: none; }
.opciones label > span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--raya); background: #fff; font-weight: 700; font-size: 14.5px; transition: background .15s, color .15s, border-color .15s; }
.opciones label > span b { font-weight: 700; }
.opciones label:hover > span { border-color: var(--tinta); }
.opciones input:checked + span { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.opciones input:focus-visible + span { outline: 3px solid var(--celeste); outline-offset: 2px; }
.op-linea { width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-family: var(--display); font-size: 11px; display: grid; place-items: center; }
.error { color: var(--magenta); font-weight: 800; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consiente { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--gris); cursor: pointer; padding: 4px; border-radius: 8px; border: 2px solid transparent; }
.consiente input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--tinta); }
.consiente a, .pie a { text-decoration: underline; text-underline-offset: 3px; }
.consiente.mal { border-color: var(--magenta); }
.pie nav a { text-decoration: none; }
.pie-contacto a { color: #fff; font-weight: 700; font-size: 15px; }
.nota { color: var(--gris); font-size: 13px; text-align: center; }
.enviado { position: absolute; inset: 0; background: #fff; display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 30px; }
.enviado[hidden] { display: none; }
.enviado-sello { width: 170px; height: auto; animation: sellar .6s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.enviado h3 { font-family: var(--display); font-weight: 400; font-size: 26px; }
.enviado p { color: var(--gris); max-width: 36ch; }
.enviado-jefe { width: 120px; height: auto; margin-top: 4px; }

/* FAQ */
.faq-rejilla { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 5.5vw, 80px); align-items: start; }
.faq-rejilla .cabecera { position: sticky; top: 110px; margin-bottom: 0; }
.preguntas details { background: #fff; border-radius: 14px; margin-bottom: 10px; box-shadow: 0 1px 0 var(--raya); }
.preguntas summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 22px; font-weight: 800; font-size: clamp(17px, 1.5vw, 19px); }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--anden); display: grid; place-items: center; font-weight: 800; font-size: 20px; transition: transform .25s, background .25s; }
.preguntas details[open] summary::after { transform: rotate(45deg); background: var(--naranja); }
.preguntas p { color: var(--gris); padding: 0 22px 22px; max-width: 68ch; }

/* Último tren */
.cierre { background: var(--naranja); padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.cierre::before { content: "本日の最終便"; position: absolute; right: -2vw; bottom: -4vw; font-family: var(--display); font-size: 17vw; line-height: 1; color: rgba(255, 255, 255, .16); white-space: nowrap; pointer-events: none; }
.cierre-rejilla { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; z-index: 1; }
.cierre-kanji { display: none; }
.cierre h2 { font-size: clamp(30px, 4vw, 56px); max-width: 18ch; }
.cierre .sub { color: #4A2A08; }
.cierre .boton { margin-top: 26px; background: var(--tinta); color: #fff; box-shadow: 0 4px 0 #0C1630; }
.cierre .boton:hover { box-shadow: 0 6px 0 #0C1630; }
.cierre-led { justify-self: end; display: grid; gap: 6px; padding: 18px 26px; border-radius: 14px; background: #0E131C; border: 8px solid #2A303B; font-family: var(--pixel); text-align: center; }
.cierre-led small { color: #8D98AF; font-size: 14px; }
.cierre-led span { color: var(--led); font-size: clamp(42px, 5.2vw, 72px); line-height: 1; text-shadow: 0 0 16px rgba(255, 178, 36, .6); font-variant-numeric: tabular-nums; }

/* Pie */
.pie { background: var(--tinta); color: #B9C6DE; padding: 0 0 44px; font-size: 14.5px; }
.pie-franja { display: flex; height: 10px; margin-bottom: 50px; }
.pie-franja i { flex: 1; background: var(--c); }
.pie-rejilla { display: grid; grid-template-columns: 1.1fr .8fr 1.4fr; gap: 40px; }
.pie .marca { color: #fff; margin-bottom: 14px; }
.pie .marca-texto small { color: #8FA2C4; }
.pie nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-content: start; }
.pie nav a:hover { color: #fff; }
.pie-legal { display: grid; gap: 12px; align-content: start; font-size: 13px; line-height: 1.6; }
.js-entidad { color: #fff; font-weight: 700; }

/* Rally */
.rally { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; justify-items: end; gap: 10px; }
.rally-boton { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 14px; border: 2px solid var(--tinta); background: #fff; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(27, 42, 74, .5); font-size: 14px; }
.rally-boton em { font-style: normal; font-family: var(--pixel); font-size: 16px; color: var(--magenta); margin-left: 4px; }
.rally-mini { display: flex; gap: 4px; }
.rally-mini i { width: 12px; height: 12px; border-radius: 50%; border: 2px dashed #B9B2A2; }
.rally-mini i.ok { border: 0; background: var(--c, var(--magenta)); }
.rally.pulso .rally-boton { animation: pulso .6s ease; }
@keyframes pulso { 40% { transform: scale(1.08) rotate(-2deg); } }
.rally-panel { width: 310px; padding: 18px; border-radius: 18px; background: #fff; border: 2px solid var(--tinta); box-shadow: 0 24px 50px -20px rgba(27, 42, 74, .55); }
.rally-panel[hidden] { display: none; }
.rally-titulo { font-family: var(--display); font-size: 18px; letter-spacing: .08em; }
.rally-huecos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 12px 0; }
.rally-huecos span { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #B9B2A2; display: grid; place-items: center; }
.rally-huecos span img { width: 100%; height: auto; opacity: 0; transform: rotate(-8deg) scale(1.4); transition: opacity .3s, transform .4s cubic-bezier(.2, 1.4, .4, 1); }
.rally-huecos span.ok { border-color: transparent; }
.rally-huecos span.ok img { opacity: .92; transform: rotate(-8deg) scale(1); }
.rally-resumen .rally-huecos { max-width: 300px; }
.rally-resumen .rally-huecos span { border-color: rgba(255, 255, 255, .3); }
.rally-resumen .rally-huecos span.ok { border-color: transparent; }
.rally-resumen .rally-huecos span img { filter: brightness(0) invert(1); }
.rally-nota { color: var(--gris); font-size: 13px; margin-bottom: 12px; }
.aviso-sello { position: fixed; left: 50%; top: 96px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--tinta); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); animation: bajar .35s ease; white-space: nowrap; }
.aviso-sello[hidden] { display: none; }
.aviso-sello img { width: 34px; height: 34px; filter: brightness(0) invert(1); }
@keyframes bajar { from { transform: translate(-50%, -16px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.cta-fijo { display: none; }

/* Aparición */
.aparece { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--retraso, 0ms); }
.aparece.visto { opacity: 1; transform: none; }
.billete.visto:hover, .linea.visto:hover { transform: translateY(-5px); transition-delay: 0ms; }
.factura.aparece { transform: translateY(24px) rotate(1.3deg); }
.factura.aparece.visto { transform: rotate(1.3deg); }

/* Modo secreto (código Konami) */
body.rapido .recorrido i { background: linear-gradient(90deg, var(--naranja), var(--verde), var(--celeste), var(--magenta), var(--naranja)); background-size: 200% 100%; animation: correr 1s linear infinite; }
@keyframes correr { to { background-position: 200% 0; } }

/* Adaptación */
@media (max-width: 1180px) {
  .linea-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px var(--canal) 20px; background: #fff; box-shadow: 0 20px 30px -20px rgba(27, 42, 74, .4); }
  .linea-nav::before { left: calc(var(--canal) + 18px); right: auto; top: 26px; bottom: 30px; width: 4px; height: auto; margin: 0; }
  .linea-nav.abierto { display: flex; }
  .linea-nav a { padding: 14px 12px; font-size: 18px; color: var(--tinta); background: transparent; }
  .linea-nav a i { width: 16px; height: 16px; }
  .menu-boton { display: block; }
  .billete, .billete:nth-child(4) { grid-column: span 3; }
  .billete:nth-child(5) { grid-column: span 6; }
  .leyenda { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .anden { padding-top: 104px; align-items: flex-start; }
  .anden-velo { background: linear-gradient(180deg, rgba(244, 242, 236, .9) 0%, rgba(244, 242, 236, .94) 60%, var(--anden) 100%); }
  .anden-rejilla, .aduana-rejilla, .normas-rejilla, .alta-rejilla, .faq-rejilla, .cierre-rejilla { grid-template-columns: minmax(0, 1fr); }
  .tablero { margin-top: 70px; }
  .normas-cab, .faq-rejilla .cabecera { position: static; }
  .faq-rejilla .cabecera { margin-bottom: 30px; }
  .normas-cab img { width: 140px; }
  .lineas { grid-template-columns: 1fr; }
  .secuencia { height: 360vh; }
  .secuencia-fijo { align-items: flex-start; padding-top: 90px; }
  .secuencia-rejilla { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .secuencia-textos { order: 2; }
  .secuencia-textos .estacion { margin-bottom: 12px; }
  .ventana { order: 1; border-width: 10px; border-radius: 26px; }
  .momentos { min-height: 230px; }
  .momento .boton { display: none; }
  .sello-secuencia { top: auto; bottom: 90px; width: 110px; }
  .sello-secuencia img { width: 100px; }
  .mapa-linea { padding: 26px 22px; }
  .paradas li small { padding-right: 4px; }
  .via-tren { left: 37px; right: auto; top: 40px; bottom: 50px; width: 10px; height: auto; background: repeating-linear-gradient(180deg, var(--raya) 0 14px, transparent 14px 20px); }
  .via-relleno { right: 0; width: auto; height: var(--p, 0%); bottom: auto; transition: height 2.4s cubic-bezier(.4, 0, .2, 1); background: linear-gradient(180deg, var(--verde) 0%, var(--verde) 60%, var(--celeste) 64%); }
  .mapa-linea.visto .via-relleno { width: auto; height: 100%; }
  .via-relleno::after { right: -12px; top: auto; bottom: -16px; width: 34px; height: 26px; }
  .paradas { grid-template-columns: 1fr; gap: 0; }
  .paradas li { justify-items: start; text-align: left; padding: 10px 0 18px 60px; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center; }
  .paradas li::before { top: 8px; left: 20px; margin: 0; }
  .paradas li small, .paradas li .p-quien { grid-column: 1 / -1; }
  .reparto { grid-template-columns: 1fr; }
  .factura, .factura.aparece, .factura.aparece.visto { transform: none; }
  .cierre-led { justify-self: start; }
  .pie-rejilla { grid-template-columns: 1fr; }
  .parada-sello { width: 104px; top: -6px; }
  .parada-sello img { width: 96px; }
  .rally { display: none; }
  .cta-fijo { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; border-radius: 14px; background: var(--naranja); color: var(--tinta); font-weight: 800; box-shadow: 0 4px 0 #C96D14, 0 16px 30px -10px rgba(27, 42, 74, .5); transform: translateY(110px); transition: transform .35s ease; }
  .cta-fijo em { font-style: normal; font-family: var(--pixel); background: var(--tinta); color: var(--led); padding: 3px 8px; border-radius: 6px; font-size: 14px; }
  .cta-fijo.visible { transform: none; }
  .pie { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .barra { height: 66px; padding: 0 14px; gap: 10px; }
  .linea-nav { top: 66px; }
  .barra .boton.pequeno { display: none; }
  .marca-roundel { width: 38px; height: 38px; }
  .marca-texto b { font-size: 16px; }
  .marca-texto small { font-size: 10px; }
  .ekimeihyo-arriba { padding: 12px 14px; gap: 12px; }
  .ek-num svg { width: 42px; height: 42px; }
  .ek-nombre b { font-size: 30px; }
  .ekimeihyo-franja { font-size: 12px; padding: 8px 14px; }
  .acciones .boton { width: 100%; }
  .tablero { padding: 12px 12px 14px; border-width: 6px; }
  .tablero-cols, .tablero-filas li { grid-template-columns: 70px 1fr 50px 22px; gap: 6px; }
  .tablero-filas li { font-size: 15px; }
  .tipo { font-size: 10.5px; }
  .billete, .billete:nth-child(4), .billete:nth-child(5) { grid-column: span 6; }
  .estacion { gap: 10px; }
  .est-num { width: 50px; height: 50px; border-width: 5px; }
  .est-num b { font-size: 16px; }
  .est-nombre { font-size: 21px; }
  .cabecera h2 { padding-right: 0; }
  .leyenda { grid-template-columns: 1fr; }
  .mapa .destino text { font-size: 26px; }
  .mapa .origen text { font-size: 24px; }
  .mapa .ruta { stroke-width: 7; }
  .ruta-pie img { width: 90px; }
  .campo-fila, .formatos { grid-template-columns: 1fr; }
  .formatos div + div { border-left: 0; border-top: 2px solid var(--raya); }
  .factura { padding: 22px 18px 84px; font-size: 13px; }
  .factura-pie { grid-template-columns: 1fr 1fr; }
  .pase-cab { padding: 14px 16px; gap: 10px; }
  .pase-num { display: none; }
  .normas { padding: 4px 18px; }
  .normas li { grid-template-columns: 44px 1fr; }
  .n-num { width: 38px; height: 38px; font-size: 16px; }
  .preguntas summary { padding: 18px; }
  .preguntas p { padding: 0 18px 18px; }
  .cierre-led { padding: 14px 18px; }
  .aviso-sello { top: 80px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aparece { opacity: 1; transform: none; }
  .mapa .ruta { stroke-dashoffset: 0; }
  .parada-sello.sellado img { opacity: .9; transform: rotate(-8deg); }
}
