/* TrackBlast Dashboard — Matches landing page design tokens */

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --bg-card-hover: #20202e;
  --fg: #e8e8ef;
  --fg-muted: #8888a0;
  --fg-dim: #555568;
  --accent: #00e5a0;
  --accent-glow: rgba(0, 229, 160, 0.15);
  --accent-glow-strong: rgba(0, 229, 160, 0.25);
  --accent-secondary: #7b61ff;
  --gradient: linear-gradient(135deg, #00e5a0 0%, #7b61ff 100%);
  --danger: #ff4d6a;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --sidebar-w: 220px;
  --transition: 0.18s ease;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */

.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ─── SIDEBAR ────────────────────────────────────────────────────────────── */

.sidebar {
  width: var(--sidebar-w);
  background: var(--bg-elevated);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  padding: 0 8px;
}

.logo-mark {
  font-size: 1.4rem;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.nav-item:hover { background: rgba(255,255,255,0.05); color: var(--fg); text-decoration: none; }
.nav-item.active { background: var(--accent-glow); color: var(--accent); }

.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: #000;
  flex-shrink: 0;
}

.user-name {
  font-size: 0.85rem;
  color: var(--fg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-logout {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--fg-muted);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  text-align: left;
}

.btn-logout:hover { border-color: var(--danger); color: var(--danger); }

/* ─── MAIN CONTENT ───────────────────────────────────────────────────────── */

.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 40px 48px;
  max-width: calc(100vw - var(--sidebar-w));
}

.content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-sub {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */

.btn-primary {
  background: var(--gradient);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--fg-muted);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--fg); }

.btn-danger {
  background: none;
  border: 1px solid rgba(255, 77, 106, 0.3);
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-danger:hover { background: rgba(255, 77, 106, 0.1); border-color: var(--danger); }

.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn-icon { font-size: 1rem; line-height: 1; }

/* ─── TRACKS GRID ────────────────────────────────────────────────────────── */

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.track-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.track-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius);
}

.track-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 160, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.track-card:hover::before { opacity: 0.03; }

.track-card.is-generating {
  border-color: rgba(123, 97, 255, 0.3);
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123, 97, 255, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(123, 97, 255, 0); }
}

.track-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.track-genre-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-secondary);
  background: rgba(123, 97, 255, 0.12);
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 100px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.track-status {
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-ready { color: var(--accent); }
.status-error { color: var(--danger); }
.status-generating { color: var(--fg-muted); }

.track-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-artist {
  color: var(--fg-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.track-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.meta-tag {
  font-size: 0.75rem;
  color: var(--fg-dim);
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 2px 8px;
}

.track-stats {
  display: flex;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
  margin-bottom: 6px;
}

.stat { display: flex; flex-direction: column; }
.stat-val { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--fg); }
.stat-label { font-size: 0.72rem; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.05em; }

.track-card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: var(--fg-dim);
  font-size: 1.1rem;
  transition: var(--transition);
}

.track-card:hover .track-card-arrow { color: var(--accent); transform: translateX(3px); }

/* ─── EMPTY STATE ────────────────────────────────────────────────────────── */

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }
.empty-state p { color: var(--fg-muted); max-width: 400px; margin: 0 auto 24px; }

/* ─── TRACK DETAIL ───────────────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.breadcrumb-sep { color: var(--fg-dim); }
.breadcrumb-current { color: var(--fg); font-weight: 500; }
.header-actions { display: flex; gap: 8px; }

.generating-banner {
  background: rgba(123, 97, 255, 0.1);
  border: 1px solid rgba(123, 97, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: #a99dff;
}

.gen-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-secondary);
  flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.track-detail-header {
  margin-bottom: 40px;
}

.detail-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.detail-artist {
  color: var(--fg-muted);
  font-size: 1rem;
  margin-bottom: 12px;
}

.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.8rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 4px 12px;
  color: var(--fg-muted);
}

.tag-link { color: var(--accent); border-color: rgba(0,229,160,0.2); }
.tag-link:hover { background: var(--accent-glow); text-decoration: none; }

/* ─── DETAIL SECTIONS ────────────────────────────────────────────────────── */

.detail-section {
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--fg-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.placeholder-section {
  color: var(--fg-dim);
  font-style: italic;
  padding: 20px 0;
}

/* ─── PLATFORM TABS ──────────────────────────────────────────────────────── */

.platform-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.platform-tab {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--fg-muted);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-tab:hover { border-color: rgba(255,255,255,0.2); color: var(--fg); }
.platform-tab.active { background: var(--accent-glow); border-color: rgba(0,229,160,0.3); color: var(--accent); }

/* ─── PLATFORM CONTENT ───────────────────────────────────────────────────── */

.platform-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-block {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
}

.block-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  margin-bottom: 10px;
}

.hook-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
  margin-bottom: 12px;
}

.caption-text {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.7;
  white-space: pre-wrap;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 12px;
}

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

.hashtag {
  font-size: 0.8rem;
  color: var(--accent-secondary);
  background: rgba(123, 97, 255, 0.1);
  border: 1px solid rgba(123, 97, 255, 0.15);
  border-radius: 4px;
  padding: 3px 8px;
  cursor: pointer;
  transition: var(--transition);
}

.hashtag:hover { background: rgba(123, 97, 255, 0.2); }

.copy-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--fg-dim);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn.copied { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* ─── CLIP CARDS ─────────────────────────────────────────────────────────── */

.clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.clip-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.clip-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.clip-preview {
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
}

.clip-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}

.clip-preview-text {
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clip-type-badge {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0,0,0,0.5);
  border-radius: 100px;
  padding: 4px 10px;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
}

.clip-info {
  padding: 20px;
}

.clip-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.clip-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.clip-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.spec-label {
  color: var(--fg-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-val {
  color: var(--fg);
  font-weight: 500;
}

.color-palette {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
}

.swatch-hex {
  font-size: 0.6rem;
  color: var(--fg-dim);
  font-family: 'Space Mono', monospace;
}

.lyric-highlights {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 10px;
}

.lyric-line {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-style: italic;
  display: block;
}

/* ─── AUTH PAGE ──────────────────────────────────────────────────────────── */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 20% 30%, rgba(0,229,160,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(123,97,255,0.08) 0%, transparent 50%),
              var(--bg);
  padding: 24px;
}

.auth-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-logo .logo-mark { font-size: 1.6rem; }
.auth-logo .logo-text { font-size: 1.3rem; }

.auth-tabs {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}

.auth-tab {
  flex: 1;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--fg-muted);
}

.auth-tab.active {
  background: var(--bg-elevated);
  color: var(--fg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-switch {
  text-align: center;
  font-size: 0.83rem;
  color: var(--fg-dim);
  margin-top: 20px;
}

/* ─── FORMS ──────────────────────────────────────────────────────────────── */

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.required { color: var(--accent); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input, select, textarea {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--fg);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  width: 100%;
  outline: none;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(0, 229, 160, 0.4);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238888a0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

select option { background: var(--bg-card); }

textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

input::placeholder, textarea::placeholder { color: var(--fg-dim); }

.form-error {
  background: rgba(255, 77, 106, 0.1);
  border: 1px solid rgba(255, 77, 106, 0.25);
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
}

.hidden { display: none; }

/* ─── MODAL ──────────────────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  animation: fade-in 0.15s ease;
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  animation: slide-up 0.2s ease;
}

@keyframes slide-up { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-close {
  background: none;
  border: none;
  color: var(--fg-dim);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--transition);
}

.modal-close:hover { color: var(--fg); background: rgba(255,255,255,0.05); }

.modal form { display: flex; flex-direction: column; gap: 16px; }

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: 60px;
    flex-direction: row;
    align-items: center;
    padding: 0 16px;
    bottom: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .sidebar-logo { margin-bottom: 0; }
  .sidebar-nav { flex-direction: row; flex: 0; }
  .sidebar-footer { flex-direction: row; border-top: none; padding-top: 0; margin-left: auto; align-items: center; }
  .user-name { display: none; }

  .main-content {
    margin-left: 0;
    margin-top: 60px;
    padding: 24px 20px;
    max-width: 100%;
  }

  .content-header { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .tracks-grid { grid-template-columns: 1fr; }
  .clips-grid { grid-template-columns: 1fr; }
  .modal-actions { flex-direction: column; }
  .modal { padding: 24px; }
}
