/* ==========================================================================
   PRO TELEPROMPTER - PROFESSIONAL STYLING SYSTEM
   Mobile-Optimized & Studio Rig Ready (100dvh, Touch Gestures, Glass HUD)
   ========================================================================== */

:root {
  /* Obsidian Black Palette */
  --bg-pure-black: #050507;
  --bg-surface: #0a0a0e;
  --bg-surface-elevated: #111116;
  --bg-surface-glass: rgba(10, 10, 14, 0.88);
  --bg-card: #15151c;
  --border-subtle: rgba(212, 175, 55, 0.16);
  --border-strong: rgba(212, 175, 55, 0.38);

  /* Brushed Metallic Gold Tokens */
  --gold-solid: #d4af37;
  --gold-light: #f7ebb0;
  --gold-bright: #ffd700;
  --gold-dark: #997517;
  --gold-bronze: #7c5d10;
  --gold-gradient: linear-gradient(135deg, #f7ebb0 0%, #e6c875 25%, #d4af37 55%, #b8860b 85%, #997517 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-glow-intense: rgba(212, 175, 55, 0.6);

  /* Accents */
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-gold: #d4af37;
  --accent-gold-glow: rgba(212, 175, 55, 0.35);
  --accent-cyan: #38bdf8;
  --accent-rose: #f43f5e;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #c4c4cc;
  --text-muted: #8a8a96;
  --text-dim: #5c5c68;
  --text-gold: #e6c875;

  /* Dynamic Prompter Variables */
  --prompter-font-size: 42px;
  --prompter-line-height: 1.5;
  --prompter-letter-spacing: 0px;
  --prompter-text-color: #ffffff;
  --prompter-width: 85%;
  --prompter-text-align: left;
  --prompter-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --prompter-text-transform: none;
  --guide-opacity: 0.65;
  --guide-color: var(--gold-solid);
  --camera-dimmer: 0.65;

  /* Elevation & Blur */
  --glass-blur: blur(20px);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  background-color: var(--bg-pure-black);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Base Utility Classes */
.hidden {
  display: none !important;
}

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

/* ==========================================================================
   APP CONTAINER & VIEW SWITCHING
   ========================================================================== */

#app-root {
  width: 100%;
  height: 100%;
  height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   VIEW 1: EDITOR / SETUP MODE
   ========================================================================== */

#editor-view {
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-pure-black);
  overflow: hidden;
  z-index: 10;
}

/* Top App Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
  gap: 12px;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  color: #050507;
  font-weight: 800;
  box-shadow: 0 0 16px var(--gold-glow);
  flex-shrink: 0;
}

.brand-info h1 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.brand-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-solid);
  padding: 2px 5px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.brand-info p {
  font-size: 11px;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Status Indicators */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 11px;
  color: var(--text-secondary);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-dim);
}

.status-dot.active {
  background-color: var(--gold-solid);
  box-shadow: 0 0 8px var(--gold-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  user-select: none;
  text-decoration: none;
  font-family: inherit;
  min-height: 38px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: #181822;
  border-color: var(--border-strong);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #050507;
  font-weight: 700;
  box-shadow: 0 2px 14px var(--gold-glow);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover, .btn-primary:active {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--gold-glow-intense);
}

.btn-icon-only {
  padding: 8px;
  border-radius: var(--radius-md);
  min-width: 38px;
}

/* Mobile Tab Switcher (Visible on small screens) */
.mobile-tab-bar {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 4px 12px;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.mobile-tab-btn.active {
  background: var(--bg-surface-elevated);
  color: var(--gold-solid);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Editor Workspace Layout */
.editor-workspace {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Main Writing Area */
.editor-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--bg-pure-black);
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
  height: 100%;
}

/* Script Formatting Toolbar */
.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 8px;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.toolbar-divider {
  width: 1px;
  height: 18px;
  background: var(--border-subtle);
  margin: 0 2px;
}

.tool-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.tool-btn:hover, .tool-btn:active {
  background: #242428;
  color: var(--text-primary);
}

.tool-btn.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

/* Editor Text Area Container */
.editor-textarea-wrap {
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.script-textarea {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.6;
  font-family: inherit;
  padding: 8px;
  caret-color: var(--accent-emerald);
}

.script-textarea::placeholder {
  color: var(--text-dim);
}

/* Editor Bottom Stats Bar */
.editor-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  flex-shrink: 0;
}

.metric-items {
  display: flex;
  align-items: center;
  gap: 14px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
}

.metric-val {
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.metric-highlight {
  color: var(--accent-gold);
}

/* Sidebar Settings Panel */
.editor-sidebar {
  width: 360px;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
}

.sidebar-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-header h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.sidebar-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));
}

.settings-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.control-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.control-val {
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

/* Custom Range Sliders */
.slider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #27272a;
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 2px solid var(--gold-solid);
  cursor: pointer;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Button Group Segmented Controls */
.segmented-control {
  display: flex;
  background: #111116;
  padding: 3px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  gap: 2px;
}

.seg-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-family: inherit;
  min-height: 32px;
}

.seg-btn.active {
  background: var(--gold-gradient);
  color: #050507;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--gold-glow);
}

/* Custom Select Dropdowns */
.custom-select {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  outline: none;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  min-height: 38px;
}

/* Toggle Switch */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-toggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #27272a;
  border-radius: 34px;
  transition: var(--transition-fast);
}

.slider-toggle:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: var(--transition-fast);
}

input:checked + .slider-toggle {
  background: var(--gold-gradient);
}

input:checked + .slider-toggle:before {
  transform: translateX(20px);
}

/* Color Presets Picker */
.color-options {
  display: flex;
  gap: 12px;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.color-dot.active {
  border-color: var(--gold-solid);
  box-shadow: 0 0 12px var(--gold-glow);
  transform: scale(1.1);
}

/* Mobile Sticky Bottom Launch Bar */
.mobile-bottom-bar {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
}

.btn-mobile-launch {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--accent-emerald-glow);
}

/* ==========================================================================
   VIEW 2: LIVE PROMPTER MODE (Hardware & Pure Black)
   ========================================================================== */

#prompter-view {
  width: 100%;
  height: 100%;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--bg-pure-black);
  overflow: hidden;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

/* Live Viewport & Hardware Mirror Transforms */
.prompter-viewport-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: var(--bg-pure-black);
}

/* Camera Video Feed Layer */
.prompter-camera-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  background: #000;
}

.prompter-camera-layer.mirrored {
  transform: scaleX(-1);
}

.prompter-camera-dimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: var(--camera-dimmer, 0.65);
  z-index: 2;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.prompter-scroller {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  z-index: 5;
}

.prompter-scroller::-webkit-scrollbar {
  display: none;
}

/* Mirror Transformations on Full Viewport */
.prompter-viewport-container.normal,
.prompter-viewport-container.mirror-normal {
  transform: none !important;
}

/* Hardware 70/30 Glass Beamsplitter: Horizontal Flip Only */
.prompter-viewport-container.mirror-x {
  transform: scaleX(-1) !important;
}

/* Inverted Rig: 180 Degree Physical Rotation */
.prompter-viewport-container.mirror-xy {
  transform: rotate(180deg) !important;
}

.prompter-content-wrapper {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Prompter Text Column */
.prompter-text-column {
  width: var(--prompter-width);
  max-width: 100%;
  padding-top: 35vh;
  padding-bottom: 60vh;
  font-size: var(--prompter-font-size);
  line-height: var(--prompter-line-height);
  letter-spacing: var(--prompter-letter-spacing);
  color: var(--prompter-text-color);
  text-align: var(--prompter-text-align);
  font-family: var(--prompter-font-family);
  text-transform: var(--prompter-text-transform);
  word-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
  transition: font-size 80ms ease, width 120ms ease;
  pointer-events: none;
}

.prompter-text-column p {
  margin-bottom: 0.8em;
}

/* Reading Guides */
.guide-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

.reading-guide-line {
  position: absolute;
  top: 42%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--guide-color);
  opacity: var(--guide-opacity);
  box-shadow: 0 0 14px var(--guide-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.guide-marker-left, .guide-marker-right {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.guide-marker-left {
  border-left: 12px solid var(--guide-color);
}

.guide-marker-right {
  border-right: 12px solid var(--guide-color);
}

.reading-spotlight-zone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.72) 28%,
    rgba(0, 0, 0, 0.0) 38%,
    rgba(0, 0, 0, 0.0) 50%,
    rgba(0, 0, 0, 0.72) 62%,
    rgba(0, 0, 0, 0.88) 100%
  );
  opacity: var(--guide-opacity);
}

/* Countdown Overlay */
.countdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 50;
  pointer-events: all;
  transition: opacity var(--transition-normal);
}

.countdown-number {
  font-size: 140px;
  font-weight: 900;
  color: var(--accent-gold);
  text-shadow: 0 0 40px var(--accent-gold-glow);
  animation: countdownPulse 1s cubic-bezier(0.1, 0.9, 0.2, 1) infinite;
  line-height: 1;
}

.countdown-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 10px;
}

@keyframes countdownPulse {
  0% { transform: scale(0.6); opacity: 0; }
  40% { transform: scale(1.1); opacity: 1; }
  70% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.2; }
}

/* Floating HUD */
.prompter-hud {
  position: absolute;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 30;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.2);
  transition: opacity 300ms ease, transform 300ms ease;
  user-select: none;
  max-width: 95vw;
}

.prompter-hud.hud-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.hud-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-divider {
  width: 1px;
  height: 22px;
  background: var(--border-subtle);
}

.hud-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  flex-shrink: 0;
}

.hud-btn:active {
  transform: scale(0.95);
}

.hud-btn.active {
  background: var(--gold-gradient);
  color: #050507;
  border-color: var(--gold-solid);
}

.hud-play-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #050507;
  box-shadow: 0 0 18px var(--gold-glow);
  border: none;
  font-size: 16px;
}

.hud-play-btn.paused {
  background: linear-gradient(135deg, #d4af37, #997517);
  box-shadow: 0 0 14px var(--gold-glow);
}

/* Stepper inside HUD */
.hud-stepper {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2px 4px;
  gap: 2px;
}

.hud-stepper-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 26px;
  height: 32px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.hud-stepper-btn:active {
  background: rgba(255, 255, 255, 0.2);
}

.hud-stepper-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0 2px;
}

.hud-stepper-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Scrubber Bar */
.hud-progress-container {
  position: absolute;
  top: -10px;
  left: 16px;
  right: 16px;
  height: 6px;
  background: rgba(40, 40, 45, 0.85);
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.hud-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px var(--gold-glow);
  border-radius: var(--radius-full);
}

/* Top Status on Live View */
.prompter-top-status {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 30;
  transition: opacity 300ms ease;
}

.prompter-top-status.hud-hidden {
  opacity: 0;
}

.mini-badge {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 540px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
  overflow: hidden;
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shortcut-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #19191e;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.shortcut-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.kbd-badge {
  background: #27272e;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   CAMERA, AUDIO VU METER & RECORDING STYLES
   ========================================================================== */

.vu-meter-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.vu-meter-container {
  width: 100%;
  height: 8px;
  background: #27272a;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
}

.vu-meter-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #10b981 60%, #f59e0b 80%, #ef4444 100%);
  border-radius: var(--radius-full);
  transition: width 50ms linear;
}

/* REC Status Indicator Badge */
.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 38, 38, 0.3);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  animation: recBlink 1s infinite;
}

@keyframes recBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.hud-rec-btn {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.hud-rec-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
}

.hud-rec-btn.recording {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
  animation: recPulse 1.5s infinite;
}

.rec-circle-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: currentColor;
  display: inline-block;
}

.hud-rec-btn.recording .rec-circle-icon {
  border-radius: 2px;
  width: 10px;
  height: 10px;
}

@keyframes recPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(239, 68, 68, 0.6); }
  50% { box-shadow: 0 0 24px rgba(239, 68, 68, 0.9); }
}

/* Video Review Modal */
.video-preview-player {
  width: 100%;
  max-height: 48vh;
  background: #000000;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  outline: none;
}

/* ==========================================================================
   RESPONSIVE / MOBILE OPTIMIZATION (< 768px)
   ========================================================================= */

@media (max-width: 768px) {
  .app-header {
    padding: 8px 12px;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
  }

  .brand-info p {
    display: none;
  }

  #wakelock-status-pill {
    display: none;
  }

  .mobile-tab-bar {
    display: flex;
  }

  .mobile-bottom-bar {
    display: block;
  }

  #btn-launch-prompter {
    display: none; /* Handled by prominent mobile bottom bar */
  }

  .editor-workspace {
    flex-direction: column;
    padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px));
  }

  .editor-main {
    border-right: none;
  }

  /* Toggle views based on mobile tab */
  .editor-workspace[data-active-tab="script"] .editor-main {
    display: flex;
  }
  .editor-workspace[data-active-tab="script"] .editor-sidebar {
    display: none;
  }

  .editor-workspace[data-active-tab="settings"] .editor-main {
    display: none;
  }
  .editor-workspace[data-active-tab="settings"] .editor-sidebar {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .editor-sidebar {
    width: 100%;
  }

  /* HUD on Mobile */
  .prompter-hud {
    width: 94%;
    padding: 6px 10px;
    gap: 6px;
    justify-content: space-between;
  }

  .hud-divider {
    display: none;
  }

  .hud-stepper-label {
    display: none;
  }

  .hud-btn {
    width: 36px;
    height: 36px;
  }

  .hud-play-btn {
    width: 44px;
    height: 44px;
  }

  .shortcut-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRO CREATOR BADGE, BUTTONS & PAYWALL
   ========================================================================== */
.btn-pro {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(251, 191, 36, 0.6) !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35) !important;
  transition: all var(--transition-fast);
}

.btn-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.55) !important;
}

.btn-pro-large {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #000000;
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-pro-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
}

.paywall-card {
  max-width: 500px;
  background: radial-gradient(circle at top, #1a1813 0%, #0d0f12 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.15);
}

.paywall-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.paywall-hero {
  text-align: center;
  margin-bottom: 18px;
}

.paywall-hero h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.paywall-hero p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.paywall-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.paywall-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
}

.paywall-feature-icon {
  font-size: 18px;
  line-height: 1;
}

.paywall-feature-item strong {
  font-size: 13px;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.paywall-feature-item p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

.paywall-plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.paywall-plan-card {
  position: relative;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.paywall-plan-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.paywall-plan-card.selected {
  border-color: var(--gold-solid);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 16px var(--gold-glow);
}

.paywall-plan-card .plan-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: #050507;
  letter-spacing: 0.05em;
}

.paywall-plan-card .lifetime-badge {
  background: linear-gradient(135deg, #ffd700, #d4af37);
  color: #050507;
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold-solid);
}

.plan-price small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.paywall-footer {
  flex-direction: column;
  gap: 10px;
}

.paywall-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
}

.legal-link {
  background: none;
  border: none;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: 11px;
  padding: 0;
}

.legal-link:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   SMART VOICE TRACKING VISUALS
   ========================================================================== */
.hud-btn.active-voice {
  background: rgba(212, 175, 55, 0.22) !important;
  border-color: var(--gold-solid) !important;
  color: var(--gold-solid) !important;
  box-shadow: 0 0 12px var(--gold-glow);
  animation: voicePulse 1.8s infinite ease-in-out;
}

@keyframes voicePulse {
  0% {
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 16px var(--gold-glow-intense);
  }
  100% {
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.3);
  }
}

.prompter-text-column span.vt-highlight {
  background-color: rgba(212, 175, 55, 0.28);
  border-radius: 4px;
  box-shadow: 0 0 14px var(--gold-glow);
  color: var(--gold-light);
  transition: all 0.15s ease-out;
}

.prompter-text-column .vt-pause-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold-solid);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.6em;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 8px 0;
  vertical-align: middle;
  box-shadow: 0 0 12px var(--gold-glow);
}

.prompter-text-column .vt-pause-badge.active-pause {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  color: #fca5a5;
  animation: pulse 1s infinite;
}

.prompter-text-column .vt-emphasis {
  color: #38bdf8;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.5);
  text-underline-offset: 4px;
}

/* On-Screen Notification Toast */
.prompter-toast {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.1);
  z-index: 150;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.prompter-toast.toast-entering {
  animation: toastPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

/* ==========================================================================
   RECORDINGS VAULT (LOCAL INDEXEDDB STORAGE) STYLES
   ========================================================================== */
.vault-saved-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
}

.recordings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recording-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.recording-item-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.recording-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recording-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}

.recording-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.recording-tag {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.recording-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 4px;
  flex-wrap: wrap;
}

.empty-vault-state {
  text-align: center;
  padding: 30px 15px;
  color: var(--text-secondary);
  font-size: 13px;
}

/* Global Language Switcher */
.lang-switcher-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switcher-select:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-switcher-select:focus {
  border-color: var(--accent-primary);
}

/* ==========================================================================
   FIREBASE AUTHENTICATION & USER PROFILE STYLES
   ========================================================================== */

.auth-header-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-auth-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-auth-header:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-solid);
  transform: translateY(-1px);
}

.user-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111116;
  border: 1px solid var(--border-gold);
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-profile-badge:hover {
  border-color: var(--gold-solid);
  background: #171720;
}

.user-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #050507;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-role-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.3px;
}

/* Auth Modal Card */
.auth-card {
  max-width: 440px;
  width: 92%;
  background: #0d0d12;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-brand-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #fff;
  font-size: 15px;
}

.auth-tab-control {
  margin-bottom: 16px;
  background: #15151c;
  padding: 4px;
  border-radius: var(--radius-md);
}

.social-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-social-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #16161e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-social-auth:hover {
  background: #20202c;
  border-color: var(--border-gold);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 16px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.auth-divider span {
  padding: 0 10px;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-toggle-eye {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.btn-toggle-eye:hover {
  opacity: 1;
}

.auth-link-text {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
}

.auth-link-text:hover {
  text-decoration: underline;
}

/* Password Strength Meter */
.auth-strength-container {
  background: #14141c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-top: 4px;
}

.strength-meter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}

.strength-segment {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.strength-segment.active-weak {
  background: #ef4444;
}
.strength-segment.active-medium {
  background: #f59e0b;
}
.strength-segment.active-strong {
  background: #10b981;
}
.strength-segment.active-pro {
  background: var(--gold-solid);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.strength-label-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.strength-rules-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--text-dim);
}

.strength-rule-item.valid {
  color: #10b981;
  font-weight: 600;
}
.strength-rule-item.valid span {
  color: #10b981;
}

/* Alert Boxes */
.auth-alert {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.auth-alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

.auth-alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid #10b981;
  color: #6ee7b7;
}

/* User Profile Modal */
.profile-card {
  max-width: 460px;
  width: 92%;
  background: #0d0d12;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
}

.profile-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #050507;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.profile-status-card {
  background: #14141c;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #6ee7b7;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.profile-actions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-profile-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #14141c;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-profile-action:hover {
  background: #1a1a24;
  border-color: var(--border-gold);
}

.btn-profile-action.action-danger {
  color: #ef4444;
}

.btn-profile-action.action-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

.action-chevron {
  color: var(--text-dim);
  font-size: 12px;
}





