:root { --border-subtle: rgba(128,128,128,.2); }
.verse-item {
  padding: 6px 8px;
  margin-bottom: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: block;
}

.verse-item:hover {
  background-color: var(--bg-surface-hover);
}

.verse-item:active {
  transform: scale(0.99);
}

/* Mantener presionado abre acciones: se evita que el sistema seleccione texto */
#verses-list .verse-item {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
#verses-list .verse-item.elegido {
  background-color: color-mix(in srgb, var(--brand-gold) 16%, transparent);
  box-shadow: inset 3px 0 0 var(--brand-gold);
}
#verses-list .verse-item.elegido span {
  text-decoration: underline dotted color-mix(in srgb, var(--brand-gold) 70%, transparent);
  text-underline-offset: 4px;
}
.verses-ayuda {
  margin: 0 0 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* Anterior / siguiente capítulo al final de la lectura */
.chapter-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--text-muted) 20%, transparent);
}
.cap-nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--brand-gold) 35%, transparent);
  background: var(--bg-surface-hover);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.cap-nav-btn span { display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap-nav-btn small { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.cap-nav-btn.sig { justify-content: flex-end; text-align: right; grid-column: 2; }
.cap-nav-btn svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand-gold); }

/* ==============================================================
   RADIO — CABINA EN VIVO
   Panel inmersivo oscuro (siempre oscuro, en ambos temas) + muro claro.
   El estado "sonando" se controla con .is-playing en #radio-booth.
   ============================================================== */

.radio-booth {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 18px 0 1.5rem;
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #F4F1FF;
  background:
    radial-gradient(115% 80% at 50% -15%, rgba(138, 43, 226, 0.50) 0%, rgba(138, 43, 226, 0) 62%),
    linear-gradient(158deg, #1B0F3B 0%, #2A1656 44%, #0C2A38 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 18px 44px rgba(12, 6, 32, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* Halo que respira mientras suena */
.booth-aura {
  position: absolute;
  left: 50%;
  top: -30%;
  width: 130%;
  height: 110%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(closest-side, rgba(0, 242, 255, 0.28), rgba(0, 242, 255, 0) 72%);
  transition: opacity 0.7s ease;
}
.radio-booth.is-playing .booth-aura {
  opacity: 1;
  animation: booth-breathe 6s ease-in-out infinite;
}
@keyframes booth-breathe {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.75; }
  50%      { transform: translateX(-50%) scale(1.12); opacity: 1; }
}

/* ── Vinilo ────────────────────────────────────────────────── */
.vinyl-container {
  position: relative;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.vinyl-container .pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 242, 255, 0.5);
  opacity: 0;
  pointer-events: none;
}
.radio-booth.is-playing .vinyl-container .pulse-ring {
  animation: pulse-ring 2.6s ease-out infinite;
}

.vinyl-record-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 5px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 0deg, #DAA520, #00F2FF, #8A2BE2, #DAA520);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.vinyl-record {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #F1ECFB 62%, #DCD2F3 100%);
  border: 3px solid #130B28;
  transition: transform 0.3s ease;
}
.radio-booth.is-playing .vinyl-record {
  animation: spin-vinyl 6s linear infinite;
}
@keyframes spin-vinyl {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.vinyl-hole {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1B0F3B;
  border: 2px solid rgba(0, 0, 0, 0.55);
  z-index: 2;
}

/* ── Identidad y estado ────────────────────────────────────── */
.booth-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.booth-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(244, 241, 255, 0.5);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.radio-booth.is-playing .booth-live-pill {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.45);
  color: #FF9B9B;
}

/* Anula el punto verde global dentro de la píldora */
.booth-live-pill .live-dot {
  width: 7px;
  height: 7px;
  background-color: currentColor;
  box-shadow: none;
  animation: none;
}
.radio-booth.is-playing .booth-live-pill .live-dot {
  animation: live-blink 1.5s ease-in-out infinite;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.82); }
}

.radio-title {
  color: #FFFFFF;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.radio-subtitle {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(244, 241, 255, 0.62);
}

/* ── Ecualizador ───────────────────────────────────────────── */
.eq-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 34px;
  margin: 0;
  opacity: 0.28;
  transition: opacity 0.4s ease;
}
.radio-booth.is-playing .eq-container {
  opacity: 1;
}

.eq-bar {
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to top, #8A2BE2, #00F2FF);
}
.radio-booth.is-playing .eq-bar {
  animation: eq-bounce 0.9s ease-in-out infinite alternate;
}
.radio-booth.is-playing .eq-bar:nth-child(1) { animation-delay: 0.00s; animation-duration: 1.05s; }
.radio-booth.is-playing .eq-bar:nth-child(2) { animation-delay: 0.18s; animation-duration: 0.78s; }
.radio-booth.is-playing .eq-bar:nth-child(3) { animation-delay: 0.36s; animation-duration: 1.20s; }
.radio-booth.is-playing .eq-bar:nth-child(4) { animation-delay: 0.09s; animation-duration: 0.92s; }
.radio-booth.is-playing .eq-bar:nth-child(5) { animation-delay: 0.42s; animation-duration: 1.10s; }
.radio-booth.is-playing .eq-bar:nth-child(6) { animation-delay: 0.24s; animation-duration: 0.84s; }
.radio-booth.is-playing .eq-bar:nth-child(7) { animation-delay: 0.05s; animation-duration: 1.15s; }

@keyframes eq-bounce {
  from { height: 5px; }
  to   { height: 34px; }
}

/* ── Controles ─────────────────────────────────────────────── */
.radio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.radio-play-btn {
  position: relative;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  background: linear-gradient(135deg, #00F2FF 0%, #00A6C8 55%, #8A2BE2 100%);
  box-shadow: 0 10px 26px rgba(0, 242, 255, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.radio-play-btn:hover { transform: scale(1.05); }
.radio-play-btn:active { transform: scale(0.96); }
.radio-booth.is-playing .radio-play-btn {
  box-shadow: 0 10px 30px rgba(0, 242, 255, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
#radio-play-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
  margin-left: 2px;
}
.radio-booth.is-playing #radio-play-icon { margin-left: 0; }

.radio-volume-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 230px;
}
.booth-vol-icon {
  width: 17px;
  height: 17px;
  color: rgba(244, 241, 255, 0.45);
  flex-shrink: 0;
}

.radio-volume-slider {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.16);
}
.radio-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.radio-volume-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

/* ── Conectados: solo mientras la radio suena ─────────────────── */
.booth-listeners {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #7BFFB0;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.30);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.booth-listeners i {
  width: 14px;
  height: 14px;
}
.booth-listeners #online-counter {
  font-weight: 800;
}
.radio-booth.is-playing .booth-listeners {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==============================================================
   MURO DE PETICIONES
   ============================================================== */
.radio-chat-card {
  width: 100%;
  text-align: left;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 4px solid var(--accent-secondary);
  margin-bottom: 2rem;
}

.chat-bubble {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 16px;
  background: var(--bg-surface-hover);
  border: 1px solid rgba(128, 128, 128, 0.13);
  box-shadow: var(--shadow-sm);
  animation: slide-up-fade 0.4s ease-out forwards;
}

@keyframes slide-up-fade {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.chat-avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  background: hsl(var(--av, 265) 58% 48%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  user-select: none;
}

.chat-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chat-bubble-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.chat-bubble-author {
  font-weight: 700;
  font-size: 0.87rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-bubble-time {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
}
.chat-bubble-text {
  font-size: 0.89rem;
  color: var(--text-main);
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  opacity: 0.92;
}
.chat-bubble-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  margin-top: 2px;
}

/* ==============================================================
   RADIO — ESCRITORIO (MIN 769px)
   ============================================================== */
@media (min-width: 769px) {
  main {
    max-width: 1020px;
  }

  /* Cabina a la izquierda, muro a la derecha */
  .streaming-radio-layout:not([hidden]) {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  .radio-booth {
    margin: 0;
    padding: 2rem 1.6rem 1.7rem;
    gap: 1.15rem;
    position: sticky;
    top: 1rem;
  }

  .vinyl-container {
    width: 150px;
    height: 150px;
  }

  .radio-chat-card {
    margin: 0;
    min-height: 480px;
    min-width: 0;
  }

  .radio-chat-card #peticiones-container {
    max-height: 360px;
  }
}

/* ==============================================================
   RADIO — MÓVIL (MAX 768px)
   ============================================================== */
@media (max-width: 768px) {
  .radio-booth {
    padding: 1.3rem 1.1rem 1.2rem;
    gap: 0.85rem;
    margin-top: 10px;
  }

  /* El vinilo se queda: es lo que llena el hueco muerto que había */
  .vinyl-container {
    width: 104px;
    height: 104px;
  }

  .radio-title {
    font-size: 1.22rem;
  }
  .radio-subtitle {
    font-size: 0.8rem;
  }

  .eq-container {
    height: 26px;
  }
  @keyframes eq-bounce {
    from { height: 5px; }
    to   { height: 26px; }
  }

  .radio-play-btn {
    width: 54px;
    height: 54px;
  }
  #radio-play-icon {
    width: 22px;
    height: 22px;
  }

  .radio-controls {
    gap: 12px;
  }
  .radio-volume-container {
    max-width: none;
  }

  .radio-chat-card {
    gap: 0.85rem;
  }
  .radio-chat-card #peticiones-container {
    max-height: 300px;
  }

  /* En pantallas angostas el chip queda solo con ícono y número */
  .booth-listeners {
    top: 12px;
    right: 12px;
    padding: 4px 10px;
  }
  .booth-listeners-label {
    display: none;
  }
}

/* Menos movimiento para quien lo pide a nivel de sistema */
@media (prefers-reduced-motion: reduce) {
  .radio-booth.is-playing .vinyl-record,
  .radio-booth.is-playing .eq-bar,
  .radio-booth.is-playing .booth-aura,
  .radio-booth.is-playing .vinyl-container .pulse-ring,
  .radio-booth.is-playing .booth-live-pill .live-dot {
    animation: none;
  }
  .radio-booth.is-playing .eq-bar {
    height: 18px;
  }
}

/* ==============================================================
   BIBLIA — COMPARADOR DE VERSIONES
   Por capítulo se agrupa por versículo: el número manda y debajo van
   las versiones etiquetadas, una bajo otra. En pantalla ancha se
   acomodan en dos columnas.
   ============================================================== */
#bible-compare-modal .choir-modal-sheet {
  width: 96%;
  max-width: 900px;
}
#bible-compare-content {
  gap: 0 !important;
}

.cmp-bloque {
  padding: 0.35rem 0 0.9rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.16);
}
.cmp-bloque:last-child { border-bottom: 0; }

/* El número de versículo queda fijo mientras se recorre el bloque */
.cmp-num {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 0 8px;
  padding: 6px 0;
  background: var(--bg-surface);
}
.cmp-num span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-gold);
  background: color-mix(in srgb, var(--brand-gold) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-gold) 30%, transparent);
}

.cmp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 760px) {
  .cmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cmp-fila {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cmp-abbr {
  flex-shrink: 0;
  min-width: 72px;
  padding-top: 3px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.cmp-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-main);
}
.cmp-vacio {
  color: var(--text-muted);
  font-style: italic;
}

/* Modo versículo: una tarjeta por versión */
.cmp-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-surface-hover);
  border: 1px solid rgba(128, 128, 128, 0.14);
}
.cmp-card .cmp-abbr {
  display: block;
  min-width: 0;
  margin-bottom: 4px;
  color: var(--brand-gold);
}
.cmp-card .cmp-text {
  font-size: 1.02rem;
}

/* ==============================================================
   IMAGEN DE VERSÍCULO PARA COMPARTIR
   Tarjeta de 1080x1920 (formato historia) que se dibuja fuera de
   pantalla y se convierte en imagen con html2canvas.
   Las fuentes van en el proyecto: la app bloquea las externas.
   ============================================================== */
@font-face {
  font-family: 'Great Vibes';
  src: url('../fonts/great-vibes.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Dancing Script';
  src: url('../fonts/dancing-script.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

/* La tarjeta se dibuja siempre a 1080x1920. Fuera del modal vive fuera de
   pantalla; dentro del modal se muestra encogida como vista previa. */
#verse-share-card {
  position: fixed;
  top: 0;
  left: -20000px;
  width: 1080px;
  height: 1920px;
  overflow: hidden;
  z-index: -50;
  pointer-events: none;
}
#vi-preview #verse-share-card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: scale(var(--vi-escala, 0.17));
  transform-origin: top left;
}

/* Se abren encima de otro modal, asi que deben superar el z-index de la clase */
#verse-image-modal,
#bible-compare-modal {
  z-index: 10000;
}

.vi-sheet {
  min-height: auto;
  max-height: 92vh;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}
.vi-titulo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.05rem;
  color: var(--brand-gold);
}
.vi-titulo svg { width: 18px; height: 18px; }

.vi-preview {
  position: relative;
  width: 270px;
  height: 480px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #0A0619;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  flex-shrink: 0;
}

.vi-ayuda {
  margin: 0.9rem 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.vi-fuentes {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.vi-fuente {
  flex: 1;
  padding: 8px 6px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface-hover);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.vi-fuente[data-f="gv"] { font-family: 'Great Vibes', cursive; font-size: 1.05rem; }
.vi-fuente[data-f="ds"] { font-family: 'Dancing Script', cursive; font-size: 0.98rem; }
.vi-fuente[data-f="sf"] { font-family: Georgia, serif; font-style: italic; }
.vi-fuente.elegida {
  color: var(--text-main);
  border-color: var(--brand-gold);
}

.vi-fondos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  flex-shrink: 0;
}
.vi-fondo {
  flex-shrink: 0;
  width: 54px;
  height: 96px;
  padding: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.vi-fondo:hover { transform: translateY(-2px); }
.vi-fondo.elegido {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-gold) 35%, transparent);
}

.vi-acciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 1rem;
  flex-shrink: 0;
}
.vi-acciones .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px;
  font-size: 0.88rem;
}
.vi-acciones svg { width: 16px; height: 16px; }
.vi-descargar {
  background: var(--bg-surface-hover);
  color: var(--text-main);
  box-shadow: none;
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 25%, transparent);
}
.vs-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Velo: deja ver la foto y asegura que el texto se lea. Tiene tres niveles
   porque no es lo mismo un bosque oscuro que una foto de niebla clara; el
   nivel de cada fondo se decidió midiendo su brillo. Además de la sombra
   general hay una mancha ovalada detrás del texto, que da contraste sin
   apagar la foto entera. */
.vs-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 78% 42% at 50% 52%, rgba(0, 0, 0, 0.38) 0%, transparent 72%),
    linear-gradient(180deg, rgba(10, 6, 25, 0.30) 0%, rgba(10, 6, 25, 0.52) 42%, rgba(10, 6, 25, 0.82) 100%);
}
.vs-veil.medio {
  background:
    radial-gradient(ellipse 80% 45% at 50% 52%, rgba(0, 0, 0, 0.46) 0%, transparent 74%),
    linear-gradient(180deg, rgba(10, 6, 25, 0.44) 0%, rgba(10, 6, 25, 0.62) 42%, rgba(10, 6, 25, 0.86) 100%);
}
.vs-veil.fuerte {
  background:
    radial-gradient(ellipse 82% 48% at 50% 52%, rgba(0, 0, 0, 0.52) 0%, transparent 76%),
    linear-gradient(180deg, rgba(10, 6, 25, 0.56) 0%, rgba(10, 6, 25, 0.72) 42%, rgba(10, 6, 25, 0.90) 100%);
}
.vs-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 96px 150px;
  text-align: center;
}
.vs-text {
  margin: 0;
  font-family: 'Great Vibes', Georgia, serif;
  font-size: 92px;
  line-height: 1.35;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}
.vs-text.serif {
  font-family: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  font-style: italic;
  font-size: 66px;
  line-height: 1.45;
}
.vs-text.dancing {
  font-family: 'Dancing Script', Georgia, serif;
  font-weight: 600;
  font-size: 78px;
  line-height: 1.4;
}
.vs-sep {
  width: 120px;
  height: 3px;
  margin: 54px 0 34px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #E8C572, transparent);
}
.vs-ref {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #E8C572;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.vs-version {
  margin: 12px 0 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.vs-marca {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  text-align: center;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* En el celular el cuadro no cabía: la vista previa medía 480 px fijos y
   el contenedor de la clase (max-height 80vh, sin scroll) recortaba los
   selectores de tipografía y fondo. Se usa el id para ganarle a esas
   reglas, que están en index.html con la misma especificidad. */
#verse-image-modal .vi-sheet {
  max-height: 94vh;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  gap: 0;
}
#verse-image-modal .vi-preview {
  height: min(480px, 44vh);
  width: calc(min(480px, 44vh) * 0.5625);
}

.bottom-nav { overflow-x: auto; }
.nav-item { flex: 1 0 48px; }
#verse-image-modal, #bible-compare-modal { z-index: 10001; }
/* Radio: superficies y decoraciones neutras en el tema oscuro. */
.dark-mode { --border-subtle: rgba(255, 255, 255, .14); }
.dark-mode .radio-booth {
  color: #F4F4F5;
  background: radial-gradient(115% 80% at 50% -15%, rgba(161,161,170,.22), transparent 62%),
    linear-gradient(158deg, #27272A, #18181B 44%, #09090B);
  box-shadow: 0 18px 44px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.1);
}
.dark-mode .vinyl-record-wrap { background: conic-gradient(#A1A1AA, #F4F4F5, #52525B, #A1A1AA); }
.dark-mode .vinyl-record { background: radial-gradient(circle, #FFF, #E4E4E7); border-color: #18181B; }
.dark-mode .vinyl-hole { background: #18181B; }
.dark-mode .eq-bar { background: linear-gradient(to top, #52525B, #D4D4D8); }
.dark-mode .radio-play-btn { background: linear-gradient(135deg, #00F2FF, #00A6C8 65%, #52525B); }
.dark-mode .chat-avatar { background: #52525B; }
.dark-mode #peticion-form button[type="submit"] {
  background: linear-gradient(135deg, #3F3F46, #27272A) !important;
  color: #FAFAFA;
}
@media (max-width: 560px) {
  .nav-item { flex: 1 0 0; min-width: 0; padding: 8px 2px; font-size: .65rem; }
  .nav-item svg { width: 20px; height: 20px; }
}

.streaming-tabs { display: flex; gap: .5rem; margin: 1rem 0 1.5rem; }
.streaming-tabs button { flex: 1; border: 1px solid var(--border-subtle); border-radius: 12px; padding: .8rem; background: var(--bg-surface); color: var(--text-main); cursor: pointer; font-weight: 600; }
.streaming-tabs button[aria-selected="true"] { border-color: var(--accent-primary); box-shadow: inset 0 -3px var(--accent-primary); }
.streaming-tabs button:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; }
[hidden] { display: none !important; }
.tv-card h3 { margin-bottom: .5rem; }
#tv-status { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.tv-player { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.tv-player iframe { border: 0; width: 100%; height: 100%; display: block; }
.tv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.tv-actions button { width: auto; }
.tv-actions a { color: var(--accent-primary); }
@media (max-width: 560px) { .nav-item[data-target="streaming"] { font-size: .6rem; } }
