/* Other Nivel Community — marca: negro plano sobre blanco, sin bandas oscuras.
   OTHER NIVEL siempre en letras espaciadas.
   Tema por hora: claro de día, oscuro de noche (19:00–06:59) — la paleta
   vive en variables; cada componente lee de ellas. */
:root {
  /* Fondo de pantalla gris casi blanco y tarjetas en blanco puro: la
     separación se lee de un vistazo sin salir del blanco y negro de
     marca (decisión de Piter, 2026-11-20). Antes todo era #fff. */
  --bg: #f5f5f3;
  --surface: #fff;
  --ink: #111;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f7f7f5;
  --btn-bg: #111;
  --btn-text: #fff;
  --error: #b91c1c;
  --ok: #166534;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 17, 17, .14);
}
[data-theme="dark"] {
  --bg: #0e0e10;
  --surface: #1c1c1f;
  --ink: #f2f2f4;
  --muted: #9a9aa3;
  --line: #2c2c30;
  --soft: #17171a;
  --btn-bg: #f5f5f7;
  --btn-text: #111;
  --error: #f87171;
  --ok: #4ade80;
  --shadow: 0 10px 30px rgba(0, 0, 0, .55);
}
/* Temas de temporada (capa de acento sobre el blanco y negro):
   en clásico, --season reproduce el color de botón de siempre —
   nada cambia. Cada temporada redefine el acento con el mismo
   valor en claro y en oscuro (se lee bien en ambos). */
:root { --season: var(--btn-bg); --season2: var(--btn-bg); }
[data-season="navidad"] { --season: #C8102E; --season2: #1E7A46; }
[data-season="anonuevo"] { --season: #C9A227; --season2: #C9A227; }
[data-season="valentin"] { --season: #D6336C; --season2: #D6336C; }
[data-season="halloween"] { --season: #E8590C; --season2: #E8590C; }
[data-season="thanksgiving"] { --season: #B5651D; --season2: #B5651D; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: var(--ink); }

.brand { text-align: center; padding: 28px 16px 8px; }
.brand img { width: 74px; height: 74px; object-fit: contain; }
.brand .wordmark {
  letter-spacing: .42em; font-weight: 600; font-size: 15px;
  margin: 10px 0 2px; text-transform: uppercase; text-indent: .42em;
}
.brand .tagline { color: var(--muted); font-size: 13px; margin: 0; }
/* En oscuro el emblema O sigue sobre blanco (regla de marca).
   Solo el logo directo de la barra: las fotos de avatar que viven
   dentro de .appbar NO se tocan. */
[data-theme="dark"] .brand img,
[data-theme="dark"] .appbar .row > img {
  background: #fff; border-radius: 12px; padding: 3px;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 124px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin: 12px 0; background: var(--surface);
}
.card.soft { background: var(--soft); }
h2 { font-size: 22px; margin: 18px 0 6px; }
h3 { font-size: 16px; margin: 0 0 6px; }
.small { font-size: 13px; color: var(--muted); }
.error { color: var(--error); font-size: 14px; min-height: 18px; }
.ok { color: var(--ok); font-size: 14px; }

label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 4px; }
input[type="text"], input[type="email"], input[type="password"],
input[type="datetime-local"], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface);
}
textarea { min-height: 84px; resize: vertical; }

.btn {
  display: inline-block; border: 1px solid var(--btn-bg); background: var(--btn-bg);
  color: var(--btn-text); padding: 10px 18px; border-radius: 999px; font-weight: 600;
}
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.block { width: 100%; text-align: center; margin-top: 14px; }

.tabs { display: flex; gap: 8px; margin: 14px 0; }
.tabs button {
  flex: 1; padding: 9px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-weight: 600;
}
.tabs button.active { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }

/* Encabezado dentro de la app */
.appbar {
  position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 10px 16px; z-index: 5;
}
.appbar .row { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.appbar img { width: 34px; height: 34px; object-fit: contain; }
.appbar .wordmark { letter-spacing: .32em; font-weight: 600; font-size: 12px; text-transform: uppercase; }
.appbar .spacer { flex: 1; }
.chip {
  border: 1px solid var(--ink); border-radius: 999px; padding: 4px 10px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.link { background: none; border: none; color: var(--ink); text-decoration: underline; padding: 0; font-size: 13px; }
.iconbtn {
  background: none; border: none; font-size: 18px; line-height: 1;
  padding: 4px; position: relative; flex: none; color: var(--ink);
}
.iconbtn svg { display: block; }
.iconbtn .badge { top: -6px; right: -10px; }

.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 8px 0 4px; }
.progress > div { height: 100%; background: var(--btn-bg); }

/* Programas (build 10): catálogo estilo Robbins con los cursos de
   su Skool — portada sobria con la O, descripción y avance. */
.program-cover { display: block; width: calc(100% + 32px); margin: -16px -16px 12px; aspect-ratio: 3 / 1; object-fit: cover; background: #fff; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.program-head { display: flex; align-items: center; gap: 14px; }
.program-logo { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--line); padding: 6px; box-sizing: border-box; }
.program-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.module-title { margin: 20px 0 4px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--season); }

/* Navegación principal (diseño build 5): pastilla flotante estilo
   7th Level, separada de los bordes, con el botón + en su propio
   círculo al lado. El acento (negro) solo va en el icono activo. */
.mainnav {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 12px; right: 80px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow);
  display: flex; z-index: 10; padding: 6px;
}
.mainnav button {
  flex: 1; background: none; border: none; border-radius: 999px;
  padding: 5px 2px 9px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; font-weight: 600; color: var(--muted); position: relative;
}
.mainnav button.active { color: var(--ink); background: var(--soft); }
/* Firma de marca: la pestaña activa lleva una mini «O» (anillo)
   bajo la etiqueta — el emblema reducido a indicador. */
.mainnav button.active::after {
  content: ""; position: absolute; bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 999px;
  border: 1.6px solid var(--season); background: transparent;
}
.badge {
  position: absolute; top: 2px; right: calc(50% - 22px); background: var(--btn-bg); color: var(--btn-text);
  border-radius: 999px; font-size: 10px; padding: 1px 6px;
}
.fab {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom));
  right: 12px; width: 56px; height: 56px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-text);
  border: 1px solid var(--btn-bg); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; z-index: 11;
}
/* Firma de marca: la cara del + es el emblema O (círculo blanco,
   en ambos temas — regla de marca) con una mini insignia «+»
   negra en la esquina inferior derecha. */
.fab-o { background: #fff; border: 1px solid var(--line); padding: 0; }
.fab-o img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 999px;
  display: block;
}
.fab-plus {
  position: absolute; right: -2px; bottom: -2px;
  width: 22px; height: 22px; border-radius: 999px;
  background: #111; color: #fff; border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.fab-plus svg { display: block; }

/* Hoja de acciones del botón + (diferenciación): emblema O arriba
   y dos tarjetas grandes en rejilla — sin filas ni chevrones. */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 29;
}
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--surface); color: var(--ink);
  border-radius: 20px 20px 0 0; box-shadow: var(--shadow);
  padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
}
.sheet-ochip {
  width: 46px; height: 46px; margin: 0 auto 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sheet-ochip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 10px 16px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 16px;
  color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer;
}
.sheet-icon {
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}

/* Feed */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.chips button {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 600;
}
.chips button.active { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.post .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.avatar {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex: none; background: var(--surface);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.xs { width: 24px; height: 24px; font-size: 10px; }
.avatar.md { width: 48px; height: 48px; font-size: 17px; }
.avatar.xl { width: 104px; height: 104px; font-size: 36px; border-width: 2px; }
.avatarlink { background: none; border: none; padding: 0; flex: none; display: inline-flex; }
.author-name { cursor: pointer; }
.comment-head { display: inline-flex; gap: 6px; align-items: center; }
.pinned { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post .body { white-space: pre-wrap; margin: 8px 0; line-height: 1.45; }
/* Media del feed (diseño build 5): tarjeta a todo el ancho, esquinas
   grandes; el video trae su botón de play grande al centro. */
.post-media {
  width: 100%; max-height: 520px; display: block; margin-top: 10px;
  border-radius: 18px; background: #000; object-fit: contain;
}
img.post-media { background: var(--soft); object-fit: cover; }
.media-wrap { position: relative; margin-top: 10px; }
.media-wrap .post-media { margin-top: 0; }
.play-overlay {
  position: absolute; inset: 0; border: none; border-radius: 18px;
  background: rgba(0, 0, 0, .16);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.play-overlay span {
  width: 66px; height: 66px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.date-head {
  font-size: 13px; font-weight: 700; color: var(--muted);
  margin: 20px 0 2px; text-transform: capitalize;
}
.media-preview {
  display: flex; gap: 10px; align-items: center; margin-top: 10px;
  border: 1px solid var(--line); border-radius: 10px; padding: 8px;
}
.media-preview img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.media-preview .media-thumb {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; background: var(--soft); border-radius: 8px; flex: none;
}
.actions { display: flex; gap: 14px; margin-top: 8px; }
.actions button { background: none; border: none; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.actions button.liked { color: var(--ink); }
.comment { border-top: 1px solid var(--line); padding: 8px 0 2px; font-size: 14px; }
.comment-form { display: flex; gap: 8px; margin-top: 10px; }
.comment-form input { flex: 1; }

/* Classroom */
.lesson { display: flex; gap: 12px; align-items: flex-start; }
.lesson .lock { margin-left: auto; text-align: right; flex: none; }
.pill {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 9px; font-size: 11px; font-weight: 700;
}
.pill.done { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }

/* Ranking */
.levelrow { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.levelrow.current { font-weight: 700; }
.levelrow .pts { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.rankrow { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rankrow .pts { margin-left: auto; font-weight: 700; }

.loading { text-align: center; color: var(--muted); padding: 60px 0; }
.event .zoom { margin-top: 8px; }
details summary { cursor: pointer; font-weight: 600; font-size: 14px; }

/* Notificaciones */
.notif {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 0;
  border-bottom: 1px solid var(--line); cursor: pointer;
}
.notif.unread { font-weight: 600; }
.notif-icon { font-size: 18px; flex: none; width: 28px; text-align: center; }
.dot {
  width: 9px; height: 9px; border-radius: 999px; background: var(--btn-bg);
  flex: none; margin-top: 6px;
}

/* Chat */
.convo-preview {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%;
}
.chat-msgs {
  display: flex; flex-direction: column; gap: 8px;
  min-height: 240px; max-height: 60vh; overflow-y: auto;
  padding: 8px 2px; margin-bottom: 8px;
}
.bubble-row { display: flex; }
.bubble-row.mine { justify-content: flex-end; }
.bubble {
  max-width: 78%; padding: 9px 12px; border-radius: 16px;
  background: var(--soft); font-size: 14px; line-height: 1.4;
}
.bubble.mine { background: var(--btn-bg); color: var(--btn-text); }
.bubble-time { font-size: 11px; opacity: .7; margin: 4px 0 0; }
.chat-form { position: sticky; bottom: 92px; background: var(--bg); padding: 6px 0; }

/* Calendario mensual */
.cal { padding: 14px; }
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; font-size: 15px;
}
.cal-head .iconbtn { font-size: 22px; padding: 2px 10px; }
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.cal-week span {
  text-align: center; font-size: 12px; font-weight: 700; color: var(--muted);
  padding: 4px 0;
}
.cal-day {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  min-height: 44px; font-size: 14px; position: relative; padding: 6px 0 4px;
}
.cal-day.other { opacity: .35; }
.cal-day.today { border-color: var(--ink); border-width: 2px; }
.cal-day.selected { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.cal-dot {
  position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 999px; background: var(--btn-bg);
}
.cal-day.selected .cal-dot { background: var(--btn-text); }

/* Mapa de miembros */
#member-map { height: 380px; width: 100%; border-radius: var(--radius); z-index: 1; }
.cluster-wrap { background: none; border: none; }
.cluster-dot {
  width: 38px; height: 38px; border-radius: 999px; background: var(--btn-bg);
  color: var(--btn-text); display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; border: 2px solid var(--bg);
}
[data-theme="dark"] .leaflet-container { background: #17171a; }
.leaflet-popup-content { font-family: inherit; }

/* Selector de idioma EN | ES (build 4): pastilla compacta que lee de
   las variables del tema; va en las pantallas de acceso (fila propia)
   y en la barra superior junto al chip de nivel. */
.langrow { display: flex; justify-content: flex-end; padding-top: 14px; }
.langtoggle {
  display: inline-flex; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; background: var(--surface);
}
.langtoggle button {
  border: 0; background: transparent; color: var(--muted);
  padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.langtoggle button.active { background: var(--btn-bg); color: var(--btn-text); }

/* Build 5: botón de avatar en el encabezado (entra a Ajustes) y la
   zona de Salir al final de esa vista, separada del resto. */
.avatarbtn { background: none; border: none; padding: 0; flex: none; }
.signout-zone { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; }

/* Eliminar cuenta (Apple 5.1.1(v)): zona de peligro bajo la de
   Salir — botón de solo texto rojo, sin relleno ni borde, y el
   botón definitivo de la hoja de confirmación en rojo sólido
   (var --error: se adapta solo a claro/oscuro). */
.danger-zone { margin-top: 10px; }
.btn.danger-text { background: none; border-color: transparent; color: var(--error); }
.btn.danger { background: var(--error); border-color: var(--error); color: #fff; }
[data-theme="dark"] .btn.danger { color: #111; }

/* Build 5: editor de cursos — fila de checkbox (Publicada) dentro del
   formulario de la clase. */
.checkrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
}
.checkrow input { width: auto; flex: none; }

/* =====================================================================
   Diseño build 5 (7th Level + préstamos de la app escolar):
   buscador redondeado, directorio de Inicio con secciones, página
   de perfil. Todo lee de las variables del tema (claro/oscuro).
   ===================================================================== */
.searchbar {
  display: flex; align-items: center; gap: 9px;
  background: var(--soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px; margin: 14px 0 4px;
  color: var(--muted);
}
.searchbar input {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 16px; color: var(--ink); min-width: 0;
}
.dir-head {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  margin: 26px 0 4px;
}
.dir { border-bottom: 1px solid var(--line); }
.dir-row {
  display: flex; align-items: center; gap: 13px; width: 100%;
  background: none; border: none; border-top: 1px solid var(--line);
  padding: 15px 2px; text-align: left; color: var(--ink);
  font-size: 16px; font-weight: 550;
}
.dir-row:first-child { border-top: none; }
.dir-icon { display: inline-flex; flex: none; color: var(--season); }
.dir-main { flex: 1; min-width: 0; }
.dir-sub {
  display: block; font-size: 13px; font-weight: 400; color: var(--muted);
  margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.count-pill {
  background: var(--btn-bg); color: var(--btn-text); border-radius: 999px;
  font-size: 11px; font-weight: 700; padding: 2px 8px; flex: none;
}

/* =====================================================================
   Diferenciación — identidad propia (post build 5):
   el Camino de la Claridad y la Pregunta de claridad del día.
   Todo lee de las variables del tema (claro/oscuro por hora).
   ===================================================================== */
.path-title {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin: 12px 0 0;
}
.path {
  display: flex; overflow-x: auto; padding: 10px 2px 4px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.path-stop {
  flex: 1 0 66px; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; padding: 0 2px;
}
/* Tramo del camino: une cada estación con la anterior. */
.path-stop::before {
  content: ""; position: absolute; top: 13px; left: -50%;
  width: 100%; height: 2px; background: var(--line);
}
.path-stop:first-child::before { display: none; }
.path-stop.done::before, .path-stop.current::before { background: var(--season); }
.path-node {
  width: 28px; height: 28px; border-radius: 999px; flex: none;
  border: 2px solid var(--line); background: var(--surface); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; position: relative; z-index: 1;
}
.path-stop.done .path-node {
  background: var(--season); border-color: var(--season); color: var(--btn-text);
}
.path-stop.current .path-node {
  border-color: var(--season); color: var(--ink); background: var(--surface);
  box-shadow: 0 0 0 3px var(--soft), 0 0 0 5.5px var(--season);
}
.path-cap {
  font-size: 10px; line-height: 1.3; color: var(--muted); margin-top: 6px;
  overflow-wrap: break-word;
}
.path-stop.current .path-cap { color: var(--ink); font-weight: 700; font-size: 11px; }

.daily-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 8px;
}
.daily-q { font-size: 18px; font-weight: 600; line-height: 1.42; margin: 0 0 12px; }

/* Página de perfil: foto grande y fila de accesos directos. */
.profile-head { text-align: center; padding: 14px 0 2px; }
.shortcut-row {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 14px 0 2px;
}
.btn svg { vertical-align: -3px; }

/* =====================================================================
   Temas de temporada: SOLO con una temporada activa (nunca en
   clásico) se tiñen la insignia + del fab, la etiqueta de la
   Pregunta del día y los iconos de la hoja de crear. La tarjeta
   del día lleva una franja superior en degradado --season ->
   --season2 (en el resto de temporadas ambos son el mismo acento
   = franja sólida; en Navidad pasa por el dorado de marca).
   ===================================================================== */
[data-season]:not([data-season="clasico"]) .fab-plus { background: var(--season); }
[data-season]:not([data-season="clasico"]) .daily-label { color: var(--season); }
[data-season]:not([data-season="clasico"]) .daily-card { position: relative; }
[data-season]:not([data-season="clasico"]) .daily-card::after {
  content: ""; position: absolute; top: -1px; left: 16px; right: 16px;
  height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--season), var(--season2));
}
[data-season="navidad"]:not([data-season="clasico"]) .daily-card::after {
  background: linear-gradient(90deg, var(--season), #C9A227, var(--season2));
}
[data-season]:not([data-season="clasico"]) .sheet-icon {
  color: var(--season); border-color: var(--season);
  background: color-mix(in srgb, var(--season) 10%, var(--surface));
}
/* En oscuro con temporada, el nodo hecho del Camino lleva el texto
   en blanco sobre el acento (en clásico manda --btn-text). */
[data-theme="dark"][data-season]:not([data-season="clasico"]) .path-stop.done .path-node { color: #fff; }

/* Video incrustado de una clase (YouTube/Vimeo): marco 16:9 que se
   adapta al ancho; el iframe llena el marco sin bordes. */
.video-wrap { position: relative; padding-top: 56.25%; margin: 12px 0; border-radius: 18px; overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Onboarding de bienvenida (build 11) */
.onboard { max-width: 430px; margin: 0 auto; padding: 28px 20px 40px; text-align: center; }
.onboard-img { width: 100%; border-radius: 18px; display: block; }
.onboard h2 { margin: 20px 0 8px; }
.onboard p { color: var(--muted); margin: 0 0 18px; }
.onboard-dots { display: flex; gap: 6px; justify-content: center; margin: 0 0 18px; }
.onboard-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .35; }
.onboard-dot.on { background: var(--season); opacity: 1; }
