
@font-face { font-family: "SUIT"; src: url("/assets/funnel/SUIT-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;
  --canvas: #FFFFFF; --card: #FFFFFF; --surface: #F5F6F8;
  --ink: #1B2140; --body: #4A5270; --faint: #7F8AAB;
  --line: #E4E7EF; --line-soft: #EEF0F5;
  --primary: #6556E8; --primary-deep: #4F3FD0; --primary-soft: #E2DDFB; --tint: #F1EFFE; --tint-sky: #EEF7FF;
  --ok: #138A5E; --tint-ok: #E7F6EF; --warn: #B4610B; --tint-warn: #FFF3E3;
  --grad: linear-gradient(100deg, #21A2FF 0%, #C05AFF 100%);
  --grad-deep: linear-gradient(120deg, #1D6FE0 0%, #9444E8 100%);
  --grad-text: linear-gradient(100deg, #1E8CF0 0%, #A84BEB 100%);
  --grad-head: linear-gradient(100deg, #EDF8FF 0%, #FAF2FF 100%);
  --glow-sm: 0 6px 16px rgba(118, 84, 240, .24);
  --shadow-pop: 0 24px 64px rgba(18, 22, 44, .22);
  --r-sm: 12px; --r: 16px; --r-lg: 24px; --r-pill: 999px;
  --font: "SUIT", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--primary-soft); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; }


.demo-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.demo-bar-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; max-width: 1360px; margin: 0 auto; }
.demo-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.demo-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.demo-note { font-size: 12.5px; color: var(--body); }
.demo-steps { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.demo-step { border: 1px solid var(--line); background: var(--card); border-radius: var(--r-pill); padding: 4px 12px; font-size: 13px; font-weight: 600; color: var(--body); }
.demo-step b { font-variant-numeric: tabular-nums; margin-right: 4px; color: var(--faint); }
.demo-step[aria-current="step"] { background: var(--tint); border-color: var(--primary-soft); color: var(--primary-deep); }
.demo-step[aria-current="step"] b { color: var(--primary); }


.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); max-width: 1360px; margin: 0 auto; min-height: calc(100vh - 54px); }
.side { border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 64px); overflow-y: auto; }
.logo { width: 96px; height: auto; display: block; color: var(--ink); }
.side-ws { font-size: 12px; color: var(--body); }
.side-ws strong { display: block; font-size: 14px; color: var(--ink); margin-top: 2px; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-group { font-size: 12px; font-weight: 600; color: var(--faint); margin: 8px 12px 2px; }
.nav button { display: flex; align-items: center; gap: 10px; border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600; color: var(--body); }
.nav button:hover { background: var(--surface); }
.nav button[aria-current="page"] { background: var(--grad-deep); color: #fff; box-shadow: var(--glow-sm); }
.nav svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r); background: var(--surface); font-size: 13px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.side-user small { display: block; color: var(--body); font-size: 12px; }
.topbar { display: none; }
.main { padding: 32px 32px 200px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }


.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-title { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.count { min-width: 24px; height: 24px; padding: 0 8px; border-radius: var(--r-pill); background: var(--tint); color: var(--primary-deep); font-size: 13px; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 24px; border-radius: var(--r-pill); border: 1px solid transparent; font-size: 15px; font-weight: 700; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn-primary { background: var(--grad-deep); color: #fff; box-shadow: var(--glow-sm); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { background: var(--card); border-color: var(--line); color: var(--primary-deep); }
.btn-secondary:hover { background: var(--tint); }
.btn-soft { background: var(--tint); color: var(--primary-deep); }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 14px; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; white-space: nowrap; background: var(--surface); color: var(--body); }
.badge-key { background: var(--tint); color: var(--primary-deep); }
.badge-ok { background: var(--tint-ok); color: var(--ok); }
.badge-warn { background: var(--tint-warn); color: var(--warn); }
.badge-new { background: var(--card); border: 1px solid var(--primary-soft); color: var(--primary); }
.hint { font-size: 13px; color: var(--body); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kv { display: flex; flex-direction: column; }
.kv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.kv-row:first-child { border-top: 0; padding-top: 0; }
.kv-row span { color: var(--body); }
.kv-row strong { font-variant-numeric: tabular-nums; text-align: right; }
.links { display: flex; flex-direction: column; gap: 8px; }
.links button { display: flex; justify-content: space-between; align-items: center; border: 0; background: var(--surface); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14.5px; font-weight: 700; text-align: left; }
.links button::after { content: "›"; font-size: 18px; color: var(--body); }


.hero { background: var(--grad-head); border: 1px solid var(--line); border-radius: 32px; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px 32px; align-items: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 28px; font-weight: 800; }
.hero-news { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; }
.hero-news::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.hero-chips { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--body); }
.hero-chips .badge { height: 32px; padding: 0 12px; }
.hero-aside { display: flex; flex-direction: column; gap: 12px; }
.hero-tools { display: flex; justify-content: flex-end; gap: 8px; }
.bell { position: relative; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; }
.bell svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bell i { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: var(--r-pill); background: var(--grad-deep); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--card); }
.period { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; }
.period-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--body); }
.period-head strong { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.meter { height: 8px; border-radius: var(--r-pill); background: var(--line-soft); margin: 10px 0 8px; overflow: hidden; }
.meter > div { height: 100%; border-radius: inherit; background: var(--grad); }


.todo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; }
.todo-title { font-weight: 700; }
.todo-sub { font-size: 13.5px; color: var(--body); }
.now { border: 1px solid var(--line); border-left: 3px solid transparent; border-image: none; border-radius: var(--r); padding: 16px 20px; position: relative; }
.now::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--grad); }
.now-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.now-head strong { font-size: 15.5px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--faint); min-width: 0; }
.step::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--line); min-width: 8px; }
.step:last-child::after { display: none; }
.step i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 11.5px; flex: none; background: var(--card); }
.step.is-done { color: var(--body); }
.step.is-done i { border-color: transparent; background: var(--tint); color: var(--primary); }
.step.is-done::after { background: var(--grad); }
.step.is-current { color: var(--primary-deep); }
.step.is-current i { border-color: transparent; background: var(--grad-deep); color: #fff; box-shadow: 0 0 0 4px var(--tint); }
.queue { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; padding: 0; }
.queue li { list-style: none; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.qn { font-weight: 700; color: var(--body); text-align: center; font-variant-numeric: tabular-nums; }
.qt { font-weight: 700; font-size: 14.5px; }
.qs { font-size: 12.5px; color: var(--body); }
.queue li.is-fresh { border-color: var(--primary-soft); background: var(--tint-sky); }
.new-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.recent { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.recent:first-of-type { border-top: 0; padding-top: 0; }
.recent strong { display: block; font-size: 14.5px; }
.recent small { color: var(--body); font-size: 12.5px; }


.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.page-head h1 { font-size: 28px; font-weight: 800; }
.page-head p { color: var(--body); margin-top: 6px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 700; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 15px; color: var(--ink); }
.textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("/demo/app/assets/icon-1.svg"); background-repeat: no-repeat; background-position: right 16px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; background-color: var(--card); border-color: var(--primary-deep); box-shadow: 0 0 0 3px var(--primary-soft); }
.note { padding: 12px 16px; border-radius: var(--r-sm); background: var(--tint-sky); color: var(--ink); font-size: 13.5px; }
.note-warn { background: var(--tint-warn); color: var(--warn); }


.back { align-self: flex-start; border: 0; background: none; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--body); }
.back::before { content: "‹ "; }
.track { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 24px; }
.track .steps { margin-top: 0; }
.do { border-radius: var(--r-lg); padding: 20px 24px; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.do-label { font-size: 12.5px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.do-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.do h2 { font-size: 18px; margin-top: 4px; }
.do p { font-size: 13.5px; color: var(--body); margin-top: 4px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -8px -24px 20px; padding: 0 16px; }
.tab { border: 0; background: none; padding: 14px 12px; font-size: 15px; font-weight: 700; color: var(--body); position: relative; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--grad); }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.option { border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.option.is-picked { border-color: var(--primary); box-shadow: 0 0 0 3px var(--tint); }
.thumb { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
.thumb svg { width: 100%; height: 100%; display: block; }
.option-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.option-head strong { font-size: 15px; }
.feedback { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.feedback-acts { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.brief dt { font-size: 13px; color: var(--body); }
.brief dd { margin: 4px 0 14px; font-size: 14.5px; }
.log li { list-style: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.log li:first-child { border-top: 0; }
.log ul { margin: 0; padding: 0; }
.log time { color: var(--body); font-variant-numeric: tabular-nums; }
.files { display: flex; flex-direction: column; gap: 8px; }
.file { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.file strong { display: block; font-size: 14.5px; }
.file small { color: var(--body); font-size: 12.5px; word-break: break-all; }
.timeskip { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--primary-deep); background: var(--tint); border-radius: var(--r-pill); padding: 4px 12px; }


.thumb { position: relative; cursor: crosshair; }
.thumb.is-static { cursor: default; }
.pin { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-deep); color: #fff; font-size: 12.5px; font-weight: 800; display: grid; place-items: center; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(27, 33, 64, .25); pointer-events: none; font-variant-numeric: tabular-nums; }
.pins { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.pins li { list-style: none; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; }
.pins .pin { position: static; transform: none; box-shadow: none; }
.pins .input { min-height: 44px; padding: 10px 14px; }
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 88%; display: flex; flex-direction: column; gap: 6px; }
.msg-meta { font-size: 12px; color: var(--body); font-weight: 600; }
.msg-body { padding: 12px 16px; border-radius: 18px; background: var(--surface); font-size: 14.5px; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me .msg-body { background: var(--tint-sky); border-bottom-right-radius: 6px; }
.msg.pm .msg-body { background: var(--tint); border-bottom-left-radius: 6px; }
.msg-pins { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.msg-pins span { display: flex; gap: 6px; align-items: baseline; font-size: 13.5px; }
.msg-pins b { width: 20px; height: 20px; border-radius: 50%; background: var(--grad-deep); color: #fff; font-size: 11px; display: inline-grid; place-items: center; flex: none; }
.reply { display: flex; gap: 8px; margin-top: 4px; }
.reply .input { min-width: 0; }
.changes { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: var(--r); background: var(--tint-ok); }
.changes-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
.changes li { list-style: none; display: flex; gap: 8px; font-size: 14px; color: var(--ink); }
.changes li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.changes strong { font-size: 13px; color: var(--ok); }
.rev { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rev.is-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rev figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.rev figcaption { font-size: 13px; font-weight: 700; color: var(--body); }
.rev .thumb { max-width: 360px; }
.rev.is-compare .thumb { max-width: none; }
.acts { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }


.end { text-align: center; padding: 40px 24px; background: var(--grad-head); border: 1px solid var(--line); border-radius: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.end h2 { font-size: 26px; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.end p { color: var(--body); max-width: 34em; }
.end-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }


.guide { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 360px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.guide-top { display: flex; justify-content: space-between; align-items: center; }
.guide-no { font-size: 12.5px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.guide-x { border: 0; background: none; font-size: 13px; color: var(--body); padding: 4px; }
.guide h3 { font-size: 17px; }
.guide p { font-size: 14px; color: var(--body); }
.guide-acts { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; }
.guide-min { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; }
.spot { position: relative; z-index: 1; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--primary) !important; animation: spot 1.6s ease-in-out infinite; }
@keyframes spot { 50% { box-shadow: 0 0 0 3px #fff, 0 0 0 9px rgba(101, 86, 232, .35) !important; } }
.toast { position: fixed; left: 50%; top: calc(72px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 50; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 10px 18px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-pop); width: max-content; max-width: calc(100% - 32px); text-align: center; }


@media (max-width: 1080px) { .cols { grid-template-columns: minmax(0, 1fr); } .hero { grid-template-columns: minmax(0, 1fr); } .hero-tools { justify-content: flex-start; } }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .topbar .logo { width: 80px; }
  .topbar small { font-size: 12.5px; color: var(--body); }
  .main { padding: 20px 16px 260px; gap: 16px; }
  .card { padding: 20px 16px; border-radius: 20px; }
  .hero { padding: 24px 20px; border-radius: 24px; }
  .hero h1, .page-head h1 { font-size: 23px; }
  .demo-steps { margin-left: 0; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .demo-step { flex: none; }
  .msg { max-width: 100%; }
  .acts .btn { flex: 1; }
  .demo-note { display: none; }
  .todo { grid-template-columns: minmax(0, 1fr); }
  .todo .badge { justify-self: start; }
  .todo .btn { width: 100%; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { gap: 4px; }
  .step { flex-direction: column; gap: 6px; font-size: 12px; text-align: center; }
  .step::after { display: none; }
  .step span { white-space: nowrap; }
  .options { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .do { flex-direction: column; align-items: stretch; }
  .do .btn { width: 100%; }
  .tabs { margin: -4px -16px 16px; padding: 0 8px; overflow-x: auto; }
  .guide { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 16px; }
  .guide-min { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .new-card { flex-direction: column; align-items: stretch; }
  .page-head .hero-tools { display: none; }
}

.is-video .demo-bar, .is-video .guide, .is-video .guide-min { display: none !important; }
.is-video .side { top: 0; max-height: 100vh; }
.is-video .main { padding-bottom: 160px; }
.is-video .toast { top: calc(60px + env(safe-area-inset-top, 0px)); }
.v-cap { position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px); padding: 14px 26px 14px 14px; border-radius: var(--r-pill); background: rgba(27, 33, 64, .92); color: #fff; box-shadow: var(--shadow-pop); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; transition: opacity .25s ease, transform .25s ease; }
.v-cap b { flex: none; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); background: var(--grad-deep); display: grid; place-items: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.v-cap.is-out { opacity: 0; transform: translate(-50%, 8px); }
.v-badge { position: fixed; top: 16px; right: 16px; z-index: 60; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .9); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--body); }
.v-cursor { position: fixed; left: 0; top: 0; z-index: 70; width: 30px; height: 30px; pointer-events: none; transform: translate(-100px, -100px); transition: transform .55s cubic-bezier(.45, .05, .25, 1); }
.v-cursor svg { width: 30px; height: 30px; display: block; filter: drop-shadow(0 3px 6px rgba(27, 33, 64, .35)); }
.v-touch { position: fixed; left: 0; top: 0; z-index: 70; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(101, 86, 232, .28); border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 4px 12px rgba(27, 33, 64, .25); pointer-events: none; transform: translate(-100px, -100px); transition: transform .55s cubic-bezier(.45, .05, .25, 1); }
.v-ripple { position: fixed; z-index: 69; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 3px solid var(--primary); pointer-events: none; animation: ripple .55s ease-out forwards; }
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }
.is-video .msg { animation: msgIn .45s ease both; }
.is-video .msg:nth-child(2) { animation-delay: 1s; }
.is-video .msg:nth-child(3) { animation-delay: 2.4s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 500px) { .v-cap { bottom: 24px; font-size: 15px; line-height: 1.35; padding: 10px 18px 10px 10px; gap: 10px; } .v-cap b { min-width: 32px; height: 32px; font-size: 13px; } }

@media (prefers-reduced-motion: reduce) { .spot { animation: none; } .btn { transition: none; } .btn-primary:hover { transform: none; } }
