/* FACELESS V2 — one frame that fills the window: the Studio on the left (four slim rows, Create for · Script ·
   Look · Voice, each opening a pop-up over the tab, and the Make dock with the prompt box), the Stage on the
   right (a phone: the look, "Generating", the film). Under 900 px the two panels become a pager. Nothing below
   the frame. The pop-ups (Script, Look, Voice, About, and the voice library) share one chrome: .fv-pop.
   Distribute's own tokens (slush.css light, night.css dark) drive everything through --fv-*.
   slush.css styles bare inputs, h2/h3, and kills box-shadow globally, so every rule here is
   class-scoped and the few inputs use a selector strong enough to beat the dark theme's :is(). */
.fv2{
  --fv-bg:var(--bg,#ffe9dc); --fv-panel:var(--card,#fff); --fv-inner:var(--card2,#fff4ec); --fv-hover:#ffeede;
  --fv-line:var(--border,#000); --fv-line2:rgba(0,0,0,.13); --fv-ink:var(--ink,#000); --fv-ink2:var(--ink2,#111);
  --fv-muted:var(--muted,#444); --fv-faint:var(--faint,#5a5a5a);
  --fv-sun:var(--sun,#ffd731); --fv-mint:var(--mint,#55db9c); --fv-lav:var(--lav,#e9ccff); --fv-sky:#dceeff; --fv-sky2:#4da2ff; --fv-peach:#ff9f7a;
  --fv-field:#fff; --fv-field-line:#000; --fv-bad-bg:rgba(251,73,3,.1); --fv-bad-ink:#a02b00; --fv-fact-bg:rgba(85,219,156,.28); --fv-fact-ink:#0b5d38;
  --fv-hot:#fb4903; --fv-stage:#0b0b0d;
  /* contrast: a label laid over a picture sits on --fv-scrim; a chat bubble's blue holds white text at 4.5:1;
     a control that can't be used reads in --fv-faint (never by fading the whole thing out) */
  --fv-scrim:rgba(0,0,0,.66); --fv-imsg:#0b6fe0; --fv-ring:#fff;
  --fv-disp:'Anton',Impact,'Arial Narrow',sans-serif; --fv-ui:Inter,system-ui,-apple-system,sans-serif; --fv-mono:'JetBrains Mono',ui-monospace,Menlo,monospace; --fv-serif:'Instrument Serif',Georgia,serif;
  display:block;color:var(--fv-ink);font-family:var(--fv-ui);font-size:14px;line-height:1.45;font-weight:500;letter-spacing:-.005em;
  container-type:inline-size;container-name:fv;
}
html[data-theme="dark"] .fv2{
  --fv-panel:var(--l1,#15151a); --fv-inner:var(--l2,#1f1f25); --fv-hover:var(--l3,#2a2a32);
  --fv-line:rgba(255,255,255,.16); --fv-line2:rgba(255,255,255,.09);
  /* night's --muted/--faint are tuned for its #0e0e11 ground; the Studio's cards sit two layers up (#2a2a32,
     the hook box #332f3a), where they fell under 4.5:1. These hold 4.5:1 up to #3a3a44. */
  --fv-muted:#b3afa6; --fv-faint:#a29e96;
  --fv-sky:#1f2a3a; --fv-field:var(--l2,#1f1f25); --fv-field-line:transparent;
  --fv-bad-bg:rgba(255,106,90,.14); --fv-bad-ink:#ff9a85; --fv-fact-bg:rgba(85,219,156,.15); --fv-fact-ink:#8ff0c2;
}
.fv2 *,.fv2 *::before,.fv2 *::after{box-sizing:border-box}
.fv2 button{font-family:inherit;color:inherit}
.fv2 [hidden]{display:none!important}
.fv2 .fv-i{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:inline-block;vertical-align:middle}
.fv2 .fv-spin{width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:fvSpin .8s linear infinite;flex:none;opacity:.85;vertical-align:middle}
@keyframes fvSpin{to{transform:rotate(360deg)}}
@keyframes fvPop{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@keyframes fvSlide{0%{opacity:0;transform:scale(1.07)}3%{opacity:1}25%{opacity:1}28%{opacity:0;transform:scale(1)}100%{opacity:0;transform:scale(1)}}
@keyframes fvSheen{from{transform:translateX(-120%) skewX(-18deg)}to{transform:translateX(220%) skewX(-18deg)}}
@keyframes fvPulse{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes fvDrift{0%{transform:translate(-4%,-3%) rotate(0deg) scale(1)}100%{transform:translate(4%,3%) rotate(8deg) scale(1.08)}}
@keyframes fvShimmer{0%{transform:translateX(-110%)}60%,100%{transform:translateX(110%)}}
@keyframes fvDrop{0%{opacity:0;transform:translateY(-38%) scale(.86)}70%{opacity:1}100%{opacity:1;transform:none}}
@keyframes fvSwL{from{opacity:.35;transform:translateX(7%)}to{opacity:1;transform:none}}
@keyframes fvSwR{from{opacity:.35;transform:translateX(-7%)}to{opacity:1;transform:none}}
@keyframes fvDown{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* ── the frame ─────────────────────────────────────────────────────────────────────── */
.fv2 .fv-mockbar{display:flex;gap:8px;align-items:center;margin-bottom:8px;padding:6px 12px;border-radius:12px;background:var(--fv-sun);color:#000;border:1px solid #000;font-size:11.5px;min-width:0}
.fv2 .fv-mockbar span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-mockbar .fv-i{width:14px;height:14px}
.fv2 .fv-mockbar code{font-family:var(--fv-mono);font-size:11px;background:rgba(0,0,0,.08);padding:1px 5px;border-radius:5px}
.fv2 .fv-frame{display:flex;flex-direction:column;gap:8px;height:620px;min-height:0}
.fv2 .fv-tabs{display:none}
.fv2 .fv-panes{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.fv2 .fv-panel{background:var(--fv-panel);border:1px solid var(--fv-line);border-radius:24px;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.fv2 .fv-studio{padding:10px;gap:8px}
.fv2 .fv-stage{padding:12px 14px 14px;gap:10px}

/* ── shared bits ───────────────────────────────────────────────────────────────────── */
.fv2 .fv-lbl{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--fv-faint);margin:14px 0 7px;display:flex;align-items:center;gap:8px}
.fv2 .fv-swhint{margin-left:auto;font-size:10.5px;letter-spacing:.02em;text-transform:none;font-weight:600;color:var(--fv-faint);white-space:nowrap}
.fv2 .fv-hint{font-size:12px;color:var(--fv-muted)}
.fv2 .fv-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fv2 .fv-go{margin-top:12px}
.fv2 .fv-sp{flex:1}
.fv2 .fv-note{display:flex;gap:9px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:var(--fv-inner);font-size:12.5px;margin-top:10px;color:var(--fv-ink2)}
.fv2 .fv-note .fv-i{margin-top:1px}
.fv2 .fv-note.is-bad{background:var(--fv-bad-bg);color:var(--fv-bad-ink)}
.fv2 .fv-link{background:none;border:0;font-weight:700;text-decoration:underline;cursor:pointer;margin-left:auto;padding:0;font-size:12.5px;white-space:nowrap}
.fv2 .fv-appload{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--fv-muted);padding:12px 0}
.fv2 .fv-empty{display:flex;gap:12px;align-items:flex-start;font-size:13px;padding:6px 0}
.fv2 .fv-empty .fv-i{width:22px;height:22px;margin-top:2px}
.fv2 .fv-empty b{display:block;font-size:14px}
.fv2 .fv-empty span{color:var(--fv-muted)}
.fv2 .fv-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,var(--a) 0 55%,var(--b) 55%);border:1px solid var(--fv-line2);vertical-align:-1px;margin-right:6px;flex:none}
.fv2 :focus-visible{outline:2px solid var(--fv-sun);outline-offset:2px}

/* things that swipe sideways: touch and trackpads natively, a mouse by dragging */
.fv2 .fv-swipe{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-padding-inline:6px;
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent);padding-right:22px;padding-left:4px}
/* the edges fade only where there is more to swipe (fv2-core toggles .at-start / .at-end as the row scrolls) */
.fv2 .fv-swipe:not(.at-start){-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 22px),transparent)}
.fv2 .fv-swipe.at-end{-webkit-mask-image:none;mask-image:none}
.fv2 .fv-swipe.at-end:not(.at-start){-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px);mask-image:linear-gradient(90deg,transparent,#000 18px)}
.fv2 .fv-swipe::-webkit-scrollbar{display:none}
.fv2 .fv-swipe > *{scroll-snap-align:start}
.fv2 .fv-swipe.dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
.fv2 .fv-swipe.dragging *{pointer-events:none}
.fv2 .nowrap{flex-wrap:nowrap}

/* buttons and chips */
.fv2 .fv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:700 12px/1 var(--fv-ui);letter-spacing:.03em;text-transform:uppercase;padding:12px 18px;border-radius:999px;border:1px solid var(--fv-line);background:var(--fv-panel);color:var(--fv-ink);cursor:pointer;text-decoration:none;transition:transform .12s,background .12s;white-space:nowrap}
.fv2 .fv-btn.sm{padding:9px 13px;font-size:11px;gap:6px}
.fv2 .fv-btn.sm .fv-i{width:14px;height:14px}
.fv2 .fv-btn:hover:not(:disabled){background:var(--fv-sun);color:#000;transform:translateY(-1px)}
.fv2 .fv-btn.sun{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-btn.sun:hover:not(:disabled){background:#ffe266}
.fv2 .fv-btn.ink{background:#000;color:#fff;border-color:#000}
.fv2 .fv-btn.ink:hover:not(:disabled){background:#1f1f1f;color:#fff}
.fv2 .fv-btn.ghost{background:transparent}
.fv2 .fv-btn:disabled{cursor:not-allowed}
/* a button that can't be pressed (or is busy: "Writing hooks") stays readable: faint words on a quiet fill,
   whatever its colour was (sun, ink). The dark theme's twin sits in the contrast block at the end. */
html .fv2 .fv-btn:disabled{background:var(--fv-inner);color:var(--fv-faint);border-color:var(--fv-line2);opacity:1}
.fv2 .fv-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.fv2 .fv-chip{display:inline-flex;align-items:center;gap:6px;font:700 12.5px/1 var(--fv-ui);padding:9px 14px;border-radius:999px;border:1px solid var(--fv-line);background:var(--fv-panel);color:var(--fv-ink);cursor:pointer;white-space:nowrap;transition:background .12s;flex:none}
.fv2 .fv-chip:hover:not(:disabled){background:var(--fv-hover)}
.fv2 .fv-chip.on{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-chip.sm{padding:6px 11px;font-size:11.5px}
.fv2 .fv-chip.ghost{border-color:var(--fv-line2);background:var(--fv-panel)}
.fv2 .fv-chip:disabled{color:var(--fv-faint);border-style:dashed;cursor:default}
.fv2 .fv-chip.on:disabled{color:rgba(0,0,0,.74)}
.fv2 .fv-chip:disabled small{opacity:1}
.fv2 .fv-chip small{font-size:10px;font-weight:800;opacity:.74}
.fv2 .fv-chip .fv-dot{margin-right:0;width:11px;height:11px}
.fv2 .fv-ib{width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;background:none;border:0;color:var(--fv-muted);cursor:pointer;flex:none;padding:0}
.fv2 .fv-ib:hover:not(:disabled){background:var(--fv-hover);color:var(--fv-ink)}
.fv2 .fv-ib:disabled{opacity:.35;cursor:default}
.fv2 .fv-pill{display:inline-flex;gap:6px;align-items:center;font-size:11.5px;font-weight:800;padding:6px 11px;border-radius:999px;background:var(--fv-inner);border:1px solid var(--fv-line2);white-space:nowrap}

/* inputs: beats slush's bare-element rule and night's :is() rule, which carries an id */
html :is(.fv2,#fv2-root) :is(textarea,input).fv-in:not(.fv-x){display:block;width:100%;background:var(--fv-field)!important;color:var(--fv-ink)!important;border:1px solid var(--fv-field-line)!important;border-radius:14px!important;font:500 14px/1.45 var(--fv-ui)!important;padding:10px 13px!important;resize:none;outline:none!important;margin:0}
html :is(.fv2,#fv2-root) :is(textarea,input).fv-in:not(.fv-x):focus{outline:2px solid var(--fv-sun)!important;outline-offset:1px}
html :is(.fv2,#fv2-root) :is(textarea,input).fv-in:not(.fv-x)::placeholder{color:var(--fv-faint);opacity:1}
html :is(.fv2,#fv2-root) :is(textarea,input).fv-in:not(.fv-x):disabled{opacity:1;background:transparent!important;border:1px dashed var(--fv-line2)!important;cursor:not-allowed}

/* ── STUDIO: four slim rows with room to breathe; each one opens its pop-up ──────────── */
.fv2 .fv-rows{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:10px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;padding:2px}
.fv2 .fv-rapp{flex:none;display:flex;align-items:center;gap:8px;min-height:62px;padding:6px 8px 6px 4px;border-radius:18px;background:var(--fv-inner);border:1px solid transparent;min-width:0}
.fv2 .fv-rabout{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:6px;padding:6px 6px 6px 8px;border-radius:999px;border:1px solid transparent;background:none;cursor:pointer;color:var(--fv-ink);min-width:0}
.fv2 .fv-rabout:hover{background:var(--fv-hover);border-color:var(--fv-line2)}
.fv2 .fv-rinfo{display:grid;place-items:center;color:var(--fv-muted)}
.fv2 .fv-rabout:hover .fv-rinfo{color:var(--fv-ink)}
.fv2 .fv-row1{flex:none;display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 12px 10px 14px;border-radius:18px;background:var(--fv-inner);border:1px solid transparent;text-align:left;cursor:pointer;color:var(--fv-ink);min-width:0;transition:background .12s,border-color .12s}
.fv2 .fv-row1:hover{border-color:var(--fv-line2);background:var(--fv-hover)}
.fv2 .fv-row1:hover .fv-redit{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-tick{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--fv-line2);flex:none}
.fv2 .fv-tick.on{background:var(--fv-mint);border-color:#000;color:#000}
.fv2 .fv-tick .fv-i{width:12px;height:12px;stroke-width:3.2}
.fv2 .fv-rk{flex:0 0 58px;font-family:var(--fv-disp);font-size:17px;text-transform:uppercase;line-height:1;letter-spacing:.01em;white-space:nowrap}
.fv2 .fv-rthumb{flex:none;position:relative;width:30px;height:48px;border-radius:7px;overflow:hidden;background:#15151a;border:1px solid var(--fv-line2)}
.fv2 .fv-rthumb.wide{width:54px;height:31px}
.fv2 .fv-rthumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.fv2 .fv-rthumb img:not([src]){visibility:hidden}
.fv2 .fv-rv{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px;line-height:1.25}
.fv2 .fv-rv b{font-size:14px;font-weight:800;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-rv b.q{font-style:italic;font-weight:700}
.fv2 .fv-rv b.q::before{content:"\201C"} .fv2 .fv-rv b.q::after{content:"\201D"}
.fv2 .fv-rv b.none{font-weight:700;color:var(--fv-muted)}
.fv2 .fv-rv small{font-size:12px;color:var(--fv-muted);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:4px}
.fv2 .fv-rv small .fv-i{width:12px;height:12px;color:#c98a00;flex:none}
.fv2 .fv-rv small span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-redit{flex:none;margin-left:auto;font:800 10.5px/1 var(--fv-ui);letter-spacing:.06em;text-transform:uppercase;padding:8px 12px;border-radius:999px;border:1px solid var(--fv-line2);background:var(--fv-panel);color:var(--fv-ink);transition:background .12s}
.fv2 .fv-rhint{margin:auto 0 0;padding:10px 6px 2px;text-align:center;font-size:12px;color:var(--fv-muted)}
.fv2 .fv-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.fv2 .fv-anglehint{font-size:12px;color:var(--fv-muted);margin-top:7px}

/* Film for: the app, shrunk to one row */
.fv2 .fv-logo{position:relative;width:30px;height:30px;border-radius:9px;background:var(--c,var(--fv-sun));color:#000;display:grid;place-items:center;font-family:var(--fv-disp);font-size:15px;border:1px solid var(--fv-line);overflow:hidden;flex:none}
.fv2 .fv-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:var(--fv-panel)}
.fv2 .fv-apphd{display:flex;flex-direction:column;min-width:0;line-height:1.15}
.fv2 .fv-apphd small{font-size:9.5px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:var(--fv-faint)}
.fv2 .fv-apphd b{font-size:14.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em}
.fv2 .fv-plat{display:inline-flex;gap:5px;align-items:center;font-size:10.5px;font-weight:800;padding:4px 8px;border-radius:999px;background:var(--fv-sky);border:1px solid var(--fv-line2);flex:none;color:var(--fv-ink)}
.fv2 .fv-plat .fv-i{width:12px;height:12px}
.fv2 .fv-vscore{font-size:10.5px;font-weight:900;padding:4px 7px;border-radius:999px;background:var(--fv-mint);color:#000;border:1px solid #000;flex:none}
.fv2 .fv-vscore.maybe{background:var(--fv-sun)} .fv2 .fv-vscore.no{background:#ffb3a0}
.fv2 .fv-ctxpct{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;color:var(--fv-muted);flex:none}
.fv2 .fv-ctxpct i{width:26px;height:5px;border-radius:3px;background:var(--fv-line2);display:block;overflow:hidden;position:relative}
.fv2 .fv-ctxpct i::after{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--p);background:var(--fv-ink);border-radius:3px}
.fv2 .fv-pitch{margin:0 0 10px;font-size:13.5px;color:var(--fv-ink2);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fv2 .fv-badges{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.fv2 .fv-verdict{display:inline-flex;gap:7px;align-items:center;font-weight:800;font-size:12px;padding:4px 5px 4px 11px;border-radius:999px;border:1px solid #000;background:var(--fv-mint);color:#000;letter-spacing:.04em;cursor:help}
.fv2 .fv-verdict b{background:#000;color:#fff;border-radius:999px;padding:3px 7px;font-size:11px}
.fv2 .fv-verdict.maybe{background:var(--fv-sun)} .fv2 .fv-verdict.no{background:#ffb3a0}
.fv2 .fv-ctxm{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;padding:6px 11px;border-radius:999px;background:var(--fv-inner);border:1px solid var(--fv-line2);cursor:help}
.fv2 .fv-ctxm i{width:52px;height:6px;border-radius:3px;background:var(--fv-line2);overflow:hidden;display:block}
.fv2 .fv-ctxm i b{display:block;height:100%;background:var(--fv-ink);border-radius:3px}
.fv2 .fv-fcards{display:flex;gap:8px;padding-bottom:2px}
.fv2 .fv-fcard{flex:0 0 158px;display:flex;flex-direction:column;gap:3px;padding:11px 12px;border-radius:14px;background:var(--fv-inner);border:1px solid var(--fv-line2);animation:fvPop .25s both}
.fv2 .fv-fcard b{font-family:var(--fv-disp);font-size:24px;line-height:1.02;font-weight:400;white-space:nowrap}
.fv2 .fv-fcard b small{font-family:var(--fv-ui);font-size:11px;font-weight:700;color:var(--fv-muted);margin-left:2px;letter-spacing:0}
.fv2 .fv-fcard span{font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fv2 .fv-fcard em{font-style:normal;font-size:10.5px;color:var(--fv-faint);margin-top:auto}
.fv2 .fv-shots{display:flex;gap:8px;align-items:center}
.fv2 .fv-shots img{height:84px;width:auto;border-radius:10px;border:1px solid var(--fv-line2);flex:none;background:var(--fv-inner);object-fit:cover}

/* Script: angle · length · hooks (the Script pop-up's left column) */
.fv2 .fv-hook{display:flex;gap:10px;align-items:flex-start;width:100%;text-align:left;padding:10px 12px 10px 10px;border-radius:14px;border:1px solid var(--fv-line2);background:var(--fv-inner);cursor:pointer;animation:fvPop .25s both;transition:border-color .12s;color:var(--fv-ink)}
.fv2 .fv-hook:hover{border-color:var(--fv-line)}
.fv2 .fv-hookn{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:10.5px;font-weight:800;background:var(--fv-panel);border:1px solid var(--fv-line2)}
.fv2 .fv-hookt{font-weight:750;font-size:14px;line-height:1.35;letter-spacing:-.01em;padding-top:1px}
.fv2 .fv-hook.on{border-color:#000;background:var(--fv-sun);color:#000}
.fv2 .fv-hook.on .fv-hookn{background:#000;color:var(--fv-sun);border-color:#000}
.fv2 .fv-hooks2{display:flex;flex-direction:column;gap:6px}
.fv2 .fv-script{margin-top:14px;border-top:1px dashed var(--fv-line2);padding-top:12px;transition:opacity .2s}
.fv2 .fv-scripthead{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.fv2 .fv-ttl{font-family:var(--fv-disp);font-size:22px;text-transform:uppercase;line-height:1.02;flex:1;min-width:150px;outline:none;border-bottom:1px dashed transparent}
.fv2 .fv-ttl:focus{border-bottom-color:var(--fv-line2)}
.fv2 .fv-spent{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;color:var(--fv-muted);white-space:nowrap}
.fv2 .fv-spent .fv-i{width:13px;height:13px}
.fv2 .fv-meter{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--fv-muted);font-weight:600}
.fv2 .fv-meter i{width:70px;height:6px;border-radius:3px;background:var(--fv-line2);display:block;overflow:hidden}
.fv2 .fv-meter i b{display:block;height:100%;background:var(--fv-mint);border-radius:3px;transition:width .2s}
.fv2 .fv-meter.over i b{background:var(--fv-hot)}
.fv2 .fv-meter.over span:first-child{color:var(--fv-bad-ink)}
.fv2 .fv-os{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;border-radius:999px;padding:3px 10px 3px 3px;background:var(--fv-panel);border:1px solid var(--fv-line2);max-width:100%}
.fv2 .fv-osk{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;background:var(--fv-ink);color:var(--fv-panel);border-radius:999px;padding:3px 7px;flex:none}
.fv2 .fv-ost{font-weight:700;outline:none;min-width:24px;cursor:text}
.fv2 .fv-ost:empty::before{content:"what the scene shows";color:var(--fv-faint);font-weight:500}
.fv2 .fv-os.long{border-color:var(--fv-hot)}
.fv2 .fv-fact{display:inline-flex;align-items:baseline;gap:5px;font-size:11.5px;font-weight:800;padding:4px 10px;border-radius:999px;background:var(--fv-fact-bg);color:var(--fv-fact-ink);cursor:help}
.fv2 .fv-fact small{font-weight:600;font-size:10.5px}
.fv2 .fv-warn{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--fv-bad-bg);color:var(--fv-bad-ink)}
.fv2 .fv-warn .fv-i{width:12px;height:12px}

/* Look: a grid of small posters (the Look pop-up). Each card is its own size container: a 9:16 card is about
   120-140 px wide, a 16:9 card spans two columns at the SAME height (its poster a true 16:9 on top, the shade
   circles in the band under it), so nothing is ever squashed. --gx is the grid's column gap. */
.fv2 .fv-lkgrid{--gx:12px;display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:18px var(--gx);align-items:start;padding:5px 5px 4px 5px}
.fv2 .fv-tcard{container-type:inline-size;min-width:0;animation:fvPop .3s both}
.fv2 .fv-tcard.wide{grid-column:span 2}
.fv2 .fv-tpwrap{position:relative;height:calc(100cqw * 14 / 9);border-radius:14px}
.fv2 .fv-tcard.wide .fv-tpwrap{height:calc((100cqw - var(--gx)) / 2 * 14 / 9);background:#15151a;border:1px solid var(--fv-line)}
.fv2 .fv-tposter{position:absolute;inset:0;border-radius:14px;overflow:hidden;border:1px solid var(--fv-line);display:block;width:100%;padding:0;background:#15151a;cursor:pointer}
.fv2 .fv-tcard.wide .fv-tposter{inset:-1px -1px auto -1px;width:auto;height:auto;aspect-ratio:16/9;border-radius:14px 14px 0 0}
.fv2 .fv-tposter img,.fv2 .fv-tposter video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block}
.fv2 .fv-tcard.wide .fv-tposter img{object-position:50% 50%}
.fv2 .fv-tposter img{transition:transform 3.4s cubic-bezier(.2,.7,.2,1)}
.fv2 .fv-tposter img:not([src]){visibility:hidden}
.fv2 .fv-tposter.live img{transform:scale(1.08)}
.fv2 .fv-tposter::after{content:"";position:absolute;top:0;bottom:0;left:0;width:45%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);transform:translateX(-120%) skewX(-18deg);pointer-events:none}
.fv2 .fv-tposter.live::after{animation:fvSheen 1.3s .1s ease-out}
.fv2 .fv-tpace{position:absolute;top:6px;left:6px;font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#fff;background:var(--fv-scrim);padding:3px 6px;border-radius:999px;z-index:2}
.fv2 .fv-tcheck{position:absolute;top:5px;right:5px;width:22px;height:22px;border-radius:50%;background:var(--fv-sun);color:#000;border:1px solid #000;display:grid;place-items:center;z-index:2}
.fv2 .fv-tcheck .fv-i{width:12px;height:12px;stroke-width:3}
.fv2 .fv-tcard.on .fv-tpwrap{outline:3px solid var(--fv-sun);outline-offset:2px}
.fv2 .fv-tmeta{display:flex;flex-direction:column;padding:7px 2px 0;min-width:0}
.fv2 .fv-tname{font-weight:800;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-tshade{font-size:11px;color:var(--fv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the look's three shades: big circles across the lower middle of the poster (a 16:9 card: centred in the band
   under its poster), each one a button: hover previews it on the poster and in the preview pane, a tap picks look
   + shade. A white ring and a drop shadow make them read on any poster; the picked one gets a sun ring and a check.
   Scaled to the card, never under 28 px. */
.fv2 .fv-sws{position:absolute;left:0;right:0;bottom:21%;display:flex;justify-content:center;align-items:center;gap:6px;padding:0 7px;z-index:3;pointer-events:none}
.fv2 .fv-tcard.wide .fv-sws{top:calc(100cqw * 9 / 16);bottom:0}
.fv2 .fv-sw{pointer-events:auto;flex:0 0 clamp(28px,calc((100cqw - 26px) / 3),34px);min-width:28px;aspect-ratio:1;height:auto;border-radius:50%;border:3px solid var(--fv-ring);background:linear-gradient(135deg,var(--a) 0 52%,var(--b) 52%);padding:0;margin:0;cursor:pointer;display:grid;place-items:center;color:#000;transition:transform .14s cubic-bezier(.2,.8,.3,1.4);-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.fv2 .fv-tcard.wide .fv-sw{flex-basis:34px}
html .fv2 .fv-sw{box-shadow:0 0 0 1px rgba(0,0,0,.45),0 4px 12px rgba(0,0,0,.5)!important}
.fv2 .fv-sw:not(.cur):not(.on){border-color:rgba(255,255,255,.78)}
.fv2 .fv-sw:hover{transform:scale(1.14)}
.fv2 .fv-sw:active{transform:scale(.94)}
.fv2 .fv-sw:focus-visible{outline:3px solid var(--fv-sun);outline-offset:3px}
html .fv2 .fv-sw.on{box-shadow:0 0 0 3px var(--fv-sun),0 0 0 4px rgba(0,0,0,.55),0 5px 14px rgba(0,0,0,.55)!important}
.fv2 .fv-sw .fv-i{width:58%;height:58%;padding:3px;border-radius:50%;background:var(--fv-ring);color:#000;stroke-width:3.6;pointer-events:none}
@media (hover:none){.fv2 .fv-sw:hover{transform:none}}
.fv2 .fv-usefor{display:flex;gap:5px;flex-wrap:wrap}
.fv2 .fv-usefor i{font-style:normal;font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--fv-panel);border:1px solid var(--fv-line2)}
.fv2 .fv-refs{display:flex;gap:5px}
.fv2 .fv-refs img{height:64px;aspect-ratio:9/16;object-fit:cover;border-radius:7px;border:1px solid var(--fv-line2);flex:none;background:var(--fv-panel)}

/* Voice: filter chips, then every voice as a card (the Voice pop-up) */
.fv2 .fv-vlist{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:8px;align-content:start;padding:5px 5px 8px 5px;scrollbar-width:thin}
.fv2 .fv-vcard{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;padding:9px 12px 9px 9px;border-radius:14px;background:var(--fv-inner);border:1px solid var(--fv-line2);transition:border-color .12s,background .12s;min-width:0}
.fv2 .fv-vcheck{position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:50%;background:var(--fv-sun);color:#000;display:grid;place-items:center;border:1px solid #000;pointer-events:none}
.fv2 .fv-vcheck .fv-i{width:11px;height:11px;stroke-width:3.2}
.fv2 .fv-vcard.on .fv-vpick{padding-right:20px}
.fv2 .fv-vcard:hover{border-color:var(--fv-line)}
.fv2 .fv-vcard.on{background:var(--fv-panel);border-color:#000;outline:3px solid var(--fv-sun);outline-offset:1px}
.fv2 .fv-vcard.off{background:transparent;border-style:dashed}   /* not set up: dashed, words still readable */
.fv2 .fv-vcard.off .fv-vname{color:var(--fv-muted)}
.fv2 .fv-vplay{width:36px;height:36px;border-radius:50%;border:1px solid var(--fv-line);background:var(--fv-panel);color:var(--fv-ink);display:grid;place-items:center;cursor:pointer;padding:0}
.fv2 .fv-vplay .fv-i{width:14px;height:14px}
.fv2 .fv-vplay.playing{background:#000;color:var(--fv-sun);border-color:#000}
.fv2 .fv-vcard.on .fv-vplay{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-vcard.on .fv-vplay.playing{background:#000;color:var(--fv-sun)}
.fv2 .fv-vplay:disabled{opacity:.4;cursor:default}
.fv2 .fv-vpick{background:none;border:0;padding:2px 0;text-align:left;cursor:pointer;display:flex;flex-direction:column;min-width:0;gap:1px}
.fv2 .fv-vname{font-weight:800;font-size:13.5px;display:flex;gap:5px;align-items:center;white-space:nowrap;min-width:0}
.fv2 .fv-vn{min-width:0;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-vname i{flex:none;font-style:normal;font-size:8.5px;text-transform:uppercase;letter-spacing:.06em;padding:2px 5px;border-radius:999px;background:var(--fv-panel);border:1px solid var(--fv-line2);font-weight:800}
.fv2 .fv-vtags{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--fv-faint)}
.fv2 .fv-vblurb{font-size:11.5px;color:var(--fv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ── the Make dock: always at the bottom of the Studio ─────────────────────────────── */
.fv2 .fv-dock{flex:none;display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:20px;background:var(--fv-inner);border:1px solid var(--fv-line2)}
.fv2 .fv-dnote:empty,.fv2 .fv-dctx:empty{display:none}
.fv2 .fv-dmsg{display:flex;align-items:center;gap:8px;font-size:12.5px;line-height:1.35;padding:7px 6px 7px 10px;border-radius:12px;background:var(--fv-panel);border:1px solid var(--fv-line2);animation:fvDown .2s both}
.fv2 .fv-dmsg > span{flex:1;min-width:0}
.fv2 .fv-dmsg .fv-ib{width:26px;height:26px}
.fv2 .fv-dmsg .fv-ib .fv-i{width:13px;height:13px}
.fv2 .fv-dmsg.is-bad{background:var(--fv-bad-bg);color:var(--fv-bad-ink);border-color:transparent}
.fv2 .fv-dmsg.is-good > .fv-i{color:#1d8a58}
.fv2 .fv-dctx{display:flex;align-items:center;gap:6px;min-width:0}
.fv2 .fv-scchip{flex:none;display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:800;padding:3px 3px 3px 10px;border-radius:999px;background:var(--fv-sun);color:#000;border:1px solid #000}
.fv2 .fv-scchip .fv-i{width:13px;height:13px}
.fv2 .fv-scchip button{width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.12);display:grid;place-items:center;cursor:pointer;padding:0;color:#000}
.fv2 .fv-scchip button .fv-i{width:11px;height:11px}
/* the prompt box: a chat box. A + on its left edge (upload, Recent, screenshots, generated), the attachment as a
   chip above the words, the send button on the right; the box itself is the field (its words have no border) */
.fv2 .fv-prompt{position:relative;display:flex;flex-direction:column;background:var(--fv-field);border:1px solid var(--fv-field-line);border-radius:18px;min-width:0}
.fv2 .fv-prompt:focus-within{outline:2px solid var(--fv-sun);outline-offset:1px}
.fv2 .fv-prompt:has(textarea:disabled){background:transparent;border-style:dashed;border-color:var(--fv-line2)}
.fv2 .fv-patt{display:flex;flex-wrap:wrap;gap:6px;padding:7px 7px 0}
.fv2 .fv-patt:empty{display:none}
.fv2 .fv-pin{display:flex;align-items:flex-end;gap:6px;padding:5px}
html :is(.fv2,#fv2-root) .fv-prompt textarea.fv-in:not(.fv-x){flex:1 1 auto;min-width:0;width:auto;border:0!important;background:transparent!important;border-radius:0!important;padding:8px 4px!important;min-height:34px;max-height:96px;font-size:13.5px!important;outline:none!important}
html :is(.fv2,#fv2-root) .fv-prompt textarea.fv-in:not(.fv-x):focus,html :is(.fv2,#fv2-root) .fv-prompt textarea.fv-in:not(.fv-x):disabled{outline:none!important;border:0!important;background:transparent!important}
.fv2 .fv-plus,.fv2 .fv-send{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;cursor:pointer;padding:0}
.fv2 .fv-plus{background:var(--fv-panel);color:var(--fv-ink);border:1px solid var(--fv-line);transition:background .12s,transform .12s}
.fv2 .fv-plus .fv-i{width:17px;height:17px;stroke-width:2.4}
.fv2 .fv-plus:hover:not(:disabled),.fv2 .fv-plus[aria-expanded="true"]{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-plus[aria-expanded="true"] .fv-i{transform:rotate(45deg)}
.fv2 .fv-plus:disabled{color:var(--fv-faint);border-style:dashed;cursor:not-allowed}
.fv2 .fv-send{background:var(--fv-sun);color:#000;border:1px solid #000}
.fv2 .fv-send:disabled{opacity:.55;cursor:default}
/* the attachment chip: a thumb, a short name, its kind, a × (Backspace in an empty box takes it off too) */
.fv2 .fv-pchip{position:relative;display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:4px 4px 4px 4px;border-radius:13px;background:var(--fv-inner);border:1px solid var(--fv-line2);animation:fvPop .18s both;overflow:hidden;min-width:0}
.fv2 .fv-pchimg{position:relative;width:38px;height:38px;border-radius:9px;overflow:hidden;flex:none;background:var(--fv-panel);display:grid;place-items:center;color:var(--fv-muted)}
.fv2 .fv-pchimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fv2 .fv-pchimg .fv-asph .fv-i{width:16px;height:16px}
.fv2 .fv-pchnm{font-size:12.5px;font-weight:800;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--fv-ink)}
.fv2 .fv-pchk{flex:none;font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--fv-muted)}
.fv2 .fv-pchx{flex:none;width:26px;height:26px;border-radius:50%;border:0;padding:0;margin-left:2px;display:grid;place-items:center;background:var(--fv-panel);color:var(--fv-ink);cursor:pointer}
.fv2 .fv-pchx:hover{background:var(--fv-sun);color:#000}
.fv2 .fv-pchx .fv-i{width:12px;height:12px;stroke-width:2.8}
.fv2 .fv-pchip.up::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:calc(var(--p,0) * 100%);background:var(--fv-sun);transition:width .2s}
/* the "Where should it go?" card (no place in the words): the best fit picked, Put it here, Pick another */
.fv2 .fv-where{display:flex;flex-direction:column;gap:8px;padding:10px 10px 10px 12px;border-radius:14px;background:var(--fv-panel);border:1px solid var(--fv-line);animation:fvDown .2s both;min-width:0}
.fv2 .fv-whhead{display:flex;align-items:center;gap:9px;min-width:0}
.fv2 .fv-whhead b{flex:1 1 auto;min-width:0;font-size:13.5px;font-weight:800;line-height:1.25}
.fv2 .fv-whhead .fv-ib{width:28px;height:28px}
.fv2 .fv-whimg{position:relative;width:30px;height:30px;border-radius:8px;overflow:hidden;flex:none;background:var(--fv-inner);display:grid;place-items:center;color:var(--fv-muted)}
.fv2 .fv-whimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fv2 .fv-whimg .fv-i{width:14px;height:14px}
.fv2 .fv-whbest{display:flex;gap:10px;align-items:flex-start;padding:9px 11px;border-radius:12px;background:var(--fv-inner);border:1.5px solid var(--fv-ink)}
.fv2 .fv-whtx{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:1.35;color:var(--fv-ink)}
.fv2 .fv-whbest .fv-whtx{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fv2 .fv-whtx small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--fv-muted)}
.fv2 .fv-whtx em{color:var(--fv-muted)}
.fv2 .fv-whlist{max-height:184px;overflow-y:auto;overscroll-behavior-y:contain;display:flex;flex-direction:column;gap:3px;padding:2px;scrollbar-width:thin}
.fv2 .fv-whrow{display:flex;gap:9px;align-items:flex-start;width:100%;padding:6px 8px;border-radius:10px;border:1px solid transparent;background:none;text-align:left;cursor:pointer;color:var(--fv-ink)}
.fv2 .fv-whrow .fv-whtx{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-size:12.5px;padding-top:2px}
.fv2 .fv-whrow:hover{background:var(--fv-inner)}
.fv2 .fv-whrow.on{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-whrow.on .fv-whtx{color:#000}
.fv2 .fv-whrow.on .fv-ln{background:#000;color:var(--fv-sun);border-color:#000}
.fv2 .fv-whrow small{margin-left:auto;font-size:10.5px;font-weight:800;color:var(--fv-muted);flex:none;padding-top:3px}
.fv2 .fv-whacts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fv2 .fv-whacts .fv-hint{font-size:11.5px}
.fv2 .fv-wherr{margin:0;padding:7px 10px;font-size:12px}
.fv2 .fv-placed{flex-wrap:wrap;row-gap:4px}
.fv2 .fv-placed > span{flex:1 1 220px}
.fv2 .fv-placed q{quotes:"\201C" "\201D";font-style:italic}
.fv2 .fv-placed .fv-link{margin-left:0;font-size:12px;padding:3px 4px}
.fv2 .fv-drow{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.fv2 .fv-est{flex:1 1 90px;min-width:0;display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--fv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:help}
.fv2 .fv-est b{color:var(--fv-ink);font-weight:800}
.fv2 .fv-est .fv-i{width:14px;height:14px}
.fv2 .fv-est.need{cursor:default;color:var(--fv-bad-ink)}
.fv2 .fv-make{flex:0 0 auto;height:44px;padding:0 20px;border-radius:999px;background:var(--fv-sun);color:#000;border:1px solid #000;font:800 14px/1 var(--fv-ui);letter-spacing:.01em;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:transform .08s;margin-left:auto}
.fv2 .fv-make .fv-i{width:17px;height:17px}
html .fv2 .fv-make{box-shadow:0 3px 0 #000!important}
html .fv2 .fv-make:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #000!important}
html .fv2 .fv-make:disabled{cursor:not-allowed}
html[data-theme="dark"] .fv2 .fv-make{border-color:transparent;box-shadow:0 3px 0 rgba(0,0,0,.7)!important}
/* not ready yet ("Needs a script"): a quiet outlined pill with readable words, not a faded yellow one */
html .fv2 .fv-make:disabled,html[data-theme] .fv2 .fv-make:disabled{opacity:1;background:var(--fv-panel);color:var(--fv-faint);border-color:var(--fv-line);box-shadow:none!important}
.fv2 .fv-mkprog{flex:1;min-width:0;padding:9px 12px;border-radius:14px;background:var(--fv-sun);color:#000;border:1px solid #000}
.fv2 .fv-mk-top{display:flex;justify-content:space-between;gap:10px;font-weight:800;font-size:13px}
.fv2 .fv-mk-top b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fv2 .fv-mkprog i{display:block;height:5px;border-radius:3px;background:rgba(0,0,0,.15);margin:7px 0 5px;overflow:hidden}
.fv2 .fv-mkprog i b{display:block;height:100%;background:#000;transition:width .5s}
.fv2 .fv-mkprog .fv-hint{color:rgba(0,0,0,.72);font-size:11px}

/* ── History: the films, in the Studio ─────────────────────────────────────────────── */
.fv2 .fv-hist{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:8px}
.fv2 .fv-histhead{flex:none;display:flex;align-items:center;gap:8px;padding:4px 4px 0 6px;min-width:0}
.fv2 .fv-filmsttl{font-family:var(--fv-disp);font-size:18px;text-transform:uppercase;line-height:1}
.fv2 .fv-count{font-size:11px;font-weight:800;background:var(--fv-sun);color:#000;border-radius:999px;padding:3px 8px;border:1px solid #000}
.fv2 .fv-for{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-histgrid{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:14px 10px;align-content:start;padding:4px 4px 8px;scrollbar-width:thin}
.fv2 .fv-film{background:none;border:0;padding:0;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:3px;animation:fvPop .3s both;min-width:0}
.fv2 .fv-fthumb{aspect-ratio:9/16;border-radius:14px;overflow:hidden;position:relative;background:#111;border:1px solid var(--fv-line);display:block;transition:transform .15s;margin-bottom:4px}
.fv2 .fv-fthumb img,.fv2 .fv-fthumb video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.fv2 .fv-fthumb img:not([src]){visibility:hidden}
.fv2 .fv-fprev{opacity:0;transition:opacity .25s}
.fv2 .fv-fprev.on{opacity:1}
.fv2 .fv-film:hover .fv-fthumb{transform:translateY(-3px)}
.fv2 .fv-film.on .fv-fthumb{outline:3px solid var(--fv-sun);outline-offset:2px}
.fv2 .fv-fbadge{position:absolute;top:7px;left:7px;display:inline-flex;gap:5px;align-items:center;font-size:10.5px;font-weight:800;padding:4px 8px;border-radius:999px;background:var(--fv-scrim);color:#fff;z-index:2}
.fv2 .fv-fbadge .fv-i{width:12px;height:12px}
.fv2 .fv-fbadge .fv-spin{width:10px;height:10px}
.fv2 .fv-fbadge.live{background:var(--fv-sun);color:#000}
.fv2 .fv-fbadge.is-bad{background:#ffb3a0;color:#000}
.fv2 .fv-fbadge.ver{left:auto;right:7px;background:var(--fv-lav);color:#000}
.fv2 .fv-ftitle{font-weight:700;font-size:12.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fv2 .fv-fmeta{font-size:11px;color:var(--fv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-filmsempty{display:flex;gap:10px;align-items:center;padding:22px;border:1px dashed var(--fv-line2);border-radius:16px;color:var(--fv-muted);font-size:13px;margin:4px}
.fv2 .fv-filmsempty .fv-i{width:22px;height:22px}

/* ── STAGE ─────────────────────────────────────────────────────────────────────────── */
.fv2 .fv-stagehead{flex:none;display:flex;align-items:center;gap:10px;min-height:38px;min-width:0}
.fv2 .fv-seg2{display:inline-flex;padding:3px;border-radius:999px;background:var(--fv-inner);border:1px solid var(--fv-line2);flex:none}
.fv2 .fv-seg2 button{border:0;background:none;border-radius:999px;padding:7px 12px;font:800 11.5px/1 var(--fv-ui);cursor:pointer;display:inline-flex;gap:6px;align-items:center;color:var(--fv-muted);white-space:nowrap}
.fv2 .fv-seg2 button:hover{color:var(--fv-ink)}
.fv2 .fv-seg2 button.on{background:var(--fv-ink);color:var(--fv-panel)}
.fv2 .fv-seg2 i{font-style:normal;font-size:9.5px;font-weight:900;min-width:17px;height:17px;padding:0 4px;border-radius:999px;display:inline-grid;place-items:center;background:var(--fv-sun);color:#000}
.fv2 .fv-sttl{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.fv2 .fv-sttl b{font-family:var(--fv-disp);font-size:16px;text-transform:uppercase;line-height:1;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-sttl span{font-size:11.5px;color:var(--fv-muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
.fv2 .fv-sttl span .fv-dot{width:10px;height:10px;margin-right:5px}
.fv2 .fv-sttl q{quotes:"\201C" "\201D";font-style:italic;color:var(--fv-ink2)}
.fv2 .fv-verpill{display:inline-flex;align-items:center;gap:0;border-radius:999px;background:var(--fv-lav);color:#000;border:1px solid #000;padding:1px;font-size:11.5px;font-weight:900;flex:none;white-space:nowrap}
.fv2 .fv-verpill:empty{display:none}
.fv2 .fv-verpill b{padding:0 3px;cursor:help}
.fv2 .fv-verpill .fv-ib{width:24px;height:24px;color:#000}
.fv2 .fv-verpill .fv-ib:hover:not(:disabled){background:rgba(0,0,0,.1);color:#000}
.fv2 .fv-verpill .fv-ib .fv-i{width:13px;height:13px;stroke-width:2.6}
.fv2 .fv-sdot{width:10px;height:10px;border-radius:50%;background:var(--fv-line2);border:1px solid var(--fv-line2);flex:none;display:inline-block}
.fv2 .fv-sdot.live{background:var(--fv-sun);border-color:#000;animation:fvPulse 1.2s ease-in-out infinite}
.fv2 .fv-sdot.done{background:var(--fv-mint);border-color:#000}
.fv2 .fv-sdot.bad{background:var(--fv-hot);border-color:#000}
.fv2 .fv-sdot.warn{box-shadow:0 0 0 3px rgba(251,73,3,.25)!important}

/* the phone: as tall as the panel allows, always 9:16 */
.fv2 .fv-phonebox{flex:1 1 0;min-height:0;container-type:size;display:grid;place-items:center}
.fv2 .fv-phone{--ph:min(100cqh,calc((100cqw - 12px) * 16 / 9 + 12px));height:var(--ph);width:calc((var(--ph) - 12px) * 9 / 16 + 12px);background:#000;border-radius:calc(var(--ph) * .06);padding:6px;position:relative;touch-action:pan-y;user-select:none;-webkit-user-select:none;outline-offset:4px}
html[data-theme="dark"] .fv2 .fv-phone{outline:1px solid rgba(255,255,255,.14);filter:drop-shadow(0 24px 40px rgba(0,0,0,.5))}
html[data-theme="dark"] .fv2 .fv-phone:focus-visible{outline:2px solid var(--fv-sun)}
.fv2 .fv-screen{position:relative;width:100%;height:100%;border-radius:calc(var(--ph) * .05);overflow:hidden;background:var(--fv-stage);isolation:isolate;container-type:size}
.fv2 .fv-screen.swl{animation:fvSwL .32s cubic-bezier(.2,.8,.3,1)} .fv2 .fv-screen.swr{animation:fvSwR .32s cubic-bezier(.2,.8,.3,1)}
.fv2 .fv-screen img{-webkit-user-drag:none}
.fv2 .fv-nav{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;background:rgba(10,10,12,.6);color:#fff;border:1px solid rgba(255,255,255,.2);display:none;place-items:center;z-index:6;cursor:pointer;padding:0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.fv2 .fv-nav.prev{left:-6px} .fv2 .fv-nav.next{right:-6px}
.fv2 .fv-nav .fv-i{width:16px;height:16px;stroke-width:2.6}
.fv2 .fv-phone.can-nav:hover .fv-nav,.fv2 .fv-phone.can-nav:focus-within .fv-nav{display:grid}
@media (hover:none){.fv2 .fv-phone.can-nav .fv-nav{display:none!important}}
.fv2 .fv-vid,.fv2 .fv-pv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000;display:block}
.fv2 .fv-pv{object-fit:contain}   /* the film is 9:16 and so is the screen: never crop it */
.fv2 .fv-vid.wide{object-fit:contain}   /* a 16:9 look's showcase is letterboxed in the phone, never cropped */
.fv2 .fv-slides{position:absolute;inset:0}
.fv2 .fv-slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:fvSlide 16s infinite}
.fv2 .fv-slides img:not([src]){display:none}
.fv2 .fv-slides img:nth-child(2){animation-delay:4s} .fv2 .fv-slides img:nth-child(3){animation-delay:8s} .fv2 .fv-slides img:nth-child(4){animation-delay:12s}
.fv2 .fv-tag{position:absolute;top:10px;left:10px;max-width:calc(100% - 20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#fff;background:var(--fv-scrim);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:5px 9px;border-radius:999px;z-index:3}
.fv2 .fv-tag.is-bad{top:auto;bottom:54px;left:10px;right:10px;display:flex;gap:6px;align-items:center;background:rgba(122,24,0,.82);text-transform:none;letter-spacing:0;font-size:11px}
.fv2 .fv-tag .fv-i{width:13px;height:13px}
.fv2 .fv-blank{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:10%;color:#c9c5bb;background:radial-gradient(circle at 50% 42%,#222228,#0b0b0d 70%);font-size:12.5px}
.fv2 .fv-blank .fv-i{width:28px;height:28px;opacity:.8}
.fv2 .fv-blank b{color:#fff;font-family:var(--fv-disp);font-size:clamp(16px,8cqw,24px);text-transform:uppercase;font-weight:400;line-height:1.05}
.fv2 .fv-blank.is-bad b{color:#ffb4a3}

/* Generating: the look's colours glowing, a shimmer, a ring, the stage in words, the scenes dropping in */
.fv2 .fv-gen{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;gap:4cqh;padding:11cqh 7cqw 7cqw;color:#fff;overflow:hidden;background:var(--fv-stage)}
.fv2 .fv-genbg{position:absolute;inset:-25%;background:radial-gradient(38% 30% at 28% 30%,var(--g2) 0,transparent 70%),radial-gradient(42% 34% at 74% 68%,var(--g3) 0,transparent 72%);opacity:.5;filter:blur(24px);animation:fvDrift 7s ease-in-out infinite alternate}
.fv2 .fv-genback{position:absolute;inset:0}
.fv2 .fv-genback img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;filter:blur(3px) saturate(1.1);transform:scale(1.06);transition:opacity .9s}
.fv2 .fv-genback img.in{opacity:.22}
.fv2 .fv-gen::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.12) 50%,transparent 65%);transform:translateX(-110%);animation:fvShimmer 2.6s ease-in-out infinite;pointer-events:none;z-index:1}
.fv2 .fv-gencore{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.6cqh}
.fv2 .fv-ring{width:34cqw;aspect-ratio:1;position:relative;margin-bottom:1.5cqh}
.fv2 .fv-ring svg{width:100%;height:100%;transform:rotate(-90deg);display:block}
.fv2 .fv-ring circle{fill:none;stroke-width:5.5}
.fv2 .fv-ring .trk{stroke:rgba(255,255,255,.14)}
.fv2 .fv-ring .val{stroke:var(--fv-sun);stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .6s ease}
.fv2 .fv-ring b{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--fv-disp);font-size:9cqw;font-weight:400;letter-spacing:.01em}
.fv2 .fv-genk{font-size:max(9px,3.1cqw);letter-spacing:.2em;text-transform:uppercase;font-weight:800;color:var(--fv-sun);animation:fvPulse 1.6s ease-in-out infinite}
.fv2 .fv-genttl{font-family:var(--fv-disp);font-size:max(15px,7.4cqw);text-transform:uppercase;line-height:1.02;font-weight:400;max-width:88cqw}
.fv2 .fv-gensub{font-size:max(10px,3.5cqw);opacity:.78;max-width:84cqw;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.fv2 .fv-genthumbs{position:relative;z-index:2;display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));gap:2.2cqw}
.fv2 .fv-gt{aspect-ratio:9/16;border-radius:2.6cqw;background:rgba(8,8,10,.46);border:1px solid rgba(255,255,255,.14);position:relative;overflow:hidden;display:grid;place-items:center;transition:border-color .3s}
.fv2 .fv-gt b{font-family:var(--fv-disp);font-size:max(10px,4.4cqw);opacity:.86;font-weight:400}   /* on a dark glass tile, so the number reads over any glow */
.fv2 .fv-gt.busy{border-color:var(--fv-sun)}
.fv2 .fv-gt.busy::after,.fv2 .fv-gt.ghost::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.22) 50%,transparent 70%);transform:translateX(-110%);animation:fvShimmer 1.4s ease-in-out infinite}
.fv2 .fv-gt.ghost{opacity:.62}
.fv2 .fv-gt.ghost:nth-child(2n)::after{animation-delay:.3s} .fv2 .fv-gt.ghost:nth-child(3n)::after{animation-delay:.6s}
.fv2 .fv-gt.ok{border-color:var(--fv-mint)}
.fv2 .fv-gt.bad{border-color:var(--fv-hot)}
.fv2 .fv-gt img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:fvDrop .6s cubic-bezier(.2,.9,.3,1.2) both;z-index:1}

/* the finished film */
.fv2 .fv-player{position:absolute;inset:0}
.fv2 .fv-pv{cursor:pointer}
.fv2 .fv-bigplay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:clamp(48px,20cqw,72px);height:clamp(48px,20cqw,72px);border-radius:50%;background:var(--fv-sun);color:#000;border:1px solid #000;display:grid;place-items:center;cursor:pointer;transition:opacity .2s,transform .15s;z-index:2;padding:0}
.fv2 .fv-bigplay:hover{transform:translate(-50%,-50%) scale(1.06)}
.fv2 .fv-bigplay .fv-i{width:42%;height:42%;margin-left:6%}
.fv2 .fv-player.playing .fv-bigplay{opacity:0;pointer-events:none}
.fv2 .fv-ctrl{position:absolute;left:8px;right:8px;bottom:8px;display:flex;align-items:center;gap:4px;padding:4px 6px 4px 4px;border-radius:13px;background:rgba(10,10,12,.72);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;transition:opacity .25s;z-index:3}
.fv2 .fv-player.playing:not(:hover) .fv-ctrl{opacity:0}
@media (hover:none){.fv2 .fv-player.playing .fv-ctrl{opacity:1}}
.fv2 .fv-ctrl .fv-ib{color:#fff;width:28px;height:28px}
.fv2 .fv-ctrl .fv-ib:hover{background:rgba(255,255,255,.14)}
.fv2 .fv-scrub{flex:1;height:24px;position:relative;cursor:pointer;touch-action:none}
.fv2 .fv-scrub::before{content:"";position:absolute;left:0;right:0;top:10px;height:4px;border-radius:2px;background:rgba(255,255,255,.22)}
.fv2 .fv-scrubfill{position:absolute;left:0;top:10px;height:4px;border-radius:2px;background:var(--fv-sun);width:0}
.fv2 .fv-mark{position:absolute;top:8px;width:2px;height:8px;margin-left:-1px;background:rgba(255,255,255,.6);border-radius:1px;pointer-events:none}
.fv2 .fv-tc{font-size:10.5px;font-variant-numeric:tabular-nums;white-space:nowrap}
.fv2 .fv-player.broken .fv-bigplay{display:none}

/* under the phone: the scene strip and the actions (a film), the Resume box (a stopped film) */
.fv2 .fv-under{flex:none;min-width:0}
.fv2 .fv-under:empty{display:none}
.fv2 .fv-under.film{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center}
.fv2 .fv-under .fv-wide{grid-column:1/-1;margin:0;padding:8px 10px;font-size:12px}
.fv2 .fv-under.err{display:flex;flex-direction:column;gap:8px}
.fv2 .fv-under.err .fv-note{margin:0}
.fv2 .fv-acts{display:flex;flex-direction:column;gap:5px}
.fv2 .fv-acts.row{flex-direction:row;flex-wrap:wrap;align-items:center}
.fv2 .fv-acts .fv-btn.sm{padding:8px 12px;font-size:10.5px;justify-content:flex-start}
.fv2 .fv-strip{display:flex;gap:6px;padding:5px 22px 5px 6px}
.fv2 .fv-sc{flex:0 0 40px;padding:0;background:none;border:0;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:3px;min-width:0}
.fv2 .fv-scimg{aspect-ratio:9/16;border-radius:8px;overflow:hidden;position:relative;background:var(--fv-inner);border:1px solid var(--fv-line2);display:block}
.fv2 .fv-scimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:fvPop .35s both}
.fv2 .fv-scph{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--fv-disp);font-size:14px;color:var(--fv-faint)}
.fv2 .fv-scflag{position:absolute;left:2px;right:2px;bottom:2px;text-align:center;font-size:7.5px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;padding:1px 0;border-radius:999px;background:var(--fv-lav);color:#000}
.fv2 .fv-scflag.re{background:#bfe0ff}
.fv2 .fv-sc.on .fv-scimg{outline:3px solid var(--fv-sun);outline-offset:1px;border-color:#000}
.fv2 .fv-sc.now .fv-scimg{outline:2px solid var(--fv-ink);outline-offset:1px}
.fv2 .fv-sc:hover .fv-scimg{border-color:var(--fv-line)}
.fv2 .fv-scfoot{display:flex;align-items:center;justify-content:space-between;gap:2px;font-size:10px;line-height:1}
.fv2 .fv-scfoot b{font-weight:800;color:var(--fv-muted)}
.fv2 .fv-score{font-size:9.5px;font-weight:800;padding:2px 4px;border-radius:999px;background:var(--fv-inner);font-variant-numeric:tabular-nums}
.fv2 .fv-score.is-good{background:var(--fv-mint);color:#000}
.fv2 .fv-score.is-mid{background:var(--fv-sun);color:#000}
.fv2 .fv-score.is-low{background:#ffb3a0;color:#000}

/* ── narrow: a pager, Studio | Stage, each panel the full width, swiped sideways ────── */
@container fv (max-width:899.98px){
  .fv2 .fv-tabs{display:flex;flex:none;gap:3px;padding:3px;border-radius:999px;background:var(--fv-inner);border:1px solid var(--fv-line2)}
  .fv2 .fv-tabs button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;border-radius:999px;padding:9px 12px;font:800 12px/1 var(--fv-ui);color:var(--fv-muted);cursor:pointer}
  .fv2 .fv-tabs button .fv-i{width:14px;height:14px}
  .fv2 .fv-tabs button.on{background:var(--fv-ink);color:var(--fv-panel)}
  .fv2 .fv-panes{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .fv2 .fv-panes::-webkit-scrollbar{display:none}
  .fv2 .fv-panel{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always}
  .fv2 .fv-stage{padding:10px 12px 12px}
  .fv2 .fv-studio{padding:10px}
  .fv2 .fv-sttl b{font-size:14px}
}
@container fv (max-width:520px){
  .fv2 .fv-stagehead{flex-wrap:wrap;row-gap:6px}
  .fv2 .fv-sttl{order:9;flex-basis:100%}
  .fv2 .fv-verpill{margin-left:auto}
  .fv2 .fv-verpill:empty + .fv-sdot{margin-left:auto}
  .fv2 .fv-seg2 button{padding:7px 10px}
  .fv2 .fv-make{padding:0 16px;font-size:13px}
  .fv2 .fv-drow .fv-est{order:3;flex-basis:100%}
  .fv2 .fv-rows{gap:9px}
  .fv2 .fv-row1{gap:10px;padding:10px 10px 10px 12px;min-height:62px}
  .fv2 .fv-rk{flex-basis:50px;font-size:15.5px}
  .fv2 .fv-redit{padding:7px 10px}
  .fv2 .fv-rabout .fv-plat span{display:none}
  .fv2 .fv-rabout .fv-plat{padding:4px 6px}
}

/* ── dark: tonal layers, no outlines on panels' insides ─────────────────────────────── */
html[data-theme="dark"] .fv2 :is(.fv-chip.on,.fv-hook.on,.fv-btn.sun,.fv-verdict,.fv-vscore,.fv-send,.fv-count,.fv-bigplay,.fv-tcheck,.fv-tick.on,.fv-mockbar,.fv-verpill,.fv-scchip,.fv-mkprog,.fv-sdot){border-color:transparent}
html[data-theme="dark"] .fv2 .fv-chip{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 :is(.fv-spl,.fv-lpprev,.fv-where,.fv-aspop) .fv-chip:not(.on){background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-chip:hover:not(:disabled){background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-chip.on{background:var(--fv-sun)}
html[data-theme="dark"] .fv2 .fv-btn{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-btn:hover:not(:disabled){background:var(--fv-hover);color:var(--fv-ink)}
html[data-theme="dark"] .fv2 .fv-btn.sun{background:var(--fv-sun);color:#000}
html[data-theme="dark"] .fv2 .fv-btn.sun:hover:not(:disabled){background:#ffe266;color:#000}
html[data-theme="dark"] .fv2 .fv-btn.ink{background:var(--fv-ink);color:#0e0e11}
html[data-theme="dark"] .fv2 .fv-btn.ink:hover:not(:disabled){background:#fff;color:#0e0e11}
html[data-theme="dark"] .fv2 .fv-btn.ghost{background:transparent;border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-plat{border-color:transparent;background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-logo{border-color:transparent}
html[data-theme="dark"] .fv2 :is(.fv-row1,.fv-rapp){background:var(--fv-inner)}
html[data-theme="dark"] .fv2 .fv-row1:hover{background:var(--fv-hover);border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-redit{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-row1:hover .fv-redit{background:var(--fv-sun);color:#000}
html[data-theme="dark"] .fv2 .fv-rthumb{border-color:rgba(255,255,255,.12)}
html[data-theme="dark"] .fv2 .fv-rv small .fv-i{color:#f2c94c}
html[data-theme="dark"] .fv2 .fv-plus{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-plus:hover:not(:disabled),html[data-theme="dark"] .fv2 .fv-plus[aria-expanded="true"]{background:var(--fv-sun);color:#000}
html[data-theme="dark"] .fv2 .fv-plus:disabled{background:transparent;border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-prompt{border-color:transparent}
html[data-theme="dark"] .fv2 .fv-prompt:has(textarea:disabled){border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-pchip{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-pchx,html[data-theme="dark"] .fv2 .fv-pchimg{background:var(--fv-inner)}
html[data-theme="dark"] .fv2 .fv-pchx:hover{background:var(--fv-sun);color:#000}
html[data-theme="dark"] .fv2 .fv-where{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-whbest{background:var(--fv-inner);border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-whrow:hover{background:var(--fv-inner)}
html[data-theme="dark"] .fv2 .fv-whrow.on{background:var(--fv-sun);color:#000;border-color:transparent}
html[data-theme="dark"] .fv2 .fv-whimg{background:var(--fv-inner)}
html[data-theme="dark"] .fv2 .fv-hook,html[data-theme="dark"] .fv2 .fv-vcard,html[data-theme="dark"] .fv2 .fv-fcard{border-color:transparent;background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-hook:hover,html[data-theme="dark"] .fv2 .fv-vcard:hover{border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-vcard.on{border-color:transparent;background:var(--fv-inner)}
html[data-theme="dark"] .fv2 .fv-vplay{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-tposter,html[data-theme="dark"] .fv2 .fv-fthumb{border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .fv2 .fv-os,html[data-theme="dark"] .fv2 .fv-ln,html[data-theme="dark"] .fv2 .fv-hookn{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-usefor i,html[data-theme="dark"] .fv2 .fv-vname i{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-hook.on .fv-hookn{background:#000}
html[data-theme="dark"] .fv2 .fv-dock{border-color:transparent}
html[data-theme="dark"] .fv2 .fv-dmsg{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-dmsg.is-bad{background:var(--fv-bad-bg)}
html[data-theme="dark"] .fv2 .fv-dmsg.is-good > .fv-i{color:#8ff0c2}
html[data-theme="dark"] .fv2 .fv-seg2,html[data-theme="dark"] .fv2 .fv-tabs{border-color:transparent}
html[data-theme="dark"] .fv2 .fv-note{background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-note.is-bad{background:var(--fv-bad-bg)}
html[data-theme="dark"] .fv2 .fv-scimg{border-color:transparent;background:var(--fv-inner)}
html[data-theme="dark"] .fv2 .fv-sc.on .fv-scimg{border-color:transparent}

/* ═══ ROUND 2 (FACELESS-SCRIPTS-PLAN.md §4) ═════════════════════════════════════════════ */
/* Create for: the app's name is its own button, the switcher */
.fv2 .fv-appsw{flex:0 1 auto;min-width:0;display:flex;align-items:center;gap:10px;padding:6px 10px 6px 10px;background:none;border:0;border-radius:14px;text-align:left;cursor:pointer;color:var(--fv-ink)}
.fv2 .fv-appsw:hover,.fv2 .fv-appsw[aria-expanded="true"]{background:var(--fv-hover)}
.fv2 .fv-appsw .fv-apphd b{display:flex;align-items:center;gap:4px;min-width:0}
.fv2 .fv-appsw .fv-apphd b span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fv2 .fv-appsw .fv-apphd b .fv-i{width:13px;height:13px;flex:none;color:var(--fv-muted);transition:transform .15s}
.fv2 .fv-appsw[aria-expanded="true"] .fv-apphd b .fv-i{transform:rotate(180deg)}
.fv2 .fv-appmenu{position:fixed;z-index:320;display:flex;flex-direction:column;background:var(--fv-panel);border:1px solid var(--fv-line);border-radius:18px;padding:6px;overflow:hidden;animation:fvDown .16s both;min-height:0}
html .fv2 .fv-appmenu{box-shadow:0 18px 44px rgba(0,0,0,.2)!important}
.fv2 .fv-amhead{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:6px 10px 4px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--fv-faint)}
.fv2 .fv-amlist{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;display:flex;flex-direction:column;gap:2px;padding:2px}
.fv2 .fv-amsub{padding:10px 10px 4px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--fv-faint)}
.fv2 .fv-amnone{padding:8px 10px}
.fv2 .fv-ami{display:flex;align-items:center;gap:10px;width:100%;padding:7px 10px;border-radius:12px;border:0;background:none;text-align:left;cursor:pointer;min-width:0;color:var(--fv-ink)}
.fv2 .fv-ami:hover{background:var(--fv-hover)}
.fv2 .fv-ami.on{background:var(--fv-inner)}
.fv2 .fv-ami > .fv-i{flex:none;width:15px;height:15px;color:var(--fv-muted)}
.fv2 .fv-ami.on > .fv-i{color:var(--fv-ink)}
.fv2 .fv-aminm{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.fv2 .fv-aminm b{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-aminm small{font-size:11px;color:var(--fv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-amic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;background:var(--fv-inner);border:1px dashed var(--fv-line2)}
.fv2 .fv-ami.add .fv-amic{background:var(--fv-sun);color:#000;border:1px solid #000}
.fv2 .fv-amfoot{flex:none;display:flex;flex-direction:column;gap:2px;padding:4px 2px 2px;margin-top:4px;border-top:1px solid var(--fv-line2)}

/* Script: the Script Studio's approved scripts, then write one here */
.fv2 .fv-stopen{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-size:11.5px;text-transform:none;letter-spacing:0;color:var(--fv-ink)}
.fv2 .fv-stopen .fv-i{width:12px;height:12px}
.fv2 .fv-count.sm{font-size:10px;padding:1px 7px;letter-spacing:0}
.fv2 .fv-appload.sm{padding:4px 0 8px;font-size:12px}
.fv2 .fv-stempty{display:flex;align-items:center;gap:12px;padding:11px 12px;margin:2px 0 4px;border-radius:14px;border:1px dashed var(--fv-line2);background:var(--fv-inner)}
.fv2 .fv-stempty > div{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--fv-muted);line-height:1.35}
.fv2 .fv-stempty b{font-size:13px;color:var(--fv-ink)}
.fv2 .fv-stic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--fv-lav);color:#000;flex:none}
.fv2 .fv-stempty .fv-stopen{margin-left:0;flex:none}
.fv2 .fv-stcards{display:flex;gap:8px;padding:4px 22px 6px 6px}
.fv2 .fv-stcard{flex:0 0 min(236px,80%);display:flex;flex-direction:column;gap:6px;text-align:left;padding:11px 12px;border-radius:16px;border:1px solid var(--fv-line2);background:var(--fv-inner);cursor:pointer;animation:fvPop .25s both;transition:border-color .12s,background .12s;min-width:0}
.fv2 .fv-stcard:hover{border-color:var(--fv-line)}
.fv2 .fv-stcard.on{background:var(--fv-lav);color:#000;border-color:#000;outline:3px solid var(--fv-sun);outline-offset:1px}
.fv2 .fv-stmeta{display:flex;gap:4px;flex-wrap:wrap}
.fv2 .fv-stmeta i{font-style:normal;font-size:10px;font-weight:800;padding:2px 7px;border-radius:999px;background:var(--fv-panel);border:1px solid var(--fv-line2);display:inline-flex;align-items:center;gap:3px;color:var(--fv-ink)}
.fv2 .fv-stmeta i .fv-i{width:11px;height:11px}
.fv2 .fv-sttl2{font-family:var(--fv-disp);font-weight:400;font-size:16px;line-height:1.05;text-transform:uppercase;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fv2 .fv-stcard q{quotes:"\201C" "\201D";font-size:12.5px;font-weight:650;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fv2 .fv-stuse{margin-top:auto;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--fv-muted)}
.fv2 .fv-stcard.on .fv-stuse{color:#000}
.fv2 .fv-stuse .fv-i{width:12px;height:12px;stroke-width:3}
.fv2 .fv-or{display:flex;align-items:center;gap:10px;margin:14px 0 2px;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--fv-faint)}
.fv2 .fv-or::before,.fv2 .fv-or::after{content:"";flex:1;height:1px;background:var(--fv-line2)}
.fv2 .fv-chip .fv-i{width:13px;height:13px}
html :is(.fv2,#fv2-root) textarea.fv-in.fv-topic:not(.fv-x){min-height:40px;padding:9px 12px!important;font-size:13.5px!important}
.fv2 .fv-writer{display:inline-flex;align-items:center;gap:5px;font-weight:700}
.fv2 .fv-writer::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--fv-mint);border:1px solid rgba(0,0,0,.35);flex:none}
.fv2 .fv-sttag{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--fv-ink2);padding:7px 10px;border-radius:12px;background:var(--fv-inner);margin:0 0 8px}
.fv2 .fv-sttag .fv-i{width:14px;height:14px;flex:none}
/* the Hook box and the Script box */
.fv2 .fv-boxlbl{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:12px 2px 6px;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--fv-faint)}
.fv2 .fv-boxlbl .fv-hint{text-transform:none;letter-spacing:0;font-weight:600;font-size:11.5px}
.fv2 .fv-boxcount{text-transform:none;letter-spacing:0;font-weight:700;font-size:11.5px;color:var(--fv-muted)}
.fv2 .fv-boxcount.over{color:var(--fv-bad-ink)}
html :is(.fv2,#fv2-root) textarea.fv-in.fv-box:not(.fv-x){line-height:1.55!important;padding:11px 13px!important}
html :is(.fv2,#fv2-root) textarea.fv-in.fv-box.hook:not(.fv-x){font-weight:750!important;font-size:15px!important;background:var(--fv-lav)!important;color:#000!important;min-height:46px}
html[data-theme="dark"] :is(.fv2,#fv2-root) textarea.fv-in.fv-box.hook:not(.fv-x){background:rgba(233,204,255,.14)!important;color:var(--fv-ink)!important}
html :is(.fv2,#fv2-root) textarea.fv-in.fv-box.body:not(.fv-x){min-height:150px;font-size:14px!important}
.fv2 .fv-script.busy .fv-box{opacity:.6;pointer-events:none}
.fv2 .fv-script .fv-meter{margin-top:8px;flex-wrap:wrap}
.fv2 .fv-meter b{color:var(--fv-ink);font-weight:800}
.fv2 .fv-meter i{width:90px}
.fv2 .fv-meter.under i b{background:var(--fv-sun)}
.fv2 .fv-onscr{margin-top:10px;border-radius:14px;background:var(--fv-inner)}
.fv2 .fv-onscr summary{display:flex;align-items:center;gap:8px;padding:9px 12px;cursor:pointer;font-size:12px;font-weight:800;list-style:none}
.fv2 .fv-onscr summary::-webkit-details-marker{display:none}
.fv2 .fv-onscr summary .fv-i{width:14px;height:14px}
.fv2 .fv-onscr summary .fv-hint{margin-left:auto;font-weight:600}
.fv2 .fv-onscr[open] summary{border-bottom:1px solid var(--fv-line2)}
.fv2 .fv-oslist ol{list-style:none;margin:0;padding:6px 8px 8px;display:flex;flex-direction:column;gap:6px}
.fv2 .fv-oslist li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start}
.fv2 .fv-ln{width:22px;height:22px;border-radius:50%;font-size:10.5px;font-weight:800;display:grid;place-items:center;background:var(--fv-panel);border:1px solid var(--fv-line2);color:var(--fv-muted);margin-top:1px}
.fv2 .fv-osrow{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.fv2 .fv-ost{cursor:default}
.fv2 .fv-thread{flex-basis:100%;display:flex;flex-direction:column;gap:3px;padding:6px 8px;border-radius:12px;background:var(--fv-panel);border:1px solid var(--fv-line2)}
.fv2 .fv-bub{max-width:82%;padding:5px 10px;border-radius:14px;font-size:12px;line-height:1.3;display:flex;flex-direction:column}
.fv2 .fv-bub.them{align-self:flex-start;background:var(--fv-inner);border-bottom-left-radius:4px}
.fv2 .fv-bub.me{align-self:flex-end;background:var(--fv-imsg);color:#fff;border-bottom-right-radius:4px}
.fv2 .fv-bub small{font-size:9.5px;font-weight:800}
.fv2 .fv-bub em{font-style:normal;font-size:9.5px;align-self:flex-end}
.fv2 .fv-bub.them :is(small,em){color:var(--fv-muted)}   /* names and times: muted on the grey bubble, white on the blue (any fade drops them under 4.5:1) */

/* Look: the Recommended rail */
.fv2 .fv-reclbl{color:var(--fv-ink)}
.fv2 .fv-reclbl .fv-i,.fv2 .fv-recwhy .fv-i{width:12px;height:12px;color:#e0a100;flex:none}
.fv2 .fv-tpace.rec{background:var(--fv-sun);color:#000;display:inline-flex;align-items:center;gap:3px}
.fv2 .fv-tpace.rec .fv-i{width:9px;height:9px}
.fv2 .fv-twhy{font-size:11px;line-height:1.3;color:var(--fv-muted);margin-top:3px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
.fv2 .fv-recwhy{display:flex;gap:6px;align-items:baseline;color:var(--fv-ink);margin:0;font-size:12.5px;line-height:1.4}

/* Voice: More voices */
.fv2 .fv-more .fv-i{width:13px;height:13px}

/* Stage: Edit */
.fv2 .fv-editsw{flex:none}
.fv2 .fv-editsw:empty{display:none}
.fv2 .fv-scedit{margin-left:0;display:inline-flex;align-items:center;gap:4px;font-size:12px}
.fv2 .fv-scedit .fv-i{width:13px;height:13px}
.fv2 .fv-ed{position:absolute;inset:0;background:#000}
.fv2 .fv-edframe{position:absolute;inset:0;overflow:hidden}
.fv2 .fv-edif{position:absolute;left:0;top:0;width:1080px;height:1920px;border:0;transform-origin:0 0;pointer-events:none;background:#000}
.fv2 .fv-edslots{position:absolute;inset:0;z-index:2}
.fv2 .fv-ed.wide .fv-edframe,.fv2 .fv-ed.wide .fv-edslots{inset:auto 0;top:50%;aspect-ratio:16/9;transform:translateY(-50%)}   /* a 16:9 film's scene, letterboxed */
.fv2 .fv-edslot{position:absolute;padding:0;margin:0;border:1.5px dashed rgba(255,255,255,.55);border-radius:8px;background:rgba(255,215,49,.05);cursor:pointer;transition:background .12s,border-color .12s;outline-offset:1px;overflow:visible;mix-blend-mode:normal}
.fv2 .fv-edslot::after{content:"";position:absolute;inset:-1px;border-radius:8px;border:1.5px dashed rgba(0,0,0,.45);pointer-events:none;clip-path:inset(0)}
.fv2 .fv-edslot:hover,.fv2 .fv-edslot:focus-visible{background:rgba(255,215,49,.18);border-color:var(--fv-sun);border-style:solid}
.fv2 .fv-edslot.on{border:2px solid var(--fv-sun);background:rgba(255,215,49,.14)}
.fv2 .fv-edslot.edited{border:2px solid var(--fv-mint);border-style:solid}
.fv2 .fv-edlbl{position:absolute;left:4px;top:0;transform:translateY(-100%);margin-top:-2px;font:800 8.5px/1 var(--fv-ui);letter-spacing:.06em;text-transform:uppercase;color:#000;background:var(--fv-sun);padding:3px 6px;border-radius:999px;white-space:nowrap;opacity:0;transition:opacity .12s;pointer-events:none}
.fv2 .fv-edslot:hover .fv-edlbl,.fv2 .fv-edslot.on .fv-edlbl,.fv2 .fv-edslot.edited .fv-edlbl,.fv2 .fv-edslot:focus-visible .fv-edlbl{opacity:1}
.fv2 .fv-edslot.edited .fv-edlbl{background:var(--fv-mint)}
.fv2 .fv-edval{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:2px 6px;border-radius:6px;background:rgba(10,10,12,.86);color:#fff;font-weight:800;font-family:var(--fv-ui);font-size:clamp(10px,3.4cqw,17px);line-height:1.05;letter-spacing:-.01em;overflow:hidden;overflow-wrap:anywhere}
.fv2 .fv-edslot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:6px}
.fv2 .fv-edtag{z-index:3;pointer-events:none}   /* a label only: taps reach the slot under it (the kicker, on a phone) */
.fv2 .fv-edslot:not(.k-image){z-index:1}   /* words sit over the picture they overlap, so they stay tappable */
.fv2 .fv-edload{position:absolute;inset:0;z-index:4;pointer-events:none}
.fv2 .fv-edload:empty{display:none}
.fv2 .fv-edload .fv-blank{pointer-events:auto}
.fv2 .fv-edwait{position:absolute;right:10px;top:10px;color:#fff;background:rgba(0,0,0,.5);border-radius:999px;padding:6px;display:grid;place-items:center}
.fv2 .fv-ed-inline{position:absolute;z-index:5;display:flex;flex-direction:column;gap:5px;padding:5px;border-radius:12px;background:rgba(12,12,14,.92);border:2px solid var(--fv-sun);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:fvPop .14s both;max-width:calc(100% - 4px)}
html .fv2 .fv-ed-inline{box-shadow:0 10px 30px rgba(0,0,0,.45)!important}
.fv2 .fv-ed-inline textarea{display:block;width:100%;min-height:36px;resize:none;border:0;border-radius:8px;background:#fff;color:#000;font:750 15px/1.25 var(--fv-ui);padding:7px 9px;outline:none;margin:0}
.fv2 .fv-edinbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.fv2 .fv-edinbar span{flex:1 1 auto;min-width:0;font-size:10px;font-weight:700;color:rgba(255,255,255,.72);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-edinbar button{flex:none;display:inline-flex;align-items:center;gap:4px;border:0;border-radius:999px;padding:5px 9px;font:800 11px/1 var(--fv-ui);background:rgba(255,255,255,.14);color:#fff;cursor:pointer}
.fv2 .fv-edinbar button.ok{background:var(--fv-sun);color:#000}
.fv2 .fv-edinbar .fv-i{width:12px;height:12px}
.fv2 .fv-ed-sheet{position:absolute;left:0;right:0;bottom:0;z-index:6;max-height:72%;display:flex;flex-direction:column;background:var(--fv-panel);color:var(--fv-ink);border-radius:18px 18px 0 0;animation:fvSheet .2s cubic-bezier(.2,.8,.3,1) both}
@keyframes fvSheet{from{transform:translateY(40%);opacity:.3}to{transform:none;opacity:1}}
.fv2 .fv-edsh-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 8px 6px 14px;font-size:13px}
.fv2 .fv-edsh-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:0 12px 12px;scrollbar-width:thin}
.fv2 .fv-edsh-lbl{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--fv-faint);margin:10px 0 6px}
.fv2 .fv-edsh-note{font-size:11.5px;color:var(--fv-muted);line-height:1.35;margin-top:6px;display:flex;gap:6px;align-items:flex-start}
.fv2 .fv-edsh-note.is-bad{color:var(--fv-bad-ink);background:var(--fv-bad-bg);padding:7px 9px;border-radius:10px}
.fv2 .fv-edsh-note .fv-i{width:13px;height:13px;flex:none;margin-top:1px}
.fv2 .fv-edpics{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px}
.fv2 .fv-edpic{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;border:1px solid var(--fv-line2);padding:0;background:var(--fv-inner);cursor:pointer}
.fv2 .fv-edpic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fv2 .fv-edpic i{position:absolute;left:4px;top:4px;font:800 8.5px/1 var(--fv-ui);font-style:normal;background:var(--fv-lav);color:#000;padding:2px 5px;border-radius:999px}
.fv2 .fv-edpic.on{outline:3px solid var(--fv-sun);outline-offset:1px;border-color:#000}
.fv2 .fv-edgen{display:flex;gap:6px;align-items:center}
.fv2 .fv-edgenin{flex:1 1 auto;min-width:0;border:1px solid var(--fv-line2);border-radius:999px;padding:8px 12px;font:500 12.5px/1.2 var(--fv-ui);background:var(--fv-field);color:var(--fv-ink);outline:none}
.fv2 .fv-edgenin:focus{border-color:var(--fv-sun)}
.fv2 .fv-edpal{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:6px;margin-top:8px}
.fv2 .fv-edcomp{display:flex;flex-direction:column;gap:5px;align-items:stretch;padding:6px;border-radius:12px;border:1px solid var(--fv-line2);background:var(--fv-inner);cursor:pointer;text-align:left;color:var(--fv-ink)}
.fv2 .fv-edcomp img,.fv2 .fv-edcompph{width:100%;aspect-ratio:9/12;border-radius:8px;object-fit:cover;background:var(--fv-panel);display:grid;place-items:center;font-family:var(--fv-disp);font-size:20px;color:var(--fv-faint)}
.fv2 .fv-edcomp b{font-size:11px;font-weight:800;text-transform:capitalize;line-height:1.2}
.fv2 .fv-edcomp.on{border-color:#000;background:var(--fv-sun);color:#000}
.fv2 .fv-edcomp{position:relative}
.fv2 .fv-edcomp.cur{opacity:.55;cursor:default}
.fv2 .fv-edcomp i{position:absolute;left:10px;top:10px;font:800 8.5px/1 var(--fv-ui);font-style:normal;text-transform:uppercase;letter-spacing:.05em;background:var(--fv-ink);color:var(--fv-panel);padding:3px 6px;border-radius:999px}
.fv2 .fv-under.edit{display:flex;flex-direction:column;gap:6px}
.fv2 .fv-edbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.fv2 .fv-edchips{flex:1 1 200px;min-width:0;display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.fv2 .fv-edchip{display:inline-flex;align-items:center;gap:4px;max-width:100%;font-size:11.5px;font-weight:700;padding:3px 3px 3px 10px;border-radius:999px;background:var(--fv-fact-bg);color:var(--fv-fact-ink)}
.fv2 .fv-edchip button{width:20px;height:20px;border-radius:50%;border:0;background:rgba(0,0,0,.1);display:grid;place-items:center;padding:0;cursor:pointer;color:inherit;flex:none}
.fv2 .fv-edchip button .fv-i{width:10px;height:10px}
.fv2 .fv-edacts{display:flex;gap:6px;align-items:center;flex:none;margin-left:auto}
.fv2 .fv-edbad{flex-basis:100%;margin:0;padding:7px 10px;font-size:12px;flex-wrap:wrap}
.fv2 .fv-edbad .fv-link{margin-left:0}

/* ═══ THE POP-UPS: one chrome for all of them (fv2-voices.js's sheet): the Script, Look, Voice and About pop-ups
   (inside the tab's root, over the whole tab) and the voice library (on <body>, over the Voice pop-up). A dim scrim,
   a big rounded box, an Anton title with a line under it, a body each fills, a foot with Done. Each pop-up is its
   own size container, so its narrow rules follow its own width. On a phone: a full-screen sheet. ═══ */
.fv2.fv-pop{position:fixed;inset:0;z-index:310;display:grid;place-items:center;padding:24px;opacity:0;transition:opacity .16s;container-type:inline-size;container-name:fv;font-size:14px}
.fv2.fv-pop.in{opacity:1}
.fv2.fv-pop.out{opacity:0;pointer-events:none}
.fv2.fv-vlib{z-index:400}
.fv2 .fv-popscrim{position:absolute;inset:0;background:rgba(10,10,12,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.fv2 .fv-popbox{position:relative;display:flex;flex-direction:column;min-height:0;max-width:100%;max-height:100%;border-radius:24px;background:var(--fv-panel);border:1px solid var(--fv-line);transform:translateY(10px) scale(.985);transition:transform .2s cubic-bezier(.2,.8,.3,1);overflow:hidden;outline:none}
html .fv2 .fv-popbox{box-shadow:0 30px 80px rgba(0,0,0,.35)!important}
.fv2.fv-pop.in .fv-popbox{transform:none}
.fv2 .fv-popbox.lg{width:min(1100px,92vw);height:min(760px,88vh)}
.fv2 .fv-popbox.md{width:min(780px,92vw);height:min(700px,88vh)}
.fv2 .fv-popbox.sm{width:min(620px,92vw);max-height:min(700px,88vh)}
.fv2 .fv-popbox.vl{width:min(640px,100%);height:min(760px,100%)}
.fv2 .fv-pophead{flex:none;display:flex;align-items:flex-start;gap:12px;padding:18px 14px 14px 24px;border-bottom:1px solid var(--fv-line2);min-width:0}
.fv2 .fv-popttl{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:5px}
.fv2 .fv-popttl b{font-family:var(--fv-disp);font-weight:400;font-size:26px;line-height:1;text-transform:uppercase;letter-spacing:.005em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-popttl span{font-size:12.5px;color:var(--fv-muted);line-height:1.35}
.fv2 .fv-popx{flex:none;display:flex;align-items:center;gap:8px}
.fv2 .fv-popx:empty{display:none}
.fv2 .fv-popclose{width:38px;height:38px;margin-top:-6px;color:var(--fv-ink)}
.fv2 .fv-popclose .fv-i{width:18px;height:18px}
.fv2 .fv-popbody{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;position:relative}
.fv2 .fv-popfoot{flex:none;display:flex;align-items:center;gap:12px;padding:12px 16px 14px 24px;border-top:1px solid var(--fv-line2);min-width:0}
.fv2 .fv-popfoot > .fv-hint{flex:1 1 auto;min-width:0;line-height:1.35}
.fv2 .fv-popfoot > .fv-btn:last-child{margin-left:auto}
.fv2 .fv-popfoot > .fv-btn.sun:not(.sm){padding:12px 22px;font-size:12px}
@media (max-width:560px){
  .fv2.fv-pop{padding:0;place-items:stretch}
  .fv2 .fv-popbox.lg,.fv2 .fv-popbox.md,.fv2 .fv-popbox.sm{width:100%;height:100%;max-height:none;border-radius:0;border:0}
  .fv2.fv-vlib{place-items:end stretch}
  .fv2 .fv-popbox.vl{width:100%;height:94%;border-radius:22px 22px 0 0}
  .fv2 .fv-pophead{padding:14px 10px 12px 16px}
  .fv2 .fv-popttl b{font-size:23px}
  .fv2 .fv-popfoot{padding:10px 12px 12px 16px;gap:8px}
  .fv2 .fv-popfoot > .fv-hint{font-size:11.5px}
}

/* the voice library's body (fv2-voices.js) */
.fv2 .fv-vlbody{gap:10px;padding:14px 16px 10px}
.fv2 .fv-vlsearch{flex:none;display:flex;align-items:center;gap:8px;padding:0 14px;border-radius:999px;background:var(--fv-field);border:1px solid var(--fv-field-line)}
.fv2 .fv-vlsearch:focus-within{outline:2px solid var(--fv-sun);outline-offset:1px}
.fv2 .fv-vlsearch .fv-i{color:var(--fv-muted)}
html :is(.fv2) .fv-vlsearch input.fv-in.fv-x{flex:1;min-width:0;border:0!important;background:transparent!important;color:var(--fv-ink)!important;font:500 14px/1.2 var(--fv-ui)!important;padding:11px 0!important;outline:none!important;margin:0;box-shadow:none!important}
.fv2 .fv-vlfilters{flex:none;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.fv2 .fv-seg3{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:var(--fv-inner);border:1px solid var(--fv-line2)}
.fv2 .fv-seg3 button{border:0;background:none;border-radius:999px;padding:6px 10px;cursor:pointer;font:800 11.5px/1 var(--fv-ui);color:var(--fv-muted)}
.fv2 .fv-seg3 button.on{background:var(--fv-ink);color:var(--fv-panel)}
html :is(.fv2) select.fv-vlsel{appearance:none;-webkit-appearance:none;border:1px solid var(--fv-line2)!important;border-radius:999px!important;background:var(--fv-inner) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center/12px!important;color:var(--fv-ink)!important;font:700 12px/1 var(--fv-ui)!important;padding:8px 28px 8px 12px!important;cursor:pointer;max-width:170px;margin:0;height:auto}
html :is(.fv2) select.fv-vlsel.sort{margin-left:auto}
.fv2 .fv-vlcount{flex:none;font-size:11px;font-weight:700;color:var(--fv-faint);padding:0 4px;min-height:14px}
.fv2 .fv-vllist{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;display:flex;flex-direction:column;gap:6px;padding:2px 4px 6px 2px;scrollbar-width:thin}
.fv2 .fv-vlrow{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px 8px 8px;border-radius:14px;background:var(--fv-inner);border:1px solid transparent;animation:fvPop .2s both}
.fv2 .fv-vlrow:hover{border-color:var(--fv-line2)}
.fv2 .fv-vlmeta{min-width:0;display:flex;flex-direction:column;gap:1px}
.fv2 .fv-vlmeta b{font-size:13.5px;font-weight:800;display:flex;gap:6px;align-items:center;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-vlmeta b i{font-style:normal;font-size:8.5px;text-transform:uppercase;letter-spacing:.06em;padding:2px 6px;border-radius:999px;background:var(--fv-mint);color:#000;font-weight:800;flex:none}
.fv2 .fv-vltags{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--fv-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-vldesc{font-size:11.5px;color:var(--fv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-vluse{flex:none}
.fv2 .fv-vlmore,.fv2 .fv-vlend,.fv2 .fv-vlnote{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;font-size:12px;color:var(--fv-muted)}
.fv2 .fv-vlnote.is-bad{color:var(--fv-bad-ink);background:var(--fv-bad-bg);border-radius:12px}
.fv2 .fv-vlnote .fv-link{margin-left:6px}
@media (max-width:560px){
  .fv2 .fv-vlbody{padding:12px 12px 8px}
  .fv2 .fv-vlrow{grid-template-columns:34px minmax(0,1fr);row-gap:6px}
  .fv2 .fv-vluse{grid-column:2;justify-self:start}
  html :is(.fv2) select.fv-vlsel{max-width:none;flex:1 1 40%}
  html :is(.fv2) select.fv-vlsel.sort{margin-left:0}
}

/* ── the Script pop-up: the words (left) and Lines & media (right); tabs when it's narrow ── */
.fv2 .fv-scp{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.fv2 .fv-sptabs{display:none}
.fv2 .fv-spw{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:18px 24px 26px;scrollbar-width:thin}
.fv2 .fv-spl{position:relative;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:18px 18px 22px;background:var(--fv-inner);border-left:1px solid var(--fv-line2);scrollbar-width:thin}
.fv2 .fv-spw > .fv-spwrite > .fv-lbl:first-child{margin-top:0}
.fv2 .fv-spgrid{display:flex;gap:10px 22px;flex-wrap:wrap;align-items:flex-end}
.fv2 .fv-spg{min-width:0}
.fv2 .fv-spg .fv-lbl{margin-top:0}
.fv2 .fv-spwrite .fv-anglehint{margin:8px 0 0;font-size:12.5px}
.fv2 .fv-spask{display:flex;gap:8px;align-items:flex-start}
.fv2 .fv-spask .fv-btn{flex:none;min-height:40px}
html :is(.fv2,#fv2-root) .fv-spask textarea.fv-in.fv-topic:not(.fv-x){flex:1 1 auto;min-width:0;width:auto}
.fv2 .fv-spwho{margin-top:8px}
.fv2 .fv-spwrite .fv-hooks2{margin-top:2px}
.fv2 .fv-spnone{display:flex;gap:12px;align-items:flex-start;margin-top:22px;padding:16px;border-radius:16px;border:1.5px dashed var(--fv-line2);font-size:13px;color:var(--fv-muted)}
.fv2 .fv-spnone > .fv-i{width:20px;height:20px;flex:none;color:var(--fv-ink);margin-top:1px}
.fv2 .fv-spnone b{display:block;font-size:14px;color:var(--fv-ink);margin-bottom:2px}
.fv2 .fv-spstudio{margin-top:26px;padding-top:4px;border-top:1px dashed var(--fv-line2)}
.fv2 .fv-spstudio > .fv-lbl:first-child{margin-top:14px}
.fv2 .fv-scp .fv-script{margin-top:22px;padding-top:18px}
.fv2 .fv-scp .fv-ttl{font-size:26px}
html :is(.fv2,#fv2-root) .fv-scp textarea.fv-in.fv-box.hook:not(.fv-x){font-size:18px!important;line-height:1.4!important;padding:12px 15px!important;min-height:52px}
html :is(.fv2,#fv2-root) .fv-scp textarea.fv-in.fv-box.body:not(.fv-x){font-size:15.5px!important;line-height:1.65!important;padding:13px 15px!important;min-height:230px}
@container fv (max-width:759.98px){
  .fv2 .fv-scp{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
  .fv2 .fv-sptabs{display:flex;gap:3px;margin:10px 12px 0;padding:3px;border-radius:999px;background:var(--fv-inner);border:1px solid var(--fv-line2)}
  .fv2 .fv-sptabs button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;border-radius:999px;padding:9px 10px;font:800 12px/1 var(--fv-ui);color:var(--fv-muted);cursor:pointer;white-space:nowrap}
  .fv2 .fv-sptabs button .fv-i{width:14px;height:14px}
  .fv2 .fv-sptabs button.on{background:var(--fv-ink);color:var(--fv-panel)}
  .fv2 .fv-sptabs i{font-style:normal;font-size:10px;font-weight:900;min-width:17px;height:17px;padding:0 4px;border-radius:999px;display:inline-grid;place-items:center;background:var(--fv-sun);color:#000}
  .fv2 .fv-scp[data-tab="words"] .fv-spl,.fv2 .fv-scp[data-tab="lines"] .fv-spw{display:none}
  .fv2 .fv-spl{border-left:0;background:var(--fv-panel)}
  .fv2 .fv-spw{padding:14px 16px 22px}
  .fv2 .fv-spl{padding:14px 14px 20px}
  .fv2 .fv-scp .fv-ttl{font-size:22px}
  html :is(.fv2,#fv2-root) .fv-scp textarea.fv-in.fv-box.hook:not(.fv-x){font-size:17px!important}
  html :is(.fv2,#fv2-root) .fv-scp textarea.fv-in.fv-box.body:not(.fv-x){font-size:15px!important;min-height:200px}
}

/* ── the Look pop-up: the grid (Recommended first, filters, every look) and a preview pane on the right ── */
.fv2 .fv-lp{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr)}
.fv2 .fv-lpmain{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:16px 22px 24px;scrollbar-width:thin}
.fv2 .fv-lpmain > .fv-lbl:first-child{margin-top:2px}
.fv2 .fv-lkbar{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:22px 0 8px}
.fv2 .fv-lkbar .fv-lbl{margin:0}
.fv2 .fv-lknone{grid-column:1/-1;padding:14px 4px}
.fv2 .fv-lpprev{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:18px 20px 20px;background:var(--fv-inner);border-left:1px solid var(--fv-line2);display:flex;flex-direction:column;gap:14px;scrollbar-width:thin}
.fv2 .fv-lpphone{flex:none;width:min(100%,220px,calc((88vh - 290px) * 9 / 16));min-width:150px;aspect-ratio:9/16;margin:0 auto;background:#000;border-radius:24px;padding:5px}
.fv2 .fv-lpphone.wide{width:100%;min-width:0;aspect-ratio:16/9;border-radius:16px}
html[data-theme="dark"] .fv2 .fv-lpphone{outline:1px solid rgba(255,255,255,.14)}
.fv2 .fv-lpscreen{position:relative;width:100%;height:100%;border-radius:19px;overflow:hidden;background:var(--fv-stage)}
.fv2 .fv-lpphone.wide .fv-lpscreen{border-radius:12px}
.fv2 .fv-lpvid,.fv2 .fv-lpvimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.fv2 .fv-lpvimg:not([src]){visibility:hidden}
.fv2 .fv-lpinfo{display:flex;flex-direction:column;gap:10px;min-width:0}
.fv2 .fv-lpname{display:flex;flex-direction:column;gap:3px;min-width:0}
.fv2 .fv-lpname b{font-family:var(--fv-disp);font-weight:400;font-size:22px;line-height:1;text-transform:uppercase}
.fv2 .fv-lpname > span:last-child{font-size:12.5px;color:var(--fv-muted);font-weight:600}
.fv2 .fv-lptag{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:var(--fv-panel);border:1px solid var(--fv-line2);color:var(--fv-ink);margin-bottom:3px}
.fv2 .fv-lptag.on{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-lptag .fv-i{width:11px;height:11px;stroke-width:3}
.fv2 .fv-lpblurb{margin:0;font-size:12.5px;line-height:1.45;color:var(--fv-ink2)}
.fv2 .fv-lpuse{align-self:flex-start}
.fv2 .fv-lpempty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:30px 10px;color:var(--fv-muted);font-size:12.5px;text-align:center}
.fv2 .fv-lpsel{flex:1 1 auto;min-width:0;display:inline-flex;align-items:center;gap:2px;font-size:13px;color:var(--fv-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-lpsel span{min-width:0;overflow:hidden;text-overflow:ellipsis}
@container fv (max-width:759.98px){
  .fv2 .fv-lp{display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior-y:contain}
  .fv2 .fv-lpprev{order:-1;flex:none;overflow:visible;flex-direction:row;align-items:flex-start;gap:12px;padding:12px 14px;border-left:0;border-bottom:1px solid var(--fv-line2)}
  .fv2 .fv-lpphone{width:84px;min-width:84px;border-radius:14px;padding:3px;margin:0}
  .fv2 .fv-lpphone.wide{width:132px;min-width:132px}
  .fv2 .fv-lpscreen{border-radius:11px}
  .fv2 .fv-lpinfo{flex:1 1 auto;gap:7px}
  .fv2 .fv-lpname b{font-size:18px}
  .fv2 .fv-lpblurb{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px}
  .fv2 .fv-lpinfo .fv-usefor,.fv2 .fv-lpinfo .fv-refs,.fv2 .fv-lpinfo .fv-recwhy{display:none}
  .fv2 .fv-lpmain{overflow:visible;padding:12px 12px 20px;flex:none}
  .fv2 .fv-lkgrid{--gx:10px;grid-template-columns:repeat(auto-fill,minmax(102px,1fr));gap:14px var(--gx)}
}

/* ── the Voice pop-up and the About pop-up ── */
.fv2 .fv-vp{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:12px;padding:16px 20px 12px}
.fv2 .fv-vpf{flex:none}
.fv2 .fv-ap{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:18px 24px 22px;scrollbar-width:thin}
.fv2 .fv-apphero{display:flex;gap:14px;align-items:flex-start}
.fv2 .fv-apphero > .fv-logo{width:52px;height:52px;border-radius:14px;font-size:24px}
.fv2 .fv-apphero > div{flex:1 1 auto;min-width:0}
.fv2 .fv-ap .fv-pitch{-webkit-line-clamp:4;font-size:14px;margin:0 0 10px}
.fv2 .fv-apwhy{margin:12px 0 0;font-size:12.5px;color:var(--fv-muted);line-height:1.45}
.fv2 .fv-ap .fv-fcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.fv2 .fv-apmiss{margin:14px 0 0}
@container fv (max-width:560px){
  .fv2 .fv-pop-voice .fv-popfoot > .fv-hint{flex:1 1 100%;order:-1;font-size:11.5px}
  .fv2 .fv-vp{padding:12px 12px 10px}
  .fv2 .fv-vlist{grid-template-columns:minmax(0,1fr)}
  .fv2 .fv-ap{padding:14px 16px 18px}
}

/* ── the voice studio (VOICE-STUDIO-PLAN.md): ▶ that starts at once, "Good for <app>", and the voiceover screen ── */
.fv2 .fv-vplay.loading{background:var(--fv-panel);color:var(--fv-ink);border-color:var(--fv-line)}
.fv2 .fv-vplay.loading .fv-spin{width:14px;height:14px;opacity:1}
.fv2 .fv-vrec{flex:none;display:flex;flex-direction:column;gap:6px}
.fv2 .fv-vrec .fv-lbl{margin:0;color:var(--fv-ink2)}
.fv2 .fv-vrec .fv-lbl .fv-i{width:13px;height:13px;color:var(--fv-ink2)}
.fv2 .fv-vlist.rec{flex:none;overflow:visible;padding:3px 5px 2px}
.fv2 .fv-vcard.rec .fv-vblurb{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.fv2 .fv-est .fv-estvo{display:inline-flex;align-items:center;gap:4px;font-weight:800;color:var(--fv-ink)}
.fv2 .fv-est .fv-estvo .fv-i{width:12px;height:12px;stroke-width:2.8}
.fv2 .fv-vsback{margin-top:-4px}
.fv2 .fv-vs{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;display:flex;flex-direction:column;gap:12px;padding:16px 20px 16px;scrollbar-width:thin}
.fv2 .fv-vs > .fv-note{margin-top:0}
.fv2 .fv-vsempty{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 16px;border-radius:16px;background:var(--fv-inner);font-size:13px;color:var(--fv-ink2)}
.fv2 .fv-vsempty.big{padding:18px}
.fv2 .fv-vsempty > span{flex:1 1 240px;min-width:0;line-height:1.4}
.fv2 .fv-vsempty b{color:var(--fv-ink)}
.fv2 .fv-vsstale{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-radius:14px;background:#fff3c4;color:#4a3900;border:1px solid #e7c84a;font-size:12.5px;line-height:1.4}
.fv2 .fv-vsstale > span{flex:1 1 260px;min-width:0}
.fv2 .fv-vsstale b{color:#2b2100}
.fv2 .fv-vsprog{display:flex;flex-direction:column;gap:7px;padding:14px 16px;border-radius:16px;background:var(--fv-inner)}
.fv2 .fv-vsprog-top{display:flex;align-items:center;gap:9px;font-size:13px}
.fv2 .fv-vsprog-top b{flex:1;min-width:0}
.fv2 .fv-vsprog-top .pct{font:800 12px/1 var(--fv-mono);color:var(--fv-ink2)}
.fv2 .fv-vsprog > i{display:block;height:6px;border-radius:99px;background:var(--fv-line2);overflow:hidden}
.fv2 .fv-vsprog > i b{display:block;height:100%;background:var(--fv-sun);border-radius:99px;transition:width .3s}
.fv2 .fv-vssub{margin:4px 0 0;font-size:11.5px;color:var(--fv-muted);line-height:1.4}
.fv2 .fv-vssub .fv-link{margin-left:4px;font-size:11.5px;color:var(--fv-ink)}
.fv2 .fv-vstakes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fv2 .fv-vstakes.one{grid-template-columns:minmax(0,1fr)}
.fv2 .fv-vstakes.list{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:8px}
.fv2 .fv-vstake{display:flex;flex-direction:column;gap:9px;padding:12px 14px;border-radius:16px;background:var(--fv-inner);border:1px solid var(--fv-line2);min-width:0}
.fv2 .fv-vstake.on{background:var(--fv-panel);border-color:#000;outline:3px solid var(--fv-sun);outline-offset:1px}
.fv2 .fv-vstake.sm{flex-direction:row;flex-wrap:wrap;align-items:center;padding:9px 12px}
.fv2 .fv-vstake.sm .fv-vsthead{flex:1 1 100%}
.fv2 .fv-vstake.sm .fv-vsplayer{flex:1 1 220px}
.fv2 .fv-vsthead{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0}
.fv2 .fv-vsthead b{font-family:var(--fv-disp);font-weight:400;font-size:20px;line-height:1;text-transform:uppercase;letter-spacing:.01em}
.fv2 .fv-vstake.sm .fv-vsthead b{font-size:16px}
.fv2 .fv-vsthead span{flex:1 1 100%;font-size:11px;font-weight:700;color:var(--fv-faint);letter-spacing:.02em}
.fv2 .fv-vsbadge{display:inline-flex;align-items:center;gap:3px;font-style:normal;font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;padding:3px 7px;border-radius:999px;background:var(--fv-mint);color:#000}
.fv2 .fv-vsbadge .fv-i{width:10px;height:10px;stroke-width:3.2}
.fv2 .fv-vsplayer{display:flex;align-items:center;gap:10px;min-width:0}
.fv2 .fv-vsplayer .fv-vplay{flex:none}
.fv2 .fv-vstake.on .fv-vplay{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-vstake.on .fv-vplay.playing{background:#000;color:var(--fv-sun)}
html :is(.fv2) input.fv-vsscrub,html :is(.fv2) .fv-vsset input[type="range"]{flex:1 1 auto;min-width:0;width:100%;margin:0;padding:0;height:22px;background:transparent!important;border:0!important;accent-color:#000;cursor:pointer;box-shadow:none!important}
html[data-theme="dark"] :is(.fv2) input.fv-vsscrub,html[data-theme="dark"] :is(.fv2) .fv-vsset input[type="range"]{accent-color:var(--fv-sun)}
.fv2 .fv-vstime{flex:none;font:700 11px/1 var(--fv-mono);color:var(--fv-ink2);min-width:74px;text-align:right}
.fv2 .fv-vspick{align-self:flex-start}
.fv2 .fv-vstake.sm .fv-vspick{align-self:center}
.fv2 .fv-vsearlier summary,.fv2 .fv-vsmore summary{cursor:pointer;font-size:12px;font-weight:800;color:var(--fv-ink2);padding:4px 2px;list-style-position:inside}
.fv2 .fv-vsgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.fv2 .fv-vsgrid .fv-lbl{margin:2px 0 8px}
.fv2 .fv-vslines{margin:0;padding:10px 12px 10px 30px;border-radius:14px;background:var(--fv-inner);font-size:12.5px;line-height:1.45;color:var(--fv-ink2);display:flex;flex-direction:column;gap:5px;max-height:330px;overflow-y:auto;scrollbar-width:thin}
.fv2 .fv-vsline{padding:2px 6px;border-radius:7px;transition:background .15s}
.fv2 .fv-vsline::marker{font:700 10.5px var(--fv-mono);color:var(--fv-faint)}
.fv2 .fv-vsline.now{background:var(--fv-sun);color:#000}
.fv2 .fv-vsset{display:flex;flex-direction:column;gap:12px;padding:12px 14px;border-radius:14px;background:var(--fv-inner)}
.fv2 .fv-vsrow{display:flex;flex-direction:column;gap:5px;min-width:0}
.fv2 .fv-vslbl{font-size:12px;font-weight:800;color:var(--fv-ink);display:flex;align-items:baseline;gap:6px}
.fv2 .fv-vslbl b{font:800 11.5px/1 var(--fv-mono);color:var(--fv-ink2)}
.fv2 .fv-vsslide{display:flex;align-items:center;gap:8px}
.fv2 .fv-vsslide > span{flex:none;font-size:10.5px;font-weight:700;color:var(--fv-muted)}
.fv2 .fv-vstone{align-self:flex-start}
html :is(.fv2) select.fv-vsmodel{max-width:100%;width:100%;min-width:0;margin-left:0}
.fv2 .fv-vs > *,.fv2 .fv-vsgrid > *,.fv2 .fv-vstake{min-width:0}
.fv2 .fv-vsmore{border-top:1px solid var(--fv-line2);padding-top:8px}
.fv2 .fv-vsmore[open] summary{margin-bottom:8px}
.fv2 .fv-vsmore .fv-vsrow + .fv-vsrow{margin-top:10px}
.fv2 .fv-vskeep{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border-radius:12px;background:var(--fv-panel);border:1px solid var(--fv-line2);font-size:12px;line-height:1.4;color:var(--fv-ink2);cursor:pointer}
.fv2 .fv-vskeep.is-on{border-color:#000}
.fv2 .fv-vskeep b{display:block;color:var(--fv-ink);font-size:12.5px}
.fv2 .fv-vskeep input{margin:2px 0 0;width:16px;height:16px;accent-color:#000;flex:none;cursor:pointer}
.fv2 .fv-vskeepic{flex:none;width:18px;height:18px;border-radius:50%;background:var(--fv-mint);color:#000;display:grid;place-items:center;margin-top:1px}
.fv2 .fv-vskeepic .fv-i{width:11px;height:11px;stroke-width:3.2}
.fv2 .fv-vschar{display:flex;align-items:center;gap:6px}
.fv2 .fv-pop-voice .fv-popfoot{flex-wrap:wrap}
html[data-theme="dark"] .fv2 .fv-vstake{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-vstake.on{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 :is(.fv-vsempty,.fv-vsprog,.fv-vslines,.fv-vsset){background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-vskeep{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-vskeep.is-on{border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-vskeep input{accent-color:var(--fv-sun)}
html[data-theme="dark"] .fv2 .fv-vsstale{background:#3a3110;color:#ffe9a6;border-color:#6d5a17}
html[data-theme="dark"] .fv2 .fv-vsstale b{color:#fff4cc}
html[data-theme="dark"] .fv2 .fv-vplay.loading{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-vstake.on .fv-vplay{border-color:transparent}
@container fv (max-width:560px){
  /* the voices that suit the app: one swipeable row on a phone, so the list keeps its room */
  .fv2 .fv-vlist.rec{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:6px}
  .fv2 .fv-vlist.rec::-webkit-scrollbar{display:none}
  .fv2 .fv-vlist.rec .fv-vcard{flex:0 0 82%;scroll-snap-align:start}
}
@container fv (max-width:640px){
  .fv2 .fv-vs{padding:12px 12px 12px}
  .fv2 .fv-vstakes{grid-template-columns:minmax(0,1fr)}
  .fv2 .fv-vsgrid{grid-template-columns:minmax(0,1fr)}
  .fv2 .fv-vslines{max-height:200px}
  .fv2 .fv-pop-voice .fv-popfoot > .fv-hint{flex:1 1 100%;order:-1}
}

/* round 2, narrow */
@container fv (max-width:520px){
  .fv2 .fv-appsw{padding-left:8px;gap:8px}
  .fv2 .fv-stcard{flex-basis:82%}
  .fv2 .fv-edacts{margin-left:0;flex:1 1 100%;min-width:0;flex-wrap:wrap}
  .fv2 .fv-edacts [data-ed="apply"]{margin-left:auto}
  .fv2 .fv-editsw .fv-btn.sm{padding:7px 10px}
}

/* round 2, dark */
html[data-theme="dark"] .fv2 :is(.fv-stcard.on,.fv-edcomp.on,.fv-ami.add .fv-amic,.fv-tpace.rec){border-color:transparent}
html[data-theme="dark"] .fv2 .fv-stcard{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-stcard:hover{border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-stmeta i{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-stcard.on .fv-stmeta i{background:rgba(0,0,0,.08);color:#000}
html[data-theme="dark"] .fv2 .fv-stempty,html[data-theme="dark"] .fv2 .fv-onscr,html[data-theme="dark"] .fv2 .fv-sttag{background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-thread{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-bub.them{background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-appmenu{border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-ami.on{background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-vlrow{background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-seg3,html[data-theme="dark"] .fv2 .fv-vlsearch{border-color:transparent}
html[data-theme="dark"] :is(.fv2) select.fv-vlsel{background-color:var(--fv-hover)!important;border-color:transparent!important}
html[data-theme="dark"] .fv2 .fv-edcomp,html[data-theme="dark"] .fv2 .fv-edpic{background:var(--fv-hover);border-color:transparent}

/* ── contrast: every word at WCAG AA (4.5:1, 3:1 large) in both themes ─────────────────── */
/* the dark theme's tonal cards above must not take back a picked card's fill: a picked hook, an "In use"
   Studio script, the Studio / "for <app>" summary pills and a picked component keep their sun / lavender,
   so their black words stay on a light ground (they were black on #2a2a32) */
html[data-theme="dark"] .fv2 .fv-hook.on{background:var(--fv-sun);color:#000;border-color:transparent}
html[data-theme="dark"] .fv2 .fv-stcard.on{background:var(--fv-lav);color:#000}
html[data-theme="dark"] .fv2 .fv-edcomp.on{background:var(--fv-sun);color:#000}
html[data-theme="dark"] .fv2 .fv-vcard.off{background:transparent;border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-btn:disabled{background:var(--fv-inner);color:var(--fv-faint);border-color:var(--fv-line2)}
/* Distribute's global status classes (slush .err/.bad/.ok, night .ok) must not paint the Faceless parts that
   share the name: the stopped film's box went solid orange with dark-red words */
html .fv2 .fv-under.err{background:transparent!important;color:var(--fv-ink)!important}
html .fv2 .fv-gt.ok,html .fv2 .fv-gt.bad{background:rgba(255,255,255,.07)!important;color:#fff!important}
html .fv2 .fv-edinbar button.ok{background:var(--fv-sun)!important;color:#000!important}
/* placeholders the shared input rule doesn't reach (the UA grey was 3.7:1 on the dark field) */
html :is(.fv2) .fv-vlsearch input.fv-in.fv-x::placeholder,.fv2 .fv-edgenin::placeholder{color:var(--fv-faint);opacity:1}
/* the inline word editor over the film is a white card with black words in both themes (night.css paints
   every textarea dark, and a selection in it showed light words on sun) */
html :is(.fv2,#fv2-root) .fv-ed .fv-ed-inline textarea:not(.fv-zz){background:#fff!important;color:#000!important;border:0!important}

/* ═══ §9 YOUR OWN ASSETS (fv2-assets.js) ═══════════════════════════════════════════════════
   The prompt's + menu and attachment (above, with the prompt box), the Lines & media column of the Script pop-up,
   the picker, + Add here on the film, the prompt's names, and the drop overlay. Words on a picture sit on
   --fv-scrim; everything else on the panel tokens. */
.fv2 .fv-studio{position:relative}
.fv2 .fv-asimg{position:relative;display:block;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--fv-inner);border:1px solid var(--fv-line2)}
.fv2 .fv-asimg img,.fv2 .fv-asimg video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.fv2 .fv-asimg video{opacity:0;transition:opacity .25s}
.fv2 .fv-asimg video.on{opacity:1}
.fv2 .fv-asph{position:absolute;inset:0;display:grid;place-items:center;color:var(--fv-faint)}
.fv2 .fv-asph .fv-i{width:22px;height:22px}
.fv2 .fv-askind{position:absolute;left:5px;bottom:5px;display:inline-flex;align-items:center;gap:3px;font:800 9.5px/1 var(--fv-ui);color:#fff;background:var(--fv-scrim);padding:3px 6px;border-radius:999px;z-index:2;letter-spacing:.02em}
.fv2 .fv-askind .fv-i{width:8px;height:8px}
.fv2 .fv-asnm{font-size:11.5px;font-weight:700;color:var(--fv-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25;padding:0 1px}
.fv2 .fv-asprog{position:absolute;left:6px;right:6px;bottom:6px;height:5px;border-radius:3px;background:rgba(255,255,255,.3);overflow:hidden;z-index:2;display:block}
.fv2 .fv-asprog i{display:block;height:100%;width:calc(var(--p,0) * 100%);background:var(--fv-sun);border-radius:3px;transition:width .2s}
.fv2 .fv-aspct{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:800 11px/1 var(--fv-ui);color:#fff;background:var(--fv-scrim);padding:4px 8px;border-radius:999px;z-index:2;white-space:nowrap}

/* the + menu over the prompt: Upload photo or video, Recent (a × each), App screenshots, Generated */
.fv2 .fv-pmenu{position:fixed;z-index:330;display:flex;flex-direction:column;gap:6px;min-height:0;padding:8px;background:var(--fv-panel);color:var(--fv-ink);border:1px solid var(--fv-line);border-radius:18px;overflow:hidden;animation:fvDown .16s both}
html .fv2 .fv-pmenu{box-shadow:0 18px 44px rgba(0,0,0,.22)!important}
.fv2 .fv-pmenu.sheet{left:0;right:0;bottom:0;top:auto;width:auto;max-height:82vh;border-radius:22px 22px 0 0;padding:10px 10px 16px;animation:fvSheet .2s cubic-bezier(.2,.8,.3,1) both}
.fv2 .fv-pmup{flex:none;display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;border-radius:13px;border:1px solid #000;background:var(--fv-sun);color:#000;text-align:left;cursor:pointer;font-family:var(--fv-ui)}
.fv2 .fv-pmup > .fv-i{width:20px;height:20px;flex:none}
.fv2 .fv-pmup span{display:flex;flex-direction:column;gap:1px;min-width:0}
.fv2 .fv-pmup b{font-size:13.5px;font-weight:800}
.fv2 .fv-pmup small{font-size:11px;font-weight:600;color:rgba(0,0,0,.74)}
.fv2 .fv-pmup:hover:not(:disabled){background:#ffe266}
.fv2 .fv-pmup:disabled{background:var(--fv-inner);border-color:var(--fv-line2);color:var(--fv-faint);cursor:not-allowed}
.fv2 .fv-pmup:disabled small{color:var(--fv-faint)}
.fv2 .fv-pmbody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:0 4px 4px;scrollbar-width:thin}
.fv2 .fv-pmlbl{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--fv-faint);margin:12px 2px 7px}
.fv2 .fv-pmlbl span{letter-spacing:0;font-size:10.5px}
.fv2 .fv-pmgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:10px 8px}
.fv2 .fv-pmt{position:relative;display:flex;flex-direction:column;gap:3px;min-width:0}
.fv2 .fv-pmb{position:relative;display:block;width:100%;aspect-ratio:1;border-radius:11px;overflow:hidden;border:1px solid var(--fv-line2);background:var(--fv-inner);padding:0;cursor:pointer}
.fv2 .fv-pmb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fv2 .fv-pmb:hover{border-color:var(--fv-line)}
.fv2 .fv-pmt.on .fv-pmb{outline:3px solid var(--fv-sun);outline-offset:1px;border-color:#000}
.fv2 .fv-pmt.up .fv-pmb img{filter:saturate(.6) brightness(.8)}
.fv2 .fv-pmnm{font-size:10.5px;font-weight:700;color:var(--fv-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 1px}
.fv2 .fv-pmx{position:absolute;top:-6px;right:-6px;z-index:3;min-width:22px;height:22px;border-radius:999px;border:2px solid var(--fv-panel);padding:0 4px;display:inline-grid;place-items:center;background:var(--fv-ink);color:var(--fv-panel);cursor:pointer;opacity:0;transition:opacity .12s;font:800 10.5px/1 var(--fv-ui)}
.fv2 .fv-pmx .fv-i{width:10px;height:10px;stroke-width:3}
.fv2 .fv-pmt:hover .fv-pmx,.fv2 .fv-pmt:focus-within .fv-pmx,.fv2 .fv-pmx.arm{opacity:1}
.fv2 .fv-pmx.arm{background:#c62f00;color:#fff;padding:0 8px;right:-4px}
@media (hover:none){.fv2 .fv-pmx{opacity:1}}
.fv2 .fv-pmnone{padding:2px 4px 4px;line-height:1.4}

/* the Lines & media column (the Script pop-up's right side): a row a line, its media as pills, a + */
.fv2 .fv-lhead{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.fv2 .fv-lhead > div{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
.fv2 .fv-lhead b{font-family:var(--fv-disp);font-weight:400;font-size:20px;line-height:1;text-transform:uppercase}
.fv2 .fv-lrows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.fv2 .fv-lrow{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 10px 10px 10px;border-radius:14px;background:var(--fv-panel);border:1px solid var(--fv-line2);transition:border-color .12s,background .12s}
.fv2 .fv-lrow:hover{border-color:var(--fv-line)}
.fv2 .fv-lrow.dropon{outline:2px dashed var(--fv-ink);outline-offset:-3px}
.fv2 .fv-lrow.best{border-color:#000;outline:2px solid var(--fv-sun);outline-offset:0}
.fv2 .fv-lno{width:26px;height:26px;border-radius:50%;font-size:11px;font-weight:800;display:grid;place-items:center;background:var(--fv-inner);border:1px solid var(--fv-line2);color:var(--fv-muted)}
.fv2 .fv-lrow.has .fv-lno,.fv2 .fv-ln.md{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-lmain{display:flex;flex-direction:column;gap:8px;min-width:0;padding-top:3px}
.fv2 .fv-ltx{font-size:13.5px;line-height:1.4;color:var(--fv-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-width:0}
.fv2 .fv-ltx em{color:var(--fv-muted)}
.fv2 .fv-lmedia{display:flex;flex-wrap:wrap;gap:6px}
.fv2 .fv-lpill{position:relative;display:inline-flex;align-items:center;max-width:100%;min-width:0;border-radius:12px;background:var(--fv-inner);border:1px solid var(--fv-line2)}
.fv2 .fv-lpb{display:flex;align-items:center;gap:9px;min-width:0;padding:4px 8px 4px 4px;border:0;background:none;cursor:pointer;text-align:left;color:var(--fv-ink);border-radius:12px}
.fv2 .fv-lpb:hover{background:var(--fv-hover)}
.fv2 .fv-lpimg{position:relative;width:40px;height:40px;border-radius:9px;overflow:hidden;flex:none;background:var(--fv-panel);display:grid;place-items:center;color:var(--fv-muted);font:800 13px/1 var(--fv-ui)}
.fv2 .fv-lpimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fv2 .fv-lpimg .fv-asph .fv-i{width:15px;height:15px}
.fv2 .fv-lthk{position:absolute;right:2px;bottom:2px;width:13px;height:13px;border-radius:50%;background:var(--fv-scrim);color:#fff;display:grid;place-items:center;z-index:1}
.fv2 .fv-lthk .fv-i{width:7px;height:7px}
.fv2 .fv-lpnm{display:flex;flex-direction:column;gap:1px;min-width:0;max-width:170px;font-size:12px;font-weight:800;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-lpnm small{font-size:10.5px;font-weight:700;color:var(--fv-muted);overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-lpx{flex:none;width:26px;height:26px;margin-right:5px;border-radius:50%;border:0;padding:0;display:grid;place-items:center;background:none;color:var(--fv-muted);cursor:pointer}
.fv2 .fv-lpx:hover{background:var(--fv-ink);color:var(--fv-panel)}
.fv2 .fv-lpx .fv-i{width:12px;height:12px;stroke-width:2.8}
.fv2 .fv-lpill.miss .fv-lpb,.fv2 .fv-lpill.wait .fv-lpb{cursor:default}
.fv2 .fv-lpill.miss{border-style:dashed}
.fv2 .fv-ladd{width:34px;height:34px;border-radius:50%;border:1px solid var(--fv-line2);background:var(--fv-inner);color:var(--fv-ink);display:grid;place-items:center;cursor:pointer;padding:0;transition:background .12s,border-color .12s}
.fv2 .fv-ladd .fv-i{width:15px;height:15px;stroke-width:2.4}
.fv2 .fv-lrow:hover .fv-ladd{border-color:var(--fv-line)}
.fv2 .fv-ladd:hover,.fv2 .fv-lrow.dropon .fv-ladd{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-lput{flex:none;align-self:center}
.fv2 .fv-lfull{align-self:center;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--fv-muted);padding:0 4px}
.fv2 .fv-lplace{position:sticky;top:-18px;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 12px;margin:0 0 10px;border-radius:14px;background:var(--fv-sun);color:#000;border:1px solid #000}
.fv2 .fv-lplace .fv-lptx{flex:1 1 140px;min-width:0;font-size:13px}
/* the sun banner keeps its own chips in both themes (the dark theme's tonal chips would put black words on #2a2a32) */
html .fv2 .fv-spl .fv-lplace .fv-chip:not(.on){background:rgba(255,255,255,.62);border-color:rgba(0,0,0,.4);color:#000}
html .fv2 .fv-spl .fv-lplace .fv-chip:not(.on):hover{background:#fff;color:#000}
html .fv2 .fv-spl .fv-lplace .fv-chip.on{background:#000;color:var(--fv-sun);border-color:#000}
.fv2 .fv-lplace .fv-link{margin-left:0;color:#000}
.fv2 .fv-lempty{display:flex;gap:12px;align-items:flex-start;padding:16px;border-radius:14px;border:1.5px dashed var(--fv-line2);color:var(--fv-muted);font-size:13px;line-height:1.45;background:var(--fv-panel)}
.fv2 .fv-lempty .fv-i{width:20px;height:20px;flex:none;color:var(--fv-ink)}
.fv2 .fv-lfoot{display:flex;gap:7px;align-items:center;margin-top:14px;padding:0 2px;font-size:12px}
.fv2 .fv-lfoot .fv-i{width:14px;height:14px;flex:none}

/* the picker: for a line or a scene (fixed, next to its +; a bottom sheet on a phone) */
.fv2 .fv-aspop{position:fixed;z-index:330;display:flex;flex-direction:column;gap:9px;min-height:0;max-height:80vh;padding:10px 12px 12px;background:var(--fv-panel);color:var(--fv-ink);border:1px solid var(--fv-line);border-radius:18px;overflow:hidden;animation:fvDown .16s both;font-size:14px}
html .fv2 .fv-aspop{box-shadow:0 18px 44px rgba(0,0,0,.22)!important}
.fv2 .fv-aspop.sheet{left:0;right:0;bottom:0;top:auto;width:auto;max-height:84vh;border-radius:22px 22px 0 0;padding-bottom:16px;animation:fvSheet .2s cubic-bezier(.2,.8,.3,1) both}
.fv2 .fv-aphead{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-right:-6px}
.fv2 .fv-aphead b{font-family:var(--fv-disp);font-weight:400;font-size:17px;line-height:1.05;text-transform:uppercase;min-width:0}
.fv2 .fv-apline{flex:none;quotes:"\201C" "\201D";font-size:12.5px;font-style:italic;color:var(--fv-ink2);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fv2 .fv-apscenes{flex:none;display:flex;flex-wrap:wrap;gap:5px}
.fv2 .fv-apscenes .fv-chip{min-width:34px;justify-content:center}
.fv2 .fv-apbody{flex:1 1 auto;min-height:90px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;margin:0 -6px;padding:2px 6px 4px}
.fv2 .fv-aplbl{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--fv-faint);margin:8px 0 6px}
.fv2 .fv-apbody > .fv-aplbl:first-child{margin-top:2px}
.fv2 .fv-apgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 7px}
.fv2 .fv-aptile{display:flex;flex-direction:column;gap:3px;padding:0;margin:0;background:none;border:0;cursor:pointer;text-align:left;min-width:0;color:var(--fv-ink)}
.fv2 .fv-aptile .fv-asimg{aspect-ratio:1;border-radius:10px}
.fv2 .fv-aptile .fv-asnm{font-size:10.5px}
.fv2 .fv-aptile:hover .fv-asimg{border-color:var(--fv-line)}
.fv2 .fv-aptile.on .fv-asimg{outline:3px solid var(--fv-sun);outline-offset:1px;border-color:#000}
.fv2 .fv-aptile.new .fv-asimg{display:grid;place-items:center;border:1.5px dashed var(--fv-line);background:transparent;color:var(--fv-ink)}
.fv2 .fv-aptile.new .fv-asimg .fv-i{width:20px;height:20px}
.fv2 .fv-aptile.new:hover .fv-asimg{background:var(--fv-hover)}
.fv2 .fv-aptile:disabled{cursor:not-allowed;color:var(--fv-faint)}
.fv2 .fv-apcheck{position:absolute;top:4px;right:4px;width:18px;height:18px;border-radius:50%;background:var(--fv-sun);color:#000;display:grid;place-items:center;z-index:2;border:1px solid #000}
.fv2 .fv-apcheck .fv-i{width:10px;height:10px;stroke-width:3.2}
.fv2 .fv-apnone{margin-top:8px}
.fv2 .fv-apfit{flex:none;border-top:1px solid var(--fv-line2);padding-top:2px}
.fv2 .fv-apfit .fv-aplbl{margin-top:8px}
.fv2 .fv-apfit > .fv-hint{display:block;margin-top:6px;font-size:11.5px}
.fv2 .fv-aperr{flex:none;margin:0;padding:8px 10px;font-size:12px}
.fv2 .fv-apfoot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
.fv2 .fv-apfoot > .fv-hint{font-size:11.5px;min-width:0}

/* + Add here on the film (and in Edit): a sun pill in the phone's top-right corner, for the scene at the playhead */
.fv2 .fv-addmedia{position:absolute;top:15px;right:15px;z-index:7;display:inline-flex;align-items:center;gap:4px;padding:7px 11px 7px 8px;border-radius:999px;border:1px solid #000;background:var(--fv-sun);color:#000;font:800 11.5px/1 var(--fv-ui);cursor:pointer;transition:opacity .2s,transform .12s}
.fv2 .fv-addmedia .fv-i{width:14px;height:14px;stroke-width:2.8}
.fv2 .fv-addmedia:hover{transform:translateY(-1px);background:#ffe266}
.fv2 .fv-phone:has(.fv-player.playing):not(:hover) .fv-addmedia{opacity:0}
@media (hover:none){.fv2 .fv-phone .fv-addmedia{opacity:1!important}}
.fv2 .fv-phone:has(.fv-ed) .fv-edtag{max-width:calc(100% - 112px)}

/* the prompt box: your media's names while typing "my " or "@" */
.fv2 .fv-aschips{display:none;align-items:center;gap:5px;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;padding:1px 2px}
.fv2 .fv-aschips::-webkit-scrollbar{display:none}
.fv2 .fv-aschips.on{display:flex}
.fv2 .fv-aschl{flex:none;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--fv-faint);margin-right:2px}
.fv2 .fv-aschip{flex:none;display:inline-flex;align-items:center;gap:6px;max-width:220px;padding:3px 11px 3px 3px;border-radius:999px;border:1px solid var(--fv-line2);background:var(--fv-panel);color:var(--fv-ink);font:700 12px/1 var(--fv-ui);cursor:pointer;white-space:nowrap}
.fv2 .fv-aschip > span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-aschip.first{border-color:var(--fv-line)}
.fv2 .fv-aschip:hover{background:var(--fv-sun);color:#000;border-color:#000}
.fv2 .fv-aschimg{position:relative;width:22px;height:22px;border-radius:50%;overflow:hidden;background:var(--fv-inner);display:grid;place-items:center;flex:none}
.fv2 .fv-aschimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fv2 .fv-aschimg .fv-asph .fv-i{width:12px;height:12px}

/* a file dragged over the tab: the overlay sits on its host (the Studio, the Lines & media column, a pop-up's
   body, the playing film) and says where it goes */
.fv2 .fv-dropov{display:none;position:absolute;inset:6px;z-index:20;border-radius:18px;border:2px dashed var(--fv-ink);background:rgba(255,215,49,.08);pointer-events:none;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;padding-top:18px}
.fv2 .fv-dropping > .fv-dropov{display:flex}
.fv2 .fv-phone > .fv-dropov{inset:6px;border-color:var(--fv-sun);justify-content:center;padding:0}
.fv2 .fv-dropov.low{justify-content:flex-end;padding:0 0 18px}
.fv2 .fv-dropov b{display:inline-flex;align-items:center;gap:7px;font:800 13px/1 var(--fv-ui);color:#000;background:var(--fv-sun);border:1px solid #000;padding:10px 15px;border-radius:999px;text-align:center}
.fv2 .fv-dropov > .fv-i{display:none}
.fv2 .fv-dropov span{font-size:11.5px;font-weight:700;color:#000;background:var(--fv-sun);padding:3px 9px;border-radius:999px;margin-top:4px;opacity:.94}

@container fv (max-width:520px){
  .fv2 .fv-addmedia{top:13px;right:13px;padding:6px 10px 6px 7px;font-size:11px}
  .fv2 .fv-apgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .fv2 .fv-pchnm{max-width:150px}
}
html[data-theme="dark"] .fv2 :is(.fv-addmedia,.fv-dropov b,.fv-apcheck,.fv-lrow.has .fv-lno,.fv-ln.md,.fv-pmup,.fv-lplace){border-color:transparent}
html[data-theme="dark"] .fv2 .fv-asimg{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-aptile.new .fv-asimg{background:transparent;border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-spl{background:var(--fv-inner)}
html[data-theme="dark"] .fv2 .fv-lrow{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-lrow:hover{border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-lrow.best{border-color:transparent}
html[data-theme="dark"] .fv2 .fv-lno,html[data-theme="dark"] .fv2 .fv-ladd,html[data-theme="dark"] .fv2 .fv-lpill{background:var(--fv-inner);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-lrow:hover .fv-ladd{border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-ladd:hover,html[data-theme="dark"] .fv2 .fv-lrow.dropon .fv-ladd{background:var(--fv-sun);color:#000;border-color:transparent}
html[data-theme="dark"] .fv2 .fv-lpimg{background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-lpb:hover{background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-lempty{background:transparent;border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-aschip{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-aschip.first{border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 :is(.fv-aspop,.fv-pmenu){border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-aspop .fv-chip:not(.on){background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-pmb{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-pmup:disabled{background:var(--fv-inner);border-color:var(--fv-line2)}
html[data-theme="dark"] .fv2 .fv-ln.md{background:var(--fv-sun);color:#000}
html[data-theme="dark"] .fv2 .fv-lpprev{background:var(--fv-inner)}
html[data-theme="dark"] .fv2 .fv-lptag{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-lptag.on{background:var(--fv-sun);color:#000}
html[data-theme="dark"] .fv2 .fv-tcard.wide .fv-tpwrap{border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .fv2 .fv-sptabs{border-color:transparent}
html[data-theme="dark"] .fv2 .fv-spnone{border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-vcheck{border-color:transparent}
/* a picked chip stays sun under the pointer (the tonal hover painted it #2a2a32 behind its black words) */
html[data-theme="dark"] .fv2 .fv-chip.on:hover:not(:disabled){background:#ffe266;color:#000}

/* ── toast (lives on <body>) ──────────────────────────────────────────────────────── */
.fv2-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,16px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:9999;display:flex;gap:10px;align-items:center;background:#000;color:#fff;padding:11px 18px 11px 14px;border-radius:999px;font:600 13px/1.35 Inter,system-ui,sans-serif;max-width:min(560px,calc(100vw - 32px))}
.fv2-toast.show{opacity:1;transform:translate(-50%,0)}
body.fv2-popping .fv2-toast{bottom:96px}   /* a pop-up is open: the toast sits over its foot, not on its Done */
.fv2-toast .fv-i{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;color:#ffd731}
.fv2-toast.is-bad .fv-i{color:#ff8a6a}
html[data-theme="dark"] .fv2-toast{background:#f3efe6;color:#0e0e11}
html[data-theme="dark"] .fv2-toast .fv-i{color:#1d8a58}
html[data-theme="dark"] .fv2-toast.is-bad .fv-i{color:#c62f00}
/* ── round 5 (FACELESS-ROUND5-PLAN.md, Adi's answers): a 16:9 look's vertical style, script modes, lengths with their
   cost, locked character voices, the + menu's web photos, the Stage's edition switch ── */
/* the vertical style: a chip beside the shade circles in a 16:9 card's band (the band is always the dark #15151a) */
.fv2 .fv-vstyle{pointer-events:auto;flex:none;display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px 0 8px;margin-left:4px;border-radius:999px;border:2px solid rgba(255,255,255,.78);background:rgba(255,255,255,.1);color:#fff;font:800 10.5px/1 var(--fv-ui);letter-spacing:.01em;cursor:pointer;white-space:nowrap;transition:background .12s}
.fv2 .fv-vstyle .fv-i{width:13px;height:13px}
.fv2 .fv-vstyle:hover{background:rgba(255,255,255,.22)}
.fv2 .fv-vstyle.on{background:var(--fv-sun);color:#000;border-color:var(--fv-sun)}
html .fv2 .fv-vstyle.on{box-shadow:0 0 0 1px rgba(0,0,0,.55)!important}
.fv2 .fv-vstyle:focus-visible{outline:3px solid var(--fv-sun);outline-offset:2px}
@container (max-width:250px){.fv2 .fv-vstyle span{font-size:0}.fv2 .fv-vstyle span::after{content:"9:16";font-size:10.5px}}
/* the Look pop-up's preview: Format chips, a short line, badges; a 16:9 reel letterboxed in a phone */
.fv2 .fv-lpfl{margin:2px 0 -4px}
.fv2 .fv-lpfmt .fv-chip .fv-i{width:13px;height:13px}
.fv2 .fv-lpfhint{margin:-2px 0 0;font-size:11.5px;line-height:1.4;color:var(--fv-muted)}
.fv2 .fv-badges{display:flex;gap:5px;flex-wrap:wrap}
.fv2 .fv-badge{display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:10.5px;font-weight:800;padding:4px 9px;border-radius:999px;background:var(--fv-panel);border:1px solid var(--fv-line2);color:var(--fv-ink2)}
.fv2 .fv-badge .fv-i{width:11px;height:11px}
.fv2 .fv-badge.cast{background:var(--fv-lav);color:#000;border-color:#000}
html[data-theme="dark"] .fv2 .fv-badge.cast{border-color:transparent}
.fv2 .fv-lpphone.lbox .fv-lpvid{object-fit:contain;background:#000}
.fv2 .fv-lpphone.lbox .fv-lpvimg{object-fit:contain}
/* the Voice row and pop-up when the look's character speaks: "Peter · locked to Family Guy" */
.fv2 .fv-rv small.fv-rlock .fv-i{width:12px;height:12px;flex:none}
.fv2 .fv-vlock{display:flex;gap:9px;align-items:flex-start;padding:10px 12px;margin:0 0 12px;border-radius:13px;background:var(--fv-lav);color:#000;border:1px solid #000;font-size:12.5px;line-height:1.45}
.fv2 .fv-vlock > .fv-i{width:16px;height:16px;flex:none;margin-top:1px}
html[data-theme="dark"] .fv2 .fv-vlock{border-color:transparent}
.fv2 .fv-vcard.locked{background:transparent;border-style:dashed}
.fv2 .fv-vcard.locked .fv-vpick{cursor:not-allowed}
.fv2 .fv-vcard.locked .fv-vname{color:var(--fv-muted)}
.fv2 .fv-vcard.locked.on{border-style:solid;background:var(--fv-panel)}
.fv2 .fv-vcard.locked.on .fv-vname{color:var(--fv-ink)}
html[data-theme="dark"] .fv2 .fv-vcard.locked{background:transparent;border-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-vcard.locked.on{background:var(--fv-inner)}
/* the Script pop-up: the script mode chip and its picker; the five lengths with their cost and time */
.fv2 .fv-moderow{display:flex;align-items:center;gap:10px;min-width:0}
.fv2 .fv-moderow .fv-hint{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.fv2 .fv-modechip{gap:7px;padding:7px 10px 7px 11px}
.fv2 .fv-modechip b{font-weight:800}
.fv2 .fv-modechip > .fv-i:last-child{width:12px;height:12px;transition:transform .15s}
.fv2 .fv-modechip.open > .fv-i:last-child{transform:rotate(180deg)}
.fv2 .fv-modechip.none b{color:var(--fv-muted)}
.fv2 .fv-modechip.fixed{cursor:default}
.fv2 .fv-modepick{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:9px;padding:10px;border-radius:14px;background:var(--fv-inner);border:1px solid var(--fv-line2)}
.fv2 .fv-modepick .fv-chip small{font-size:9.5px;font-weight:800;opacity:1;color:inherit;padding:2px 6px;border-radius:999px;background:rgba(0,0,0,.08);margin-left:2px}
html[data-theme="dark"] .fv2 .fv-modepick{border-color:transparent;background:var(--fv-hover)}
html[data-theme="dark"] .fv2 .fv-modepick .fv-chip:not(.on){background:var(--fv-inner)}
html[data-theme="dark"] .fv2 .fv-modepick .fv-chip:not(.on) small{background:rgba(255,255,255,.1)}
.fv2 .fv-lenchips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.fv2 .fv-lenchip{flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 4px;border-radius:13px;min-width:0}
.fv2 .fv-lenchip b{font-size:12.5px;font-weight:800}
.fv2 .fv-lenchip small{font-size:10px;font-weight:700;opacity:1;color:var(--fv-muted);white-space:nowrap}
.fv2 .fv-lenchip.on small{color:rgba(0,0,0,.78)}
.fv2 .fv-lenhint{display:flex;gap:6px;align-items:flex-start;margin:8px 0 0;font-size:12px;line-height:1.4;color:var(--fv-muted)}
.fv2 .fv-lenhint b{color:var(--fv-ink)}
.fv2 .fv-lenhint .fv-i{width:14px;height:14px;flex:none;margin-top:1px}
/* the Stage: a 16:9 film letterboxed in the phone; the 16:9 · 9:16 switch when an edition exists */
.fv2 .fv-pv.wide{object-fit:contain;background:#000}
.fv2 .fv-fmtseg{display:inline-flex;margin-right:6px;padding:2px;border-radius:999px;border:1px solid var(--fv-line2);background:var(--fv-inner);vertical-align:middle}
.fv2 .fv-fmtseg button{border:0;background:none;color:var(--fv-ink);font:800 11px/1 var(--fv-ui);padding:6px 9px;border-radius:999px;cursor:pointer}
.fv2 .fv-fmtseg button.on{background:var(--fv-sun);color:#000}
/* the + menu's "From the web": a line on where they come from, then each photo with Swap and Remove */
.fv2 .fv-pmweb{display:flex;gap:7px;align-items:flex-start;margin:0 2px 8px;font-size:11.5px;line-height:1.45;color:var(--fv-muted)}
.fv2 .fv-pmweb .fv-i{width:13px;height:13px;flex:none;margin-top:2px}
.fv2 .fv-pmwlist{display:flex;flex-direction:column;gap:7px}
.fv2 .fv-pmw{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;row-gap:6px;align-items:center;padding:7px;border-radius:13px;background:var(--fv-inner);border:1px solid var(--fv-line2)}
.fv2 .fv-pmwimg{grid-row:1 / span 2;position:relative;width:64px;aspect-ratio:4/3;border-radius:9px;overflow:hidden;background:var(--fv-panel);border:1px solid var(--fv-line2)}
.fv2 .fv-pmwimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fv2 .fv-pmwtx{display:flex;flex-direction:column;gap:1px;min-width:0}
.fv2 .fv-pmwtx b{font-size:12px;font-weight:800}
.fv2 .fv-pmwtx small{font-size:11px;color:var(--fv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-pmwact{display:flex;gap:6px}
.fv2 .fv-pmwact .fv-btn.sm{padding:7px 10px;font-size:10.5px}
.fv2 .fv-pmwact .fv-btn .fv-i{width:12px;height:12px}
html[data-theme="dark"] .fv2 .fv-pmw{border-color:transparent;background:var(--fv-hover)}
@media (prefers-reduced-motion:reduce){.fv2 *,.fv2 *::before,.fv2 *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.fv2 .fv-slides img:first-child{opacity:1}}

/* ── the maker's extras, previewed on the Stage before a film (src/fv2/extras.mjs; Adi 2026-10-02) ───────────────── */
.fv2 .fv-xov{position:absolute;inset:0;pointer-events:none;z-index:2;container-type:size}
.fv2 .fv-xch{position:absolute;right:5cqw;bottom:20cqh;width:30cqw;display:flex;flex-direction:column;align-items:center;gap:2px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.28));animation:fvPop .35s both}
.fv2 .fv-xch svg{width:100%;height:auto;display:block}
.fv2 .fv-xch b,.fv2 .fv-xchar b{font-size:9.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:var(--fv-scrim);padding:2px 7px;border-radius:999px;white-space:nowrap}
.fv2 .fv-xchph{display:grid;place-items:center;width:64%;aspect-ratio:1;border-radius:50%;background:var(--fv-sun);color:#000;font-weight:900;font-size:20px}
.fv2 .fv-xcap{position:absolute;left:7cqw;right:7cqw;display:flex;justify-content:center;transform:scale(var(--k,1));transform-origin:50% 50%}
.fv2 .fv-xcap.top{top:11cqh}.fv2 .fv-xcap.middle{top:46cqh}.fv2 .fv-xcap.bottom{top:72cqh}
.fv2 .fv-xcap span{font:800 clamp(10px,5.2cqw,22px)/1.2 Inter,system-ui,sans-serif;color:#000;background:#fff;padding:.25em .6em;border-radius:.4em;box-shadow:0 0 0 2px var(--fv-sun);text-align:center}
.fv2 .fv-xwm{position:absolute;font:700 clamp(8px,3.1cqw,13px)/1 "JetBrains Mono",ui-monospace,monospace;color:#000;background:rgba(255,255,255,.85);padding:.35em .7em;border-radius:999px}
.fv2 .fv-xwm.br{right:5cqw;bottom:6cqh}.fv2 .fv-xwm.bl{left:5cqw;bottom:6cqh}.fv2 .fv-xwm.tr{right:5cqw;top:7cqh}.fv2 .fv-xwm.tl{left:5cqw;top:7cqh}
.fv2 .fv-xend{position:absolute;left:22cqw;right:22cqw;bottom:13cqh;display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 8px 10px;border-radius:14px;background:rgba(255,255,255,.94);color:#000;box-shadow:0 8px 24px rgba(0,0,0,.25);animation:fvPop .35s both}
.fv2 .fv-xend i{font-style:normal;font-size:8.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#666}
.fv2 .fv-xend img{width:13cqw;height:13cqw;border-radius:22%;object-fit:cover}
.fv2 .fv-xend b{font:900 clamp(10px,4.6cqw,18px)/1 Inter,system-ui,sans-serif}
.fv2 .fv-xend span{font-size:clamp(8px,3.2cqw,12px);font-weight:800;color:#fff;background:#111;padding:.4em .9em;border-radius:999px}
.fv2 .fv-xbadges{position:absolute;left:8px;right:8px;top:38px;display:flex;flex-wrap:wrap;gap:4px}
.fv2 .fv-xbadges span{display:inline-flex;align-items:center;gap:4px;font-size:9.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#000;background:var(--fv-sun);border:1px solid #000;padding:3px 8px;border-radius:999px;animation:fvPop .3s both}
.fv2 .fv-xsw{display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid #000}
.fv2 .fv-xchars{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px}
.fv2 .fv-xchar{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 4px 5px;border-radius:12px;border:1px solid var(--fv-line2);background:var(--fv-panel);cursor:pointer;min-width:0}
.fv2 .fv-xchar svg{width:44px;height:44px;display:block}
.fv2 .fv-xchar b{font-size:8.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.fv2 .fv-xchar.on{outline:3px solid var(--fv-sun);outline-offset:1px;border-color:#000}
.fv2 .fv-xchar:hover{border-color:var(--fv-line)}
.fv2 .fv-scadd{flex:0 0 14px;align-self:center;height:28px;margin:0 -3px;padding:0;border-radius:999px;border:1px dashed var(--fv-line);background:transparent;color:var(--fv-muted);display:grid;place-items:center;cursor:pointer;opacity:.55}
.fv2 .fv-scadd .fv-i{width:10px;height:10px}
.fv2 .fv-scadd:hover,.fv2 .fv-scadd:focus-visible{opacity:1;background:var(--fv-sun);color:#000;border-style:solid;border-color:#000}
.fv2 .fv-dopts{flex-wrap:wrap}
.fv2 .fv-opts{flex-basis:100%;display:flex;flex-direction:column;gap:5px;margin-top:2px}
.fv2 .fv-opt{text-align:left;font:600 12.5px/1.35 Inter,system-ui,sans-serif;padding:8px 10px;border-radius:10px;border:1px solid var(--fv-line2);background:var(--fv-inner);color:inherit;cursor:pointer}
.fv2 .fv-opt:hover{border-color:#000;background:var(--fv-sun);color:#000}
.fv2 .fv-xov.has-end .fv-xch{bottom:33cqh;width:26cqw}
.fv2 .fv-xov .fv-xend{bottom:4cqh}
.fv2 .fv-xwm.tr,.fv2 .fv-xwm.tl{top:10cqh}
.fv2 .fv-xcap.top{top:15cqh}

/* ── the slim bar (opts.bar, the Distribute tab): one line over the frame — the title, then the host's corner
   (.fv-bslot): ONE wide Script Studio pill (your final script's hook · Open ↗) taking the rest of the bar.
   "From your app" (the host's .mk-faslot) stays out of this bar: the app chip in the prompt box switches apps. ── */
.fv2 .fv-bar{display:flex;align-items:center;gap:12px;min-height:40px;margin:0 0 10px;min-width:0}
.fv2 .fv-btitle{margin:0;flex:none;font-family:var(--fv-disp);font-weight:400;font-size:26px;line-height:1;text-transform:uppercase;letter-spacing:0;white-space:nowrap;color:var(--fv-ink)}
.fv2 .fv-bslot{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:10px}
.fv2 .fv-bslot .mk-faslot{display:none!important}
html #pane-faceless .fv2 .fv-bslot > .bc-embed{flex:1 1 auto;max-width:none}
@container fv (max-width:520px){
  .fv2 .fv-bar{flex-wrap:wrap;row-gap:8px}
  .fv2 .fv-btitle{font-size:22px}
  .fv2 .fv-bslot{flex-basis:100%}
}

/* ── the app as the prompt's context (opts.bar): a compact chip at the left of the prompt row, after the ＋ —
   "for Unseated ▾ │ Web · 88% ⓘ". The name switches or adds an app; the right half opens what the writer knows. ── */
.fv2 .fv-papp{flex:none;display:flex;min-width:0;align-self:flex-end}
.fv2 .fv-papp:empty{display:none}
.fv2 .fv-rapp.is-in{min-height:0;height:34px;padding:0 2px 0 0;gap:0;border-radius:999px;background:var(--fv-inner);border:1px solid var(--fv-line2)}
.fv2 .fv-rapp.is-in .fv-appsw{height:32px;padding:0 9px 0 3px;gap:6px;border-radius:999px}
.fv2 .fv-rapp.is-in .fv-logo{width:26px;height:26px;border-radius:999px;font-size:13px}
.fv2 .fv-rapp.is-in .fv-apphd{flex-direction:row;align-items:center;gap:4px}
.fv2 .fv-rapp.is-in .fv-apphd small{font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--fv-muted)}
.fv2 .fv-rapp.is-in .fv-apphd b{font-size:13px;max-width:150px}
.fv2 .fv-rapp.is-in .fv-rabout{margin-left:0;height:28px;padding:0 6px;gap:5px;border-left:1px solid var(--fv-line2);border-radius:0 999px 999px 0}
.fv2 .fv-rapp.is-in .fv-rabout:hover{border-radius:999px;background:var(--fv-hover)}
.fv2 .fv-rapp.is-in .fv-plat{padding:3px 7px}
html[data-theme="dark"] .fv2 .fv-rapp.is-in{background:var(--fv-hover);border-color:transparent}
html[data-theme="dark"] .fv2 .fv-rapp.is-in .fv-appsw:hover,html[data-theme="dark"] .fv2 .fv-rapp.is-in .fv-appsw[aria-expanded="true"],html[data-theme="dark"] .fv2 .fv-rapp.is-in .fv-rabout:hover{background:var(--l3,#33333c)}
html[data-theme="dark"] .fv2 .fv-rapp.is-in .fv-rabout{border-left-color:var(--fv-line)}
html[data-theme="dark"] .fv2 .fv-rapp.is-in .fv-plat{background:transparent}
.fv2 .fv-appmenu.up{animation:none}
@container fv (max-width:1099.98px){
  .fv2 .fv-rapp.is-in .fv-apphd small,.fv2 .fv-rapp.is-in .fv-rabout .fv-ctxpct{display:none}
}
@container fv (max-width:899.98px){
  .fv2 .fv-rapp.is-in .fv-apphd b{max-width:120px}
}
@container fv (max-width:520px){
  .fv2 .fv-rapp.is-in .fv-apphd b > span,.fv2 .fv-rapp.is-in .fv-rabout .fv-plat{display:none}
  .fv2 .fv-rapp.is-in .fv-appsw{padding-right:6px}
}

/* the prompt's rotating example fades out, swaps, fades back in */
html :is(.fv2,#fv2-root) .fv-prompt textarea.fv-in:not(.fv-x)::placeholder{transition:opacity .2s ease}
html :is(.fv2,#fv2-root) .fv-prompt textarea.fv-in.ph-swap:not(.fv-x)::placeholder{opacity:0}
html :is(.fv2,#fv2-root) .fv-prompt textarea.fv-in:not(.fv-x)::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
