/* PRECISE Group Social Media Hub */
:root {
  --navy: #0a1628;
  --navy-mid: #1e3a5f;
  --navy-light: #2a4a72;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #a07d1a;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --text: #e0e6f0;
  --text-muted: #8a9ab5;
  --text-dark: #c4cfe0;
  --bg: #060d1a;
  --card: #111e33;
  --card-border: #1e3a5f;
  --sidebar-w: 260px;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: all 0.2s ease;
}

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

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ─── Auth Layout ─── */
.auth-body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: radial-gradient(ellipse at top left, #1e3a5f 0%, #060d1a 60%);
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow);
}

.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo img { height: 60px; }
.auth-logo h1 {
  font-size: 1.5rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}
.auth-logo p { color: var(--text-muted); font-size: 0.85rem; }

/* ─── App Layout ─── */
.app-wrapper { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--card);
  border-right: 1px solid var(--card-border);
  display: flex; flex-direction: column;
  position: fixed; left: 0; top: 0; bottom: 0;
  z-index: 100;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid var(--card-border);
  display: flex; align-items: center; gap: 0.75rem;
}
.sidebar-logo .logo-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: var(--navy);
  flex-shrink: 0;
}
.sidebar-logo .logo-text { line-height: 1.2; }
.sidebar-logo .logo-text strong { color: var(--gold); font-size: 0.9rem; display: block; }
.sidebar-logo .logo-text span { color: var(--text-muted); font-size: 0.72rem; }

.sidebar-section { padding: 1rem 0.75rem 0.25rem; }
.sidebar-section-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-muted); text-transform: uppercase;
  padding: 0 0.5rem; margin-bottom: 0.25rem;
}

.nav-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
  margin-bottom: 0.15rem;
  position: relative;
}
.nav-item:hover { background: rgba(201,162,39,0.08); color: var(--gold-light); }
.nav-item.active {
  background: rgba(201,162,39,0.12);
  color: var(--gold);
  font-weight: 600;
}
.nav-item.active::before {
  content: '';
  position: absolute; left: -0.75rem;
  top: 25%; bottom: 25%;
  width: 3px; border-radius: 2px;
  background: var(--gold);
}
.nav-item svg, .nav-item .nav-icon { width: 18px; height: 18px; flex-shrink: 0; }
.nav-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem; font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 20px;
}

.sidebar-footer {
  margin-top: auto;
  padding: 1rem 0.75rem;
  border-top: 1px solid var(--card-border);
}

/* Main Content */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* Topbar */
.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--card-border);
  padding: 0.875rem 1.75rem;
  display: flex; align-items: center; gap: 1rem;
  position: sticky; top: 0; z-index: 50;
}
.topbar-title { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.topbar-subtitle { font-size: 0.8rem; color: var(--text-muted); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.topbar-user {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: var(--navy-mid);
  border-radius: 20px;
  font-size: 0.8rem;
}
.topbar-user .avatar {
  width: 28px; height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--navy);
}

/* Page Content */
.page-content { padding: 1.75rem; flex: 1; }

/* ─── Cards ─── */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-title { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.card-body { padding: 1.25rem; }

/* Stat Cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.stat-icon.gold { background: rgba(201,162,39,0.15); color: var(--gold); }
.stat-icon.blue { background: rgba(59,130,246,0.15); color: var(--accent); }
.stat-icon.green { background: rgba(16,185,129,0.15); color: var(--success); }
.stat-icon.purple { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.stat-icon.red { background: rgba(239,68,68,0.15); color: var(--danger); }
.stat-icon.cyan { background: rgba(6,182,212,0.15); color: var(--info); }
.stat-value { font-size: 1.75rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }
.stat-change { font-size: 0.75rem; margin-top: 0.5rem; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ─── Tables ─── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead tr { border-bottom: 2px solid var(--navy-mid); }
th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
td {
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(30,58,95,0.5);
  vertical-align: middle;
}
tbody tr:hover td { background: rgba(201,162,39,0.04); }
tbody tr:last-child td { border-bottom: none; }

/* ─── Badges ─── */
.badge {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem; font-weight: 600;
  white-space: nowrap;
}
.badge-gold { background: rgba(201,162,39,0.15); color: var(--gold); border: 1px solid rgba(201,162,39,0.3); }
.badge-blue { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }
.badge-green { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.badge-red { background: rgba(239,68,68,0.15); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.badge-purple { background: rgba(139,92,246,0.15); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.3); }
.badge-gray { background: rgba(100,116,139,0.15); color: #94a3b8; border: 1px solid rgba(100,116,139,0.3); }
.badge-cyan { background: rgba(6,182,212,0.15); color: #67e8f9; border: 1px solid rgba(6,182,212,0.3); }

/* Platform badges */
.plat-instagram { background: linear-gradient(135deg,rgba(225,48,108,.15),rgba(193,53,132,.15)); color: #f472b6; border: 1px solid rgba(225,48,108,.3); }
.plat-tiktok { background: rgba(0,0,0,.3); color: #e0e0e0; border: 1px solid #333; }
.plat-linkedin { background: rgba(10,102,194,.15); color: #60a5fa; border: 1px solid rgba(10,102,194,.3); }
.plat-facebook { background: rgba(24,119,242,.15); color: #93c5fd; border: 1px solid rgba(24,119,242,.3); }
.plat-youtube { background: rgba(255,0,0,.12); color: #fca5a5; border: 1px solid rgba(255,0,0,.3); }
.plat-twitter { background: rgba(29,161,242,.15); color: #7dd3fc; border: 1px solid rgba(29,161,242,.3); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover:not(:disabled) { background: var(--gold-light); }
.btn-secondary { background: var(--navy-mid); color: var(--text); border: 1px solid var(--card-border); }
.btn-secondary:hover:not(:disabled) { background: var(--navy-light); }
.btn-danger { background: rgba(239,68,68,0.15); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.btn-danger:hover:not(:disabled) { background: var(--danger); color: #fff; }
.btn-success { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.btn-success:hover:not(:disabled) { background: var(--success); color: #fff; }
.btn-icon { padding: 0.4rem; border-radius: 6px; background: transparent; }
.btn-icon:hover { background: var(--navy-mid); }
.btn-sm { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

.btn-ai {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
}
.btn-ai:hover:not(:disabled) { background: linear-gradient(135deg, #6d28d9, #4338ca); }

/* ─── Forms ─── */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-dark);
}
.form-label .req { color: var(--gold); }
.form-control, .form-select, .form-textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 0.6rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}
.form-control:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

/* ─── Alerts ─── */
.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem;
}
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); color: #fcd34d; }
.alert-info { background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.3); color: #67e8f9; }

/* ─── Modal ─── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow);
  transform: scale(0.95);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-size: 1rem; font-weight: 700; }
.modal-body { padding: 1.25rem; }
.modal-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--card-border);
  display: flex; justify-content: flex-end; gap: 0.75rem;
}

/* ─── Calendar ─── */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cal-header-cell {
  background: var(--navy-mid);
  padding: 0.6rem;
  text-align: center;
  font-size: 0.72rem; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cal-cell {
  background: var(--card);
  min-height: 100px;
  padding: 0.4rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.cal-cell:hover { background: rgba(201,162,39,0.05); }
.cal-cell.today { background: rgba(201,162,39,0.08); }
.cal-cell.today .cal-day { color: var(--gold); font-weight: 700; }
.cal-cell.other-month { opacity: 0.4; }
.cal-day { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.25rem; }
.cal-event {
  font-size: 0.68rem;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  margin-bottom: 0.15rem;
  cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ─── AI Chat / Generator ─── */
.ai-panel {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(79,70,229,0.05));
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.ai-panel-title {
  font-size: 0.9rem; font-weight: 700;
  color: #c4b5fd;
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.script-output {
  background: var(--navy);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  min-height: 200px;
  font-size: 0.875rem;
  line-height: 1.8;
  white-space: pre-wrap;
  color: var(--text);
}
.typing-indicator { display: flex; gap: 4px; padding: 0.5rem 0; }
.typing-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-8px); opacity: 1; }
}

/* ─── Tabs ─── */
.tabs { display: flex; gap: 0.25rem; border-bottom: 2px solid var(--card-border); margin-bottom: 1.5rem; }
.tab-btn {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.875rem; font-weight: 600;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── Progress / Loading ─── */
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--navy-mid);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.progress-bar {
  height: 6px;
  background: var(--navy-mid);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* ─── Platform color pills ─── */
.pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.5rem; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }

/* ─── Trend Cards ─── */
.trend-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
  position: relative;
}
.trend-card:hover { border-color: var(--gold-dark); }
.trend-card.pinned { border-color: rgba(201,162,39,0.5); }
.trend-card.pinned::before {
  content: '📌';
  position: absolute; top: 0.6rem; right: 0.75rem;
  font-size: 0.9rem;
}
.trend-relevance {
  display: flex; gap: 2px; margin-top: 0.5rem;
}
.trend-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-mid); }
.trend-dot.filled { background: var(--gold); }

/* ─── Voice Over ─── */
.vo-section {
  background: linear-gradient(135deg, rgba(6,182,212,0.05), rgba(16,185,129,0.05));
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
}

/* ─── Project Color Indicator ─── */
.project-color { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex-shrink: 0; }

/* ─── Empty State ─── */
.empty-state {
  text-align: center; padding: 3rem 1rem;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { color: var(--text-dark); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.875rem; margin-bottom: 1.5rem; }

/* ─── Search / Filter bar ─── */
.filter-bar {
  display: flex; align-items: center; gap: 0.75rem;
  flex-wrap: wrap; margin-bottom: 1.25rem;
}
.search-input {
  background: var(--navy);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  outline: none;
  min-width: 220px;
}
.search-input:focus { border-color: var(--gold); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .calendar-grid { grid-template-columns: repeat(7, 1fr); font-size: 0.7rem; }
  .cal-cell { min-height: 60px; }
}

@media (max-width: 540px) {
  .stat-grid { grid-template-columns: 1fr; }
  .page-content { padding: 1rem; }
  .topbar { padding: 0.75rem 1rem; }
}

/* ─── Utilities ─── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-center { text-align: center; }
.text-sm { font-size: 0.8rem; }
.text-xs { font-size: 0.72rem; }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.hidden { display: none !important; }
.overflow-hidden { overflow: hidden; }

.section-title {
  font-size: 1.25rem; font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.section-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 0.25rem;
  background: none; border: none;
}
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; }
@media (max-width: 900px) { .hamburger { display: flex; } }

/* Sidebar overlay */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
}
.sidebar-overlay.active { display: block; }

/* ─── Script card ─── */
.script-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: var(--transition);
  cursor: pointer;
}
.script-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.script-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.script-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.script-card-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }
.script-preview {
  font-size: 0.8rem; color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
