@font-face {
  font-family: "OutfitBlack";
  src: url("/fonts/Outfit-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OutfitBold";
  src: url("/fonts/Outfit-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SpaceGroteskBold";
  src: url("/fonts/SpaceGrotesk-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SyneExtraBold";
  src: url("/fonts/Syne-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Authentic 365 On This Day Logo Palette */
  --brand-pink: #e02b94;
  --brand-pink-bright: #ff4fb3;
  --brand-pink-soft: rgba(224, 43, 148, 0.16);
  --brand-lime: #c7eb2f;
  --brand-lime-bright: #d7f555;
  --brand-lime-soft: rgba(199, 235, 47, 0.14);
  --ink: #0a0a0c;

  --bg: #0c0d0a;
  --surface: #141612;
  --surface-2: #1b1e18;
  --surface-3: #242920;
  --border: rgba(199, 235, 47, 0.14);
  --border-strong: rgba(224, 43, 148, 0.34);
  --text: #f6f8f2;
  --muted: #a6ae9c;
  --accent: var(--brand-lime);
  --danger: #ff4365;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(224, 43, 148, 0.18), transparent 40%),
    radial-gradient(circle at bottom left, rgba(199, 235, 47, 0.13), transparent 38%),
    radial-gradient(circle at 50% 0%, rgba(199, 235, 47, 0.06), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

code {
  background: rgba(199, 235, 47, 0.1);
  color: var(--brand-lime);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.88em;
}

a {
  color: var(--brand-lime);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: var(--brand-pink-bright);
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.app-shell {
  max-width: 1420px;
  margin: 0 auto;
  padding: 18px 24px 48px;
}

/* Top Bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  background: rgba(20, 22, 18, 0.9);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(224, 43, 148, 0.3);
  border-radius: 20px;
  margin-bottom: 22px;
  position: sticky;
  top: 12px;
  z-index: 30;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(224, 43, 148, 0.35));
}

.brand-title {
  font-family: "OutfitBlack", sans-serif;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--brand-lime);
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.top-tabs {
  display: flex;
  background: var(--ink);
  padding: 4px;
  border-radius: 13px;
  border: 1px solid rgba(199, 235, 47, 0.22);
  gap: 4px;
}

.top-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s ease;
}

.top-tab:hover {
  color: var(--brand-lime);
}

.top-tab.active {
  background: var(--brand-pink);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(224, 43, 148, 0.38);
}

.status-dots {
  display: inline-flex;
  gap: 4px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4d5445;
  display: inline-block;
}

.dot.ok {
  background: var(--brand-lime);
  box-shadow: 0 0 8px rgba(199, 235, 47, 0.85);
}

.top-actions {
  display: flex;
  gap: 8px;
}

/* Studio 2-column layout */
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 24px;
  align-items: start;
}

/* Daily 2-Video Slot Switcher */
.daily-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.slot-tab {
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  transition: all 0.16s ease;
}

.slot-tab:hover {
  border-color: var(--brand-pink);
  background: var(--surface-2);
}

.slot-tab.active[data-slot="0"] {
  border-color: var(--brand-pink);
  background: rgba(224, 43, 148, 0.16);
  box-shadow: 0 0 0 2px rgba(224, 43, 148, 0.25);
}

.slot-tab.active[data-slot="1"] {
  border-color: var(--brand-lime);
  background: rgba(199, 235, 47, 0.14);
  box-shadow: 0 0 0 2px rgba(199, 235, 47, 0.22);
}

.slot-badge {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-family: "OutfitBlack", sans-serif;
  font-size: 12.5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.slot-badge.slot-1 {
  background: var(--brand-pink);
  color: #ffffff;
}

.slot-badge.slot-2 {
  background: var(--brand-lime);
  color: var(--ink);
}

.slot-tab-text {
  min-width: 0;
  flex: 1;
}

.slot-tab-title {
  font-size: 13px;
  font-weight: 700;
}

.slot-tab-sub {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-clear {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.slot-clear:hover {
  background: rgba(255, 67, 101, 0.28);
  color: #ff99ac;
}

.daily-prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(224, 43, 148, 0.13), rgba(199, 235, 47, 0.09));
  border: 1px solid rgba(224, 43, 148, 0.3);
  margin-bottom: 14px;
}

.daily-prompt-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  font-size: 13px;
}

.ai-topup-note {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(224, 43, 148, 0.14);
  border: 1px solid rgba(224, 43, 148, 0.38);
  color: #ffc8e8;
  font-size: 12.5px;
}

/* Stepper */
.stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.step-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.16s ease;
  white-space: nowrap;
  overflow: hidden;
}

.step-pill:hover {
  border-color: var(--brand-pink);
  color: var(--text);
}

.step-pill.active {
  background: var(--brand-pink-soft);
  border-color: var(--brand-pink);
  color: #ffffff;
}

.step-pill.done .step-num {
  background: var(--brand-lime);
  color: var(--ink);
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-pill.active .step-num {
  background: var(--brand-pink);
  color: #ffffff;
}

.step-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.step-panel.active {
  display: flex;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

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

.card h2 {
  margin: 0 0 4px;
  font-size: 19px;
  font-family: "OutfitBlack", sans-serif;
  letter-spacing: -0.01em;
  color: var(--text);
}

.card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-family: "OutfitBold", sans-serif;
}

.muted {
  color: var(--muted);
  margin: 0;
  font-size: 13.5px;
}

.small {
  font-size: 12.5px;
}

.tiny-label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 700;
}

/* Buttons — Brand Lime, Brand Pink, Ink Black */
.btn {
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.16s ease;
  color: var(--text);
  background: var(--surface-3);
}

.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--brand-lime);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 8px 22px rgba(199, 235, 47, 0.28);
}

.btn-primary:hover:not(:disabled) {
  background: var(--brand-lime-bright);
  border-color: var(--brand-pink);
  transform: translateY(-1px);
}

.btn-pink {
  background: var(--brand-pink);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 22px rgba(224, 43, 148, 0.34);
}

.btn-pink:hover:not(:disabled) {
  background: var(--brand-pink-bright);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-3);
  border-color: rgba(199, 235, 47, 0.28);
  color: var(--text);
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--brand-lime);
  background: #2c3326;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(199, 235, 47, 0.2);
  color: var(--muted);
}

.btn-ghost:hover:not(:disabled) {
  color: var(--brand-lime);
  border-color: var(--brand-pink);
}

.btn-success {
  background: linear-gradient(135deg, var(--brand-lime), #a9dc1a);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(199, 235, 47, 0.32);
}

.btn-success:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-record {
  background: var(--brand-pink);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(224, 43, 148, 0.44);
}

.btn-record:hover:not(:disabled) {
  background: var(--brand-pink-bright);
}

.btn-danger {
  background: var(--brand-lime);
  color: var(--ink);
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 999px;
  font-weight: 800;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 12px 20px;
  font-size: 15px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--brand-lime);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.btn-link:hover {
  color: var(--brand-pink-bright);
  text-decoration: underline;
}

/* Inputs & Forms */
.input,
.textarea,
select.input {
  width: 100%;
  background: var(--ink);
  color: var(--text);
  border: 1.5px solid rgba(199, 235, 47, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.input:focus,
.textarea:focus {
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 3px rgba(224, 43, 148, 0.18);
}

.textarea {
  resize: vertical;
  min-height: 68px;
}

.input-sm {
  padding: 7px 11px;
  font-size: 13px;
  width: 210px;
}

.input-date {
  width: auto;
  color-scheme: dark;
}

.date-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: #e4eadb;
}

.field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  background: var(--surface-3);
  color: var(--muted);
}

.badge-success {
  background: var(--brand-lime-soft);
  color: var(--brand-lime);
  border: 1px solid rgba(199, 235, 47, 0.32);
}

.badge-warn {
  background: var(--brand-pink-soft);
  color: #ff8cd0;
  border: 1px solid rgba(224, 43, 148, 0.35);
}

.badge-accent {
  background: var(--brand-pink-soft);
  color: #ff99d6;
  border: 1px solid rgba(224, 43, 148, 0.35);
}

/* Step 1: Event List */
.event-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}

.pill:hover {
  border-color: var(--brand-pink);
  color: var(--text);
}

.pill.active {
  background: var(--brand-lime);
  color: var(--ink);
  border-color: var(--ink);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 290px;
  overflow-y: auto;
  padding-right: 4px;
}

.event-item {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  transition: all 0.15s ease;
  text-align: left;
  color: var(--text);
}

.event-item:hover {
  border-color: var(--brand-pink);
  background: #20241c;
}

.event-item.selected-slot-0 {
  border-color: var(--brand-pink);
  background: rgba(224, 43, 148, 0.16);
  box-shadow: inset 4px 0 0 var(--brand-pink);
}

.event-item.selected-slot-1 {
  border-color: var(--brand-lime);
  background: rgba(199, 235, 47, 0.14);
  box-shadow: inset 4px 0 0 var(--brand-lime);
}

.event-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.event-slot-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.event-slot-pill.s0 {
  background: var(--brand-pink);
  color: #ffffff;
}

.event-slot-pill.s1 {
  background: var(--brand-lime);
  color: var(--ink);
}

.event-source {
  font-size: 10px;
  color: var(--muted);
  opacity: 0.88;
}

.event-source.ai {
  color: #ff8cd0;
  font-weight: 700;
}

.event-year {
  font-family: "SpaceGroteskBold", sans-serif;
  font-size: 15px;
  color: var(--brand-lime);
}

.event-text {
  font-size: 13.5px;
  line-height: 1.45;
  color: #eff3e8;
}

.event-cat {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 700;
}

.custom-event-box {
  margin-top: 12px;
  border: 1px dashed rgba(199, 235, 47, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(199, 235, 47, 0.03);
}

.custom-event-box summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-lime);
}

.custom-event-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

/* Step 2: Pixabay + AI Photo Grid */
.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  margin-bottom: 14px;
}

.search-row.four-col {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9 / 13;
  border: 2px solid var(--border);
  cursor: pointer;
  background: var(--surface-2);
  padding: 0;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.photo-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-pink);
}

.photo-card.selected {
  border-color: var(--brand-lime);
  box-shadow: 0 0 0 3px rgba(199, 235, 47, 0.38);
}

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

.photo-source-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
}

.photo-source-badge.ai {
  background: var(--brand-pink);
  color: #ffffff;
}

.photo-source-badge.pixabay {
  background: var(--brand-lime);
  color: var(--ink);
}

.photo-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 8px 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.86));
  color: #f3f6ed;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-card-loading {
  aspect-ratio: 9 / 13;
  border-radius: 14px;
  border: 1.5px dashed rgba(224, 43, 148, 0.45);
  background: linear-gradient(145deg, rgba(224, 43, 148, 0.12), rgba(199, 235, 47, 0.06));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  text-align: center;
  color: #ffc5e6;
  font-size: 12px;
  font-weight: 700;
  animation: pulseCard 1.5s ease-in-out infinite;
}

@keyframes pulseCard {
  0%, 100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

.info-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(199, 235, 47, 0.08);
  border: 1px solid rgba(199, 235, 47, 0.25);
  font-size: 13px;
  color: #e4ecd7;
}

.info-banner.compact {
  margin-top: 12px;
}

/* Step 3: Palette & Typography */
.palette-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.swatches {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.brightness-pill {
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--brand-lime);
}

.preset-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.preset-btn {
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.preset-btn:hover {
  border-color: var(--brand-pink);
}

.preset-btn.active {
  border-color: var(--brand-lime);
  background: var(--brand-lime-soft);
}

.preset-dots {
  display: inline-flex;
  gap: 4px;
}

.preset-dots i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.color-tweak-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.color-chip,
.scrim-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 700;
  color: #dbe3cf;
}

.color-chip input[type="color"] {
  width: 28px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.scrim-chip input[type="range"] {
  width: 90px;
  accent-color: var(--brand-pink);
}

.compact-toggle {
  margin-top: 14px;
  margin-bottom: 0;
}

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

.mini-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Step 4: Music & Beat Bank */
.toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.toggle-title {
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 2px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #363d30;
  border-radius: 999px;
  transition: 0.2s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background: var(--brand-pink);
}

.switch input:checked + .slider::before {
  transform: translateX(22px);
}

.lyria-box {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(224, 43, 148, 0.14), rgba(199, 235, 47, 0.07));
  border: 1px solid rgba(224, 43, 148, 0.34);
  margin-bottom: 18px;
}

.lyria-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.style-quote {
  margin: 0 0 14px;
  font-size: 13px;
  color: #edf3e2;
  font-style: italic;
}

.lyria-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.beat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
}

.beat-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.beat-item.selected {
  border-color: var(--brand-lime);
  background: var(--brand-lime-soft);
}

.beat-title {
  font-weight: 700;
  font-size: 13.5px;
}

.beat-meta {
  font-size: 12px;
  color: var(--muted);
}

.beat-audio {
  height: 32px;
  width: 210px;
}

/* Step 5: Teleprompter & Mic */
.teleprompter-card {
  background: var(--ink);
  border: 1.5px solid rgba(224, 43, 148, 0.36);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}

.teleprompter-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-lime);
  margin-bottom: 16px;
}

.rec-timer {
  font-family: "SpaceGroteskBold", monospace;
  font-size: 15px;
  color: var(--brand-pink-bright);
}

.teleprompter-text {
  font-family: "OutfitBold", sans-serif;
  font-size: 27px;
  line-height: 1.35;
  color: #ffffff;
  margin: 10px auto 22px;
  max-width: 620px;
}

.meter-track {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  max-width: 360px;
  margin: 0 auto 20px;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-lime), var(--brand-pink));
  transition: width 0.06s linear;
}

.recorder-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.voice-result {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid rgba(199, 235, 47, 0.42);
}

.voice-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ab-players {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.audio-slot audio {
  width: 100%;
  height: 36px;
}

/* Step 6: Checklist & Approval */
.checklist-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.check-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
}

.check-chip.ready {
  background: var(--brand-lime-soft);
  border-color: rgba(199, 235, 47, 0.4);
  color: var(--brand-lime);
}

.render-status {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(199, 235, 47, 0.14);
  border: 1px solid rgba(199, 235, 47, 0.4);
  color: #e9f9a7;
  font-size: 13.5px;
}

.header-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.export-options-box {
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid rgba(199, 235, 47, 0.28);
}

.export-options-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-lime);
  margin-bottom: 10px;
}

.checkbox-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 12px;
  background: var(--ink);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.checkbox-card:hover {
  border-color: var(--brand-pink);
}

.checkbox-card.disabled-card {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-lime);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 2px;
}

.download-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.download-links-row a.btn {
  text-decoration: none;
}

.approval-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1.5px solid rgba(224, 43, 148, 0.34);
}

.approval-note {
  font-size: 13px;
  color: #e6ecdc;
  margin-bottom: 14px;
}

.approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.export-result {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(199, 235, 47, 0.15);
  border: 1px solid rgba(199, 235, 47, 0.45);
  font-size: 13.5px;
  color: #eef9be;
}

/* Right Column: 9:16 Live Phone Preview */
.preview-col {
  position: sticky;
  top: 86px;
}

.preview-card {
  background: var(--surface);
  border: 1.5px solid rgba(224, 43, 148, 0.32);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.preview-mode-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  background: var(--ink);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.mode-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 7px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.mode-btn.active {
  background: var(--brand-pink);
  color: #ffffff;
}

.mode-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  border: 2px solid rgba(199, 235, 47, 0.25);
}

.stage-9x16 {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.stage-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.stage-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  animation: slowKenBurns 8s ease-in-out infinite alternate;
}

.stage-photo.loaded {
  display: block;
}

@keyframes slowKenBurns {
  from {
    transform: scale(1.0);
  }
  to {
    transform: scale(1.085);
  }
}

.stage-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  background: radial-gradient(circle at center, #1d2119, #0b0c09);
}

.placeholder-icon {
  font-size: 32px;
}

.stage-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 10, 14, 0.72) 0%,
    rgba(8, 10, 14, 0.48) 32%,
    rgba(8, 10, 14, 0.62) 52%,
    rgba(8, 10, 14, 0.48) 74%,
    rgba(8, 10, 14, 0.78) 100%
  );
  opacity: 0.85;
  pointer-events: none;
}

.stage-safe {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 54px 34px 82px;
}

.stage-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.stage-eyebrow {
  font-family: "OutfitBold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-pink-bright);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.stage-date {
  font-family: "SpaceGroteskBold", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.85);
}

.stage-rule {
  width: 42px;
  height: 3px;
  border-radius: 4px;
  background: var(--brand-pink-bright);
  margin-top: 6px;
}

.stage-center {
  width: 100%;
  max-width: 88%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 4px;
  font-family: "OutfitBlack", sans-serif;
  font-size: 20px;
  line-height: 1.24;
  color: #ffffff;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}

.chunk-line {
  display: block;
  width: 100%;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(8px);
  animation: staggerFade 0.45s ease forwards;
}

.chunk-line.instant {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes staggerFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "OutfitBold", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: var(--brand-pink);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.58);
}

.stage-pill.no-logo {
  padding: 8px 18px;
}

.stage-pill-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.rendered-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.preview-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  padding: 0 4px;
}

/* Step Footer */
.step-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Settings View */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.full-span {
  grid-column: 1 / -1;
}

.instructions {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: #d7dfd0;
}

.instructions ol {
  margin: 6px 0 0;
  padding-left: 18px;
}

.instructions li {
  margin-bottom: 4px;
}

.yt-connected-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--brand-lime-soft);
  border: 1px solid rgba(199, 235, 47, 0.4);
  margin-bottom: 14px;
}

.yt-channel-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yt-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-3);
  object-fit: cover;
}

.yt-channel-name {
  font-weight: 700;
  font-size: 14.5px;
}

.yt-action-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.paths-box {
  font-size: 12px;
  color: var(--muted);
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  word-break: break-all;
}

.empty-state {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  border-radius: 12px;
  background: var(--surface-2);
}

/* Google Fonts Option #11 Search Drawer */
.field-hint {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.35;
}

.font-search-panel {
  margin-top: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(18, 20, 24, 0.92);
  border: 1px solid rgba(199, 235, 47, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.font-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.font-search-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.font-search-results {
  margin-top: 10px;
  max-height: 230px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 8px;
}

.font-result-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.font-result-item:hover,
.font-result-item.selected {
  border-color: var(--brand-lime);
  background: rgba(199, 235, 47, 0.08);
  transform: translateY(-1px);
}

.font-result-name {
  font-weight: 700;
  font-size: 13.5px;
}

.font-result-cat {
  font-size: 11px;
  color: var(--muted);
  text-transform: capitalize;
}

/* Step 4 Music Source Tabs & MacLeod Sounds Panel */
.music-source-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.music-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.music-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.music-tab.active {
  color: #0b0c0e;
  background: var(--brand-lime);
  border-color: var(--brand-lime);
  box-shadow: 0 4px 14px rgba(199, 235, 47, 0.28);
}

.music-tab.active[data-music-tab="macleod"] {
  color: #ffffff;
  background: var(--brand-pink);
  border-color: var(--brand-pink);
  box-shadow: 0 4px 14px rgba(224, 43, 148, 0.32);
}

.macleod-box {
  background: linear-gradient(145deg, rgba(224, 43, 148, 0.10), rgba(14, 15, 19, 0.92));
  border: 1px solid rgba(224, 43, 148, 0.30);
  border-radius: 16px;
  padding: 18px;
}

.badge-pink {
  background: rgba(224, 43, 148, 0.22);
  color: #ff8fd0;
  border: 1px solid rgba(224, 43, 148, 0.45);
}

.macleod-context-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.macleod-tag-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(199, 235, 47, 0.12);
  border: 1px solid rgba(199, 235, 47, 0.32);
  color: var(--brand-lime);
  font-size: 11.5px;
  font-weight: 600;
}

.search-inline-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-inline-row .input {
  flex: 1;
}

.macleod-preview-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(12, 13, 17, 0.85);
  border: 1px solid rgba(224, 43, 148, 0.35);
}

.macleod-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.macleod-track-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
}

.macleod-track-desc {
  margin: 0 0 10px 0;
  line-height: 1.45;
}

.macleod-attr-box {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(199, 235, 47, 0.06);
  border: 1px solid rgba(199, 235, 47, 0.25);
}

.macleod-attr-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-lime);
  margin-bottom: 6px;
}

.macleod-attr-text {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: var(--text);
  white-space: pre-wrap;
  line-height: 1.45;
}

/* Step 5 Microphone Input Selector & Mix Preview */
.mic-selector-card {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid rgba(199, 235, 47, 0.25);
}

.mic-selector-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.mic-selector-row select {
  flex: 1;
  min-width: 220px;
}

.voice-result-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mix-preview-card {
  margin: 14px 0;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(199, 235, 47, 0.08), rgba(224, 43, 148, 0.08));
  border: 1px solid rgba(199, 235, 47, 0.32);
}

.mix-preview-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-lime);
}

.mix-preview-card audio {
  margin-top: 8px;
}

.mix-balance-row {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mix-balance-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.mix-slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mix-slider-wrap input[type="range"] {
  flex: 1;
  min-width: 150px;
  accent-color: var(--brand-lime);
}

/* Toasts */
.toast-container {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.toast {
  background: #1b1f18;
  color: #f6f8f2;
  border: 1px solid rgba(199, 235, 47, 0.25);
  border-left: 4px solid var(--brand-pink);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  max-width: 380px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.2s ease;
}

.toast.success {
  border-left-color: var(--brand-lime);
}

.toast.error {
  border-left-color: var(--danger);
}

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

@media (max-width: 1060px) {
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .preview-col {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }
  .stepper {
    grid-template-columns: repeat(3, 1fr);
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .search-row.four-col {
    grid-template-columns: 1fr 1fr;
  }
}


/* ---------- Launch Mode Chooser & Automate Progress ---------- */
.launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 9, 7, 0.86);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

.launch-modal {
  width: 100%;
  max-width: 900px;
  background: var(--surface);
  border: 1.5px solid rgba(224, 43, 148, 0.42);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.launch-head {
  text-align: center;
  margin-bottom: 24px;
}

.launch-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(224, 43, 148, 0.4));
}

.launch-head h1 {
  margin: 0 0 6px;
  font-family: "OutfitBlack", sans-serif;
  font-size: 26px;
  color: var(--text);
}

.launch-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.launch-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.launch-card:hover {
  transform: translateY(-2px);
}

.launch-card-manual:hover {
  border-color: var(--brand-lime);
}

.launch-card-auto {
  border-color: rgba(224, 43, 148, 0.48);
  background: linear-gradient(155deg, rgba(224, 43, 148, 0.14), rgba(199, 235, 47, 0.06) 65%, var(--surface-2));
  box-shadow: 0 12px 36px rgba(224, 43, 148, 0.16);
}

.launch-card-auto:hover {
  border-color: var(--brand-pink-bright);
}

.launch-card h2 {
  margin: 0;
  font-family: "OutfitBlack", sans-serif;
  font-size: 20px;
}

.launch-card-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--brand-lime);
  border: 1px solid rgba(199, 235, 47, 0.35);
}

.launch-card-badge.auto-badge {
  background: var(--brand-pink);
  color: #ffffff;
  border-color: transparent;
}

.launch-bullets {
  margin: 4px 0 8px;
  padding-left: 18px;
  font-size: 13px;
  color: #dce3d1;
}

.launch-bullets li {
  margin-bottom: 5px;
}

.launch-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(10, 10, 12, 0.65);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
}

.launch-btn {
  margin-top: auto;
  width: 100%;
}

/* Automate Progress Screen */
.automate-progress {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1.5px solid rgba(224, 43, 148, 0.4);
}

.auto-prog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.auto-prog-pct {
  font-family: "SpaceGroteskBold", monospace;
  font-size: 18px;
  color: var(--brand-lime);
}

.auto-prog-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--ink);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.auto-prog-fill {
  height: 100%;
  width: 5%;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-lime));
  transition: width 0.35s ease;
}

.auto-prog-msg {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.auto-stage-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auto-stage {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(10, 10, 12, 0.55);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.auto-stage.active {
  border-color: var(--brand-pink);
  color: #ffffff;
  background: rgba(224, 43, 148, 0.14);
}

.auto-stage.done {
  border-color: rgba(199, 235, 47, 0.42);
  color: var(--brand-lime);
}

.auto-stage-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.auto-stage.active .auto-stage-dot {
  background: var(--brand-pink);
  color: #ffffff;
}

.auto-stage.done .auto-stage-dot {
  background: var(--brand-lime);
  color: var(--ink);
}

/* Step 5: 5 Studio Voice Mix Presets */
.voice-mix-card {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.voice-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.voice-preset-btn {
  border: 1.5px solid var(--border);
  background: var(--ink);
  color: #dce3d1;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.voice-preset-btn:hover {
  border-color: var(--brand-pink);
  color: #ffffff;
}

.voice-preset-btn.active {
  background: var(--brand-lime);
  color: var(--ink);
  border-color: var(--brand-lime);
  box-shadow: 0 4px 14px rgba(199, 235, 47, 0.28);
}

.voice-preset-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* Automate 7-step Stepper & Final Review & Tweak Step */
.stepper.has-review {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.viral-reason-banner {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(199, 235, 47, 0.13), rgba(224, 43, 148, 0.1));
  border: 1px solid rgba(199, 235, 47, 0.36);
  font-size: 13.5px;
  color: #eef5df;
  margin-bottom: 16px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  padding: 15px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card.full {
  grid-column: 1 / -1;
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-card-head h3 {
  margin: 0;
  font-size: 14.5px;
}

.review-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.review-media-summary {
  display: flex;
  gap: 12px;
  align-items: center;
}

.review-thumb {
  width: 60px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--border-strong);
  background: var(--ink);
  flex-shrink: 0;
}

.review-meta-line {
  font-size: 13px;
  color: #e4eadb;
  margin-bottom: 5px;
}

@media (max-width: 780px) {
  .launch-choice-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .stepper.has-review {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ---------- Continue Progress Banner, Original vs Clean Cards, Trim Waveform & Dual Sliders ---------- */
.launch-continue-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(199, 235, 47, 0.16), rgba(224, 43, 148, 0.12));
  border: 2px solid var(--brand-lime);
  box-shadow: 0 12px 32px rgba(199, 235, 47, 0.18);
}

.launch-continue-copy h2 {
  font-family: "OutfitBlack", sans-serif;
  font-size: 20px;
}

.compact-search {
  display: flex;
  align-items: center;
  gap: 6px;
}

.voice-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.voice-choice-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--ink);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.voice-choice-card:hover {
  border-color: var(--brand-pink);
}

.voice-choice-card.selected {
  border-color: var(--brand-lime);
  background: rgba(199, 235, 47, 0.08);
  box-shadow: 0 0 0 2px rgba(199, 235, 47, 0.22);
}

.voice-choice-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.voice-choice-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
}

.trim-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ink);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.trim-card h3 {
  margin: 0;
  font-size: 14.5px;
}

.waveform-wrap {
  margin: 10px 0 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #10120e;
  border: 1px solid var(--border);
}

#voiceWaveformCanvas {
  width: 100%;
  height: 78px;
  display: block;
}

.trim-sliders-grid,
.dual-volume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.slider-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.slider-block input[type="range"] {
  width: 100%;
  accent-color: var(--brand-lime);
  cursor: pointer;
}

#musicVolumeBlock input[type="range"] {
  accent-color: var(--brand-pink);
}

.slider-block.muted-block {
  opacity: 0.45;
  pointer-events: none;
}

.save-mix-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 780px) {
  .launch-continue-card {
    flex-direction: column;
    align-items: stretch;
  }
  .voice-choice-grid,
  .trim-sliders-grid,
  .dual-volume-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- Step 6: Finish & Learn Style Card + Style Memory Insights Modal ---------- */

.finish-learn-card {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(199, 235, 47, 0.42);
  background: linear-gradient(135deg, rgba(199, 235, 47, 0.10), rgba(224, 43, 148, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.finish-learn-copy {
  flex: 1 1 320px;
}

.memory-modal {
  max-width: 780px;
  max-height: 86vh;
  overflow-y: auto;
  text-align: left;
}

.memory-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.memory-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.memory-stat-tile {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 12px 14px;
}

.memory-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.memory-stat-value {
  font-family: "OutfitBold", sans-serif;
  font-size: 18px;
  color: var(--brand-lime);
}

.memory-stat-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.memory-recent-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.memory-recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.memory-video-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.memory-video-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.memory-video-meta {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}


/* ==========================================================================
   GLOSSY AESTHETIC FUTURIST COSMETIC REDESIGN (Logo Hot Pink + Acid Lime)
   + Sticky Video Switcher, 9-Category Groups, Weekly Planner & Critique UI
   ========================================================================== */

:root {
  --brand-pink: #ff2ca8;
  --brand-pink-bright: #ff62c2;
  --brand-lime: #d2ff2e;
  --brand-lime-bright: #e4ff6b;
  --bg-deep: #06060b;
  --glass-surface: rgba(16, 17, 26, 0.72);
  --glass-border: rgba(255, 255, 255, 0.13);
}

body {
  overflow-x: clip;
  background:
    radial-gradient(900px 560px at 8% -6%, rgba(255, 44, 168, 0.24), transparent 62%),
    radial-gradient(820px 520px at 94% 4%, rgba(210, 255, 46, 0.17), transparent 60%),
    radial-gradient(640px 440px at 52% 108%, rgba(255, 44, 168, 0.12), transparent 65%),
    linear-gradient(180deg, #07070d 0%, #050509 100%) !important;
  background-attachment: fixed !important;
}

/* Frameless Compact Sticky Studio Dock (365 On This Day) */
.app-shell {
  padding-top: 6px;
}

.topbar:not(.aybee-topbar) {
  position: sticky !important;
  top: 0;
  z-index: 80;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  padding: 6px 0 8px !important;
  margin-bottom: 14px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Seamless full-width background feather ONLY while scrolling so cards glide cleanly underneath */
.topbar:not(.aybee-topbar)::before {
  content: "";
  position: absolute;
  top: -8px;
  bottom: -12px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  background:
    radial-gradient(900px 560px at 8% -6%, rgba(255, 44, 168, 0.24), transparent 62%),
    radial-gradient(820px 520px at 94% 4%, rgba(210, 255, 46, 0.17), transparent 60%),
    linear-gradient(180deg, rgba(7, 7, 13, 0.92) 0%, rgba(7, 7, 13, 0.82) 78%, rgba(7, 7, 13, 0) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar:not(.aybee-topbar).is-scrolled::before {
  opacity: 1;
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 2px 10px 2px 4px;
  cursor: pointer;
  text-align: center;
  color: inherit;
  flex-shrink: 0;
  transition: transform 0.18s ease, background 0.18s ease;
}

.brand-home-btn:hover {
  background: rgba(255, 44, 168, 0.09);
  transform: translateY(-1px);
}

.brand-home-btn .brand-logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 44, 168, 0.40));
}

.brand-title {
  font-family: "Pathway Gothic One", sans-serif !important;
  font-size: 27px !important;
  font-weight: 400 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  background: linear-gradient(95deg, #ffffff 10%, var(--brand-lime-bright) 58%, var(--brand-pink-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.topbar:not(.aybee-topbar) .top-tabs {
  flex-shrink: 0;
  padding: 3px;
  border-radius: 999px;
  gap: 3px;
}

.topbar:not(.aybee-topbar) .top-tab {
  white-space: nowrap;
  padding: 4px 14px;
  font-size: 12.5px;
  border-radius: 999px;
}

.topbar:not(.aybee-topbar) .studio-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #f0f2f8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.topbar:not(.aybee-topbar) .studio-account-trigger:hover {
  background: rgba(255, 44, 168, 0.16);
  border-color: rgba(255, 98, 194, 0.50);
}

.studio-sticky-dock {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}

/* Line 3: Compact Single-Line Video #1 / Video #2 Switcher */
.studio-sticky-dock .daily-switcher {
  position: static;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  gap: 8px;
}

.studio-sticky-dock .slot-tab {
  padding: 5px 10px;
  border-radius: 10px;
  gap: 8px;
  min-height: 32px;
}

.studio-sticky-dock .slot-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
}

.studio-sticky-dock .slot-tab-text {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.studio-sticky-dock .slot-tab-title {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.studio-sticky-dock .slot-tab-sep {
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.studio-sticky-dock .slot-tab-sub {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-sticky-dock .slot-clear {
  width: 19px;
  height: 19px;
  font-size: 13px;
}

/* Line 4: Compact Sticky Stepper */
.studio-sticky-dock .stepper {
  margin: 0;
  gap: 6px;
}

.studio-sticky-dock .step-pill {
  padding: 5px 8px;
  border-radius: 9px;
  font-size: 11.5px;
  gap: 6px;
}

.studio-sticky-dock .step-num {
  width: 19px;
  height: 19px;
  font-size: 11px;
}

.preview-col {
  top: 158px !important;
}

/* Organized Settings Hub Page */
.settings-hub-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.settings-hub-header {
  margin-bottom: 20px;
}

.settings-hub-title {
  margin: 0 0 4px;
  font-family: "OutfitBlack", sans-serif;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.settings-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.settings-hub-card {
  text-align: left;
  padding: 22px 24px;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(16, 17, 26, 0.82) 32%, rgba(11, 12, 19, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.settings-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 98, 194, 0.58);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 44, 168, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.settings-hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.settings-hub-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 21px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.settings-hub-card-title {
  font-family: "OutfitBold", sans-serif;
  font-size: 19px;
  color: #ffffff;
  margin-top: 2px;
}

.settings-hub-card-sub {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

.settings-hub-card-action {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-lime);
}

.settings-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(16, 17, 26, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.settings-subbar-title {
  font-family: "OutfitBold", sans-serif;
  font-size: 17px;
  color: #ffffff;
}

@media (max-width: 720px) {
  .settings-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* Glossy Glassmorphic Futurist Cards */
.card {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055) 0%, rgba(16, 17, 26, 0.78) 28%, rgba(11, 12, 19, 0.88) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 28px rgba(255, 44, 168, 0.03) !important;
  backdrop-filter: blur(18px);
}

.launch-modal {
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(255, 44, 168, 0.22), transparent 60%),
    radial-gradient(560px 280px at 88% 0%, rgba(210, 255, 46, 0.15), transparent 60%),
    linear-gradient(165deg, rgba(19, 20, 31, 0.96), rgba(9, 10, 16, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.78),
    0 0 60px rgba(255, 44, 168, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  border-radius: 26px !important;
}

/* Glossy Popping Gel Buttons */
.btn-primary {
  background: linear-gradient(180deg, #e7ff66 0%, #c8f51f 52%, #a9dc08 100%) !important;
  color: #08090c !important;
  border: 1px solid rgba(242, 255, 160, 0.85) !important;
  box-shadow:
    0 8px 24px rgba(210, 255, 46, 0.34),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.75) !important;
  font-weight: 800 !important;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1.5px);
  box-shadow:
    0 12px 30px rgba(210, 255, 46, 0.50),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.85) !important;
}

.btn-pink, .btn-record {
  background: linear-gradient(180deg, #ff64c4 0%, #f02298 52%, #c90f79 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 148, 214, 0.78) !important;
  box-shadow:
    0 8px 26px rgba(255, 44, 168, 0.42),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55) !important;
}

.btn-pink:hover:not(:disabled), .btn-record:hover:not(:disabled) {
  transform: translateY(-1.5px);
  box-shadow:
    0 12px 34px rgba(255, 44, 168, 0.58),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.72) !important;
}

.btn-success {
  background: linear-gradient(180deg, #4affb2 0%, #16d983 54%, #08b367 100%) !important;
  color: #04130b !important;
  border: 1px solid rgba(152, 255, 209, 0.8) !important;
  box-shadow:
    0 8px 26px rgba(22, 217, 131, 0.36),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.7) !important;
  font-weight: 800 !important;
}

.btn-success.is-scheduled-locked {
  background: linear-gradient(135deg, rgba(22, 217, 131, 0.24), rgba(210, 255, 46, 0.16)) !important;
  color: #7effc1 !important;
  border: 1px solid rgba(74, 255, 178, 0.65) !important;
  box-shadow: 0 0 22px rgba(22, 217, 131, 0.22) !important;
  opacity: 1 !important;
  cursor: default !important;
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover:not(:disabled) {
  border-color: rgba(255, 98, 194, 0.55) !important;
  box-shadow: 0 0 20px rgba(255, 44, 168, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* Glossy Stepper & Filter Pills */
.step-pill.active {
  background: linear-gradient(135deg, rgba(255, 44, 168, 0.30), rgba(210, 255, 46, 0.18)) !important;
  border-color: rgba(255, 98, 194, 0.72) !important;
  box-shadow: 0 0 22px rgba(255, 44, 168, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
}

.pill.active {
  background: linear-gradient(180deg, #ff64c4 0%, #e02290 100%) !important;
  border-color: rgba(255, 165, 222, 0.78) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(255, 44, 168, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.preview-card {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(12, 13, 21, 0.90)) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.62),
    0 0 40px rgba(255, 44, 168, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
}

/* Even, Tighter Live Preview Display Text Spacing (matches 4K render!) */
.stage-center {
  line-height: 1.13 !important;
  gap: 0px !important;
}

.stage-center .chunk-line {
  line-height: 1.13 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 9-Category Organized Event Groups & Source Badges */
.event-cat-group {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 10px;
  overflow: hidden;
}

.event-cat-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-family: "OutfitBold", sans-serif;
  font-size: 13.5px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  user-select: none;
}

.event-cat-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.event-source.src-wikidata { background: rgba(91, 164, 255, 0.16); color: #9ac9ff; border-color: rgba(91, 164, 255, 0.35); }
.event-source.src-loc { background: rgba(255, 190, 85, 0.16); color: #ffd794; border-color: rgba(255, 190, 85, 0.35); }
.event-source.src-musicbrainz { background: rgba(255, 98, 194, 0.18); color: #ff9fd9; border-color: rgba(255, 98, 194, 0.38); }
.event-source.src-nasa { background: rgba(74, 232, 255, 0.16); color: #96f3ff; border-color: rgba(74, 232, 255, 0.38); }
.event-source.src-tmdb { background: rgba(66, 238, 166, 0.16); color: #8dffcb; border-color: rgba(66, 238, 166, 0.38); }
.event-source.src-rawg { background: rgba(210, 255, 46, 0.16); color: #e6ff82; border-color: rgba(210, 255, 46, 0.38); }
.event-source.src-api_ninjas { background: rgba(182, 130, 255, 0.18); color: #d5b4ff; border-color: rgba(182, 130, 255, 0.38); }
.event-source.pd { background: rgba(210, 255, 46, 0.14); color: var(--brand-lime); border-color: rgba(210, 255, 46, 0.4); }

/* Home Central Time Clock & Weekly 7-Day Batch Banner */
.central-clock-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #f0ffd0;
  background: rgba(210, 255, 46, 0.10);
  border: 1px solid rgba(210, 255, 46, 0.35);
}

.launch-weekly-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  margin-bottom: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 44, 168, 0.46);
  background: linear-gradient(135deg, rgba(255, 44, 168, 0.16), rgba(210, 255, 46, 0.08));
  box-shadow: 0 10px 30px rgba(255, 44, 168, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.weekly-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.weekly-modal {
  max-width: 860px;
  max-height: 88vh;
  overflow-y: auto;
  text-align: left;
}

.weekly-days-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.weekly-day-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.weekly-day-card.day-completed {
  border-color: rgba(74, 255, 178, 0.45);
  background: rgba(22, 217, 131, 0.06);
}

.weekly-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.weekly-day-name {
  font-family: "OutfitBold", sans-serif;
  font-size: 16px;
}

.weekly-videos-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 10px;
}

.weekly-video-mini {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.weekly-vid-thumb {
  width: 44px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.weekly-vid-copy {
  flex: 1;
  min-width: 0;
}

.weekly-vid-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 5px;
  font-size: 12px;
}

.weekly-vid-title {
  font-size: 13px;
  line-height: 1.35;
  color: #e9ecf5;
}

/* Step 6: Per-Video Schedule Lock Row, Email Modal & Gemini Critique Card */
.schedule-lock-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.email-modal {
  max-width: 520px;
  text-align: left;
}

.critique-card {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 98, 194, 0.36);
  background: linear-gradient(145deg, rgba(255, 44, 168, 0.10), rgba(14, 16, 26, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.critique-result {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.critique-score-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.critique-score-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 25%, rgba(210, 255, 46, 0.30), rgba(255, 44, 168, 0.35));
  border: 2px solid var(--brand-lime);
  box-shadow: 0 0 26px rgba(210, 255, 46, 0.32);
}

.critique-score-num {
  font-family: "OutfitBlack", sans-serif;
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
}

.critique-score-grade {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-lime);
}

.critique-verdict-title {
  font-family: "OutfitBold", sans-serif;
  font-size: 16px;
  color: #ffffff;
}

.critique-bars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.critique-bar-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 4px;
}

.critique-bar-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.critique-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-lime));
  box-shadow: 0 0 12px rgba(210, 255, 46, 0.45);
}

.critique-lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  font-size: 13px;
}

.critique-list-head {
  font-family: "OutfitBold", sans-serif;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--brand-lime);
}

.critique-lists-grid ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #e0e4f0;
}


/* Studio Top-Bar Account Dropdown */
.studio-account-menu {
  position: relative;
}

.studio-account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 155px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(14, 15, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  z-index: 120;
}

.studio-account-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #f4f2fa;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  text-decoration: none !important;
}

.studio-account-item:hover {
  background: rgba(255, 44, 168, 0.22);
  color: #ffffff;
  text-decoration: none !important;
}

/* Home Mode Chooser Concise Cards & Return to AyBee Studios Footer */
.launch-card-desc {
  margin: 4px 0 auto;
  font-size: 14px;
  line-height: 1.55;
}

.launch-footer-hub {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: center;
}

.launch-return-hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: rgba(155, 231, 16, 0.08);
  border: 1px solid rgba(155, 231, 16, 0.34);
  color: #e6ffad;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.launch-return-hub-btn:hover {
  transform: translateY(-1px);
  background: rgba(155, 231, 16, 0.16);
  border-color: rgba(155, 231, 16, 0.72);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(155, 231, 16, 0.22);
  text-decoration: none !important;
}

.launch-return-hub-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
}

/* Global Editorial Typography Polish — Prevent Awkward Single-Word Orphans Everywhere */
h1, h2, h3,
.settings-hub-card-title,
.stage-center,
.launch-head h1 {
  text-wrap: balance;
}

p.muted,
.launch-card-desc,
.settings-hub-card-sub {
  text-wrap: pretty;
}

/* Step 5 Optional Pro Voice Effect Pills */
.voice-fx-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}

.voice-fx-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #e6eaf5;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.voice-fx-pill:hover:not(:disabled) {
  background: rgba(210, 255, 46, 0.14);
  border-color: rgba(210, 255, 46, 0.55);
  color: #ffffff;
}

.voice-fx-pill.active {
  background: rgba(210, 255, 46, 0.22);
  border-color: var(--brand-lime);
  color: #f4ffbd;
  box-shadow: 0 0 14px rgba(210, 255, 46, 0.22);
}

.voice-fx-pill:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* Stats Modal: Real YouTube Performance & A/B Winners Section */
.yt-perf-section {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(210, 255, 46, 0.34);
  background: linear-gradient(145deg, rgba(210, 255, 46, 0.08), rgba(255, 44, 168, 0.06), rgba(14, 16, 26, 0.78));
}

.yt-perf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.yt-perf-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.yt-kpi-card {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.yt-kpi-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.yt-kpi-val {
  font-family: "OutfitBlack", sans-serif;
  font-size: 20px;
  color: var(--brand-lime);
  margin-top: 2px;
}

.yt-ab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.yt-ab-badge {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 44, 168, 0.16);
  border: 1px solid rgba(255, 98, 194, 0.42);
  color: #ffd8f0;
}

.yt-video-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.yt-video-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
}

.yt-video-title {
  font-weight: 600;
  color: #f3f5fc;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yt-video-stats {
  flex-shrink: 0;
  color: var(--brand-lime);
  font-weight: 700;
  font-size: 12px;
}

/* iTunes / Spotify-Style Compact Lyria Music Library */
.beat-genre-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.beat-genre-pill {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.beat-genre-pill:hover {
  color: #ffffff;
  border-color: rgba(210, 255, 46, 0.45);
}

.beat-genre-pill.active {
  background: rgba(210, 255, 46, 0.18);
  border-color: var(--brand-lime);
  color: #f4ffbd;
}

.itunes-library-wrap {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(9, 10, 16, 0.72);
  overflow: hidden;
}

.itunes-head,
.itunes-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 128px 54px 76px 32px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.itunes-head {
  height: 32px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.itunes-body {
  max-height: 440px;
  overflow-y: auto;
}

.itunes-row {
  position: relative;
  min-height: 41px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: background 0.14s ease;
}

.itunes-row:last-child {
  border-bottom: none;
}

.itunes-row:hover {
  background: rgba(255, 255, 255, 0.045);
}

.itunes-row.selected {
  background: rgba(210, 255, 46, 0.10);
}

.itunes-row.is-playing {
  background: rgba(255, 44, 168, 0.11);
}

.itunes-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 11px;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding-left: 2px;
  transition: all 0.15s ease;
}

.itunes-play-btn:hover {
  background: var(--brand-lime);
  border-color: var(--brand-lime);
  color: #08090c;
  transform: scale(1.06);
}

.itunes-row.is-playing .itunes-play-btn {
  background: var(--brand-pink);
  border-color: #ff8cd0;
  color: #ffffff;
  padding-left: 0;
  box-shadow: 0 0 14px rgba(255, 44, 168, 0.55);
}

.itunes-track-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #f4f6fc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.itunes-row.is-playing .itunes-track-name {
  color: #ff9fd9;
}

.itunes-genre-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d6dcf0;
}

.itunes-genre-tag.g-mystery { background: rgba(154, 92, 255, 0.18); border-color: rgba(182, 130, 255, 0.38); color: #dcc4ff; }
.itunes-genre-tag.g-rock { background: rgba(255, 162, 66, 0.16); border-color: rgba(255, 184, 102, 0.38); color: #ffd49e; }
.itunes-genre-tag.g-cinematic { background: rgba(255, 44, 168, 0.16); border-color: rgba(255, 98, 194, 0.38); color: #ffb3e0; }
.itunes-genre-tag.g-space { background: rgba(74, 232, 255, 0.15); border-color: rgba(74, 232, 255, 0.36); color: #9ff3ff; }
.itunes-genre-tag.g-upbeat { background: rgba(210, 255, 46, 0.14); border-color: rgba(210, 255, 46, 0.36); color: #e8ff90; }
.itunes-genre-tag.g-sports { background: rgba(255, 84, 112, 0.16); border-color: rgba(255, 110, 136, 0.38); color: #ffb3c0; }
.itunes-genre-tag.g-acoustic { background: rgba(74, 255, 178, 0.14); border-color: rgba(74, 255, 178, 0.36); color: #9effd1; }

.itunes-len {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  text-align: right;
}

.itunes-use-btn {
  padding: 4px 10px !important;
  font-size: 11.5px !important;
  border-radius: 999px !important;
  white-space: nowrap;
}

.itunes-del-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.itunes-del-btn:hover {
  background: rgba(255, 67, 101, 0.18);
  border-color: rgba(255, 67, 101, 0.45);
  color: #ff859d;
}

.itunes-progress-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-lime));
  pointer-events: none;
  transition: width 0.12s linear;
}

/* YouTube Publish / Schedule Popup Modal (Brand Palette) */
.yt-publish-modal {
  max-width: 540px;
  text-align: left;
}

.yt-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.yt-mode-card {
  text-align: left;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: all 0.16s ease;
}

.yt-mode-card:hover {
  border-color: rgba(255, 98, 194, 0.52);
  background: rgba(255, 44, 168, 0.08);
}

.yt-mode-card.active[data-yt-mode="schedule"] {
  border-color: var(--brand-lime);
  background: linear-gradient(145deg, rgba(210, 255, 46, 0.16), rgba(210, 255, 46, 0.05));
  box-shadow: 0 0 22px rgba(210, 255, 46, 0.20);
}

.yt-mode-card.active[data-yt-mode="now"] {
  border-color: var(--brand-pink-bright);
  background: linear-gradient(145deg, rgba(255, 44, 168, 0.22), rgba(255, 44, 168, 0.06));
  box-shadow: 0 0 22px rgba(255, 44, 168, 0.25);
}

.yt-mode-title {
  font-family: "OutfitBold", sans-serif;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 3px;
}

.yt-modal-schedule-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(210, 255, 46, 0.22);
}

.yt-modal-now-note {
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255, 44, 168, 0.12);
  border: 1px solid rgba(255, 98, 194, 0.36);
  color: #ffdcf0;
  font-size: 13.5px;
  line-height: 1.45;
}

.yt-modal-status {
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f6fc;
}

.yt-modal-status.is-error {
  background: rgba(255, 67, 101, 0.16);
  border-color: rgba(255, 67, 101, 0.55);
  color: #ffb8c6;
}

.yt-modal-status.is-ok {
  background: rgba(22, 217, 131, 0.16);
  border-color: rgba(74, 255, 178, 0.55);
  color: #a8ffd6;
}

.voice-fx-pill.is-recommended {
  border-color: rgba(210, 255, 46, 0.55);
  background: rgba(210, 255, 46, 0.10);
  color: #f4ffbd;
}

.btn-primary.is-finished-locked {
  background: linear-gradient(135deg, rgba(22, 217, 131, 0.24), rgba(210, 255, 46, 0.16)) !important;
  color: #7effc1 !important;
  border: 1px solid rgba(74, 255, 178, 0.65) !important;
  box-shadow: 0 0 20px rgba(22, 217, 131, 0.20) !important;
  opacity: 1 !important;
  cursor: default !important;
}

.social-quick-log {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.social-quick-row {
  display: grid;
  grid-template-columns: 148px 1fr 90px 84px auto;
  gap: 8px;
  align-items: center;
}

@media (max-width: 720px) {
  .social-quick-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Step 2: 3-Shot Storyboard Tray & Numbered Photo Badges ---------- */
.shot-tray-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(210, 255, 42, 0.24);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.shot-tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.shot-tray-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #e9ff80;
}
.shot-tray-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.shot-slot-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(12, 12, 20, 0.72);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  min-height: 62px;
}
.shot-slot-card.filled {
  border-style: solid;
  border-color: rgba(210, 255, 42, 0.45);
  background: rgba(210, 255, 42, 0.06);
}
.shot-slot-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(210, 255, 42, 0.16);
  color: #d2ff2a;
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shot-slot-thumb {
  width: 34px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}
.shot-slot-info {
  min-width: 0;
  flex: 1;
}
.shot-slot-role {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}
.shot-slot-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-slot-remove {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 70, 120, 0.24);
  color: #ff8fb1;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shot-slot-remove:hover {
  background: rgba(255, 70, 120, 0.5);
  color: #fff;
}
.photo-shot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  padding: 3px 9px;
  border-radius: 999px;
  background: #d2ff2a;
  color: #0b0b12;
  font-size: 0.73rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

/* ---------- Step 6: AyBee Fincher Director Cut Studio ---------- */
.director-controls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.director-control-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  padding: 12px 14px;
}
.director-control-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}
.director-blueprint {
  background: rgba(10, 10, 18, 0.65);
  border: 1px solid rgba(210, 255, 42, 0.22);
  border-radius: 16px;
  padding: 16px;
}
.director-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.director-meta-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  padding: 10px 12px;
}
.director-meta-k {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 3px;
}
.director-meta-v {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f3ffaa;
}
.director-analysis-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 62, 165, 0.08);
  border: 1px solid rgba(255, 62, 165, 0.24);
  font-size: 0.82rem;
  color: #ffd5ea;
  margin-bottom: 14px;
}
.director-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.director-shot-card {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
}
.director-shot-thumb {
  width: 56px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(210, 255, 42, 0.35);
  flex-shrink: 0;
}
.director-shot-body {
  min-width: 0;
  flex: 1;
}
.director-shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}
.director-shot-title {
  font-weight: 800;
  font-size: 0.84rem;
  color: #d2ff2a;
}
.director-shot-time {
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}
.director-shot-move {
  font-size: 0.78rem;
  color: #fff;
  margin-bottom: 3px;
}
.director-shot-reason {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
}
.director-sfx-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.director-sfx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(210, 255, 42, 0.08);
  border: 1px solid rgba(210, 255, 42, 0.25);
  font-size: 0.76rem;
  color: #e9ff99;
}
@media (max-width: 900px) {
  .shot-tray-grid,
  .director-controls-grid,
  .director-meta-strip {
    grid-template-columns: 1fr;
  }
}
