/* ==========================================================================
   De Paquete · Turnos de moto
   Estética: billete de viaje + señalización de carretera.
   Papel cálido, tinta casi negra, amarillo de línea vial y un color por niño.
   ========================================================================== */

/* ---------- Fuentes autoalojadas ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---------- Tokens de diseño ---------- */
:root {
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Tema claro (por defecto) */
  --bg: #f3eee3;
  --bg-dot: rgba(35, 33, 29, 0.07);
  --surface: #fffbf2;
  --surface-2: #ebe4d4;
  --ink: #1d1b18;
  --ink-soft: #5f594e;
  --line: #d6cdb9;
  --signal: #ffc21a;
  --on-signal: #1d1b18;
  --danger: #c4361b;

  --diego: #e8582a;
  --diego-soft: #fbdccf;
  --diego-ink: #a33610;
  --laura: #1f8a78;
  --laura-soft: #cdebe4;
  --laura-ink: #116152;

  --shadow-hard: 5px 5px 0 var(--ink);
  --radius: 18px;
  color-scheme: light; /* selectores nativos de fecha/hora acordes al tema */
  --tabbar-h: 68px;
}

/* Tema oscuro forzado por el botón */
:root[data-theme="dark"] {
  --bg: #151412;
  --bg-dot: rgba(241, 235, 221, 0.05);
  --surface: #1f1e1a;
  --surface-2: #2a2924;
  --ink: #f1ebdd;
  --ink-soft: #a9a192;
  --line: #3a3832;
  --signal: #ffcb3d;
  --on-signal: #1d1b18;
  --danger: #ff6b4d;

  --diego: #ff7a47;
  --diego-soft: #3d2419;
  --diego-ink: #ffa47f;
  --laura: #3cc2a8;
  --laura-soft: #17332d;
  --laura-ink: #7fe0cc;

  --shadow-hard: 5px 5px 0 #000;
  color-scheme: dark;
}

/* Si no hay JS, respeta el tema del sistema */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #151412;
    --bg-dot: rgba(241, 235, 221, 0.05);
    --surface: #1f1e1a;
    --surface-2: #2a2924;
    --ink: #f1ebdd;
    --ink-soft: #a9a192;
    --line: #3a3832;
    --signal: #ffcb3d;
    --danger: #ff6b4d;
    --diego: #ff7a47;
    --diego-soft: #3d2419;
    --diego-ink: #ffa47f;
    --laura: #3cc2a8;
    --laura-soft: #17332d;
    --laura-ink: #7fe0cc;
    --shadow-hard: 5px 5px 0 #000;
  }
}

/* Color activo según el niño (se hereda en tarjetas, etiquetas y barras) */
[data-rider="diego"] { --rider: var(--diego); --rider-soft: var(--diego-soft); --rider-ink: var(--diego-ink); }
[data-rider="laura"] { --rider: var(--laura); --rider-soft: var(--laura-soft); --rider-ink: var(--laura-ink); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
  background-color: var(--bg);
  /* Trama de puntos sutil, como el grano del asfalto */
  background-image: radial-gradient(var(--bg-dot) 1px, transparent 1.2px);
  background-size: 14px 14px;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

button, input, label { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  padding: 10px 14px;
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 700;
  z-index: 100;
  border: 2px solid var(--ink);
}
.skip-link:focus { top: 12px; }

/* ---------- Cabecera ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  padding-top: env(safe-area-inset-top);
}

.topbar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark { width: 44px; height: 44px; flex: none; border-radius: 12px; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variation-settings: "wdth" 85;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Línea discontinua de carretera bajo la cabecera */
.road {
  height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--signal) 0 34px, transparent 34px 56px) center / 100% 6px no-repeat,
    var(--ink);
}

.icon-btn {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.icon-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.icon { width: 22px; height: 22px; }
.icon--sun { display: none; }
:root[data-theme="dark"] .icon--sun { display: block; }
:root[data-theme="dark"] .icon--moon { display: none; }

/* ---------- Layout ---------- */
.layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 16px calc(var(--tabbar-h) + 36px + env(safe-area-inset-bottom));
}

/* En móvil se ve un panel cada vez */
body[data-view="today"] .panel--history { display: none; }
body[data-view="history"] .panel--today { display: none; }

.panel { animation: panel-in 0.28s ease both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--signal);
  border: 2px solid var(--ink);
  transform: rotate(45deg); /* rombo de señal de tráfico */
  flex: none;
}

.hint {
  margin: 22px 4px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Billete (tarjeta principal) ---------- */
.ticket {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.ticket__stripe {
  height: 16px;
  background: var(--rider);
  border-bottom: 2px solid var(--ink);
  transition: background-color 0.35s ease;
}
.ticket__stripe--split {
  background: linear-gradient(100deg, var(--diego) 0 50%, var(--laura) 50% 100%);
}

.ticket__body { padding: 18px 22px 24px; }

.ticket__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.ticket__lead {
  margin: 26px 0 0;
  font-size: 1.15rem;
  font-weight: 500;
}

.ticket__name {
  margin: 0;
  font-size: clamp(4rem, 21vw, 8.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-variation-settings: "wdth" 80;
  color: var(--rider);
  transition: color 0.35s ease;
  overflow-wrap: anywhere;
}
.ticket__name.is-leaving { animation: name-out 0.22s ease-in forwards; }
.ticket__name.is-entering { animation: name-in 0.38s cubic-bezier(.2, .9, .3, 1.25) both; }
@keyframes name-out { to { opacity: 0; transform: translateX(-40px) skewX(-8deg); } }
@keyframes name-in  { from { opacity: 0; transform: translateX(48px) skewX(-8deg); } }

.ticket__question {
  margin: 4px 0 0;
  font-size: clamp(2rem, 9vw, 3.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.ticket__last {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.ticket__last strong { color: var(--ink); font-weight: 600; }

/* Perforación con muescas laterales */
.ticket__perf {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--line);
  margin: 0 22px;
}
.ticket__perf::before,
.ticket__perf::after {
  content: "";
  position: absolute;
  top: -15px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ink);
}
.ticket__perf::before { left: -39px; }
.ticket__perf::after  { right: -39px; }

.ticket__stub {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  background: var(--surface);
}
.ticket__stub--choice { flex-direction: row; }
.ticket__stub--choice .btn { flex: 1; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.2s ease;
  user-select: none;
}
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
:root[data-theme="dark"] .btn { box-shadow: 4px 4px 0 #000; }
:root[data-theme="dark"] .btn:active { box-shadow: 0 0 0 #000; }

.btn--go {
  min-height: 72px;
  justify-content: space-between;
  padding: 14px 22px;
  background: var(--signal);
  color: var(--on-signal);
  font-size: clamp(1.15rem, 4.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
}
.btn__arrow { width: 30px; height: 30px; flex: none; transition: transform 0.2s ease; }
.btn--go:hover .btn__arrow { transform: translateX(4px); }

.btn--rider {
  min-height: 84px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--rider-soft);
  color: var(--rider-ink);
}
.btn--rider[data-first-rider="diego"] { --rider-soft: var(--diego-soft); --rider-ink: var(--diego-ink); }
.btn--rider[data-first-rider="laura"] { --rider-soft: var(--laura-soft); --rider-ink: var(--laura-ink); }

.btn--ghost { background: var(--surface); font-size: 0.92rem; min-height: 46px; }
.btn--danger { background: var(--danger); color: #fff; }

.link-btn {
  align-self: center;
  background: none;
  border: 0;
  padding: 6px 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}
.link-btn:hover { color: var(--ink); text-decoration-color: var(--signal); }
.link-btn--danger { color: var(--danger); align-self: flex-start; padding-left: 0; }

/* ---------- Historial ---------- */
.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.panel__title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-variation-settings: "wdth" 85;
  line-height: 1;
}
.panel__count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--signal);
  color: var(--on-signal);
  white-space: nowrap;
}

/* Marcador de veces por niño */
.tally {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}
.tally__row {
  display: grid;
  grid-template-columns: 4.2rem 1fr 2.6rem;
  align-items: center;
  gap: 12px;
}
.tally__name { font-weight: 700; color: var(--rider-ink); }
.tally__bar {
  height: 14px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.tally__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--rider);
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(.2, .8, .2, 1);
}
.tally__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.15rem;
  text-align: right;
}

.chips {
  display: flex;
  gap: 8px;
  margin: 18px 0 6px;
  flex-wrap: wrap;
}
.chip {
  padding: 7px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.chip[aria-checked="true"] { background: var(--ink); color: var(--bg); }

.history { margin-top: 6px; }

.month {
  margin: 22px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.month::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }

.entries { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.entry {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 12px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-left: 8px solid var(--rider);
  border-radius: 14px;
}
.entry.is-new { animation: entry-in 0.5s ease both; }
@keyframes entry-in {
  from { background: var(--rider-soft); transform: scale(0.98); }
  to   { background: var(--surface); transform: none; }
}

.entry__date { text-align: center; line-height: 1; }
.entry__day {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.entry__wday {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.entry__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.entry__who { font-weight: 700; font-size: 1.08rem; color: var(--rider-ink); }
.entry__when {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.entry__actions { display: flex; gap: 2px; }

.entry__del,
.entry__edit {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
}
.entry__del:hover { background: var(--surface-2); color: var(--danger); }
.entry__edit:hover { background: var(--surface-2); color: var(--ink); }
.entry__del svg,
.entry__edit svg { width: 20px; height: 20px; }

/* Botón "Añadir viaje olvidado" */
.btn--add { width: 100%; margin-top: 14px; }
.btn--add svg { width: 20px; height: 20px; flex: none; }

.btn--save { background: var(--signal); color: var(--on-signal); }

/* ---------- Formulario de viaje (añadir / editar) ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.field__label {
  padding: 0;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.field .field__label { margin-bottom: 0; }
fieldset.field > .field__label { margin-bottom: 6px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 10px 8px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.rider-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rider-pick__opt { position: relative; display: flex; }
.rider-pick__opt input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.rider-pick__opt span {
  flex: 1;
  padding: 12px;
  text-align: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--surface);
  color: var(--rider-ink);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.rider-pick__opt input:checked + span {
  background: var(--rider-soft);
  box-shadow: inset 0 0 0 3px var(--rider);
}
.rider-pick__opt input:focus-visible + span {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

.form-error {
  margin: -4px 0 14px;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
}

.empty {
  margin-top: 18px;
  padding: 28px 20px;
  text-align: center;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
}
.empty strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

/* Copia de seguridad */
.tools {
  margin-top: 28px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.tools summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tools summary::-webkit-details-marker { display: none; }
.tools summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; }
.tools[open] summary::after { content: "–"; }
.tools__text { color: var(--ink-soft); font-size: 0.9rem; margin: 12px 0; }
.tools__row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tools__row .btn { cursor: pointer; }

/* ---------- Barra de pestañas (móvil) ---------- */
.tabbar {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(360px, calc(100% - 32px));
  height: var(--tabbar-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  background: var(--ink);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 30;
}
.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--bg);
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tab svg { width: 22px; height: 22px; }
.tab[aria-current="page"] { background: var(--signal); color: var(--on-signal); }

/* ---------- Aviso flotante ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + 26px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 18px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-hard);
  z-index: 40;
  animation: toast-in 0.25s ease both;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.toast__msg { font-weight: 600; font-size: 0.95rem; }
.toast__action {
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 700;
  font-size: 0.88rem;
}

/* ---------- Diálogo ---------- */
.dialog {
  width: min(420px, calc(100% - 32px));
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
}
.dialog::backdrop { background: rgba(20, 19, 17, 0.55); }
.dialog__inner { padding: 22px; }
.dialog__title { margin: 0 0 8px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.dialog__text { margin: 0 0 20px; color: var(--ink-soft); }
.dialog__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ---------- Tablet y escritorio: dos columnas, sin pestañas ---------- */
@media (min-width: 900px) {
  .topbar__inner { padding: 18px 24px 16px; }
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding: 36px 24px 48px;
  }
  body[data-view] .panel--today,
  body[data-view] .panel--history { display: block; }
  .panel--today { position: sticky; top: 120px; }
  .tabbar { display: none; }
  .toast { bottom: 28px; }
}

/* Tablets en vertical: más aire en el billete */
@media (min-width: 600px) and (max-width: 899px) {
  .layout { max-width: 640px; }
}

/* Pantallas muy estrechas */
@media (max-width: 360px) {
  .ticket__body, .ticket__stub { padding-left: 16px; padding-right: 16px; }
  .ticket__perf { margin: 0 16px; }
  .ticket__perf::before { left: -33px; }
  .ticket__perf::after { right: -33px; }
  .brand__sub { display: none; }
  .ticket__meta { font-size: 0.64rem; letter-spacing: 0.08em; white-space: nowrap; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
