/* ════════════════════════════════════════════════════════════════════
   NV Streaming · Configuración 5.9 (nv-config-590.css)
   Ventana Configuración con secciones en lista vertical, sección General
   y contadores de avisos. Solo tokens del tema: sigue a los 10 temas.
   Cada tema tiene su animación de entrada (--nvcf-anim).
   ════════════════════════════════════════════════════════════════════ */
html.nvcf {
  --nvcf-spring: cubic-bezier(.32,1.28,.5,1);
  --nvcf-soft: cubic-bezier(.2,.8,.2,1);
  --nvcf-anim: nvcfSube;
}
/* Animación según el tema */
html[data-nv-estilo="estreno"]      { --nvcf-anim: nvcfCine; }
html[data-nv-estilo="oceano"]       { --nvcf-anim: nvcfOla; }
html[data-nv-estilo="purpura"]      { --nvcf-anim: nvcfBrillo; }
html[data-nv-estilo="aurora"]       { --nvcf-anim: nvcfAurora; }
html[data-nv-estilo="gala"]         { --nvcf-anim: nvcfGala; }
html[data-nv-estilo="constelacion"] { --nvcf-anim: nvcfEstrella; }
html[data-nv-estilo="orbita"]       { --nvcf-anim: nvcfOrbita; }
html[data-nv-estilo="lanzamiento"]  { --nvcf-anim: nvcfLanza; }
html[data-nv-estilo="estacion"]     { --nvcf-anim: nvcfScan; }
html[data-nv-estilo="nebulosa"]     { --nvcf-anim: nvcfNebula; }
@keyframes nvcfSube    { from { opacity: 0; transform: translateY(10px); } }
@keyframes nvcfCine    { from { opacity: 0; filter: blur(6px) brightness(1.6); transform: scale(1.015); } }
@keyframes nvcfOla     { from { opacity: 0; transform: translateY(14px) skewY(1.2deg); } 60% { transform: translateY(-2px) skewY(-.3deg); } }
@keyframes nvcfBrillo  { from { opacity: 0; transform: scale(.965); filter: brightness(1.5) saturate(1.3); } }
@keyframes nvcfAurora  { from { opacity: 0; transform: translateX(-12px); filter: blur(3px) hue-rotate(-25deg); } }
@keyframes nvcfGala    { from { opacity: 0; transform: translateY(8px) scale(.985); filter: sepia(.6) brightness(1.3); } }
@keyframes nvcfEstrella{ from { opacity: 0; transform: scale(.92); filter: blur(2px); } 55% { opacity: 1; } }
@keyframes nvcfOrbita  { from { opacity: 0; transform: translateX(14px) rotate(-1.5deg); transform-origin: 0 50%; } }
@keyframes nvcfLanza   { from { opacity: 0; transform: translateY(22px); } 65% { opacity: 1; transform: translateY(-3px); } }
@keyframes nvcfScan    { from { opacity: .3; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes nvcfNebula  { from { opacity: 0; filter: blur(8px) saturate(1.6); transform: scale(1.03); } }

/* ── v5.9 · Sin botón de notificaciones en el menú ni en Registro de eventos ── */
html.nvcf #nav-notificaciones,
html.nvcf #page-eventos button[onclick*="notificaciones"] { display: none !important; }

/* ── v6.1 · Avisos sin leer solo en la campana (nv-notif-600) ────────── */
#nvcf-ubdg, #nv53-cfg-item .nvcf-cbdg, #nvp-bnav #nvp-bdg-avisos, .nvcf-it .nvcf-bdg { display: none !important; }
/* ── Contadores en la tuerca (sin uso desde 6.1) ──────────────────── */
html.nvcf #user-panel-card { position: relative; }
.nvcf-ubdg {
  position: absolute; left: 36px; top: 4px; z-index: 2; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 99px;
  background: var(--accent); color: var(--nv54-on-accent, #fff); font: 800 10px/17px var(--nv-font-num, sans-serif); text-align: center;
  box-shadow: 0 0 0 2px var(--bg2); pointer-events: none; animation: nvcfPop .3s var(--nvcf-spring);
}
.nvcf-ubdg[hidden], .nvcf-cbdg[hidden] { display: none !important; }
.nvcf-cbdg { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: rgba(var(--nv-accent-rgb), .2); color: var(--accent2); font: 800 10.5px/20px var(--nv-font-num, sans-serif); text-align: center; }
.nvcf-ring { animation: nvcfRing .7s var(--nvcf-spring); }
@keyframes nvcfPop { from { transform: scale(0); } }
@keyframes nvcfRing { 0% { transform: scale(1); } 30% { transform: scale(1.45); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
#nvp-bnav .nvcf-bn svg { transition: transform .5s var(--nvcf-spring); }
#nvp-bnav .nvcf-bn svg.nvcf-spin { animation: nvcfGira .9s var(--nvcf-spring); }
@keyframes nvcfGira { from { transform: rotate(-120deg); } }

/* ═══════════════════════════════════════════════════════════════════
   VENTANA
   ═══════════════════════════════════════════════════════════════════ */
.nvcf-ov {
  position: fixed; inset: 0; z-index: 9800; display: grid; place-items: center; padding: 24px;
  background: rgba(0,0,0,.52); -webkit-backdrop-filter: blur(7px) saturate(1.1); backdrop-filter: blur(7px) saturate(1.1);
  opacity: 0; transition: opacity .26s var(--nvcf-soft);
  font-family: var(--nv-font-ui, inherit); color: var(--text);
}
.nvcf-ov[hidden] { display: none !important; }
.nvcf-ov.on { opacity: 1; }
.nvcf-ov button { font-family: inherit; cursor: pointer; }
.nvcf-cfg {
  position: relative; width: min(940px, 100%); height: min(660px, calc(100vh - 48px)); height: min(660px, calc(100dvh - 48px));
  display: grid; grid-template-columns: 256px minmax(0, 1fr);
  background: var(--bg2); border: 1px solid var(--border2); border-radius: 26px; overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.03) inset;
  transform: translateY(16px) scale(.97); opacity: 0;
  transition: transform .42s var(--nvcf-spring), opacity .22s var(--nvcf-soft);
}
.nvcf-ov.on .nvcf-cfg { transform: none; opacity: 1; }
.nvcf-ov.saliendo .nvcf-cfg { transform: translateY(8px) scale(.985); opacity: 0; transition-duration: .2s; }

/* Lista de secciones */
.nvcf-rail {
  display: flex; flex-direction: column; min-height: 0; padding: 18px 12px 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--bg)), var(--bg) 220px);
  border-right: 1px solid var(--border);
}
.nvcf-grip { display: none; }
.nvcf-head { display: flex; align-items: center; gap: 11px; padding: 0 6px 18px; }
.nvcf-gear { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: var(--nv54-on-accent, #fff); background: linear-gradient(145deg, var(--accent), var(--accent2)); box-shadow: 0 10px 24px -10px rgba(var(--nv-accent-rgb), .95), inset 0 1px 0 rgba(255,255,255,.25); }
.nvcf-ov.on .nvcf-gear svg { animation: nvcfGira 1s var(--nvcf-spring) .06s both; }
.nvcf-head-tx { flex: 1; min-width: 0; }
.nvcf-head h2 { margin: 0; font: var(--nv54-w-display, 700) 17px/1.15 var(--nv-font-display, inherit); letter-spacing: var(--nv54-ls-display, -.015em); color: var(--text); }
.nvcf-head small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--text3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvcf-x { width: 34px; height: 34px; flex-shrink: 0; border-radius: 99px; border: 1px solid var(--border); background: var(--bg3); color: var(--text2); display: grid; place-items: center; padding: 0; transition: color .15s, border-color .15s, transform .2s var(--nvcf-spring); }
.nvcf-x:hover { color: var(--text); border-color: var(--border2); transform: rotate(90deg); }
.nvcf-x--rail { display: none; }
.nvcf-nav { position: relative; display: flex; flex-direction: column; gap: 2px; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.nvcf-ind { position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 13px; background: var(--bg3); box-shadow: 0 0 0 1px var(--border2) inset, 0 8px 20px -14px rgba(0,0,0,.9); opacity: 0; transition: transform .38s var(--nvcf-spring), height .3s var(--nvcf-spring), opacity .2s; pointer-events: none; }
.nvcf-ind::before { content: ''; position: absolute; left: 3px; top: 50%; width: 3px; height: 18px; margin-top: -9px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 12px rgba(var(--nv-accent-rgb), .8); }
.nvcf-ind.on { opacity: 1; }
.nvcf-it {
  position: relative; z-index: 1; width: 100%; display: flex; align-items: center; gap: 11px; padding: 9px 10px 9px 12px; min-height: 52px;
  border: 0; border-radius: 13px; background: transparent; color: var(--text2); text-align: left;
  transition: color .2s, background .2s, transform .2s var(--nvcf-spring);
}
.nvcf-ov.on .nvcf-it { animation: var(--nvcf-anim) .36s var(--nvcf-soft) both; animation-delay: calc(60ms + var(--i, 0) * 40ms); }
.nvcf-it:hover { color: var(--text); background: color-mix(in srgb, var(--text) 4%, transparent); }
.nvcf-it[aria-selected="true"]:hover { background: transparent; }
.nvcf-it:active { transform: scale(.98); }
.nvcf-it:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nvcf-ico { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--bg3); color: var(--text2); border: 1px solid var(--border); transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
.nvcf-ico svg { width: 16px; height: 16px; }
.nvcf-it[aria-selected="true"] { color: var(--text); }
.nvcf-it[aria-selected="true"] .nvcf-ico { color: var(--nv54-on-accent, #fff); border-color: transparent; background: linear-gradient(145deg, var(--accent), var(--accent2)); box-shadow: 0 6px 16px -8px rgba(var(--nv-accent-rgb), .95); }
.nvcf-txt { flex: 1; min-width: 0; }
.nvcf-txt b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.nvcf-txt small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--text3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvcf-bdg { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--nv54-on-accent, #fff); font: 800 10.5px/20px var(--nv-font-num, sans-serif); text-align: center; flex-shrink: 0; }
.nvcf-bdg[hidden] { display: none; }
.nvcf-it .nvcf-chev { display: none; color: var(--text3); }
.nvcf-rail-foot { padding: 10px 8px 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--text3); opacity: .6; }

/* Contenido */
.nvcf-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bg2); }
.nvcf-top { position: absolute; z-index: 3; top: 14px; right: 14px; display: flex; align-items: center; gap: 8px; }
.nvcf-back, .nvcf-crumb { display: none; }
.nvcf-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 30px 26px; }
.nvcf-scroll::-webkit-scrollbar { width: 7px; }
.nvcf-scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text3) 30%, transparent); border-radius: 7px; }
.nvcf-pane { display: flex; flex-direction: column; gap: 12px; max-width: 660px; }
.nvcf-pane[hidden] { display: none; }
.nvcf-pane.nvcf-in > * { animation: var(--nvcf-anim) .36s var(--nvcf-soft) both; }
.nvcf-pane.nvcf-in > *:nth-child(2) { animation-delay: 30ms; }
.nvcf-pane.nvcf-in > *:nth-child(3) { animation-delay: 60ms; }
.nvcf-pane.nvcf-in > *:nth-child(4) { animation-delay: 90ms; }
.nvcf-pane.nvcf-in > *:nth-child(5) { animation-delay: 120ms; }
.nvcf-pane.nvcf-in > *:nth-child(6) { animation-delay: 150ms; }
.nvcf-pane.nvcf-in > *:nth-child(n+7) { animation-delay: 180ms; }
.nvcf-pane .nv53-cfg-sh { padding-right: 44px; margin-bottom: 4px; }
.nvcf-pane .nv53-cfg-sh h4 { margin: 0; font: var(--nv54-w-display, 700) 21px/1.2 var(--nv-font-display, inherit); letter-spacing: var(--nv54-ls-display, -.02em); color: var(--text); }
.nvcf-pane .nv53-cfg-sh p { margin: 5px 0 0; font-size: 13px; line-height: 1.5; color: var(--text3); }
.nvcf-foot { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 30px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 40%, var(--bg2)); }
.nvcf-note { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 11.5px; line-height: 1.4; color: var(--text3); font-weight: 600; }
.nvcf-note svg { flex-shrink: 0; color: var(--accent2); }
.nvcf-note[hidden] { display: none; }

/* Botones */
.nvcf-btn { height: 36px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--border2); background: var(--bg3); color: var(--text); font: 700 13px var(--nv-font-ui, inherit); display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; flex-shrink: 0; transition: background .15s, border-color .15s, color .15s, transform .15s var(--nvcf-spring), filter .15s; }
.nvcf-btn:hover { border-color: var(--text3); }
.nvcf-btn:active { transform: scale(.96); }
.nvcf-btn--pri { color: var(--nv54-on-accent, #fff); background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent2))); border-color: transparent; box-shadow: 0 10px 22px -12px rgba(var(--nv-accent-rgb), .95); min-width: 92px; }
.nvcf-btn--pri:hover { filter: brightness(1.08); border-color: transparent; }
.nvcf-btn--ghost { background: transparent; }
.nvcf-ib { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--border); background: var(--bg2); color: var(--text2); display: grid; place-items: center; padding: 0; transition: color .15s, border-color .15s, background .15s, transform .15s var(--nvcf-spring); }
.nvcf-ib:hover { color: var(--text); border-color: var(--border2); }
.nvcf-ib:active { transform: scale(.92); }
.nvcf-ib--danger:hover, .nvcf-ib--danger.armado { color: var(--red); border-color: color-mix(in srgb, var(--red) 55%, transparent); background: color-mix(in srgb, var(--red) 12%, transparent); }
.nvcf-ib--danger.armado { animation: nvcfTiembla .4s ease; }
@keyframes nvcfTiembla { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
.nvcf-link { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--accent2); font: 700 12px var(--nv-font-ui, inherit); text-transform: none; letter-spacing: 0; cursor: pointer; }
.nvcf-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.nvcf-ov :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Interruptor */
.nvcf-sw { position: relative; width: 44px; height: 26px; flex-shrink: 0; border-radius: 99px; border: 0; padding: 0; background: var(--border2); transition: background .25s var(--nvcf-soft); }
.nvcf-sw i { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.35); transition: transform .32s var(--nvcf-spring), width .2s; }
.nvcf-sw:active i { width: 24px; }
.nvcf-sw[aria-checked="true"] { background: var(--accent); }
.nvcf-sw[aria-checked="true"] i { transform: translateX(18px); }
.nvcf-sw[aria-checked="true"]:active i { transform: translateX(14px); }
.nvcf-sw:disabled { opacity: .4; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN GENERAL
   ═══════════════════════════════════════════════════════════════════ */
.nvcf-hero {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(var(--nv-accent-rgb), .2), transparent 60%), var(--bg3);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
}
.nvcf-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.06) 50%, transparent 65%); transform: translateX(-100%); }
.nvcf-pane.nvcf-in .nvcf-hero::after { animation: nvcfBarre 1.1s var(--nvcf-soft) .25s; }
@keyframes nvcfBarre { to { transform: translateX(100%); } }
.nvcf-hero-ic { position: relative; width: 48px; height: 48px; flex-shrink: 0; border-radius: 15px; display: grid; place-items: center; color: var(--nv54-on-accent, #fff); background: linear-gradient(145deg, var(--accent), var(--accent2)); box-shadow: 0 12px 26px -12px rgba(var(--nv-accent-rgb), 1); }
.nvcf-hero-ic i { position: absolute; top: -6px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font: 800 10.5px/20px var(--nv-font-num, sans-serif); font-style: normal; text-align: center; box-shadow: 0 0 0 2.5px var(--bg3); animation: nvcfPop .3s var(--nvcf-spring); }
.nvcf-hero-ic i[hidden] { display: none; }
.nvcf-pane.nvcf-in .nvcf-hero-ic svg { animation: nvavRing .9s var(--nvcf-soft) .3s; transform-origin: 50% 12%; }
.nvcf-hero-tx { flex: 1; min-width: 0; }
.nvcf-hero-tx b { display: block; font: 700 15px/1.25 var(--nv-font-display, inherit); color: var(--text); }
.nvcf-hero-tx small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text2); }
.nvcf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nvcf-chip { height: 34px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--border); background: var(--bg3); color: var(--text2); font: 650 12.5px var(--nv-font-ui, inherit); display: inline-flex; align-items: center; gap: 7px; transition: color .15s, border-color .15s, transform .15s var(--nvcf-spring); }
.nvcf-chip svg { color: var(--accent2); }
.nvcf-chip:hover:not(:disabled) { color: var(--text); border-color: var(--border2); }
.nvcf-chip:active:not(:disabled) { transform: scale(.96); }
.nvcf-chip:disabled { opacity: .45; cursor: default; }
.nvcf-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 4px -4px; font: 800 10.5px/1 var(--nv-font-ui, inherit); letter-spacing: .12em; text-transform: uppercase; color: var(--text3); }
.nvcf-card { border-radius: 18px; background: var(--bg3); border: 1px solid var(--border); overflow: hidden; }
.nvcf-card.nvcf-pad { padding: 14px; }
.nvcf-mini { margin: 0 0 10px; font-size: 12px; color: var(--text3); }
.nvcf-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 58px; width: 100%; box-sizing: border-box; }
.nvcf-card > * + .nvcf-row, .nvcf-card > * + .nvcf-estado { border-top: 1px solid var(--border); }
.nvcf-row-ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: var(--bg4); color: var(--text2); }
.nvcf-row-ic:empty { background: none; }
.nvcf-row-tx { flex: 1; min-width: 0; }
.nvcf-row-tx b { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); line-height: 1.3; }
.nvcf-row-tx b em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; margin-left: 4px; border-radius: 99px; color: var(--red); background: color-mix(in srgb, var(--red) 14%, transparent); vertical-align: 1px; }
.nvcf-row-tx small { display: block; margin-top: 2px; font-size: 12px; color: var(--text3); line-height: 1.45; }
.nvcf-row--btn { border: 0; background: transparent; color: inherit; text-align: left; transition: background .15s; }
.nvcf-row--btn:hover { background: var(--bg4); }
.nvcf-row--btn .nvcf-chev { color: var(--text3); display: grid; transition: transform .2s var(--nvcf-spring); }
.nvcf-row--btn:hover .nvcf-chev { transform: translateX(3px); }
.nvcf-row--wrap { flex-wrap: wrap; row-gap: 8px; }
.nvcf-row--wrap .nvcf-inl { order: 3; flex-basis: 100%; padding-left: 42px; }
.nvcf-row--flat { padding: 4px 0; min-height: 0; border: 0 !important; }
.nvcf-row.off, .nvcf-snds.off { opacity: .45; pointer-events: none; }
.nvcf-row, .nvcf-snds { transition: opacity .25s; }
.nvcf-inl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nvcf-inl--wide { flex: 1; }
.nvcf-inl label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--text3); }
.nvcf-ov input[type="time"], .nvcf-ov input[type="date"], .nvcf-ov select, .nvcf-ov input[type="text"] {
  height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border2); background: var(--bg2); color: var(--text);
  font: 600 13px var(--nv-font-ui, inherit); color-scheme: dark; min-width: 0; box-sizing: border-box; transition: border-color .15s, box-shadow .15s;
}
.nvcf-ov input:focus, .nvcf-ov select:focus { outline: 0; border-color: rgba(var(--nv-accent-rgb), .7); box-shadow: 0 0 0 3px rgba(var(--nv-accent-rgb), .18); }
.nvcf-ov input[hidden] { display: none; }
.nvcf-ov input.err { border-color: var(--red); animation: nvcfTiembla .35s ease 2; }
/* Volumen */
.nvcf-vol input[type="range"] { flex: 1 1 140px; max-width: 260px; min-width: 90px; height: 6px; margin: 0; border-radius: 99px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--v, 70%), var(--border2) var(--v, 70%)); }
.nvcf-vol input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4), 0 0 0 4px rgba(var(--nv-accent-rgb), .25); transition: transform .2s var(--nvcf-spring); }
.nvcf-vol input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.nvcf-vol input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.nvcf-vol output { width: 40px; text-align: right; font: 700 12px var(--nv-font-num, inherit); color: var(--text2); }
.nvcf-vol .nvcf-row-tx { flex: 0 0 auto; }

/* Sonido por tipo */
.nvcf-snd { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 0 12px 0 0; }
.nvcf-snd + .nvcf-snd { border-top: 1px solid var(--border); }
.nvcf-snd-h { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px 6px 10px 14px; border: 0; background: none; color: inherit; text-align: left; }
.nvcf-snd-ic { width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; color: var(--nvav-c, var(--accent)); background: color-mix(in srgb, var(--nvav-c, var(--accent)) 15%, transparent); }
.nvcf-snd-n { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvcf-snd-cur { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--accent2); padding: 4px 10px; border-radius: 99px; background: rgba(var(--nv-accent-rgb), .12); }
.nvcf-snd .nvcf-chev { display: grid; color: var(--text3); transition: transform .3s var(--nvcf-spring); }
.nvcf-snd.open .nvcf-chev { transform: rotate(90deg); }
.nvcf-snd-b { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--nvcf-soft); }
.nvcf-snd.open .nvcf-snd-b { grid-template-rows: 1fr; }
.nvcf-snd-b > div { overflow: hidden; min-height: 0; }
.nvcf-snd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 6px; padding: 2px 0 12px 14px; }
.nvcf-snd-grid button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); text-align: left; transition: border-color .15s, background .15s, transform .15s var(--nvcf-spring); }
.nvcf-snd-grid button b { font-size: 12.5px; }
.nvcf-snd-grid button small { font-size: 11px; color: var(--text3); }
.nvcf-snd-grid button:hover { border-color: var(--border2); }
.nvcf-snd-grid button:active { transform: scale(.96); }
.nvcf-snd-grid button[aria-checked="true"] { border-color: rgba(var(--nv-accent-rgb), .7); background: rgba(var(--nv-accent-rgb), .12); box-shadow: 0 0 0 3px rgba(var(--nv-accent-rgb), .12); }
.nvcf-snd.open .nvcf-snd-grid button { animation: nvcfSube .28s var(--nvcf-soft) both; }
.nvcf-snd.open .nvcf-snd-grid button:nth-child(n+4) { animation-delay: 30ms; }
.nvcf-snd.open .nvcf-snd-grid button:nth-child(n+8) { animation-delay: 60ms; }

.nvcf-estado { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 12px; font-weight: 600; color: var(--text3); background: color-mix(in srgb, var(--bg) 35%, transparent); }
.nvcf-estado.on { color: var(--accent2); background: rgba(var(--nv-accent-rgb), .08); }

/* v6.0 · Mensajes push de la app y teléfono de cobro */
.nvcf-pushev { padding: 12px 14px 14px; border-top: 1px solid var(--border); transition: opacity .25s; }
.nvcf-pushev.off { opacity: .42; pointer-events: none; }
.nvcf-tipo--push { padding: 0 12px 0 12px; height: 34px; }
.nvcf-tel input[type="tel"] { width: 170px; max-width: 100%; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border2); background: var(--bg2); color: var(--text);
  font: 700 14px var(--nv-font-num, inherit); letter-spacing: .04em; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.nvcf-tel .nvcf-btn { height: 36px; }
.nvcf-tel .nvcf-btn:disabled { opacity: .45; cursor: default; }
.nvcf-tel-m { flex-basis: 100%; font-size: 11.5px; color: var(--text3); line-height: 1.4; }
.nvcf-tel-m.err { color: var(--red); }
.nvcf-card.nvcf-ok { animation: nvcfOk .7s var(--nvcf-soft, ease); }
@keyframes nvcfOk { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green, #3ddc97) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }

/* Qué avisos ver */
.nvcf-tipos { display: flex; flex-wrap: wrap; gap: 7px; }
.nvcf-tipo { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 5px; border-radius: 99px; border: 1px solid var(--border2); background: var(--bg2); color: var(--text); font: 650 12.5px var(--nv-font-ui, inherit); transition: opacity .2s, border-color .2s, background .2s, transform .15s var(--nvcf-spring); }
.nvcf-tipo .nvcf-snd-ic { width: 26px; height: 26px; border-radius: 99px; }
.nvcf-tipo i { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border2); transition: background .2s, border-color .2s; }
.nvcf-tipo i::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--bg2); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.4); opacity: 0; transition: opacity .2s, transform .28s var(--nvcf-spring); }
.nvcf-tipo[aria-pressed="true"] { border-color: color-mix(in srgb, var(--nvav-c, var(--accent)) 45%, var(--border2)); }
.nvcf-tipo[aria-pressed="true"] i { background: var(--nvav-c, var(--accent)); border-color: transparent; }
.nvcf-tipo[aria-pressed="true"] i::after { opacity: 1; transform: rotate(45deg) scale(1); }
.nvcf-tipo[aria-pressed="false"] { opacity: .5; }
.nvcf-tipo[aria-pressed="false"] > span:not(.nvcf-snd-ic) { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text3) 70%, transparent); }
.nvcf-tipo:active { transform: scale(.96); }

/* Avisos personalizados */
.nvcf-prop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; transition: opacity .22s, transform .22s var(--nvcf-soft), max-height .22s; max-height: 140px; }
.nvcf-prop + .nvcf-prop, .nvcf-form + .nvcf-prop { border-top: 1px solid var(--border); }
.nvcf-prop .nvcf-snd-ic { width: 32px; height: 32px; border-radius: 10px; }
.nvcf-prop-a { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nvcf-prop.off .nvcf-row-tx, .nvcf-prop.off .nvcf-snd-ic { opacity: .5; }
.nvcf-prop.out { opacity: 0; transform: translateX(30px); max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }
.nvcf-vacio { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 20px 20px; }
.nvcf-vacio > span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--accent2); background: rgba(var(--nv-accent-rgb), .12); margin-bottom: 4px; animation: nvavFlota 3.2s ease-in-out infinite; }
.nvcf-vacio b { font-size: 14px; }
.nvcf-vacio small { max-width: 380px; font-size: 12.5px; color: var(--text3); line-height: 1.5; margin-bottom: 8px; }
.nvcf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; background: linear-gradient(180deg, rgba(var(--nv-accent-rgb), .07), transparent 120px); animation: var(--nvcf-anim) .34s var(--nvcf-soft) both; }
.nvcf-form-h { grid-column: 1 / -1; font-size: 14px; }
.nvcf-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nvcf-f > span { font-size: 11.5px; font-weight: 700; color: var(--text3); }
.nvcf-f > span em { font-style: normal; font-weight: 500; }
.nvcf-f input { width: 100%; height: 38px !important; }
.nvcf-f--full { grid-column: 1 / -1; }
.nvcf-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.nvcf-seg button { height: 32px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--border2); background: var(--bg2); color: var(--text2); font: 650 12.5px var(--nv-font-ui, inherit); display: inline-flex; align-items: center; gap: 6px; transition: color .15s, border-color .15s, background .15s, transform .15s var(--nvcf-spring); }
.nvcf-seg button svg { color: var(--nvav-c, currentColor); }
.nvcf-seg button:hover { color: var(--text); }
.nvcf-seg button:active { transform: scale(.95); }
.nvcf-seg button[aria-checked="true"] { color: var(--text); border-color: rgba(var(--nv-accent-rgb), .7); background: rgba(var(--nv-accent-rgb), .14); }
.nvcf-form-a { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-top: 4px; }
.nvcf-sp { flex: 1; }

/* ═══════════════════════════════════════════════════════════════════
   PANTALLAS MEDIANAS
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 980px) {
  .nvcf-cfg { grid-template-columns: 216px minmax(0, 1fr); }
  .nvcf-scroll { padding: 24px 22px; }
  .nvcf-foot { padding-left: 22px; }
}

/* ═══════════════════════════════════════════════════════════════════
   TELÉFONO: hoja inferior con lista que entra a cada sección
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nvcf-ov { place-items: end stretch; padding: 0; }
  .nvcf-cfg {
    display: block; width: 100%; height: 92vh; height: 92dvh; border-radius: 26px 26px 0 0; border-bottom: 0;
    transform: translateY(100%); opacity: 1;
    transition: transform .44s cubic-bezier(.22,1.1,.36,1);
  }
  .nvcf-ov.saliendo .nvcf-cfg { transform: translateY(100%); opacity: 1; transition-duration: .26s; transition-timing-function: ease-in; }
  .nvcf-rail, .nvcf-main { position: absolute; inset: 0; transition: transform .38s cubic-bezier(.3,1.1,.4,1), opacity .25s var(--nvcf-soft), visibility 0s linear .38s; }
  .nvcf-rail { border-right: 0; padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px)); visibility: visible; }
  .nvcf-main { transform: translateX(100%); visibility: hidden; }
  .nvcf-cfg.is-sec .nvcf-rail { transform: translateX(-30%); opacity: 0; visibility: hidden; }
  .nvcf-cfg.is-sec .nvcf-main { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.3,1.1,.4,1), opacity .25s var(--nvcf-soft), visibility 0s; }
  .nvcf-cfg:not(.is-sec) .nvcf-rail { transition: transform .38s cubic-bezier(.3,1.1,.4,1), opacity .25s var(--nvcf-soft), visibility 0s; }
  .nvcf-grip { display: block; width: 40px; height: 4px; border-radius: 99px; background: var(--border2); margin: 9px auto 12px; }
  .nvcf-head { padding: 2px 2px 16px; }
  .nvcf-x--rail { display: grid; }
  .nvcf-ind { display: none; }
  .nvcf-nav { gap: 6px; }
  .nvcf-it { min-height: 64px; padding: 10px 12px; background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; }
  .nvcf-it:hover, .nvcf-it[aria-selected="true"]:hover { background: var(--bg3); }
  .nvcf-it[aria-selected="true"] .nvcf-ico { color: var(--text2); background: var(--bg4); border-color: var(--border); box-shadow: none; }
  .nvcf-it .nvcf-ico { width: 36px; height: 36px; border-radius: 11px; }
  .nvcf-it .nvcf-chev { display: grid; }
  .nvcf-txt b { font-size: 14.5px; }
  .nvcf-txt small { font-size: 12px; }
  .nvcf-rail-foot { text-align: center; }
  .nvcf-main { display: flex; }
  .nvcf-top { position: static; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 12px 12px 8px; border-bottom: 1px solid var(--border); }
  .nvcf-back { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 99px; border: 1px solid var(--border); background: var(--bg3); color: var(--text); padding: 0; }
  .nvcf-crumb { display: block; text-align: center; font: var(--nv54-w-display, 700) 16px/1.2 var(--nv-font-display, inherit); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nvcf-top .nvcf-x { justify-self: end; }
  .nvcf-scroll { padding: 14px 14px 20px; }
  .nvcf-pane .nv53-cfg-sh { padding-right: 0; }
  .nvcf-pane .nv53-cfg-sh h4 { display: none; }
  .nvcf-pane .nv53-cfg-sh p { margin-top: 0; }
  .nvcf-foot { padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .nvcf-note { font-size: 11px; }
  .nvcf-foot .nvcf-btn { min-width: 80px; height: 40px; }
  .nvcf-hero { padding: 14px; gap: 12px; }
  .nvcf-hero-ic { width: 44px; height: 44px; }
  .nvcf-row { padding: 12px; gap: 10px; }
  .nvcf-row--wrap .nvcf-inl { padding-left: 40px; }
  .nvcf-vol .nvcf-row-ic { display: none; }
  .nvcf-vol input[type="range"] { max-width: none; min-width: 0; flex: 1 1 auto; }
  .nvcf-vol output { width: 34px; }
  .nvcf-snd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 12px; }
  .nvcf-snd-h { padding-left: 12px; }
  .nvcf-snd-cur { padding: 4px 8px; }
  .nvcf-prop { flex-wrap: wrap; }
  .nvcf-prop .nvcf-row-tx { flex: 1 1 60%; }
  .nvcf-prop-a { margin-left: auto; }
  .nvcf-form { grid-template-columns: 1fr 1fr; padding: 14px 12px; }
  .nvcf-form-a .nvcf-btn { flex: 1 1 auto; }
  .nvcf-form-a .nvcf-sp { display: none; }
  .nvcf-it, .nvcf-btn, .nvcf-chip, .nvcf-seg button { min-height: 40px; }
  .nvcf-ib { width: 36px; height: 36px; }
}
@media (max-width: 380px) {
  .nvcf-snd-cur { display: none; }
  .nvcf-form { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   SIN ANIMACIONES SI EL SISTEMA LO PIDE
   ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .nvcf-ov, .nvcf-ov *, .nvcf-ubdg, .nvcf-cbdg, .nvcf-ring, #nvp-bnav .nvcf-bn svg { animation: none !important; transition-duration: .01ms !important; }
}

/* v6.1 · Sin nota en el pie, el botón Listo queda a la derecha */
.nvcf-foot .nvcf-note:empty + .nvcf-btn { margin-left: auto; }
