:root {
  --bg-primary: #07080d;
  --bg-surface: #0e111a;
  --bg-card: rgba(16, 20, 32, 0.72);
  --bg-card-hover: rgba(22, 28, 44, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(139, 92, 246, 0.6);
  
  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.35);
  --shadow-glass: 0 12px 36px -4px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

/* Custom Ultra-Thin Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.5);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 95% 60%, rgba(6, 182, 212, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 30% at 5% 85%, rgba(244, 63, 94, 0.08), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  background-attachment: fixed;
}

/* ==========================================================================
   Header Bar
   ========================================================================== */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: rgba(8, 10, 16, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.6);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  margin-right: 8px;
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(14, 18, 28, 0.85);
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.35) 100%);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.5);
  box-shadow: 0 4px 16px -2px rgba(139, 92, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.tab-icon {
  font-size: 1.05rem;
}

.tab-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  display: none;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}

.nav-tab.active .tab-sub {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.25);
}

@media (min-width: 1200px) {
  .tab-sub {
    display: inline;
  }
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.status-pill-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ==========================================================================
   Main Application Layout
   ========================================================================== */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  max-width: 1720px;
  margin: 0 auto;
  width: 100%;
}

.tool-panel {
  display: none;
  width: 100%;
  height: 100%;
}

.tool-panel.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

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

.panel-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1024px) {
  .panel-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Sidebar Controls & Cards
   ========================================================================== */
.panel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-card {
  background: linear-gradient(180deg, rgba(18, 22, 36, 0.82) 0%, rgba(12, 15, 25, 0.88) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

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

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Chips & Badges */
.chip {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chip-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.chip-green {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

/* Drop Zone */
.drop-zone {
  border: 2px dashed rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 26px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(9, 12, 20, 0.55);
}

.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.25);
  transform: translateY(-1px);
}

.drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.drop-content svg {
  color: var(--accent-purple);
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

.drop-content p {
  font-size: 0.88rem;
  font-weight: 500;
}

.accent-link {
  color: #a78bfa;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.meta-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Form Controls */
.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-group label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

input[type="range"] {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.35), rgba(6, 182, 212, 0.35));
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.45), 0 2px 8px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.35), 0 0 16px rgba(139, 92, 246, 0.6);
}

.slider-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #c4b5fd;
  min-width: 48px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  background: rgba(8, 10, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.4);
  background: rgba(12, 16, 26, 0.95);
}

.form-textarea {
  resize: vertical;
  line-height: 1.5;
}

/* Preset Grids & Pill Buttons */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.preset-pill {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.preset-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.preset-pill.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.35));
  border-color: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pill-group {
  display: flex;
  gap: 4px;
  background: rgba(8, 10, 18, 0.7);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pill {
  flex: 1;
  padding: 7px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.pill.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-indigo));
  color: #fff;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Palette Swatches */
.backdrop-palette {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.backdrop-swatch {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.backdrop-swatch:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.backdrop-swatch.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.6);
  transform: scale(1.06);
}

/* Switches & Toggles */
.toggle-group {
  display: flex;
  align-items: center;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.toggle-label input {
  display: none;
}

.toggle-slider {
  width: 40px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  position: relative;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.toggle-slider::after {
  content: '';
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.toggle-label input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-indigo));
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.toggle-label input:checked + .toggle-slider::after {
  transform: translateX(18px);
}

/* Buttons */
.btn-primary, .btn-accent, .btn-success, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 18px -2px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -2px rgba(124, 58, 237, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.btn-accent {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 4px 18px -2px rgba(6, 182, 212, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-accent:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -2px rgba(6, 182, 212, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-accent:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.btn-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  box-shadow: 0 4px 18px -2px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-success:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -2px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-success:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-ghost.active {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.76rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  gap: 8px;
}

.btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.btn-circle:hover {
  background: var(--accent-purple);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

/* ==========================================================================
   Preview Stages
   ========================================================================== */
.panel-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 600px;
}

.preview-container {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1. Phone Frame for OpusReel */
.phone-frame {
  width: 360px;
  height: 640px;
  border-radius: 36px;
  border: 4px solid #2a3147;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 10px;
  width: 110px;
  height: 24px;
  background: #1e2436;
  border-radius: 999px;
  z-index: 10;
}

.canvas-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#opus-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-overlay-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.time-readout {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(8px);
}

/* Timeline Track */
.timeline-bar {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
}

.timeline-track {
  flex: 1;
  height: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  border-radius: 999px;
}

.timeline-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 2. Studio Viewport for DropStudio */
.studio-viewport {
  width: 100%;
  max-width: 820px;
  height: 580px;
  background-image: 
    linear-gradient(45deg, #181d2c 25%, transparent 25%),
    linear-gradient(-45deg, #181d2c 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #181d2c 75%),
    linear-gradient(-45deg, transparent 75%, #181d2c 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  position: relative;
}

#drop-canvas {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.view-toggle-bar {
  position: absolute;
  top: 16px;
  display: flex;
  gap: 8px;
  background: rgba(13, 16, 25, 0.85);
  backdrop-filter: blur(12px);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  z-index: 10;
}

/* 3. Split Viewport for PixelClean */
.split-viewport {
  width: 100%;
  max-width: 820px;
  height: 580px;
  background: #0f121d;
  flex-direction: column;
}

.split-wrapper {
  position: relative;
  width: 100%;
  height: calc(100% - 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: crosshair;
}

#pixel-main-canvas, #pixel-mask-canvas {
  position: absolute;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

#pixel-mask-canvas {
  opacity: 0.65;
  pointer-events: none;
}

.brush-cursor {
  position: absolute;
  border: 2px solid #ef4444;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
  background: rgba(239, 68, 68, 0.2);
  z-index: 20;
}

.stage-bottom-bar {
  height: 50px;
  width: 100%;
  background: rgba(13, 16, 25, 0.85);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Toasts & Utilities
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.toast {
  background: rgba(17, 21, 33, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideToast 0.3s ease forwards;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.success { border-color: rgba(16, 185, 129, 0.5); }
.toast.info { border-color: rgba(139, 92, 246, 0.5); }

.hidden { display: none !important; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mb-3 { margin-bottom: 12px; }

/* ==========================================================================
   ThumbForge Thumbnail Studio & Feed Simulator
   ========================================================================== */
.thumb-viewport {
  width: 100%;
  max-width: 860px;
  min-height: 540px;
  background: #0b0e18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.thumb-canvas-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#thumb-canvas {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
}

/* Feed Simulators */
.sim-feed {
  width: 100%;
  display: flex;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

/* 1. YouTube Mobile Feed */
.yt-mobile-feed {
  max-width: 440px;
  background: #0f0f0f;
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.sim-yt-video {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-thumb-box {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.sim-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sim-time-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
}

.sim-yt-meta {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sim-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sim-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f1f1;
  line-height: 1.3;
}

.sim-sub {
  font-size: 0.75rem;
  color: #aaa;
}

/* 2. YouTube Desktop Search Feed */
.yt-desktop-feed {
  max-width: 780px;
  background: #0f0f0f;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-yt-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.sim-thumb-box-desktop {
  position: relative;
  width: 360px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}

.sim-desktop-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-title-desktop {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f1f1;
  line-height: 1.3;
}

.sim-desc {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.4;
}

.sim-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

/* 3. TikTok FYP Simulator */
.tiktok-feed {
  display: flex;
  justify-content: center;
}

.tiktok-card {
  position: relative;
  width: 300px;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 2px solid #27272a;
}

.sim-tiktok-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tiktok-meta {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.tiktok-user {
  font-weight: 700;
  font-size: 0.9rem;
}

.tiktok-caption {
  font-size: 0.82rem;
  line-height: 1.3;
}

.tiktok-music {
  font-size: 0.75rem;
  color: #ddd;
}

/* ==========================================================================
   Home Dashboard & 4-Tool Showcase
   ========================================================================== */
.home-dashboard {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 0 40px;
}

.home-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 20px 12px;
}

.hero-chip {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 860px;
  background: linear-gradient(135deg, #ffffff 40%, #e0e7ff 70%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 760px;
}

/* 4-Cards Showcase Grid */
.home-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .home-cards-grid {
    grid-template-columns: 1fr;
  }
}

.tool-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 25, 40, 0.75) 0%, rgba(13, 16, 26, 0.8) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 35px rgba(139, 92, 246, 0.2);
}

.tool-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(65px);
  pointer-events: none;
  opacity: 0.35;
}

.glow-purple { background: var(--accent-purple); }
.glow-cyan { background: var(--accent-cyan); }
.glow-emerald { background: var(--accent-emerald); }
.glow-amber { background: var(--accent-amber); }

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tool-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.icon-purple { background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.4)); border: 1px solid rgba(139, 92, 246, 0.5); }
.icon-cyan { background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(14, 165, 233, 0.4)); border: 1px solid rgba(6, 182, 212, 0.5); }
.icon-emerald { background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.4)); border: 1px solid rgba(16, 185, 129, 0.5); }
.icon-amber { background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(239, 68, 68, 0.4)); border: 1px solid rgba(245, 158, 11, 0.5); }

.tool-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: 4px;
}

.tool-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.tool-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 10px;
}

.tool-features-list li {
  font-size: 0.83rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-features-list li span {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.tool-launch-btn {
  margin-top: auto;
  font-size: 0.92rem;
  padding: 13px 20px;
  font-weight: 800;
  border-radius: 12px;
}

/* Privacy & Performance Badge Strip */
.home-badge-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(18, 22, 33, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

@media (max-width: 900px) {
  .home-badge-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .home-badge-strip {
    grid-template-columns: 1fr;
  }
}

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

.strip-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.strip-item strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  font-weight: 700;
}

.strip-item p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.btn-back-hub {
  cursor: pointer;
  color: #a78bfa;
}

.btn-back-hub:hover {
  color: #ffffff;
  background: rgba(139, 92, 246, 0.2);
}

.btn-danger {
  background: #ef4444 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4) !important;
}

/* ==========================================================================
   Home Search & Category Filters
   ========================================================================== */
.home-filter-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.home-search-bar {
  display: flex;
  align-items: center;
  background: rgba(14, 18, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px 20px;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.home-search-bar:focus-within {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22), 0 12px 32px rgba(0, 0, 0, 0.6);
  background: rgba(16, 21, 34, 0.95);
}

.search-icon {
  font-size: 1.2rem;
  opacity: 0.8;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.4));
}

.home-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
}

.home-search-input::placeholder {
  color: var(--text-muted);
}

.search-shortcut {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  margin-left: auto;
  pointer-events: none;
}

.home-category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cat-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.cat-pill.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35) 0%, rgba(6, 182, 212, 0.35) 100%);
  border-color: rgba(139, 92, 246, 0.7);
  color: #fff;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   AudioMagic Studio & Viral Soundboard
   ========================================================================== */
.audio-viewport {
  width: 100%;
  max-width: 820px;
  padding: 24px;
  background: linear-gradient(180deg, #0c101d 0%, #070912 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audio-stage-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.audio-stage-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

#audio-wave-canvas {
  width: 100%;
  height: 180px;
  background: #05070e;
  border-radius: var(--radius-md);
  border: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.9), 0 0 16px rgba(6, 182, 212, 0.1);
}

.soundboard-container {
  width: 100%;
  max-width: 820px;
  background: linear-gradient(180deg, rgba(18, 22, 35, 0.85) 0%, rgba(12, 15, 25, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.soundboard-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.soundboard-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.soundboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 680px) {
  .soundboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sound-btn {
  background: linear-gradient(180deg, rgba(22, 28, 44, 0.85) 0%, rgba(14, 18, 28, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.sound-btn:hover {
  background: linear-gradient(180deg, rgba(30, 38, 60, 0.9) 0%, rgba(18, 24, 38, 0.95) 100%);
  border-color: rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), 0 0 20px rgba(6, 182, 212, 0.25);
}

.sound-btn:active, .sound-btn.sound-fired {
  transform: translateY(2px) scale(0.97);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan)) !important;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.4);
}

.sound-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.sound-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.sound-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Teleprompter Pro Drawer
   ========================================================================== */
.teleprompter-drawer {
  width: 100%;
  max-width: 600px;
  background: rgba(10, 13, 22, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(6, 182, 212, 0.15);
  animation: fadeIn 0.2s ease-out;
}

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

.teleprompter-header h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.teleprompter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.teleprompter-controls input[type="range"] {
  width: 80px;
}

.teleprompter-body {
  height: 120px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  line-height: 1.6;
  color: #facc15;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* ==========================================================================
   Viral Title & Hook Scorer
   ========================================================================== */
.score-meter-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.score-bar {
  width: 100%;
  height: 12px;
  background: rgba(8, 10, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
}

.score-breakdown {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-secondary);
}

.score-tip {
  font-size: 0.78rem;
  color: #6ee7b7;
  line-height: 1.5;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
}
