/* Дриимс: светлый интерфейс с графитовыми кнопками, шар в цветах Sphole, ступени Ondo, шрифты Kyiv Type / TikTok Sans / Departure Mono.
   Согласованная айдентика B «Пуск», 02.12.2026. */
@font-face { font-family: "TikTok Sans"; src: url(fonts/tiktok-sans-v8-latin.woff2) format("woff2"); font-weight: 300 900; font-stretch: 75% 150%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "TikTok Sans"; src: url(fonts/tiktok-sans-v8-cyrillic.woff2) format("woff2"); font-weight: 300 900; font-stretch: 75% 150%; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Kyiv Type"; src: url(fonts/kyiv-type-titling-variable.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; }
@font-face { font-family: "Departure Mono"; src: url(fonts/departure-mono.woff2) format("woff2"); font-display: swap; }

:root {
  --bg: #F6F4FB; --surface: #FFFFFF; --ink: #15101F; --muted: #6A6282; --line: #E6E0F3; --soft: #EFEBF8;
  --night: #110E1E; --indigo: #2F2A8A; --blue: #3B5BE0; --violet: #6B3BEF; --fuchsia: #E05BD6; --cream: #FBE3D6; --coral: #F2705E;
  --sans: "TikTok Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Departure Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --kyiv: "Kyiv Type", "TikTok Sans", serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— каркас ——— */
.wrap { max-width: 560px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)) 48px; }
.wrap.wide { max-width: 1080px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; position: relative; z-index: 5; }
.top nav { display: flex; gap: 6px; align-items: center; }
.top nav a, .top nav button { text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer; }
.top nav a:hover, .top nav button:hover { background: var(--soft); }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px 8px 6px; border-radius: 999px; border: 0; background: none; cursor: pointer; }
.back:hover { background: var(--soft); }
.back svg { width: 20px; height: 20px; }

.wm { font-family: var(--kyiv); font-weight: 340; line-height: .9; letter-spacing: -.02em; display: inline-flex; align-items: flex-start; gap: .04em; text-decoration: none; padding-bottom: .1em; }
.wm .star { width: .26em; height: .26em; margin-top: .02em; flex: none; color: var(--violet); }
.top .wm { font-size: 30px; }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .03em; color: var(--muted); }
.h-kyiv { font-family: var(--kyiv); font-weight: 340; letter-spacing: -.015em; line-height: 1.02; text-wrap: balance; }
.muted { color: var(--muted); }

/* ——— кнопки и поля ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; text-align: center; line-height: 1.25; transition: transform .15s, background .15s, opacity .15s; width: 100%; }
.btn:hover { background: #2A2238; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: default; transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px #CFC6E6; }
.btn.small { min-height: 42px; font-size: 15px; padding: 0 18px; width: auto; }
.btn.violet { background: var(--violet); }
.btn.violet:hover { background: #5B2EDB; }
.btn.danger { background: #fff; color: #B4233C; box-shadow: inset 0 0 0 2px #F2C9D1; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.stack { display: grid; gap: 12px; }
.link { background: none; border: 0; padding: 6px 2px; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #C9BFE6; }
.link:hover { text-decoration-color: currentColor; }

label.f { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
label.f .hint { font-weight: 400; color: var(--muted); font-size: 14px; }
input.in, textarea.in { -webkit-appearance: none; appearance: none; width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 14px 16px; outline: none; transition: border-color .15s; }
input.in:focus, textarea.in:focus { border-color: var(--violet); }
/* свои контролы вместо системных: галочка, раскрывашка, выбор из нескольких */
.check input { -webkit-appearance: none; appearance: none; border: 2px solid #CFC6E6; border-radius: 30%; background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.check input:checked { background: var(--violet); border-color: var(--violet); }
.check input:checked::after { content: ""; width: 50%; height: 28%; border: 2px solid #fff; border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -12%; }
.fine .check input { border-width: 1.5px; }
.check input:focus-visible, .chips button:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
summary { list-style: none; } summary::-webkit-details-marker { display: none; }
.past summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.past summary::after { content: ""; width: 8px; height: 8px; border: 2px solid var(--muted); border-top: 0; border-left: 0; rotate: 45deg; translate: 0 -2px; transition: rotate .2s, translate .2s; flex: none; }
.past details[open] summary::after { rotate: -135deg; translate: 0 2px; }
textarea.in { resize: none; field-sizing: content; min-height: 140px; line-height: 1.45; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.err { color: #B4233C; font-size: 15px; font-weight: 600; }
.count { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }

/* ——— шар ——— */
.orb { --s: 220px; --tail0: rgba(245,200,225,.95); --tail: rgba(170,100,255,.8); --tail2: rgba(60,60,210,.45); --halo: rgba(120,90,255,.55); --halo2: rgba(70,110,255,.28);
  width: var(--s); height: var(--s); position: relative; flex: none; border-radius: 50%; isolation: isolate; background: radial-gradient(circle at 50% 30%, #4B4FE0, #3A3FC8 50%, #F3D2C8 80%, #A77BFF); }
.orb:has(> canvas) { background: none; } /* сфера из CSS остаётся, где WebGL нет */
.orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 50%; }
.orb .tail { position: absolute; left: 1%; right: 1%; top: 50%; height: 120%; z-index: -1; border-radius: 45% 45% 50% 50%; pointer-events: none;
  background: linear-gradient(180deg, var(--tail0) 0%, var(--tail) 30%, var(--tail2) 62%, transparent 92%); filter: blur(calc(var(--s) * .06));
  -webkit-mask: radial-gradient(70% 60% at 50% 20%, #000 40%, transparent 100%); mask: radial-gradient(70% 60% at 50% 20%, #000 40%, transparent 100%); }
.orb .halo { position: absolute; inset: -22%; border-radius: 50%; z-index: -2; pointer-events: none;
  background: radial-gradient(closest-side, var(--halo) 58%, var(--halo2) 76%, transparent 100%); filter: blur(calc(var(--s) * .07)); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .85; } }
.orb[data-s="done"] { --halo: rgba(240,110,210,.55); --halo2: rgba(140,90,255,.28); --tail: rgba(255,140,200,.85); --tail2: rgba(150,80,240,.45); }
.orb[data-s="oops"] { --halo: rgba(255,120,110,.5); --halo2: rgba(220,80,160,.25); --tail: rgba(255,130,110,.8); --tail2: rgba(200,70,140,.4); }
.orb[data-s="sleep"] { --halo: rgba(110,90,220,.3); --halo2: rgba(60,50,160,.15); --tail: rgba(120,100,220,.5); --tail2: rgba(50,40,140,.3); }
.orb[data-s="think"] { --halo: rgba(90,160,255,.55); --halo2: rgba(80,90,255,.28); --tail: rgba(110,170,255,.8); --tail2: rgba(70,70,220,.45); }
.orb.small .tail { display: none; }
.orb .visor { position: absolute; left: 21%; right: 21%; top: 27%; height: 23%; border-radius: 999px; z-index: 1;
  background: linear-gradient(180deg, rgba(40,38,110,.92), rgba(18,16,60,.96));
  box-shadow: inset 0 calc(var(--s) * .012) calc(var(--s) * .018) rgba(255,255,255,.5), inset 0 calc(var(--s) * -.018) calc(var(--s) * .035) rgba(120,170,255,.45), 0 calc(var(--s) * .02) calc(var(--s) * .05) rgba(15,10,50,.35);
  display: flex; justify-content: center; align-items: center; gap: calc(var(--s) * .1);
  transform: translate(calc(var(--ex, 0) * var(--s) * .05), calc(var(--ey, 0) * var(--s) * .035)); transition: transform .3s cubic-bezier(.3,.7,.4,1); }
.orb .visor i { width: calc(var(--s) * .045); height: calc(var(--s) * .1); border-radius: 999px; background: #fff; flex: none;
  box-shadow: 0 0 calc(var(--s) * .025) #fff, 0 0 calc(var(--s) * .07) rgba(160,200,255,.95);
  transform: translate(calc(var(--ex, 0) * var(--s) * .025), calc(var(--ey, 0) * var(--s) * .015)); animation: blink 4.4s infinite; transition: height .25s, width .25s; }
@keyframes blink { 0%, 91%, 100% { scale: 1 1; } 94% { scale: 1 .12; } }
.orb[data-s="sleep"] .visor i { height: calc(var(--s) * .014); width: calc(var(--s) * .06); animation: none; opacity: .85; }
.orb[data-s="listen"] .visor i { height: calc(var(--s) * .12); animation: talk .5s ease-in-out infinite alternate; }
.orb[data-s="listen"] .visor i:nth-child(2) { animation-delay: .25s; }
@keyframes talk { from { scale: 1 .8; } to { scale: 1 1.05; } }
.orb[data-s="think"] .visor { --ex: .55; --ey: -.5; }
.orb[data-s="think"] .visor i { height: calc(var(--s) * .075); animation: look 3s ease-in-out infinite; }
@keyframes look { 0%, 40% { translate: 0 0; } 50%, 90% { translate: calc(var(--s) * -.04) 0; } }
.orb[data-s="done"] .visor i { width: calc(var(--s) * .075); height: calc(var(--s) * .04); background: none; border: calc(var(--s) * .017) solid #fff; border-bottom: 0; border-radius: 999px 999px 0 0; box-shadow: none; filter: drop-shadow(0 0 calc(var(--s) * .02) rgba(255,255,255,.9)); animation: none; margin-top: calc(var(--s) * .02); }
.orb[data-s="oops"] .visor i { width: calc(var(--s) * .065); height: calc(var(--s) * .065); animation: none; }
.orb.ringy::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 2px solid rgba(150,120,255,.6); animation: ring 2s ease-out infinite; z-index: -1; }
@keyframes ring { from { transform: scale(.95); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.orb.float { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3%; } }
.orb.hop { animation: hop 1.5s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes hop { 0%,100% { translate: 0 0; scale: 1 1; } 30% { translate: 0 -10%; scale: .96 1.04; } 55% { translate: 0 0; scale: 1.05 .95; } 70% { scale: 1 1; } }
.orb-zone { display: grid; place-items: center; padding: 28px 0 64px; }

/* лицо шара — короткий знак */
.face { --h: 22px; width: calc(var(--h) * 2.5); height: var(--h); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: calc(var(--h) * .42); flex: none; background: var(--ink); }
.face i { width: calc(var(--h) * .19); height: calc(var(--h) * .44); border-radius: 999px; background: #fff; }

/* ступени Ondo */
.steps { position: absolute; inset: 0; }
.steps span { position: absolute; animation: stepglow 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .12s); }
@keyframes stepglow { 0%, 100% { filter: none; } 40% { filter: brightness(1.12) saturate(1.1); } }
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 180px; mix-blend-mode: overlay; opacity: .45; pointer-events: none; border-radius: inherit; z-index: 2; }

/* ——— лендинг ——— */
.hero { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 8px 0 24px; }
.hero h1 { font-family: var(--kyiv); font-weight: 340; font-size: clamp(33px, 9.2vw, 56px); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 32ch; margin-top: 14px; text-wrap: pretty; }
.hero .orb-zone { padding: 34px 0 72px; }
.hero-row { display: contents; }
.hero-cta, .hero .orb-zone .steps { display: none; }
.hero .orb-zone { order: -1; }
.hero .orb-zone::after { display: none; } /* зерно — только на панели ступеней (компьютер) */
.land-proj { margin-top: 44px; display: grid; gap: 14px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-h h2 { font-family: var(--kyiv); font-weight: 340; font-size: 30px; }
.sec-h p { display: none; }
.sec-h a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--violet); white-space: nowrap; }
.sec-h a svg { width: 18px; height: 18px; }
/* лендинг на компьютере: тот же язык, что у ленты — огромный Kyiv, ступени во всю ширину, постеры */
@media (max-width: 899px) { .land > * { max-width: 528px; margin-inline: auto; } .land > .land-proj { max-width: none; } }
@media (min-width: 900px) {
  .land .hero { justify-items: stretch; text-align: left; gap: 0; padding: 28px 0 0; }
  .land .hero h1 { font-size: clamp(72px, 9.4vw, 118px); line-height: .88; letter-spacing: -.035em; padding-bottom: .1em; }
  .land .hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; margin: 26px 0 30px; }
  .land .hero .lead { font-size: 20px; max-width: 34ch; margin: 0; }
  .land .hero-cta { display: flex; gap: 10px; }
  .land .hero .orb-zone { order: 0; position: relative; overflow: hidden; border-radius: 44px; background: #1C1640; height: clamp(380px, 42vw, 480px); padding: 0; }
  .land .hero .orb-zone .steps { display: block; }
  .land .hero .orb-zone::after { display: block; }
  .land .hero .orb-zone .orb { --s: clamp(200px, 22vw, 260px) !important; z-index: 3; }
  .land .who { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 72px; }
  .land .who h2, .land .how h2, .land .sec-h h2 { grid-column: 1 / -1; font-size: 56px; text-align: left; margin: 0 0 10px; letter-spacing: -.02em; }
  .land .pick { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 22px; min-height: 270px; padding: 26px; border-radius: 32px; position: relative; }
  .land .pick .ic { width: 84px; height: 84px; border-radius: 26px; }
  .land .pick .ic .orb { --s: 56px !important; }
  .land .pick .ic svg { width: 40px !important; height: 40px !important; }
  .land .pick b { font-family: var(--kyiv); font-weight: 340; font-size: 34px; line-height: .98; margin-bottom: 8px; letter-spacing: -.01em; }
  .land .pick > span:last-of-type { align-self: end; }
  .land .pick .arr { position: absolute; right: 24px; top: 26px; width: 28px; height: 28px; }
  .land .how { margin-top: 72px; }
  .land .how ol { grid-template-columns: repeat(4, 1fr); align-items: end; gap: 14px; }
  .land .how li { grid-template-columns: 1fr; align-content: start; gap: 18px; padding: 26px; border-radius: 32px; min-height: calc(230px + (var(--n) - 1) * 56px); }
  .land .how li::before { font-size: 104px; }
  .land .how li b { font-size: 20px; }
  .land .hero-cta { gap: 12px; }
  .land .hero-cta .btn { white-space: nowrap; min-height: 72px; font-size: 19px; font-weight: 700; transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s; }
  .land .hero-cta .btn:hover { transform: translateY(-3px); }
  /* главный — светящийся шар-кнопка «Пуска»: живой шар внутри, градиент ступеней, свечение */
  .land .cta-go { padding: 0 32px 0 13px; gap: 14px; color: #fff; background: linear-gradient(100deg, #6B3BEF 0%, #3B5BE0 52%, #C25BD8 100%);
    box-shadow: 0 22px 44px -16px rgba(107,59,239,.85), 0 0 0 6px rgba(107,59,239,.12), inset 0 1px 0 rgba(255,255,255,.35); }
  .land .cta-go:hover { background: linear-gradient(100deg, #6B3BEF 0%, #3B5BE0 52%, #C25BD8 100%); box-shadow: 0 28px 54px -16px rgba(107,59,239,.95), 0 0 0 8px rgba(107,59,239,.16), inset 0 1px 0 rgba(255,255,255,.35); }
  .land .cta-go .orb { z-index: 3; }
  .land .cta-proj { padding: 0 24px 0 30px; gap: 8px; }
  .land .cta-proj svg { width: 22px; height: 22px; transition: translate .25s; }
  .land .cta-proj:hover svg { translate: 4px 0; }
  .land .land-proj { margin-top: 72px; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .land .land-proj .posters { display: contents; }
  .land .sec-h { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 6px; }
  .land .sec-h h2 { margin: 0; line-height: .95; }
  .land .sec-h p { display: block; font-size: 18px; color: var(--muted); max-width: 18ch; }
  .land .foot { margin-top: 64px; }
}
.who { display: grid; gap: 10px; }
.who h2 { font-family: var(--kyiv); font-weight: 340; font-size: 30px; text-align: center; margin: 12px 0 8px; }
.pick { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border-radius: 24px; text-decoration: none; border: 0; cursor: pointer; text-align: left; width: 100%;
  box-shadow: 0 1px 0 rgba(21,16,31,.04), 0 10px 30px -18px rgba(70,40,160,.35); transition: transform .15s, box-shadow .15s; }
.pick:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(21,16,31,.04), 0 16px 36px -18px rgba(70,40,160,.5); }
.pick b { font-size: 18px; display: block; line-height: 1.25; }
.pick span { color: var(--muted); font-size: 15px; }
.pick .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; position: relative; overflow: hidden; }
.pick .arr { width: 22px; height: 22px; color: var(--muted); }
/* «Как это работает» — ступени Пуска: от светлой мечты к глубокому фиолетовому отбора, номер — Kyiv */
.how { margin-top: 44px; display: grid; gap: 10px; }
.how h2 { font-family: var(--kyiv); font-weight: 340; font-size: 30px; text-align: center; margin-bottom: 6px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: n; }
.how li { counter-increment: n; position: relative; overflow: hidden; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start; background: var(--c); color: var(--t, #fff); border-radius: 26px; padding: 18px 20px 20px; }
.how li::before { content: counter(n); font-family: var(--kyiv); font-weight: 340; font-size: 64px; line-height: .78; letter-spacing: -.04em; }
.how li b { display: block; font-size: 18px; margin-bottom: 4px; }
.how li span { font-size: 15px; opacity: .82; }
.foot { margin-top: 40px; text-align: center; font-size: 14px; color: var(--muted); display: grid; gap: 8px; justify-items: center; }

/* ——— лестница уровней ——— */
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.ladder div { display: grid; gap: 6px; justify-items: center; text-align: center; font-size: 11px; line-height: 1.2; font-weight: 600; color: var(--muted); }
.ladder div::before { content: ""; height: 8px; width: 100%; border-radius: 999px; background: var(--soft); }
.ladder div.on::before { background: var(--c); }
.ladder div.now { color: var(--ink); }

/* ——— экран рассказа ——— */
.ask { display: grid; gap: 16px; padding-top: 8px; }
.ask h1 { font-size: clamp(34px, 8vw, 48px); text-align: center; }
.ask .actions { display: grid; gap: 10px; margin-top: 8px; }
.draft { background: var(--surface); border-radius: 24px; padding: 18px; display: grid; gap: 12px; }
.draft p { white-space: pre-wrap; }
.files { display: grid; gap: 8px; }
.file { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 16px; padding: 10px 12px; font-size: 15px; box-shadow: inset 0 0 0 2px var(--line); }
.file .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .sz { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.file button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px 6px; border-radius: 8px; font-size: 18px; line-height: 1; }
.file button:hover { background: var(--soft); color: var(--ink); }
.drop { display: grid; place-items: center; gap: 6px; text-align: center; padding: 26px 16px; border-radius: 24px; border: 2px dashed #CFC6E6; background: var(--surface); cursor: pointer; font-weight: 600; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--violet); background: #FBFAFF; }
.drop span { font-weight: 400; color: var(--muted); font-size: 14px; }

/* ——— запись голоса: полный экран с полосами Voice Plate ——— */
.rec { position: fixed; inset: 0; z-index: 40; background: #fff; display: grid; grid-template-rows: auto 1fr auto; padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.rec canvas.gl { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; width: 100%; z-index: -1; }
/* зерно поверх полос — в разрешении экрана и неподвижное, как на остальном сайте */
.rec::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: -1; background-image: var(--grain); background-size: 180px; mix-blend-mode: overlay; opacity: .5; pointer-events: none; }
.rec .said { text-align: center; font-size: 15px; color: var(--muted); font-family: var(--mono); margin-top: 18px; }
/* живая подпись, как на экране «голос» в айдентике: последние слова снизу, верх тает, у живой строки каретка */
.rec .said.on { font-family: inherit; font-size: 21px; font-weight: 500; line-height: 1.3; color: var(--ink); max-width: 520px; margin-inline: auto; height: 3.9em; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-wrap: balance; -webkit-mask-image: linear-gradient(transparent, #000 2.2em); mask-image: linear-gradient(transparent, #000 2.2em); }
.rec .said i { display: inline-block; width: 2px; height: 1em; background: var(--violet); vertical-align: -2px; margin-left: 3px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.rec .mid { display: grid; place-items: center; align-content: center; gap: 18px; }
.rec .time { font-family: var(--mono); font-size: 18px; color: var(--ink); background: rgba(255,255,255,.8); padding: 4px 12px; border-radius: 999px; }
.rec .bar { display: flex; justify-content: center; gap: 14px; align-items: center; }
.mic { width: 84px; height: 84px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(40,20,120,.45); }
.mic svg { width: 30px; height: 30px; }
/* ✕ — отменить, «✓ Готово» — закончить: подписанная кнопка, а не квадрат, который легко принять за отмену */
.rec .cancel { width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(40,20,120,.5); }
.rec .cancel svg { width: 24px; height: 24px; }
.rec .fin { height: 64px; padding: 0 30px 0 24px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: inherit; font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; box-shadow: 0 16px 34px -12px rgba(40,20,120,.6); transition: transform .2s; }
.rec .fin:active, .rec .cancel:active { transform: scale(.96); }
.rec .fin svg { width: 24px; height: 24px; }

/* ——— вопросы помощника ——— */
.chat { display: grid; gap: 14px; }
.qhead { display: flex; justify-content: space-between; align-items: center; }
.dots { display: flex; gap: 6px; }
.dots i { width: 22px; height: 6px; border-radius: 999px; background: var(--line); }
.dots i.on { background: var(--violet); }
.q { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 8px 0 4px; }
.q .orb-zone { padding: 22px 0 40px; }
.q h1 { font-size: clamp(28px, 6.6vw, 38px); }
.q .hint { color: var(--muted); max-width: 40ch; text-wrap: pretty; }
.weak { display: grid; gap: 2px; background: #F3EEFF; color: var(--ink); border-radius: 14px; padding: 8px 12px; font-size: 14px; text-align: left; max-width: 44ch; }
.weak b { font-family: var(--mono); font-weight: 400; font-size: 12px; white-space: nowrap; color: var(--violet); }
.answer { display: grid; gap: 10px; }
.answer .row { flex-wrap: nowrap; }
.answer .btn { flex: 1; }
.ta { position: relative; }
.ta textarea.in { padding-right: 58px; }
.ta .mic { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); background: var(--soft); transition: background .15s, color .15s; }
.ta .mic:hover { background: var(--violet); color: #fff; }
.ta .mic svg { width: 20px; height: 20px; }
.ta.busy .mic { background: var(--violet); color: #fff; animation: breathe 1.2s ease-in-out infinite; }
.ta.busy textarea.in { color: var(--muted); }
.past { display: grid; gap: 8px; }
.past details { background: var(--surface); border-radius: 18px; padding: 12px 16px; font-size: 15px; }
.past summary { cursor: pointer; font-weight: 600; }
.past p { margin-top: 6px; color: var(--muted); white-space: pre-wrap; }

/* ——— ожидание ——— */
.wait { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 40px 0; }
.wait .orb-zone { padding: 20px 0 70px; }
.wait h1 { font-size: 34px; }
.wait .say { font-family: var(--mono); color: var(--violet); min-height: 1.5em; }

/* ——— карточка проекта ——— */
.done { position: relative; border-radius: 32px; overflow: hidden; background: #1C1640; color: #fff; aspect-ratio: 1 / .78; display: grid; place-items: center; margin-top: 4px; }
.done .orb { position: relative; z-index: 3; }
.done .lvl { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; text-align: center; font-family: var(--mono); font-size: 14px; color: #15101F; }
.sheet-card { background: var(--surface); border-radius: 28px; padding: 22px; margin-top: -40px; position: relative; z-index: 4; display: grid; gap: 14px; box-shadow: 0 -10px 30px -20px rgba(40,20,120,.35); }
.sheet-card h1 { font-size: clamp(34px, 8vw, 48px); }
.sheet-card .tag { font-size: 18px; font-weight: 600; text-wrap: pretty; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--soft); }
.pill.lv { color: #fff; background: var(--c, var(--violet)); }
.next { background: #F3EEFF; border-radius: 22px; padding: 16px; display: grid; gap: 12px; font-size: 15px; }
.next textarea.in { min-height: 76px; }
.next .btn { width: auto; justify-self: start; padding-inline: 28px; }
.sec { display: grid; gap: 10px; margin-top: 26px; }
.sec > h2 { font-family: var(--kyiv); font-weight: 340; font-size: 28px; }
.fields { display: grid; gap: 10px; }
.fld { background: var(--surface); border-radius: 22px; padding: 16px 18px; display: grid; gap: 6px; scroll-margin-top: 80px; }
.fld .k { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fld .k b { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.fld .v { white-space: pre-wrap; text-wrap: pretty; }
.fld.empty .v { color: var(--muted); font-style: normal; }
.fld.empty { box-shadow: inset 0 0 0 2px #E0D5FF; background: #FBFAFF; }
.fld.flash { animation: flash 1.2s ease-out; }
@keyframes flash { from { box-shadow: inset 0 0 0 3px var(--violet); } }
.fld .edit { border: 0; background: var(--soft); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.fld .edit:hover { background: #E4DDF5; }
.fld textarea.in { min-height: 110px; }
.fld .row .btn { width: auto; }

/* ——— оценка ——— */
.score { background: var(--surface); border-radius: 26px; padding: 20px; display: grid; gap: 16px; }
.score .share { align-items: center; gap: 14px; }
.score .share .btn { justify-self: start; }
.total { display: flex; align-items: baseline; gap: 10px; }
.total b { font-family: var(--kyiv); font-weight: 340; font-size: 76px; line-height: .9; }
.total span { color: var(--muted); font-size: 18px; }
.crit { display: grid; gap: 6px; }
.crit .k { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 15px; }
.crit .k span { font-family: var(--mono); font-weight: 400; color: var(--muted); }
.crit .bar { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.crit .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--violet) 55%, var(--fuchsia)); }
.crit p { color: var(--muted); font-size: 15px; }
.todo { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.note { border-radius: 18px; padding: 14px 16px; font-size: 15px; background: var(--soft); }
.note.good { background: #E9F8EF; color: #145A32; }
.note.warn { background: #FFF4E5; color: #7A4A00; }

/* ——— мои проекты и лента ——— */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pcard { background: var(--surface); border-radius: 24px; padding: 18px; display: grid; gap: 8px; text-decoration: none; align-content: start; box-shadow: 0 10px 30px -22px rgba(70,40,160,.45); transition: transform .15s; }
.pcard:hover { transform: translateY(-2px); }
.pcard h3 { font-family: var(--kyiv); font-weight: 340; font-size: 26px; line-height: 1.05; }
.pcard p { color: var(--muted); font-size: 15px; }
.pcard .row { gap: 6px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips button { border: 0; background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer; box-shadow: inset 0 0 0 2px var(--line); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.fld .chips { flex-wrap: wrap; overflow: visible; margin-top: 4px; }

/* ——— листы поверх экрана: вход и подтверждения ——— */
.veil { position: fixed; inset: 0; z-index: 50; background: rgba(17,14,30,.45); display: grid; align-items: end; justify-items: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 520px; background: var(--bg); border-radius: 30px 30px 0 0; padding: 22px max(18px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-bottom)); display: grid; gap: 14px; animation: up .28s cubic-bezier(.2,.8,.3,1); max-height: 92dvh; overflow: auto; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet h2 { font-family: var(--kyiv); font-weight: 340; font-size: 32px; line-height: 1.05; }
.sheet .x { justify-self: end; border: 0; background: var(--soft); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; margin-bottom: -40px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.or::before, .or::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.ya { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.ya:hover { background: #fff; box-shadow: inset 0 0 0 2px #CFC6E6; }
.ya .y { width: 26px; height: 26px; border-radius: 50%; background: #FC3F1D; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.code { letter-spacing: .4em; font-family: var(--mono); font-size: 26px !important; text-align: center; }
@media (min-width: 700px) { .veil { align-items: center; } .sheet { border-radius: 30px; } }

.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 16px; font-weight: 600; font-size: 15px; max-width: calc(100% - 32px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); animation: up .25s; }
.toast.bad { background: #8A1C2F; }

/* ——— публичная страница проекта ——— */
.pub-head { border-radius: 32px; overflow: hidden; position: relative; background: #1C1640; aspect-ratio: 16 / 9; min-height: 220px; padding-bottom: 40px; display: grid; place-items: center; } /* низ прячется под карточкой — шар поднят над ней */
.pub-head .orb { z-index: 3; }

/* ——— админка ——— */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { border: 0; background: var(--surface); padding: 9px 16px; border-radius: 999px; font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 2px var(--line); }
.tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 20px; overflow: hidden; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #FBFAFF; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scroll-x { overflow-x: auto; border-radius: 20px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--surface); border-radius: 20px; padding: 14px 16px; }
.kpi b { display: block; font-family: var(--kyiv); font-weight: 340; font-size: 34px; line-height: 1.1; }
.kpi span { color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ——— люди вокруг проекта: поддержка, команда, связаться ——— */
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.acts .btn.small { flex: 1 1 auto; }
.sup { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--soft); color: var(--ink); font-weight: 700; font-size: 15px; transition: background .15s, color .15s, transform .15s; }
.sup svg { width: 18px; height: 18px; color: var(--fuchsia); }
.sup b { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--surface); display: inline-grid; place-items: center; font-size: 14px; }
.sup:hover { background: #E7E0F7; }
.sup.on { background: linear-gradient(135deg, var(--violet), var(--fuchsia)); color: #fff; box-shadow: 0 10px 26px -12px rgba(224,91,214,.8); }
.sup.on svg { color: #fff; fill: currentColor; }
.sup.on b { background: rgba(255,255,255,.22); color: #fff; }
.sup.pop { animation: pop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 40% { transform: scale(1.12); } }
.pk-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pk-links .btn { padding: 0 14px; white-space: nowrap; }
.pub-head.cover { background: var(--soft); }
.pub-head.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ppl-sum { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--muted); }
.ppl-sum span { display: inline-flex; align-items: center; gap: 6px; }
.ppl-sum b { color: var(--ink); font-size: 18px; }
.ppl-sum svg { width: 18px; height: 18px; color: var(--fuchsia); }
.reqs { display: grid; gap: 10px; }
.req { background: var(--surface); border-radius: 20px; padding: 16px; display: grid; gap: 8px; box-shadow: inset 0 0 0 2px var(--line); }
.req .k { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.req .k span { color: var(--muted); font-size: 14px; }
.req p { font-size: 15px; overflow-wrap: anywhere; }
.req.old { opacity: .7; box-shadow: none; background: var(--soft); }
.req .pill { justify-self: start; }

/* ——— сайт и презентация ——— */
.pk { background: var(--surface); border-radius: 24px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 10px 30px -22px rgba(70,40,160,.45); }
.pk-wait { display: flex; align-items: center; gap: 14px; }
.pk-wait .orb { flex: none; }
.pk-wait div { display: grid; gap: 2px; }
.pk-wait span { color: var(--muted); font-size: 14px; }
.pk-cover { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; background: var(--soft); }
.pk-edit { display: grid; gap: 10px; border-top: 2px solid var(--line); padding-top: 14px; }
.pk-edit textarea.in { min-height: 84px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* вход по отпечатку в профиле: устройство и «Убрать» в одну строку */
.pkey { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; padding: 4px 0; border-top: 1px solid var(--line); }

/* согласия во входе: мелко, под кнопкой, отмечены сразу */
.fine { display: grid; gap: 4px; }
.fine .check { font-size: 12px; gap: 7px; line-height: 1.35; }
.fine .check input { width: 14px; height: 14px; margin-top: 1px; }

/* лента: огромное слово и постеры проектов */
.feed { display: grid; gap: 18px; margin-top: 2px; }
.feed-h { font-family: var(--kyiv); font-weight: 340; font-size: clamp(68px, 15vw, 168px); line-height: .84; letter-spacing: -.035em; padding-bottom: .16em; }
.feed-h .star { width: .18em; height: .18em; vertical-align: top; margin: .04em 0 0 .01em; color: var(--violet); }
.posters { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.poster { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #1C1640; color: #fff; text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.3,1); }
.poster:hover { transform: translateY(-4px); }
.poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.3,1); }
.poster:hover > img { transform: scale(1.04); }
.poster::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(28,22,64,0) 30%, rgba(47,42,138,.62) 54%, rgba(28,22,64,.97) 100%); }
.ps-orb { position: absolute; inset: 0 0 34% 0; display: grid; place-items: center; z-index: 2; }
.ps-top { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 3; display: flex; justify-content: space-between; gap: 6px; }
.ps-tag { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 12px; font-weight: 700; }
.ps-tag svg { width: 14px; height: 14px; }
.ps-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.ps-txt { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 3; display: grid; gap: 10px; }
.ps-txt b { font-family: var(--kyiv); font-weight: 340; font-size: clamp(32px, 3.4vw, 42px); line-height: .94; letter-spacing: -.02em; text-wrap: balance; }
.ps-txt span { font-size: 14px; line-height: 1.38; color: rgba(255,255,255,.8); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ——— лоудер «Пуск»: ступени рождаются в центре и уходят к краю — от светлой мечты к глубокому фиолетовому; в центре лицо шара ——— */
.boot { min-height: 100dvh; display: grid; place-items: center; animation: boot-in .35s .15s both; }
@keyframes boot-in { from { opacity: 0; } }
.boot-tile { position: relative; width: 148px; height: 148px; border-radius: 46px; overflow: hidden; isolation: isolate; background: #1C1640;
  box-shadow: 0 34px 70px -24px rgba(107,59,239,.75), 0 0 90px rgba(120,90,255,.32); animation: boot-pop .8s .15s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes boot-pop { from { transform: scale(.55) rotate(-8deg); } }
.boot-tile > i { position: absolute; inset: 0; border-radius: 34%; transform: scale(.3); animation: boot-step 2.7s linear infinite; animation-delay: calc(var(--i) * -.3s); }
@keyframes boot-step {
  0% { transform: scale(.3); background: #FFF1E8; z-index: 9; opacity: 0; } 7% { opacity: 1; } 16% { background: #FFF1E8; } 24% { background: #FBD3C6; } 34% { background: #EE8CC8; } 45% { background: #C25BD8; }
  56% { background: #8A4FE6; } 67% { background: #5B45E0; } 78% { background: #3B47C8; } 89% { background: #2F2A8A; }
  100% { transform: scale(1.14); background: #1C1640; z-index: 0; } }
.boot-tile .face { --h: 28px; position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 20; box-shadow: 0 0 0 2px rgba(107,59,239,.55), 0 6px 18px rgba(21,16,31,.45); }
.boot-tile .face i { box-shadow: 0 0 8px rgba(255,255,255,.9); animation: blink 3.2s infinite; }
.boot.leave { position: fixed; inset: 0; z-index: 40; pointer-events: none; animation: boot-out .4s ease both; }
@keyframes boot-out { to { opacity: 0; transform: scale(.92); } }
.enter { animation: enter .42s cubic-bezier(.2,.8,.3,1) backwards; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }
.mic-why { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
/* плеер записи: кнопка, полосы настоящей громкости, сыгранная часть — фиолетовая */
.vp { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.vp-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--violet); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 22px -10px rgba(107,59,239,.8); transition: transform .2s; }
.vp-btn:active { transform: scale(.94); }
.vp-btn svg { width: 20px; height: 20px; }
.vp-btn svg use[href="#i-play"] { translate: 1.5px 0; }
.vp-track { position: relative; height: 44px; }
.vp-wave { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; }
.vp-wave i { width: 3px; height: 30%; min-height: 4px; border-radius: 99px; background: #DCD5EE; transition: height .4s cubic-bezier(.2,.8,.3,1); }
.vp-wave.on i { background: var(--violet); }
.vp-wave.on { clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0); }
.vp-track input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.vp-time { font-family: var(--mono); font-size: 15px; color: var(--muted); min-width: 4ch; text-align: right; }
.vp.on .vp-time { color: var(--ink); }
