/* 🎬 Fabrica Reels — violet de catifea, hârtie caldă, jar portocaliu. Culorile stau în variabile; tema întunecată le schimbă pe toate. */
:root {
  /* direcția A · „Curat” (14.11): alb, negru, un singur accent */
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f4f2; --ink: #0e0e0e; --muted: #6e6e73; --faint: #a3a3a8; --line: #ebebeb; --contur: #dcdcdc;
  --brand: #0e0e0e; --on-brand: #ffffff; --accent: #c2410c; --on-accent: #ffffff; --accent-soft: #fdf1e9;
  --ok: #17753a; --bad: #b42318; --warn: #a14a07; --semn-lucru: #ff9d5c;
  --plum: #4a1f4f; --plum-deep: #2a0f2e; --cream: #fff4e6; --sun: #ffb54a;
  --f-titlu: Figtree, system-ui, sans-serif; --f-text: Figtree, system-ui, sans-serif;
  --t-corp: 400 15px/1.4 var(--f-text); --t-ecran: 800 27px/1.1 var(--f-titlu); --t-sectiune: 700 19px/1.2 var(--f-titlu); --t-rand: 500 16px/1.25 var(--f-text); --t-mic: 400 13.5px/1.25 var(--f-text);
  --r-mini: 8px; --r-card: 12px; --r-foaie: 18px; --r-buton: 14px; --r-pastila: 9px;
  --u-plutire: 0 10px 28px -10px rgba(14, 14, 14, .3), 0 1px 2px rgba(14, 14, 14, .06); --u-foaie: 0 -12px 34px -18px rgba(14, 14, 14, .28);
  --margine: 16px; --gol-sectiune: 26px; --h-sus: 56px; --h-jos: 62px; --h-buton: 54px;
  --shadow: 0 1px 2px rgba(14, 14, 14, .04), 0 10px 28px -16px rgba(14, 14, 14, .18);
  --r: 16px; --r-s: 12px; --pad: 16px;
  /* numele vechi, folosite de paginile adminului */
  --card: var(--surface); --soft: var(--surface-2); --brand2: var(--accent);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e; --surface: #18181a; --surface-2: #232326; --ink: #f5f5f3; --muted: #a3a3a8; --faint: #6e6e73; --line: #2a2a2e; --contur: #3a3a3f;
    --brand: #f5f5f3; --on-brand: #0e0e0e; --accent: #e8591c; --on-accent: #ffffff; --accent-soft: #33190c;
    --ok: #4ade80; --bad: #fca5a5; --warn: #fbbf24;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .7);
    --u-plutire: 0 10px 28px -10px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .3); --u-foaie: 0 -12px 34px -18px rgba(0, 0, 0, .7);
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 Figtree, system-ui, sans-serif; }
/* 13.11 (Tata: „ies din pagini când mișc”): nimic nu mai poate împinge pagina în lateral */
html, body { overflow-x: clip; max-width: 100%; }
main, section, .card { min-width: 0; }
h1, h2, h3 { font-family: var(--f-titlu); font-weight: 800; margin: 0 0 8px; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 8.4vw, 60px); }
h2 { font-size: 24px; }
h3 { font-size: 19px; margin-top: 18px; }
p { margin: 8px 0; }
a { color: var(--brand); text-underline-offset: 3px; }
img, video { max-width: 100%; }
main { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad) 72px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── bara de sus ── */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 8px var(--pad); background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-family: var(--f-titlu); font-size: 20px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.top .logo svg { width: 30px; height: 30px; flex: none; }
.top .sp { flex: 1; }
.top .who { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ── butoane, câmpuri ── */
button, .btn { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 10px 20px; min-height: 44px; background: var(--brand); color: var(--on-brand); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.2; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
button:active:not(:disabled), .btn:active { transform: scale(.97); }
button.ghost, .btn.ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 55%, transparent); }
button.small, .btn.small { padding: 8px 14px; font-size: 14px; }
button:disabled { opacity: .45; cursor: default; }
button.cta, .btn.cta { background: var(--accent); color: var(--on-accent); font-size: 17px; font-weight: 800; padding: 12px 26px; min-height: 52px; box-shadow: 0 8px 22px -10px var(--accent); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 11px 13px; width: 100%; min-height: 46px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
textarea { min-height: 120px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
textarea.soft { font: inherit; min-height: 76px; resize: vertical; }
label { display: block; font-weight: 600; margin: 12px 0 5px; }
label.inline { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; margin: 6px 12px 6px 0; min-height: 32px; }
label.inline input { width: auto; min-height: 0; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 20px; height: 20px; min-height: 0; padding: 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); margin: 14px 0; box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.tabs button { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.tabs button.on { background: var(--brand); color: var(--on-brand); }
.err { color: var(--bad); font-weight: 600; }
.err:empty { display: none; }
.ok { color: var(--ok); font-weight: 600; }
.hero { padding: 30px 0 6px; }
.hero p { font-size: 18px; max-width: 34em; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill.gata { background: color-mix(in srgb, var(--ok) 16%, var(--surface)); color: color-mix(in srgb, var(--ok) 78%, var(--ink)); }
.pill.eroare { background: color-mix(in srgb, var(--bad) 15%, var(--surface)); color: color-mix(in srgb, var(--bad) 80%, var(--ink)); }
.pill.in_lucru { background: color-mix(in srgb, var(--warn) 18%, var(--surface)); color: color-mix(in srgb, var(--warn) 78%, var(--ink)); }
.pill.in_lucru::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@keyframes spin { to { transform: rotate(360deg); } }

.frames { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.frames figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.frames img { height: 200px; border-radius: 12px; display: block; }
.frames figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 3px; }
details.stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin: 10px 0; }
details.stage > summary { cursor: pointer; padding: 12px var(--pad); min-height: 50px; font-weight: 700; list-style: none; display: flex; gap: 8px; align-items: center; }
details.stage > summary::-webkit-details-marker { display: none; }
details.stage > summary .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); font-size: 13px; flex: none; }
details.stage > summary .sp { flex: 1; }
details.stage .body { padding: 0 var(--pad) var(--pad); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr.no td { color: var(--muted); }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl tr.reuse td.num { color: var(--ok); font-weight: 600; white-space: normal; }
.tbl tr.total th { border-bottom: 0; font-size: 16px; padding-top: 10px; }
.scroll { overflow-x: auto; max-width: 100%; }
pre { white-space: pre-wrap; word-break: break-word; background: var(--surface-2); border-radius: 12px; padding: 10px; font-size: 12.5px; max-height: 420px; overflow: auto; margin: 6px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; font-size: 14px; overflow-wrap: anywhere; }
.kv b { color: var(--muted); font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); width: 0; transition: width .3s; }
.list a.item { display: flex; gap: 10px; align-items: center; padding: 12px 0; min-height: 56px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.list a.item:last-child { border-bottom: 0; }
.list a.item .t { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.list a.item .t .small { font-weight: 400; }
.list a.item .cost { font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.list a.item[aria-current] { background: var(--surface-2); margin: 0 -10px; padding: 12px 10px; border-radius: var(--r-s); border-bottom-color: transparent; }

/* ── prima pagină ── */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 14px; border-radius: 28px; padding: 30px 22px 0; color: var(--cream); background: radial-gradient(120% 70% at 88% 108%, #c2410c 0%, rgba(194, 65, 12, 0) 58%), radial-gradient(90% 60% at 0% 0%, #6b2d72 0%, rgba(107, 45, 114, 0) 62%), linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 100%); display: grid; gap: 22px; }
.lp-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(255, 244, 230, .14) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lp-hero h1 em { font-style: italic; color: var(--sun); }
.lp-hero .lead { font-size: 18px; max-width: 30em; color: rgba(255, 244, 230, .86); margin: 12px 0 20px; }
.lp-hero .cta { background: var(--sun); color: #2a1206; box-shadow: 0 10px 26px -10px rgba(255, 181, 74, .8); }
.lp-hero .fine { font-size: 14px; color: rgba(255, 244, 230, .72); margin: 12px 0 0; }
.lp-stage { display: flex; justify-content: center; align-items: flex-end; min-height: 300px; }
.phone { position: relative; width: min(60vw, 232px); aspect-ratio: 9 / 16; margin-bottom: -40px; border-radius: 34px; border: 7px solid #150916; background: #150916; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 244, 230, .16); transform: rotate(-3deg); overflow: hidden; }
.phone .scene { position: absolute; inset: 0; border-radius: 27px; overflow: hidden; background: linear-gradient(180deg, #7a3a80 0%, #3a163f 60%, #1f0b22 100%); }
.phone .scene::before { content: ''; position: absolute; left: 50%; top: 20%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #f0c9a8; transform: translateX(-50%); box-shadow: 0 0 0 6px rgba(240, 201, 168, .12); }
.phone .scene::after { content: ''; position: absolute; left: 50%; top: 42%; width: 78%; height: 70%; border-radius: 46% 46% 0 0; background: linear-gradient(180deg, #ffb54a, #c2410c); transform: translateX(-50%); }
.phone .cap { position: absolute; left: 8%; right: 8%; top: 60%; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 7px; font-weight: 800; font-size: clamp(17px, 5.2vw, 22px); line-height: 1.12; color: #fff; text-shadow: 0 2px 0 #150916, 0 0 12px rgba(21, 9, 22, .8); text-transform: uppercase; }
.phone .cap span { animation: word 4.2s infinite; animation-delay: calc(var(--i) * .6s); }
@keyframes word { 0%, 13% { color: #ffd43b; transform: scale(1.16) rotate(-2deg); } 14%, 100% { color: #fff; transform: none; } }
.phone video { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; border-radius: 27px; opacity: 0; transition: opacity .5s; }
.phone video.live { opacity: 1; }
.phone .rec { position: absolute; z-index: 4; top: 10px; left: 50%; width: 56px; height: 16px; border-radius: 10px; background: #150916; transform: translateX(-50%); }
.lp-sec { margin: 42px 0 0; }
.lp-sec > h2 { font-size: clamp(26px, 6vw, 36px); }
.lp-sec > .muted { max-width: 38em; }
.lp-steps { display: grid; gap: 12px; margin-top: 16px; counter-reset: s; }
.lp-steps div { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 16px 66px; box-shadow: var(--shadow); min-height: 76px; }
.lp-steps div::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 700 20px var(--f-titlu); }
.lp-steps b { display: block; font-size: 17px; }
.lp-steps span { color: var(--muted); font-size: 15px; }
.lp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; padding: 0; list-style: none; }
.lp-feats li { background: var(--surface-2); border-radius: var(--r-s); padding: 14px; font-size: 14.5px; color: var(--muted); }
.lp-feats b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.login { max-width: 460px; margin: 16px auto 0; padding: 20px; scroll-margin-top: 80px; }
.login .tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface-2); padding: 4px; border-radius: 999px; gap: 2px; }
.login .tabs button { background: transparent; padding: 8px 6px; font-size: 14.5px; }
.login .tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.login form button { width: 100%; margin-top: 14px; }
#code { font-size: 26px; letter-spacing: .32em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── alegerile clipului (reel nou + încă o variantă) ── */
.pg-head { padding: 26px 0 4px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
.pg-head h1 { font-size: clamp(32px, 8vw, 48px); margin: 0; flex: 1 1 auto; }
.pg-head p { margin: 0; flex: 1 1 100%; }
.budget { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 14px; font-weight: 600; }
.maker { display: grid; gap: 0; }
.maker > .steps { min-width: 0; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); margin: 12px 0 0; box-shadow: var(--shadow); min-width: 0; }
.step-h { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.step-h .num { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 700 18px var(--f-titlu); }
.step-h h2 { font-size: 22px; margin: 2px 0 0; }
.step-h p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.step-h .opt { font: 600 12px Figtree, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); padding: 2px 8px; border-radius: 99px; vertical-align: middle; margin-left: 6px; white-space: nowrap; }
.sub { font-weight: 700; font-size: 14px; margin: 16px 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sub .count { font-weight: 600; color: var(--muted); }
.drop { display: grid; justify-items: center; gap: 4px; text-align: center; margin: 0; padding: 26px 16px; border: 2px dashed color-mix(in srgb, var(--brand) 40%, var(--line)); border-radius: var(--r); background: var(--surface-2); cursor: pointer; font-weight: 400; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.drop svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: 4px; }
.drop b { font-size: 18px; }
.clipbox { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.clipbox .thumb { width: 72px; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, var(--plum), var(--plum-deep)); display: grid; place-items: center; color: var(--cream); font-size: 24px; }
.clipbox .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clipbox .nm { font-weight: 700; overflow-wrap: anywhere; }
.clipbox .bar { margin: 8px 0 4px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seg button { flex-direction: column; gap: 1px; padding: 8px 4px; min-height: 60px; border-radius: var(--r-s); background: var(--surface-2); color: var(--ink); font-size: 18px; font-weight: 800; }
.seg button small { font-size: 12px; font-weight: 500; color: var(--muted); }
.seg button[aria-pressed=true] { background: var(--brand); color: var(--on-brand); }
.seg button[aria-pressed=true] small { color: inherit; opacity: .8; }
.note { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 8px 15px; }
.chips button[aria-pressed=true] { background: var(--ink); color: var(--bg); }
.chips .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--e, var(--muted)); }
[data-energy=calm] { --e: #3b9eb5; } [data-energy=mediu] { --e: #c08a16; } [data-energy=energic] { --e: #e0441b; }
.recipes { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 10px; scroll-padding: 0 var(--pad); scrollbar-width: thin; }
.recipes .recipe { flex: 0 0 132px; scroll-snap-align: start; }
.recipe { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; text-align: left; padding: 0; overflow: hidden; border-radius: var(--r-s); background: var(--surface-2); color: var(--ink); font-weight: 500; }
.recipe .rpv { position: relative; display: block; aspect-ratio: 9 / 16; background: linear-gradient(165deg, #6b2d72, var(--plum-deep)); overflow: hidden; }
.recipe .rpv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.recipe .rpv video.live { opacity: 1; }
.recipe .rpv .fb { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; color: rgba(255, 244, 230, .9); font: 700 20px/1.1 var(--f-titlu); }
.recipe .rtx { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.recipe b { font: 700 19px var(--f-titlu); }
.recipe .rtx span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.recipe .rtx small { font-size: 11.5px; color: var(--muted); opacity: .85; margin-top: 2px; }
/* aproximarea filtrului / retro-ului peste previzualizarea stilului de bază (rețetele rapide) */
.rpv.look-golden video, .rpv.look-cald video { filter: sepia(.35) saturate(1.25) brightness(1.05); }
.rpv.look-natural video { filter: contrast(.96) brightness(1.04) saturate(1.05); }
.rpv.look-natural.look-golden video { filter: sepia(.3) saturate(1.2) brightness(1.07) contrast(.97); }
.rpv.look-cinematic video { filter: contrast(1.15) saturate(.85); }
.rpv.look-alb-negru video, .rpv.look-bw video { filter: grayscale(1) contrast(1.1); }
.rpv.look-vhs video { filter: saturate(1.4) contrast(1.1) hue-rotate(-8deg); }
.rpv.look-vhs::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); pointer-events: none; }
.recipe[aria-pressed=true] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 10px; scroll-padding: 0 var(--pad); scrollbar-width: thin; }
.pcard { position: relative; display: flex; flex: 0 0 150px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0; text-align: left; border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--line); scroll-snap-align: start; min-height: 0; }
.rail.sm .pcard { flex-basis: 118px; }
.pcard .pv { position: relative; display: block; aspect-ratio: 9 / 16; background: linear-gradient(165deg, #6b2d72, var(--plum-deep)); overflow: hidden; }
.pcard .pv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.pcard .pv video.live { opacity: 1; }
.pcard .pv .fb { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; color: rgba(255, 244, 230, .9); font: 700 20px/1.1 var(--f-titlu); }
.pcard .tag { position: absolute; z-index: 2; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; background: rgba(21, 9, 22, .72); color: #fff; font-size: 11.5px; font-weight: 700; }
.pcard .tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--e, #fff); }
.pcard .tx { display: block; padding: 9px 11px 11px; }
.pcard .tx b { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.pcard .tx small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.pcard::after { content: '✓'; position: absolute; z-index: 3; right: 8px; top: 8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 15px; transform: scale(0); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.pcard[aria-pressed=true] { box-shadow: inset 0 0 0 2.5px var(--accent), 0 10px 24px -12px var(--accent); }
.pcard[aria-pressed=true]::after { transform: scale(1); }
.pcard.none .pv { background: var(--surface-2); }
.pcard.none .pv .fb { color: var(--muted); font-size: 34px; }
.sum { position: sticky; bottom: 0; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 12px calc(-1 * var(--pad)) 0; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.sum h2, .sum dl { display: none; }
.sum .price { flex: 1; min-width: 0; line-height: 1.2; }
.sum .price b { display: block; font: 700 26px var(--f-titlu); font-variant-numeric: tabular-nums; }
.sum .price span { font-size: 13px; color: var(--muted); }
.sum .hint, .sum .err { flex: 1 1 100%; margin: 0; font-size: 13.5px; }
.sum .hint { color: var(--muted); }
.sum .hint:empty { display: none; }
.subnav { flex: 1 1 100%; display: flex; gap: 6px; overflow-x: auto; margin-top: 6px; scrollbar-width: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.subnav a.on { background: var(--brand); color: var(--on-brand); }
#mk, #lista, #curand { scroll-margin-top: 76px; }
.soon { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.soon li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; padding-right: 100px; border-radius: var(--r); background: var(--surface); border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--line)); }
.soon .ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); font-size: 22px; }
.soon b { display: block; font-size: 16px; line-height: 1.25; }
.soon p { margin: 3px 0 0; font-size: 14.5px; color: var(--muted); }
.soon-tag { position: absolute; right: 12px; top: 14px; padding: 3px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }

/* ── pagina reelului ── */
.back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; text-decoration: none; }
.rp-head { display: flex; gap: 10px; align-items: flex-start; }
.rp-head h1 { flex: 1; min-width: 0; font-size: clamp(26px, 6.4vw, 38px); margin: 0; overflow-wrap: anywhere; }
.metas { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; padding: 0; list-style: none; }
.metas li { font-size: 13.5px; padding: 3px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.metas li b { color: var(--ink); font-weight: 600; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 4px; padding: 0; list-style: none; }
.track li { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-align: center; }
.track li::before { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; border-radius: 3px; background: var(--line); }
.track li:first-child::before { display: none; }
.track li i { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2.5px var(--line); font-style: normal; font-size: 14px; font-weight: 800; }
.track li.done { color: var(--ink); }
.track li.done::before, .track li.run::before, .track li.wait::before { background: var(--ok); }
.track li.done i { background: var(--ok); color: var(--surface); box-shadow: none; }
.track li.run, .track li.wait { color: var(--ink); }
.track li.run i { box-shadow: inset 0 0 0 2.5px var(--accent); }
.track li.run i::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--accent); animation: spin 1s linear infinite; }
.track li.wait i { box-shadow: inset 0 0 0 2.5px var(--accent); color: var(--accent); }
.track li.bad { color: var(--bad); }
.track li.bad i { background: var(--bad); color: var(--surface); box-shadow: none; }
.now { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--surface-2); font-size: 15px; }
.now b { display: block; }
.phases { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.phases li { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; color: var(--muted); }
.phases li::before { content: '○'; width: 16px; flex: none; text-align: center; }
.phases li.done { color: var(--ink); } .phases li.done::before { content: '✓'; color: var(--ok); font-weight: 800; }
.phases li.run { color: var(--ink); font-weight: 600; } .phases li.run::before { content: '◐'; color: var(--accent); animation: spin 1.2s linear infinite; }
.phases li span { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; }
.out { display: grid; gap: 14px; margin-top: 16px; }
.out > div { min-width: 0; }
.out .player { justify-self: center; width: min(100%, 300px); border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 24px 50px -24px rgba(42, 15, 46, .6), 0 0 0 1px var(--line); }
.out .player video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #000; }
.out .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.saved { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-s); background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: color-mix(in srgb, var(--ok) 70%, var(--ink)); font-weight: 600; font-size: 14.5px; }
.variant { padding: 0; }
.variant > summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: var(--pad); min-height: 64px; }
.variant > summary::-webkit-details-marker { display: none; }
.variant > summary .plus { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 24px; font-weight: 700; line-height: 1; transition: transform .2s; }
.variant[open] > summary .plus { transform: rotate(45deg); }
.variant > summary h2 { margin: 0; font-size: 22px; }
.variant > summary p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.variant .v-body { padding: 0 var(--pad); }
.variant .step { box-shadow: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: var(--pad) 0; margin: 0; }
.variant .sum { background: color-mix(in srgb, var(--surface) 92%, transparent); border-radius: 0 0 var(--r) var(--r); }

@media (max-width: 520px) { .frames img { height: 150px; } .top .who { display: none; } }
@media (min-width: 620px) {
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-steps div { padding: 66px 16px 16px; }
  .lp-feats { grid-template-columns: repeat(4, 1fr); }
  .soon { grid-template-columns: repeat(2, 1fr); }
  .out { grid-template-columns: 300px 1fr; align-items: start; }
  .out .acts { grid-template-columns: 1fr; max-width: 260px; }
}
@media (min-width: 900px) {
  :root { --pad: 22px; }
  .lp-hero { grid-template-columns: 1.15fr .85fr; align-items: center; padding: 56px 56px 0; border-radius: 36px; }
  .lp-hero .txt { padding-bottom: 56px; }
  .lp-stage { min-height: 440px; }
  .phone { width: 262px; }
  .phone .cap { font-size: 24px; }
  .maker { grid-template-columns: minmax(0, 1fr) 320px; gap: 0 22px; align-items: start; }
  .rail.wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); overflow: visible; margin: 0; padding: 4px 0 0; }
  .rail.wrap.sm { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
  .maker > .sum { position: sticky; top: 78px; bottom: auto; display: block; margin: 12px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .maker > .sum h2, .maker > .sum dl { display: block; }
  .maker > .sum dl { margin: 10px 0 14px; font-size: 14.5px; }
  .maker > .sum dl div { display: flex; gap: 10px; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
  .maker > .sum dt { color: var(--muted); }
  .maker > .sum dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
  .maker > .sum .price { margin-bottom: 12px; }
  .maker > .sum .price b { font-size: 34px; }
  .maker > .sum .cta { width: 100%; }
  .maker > .sum .hint, .maker > .sum .err { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* 🎠 caruselul: cardul din mijloc în față, vecinii în spate (transformările le pune app.js > coverflow) */
.flow.flowing { scroll-snap-type: x mandatory; padding-left: calc(50% - 66px); padding-right: calc(50% - 66px); gap: 0; overscroll-behavior-x: contain; scrollbar-width: none; padding-top: 14px; padding-bottom: 16px; }
.flow.flowing::-webkit-scrollbar { display: none; }
.flow.flowing > * { scroll-snap-align: center; margin: 0 -10px; transition: transform .18s ease-out, opacity .18s ease-out, box-shadow .2s; transform-origin: 50% 60%; will-change: transform; }
.flow.flowing > .front { box-shadow: 0 14px 34px rgba(36, 19, 31, .28); }
.rail.flow.flowing { padding-left: calc(50% - 75px); padding-right: calc(50% - 75px); }
.rail.sm.flow.flowing { padding-left: calc(50% - 59px); padding-right: calc(50% - 59px); }
@media (prefers-reduced-motion: reduce) { .flow.flowing > * { transition: none; } }
.flow { position: relative; isolation: isolate; }
/* 13.11 (captura lui Tata din Admin: „AI: ca adminul” ieșea din card și împingea pagina): nimic dintr-un rând nu e mai lat decât ecranul */
input, select, textarea { max-width: 100%; }
.row > * { min-width: 0; max-width: 100%; }
select { text-overflow: ellipsis; }

/* ⚡ Cât de repede: Normal (2 nuclee, implicit) · Fast (4) · Turbo (8) · Mega (în curând) */
.speeds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.speeds button { position: relative; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 14px; border-radius: var(--r-s); background: var(--surface-2); color: var(--ink); font-weight: 500; min-height: 92px; }
.speeds button b { font: 700 20px var(--f-titlu); }
.speeds button small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.speeds .sp-p { font-size: 13px; font-weight: 700; margin-top: auto; }
.speeds button[aria-pressed=true] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.speeds button:disabled { opacity: .55; }
.speeds .soon-tag { position: absolute; top: 8px; right: 8px; }
@media (min-width: 620px) { .speeds { grid-template-columns: repeat(4, 1fr); } }
.speeds button:disabled { padding-top: 30px; }

/* 🎠 13.11 noaptea (Tata: „mai vizibile, mai mari; omul vrea să vadă efectul, nu scrisul”): în carusel cardurile sunt mari
   (~58% din lățimea ecranului), filmulețul ocupă aproape tot cardul, iar sub el stă doar numele; descrierea apare doar pe cardul din față */
.flow.flowing { --cw: min(58vw, 230px); padding-left: calc(50% - var(--cw) / 2) !important; padding-right: calc(50% - var(--cw) / 2) !important; }
.flow.flowing > .pcard, .flow.flowing > .recipe { flex: 0 0 var(--cw) !important; margin: 0 calc(var(--cw) * -0.09); border-radius: 20px; }
.rail.sm.flow.flowing { --cw: min(46vw, 180px); }
.flow.flowing .pcard .tx, .flow.flowing .recipe .rtx { padding: 8px 12px 10px; text-align: center; }
.flow.flowing .pcard .tx b { font-size: 16px; }
.flow.flowing .recipe .rtx b { font-size: 20px; }
.flow.flowing > :not(.front) .tx small, .flow.flowing > :not(.front) .rtx span, .flow.flowing > :not(.front) .rtx small { display: none; }
.flow.flowing > .front .tx small, .flow.flowing > .front .rtx span { display: block; }
.flow.flowing .pcard .pv .fb, .flow.flowing .recipe .rpv .fb { font-size: 22px; }

.srvband { margin: 0; padding: 10px 16px; text-align: center; font-size: 14px; font-weight: 600; background: var(--surface-2); color: var(--ink); }
.srvband.ok { background: #dcfce7; color: #14532d; }
.srvband.bad { background: #fee2e2; color: #7f1d1d; }

/* 📋 planul sus și ✕ oprirea (13.11) */
.planbox { margin: 12px 0 4px; padding: 14px 16px; border-radius: var(--r-s); background: var(--surface-2); }
.planbox h3 { margin: 0 0 8px; }
.plan-list { list-style: none; margin: 6px 0; padding: 0; }
.plan-list li { display: grid; grid-template-columns: 52px minmax(70px, auto) 1fr; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.plan-list .pt { color: var(--muted); font-variant-numeric: tabular-nums; }
.plan-list span:last-child { color: var(--muted); }
button.stop { border-color: var(--bad, #b91c1c); color: var(--bad, #b91c1c); }

.speeds.q3 { grid-template-columns: repeat(3, 1fr); }
.speeds.q3 button { min-height: 86px; padding: 10px; }

/* 🤖 Auto */
.auto-step { background: linear-gradient(135deg, var(--accent-soft, #fff1e6), var(--surface)); }
.auto-row { display: flex; gap: 14px; align-items: flex-start; }
.auto-row > div { flex: 1; }
.auto-row h2 { margin: 0 0 4px; }
.switch { position: relative; flex: 0 0 auto; width: 58px; height: 34px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + span { background: var(--accent, #c2410c); }
.switch input:checked + span::after { transform: translateX(24px); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 🎩 accesoriile: cardul cu obiectul + proba pe poza clipului */
.acc-wrap { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: start; }
.acc-try { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: linear-gradient(165deg, #6b2d72, var(--plum-deep, #2a1029)); }
.acc-photo, .acc-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; text-align: center; padding: 8px; color: #fff; }
.acc-photo video { padding: 0; }
.acc-layer img { position: absolute; left: 50%; transform: translate(-50%, -50%); pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.acc-note { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: 10.5px; line-height: 1.2; color: #fff; text-align: center; text-shadow: 0 1px 3px #000; }
.acc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.acc-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: var(--r-s, 14px); background: var(--surface-2); color: var(--ink); font-weight: 500; text-align: center; min-height: 112px; }
.acc-card img { width: 64px; height: 48px; object-fit: contain; }
.acc-card b { font-size: 14.5px; }
.acc-card small { font-size: 11.5px; color: var(--muted); line-height: 1.25; }
.acc-card[aria-pressed=true] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
@media (min-width: 620px) { .acc-wrap { grid-template-columns: 180px 1fr; } .acc-grid { grid-template-columns: repeat(3, 1fr); } }
.acc-photo > span { align-self: end; margin-bottom: 38px; }

/* 🗂 Reelurile mele: dosare pe clip, carduri cu preview, 1 / 2 / 4 pe rând */
.colsw { display: inline-flex; gap: 4px; margin: 0 0 10px; background: var(--surface-2); padding: 4px; border-radius: 999px; }
.colsw button { min-width: 40px; min-height: 36px; border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; }
.colsw button[aria-pressed=true] { background: var(--accent); color: #fff; }
.folder { border-top: 1px solid var(--line); padding: 10px 0; }
.folder summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; overflow-wrap: anywhere; }
.rgrid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.rcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); min-width: 0; }
.rv { aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.rv video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-wait { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 8px; color: var(--muted); }
.rmeta { display: flex; flex-direction: column; min-width: 0; }
.rmeta b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rmeta small { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.rgrid[data-cols="4"] .rmeta small { display: none; }
.rgrid[data-cols="4"] .rmeta b { font-size: 12px; }
.rgrid[data-cols="1"] { max-width: 380px; }

/* 🧪 banda testelor, sub bara de sus, pe orice pagină; duce în galerie */
.testband { display: block; margin: 0; padding: 10px 16px; background: var(--accent-soft, #fbe3d6); color: var(--ink); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.testband .go { white-space: nowrap; font-weight: 700; color: var(--accent); }

/* 👀 studioul: ce se vede cât se montează (cadre din clip → decupaj → cadre din reel, cu fade; planul pe rând; etapa și procentul) */
.studio { display: grid; grid-template-columns: minmax(0, 200px) 1fr; gap: 16px; align-items: start; margin: 14px 0 6px; }
@media (max-width: 460px) { .studio { grid-template-columns: 1fr; } .st-screen { width: 100%; max-width: 240px; margin: 0 auto; } }
.st-screen { width: 100%; }
.st-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: linear-gradient(165deg, #6b2d72, #2a1029); box-shadow: 0 18px 50px rgba(42, 16, 41, .35); }
.st-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 3.2s ease; }
.st-screen img.on { opacity: 1; transform: scale(1); }
.st-shimmer { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.16) 50%, transparent 70%); background-size: 250% 100%; animation: stShim 1.4s linear infinite; transition: opacity .6s; }
.st-shimmer.gone { opacity: 0; }
@keyframes stShim { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.st-tag { position: absolute; left: 10px; top: 10px; z-index: 2; font-size: 12px; font-weight: 700; color: #fff; background: rgba(20, 10, 22, .55); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; }
.st-tag:empty { display: none; }
.st-plan { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; margin: 0; font-size: 13px; line-height: 1.35; color: #fff; background: rgba(20, 10, 22, .62); backdrop-filter: blur(6px); padding: 8px 10px; border-radius: 12px; opacity: 0; }
.st-plan span { display: inline-block; font-variant-numeric: tabular-nums; color: #ffd7b0; margin-right: 4px; }
.st-plan.in { animation: stIn .5s ease forwards; }
@keyframes stIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.st-info b.st-now { display: block; font-size: 17px; margin-bottom: 8px; }
.st-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; position: relative; }
.st-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--accent); transition: width .8s ease; }
.st-bar.ind i { width: 35% !important; animation: stInd 1.6s ease-in-out infinite; }
@keyframes stInd { from { left: -35%; } to { left: 100%; } }
.st-sub { font-size: 14px; color: var(--muted); margin: 10px 0 8px; }
.st-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.st-steps li::before { content: '○'; display: inline-block; width: 20px; }
.st-steps li.done { color: var(--ink); } .st-steps li.done::before { content: '✓'; color: #1f8a4c; }
.st-steps li.run { color: var(--ink); font-weight: 700; } .st-steps li.run::before { content: '●'; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .st-screen img, .st-plan.in, .st-shimmer, .st-bar.ind i { animation: none !important; transition: none !important; transform: none !important; } }

/* ⏳ banda reelurilor în lucru / gata (sub bara de sus, pe orice pagină) */
.testband.work { background: var(--surface-2); }
.wb-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; animation: wbPulse 1.2s ease-in-out infinite; }
@keyframes wbPulse { 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .wb-dot { animation: none; } }
/* 13.11 (verificarea cu manualul, C1–C2): la admin, pe telefoanele înguste, bara de sus nu mai scoate „Ieși” din ecran; ținte de 44 px */

.colsw button { min-height: 44px; }

/* 🗂 cardul din galerie, după manual (§3): titlul pe imagine, durata în colț, afișul mic, un rând mic dedesubt */
.rv { position: relative; }
.rv .rv-poster, .rv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, rgba(10, 4, 12, .78), transparent); pointer-events: none; }
.rv-title { position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 2; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.25; text-shadow: 0 1px 4px rgba(0,0,0,.6); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rv-dur { position: absolute; right: 8px; top: 8px; z-index: 2; font-size: 12px; font-weight: 700; color: #fff; background: rgba(20, 10, 22, .55); backdrop-filter: blur(6px); padding: 3px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.rv-wait { position: absolute; inset: 0; z-index: 1; }
.rv.busy .rv-poster { filter: saturate(.6) brightness(.7); }
.rv.busy::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); background-size: 250% 100%; animation: stShim 1.4s linear infinite; }
.rv.busy .rv-wait { color: #fff; }
.rcard small.rmeta { font-size: 12px; color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rgrid[data-cols="4"] .rv-title { font-size: 11.5px; } .rgrid[data-cols="4"] small.rmeta { display: none; }
@media (prefers-reduced-motion: reduce) { .rv.busy::before { animation: none; } }

/* ▶ vizualizatorul pe tot ecranul (manualul §4): ‹ Înapoi · titlu · ✕ sus; reelul mare; săgeți și numărul din sticlă; jos Descarcă · Trimite · ⋯ */
html.noscroll, html.noscroll body { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 50; background: #0b070c; color: #fff; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100dvh; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.viewer.in .vw-stage video { animation: vwIn .35s ease; }
@keyframes vwIn { from { opacity: 0; } to { opacity: 1; } }
.vw-top { display: flex; align-items: center; gap: 8px; padding: 6px max(12px, env(safe-area-inset-left)); }
.vw-top b { flex: 1; text-align: center; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vw-top button { min-height: 44px; min-width: 44px; background: transparent; color: #fff; font-weight: 700; font-size: 15px; border: 0; }
.vw-stage { position: relative; display: grid; place-items: center; min-height: 0; height: 100%; overflow: hidden; padding: 0 8px; }
.vw-stage video { max-width: 100%; max-height: 100%; width: auto; height: 100%; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 14px; background: #000; }
.vw-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; color: #fff; font-size: 24px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.vw-nav.prev { left: 10px; } .vw-nav.next { right: 10px; }
.vw-count { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: 999px; }
.vw-count:empty { display: none; }
.vw-play { position: absolute; width: 64px; height: 64px; border-radius: 50%; display: none; place-items: center; font-size: 26px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); pointer-events: none; }
.viewer.paused .vw-play { display: grid; }
.vw-acts { display: grid; grid-template-columns: 1fr 1fr 52px; gap: 10px; padding: 10px max(16px, env(safe-area-inset-left)) 12px; }
.vw-acts .btn, .vw-acts button, .vw-acts a { min-height: 52px; display: flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; padding: 0 10px; font-size: 15.5px; }
.vw-acts .ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.vw-more { font-size: 22px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .viewer.in .vw-stage video { animation: none; } }

/* ✏️ pe Auto: un singur buton pentru durată / viteză / calitate */
.more-opts { width: 100%; min-height: 52px; margin: 4px 0 14px; border-radius: 16px; justify-content: space-between; display: flex; align-items: center; gap: 10px; padding: 0 18px; font-weight: 700; }
.more-opts span { font-weight: 500; color: var(--muted); font-size: 14px; }

.go-gal { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 18px 20px; text-decoration: none; color: var(--ink); font-size: 22px; }
.go-gal b { display: block; font-size: 17px; } .go-gal small { display: block; color: var(--muted); font-size: 14px; }

/* ✨ încărcarea: scheletul cu lumina care trece și intrarea cu „f” (manualul §5) */
.sk { position: relative; overflow: hidden; background: var(--surface-2); border-radius: 12px; }
.sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); background-size: 250% 100%; animation: stShim 1.4s linear infinite; }
.sk-line { display: block; height: 14px; margin: 8px 0; width: 70%; }
.splash { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.f-ring { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); animation: fGlow 1.6s ease-in-out infinite; }
.f-ring span { font-family: var(--f-titlu); font-size: 44px; color: #FFB54A; line-height: 1; padding-bottom: 6px; }
@keyframes fGlow { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 70% { box-shadow: 0 0 0 18px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .sk::after, .f-ring { animation: none; } }

/* ✏️ iconițele fine (manualul §7) */
.ico { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }
.soon .ic .ico { width: 24px; height: 24px; color: var(--brand); }
.more-opts .mo-l { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }

/* 📱 bara de jos (rețeta pwa-bara-jos, culorile Reels) */
html, body { min-height: 100lvh; }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); align-items: end;
  height: calc(50px + max(6px, calc(env(safe-area-inset-bottom, 0px) - 26px))); padding-bottom: max(6px, calc(env(safe-area-inset-bottom, 0px) - 26px));
  padding-left: max(6px, env(safe-area-inset-left, 0px)); padding-right: max(6px, env(safe-area-inset-right, 0px));
  border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); transition: transform .2s, opacity .2s; }
.nav[hidden] { display: none; }
.nav-b { height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 600; touch-action: manipulation; }
.nav-b .ico { width: 22px; height: 22px; }
.nav-b.on { color: var(--brand); }
body.kb .nav, html.noscroll .nav { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom, 0px))); opacity: 0; pointer-events: none; }
body.has-nav main { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
body.has-nav .sum { bottom: calc(50px + max(6px, calc(env(safe-area-inset-bottom, 0px) - 26px))); padding-bottom: 10px; }
body.has-nav.kb .sum { bottom: 0; }
@media (min-width: 900px) { .nav { left: max(12px, calc(50% - 240px)); right: max(12px, calc(50% - 240px)); } }
.subnav a .ico { margin-right: 6px; }
/* bara de jos face treaba meniului de pe pagină și a butonului Admin de sus (manualul: puține butoane) */
body.has-nav .subnav { display: none !important; }

/* 👁 privirea pe clip: fraza sub clip și semnul pe cardurile de stil */
.look { margin: 10px 2px 0; font-size: 14.5px; line-height: 1.4; padding-left: 22px; position: relative; }
.look::before { content: ''; position: absolute; left: 4px; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.look.ok::before { background: #2f9e62; } .look.mid::before { background: #e0a43a; } .look.hard::before { background: #d4583f; }
.look.wait { color: var(--muted); } .look.wait::before { animation: wbPulse 1.2s ease-in-out infinite; }
.pcard .pv { position: relative; }
.ease { position: absolute; left: 8px; bottom: 8px; z-index: 3; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: #fff; background: rgba(20, 10, 22, .62); backdrop-filter: blur(6px); }
.ease::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: #49c47f; }
.ease[data-n="mediu"]::before { background: #f0bb52; } .ease[data-n="greu"]::before { background: #f07a5f; }
.recipe .rpv { position: relative; }

/* tipul lucrării sub stilul ales; ceasul montajului */
.need { margin: 10px 0 0; font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.need .nl-mediu { color: #9a6a12; } .need .nl-greu { color: #b2412a; }
.st-clock { display: flex; gap: 14px; align-items: baseline; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.st-clock b { font: 700 30px var(--f-titlu); }
.st-clock span { color: var(--muted); font-size: 14px; }

/* ✂️ fereastra decupajului: cadrul în 3 benzi, reelul la aceeași secundă, banda de timp colorată */
.st-screen img.wide { object-fit: contain; background: #140a16; }
.dc-open { width: 100%; min-height: 48px; margin-top: 10px; }
.viewer.decup { grid-template-rows: auto minmax(0, 1fr) auto; }
.dc-body { overflow: auto; padding: 4px max(14px, env(safe-area-inset-left)) 8px; display: grid; gap: 12px; align-content: start; }
.dc-main { margin: 0; }
.dc-img { aspect-ratio: 27 / 16; border-radius: 12px; overflow: hidden; background: #241826; }
.dc-img img, .dc-rimg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dc-main figcaption { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 12px; color: #d9cbd6; margin-top: 6px; }
.dc-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: start; }
.dc-reel { margin: 0; } .dc-reel figcaption { font-size: 11.5px; color: #d9cbd6; margin-top: 4px; }
.dc-rimg { aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #241826; }
.dc-info b { font: 700 28px var(--f-titlu); display: block; }
.dc-info p { margin: 4px 0; color: #e6d9e2; } .dc-info .muted { color: #c9b8c4; }
.dc-time { padding: 8px max(16px, env(safe-area-inset-left)) 14px; }
.dc-bar { position: relative; height: 40px; border-radius: 10px; background: #2a1d2c; overflow: hidden; cursor: pointer; touch-action: manipulation; }
.dc-bar i { position: absolute; top: 0; bottom: 0; }
.dc-bar .n-verde { background: #2f9e62; } .dc-bar .n-galben { background: #e0a43a; } .dc-bar .n-rosu { background: #d4583f; }
.dc-head { position: absolute; top: -2px; bottom: -2px; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.4); transition: left .2s; }
.dc-leg { display: flex; gap: 14px; justify-content: center; font-size: 12px; color: #d9cbd6; margin-top: 6px; }
.dc-leg span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: 0; }
.dc-leg .l-v::before { background: #2f9e62; } .dc-leg .l-g::before { background: #e0a43a; } .dc-leg .l-r::before { background: #d4583f; }
.viewer .sk { background: #2a1d2c; }

/* ✂️ pasul 2: ce nu e bine + verdictul cu cifre */
.dc-say h3 { font: 600 15px Figtree, sans-serif; color: #fff; margin: 4px 0 8px; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-chips .chip { min-height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); font-weight: 600; font-size: 14px; }
.dc-alt { display: grid; gap: 6px; margin-top: 10px; color: #e6d9e2; font-size: 14px; }
.dc-alt textarea { font: 16px Figtree, sans-serif; min-height: 64px; border-radius: 12px; padding: 10px; }
.dc-alt button { min-height: 44px; justify-self: start; padding: 0 18px; }
.dc-verdict { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; font-size: 14.5px; line-height: 1.45; }
.dc-verdict p { margin: 0 0 8px; }
.dc-verdict.confirmat { box-shadow: inset 3px 0 0 #2f9e62; } .dc-verdict.respins { box-shadow: inset 3px 0 0 #e0a43a; } .dc-verdict.dorinta, .dc-verdict.neverificat { box-shadow: inset 3px 0 0 #94c8f2; }
.dc-verdict.wait { color: #c9b8c4; }
.dc-verdict button { min-height: 44px; color: #fff; border-color: rgba(255,255,255,.3); }
.dc-verdict.alta { box-shadow: inset 3px 0 0 #d4583f; }
.dc-verdict [data-sug] { margin: 0 0 8px; }

/* ⭐ notele pe reel */
.nota { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.nota h3 { margin-bottom: 8px; }
.nota-row { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px; font-weight: 600; }
.nota-dots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.nota-dots button { min-height: 40px; padding: 0; border-radius: 10px; background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.nota-dots button[aria-pressed=true] { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.nota-quick { display: flex; gap: 8px; margin: 10px 0 6px; } .nota-quick .chip { min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); font-weight: 600; }
.nota-com { display: grid; gap: 6px; font-size: 14px; } .nota-com textarea { font: 16px Figtree, sans-serif; min-height: 64px; border-radius: 12px; padding: 10px; }
.rv-nota { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 12px; font-weight: 700; color: #fff; background: rgba(20, 10, 22, .55); backdrop-filter: blur(6px); padding: 3px 8px; border-radius: 999px; }
.nota-quick .chip { color: var(--ink); border: 1px solid var(--line); }

/* 🧭 ideile regizorului: carduri cu preview, ceasul de 20 s, butonul care spune câte reeluri pornesc */
.viewer.dirs { grid-template-rows: auto minmax(0, 1fr) auto; }
.dir-body { overflow: auto; padding: 4px max(14px, env(safe-area-inset-left)) 12px; }
.dir-clock { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 4px 12px; margin: 4px 0 14px; position: relative; }
.dir-clock svg { width: 52px; height: 52px; transform: rotate(-90deg); grid-row: span 1; }
.dir-clock .bg { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 4; }
.dir-clock .fg { fill: none; stroke: #ffb54a; stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.dir-clock > b { position: absolute; left: 0; top: 0; width: 52px; height: 52px; display: grid; place-items: center; font: 700 20px var(--f-titlu); color: #fff; }
.dir-clock > span { color: #e6d9e2; font-size: 14.5px; line-height: 1.35; }
.dir-clock.stopped { opacity: .45; }
.dir-sub { color: #e6d9e2; margin: 4px 0 12px; }
.dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dir-card { display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: 16px; overflow: hidden; background: #241826; color: #fff; border: 2px solid transparent; touch-action: manipulation; }
.dir-card[aria-pressed=true] { border-color: #ffb54a; }
.dir-pv { position: relative; display: block; aspect-ratio: 9 / 12; background: linear-gradient(165deg, #6b2d72, #2a1029); overflow: hidden; }
.dir-pv video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-pv .fb { position: absolute; inset: 0; display: grid; place-items: center; font: 700 20px var(--f-titlu); color: rgba(255,244,230,.9); text-align: center; padding: 8px; }
.dir-rec { position: absolute; left: 8px; top: 8px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(20,10,22,.62); backdrop-filter: blur(6px); }
.dir-ok { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #ffb54a; color: #2a1206; font-weight: 800; opacity: 0; transform: scale(.6); transition: .2s; }
.dir-card[aria-pressed=true] .dir-ok { opacity: 1; transform: none; }
.dir-tx { display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 12px; }
.dir-tx b { font-size: 15px; } .dir-tx span { font-size: 13px; line-height: 1.35; color: #e6d9e2; } .dir-tx small { font-size: 11.5px; color: #c9b8c4; }
.dir-go { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px max(16px, env(safe-area-inset-left)) 12px; }
.dir-go button { min-height: 54px; } .dir-go .ghost { color: #fff; border-color: rgba(255,255,255,.35); padding: 0 16px; }
.more-dir { width: 100%; min-height: 52px; margin-top: 12px; }
.toast { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 60; max-width: min(92vw, 460px); padding: 12px 16px; border-radius: 14px; background: #2a1d2c; color: #fff; font-size: 14.5px; line-height: 1.4; box-shadow: 0 18px 60px #0006; opacity: 0; pointer-events: none; transition: .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .dir-clock .fg, .dir-ok, .toast { transition: none; } }

/* 🏠 Acasă simplu (13.11, Tata: „cum era prima pagină, frumos”): titlul, clipul, Auto, apoi reelurile tale */
.home-head h1 { font-size: clamp(30px, 7vw, 44px); }
.want summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.want[open] summary { margin-bottom: 6px; }
.home-list { margin-top: 22px; }
.hl-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; } .hl-h a { font-weight: 700; color: var(--brand); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.home-list .colsw { display: none; }

/* ▶ reelul gata, simplu: mare, 3 butoane, nota; restul sub „Mai multe” */
.out.one { display: block; }
.out.one .player { max-width: 380px; margin: 0 auto; }
.acts3 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.acts3 .btn, .acts3 button { min-height: 52px; display: flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; }
.acts3 #again { grid-column: 1 / -1; }
.dir-name { margin: 8px 0 0; text-align: center; }
.more-info { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 6px; }
.more-info > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: 8px; font-weight: 700; }

/* 13.11 (Tata: „butoane înapoi urâte, bagă design”): butonul de cont rotund, înapoi ca pastilă, ecranul de eroare liniștit */
.acct { position: relative; }
.acct-b { width: 44px; height: 44px; border-radius: 50%; padding: 0; display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 20px var(--f-titlu); border: 0; box-shadow: 0 4px 14px rgba(74, 31, 79, .25); }
.acct-m { position: absolute; right: 0; top: 52px; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(30, 10, 30, .18); padding: 6px; z-index: 60; }
.acct-m .acct-n { margin: 6px 10px 8px; font-size: 13.5px; color: var(--muted); }
.acct-m a, .acct-m button { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 46px; padding: 0 12px; border-radius: 12px; background: transparent; color: var(--ink); font: 600 15px Figtree, sans-serif; text-decoration: none; border: 0; text-align: left; }
.acct-m a:hover, .acct-m button:hover { background: var(--surface-2); }
.acct-m svg, .back svg, .oops-i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.acct-m #logout { color: #a33a2a; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 14px 0 8px; margin: 10px 0 2px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.oops { max-width: 420px; margin: 9vh auto 0; text-align: center; display: grid; justify-items: center; gap: 10px; padding: 0 8px; }
.oops-i { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); margin-bottom: 6px; }
.oops-i svg { width: 34px; height: 34px; }
.oops h2 { font-size: 28px; margin: 0; } .oops p { color: var(--muted); margin: 0 0 8px; line-height: 1.45; }
.oops .cta { width: 100%; min-height: 54px; }
.oops-back { min-height: 48px; display: inline-flex; align-items: center; font-weight: 700; color: var(--brand); text-decoration: none; }

/* 🔗 lipește un link */
.linkf { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin-top: 12px; }
.linkf .or { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 13px; }
.linkf input { min-height: 48px; font-size: 16px; border-radius: 14px; padding: 0 14px; min-width: 0; }
.linkf button { min-height: 48px; padding: 0 16px; white-space: nowrap; }
.linkf small { grid-column: 1 / -1; font-size: 12.5px; }

/* ✏️ „Aleg eu” printre idei */
.mine-pv { display: grid; place-items: center; background: linear-gradient(165deg, #3a2a3c, #241826); }
.mine-ic .ico { width: 40px; height: 40px; color: #ffb54a; }
.mine-box { margin-top: 14px; padding: 14px; border-radius: 16px; background: #241826; display: grid; gap: 12px; color: #fff; }
.mine-box label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.mine-box textarea { font: 16px Figtree, sans-serif; min-height: 80px; border-radius: 12px; padding: 10px; }
.mine-tog { grid-template-columns: 24px 1fr !important; align-items: start; font-weight: 400 !important; }
.mine-tog input { width: 22px; height: 22px; margin-top: 2px; }
.mine-l { margin: 0; font-weight: 600; font-size: 14.5px; }
.mine-st { display: flex; flex-wrap: wrap; gap: 6px; }
.mine-st .chip { min-height: 40px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: 13.5px; }
.mine-st .chip[aria-pressed=true] { background: #ffb54a; color: #2a1206; border-color: #ffb54a; }

/* 📏 întrebarea despre lungime la clipurile lungi */
.len-intro { color: #fff; font-size: 16px; line-height: 1.45; margin: 4px 0 14px; }
.len-list { display: grid; gap: 10px; }
.len-o { display: grid; gap: 4px; text-align: left; padding: 14px; border-radius: 16px; background: #241826; color: #fff; border: 2px solid transparent; min-height: 64px; }
.len-o b { font-size: 16px; } .len-o span { font-size: 13.5px; color: #d9cbd6; line-height: 1.35; }
.len-o:focus-visible, .len-o:hover { border-color: #ffb54a; }
.len-o.soon { opacity: .5; }
.dir-clock.small { display: block; color: #d9cbd6; margin-top: 14px; font-size: 14px; }

/* ★ nota dată: un rând mic; 💬 cum l-am făcut */
.nota-done { display: block; width: 100%; min-height: 48px; line-height: 1.35; margin-top: 14px; padding: 13px 14px; border-radius: 14px; background: var(--surface-2); color: var(--ink); font-weight: 600; text-align: left; border: 0; }
.nota-done span { float: right; margin-left: 10px; color: var(--brand); font-weight: 700; }
.cum { margin-top: 10px; } .cum > summary { cursor: pointer; min-height: 46px; display: flex; align-items: center; font-weight: 700; }
.cum p { margin: 6px 0; line-height: 1.45; }
.cum-list { padding-left: 18px; margin: 6px 0; display: grid; gap: 6px; font-size: 14.5px; } .cum-list span { font-variant-numeric: tabular-nums; color: var(--muted); margin-right: 4px; } .cum-list small { display: block; color: var(--muted); font-size: 13px; }

/* „Aleg eu” sus pe un rând; aceleași / alte replici; cât durează; ecranul „pornesc” */
.dir-mine { grid-column: 1 / -1; flex-direction: row !important; align-items: center; gap: 12px; padding: 12px 14px !important; position: relative; }
.dir-mine .mine-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #3a2a3c; flex: none; }
.dir-mine .dir-tx { padding: 0; } .dir-mine .dir-ok { top: 50%; transform: translateY(-50%) scale(.6); } .dir-mine[aria-pressed=true] .dir-ok { transform: translateY(-50%); }
.repl { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 4px 0 14px; }
.repl .repl-o { display: grid; width: 100%; gap: 3px; text-align: left; padding: 12px 14px; border-radius: 14px; background: #241826; color: #fff; border: 2px solid transparent; min-height: 56px; }
.repl .repl-o[aria-pressed=true] { border-color: #ffb54a; background: #2e1f30; color: #fff; } .repl .repl-o span { font-size: 13px; color: #d9cbd6; }
.repl-no { margin: 0; font-size: 13.5px; color: #d9cbd6; padding: 0 2px; }
.dir-time { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #d9cbd6; text-align: center; }
.dir-busy { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; background: rgba(11, 7, 12, .88); backdrop-filter: blur(6px); color: #fff; }
.dir-busy b { font: 700 24px var(--f-titlu); } .dir-busy small { color: #d9cbd6; font-size: 14px; max-width: 300px; line-height: 1.4; }
.dir-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255,255,255,.18); border-top-color: #ffb54a; animation: dirSpin .9s linear infinite; }
@keyframes dirSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dir-spin { animation: none; } }
.dir-go .cta { white-space: nowrap; font-size: 15.5px; padding: 0 14px; }
.repl .repl-o[aria-pressed=false] { background: #241826; color: #fff; }
.repl .repl-o { justify-items: start; text-align: left; justify-content: start; align-content: center; }

/* 13.11 (captura lui Tata cu eroarea brută): omul simplu vede o frază pe înțeles; detaliile tehnice stau închise */
.err-nice { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: #fbe9e5; color: #6b2216; margin: 10px 0; }
.err-nice span { color: #7a3a2e; font-size: 14.5px; line-height: 1.45; }
.err-nice details summary { cursor: pointer; font-size: 13px; color: #9a5a4e; min-height: 32px; display: flex; align-items: center; }
.err-nice small { font-size: 12px; overflow-wrap: anywhere; color: #9a5a4e; }

/* 🔄 versiune nouă */
.verband { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 8px 0 18px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; box-shadow: 0 12px 40px rgba(30, 10, 30, .35); font-size: 15px; white-space: nowrap; }
.verband span { background: #fff; color: var(--brand); font-weight: 800; padding: 9px 14px; border-radius: 999px; }
/* ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   🎨 Runda 1 de design (13.11, Tata: „de ce așa prost? să avem și fancy, ceva frumos”) — docs/design-runda1.md
   Direcția „studio de catifea”: hârtie caldă peste tot, iar locurile unde se întâmplă ceva (urcarea clipului, montajul, ideile)
   sunt scene închise, de catifea violet, cu lumină de jar. Se schimbă aspectul; id-urile, data-atributele și drumul rămân.
   ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
:root {
  --ember: #c2410c; --lilac: #6b2d72; --night: #0b070c; --night-2: #1d1320;
  --velvet: radial-gradient(120% 78% at 100% 112%, color-mix(in srgb, var(--ember) 88%, transparent) 0%, transparent 56%), radial-gradient(90% 70% at 0% 0%, var(--lilac) 0%, transparent 62%), linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 100%);
  --on-velvet: var(--cream); --on-velvet-2: rgba(255, 244, 230, .74); --on-velvet-3: rgba(255, 244, 230, .56);
  --glass: rgba(255, 244, 230, .1); --glass-line: rgba(255, 244, 230, .16); --shade: rgba(10, 4, 12, .82);
  --go: #3fae74; --on-go: #08130d;
  --paper-glow: color-mix(in srgb, var(--sun) 15%, transparent); --paper-glow-2: color-mix(in srgb, var(--plum) 8%, transparent);
  --r-l: 26px; --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) { :root { --paper-glow: color-mix(in srgb, var(--ember) 16%, transparent); --paper-glow-2: color-mix(in srgb, var(--lilac) 22%, transparent); } }
body { background: radial-gradient(760px 420px at 108% -90px, var(--paper-glow), transparent 70%), radial-gradient(620px 380px at -18% -40px, var(--paper-glow-2), transparent 70%), var(--bg); background-repeat: no-repeat; }
button, a, summary, label { touch-action: manipulation; }
summary { -webkit-tap-highlight-color: transparent; }
.chev { color: var(--muted); transition: transform .2s var(--ease); }
details[open] > summary > .chev { transform: rotate(90deg); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pg-head, .maker > .steps > *, .home-list, .gal { animation: rise .45s var(--ease) both; }
.maker > .steps > :nth-child(2) { animation-delay: .05s; } .maker > .steps > :nth-child(3), .maker > .steps > :nth-child(4) { animation-delay: .1s; }
.home-list, .gal { animation-delay: .14s; }

/* butoane: jarul are adâncime; ce nu se poate apăsa încă e liniștit, nu „portocaliu spălăcit” */
button.cta, .btn.cta { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 90%, var(--sun)), var(--accent)); box-shadow: 0 12px 24px -12px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .22); letter-spacing: .005em; }
button.cta:disabled { opacity: 1; background: var(--surface-2); color: color-mix(in srgb, var(--muted) 78%, transparent); box-shadow: inset 0 0 0 1.5px var(--line); }
button .ico, .btn .ico { width: 20px; height: 20px; }
.card { border-radius: 24px; }

/* bara de jos: locul unde ești are o pastilă în spatele iconiței */
.nav { background: color-mix(in srgb, var(--bg) 95%, transparent); }
.nav-b { position: relative; transition: color .15s; }
.nav-b > * { position: relative; }
.nav-b.on::before { content: ''; position: absolute; left: 50%; top: 4px; width: 54px; height: 27px; margin-left: -27px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 13%, transparent); }
.nav-b.on { font-weight: 700; }
.testband { min-height: 44px; font-size: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); }

/* ── capul paginii ── */
.pg-head { padding: 20px 0 6px; gap: 8px 12px; align-items: center; }
.pg-head .kicker { flex: 1 1 auto; margin: 0; font-size: 12.5px; color: var(--accent); }
.pg-head h1 { flex: 1 1 100%; font-size: clamp(36px, 10vw, 54px); line-height: 1.02; letter-spacing: -.022em; }
.pg-head h1 em { font-style: italic; color: var(--accent); }
.pg-head p.muted { font-size: 16px; max-width: 30em; margin-top: 2px; }
.budget { padding: 5px 12px; font-size: 13.5px; font-weight: 500; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.budget b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Acasă: scena pe care urci clipul ── */
.step { border-radius: 24px; padding: 18px; }
.step-h .num { width: 28px; height: 28px; margin-top: 2px; font-size: 15px; background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 38%, transparent); }
.maker [data-step=clip] { padding: 0; margin-top: 14px; border: 0; background: transparent; box-shadow: none; }
.maker.is-auto [data-step=clip] .step-h { display: none; }
.drop { position: relative; isolation: isolate; overflow: hidden; gap: 2px; padding: 26px 22px 22px; border: 0; border-radius: 28px; color: var(--on-velvet);
  background: radial-gradient(rgba(255, 244, 230, .1) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--velvet);
  outline: 1.5px dashed rgba(255, 244, 230, .3); outline-offset: -11px;
  box-shadow: 0 26px 46px -28px rgba(42, 15, 46, .75), inset 0 0 0 1px rgba(255, 244, 230, .08); transition: transform .15s var(--ease), box-shadow .2s, outline-color .15s; }
.drop::before, .drop::after { content: ''; position: absolute; z-index: -1; width: 92px; aspect-ratio: 9 / 16; border-radius: 16px; border: 1.5px solid rgba(255, 244, 230, .13); background: rgba(255, 244, 230, .035); }
.drop::before { left: -26px; bottom: -44px; transform: rotate(-14deg); }
.drop::after { right: -22px; top: -52px; transform: rotate(12deg); }
.drop:hover, .drop.over, .drop:focus-within { background: radial-gradient(rgba(255, 244, 230, .1) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--velvet); outline-color: var(--sun); }
.drop:active { transform: scale(.985); }
.drop-ic { width: 60px; height: 60px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; color: var(--plum-deep); background: linear-gradient(160deg, color-mix(in srgb, var(--sun) 70%, #fff), var(--sun)); box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--sun) 75%, transparent), 0 0 0 9px color-mix(in srgb, var(--sun) 13%, transparent); transition: transform .25s var(--ease); }
.drop .drop-ic .ico { width: 30px; height: 30px; margin: 0; color: inherit; stroke-width: 2.2; }
.drop:hover .drop-ic, .drop.over .drop-ic { transform: translateY(-3px); }
.drop b { font: 700 30px/1.08 var(--f-titlu); letter-spacing: -.01em; }
.drop-sub { font-size: 15.5px; color: var(--on-velvet-2); }
.drop-fine { max-width: 25em; margin-top: 10px; font-size: 12.5px; line-height: 1.4; color: var(--on-velvet-3); }
/* „sau lipește un link”: un singur câmp rotund, cu butonul înăuntru */
.linkf { display: block; margin-top: 14px; }
.drop[hidden] + .linkf { display: none; }
.linkf .or { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.linkf .or::before, .linkf .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.lk-row { position: relative; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 46px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.lk-row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.lk-i { position: absolute; left: 16px; top: 50%; display: grid; transform: translateY(-50%); color: var(--muted); }
.lk-i .ico { width: 20px; height: 20px; }
.linkf .lk-row input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 16px; }
.linkf .lk-row button { flex: none; min-height: 44px; padding: 0 18px; font-size: 15px; }
.linkf small { display: block; margin-top: 8px; text-align: center; }
/* clipul urcat */
.clipbox { grid-template-columns: 92px 1fr; gap: 16px; padding: 14px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.clipbox .thumb { width: 92px; border-radius: 16px; background: var(--velvet); box-shadow: 0 12px 22px -12px rgba(42, 15, 46, .6); }
.clipbox .nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.clipbox .bar { height: 6px; margin: 10px 0 8px; }
.bar i { background: linear-gradient(90deg, var(--accent), var(--sun)); }
.clipbox [data-upmsg] { font-variant-numeric: tabular-nums; }
.look { margin: 10px 0 0; padding: 11px 14px 11px 34px; border-radius: 16px; background: var(--surface-2); }
.look::before { left: 14px; top: 1.05em; }
/* Auto */
.auto-step { background: linear-gradient(140deg, var(--accent-soft), var(--surface) 62%); }
.auto-row { align-items: center; gap: 12px; }
.auto-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: var(--sun); background: var(--velvet); box-shadow: 0 10px 20px -12px rgba(42, 15, 46, .7); }
.auto-ic .ico { width: 24px; height: 24px; }
.auto-row h2 { margin: 0 0 2px; font-size: 23px; }
.auto-row p { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.switch { height: 44px; } .switch span { inset: 5px 0; }
.switch input:checked + span { background: var(--brand); }
.switch span { box-shadow: inset 0 1px 3px rgba(42, 15, 46, .18); }
.want { margin-top: 14px; border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.want summary { list-style: none; min-height: 48px; font-size: 15px; }
.want summary::-webkit-details-marker, .nota-more summary::-webkit-details-marker, .more-info > summary::-webkit-details-marker, .folder summary::-webkit-details-marker { display: none; }
.want summary .chev, .more-opts .chev, .more-info > summary .chev, .nota-more summary .chev { margin-left: auto; }
.want .opt { font: 600 11.5px Figtree, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); padding: 2px 8px; border-radius: 99px; }
button.more-opts { margin: 12px 0 14px; padding: 0 16px 0 18px; min-height: 56px; border-radius: 20px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.more-opts [data-moresum] { flex: 1; text-align: right; font-variant-numeric: tabular-nums; }
/* bara cu prețul și butonul */
.sum { gap: 2px 14px; padding-top: 10px; background: color-mix(in srgb, var(--bg) 95%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.sum .price b { letter-spacing: -.01em; }
.sum .cta { padding-left: 22px; padding-right: 22px; }
/* reelurile tale, pe Acasă */
.home-list { margin-top: 30px; }
.hl-h { align-items: center; }
.hl-h h2 { margin: 0; font-size: 27px; }
.hl-h a { gap: 2px; font-size: 15px; }
.hl-h a .chev { color: inherit; width: 18px; height: 18px; }
.home-list .gal-bar { display: none; }

/* ── Galeria ── */
.gal { margin-top: 4px; }
.gal-bar { display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; }
.gal-n { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gal-l { font-size: 12.5px; color: var(--muted); }
.colsw { margin: 0; padding: 3px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.colsw button { min-width: 44px; min-height: 44px; padding: 0; font-variant-numeric: tabular-nums; color: var(--muted); }
.colsw button[aria-pressed=true] { background: var(--surface); color: var(--accent); font-weight: 800; box-shadow: 0 1px 2px rgba(42, 15, 46, .1), 0 4px 10px -4px rgba(42, 15, 46, .25); }
.folder { margin-top: 10px; padding: 0 0 6px; border-top: 0; }
.folder + .folder { margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.folder summary { list-style: none; flex-wrap: nowrap; gap: 10px; min-height: 60px; padding: 4px 0; }
.fo-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.fo-t b { font: 700 22px/1.2 var(--f-titlu); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-m { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fo-busy { flex: none; display: inline-flex; align-items: center; padding: 4px 11px 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: color-mix(in srgb, var(--warn) 16%, var(--surface)); color: color-mix(in srgb, var(--warn) 78%, var(--ink)); }
.fo-busy .wb-dot { width: 7px; height: 7px; margin-right: 6px; background: currentColor; }
.rgrid { gap: 12px; margin-top: 4px; }
.rcard { gap: 7px; -webkit-tap-highlight-color: transparent; }
.rv { border-radius: 18px; background: var(--velvet); box-shadow: 0 16px 28px -20px rgba(42, 15, 46, .6), 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent); transition: transform .18s var(--ease), box-shadow .2s; }
.rv.sk { background: var(--surface-2); box-shadow: none; }
.rv.sk::after { height: auto; }
.rcard:active .rv { transform: scale(.975); }
@media (hover: hover) { .rcard:hover .rv { transform: translateY(-3px); box-shadow: 0 24px 36px -22px rgba(42, 15, 46, .7), 0 0 0 1px var(--line); } }
.rv::after { height: 56%; background: linear-gradient(to top, var(--shade), transparent); }
.rv-title { left: 12px; right: 12px; bottom: 11px; font: 700 18px/1.14 var(--f-titlu); letter-spacing: -.005em; }
.rgrid[data-cols="1"] .rv-title { font-size: 26px; left: 16px; bottom: 15px; }
.rgrid[data-cols="4"] .rv-title { left: 7px; right: 7px; bottom: 7px; font: 700 11.5px/1.2 Figtree, sans-serif; }
.rgrid[data-cols="4"] { gap: 8px; } .rgrid[data-cols="4"] .rv { border-radius: 12px; }
.rv-dur, .rv-nota { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; background: rgba(20, 10, 22, .5); -webkit-backdrop-filter: blur(6px); }
.rv-dur::before { content: ''; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.rgrid[data-cols="4"] .rv-dur, .rgrid[data-cols="4"] .rv-nota { display: none; }
.rv.busy .rv-poster { filter: saturate(.55) brightness(.5) blur(1.5px); transform: scale(1.04); }
.rv-wait { gap: 8px; color: var(--on-velvet-2); font-size: 13px; }
.rv-wait small { font-size: 12.5px; font-weight: 600; }
.rv-ring { position: relative; width: 66px; height: 66px; display: grid; place-items: center; }
.rv-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--sun) calc(var(--p, 0) * 1%), rgba(255, 244, 230, .22) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); }
.rv-ring.ind::before { background: conic-gradient(var(--sun) 26%, rgba(255, 244, 230, .22) 0); animation: spin 1.1s linear infinite; }
.rv-ring b { font: 700 19px var(--f-titlu); color: #fff; font-variant-numeric: tabular-nums; }
.rgrid[data-cols="4"] .rv-ring { width: 42px; height: 42px; } .rgrid[data-cols="4"] .rv-ring b { font-size: 12px; } .rgrid[data-cols="4"] .rv-wait small { display: none; }
.rcard small.rmeta { padding-left: 2px; font-variant-numeric: tabular-nums; }
/* nimic încă / n-a mers */
.empty { display: grid; justify-items: center; gap: 4px; margin-top: 12px; padding: 28px 18px 24px; text-align: center; border-radius: 24px; border: 1.5px dashed color-mix(in srgb, var(--brand) 26%, var(--line)); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.empty-art { position: relative; width: 150px; height: 104px; margin-bottom: 10px; }
.empty-art i { position: absolute; left: 50%; bottom: 0; width: 50px; margin-left: -25px; aspect-ratio: 9 / 16; border-radius: 11px; background: var(--velvet); box-shadow: 0 12px 22px -12px rgba(42, 15, 46, .6); }
.empty-art i:nth-child(1) { transform: translateX(-46px) rotate(-10deg) scale(.86); opacity: .5; }
.empty-art i:nth-child(3) { transform: translateX(46px) rotate(10deg) scale(.86); opacity: .5; }
.empty-art i:nth-child(2) { z-index: 1; width: 58px; margin-left: -29px; }
.empty-art i:nth-child(2)::after { content: ''; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -5px; border-left: 13px solid var(--sun); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.empty b { font: 700 23px var(--f-titlu); }
.empty p { margin: 0; max-width: 24em; font-size: 14.5px; color: var(--muted); }
.empty .cta, .empty .ghost { margin-top: 14px; }

/* ── Pagina reelului ── */
.back { min-height: 44px; margin: 12px 0 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.rp { border-radius: var(--r-l); padding: 18px; }
.rp-head { align-items: center; }
.rp-head h1 { font-size: clamp(27px, 7.4vw, 40px); letter-spacing: -.015em; }
.metas li { background: transparent; box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.track { margin: 16px 0 2px; }
.track li { gap: 5px; font-size: 12.5px; }
.track li::before { top: 11px; height: 2px; }
.track li i { width: 24px; height: 24px; font-size: 12px; box-shadow: inset 0 0 0 2px var(--line); }
.track li.run i, .track li.wait i { box-shadow: inset 0 0 0 2px var(--accent); }
.track li.run i::after { inset: -4px; border-width: 2px; }
/* în lucru: scena de montaj */
.studio { grid-template-columns: 1fr; gap: 0; margin: 14px 0 6px; overflow: hidden; border-radius: 24px; color: var(--on-velvet); background: var(--velvet); box-shadow: 0 28px 50px -32px rgba(42, 15, 46, .85); }
.st-screen { width: min(64%, 236px); max-width: none; margin: 24px auto 0; border-radius: 22px; background: var(--night-2); box-shadow: 0 0 0 1px var(--glass-line), 0 26px 60px -20px rgba(0, 0, 0, .75), 0 0 90px -14px color-mix(in srgb, var(--sun) 45%, transparent); }
.st-tag { background: rgba(20, 10, 22, .58); -webkit-backdrop-filter: blur(6px); }
.st-plan { -webkit-backdrop-filter: blur(6px); }
.st-info { padding: 18px 18px 16px; }
.st-clock { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; margin: 0 0 12px; }
.st-clock b { font-size: 42px; line-height: 1; color: #fff; letter-spacing: -.01em; }
.st-clock span { grid-column: 1 / -1; grid-row: 2; min-width: 0; color: var(--on-velvet-2); }
.st-pct { font: 700 42px/1 var(--f-titlu); color: var(--sun); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.st-pct:empty { display: none; }
.st-info b.st-now { margin-bottom: 9px; font-size: 15.5px; font-weight: 600; }
.st-bar { height: 10px; background: rgba(255, 244, 230, .14); }
.st-bar i { background: linear-gradient(90deg, var(--sun), color-mix(in srgb, var(--sun) 40%, var(--ember))); box-shadow: 0 0 14px color-mix(in srgb, var(--sun) 60%, transparent); }
.st-steps { margin-top: 14px; gap: 0; color: var(--on-velvet-3); }
.st-steps li { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.st-steps li::before, .st-steps li.done::before, .st-steps li.run::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.st-steps li.done { color: var(--on-velvet-2); }
.st-steps li.done::before { content: '✓'; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--on-go); background: var(--go); box-shadow: none; }
.st-steps li.run { color: #fff; font-weight: 600; }
.st-steps li.run::before { color: var(--sun); background: radial-gradient(circle, var(--sun) 36%, transparent 40%); box-shadow: inset 0 0 0 1.5px var(--sun); animation: wbPulse 1.2s ease-in-out infinite; }
.st-sub { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 244, 230, .12); font-size: 13px; line-height: 1.45; color: var(--on-velvet-3); }
@media (min-width: 620px) { .studio { grid-template-columns: minmax(0, 290px) 1fr; align-items: center; } .st-screen { width: 236px; margin: 26px auto; } .st-info { padding: 26px 26px 26px 4px; } }
.stop-row { margin: 12px 0 0; text-align: center; }
button.stop { min-height: 44px; padding: 8px 18px; font-size: 14.5px; background: transparent; color: var(--bad); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bad) 40%, transparent); }
button.stop .ico { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rp-work > .small.muted { text-align: center; }
/* gata: reelul mare, cu lumină în spate */
.out.one { position: relative; isolation: isolate; margin-top: 14px; }
.out.one::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 6%; width: min(96%, 430px); height: 340px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--sun) 46%, transparent), transparent); filter: blur(26px); pointer-events: none; }
.out.one .player { width: min(100%, 330px, calc(62svh * 9 / 16)); max-width: none; border-radius: 26px; box-shadow: 0 34px 60px -30px rgba(42, 15, 46, .8), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); }
.acts3 { margin-top: 18px; }
.acts3 .btn, .acts3 button { min-height: 54px; font-size: 16.5px; }
.acts3 #again { background: var(--surface-2); color: var(--ink); box-shadow: none; }
.dir-name { margin-top: 12px; }
.nota { margin-top: 20px; padding: 16px; border: 0; border-radius: 20px; background: var(--surface-2); }
.nota h3 { margin: 0; font-size: 22px; }
.nota-sub { margin: 2px 0 12px; font-size: 13.5px; color: var(--muted); }
.nota-row { grid-template-columns: 1fr; gap: 6px; margin: 0 0 10px; }
.nota-row > span { font-size: 13px; color: var(--muted); }
.nota-dots { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.nota-dots button { min-height: 44px; border-radius: 13px; font-size: 15.5px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.nota-dots button[aria-pressed=true] { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 16px -8px var(--brand); }
@media (min-width: 560px) { .nota-dots { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
.nota-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nota-more[open] summary { margin-bottom: 4px; }
.nota-quick { flex-wrap: wrap; margin: 8px 0 10px; }
.nota-quick .chip { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; background: var(--surface); border-color: var(--line); }
.nota-com textarea { background: var(--surface); }
.more-info { margin-top: 16px; }
.more-info > summary { list-style: none; min-height: 52px; }
.more-info > summary > .ico:first-child { color: var(--muted); }
@media (min-width: 900px) {
  .out.one { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 30px; align-items: start; }
  .out.one .player { position: sticky; top: 84px; margin: 0; width: 330px; }
  .out.one::before { left: 165px; }
  .acts3 { margin-top: 0; }
}

/* ── ferestrele închise: vizualizatorul și ideile regizorului ── */
.viewer { background: radial-gradient(120% 56% at 50% -6%, var(--plum-deep) 0%, var(--night) 62%); }
.vw-top { gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.vw-top button { display: inline-flex; align-items: center; gap: 2px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--glass); font-size: 14.5px; }
.vw-top .vw-x { width: 44px; padding: 0; justify-content: center; }
.vw-top b { font: 700 19px var(--f-titlu); letter-spacing: -.005em; }
.vw-nav { display: grid; place-items: center; padding: 0; -webkit-backdrop-filter: blur(8px); }
.vw-acts .ghost, .dir-go .ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); }
.vw-more { border: 0; display: grid; place-items: center; }
.dir-body { padding-top: 6px; padding-bottom: 18px; }
.dir-clock { grid-template-columns: 52px 1fr; gap: 4px 14px; margin: 2px 0 14px; padding: 10px 14px 10px 10px; border-radius: 20px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }
.dir-clock > b { left: 10px; top: 10px; font-variant-numeric: tabular-nums; }
.dir-clock .fg { stroke: var(--sun); }
.dir-clock > span, .dir-sub { font-size: 14px; color: var(--on-velvet-2); }
.dir-clock > span strong, .dir-sub strong { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.dir-clock.stopped { opacity: 1; }
.dir-clock.stopped svg, .dir-clock.stopped > b { opacity: .35; }
.dir-grid { gap: 12px; }
.dir-card { border: 0; border-radius: 20px; background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); transition: transform .15s var(--ease), box-shadow .2s; animation: rise .5s var(--ease) both; }
.dir-card:nth-child(2) { animation-delay: .06s; } .dir-card:nth-child(3) { animation-delay: .12s; } .dir-card:nth-child(4) { animation-delay: .18s; } .dir-card:nth-child(n+5) { animation-delay: .24s; }
.dir-card:active { transform: scale(.98); }
.dir-card[aria-pressed=true] { box-shadow: inset 0 0 0 2.5px var(--sun), 0 18px 40px -20px color-mix(in srgb, var(--sun) 70%, transparent); }
.dir-pv { flex: none; width: 100%; height: 0; padding-top: 148%; aspect-ratio: auto; border-radius: 20px 20px 0 0; background: var(--velvet); }
.dir-pv video { position: absolute; inset: 0; }
.dir-pv::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(to top, var(--shade), transparent); pointer-events: none; }
.dir-pv .fb { color: var(--on-velvet-3); font-size: 15px; align-content: start; padding-top: 44%; }
.dir-nm { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; font: 700 22px/1.08 var(--f-titlu); letter-spacing: -.01em; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.dir-rec { z-index: 1; left: 10px; top: 10px; padding: 3px 10px; background: var(--go); color: var(--on-go); -webkit-backdrop-filter: none; backdrop-filter: none; }
.dir-ok { z-index: 1; right: 10px; top: 10px; width: 30px; height: 30px; background: var(--sun); color: var(--plum-deep); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .5); }
.dir-ok .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.dir-tx { gap: 6px; padding: 10px 12px 13px; }
.dir-tx span { font-size: 13.5px; line-height: 1.38; color: var(--on-velvet-2); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.dir-tx small { color: var(--on-velvet-3); }
.dir-mine { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.dir-mine .dir-pv { flex: none; width: 84px; height: auto; padding-top: 0; aspect-ratio: auto; border-radius: 20px 0 0 20px; background: var(--glass); }
.dir-mine .dir-pv::after { display: none; }
.dir-mine .dir-tx { justify-content: center; padding: 12px 14px; gap: 3px; }
.dir-mine .dir-tx b { font: 700 20px var(--f-titlu); }
.mine-ic .ico { width: 30px; height: 30px; color: var(--sun); }
.dir-mine .dir-ok { right: 6px; top: 6px; width: 24px; height: 24px; } .dir-mine .dir-ok .ico { width: 14px; height: 14px; }
.mine-box { background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); border-radius: 20px; }
.mine-st .chip { min-height: 44px; }
.dir-go { gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); background: color-mix(in srgb, var(--night) 86%, transparent); }
.dir-go .cta { min-width: 0; padding: 0 14px; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dir-go .ghost { padding: 0 16px; white-space: nowrap; }
.len-o { background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); border-radius: 20px; }
@media (min-width: 760px) {
  .dir-body > *, .dir-go, .vw-top { width: min(100%, 920px); margin-left: auto; margin-right: auto; }
  .dir-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dir-go { grid-template-columns: minmax(0, 340px) auto; justify-content: center; border-top: 0; }
}
/* pe calculator, galeria nu face carduri uriașe: 1 · 2 · 4 înseamnă mare · mediu · mic */
@media (min-width: 760px) {
  .rgrid[data-cols="1"] { max-width: none; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .rgrid[data-cols="2"] { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .rgrid[data-cols="4"] { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
  .home-list .rgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .empty { padding: 44px 18px 40px; }
}
@media (prefers-reduced-motion: reduce) { .rv-ring.ind::before, .st-steps li.run::before { animation: none !important; } .rcard:hover .rv, .drop:hover .drop-ic { transform: none; } }
.clipbox .row { gap: 6px 10px; } .clipbox .row [data-upmsg] { flex: 1 1 100% !important; font-size: 14px; } .clipbox .row [data-other] { min-height: 44px; }

/* 🪟 foaia care urcă de jos (ca în CapCut) + 🎵 muzica */
.sheet-wrap { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(10, 4, 12, .55); opacity: 0; transition: opacity .28s var(--ease); }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: min(78vh, 680px); display: flex; flex-direction: column; border-radius: 26px 26px 0 0; background: var(--surface); color: var(--ink); box-shadow: 0 -20px 60px -20px rgba(10, 4, 12, .5); padding-bottom: env(safe-area-inset-bottom); transform: translateY(104%); transition: transform .34s var(--ease); }
.sheet-dark .sheet { background: linear-gradient(180deg, #2a1a2d 0%, var(--night-2) 60%); color: var(--on-velvet); border: 1px solid var(--glass-line); border-bottom: 0; }
.sheet-wrap.on .sheet-bg { opacity: 1; } .sheet-wrap.on .sheet { transform: none; }
.sheet-grab { width: 44px; height: 5px; border-radius: 99px; background: currentColor; opacity: .28; margin: 10px auto 0; flex: none; touch-action: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px 6px 20px; flex: none; touch-action: none; }
.sheet-top b { font: 700 24px var(--f-titlu); }
.sheet-x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; background: var(--glass); color: inherit; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 18px; }
.sheet-sub { margin: 0 4px 12px; font-size: 14px; line-height: 1.45; color: var(--on-velvet-2); }
.sheet-note { margin: 14px 4px 0; font-size: 12.5px; line-height: 1.45; color: var(--on-velvet-3); }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-bg { transition: none; } }

.mus-list { display: grid; gap: 8px; }
.mus-h { margin: 8px 4px 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-velvet-3); }
.mus-o { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px 8px 8px; border-radius: 18px; background: var(--glass); border: 2px solid transparent; transition: border-color .2s, background .2s; }
.mus-o[aria-selected=true] { border-color: var(--sun); background: rgba(255, 181, 74, .12); }
.mus-play { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; border: 0; background: rgba(255, 244, 230, .14); color: var(--cream); }
.mus-play.on { background: var(--sun); color: #2a0f2e; }
.mus-ph { background: rgba(255, 244, 230, .07); }
.mus-pick { flex: 1; min-width: 0; min-height: 48px; display: grid; gap: 2px; text-align: left; background: none; border: 0; color: inherit; padding: 0; }
.mus-pick b { font-size: 16px; } .mus-pick span { font-size: 13px; color: var(--on-velvet-2); line-height: 1.35; }
.mus-ok { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #2a0f2e; opacity: 0; transform: scale(.6); transition: .2s var(--ease); }
.mus-ok .ico { width: 15px; height: 15px; }
.mus-o[aria-selected=true] .mus-ok { opacity: 1; transform: none; }
/* rândul „Muzica de sub voce” din fereastra ideilor */
.mus-row { display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 0 16px 8px; min-height: 58px; padding: 6px 14px 6px 6px; border-radius: 18px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--on-velvet); text-align: left; }
.mus-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 181, 74, .16); color: var(--sun); flex: none; }
.mus-tx { flex: 1; display: grid; gap: 1px; min-width: 0; } .mus-tx small { font-size: 12px; color: var(--on-velvet-3); } .mus-tx b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 🧩 rețetele de efecte: preview mic, vertical */
.ret-pv { width: 54px; height: 96px; flex: none; border-radius: 12px; object-fit: cover; background: #120c14; }
.ret-o { min-height: 112px; }

/* efectele + muzica: două butoane mici, unul lângă altul, ca ideile să rămână la vedere */
.opt2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 16px 8px; }
.opt2:empty { display: none; }
.opt2 .mus-row { width: 100%; margin: 0; min-height: 52px; padding: 5px 8px 5px 5px; gap: 8px; }
.opt2 .mus-ic { width: 40px; height: 40px; border-radius: 12px; }
.opt2 .mus-row > .ico:last-child { display: none; }

/* 🏷 versiunea sub nume */
.logo .lt { display: inline-grid; line-height: 1.05; }
.logo .ver { display: block; font: 600 11px/1.2 system-ui, sans-serif; letter-spacing: .02em; color: var(--muted); margin-top: 2px; }

.dir-bune { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: var(--glass); color: var(--on-velvet-2); font-size: 14px; line-height: 1.4; } .dir-bune b { color: var(--on-velvet); }

/* 🏛 reel pe muzică (clipul cu locuri) */
.loc-wait { display: grid; justify-items: center; gap: 10px; padding: 30px 10px 40px; text-align: center; } .loc-wait small { color: var(--on-velvet-2); max-width: 300px; line-height: 1.4; }
.loc-bune { margin: 0 0 6px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 181, 74, .12); line-height: 1.45; font-size: 15px; } .loc-bune b { color: var(--sun); }
.loc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.loc-chips .chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--on-velvet); font-weight: 700; }
.loc-chips .chip[aria-checked=true] { background: var(--sun); color: #2a0f2e; border-color: var(--sun); }
.loc-chips .chip:disabled { opacity: .35; }
.mus-h small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.loc-t { display: grid; gap: 6px; margin-top: 12px; font-weight: 700; font-size: 14px; } .loc-t small { font-weight: 500; color: var(--on-velvet-3); }
.loc-t input { min-height: 48px; border-radius: 14px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.06); color: var(--on-velvet); padding: 0 14px; font-size: 16px; }
.loc-go { width: 100%; margin-top: 8px; min-height: 54px; }

/* poza de deasupra playerului (până la ▶) */
.out .player { position: relative; }
.pl-cover { position: absolute; inset: 0; padding: 0; border: 0; background: #000; display: block; cursor: pointer; }
.pl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 10, 22, .55); color: #fff; backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pl-play .ico { width: 30px; height: 30px; margin-left: 4px; }

/* ⚡ alege pe loc (ca în CapCut): clipul mare, variantele jos, pe un rând care se derulează */
.pvw { display: flex; flex-direction: column; background: radial-gradient(120% 60% at 50% 0%, #2a1a2d, #0b070c 70%); color: var(--on-velvet); }
.pvw-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 6px 16px 10px; }
.pvw-box { position: relative; height: 100%; max-height: 62svh; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.pvw-player { position: absolute; inset: 0; }
.pvw-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--on-velvet-2); text-align: center; padding: 20px; }
.pvw-ctl { padding: 4px 0 calc(12px + env(safe-area-inset-bottom)); }
.pvw-tabs { display: flex; gap: 6px; justify-content: center; padding: 0 16px 10px; }
.pvw-tabs button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--on-velvet-2); font-weight: 700; font-size: 15px; }
.pvw-tabs button[aria-selected=true] { background: rgba(255,255,255,.12); color: #fff; }
.pvw-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 16px 10px; scrollbar-width: none; }
.pvw-strip::-webkit-scrollbar { display: none; }
.pvw-o { flex: none; scroll-snap-align: center; min-height: 48px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--glass-line); background: var(--glass); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .15s var(--ease), background .15s; }
.pvw-o:active { transform: scale(.96); }
.pvw-o[aria-checked=true] { background: var(--sun); color: #2a0f2e; border-color: var(--sun); }
.pvw-note { margin: 0 16px 10px; font-size: 12.5px; color: var(--on-velvet-3); text-align: center; }
.pvw-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 32px); margin: 0 16px; min-height: 54px; }
.dir-spin.sm { width: 18px; height: 18px; border-width: 3px; }
@media (min-width: 900px) { .pvw-box { max-height: 66vh; } }

.dir-quick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin: 0 0 12px; padding: 8px 14px 8px 8px; border-radius: 18px; border: 1px solid rgba(255,181,74,.45); background: linear-gradient(90deg, rgba(255,181,74,.18), rgba(255,181,74,.05)); color: #fff; text-align: left; }
.dir-quick .mus-ic { font-size: 22px; } .dir-quick .mus-tx small { color: var(--on-velvet-2); font-size: 13px; } .dir-quick .mus-tx b { font-size: 16px; }

/* ═══ Galeria, 14.11 (Tata, cu Biblioteca din CapCut: „să arătăm câte una, câte două, câte patru și așa în linie”) ═══
   sus pastilele de filtru; un rând cu „N reeluri” și felul de vedere (listă · 1 · 2 · 4); rânduri ca în CapCut sau plăcile de până acum.
   Selecția = pastilă închisă la culoare (cerneală), nu roșu; ținte ≥ 44 px; pastilele se derulează în ele, pagina nu iese în lateral. */
.gal-head { padding-bottom: 0; }
.flt { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 12px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 2px; }
.flt::-webkit-scrollbar { display: none; }
.flt button { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, color .15s; }
.flt button[aria-pressed=true] { background: var(--ink); color: var(--bg); box-shadow: none; }
.gal-bar { min-height: 50px; margin: 10px 0 6px; }
.gal-n { font-size: 14.5px; }
.colsw { flex: none; }
.colsw button { display: grid; place-items: center; font-size: 15.5px; }
.colsw button .ico { width: 21px; height: 21px; }
.sk-sw { flex: none; width: 182px; height: 50px; border-radius: 999px; }
/* scheletul plăcii: lumina care trece (umbra de sub titlu nu are ce căuta pe un loc gol) */
.rv.sk::after { height: 100%; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); background-size: 250% 100%; }
/* afișul care încă vine: aceeași lumină, peste catifea */
.rv.ld::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); background-size: 250% 100%; animation: stShim 1.4s linear infinite; }
/* rândurile */
.rlist { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.rrow { display: flex; align-items: center; gap: 2px; min-width: 0; padding: 7px 4px 7px 7px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 75%, transparent), 0 12px 22px -20px rgba(42, 15, 46, .55); }
.rrow-a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a.rrow-a:active { opacity: .72; }
.rv.rv-s { display: block; flex: none; width: 48px; border-radius: 10px; box-shadow: none; transition: none; }
.rv.rv-s:not(.sk)::after { content: none; }
.rv-s .rv-wait { padding: 0; }
.rv-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-velvet-3); }
.rv-ph .ico { width: 30px; height: 30px; stroke-width: 1.4; }
.rv-s .rv-ph .ico { width: 21px; height: 21px; stroke-width: 1.6; }
.rv-s .rv-ring { width: 28px; height: 28px; }
.rv-s .rv-ring::before { -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); }
.rrow-t { flex: 1; min-width: 0; display: grid; gap: 3px; justify-items: start; align-content: center; }
.rrow-t > * { max-width: 100%; }
.rrow-t b { font: 700 18px/1.2 var(--f-titlu); letter-spacing: -.005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow-t small { font-size: 13px; line-height: 1.3; color: var(--muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow-t .pill { margin-top: 3px; padding: 2px 10px; font-size: 12px; }
.rrow-t .pill:not(.gata):not(.in_lucru):not(.eroare) { color: var(--muted); }
.rrow-more, .rrow-go { flex: none; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--muted); box-shadow: none; }
.rrow-more .ico { width: 22px; height: 22px; }
.rrow-go .ico { width: 18px; height: 18px; opacity: .6; }
@media (hover: hover) { .rrow-more:hover { background: var(--surface-2); color: var(--ink); } .rrow:hover { box-shadow: 0 0 0 1px var(--line), 0 16px 26px -20px rgba(42, 15, 46, .7); } }
/* golul galeriei */
.empty-gal { padding: 34px 18px 28px; }
.empty-ic { width: 68px; height: 68px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); }
.empty-ic .ico { width: 32px; height: 32px; stroke-width: 1.4; }
/* ⋯ meniul rândului (foaia de jos, deschisă la culoare) */
.rmenu { display: grid; gap: 6px; padding-top: 4px; }
.rmenu-o { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 14px; border-radius: 16px; background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 16.5px; text-decoration: none; }
.rmenu-o span { flex: 1; }
.rmenu-o .ico { width: 22px; height: 22px; color: var(--brand); }
.rmenu-o .ico.chev { width: 18px; height: 18px; color: var(--muted); }
.sheet-wrap:has(.rmenu) .sheet-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-wrap:has(.rmenu) .sheet-x { flex: none; background: var(--surface-2); }
@media (min-width: 760px) { .rlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; } .flt { margin-top: 14px; } }
@media (prefers-reduced-motion: reduce) { .rv.ld::before { animation: none; } }

.out .dir-quick { margin-top: 12px; color: var(--ink); background: linear-gradient(90deg, rgba(194,65,12,.12), rgba(194,65,12,.03)); border-color: rgba(194,65,12,.35); } .out .dir-quick .mus-tx small { color: var(--muted); }

.pvw-ideas { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 32px); margin: 0 16px 8px; min-height: 46px; border-radius: 16px; border: 1px solid var(--glass-line); background: transparent; color: var(--on-velvet); font-weight: 700; font-size: 14px; }

/* 14.11 (Tata, captura 03:05: „când se deschide clipul pe tot ecranul nu e bine”): fereastra ieșea mai lată decât telefonul —
   coloana grilei se lua după lățimea clipului (720 px) și a titlului lung; acum coloana e cât ecranul, iar clipul încape întreg în ea */
.viewer { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 100vw; overflow: hidden; }
.viewer > * { min-width: 0; }
.vw-top > * { min-width: 0; } .vw-top b { min-width: 0; }
.vw-stage { width: 100%; }
.vw-stage video { width: 100%; height: 100%; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; }
.vw-acts { width: 100%; box-sizing: border-box; }
.vw-acts > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   DIRECȚIA A · „Curat” (14.11, Tata după planșele A și B: „E binișor, hai să vedem cum arată și mai modific după”).
   Alb, negru, un singur accent (#c2410c doar pe acțiunea principală și pe „în lucru”). Fără cutii și fără umbre pe conținut:
   ordinea vine din aliniere, spații egale și mărimea literei. O singură familie de litere (Figtree). Raze mici.
   Sistemul și machetele: ramura directii-design, docs/directii-design/A. Tokenii stau sus, în :root.
   ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: Montserrat; font-weight: 900; font-display: swap; src: url(/rp/fonts/montserrat-latin-ext-900-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF; }
@font-face { font-family: Montserrat; font-weight: 900; font-display: swap; src: url(/rp/fonts/montserrat-latin-900-normal.woff2) format('woff2'); }
@font-face { font-family: Montserrat; font-weight: 700; font-display: swap; src: url(/rp/fonts/montserrat-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF; }
@font-face { font-family: Montserrat; font-weight: 700; font-display: swap; src: url(/rp/fonts/montserrat-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Anton; font-display: swap; src: url(/rp/fonts/anton-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(/rp/fonts/poppins-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF; }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(/rp/fonts/poppins-latin-800-normal.woff2) format('woff2'); }

html, body { font: var(--t-corp); -webkit-font-smoothing: antialiased; }
body { background: var(--bg); }
.pg-head, .maker > .steps > *, .home-list, .gal { animation: none; }
button.cta, .btn.cta { background: var(--accent); letter-spacing: -.005em; }
button.cta:disabled { background: var(--surface-2); color: var(--muted); box-shadow: none; }
h1, h2, h3 { font-family: var(--f-titlu); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: 21px; font-weight: 700; } h3 { font-size: 17px; font-weight: 700; }
a { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button, .btn { border-radius: var(--r-buton); touch-action: manipulation; }
button.cta, .btn.cta { height: var(--h-buton); min-height: var(--h-buton); border-radius: var(--r-buton); font: 700 17px/1 var(--f-text); box-shadow: none; }
button.ghost, .btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
button.small.ghost, .btn.small.ghost { box-shadow: inset 0 0 0 1px var(--contur); font-weight: 600; }
button:active:not(:disabled), .btn:active, a.rand-a:active, .cel:active, .qa:active { opacity: .72; transform: none; }
.card { border: 0; box-shadow: none; border-radius: 0; padding: 0; background: transparent; }
.login.card { border: 1px solid var(--line); border-radius: var(--r-foaie); padding: 20px; background: var(--surface); }
input, select, textarea { border-width: 1px; border-color: var(--contur); border-radius: var(--r-card); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 10%, transparent); }
.ico.plin { fill: currentColor; stroke: none; }
.pill { border-radius: var(--r-pastila); font-weight: 600; }
.kicker { color: var(--accent); }
.lp-hero .kicker { color: var(--sun); }

/* schelet: forma finală + lumina care trece (manualul §5) */
.sk-hero { height: 84px; border-radius: var(--r-foaie); }
.sk-pill { flex: none; width: 74px; height: 30px; border-radius: var(--r-pastila); }

/* ── bara de sus: titlul mare la stânga, cel mult 2–3 lucruri fine la dreapta ── */
.top { height: var(--h-sus); padding: 0 var(--margine); gap: 10px; background: var(--bg); border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 20; }
body.has-nav .top { max-width: 620px; margin: 0 auto; }
.top .logo { gap: 10px; font: var(--t-ecran); letter-spacing: -.03em; min-width: 0; }
.top .logo svg.semn { width: 30px; height: 30px; }
.s-f { fill: var(--ink); } .s-r { stroke: var(--bg); } .s-p { fill: var(--semn-lucru); }
.top .logo.no-mark .semn, .top .logo.no-mark .ver { display: none; }
.logo .lt { line-height: 1; min-width: 0; } .logo .lt #top-t { white-space: nowrap; }
.logo .ver { font: 500 10.5px/1.2 var(--f-text); letter-spacing: 0; margin-top: 3px; color: var(--faint); }
.top-back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin-left: -6px; padding-right: 10px; font: 500 16px/1 var(--f-text); color: var(--ink); text-decoration: none; }
.top-back svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.top-r { display: inline-flex; align-items: center; }
.ico-b { width: 44px; height: 44px; min-height: 44px; padding: 0; display: grid; place-items: center; background: transparent; color: var(--ink); border-radius: 50%; margin-right: -10px; }
.ico-b .ico { width: 25px; height: 25px; stroke-width: 1.9; }
.ico-b[aria-expanded=true] { background: var(--surface-2); }
.buget { position: relative; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--contur); font: 700 13.5px/1 var(--f-text); font-variant-numeric: tabular-nums; color: var(--ink); text-decoration: none; white-space: nowrap; }
.buget::after { content: ''; position: absolute; inset: -6px; }
body.has-nav .acct, body.has-nav .top .who { display: none; }
body[data-pg=bib] .buget { display: none; }
.top-r .alege { padding: 0 0 0 12px; color: var(--ink); }

/* ── bara de jos: iconițe fine, cea aleasă neagră, plină ── */
.nav { height: calc(var(--h-jos) + max(0px, calc(env(safe-area-inset-bottom, 0px) - 14px))); padding: 0 0 max(0px, calc(env(safe-area-inset-bottom, 0px) - 14px)); align-items: stretch; background: var(--bg); border-top: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-b { height: auto; min-height: 44px; gap: 4px; color: var(--faint); font: 500 11px/1 var(--f-text); }
.nav-b .ico { width: 25px; height: 25px; stroke-width: 1.7; }
.nav-b.on { color: var(--ink); font-weight: 600; }
.nav-b.on .ico { fill: currentColor; }
.nav-b.on::before { display: none; }
body.sel .nav { transform: translateY(110%); opacity: 0; pointer-events: none; }
body.has-nav main { max-width: 620px; padding: 0 var(--margine) calc(var(--h-jos) + 28px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .nav { left: max(12px, calc(50% - 310px)); right: max(12px, calc(50% - 310px)); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-foaie) var(--r-foaie) 0 0; } }
.testband, .srvband, .verband { border-radius: 0; }
body.has-nav .testband, body.has-nav .srvband { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ── secțiuni, acțiuni rapide, rânduri pe teme (Acasă) ── */
.sec { font: var(--t-sectiune); letter-spacing: -.02em; margin: var(--gol-sectiune) 0 12px; }
.sec a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -10px 0; color: var(--ink); text-decoration: none; }
.sec a .ico { width: 17px; height: 17px; color: var(--faint); stroke-width: 2.3; }
.acasa { padding-top: 4px; padding-bottom: 118px; }
.acasa.cu-clip { padding-bottom: 214px; }
.alege-clip { display: flex; align-items: center; gap: 14px; min-height: 84px; margin: 0; padding: 14px 18px 14px 14px; border-radius: var(--r-foaie); background: var(--ink); color: var(--bg); cursor: pointer; font-weight: 400; transition: opacity .15s; }
.alege-clip:active { opacity: .82; } .alege-clip.over { outline: 2px dashed var(--accent); outline-offset: 3px; }
.alege-clip:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.ac-ic { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.ac-ic .ico { width: 26px; height: 26px; stroke-width: 2.2; }
.ac-x { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ac-x b { font: 800 22px/1.1 var(--f-titlu); letter-spacing: -.025em; }
.ac-x small { font: 400 13.5px/1.3 var(--f-text); opacity: .72; }
.ac-mod { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font: var(--t-mic); color: var(--muted); }
.ac-mod b { color: var(--ink); font-weight: 600; }
.ac-modx { width: 44px; height: 44px; min-height: 44px; margin: -8px 0; padding: 0; background: transparent; color: var(--faint); }
.ac-modx .ico { width: 16px; height: 16px; }
.acasa .linkf { display: block; margin: 10px 0 0; padding: 0; }
.acasa .linkf .lk-row { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 4px 0 12px; border-radius: var(--r-buton); background: var(--surface); box-shadow: inset 0 0 0 1px var(--contur); }
.acasa .linkf .lk-i { position: static; transform: none; flex: none; color: var(--faint); display: grid; } .acasa .linkf .lk-i .ico { width: 19px; height: 19px; }
.acasa .linkf .lk-row input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 16px; }
.acasa .linkf .lk-row button { flex: none; min-height: 44px; height: 44px; padding: 0 14px; border-radius: 11px; background: var(--surface-2); color: var(--ink); font: 600 14px/1 var(--f-text); }
.qa-g { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.qa { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; min-height: 50px; padding: 0; background: transparent; color: var(--ink); text-align: left; border-radius: var(--r-mini); }
.qa-m { position: relative; flex: none; width: 50px; height: 50px; border-radius: var(--r-mini); overflow: hidden; background: var(--surface-2); }
.qa-m img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.qa-auto { display: grid; place-items: center; background: var(--ink); color: var(--semn-lucru); }
.qa-auto .ico { width: 24px; height: 24px; }
.qa-x { min-width: 0; } .qa-x b { display: block; font: 500 15.5px/1.2 var(--f-text); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa[aria-pressed=true] .qa-m { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.qa[aria-pressed=true] .qa-x b { font-weight: 700; }
.banda { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-radius: var(--r-card); background: var(--surface-2); margin-right: calc(-1 * var(--margine)); border-top-right-radius: 0; border-bottom-right-radius: 0; }
.banda::-webkit-scrollbar, .pastile::-webkit-scrollbar { display: none; }
.cel { position: relative; flex: none; width: 82px; height: 132px; min-height: 0; padding: 0; border-radius: 0; overflow: hidden; background: #1a1a1c; color: #fff; --su: .86; }
.cel img, .cel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cel video { opacity: 0; transition: opacity .4s; } .cel video.live { opacity: 1; }
.cel::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); pointer-events: none; }
.cel-n { position: absolute; left: 7px; right: 5px; bottom: 7px; z-index: 1; color: #fff; font: 600 11.5px/1.15 var(--f-text); text-align: left; }
.cel-f { position: absolute; inset: 0; display: grid; place-items: center; padding: 6px; text-align: center; font: 600 11px/1.2 var(--f-text); color: rgba(255, 255, 255, .5); }
.cel[aria-pressed=true]::before { content: ''; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 0 3px #fff; pointer-events: none; }
.cel .st { bottom: 28%; }

/* subtitrarea desenată peste o poză: aceleași 5 stiluri ca în public/subtitrari.js; mărimea se ia din --su */
.st { position: absolute; left: 4%; right: 4%; bottom: 30%; z-index: 1; text-align: center; color: #fff; font: 900 calc(var(--su, 1) * 8.5px) / 1.15 Montserrat, sans-serif; letter-spacing: 0; pointer-events: none; }
.st b { font-weight: inherit; } .st i { font-style: normal; }
.st-capcut { text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.st-capcut b { background: #7c3aed; border-radius: .35em; padding: .08em .32em; text-shadow: none; }
.st-galben { -webkit-text-stroke: .08em rgba(0, 0, 0, .9); paint-order: stroke fill; }
.st-galben b { color: #FFD23F; } .st-galben i { opacity: .55; }
.st-mare { font: 400 calc(var(--su, 1) * 22px) / 1 Anton, sans-serif; bottom: 38%; -webkit-text-stroke: .05em rgba(0, 0, 0, .85); paint-order: stroke fill; }
.st-curat { font-weight: 700; font-size: calc(var(--su, 1) * 7px); text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.st-marker { font: 800 calc(var(--su, 1) * 8px) / 1.2 Poppins, sans-serif; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.st-marker b { background: linear-gradient(transparent 55%, #ff4d8d 55%); padding: 0 .1em; }

/* clipul ales: mare, redat din telefon cât se urcă (review 14.11), cu starea pe el */
.acasa .clipbox { display: block; padding: 0; border: 0; background: transparent; }
.cb-scena { display: grid; place-items: center; padding: 10px 0; border-radius: var(--r-card); background: var(--surface-2); }
.cb-clip { position: relative; height: min(38svh, 360px); aspect-ratio: 9 / 16; max-width: 82%; border-radius: var(--r-card); overflow: hidden; background: #1a1a1c; }
.acasa .clipbox .thumb { position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; background: none; display: block; }
.acasa .clipbox .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.cb-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .5); } .cb-ph .ico { width: 40px; height: 40px; }
.cb-play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; display: none; place-items: center; background: rgba(255, 255, 255, .95); color: #0e0e0e; pointer-events: none; }
.cb-play .ico { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; stroke: none; }
.thumb.paused .cb-play { display: grid; }
.cb-stare { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font: 600 12px/1 var(--f-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cb-stare::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--semn-lucru); animation: pulse 1.2s ease-in-out infinite; }
.cb-clip.gata .cb-stare::before { background: #6fdc8c; animation: none; }
.acasa .clipbox .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; margin: 0; border-radius: 0; background: rgba(255, 255, 255, .3); }
.acasa .clipbox .bar i { border-radius: 0; background: #fff; }
.cb-clip.gata .bar { opacity: 0; transition: opacity .6s .4s; }
.cb-info { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.cb-info .nm { flex: 1; min-width: 0; font: var(--t-rand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-info button { flex: none; min-height: 44px; }
.acasa .look { margin: 8px 0 0; border-radius: var(--r-card); font: var(--t-mic); }
.acasa.cu-clip .rapide .sec { margin-top: 20px; }

/* reglajele (după ce există un clip): fără cutii, despărțite de o linie fină */
.reglaje { margin-top: var(--gol-sectiune); border-top: 1px solid var(--line); }
.reglaje .step { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; padding: 16px 0; margin: 0; }
.reglaje .step-h .num { background: var(--surface-2); color: var(--ink); font: 700 14px/1 var(--f-text); }
.reglaje .auto-row h2 { font-size: 17px; } .auto-ic { width: 44px; height: 44px; border-radius: var(--r-mini); background: var(--surface-2); color: var(--ink); box-shadow: none; }
.reglaje button.more-opts { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; background: transparent; box-shadow: none; min-height: 56px; }
.switch input:checked + span { background: var(--ink); }

/* caseta „Spune ce vrei”: plutește deasupra barei de jos; după ce există un clip, tot aici stau prețul și butonul */
.spune-w { position: fixed; left: 0; right: 0; bottom: calc(var(--h-jos) + max(0px, calc(env(safe-area-inset-bottom, 0px) - 14px))); z-index: 25; padding: 26px 12px 10px; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, 0), var(--bg) 34%); background: linear-gradient(color-mix(in srgb, var(--bg) 0%, transparent), var(--bg) 34%); }
body.kb .spune-w { bottom: 0; }
html.noscroll .spune-w { visibility: hidden; }
.spune { pointer-events: auto; max-width: 596px; margin: 0 auto; background: var(--surface); border-radius: var(--r-foaie); padding: 4px 10px 10px 14px; box-shadow: 0 0 0 1px var(--line), var(--u-plutire); }
.spune-t { display: block; width: 100%; min-height: 44px; height: 44px; max-height: 96px; padding: 11px 4px 11px 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; resize: none; font: 400 16px/1.35 var(--f-text); color: var(--ink); }
.spune-t:focus { box-shadow: none; border: 0; }
.spune-t::placeholder { color: var(--muted); }
.spune-h, .spune .hint { margin: 2px 2px 6px; font: var(--t-mic); color: var(--muted); }
.spune .hint:empty { display: none; }
.spune .err { margin: 2px 2px 6px; font-size: 14px; }
.spune-r { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.rot { position: relative; flex: none; width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; box-shadow: inset 0 0 0 1px var(--contur); color: var(--ink); }
.rot::after, .past::after { content: ''; position: absolute; inset: -5px; }
.rot .ico { width: 19px; height: 19px; }
.rot.plin { background: var(--ink); color: var(--bg); box-shadow: none; } .rot.plin .ico { stroke-width: 2.3; }
.past { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 34px; min-height: 34px; padding: 0 12px 0 8px; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--contur); font: 500 14px/1 var(--f-text); color: var(--ink); white-space: nowrap; min-width: 0; }
.past .ico { width: 18px; height: 18px; }
.past-m { padding: 0 12px; overflow: hidden; text-overflow: ellipsis; display: inline-block; line-height: 34px; background: var(--surface-2); box-shadow: none; }
.spune-go { margin-top: 10px; padding-right: 4px; }
.spune-p { display: flex; align-items: baseline; gap: 8px; margin: 0 2px 8px; font: var(--t-mic); color: var(--muted); font-variant-numeric: tabular-nums; }
.spune-p b { font: 700 15px/1 var(--f-text); color: var(--ink); }
.spune-go .cta { width: 100%; }
.spune-go .cta:disabled { background: var(--surface-2); color: var(--muted); opacity: 1; }

/* ── Șabloane ── */
.sab { padding-top: 2px; }
.sab-i { margin: 0 0 -8px; font: var(--t-mic); color: var(--muted); }
.sab-g { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.sab-c { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; padding: 0; background: transparent; color: var(--ink); text-align: left; border-radius: var(--r-card); }
.sab-c .rv { --su: 1.9; border-radius: var(--r-card); box-shadow: none; background: #1a1a1c; }
.sab-c .rv video { opacity: 0; transition: opacity .4s; } .sab-c .rv video.live { opacity: 1; }
.sab-c small { font: var(--t-mic); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sab-c .cel-f { font-size: 15px; }
@media (min-width: 560px) { .sab-g { grid-template-columns: repeat(3, 1fr); } }

/* ── Cont ── */
.cont-cap { display: flex; align-items: center; gap: 14px; padding: 10px 0 18px; border-bottom: 1px solid var(--line); }
.cont-i { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 800 22px/1 var(--f-titlu); }
.fm { list-style: none; margin: 0; padding: 6px 0 0; }
.fm-r, .rmenu-o { display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; min-height: 56px; padding: 6px 0; border-radius: 0; background: transparent; color: var(--ink); text-align: left; text-decoration: none; font: 500 16px/1.2 var(--f-text); box-shadow: none; }
.fm-r > span, .rmenu-o > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fm-r b, .rmenu-o b { font-weight: 500; }
.fm-r small, .rmenu-o small { font: var(--t-mic); color: var(--muted); }
.fm-r > .ico, .rmenu-o > .ico { width: 23px; height: 23px; flex: none; }
.fm-r > .chev, .rmenu-o > .chev { width: 18px; height: 18px; color: var(--faint); }
.rmenu-o.rau { color: var(--bad); } .rmenu-o.rau small { color: var(--muted); }
.cont-v { margin: 22px 0 0; font: var(--t-mic); color: var(--faint); }

/* ── Biblioteca: file, pastile, unelte, listă, grilă, „Alege”, Coș ── */
.gal { margin: 0 calc(-1 * var(--margine)); }
.file { display: flex; gap: 22px; padding: 0 var(--margine); border-bottom: 1px solid var(--line); }
.file button { position: relative; height: 44px; min-height: 44px; min-width: 44px; padding: 0; border-radius: 0; background: transparent; font: 500 16px/1 var(--f-text); color: var(--muted); white-space: nowrap; justify-content: flex-start; }
.file button.on, .file button[aria-selected=true] { color: var(--ink); font-weight: 600; }
.file button.on::after, .file button[aria-selected=true]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; background: var(--ink); }
.gal-q { display: flex; align-items: center; gap: 8px; height: 46px; margin: 10px var(--margine) 0; padding: 0 12px; border-radius: var(--r-buton); background: var(--surface-2); color: var(--muted); font-weight: 400; }
.gal-q .ico { width: 19px; height: 19px; flex: none; }
.gal-q input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 16px; }
.gal-q input:focus { box-shadow: none; border: 0; }
.pastile { display: flex; gap: 8px; padding: 13px var(--margine) 9px; overflow-x: auto; scrollbar-width: none; }
.pastile button { flex: none; position: relative; height: 30px; min-height: 30px; padding: 0 13px; border-radius: var(--r-pastila); background: transparent; box-shadow: inset 0 0 0 1px var(--contur); font: 500 14px/1 var(--f-text); color: var(--muted); white-space: nowrap; }
.pastile button::after { content: ''; position: absolute; inset: -7px 0; }
.pastile button[aria-pressed=true] { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font-weight: 600; }
.unelte { display: flex; align-items: center; height: 44px; padding: 0 var(--margine); }
.unelte .sp, .spune-r .sp { flex: 1; }
.cate { font: 500 16px/1 var(--f-text); white-space: nowrap; }
.alege { height: 44px; min-height: 44px; padding: 0 0 0 14px; border-radius: 0; background: transparent; font: 500 15px/1 var(--f-text); color: var(--muted); }
.alege.gata-b { color: var(--ink); font-weight: 700; }
.vedere { display: flex; margin-right: -12px; }
.vedere button { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 0; display: grid; place-items: center; background: transparent; font: 600 14px/1 var(--f-text); color: var(--faint); }
.vedere .ico { width: 19px; height: 19px; }
.vedere button[aria-pressed=true] { color: var(--ink); font-weight: 800; }
.lista { list-style: none; margin: 0; padding: 2px 0 0; }
.rand { display: flex; align-items: center; padding: 0 6px 0 var(--margine); }
.rand-a { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 7px 0; min-height: 80px; border-radius: 0; background: transparent; color: var(--ink); text-align: left; text-decoration: none; font-weight: 400; }
.rand-x { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rand-x b { max-width: 100%; font: var(--t-rand); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rand-x small, .rand-d { font: var(--t-mic); color: var(--muted); font-variant-numeric: tabular-nums; }
.rand-d { display: flex; align-items: center; gap: 7px; max-width: 100%; margin-top: 1px; white-space: nowrap; overflow: hidden; }
.rand-d .ico { width: 15px; height: 15px; margin-right: -3px; flex: none; }
.rand-d > i { flex: none; width: 1px; height: 11px; background: currentColor; opacity: .35; }
.rand-d > span, .rand-d > em { display: inline-flex; align-items: center; gap: 7px; overflow: hidden; text-overflow: ellipsis; }
.stare { font: 500 13.5px/1.25 var(--f-text); font-style: normal; }
.s-gata { color: var(--ok); } .s-lucru { color: var(--accent); font-weight: 600; } .s-fel { color: var(--muted); } .s-rau { color: var(--bad); }
.rand-m { flex: none; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--faint); }
.rand-m .ico { width: 23px; height: 23px; }
.mini { position: relative; flex: none; width: 66px; height: 66px; border-radius: var(--r-mini); overflow: hidden; background: var(--surface-2); display: block; }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.mini-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); } .mini-ph .ico { width: 24px; height: 24px; }
.mini.ld::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); background-size: 200% 100%; animation: stShim 1.4s linear infinite; }
.mini-ic { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mini-ic .ico { width: 28px; height: 28px; }
.mini-p { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(12, 8, 12, .5); }
.mini-p i { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--semn-lucru) calc(var(--p) * 1%), rgba(255, 255, 255, .42) 0); -webkit-mask: radial-gradient(circle, transparent 9.5px, #000 10px); mask: radial-gradient(circle, transparent 9.5px, #000 10px); }
.mini-p i.ind { background: conic-gradient(var(--semn-lucru) 25%, rgba(255, 255, 255, .42) 0); animation: spin 1.1s linear infinite; }
.cu-s { display: flex; align-items: center; gap: 2px; max-width: 100%; white-space: nowrap; overflow: hidden; }
.cu-s .ico { width: 14px; height: 14px; flex: none; }
.cerc { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--faint); }
.cerc .ico { width: 14px; height: 14px; stroke-width: 2.8; }
.cerc.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.nota-cos { margin: 0; padding: 0 var(--margine) 8px; font: var(--t-mic); color: var(--muted); }
.recup { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 44px; min-height: 44px; padding: 0 10px 0 8px; border-radius: 0; background: transparent; font: 600 14px/1 var(--f-text); color: var(--ink); white-space: nowrap; }
.recup .ico { width: 17px; height: 17px; }
.gal .rgrid { gap: 5px; margin: 0; padding: 6px var(--margine) 0; }
.gal .rgrid[data-cols="1"] { max-width: 420px; gap: 12px; }
.gal .rgrid[data-cols="2"] { gap: 8px; }
.gal .rcard { gap: 0; position: relative; }
.gal .rv, .sk-grid .rv { border-radius: var(--r-mini); box-shadow: none; background: #1a1a1c; }
.gal .rv.sk { background: var(--surface-2); }
.rgrid[data-cols="1"] .rv, .rgrid[data-cols="2"] .rv { border-radius: var(--r-card); }
.gal .rcard:hover .rv, .gal .rcard:active .rv { transform: none; box-shadow: none; }
.gal .rv-title { left: 8px; right: 8px; bottom: 8px; font: 600 13.5px/1.2 var(--f-text); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rgrid[data-cols="1"] .rv-title { font-size: 19px; left: 14px; bottom: 14px; }
.rgrid[data-cols="3"] .rv-title, .rgrid[data-cols="4"] .rv-title { font: 600 11.5px/1.2 var(--f-text); left: 6px; right: 6px; bottom: 6px; }
.rgrid[data-cols="4"] .rv-title { -webkit-line-clamp: 1; }
.gal .rv-dur, .gal .rv-nota { top: 6px; padding: 3px 6px; border-radius: 6px; background: rgba(0, 0, 0, .5); font: 600 11.5px/1 var(--f-text); font-variant-numeric: tabular-nums; -webkit-backdrop-filter: none; backdrop-filter: none; }
.gal .rv-dur { right: 6px; } .gal .rv-nota { left: 6px; }
.rgrid[data-cols="4"] .rv-nota { display: none; }
.rgrid .cerc { position: absolute; top: 6px; left: 6px; z-index: 3; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.rgrid .cerc.on { background: #fff; color: #0e0e0e; box-shadow: none; }
.rgrid.mod-alege .rcard[aria-checked=true] .rv { outline: 3px solid var(--ink); outline-offset: -3px; }
.gal-all { padding: 14px var(--margine) 0; font: var(--t-mic); }
.gal .empty { margin: 34px var(--margine) 0; border: 0; background: transparent; }
.nou { position: fixed; right: max(var(--margine), calc(50% - 310px + var(--margine))); bottom: calc(var(--h-jos) + 14px + max(0px, calc(env(safe-area-inset-bottom, 0px) - 14px))); z-index: 25; display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 16px/1 var(--f-text); text-decoration: none; box-shadow: var(--u-plutire); }
.nou .ico { width: 20px; height: 20px; stroke-width: 2.4; }
body.sel .nou, body.no-fab .nou, html.noscroll .nou, body.kb .nou { display: none; }
.actiuni { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: flex; height: calc(var(--h-jos) + max(0px, calc(env(safe-area-inset-bottom, 0px) - 14px))); padding-bottom: max(0px, calc(env(safe-area-inset-bottom, 0px) - 14px)); background: var(--bg); border-top: 1px solid var(--line); }
.actiuni button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 44px; padding: 0; border-radius: 0; background: transparent; color: var(--ink); font: 500 11.5px/1 var(--f-text); }
.actiuni button .ico { width: 24px; height: 24px; }
.actiuni .rau { color: var(--bad); }
.actiuni button:disabled { color: var(--faint); opacity: 1; }
@media (min-width: 900px) { .actiuni { left: max(12px, calc(50% - 310px)); right: max(12px, calc(50% - 310px)); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-foaie) var(--r-foaie) 0 0; } }

/* ── foile care urcă de jos: albe, cu mâner; meniul „⋯” cu antetul rândului ── */
.sheet, .sheet-dark .sheet { border-radius: var(--r-foaie) var(--r-foaie) 0 0; background: var(--surface); color: var(--ink); border: 0; box-shadow: var(--u-foaie); --on-velvet: var(--ink); --on-velvet-2: var(--muted); --on-velvet-3: var(--muted); --glass: var(--surface-2); --glass-line: var(--line); --sun: var(--ink); }
.sheet-bg { background: rgba(14, 14, 14, .4); }
.sheet-grab { width: 36px; height: 4px; border-radius: 2px; background: var(--contur); opacity: 1; margin-top: 8px; }
.sheet-top b { font: 700 19px/1.2 var(--f-titlu); letter-spacing: -.02em; }
.sheet-x { background: var(--surface-2); color: var(--ink); width: 34px; height: 34px; min-height: 34px; position: relative; } .sheet-x::after { content: ''; position: absolute; inset: -5px; } .sheet-x .ico { width: 19px; height: 19px; }
.sheet-wrap:has(.rmenu) .sheet-top { display: none; }
.rmenu { padding-top: 4px; }
.fm-cap { display: flex; align-items: center; gap: 12px; padding: 6px 0 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.fm-cap .mini { width: 48px; height: 48px; }

/* ── pagina reelului ── */
.rp { padding: 0; margin: 0; }
.rp-head { margin-top: 14px; }
.rp-head h1 { font: 700 21px/1.15 var(--f-titlu); letter-spacing: -.025em; }
.rp-work .rp-head h1 { font-size: 24px; font-weight: 800; }
.gata-scena { display: grid; place-items: center; margin: 0 calc(-1 * var(--margine)); padding: 12px 0; background: var(--surface-2); }
.gata-scena .player { position: relative; height: min(62svh, calc(100svh - var(--h-sus) - var(--h-jos) - 214px)); min-height: 260px; aspect-ratio: 9 / 16; border-radius: var(--r-card); overflow: hidden; background: #000; }
.gata-scena .player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pl-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(255, 255, 255, .95); color: #0e0e0e; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .28); }
.pl-play .ico { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; stroke: none; }
.rp .meta { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; font: var(--t-mic); color: var(--muted); font-variant-numeric: tabular-nums; }
.out.one { margin-top: 0; } .out.one::before { display: none; }
.acts3 { margin-top: 0; gap: 10px; }
.acts3 .btn, .acts3 button { height: var(--h-buton); min-height: var(--h-buton); border-radius: var(--r-buton); font: 700 17px/1 var(--f-text); }
.acts3 .ico { width: 21px; height: 21px; stroke-width: 2; }
.inca { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 64px; margin: 0; padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; box-shadow: none; }
.acts3 + .inca { margin-top: 8px; }
.inca-m { flex: none; width: 44px; height: 44px; border-radius: var(--r-mini); overflow: hidden; display: grid; place-items: center; background: var(--surface-2); }
.inca-m img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.inca-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.inca-x b { font: var(--t-rand); } .inca-x small { font: var(--t-mic); color: var(--muted); }
.inca > .chev { width: 20px; height: 20px; color: var(--faint); }
.rp .dir-name { margin: 12px 0 0; }
.nota, .more-info, details.variant, .planbox, .now { border-radius: var(--r-card); box-shadow: none; }
.track li.done i, .track li.run i { background: var(--ink); color: var(--bg); }
.back { display: none; }

/* ── fereastra cu reelul pe tot ecranul și „Alege pe loc”: fond deschis, bara albă, foaia de jos ── */
.viewer:not(.dirs):not(.decup) { background: var(--surface-2); color: var(--ink); }
.viewer:not(.dirs):not(.decup) .vw-top { background: var(--bg); padding: 6px var(--margine); min-height: var(--h-sus); }
.viewer:not(.dirs):not(.decup) .vw-top button { background: transparent; color: var(--ink); font: 500 16px/1 var(--f-text); padding: 0 8px 0 0; margin-left: -6px; border-radius: 0; }
.viewer:not(.dirs):not(.decup) .vw-top .vw-x { width: 34px; height: 34px; min-height: 34px; min-width: 34px; margin: 0; padding: 0; border-radius: 50%; background: var(--surface-2); position: relative; }
.viewer:not(.dirs):not(.decup) .vw-top .vw-x::after { content: ''; position: absolute; inset: -5px; } .vw-top .vw-x .ico { width: 19px; height: 19px; }
.vw-top b { font: 600 16px/1 var(--f-text); letter-spacing: -.01em; }
.viewer:not(.dirs):not(.decup) .vw-stage { padding: 14px 8px; }
.viewer:not(.dirs):not(.decup) .vw-stage video { border-radius: var(--r-card); background: transparent; }
.viewer:not(.dirs):not(.decup) .vw-nav { background: rgba(255, 255, 255, .92); color: #0e0e0e; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.viewer:not(.dirs):not(.decup) .vw-count { top: 22px; background: rgba(0, 0, 0, .5); color: #fff; border-radius: 6px; -webkit-backdrop-filter: none; backdrop-filter: none; font: 600 12px/1 var(--f-text); padding: 4px 6px; }
.viewer:not(.dirs):not(.decup) .vw-play { background: rgba(255, 255, 255, .95); color: #0e0e0e; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 22px; padding-left: 4px; }
.viewer:not(.dirs):not(.decup) .vw-acts { background: var(--bg); padding: 12px var(--margine) 14px; border-radius: var(--r-foaie) var(--r-foaie) 0 0; box-shadow: var(--u-foaie); grid-template-columns: 1fr 1fr 54px; }
.viewer:not(.dirs):not(.decup) .vw-acts .btn, .viewer:not(.dirs):not(.decup) .vw-acts button, .viewer:not(.dirs):not(.decup) .vw-acts a { height: var(--h-buton); min-height: var(--h-buton); border-radius: var(--r-buton); font: 700 16.5px/1 var(--f-text); }
.viewer:not(.dirs):not(.decup) .vw-acts .ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.viewer:not(.dirs):not(.decup) .vw-more { box-shadow: inset 0 0 0 1px var(--contur); }
.viewer.dirs, .viewer.decup { --plum-deep: #1c1c1f; --night: #0e0e0e; --night-2: #141416; }

.viewer.pvw { background: var(--surface-2); color: var(--ink); }
.pvw-stage { padding: 12px 16px calc(12px + var(--r-foaie)); }
.pvw-box { max-height: none; border-radius: var(--r-card); box-shadow: none; background: #1a1a1c; }
.pvw-wait { color: rgba(255, 255, 255, .8); }
.pvw-ctl { position: relative; z-index: 5; margin-top: calc(-1 * var(--r-foaie)); padding: 0 0 max(14px, env(safe-area-inset-bottom)); background: var(--surface); border-radius: var(--r-foaie) var(--r-foaie) 0 0; box-shadow: var(--u-foaie); }
.foaie-m { display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--contur); margin: 8px auto 0; }
.pvw-tabs.file { gap: 26px; justify-content: flex-start; padding: 0 var(--margine); }
.pvw-tabs.file button { background: transparent; color: var(--muted); border-radius: 0; padding: 0; font: 500 16px/1 var(--f-text); min-height: 44px; }
.pvw-tabs.file button[aria-selected=true] { background: transparent; color: var(--ink); font-weight: 600; }
.pvw-strip { gap: 10px; padding: 14px var(--margine) 2px; scroll-padding: 0 var(--margine); }
.pvw-o.var { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; width: 76px; min-height: 0; height: auto; padding: 0; border: 0; border-radius: var(--r-mini); background: transparent; color: var(--muted); }
.pvw-o.var[aria-checked=true] { background: transparent; color: var(--ink); border: 0; }
.var-m { position: relative; display: block; width: 76px; height: 101px; border-radius: var(--r-mini); overflow: hidden; background: #2a2a2e var(--face, linear-gradient(160deg, #6b6b72, #2a2a2e)) center / cover no-repeat; --su: .8; }
.var-m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.var-m.var-mus, .var-m.var-sub:has(.var-ic) { background: var(--surface-2); }
.var-ic { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); } .var-ic .ico { width: 26px; height: 26px; }
.pvw-o[aria-checked=true] .var-m { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.pvw-o[aria-checked=true] .var-ic { color: var(--ink); }
.var-b { position: absolute; top: 5px; right: 5px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; display: none; place-items: center; background: var(--ink); color: var(--surface); }
.var-b .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.pvw-o[aria-checked=true] .var-b { display: grid; }
.var-n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: 100%; height: 30px; font: 500 12.5px/1.2 var(--f-text); text-align: center; white-space: normal; }
.pvw-o[aria-checked=true] .var-n { font-weight: 700; }
.pvw-strip { padding-top: 16px; }
.pvw-note.ales { margin: 8px var(--margine) 12px; text-align: left; font: var(--t-mic); color: var(--muted); }
.pvw-note.ales b { display: block; color: var(--ink); font-weight: 400; margin-bottom: 2px; }
.pvw-note.ales span { display: block; }
.pvw-go { width: calc(100% - 2 * var(--margine)); margin: 0 var(--margine); }
.cta .pret { font-weight: 600; opacity: .88; padding-left: 10px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .4); font-variant-numeric: tabular-nums; }
button.pvw-ideas { width: calc(100% - 2 * var(--margine)); margin: -4px var(--margine) 4px; min-height: 44px; justify-content: flex-start; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); font: 600 14px/1 var(--f-text); text-decoration: underline; text-decoration-color: var(--contur); text-underline-offset: 4px; }
.pvw .dir-spin { border-color: rgba(255, 255, 255, .25); border-top-color: #fff; }
.pvw-go .dir-spin { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
.spune-go .dir-spin { border-color: color-mix(in srgb, var(--muted) 30%, transparent); border-top-color: var(--muted); }
@media (min-width: 900px) { .pvw-ctl, .viewer:not(.dirs):not(.decup) .vw-acts { width: 100%; max-width: 620px; margin-left: auto; margin-right: auto; } .pvw-go { max-width: none; } }

.toast { border-radius: var(--r-buton); background: var(--ink); color: var(--bg); }
.empty-ic { color: var(--faint); }
@media (prefers-reduced-motion: reduce) { .cb-stare::before, .mini-p i.ind, .mini.ld::before { animation: none; } .cel video, .sab-c .rv video { transition: none; } }

.rv-st { padding: 5px 8px; border-radius: 6px; background: rgba(0, 0, 0, .58); color: #fff; font: 600 12px/1.25 var(--f-text); }
.rgrid[data-cols="4"] .rv-st { font-size: 10.5px; padding: 3px 5px; }
.cel-f.sk { padding: 0; border-radius: 0; opacity: .18; }
.sab-c .rv .cel-f { position: absolute; inset: 0; }
@media (max-height: 700px) { .var-m { width: 58px; height: 77px; --su: .62; } .pvw-o.var { width: 58px; } .pvw-stage { padding-top: 8px; padding-bottom: calc(8px + var(--r-foaie)); } .var-n { -webkit-line-clamp: 1; height: 14px !important; } .pvw-note.ales span { display: none; } .pvw-note.ales { margin-bottom: 8px; } .pvw-strip { padding-top: 12px; } .var-n { font-size: 11.5px; height: 28px; } }
@media (min-width: 900px) { .banda { margin-right: 0; border-radius: var(--r-card); } }
.rp .out.one, .rp .out.one > div { display: block; width: auto; max-width: none; }
:root { --plum: #1c1c1f; --plum-deep: #0e0e0e; --lilac: #3a3a3f; --night: #0e0e0e; --night-2: #141416; --velvet: linear-gradient(160deg, #2e2e33 0%, #0e0e0e 100%); --paper-glow: transparent; --paper-glow-2: transparent; }
/* foile albe: ce era gândit pe fond închis (muzica, efectele, „Reel pe muzică”) primește culorile A; alesul = margine neagră + bifă */
.sheet .mus-o { border-radius: var(--r-card); border-width: 1.5px; background: var(--surface-2); }
.sheet .mus-o[aria-selected=true] { border-color: var(--ink); background: var(--surface); }
.sheet .mus-play { border-radius: var(--r-mini); background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--contur); }
.sheet .mus-play.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.sheet .mus-ph { color: var(--muted); }
.sheet .mus-ok { background: var(--ink); color: var(--bg); }
.sheet .mus-h { font: 600 13px/1 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 12px; }
.sheet .ret-pv { border-radius: var(--r-mini); }
.sheet .loc-bune { border-radius: var(--r-card); background: var(--surface-2); } .sheet .loc-bune b { color: var(--ink); }
.sheet .loc-chips .chip { min-height: 44px; border-radius: var(--r-pastila); border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--contur); color: var(--muted); font-weight: 500; }
.sheet .loc-chips .chip[aria-checked=true] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font-weight: 600; }
.sheet .loc-t input { border-radius: var(--r-card); border-color: var(--contur); background: var(--surface); color: var(--ink); }
.sheet .dir-spin { border-color: var(--line); border-top-color: var(--ink); }
/* adminul: același antet și aceleași pastile (doar aspectul) */
.adm main { max-width: 1120px; }
.adm .hero { padding: 6px 0 4px; } .adm .hero h1 { font: var(--t-ecran); letter-spacing: -.03em; margin: 0; }
.adm .tabs { flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px calc(-1 * var(--pad)); padding: 2px var(--pad) 8px; }
.adm .tabs::-webkit-scrollbar { display: none; }
.adm .tabs button { flex: none; min-height: 44px; padding: 0 14px; border-radius: var(--r-pastila); background: transparent; box-shadow: inset 0 0 0 1px var(--contur); font: 500 14.5px/1 var(--f-text); color: var(--muted); white-space: nowrap; }
.adm .tabs button.on { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font-weight: 600; }
.adm .card { border: 1px solid var(--line); border-radius: var(--r-foaie); padding: var(--pad); background: var(--surface); }
.sheet .dir-time { color: var(--muted); }

.pvw-idee { margin: 0 16px 8px; font-size: 13.5px; line-height: 1.4; } .pvw-idee small { color: var(--muted, #666); font-size: 12.5px; }

/* 🎞 14.11 Pentru tine: variantele unui clip fără vorbă */
.vrt-strip { gap: 12px; }
.vrt-o .vrt-m { width: 76px; height: 101px; background: #1a1a1c; }
.vrt-m canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vrt-d { position: absolute; left: 5px; bottom: 5px; padding: 1px 6px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 800; }
.vrt-len { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 800; z-index: 3; }
.vrt-t { display: grid; gap: 6px; margin: 4px var(--margine, 16px) 10px; font-size: 13px; font-weight: 700; }
.vrt-t small { font-weight: 500; opacity: .7; }
.vrt-t input { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line, #ddd); font: inherit; font-weight: 500; background: var(--surface-2, #f4f4f5); color: inherit; }

/* ✍️ 14.11 banda de text din „Alege pe loc” */
.pvw-strip.pvw-strip-text { display: block; overflow: visible; padding: 4px var(--margine, 16px) 6px; }
.pvw-tx-h { margin: 0 0 8px; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.pvw-tx-w { margin: 0; max-height: 132px; overflow-y: auto; line-height: 2.1; font-size: 15px; }
.pvw-tx-w .tw { border: 0; background: var(--surface-2, #f4f4f2); color: inherit; font: inherit; padding: 3px 7px; border-radius: 8px; margin: 0 1px; cursor: pointer; }
.pvw-tx-w .tw.ind { background: #ffe1c2; box-shadow: inset 0 -2px 0 #c2410c; font-weight: 700; }
.pvw-tx-gol { margin: 6px 0; color: var(--muted); font-size: 13.5px; }
/* 14.11: șase file în „Alege pe loc” (Șabloane, Idei, Text, Subtitrare, Efecte, Muzica) — se derulează pe orizontală, nu se suprapun */
.pvw-tabs.file { overflow-x: auto; scrollbar-width: none; gap: 18px; white-space: nowrap; justify-content: flex-start; padding-left: var(--margine, 16px); padding-right: var(--margine, 16px); }
.pvw-tabs.file::-webkit-scrollbar { display: none; }
.pvw-tabs.file button { flex: none; }
