:root {
  --bg: #071422;
  --elev: #0e1e36;
  --accent: #2ad4ff;
  --accent-2: #7ee8ff;
  --muted: #8aa4c4;
  --text: #ffffff;
  --on: #041018;
  --surface: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.14);
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; max-width: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  overflow-x: clip;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.app {
  min-height: 100%;
  background:
    radial-gradient(420px 280px at 0% 0%, rgba(42, 212, 255, 0.12), transparent 60%),
    radial-gradient(380px 240px at 100% 100%, rgba(126, 232, 255, 0.08), transparent 55%),
    var(--bg);
}
.column {
  width: min(720px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 108px;
}
.column.plain { padding-bottom: 32px; }
.column.plain.wide { width: min(1180px, 100%); }
.player-wrap { width: min(420px, 100%); margin: 0 auto; background: #000; border-radius: 18px; overflow: hidden; }
.player-wrap.portrait { aspect-ratio: 9 / 16; max-height: 70vh; }
.player-wrap.landscape { width: min(1120px, calc(100% - 32px)); aspect-ratio: 16 / 9; max-height: 72vh; }
.column.plain.wide .actions { width: min(1120px, calc(100% - 32px)); }

.top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px 8px;
}
.top h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.spacer { flex: 1; }
.pill, .credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.credits-pill {
  color: var(--accent);
  background: rgba(42, 212, 255, 0.12);
  border-color: rgba(42, 212, 255, 0.35);
  font-weight: 600;
}
.intro { text-align: center; padding: 48px 24px 40px; }
.wordmark { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin: 0; }
.wordmark span {
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro h2 { margin: 22px 0 8px; font-size: 22px; color: var(--muted); }
.intro p { color: var(--muted); margin: 0 auto 18px; max-width: 36ch; line-height: 1.45; }
.samples { display: flex; gap: 14px; overflow: auto; padding: 8px 0 22px; scroll-snap-type: x mandatory; }
.samples article {
  flex: 0 0 148px;
  scroll-snap-align: start;
  text-align: left;
}
.samples img, .thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--elev);
}
.samples span { display: block; margin-top: 8px; font-size: 13px; font-weight: 650; }
.legal-row { display: flex; justify-content: center; gap: 18px; margin-top: 16px; }
.legal-row a, .linkish { color: var(--muted); font-size: 12px; font-weight: 600; background: none; border: 0; padding: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 650;
  background: var(--accent);
  color: var(--on);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pad { padding: 0 20px; }
.lead { margin: 6px 20px 0; }
.lead h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -0.03em; }
.lead p { margin: 0; color: var(--muted); }

.composer {
  margin: 16px 20px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 0;
  background: transparent;
  outline: none;
}
.composer-row, .row { display: flex; align-items: center; gap: 10px; }
.photo-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.photo-btn img, .photo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}
.photo-placeholder { display: grid; place-items: center; color: var(--muted); }
.photo-btn small, .count { color: var(--muted); font-size: 12px; }
.photo-btn strong { display: block; font-size: 14px; }
.count { margin-left: auto; }
.icon-btn { background: none; border: 0; color: var(--muted); font-size: 18px; }

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 20px 8px; }
.chips.three { grid-template-columns: 1fr 1fr; }
.chip {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 650;
}
.chip.on { background: var(--accent); color: var(--on); border-color: var(--accent); }
.chip.line.on { background: transparent; color: var(--accent); border-color: var(--accent); }

.generate {
  display: flex;
  width: calc(100% - 40px);
  margin: 8px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding: 0;
}
.generate span { flex: 1; padding: 16px 8px; font-weight: 650; }
.generate span.cost { flex: 0 0 130px; color: var(--muted); border-left: 1px solid rgba(255,255,255,0.12); }
.generate:disabled { opacity: 0.55; }
.generate:not(:disabled) span:first-child { color: var(--accent); }
.warn { color: #f5d76e; text-align: center; font-size: 14px; font-weight: 650; margin: 8px 24px; }
.credits-line { text-align: center; color: var(--muted); font-size: 14px; margin: 10px 20px 18px; }
.credits-line button { color: var(--accent); font-weight: 700; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 8px 20px 12px; }
.section-head h3 { margin: 0; font-size: 22px; }
.section-head button { background: none; border: 0; color: var(--muted); font-weight: 650; }
.ideas { display: flex; gap: 12px; overflow: auto; padding: 0 20px 8px; }
.idea {
  flex: 0 0 280px;
  height: 148px;
  display: grid;
  grid-template-columns: 150px 1fr;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
}
.idea div { padding: 14px; }
.idea strong { display: block; font-size: 17px; margin-bottom: 6px; }
.idea p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.idea img { width: 100%; height: 100%; object-fit: cover; }

.search {
  display: flex;
  gap: 10px;
  margin: 8px 20px 16px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.search input { flex: 1; border: 0; background: transparent; outline: none; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 16px; min-width: 0; }
.card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
}
.card img { height: 148px; width: 100%; object-fit: cover; }
.card div { padding: 10px 10px 12px; }
.card strong { display: block; font-size: 14px; min-height: 2.4em; }
.card small { color: var(--muted); }
.card .meta { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 700; }

.filters { display: flex; gap: 8px; overflow: auto; padding: 0 20px 12px; max-width: 100%; min-width: 0; }
.filters button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.filters button.on { background: var(--accent); color: var(--on); border-color: var(--accent); }
.card { min-width: 0; }
.video-card { position: relative; min-width: 0; }
.video-card video, .video-card .ph, .video-card .ph img { height: 180px; width: 100%; max-width: 100%; object-fit: cover; background: #102033; display: block; }
.ph { display: grid; place-items: center; color: var(--accent); min-width: 0; overflow: hidden; }
.ph video { pointer-events: none; }
.badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.45);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
}

.balance { text-align: center; padding: 12px 20px 0; }
.balance strong { display: block; font-size: 72px; letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.balance span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }
.stack { display: grid; gap: 10px; margin: 18px 20px; }
.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.line span { color: var(--muted); }
.banner {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 8px 20px 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.banner p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 20px; }

.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  background: rgba(14, 30, 54, 0.95);
  border-top: 1px solid rgba(42, 212, 255, 0.35);
  backdrop-filter: blur(14px);
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
}
.tabs nav { display: flex; width: min(720px, 100%); }
.tabs button {
  flex: 1;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  display: grid;
  justify-items: center;
  gap: 4px;
}
.tabs button.on { color: var(--accent); }
.tabs svg { width: 20px; height: 20px; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: auto;
  background:
    radial-gradient(420px 280px at 0% 0%, rgba(42, 212, 255, 0.12), transparent 60%),
    var(--bg);
}
.center-screen { min-height: 100%; display: grid; align-content: center; justify-items: center; text-align: center; padding: 32px 24px 40px; }
.orb { width: 180px; height: 180px; border-radius: 50%; border: 2px solid rgba(42, 212, 255, 0.45); display: grid; place-items: center; box-shadow: 0 0 40px rgba(42, 212, 255, 0.25); margin-bottom: 12px; }
.orb span { font-size: 42px; }
.bar { width: min(420px, 100%); height: 10px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin: 22px 0 8px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.player-wrap video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.actions { display: grid; gap: 10px; width: min(420px, 100%); margin: 16px auto; }
.plan {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.plan.on { border-color: var(--accent); }
.plan strong { display: block; }
.plan small { color: var(--muted); }
.paywall.busy { pointer-events: none; }
.pay-loading {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  background: rgba(4, 12, 22, 0.78);
  pointer-events: auto;
}
.pay-loading p { margin: 0; font-weight: 700; }
.spin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: #2ad4ff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.kicker { letter-spacing: 0.14em; font-size: 11px; color: var(--muted); font-weight: 800; margin: 18px 0 8px; }
.suggest { margin-top: 10px; padding: 14px; border-radius: 12px; background: rgba(42, 212, 255, 0.08); border: 1px solid rgba(42, 212, 255, 0.3); font-size: 13px; }
.empty { text-align: center; color: var(--muted); padding: 48px 24px; }
.login-wrap {
  min-height: 100vh;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  align-items: center;
  gap: 40px;
  padding: 40px 32px;
  background:
    radial-gradient(520px 320px at 12% 28%, rgba(42, 212, 255, 0.16), transparent 70%),
    radial-gradient(420px 280px at 78% 80%, rgba(0, 168, 224, 0.12), transparent 72%);
}
.login-brand { max-width: 720px; }
.login-brand h1 { font-size: 48px; line-height: 1.05; margin: 14px 0 12px; font-weight: 800; letter-spacing: -0.04em; }
.login-reels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.reel { margin: 0; }
.reel video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 440px;
  object-fit: cover;
  border-radius: 18px;
  background: #0e1e36;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}
.reel figcaption { display: block; margin-top: 8px; font-size: 13px; font-weight: 650; }
.login-card {
  margin: 0;
  padding: 32px 28px;
  background: rgba(14, 30, 54, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.login-card h2 { margin: 0 0 6px; font-size: 28px; }
.login-card p { margin: 0 0 18px; color: var(--muted); }
.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #102033;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
}
.or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  margin: 16px 0;
}
.or::before, .or::after { content: ""; height: 1px; background: var(--line); }
.field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.field input {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 12px;
  outline: none;
}
.switch-auth { margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; }
.switch-auth button { color: var(--accent); background: none; border: 0; font-weight: 700; }
.forgot { display: block; margin: -4px 0 12px; padding: 0; background: none; border: 0; color: var(--accent); font-size: 13px; font-weight: 650; }
.auth-note { margin: 0 0 12px; color: var(--accent); font-size: 14px; font-weight: 650; }
.look-around {
  width: 100%;
  margin-top: 6px;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
}
.look-note { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.4; }
.gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px 16px;
}
.gate-shade { position: absolute; inset: 0; border: 0; background: rgba(4, 12, 22, 0.72); }
.gate-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  margin: 0;
  padding: 28px 22px 20px;
  background: rgba(14, 30, 54, 0.98);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.gate-card h2 { margin: 0 36px 6px 0; font-size: 26px; }
.gate-card > p { margin: 0 0 16px; color: var(--muted); }
.gate-card .close-x { position: absolute; top: 14px; right: 14px; }
.notice { margin: 12px 20px 0; color: var(--accent); font-size: 14px; }
@media (max-width: 800px) {
  .login-wrap { grid-template-columns: 1fr; padding: 20px 16px; }
  .login-brand h1 { font-size: 32px; }
  .reel video { max-height: 280px; }
}
.close-x {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: #fff;
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .balance strong { font-size: 64px; }
}

.studio {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  background:
    radial-gradient(520px 280px at 18% 0%, rgba(42, 212, 255, 0.08), transparent 60%),
    #07111c;
}
.side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px 16px;
  background: rgba(6, 14, 26, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 6px 8px 16px;
  text-align: left;
}
.brand i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #2ad4ff;
  color: #041018;
}
.brand svg { width: 16px; height: 16px; }
.brand strong { font-size: 14px; letter-spacing: 0.01em; line-height: 1.15; }
.side nav { display: grid; gap: 4px; }
.side nav button, .side-foot > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: #c5d4e8;
  font-weight: 600;
}
.side nav button.on, .side-foot > button.on { background: rgba(42, 212, 255, 0.14); color: #fff; }
.side svg { width: 18px; height: 18px; flex: 0 0 auto; }
.side-foot { margin-top: auto; display: grid; gap: 8px; }
.who {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 8px;
  text-align: left;
}
.who img, .who > span:first-child {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #16324a;
  font-weight: 700;
}
.stage { min-width: 0; }
.studio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 28px 0;
}
.crumb { margin: 0; color: #8aa4c4; font-size: 13px; }
.crumb span { color: #fff; }
.studio-pills { display: flex; gap: 8px; }
.pro-pill {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 102, 0.45);
  background: rgba(255, 196, 64, 0.12);
  color: #ffd56a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.studio-page { padding: 8px 28px 40px; }
.hero-copy h2 { margin: 18px 0 6px; font-size: 40px; letter-spacing: -0.04em; }
.hero-copy p { margin: 0 0 18px; color: #8aa4c4; }
.create-grid { max-width: 820px; }
.panel {
  background: rgba(16, 28, 48, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 16px;
}
.mode-switch { display: flex; gap: 8px; margin-bottom: 14px; }
.mode-switch button {
  border: 0;
  background: transparent;
  color: #8aa4c4;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
}
.mode-switch button.on { background: rgba(42, 212, 255, 0.16); color: #fff; }
.prompt-box {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px;
  background: rgba(4, 12, 22, 0.35);
}
.prompt-head { display: flex; justify-content: space-between; align-items: center; color: #8aa4c4; font-size: 13px; }
.prompt-head button { background: none; border: 0; color: #7ee8ff; font-weight: 700; }
.prompt-head button:disabled { opacity: 0.4; }
.prompt-box textarea { min-height: 110px; }
.prompt-box .count { position: absolute; right: 12px; bottom: 10px; }
.ref-row {
  width: 100%;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 10px;
}
.ref-row > span, .ref-row img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.ref-row em { font-style: normal; }
.ref-row strong { display: block; }
.ref-row small, .ref-row b { color: #8aa4c4; font-weight: 600; }
.ref-row b { margin-left: auto; }
.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: #8aa4c4; font-size: 14px; }
.seg { display: flex; gap: 8px; }
.seg .chip { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.04); color: #c5d4e8; }
.seg .chip.on { background: #2ad4ff; color: #041018; border-color: #2ad4ff; }
.panel .generate.studio-go {
  width: 100%;
  margin: 16px 0 0;
  background: #2ad4ff;
  border: 0;
  color: #041018;
  border-radius: 14px;
}
.panel .generate.studio-go span, .panel .generate.studio-go span.cost { color: #041018; font-weight: 800; }
.panel .generate.studio-go span.cost { border-left: 1px solid rgba(4, 16, 24, 0.16); }
.avail { margin: 8px 0 0; text-align: center; color: #8aa4c4; font-size: 13px; }
.inspire-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin: 28px 0 12px; }
.inspire-head h3 { margin: 0; font-size: 22px; }
.inspire-head p { margin: 4px 0 0; color: #8aa4c4; }
.inspire-head button { background: none; border: 0; color: #7ee8ff; font-weight: 700; }
.inspire-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.inspire {
  display: grid;
  text-align: left;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 28, 48, 0.9);
}
.inspire img { height: 140px; width: 100%; object-fit: cover; }
.inspire span { display: grid; gap: 4px; padding: 12px; }
.inspire small { color: #8aa4c4; font-size: 12px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 980px) {
  .studio { display: block; width: 100%; max-width: 100%; overflow-x: clip; }
  .side {
    position: sticky;
    top: 0;
    z-index: 6;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: #07111c;
  }
  .side nav { display: flex; min-width: 0; }
  .side nav button, .side-foot > button, .who { width: auto; flex: 0 0 auto; }
  .side-foot { margin-top: 0; display: flex; }
  .brand { padding-bottom: 6px; flex: 0 0 auto; }
  .brand strong { display: none; }
  .who span:last-child, .side-foot > button span, .side nav span { display: none; }
  .stage, .studio-page, .studio-top, .panel, .create-grid, .prompt-box { min-width: 0; max-width: 100%; }
  .studio-top { flex-wrap: wrap; }
  .opt-row { flex-wrap: wrap; align-items: flex-start; }
  .seg { flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
  .inspire-row { grid-template-columns: 1fr; }
  .hero-copy h2 { font-size: 30px; }
  .studio-page, .studio-top { padding-left: 16px; padding-right: 16px; }
}
