/* ══════════════════════════════════════════════════════════════════════════
   NOVA LIVE — immersive voice overlay (Gemini-Live inspired).
   Dual theme: html[data-theme="glass"] (vibrant liquid glass) and
   html[data-theme="moon"] (deep-space dark). Scoped + self-contained.
   Browser-native STT/TTS only — no third-party AI service.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Live entry button in the input bar ──────────────────────────────────── */
.nova-live-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%; cursor: pointer; position: relative;
  background: rgba(6, 182, 212, 0.10);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #06b6d4;
  box-shadow: inset 0 0 8px rgba(6, 182, 212, 0.18);
  transition: transform .2s cubic-bezier(.23,1,.32,1), background .2s, border-color .2s, box-shadow .2s;
}
.nova-live-btn svg { width: 19px; height: 19px; }
.nova-live-btn:hover { transform: translateY(-1px); background: rgba(6,182,212,0.18); border-color: rgba(6,182,212,0.6); box-shadow: inset 0 0 10px rgba(6,182,212,0.25), 0 4px 14px rgba(6,182,212,0.25); }
.nova-live-btn:active { transform: scale(0.93); }
.nova-live-btn.unsupported { opacity: 0.4; cursor: not-allowed; }
html[data-theme="glass"] .nova-live-btn {
  background: linear-gradient(160deg, rgba(99,102,241,0.18), rgba(6,182,212,0.12));
  border: 1px solid rgba(255,255,255,0.6); color: #6366f1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 0 8px rgba(99,102,241,0.18), 0 4px 12px rgba(99,102,241,0.16);
}

/* ── Overlay shell ───────────────────────────────────────────────────────── */
#nova-live-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: scale(0.96);
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1), visibility .5s;
  overflow: hidden;
}
#nova-live-overlay.open { opacity: 1; visibility: visible; transform: scale(1); }

/* Background mesh / ambient layer (theme paints this) */
.nova-live-bg { position: absolute; inset: -10%; z-index: 0; pointer-events: none; }
/* Frosted glass panel covering the screen */
.nova-live-panel {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
/* Star particle canvas */
#nova-live-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }

/* Centered status / captions */
.nova-live-stage {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; text-align: center; padding: 24px; max-width: 760px; width: 100%;
  pointer-events: none;
}
.nova-live-state {
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.9; transition: opacity .35s ease;
}
.nova-live-orb {
  width: 96px; height: 96px; border-radius: 50%; position: relative;
  display: grid; place-items: center; margin-bottom: 6px;
}
.nova-live-caption {
  font-size: clamp(20px, 3.2vw, 30px); font-weight: 600; line-height: 1.4;
  min-height: 1.4em; transition: opacity .3s ease;
  text-wrap: balance;
}
.nova-live-reply {
  font-size: clamp(15px, 2vw, 18px); line-height: 1.6; opacity: 0.92; max-height: 34vh; overflow-y: auto;
}
.nova-live-notice {
  font-size: 13.5px; opacity: 0.75; max-width: 460px;
}
.nova-live-search-tag {
  display: none; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
}
#nova-live-overlay.searching .nova-live-search-tag { display: inline-flex; }

/* Controls */
.nova-live-controls { position: absolute; z-index: 4; top: 22px; right: 22px; display: flex; gap: 10px; pointer-events: auto; }
.nova-live-ctrl {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 1px solid transparent;
  transition: transform .2s, background .2s, border-color .2s;
}
.nova-live-ctrl svg { width: 20px; height: 20px; }
.nova-live-ctrl:hover { transform: translateY(-1px); }
.nova-live-hint { position: absolute; z-index: 6; bottom: 26px; left: 0; right: 0; text-align: center; font-size: 12.5px; opacity: 0.6; pointer-events: none; transition: opacity .25s ease, font-size .25s ease; }
/* While Nova is busy, the "tap to interrupt" hint becomes bold & high-contrast so
   it's clearly readable above the caption/reply text. */
.nova-live-hint.nova-live-hint-strong { opacity: 1; font-size: 14px; font-weight: 700; letter-spacing: .2px; }
html[data-theme="glass"] .nova-live-hint.nova-live-hint-strong { color: #4f46e5 !important; text-shadow: 0 1px 6px rgba(255,255,255,0.7); }
html[data-theme="moon"] .nova-live-hint.nova-live-hint-strong,
#nova-live-overlay .nova-live-hint.nova-live-hint-strong { color: #fff !important; text-shadow: 0 1px 10px rgba(0,0,0,0.6); }

/* ══════════════ GLASS THEME ══════════════ */
html[data-theme="glass"] #nova-live-overlay .nova-live-bg {
  background:
    radial-gradient(42% 48% at 16% 22%, rgba(34,211,238,0.40), transparent 60%),
    radial-gradient(46% 52% at 50% 12%, rgba(99,102,241,0.42), transparent 62%),
    radial-gradient(48% 54% at 84% 24%, rgba(168,85,247,0.40), transparent 60%),
    radial-gradient(50% 56% at 86% 82%, rgba(236,72,153,0.36), transparent 62%),
    radial-gradient(46% 52% at 14% 84%, rgba(20,184,166,0.36), transparent 60%),
    linear-gradient(135deg, #eaf6ff, #f3edff 50%, #e9fffb);
  background-size: 180% 180%, 180% 180%, 180% 180%, 180% 180%, 180% 180%, 100% 100%;
  filter: saturate(130%);
  animation: novaLiveMesh 26s ease-in-out infinite;
}
html[data-theme="glass"] #nova-live-overlay .nova-live-panel {
  background: rgba(255,255,255,0.20);
  -webkit-backdrop-filter: blur(30px) saturate(165%); backdrop-filter: blur(30px) saturate(165%);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 0 120px rgba(99,102,241,0.10);
}
html[data-theme="glass"] #nova-live-overlay { color: #16213e; }
html[data-theme="glass"] .nova-live-state {
  background: linear-gradient(90deg, #06b6d4, #6366f1, #a855f7, #ec4899, #06b6d4);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: novaLiveFlow 7s linear infinite;
}
/* Glass: ALL live text is an animated rainbow — deep, saturated stops + a faint
   dark stroke/shadow so it stays clearly legible on the light frosted overlay. */
html[data-theme="glass"] .nova-live-state,
html[data-theme="glass"] .nova-live-caption,
html[data-theme="glass"] .nova-live-reply,
html[data-theme="glass"] .nova-live-notice,
html[data-theme="glass"] .nova-live-hint,
html[data-theme="glass"] .nova-live-search-tag span {
  background: linear-gradient(90deg, #0891b2, #4f46e5, #9333ea, #db2777, #0d9488, #0891b2);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.35px rgba(20,20,40,0.18);
  text-shadow: 0 1px 3px rgba(20,24,60,0.16);
  animation: novaLiveFlow 7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="glass"] .nova-live-state,
  html[data-theme="glass"] .nova-live-caption,
  html[data-theme="glass"] .nova-live-reply,
  html[data-theme="glass"] .nova-live-notice,
  html[data-theme="glass"] .nova-live-hint,
  html[data-theme="glass"] .nova-live-search-tag span { animation: none; }
}
html[data-theme="glass"] .nova-live-search-tag { background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.7); color: #6366f1; }
html[data-theme="glass"] .nova-live-ctrl { background: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.7); color: #16213e; }
html[data-theme="glass"] .nova-live-ctrl:hover { background: rgba(255,255,255,0.72); }
html[data-theme="glass"] .nova-live-hint { color: rgba(22,33,62,0.6); }

/* ══════════════ MOON THEME ══════════════ */
html[data-theme="moon"] #nova-live-overlay .nova-live-bg,
#nova-live-overlay .nova-live-bg {
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(124,58,237,0.16), transparent 60%),
    radial-gradient(55% 55% at 85% 90%, rgba(6,182,212,0.12), transparent 60%),
    radial-gradient(60% 60% at 10% 80%, rgba(99,102,241,0.10), transparent 60%),
    #0B0C10;
}
html[data-theme="moon"] #nova-live-overlay .nova-live-panel,
#nova-live-overlay .nova-live-panel {
  background: rgba(15,16,20,0.70);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
html[data-theme="moon"] #nova-live-overlay,
#nova-live-overlay { color: #e6e8ee; }
html[data-theme="moon"] .nova-live-state,
#nova-live-overlay .nova-live-state { color: #c8cdd8; }
html[data-theme="moon"] .nova-live-caption,
#nova-live-overlay .nova-live-caption { color: #f1f3f8; }
html[data-theme="moon"] .nova-live-reply,
html[data-theme="moon"] .nova-live-notice,
#nova-live-overlay .nova-live-reply,
#nova-live-overlay .nova-live-notice { color: rgba(230,232,238,0.7); }
html[data-theme="moon"] .nova-live-search-tag,
#nova-live-overlay .nova-live-search-tag { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #c8cdd8; }
html[data-theme="moon"] .nova-live-ctrl,
#nova-live-overlay .nova-live-ctrl { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); color: #e6e8ee; }
html[data-theme="moon"] .nova-live-ctrl:hover,
#nova-live-overlay .nova-live-ctrl:hover { background: rgba(255,255,255,0.12); }
html[data-theme="moon"] .nova-live-hint,
#nova-live-overlay .nova-live-hint { color: rgba(230,232,238,0.5); }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes novaLiveMesh { 0%,100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }
@keyframes novaLiveFlow { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

@media (prefers-reduced-motion: reduce) {
  #nova-live-overlay { transition: opacity .2s linear, visibility .2s; transform: none; }
  #nova-live-overlay.open { transform: none; }
  html[data-theme="glass"] #nova-live-overlay .nova-live-bg,
  html[data-theme="glass"] .nova-live-state { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  html[data-theme="glass"] #nova-live-overlay .nova-live-panel { background: rgba(255,255,255,0.9); }
  #nova-live-overlay .nova-live-panel { background: rgba(11,12,16,0.95); }
}
@media (max-width: 768px) {
  .nova-live-orb { width: 68px; height: 68px; }
  .nova-live-controls { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); gap: 8px; }
  .nova-live-ctrl { width: 42px; height: 42px; }
  .nova-live-stage { padding: 16px 18px; gap: 14px; }
  .nova-live-caption { font-size: clamp(17px, 5vw, 23px); }
  .nova-live-reply { font-size: clamp(13px, 3.6vw, 16px); max-height: 30vh; }
  .nova-live-hint { bottom: max(14px, env(safe-area-inset-bottom)); font-size: 11px; padding: 0 16px; }
}

/* ══════════════ Nova Live — voice picker + clarification card (v4) ══════════════ */
/* First-run voice chooser */
#nova-live-voicepick, #nova-live-clarify {
  position: absolute; inset: 0; z-index: 6; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
#nova-live-voicepick.show, #nova-live-clarify.show { display: flex; }
.nova-live-vp-box, .nova-live-cl-card {
  width: min(94vw, 440px); padding: 22px; border-radius: 22px; text-align: center;
  background: rgba(15,16,20,0.86); border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  animation: novaVpIn .35s cubic-bezier(.22,1,.36,1) both;
}
@keyframes novaVpIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.nova-live-vp-title { margin: 0 0 2px; font-size: 18px; font-weight: 800; color: #fff; }
.nova-live-vp-hint { margin: 0 0 16px; font-size: 12.5px; color: rgba(255,255,255,0.5); }
.nova-live-vp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nova-live-vp-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; cursor: pointer;
  padding: 13px 14px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05); color: #fff; transition: transform .15s, border-color .15s, background .15s;
}
.nova-live-vp-opt:hover { transform: translateY(-2px); border-color: rgba(99,102,241,0.6); background: rgba(99,102,241,0.12); }
.nova-live-vp-opt.sel { border-color: #06b6d4; background: rgba(6,182,212,0.16); box-shadow: 0 0 0 1px #06b6d4; }
.nova-live-vp-name { font-size: 14px; font-weight: 700; }
.nova-live-vp-sub { font-size: 11px; color: rgba(255,255,255,0.5); }
.nova-live-vp-prev {
  margin-top: 6px; font-size: 11.5px; font-weight: 600; cursor: pointer;
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #fff;
}
.nova-live-vp-prev:hover { background: rgba(255,255,255,0.16); }
.nova-live-vp-go {
  margin-top: 16px; width: 100%; padding: 12px; border-radius: 14px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #06b6d4, #6366f1, #a855f7); background-size: 200% 100%;
  transition: filter .2s, opacity .2s;
}
.nova-live-vp-go:disabled { opacity: 0.45; cursor: not-allowed; }
.nova-live-vp-go:not(:disabled):hover { filter: brightness(1.08); }

/* Clarification card (distinct: centered, glowing ring) */
.nova-live-cl-card { position: relative; overflow: visible; }
.nova-live-cl-ring {
  position: absolute; inset: -2px; border-radius: 24px; pointer-events: none; z-index: -1;
  box-shadow: 0 0 0 1px rgba(99,102,241,0.4), 0 0 40px rgba(99,102,241,0.35);
  animation: novaClRing 2.6s ease-in-out infinite;
}
@keyframes novaClRing { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.02); } }
.nova-live-cl-prompt { margin: 4px 0 16px; font-size: 17px; font-weight: 700; color: #fff; }
.nova-live-cl-opts { display: flex; flex-direction: column; gap: 10px; }
.nova-live-cl-opt {
  padding: 14px; border-radius: 14px; cursor: pointer; font-size: 14.5px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: #fff;
  transition: transform .15s, background .15s, border-color .15s;
}
.nova-live-cl-opt:hover { transform: translateY(-1px); background: rgba(99,102,241,0.16); border-color: rgba(99,102,241,0.55); }

/* GLASS theme: lighter cards + rainbow accents */
html[data-theme="glass"] .nova-live-vp-box,
html[data-theme="glass"] .nova-live-cl-card {
  background: rgba(255,255,255,0.86); border-color: rgba(255,255,255,0.6); color: #16213e;
  box-shadow: 0 24px 70px rgba(99,102,241,0.25), inset 0 1px 0 rgba(255,255,255,0.8);
}
html[data-theme="glass"] .nova-live-vp-title,
html[data-theme="glass"] .nova-live-cl-prompt { color: #16213e; }
html[data-theme="glass"] .nova-live-vp-hint,
html[data-theme="glass"] .nova-live-vp-sub { color: rgba(22,33,62,0.55); }
html[data-theme="glass"] .nova-live-vp-opt,
html[data-theme="glass"] .nova-live-cl-opt { color: #16213e; border-color: rgba(22,33,62,0.16); background: rgba(255,255,255,0.5); }
html[data-theme="glass"] .nova-live-vp-prev { color: #16213e; border-color: rgba(22,33,62,0.2); background: rgba(255,255,255,0.4); }
html[data-theme="glass"] .nova-live-cl-ring { box-shadow: 0 0 0 1px rgba(6,182,212,0.5), 0 0 44px rgba(168,85,247,0.35); }

@media (prefers-reduced-motion: reduce) {
  .nova-live-vp-box, .nova-live-cl-card { animation: none; }
  .nova-live-cl-ring { animation: none; }
}
@media (max-width: 768px) { .nova-live-vp-grid { grid-template-columns: 1fr; } }

/* ════════════ NOVA LIVE CAMERA (Beta) ════════════ */
.nova-live-ctrl.camera { animation: nlcBtnPulse 2.4s ease-in-out infinite; }
@keyframes nlcBtnPulse { 0%,100% { box-shadow: 0 0 8px rgba(6,182,212,0.18); } 50% { box-shadow: 0 0 15px rgba(6,182,212,0.30); } }
.nova-live-ctrl.camera:hover { transform: translateY(-1px) scale(1.06); }
.nova-live-ctrl.camera:active { transform: scale(0.92); }

#nova-live-cam {
  position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  background: rgba(6,8,18,0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: nlcFade .25s ease;
}
@keyframes nlcFade { from { opacity: 0; } to { opacity: 1; } }
#nova-live-cam .nlc-vidwrap {
  width: min(86vw, 460px); max-height: 64vh; aspect-ratio: 3/4; border-radius: 18px; overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.18), 0 18px 60px rgba(6,182,212,0.25); background: #000;
}
#nova-live-cam #nlc-video { width: 100%; height: 100%; object-fit: cover; transform-origin: center; transition: transform .12s ease; }
#nova-live-cam .nlc-zoom { font-size: 24px; font-weight: 600; line-height: 1; }
#nova-live-cam .nlc-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 5; }
@keyframes nlcFlash { 0% { opacity: 0.9; } 100% { opacity: 0; } }
#nova-live-cam .nlc-hint { color: #fff; font-size: 13.5px; opacity: .9; text-align: center; padding: 0 18px; }
#nova-live-cam .nlc-beta { font-size: 9px; font-weight: 700; letter-spacing: .5px; background: linear-gradient(135deg,#7c5cff,#5b8cff); color: #fff; padding: 2px 6px; border-radius: 6px; vertical-align: middle; margin-left: 4px; }
#nova-live-cam .nlc-bar { display: flex; align-items: center; gap: 34px; }
#nova-live-cam .nlc-ic {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, background .15s ease;
}
#nova-live-cam .nlc-ic svg { width: 22px; height: 22px; }
#nova-live-cam .nlc-ic:hover { background: rgba(255,255,255,0.16); transform: scale(1.05); }
#nova-live-cam .nlc-shutter {
  width: 78px; height: 78px; border-radius: 50%; cursor: pointer; position: relative;
  border: 4px solid rgba(255,255,255,0.9); background: transparent; transition: transform .08s ease;
}
#nova-live-cam .nlc-shutter > span {
  position: absolute; inset: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #67e8f9, #6366f1); box-shadow: 0 4px 18px rgba(99,102,241,0.5);
}
#nova-live-cam .nlc-shutter:active { transform: scale(0.9); }

/* ════════ NOVA LIVE — "Show answer" panel ════════ */
/* The answer is no longer shown inline as a subtitle — only via the Show-answer button. */
#nova-live-reply { display: none !important; }
.nova-live-answer {
  position: absolute; inset: 0; z-index: 36; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(6,8,18,0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.nova-live-answer.show { opacity: 1; pointer-events: auto; animation: nlAnsIn .22s ease; }
@keyframes nlAnsIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: scale(1); } }
.nova-live-ans-card {
  position: relative; width: min(620px, 92vw); max-height: 76vh; overflow: auto;
  background: rgba(18,20,34,0.96); border: 1px solid rgba(255,255,255,0.16); border-radius: 18px;
  padding: 40px 22px 22px; box-shadow: 0 20px 70px rgba(0,0,0,0.5); color: #fff;
}
.nova-live-ans-body { font-size: 15px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.nova-live-ans-x {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.nova-live-ans-x svg { width: 18px; height: 18px; }
.nova-live-ans-x:hover { background: rgba(255,255,255,0.16); }

/* ══════════════ AURORA THEME (Pro) — Nova Live ══════════════ */
html[data-theme="aurora"] #nova-live-overlay { color: #f1ecff; }
html[data-theme="aurora"] #nova-live-overlay .nova-live-bg {
  background:
    radial-gradient(42% 48% at 16% 20%, rgba(139,92,246,0.55), transparent 60%),
    radial-gradient(46% 52% at 50% 10%, rgba(99,102,241,0.5), transparent 62%),
    radial-gradient(48% 54% at 86% 22%, rgba(236,72,153,0.5), transparent 60%),
    radial-gradient(50% 56% at 84% 84%, rgba(0,224,200,0.45), transparent 62%),
    radial-gradient(46% 52% at 14% 86%, rgba(124,58,237,0.45), transparent 60%),
    linear-gradient(135deg, #0a0820, #120a2e 50%, #0a0820);
  background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  filter: saturate(135%);
  animation: novaLiveMesh 26s ease-in-out infinite;
}
html[data-theme="aurora"] #nova-live-overlay .nova-live-panel {
  background: rgba(10, 8, 28, 0.5);
  -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(168,130,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
html[data-theme="aurora"] .nova-live-state,
html[data-theme="aurora"] .nova-live-caption,
html[data-theme="aurora"] .nova-live-search-tag span {
  background: linear-gradient(90deg, #c4a7ff, #ff9ad2, #5af2e4, #c4a7ff);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: novaLiveFlow 7s linear infinite;
}
html[data-theme="aurora"] .nova-live-ctrl { background: rgba(255,255,255,0.08); border-color: rgba(168,130,255,0.25); color: #f1ecff; }
html[data-theme="aurora"] .nova-live-ctrl:hover { background: rgba(168,130,255,0.2); }
html[data-theme="aurora"] .nova-live-hint { color: rgba(231,224,255,0.7); }
@media (prefers-reduced-motion: reduce) {
  html[data-theme="aurora"] #nova-live-overlay .nova-live-bg { animation: none; }
  html[data-theme="aurora"] .nova-live-state, html[data-theme="aurora"] .nova-live-caption { animation: none; }
}
