@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─────────────────────────────────── */
:root {
  --bg:        #0a0a0a;
  --surface:   #111111;
  --surface2:  #171717;
  --surface3:  #1e1e1e;
  --border:    #1f1f1f;
  --border2:   #2a2a2a;
  --text:      #e5e5e5;
  --muted:     #888888;
  --dim:       #444444;
  --accent:    #ff4500;
  --accent-h:  #ff5a20;
  --success:   #22c55e;
  --sidebar-w: 240px;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

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

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

.sidebar-logo {
  padding: 28px 24px 24px;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--text);
}
.sidebar-logo h1 span { color: var(--accent); }
.sidebar-logo p {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}
.sidebar-logo .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 6px rgba(255,69,0,0.5);
}

.sidebar-stats {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.sidebar-stats-title {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 16px;
}
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.stat-row:last-child { margin-bottom: 0; }
.stat-label { font-size: 12px; color: #555; }
.stat-value { font-size: 22px; font-weight: 700; line-height: 1; }
.stat-value.white { color: var(--text); }
.stat-value.green { color: var(--success); }
.stat-value.muted { color: var(--muted); }

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
}
.sidebar-nav-title {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
  padding: 0 12px;
  margin-bottom: 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.15s;
  cursor: pointer;
}
.nav-item:hover { color: var(--text); background: var(--surface2); }
.nav-item.active { color: var(--text); background: var(--surface2); }
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #444;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
  width: 100%;
  text-align: left;
}
.logout-btn:hover { color: #f87171; }

/* ─── Main content ───────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 40px 40px 60px;
  max-width: 1100px;
}

/* ─── Mobile topbar ──────────────────────────────── */
.mobile-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: #0d0d0d;
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 150;
}
.mobile-topbar h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.mobile-topbar h1 span { color: var(--accent); }
.hamburger {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}
.hamburger:hover { color: var(--text); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 190;
  backdrop-filter: blur(2px);
}

/* ─── Page header ────────────────────────────────── */
.page-header { margin-bottom: 28px; }
.page-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--text);
}
.page-subtitle {
  font-size: 12px;
  color: var(--dim);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ─── Cards ──────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--border2); }
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #0e0e0e;
}
.card-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dim);
}
.card-body { padding: 20px; }
.card-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: #0e0e0e;
  font-size: 11px;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  line-height: 1;
  user-select: none;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-h); }

.btn-ghost {
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover:not(:disabled) { background: var(--surface3); color: var(--text); border-color: var(--border2); }

.btn-outline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-size: 12px;
  padding: 6px 12px;
}
.btn-outline:hover:not(:disabled) { color: var(--text); border-color: var(--border2); background: var(--surface2); }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-sm svg { width: 12px; height: 12px; }

.btn-success { background: rgba(34,197,94,0.1); color: var(--success); border: 1px solid rgba(34,197,94,0.3); font-size: 12px; padding: 6px 12px; }
.btn-success:hover { background: rgba(34,197,94,0.15); }

.btn-full { width: 100%; justify-content: center; }

/* ─── Form elements ──────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dim);
  margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
select,
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--border2); }
::placeholder { color: var(--dim); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
select option { background: var(--surface2); color: var(--text); }
textarea { resize: vertical; min-height: 80px; }

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

/* ─── Error / Success messages ───────────────────── */
.alert {
  padding: 12px 16px;
  font-size: 13px;
  border: 1px solid;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.alert-error { border-color: rgba(248,113,113,0.4); background: rgba(248,113,113,0.05); color: #f87171; }
.alert-success { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.05); color: var(--success); }
.alert svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }

/* ─── Script output ──────────────────────────────── */
.script-output { display: none; }
.script-output.visible { display: block; }
.script-lines { padding: 20px; space-y: 8px; }
.script-line {
  font-size: 14px;
  line-height: 1.7;
  color: #999;
  margin-bottom: 6px;
}
.script-line:first-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

/* ─── Suggestions ────────────────────────────────── */
.suggestions { display: none; border: 1px solid var(--border); background: #0d0d0d; overflow: hidden; margin-top: 8px; }
.suggestions.visible { display: block; }
.suggestions-title {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--border);
}
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #141414;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--surface2); color: var(--text); }
.suggestion-num { color: var(--dim); font-variant-numeric: tabular-nums; font-size: 11px; width: 14px; flex-shrink: 0; }

/* ─── Generating loader ───────────────────────────── */
.generating {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 200px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-top: 16px;
}
.generating.visible { display: flex; }
.bars { display: flex; gap: 4px; align-items: flex-end; height: 28px; }
.bar {
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
  animation: barPulse 1s ease-in-out infinite;
}
.bar:nth-child(1) { height: 12px; animation-delay: 0ms; }
.bar:nth-child(2) { height: 20px; animation-delay: 120ms; }
.bar:nth-child(3) { height: 28px; animation-delay: 240ms; }
.bar:nth-child(4) { height: 20px; animation-delay: 360ms; }
.bar:nth-child(5) { height: 12px; animation-delay: 480ms; }
@keyframes barPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.generating-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--dim);
}

/* ─── Badges types ───────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border: 1px solid;
  line-height: 1.5;
}
.badge-mystere     { color: #a78bfa; border-color: rgba(167,139,250,.3); background: rgba(167,139,250,.05); }
.badge-psychologie { color: #60a5fa; border-color: rgba(96,165,250,.3);  background: rgba(96,165,250,.05); }
.badge-curiosite   { color: #fbbf24; border-color: rgba(251,191,36,.3);  background: rgba(251,191,36,.05); }
.badge-histoire    { color: #fb923c; border-color: rgba(251,146,60,.3);  background: rgba(251,146,60,.05); }
.badge-anomalie    { color: #f87171; border-color: rgba(248,113,113,.3); background: rgba(248,113,113,.05); }
.badge-todo  { color: var(--muted); border-color: var(--border2); background: var(--surface2); }
.badge-done  { color: var(--success); border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.05); }

/* ─── Tables ─────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dim);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 12px 14px;
  border-bottom: 1px solid #141414;
  vertical-align: middle;
  color: var(--muted);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: #0f0f0f; }
td.td-subject { color: var(--text); font-weight: 500; max-width: 300px; }
td.td-subject span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ─── Filter tabs ────────────────────────────────── */
.filter-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-tab {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--dim);
  transition: all 0.15s;
  cursor: pointer;
  background: none;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: inline-block;
}
.filter-tab:hover { color: var(--muted); border-color: var(--border2); }
.filter-tab.active { border-color: var(--border2); background: var(--surface2); color: var(--text); }

/* ─── Dashboard grid ─────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ─── Animations ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 0.3s ease-out forwards; }

/* ─── Empty state ────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--dim);
  font-size: 13px;
  border: 1px solid var(--border);
}

/* ─── Login page ─────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}
.login-card {
  width: 100%;
  max-width: 340px;
}
.login-logo {
  text-align: center;
  margin-bottom: 40px;
}
.login-logo h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  color: var(--text);
}
.login-logo h1 span { color: var(--accent); }
.login-logo p {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 10px;
}
.login-form { display: flex; flex-direction: column; gap: 12px; }
.login-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s;
}
.login-submit:hover { background: var(--accent-h); }
.login-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.login-footer { text-align: center; font-size: 11px; color: #2a2a2a; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 28px; }

/* ─── Copy feedback ──────────────────────────────── */
.copy-success { color: var(--success); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .mobile-overlay.active { display: block; }
  .mobile-topbar { display: flex; }
  .main-content { margin-left: 0; padding: 80px 16px 40px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-title { font-size: 22px; }
  table { min-width: 600px; }
}

/* ─── Recherche page ─────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  transition: border-color 0.2s;
}
.post-card:hover { border-color: var(--border2); }

.post-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.post-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  width: 18px;
  flex-shrink: 0;
}
.score-bar-wrap {
  flex: 1;
  height: 3px;
  background: var(--surface3);
  border-radius: 2px;
  overflow: hidden;
}
.score-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.6s ease-out;
}
.score-val {
  font-size: 11px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  width: 20px;
  text-align: right;
  flex-shrink: 0;
}
.post-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.post-excerpt {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #141414;
}
.post-date { font-size: 11px; color: var(--dim); }

.scan-status {
  padding: 10px 14px;
  font-size: 12px;
  border: 1px solid;
  margin-top: 16px;
}
.scan-info  { border-color: var(--border2); color: var(--muted); background: var(--surface2); }
.scan-error { border-color: rgba(248,113,113,.3); color: #f87171; background: rgba(248,113,113,.05); }

.producing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.producing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border2);
  padding: 48px 64px;
}

/* ─── Production page ────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--dim);
  transition: color 0.15s;
}
.back-link:hover { color: var(--muted); }

.prod-section {
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.prod-section:hover { border-color: var(--border2); }

.prod-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #0e0e0e;
  gap: 12px;
  flex-wrap: wrap;
}
.prod-section-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.prod-section-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dim);
}
.prod-section-count { font-size: 11px; color: var(--dim); }
.prod-section-body { padding: 20px; }

.script-pre {
  font-family: 'Inter', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.mj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.mj-card {
  background: #0a0a0a;
  border: 1px solid var(--border);
  padding: 16px;
}
.mj-scene-num {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
}
.mj-prompt { font-size: 12px; color: var(--muted); line-height: 1.6; }

.el-description {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.el-desc-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 6px;
}
.el-desc-text { font-size: 13px; color: var(--muted); line-height: 1.6; }

.el-params { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.el-param-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dim);
  margin-bottom: 4px;
}
.el-param-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.el-param-bar-wrap { height: 3px; background: var(--surface3); }
.el-param-bar { height: 3px; background: #60a5fa; transition: width 0.4s ease-out; }

.prod-voice-tag,
.suno-tag {
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--border2);
  color: var(--muted);
  background: var(--surface2);
}
.suno-prompt { font-size: 13px; color: var(--muted); line-height: 1.6; }

.capcut-timeline { display: flex; flex-direction: column; }
.capcut-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #141414;
  align-items: start;
}
.capcut-row:last-child { border-bottom: none; }
.capcut-timecode {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  flex-shrink: 0;
}
.capcut-visuel { font-size: 13px; color: var(--text); line-height: 1.5; }
.capcut-tag {
  font-size: 10px;
  padding: 2px 7px;
  border: 1px solid;
}
.capcut-tag.effet { color: #a78bfa; border-color: rgba(167,139,250,.3); background: rgba(167,139,250,.05); }
.capcut-tag.son   { color: #60a5fa; border-color: rgba(96,165,250,.3);  background: rgba(96,165,250,.05); }
.capcut-global { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.capcut-global-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
}

@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .mj-grid { grid-template-columns: 1fr; }
  .capcut-row { grid-template-columns: 1fr; gap: 4px; }
  .el-params { grid-template-columns: 1fr 1fr; }
}
