/* Nova Lumen — shared broadcast overlay grammar (Electron / cast / tv-web) */
:root {
  --nl-ink: #030508;
  --nl-dawn: #f0a46a;
  --nl-lumen: #7ef0ff;
  --nl-live: #7dffb2;
  --nl-fog: rgba(230, 240, 255, 0.78);
}

.nl-bug {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 4px;
  background: rgba(3, 5, 8, 0.78);
  border: 1px solid rgba(126, 240, 255, 0.35);
  color: var(--nl-lumen);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.nl-bug.show { opacity: 1; }
.nl-bug .mark {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.14em;
  font-size: 13px;
}

.nl-slate {
  position: absolute;
  left: 18px;
  bottom: 22px;
  z-index: 6;
  width: min(400px, 88vw);
  padding: 18px 18px 16px 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(3, 5, 8, 0.84) 0%, rgba(8, 14, 22, 0.74) 100%);
  border: 1px solid rgba(126, 240, 255, 0.18);
  border-left: 3px solid var(--nl-lumen);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px) saturate(1.1);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
}
.nl-slate.show {
  opacity: 1;
  transform: translateY(0);
}
.nl-slate.break { border-left-color: var(--nl-dawn); }
.nl-slate .slate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.nl-slate .slate-mark {
  font-family: "Bebas Neue", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--nl-lumen);
  border: 1px solid rgba(126, 240, 255, 0.35);
  border-radius: 4px;
  padding: 3px 7px;
}
.nl-slate .slate-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--nl-live);
  text-transform: uppercase;
}
/* Nova spark on tune — brief dawn edge before lumen settles */
.nl-slate.show:not(.break) {
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(240, 164, 106, 0.12),
    0 0 40px rgba(126, 240, 255, 0.1);
}
.nl-slate .slate-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nl-live);
}
.nl-slate .slate-channel {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(22px, 5vw, 32px);
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 10px;
}
.nl-slate .slate-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(230, 240, 255, 0.45);
  margin-bottom: 2px;
}
.nl-slate .slate-label.next { margin-top: 10px; }
.nl-slate .slate-now,
.nl-slate .slate-next {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}
.nl-slate .slate-next { color: var(--nl-fog); font-weight: 600; }
.nl-slate .slate-meta {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(230, 240, 255, 0.45);
  letter-spacing: 0.04em;
}

.nl-tune {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.55);
}
.nl-tune.show { display: flex; }
.nl-tune .spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--nl-lumen);
  animation: nl-spin 0.8s linear infinite;
}
.nl-tune span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-family: "Manrope", system-ui, sans-serif;
}
@keyframes nl-spin { to { transform: rotate(360deg); } }

/* Parental PIN slate — broadcast lock, not a settings dialog */
.nl-pin {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 5, 8, 0.82);
  font-family: "Manrope", system-ui, sans-serif;
  color: #fff;
}
.nl-pin.show { display: flex; }
.nl-pin .pin-card {
  width: min(420px, 90vw);
  padding: 28px 26px 24px;
  border-radius: 4px;
  border: 1px solid rgba(126, 240, 255, 0.28);
  border-left: 3px solid var(--nl-dawn);
  background: linear-gradient(135deg, rgba(3, 5, 8, 0.94) 0%, rgba(8, 14, 22, 0.9) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
}
.nl-pin .pin-mark {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.22em;
  color: var(--nl-lumen);
  font-size: 14px;
  margin-bottom: 10px;
}
.nl-pin .pin-channel {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 6vw, 40px);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.nl-pin .pin-lead {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nl-fog);
  margin-bottom: 18px;
}
.nl-pin .pin-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}
.nl-pin .pin-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(126, 240, 255, 0.45);
  background: transparent;
}
.nl-pin .pin-dots i.on {
  background: var(--nl-lumen);
  border-color: var(--nl-lumen);
  box-shadow: 0 0 12px rgba(126, 240, 255, 0.55);
}
.nl-pin .pin-err {
  min-height: 1.2em;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8f8f;
  margin-bottom: 8px;
}
.nl-pin .pin-hint {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(230, 240, 255, 0.45);
}
