:root {
  --bg-primary: #0d0d0f;
  --bg-secondary: #111214;
  --bg-tertiary: #0e0f11;
  --bg-elevated: #161618;
  --bg-input: #1c1c1f;
  --bg-hover: #1a1f1c;
  --bg-active: #1e2420;
  --text-normal: #e2e8f0;
  --text-muted: #94a3b8;
  --text-link: #00f3ff;
  --brand: #00f3ff;
  --brand-hover: #33f5ff;
  --veni-green: #00f3ff;
  --veni-green-soft: #00f3ff;
  --veni-cyan: #00f3ff;
  --veni-green-glow: rgba(0, 243, 255, 0.45);
  --accent: #00f3ff;
  --accent-color: #00f3ff;
  --accent-border: rgba(0, 243, 255, 0.15);
  --accent-bg: rgba(0, 243, 255, 0.03);
  --accent-glow: rgba(0, 243, 255, 0.12);
  --green: #4ade80;
  --red: #f43f5e;
  --yellow: #f59e0b;
  --orange: #fb923c;
  --border: rgba(0, 243, 255, 0.12);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-sm: 8px;
  --veni-side-inset: 18px;
  --veni-box-border: rgba(0, 243, 255, 0.14);
  --veni-box-bg: linear-gradient(180deg, rgba(0, 243, 255, 0.07) 0%, rgba(8, 14, 20, 0.55) 100%);
  --veni-box-bg-hover: linear-gradient(180deg, rgba(0, 243, 255, 0.12) 0%, rgba(8, 14, 20, 0.5) 100%);
  --veni-box-bg-active: linear-gradient(180deg, rgba(0, 243, 255, 0.18) 0%, rgba(10, 30, 40, 0.45) 100%);
  --veni-box-radius: 8px;
  --font: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100vh;
  overflow-y: auto;
  font-family: var(--font);
  background: var(--bg-tertiary);
  color: var(--text-normal);
}

.veni-sandbox-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: linear-gradient(90deg, #083344, #0e7490);
  color: #ecfeff;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 2px solid #00f3ff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.veni-sandbox-banner.hidden {
  display: none;
}

.veni-sandbox-banner strong {
  letter-spacing: 0.08em;
}

.veni-sandbox-banner-url {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.9;
}

body.veni-sandbox-active .app {
  margin-top: 44px;
  min-height: calc(100vh - 44px);
}

button,
input,
textarea,
select {
  font: inherit;
}

.app {
  display: grid;
  grid-template-columns: 72px 240px 1fr;
  min-height: 100vh;
}

.veni-app {
  grid-template-columns: 1fr;
  position: relative;
}

.veni-app .server-rail {
  display: none;
}

/* Shell: HUD stays full-width on top; body shifts when nav opens */
.veni-shell {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.veni-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.veni-app.sidebar-open .veni-body {
  margin-left: min(22vw, 300px);
}

.veni-app .main {
  width: 100%;
  flex: 1;
}

/* Drawer nav: hidden by default; CLICK orb in HUD opens it below header */
.veni-app .channel-sidebar {
  position: fixed;
  top: var(--veni-hud-offset, 128px);
  left: 0;
  bottom: 0;
  width: min(22vw, 300px);
  min-width: 240px;
  z-index: 9001;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.veni-app.sidebar-open .channel-sidebar {
  transform: translateX(0);
  pointer-events: auto;
}

body.veni-sandbox-active .veni-app .channel-sidebar {
  top: calc(var(--veni-hud-offset, 128px) + 44px);
}

.sidebar-backdrop {
  position: fixed;
  top: var(--veni-hud-offset, 128px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sidebar-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.veni-sandbox-active .sidebar-backdrop {
  top: calc(var(--veni-hud-offset, 128px) + 44px);
}

/* CLICK orb — below logo in HUD brand column */
.nav-orb-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: block;
  flex-shrink: 0;
}

.nav-orb-toggle-glow,
.nav-orb-toggle-ring-outer,
.nav-orb-toggle-ring,
.nav-orb-toggle-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.nav-orb-toggle-glow {
  width: 36px;
  height: 36px;
  background: radial-gradient(circle, var(--accent-glow, rgba(94, 234, 212, 0.3)) 0%, transparent 68%);
  animation: nav-drawer-glow-pulse 2.8s ease-in-out infinite;
}

.nav-orb-toggle-ring-outer {
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent-border, rgba(94, 234, 212, 0.24));
}

.nav-orb-toggle-ring {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--accent-border, rgba(94, 234, 212, 0.42));
  box-shadow: 0 0 20px var(--accent-glow, rgba(45, 212, 191, 0.35));
  animation: nav-drawer-ring-breathe 3s ease-in-out infinite;
}

.nav-orb-toggle-core {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, var(--accent-glow, rgba(94, 234, 212, 0.32)), rgba(8, 15, 18, 0.9));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 12px var(--accent-border, rgba(94, 234, 212, 0.22)), 0 0 14px var(--accent-glow, rgba(45, 212, 191, 0.28));
  animation: nav-drawer-core-pulse 2.2s ease-in-out infinite;
  overflow: hidden;
}

.nav-orb-toggle-glare {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.08) 28%, transparent 52%);
}

.nav-orb-toggle-label {
  position: relative;
  z-index: 1;
  font-size: 5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-color, #00f3ff);
  text-shadow: 0 0 8px var(--accent-glow, rgba(94, 234, 212, 0.7));
}

.nav-orb-toggle:hover .nav-orb-toggle-glow {
  opacity: 1;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%);
}

.nav-orb-toggle:hover .nav-orb-toggle-ring {
  border-color: var(--accent-color);
  box-shadow: 0 0 24px var(--accent-glow);
}

.nav-orb-toggle:hover .nav-orb-toggle-label {
  color: var(--text-normal, #afffce);
  text-shadow: 0 0 12px var(--accent-glow);
}

@keyframes nav-drawer-glow-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes nav-drawer-ring-breathe {
  0%, 100% { box-shadow: 0 0 16px var(--accent-glow); }
  50% { box-shadow: 0 0 32px var(--accent-glow); }
}

@keyframes nav-drawer-core-pulse {
  0%, 100% { box-shadow: inset 0 0 12px var(--accent-border), 0 0 14px var(--accent-glow); }
  50% { box-shadow: inset 0 0 18px var(--accent-border), 0 0 24px var(--accent-glow); }
}

.veni-sidebar {
  width: min(22vw, 300px);
  min-width: 240px;
  background: linear-gradient(180deg, #141719 0%, #0f1012 100%);
  border-right: 1px solid rgba(0, 243, 255, 0.08);
}

.veni-sidebar .sidebar-header {
  height: auto;
  min-height: 44px;
  margin: 12px var(--veni-side-inset) 8px;
  padding: 8px 12px;
  gap: 8px;
  justify-content: center;
  border: 1px solid var(--veni-box-border);
  border-radius: var(--veni-box-radius);
  background: var(--veni-box-bg);
  box-shadow: inset 0 0 14px rgba(0, 243, 255, 0.04);
}

.veni-sidebar .sidebar-logo {
  display: none;
}

.veni-sidebar .sidebar-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(180, 245, 255, 0.85);
  flex: 0 1 auto;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.veni-sidebar .sidebar-server-picker {
  cursor: default;
}

.veni-sidebar .sidebar-dropdown {
  color: #64748b;
  font-size: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.veni-sidebar .channel-list.veni-nav {
  padding: 4px var(--veni-side-inset) 10px;
  width: 100%;
  box-sizing: border-box;
}

.veni-nav .nav-group {
  width: 100%;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes nav-orb-glow-pulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.5; }
}

@keyframes nav-orb-ring-breathe {
  0%, 100% { box-shadow: 0 0 6px rgba(0, 243, 255, 0.15); }
  50% { box-shadow: 0 0 14px rgba(0, 243, 255, 0.35); }
}

/* Sidebar tab orbs — always visible, centered, pastel green; neon on hover/active */
.nav-orb {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.nav-orb-glow,
.nav-orb-ring,
.nav-orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
}

.nav-orb-glow {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--accent-glow, rgba(0, 243, 255, 0.12)) 0%, transparent 72%);
  animation: nav-orb-glow-pulse 3.4s ease-in-out infinite;
}

.nav-orb-ring {
  width: 16px;
  height: 16px;
  border: 1px solid var(--accent-border, rgba(0, 243, 255, 0.22));
  box-sizing: border-box;
  animation: nav-orb-ring-breathe 3.4s ease-in-out infinite;
}

.nav-orb-core {
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, var(--accent-glow, rgba(0, 243, 255, 0.18)), rgba(12, 18, 16, 0.92));
  box-shadow: inset 0 0 4px var(--accent-border, rgba(0, 243, 255, 0.12));
  overflow: visible;
}

.nav-orb .nav-orb-letter {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-size: 6px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  color: var(--text-muted) !important;
  text-shadow: none !important;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Hover = bright pastel neon green or theme accent */
.veni-nav .nav-group-header:hover .nav-orb-glow,
.veni-nav .nav-group-header:focus-visible .nav-orb-glow {
  opacity: 0.85;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation-duration: 2s;
}

.veni-nav .nav-group-header:hover .nav-orb-ring,
.veni-nav .nav-group-header:focus-visible .nav-orb-ring {
  border-color: var(--accent-color);
  box-shadow: 0 0 18px var(--accent-glow);
  animation-duration: 2s;
}

.veni-nav .nav-group-header:hover .nav-orb-core,
.veni-nav .nav-group-header:focus-visible .nav-orb-core {
  background: radial-gradient(circle at 50% 45%, var(--accent-glow), rgba(12, 18, 16, 0.85));
  box-shadow: inset 0 0 10px var(--accent-border), 0 0 12px var(--accent-glow);
}

.veni-nav .nav-group-header:hover .nav-orb .nav-orb-letter,
.veni-nav .nav-group-header:focus-visible .nav-orb .nav-orb-letter {
  color: var(--text-normal, #afffce) !important;
  text-shadow: 0 0 10px var(--accent-glow), 0 0 18px var(--accent-glow) !important;
}

/* Active/open section = sustained neon (not only on click moment) */
.nav-orb--lit .nav-orb-glow {
  opacity: 0.7;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation-duration: 2.2s;
}

.nav-orb--lit .nav-orb-ring {
  border-color: var(--accent-color);
  box-shadow: 0 0 16px var(--accent-glow);
  animation-duration: 2.2s;
}

.nav-orb--lit .nav-orb-core {
  background: radial-gradient(circle at 50% 45%, var(--accent-glow), rgba(12, 18, 16, 0.88));
}

.nav-orb--lit .nav-orb .nav-orb-letter {
  color: var(--accent-color) !important;
  text-shadow: 0 0 6px var(--accent-glow) !important;
}

.veni-nav .nav-group.has-active .nav-group-header:hover .nav-orb .nav-orb-letter,
.veni-nav .nav-group.has-active .nav-group-header .nav-orb .nav-orb-letter {
  color: var(--text-normal, #d4ffe8) !important;
  text-shadow: 0 0 12px var(--accent-glow), 0 0 20px var(--accent-glow) !important;
}

.veni-nav .nav-group-header {
  position: relative;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--accent-border, var(--veni-box-border));
  border-radius: var(--veni-box-radius);
  background: var(--accent-bg, var(--veni-box-bg));
  box-shadow: inset 0 0 14px var(--accent-glow, rgba(0, 243, 255, 0.04));
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  overflow: visible;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.veni-nav .nav-group-header .nav-group-label {
  flex: 0 1 auto;
  color: inherit;
  text-align: center;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.veni-nav .nav-group-header .arrow {
  margin-left: 0;
  color: inherit;
  font-size: 10px;
  opacity: 0.8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.veni-nav .nav-group-header:hover,
.veni-nav .nav-group.has-active .nav-group-header {
  background: var(--accent-bg);
  border-color: var(--accent-color);
  color: var(--text-normal, rgba(200, 255, 224, 0.85));
  box-shadow: inset 0 0 18px var(--accent-glow), 0 0 16px var(--accent-glow);
}

.veni-nav .nav-group-header:hover .nav-group-label,
.veni-nav .nav-group.has-active .nav-group-header .nav-group-label {
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-glow);
}

.veni-nav .nav-subs {
  display: none;
  width: 100%;
  padding: 4px 0 2px;
  margin: 0 0 2px;
  border-left: none;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
}

.veni-nav .nav-subs.open {
  display: flex;
}

.veni-nav .nav-group--solo .nav-group-header {
  justify-content: center;
}

.veni-nav .nav-group--solo.has-active .nav-group-header,
.veni-nav .nav-tab-solo.active {
  background: var(--accent-bg);
  border-color: var(--accent-color);
  color: var(--text-normal, #ecfdf5);
}

.veni-sidebar .channel {
  width: 100%;
  margin: 0;
  padding: 7px 12px;
  border-radius: var(--veni-box-radius);
  border: 1px solid var(--veni-box-border);
  background: var(--veni-box-bg);
  box-shadow: inset 0 0 12px rgba(0, 243, 255, 0.03);
  font-size: 12px;
  color: rgba(183, 245, 200, 0.42);
  text-align: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.veni-sidebar .channel:hover {
  background: var(--veni-box-bg-hover);
  border-color: rgba(0, 243, 255, 0.22);
  color: #afffce;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.45);
}

.veni-sidebar .channel.active {
  background: var(--veni-box-bg-active);
  border-color: rgba(0, 243, 255, 0.38);
  color: #d4ffe8;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
  box-shadow: inset 0 0 16px rgba(0, 243, 255, 0.08);
}

.veni-sidebar .channel .hash {
  display: none;
}

.veni-sidebar .channel .channel-badge {
  margin-left: 4px;
  flex-shrink: 0;
}

.veni-sidebar .user-status .status-dot.online {
  background: var(--accent-color, #00f3ff);
  box-shadow: 0 0 10px rgba(94, 234, 212, 0.7);
  animation: nav-orb-ring-breathe 2.4s ease-in-out infinite;
}

.room-policy-stats .stat-value-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
  flex-shrink: 0;
}

.stat-live-dot.off {
  background: #64748b;
  box-shadow: none;
}

.stat-value-muted {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.room-policy-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #334155;
  position: relative;
  transition: background 0.2s ease;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.toggle-row input:checked + .toggle-switch {
  background: #3b82f6;
}

.toggle-row input:checked + .toggle-switch::after {
  transform: translateX(20px);
}

.grace-seconds-input {
  max-width: 72px;
  text-align: center;
}

.policy-hint-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 13px;
}

.hidden-policy-template {
  display: none;
}

.server-rail {
  background: var(--bg-tertiary);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 8px;
  border-right: 1px solid #111214;
}

.server-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  cursor: default;
  transition: border-radius 0.15s ease;
}

.server-icon.active,
.server-icon:hover {
  border-radius: 16px;
}

.rail-divider {
  width: 32px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  margin: 4px 0;
}

.rail-bot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  background: var(--bg-secondary);
  transition: border-radius 0.15s ease, background 0.15s ease;
}

.rail-bot:hover,
.rail-bot.active {
  border-radius: 16px;
  background: var(--brand);
}

.channel-sidebar {
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-header {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid #111214;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.sidebar-chevron {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
}

.channel-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 8px 0;
}

.channel-category {
  padding: 16px 8px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.channel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin: 1px 0;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 15px;
  transition: background 0.1s ease, color 0.1s ease;
}

.channel:hover {
  background: var(--bg-hover);
  color: var(--text-normal);
}

.channel.active {
  background: var(--bg-active);
  color: var(--text-normal);
}

.channel .hash {
  font-size: 20px;
  opacity: 0.7;
}

.channel-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.channel-badge.hidden {
  display: none;
}

.user-panel {
  margin: 8px var(--veni-side-inset) 14px;
  padding: 8px 12px;
  border: 1px solid var(--veni-box-border);
  border-radius: var(--veni-box-radius);
  background: var(--veni-box-bg);
  box-shadow: inset 0 0 14px rgba(0, 243, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.veni-sidebar .user-panel {
  margin: 8px var(--veni-side-inset) 14px;
}

.user-avatar-btn {
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  line-height: 0;
}

.user-avatar-btn:hover .user-avatar {
  filter: brightness(1.12);
  box-shadow: 0 0 22px rgba(0, 243, 255, 0.45);
}

.user-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  background: transparent !important;
  object-fit: cover;
  object-position: center;
  border: none;
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.28);
  display: block;
  mix-blend-mode: screen;
  pointer-events: none;
}

video.user-avatar {
  object-fit: cover;
  mix-blend-mode: normal;
  background: #060c12;
}

.user-avatar-hint {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.45);
  margin-top: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.user-status {
  font-size: 11px;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.status-dot.online { background: var(--green); }
.status-dot.idle { background: var(--yellow); }
.status-dot.offline { background: var(--text-muted); }
.status-dot.error { background: var(--red); }

.main {
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.main-header {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #111214;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.main-header .hash {
  color: var(--text-muted);
  font-size: 22px;
}

.main-header h1 {
  font-size: 16px;
  font-weight: 600;
}

.header-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.view {
  display: none;
  animation: fadeIn 0.2s ease;
}

.view.active {
  display: block;
}

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

.message-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 2px 0;
}

.message:hover {
  background: rgba(0, 0, 0, 0.04);
  margin: 0 -8px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
}

.message-avatar.host { background: var(--brand); }
.message-avatar.music { background: var(--green); }
.message-avatar.system { background: var(--orange); }

.message-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.message-author {
  font-weight: 600;
  font-size: 15px;
}

.message-time {
  font-size: 11px;
  color: var(--text-muted);
}

.message-body {
  font-size: 15px;
  line-height: 1.375;
  color: var(--text-normal);
  word-break: break-word;
}

.message-body a {
  color: var(--text-link);
  text-decoration: none;
}

.message-body a:hover {
  text-decoration: underline;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--veni-box-bg);
  border-radius: var(--veni-box-radius);
  padding: 16px;
  border: 1px solid var(--veni-box-border);
  box-shadow: inset 0 0 14px rgba(0, 243, 255, 0.04);
}

.stat-card h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
}

.stat-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.panel {
  background: var(--veni-box-bg);
  border: 1px solid var(--veni-box-border);
  border-radius: var(--veni-box-radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 14px rgba(0, 243, 255, 0.04);
}

.panel h2 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-normal);
}

.form-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

input[type="text"],
input[type="password"],
input[type="datetime-local"],
input[type="number"],
textarea,
select {
  flex: 1;
  min-width: 180px;
  background: var(--bg-input);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-normal);
  padding: 10px 12px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 1px var(--brand);
}

textarea {
  min-height: 80px;
  resize: vertical;
  width: 100%;
}

.btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--brand-hover);
}

.btn-success {
  background: var(--green);
  color: white;
}

.btn-danger {
  background: var(--red);
  color: white;
}

.btn-secondary {
  background: var(--bg-input);
  color: var(--text-normal);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-hover);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.queue-list,
.track-list,
.meeting-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.queue-item,
.track-item,
.meeting-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  transition: background 0.1s ease;
}

.queue-item:hover,
.track-item:hover,
.meeting-item:hover {
  background: var(--bg-hover);
}

.queue-item.playing {
  border-left: 3px solid var(--green);
}

.track-meta,
.meeting-meta {
  flex: 1;
  min-width: 0;
}

.track-title,
.meeting-title {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist,
.meeting-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.now-playing {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #2b2d31 0%, #1a1b1e 100%);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.now-playing-art {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--green));
  display: grid;
  place-items: center;
  font-size: 28px;
}

.now-playing-info h2 {
  font-size: 18px;
  margin-bottom: 4px;
}

.now-playing-info p {
  color: var(--text-muted);
  font-size: 13px;
}

.player-controls {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge.live { background: rgba(35, 165, 89, 0.2); color: var(--green); }
.badge.scheduled { background: rgba(88, 101, 242, 0.2); color: #949cf7; }
.badge.ended { background: rgba(148, 155, 164, 0.2); color: var(--text-muted); }
.badge.queued { background: rgba(240, 178, 50, 0.2); color: var(--yellow); }

.members-sidebar {
  background: var(--bg-secondary);
  padding: 16px 8px;
  overflow-y: auto;
}

.members-sidebar h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 8px 8px;
}

.member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
}

.member:hover {
  background: var(--bg-hover);
}

.member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  position: relative;
}

.member-avatar.host { background: var(--brand); }
.member-avatar.music { background: var(--green); }

.member-avatar::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
}

.member-avatar.online::after { background: var(--green); }
.member-avatar.idle::after { background: var(--yellow); }
.member-avatar.offline::after { background: var(--text-muted); }
.member-avatar.error::after { background: var(--red); }

.member-name {
  font-size: 14px;
  font-weight: 500;
}

.member-role {
  font-size: 11px;
  color: var(--text-muted);
}

.voice-bar {
  position: fixed;
  bottom: 0;
  left: 312px;
  right: 280px;
  height: 52px;
  background: var(--bg-elevated);
  border-top: 1px solid #111214;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  z-index: 10;
}

.voice-bar.hidden {
  display: none;
}

.voice-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
}

.voice-info {
  flex: 1;
  min-width: 0;
}

.voice-title {
  font-size: 13px;
  font-weight: 600;
}

.voice-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.toast-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-width: 260px;
  box-shadow: var(--shadow);
  animation: slideIn 0.2s ease;
}

.toast.error { border-left-color: var(--red); }
.toast.success { border-left-color: var(--green); }

@keyframes slideIn {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: grid;
  place-items: center;
  z-index: 200;
}

.login-overlay.hidden {
  display: none;
}

.login-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 32px;
  width: min(400px, 90vw);
  box-shadow: var(--shadow);
  text-align: center;
}

.login-card h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.login-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 14px;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state .icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.search-box {
  margin-bottom: 12px;
}

.import-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.import-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.import-card.compact h3 {
  margin-bottom: 10px;
}

.import-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.import-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.import-preview {
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

.import-preview.hidden {
  display: none;
}

.import-preview strong {
  display: block;
  margin-bottom: 4px;
}

.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.drop-zone.dragover {
  border-color: var(--brand);
  background: rgba(88, 101, 242, 0.08);
}

.drop-zone-content .drop-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.drop-zone-content p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.upload-file-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upload-file-item {
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 8px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
}

.library-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tab-btn {
  border: none;
  background: var(--bg-input);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--brand);
  color: white;
}

.source-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(88, 101, 242, 0.2);
  color: #949cf7;
}

.source-badge.upload {
  background: rgba(35, 165, 89, 0.2);
  color: var(--green);
}

.source-badge.soundcloud {
  background: rgba(249, 115, 22, 0.2);
  color: var(--orange);
}

.source-badge.apple_music,
.source-badge.apple-music {
  background: rgba(252, 60, 68, 0.2);
  color: #fc3c44;
}

.badge.pending_approval { background: rgba(240, 178, 50, 0.2); color: var(--yellow); }
.badge.ready_to_promote { background: rgba(35, 165, 89, 0.2); color: var(--green); }
.badge.approved { background: rgba(88, 101, 242, 0.2); color: #949cf7; }
.badge.grace_period { background: rgba(240, 178, 50, 0.2); color: var(--yellow); }
.badge.final_warning { background: rgba(249, 115, 22, 0.2); color: var(--orange); }
.badge.waiting_room { background: rgba(242, 63, 67, 0.2); color: var(--red); }
.badge.camera_on { background: rgba(35, 165, 89, 0.2); color: var(--green); }

.countdown {
  font-size: 18px;
  font-weight: 700;
  min-width: 48px;
  text-align: center;
  color: var(--yellow);
}

.countdown.urgent { color: var(--red); animation: pulse 1s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.policy-alert {
  background: rgba(127, 59, 46, 0.35);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  margin-top: 8px;
  color: #fecaca;
}

.waiting-room-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fca5a5;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid rgba(239, 68, 68, 0.25);
  white-space: nowrap;
}

.waiting-room-btn {
  white-space: nowrap;
}

.wizard-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.wizard-step {
  border: 1px solid rgba(0, 243, 255, 0.2);
  background: rgba(0, 243, 255, 0.04);
  color: #86efac;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}

.wizard-step:hover {
  border-color: rgba(0, 243, 255, 0.4);
  color: #bbf7d0;
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.12);
}

.wizard-step.active {
  border-color: #4ade80;
  color: #ecfdf5;
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.2) 0%, rgba(74, 222, 128, 0.08) 100%);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.wizard-step.done {
  border-color: #4ade80;
  color: #86efac;
  background: rgba(74, 222, 128, 0.1);
}

.agp-step-panel.hidden {
  display: none;
}

.outreach-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.outreach-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  min-width: 110px;
}

.outreach-chip strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.outreach-chip.ok strong { color: #3ba55d; }
.outreach-chip.failed strong { color: #ed4245; }
.outreach-chip.pending strong { color: var(--text-muted); }

.outreach-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.outreach-filter.active {
  border-color: var(--accent);
  color: var(--text);
}

.outreach-table-wrap {
  margin-top: 12px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  max-height: 420px;
}

.outreach-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.outreach-table th,
.outreach-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.outreach-table th {
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 1;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.outreach-table tr:last-child td {
  border-bottom: none;
}

.outreach-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 24px !important;
}

.outreach-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.outreach-badge.ok {
  background: rgba(59, 165, 93, 0.18);
  color: #3ba55d;
}

.outreach-badge.failed {
  background: rgba(237, 66, 69, 0.18);
  color: #ed4245;
}

.outreach-badge.pending {
  background: rgba(148, 155, 164, 0.18);
  color: var(--text-muted);
}

.outreach-meta {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}

.outreach-error {
  color: #ed4245;
  font-size: 12px;
  margin-top: 4px;
  word-break: break-word;
}

.main-content {
  padding-bottom: 68px;
}

@media (max-width: 1100px) {
  .app {
    grid-template-columns: 72px 220px 1fr;
  }
  .members-sidebar {
    display: none;
  }
  .voice-bar {
    right: 0;
  }
}

@media (max-width: 768px) {
  .app {
    grid-template-columns: 1fr;
  }
  .server-rail {
    display: none;
  }
  .veni-app .channel-sidebar {
    width: min(82vw, 300px);
    min-width: 0;
    display: flex;
  }
  .veni-app.sidebar-open .veni-body {
    margin-left: min(82vw, 300px);
  }
  .voice-bar {
    left: 0;
  }
}

/* ==========================================
   SANDBOX MODE ACCENTS BYPASSED (Always Cyan/Teal)
   ========================================== */

/* ==========================================================================
   FUTURISTIC THEME CUSTOMIZATIONS (Neon, Tactical HUD, Aero Glass)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&family=Outfit:wght@200;400;600&display=swap');

/* Shared Futuristic Status Orb Base Styles & Animations */
.status-orb { width: 210px; height: 210px; position: relative; margin: 0 auto; cursor: pointer; transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s ease; }
.status-orb:hover { transform: scale(1.04); filter: brightness(1.1); }
.status-orb:active { transform: scale(0.98); }
.orb-glow { position: absolute; inset: -15px; border-radius: 9999px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%); animation: orb-glow-pulse 2.8s ease-in-out infinite; pointer-events: none; }
.orb-ring-outer { position: absolute; inset: 0; border-radius: 9999px; border: 1.5px solid var(--accent-border); transition: border-color 0.5s ease; }
.orb-ring { position: absolute; inset: 12px; border-radius: 9999px; border: 2px solid var(--accent-border); box-shadow: 0 0 20px var(--accent-glow); animation: orb-ring-breathe 3s ease-in-out infinite; transition: border-color 0.5s ease, box-shadow 0.5s ease; }
.orb-core { position: absolute; inset: 24px; border-radius: 9999px; transition: all 0.5s ease; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--accent-border); }

.orb-label-top { font-size: 11px; font-family: 'Space Grotesk', 'Inter', monospace; letter-spacing: 4px; color: var(--accent-color); text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.orb-label-main { font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700; letter-spacing: 1px; line-height: 1; text-transform: uppercase; transition: font-size 0.3s ease, color 0.3s ease; }
.orb-text-stack { text-align: center; z-index: 10; position: relative; width: 100%; max-width: 132px; margin: 0 auto; padding: 0 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.orb-label-live { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.4px; line-height: 1.15; text-transform: uppercase; width: 100%; max-width: 128px; margin: 0 auto; min-height: 36px; max-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; padding: 0 2px; transition: font-size 0.25s ease, color 0.25s ease, opacity 0.25s ease; }
.orb-label-live.short { font-size: 24px; letter-spacing: 0.8px; max-height: 32px; min-height: 30px; }
.orb-label-live.medium { font-size: 17px; letter-spacing: 0.5px; }
.orb-label-live.long { font-size: 12px; letter-spacing: 0.25px; line-height: 1.2; max-height: 48px; }
.orb-label-live.tip { color: #fcd34d; text-shadow: 0 0 10px rgba(252, 211, 77, 0.55); font-size: 13px; letter-spacing: 0.3px; }
.orb-label-live.warn { color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, 0.55); }
.orb-label-live.error { color: #fb7185; text-shadow: 0 0 10px rgba(251, 113, 133, 0.55); }
.orb-label-sub { font-size: 11px; font-family: 'Space Grotesk', 'Inter', monospace; letter-spacing: 2px; margin-top: 6px; text-transform: uppercase; font-weight: 600; }

@keyframes orb-glow-pulse { 0%,100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes orb-ring-breathe { 0%,100% { box-shadow: 0 0 15px var(--accent-glow); } 50% { box-shadow: 0 0 30px var(--accent-glow); } }

/* Active State (Themed - Exact match from active theme) */
.active-orb .orb-ring-outer { border-color: var(--accent-border); }
.active-orb .orb-ring { border-color: var(--accent-color); box-shadow: 0 0 25px var(--accent-glow), inset 0 0 15px var(--accent-glow); }
.active-orb .orb-core { background: radial-gradient(circle at 50% 25%, var(--accent-glow) 0%, rgba(18, 19, 21, 0.95) 75%); box-shadow: inset 0 0 36px var(--accent-glow), 0 0 40px var(--accent-glow); border-color: var(--accent-border); animation: pulse-active 2.2s ease-in-out infinite; }
.active-orb .orb-label-top { color: var(--text-normal); text-shadow: 0 0 10px var(--accent-glow); }
.active-orb .orb-label-main { font-size: 42px; font-weight: 800; letter-spacing: 2px; color: var(--accent-color); text-shadow: 0 0 15px var(--accent-glow), 0 0 30px var(--accent-glow); animation: main-letter-pulse 2.8s ease-in-out infinite; }
.active-orb .orb-label-live:not(.tip):not(.warn):not(.error) { color: var(--accent-color); text-shadow: 0 0 12px var(--accent-glow), 0 0 22px var(--accent-glow); }
.active-orb .orb-label-sub { color: var(--accent-color); text-shadow: 0 0 8px var(--accent-glow); }

/* Standby State (Muted White/Theme-specific) */
.inactive-orb .orb-ring-outer { border-color: var(--accent-border); opacity: 0.5; }
.inactive-orb .orb-ring { border-color: var(--accent-border); box-shadow: 0 0 15px var(--accent-glow); animation: orb-ring-breathe 4s ease-in-out infinite; }
.inactive-orb .orb-core { background: radial-gradient(circle at 50% 25%, var(--accent-bg) 0%, rgba(8, 15, 18, 0.95) 75%); box-shadow: inset 0 0 28px var(--accent-glow); border-color: var(--accent-border); animation: pulse-standby 3.5s ease-in-out infinite; }
.inactive-orb .orb-label-main { font-size: 32px; font-weight: 700; letter-spacing: 1px; color: #ffffff; text-shadow: 0 0 14px rgba(255, 255, 255, 0.45); }
.inactive-orb .orb-label-live:not(.tip):not(.warn):not(.error) { color: #14b8a6; text-shadow: 0 0 8px rgba(20, 184, 166, 0.45); }
.inactive-orb .orb-label-sub { color: var(--accent-color); opacity: 0.8; }

.scan-line { position: absolute; left: 30px; right: 30px; height: 3px; background: linear-gradient(transparent, var(--accent-color), transparent); top: 40%; box-shadow: 0 0 20px var(--accent-color); transition: all 0.5s ease; }
.active-orb .scan-line { animation: scan 2s linear infinite; }
.inactive-orb .scan-line { background: linear-gradient(transparent, var(--accent-color), transparent); box-shadow: 0 0 15px var(--accent-color); animation: scan 4s linear infinite; }

/* Bright green — Room VPN live only */
.vpn-orb .orb-ring-outer { border-color: rgba(16, 185, 129, 0.3); }
.vpn-orb .orb-ring { border-color: rgba(16, 185, 129, 0.7); box-shadow: 0 0 30px rgba(16, 185, 129, 0.5); animation: spin 4s linear infinite; }
.vpn-orb .orb-core { background: radial-gradient(circle at 50% 25%, rgba(16, 185, 129, 0.45) 0%, rgba(10, 24, 20, 0.95) 70%); box-shadow: inset 0 0 36px rgba(16, 185, 129, 0.25), 0 0 40px rgba(16, 185, 129, 0.35); border-color: rgba(16, 185, 129, 0.4); animation: pulse-vpn 1.4s ease-in-out infinite; }
.vpn-orb .orb-label-main { font-size: 28px; font-weight: 700; letter-spacing: 1px; color: #34d399; text-shadow: 0 0 15px rgba(16, 185, 129, 0.7); }
.vpn-orb .scan-line { background: linear-gradient(transparent, #34d399, transparent); box-shadow: 0 0 20px #10b981; animation: scan 2.5s linear infinite; }

@keyframes pulse-vpn {
  0%, 100% { box-shadow: inset 0 0 30px rgba(16, 185, 129, 0.25), 0 0 35px rgba(16, 185, 129, 0.3); border-color: rgba(16, 185, 129, 0.35); }
  50% { box-shadow: inset 0 0 45px rgba(16, 185, 129, 0.4), 0 0 55px rgba(16, 185, 129, 0.55); border-color: rgba(16, 185, 129, 0.6); }
}
@keyframes pulse-active {
  0%, 100% { box-shadow: inset 0 0 30px var(--accent-glow), 0 0 35px var(--accent-glow); border-color: var(--accent-border); }
  50% { box-shadow: inset 0 0 45px var(--accent-glow), 0 0 55px var(--accent-glow); border-color: var(--accent-color); }
}
@keyframes pulse-standby {
  0%, 100% { box-shadow: inset 0 0 20px var(--accent-glow), 0 0 15px var(--accent-glow); border-color: var(--accent-border); }
  50% { box-shadow: inset 0 0 30px var(--accent-glow), 0 0 25px var(--accent-glow); border-color: var(--accent-border); }
}
@keyframes scan { 0% { top: 35%; } 100% { top: 65%; } }

/* --- 1. CHROMA-FLUX NEON (Cyberpunk Synthwave) --- */
html.theme-neon {
  --bg-primary: #050508;
  --bg-secondary: #0a0a0f;
  --bg-tertiary: #07070a;
  --bg-elevated: #0f0f18;
  --bg-input: #12121e;
  --bg-hover: rgba(255, 0, 127, 0.12);
  --bg-active: rgba(255, 0, 127, 0.22);
  --text-normal: #f3f4f6;
  --text-muted: #9ca3af;
  --text-link: #ff007f;
  --brand: #ff007f;
  --brand-hover: #00f3ff;
  --veni-green: #ff007f;
  --border: rgba(255, 0, 127, 0.18);
  --veni-box-border: rgba(0, 243, 255, 0.25);
  --veni-box-bg: linear-gradient(180deg, rgba(255, 0, 127, 0.08) 0%, rgba(5, 5, 8, 0.8) 100%);
  --font: 'Space Grotesk', 'Orbitron', system-ui, sans-serif;
  --accent-color: #ff007f;
  --accent-border: rgba(255, 0, 127, 0.18);
  --accent-bg: rgba(255, 0, 127, 0.08);
  --accent-glow: rgba(255, 0, 127, 0.15);
}

html.theme-neon .status-orb .orb-ring-outer {
  border-color: rgba(255, 0, 127, 0.4);
}
html.theme-neon .status-orb .orb-ring {
  border-color: rgba(0, 243, 255, 0.85);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.4), inset 0 0 15px rgba(255, 0, 127, 0.4);
}
html.theme-neon .status-orb .orb-core {
  background: radial-gradient(circle at 50% 25%, rgba(0, 243, 255, 0.3) 0%, rgba(5, 5, 8, 0.95) 75%);
  box-shadow: inset 0 0 30px rgba(0, 243, 255, 0.25), 0 0 40px rgba(255, 0, 127, 0.35);
  border-color: rgba(0, 243, 255, 0.4);
}
html.theme-neon .status-orb .orb-label-main {
  color: #00f3ff;
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.85), 0 0 30px rgba(255, 0, 127, 0.65);
}
html.theme-neon .status-orb .orb-label-top,
html.theme-neon .status-orb .orb-label-sub {
  color: #ff007f;
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.5);
}
html.theme-neon .scan-line {
  background: linear-gradient(transparent, #ff007f, transparent);
  box-shadow: 0 0 20px #ff007f;
}

/* --- 2. HOLO-GRID TACTICAL HUD (Sci-Fi Military HUD) --- */
html.theme-hud {
  --bg-primary: #0a0f1d;
  --bg-secondary: #0d1527;
  --bg-tertiary: #080c16;
  --bg-elevated: #111a30;
  --bg-input: #15223c;
  --bg-hover: rgba(96, 165, 250, 0.15);
  --bg-active: rgba(96, 165, 250, 0.25);
  --text-normal: #e2e8f0;
  --text-muted: #94a3b8;
  --text-link: #60a5fa;
  --brand: #60a5fa;
  --brand-hover: #fbbf24;
  --veni-green: #60a5fa;
  --border: rgba(96, 165, 250, 0.2);
  --veni-box-border: rgba(96, 165, 250, 0.3);
  --veni-box-bg: linear-gradient(180deg, rgba(96, 165, 250, 0.08) 0%, rgba(10, 15, 29, 0.85) 100%);
  --font: 'Space Grotesk', 'Share Tech Mono', monospace;
  --accent-color: #60a5fa;
  --accent-border: rgba(96, 165, 250, 0.2);
  --accent-bg: rgba(96, 165, 250, 0.08);
  --accent-glow: rgba(96, 165, 250, 0.15);
}
html.theme-hud body {
  background-image: radial-gradient(rgba(96, 165, 250, 0.09) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
}
html.theme-hud .status-orb .orb-ring-outer {
  border-color: rgba(96, 165, 250, 0.4);
}
html.theme-hud .status-orb .orb-ring {
  border-color: rgba(251, 191, 36, 0.8);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.35), inset 0 0 12px rgba(96, 165, 250, 0.3);
  animation: spin 10s linear infinite !important;
}
html.theme-hud .status-orb .orb-core {
  background: radial-gradient(circle at 50% 25%, rgba(96, 165, 250, 0.25) 0%, rgba(10, 15, 29, 0.95) 75%);
  box-shadow: inset 0 0 25px rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.3);
}
html.theme-hud .status-orb .orb-label-main {
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.8);
}
html.theme-hud .status-orb .orb-label-top,
html.theme-hud .status-orb .orb-label-sub {
  color: #60a5fa;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}
html.theme-hud .scan-line {
  background: linear-gradient(transparent, #fbbf24, transparent);
  box-shadow: 0 0 15px #fbbf24;
}

/* --- 3. AERO-GLASS MINIMALIST (Clean Frosted Glass) --- */
html.theme-glass {
  --bg-primary: rgba(13, 13, 18, 0.6);
  --bg-secondary: rgba(20, 20, 28, 0.65);
  --bg-tertiary: #040508;
  --bg-elevated: rgba(28, 28, 38, 0.7);
  --bg-input: rgba(255, 255, 255, 0.05);
  --bg-hover: rgba(255, 255, 255, 0.08);
  --bg-active: rgba(255, 255, 255, 0.12);
  --text-normal: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-link: #2dd4bf;
  --brand: #2dd4bf;
  --brand-hover: #34d399;
  --veni-green: #2dd4bf;
  --border: rgba(255, 255, 255, 0.08);
  --veni-box-border: rgba(255, 255, 255, 0.12);
  --veni-box-bg: rgba(255, 255, 255, 0.03);
  --veni-box-bg-hover: rgba(255, 255, 255, 0.05);
  --font: 'Outfit', 'Inter', sans-serif;
  --accent-color: #2dd4bf;
  --accent-border: rgba(255, 255, 255, 0.08);
  --accent-bg: rgba(255, 255, 255, 0.03);
  --accent-glow: rgba(45, 212, 191, 0.15);
}
html.theme-glass body {
  background: radial-gradient(circle at 10% 20%, #0c1824 0%, #03070b 90%) !important;
}
html.theme-glass .panel,
html.theme-glass .stat-card,
html.theme-glass .channel-sidebar,
html.theme-glass .veni-guard-hud {
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
}
html.theme-glass .status-orb .orb-ring-outer {
  border-color: rgba(255, 255, 255, 0.1);
}
html.theme-glass .status-orb .orb-ring {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.15);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morphBlob 12s ease-in-out infinite !important;
}
html.theme-glass .status-orb .orb-core {
  background: radial-gradient(circle at 50% 25%, rgba(45, 212, 191, 0.1) 0%, rgba(4, 5, 8, 0.9) 75%);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 60% 40% 30% 70% / 50% 30% 70% 50%;
  animation: morphBlob 10s ease-in-out infinite !important;
}
html.theme-glass .status-orb .orb-label-main {
  color: #2dd4bf;
  text-shadow: 0 0 12px rgba(45, 212, 191, 0.5);
}
html.theme-glass .status-orb .orb-label-top {
  color: #fff;
  opacity: 0.8;
}
html.theme-glass .status-orb .orb-label-sub {
  color: #34d399;
}
html.theme-glass .scan-line {
  background: linear-gradient(transparent, rgba(45, 212, 191, 0.3), transparent);
  box-shadow: none;
}

@keyframes morphBlob {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
  33% { border-radius: 60% 40% 50% 50% / 30% 60% 40% 70%; transform: rotate(120deg); }
  66% { border-radius: 50% 50% 30% 70% / 60% 40% 60% 30%; transform: rotate(240deg); }
}

/* --- Theme button selector states --- */
.theme-btn.active {
  border-color: var(--brand) !important;
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.25);
  background: var(--bg-hover) !important;
}

/* Mild inviting pulse for main ACTIVE letters in orb */
@keyframes main-letter-pulse {
  0%, 100% { opacity: 0.95; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.015); }
}

/* Attraction cards — main overview hero (4 options around the guard orb) */
.attraction-hero {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.attraction-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  justify-content: center;
  align-items: stretch;
  max-width: 520px;
  margin: 0 auto;
}
.attraction-card {
  width: 100%;
  min-width: 0;
  background: linear-gradient(180deg, rgba(15, 15, 22, 0.92) 0%, rgba(10, 12, 16, 0.96) 100%);
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 14px;
  padding: 13px 15px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  min-height: 82px;
  transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.32s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.attraction-card:hover {
  transform: translateY(-9px) scale(1.035);
  border-color: rgba(103, 232, 249, 0.65);
  box-shadow: 0 18px 40px -6px rgba(0, 243, 255, 0.25), 0 8px 22px rgba(0,0,0,0.45);
}
.attraction-card:active {
  transform: translateY(-1px) scale(0.985);
}
.ac-content { flex: 1; min-width: 0; }
.ac-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}
.ac-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-color);
  opacity: 0.95;
}
.ac-icon {
  color: var(--accent-color);
  font-size: 13px;
  opacity: 0.75;
}
.ac-value {
  font-family: 'Space Grotesk', 'Inter', monospace;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -1px;
  margin: 2px 0 2px;
}
.ac-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.ac-side {
  width: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: width 0.32s cubic-bezier(0.23,1,0.32,1), opacity 0.25s ease;
  border-left: 1px solid var(--accent-border);
  padding-left: 0;
  margin-left: 0;
}
.attraction-card:hover .ac-side {
  width: 108px;
  opacity: 1;
  padding-left: 12px;
  margin-left: 8px;
  transform: translateX(2px);
}
.attraction-card:hover .ac-content {
  transform: translateX(-3px);
}
.ac-opt {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent-color);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.ac-opt:hover {
  background: var(--accent-glow);
  border-color: var(--accent-color);
  color: #fff;
  transform: translateX(1px);
}

/* Transient states while starting/stopping guard (for orb) */
.status-orb.starting .orb-core,
.status-orb.stopping .orb-core {
  animation: pulse-active 0.6s ease-in-out infinite !important;
  border-color: #fbbf24 !important;
}
.status-orb.starting .orb-label-main,
.status-orb.stopping .orb-label-main {
  color: #fbbf24 !important;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.7) !important;
}
/* ── Hollow neon bot glyphs (same language as HUD shield orb) ───── */
.neon-bot-glyph {
  --neon: var(--accent-color, #00f3ff);
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 243, 255, 0.28);
  background: radial-gradient(circle at 50% 45%, rgba(0, 243, 255, 0.04) 0%, rgba(6, 12, 18, 0.55) 68%);
  box-shadow: inset 0 0 8px rgba(0, 243, 255, 0.03), 0 0 10px rgba(0, 243, 255, 0.08);
}
.neon-bot-glyph i {
  font-size: 14px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.15px var(--neon);
  paint-order: stroke fill;
  filter: drop-shadow(0 0 4px rgba(0, 243, 255, 0.4));
}
/* LIVE — filled + pulse (duration from --pulse-dur when set) */
.neon-bot-glyph.is-online {
  border-color: rgba(0, 243, 255, 0.7);
  background: radial-gradient(circle at 50% 45%, rgba(0, 243, 255, 0.55) 0%, rgba(0, 243, 255, 0.12) 55%, rgba(6, 12, 18, 0.5) 78%);
  box-shadow: inset 0 0 12px rgba(0, 243, 255, 0.25), 0 0 14px rgba(0, 243, 255, 0.4);
  animation: neon-bot-core-fill var(--pulse-dur, 1.9s) ease-in-out infinite;
}
.neon-bot-glyph.is-online i {
  -webkit-text-stroke-color: #e0fcff;
  animation: neon-bot-stroke-pulse var(--pulse-dur, 1.9s) ease-in-out infinite;
}
.neon-bot-glyph.pulse-fast { --pulse-dur: 1.05s; }
.neon-bot-glyph.pulse-mid  { --pulse-dur: 1.9s; }
.neon-bot-glyph.pulse-slow { --pulse-dur: 3.4s; }
/* OFF — hollow cyan, static, full color (not gray) */
.neon-bot-glyph.is-offline {
  opacity: 1;
  border-color: rgba(0, 243, 255, 0.45);
  border-style: solid;
  box-shadow: none;
  background: radial-gradient(circle at 50% 45%, transparent 0%, rgba(6, 12, 18, 0.55) 70%);
  animation: none !important;
}
.neon-bot-glyph.is-offline i {
  -webkit-text-stroke-color: #00f3ff;
  filter: drop-shadow(0 0 3px rgba(0, 243, 255, 0.3));
  animation: none !important;
}
.neon-bot-glyph.is-error {
  border-color: rgba(248, 113, 113, 0.35);
  animation: neon-bot-core-fill-error 2.4s ease-in-out infinite;
}
.neon-bot-glyph.is-error i {
  -webkit-text-stroke-color: #f87171;
  animation: neon-bot-stroke-pulse-error 2.2s ease-in-out infinite;
}
@keyframes neon-bot-core-fill {
  0%, 100% {
    border-color: rgba(0, 243, 255, 0.22);
    background: radial-gradient(circle at 50% 45%, rgba(0, 243, 255, 0.06) 0%, rgba(6, 12, 18, 0.55) 68%);
    box-shadow: inset 0 0 8px rgba(0, 243, 255, 0.04), 0 0 10px rgba(0, 243, 255, 0.1);
  }
  50% {
    border-color: rgba(0, 243, 255, 0.65);
    background: radial-gradient(circle at 50% 45%, rgba(0, 243, 255, 0.42) 0%, rgba(0, 243, 255, 0.08) 55%, rgba(6, 12, 18, 0.4) 72%);
    box-shadow: inset 0 0 16px rgba(0, 243, 255, 0.18), 0 0 20px rgba(0, 243, 255, 0.4);
  }
}
@keyframes neon-bot-stroke-pulse {
  0%, 100% {
    -webkit-text-stroke-color: #00f3ff;
    filter: drop-shadow(0 0 4px rgba(0, 243, 255, 0.35));
  }
  50% {
    -webkit-text-stroke-color: #66f7ff;
    filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.55));
  }
}
@keyframes neon-bot-core-fill-error {
  0%, 100% {
    border-color: rgba(248, 113, 113, 0.25);
    background: radial-gradient(circle at 50% 45%, rgba(248, 113, 113, 0.06) 0%, rgba(12, 8, 10, 0.55) 68%);
  }
  50% {
    border-color: rgba(248, 113, 113, 0.55);
    background: radial-gradient(circle at 50% 45%, rgba(248, 113, 113, 0.35) 0%, rgba(12, 8, 10, 0.4) 70%);
  }
}
@keyframes neon-bot-stroke-pulse-error {
  0%, 100% { -webkit-text-stroke-color: #f87171; }
  50% { -webkit-text-stroke-color: #fca5a5; }
}

/* Server rail — hollow neon instead of emoji */
.rail-bot.neon-rail {
  font-size: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0, 243, 255, 0.05) 0%, var(--bg-secondary, #111) 70%);
  border: 1.5px solid rgba(0, 243, 255, 0.2);
}
.rail-bot.neon-rail i {
  font-size: 16px;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--accent-color, #00f3ff);
  filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.35));
}
.rail-bot.neon-rail:hover,
.rail-bot.neon-rail.active {
  background: radial-gradient(circle at 50% 45%, rgba(0, 243, 255, 0.4) 0%, rgba(0, 243, 255, 0.12) 55%, var(--brand, #00f3ff) 100%);
  border-color: rgba(0, 243, 255, 0.55);
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.35);
}
.rail-bot.neon-rail:hover i,
.rail-bot.neon-rail.active i {
  -webkit-text-stroke-color: #e0fcff;
  filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.6));
}

/* Avatar studio (dashboard) — mirrors monitor */
.av-studio-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(2, 6, 12, 0.72); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 16px;
}
.av-studio {
  width: min(520px, 100%); max-height: 90vh; overflow: auto;
  border-radius: 16px; border: 1px solid rgba(0, 243, 255, 0.22);
  background: linear-gradient(180deg, rgba(8, 18, 28, 0.98), rgba(4, 8, 14, 0.98));
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.12); color: #e2e8f0; padding: 16px;
}
.av-studio h2 { margin: 0; font-size: 15px; color: #00f3ff; text-transform: uppercase; letter-spacing: 0.06em; }
.av-studio .av-sub { font-size: 11px; color: rgba(226,232,240,0.5); margin: 4px 0 12px; }
.av-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.av-slot { aspect-ratio: 1; border-radius: 12px; border: 1.5px solid rgba(0,243,255,0.22); overflow: hidden; background: #060c12; position: relative; }
.av-slot img, .av-slot video { width: 100%; height: 100%; object-fit: cover; }
.av-slot.is-empty { display: grid; place-items: center; color: rgba(0,243,255,0.55); font-size: 10px; cursor: pointer; text-transform: uppercase; }
.av-slot.is-active { border-color: #00f3ff; box-shadow: 0 0 14px rgba(0,243,255,0.35); }
.av-chip { display: inline-flex; gap: 4px; align-items: center; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(0,243,255,0.2); background: rgba(0,243,255,0.05); color: #cbd5e1; font-size: 11px; cursor: pointer; }
.av-chip.is-on { border-color: rgba(0,243,255,0.55); background: rgba(0,243,255,0.15); color: #00f3ff; }
.av-preview-frame { width: 220px; height: 220px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(0,243,255,0.45); }
.av-preview-frame img, .av-preview-frame video { width: 100%; height: 100%; object-fit: cover; }
.av-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.av-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.av-btn { padding: 8px 14px; border-radius: 8px; border: 1px solid rgba(0,243,255,0.35); background: rgba(0,243,255,0.15); color: #00f3ff; cursor: pointer; font-size: 12px; font-weight: 600; }
.av-btn.ghost { background: transparent; border-color: rgba(148,163,184,0.3); color: #94a3b8; }
.av-editor-controls label { display: grid; grid-template-columns: 80px 1fr; gap: 8px; font-size: 11px; margin: 6px 0; color: #94a3b8; }
.av-editor-controls input[type=range] { accent-color: #00f3ff; width: 100%; }
