    /* ==========================================================================
       4. ESTILOS ESPECÍFICOS DE LOS LECTORES (MANGA Y NOVELAS)
       ========================================================================== */
    /* HMCDRS V4.9.8 — temas neutros para manga y novela.
       Tres opciones: claro editorial, oscuro carbón y negro intenso. */
    .manga-theme-light { background:#f6f7fa; color:#1d2230; }
    .manga-theme-dark { background:#101114; color:#f6f5f9; }
    .manga-theme-amoled { background:#000; color:#f6f5f9; }

    .novel-theme-light {
      background:#f6f7fa;
      color:#1d2230;
      --novel-card-bg:#fff;
      --novel-muted:#666e80;
      --novel-border:#e1e4eb;
      --novel-accent:#8060ce;
      --novel-panel-bg:#fff;
      --novel-control-bg:#eef0f5;
    }
    .novel-theme-dark {
      background:#101114;
      color:#f6f5f9;
      --novel-card-bg:#1a1c22;
      --novel-muted:#989ba8;
      --novel-border:#292c34;
      --novel-accent:#ad80f6;
      --novel-panel-bg:#1a1c22;
      --novel-control-bg:#22252d;
    }
    .novel-theme-amoled {
      background:#000;
      color:#f6f5f9;
      --novel-card-bg:#09090b;
      --novel-muted:#a0a0aa;
      --novel-border:#242428;
      --novel-accent:#bd9af8;
      --novel-panel-bg:#09090b;
      --novel-control-bg:#18181b;
    }

    /* Barras flotantes del lector de manga */
    .reader-bar-hidden-top {
      transform: translateY(-110%);
      opacity: 0;
      pointer-events: none;
    }
    .reader-bar-hidden-bottom {
      transform: translateY(110%);
      opacity: 0;
      pointer-events: none;
    }

    /* Rango estilizado pastel */
    input[type="range"].hmcdrs-range {
      -webkit-appearance: none;
      appearance: none;
      height: 6px;
      border-radius: 999px;
      background: rgba(169, 146, 238, 0.3);
      outline: none;
    }
    input[type="range"].hmcdrs-range::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--brand-primary);
      border: 2.5px solid #ffffff;
      box-shadow: 0 2px 8px rgba(139, 118, 210, 0.45);
      cursor: pointer;
    }

    /* Notas de traducción interactivas (N/T) */
    .nt-trigger {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      padding: 0 7px;
      margin: 0 2px;
      border-radius: 999px;
      font-family: 'Quicksand', sans-serif;
      font-size: 0.72em;
      font-weight: 700;
      vertical-align: super;
      background: rgba(169, 146, 238, 0.18);
      color: var(--novel-accent, #8f74e5);
      border: 1px solid rgba(169, 146, 238, 0.4);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .nt-trigger:hover,
    .nt-trigger.active {
      background: #a992ee;
      color: #ffffff;
    }

    /* Utilidad para truncar 2 líneas */
    .line-clamp-2 {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

