/* ============================================
   J.A.R.V.I.S — STYLES
   Aesthetic: Iron Man HUD — Red/Gold/Dark
   Deep black base, arc reactor blue accents,
   holographic scan lines, military precision
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  --bg-void:       #020408;
  --bg-deep:       #050a0f;
  --bg-panel:      rgba(2, 8, 16, 0.92);
  --hud-red:       #C0392B;
  --hud-red-bright:#E74C3C;
  --hud-gold:      #D4A017;
  --hud-gold-bright:#F0C040;
  --arc-blue:      #00D4FF;
  --arc-blue-dim:  #0099BB;
  --hud-green:     #00FF88;
  --glass-border:  rgba(192, 57, 43, 0.25);
  --glass-border-gold: rgba(212, 160, 23, 0.3);
  --glass-bg:      rgba(192, 57, 43, 0.05);
  --text-primary:  #E8F4F8;
  --text-secondary:#8BAFC0;
  --text-muted:    #3D6070;
  --text-gold:     #D4A017;
  --user-bubble:   linear-gradient(135deg, #8B1A1A, #C0392B);
  --jarvis-bubble: rgba(0, 212, 255, 0.04);
  --orb-size:      72px;
  --panel-w:       440px;
  --panel-h:       640px;
  --radius-lg:     4px;
  --radius-md:     3px;
  --radius-sm:     2px;
  --font-hud:      'Orbitron', monospace;
  --font-body:     'Rajdhani', sans-serif;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  background: var(--bg-void);
  font-family: var(--font-body);
  color: var(--text-primary);
  overflow: hidden;
}

/* ── Scanline overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 212, 255, 0.012) 2px,
    rgba(0, 212, 255, 0.012) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Particle Canvas ── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   FLOATING ORB — Arc Reactor Style
   ══════════════════════════════════════════ */
#novaOrb {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.orb-core {
  width: var(--orb-size);
  height: var(--orb-size);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a4a6e, #0a1a2e 60%, #020810);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(0, 212, 255, 0.4);
  box-shadow:
    0 0 15px rgba(0, 212, 255, 0.5),
    0 0 35px rgba(0, 212, 255, 0.25),
    0 0 70px rgba(0, 212, 255, 0.1),
    inset 0 0 20px rgba(0, 212, 255, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

#novaOrb:hover .orb-core {
  transform: scale(1.06);
  box-shadow:
    0 0 25px rgba(0, 212, 255, 0.8),
    0 0 55px rgba(0, 212, 255, 0.4),
    0 0 100px rgba(0, 212, 255, 0.2),
    inset 0 0 30px rgba(0, 212, 255, 0.25);
}

.orb-face svg {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.8));
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  animation: orbRingSpin linear infinite;
}
.ring1 {
  width: 88%; height: 88%;
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-top-color: transparent;
  animation-duration: 3s;
}
.ring2 {
  width: 100%; height: 100%;
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-bottom-color: transparent;
  animation-duration: 5s;
  animation-direction: reverse;
}
.ring3 {
  width: 112%; height: 112%;
  border: 1px dashed rgba(212, 160, 23, 0.2);
  animation-duration: 8s;
}

@keyframes orbRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.orb-label {
  font-family: var(--font-hud);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--arc-blue-dim);
  opacity: 0.8;
}

.orb-pulse {
  position: absolute;
  width: var(--orb-size);
  height: var(--orb-size);
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.3);
  animation: orbPulse 3s ease-out infinite;
  pointer-events: none;
}

@keyframes orbPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}

#novaOrb.flash .orb-core {
  animation: orbFlash 0.5s ease-in-out 4;
}
@keyframes orbFlash {
  0%, 100% { box-shadow: 0 0 15px rgba(0,212,255,0.5), 0 0 35px rgba(0,212,255,0.25); }
  50%       { box-shadow: 0 0 50px rgba(0,212,255,1), 0 0 100px rgba(192,57,43,0.6), 0 0 160px rgba(212,160,23,0.4); transform: scale(1.12); }
}

/* ══════════════════════════════════════════
   MAIN PANEL — HUD Interface
   ══════════════════════════════════════════ */
.nova-panel {
  position: fixed;
  bottom: 120px;
  right: 32px;
  width: var(--panel-w);
  height: var(--panel-h);
  z-index: 999;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid rgba(192, 57, 43, 0.3);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(192, 57, 43, 0.08),
    inset 0 1px 0 rgba(0, 212, 255, 0.1);
  overflow: hidden;
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.nova-panel.hidden {
  transform: scale(0.88) translateY(16px);
  opacity: 0;
  pointer-events: none;
}

.nova-panel.visible {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* HUD corner brackets */
.nova-panel::before,
.nova-panel::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 10;
  pointer-events: none;
}
.nova-panel::before {
  top: 0; left: 0;
  border-top: 2px solid var(--hud-red-bright);
  border-left: 2px solid var(--hud-red-bright);
  box-shadow: -2px -2px 8px rgba(231, 76, 60, 0.4);
}
.nova-panel::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--hud-gold);
  border-right: 2px solid var(--hud-gold);
  box-shadow: 2px 2px 8px rgba(212, 160, 23, 0.4);
}

/* Top scanning line */
.nova-panel .scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--arc-blue), var(--hud-red), var(--hud-gold), transparent);
  background-size: 200% 100%;
  animation: scanFlow 3s linear infinite;
  z-index: 10;
}
@keyframes scanFlow {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* ── Panel Header ── */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(192, 57, 43, 0.2);
  flex-shrink: 0;
  background: rgba(192, 57, 43, 0.04);
  position: relative;
}

.panel-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nova-avatar {
  position: relative;
  width: 42px;
  height: 42px;
}

.avatar-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a4a6e, #0a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4), inset 0 0 12px rgba(0, 212, 255, 0.1);
}

.avatar-orb svg { width: 22px; height: 22px; filter: drop-shadow(0 0 4px rgba(0,212,255,0.8)); }

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(192, 57, 43, 0.5);
  border-top-color: transparent;
  animation: avatarSpin 4s linear infinite;
}
@keyframes avatarSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.status-dot {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--hud-green);
  border: 2px solid var(--bg-void);
  box-shadow: 0 0 6px rgba(0, 255, 136, 0.7);
}
.status-dot.listening {
  background: var(--hud-gold-bright);
  box-shadow: 0 0 8px rgba(240, 192, 64, 0.9);
  animation: dotPulse 0.7s ease-in-out infinite;
}
.status-dot.thinking {
  background: var(--arc-blue);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.9);
  animation: dotPulse 0.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.4); }
}

.nova-name {
  font-family: var(--font-hud);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--arc-blue);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
  line-height: 1;
}

.nova-status {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

.header-actions { display: flex; gap: 5px; }

.icon-btn {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.2);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-family: var(--font-hud);
}
.icon-btn svg { width: 14px; height: 14px; }
.icon-btn:hover {
  background: rgba(192, 57, 43, 0.15);
  color: var(--hud-red-bright);
  border-color: rgba(192, 57, 43, 0.5);
  box-shadow: 0 0 10px rgba(192, 57, 43, 0.2);
}
.icon-btn.active {
  background: rgba(0, 212, 255, 0.1);
  color: var(--arc-blue);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}
.close-btn:hover {
  background: rgba(192, 57, 43, 0.2);
  color: var(--hud-red-bright);
}

/* ── Quick Actions ── */
.quick-actions {
  display: flex;
  gap: 5px;
  padding: 8px 14px;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(192, 57, 43, 0.15);
  background: rgba(0, 0, 0, 0.2);
}
.quick-actions::-webkit-scrollbar { display: none; }

.quick-btn {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid rgba(192, 57, 43, 0.2);
  color: var(--text-secondary);
  font-family: var(--font-hud);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
}
.quick-btn:hover {
  background: rgba(192, 57, 43, 0.15);
  border-color: rgba(192, 57, 43, 0.5);
  color: var(--hud-red-bright);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(192, 57, 43, 0.2);
}

/* ── Chat Container ── */
.chat-container {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-container::-webkit-scrollbar { width: 3px; }
.chat-container::-webkit-scrollbar-track { background: transparent; }
.chat-container::-webkit-scrollbar-thumb { background: rgba(192, 57, 43, 0.3); border-radius: 2px; }

/* ── Welcome Screen ── */
.welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 10px;
  gap: 10px;
  animation: fadeInUp 0.6s ease;
}

.welcome-orb {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a4a6e, #0a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hud);
  font-size: 11px;
  font-weight: 700;
  color: var(--arc-blue);
  position: relative;
  border: 1px solid rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), inset 0 0 20px rgba(0, 212, 255, 0.1);
  letter-spacing: 1px;
}

.w-ring {
  position: absolute;
  border-radius: 50%;
  animation: orbRingSpin linear infinite;
}
.r1 { inset: -8px; border: 1px solid rgba(192, 57, 43, 0.4); border-top-color: transparent; animation-duration: 4s; }
.r2 { inset: -16px; border: 1px dashed rgba(212, 160, 23, 0.25); animation-duration: 8s; animation-direction: reverse; }

.welcome-screen h2 {
  font-family: var(--font-hud);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.gradient-text {
  color: var(--arc-blue);
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

.welcome-screen p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
  font-weight: 400;
}

.tip-row { display: flex; flex-direction: column; gap: 5px; width: 100%; }

.tip {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(192, 57, 43, 0.05);
  border: 1px solid rgba(192, 57, 43, 0.15);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  text-align: left;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
}

/* ── Messages ── */
.message {
  display: flex;
  gap: 9px;
  animation: fadeInUp 0.3s ease;
  max-width: 100%;
}
.message.user { flex-direction: row-reverse; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.msg-avatar {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-hud);
  margin-top: 2px;
  letter-spacing: 0.5px;
}
.message.nova .msg-avatar {
  background: radial-gradient(circle, #1a4a6e, #0a1a2e);
  color: var(--arc-blue);
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}
.message.user .msg-avatar {
  background: linear-gradient(135deg, #5a0a0a, #8B1A1A);
  color: var(--hud-red-bright);
  border: 1px solid rgba(192, 57, 43, 0.4);
}

.msg-content {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.msg-bubble {
  padding: 10px 13px;
  font-size: 13.5px;
  line-height: 1.65;
  word-break: break-word;
  font-family: var(--font-body);
  font-weight: 400;
  position: relative;
}

.message.nova .msg-bubble {
  background: var(--jarvis-bubble);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-left: 2px solid rgba(0, 212, 255, 0.4);
  color: var(--text-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
}

.message.user .msg-bubble {
  background: linear-gradient(135deg, rgba(139, 26, 26, 0.6), rgba(192, 57, 43, 0.4));
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-right: 2px solid var(--hud-red-bright);
  color: var(--text-primary);
  border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md);
}

.msg-bubble.mood-boost {
  border-left-color: var(--hud-gold) !important;
  background: rgba(212, 160, 23, 0.05) !important;
}
.msg-bubble.study-card {
  border-left-color: var(--hud-green) !important;
  background: rgba(0, 255, 136, 0.04) !important;
}

.msg-time {
  font-size: 9px;
  color: var(--text-muted);
  font-family: var(--font-hud);
  letter-spacing: 0.5px;
  padding: 0 3px;
}
.message.user .msg-time { text-align: right; }

/* ── Typing Indicator ── */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
}
.typing-indicator.hidden { display: none; }

.typing-avatar {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle, #1a4a6e, #0a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-hud);
  color: var(--arc-blue);
  border: 1px solid rgba(0, 212, 255, 0.3);
  flex-shrink: 0;
}

.typing-dots {
  display: flex;
  gap: 5px;
  background: var(--jarvis-bubble);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-left: 2px solid rgba(0, 212, 255, 0.4);
  padding: 10px 14px;
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
}
.typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--arc-blue);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; background: var(--hud-red-bright); }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; background: var(--hud-gold); }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* ── Input Area ── */
.input-area {
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(192, 57, 43, 0.2);
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
}

.input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 9px 9px 9px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input-wrapper:focus-within {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.08), 0 0 16px rgba(0, 212, 255, 0.08);
}

#userInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  resize: none;
  max-height: 100px;
  overflow-y: auto;
  scrollbar-width: none;
  letter-spacing: 0.3px;
}
#userInput::placeholder { color: var(--text-muted); font-style: italic; }

.input-actions { display: flex; gap: 5px; align-items: center; flex-shrink: 0; }

.mic-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--arc-blue-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.mic-btn svg { width: 14px; height: 14px; }
.mic-btn:hover {
  background: rgba(0, 212, 255, 0.12);
  color: var(--arc-blue);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}
.mic-btn.recording {
  background: rgba(192, 57, 43, 0.2);
  color: var(--hud-red-bright);
  border-color: rgba(192, 57, 43, 0.5);
  animation: micPulse 0.7s ease-in-out infinite;
  box-shadow: 0 0 14px rgba(192, 57, 43, 0.4);
}
@keyframes micPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

.send-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #8B1A1A, #C0392B);
  border: 1px solid rgba(192, 57, 43, 0.5);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 3px 10px rgba(192, 57, 43, 0.4);
}
.send-btn svg { width: 13px; height: 13px; }
.send-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 5px 18px rgba(192, 57, 43, 0.6);
  background: linear-gradient(135deg, #C0392B, #E74C3C);
}
.send-btn:active { transform: scale(0.95); }

.input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  padding: 0 3px;
}
#charCount {
  font-size: 9px;
  color: var(--text-muted);
  font-family: var(--font-hud);
  letter-spacing: 0.5px;
}
.voice-status {
  font-size: 10px;
  color: var(--arc-blue);
  font-family: var(--font-hud);
  letter-spacing: 0.5px;
}

/* ── Wake Indicator ── */
.wake-indicator {
  position: fixed;
  bottom: 120px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 8, 16, 0.95);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 10px;
  font-family: var(--font-hud);
  letter-spacing: 1px;
  color: var(--arc-blue-dim);
  backdrop-filter: blur(16px);
  z-index: 998;
  transition: all var(--transition);
  text-transform: uppercase;
}
.wake-indicator.hidden { opacity: 0; pointer-events: none; }

.wake-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hud-red-bright);
  animation: dotPulse 0.7s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(231, 76, 60, 0.7);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(192, 57, 43, 0.3); border-radius: 2px; }

/* ── Responsive ── */
@media (max-width: 480px) {
  :root { --panel-w: calc(100vw - 20px); --panel-h: calc(100vh - 130px); }
  .nova-panel { right: 10px; bottom: 100px; }
  #novaOrb { right: 18px; bottom: 18px; }
}

.hidden { display: none !important; }