/* WILDMOVES front end. Mobile first thinking, desktop mockups at 1440, phone mockups at 390. */
:root {
  --bg: #09060F;
  --surface: #130C1F;
  --surface2: #0E0918;
  --text: #F4EEFF;
  --muted: #A99BC7;
  --pink: #FF2E93;
  --lime: #C6FF3D;
  --cyan: #2FE3FF;
  --amber: #FFB547;
  --line: rgba(255, 255, 255, .10);
  --line2: rgba(255, 255, 255, .16);
  --line3: rgba(255, 255, 255, .20);
  --gut: 48px;
  --f-head: 'Unbounded', 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Space Grotesk', system-ui, sans-serif;
  --f-card: 'Playfair Display', Georgia, serif;
}
@media (max-width: 1000px) { :root { --gut: 32px; } }
@media (max-width: 720px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); line-height: 1.4; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; color: inherit; }
img, video { max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; padding: 12px 18px; border-radius: 999px; background: var(--lime); color: var(--bg); font-weight: 700; }
.skip:focus { left: 16px; }

#app { max-width: 1440px; margin: 0 auto; position: relative; min-height: 100vh; }
#view { outline: none; display: block; }
body[data-view="pet"] #app { background: radial-gradient(50% 480px at 30% 320px, rgba(255, 46, 147, .20), transparent 70%), radial-gradient(40% 420px at 100% 0, rgba(47, 227, 255, .12), transparent 70%); }
body[data-view="library"] #app { background: radial-gradient(45% 500px at 85% 0, rgba(255, 46, 147, .20), transparent 70%), radial-gradient(40% 500px at 0 0, rgba(47, 227, 255, .12), transparent 70%); }
body[data-view="story"] #app { background: radial-gradient(50% 500px at 80% 130px, rgba(255, 46, 147, .22), transparent 70%), radial-gradient(40% 500px at 0 0, rgba(47, 227, 255, .12), transparent 70%); }
body[data-view="signin"] #app { max-width: none; }
body[data-view="signin"] { background: radial-gradient(60% 600px at 50% 0, rgba(255, 46, 147, .14), transparent 70%), var(--bg); }

/* utilities */
.row { display: flex; align-items: center; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.gap8 { gap: 8px; } .gap10 { gap: 10px; } .gap12 { gap: 12px; }
.mt4 { margin-top: 4px; } .mt6 { margin-top: 6px; } .mt8 { margin-top: 8px; }
.stack2 { display: flex; flex-direction: column; gap: 2px; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.lime { color: var(--lime); } .pink { color: var(--pink); } .cyan { color: var(--cyan); }
.c-white { color: var(--text); } .c-pink { color: var(--pink); } .c-lime { color: var(--lime); } .c-cyan { color: var(--cyan); }
@media (max-width: 720px) { .hide-sm { display: none !important; } .show-lg { display: none !important; } }
@media (min-width: 721px) { .show-sm { display: none !important; } }
.label { font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.label-s { font-size: 12px; }
.label-pink { font-size: 12px; letter-spacing: .12em; color: var(--pink); font-weight: 700; margin-top: 8px; }
.eyebrow { font-size: 14px; letter-spacing: .16em; font-weight: 700; }
.eyebrow.pink { color: var(--pink); } .eyebrow.cyan { color: var(--cyan); }
.h1 { font: 800 36px/1.05 var(--f-head); letter-spacing: -.01em; }
.h2 { font: 800 clamp(32px, 4vw, 56px)/1.05 var(--f-head); letter-spacing: -.02em; }
.h3 { font: 600 22px/1.2 var(--f-head); }
.sub { font-size: 16px; color: var(--muted); }
.tag-base, .itag, .way-tag { padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.t-cyan { background: var(--cyan); color: var(--bg); } .t-lime { background: var(--lime); color: var(--bg); }
.t-pink { background: var(--pink); color: var(--bg); } .t-amber { background: var(--amber); color: var(--bg); }
.t-dark { background: rgba(9, 6, 15, .85); color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; background: none; font: 700 16px/1.2 var(--f-body); color: var(--text); text-decoration: none; transition: filter .15s, transform .1s; text-align: center; }
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-xs { min-height: 44px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.btn-lime { background: var(--lime); color: var(--bg); }
.btn-white { background: var(--text); color: var(--bg); }
.btn-pink { background: var(--pink); color: var(--bg); }
.btn-ghost { border-color: var(--line3); font-weight: 500; }
.btn-outline { border-color: rgba(255, 255, 255, .22); min-height: 54px; }
.btn-link { font-weight: 500; padding: 12px 20px; }
.btn-block { width: 100%; }
.btn-lg-w { padding: 16px 28px; min-height: 56px; font-size: 17px; }
.btn-xl { padding: 18px 36px; min-height: 56px; font-size: 18px; }
.btn-cta { width: 100%; min-height: 64px; gap: 12px; padding: 12px 16px; background: var(--lime); color: var(--bg); font: 800 20px/1.2 var(--f-head); box-shadow: 0 0 40px rgba(198, 255, 61, .35); }
.btn-cta-md { min-height: 60px; font-size: 18px; box-shadow: 0 0 36px rgba(198, 255, 61, .35); }
.btn-keep { min-height: 44px; border-color: rgba(198, 255, 61, .5); color: var(--lime); font-size: 15px; font-weight: 500; gap: 6px; padding: 8px 14px; }
.btn-keep.is-kept { background: rgba(198, 255, 61, .16); border-color: var(--lime); font-weight: 700; }
.linkbtn { display: inline-block; padding: 12px 4px; margin: -12px 0; border: 0; background: none; color: var(--cyan); font: inherit; text-decoration: underline; cursor: pointer; }
.round-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line2); background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.round-btn:hover { background: rgba(255, 255, 255, .06); }

/* fields */
.field { width: 100%; min-height: 50px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: 400 16px/1.3 var(--f-body); }
.field::placeholder { color: #7A6F93; }
.field-lg { font-size: 17px; }
.field-ta { padding: 14px 18px; line-height: 1.45; resize: vertical; min-height: 0; font-size: 17px; }
.field-pink { border-color: var(--pink); font-size: 15px; padding: 12px 14px; border-radius: 14px; line-height: 1.4; }
.row .field.grow { width: auto; flex: 1 1 200px; min-height: 48px; padding: 0 16px; border-radius: 14px; }

/* chips, segmented control, switch */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 12px 20px; min-height: 46px; border-radius: 999px; font-size: 16px; font-weight: 500; background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, .18); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--lime); color: var(--bg); font-weight: 700; border-color: var(--lime); }
.chip.is-static { pointer-events: none; cursor: default; padding: 11px 18px; min-height: 44px; font-size: 15px; display: inline-flex; align-items: center; }
.chips-s { gap: 8px; }
.chips-s .chip { padding: 9px 16px; min-height: 44px; font-size: 14px; border-color: var(--line2); font-weight: 400; }
.chip-count { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; }
.chip-count span { font-size: 13px; opacity: .7; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid rgba(255, 255, 255, .12); }
.seg button, .seg-static span { padding: 10px 20px; min-height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; }
.seg button[aria-pressed="true"], .seg-static span.is-on { background: var(--text); color: var(--bg); font-weight: 700; }
.seg-s button { padding: 9px 16px; font-size: 14px; }
.seg-static span { padding: 10px 18px; }
.switch { position: relative; width: 60px; height: 44px; flex: none; border: 0; padding: 0; background: none; }
.switch::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 34px; border-radius: 999px; background: rgba(255, 255, 255, .2); transition: background .15s; }
.switch span { position: absolute; left: 4px; top: 9px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); transition: left .15s; }
.switch[aria-checked="true"]::before { background: var(--lime); }
.switch[aria-checked="true"] span { left: 30px; }
.mus-t { font-size: 15px; }

/* logo and equalizer */
.logo { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.wordmark { font: 800 22px/1 var(--f-head); letter-spacing: .02em; }
.wordmark span { color: var(--pink); }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.eq i { display: block; width: 4px; height: 100%; background: var(--lime); border-radius: 2px; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .15s; } .eq i:nth-child(3) { animation-delay: .3s; } .eq i:nth-child(4) { animation-delay: .45s; } .eq i:nth-child(5) { animation-delay: .6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
.shimmer-fill { background: linear-gradient(100deg, #130C1F 30%, #261840 50%, #130C1F 70%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .eq i, .spin, .shimmer-fill, .seg-bar i.now { animation: none !important; }
  .eq i:nth-child(1) { transform: scaleY(.3); } .eq i:nth-child(2) { transform: scaleY(.5); } .eq i:nth-child(3) { transform: scaleY(.7); }
  .eq i:nth-child(4) { transform: scaleY(.85); } .eq i:nth-child(5) { transform: scaleY(1); }
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* header */
.hdr { position: relative; z-index: 40; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px var(--gut); }
.hdr-nav { display: flex; align-items: center; gap: 32px; font-size: 16px; color: var(--muted); }
.hdr-nav a { padding: 10px 0; }
.hdr-nav a:hover { color: var(--text); }
.hdr-gap { flex: 1; }
.hdr-right { display: flex; align-items: center; gap: 12px; }
.hdr .btn { white-space: nowrap; }
.credits { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(198, 255, 61, .35); background: rgba(198, 255, 61, .08); color: var(--lime); font-size: 14px; font-weight: 700; white-space: nowrap; }
.credits-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.acct { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; }
.acct-av { width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.acct-name { font-size: 14px; color: var(--muted); }
.burger { display: none; width: 48px; height: 48px; flex: none; border-radius: 14px; border: 1px solid var(--line2); background: transparent; align-items: center; justify-content: center; color: var(--text); }
.menu { position: absolute; right: var(--gut); top: calc(100% - 12px); min-width: 280px; padding: 8px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line2); border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.menu-i { display: flex; align-items: center; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 14px; background: none; font: 500 16px var(--f-body); color: var(--text); text-align: left; width: 100%; }
.menu-i:hover { background: rgba(255, 255, 255, .06); }
.menu-lime { background: var(--lime); color: var(--bg); font-weight: 700; margin-top: 4px; }
.menu-lime:hover { background: var(--lime); filter: brightness(1.1); }
.menu-who { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.menu-who span { font-size: 13px; color: var(--muted); }
.menu-who .menu-credits { color: var(--lime); font-weight: 700; margin-top: 4px; }
@media (max-width: 900px) { .burger { display: flex; } .hide-md { display: none !important; } .hdr-right { gap: 8px; } .hdr .btn-sm { padding: 10px 14px; } }
@media (max-width: 720px) {
  .hdr-in { padding: 16px; gap: 10px; }
  .wordmark { font-size: 19px; }
  .eq { height: 20px; }
  .logo { gap: 10px; }
  .hdr-right { gap: 8px; }
  .menu { left: 16px; right: 16px; }
  .credits { padding: 6px 10px; font-size: 13px; gap: 6px; }
  .credits-dot { display: none; }
}

@media (max-width: 370px) {
  .wordmark { font-size: 16px; }
  .eq { height: 18px; }
  .logo { gap: 8px; }
  .hdr-in { gap: 6px; }
  .credits { padding: 6px 8px; font-size: 12px; }
  .burger { width: 44px; height: 44px; }
}

@media (max-width: 340px) { .hdr .eq { display: none; } }

/* dialog, toasts, busy overlay */
.dlg { padding: 0; border: 1px solid var(--line2); border-radius: 28px; background: var(--surface); color: var(--text); width: calc(100vw - 32px); max-width: 560px; max-height: calc(100dvh - 32px); overflow: auto; }
.dlg-wide { max-width: 1080px; }
.dlg::backdrop { background: rgba(5, 3, 10, .8); backdrop-filter: blur(4px); }
.dlg-in { position: relative; padding: 28px; }
.dlg-x { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(9, 6, 15, .8); color: var(--text); display: flex; align-items: center; justify-content: center; }
.dlg-h { font: 600 22px/1.2 var(--f-head); margin: 0 48px 10px 0; }
.dlg-p { color: var(--muted); font-size: 16px; line-height: 1.5; margin-bottom: 22px; }
.dlg .send { padding: 0; border: 0; background: none; }
.dlg-send { padding-top: 8px; }
.lb { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.lb-stage { display: flex; justify-content: center; background: #000; border-radius: 20px; overflow: hidden; }
.lb-media { display: block; width: 100%; max-height: 76vh; object-fit: contain; }
.lb-info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.lb-info .dlg-h { margin: 4px 0 0; }
.lb-send { width: 100%; padding-top: 8px; }
.toasts { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 200; width: min(560px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 18px; min-height: 52px; border-radius: 18px; background: #1d1131; border: 1px solid var(--pink); color: var(--text); font-size: 15px; line-height: 1.4; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.toast-ok { border-color: var(--lime); } .toast-info { border-color: var(--cyan); }
.toast-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.busy-ov { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 3, 10, .82); backdrop-filter: blur(4px); }
.busy-card { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 32px 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line2); max-width: 380px; color: var(--lime); }
.busy-card strong { font: 600 20px var(--f-head); color: var(--text); }
.busy-card span:last-child { color: var(--muted); font-size: 15px; }

/* panels */
.panel { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.pgap12 { gap: 12px; } .pgap16 { gap: 16px; } .pgap20 { gap: 20px; }
.note { font-size: 14px; color: var(--muted); }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 56px 16px; }
.empty-ic { width: 72px; height: 72px; border-radius: 22px; background: rgba(255, 46, 147, .12); border: 2px dashed var(--pink); color: var(--pink); display: flex; align-items: center; justify-content: center; }
.empty-page { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 72px var(--gut); max-width: 760px; }

/* ===== HOME ===== */
.hero { position: relative; padding: 40px var(--gut) 96px; background: radial-gradient(55% 55% at 78% 25%, rgba(255, 46, 147, .30), transparent 70%), radial-gradient(40% 45% at 8% 0, rgba(47, 227, 255, .16), transparent 70%); }
body[data-view="home"] .hdr { margin-bottom: 0; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.badge-live { align-self: flex-start; display: flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: 14px; color: var(--muted); background: rgba(255, 255, 255, .04); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.display { font: 800 clamp(44px, 6.2vw, 92px)/1 var(--f-head); letter-spacing: -.02em; }
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.dropzone { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; width: 100%; max-width: 620px; padding: 24px; border: 2px dashed var(--pink); border-radius: 28px; background: rgba(255, 46, 147, .06); text-align: left; color: var(--text); transition: background .15s; }
.dropzone:hover, .dropzone.is-drag { background: rgba(255, 46, 147, .16); }
.dropzone.is-drag { border-style: solid; }
.dz-ic { width: 64px; height: 64px; flex: none; border-radius: 20px; background: var(--pink); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.dz-tx { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dz-t { font: 600 20px/1.2 var(--f-head); }
.dz-s { font-size: 15px; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 15px; color: var(--muted); }
.checks span { display: flex; align-items: center; gap: 8px; }
.checks svg { color: var(--lime); stroke-width: 2.6; }
.hero-visual { flex: 1 1 480px; min-width: 0; position: relative; height: 680px; overflow: hidden; }
.beam { position: absolute; left: 50%; top: -10%; width: 520px; height: 760px; margin-left: -260px; background: linear-gradient(180deg, rgba(198, 255, 61, .20), transparent 80%); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); filter: blur(6px); }
.hv { position: absolute; overflow: hidden; }
.hv img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hv-tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.hv-dark { background: rgba(9, 6, 15, .85); } .hv-pink { background: var(--pink); color: var(--bg); } .hv-lime { background: var(--lime); color: var(--bg); }
.hv-1 { left: 0; top: 70px; width: 230px; transform: rotate(-9deg); border-radius: 22px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.hv-1 img { filter: saturate(.8); }
.hv-2 { left: 150px; top: 0; width: 300px; transform: rotate(3deg); border-radius: 26px; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 30px 70px rgba(255, 46, 147, .35); }
.hv-2 .hv-tag { left: 14px; top: 14px; }
.hv-3 { right: 0; bottom: 20px; width: 290px; transform: rotate(-4deg); border-radius: 26px; border: 2px solid var(--lime); box-shadow: 0 30px 70px rgba(198, 255, 61, .25); }
.hv-3 .hv-tag { left: 14px; top: 14px; }
.hv-play { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(9, 6, 15, .85); color: var(--text); }
.strip { margin-top: 0; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 22px var(--gut); display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; background: var(--surface2); }
.strip-l { font-size: 14px; letter-spacing: .14em; color: var(--muted); margin-right: 8px; }
.chip-s { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: 15px; font-weight: 500; white-space: nowrap; }
.sec { padding: 104px var(--gut) 0; }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.ways { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.way { position: relative; display: block; border-radius: 32px; overflow: hidden; border: 1px solid var(--line2); min-height: 520px; padding: 0; background: var(--surface); text-align: left; color: var(--text); }
.way img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.way-fade { position: absolute; left: 0; right: 0; bottom: 0; top: 35%; background: linear-gradient(180deg, transparent, rgba(9, 6, 15, .92) 72%); }
.way-tag { position: absolute; left: 24px; top: 24px; padding: 6px 14px; font-size: 12px; letter-spacing: .12em; }
.way-tx { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.way-t { font: 800 26px/1.1 var(--f-head); }
.way-p { font-size: 16px; line-height: 1.45; color: #D8CCF0; }
.sec-how { padding-top: 112px; padding-bottom: 40px; }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.step img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.step-b { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-n { font: 800 15px var(--f-head); }
.step-t { font: 600 22px var(--f-head); }
.step-p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.band { margin: 96px var(--gut) 0; border-radius: 40px; padding: 64px 48px; background: radial-gradient(60% 80% at 100% 0, rgba(255, 46, 147, .28), transparent 70%), var(--surface); border: 1px solid var(--line); }
.band-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.band-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.band-tag { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--pink); color: var(--bg); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.h2-xl { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.02; }
.band-p { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 560px; }
.scenes { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.sc { display: flex; flex-direction: column; gap: 10px; }
.sc-img { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); display: block; }
.sc-img img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sc-time { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(9, 6, 15, .85); font-size: 12px; font-weight: 700; }
.sc-cap { font-size: 14px; color: var(--muted); line-height: 1.4; }
.rainbow { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), var(--lime) 50%, var(--pink)); }
.rainbow.dim { opacity: .5; }
.band .rainbow { margin-top: 28px; }
.rainbow-l { margin-top: 8px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.sec-price { padding-top: 112px; padding-bottom: 40px; }
.prices { display: flex; flex-wrap: wrap; gap: 20px; }
.price { flex: 1 1 260px; padding: 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.price .label { font-size: 14px; }
.price-n { font: 800 40px/1.1 var(--f-head); }
.price-t { font-size: 16px; line-height: 1.5; color: var(--muted); }
.p-dance { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.p-dance .label { color: var(--bg); font-weight: 700; } .p-dance .price-t { color: var(--bg); }
.p-movie { border-color: var(--pink); }
.p-movie .label { color: var(--pink); font-weight: 700; }
.price-foot { margin-top: 18px; font-size: 14px; color: var(--muted); }
.cta { margin: 56px var(--gut) 0; padding: 80px 32px; border-radius: 40px; text-align: center; background: radial-gradient(50% 90% at 50% 0, rgba(198, 255, 61, .22), transparent 70%), var(--surface2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 28px; }
.h2-xxl { font-size: clamp(34px, 5vw, 72px); line-height: 1.02; }
.foot { margin-top: 80px; padding: 32px var(--gut) 48px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.foot-l { display: flex; gap: 24px; }
.foot-l a { padding: 10px 0; }

@media (max-width: 720px) {
  .hero { padding: 16px 16px 40px; background: radial-gradient(80% 40% at 80% 20%, rgba(255, 46, 147, .30), transparent 70%), radial-gradient(60% 30% at 0 0, rgba(47, 227, 255, .16), transparent 70%); }
  .hero-grid { flex-direction: column; align-items: stretch; gap: 22px; }
  .hero-copy { flex: none; gap: 22px; }
  .badge-live { padding: 7px 14px; font-size: 13px; gap: 8px; }
  .display { font-size: 44px; }
  .lead { font-size: 17px; }
  .dropzone { gap: 16px; padding: 18px; border-radius: 24px; flex-wrap: nowrap; }
  .dz-ic { width: 56px; height: 56px; border-radius: 18px; }
  .dz-ic svg { width: 26px; height: 26px; }
  .dz-tx { flex: 1 1 auto; gap: 3px; }
  .dz-t { font-size: 17px; }
  .dz-s { font-size: 13px; }
  .hero-visual { flex: none; width: 100%; height: 360px; margin-top: 8px; }
  .hv-1 { top: 30px; width: 150px; transform: rotate(-8deg); border-radius: 18px; }
  .hv-2 { left: 70px; width: 200px; border-radius: 20px; }
  .hv-3 { right: 0; bottom: 0; width: 170px; border-radius: 20px; }
  .hv-tag { font-size: 10px; padding: 4px 10px; left: 8px; top: 8px; }
  .hv-2 .hv-tag, .hv-3 .hv-tag { left: 10px; top: 10px; }
  .hv-play { display: none; }
  .strip { flex-wrap: nowrap; overflow-x: auto; padding: 16px; gap: 10px; }
  .strip-l { display: none; }
  .chip-s { flex: none; padding: 10px 16px; font-size: 14px; }
  .sec { padding: 56px 16px 0; }
  .sec-head { gap: 12px; }
  .eyebrow { font-size: 13px; }
  .h2 { font-size: 28px; line-height: 1.1; }
  .ways { margin-top: 28px; gap: 14px; }
  .way { min-height: 320px; border-radius: 28px; }
  .beam { display: none; }
  .way-t { font-size: 22px; }
  .sec-how { padding: 56px 16px 16px; }
  .steps { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
  .step { flex-direction: row; gap: 16px; align-items: center; padding: 12px; border-radius: 22px; }
  .step img { width: 96px; height: 112px; flex: none; aspect-ratio: auto; border-radius: 16px; }
  .step-b { padding: 0; gap: 4px; }
  .step-n { font-size: 13px; } .step-t { font-size: 18px; } .step-p { font-size: 14px; line-height: 1.4; }
  .band { margin: 48px 16px 0; padding: 28px 20px; border-radius: 28px; display: flex; flex-direction: column; gap: 16px; }
  .band-top { gap: 16px; }
  .band-copy { flex: 1 1 100%; min-width: 0; gap: 16px; }
  .band-tag { font-size: 11px; padding: 6px 12px; }
  .h2-xl { font-size: 28px; line-height: 1.05; }
  .band-p { font-size: 16px; }
  .scenes-m { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .scenes-m img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
  .sec-price { padding: 40px 16px 8px; }
  .prices { gap: 12px; }
  .price { flex: 1 1 100%; padding: 24px; }
  .price-n { font-size: 32px; }
  .cta { margin: 48px 16px 0; padding: 44px 20px; border-radius: 28px; gap: 20px; }
  .h2-xxl { font-size: 30px; line-height: 1.05; }
  .cta .btn { width: 100%; font-size: 17px; }
  .foot { margin-top: 0; padding: 40px 16px; flex-direction: column; gap: 10px; border: 0; font-size: 13px; }
}

/* ===== SIGN IN ===== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 560px; padding: 48px 44px; display: flex; flex-direction: column; gap: 22px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(80% 380px at 50% 0, rgba(255, 46, 147, .28), transparent 70%), var(--surface2); }
.auth-card .logo { align-self: flex-start; }
.auth-head { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.auth-head .h1 { letter-spacing: -.02em; }
.auth-head p { font-size: 16px; line-height: 1.5; }
.auth-note { color: var(--lime); font-size: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 22px; }
.fgroup { display: flex; flex-direction: column; gap: 8px; }
.auth-form .field { min-height: 54px; font-size: 17px; }
.auth-form .btn-cta { min-height: 58px; font-size: 18px; box-shadow: 0 0 36px rgba(198, 255, 61, .3); }
.form-error { color: #FF7AB8; font-size: 14px; line-height: 1.4; margin-top: -10px; }
.form-error:empty { margin-top: -22px; }
.or { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.or span { flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
@media (max-width: 720px) {
  .auth-page { align-items: flex-start; padding: 16px; }
  .auth-card { padding: 32px 20px; gap: 20px; }
  .auth-head .h1 { font-size: 30px; }
}

/* ===== LIBRARY ===== */
.lib-head { padding: 24px var(--gut) 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.lib-title { display: flex; flex-direction: column; gap: 8px; }
.lib-title .sub { font-size: 17px; }
.lib-title .eyebrow { font-size: 13px; letter-spacing: .14em; }
.h1-lg { font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -.02em; }
.searchbox { display: flex; align-items: center; gap: 10px; min-width: 260px; flex: 0 1 340px; padding: 0 18px; min-height: 50px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface); color: var(--muted); }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 400 16px var(--f-body); outline: none; min-height: 48px; }
.searchbox:focus-within { outline: 2px solid var(--lime); outline-offset: 2px; }
.filters { padding: 28px var(--gut); display: flex; flex-wrap: wrap; gap: 10px; }
.lib-body { padding: 0 var(--gut) 72px; }
.lib-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 0; color: var(--lime); }
.lib-loading span { color: var(--muted); }
.masonry { column-count: 4; column-gap: 20px; }
@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 760px) { .masonry { column-count: 2; column-gap: 12px; } }
@media (max-width: 480px) { .masonry { column-count: 1; } }
.item { break-inside: avoid; margin: 0 0 20px; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.item-media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #0b0713; color: var(--text); overflow: hidden; }
.item-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.itag { position: absolute; left: 12px; top: 12px; z-index: 2; }
.ilen { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(9, 6, 15, .85); font-size: 12px; font-weight: 700; }
.job-media .shimmer-fill { position: absolute; inset: 0; }
.item-ov { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(9, 6, 15, .55); color: var(--lime); text-align: center; padding: 12px; }
.item-ov span { color: var(--text); font-size: 14px; font-weight: 700; }
.item-b { padding: 14px 16px 16px; display: flex; align-items: center; gap: 10px; }
.item-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item-t strong { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-t small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .item { margin-bottom: 12px; border-radius: 20px; } .item-b { padding: 12px; gap: 6px; } .itag { left: 8px; top: 8px; } .ilen { right: 8px; top: 8px; } }

/* ===== STUDIO ===== */
.studio { display: flex; flex-wrap: wrap; gap: 40px; padding: 16px var(--gut) 72px; align-items: flex-start; }
.st-left { flex: 1 1 560px; min-width: 0; max-width: 700px; display: flex; flex-direction: column; gap: 20px; }
.st-right { flex: 1 1 440px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.stage { position: relative; width: 100%; border-radius: 32px; overflow: hidden; border: 1px solid var(--line2); background: var(--surface); box-shadow: 0 0 0 6px rgba(198, 255, 61, .08), 0 40px 90px rgba(255, 46, 147, .25); container-type: inline-size; }
.stage-load { min-height: 240px; }
.stage-media { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.stage-media.is-dim { opacity: .55; background: none; }
.stage-tags { position: absolute; left: 18px; top: 18px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; right: 18px; pointer-events: none; }
.stag { padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stag-lime { background: var(--lime); color: var(--bg); } .stag-pink { background: var(--pink); color: var(--bg); }
.stag-cyan { background: var(--cyan); color: var(--bg); } .stag-amber { background: var(--amber); color: var(--bg); }
.stag-dark { background: rgba(9, 6, 15, .85); color: var(--text); }
.stage-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 0; background: rgba(9, 6, 15, .7); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--text); }
.stage.is-playing .stage-play { display: none; }
.job-ov { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; }
.job-spin { color: var(--lime); display: inline-flex; }
.job-title { font: 600 20px/1.2 var(--f-head); }
.job-meta { font-size: 14px; color: var(--text); }
.job-msg { font-size: 14px; color: var(--text); }
.job-note { font-size: 13px; color: #C9BEDF; }
.job-link { position: absolute; z-index: 4; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: var(--lime); color: var(--bg); font-weight: 700; font-size: 14px; white-space: nowrap; }
.seg-bar { display: flex; gap: 6px; width: min(280px, 80%); }
.seg-bar i { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.seg-bar i.on { background: var(--lime); }
.seg-bar i.now { background: rgba(198, 255, 61, .55); animation: pulse 1.2s ease-in-out infinite; }
.versions { display: flex; flex-direction: column; gap: 12px; }
.ver-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ver { position: relative; width: 104px; padding: 0; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid rgba(255, 255, 255, .14); color: var(--text); text-align: left; }
.ver.is-sel { border: 2px solid var(--lime); }
.ver img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; }
.ver-l { display: block; padding: 8px 10px; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ver-play { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(9, 6, 15, .8); display: flex; align-items: center; justify-content: center; }
.actions { display: flex; flex-direction: column; gap: 16px; }
.st-head { display: flex; flex-direction: column; gap: 6px; }
.st-head .eyebrow { font-size: 13px; letter-spacing: .14em; }
.st-title { display: flex; align-items: flex-start; gap: 10px; }
.st-title .h1 { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.st-edit { flex: none; margin-top: -2px; }
.rename { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rename .field { flex: 1 1 200px; width: auto; }
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tab { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); }
.tab:hover { color: var(--text); }
.tab.is-on { background: var(--lime); color: var(--bg); font-weight: 700; }
.st-panel { display: flex; flex-direction: column; gap: 24px; }
.occ-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.occ { padding: 0; border-radius: 18px; overflow: hidden; background: var(--bg); border: 1px solid rgba(255, 255, 255, .14); color: var(--text); text-align: left; }
.occ img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.occ span { display: block; padding: 10px 12px; font-size: 14px; font-weight: 500; }
.occ.is-on { border: 2px solid var(--lime); }
.occ.is-on span { font-weight: 700; }
.cta-area { display: flex; flex-direction: column; gap: 14px; }
.cta-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.cta-base { font-size: 13px; color: var(--muted); } .cta-base strong { color: var(--text); font-weight: 500; }
.story-list { display: flex; flex-direction: column; gap: 8px; }
.story-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.sl-t { font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sl-s { flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.sl-review { background: rgba(198, 255, 61, .14); color: var(--lime); } .sl-done { background: var(--lime); color: var(--bg); }
.sl-rendering, .sl-planning { background: rgba(255, 46, 147, .16); color: #FF7AB8; }

@media (min-width: 721px) { .studio--card .stage { border-radius: 20px; box-shadow: 0 40px 90px rgba(255, 46, 147, .25); } }
.studio--card .stage-tags { display: none; }
@media (min-width: 721px) { .studio--card #actions { order: 2; } .studio--card #versions { order: 3; } }
@media (max-width: 720px) { .studio--card #actions { order: 3; margin-top: 16px; } .studio--card #versions { order: 4; margin-top: 16px; } }

/* send panel */
.send { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.send-h { font: 600 20px/1.2 var(--f-head); }
.email-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.email-row .field { flex: 1 1 220px; width: auto; min-height: 48px; padding: 0 16px; border-radius: 14px; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--bg); border: 1px solid rgba(255, 255, 255, .12); color: var(--muted); }
.link-url { flex: 1 1 200px; min-width: 0; font-size: 15px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-url:not(.is-off) { color: var(--text); }
.link-url.is-off { white-space: normal; }
.share-on { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share-on .label { margin-right: 4px; }
.share-on .btn { padding: 10px 16px; gap: 8px; }
.send-note { font-size: 13px; color: var(--muted); }
.send-note-warn { color: var(--amber); }

/* card preview on the stage */
.cp-plate { position: absolute; left: 0; right: 0; z-index: 2; text-align: center; pointer-events: none; }
.cp-top { top: 0; padding: 28px 24px 48px; background: linear-gradient(180deg, rgba(40, 8, 12, .72), transparent); }
.cp-bot { bottom: 0; padding: 56px 32px 28px; background: linear-gradient(0deg, rgba(40, 8, 12, .82), transparent); }
.cp-from { font-size: 13px; letter-spacing: .3em; color: #FFE9C7; font-weight: 700; }
.cp-head { margin-top: 6px; font: italic 700 clamp(28px, 10.2cqw, 68px)/1 var(--f-card); color: #FFF7E8; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); overflow-wrap: anywhere; }
.cp-msg { font-size: clamp(14px, 3cqw, 19px); line-height: 1.45; color: #FFF7E8; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); overflow-wrap: anywhere; }
.cp-sig { margin-top: 8px; font: italic 700 clamp(17px, 3.75cqw, 24px)/1.2 var(--f-card); color: #FFE9C7; overflow-wrap: anywhere; }
.stage.cp-classic .stage-tags, .stage.cp-playful .stage-tags, .stage.cp-bold .stage-tags { display: none; }
.cp-playful .cp-head { font: 800 clamp(24px, 8.4cqw, 56px)/1.05 var(--f-head); font-style: normal; transform: rotate(-3deg); color: #FFD6EC; }
.cp-playful .cp-sig { font: 600 clamp(15px, 3.2cqw, 21px)/1.2 var(--f-head); font-style: normal; color: #FFD6EC; transform: rotate(-2deg); }
.cp-playful .cp-from { color: #FFD6EC; }
.cp-bold .cp-head { font: 800 clamp(22px, 7.4cqw, 50px)/1.05 var(--f-head); font-style: normal; text-transform: uppercase; letter-spacing: -.01em; }
.cp-bold .cp-msg { font-weight: 700; }
.cp-bold .cp-sig { font: 800 clamp(15px, 3.2cqw, 21px)/1.2 var(--f-head); font-style: normal; text-transform: uppercase; }

@media (max-width: 720px) {
  .studio { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 4px 16px 0; align-items: stretch; min-height: calc(100vh - 80px); }
  .st-left, .st-right { display: contents; }
  .st-head { order: 1; margin-bottom: 16px; gap: 6px; }
  .st-head .eyebrow { font-size: 12px; }
  .h1 { font-size: 28px; }
  .st-head .sub { font-size: 14px; }
  #stage-wrap { order: 2; margin-bottom: 16px; }
  .stage { border-radius: 26px; box-shadow: 0 24px 60px rgba(255, 46, 147, .25); }
  .stage-tags { left: 14px; top: 14px; }
  .stag { font-size: 11px; padding: 6px 12px; }
  .versions { order: 3; gap: 10px; }
  .ver-row { flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding-bottom: 4px; }
  .ver { flex: none; width: 88px; border-radius: 16px; }
  .ver-l { font-size: 11px; padding: 7px 8px; }
  .tabs { order: 4; margin-top: 24px; gap: 4px; padding: 5px; }
  .tab { min-height: 44px; font-size: 14px; }
  .st-panel { order: 5; margin-top: 16px; gap: 16px; }
  .panel { padding: 20px; border-radius: 24px; }
  .chips { gap: 8px; }
  .chip { padding: 10px 16px; min-height: 44px; font-size: 15px; }
  .actions { order: 6; margin-top: 16px; }
  .cta-area { order: 7; margin: 0 -16px; padding: 14px 16px 20px; margin-top: auto; position: sticky; bottom: 0; z-index: 20; gap: 8px; background: linear-gradient(180deg, rgba(9, 6, 15, 0), #09060F 35%); }
  .cta-area .btn-cta { min-height: 60px; font-size: 18px; box-shadow: 0 0 36px rgba(198, 255, 61, .3); }
  .cta-meta { justify-content: center; text-align: center; font-size: 13px; gap: 0 6px; }
  .cta-meta span + span::before { content: '· '; }
  .cta-meta .cta-extra { flex-basis: 100%; }
  .cta-meta .cta-extra::before { content: none !important; }
  .cta-base { text-align: center; }
  .send { padding: 20px; border-radius: 24px; }
  .job-title { font-size: 20px; }
  .lb { grid-template-columns: 1fr; gap: 16px; }
  .dlg-in { padding: 20px; }
}

/* ===== STORY ===== */
.story-top { padding: 8px var(--gut) 0; display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.story-top .eyebrow { font-size: 13px; letter-spacing: .14em; }
.h1-story { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.02em; }
.sub-l { font-size: 18px; line-height: 1.5; }
.back-m { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); font-size: 14px; }
.tracker { padding: 28px var(--gut) 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trk { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: var(--muted); font-size: 15px; }
.trk-n { font: 800 13px var(--f-head); }
.trk.is-done { background: rgba(198, 255, 61, .12); color: var(--lime); border-color: rgba(198, 255, 61, .4); }
.trk.is-on { background: var(--lime); color: var(--bg); border-color: var(--lime); font-weight: 700; }
.story-grid { display: flex; flex-wrap: wrap; gap: 32px; padding: 32px var(--gut) 72px; align-items: flex-start; }
.sl { flex: 1 1 400px; min-width: 0; max-width: 480px; display: flex; flex-direction: column; gap: 20px; }
.sr { flex: 2 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.star { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.star img, .star-ph { width: 72px; height: 72px; flex: none; border-radius: 16px; object-fit: cover; object-position: center top; background: var(--surface2); }
.star-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.star-t strong { font: 600 18px/1.2 var(--f-head); overflow-wrap: anywhere; }
.star-t small { font-size: 14px; color: var(--muted); }
.panel.idea-panel { padding: 24px; }
.idea-text { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line2); background: var(--bg); font-size: 17px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.fmt-panel { padding: 24px; }
.approve-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 28px; background: var(--surface); border: 1px solid var(--lime); box-shadow: 0 0 40px rgba(198, 255, 61, .15); }
.approve-h { font: 600 20px/1.2 var(--f-head); }
.approve-p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.start-over { align-self: flex-start; font-size: 14px; color: var(--muted); }
.approve-bar, .start-over-m { display: none; }
.sb-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.sb-t { font: 800 26px var(--f-head); }
.sb-s { font-size: 15px; color: var(--muted); }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.sc-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.sc-card.is-kept { border-color: rgba(198, 255, 61, .55); }
.sc-card.is-edit { border: 2px solid var(--pink); }
.sc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface2); }
.sc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-media img.is-dim { opacity: .5; }
.sc-ph, .sc-ph-ov { position: absolute; inset: 0; }
.sc-ph-ov { opacity: .55; }
.sc-spin { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--lime); }
.sc-b { position: absolute; top: 12px; z-index: 2; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.sc-b-l { left: 12px; background: rgba(9, 6, 15, .85); }
.sc-b-r { right: 12px; letter-spacing: .06em; }
.bdg-dark { background: rgba(9, 6, 15, .85); color: var(--text); } .bdg-pink { background: var(--pink); color: var(--bg); } .bdg-lime { background: var(--lime); color: var(--bg); }
.sc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sc-place { font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.sc-text { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.sk-line { display: block; height: 14px; border-radius: 7px; } .sk-short { width: 60%; }
.edit-inline { display: flex; flex-direction: column; gap: 6px; }
.sc-body .row .btn { min-height: 44px; font-size: 15px; padding: 8px 10px; white-space: nowrap; }
.change-panel { display: none; }
.change-h { font: 600 18px/1.2 var(--f-head); }
.state-card { align-items: flex-start; gap: 12px; }
.state-t { font: 600 20px/1.2 var(--f-head); }
.state-m { font-size: 14px; }
.state-n { font-size: 13px; color: var(--muted); line-height: 1.5; }
.state-card .job-spin { margin-bottom: 4px; }
.state-card .seg-bar { width: 100%; }
.state-fail { border-color: var(--pink); }
.movie { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.movie-ph { position: relative; border-radius: 28px; overflow: hidden; border: 1px dashed rgba(255, 255, 255, .25); background: repeating-linear-gradient(135deg, #0E0918 0 14px, #130C1F 14px 28px); aspect-ratio: 16/6; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.movie-ph-in { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 20px; color: var(--muted); }
.movie-ph-in strong { font: 600 18px/1.25 var(--f-head); color: var(--text); }
.movie-ph-in span { font-size: 14px; }
.movie-stage { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line2); background: #000; box-shadow: 0 30px 80px rgba(255, 46, 147, .22); max-height: 80vh; margin: 0 auto; width: 100%; }
.movie-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.movie:has(.movie-stage) { margin-top: 0; }
@media (max-width: 720px) {
  .story-top { padding: 4px 16px 0; gap: 10px; }
  .h1-story { font-size: 32px; }
  .sub-l { font-size: 15px; }
  .tracker { padding: 18px 16px 0; flex-wrap: nowrap; overflow-x: auto; gap: 8px; }
  .trk { flex: none; gap: 8px; padding: 9px 14px; font-size: 14px; }
  .trk-n { font-size: 12px; }
  .story-grid { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 0 16px; align-items: stretch; min-height: 60vh; }
  .sl, .sr { display: contents; }
  .star { order: 1; margin-top: 20px; padding: 12px; border-radius: 20px; gap: 14px; }
  .star img, .star-ph { width: 60px; height: 60px; border-radius: 14px; }
  .star-t strong { font-size: 16px; }
  .idea-panel { order: 2; margin-top: 12px; padding: 16px; border-radius: 20px; gap: 8px; }
  .idea-panel .label { font-size: 11px; }
  .idea-text { padding: 0; border: 0; background: none; font-size: 16px; }
  .state-card { order: 3; margin-top: 16px; }
  .sb-head { order: 4; margin-top: 28px; }
  .sb-t { font-size: 22px; } .sb-s { font-size: 13px; }
  .sc-grid { order: 5; display: flex; gap: 12px; overflow-x: auto; margin: 14px -16px 0; padding: 0 16px 4px; scroll-snap-type: x mandatory; }
  .sc-card { flex: none; width: 300px; border-radius: 22px; scroll-snap-align: start; }
  .sc-body { padding: 12px 14px 14px; gap: 4px; }
  .sc-place { font-size: 11px; } .sc-text { font-size: 14px; line-height: 1.4; }
  .sc-b { top: 10px; padding: 4px 10px; font-size: 11px; } .sc-b-l { left: 10px; } .sc-b-r { right: 10px; }
  .edit-inline { display: none; }
  .change-panel { order: 6; display: flex; margin-top: 20px; padding: 20px; border: 2px solid var(--pink); gap: 12px; }
  .movie { order: 3; margin-top: 16px; }
  .movie-slot { display: none; }
  .movie:has(.movie-stage) { order: 3; }
  .approve-card { display: none; }
  .start-over-m { order: 8; display: block; margin: 16px 0 4px; align-self: flex-start; font-size: 14px; color: var(--muted); }
  .approve-bar { order: 9; display: flex; flex-direction: column; gap: 8px; position: sticky; bottom: 0; z-index: 20; margin: auto -16px 0; padding: 24px 16px 20px; background: linear-gradient(180deg, rgba(9, 6, 15, 0), #09060F 30%); }
  .approve-bar .btn-cta { min-height: 60px; font-size: 17px; box-shadow: 0 0 36px rgba(198, 255, 61, .3); }
  .approve-bar-n { text-align: center; font-size: 13px; color: var(--muted); }
}
