
:root {
  --bg: #0a0a0f;
  --bg2: #111119;
  --card: #16161f;
  --card2: #1d1d29;
  --line: #2a2a3a;
  --text: #f2f1ee;
  --muted: #9a99a8;
  --dim: #6c6b7a;
  --magma: #ff5a1f;
  --magma2: #ffb020;
  --lime: #c8ff3c;
  --red: #ff3b5c;
  --grad: linear-gradient(100deg, #ff5a1f 0%, #ffb020 100%);
  --radius: 16px;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 12px 22px; font-weight: 600; font-size: 15px; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-hot { background: var(--grad); color: #160a02; box-shadow: 0 8px 30px -8px rgba(255, 90, 31, .65); }
.btn-hot:hover { box-shadow: 0 10px 40px -6px rgba(255, 110, 31, .85); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #4a4a60; background: #ffffff08; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ------------------------------------------------------------ logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ landing */
nav.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(10, 10, 15, .72); border-bottom: 1px solid #ffffff0d; }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
nav.top .links { display: flex; gap: 28px; color: var(--muted); font-size: 15px; }
nav.top .links a:hover { color: var(--text); }
nav.top .actions { display: flex; gap: 10px; align-items: center; }

.hero { position: relative; padding: 88px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 620px;
  background: radial-gradient(600px 300px at 70% 20%, rgba(255, 90, 31, .22), transparent 70%),
              radial-gradient(500px 260px at 15% 30%, rgba(255, 176, 32, .10), transparent 70%); pointer-events: none; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--magma2);
  border: 1px solid #ffb02033; background: #ffb0200d; padding: 6px 12px; border-radius: 999px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 59, 92, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 59, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); } }
h1.display { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 20px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.platforms { display: flex; gap: 18px; margin-top: 30px; color: var(--dim); font-size: 14px; align-items: center; flex-wrap: wrap; }
.platforms b { color: var(--muted); font-weight: 600; }

/* hero visual */
.quake-card { background: linear-gradient(180deg, #17171f, #101017); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 40px 80px -40px #000; }
.quake-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.quake-head .live { display: inline-flex; gap: 6px; align-items: center; color: var(--text); font-weight: 600; }
.seis { width: 100%; height: 150px; display: block; }
.chatlog { height: 112px; overflow: hidden; font-size: 13px; mask-image: linear-gradient(transparent, #000 40%); margin-top: 6px; }
.chatlog div { padding: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatlog b { font-weight: 600; }
.hero-clips { display: flex; gap: 10px; margin-top: 14px; min-height: 88px; }
.mini-clip { flex: 1; background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 12px;
  animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.mini-clip .bar { height: 40px; border-radius: 8px; margin-bottom: 8px; background: repeating-linear-gradient(90deg, #ffffff10 0 6px, transparent 6px 12px), var(--grad); opacity: .85; }
@keyframes pop { from { transform: translateY(14px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

section.block { padding: 90px 0; }
section.block h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 14px; }
section.block .sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 44px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .num { font-family: var(--mono); color: var(--magma); font-size: 14px; }
.step h3 { font-size: 20px; margin: 10px 0 8px; }
.step p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg2); padding: 28px; }
.feature .ic { width: 40px; height: 40px; border-radius: 11px; background: #ff5a1f18; color: var(--magma); display: grid; place-items: center; margin-bottom: 16px; font-size: 20px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.live-band { border-radius: 26px; padding: 54px; background: radial-gradient(500px 240px at 85% 10%, #ff5a1f33, transparent 70%), #13131b; border: 1px solid #ff5a1f40;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.live-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.live-band li { display: flex; gap: 10px; color: var(--muted); }
.live-band li::before { content: '▲'; color: var(--magma); font-size: 11px; margin-top: 5px; }
.badge-plat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px;
  background: linear-gradient(100deg, #e9e9f1, #a8a8b8); color: #15151c; }

/* pricing */
.billing-toggle { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 34px; }
.billing-toggle button { border: 0; background: none; color: var(--muted); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.billing-toggle button.on { background: var(--text); color: var(--bg); }
.billing-toggle .save { color: var(--lime); font-size: 12px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan.hot { border-color: var(--magma); background: linear-gradient(180deg, #1f1510, var(--card) 40%); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--grad); color: #1a0a00; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 18px; display: flex; gap: 8px; align-items: center; }
.plan .price { font-family: var(--display); font-size: 38px; font-weight: 700; margin: 14px 0 2px; letter-spacing: -.03em; }
.plan .price small { font-family: var(--body); font-size: 15px; color: var(--muted); font-weight: 500; }
.plan .billed { color: var(--dim); font-size: 13px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 14.5px; flex: 1; }
.plan li { display: flex; gap: 9px; }
.plan li::before { content: '✓'; color: var(--lime); font-weight: 700; }
.plan li.no { color: var(--dim); }
.plan li.no::before { content: '–'; color: var(--dim); }

.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--magma); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 12px 0 0; }
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ------------------------------------------------------------ auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255, 90, 31, .18), transparent 70%); }
.auth-card { width: 100%; max-width: 410px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px; }
.auth-card h1 { font-family: var(--display); font-size: 26px; margin: 22px 0 6px; letter-spacing: -.02em; }
label.f { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 6px; font-weight: 500; }
input.in, select.in { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 13px 14px; font: inherit; outline: none; }
input.in:focus { border-color: var(--magma); box-shadow: 0 0 0 3px #ff5a1f22; }
.err { color: #ff7b8f; font-size: 14px; min-height: 20px; margin-top: 12px; }
.switch { margin-top: 18px; color: var(--muted); font-size: 14px; text-align: center; }
.switch a { color: var(--magma2); font-weight: 600; }

/* ------------------------------------------------------------ dashboard */
.app { display: grid; grid-template-columns: 1fr 380px; height: 100vh; }
.app-main { overflow-y: auto; display: flex; flex-direction: column; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 26px; border-bottom: 1px solid var(--line); gap: 16px; position: sticky; top: 0; background: rgba(10,10,15,.9); backdrop-filter: blur(10px); z-index: 5; }
.meters { display: flex; gap: 18px; align-items: center; font-size: 13px; color: var(--muted); }
.meter { display: grid; gap: 4px; min-width: 120px; }
.meter .track { height: 5px; background: var(--line); border-radius: 9px; overflow: hidden; }
.meter .fill { height: 100%; background: var(--grad); border-radius: 9px; }
.plan-pill { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #ffffff10; text-transform: uppercase; letter-spacing: .06em; }
.plan-pill.platinum { background: linear-gradient(100deg, #e9e9f1, #a8a8b8); color: #15151c; }
.plan-pill.pro { background: var(--grad); color: #1a0a00; }
.app-body { padding: 28px 26px 60px; display: grid; gap: 24px; }
.submit { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.submit h2 { margin: 0 0 4px; font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.submit-row { display: flex; gap: 10px; margin-top: 16px; }
.submit-row input { flex: 1; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--dim); }
.chips span { border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

.jobs { display: grid; gap: 12px; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; transition: border-color .15s; }
.job:hover { border-color: #3d3d52; }
.job.sel { border-color: var(--magma); }
.job-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.job-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.status { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 7px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.status.live { background: #ff3b5c22; color: #ff6b85; }
.status.done { background: #c8ff3c18; color: var(--lime); }
.status.error { background: #ff3b5c18; color: #ff7b8f; }
.status.run { background: #ffb02018; color: var(--magma2); }
.status.stopped { background: #ffffff10; color: var(--muted); }
.progress { height: 4px; background: var(--line); border-radius: 9px; margin-top: 12px; overflow: hidden; }
.progress div { height: 100%; background: var(--grad); transition: width .5s; }

.stage { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stage .embed { aspect-ratio: 16/9; width: min(100%, calc(68vh * 16 / 9)); margin: 0 auto; background: #000; position: relative; }
.stage .embed.small { aspect-ratio: auto; height: 120px; }
.stage iframe { width: 100%; height: 100%; border: 0; }
.stage .embed .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: 14px; text-align: center; padding: 20px; }
.heat { padding: 14px 18px; display: flex; gap: 18px; align-items: center; border-top: 1px solid var(--line); }
.heat canvas { flex: 1; height: 54px; width: 100%; }
.heat .num { font-family: var(--mono); font-size: 13px; color: var(--muted); min-width: 110px; }
.heat .num b { color: var(--text); font-size: 20px; display: block; }

/* sidebar */
.side { border-left: 1px solid var(--line); background: var(--bg2); display: flex; flex-direction: column; height: 100vh; }
.side-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.side-head h3 { margin: 0; font-family: var(--display); font-size: 17px; }
.side-list { overflow-y: auto; padding: 14px; display: grid; gap: 12px; align-content: start; grid-auto-rows: max-content; flex: 1; min-height: 0; }
.clip { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); transition: border-color .15s; }
.clip:hover { border-color: var(--magma); }
.clip .thumb { aspect-ratio: 16/9; background: #0d0d13 center/cover no-repeat; position: relative; }
.clip .thumb .dur { position: absolute; right: 8px; bottom: 8px; background: #000c; font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 5px; }
.clip .thumb .lock { position: absolute; left: 8px; top: 8px; background: #000c; font-size: 11px; padding: 3px 7px; border-radius: 5px; font-weight: 600; }
.clip .thumb .lock.open { background: var(--lime); color: #111; }
.clip .thumb .spin { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; gap: 6px; }
.clip .body { padding: 10px 12px 12px; }
.clip .t { font-weight: 600; font-size: 14px; line-height: 1.3; }
.clip .m { display: flex; gap: 6px; align-items: center; margin-top: 7px; flex-wrap: wrap; }
.tagc { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: #ffffff0f; color: var(--muted); text-transform: capitalize; }
.tagc.funny { color: #ffd34d; } .tagc.hype { color: var(--magma); } .tagc.shock { color: #7cc8ff; } .tagc.clip { color: var(--lime); } .tagc.fail { color: #ff7b8f; } .tagc.hook { color: #d2a6ff; }
.score { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.loader { width: 22px; height: 22px; border: 2px solid var(--line); border-top-color: var(--magma); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { color: var(--dim); text-align: center; padding: 40px 16px; font-size: 14px; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: #000b; display: none; place-items: center; z-index: 50; padding: 20px; }
.modal-bg.on { display: grid; }
.modal { background: var(--card); border: 1px solid var(--line); border-radius: 22px; width: min(980px, 100%); max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1.5fr 1fr; }
.modal .player { background: #000; position: relative; display: grid; place-items: center; min-height: 300px; }
.modal video { width: 100%; display: block; max-height: 70vh; }
.modal .shield { position: absolute; inset: 0 0 48px 0; }
.modal .info { padding: 22px; display: flex; flex-direction: column; gap: 14px; max-height: 92vh; overflow-y: auto; }
.modal .info h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.opt { display: flex; gap: 8px; flex-wrap: wrap; }
.opt button { flex: 1; min-width: 92px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; font-size: 12.5px; font-weight: 600; }
.opt button.on { border-color: var(--magma); background: #ff5a1f14; }
.opt button[disabled] { opacity: .4; }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.chatbox { background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; color: var(--muted); max-height: 140px; overflow: auto; }
.chatbox div { padding: 1px 0; }
.close-x { position: absolute; top: 10px; right: 12px; background: #000a; border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; z-index: 3; font-size: 18px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--card2); border: 1px solid var(--line); padding: 12px 18px; border-radius: 12px; z-index: 80; font-size: 14px; display: none; max-width: 90vw; }
.toast.on { display: block; animation: pop .3s; }
.plans.compact { grid-template-columns: repeat(3, 1fr); }
.upgrade-modal { width: min(1000px, 100%); display: block; padding: 28px; }

/* admin */
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.t th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat b { font-family: var(--display); font-size: 26px; display: block; }

@media (max-width: 1000px) {
  .hero .grid, .live-band { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr; }
  .plans, .plans.compact { grid-template-columns: 1fr 1fr; }
  nav.top .links { display: none; }
  .app { grid-template-columns: 1fr; height: auto; }
  .side { height: auto; border-left: 0; border-top: 1px solid var(--line); }
  .modal { grid-template-columns: 1fr; }
  .meters .meter { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .plans, .plans.compact { grid-template-columns: 1fr; } .live-band { padding: 28px; } }

/* clip rating 1-100 */
.rating { position: absolute; right: 8px; top: 8px; font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1;
  padding: 6px 8px; border-radius: 9px; background: #000c; color: var(--text); letter-spacing: -.02em; }
.rating small { font-family: var(--body); font-size: 9px; font-weight: 600; color: var(--muted); margin-left: 1px; }
.rating.r-top { background: var(--grad); color: #1a0a00; box-shadow: 0 4px 18px -4px #ff5a1fb0; }
.rating.r-top small { color: #3a1a00; }
.rating.r-good { color: var(--magma2); }
.clip .thumb .lock.sub { background: linear-gradient(100deg, #e9e9f1, #a8a8b8); color: #15151c; }
.big-rating { display: flex; align-items: baseline; gap: 10px; }
.big-rating b { font-family: var(--display); font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.big-rating b.r-top { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rbar { height: 6px; background: var(--line); border-radius: 9px; overflow: hidden; margin-top: 8px; }
.rbar div { height: 100%; background: var(--grad); }

/* layout editor */
.modal.wide { width: min(1180px, 100%); grid-template-columns: 1.55fr 1fr; }
.modal .player { flex-direction: column; align-content: start; padding-top: 48px; }
.viewtabs { position: absolute; top: 10px; left: 12px; display: flex; gap: 6px; z-index: 3; }
.viewtabs button, .seg button { border: 1px solid var(--line); background: #0d0d14; color: var(--muted); border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 600; }
.viewtabs button.on, .seg button.on { color: var(--text); border-color: var(--magma); background: #ff5a1f18; }
.seg { display: inline-flex; gap: 4px; }
.seg button { padding: 3px 8px; font-size: 11px; }
.editor { display: flex; gap: 16px; padding: 14px; width: 100%; align-items: flex-start; }
.pv916 { position: relative; height: min(62vh, 600px); aspect-ratio: 9 / 16; margin: 0 auto 14px; }
.pv916 canvas { width: 100%; height: 100%; display: block; border-radius: 14px; border: 2px solid #2a2a3a; background: #000; cursor: pointer; }
.pv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: 0; background: #000a; color: #fff; font-size: 24px; padding-left: 6px; }
.pv-bar { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 18px; cursor: pointer; }
.pv-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 2px; background: #fff4; }
.pv-bar i { position: absolute; left: 0; top: 7px; height: 4px; border-radius: 2px; background: var(--magma); }
video#pv.ghost { position: absolute; width: 2px; height: 2px; opacity: 0; pointer-events: none; left: 0; top: 0; }
.ed-left { flex: 1; min-width: 0; }
.ed-frame { position: relative; width: 100%; user-select: none; touch-action: none; border-radius: 8px; overflow: hidden; background: #111; }
.ed-frame img { width: 100%; display: block; pointer-events: none; opacity: .85; }
.box { position: absolute; border: 2px solid var(--magma); background: #ff5a1f1a; cursor: move; border-radius: 4px; box-shadow: 0 0 0 9999px #00000055; }
.box.content { border-color: #22d3ee; background: #22d3ee14; box-shadow: none; }
.box .lbl { position: absolute; left: 4px; top: 3px; font-size: 11px; font-weight: 700; background: #000b; padding: 1px 6px; border-radius: 4px; }
.box .h { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; background: #fff; border-radius: 3px; cursor: nwse-resize; border: 2px solid var(--magma); }
.box.content .h { border-color: #22d3ee; }
.ed-right { width: 168px; flex: none; }
#mock { width: 168px; height: 299px; border-radius: 14px; border: 2px solid #2a2a3a; background: #000; display: block; }
.lbl-sm { color: var(--muted); font-size: 12px; margin: 14px 0 7px; letter-spacing: .03em; }
.layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.layouts button { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 11px; padding: 9px 4px 8px; font-size: 11.5px; font-weight: 600; display: grid; justify-items: center; gap: 6px; }
.layouts button.on { border-color: var(--magma); background: #ff5a1f14; }
.layouts button.locked { opacity: .55; }
.lt { width: 18px; height: 30px; border: 1.5px solid var(--muted); border-radius: 3px; display: block; position: relative; overflow: hidden; }
.lt::before, .lt::after { content: ''; position: absolute; left: 0; right: 0; }
.lt-camtop::before { top: 0; height: 42%; background: var(--magma); } .lt-camtop::after { bottom: 0; height: 58%; background: #22d3ee66; }
.lt-cambottom::before { bottom: 0; height: 42%; background: var(--magma); } .lt-cambottom::after { top: 0; height: 58%; background: #22d3ee66; }
.lt-split::before { top: 0; height: 50%; background: var(--magma); } .lt-split::after { bottom: 0; height: 50%; background: repeating-linear-gradient(45deg, #a855f7 0 3px, #ffb020 3px 6px); }
.lt-face::before { inset: 0; background: radial-gradient(circle at 50% 40%, var(--magma) 0 30%, #ff5a1f44 31%); }
.lt-blur::before { top: 32%; height: 36%; background: #22d3ee99; } .lt-blur::after { inset: 0; background: #22d3ee22; }
.lt.lt-wide { width: 30px; height: 18px; margin: 6px 0; } .lt-wide::before { inset: 0; background: #22d3ee66; }
.tpls { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.tpl { flex: none; width: 74px; cursor: pointer; text-align: center; font-size: 10.5px; color: var(--muted); }
.tpl div { width: 74px; height: 66px; border-radius: 8px; background: #111 center/cover; border: 2px solid transparent; margin-bottom: 3px; }
.tpl.on div { border-color: var(--magma); } .tpl.on { color: var(--text); }
.chatd summary { cursor: pointer; font-size: 12px; margin-top: 2px; }
.chatd .chatbox { margin-top: 8px; max-height: 110px; }
@media (max-width: 1000px) { .modal.wide { grid-template-columns: 1fr; } .editor { flex-direction: column; } .ed-right { width: 100%; } #mock { margin: 0 auto; } }

/* billing flows */
.steps-bar { display: flex; gap: 6px; margin: 0 40px 18px 0; flex-wrap: wrap; }
.steps-bar span { font-size: 12px; color: var(--dim); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.steps-bar span.on { color: var(--text); border-color: var(--magma); background: #ff5a1f14; }
.steps-bar span.done { color: var(--lime); border-color: #c8ff3c44; }
.flow h2 { font-family: var(--display); margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; }
.flow .lead2 { color: var(--muted); margin: 0 0 18px; }
.lose { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.lose li { display: flex; gap: 10px; color: var(--text); font-size: 15px; }
.lose li::before { content: '✕'; color: #ff7b8f; font-weight: 700; }
.reasons { display: grid; gap: 8px; margin-bottom: 14px; }
.reasons label { display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-size: 15px; }
.reasons label:has(input:checked) { border-color: var(--magma); background: #ff5a1f10; }
textarea.in { min-height: 70px; resize: vertical; font: inherit; }
.offer { border: 1px solid var(--magma); background: linear-gradient(180deg, #1f1510, var(--card)); border-radius: 18px; padding: 20px; margin-bottom: 12px; }
.offer h3 { margin: 0 0 6px; font-size: 19px; }
.offer .big { font-family: var(--display); font-size: 30px; font-weight: 700; }
.row-actions { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-top: 18px; }
.review { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; margin: 8px 0 16px; }
.review div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.review div:last-child { border-bottom: 0; }
.review b.total { font-family: var(--display); font-size: 20px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; margin: 4px 0 16px; }
.cmp td, .cmp th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; }
.cmp .up { color: var(--lime); } .cmp .down { color: #ff7b8f; }
.secure { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.cur-plan { display: flex; justify-content: space-between; gap: 14px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; flex-wrap: wrap; }
.notice { border: 1px solid #ffb02055; background: #ffb0200d; color: var(--text); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 6px 0 20px; }
.showcase .sc { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card); position: relative; }
.showcase .sc .im { aspect-ratio: 16/9; background: #111 center/cover; filter: saturate(1.1); }
.showcase .sc .t { font-size: 12px; padding: 7px 9px; line-height: 1.3; }
.showcase .sc .rating { font-size: 13px; padding: 4px 6px; }
.upsell { margin: 12px 14px 0; border-radius: 14px; padding: 12px 14px; background: linear-gradient(100deg, #2a1408, #1d1d29); border: 1px solid #ff5a1f66; font-size: 13.5px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.upsell b { color: var(--magma2); }

.score.soon { color: var(--magma2); font-weight: 600; }
.left-note { font-size: 13px; color: var(--magma2); margin: 6px 0 10px; }

/* landing: phone demo */
.phone-demo { display: flex; align-items: center; gap: 18px; justify-content: center; }
.phone { width: 240px; height: 480px; border-radius: 38px; background: #050508; border: 2px solid #2a2a36; padding: 10px; position: relative;
  box-shadow: 0 40px 80px -30px #000, 0 0 0 6px #111118; flex: none; }
.ph-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 10px; background: #000; z-index: 3; }
.ph-screen { height: 100%; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; background: #0d0d14; }
.ph-clip { flex: 1; position: relative; display: flex; flex-direction: column; }
.ph-clip.pop { animation: phpop .5s ease; }
@keyframes phpop { from { opacity: .3; transform: scale(.97); } to { opacity: 1; transform: none; } }
.ph-cam { height: 36%; background: radial-gradient(circle at 50% 60%, #7a4cff55, transparent 60%), linear-gradient(160deg, #2b1d4d, #15121f); position: relative; }
.ph-face { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 120px; height: 100px; }
.ph-face::before { content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 50px; height: 58px;
  border-radius: 50% 50% 46% 46%; background: linear-gradient(#b97a52, #9a5f3a); box-shadow: 0 -10px 0 2px #1d1410; }
.ph-face::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 112px; height: 40px;
  border-radius: 50px 50px 0 0; background: linear-gradient(#e0412b, #b52e1d); }
.ph-game { flex: 1; background: linear-gradient(180deg, #4a90c8 0, #9bc6e0 38%, #c79a5b 40%, #8f6a3a 100%); }
.ph-cap { position: absolute; top: 36%; left: 0; right: 0; transform: translateY(-50%); text-align: center; z-index: 2;
  font: 800 19px/1 Inter, system-ui, sans-serif; color: #fff; text-shadow: 0 2px 0 #000, 0 0 6px #000, 2px 0 0 #000, -2px 0 0 #000; }
.ph-rate, .ph-hd { position: absolute; top: 34px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.ph-rate { left: 12px; background: var(--grad); color: #1a0a00; }
.ph-hd { right: 12px; background: #000a; color: #fff; border: 1px solid #fff3; }
.ph-bar { padding: 10px; background: #111118; display: grid; gap: 8px; }
.ph-dl { border: 0; border-radius: 12px; padding: 9px; font-weight: 700; background: var(--grad); color: #1a0a00; font-size: 13px; }
.ph-post { display: flex; gap: 6px; justify-content: center; }
.ph-post i { font-style: normal; font-size: 10px; padding: 3px 8px; border-radius: 99px; background: #ffffff14; color: #ddd; }
.ph-feed { display: grid; gap: 8px; width: 190px; }
.ph-item { display: flex; align-items: center; gap: 8px; background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 8px;
  font-size: 12px; animation: phin .4s ease; }
.ph-item b { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-thumb { width: 22px; height: 38px; border-radius: 5px; background: linear-gradient(#2b1d4d 0 36%, #9bc6e0 36%, #c79a5b); flex: none; }
.ph-r { font-weight: 700; color: var(--magma2); }
@keyframes phin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.who-card { background: linear-gradient(135deg, #ff5a1f18, #ffb02008); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.who-card h3 { margin: 0 0 6px; font-size: 20px; }
.who-card p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .ph-feed { display: none; } .who { grid-template-columns: 1fr; } }

/* clip cards: never squashed, hover plays the preview, big readable rating */
.clip { flex: none; }
.clip .thumb { min-height: 150px; }
.clip .thumb .hover-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.clip .thumb .lock, .clip .thumb .rating, .clip .thumb .dur { z-index: 2; }
.clip .thumb .rating { font-size: 18px; padding: 6px 9px; }
.clip:hover { border-color: #ff5a1f88; }
.plan-pill.admin { background: linear-gradient(100deg, #c8ff3c, #7cffb2); color: #0d1a00; }

.usp { display: inline-block; margin: 4px 0 22px; padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: 16px;
  background: linear-gradient(100deg, #ff5a1f22, #ffb02012); border: 1px solid #ff5a1f55; color: var(--text); }
.usp b { color: var(--magma2); }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--lime); font-weight: 700; }

/* clip editor: trim, caption text, branding */
.trim { display: grid; gap: 6px; }
.trim label { display: grid; grid-template-columns: 44px 1fr; align-items: center; font-size: 12.5px; color: var(--muted); }
.trim input[type=range] { width: 100%; accent-color: var(--magma); }
.cc-list { display: grid; gap: 6px; max-height: 240px; overflow-y: auto; padding-right: 4px; }
.cc-list .row { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: center; }
.cc-list .row span { font-family: var(--mono); font-size: 11px; color: var(--dim); cursor: pointer; }
.cc-list .row input { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 13px; }
.brand-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.brand-row .in { flex: 1; min-width: 140px; }
#brLogo { height: 36px; max-width: 80px; object-fit: contain; border-radius: 6px; background: #ffffff10; padding: 3px; }
@media (max-width: 860px) { .submit-row { flex-wrap: wrap; } .submit-row .btn { width: 100%; } }

.notify-card { margin-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: #ffffff06; font-size: 13.5px; color: var(--muted); }
.notify-card b { color: var(--text); }
.notify-card .sp { flex: 1; min-width: 180px; }
.notify-card .x { background: none; border: 0; color: var(--dim); font-size: 18px; cursor: pointer; }

.auto-box { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #ffffff04; }
.auto-box summary { cursor: pointer; font-size: 14px; list-style: none; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.auto-box summary::-webkit-details-marker { display: none; }
.auto-list { display: grid; gap: 8px; margin-top: 10px; }
.auto-item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--bg); font-size: 13.5px; }
.auto-item .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auto-item .live { color: #ff4d6d; font-weight: 700; font-size: 12px; }
.tagc.voice { color: #7cffb2; }

.lang-sw { font-size: 13px; color: var(--muted); padding: 6px 8px; }
.lang-sw:hover { color: var(--text); }
/* free tools */
.tool-grid { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.tool-form { display: grid; gap: 8px; }
.card-pad { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.tool-preview { background: #000; border-radius: 14px; padding: 10px; display: grid; place-items: center; }
.tool-preview canvas { max-width: 100%; max-height: 70vh; height: auto; border-radius: 8px; }
.tool-cta { margin-top: 40px; padding: 26px; border-radius: 18px; border: 1px solid #ff5a1f55; background: linear-gradient(135deg, #ff5a1f18, #ffb02008); }
.tool-cta h3 { margin: 0 0 6px; font-size: 22px; }
.cc-pre { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 13px; color: var(--muted); max-height: 260px; overflow: auto; margin-top: 12px; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } .lang-sw { display: none; } }

/* ---------------------------------------------------------------- support chat widget */
.cqs { position: fixed; right: 22px; bottom: 22px; z-index: 80; font-family: var(--body); }
.cqs-fab { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; position: relative; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 12px 30px -8px #ff5a1fa0, 0 0 0 4px #0a0a0f; transition: transform .15s; }
.cqs-fab:hover { transform: scale(1.06); }
.cqs-fab img { width: 36px; height: 36px; border-radius: 10px; }
.cqs-fab .cqs-x { display: none; font-size: 30px; color: #1a0a00; line-height: 1; }
.cqs.on .cqs-fab img { display: none; }
.cqs.on .cqs-fab .cqs-x { display: block; }
.cqs-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #ff3355;
  color: #fff; font-size: 11px; font-weight: 700; display: none; align-items: center; justify-content: center; line-height: 20px; box-shadow: 0 0 0 2px #0a0a0f; }
.cqs-hey { position: absolute; right: 0; bottom: 76px; display: flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer;
  background: #fff; color: #15151c; font-weight: 600; font-size: 14px; padding: 10px 10px 10px 14px; border-radius: 14px 14px 4px 14px;
  box-shadow: 0 10px 30px -10px #000; animation: cqsIn .35s ease; }
.cqs-hey button { border: 0; background: #0001; color: #555; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 14px; }
.cqs-panel { position: absolute; right: 0; bottom: 78px; width: 370px; height: min(600px, calc(100vh - 120px)); display: none; flex-direction: column;
  background: #15151d; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px -20px #000; animation: cqsIn .25s ease; }
.cqs.on .cqs-panel { display: flex; }
.cqs-head { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: linear-gradient(120deg, #ff5a1f, #ffb020); color: #1a0a00; }
.cqs-head img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 2px #fff6; }
.cqs-head b { display: block; font-size: 17px; font-family: var(--display); }
.cqs-head small { font-size: 12.5px; opacity: .8; font-weight: 600; }
.cqs-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #1c1c26; border-bottom: 1px solid var(--line); }
.cqs-tabs button { border: 0; background: none; color: var(--muted); padding: 11px; font-weight: 600; font-size: 13.5px; cursor: pointer; border-bottom: 2px solid transparent; }
.cqs-tabs button.on { color: var(--text); border-bottom-color: var(--magma); }
.cqs-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cqs-row { display: flex; flex-direction: column; align-items: flex-start; max-width: 85%; }
.cqs-row.me { align-self: flex-end; align-items: flex-end; }
.cqs-who { font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 4px 4px; }
.cqs-bub { background: #23232f; color: var(--text); padding: 10px 12px 18px; border-radius: 14px 14px 14px 4px; font-size: 14px; line-height: 1.4;
  position: relative; min-width: 70px; word-break: break-word; }
.cqs-row.me .cqs-bub { background: linear-gradient(120deg, #ff5a1f, #ff8a3d); color: #1a0a00; border-radius: 14px 14px 4px 14px; }
.cqs-bub span { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; opacity: .6; }
.cqs-sys { align-self: center; font-size: 12px; color: var(--dim); background: #ffffff08; padding: 5px 12px; border-radius: 99px; text-align: center; }
.cqs-human { border: 1px solid var(--line); background: none; color: var(--text); border-radius: 99px; padding: 5px 12px; cursor: pointer; font-size: 12.5px; }
.cqs-empty { margin: auto; text-align: center; color: var(--muted); font-size: 14px; padding: 20px; }
.cqs-kept { text-align: center; font-size: 11px; color: var(--dim); margin-top: 8px; }
.cqs-faq { background: #1c1c26; border-radius: 12px; padding: 10px 12px; }
.cqs-faq summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.cqs-faq p { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; }
.cqs-foot { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: #1a1a23; }
.cqs-foot textarea { flex: 1; resize: none; border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 12px; padding: 10px 12px;
  font: inherit; font-size: 14px; max-height: 110px; }
.cqs-foot button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--grad); color: #1a0a00; font-size: 17px; cursor: pointer; }
@keyframes cqsIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) {
  .cqs { right: 14px; bottom: 14px; }
  .cqs-panel { position: fixed; inset: 0 0 0 0; width: auto; height: auto; border-radius: 0; bottom: 0; }
  .cqs.on .cqs-fab { position: fixed; top: 10px; right: 10px; width: 40px; height: 40px; z-index: 2; box-shadow: none; background: #0003; }
  .cqs.on .cqs-fab .cqs-x { color: #1a0a00; font-size: 24px; }
}

/* ---- deleting clips */
.btn-danger { background: #e5484d; color: #fff; border: 1px solid #e5484d; }
.btn-danger:hover { background: #f2555a; }
.btn-danger:disabled { opacity: .45; cursor: default; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.link-btn:hover { color: var(--text); background: #ffffff0d; }
.side-tools { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); min-height: 38px; }
.side { position: relative; }
.pickbar { display: none; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--card); font-size: 13px; }
.picking .pickbar { display: flex; }
.picking .clip { position: relative; }
.clip .pick { display: none; position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: #0008; z-index: 2; place-items: center; font-size: 13px; font-weight: 800; color: #111; }
.picking .clip .pick { display: grid; }
.clip.picked { border-color: #e5484d; }
.clip.picked .pick { background: #e5484d; border-color: #e5484d; color: #fff; }
.picking .clip .thumb .rating { right: 40px; }
.clip.off { opacity: .45; cursor: default; }
.job-del { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; padding: 4px 6px; border-radius: 6px; margin-left: 4px; }
.job-del:hover { color: #e5484d; background: #e5484d1a; }
.del-link { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.del-link:hover { color: #e5484d; background: #e5484d14; }
.confirm-bg { position: fixed; inset: 0; background: #000b; display: none; place-items: center; z-index: 95; padding: 20px; }
.confirm-bg.on { display: grid; }
.confirm-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; width: min(400px, 100%); text-align: center; }
.confirm-box h3 { margin: 0 0 8px; font-family: var(--display); font-size: 19px; }
.confirm-box p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.confirm-box .row { display: flex; gap: 10px; justify-content: center; }
@media (max-width: 1000px) { .pickbar { position: sticky; bottom: 0; z-index: 5; } }
.cqs { transition: bottom .2s; }
body.picking-on .cqs { bottom: 84px !important; }
.tagc.rage { color: #ff6a3d; } .tagc.emotional { color: #c9a7ff; } .tagc.mic { color: #9fe8ff; text-transform: none; }

/* ---- guides */
.wrap.guide h2 { font-size: 23px !important; line-height: 1.25; margin: 34px 0 10px !important; }
.guide p { color: var(--muted); line-height: 1.7; font-size: 16.5px; margin: 0 0 14px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.guide-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.guide-card:hover { border-color: var(--magma); }
.guide-card h3 { margin: 0 0 8px; font-size: 18px; }
.guide-card p { color: var(--muted); font-size: 14px; margin: 0 0 12px; line-height: 1.5; }
.guide-card span { color: var(--magma2); font-weight: 600; font-size: 14px; }
.out-list { display: grid; gap: 10px; margin-top: 16px; }
.out-item { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.out-item span { min-width: 0; overflow-wrap: anywhere; }
footer .wrap span:last-child { line-height: 2; }
#verifyCard { border-color: var(--magma); background: #ff5a1f14; color: var(--text); }
