
:root {
  color-scheme: light;
  --bg: #eaf0f8;
  --paper: #ffffff;
  --ink: #1e2330;
  --muted: #868b99;
  --muted-tint: #4b5262;
  --ink-2: #4b5262;
  --line: #e2e7f0;
  --red: #5462d6;
  --link: #4351c4;
  --soft: #eef1fd;
  --tint: #dde5fb;
  --ok: #0c6b3c;
  --okbg: #eef8f2;
  --bad: #9d1c22;
  --badbg: #fff1f0;
  --shadow: 0 8px 24px rgba(36,45,61,.05);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: Outfit, system-ui, sans-serif; max-width: 100%; -webkit-font-smoothing: antialiased; }
body.marketing { background: var(--bg); }
body { min-height: 100vh; overflow-x: clip; }
p, li, h1, h2, h3, a, span, label, .lede, .fine, .muted { overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.wrap, .bar, .foot-inner { width: min(1200px, 100%); max-width: 100%; margin: 0 auto; padding: 0 48px; }
body.auth .wrap { width: min(520px, 100%); }
body.player .wrap { width: min(960px, 100%); }

.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #d3deee; }
.bar { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 700; letter-spacing: -.04em; font-size: 20px; color: var(--ink); }
.mark { width: 40px; height: 40px; display: block; flex: none; }
.links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
body.marketing .links, body.player .links { margin-left: auto; }
body.app .links { margin-left: 12px; }
.links a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.links a.on, .links a:hover { color: var(--link); background: var(--soft); }
.links a.btn { color: #fff; }
.links a.btn:hover { color: #fff; background: var(--link); }
.account { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.who { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 14px; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; background: var(--soft); color: var(--muted); font-size: 13px; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 11px 16px; min-height: 44px; text-decoration: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.4; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.btn.primary { background: var(--red); border-color: transparent; color: #fff; min-height: 48px; }
.btn.primary:hover { background: var(--link); filter: none; }
.btn.primary:active { background: #354599; }
.btn.ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: #c9d2e3; filter: none; }
.btn.slim { padding: 8px 12px; font-size: 14px; }
.btn.danger { color: var(--bad); background: transparent; }
.btn:hover { filter: brightness(.98); }
.quiet { color: var(--muted); text-decoration: none; background: transparent; border: 0; padding: 8px 0; cursor: pointer; font: inherit; }

.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding: 28px 0 12px; }
.kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 12px; }
h1 { font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: .98; letter-spacing: -.045em; margin: 0 0 16px; }
.lede { color: var(--muted); font-size: 18px; line-height: 1.5; margin: 0; max-width: 46ch; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.fine { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

.device { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.device-bar { display: flex; gap: 6px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.device-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d7dbe3; display: block; }
.device-bar em { margin-left: 8px; font-style: normal; color: var(--muted); font-size: 12px; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.device img { width: 100%; height: 380px; object-fit: cover; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 11px; font-size: 13px; color: var(--muted); }
.stage-home { position: relative; padding: 8px 6px 0 20px; }
.shot-wrap { position: relative; }
.shot-wrap::before { content: ""; position: absolute; z-index: 0; top: 22px; left: -16px; right: 18px; bottom: -14px; background: var(--red); border-radius: 28px; }
.shot { position: relative; z-index: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 22px 50px rgba(20,22,28,.14); overflow: hidden; }
.accent { color: var(--red); }
.btn.xl { min-height: 52px; padding: 14px 22px; font-size: 17px; }
.path { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 0; font-size: 14px; font-weight: 600; }
.path span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
.path span:last-child { background: var(--red); color: #fff; border-color: transparent; }
.payoff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 36px 0 8px; }
.payoff article { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.payoff b { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--red); font-size: 13px; }
.payoff h3 { margin: 10px 0 6px; font-size: 22px; letter-spacing: -.03em; }
.payoff p { margin: 0; color: var(--muted); }
.payoff article.hit { background: var(--ink); border-color: transparent; color: #f6f3ee; }
.payoff article.hit p { color: #c9c3ba; }
.payoff article.hit b { color: #ffb4ae; }
.payoff a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.home-note { margin: 8px 0 0; }
.plan-board { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 16px; align-items: stretch; }
.plan-board > .card { display: flex; flex-direction: column; padding: 22px; }
.plan-board > .card .row { margin-top: auto; padding-top: 18px; }
.plan-board > .card form { margin-top: 0; }
.plan-board .unlock { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.opt-groups { display: grid; margin: 0; }
.opt-groups div { display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.opt-groups span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.opt-groups b { font-weight: 600; font-size: 15px; }
.plan-board .card.featured { background: var(--paper); border-color: #5368d4; }
.plan-board .card.pro { background: var(--paper); color: var(--ink); border-color: var(--line); }
.plan-board .btn, .plan-board form { width: 100%; }
.plan-board form .btn { width: 100%; }
.stage-floats { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.shot-bar { display: flex; gap: 6px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d7dbe3; display: block; }
.shot-bar em { margin-left: 8px; font-style: normal; color: var(--muted); font-size: 12px; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.shot-body { padding: 16px 16px 18px; }
.shot-title { display: block; font-size: 22px; letter-spacing: -.03em; margin: 0 0 4px; }
.shot-meta { color: var(--muted); font-size: 13px; }
.film { position: relative; margin-top: 14px; height: 248px; border-radius: 14px; overflow: hidden; background: #14120f; }
.film-app { position: absolute; inset: 0; display: grid; grid-template-columns: 56px 1fr; }
.film-nav { background: #1d1a17; border-right: 1px solid rgba(255,255,255,.06); }
.film-canvas { padding: 18px 16px; display: grid; gap: 10px; align-content: start; }
.film-head { height: 12px; width: 46%; border-radius: 99px; background: rgba(255,255,255,.22); }
.film-card { height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); }
.film-card.hot { width: 72%; background: rgba(225,6,0,.82); }
.cam-bubble { position: absolute; top: 14px; right: 14px; width: 68px; height: 68px; border-radius: 50%; border: 3px solid #fff; background: #c9856b; box-shadow: 0 8px 18px rgba(0,0,0,.35); overflow: hidden; }
.cam-bubble svg { width: 100%; height: 100%; display: block; }
.film .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.film .dur { position: absolute; left: auto; right: 12px; bottom: 12px; }
.rec-float, .copy-float { display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); }
.rec-float { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 12px; }
.rec-live { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.rec-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225,6,0,.16); }
.rec-float b { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; font-size: 14px; }
.rec-stop { background: var(--red); color: #fff; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.copy-float { background: #17191f; color: #f7f5f2; border-radius: 14px; padding: 12px 14px; }
.copy-float strong { display: block; font-size: 14px; }
.copy-float .mono { color: #c8c2b8; font-size: 12px; }
.story, .split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.split { grid-template-columns: 1fr 1fr; }
.story article, .pane { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.story b { display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--red); margin-bottom: 10px; }
.story h3, .pane h3 { margin: 0 0 8px; letter-spacing: -.03em; }
.pane h3 { font-size: 26px; }

.fake-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.fake-list li { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; background: var(--bg); border-radius: 12px; padding: 8px; }
.fake-list strong { display: block; font-size: 14px; }
.fake-list span { color: var(--muted); font-size: 12px; }
.thumb { height: 46px; border-radius: 8px; background: linear-gradient(160deg, #2a241e, #14120f 60%); position: relative; }
.thumb::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%); border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent #fff; }
.mini-player { position: relative; margin-top: 14px; height: 168px; border-radius: 14px; background: linear-gradient(160deg, #2a241e, #14120f 62%); display: grid; place-items: center; }
.mini-player .dur { position: absolute; }
.float-card { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 10px; align-items: center; background: #17191f; color: #f7f5f2; border-radius: 14px; padding: 12px 14px; }
.float-card strong { display: block; font-size: 14px; }
.float-card span { color: #c8c2b8; font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225,6,0,.28); flex: none; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 28px 0 8px; }
.metric, .card, .stat, .panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.metric, .stat { padding: 16px 18px; }
.metric b, .stat b { display: block; font-size: 28px; letter-spacing: -.04em; font-weight: 700; }
.metric span, .stat span, .muted { color: var(--muted); line-height: 1.45; }

.section { padding: 54px 0 8px; }
.section h2, .block h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; margin: 0 0 8px; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { padding: 18px; }
.card h3, .vbody h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.03em; }
.card p, .vbody p { margin: 0; }
.card .idx { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--red); font-size: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { padding: 4px 8px 8px; }
.step b { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--red); font-weight: 500; }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 28px; align-items: stretch; }
.prices > .card { display: flex; flex-direction: column; }
.prices > .card .row, .prices > .card form { margin-top: auto; }
.price { font-size: 52px; letter-spacing: -.05em; margin: 8px 0; font-weight: 700; }
.price small { font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
ul.clean { margin: 8px 0 0; padding: 0; list-style: none; }
ul.clean li { padding: 9px 0 9px 18px; border-top: 1px solid var(--line); position: relative; }
ul.clean li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); position: absolute; left: 0; top: 16px; }
.card.pro { border-color: #f0c7c4; box-shadow: var(--shadow); }

.band { margin: 28px 0 56px; background: var(--tint); color: var(--ink); border-radius: 16px; padding: 28px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.band h2 { margin: 0; color: var(--ink); font-size: clamp(28px, 3vw, 36px); letter-spacing: -.03em; }
.band p { color: var(--muted-tint); margin: 8px 0 0; max-width: 46ch; }
.foot { margin-top: 36px; background: var(--ink); color: #d5deea; border-top: 3px solid var(--red); padding: 28px 0; }
.foot a { color: #fff; text-decoration: none; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { font-weight: 600; font-size: 15px; }
.foot-links a:hover { color: #d6def7; }

.stepper { display: flex; list-style: none; margin: 12px 0 18px; padding: 0; }
.stepper li { flex: 1; display: grid; justify-items: center; gap: 6px; position: relative; color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; }
.stepper li::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.stepper li:first-child::before { display: none; }
.stepper b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); position: relative; z-index: 1; font-size: 13px; }
.stepper li.on { color: var(--ink); }
.stepper li.on b, .stepper li.done b { background: var(--ink); color: #fff; border-color: transparent; }
.stepper li.on::before, .stepper li.done::before { background: var(--ink); }
.auth-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 26px 22px; margin-bottom: 14px; }
.auth-panel h1 { font-size: 34px; }
form.stack { display: grid; gap: 14px; margin-top: 18px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
label .hint { font-weight: 450; color: var(--muted); }
input { width: 100%; background: #fbfbfc; color: var(--ink); border: 1px solid #667285; border-radius: 12px; padding: 0 14px; height: 48px; font-size: 16px; }
input:focus { border-color: var(--link); background: #fff; outline: 2px solid var(--link); outline-offset: 2px; }
input.code { font-size: 28px; letter-spacing: .28em; text-align: center; }
.btn.block { width: 100%; min-height: 48px; border-radius: 12px; }
.perk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.perk-row li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.perk-row b { display: block; font-size: 14px; margin-bottom: 2px; }
.perk-row span { color: var(--muted); font-size: 13px; }
.install-card { display: flex; justify-content: space-between; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 16px; }
.install-card h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.03em; }
.guide { list-style: none; margin: 8px 0 40px; padding: 0; display: grid; gap: 12px; }
.guide li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.guide b { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.guide h2 { margin: 2px 0 6px; font-size: 18px; letter-spacing: -.03em; }
.guide p { margin: 0; }
.note { background: #fff8ef; border: 1px solid #f0e0c8; border-radius: 16px; padding: 16px 18px; margin-bottom: 40px; }
.error, .notice { border-radius: 12px; padding: 10px 12px; margin: 0; }
.error { color: var(--bad); background: var(--badbg); }
.notice { color: var(--ok); background: var(--okbg); }

.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; padding: 8px 0 16px; }
.page-head h1 { font-size: 36px; margin: 0; }
.banner { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; }
.banner p { margin: 4px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.stats.six { grid-template-columns: repeat(3, 1fr); }
.library { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 64px; }
.vcard { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .16s ease; }
.vcard:hover { box-shadow: var(--shadow); }
.vtile { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(160deg, #2a241e, #14120f 60%); text-decoration: none; }
.vtile img, .vtile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.vtile video { opacity: 0; }
.vtile.is-playing video { opacity: 1; }
.vtile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; z-index: 1; }
.vtile .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; transition: opacity .15s ease; }
.vtile.is-playing .play { opacity: 0; }
.play { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); position: relative; }
.play::after { content: ""; position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #17191f; }
.dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.72); color: #fff; border-radius: 8px; padding: 3px 7px; font-size: 12px; font-family: "IBM Plex Mono", ui-monospace, monospace; z-index: 2; }
.vbody { padding: 14px; }
.vbody h3 a { text-decoration: none; }
.meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.vactions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.vactions form { margin: 0; }
.empty { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; background: var(--paper); border: 1px dashed #cfd3dc; border-radius: 22px; padding: 28px; margin-bottom: 56px; }
.empty ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.empty li { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.empty h2 { font-size: 32px; letter-spacing: -.04em; margin: 0 0 8px; }
.empty li b { display: block; margin-bottom: 2px; }
.row .fine { flex-basis: 100%; margin: 4px 0 0; }

.player { padding: 8px 0 56px; }
.player h1 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; margin-bottom: 8px; }
.player .meta { margin-top: 0; }
.stage { position: relative; background: #14120f; border-radius: 20px; overflow: hidden; margin: 16px auto 0; width: 100%; max-height: 72vh; aspect-ratio: 16 / 9; }
video { width: 100%; height: 100%; display: block; background: #14120f; object-fit: contain; }
.veil { position: absolute; z-index: 3; touch-action: none; user-select: none; }
.vtile .veil, .veil.view { pointer-events: none; }
.vtile .veil { inset: 0; }
.edit-stage .veil { cursor: crosshair; }
.mask { position: absolute; overflow: hidden; border-radius: 4px; }
.mask canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.mask.redact { background: #100e0c; }
.mask.draft { outline: 2px solid #e10600; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; }
.tool.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.transport { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.transport .meta { margin: 0; min-width: 44px; }
input.scrub { flex: 1; width: auto; min-width: 120px; height: 28px; padding: 0; border: 0; border-radius: 0; background: transparent; accent-color: var(--red); }
.box-list { list-style: none; margin: 16px 0 28px; padding: 0; display: grid; gap: 8px; }
.box-list li { display: flex; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.box-list li .who { font-weight: 600; white-space: nowrap; }
.box-list li .when { color: var(--muted); margin-right: auto; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; }
.edit-help { margin: 8px 0 0; }
.hold { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.find-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.hold input, .find-row input, .box-list input.span { height: 36px; width: 84px; padding: 0 10px; font-size: 14px; }
.find-row input { width: min(260px, 100%); }
.find-row .meta { margin: 0; }
.timeline { position: relative; height: 52px; margin-top: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; touch-action: none; user-select: none; }
.tl-bar { position: absolute; top: 12px; height: 28px; border-radius: 7px; min-width: 8px; cursor: grab; }
.tl-bar.blur { background: #2c2824; }
.tl-bar.redact { background: var(--red); }
.tl-bar .edge { position: absolute; top: 0; right: 0; width: 10px; height: 100%; cursor: ew-resize; }
.tl-bar .edge::after { content: ""; position: absolute; top: 7px; bottom: 7px; right: 3px; width: 2px; background: rgba(255,255,255,.75); border-radius: 2px; }
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #14161c; pointer-events: none; z-index: 3; }
.block-title { margin: 8px 0 12px; font-size: 20px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); margin-bottom: 28px; }
.atable { width: 100%; border-collapse: collapse; min-width: 720px; }
.atable th, .atable td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.atable th { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.atable tr:last-child td { border-bottom: 0; }
.atable a { color: var(--red); text-decoration: none; font-weight: 600; }
.wait { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin-top: 16px; }
.legal { width: min(740px, 100%); padding: 8px 0 56px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); }
.legal h2 { font-size: 22px; letter-spacing: -.03em; margin: 28px 0 8px; }
.legal p, .legal li { line-height: 1.6; }
.legal ul { margin: 8px 0 0; padding-left: 18px; }
.legal a { color: var(--link); }
.nav-toggle { display: none; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid #667285; background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.nav-signup { display: none; }

.home-hero { padding: 16px 0 0; }
.home-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px 32px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 48px rgba(36,45,61,.07); padding: 28px 28px 0; }
.home-hero .eyebrow { display: inline-flex; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--link); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.home-hero h1 { font-size: clamp(34px, 2.9vw, 44px); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; margin: 0 0 12px; }
.home-hero h1 .line { display: block; }
.home-hero .lede { margin: 0; max-width: 36ch; font-size: 17px; line-height: 1.5; color: var(--muted); }
.home-hero .row { justify-content: flex-start; margin-top: 16px; }
.home-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.home-points li { display: grid; gap: 1px; }
.home-points b { font-size: 14px; }
.home-points span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.how-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 8px; color: var(--link); font-weight: 600; text-decoration: none; }
.how-link svg { width: 22px; height: 22px; }
.preview-stage { margin: 0; background: transparent; padding: 0; }
.demo-note { margin: 8px 2px 0; text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; }
.demo-video { width: 100%; display: block; aspect-ratio: 1280 / 576; border-radius: 14px; background: #101216; box-shadow: 0 12px 28px rgba(16,18,22,.16); }
.demo-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.demo-steps li { color: var(--muted-tint); font-size: 14px; line-height: 1.45; padding: 14px 16px 16px 0; }
.demo-steps li + li { border-left: 1px solid var(--line); padding-left: 16px; }
.demo-steps b { display: block; color: var(--ink); font-size: 15px; margin-top: 2px; }
.home-block { padding: 48px 0 0; }
.home-block h2, .plans-overview h2 { font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; text-align: center; margin: 0 auto 12px; max-width: 18ch; }
.home-block .lede, .plans-overview .lede { text-align: center; margin: 0 auto 22px; max-width: 46ch; color: var(--muted); }
.steps-row, .usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 4px 0 0; list-style: none; }
.steps-row li, .usecases li { display: grid; justify-items: center; text-align: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 16px 20px; box-shadow: var(--shadow); }
.line-icon { width: 24px; height: 24px; color: var(--red); }
.step-no { color: var(--link); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.steps-row b, .usecases b, .feature-copy b { display: block; font-size: 16px; margin-bottom: 4px; }
.steps-row p, .usecases p, .feature-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.feature-copy { text-align: left; }
.feature-copy h2 { text-align: left; margin-left: 0; max-width: 16ch; }
.feature-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.library-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; }
.library-card h3 { margin: 0 0 14px; font-size: 18px; }
.library-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.library-card li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.library-card strong { display: block; font-size: 15px; }
.library-card span { color: var(--muted); font-size: 13px; }
img.lib-thumb { width: 72px; height: 48px; border-radius: 8px; object-fit: cover; display: block; background: #e7eef8; }
img.lib-thumb, img.lib-thumb.bug, img.lib-thumb.update { object-position: center 16%; }
.plans-overview { padding: 48px 0 0; }
.plans-overview .plan-board { margin-top: 8px; }
.plan-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.plan-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; }
.plan-card.featured { background: var(--paper); border-color: #5368d4; }
.plan-card h3 { margin: 0; font-size: 20px; }
.plan-card .price { margin: 8px 0; }
.plan-card .for { margin: 0 0 8px; color: var(--muted-tint); }
.plan-card ul { margin: 8px 0 20px; }
.plan-card .btn { width: 100%; margin-top: auto; }
.plan-note { text-align: center; color: var(--muted); margin: 18px 0 8px; }
.plan-more { text-align: center; margin: 0; }
.plan-more a { color: var(--link); font-weight: 600; text-decoration: none; }
.faq { max-width: 760px; margin: 8px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 8px; height: 8px; border-right: 1.7px solid var(--ink); border-bottom: 1.7px solid var(--ink); transform: rotate(45deg); flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 4px 0 8px; color: var(--muted-tint); line-height: 1.65; }
.faq a { color: var(--link); }
.closing { margin: 48px 0 28px; background: var(--tint); border-radius: 16px; padding: 28px 32px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.closing h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.03em; text-align: left; max-width: none; }
.closing p { margin: 0; color: var(--muted-tint); }
.foot .brand { color: #fff; }
.foot-brand { display: grid; gap: 4px; }
.foot-tag { margin: 0; color: #b7c3d4; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .vcard { transition: none; }
}

@media (max-width: 1023px) {
  .wrap, .bar, .foot-inner { padding-left: 32px; padding-right: 32px; }
  .home-block, .plans-overview { padding-top: 52px; }
  .closing { margin-top: 52px; }
}
@media (max-width: 900px) {
  .hero, .grid, .metrics, .steps, .prices, .stats, .library, .empty, .perk-row, .story, .split, .plan-board, .payoff { grid-template-columns: minmax(0, 1fr); }
  .opt-groups div { grid-template-columns: 1fr; gap: 2px; }
  .plan-board .btn.xl { width: 100%; }
  .stage-home { padding: 8px 4px 0 14px; }
  .shot-wrap::before { top: 16px; left: -10px; right: 12px; bottom: -10px; }
  .band .btn.xl { width: 100%; }
  .film { height: 200px; }
  .install-card { align-items: flex-start; flex-direction: column; }
  .hero h1, h1 { font-size: 36px; }
  .home-stage { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px 16px 0; }
  .home-hero h1 { font-size: 36px; line-height: 1.1; }
  .home-hero .lede { font-size: 17px; }
  .demo-steps li, .demo-steps li + li { border-left: 0; padding: 10px 8px 12px 0; }
  .home-block h2, .plans-overview h2, .feature-copy h2 { font-size: 28px; }
  .home-block, .plans-overview { padding-top: 44px; }
  .feature-split, .steps-row, .usecases, .plan-pair { grid-template-columns: minmax(0, 1fr); }
  .demo-steps { grid-template-columns: 1fr 1fr; }
  .closing { margin-top: 44px; flex-direction: column; align-items: flex-start; }
  .closing .btn { width: 100%; }
  .preview-stage { padding: 0; }
  .device img { height: 220px; }
  .bar { flex-wrap: wrap; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .foot-inner { align-items: flex-start; }
  body.marketing .links.open { border-top: 1px solid var(--line); padding-top: 8px; }
  body.app .links { width: 100%; margin-left: 0; }
  .nav-signup { display: inline-flex; margin-left: auto; }
  .nav-toggle { display: inline-flex; margin-left: 8px; }
  body.marketing .links { display: none; width: 100%; margin-left: 0; flex-direction: column; align-items: stretch; }
  body.marketing .links.open { display: flex; }
  body.marketing .links a { min-height: 44px; display: flex; align-items: center; }
  body.marketing .links a.btn { width: 100%; }
  body.marketing .links a.nav-signup-desk { display: none; }
  .mark { width: 36px; height: 36px; }
  .wrap, .bar, .foot-inner { padding-left: 20px; padding-right: 20px; }
  .account { margin-left: 0; }
  .band, .banner, .page-head, .closing { align-items: flex-start; flex-direction: column; }
  .lede { max-width: none; }
  .stats.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero .row { flex-direction: column; align-items: stretch; }
  .home-hero .btn, .home-hero .how-link { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .demo-steps { grid-template-columns: 1fr 1fr; }
}

.wrap { width: min(1320px, 100%); padding-left: 40px; padding-right: 40px; }
.page-wrap { padding-top: 8px; padding-bottom: 28px; }
body.auth .wrap { width: min(1320px, 100%); }
body { line-height: 1.5; }

nav.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; height: 96px; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 28px; letter-spacing: -.03em; color: var(--ink); text-decoration: none; flex: none; }
.logo-mark { width: 34px; height: 34px; position: relative; flex: none; }
.logo-mark i { position: absolute; inset: -2px 0 4px 6px; border-radius: 9px; background: #b9c2f3; }
.logo-mark b { position: absolute; inset: 6px 6px 0 0; border-radius: 9px; background: #5462d6; display: grid; place-items: center; }
.logo-mark b::after { content: ""; margin-left: 3px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.nav-links { display: flex; gap: 32px; font-size: 18px; font-weight: 500; color: var(--ink-2); }
.nav-links a { color: inherit; text-decoration: none; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 18px; font-weight: 500; color: var(--ink); }
.nav-right a { color: inherit; text-decoration: none; }
.nav-right .sep { width: 1.5px; height: 30px; background: var(--ink-2); opacity: .4; }
.nav-right form { margin: 0; }
.nav-right .who { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-size: 16px; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; margin-left: auto; padding: 0; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; padding: 0 20px 20px; gap: 2px; }
.mobile-menu a, .mobile-menu .who { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 17px; color: var(--ink); text-decoration: none; }
.mobile-menu a.btn { color: #fff; border-bottom: 0; margin-top: 14px; justify-content: center; }
.mobile-menu form { margin: 14px 0 0; }
.mobile-menu.open { display: flex; }
.pill { border-radius: 999px; background: var(--soft); color: var(--ink-2); font-weight: 600; }

.btn { border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 14px; min-height: 52px; padding: 12px 22px; font-size: 16px; font-weight: 600; }
.btn:hover { background: #fff; filter: none; transform: translateY(-1px); }
.btn.primary { background: #5462d6; border-color: transparent; color: #fff; }
.btn.primary:hover, .btn.primary:active { background: #4351c4; color: #fff; filter: none; }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: #fff; }
.btn.slim { min-height: 40px; padding: 8px 14px; font-size: 14px; border-width: 1.5px; border-radius: 12px; }
.btn.danger { color: var(--bad); border-color: transparent; background: transparent; }
.btn.danger:hover { background: var(--badbg); transform: none; }
.btn-navy { background: #5462d6; color: #fff; border: 0; border-radius: 12px; min-height: 48px; padding: 12px 22px; font-size: 16px; font-weight: 600; }
.btn-navy:hover { background: #4351c4; color: #fff; }

.kicker { letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.page-head { padding: 28px 0 18px; }
.page-head h1 { font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.035em; }
.lede { color: var(--ink-2); }
.plans-page { padding: 36px 0 20px; }
.plans-page h1, .plans-page .lede { text-align: center; }
.plans-page h1 { font-size: clamp(40px, 4.6vw, 68px); margin-bottom: 14px; }
.plans-page .lede { margin: 0 auto 8px; max-width: 34ch; font-size: 20px; }
.plan-board { gap: 28px; }
.plan-board > .card { border: 0; border-radius: 36px; padding: 48px 40px 36px; box-shadow: none; }
.plan-board > .card.featured { background: #dde5fb; }
.plan-board > .card.pro { background: #5462d6; color: #fff; }
.plan-board .kicker { font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin-bottom: 16px; }
.plan-board > .card.pro .kicker,
.plan-board > .card.pro .unlock,
.plan-board > .card.pro .price,
.plan-board > .card.pro .opt-groups b { color: #fff; }
.plan-board > .card.pro .price small,
.plan-board > .card.pro .opt-groups span,
.plan-board > .card.pro .fine,
.plan-board > .card.pro li { color: rgba(255,255,255,.86); }
.plan-board > .card.pro li,
.plan-board > .card.pro .opt-groups div { border-top-color: rgba(255,255,255,.22); }
.plan-board > .card.pro li::before { background: #fff; }
.plan-board > .card.pro .btn.primary { background: #fff; color: #5462d6; border-color: transparent; }
.plan-board > .card.pro .btn.primary:hover { background: #eef1fd; color: #4351c4; }
.plan-board > .card.pro .btn.ghost { border-color: #fff; color: #fff; background: transparent; }
.plan-board > .card.pro .btn.ghost:hover { background: rgba(255,255,255,.1); }
.plan-note { font-size: 18px; color: var(--ink-2); }

.auth-panel { max-width: 560px; margin: 36px auto 22px; border: 0; border-radius: 32px; padding: 48px 40px 36px; box-shadow: 0 30px 60px -30px rgba(20,22,28,.25); }
.auth-panel h1 { font-size: clamp(36px, 4vw, 52px); }
.perk-row { max-width: 920px; margin: 8px auto 48px; }
.perk-row li { border: 0; border-radius: 20px; box-shadow: 0 18px 40px -28px rgba(20,22,28,.35); }
.stepper li.on b, .stepper li.done b { background: #5462d6; }
.stepper li.on::before, .stepper li.done::before { background: #5462d6; }
input { border: 1.5px solid #d5dbe6; border-radius: 14px; height: 52px; background: #fff; }
input:focus { border-color: #5462d6; outline-color: #5462d6; }

.legal { background: #fff; border-radius: 32px; padding: 56px 48px 48px; margin: 28px auto 56px; box-shadow: 0 30px 60px -36px rgba(20,22,28,.28); }
.install-card, .guide li, .banner, .empty, .stat, .vcard, .note, .wait { border: 0; box-shadow: 0 18px 40px -28px rgba(20,22,28,.35); }
.studio { background: #fff; border-radius: 28px; padding: 22px; box-shadow: 0 24px 50px -32px rgba(20,22,28,.4); }
.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.source { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; min-width: 0; text-align: left; border: 1.5px solid #d5dbe6; background: #fff; border-radius: 18px; padding: 16px; cursor: pointer; color: var(--ink); font: inherit; }
.source b { font-size: 16px; letter-spacing: -.02em; }
.source span { color: var(--muted); font-size: 14px; line-height: 1.35; }
.source-ic { width: 40px; height: 40px; border-radius: 12px; background: #eef1fd; color: #5462d6; display: grid; place-items: center; margin-bottom: 8px; }
.source-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.source.on { border-color: #5462d6; background: #eef1fd; }
.source:disabled { cursor: default; opacity: .72; }
.source.on .source-ic { background: #5462d6; color: #fff; }
.record-head { padding: 8px 0 12px; }
.record-head h1 { font-size: clamp(32px, 4vw, 44px); }
.record-head .lede { font-size: 16px; }
.mic-pill { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0; padding: 8px 14px; border-radius: 999px; background: #f4f6fb; font-weight: 600; white-space: nowrap; }
.mic-pill input { width: 18px; height: 18px; min-height: 0; margin: 0; border-radius: 4px; flex: none; }
.record-home { display: flex; flex-direction: column; gap: 12px; margin: 0 0 12px; }
.record-home .ext-strip { display: flex; margin-top: 0; }
.dash-row { margin: 0 0 12px; }
.dash-row .ext-strip { display: flex; margin-top: 0; }
.dash-banner { align-items: center; padding: 12px 16px; margin-bottom: 12px; }
.dash-banner p { margin: 0; }
.dash-banner .btn { flex: none; }
.studio-dash { margin: 0; display: flex; flex-direction: column; }
.studio-top { margin: 0 0 12px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.studio-top h2 { margin: 0; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; }
.dash-ext { display: none; }
.ext-jump { color: #4351c4; font-weight: 650; text-decoration: none; }
.ext-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; background: #fff; color: var(--ink); border-radius: 20px; padding: 18px 20px; box-shadow: 0 18px 40px -28px rgba(20,22,28,.35); }
.ext-strip h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.03em; }
.ext-strip p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.ext-strip .banner-actions { flex: none; }
.rail-record { color: #4351c4; }
.rail-record svg { color: #5462d6; }
.record-stage { position: relative; background: #14161c; border-radius: 22px; width: min(100%, calc(min(36vh, 380px) * 16 / 9)); aspect-ratio: 16 / 9; margin-inline: auto; display: grid; place-items: center; overflow: hidden; }
.record-ext { display: grid; justify-items: end; gap: 8px; flex: none; }
.record-ext .kicker { margin: 0; }
.record-ext a:not(.btn) { color: #4351c4; font-weight: 650; text-decoration: none; }
.studio-dash .record-stage { width: min(100%, calc(min(32vh, 340px) * 16 / 9)); }
.btn[hidden], .mic-pill[hidden], .rec-pill[hidden], .record-done[hidden], .record-stage[hidden], .stop-btn[hidden] { display: none; }
.record-stage video, .record-stage canvas { width: 100%; height: 100%; background: #14161c; object-fit: contain; }
.stage-idle { color: #c5c9d4; text-align: center; padding: 28px; max-width: 36ch; }
.idle-dot { width: 16px; height: 16px; border-radius: 50%; background: #ff4d4f; display: inline-block; margin-bottom: 12px; box-shadow: 0 0 0 8px rgba(255,77,79,.2); }
.stage-idle b { display: block; color: #fff; font-size: 26px; margin-bottom: 6px; letter-spacing: -.03em; }
.rec-pill { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 8px; background: rgba(10,12,18,.72); color: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rec-pill i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 0 0 rgba(255,77,79,.7); animation: rec-pulse 1.4s ease-out infinite; }
@keyframes rec-pulse { 70% { box-shadow: 0 0 0 8px rgba(255,77,79,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,79,0); } }
.record-bar { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.stop-btn { background: #14161c; color: #fff; border-color: transparent; }
.stop-btn:hover { background: #2a2e3a; color: #fff; }
.record-status { min-height: 1.4em; margin: 12px 0 0; color: var(--muted); }
.record-status.bad { color: var(--bad); }
.record-done { margin-top: 16px; padding: 18px 18px 8px; border-radius: 18px; background: #eef1fd; }
.record-done h2 { margin: 0 0 8px; letter-spacing: -.03em; }
.link-box { background: #fff; border: 1.5px solid #d5dbe6; border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; }
.watch-link { display: block; font-weight: 650; word-break: break-all; color: #4351c4; }
.studio .fine { margin: 14px 0 0; }
.record-bar #go, .record-bar #stop { min-width: 220px; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 901px) {
  .ext-strip, .ext-jump { display: none; }
}
@media (max-width: 980px) {
  .studio-dash .record-stage { width: min(100%, calc(min(28vh, 240px) * 16 / 9)); }
  .ext-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .record-ext { display: none; }
}
@media (max-width: 720px) {
  .studio { padding: 14px; border-radius: 20px; }
  .record-head h1 { font-size: 32px; }
  .source-grid { grid-template-columns: 1fr; gap: 8px; }
  .source { flex-direction: row; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; }
  .source b { font-size: 15px; }
  .source span { font-size: 13px; }
  .source-ic { width: 36px; height: 36px; margin: 0; }
  .record-stage, .studio-dash .record-stage { width: 100%; border-radius: 16px; }
  .studio-dash .source-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studio-dash .source { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px; }
  .studio-dash .source b + span { display: none; }
  .studio-dash .source b { font-size: 13px; }
  .studio-dash .source-ic { margin: 0 0 4px; }
  .stage-idle { padding: 16px; }
  .stage-idle b { font-size: 20px; }
  .dash-banner .btn { width: 100%; }
  .record-bar #go, .record-bar #stop { width: 100%; }
  .record-done .record-bar { width: 100%; }
  .record-done .record-bar .btn { flex: 1 1 calc(50% - 12px); }
  .ext-strip .banner-actions, .ext-panel .banner-actions { width: 100%; }
  .ext-strip .banner-actions .btn, .ext-panel .banner-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .rec-pill i, .rec-dot, .rec-launch { animation: none; } }
.studio-widget { display: none; position: fixed; z-index: 40; right: 24px; bottom: 104px; width: min(400px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 150px)); overflow: auto; margin: 0; padding: 16px 16px 14px; border-radius: 24px; box-shadow: 0 28px 70px -24px rgba(20,22,28,.55); }
.rec-widget.open .studio-widget { display: flex; flex-direction: column; }
.studio-widget > * { flex: none; }
.rec-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: sticky; top: 0; background: #fff; z-index: 2; padding-bottom: 10px; }
.rec-sheet-head h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.rec-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f4f6fb; color: var(--ink); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; flex: none; }
.rec-close:hover { background: #e7edf8; }
.studio-widget .record-stage { width: 100%; }
.studio-widget .source { padding: 10px; gap: 2px; }
.studio-widget .source b { font-size: 13px; }
.studio-widget .source b + span { display: none; }
.studio-widget .source-ic { width: 32px; height: 32px; margin-bottom: 4px; }
.studio-widget .stage-idle { padding: 14px; }
.studio-widget .stage-idle b { font-size: 18px; }
.studio-widget .record-bar #go, .studio-widget .record-bar #stop { width: 100%; min-width: 0; }
.studio-widget .fine { font-size: 13px; }
.rec-ext { display: flex; gap: 14px; margin: 12px 0 0; font-size: 14px; font-weight: 650; }
.rec-ext a { color: #4351c4; text-decoration: none; }
.rec-dock { position: fixed; z-index: 41; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 8px; }
.rec-launch { display: inline-flex; align-items: center; gap: 10px; height: 64px; padding: 8px 22px 8px 8px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #7482ea, #5368d4 42%, #3e50c4); color: #fff; font: inherit; font-weight: 800; font-size: 17px; letter-spacing: -.02em; cursor: pointer; box-shadow: 0 18px 40px -14px rgba(83,104,212,.85), inset 0 1px 0 rgba(255,255,255,.35); animation: rec-glow 2.8s ease-out infinite; }
.rec-launch:hover { transform: translateY(-1px); }
.rec-launch:focus-visible, .rec-halt:focus-visible, .rec-close:focus-visible { outline: 2px solid #14161c; outline-offset: 3px; }
.rec-launch-mark { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(83,104,212,.12); }
.rec-launch-mark svg { width: 30px; height: 30px; display: block; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 0 0 rgba(255,77,79,.7); animation: rec-pulse 1.6s ease-out infinite; flex: none; }
.rec-widget-time { font-variant-numeric: tabular-nums; min-width: 3.2ch; }
.rec-halt[hidden], .rec-widget-time[hidden], .rec-widget-label[hidden] { display: none; }
.rec-halt { display: inline-flex; align-items: center; justify-content: center; height: 64px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: #e11d2e; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 12px 30px -12px rgba(20,22,28,.45); }
.rec-halt:hover { background: #fff1f0; }
.rec-widget[data-phase="live"] .rec-launch { background: linear-gradient(180deg, #ff6670, #e11d2e); box-shadow: 0 18px 40px -14px rgba(225,29,46,.75), inset 0 1px 0 rgba(255,255,255,.28); animation: none; }
.rec-widget[data-phase="live"] .rec-dot { background: #fff; animation-name: rec-pulse-lite; }
.rec-widget[data-phase="saving"] .rec-launch, .rec-widget[data-phase="done"] .rec-launch { animation: none; }
@keyframes rec-glow { 0% { box-shadow: 0 18px 40px -14px rgba(83,104,212,.85), inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 0 rgba(83,104,212,.38); } 100% { box-shadow: 0 18px 40px -14px rgba(83,104,212,.85), inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 14px rgba(83,104,212,0); } }
@keyframes rec-pulse-lite { 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
body.has-rec-widget { padding-bottom: 108px; }
body.has-rec-widget .chat { bottom: 132px; }
@media (max-width: 720px) {
  .rec-dock { left: 12px; right: 12px; bottom: 12px; }
  .rec-launch { flex: 1; justify-content: center; height: 58px; }
  .rec-halt { height: 58px; }
  .studio-widget { left: 12px; right: 12px; bottom: 100px; width: auto; max-height: min(64vh, calc(100vh - 168px)); }
  .studio-widget .record-stage { width: min(100%, 250px); max-height: 140px; margin-inline: auto; }
  .studio-widget .stage-idle > span:not(.idle-dot) { display: none; }
  .studio-widget .stage-idle b { margin-bottom: 0; }
  .studio-widget .source-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studio-widget .source { flex-direction: column; align-items: flex-start; padding: 10px; }
  .studio-widget .source-ic { margin: 0 0 4px; }
  body.has-rec-widget { padding-bottom: 96px; }
  body.has-rec-widget .chat { bottom: 96px; right: 16px; }
}
.install-card, .banner, .empty, .note, .wait { border-radius: 24px; }
.stat { border-radius: 20px; padding: 22px; }
.stat b { font-size: 40px; letter-spacing: -.03em; }
.vcard { border-radius: 18px; }
.guide b { background: #5462d6; }
.note { background: #eef1fd; }
.banner { border-left: 0; }
.table-wrap { border: 0; border-radius: 22px; box-shadow: 0 18px 40px -28px rgba(20,22,28,.35); }
.stage { border-radius: 28px; }
.watch-stage .player-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 46px 12px 12px; color: #fff; background: linear-gradient(transparent, rgba(8,10,16,.82)); opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.watch-stage.is-paused .player-bar, .watch-stage:hover .player-bar, .watch-stage:focus-within .player-bar { opacity: 1; pointer-events: auto; }
.edit-player .player-bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 10px; color: var(--ink); background: #fff; border-radius: 16px; box-shadow: 0 18px 40px -28px rgba(20,22,28,.35); }
.player-bar .ptime { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 650; min-width: 40px; text-align: center; }
.player-bar .ptime.dim { opacity: .72; }
.pbtn { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; padding: 0; font: inherit; }
.pbtn svg { width: 20px; height: 20px; display: block; }
.pbtn.speed { width: auto; min-width: 46px; padding: 0 8px; font-size: 13px; font-weight: 700; }
.watch-stage .pbtn:hover { background: rgba(255,255,255,.14); }
.edit-player .pbtn:hover { background: #eef1fd; }
.pbtn:focus-visible, .stage-play:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.scrubber { position: relative; flex: 1; min-width: 72px; height: 28px; display: flex; align-items: center; }
.scrubber::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 99px; background: rgba(255,255,255,.22); }
.edit-player .scrubber::before { background: #e2e7f0; }
.scrub-buf, .scrub-played { position: absolute; left: 0; height: 4px; border-radius: 99px; width: 0; pointer-events: none; }
.scrub-buf { background: rgba(255,255,255,.38); }
.edit-player .scrub-buf { background: #c5cde0; }
.scrub-played { background: #7f8ef0; z-index: 1; }
.edit-player .scrub-played { background: #5462d6; }
.player-bar input.scrub, .player-bar input.vol { position: relative; z-index: 2; height: 28px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; appearance: none; -webkit-appearance: none; }
.player-bar input.scrub { width: 100%; min-width: 0; }
.player-bar input.vol { width: 72px; flex: none; }
.player-bar input.scrub::-webkit-slider-runnable-track, .player-bar input.vol::-webkit-slider-runnable-track { height: 4px; background: transparent; border: 0; }
.edit-player input.vol::-webkit-slider-runnable-track { background: #e2e7f0; border-radius: 99px; }
.watch-stage input.vol::-webkit-slider-runnable-track { background: rgba(255,255,255,.28); border-radius: 99px; }
.player-bar input.scrub::-webkit-slider-thumb, .player-bar input.vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.edit-player input.vol::-webkit-slider-thumb, .edit-player input.scrub::-webkit-slider-thumb { background: #5462d6; }
.player-bar input.scrub::-moz-range-track { height: 4px; background: transparent; border: 0; }
.player-bar input.scrub::-moz-range-thumb, .player-bar input.vol::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.stage-play { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: #14161c; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.stage-play svg { width: 28px; height: 28px; margin-left: 3px; }
.watch-stage.is-playing .stage-play { opacity: 0; pointer-events: none; }
.player-error { color: var(--bad); margin: 12px 0 0; }
.player-error[hidden] { display: none; }
.watch-stage:fullscreen, .edit-player:fullscreen { width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; background: #000; }
.watch-stage:fullscreen { aspect-ratio: auto; }
.edit-player:fullscreen { display: flex; flex-direction: column; }
.edit-player:fullscreen .stage { flex: 1; width: 100%; max-height: none; margin: 0; border-radius: 0; }
.edit-player:fullscreen .player-bar { margin: 0; border-radius: 0; }
@media (max-width: 560px) {
  .player-bar input.vol { display: none; }
  .watch-stage .player-bar { gap: 4px; padding-left: 8px; padding-right: 8px; }
  .stage-play { width: 64px; height: 64px; }
}
.edit-player .stage { width: min(100%, calc(max(220px, 100svh - 580px) * 16 / 9)); max-height: max(220px, calc(100svh - 580px)); }
.watch-stage { container-type: inline-size; }
@container (max-width: 560px) {
  .watch-stage .player-bar input.vol { display: none; }
  .watch-stage .player-bar { gap: 2px; padding: 32px 8px 10px; }
  .watch-stage .scrubber { min-width: 28px; }
  .watch-stage .pbtn.speed { min-width: 32px; padding: 0 2px; }
  .watch-stage .ptime { min-width: 32px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .watch-stage .player-bar { transition: none; } }

.site-foot { padding: 10px 0 50px; }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 48px; border-top: 1px solid #dcdfe6; }
.fgrid h5 { font-size: 18px; margin: 0 0 18px; font-weight: 600; }
.fgrid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); font-size: 17px; }
.fgrid a { text-decoration: none; }
.fgrid ul a:hover { color: #5462d6; }
.ftag { color: var(--ink-2); font-size: 18px; margin: 16px 0 0; max-width: 300px; }
.fbot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; color: var(--muted); font-size: 15px; }
.chat { position: fixed; right: 28px; bottom: 28px; width: 72px; height: 72px; border-radius: 22px; background: #5462d6; display: grid; place-items: center; z-index: 60; box-shadow: 0 18px 30px -12px rgba(84,98,214,.6); }
.chat:hover { transform: scale(1.06); }
.chat svg { width: 34px; height: 34px; fill: #fff; }

@media (max-width: 1100px) {
  .nav-links, .nav-right { display: none; }
  .burger { display: block; }
  .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  body.auth .chat { display: none; }
  .nav-inner { height: 72px; }
  .logo { font-size: 24px; }
  .auth-panel { padding: 32px 22px 26px; border-radius: 24px; }
  .legal { padding: 32px 22px; border-radius: 24px; }
  .plan-board > .card { padding: 32px 22px 28px; border-radius: 28px; }
  .plan-board .kicker { font-size: 32px; }
  .plans-page h1, .page-head h1 { font-size: 36px; }
  .chat { width: 60px; height: 60px; right: 16px; bottom: 16px; border-radius: 18px; }
  .auth-panel .btn.block, .page-head .btn, .install-card .btn { width: 100%; }
}

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.stats.compact { margin-bottom: 16px; }
.stats.compact .stat { padding: 14px 16px; }
.stats.compact .stat b { font-size: 26px; }
.desk { display: grid; grid-template-columns: 260px minmax(0, 1fr); background: #f3f6fb; border-radius: 28px; min-height: 0; margin: 0 0 36px; box-shadow: 0 18px 40px -28px rgba(20,22,28,.35); }
.rail { background: #fff; border-right: 1px solid var(--line); border-radius: 28px 0 0 28px; padding: 22px 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.rail-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -.02em; padding: 2px 8px 14px; }
.rail-brand .mark { width: 28px; height: 28px; }
.rail-search { position: relative; margin: 0 4px 8px; }
.rail-search svg { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; color: var(--muted); }
.rail-search input { height: 42px; padding-left: 38px; border-radius: 12px; font-size: 15px; background: #f6f8fc; }
.rail-label { margin: 16px 10px 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.rail-note { margin: 0 10px 8px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.drop-folder.drop-on { background: #e7edf8; box-shadow: inset 0 0 0 2px #5462d6; }
body.video-dragging .drop-folder { box-shadow: inset 0 0 0 1.5px #c9d2f4; }
.rail-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--ink); }
.rail-link svg { width: 18px; height: 18px; flex: none; }
.rail-link.on { background: #e7edf8; }
.rail-link .count { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 13px; }
.fdot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.rail-install { margin-top: auto; padding: 16px 8px 4px; display: grid; gap: 8px; }
.rail-install p { margin: 0 0 4px; font-size: 13px; }
.new-folder, .folder-tools { margin: 8px 4px 0; display: grid; gap: 8px; }
.new-folder input, .folder-tools input, .vrename input { height: 42px; border-radius: 12px; font-size: 15px; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 22px; height: 22px; position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.swatch i { display: block; width: 16px; height: 16px; border-radius: 50%; margin: 3px; }
.swatch input:checked + i { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatch input:focus-visible + i { outline: 2px solid var(--link); outline-offset: 2px; }
.folder-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 0 0 14px; }
.folder-bar .folder-tools { margin: 0; max-width: 360px; flex: 1; }
.folder-bar form { margin: 0; }
.desk-main { padding: 22px 22px 28px; min-width: 0; }
.lib-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.crumbs { margin: 0; font-weight: 600; color: var(--muted); font-size: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs b { color: var(--ink); font-weight: 600; }
.lib-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tool-label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.tool-label select { height: 40px; border-radius: 12px; border: 1.5px solid #d5dbe6; background: #fff; padding: 0 12px; font: inherit; font-weight: 600; color: var(--ink); }
.seg { display: inline-flex; background: #e7edf5; border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.seg a { text-decoration: none; padding: 8px 16px; border-radius: 10px; font-weight: 600; color: var(--ink-2); }
.seg a.on { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(20,22,28,.08); }
.lib-count { margin: 0 0 12px; }
.desk .library { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding-bottom: 12px; }
.desk .vcard { overflow: visible; background: #fff; display: flex; flex-direction: column; position: relative; }
.desk .vcard:has(.vmenu[open]) { z-index: 4; }
.vtop { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; padding: 12px 12px 8px; }
.vname { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.vname > span { display: flex; flex: none; margin-top: 2px; }
.vname svg { width: 18px; height: 18px; }
.vtop h3 { margin: 0; min-width: 0; font-size: 16px; }
.vfoot { padding: 10px 14px 14px; }
.vviews { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.vviews i { width: 16px; height: 16px; border-radius: 50%; background: #1f9d55; position: relative; flex: none; }
.vviews i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vchip { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.vactions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.vmove-btn { border: 0; background: #eef1fd; color: var(--ink); font: inherit; font-weight: 600; font-size: 13px; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.vmove-btn:hover { background: #e0e6fb; }
.vcard.is-dragging {
  position: fixed;
  z-index: 80;
  margin: 0;
  opacity: 1;
  pointer-events: none;
  overflow: hidden;
  box-shadow: 0 28px 64px -22px rgba(20, 22, 28, .55);
  transform: rotate(-1.5deg) scale(1.03);
  transition: transform .12s ease, box-shadow .12s ease;
}
.vcard.is-dragging.will-drop {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 28px 64px -18px rgba(20, 22, 28, .5), 0 0 0 3px #5462d6;
}
.vcard.drag-return { transition: left .18s ease, top .18s ease, transform .18s ease, box-shadow .18s ease; }
.vcard.is-dragging.drag-return { transform: none; }
.drag-hold { border-radius: 18px; background: #e7edf8; box-shadow: inset 0 0 0 1.5px #c9d2f4; }
.drag-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 6;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #1e2330;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 10px;
}
.vcard.will-drop .drag-label { background: #5462d6; }
body.video-dragging { user-select: none; }
body.video-dragging, body.video-dragging * { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) {
  .vcard.is-dragging, .vcard.is-dragging.will-drop, .vcard.drag-return { transition: none; transform: none; }
}
@media (hover: hover) and (pointer: fine) {
  .desk .vcard { cursor: grab; }
  .desk .vmenu, .desk .vmenu *, .desk .vmove-btn { cursor: pointer; }
  .desk .vcard.is-dragging { cursor: grabbing; }
}
.vmenu { position: relative; flex: none; }
.vmore { width: 36px; height: 36px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer; list-style: none; }
.vmore::-webkit-details-marker { display: none; }
.vmore span { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); display: block; }
.vmore:hover, .vmenu[open] > .vmore { background: #e7edf8; }
.vpop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: 232px; background: #fff; border-radius: 16px; box-shadow: 0 18px 44px -16px rgba(20,22,28,.45); padding: 6px; }
.vrow, .vmove > summary { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 10px; padding: 10px; font: inherit; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; min-height: 0; }
.vrow svg, .vmove > summary svg { width: 18px; height: 18px; flex: none; }
.vrow:hover, .vmove[open] > summary, .vmove > summary:hover { background: #eef1fd; }
.vrow.danger { color: var(--bad); }
.vrow.danger:hover { background: var(--badbg); }
.vrename form { display: grid; gap: 6px; padding: 4px 6px 8px; }
.vmove form { display: grid; padding: 0 4px 6px; max-height: 220px; overflow: auto; }
.vmove button { text-align: left; background: transparent; border: 0; border-radius: 8px; padding: 8px 10px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.vmove button.on, .vmove button:hover { background: #eef1fd; }
.vhint { margin: 4px 10px 8px; font-size: 13px; }
.desk .library.list { display: flex; flex-direction: column; }
.desk .library.list .vcard { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "tile top" "tile foot"; align-items: center; }
.desk .library.list .vtile { grid-area: tile; height: 112px; aspect-ratio: auto; border-radius: 18px 0 0 18px; }
.desk .library.list .vtop { grid-area: top; }
.desk .library.list .vfoot { grid-area: foot; padding-top: 0; }
.desk .empty { margin-bottom: 0; }
@media (max-width: 900px) {
  .desk { grid-template-columns: 1fr; }
  .rail { border-right: 0; border-bottom: 1px solid var(--line); border-radius: 28px 28px 0 0; }
  .rail-install { margin-top: 16px; }
  .desk .library.list .vcard { grid-template-columns: 120px minmax(0, 1fr); }
  .desk .library.list .vtile { height: 84px; }
}
@media (max-width: 720px) {
  .desk .library { grid-template-columns: 1fr; }
  .lib-head { align-items: stretch; }
}
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 28px; }
.bill-card { background: #fff; border-radius: 22px; box-shadow: 0 18px 40px -28px rgba(20,22,28,.35); padding: 22px 22px 8px; }
.bill-card h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.02em; }
.bill-card p { margin: 0 0 8px; }
.bill-lines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.plan-note a { color: var(--link); font-weight: 600; text-decoration: none; }
.page-head .banner-actions { justify-content: flex-end; }
.page-head .banner-actions form { margin: 0; }
@media (max-width: 800px) {
  .bill-grid { grid-template-columns: minmax(0, 1fr); }
  .stats.three { grid-template-columns: minmax(0, 1fr); }
  .page-head .banner-actions { justify-content: flex-start; width: 100%; }
  .page-head .banner-actions .btn,
  .page-head .banner-actions form { width: 100%; }
}
