/* Kandai «Кандай-эффект»: сайт собран из материалов самого чата.
   Цвета — переменные нового макета приложения (messenger/app/lib/core/theme/kandai_tokens.dart). */
@font-face { font-family: "Onest"; src: url(../fonts/Onest-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Onest"; src: url(../fonts/Onest-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Onest"; src: url(../fonts/Onest-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/Inter-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/Inter-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/Inter-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/Inter-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/IBMPlexMono-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }

:root {
  --ink: #0E0D12;
  --ink2: #17161D;
  --toast: #1C1B22;
  --paper: #FFFFFF;
  --gray: #F4F4F8;
  --muted: #717473;
  --y: #FEE500;
  --p: #7C3AED;
  --b: #007AFF;
  --b-dark: #3D9BFF;
  --r: #FF3B30;
  --g: #34C759;
  --bar-h: 64px;
  --gut: clamp(20px, 3vw, 40px);
  --disp: "Onest", "Inter", system-ui, sans-serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); color: #fff; -webkit-text-size-adjust: 100%; overscroll-behavior-x: none; }
body { margin: 0; font: 400 16px/1.5 var(--ui); background: var(--ink); overflow-x: clip; }
img, canvas, svg { display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(0, 122, 255, .42); color: inherit; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--y); color: #111; padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- шапка ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; height: var(--bar-h); z-index: 50;
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gut);
  color: #fff; transition: color .35s, background-color .35s, box-shadow .35s;
}
.bar.on-light { color: #111; }
.bar.scrolled { background: rgba(14, 13, 18, .66); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.bar.scrolled.on-light { background: rgba(255, 255, 255, .72); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.bar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--disp); letter-spacing: -.02em; }
.bar-logo img { width: 34px; height: 34px; border-radius: 9px; }
.bar-nav { display: flex; gap: 22px; font: 500 15px/1 var(--ui); }
.bar-nav a { text-decoration: none; opacity: .78; }
.bar-nav a:hover { opacity: 1; }
.bar-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.langs { display: flex; padding: 3px; border-radius: 99px; background: rgba(127, 127, 140, .16); }
.langs button { border: 0; background: none; padding: 6px 9px; border-radius: 99px; font: 600 12.5px/1 var(--ui); cursor: pointer; opacity: .7; }
.langs button[aria-current="true"] { background: rgba(255, 255, 255, .92); color: #111; opacity: 1; }
.bar.on-light .langs button[aria-current="true"] { background: #111; color: #fff; }
.tool {
  position: relative; width: 36px; height: 36px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(127, 127, 140, .45); background: transparent; display: grid; place-items: center;
}
.tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tool svg .lvl { fill: currentColor; stroke: none; transition: width .25s; }
.tool[aria-pressed="true"] { background: var(--y); color: #111; border-color: var(--y); }
.tool[data-tool="lite"][aria-pressed="true"] svg .lvl { width: 4px; }
.tool-tip {
  position: absolute; top: calc(100% + 10px); right: -6px; width: 250px; text-align: left;
  background: var(--toast); color: #fff; border-radius: 16px; padding: 13px 15px 12px; font: 400 13px/1.4 var(--ui);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: .2s;
}
.tool-tip b { display: block; font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.tool-tip em { display: block; font-style: normal; color: rgba(255, 255, 255, .62); }
.tool-tip i { display: inline-block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: 12px; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.tool[aria-pressed="true"] .tool-tip i { background: var(--y); color: #111; }
@media (hover: hover) { .tool:hover .tool-tip, .tool:focus-visible .tool-tip { opacity: 1; transform: none; } }
.btn-dl { background: var(--y); color: #111; text-decoration: none; font: 700 14px/1 var(--ui); padding: 11px 16px; border-radius: 99px; white-space: nowrap; }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--bar-h) + 2vh) var(--gut) 12vh; background: var(--ink); }
.hero-word { font: 800 var(--hw, 22vw)/1 var(--disp); letter-spacing: 0; text-align: center; margin: 0; user-select: none; -webkit-user-select: none; }
.hero-word .row { display: block; white-space: nowrap; line-height: .94; }
.g { position: relative; display: inline-block; line-height: 1; color: #fff; letter-spacing: 0; }
.ready .g { color: transparent; }
.g-cv { position: absolute; pointer-events: none; }
.g-tag {
  position: absolute; left: 50%; top: 92%; transform: translate(-50%, 6px); white-space: nowrap; pointer-events: none;
  font: 600 13px/1 var(--ui); letter-spacing: 0; color: #fff; background: var(--b); padding: 5px 8px; border-radius: 7px;
  opacity: 0; transition: opacity .2s, transform .2s;
}
.hero .g:hover .g-tag, .hero .g.tap .g-tag { opacity: 1; transform: translate(-50%, 0); }
.g-menu {
  position: absolute; right: -.02em; top: 4%; transform: translateY(8px) scale(.96); transform-origin: 100% 100%; display: flex; padding: 4px; gap: 2px;
  background: rgba(36, 35, 42, .94); border-radius: 14px; box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
  font: 600 clamp(11px, .95vw, 14px)/1 var(--ui); letter-spacing: 0; white-space: nowrap; opacity: 0; transition: .22s; pointer-events: none;
}
.g-menu.on { opacity: 1; transform: none; }
.g-menu i { font-style: normal; color: #fff; padding: .72em .95em; border-radius: 10px; }
.g-menu i.hi { background: rgba(255, 255, 255, .16); }
/* телефоны kandai.app: на компьютере справа от слова, на телефоне под ним */
.hero-phones-wrap { position: relative; width: calc(640px * var(--ps, .5)); height: calc(680px * var(--ps, .5)); max-width: 100%; overflow: hidden; }
.hero-phones-frame { position: absolute; left: 0; top: 0; width: 640px; height: 680px; border: 0; transform: scale(var(--ps, .5)); transform-origin: 0 0; background: transparent; color-scheme: light; }
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 2vw; padding-left: max(var(--gut), calc((100vw - 1600px) / 2)); padding-right: max(var(--gut), calc((100vw - 1600px) / 2)); }
}
@media (max-width: 999px) {
  .hero { grid-template-rows: auto auto; align-content: start; row-gap: 3vh; padding-top: calc(var(--bar-h) + 6vh); }
  .hero-phones-wrap { justify-self: center; }
}
.js .hero .hero-phones-wrap { opacity: 0; transform: translateY(40px); transition: opacity .9s 1s, transform 1.1s 1s cubic-bezier(.2, .9, .3, 1); }
.js .hero.is-in .hero-phones-wrap { opacity: 1; transform: none; }
.calm .hero .hero-phones-wrap { opacity: 1; transform: none; transition: none; }
.hero-gloss { position: absolute; left: 0; right: 0; bottom: max(9vh, 74px); text-align: center; font: 500 clamp(15px, 1.3vw, 19px)/1.4 var(--ui); color: rgba(255, 255, 255, .62); padding: 0 var(--gut); }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 500 12px/1 var(--ui); color: rgba(255, 255, 255, .5); }
.hero-scroll i { width: 1px; height: 26px; background: linear-gradient(rgba(255, 255, 255, .6), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* появление букв: как отправка сообщений по одной */
.js .hero .g { opacity: 0; transform: translateY(.12em) scale(.82); }
.js .hero.is-in .g { animation: gin .8s cubic-bezier(.2, 1.35, .35, 1) forwards; animation-delay: calc(var(--i) * 95ms + 150ms); }
.js .hero .hero-gloss, .js .hero .hero-scroll { opacity: 0; transition: opacity .8s .9s; }
.js .hero.is-in .hero-gloss, .js .hero.is-in .hero-scroll { opacity: 1; }
@keyframes gin { to { opacity: 1; transform: none; } }

/* ---------- фраза ---------- */
.story { position: relative; background: var(--ink); }
.story-stage { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; padding: calc(var(--bar-h) + 40px) var(--gut) 40px; overflow: hidden; }
.story-head {
  position: absolute; top: calc(var(--bar-h) + 18px); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .06);
  font: 600 15px/1.15 var(--ui); white-space: nowrap;
}
.story-head img { width: 40px; height: 40px; border-radius: 50%; }
.sh-txt { display: grid; gap: 3px; text-align: left; }
.sh-name { display: block; }
.sh-status { display: block; font-weight: 500; font-size: 13px; color: rgba(255, 255, 255, .55); min-width: 7.5em; }
.sh-typing { color: var(--b-dark); }
.sh-online { display: none; }
.sh-online::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--g); margin-right: 6px; vertical-align: 1px; }
.story.is-sent .sh-typing { display: none; }
.story.is-sent .sh-online { display: inline; }
.story-text { --sfs: clamp(30px, min(5.6vw, 8.6vh), 96px); position: relative; font: 800 var(--sfs)/1.12 var(--disp); letter-spacing: -.025em; text-align: center; max-width: 14.5em; color: #fff; text-wrap: balance; }
.story-text .c { opacity: 0; }
.story-text .c.on { opacity: 1; }
.story-text .w { display: inline-block; white-space: nowrap; }
.caret { position: absolute; width: max(3px, .045em); height: 1.02em; border-radius: 2px; background: var(--b-dark); left: 0; top: 0; animation: blink 1s steps(1) infinite; pointer-events: none; }
.story.is-sent .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.fx { position: relative; display: inline-block; white-space: nowrap; }
.fx-word { font-size: 1.5em; line-height: 1.02; margin-top: .06em; }
.fx-word .c:not(.g) { color: rgba(255, 255, 255, .9); }
/* выделение — как в чате: синяя подсветка и ручки */
.fx-select::before { content: ""; position: absolute; inset: .06em -.06em -.02em; background: rgba(0, 122, 255, .42); opacity: 0; transition: opacity .25s; border-radius: 2px; }
.fx-select .hd { position: absolute; top: .06em; bottom: -.02em; width: max(3px, .04em); background: var(--b-dark); opacity: 0; transform: scaleY(.3); transition: .3s cubic-bezier(.2, 1.4, .4, 1); }
.fx-select .hd::after { content: ""; position: absolute; left: 50%; width: .17em; height: .17em; border-radius: 50%; background: var(--b-dark); transform: translateX(-50%); }
.fx-select .hd.l { left: -.08em; }
.fx-select .hd.l::after { top: -.15em; }
.fx-select .hd.r { right: -.08em; }
.fx-select .hd.r::after { bottom: -.15em; }
.fx-select.done::before, .fx-select.done .hd { opacity: 1; transform: none; }
/* градиент, как у «websites» на образце, только из цветов приложения */
.fx-grad.done { background: linear-gradient(90deg, #FEE500, #FF8FB1, #A78BFA, #3D9BFF, #FEE500) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; animation: grad 6s linear infinite; }
.fx-grad.done .c { color: transparent; -webkit-text-fill-color: transparent; }
@keyframes grad { to { background-position: 300% 0; } }
/* реакции на слове — как под сообщением */
.rx {
  position: absolute; right: -.6em; top: -.5em; display: flex; align-items: center; gap: .18em; font: 700 .3em/1 var(--ui); letter-spacing: 0;
  background: #2A2930; color: #fff; padding: .28em .5em .28em .32em; border-radius: 99px; border: .12em solid var(--ink);
  transform: scale(0) rotate(-8deg); transform-origin: 20% 100%; transition: transform .45s cubic-bezier(.2, 1.6, .4, 1);
}
.fx-react.done .rx { transform: none; }
.st { width: 1.25em; height: 1.25em; background: url(../assets/stickers/atlas.webp) 0 0 / 400% 400% no-repeat; background-position: calc(var(--x) * 33.333%) calc(var(--y) * 33.333%); }
.rx .st + .st { margin-left: -.42em; }
.rx b { margin-left: .15em; font-weight: 700; }
.sent { display: inline-flex; align-items: center; gap: .3em; font: 500 .26em/1 var(--ui); letter-spacing: 0; color: rgba(255, 255, 255, .55); margin-left: .5em; vertical-align: .25em; opacity: 0; transform: translateY(.4em); transition: .4s; }
.sent svg { width: 1.4em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: color .3s; }
.story.is-sent .sent { opacity: 1; transform: none; }
.story.is-read .sent svg { color: var(--b-dark); }
.story-text .g .g-tag, .story-text .g .g-menu { display: none; }

/* ---------- возможности ---------- */
.works { position: relative; z-index: 1; background: var(--paper); color: #111; border-radius: 44px 44px 0 0; padding: 18vh 0 2vh; }
.works-head { text-align: center; padding: 0 var(--gut); }
.kicker { font: 600 14px/1 var(--ui); color: var(--muted); margin-bottom: 18px; }
.works-head h2 { font: 800 clamp(40px, 6.4vw, 104px)/1 var(--disp); letter-spacing: -.035em; }
.works-list { list-style: none; margin: 8vh 0 0; padding: 0; }
.work { display: grid; grid-template-columns: 1fr minmax(0, 54vw) 1fr; align-items: center; margin: 0 0 15vh; }
.work-media { grid-column: 2; aspect-ratio: 16 / 10; border-radius: 30px; overflow: hidden; background: var(--gray); }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-media .kd-frame { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.work-media { position: relative; box-shadow: 0 30px 60px -40px rgba(23, 22, 29, .35); transition: box-shadow .3s; }
.bend-on .work-media { backface-visibility: hidden; }
.work:hover .work-media { box-shadow: 0 40px 80px -40px rgba(23, 22, 29, .5); }
.lens-on .work-media { background: transparent; }

.work-meta { grid-column: 3; padding: 0 var(--gut) 0 clamp(20px, 3vw, 48px); }
.work-kicker { font: 500 13px/1.2 var(--ui); color: var(--muted); margin-bottom: 10px; }
.work-meta h3 { font: 800 clamp(22px, 2.1vw, 34px)/1.08 var(--disp); letter-spacing: -.02em; max-width: 12em; }
.work-n { display: block; font: 600 12px/1 var(--ui); color: var(--muted); margin-bottom: 14px; font-variant-numeric: tabular-nums; }

.lens { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 2; }

/* ---------- общие ---------- */
.ic { display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; vertical-align: -.14em; }
.yb { display: inline-block; background: var(--y); color: #111; padding: 0 .22em .04em; border-radius: .32em .32em .32em .08em; line-height: 1.05; -webkit-text-fill-color: #111; }
.h2 { font: 800 clamp(36px, 5.6vw, 92px)/1 var(--disp); letter-spacing: -.035em; }

/* ---------- лица (по мотивам gethoy.app) ---------- */
.face { position: relative; display: inline-block; flex: none; width: 1em; height: 1em; border-radius: 50%; background: var(--bg); color: var(--fg); vertical-align: middle; }
.face.fp { background: #2A2930; overflow: hidden; }
.face.fp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fe { position: absolute; left: 0; right: 0; top: .2em; display: flex; justify-content: center; gap: .1em; transform: translate(calc(var(--lx, 0) * .05em), calc(var(--ly, 0) * .035em)); transition: transform .25s ease-out; }
.fe.fl b { font: 800 .34em/1 var(--disp); letter-spacing: 0; transition: transform .08s; }
.fe.fd { top: .3em; gap: .24em; }
.fe.fd b { width: .1em; height: .13em; border-radius: 50%; background: currentColor; transition: transform .08s; }
.face.blink .fe b { transform: scaleY(.12); }
.fm { position: absolute; left: 50%; top: .6em; width: .24em; height: .085em; margin-left: -.12em; border: .035em solid currentColor; border-top: 0; border-radius: 0 0 .2em .2em; box-sizing: border-box; transition: .2s; }
.face.smile .fm { width: .34em; margin-left: -.17em; height: .14em; }
.face.talk .fm { border: 0; background: currentColor; border-radius: 50%; width: .16em; margin-left: -.08em; animation: talk .22s ease-in-out infinite alternate; }
@keyframes talk { from { height: .04em; } to { height: .13em; } }
.face.wow .fm { border: 0; background: currentColor; border-radius: 50%; width: .1em; height: .12em; margin-left: -.05em; }
.fb { position: absolute; right: -.06em; bottom: -.06em; width: .4em; height: .4em; border-radius: 50%; background: #fff; color: #17161D; display: grid; place-items: center; box-shadow: 0 0 0 .035em var(--bg); }
.fb .ic { font-size: .24em; }
.calm .face.talk .fm { animation: none; height: .1em; }

/* ---------- «Вас добавили в группу» (возможности) ---------- */
.feats { position: relative; z-index: 1; background: var(--paper); color: #111; }
.gs-stage { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: calc(var(--bar-h) + 22px) max(var(--gut), calc((100vw - 1320px) / 2)) 24px; }
.gs-side { align-self: center; }
.gs-crowd { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gs-crowd.gone { visibility: hidden; }
.cf { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, filter, opacity; }
.cf .face { font-size: 100px; box-shadow: 0 10px 30px -12px rgba(23, 22, 29, .35); }
.calm .gs-crowd { display: none; }
.gs-side .gs-prof, .gs-side .gs-roll { opacity: var(--ck, 1); transition: opacity .2s; }
.gs-side { position: relative; z-index: 2; }
.gs-chat { z-index: 2; }

.gs-title { font: 800 clamp(34px, 4.2vw, 72px)/1 var(--disp); letter-spacing: -.035em; max-width: 9em; }
.gs-prof { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; margin-top: 5vh; min-height: 9.5em; }
.gs-prof.swap { animation: swap .45s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes swap { from { opacity: 0; transform: translateY(14px); } }
.pf-t { font-size: 72px; --lx: .9; --ly: .15; }
.pf-i b { display: block; font: 700 clamp(20px, 1.7vw, 26px)/1.15 var(--disp); letter-spacing: -.01em; }
.pf-s { display: block; color: var(--g); font-size: 14px; margin-top: 3px; }
.pf-s.act { color: var(--b); }
.gs-prof p { grid-column: 1 / -1; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; max-width: 26em; margin-top: 10px; }
.gs-roll { list-style: none; margin: 4vh 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gs-roll button { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 14px; opacity: .28; transition: opacity .3s, transform .3s; }
.gs-roll button.seen { opacity: 1; }
.gs-roll button.cur { transform: translateY(-4px); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #111; }
.rl-t { font-size: 42px; }
.gs-roll button { border-radius: 50%; }
.gs-chat { position: relative; height: 100%; max-height: 900px; min-height: 0; display: flex; flex-direction: column; background: #fff; border-radius: 34px; overflow: hidden; box-shadow: 0 40px 100px -50px rgba(23, 22, 29, .45), 0 0 0 1px #ececf1; }
.gc-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #ececf1; background: rgba(255, 255, 255, .92); position: relative; z-index: 2; }
.gc-back { font-size: 22px; color: var(--b); }
.gc-slots { display: flex; flex: none; padding-left: 8px; }
.slot { position: relative; width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; border: 1.5px dashed #b9b9c6; background: #fff; }
.slot .gc-t { position: absolute; inset: -1.5px; font-size: 30px; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .35s cubic-bezier(.2, 1.6, .4, 1); box-shadow: 0 0 0 2px #fff; }
.slot.filled { border-color: transparent; }
.slot.filled .gc-t { opacity: 1; transform: none; }
.slot .gc-t .fb { display: none; }
.gc-ttl { min-width: 0; flex: 1; }
.gc-ttl b { display: block; font: 700 16px/1.2 var(--ui); }
.gc-ttl small { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-acts { display: flex; gap: 14px; font-size: 22px; color: var(--b); }
.gc-pin { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid #ececf1; background: #fff; position: relative; z-index: 2; animation: pin .5s cubic-bezier(.2, 1.3, .4, 1); }
.gc-pin[hidden] { display: none; }
@keyframes pin { from { transform: translateY(-100%); opacity: 0; } }
.gc-pin .ic { color: var(--p); font-size: 18px; flex: none; }
.gc-pin span { min-width: 0; border-left: 2px solid var(--p); padding-left: 10px; }
.gc-pin b { display: block; font: 600 13px/1.2 var(--ui); color: var(--p); }
.gc-pin small { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #333; }
.gc-feed { position: relative; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; background: #F4F4F8; -webkit-mask-image: linear-gradient(transparent, #000 36px); mask-image: linear-gradient(transparent, #000 36px); }
.gc-feed::-webkit-scrollbar { display: none; }
.gc-list { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 100%; padding: 30px 16px 14px; background: url(../assets/img/doodles.svg) 0 0 / 300px auto; background-blend-mode: normal; position: relative; }
.gc-list::before { content: ""; position: absolute; inset: 0; background: rgba(244, 244, 248, .9); pointer-events: none; }
.m { position: relative; display: none; align-items: flex-end; gap: 8px; max-width: 84%; }
.m.on { display: flex; animation: pop .38s cubic-bezier(.2, 1.35, .4, 1); transform-origin: 0 100%; }
.m.sys { align-self: center; max-width: 90%; }
.m.sys span { background: rgba(23, 22, 29, .07); color: #555; font: 500 12.5px/1.3 var(--ui); padding: 6px 12px; border-radius: 99px; text-align: center; }
.m.ghost { display: none !important; }
.m-ava { font-size: 32px; }
.m-ava .fb { display: none; }
.m-b { position: relative; background: #fff; border-radius: 18px 18px 18px 6px; padding: 8px 12px 7px; font-size: 15px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .04); min-width: 0; }
.m-n { display: block; font: 700 13px/1.25 var(--ui); color: var(--c); margin-bottom: 2px; }
.m-b p { margin: 0; overflow-wrap: anywhere; }
.m-t { float: right; margin: 6px 0 -2px 10px; font-size: 11px; color: #9a9aa3; line-height: 1; display: inline-flex; gap: 3px; align-items: center; }
.m-rx { display: flex; flex-wrap: wrap; gap: 4px; clear: both; padding-top: 6px; }
.rxc { display: inline-flex; align-items: center; gap: 3px; background: #EEF0FF; color: #3B3BAE; font: 600 12px/1 var(--ui); padding: 3px 7px 3px 4px; border-radius: 99px; animation: pop .4s .45s both cubic-bezier(.2, 1.6, .4, 1); }
.rxc .st { width: 17px; height: 17px; }
.m.pinned > .m-b { box-shadow: 0 0 0 2px var(--p); }
.m-q { display: block; border-left: 2px solid var(--c); background: rgba(0, 0, 0, .04); border-radius: 6px; padding: 4px 8px; margin: 2px 0 5px; font-size: 13px; color: #555; }
.m-q b { display: block; color: var(--c); font-size: 12.5px; }
.m-q .ic { font-size: 13px; }
.typing .m-b { padding: 12px 14px; }
.typing .dots { display: flex; gap: 4px; color: #888; }
.typing .dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; animation: dot 1.1s infinite; }
.typing .dots i:nth-child(2) { animation-delay: .15s; }
.typing .dots i:nth-child(3) { animation-delay: .3s; }
.m.out { align-self: flex-end; }
.m.out .m-b { background: var(--y); border-radius: 18px 18px 6px 18px; }
.m.out .tk { font-size: 14px; }
.m.out .tk.read { color: var(--b); }
/* канал */
.post-h { display: flex; align-items: center; gap: 8px; margin: 2px 0 8px; }
.post-ava { font-size: 28px; }
.post-ava .fb { display: none; }
.post-h b { display: block; font: 700 13.5px/1.2 var(--ui); }
.post-h small { display: block; font-size: 11.5px; color: var(--muted); }
.m-post .m-b { border-left: 3px solid var(--p); }
/* голосовое */
.vm { display: flex; align-items: center; gap: 10px; padding: 4px 0 2px; --p: 0; }
.vm-play { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--r); color: #fff; display: grid; place-items: center; font-size: 18px; cursor: pointer; }
.vm-wave { display: flex; align-items: center; gap: 2px; height: 30px; }
.vm-wave i { width: 3px; height: calc(var(--h) * 100%); border-radius: 2px; background: #cfcfd8; transition: background .15s; }
.vm-wave i.on { background: var(--r); }
.vm-dur { font: 600 12.5px/1 var(--ui); color: var(--muted); font-variant-numeric: tabular-nums; }
/* фото и файл */
.ph { display: block; width: min(300px, 100%); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin: 4px 0 6px; }
.file { display: flex; gap: 12px; align-items: center; margin: 4px 0 6px; }
.pdf { position: relative; flex: none; width: 70px; height: 92px; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px #e4e4ec, 0 6px 14px -8px rgba(0, 0, 0, .3); padding: 8px 7px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.pdf b { font: 700 7.5px/1.1 var(--ui); }
.pdf em { font: 500 6px/1.2 var(--ui); font-style: normal; color: #444; }
.pdf i { display: block; height: 3px; border-radius: 2px; background: #e6e6ee; }
.pdf i:nth-of-type(2n) { width: 70%; }
.pdf small { position: absolute; right: 0; bottom: 0; background: var(--r); color: #fff; font: 700 7px/1 var(--ui); padding: 3px 5px; border-radius: 5px 0 0 0; }
.file-m b { display: block; font: 600 14px/1.25 var(--ui); }
.file-m small { color: var(--muted); font-size: 12.5px; }
/* опрос */
.m-poll .m-b { min-width: min(300px, 100%); }
.pl-l { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.pl-q { display: block; font: 700 15.5px/1.3 var(--ui); margin: 3px 0 8px; }
.pl-opts { display: grid; gap: 6px; }
.pl-o { position: relative; display: flex; align-items: center; gap: 8px; border: 0; background: #F4F4F8; border-radius: 12px; padding: 9px 10px; font: 500 14px/1.2 var(--ui); color: #111; cursor: pointer; text-align: left; overflow: hidden; --pc: 0; }
.pl-bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--pc) * 100%); background: rgba(124, 58, 237, .16); transition: width .7s cubic-bezier(.2, .9, .3, 1); }
.pl-o.mine .pl-bar { background: rgba(124, 58, 237, .3); }
.pl-r { position: relative; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px #b9b9c4; flex: none; }
.pl-o.mine .pl-r { box-shadow: inset 0 0 0 5px var(--p); }
.pl-x { position: relative; flex: 1; }
.pl-pc { position: relative; font-weight: 700; font-variant-numeric: tabular-nums; }
.pl-f { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; min-height: 1em; }
/* геопозиция и контакт */
.map { position: relative; display: block; width: min(280px, 100%); aspect-ratio: 280 / 130; border-radius: 12px; overflow: hidden; margin: 4px 0 6px; }
.map svg { width: 100%; height: 100%; }
.map-pin { position: absolute; left: 47%; top: 34%; color: var(--r); font-size: 30px; transform: translate(-50%, -80%); }
.map-pin i { position: absolute; left: 50%; bottom: -4px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: rgba(255, 59, 48, .35); animation: ping 1.6s ease-out infinite; }
@keyframes ping { to { transform: scale(3.4); opacity: 0; } }
.geo small { display: block; color: var(--muted); font-size: 12px; }
.geo b { display: block; font: 600 14px/1.3 var(--ui); margin-bottom: 4px; }
.ct { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; }
.ct-ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #6B4F3A; color: #fff; font: 700 17px/1 var(--ui); }
.ct-i b { display: block; font: 600 14.5px/1.25 var(--ui); }
.ct-i small { color: var(--muted); font-size: 12.5px; }
.ct-btn { display: block; text-align: center; background: var(--p); color: #fff; font: 600 14px/1 var(--ui); padding: 10px 14px; border-radius: 12px; clear: both; }
/* опечатка → «изменено» */
.ed { display: grid; }
.ed span { grid-area: 1 / 1; transition: opacity .25s, transform .25s; }
.ed .ed1, .ed-l { opacity: 0; }
.m-edit.fixed .ed0 { opacity: 0; transform: translateY(-6px); }
.m-edit.fixed .ed1 { opacity: 1; }
.m-edit.fixed .ed-l { opacity: 1; }
/* ссылка */
.lk { display: block; border-left: 3px solid var(--b); background: #F2F7FF; border-radius: 8px; padding: 7px 10px; margin: 8px 0 8px; }
.lk small { display: block; color: var(--b); font-size: 12px; }
.lk b { display: block; font: 700 14px/1.3 var(--ui); }
.lk span { font-size: 12.5px; color: var(--muted); }
.lk-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--b); color: #fff; font: 600 13.5px/1 var(--ui); padding: 9px 13px; border-radius: 12px; cursor: pointer; }
.lk-btn.ok { background: var(--g); }
/* итог звонка */
.cr { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 2px 0 6px; color: var(--g); }
.cr .ic { font-size: 20px; }
.cr b { color: #111; font-weight: 600; }
.cr.miss { color: var(--r); }
.cr-p { color: #111; }
/* поле ввода */
.gc-compose { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid #ececf1; background: #fff; position: relative; z-index: 2; }
.gc-compose .gc-plus, .gc-compose .gc-smile { font-size: 22px; color: #9a9aa3; display: grid; }
.gc-compose input { flex: 1; min-width: 0; border: 0; background: #F4F4F8; border-radius: 99px; padding: 11px 16px; font: 400 15px/1.2 var(--ui); outline: none; transition: box-shadow .3s; }
.gc-compose input:focus { box-shadow: 0 0 0 2px var(--b); }
.gc-compose.ready input:not(:focus) { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { box-shadow: 0 0 0 3px rgba(254, 229, 0, .9); } }
.gc-send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #7C3AED; color: #fff; display: grid; place-items: center; font-size: 19px; cursor: pointer; flex: none; }
/* входящий звонок — на весь экран раздела */
.gs-call { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(14, 13, 18, .86); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); color: #fff; animation: callin .4s ease-out; }
.gs-call[hidden] { display: none; }
.gs-call.out { animation: callout .38s ease-in forwards; }
@keyframes callin { from { opacity: 0; } }
@keyframes callout { to { opacity: 0; transform: scale(1.04); } }
.cl-ring, .cl-live { display: none; }
.gs-call.ringing .cl-ring { display: grid; justify-items: center; text-align: center; gap: 6px; }
.gs-call.live .cl-live { display: flex; align-items: center; gap: clamp(24px, 5vw, 80px); }
.cl-ava { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 22px; }
.cl-ava > i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(52, 199, 89, .7); animation: ringw 2.1s ease-out infinite; }
.cl-ava > i:nth-child(2) { animation-delay: .7s; }
.cl-ava > i:nth-child(3) { animation-delay: 1.4s; }
@keyframes ringw { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.cl-tile { font-size: 132px; animation: buzz 1.2s ease-in-out infinite; }
@keyframes buzz { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(-7deg); } 70% { transform: rotate(7deg); } 76% { transform: rotate(-5deg); } 82% { transform: rotate(4deg); } }
.cl-name { font: 800 clamp(26px, 2.6vw, 40px)/1.1 var(--disp); letter-spacing: -.02em; }
.cl-st { color: rgba(255, 255, 255, .7); font-size: 16px; }
.cl-btns { display: flex; gap: clamp(48px, 8vw, 120px); margin-top: 7vh; }
.cl-btns button, .cl-end { border: 0; background: none; color: #fff; display: grid; justify-items: center; gap: 10px; cursor: pointer; font: 500 14px/1 var(--ui); }
.cl-btns button > span, .cl-end > span { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; transition: transform .2s; }
.cl-btns button:hover > span, .cl-end:hover > span { transform: scale(1.08); }
.cl-no > span, .cl-end > span { background: var(--r); }
.cl-yes > span { background: var(--g); animation: hop 1.2s ease-in-out infinite; }
@keyframes hop { 50% { transform: translateY(-6px); } }
.cl-phone { position: relative; height: min(72vh, 620px); }
.cl-phone img { height: 100%; width: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)); animation: callin .5s ease-out; }
.cl-timer { position: absolute; left: 50%; top: 13%; transform: translateX(-50%); background: rgba(0, 0, 0, .55); padding: 5px 10px; border-radius: 99px; font: 600 13px/1 var(--ui); font-variant-numeric: tabular-nums; }
.cl-side { display: grid; gap: 10px; max-width: 320px; justify-items: start; }
.cl-side b { font: 800 clamp(24px, 2.4vw, 36px)/1.1 var(--disp); letter-spacing: -.02em; }
.cl-side small { color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.5; }
.cl-end { margin-top: 18px; }

/* ---------- «Ашар-стройка» ---------- */
.ashar { position: relative; z-index: 1; background: #F7F0E5; color: #111; }
.as-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.as-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.as-copy { position: absolute; left: max(var(--gut), calc((100vw - 1320px) / 2)); top: 50%; transform: translateY(-50%); width: min(34vw, 480px); z-index: 2; }
.as-copy .kicker { color: #74644e; }
.as-title { font: 800 clamp(36px, 4.4vw, 76px)/1.02 var(--disp); letter-spacing: -.035em; }
.as-lead { color: #6b5f50; margin-top: 18px; font-size: 17px; line-height: 1.5; max-width: 26em; }
.as-say { margin-top: 26px; min-height: 150px; }
.as-q { display: flex; gap: 10px; align-items: flex-end; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); transform-origin: 0 100%; }
.as-q .face { font-size: 46px; flex: none; }
.as-qb { background: #fff; border-radius: 20px 20px 20px 6px; padding: 12px 16px; font-size: 15.5px; line-height: 1.45; box-shadow: 0 12px 30px -18px rgba(80, 50, 10, .45); max-width: min(26em, 100%); min-width: 0; }
.as-qb b { color: var(--p); font-size: 14px; }
.as-qb small { color: var(--muted); font-size: 12.5px; }
.as-qb p { margin-top: 4px; }
.as-end { margin-top: 14px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; pointer-events: none; }
.as-stage.built .as-end { opacity: 1; transform: none; pointer-events: auto; }
.as-end p { font: 700 19px/1.35 var(--disp); max-width: 24em; }
.as-cta { display: inline-block; margin-top: 14px; background: #17161D; color: #fff; text-decoration: none; font: 600 15px/1 var(--ui); padding: 13px 18px; border-radius: 99px; }
.as-ideas, .as-you { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.as-idea { position: absolute; opacity: 0; transition: opacity .3s; }
.as-idea.on { opacity: 1; }
.as-line { position: absolute; left: 0; top: 0; height: 0; border-top: 1.5px dashed rgba(124, 58, 237, .65); }
.as-card { position: absolute; top: 0; width: var(--cw, 230px); padding: 10px 12px !important; transform: translateY(calc(-50% + var(--dy, 0px))) scale(.88); transform-origin: 0 50%; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: 0 14px 34px -18px rgba(60, 30, 0, .5); pointer-events: auto; transition: transform .45s cubic-bezier(.2, 1.5, .4, 1); }
.as-idea.on .as-card { transform: translateY(calc(-50% + var(--dy, 0px))) scale(1); }
.as-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.as-meta .ip-st { margin: 0; }
.as-card b { display: block; font: 600 14px/1.3 var(--ui); margin: 6px 0 0; }
.as-card small { color: var(--muted); font-size: 12.5px; }
.as-vote { display: block; margin-top: 8px; border: 0; background: var(--gray); color: #111; border-radius: 99px; padding: 8px 12px; font: 600 13px/1 var(--ui); cursor: pointer; }
.as-vote[aria-pressed="true"] { background: var(--p); color: #fff; }
.as-me { position: absolute; translate: -50% -50%; opacity: 0; transition: opacity .2s; }
.as-me.on { opacity: 1; }
.as-me .face { font-size: var(--fs, 40px); box-shadow: 0 0 0 3px #fff, 0 10px 20px -8px rgba(0, 0, 0, .35); }
.as-me em { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); font: 700 12px/1 var(--ui); font-style: normal; background: #17161D; color: #fff; padding: 4px 8px; border-radius: 8px; white-space: nowrap; }

/* ---------- «Ваш кирпич» (форма идеи) ---------- */
.idea { position: relative; z-index: 1; background: #F7F0E5; color: #111; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: 12vh max(var(--gut), calc((100vw - 1240px) / 2)) 18vh; }
.idea-card { position: relative; background: #fff; border-radius: 32px; padding: clamp(24px, 3.2vw, 44px); box-shadow: 0 30px 80px -40px rgba(80, 50, 10, .4); }
.idea-card h2 { font: 800 clamp(34px, 4vw, 60px)/1 var(--disp); letter-spacing: -.035em; }
.idea-lead { color: var(--muted); margin: 14px 0 24px; font-size: 16px; max-width: 30em; }
.f-field { display: block; margin-bottom: 18px; }
.f-l { display: block; font: 600 14px/1.2 var(--ui); margin-bottom: 8px; }
.f-l small { color: var(--muted); font-weight: 500; margin-left: 6px; }
.f-me { display: flex; align-items: center; gap: 12px; }
.me-face { flex: none; display: grid; }
.me-face .face { font-size: 46px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }
.f-field input { flex: 1; min-width: 0; width: 100%; border: 0; background: var(--gray); border-radius: 16px; padding: 14px 16px; font: 400 16px/1.4 var(--ui); color: #111; outline: none; transition: box-shadow .2s; }
.f-field input:focus { box-shadow: 0 0 0 2px var(--b); }
.f-kind { border: 0; padding: 0; margin: 0 0 18px; }
.f-kind legend { font: 600 14px/1.2 var(--ui); margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; border-radius: 99px; background: var(--gray); font: 600 14px/1 var(--ui); cursor: pointer; transition: .2s; }
.chip input:checked + span { background: #17161D; color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 2px var(--b); }
/* калып: деревянная форма, внутри — мокрая глина */
.mold { position: relative; display: block; padding: 12px; border-radius: 16px; background: repeating-linear-gradient(92deg, rgba(255, 255, 255, .06) 0 3px, rgba(0, 0, 0, .05) 3px 9px), linear-gradient(#B27A44, #8A552A); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -3px 0 rgba(0, 0, 0, .25), 0 12px 24px -14px rgba(80, 40, 0, .6); transition: background .6s, box-shadow .6s; }
.mold::before, .mold::after { content: ""; position: absolute; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #5A3618; }
.mold::before { left: 6px; }
.mold::after { right: 6px; }
.clay { position: relative; display: block; border-radius: 8px; background-color: #A26E40; background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .06) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(0, 0, 0, .08) 0 2px, transparent 3px); background-size: 23px 19px, 31px 27px; box-shadow: inset 0 4px 10px rgba(0, 0, 0, .45); transition: background-color .9s, transform .6s cubic-bezier(.2, 1.4, .4, 1), box-shadow .6s; }
.clay textarea { display: block; width: 100%; min-height: 132px; border: 0; background: transparent; resize: none; outline: none; padding: 16px 56px 16px 18px; font: 700 18px/1.4 var(--disp); color: #3A1E0A; caret-color: #FEE500; text-shadow: 0 1px 0 rgba(255, 235, 210, .35), 0 -1px 0 rgba(0, 0, 0, .35); transition: color .9s, text-shadow .9s; }
.clay textarea::placeholder { color: rgba(255, 230, 200, .45); text-shadow: none; }
.mold:focus-within { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -3px 0 rgba(0, 0, 0, .25), 0 0 0 3px rgba(254, 229, 0, .8); }
.stamp { position: absolute; right: 14px; bottom: 12px; width: 32px; height: 32px; background: rgba(50, 25, 8, .55); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .25)); transition: opacity .3s, transform .3s; }
.stamp.off { opacity: 0; transform: scale(.6); }
.mold.press { background: transparent; box-shadow: none; }
.mold.press .clay { background-color: #E9BB66; transform: translateY(-8px) scale(1.02); box-shadow: 0 18px 30px -14px rgba(80, 40, 0, .6); }
.mold.press textarea { color: #8A5A14; text-shadow: 0 1px 0 rgba(255, 255, 255, .45), 0 -1px 0 rgba(120, 70, 10, .35); }
.mold.press .stamp { background: rgba(120, 70, 10, .55); }
.f-err { color: var(--r); font-size: 14px; min-height: 1.4em; margin: -6px 0 6px; }
.f-send { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: var(--p); color: #fff; font: 700 16px/1 var(--ui); padding: 16px 22px; border-radius: 99px; transition: transform .2s; }
.f-send:hover { transform: translateY(-2px); }
.f-send .ic { font-size: 20px; }
.f-to { margin-top: 16px; color: var(--muted); font-size: 14px; }
.f-to a { color: #111; }
.idea-done { text-align: left; padding: 8px 0; }
.idea-done:focus { outline: none; }
.idea-done h3 { font: 800 clamp(30px, 3.4vw, 48px)/1 var(--disp); letter-spacing: -.03em; margin: 18px 0 12px; }
.idea-done p { color: var(--muted); max-width: 30em; }
.done-ticks { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--y); color: var(--b); font-size: 28px; }
.f-again { margin-top: 24px; border: 0; background: #17161D; color: #fff; font: 600 15px/1 var(--ui); padding: 14px 20px; border-radius: 99px; cursor: pointer; }
/* пузырь с пустыми местами */
.idea-site { position: relative; height: min(70vh, 620px); }
.idea-site canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.slot-label { position: absolute; translate: 0 -50%; white-space: nowrap; font: 600 13px/1 var(--ui); color: var(--p); background: #fff; padding: 7px 11px 7px 10px; border-radius: 99px; box-shadow: 0 8px 20px -12px rgba(60, 30, 0, .5); transition: opacity .3s; }
.slot-label::before { content: ""; position: absolute; right: 100%; top: 50%; width: 10px; border-top: 1.5px dashed var(--p); }
.slot-label.off { opacity: 0; }
.slot-label.lft::before { right: auto; left: 100%; }
.slot-label.up::before { display: none; }
.brick-fly { position: fixed; z-index: 60; pointer-events: none; }
.bf-b { position: absolute; inset: 0; background: #E9BB66; border-radius: 8px; box-shadow: 0 16px 30px -14px rgba(80, 40, 0, .6); overflow: hidden; padding: 14px 16px; }
.bf-b b { display: block; font: 700 17px/1.35 var(--disp); color: #8A5A14; text-shadow: 0 1px 0 rgba(255, 255, 255, .4); transition: opacity .4s .2s; }
.brick-fly.go .bf-b b { opacity: 0; }
.bf-face { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 2px); }
.bf-face .face { font-size: 52px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4); }
.ip-st { display: inline-block; font: 600 12px/1 var(--ui); padding: 5px 9px; border-radius: 99px; margin-bottom: 8px; }
.st-work { background: #E1EEFF; color: #0060D0; }
.st-plan { background: #DDF5E3; color: #1E8E3E; }
.st-new { background: #FFF4A3; color: #6B5D00; }

/* ---------- стена аватарок ---------- */
.rings { position: relative; z-index: 2; background: var(--ink); color: #fff; border-radius: 44px 44px 0 0; margin-top: -44px; }
.rings-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; border-radius: 44px 44px 0 0; }
.rings-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.rings-cap { position: absolute; left: 0; right: 0; bottom: 7vh; text-align: center; padding: 0 var(--gut); pointer-events: none; }
.rings-cap::before { content: ""; position: absolute; inset: -12vh 0 -7vh; background: linear-gradient(transparent, var(--ink) 55%); z-index: -1; }
.rings-cap .kicker { color: rgba(255, 255, 255, .5); }
.rings-cap h2 { font: 800 clamp(34px, 5vw, 84px)/1 var(--disp); letter-spacing: -.035em; }

/* ---------- вопросы и ответы ---------- */
.faq { position: relative; z-index: 2; background: var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 90px); padding: 16vh max(var(--gut), calc((100vw - 1240px) / 2)) 14vh; }
.faq-copy h2 { font: 800 clamp(40px, 5.6vw, 92px)/.98 var(--disp); letter-spacing: -.04em; }
.faq-lead { color: rgba(255, 255, 255, .6); margin: 22px 0 0; font-size: 17px; max-width: 26em; }
.faq-ask { margin-top: 28px; color: rgba(255, 255, 255, .6); font-size: 15px; }
.faq-ask b { color: #fff; display: block; font-size: 17px; margin-bottom: 4px; }
.faq-ask a, .faq-ask a:visited { color: var(--y); }
.faq-chat { display: grid; gap: 14px; align-content: start; }
.qa { display: grid; gap: 10px; }
.q { justify-self: end; max-width: 88%; text-align: left; border: 0; cursor: pointer; background: var(--y); color: #111; font: 600 clamp(16px, 1.35vw, 19px)/1.35 var(--ui); padding: 14px 18px; border-radius: 22px 22px 6px 22px; display: flex; align-items: flex-end; gap: 10px; transition: transform .2s; }
.q:hover { transform: translateY(-2px); }
.q .ic { flex: none; font-size: 16px; color: rgba(0, 0, 0, .35); margin-bottom: 2px; }
.q[aria-expanded="true"] .ic { color: var(--b); }
.a { display: flex; align-items: flex-end; gap: 10px; max-width: 92%; }
.a[hidden] { display: none; }
.a img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.a-typing { color: #fff; background: #2A2930; }
.qa.typing .a-typing { display: flex; }
.a-b { display: none; background: #2A2930; border-radius: 22px 22px 22px 6px; padding: 14px 18px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.a-b p + p { margin-top: 6px; }
.qa.answered .a-b { display: block; animation: pop .4s cubic-bezier(.2, 1.4, .4, 1); transform-origin: 0 100%; }

/* ---------- финал ---------- */
.outro { position: relative; z-index: 2; background: var(--ink); color: #fff; text-align: center; padding: 22vh var(--gut) 20vh; overflow: hidden; min-height: 100vh; display: grid; align-content: center; justify-items: center; }
.outro-title { font: 800 clamp(44px, 8vw, 140px)/.98 var(--disp); letter-spacing: -.045em; max-width: 9em; position: relative; z-index: 1; }
.outro-text { position: relative; z-index: 1; color: rgba(255, 255, 255, .6); max-width: 34em; margin: 26px auto 0; font-size: 17px; }
.outro .dl-stores { position: relative; z-index: 1; }
.dl-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: 16px; background: #fff; color: #111; text-decoration: none; text-align: left; transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font: 500 11px/1.2 var(--ui); opacity: .65; }
.store b { display: block; font: 700 17px/1.2 var(--ui); }
.store.is-soon { opacity: .45; }
.dl-note { position: relative; z-index: 1; margin-top: 22px; color: rgba(255, 255, 255, .5); font-size: 14px; }
.outro-pills { position: absolute; inset: 0; pointer-events: none; }
.of { position: absolute; translate: -50% -50%; border: 0; padding: 0; background: none; cursor: pointer; pointer-events: auto; filter: blur(var(--blur)); animation: float var(--dur) ease-in-out infinite; animation-delay: var(--del); }
.of .face { font-size: var(--fs); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6); transition: transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.of:hover .face { transform: scale(1.08); }
.say { position: absolute; width: max-content; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 6px) scale(.7); opacity: 0; white-space: nowrap; font: 700 15px/1 var(--ui); padding: 9px 13px; border-radius: 16px; pointer-events: none; transition: opacity .2s, transform .35s cubic-bezier(.2, 1.6, .4, 1); filter: none; }
.say.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.say.ask { background: var(--y); color: #111; border-radius: 16px 16px 16px 4px; }
.say.ans { background: #fff; color: #111; border-radius: 16px 16px 4px 16px; }
.of.l .say { left: 0; transform: translate(0, 6px) scale(.7); transform-origin: 0 100%; }
.of.l .say.on { transform: none; }
.of.r .say { left: auto; right: 0; transform: translate(0, 6px) scale(.7); transform-origin: 100% 100%; }
.of.r .say.on { transform: none; }
.of.t .say { bottom: auto; top: calc(100% + 8px); }
.calm .of { animation: none; }
.of.near { filter: none; }

/* ---------- подвал ---------- */
.ft { position: relative; z-index: 2; background: var(--ink); color: rgba(255, 255, 255, .62); display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; gap: 40px 64px; padding: 10vh var(--gut) 28px; border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; min-height: 70vh; align-content: start; }
.ft-about { font: 800 clamp(28px, 3.2vw, 52px)/1.05 var(--disp); letter-spacing: -.03em; color: #fff; max-width: 13em; }
.ft-live { margin-top: 22px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.ft-live b { color: #fff; font-variant-numeric: tabular-nums; }
.ft-mail { position: relative; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font: 500 15px/1 var(--ui); padding: 9px 13px; border-radius: 99px; cursor: pointer; }
.ft-copied { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 6px); background: var(--y); color: #111; font-weight: 600; font-size: 12px; padding: 5px 9px; border-radius: 8px; opacity: 0; transition: .2s; white-space: nowrap; pointer-events: none; }
.ft-mail.copied .ft-copied { opacity: 1; transform: translate(-50%, 0); }
.ft-nav { display: grid; gap: 12px; align-content: start; font-size: 15px; position: relative; z-index: 2; }
.ft-nav a { text-decoration: none; color: rgba(255, 255, 255, .78); }
.ft-nav a:hover { color: #fff; }
.ft-main { position: relative; z-index: 2; }
.ft-stickers { position: relative; grid-column: 1 / -1; height: clamp(280px, 34vw, 460px); margin: 0 -2vw; }
.stk { position: absolute; left: calc(var(--sx) * 100%); top: calc(var(--sy) * 100%); rotate: var(--r); width: var(--w, auto); user-select: none; -webkit-user-select: none; cursor: grab; touch-action: none;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 10px 14px rgba(0, 0, 0, .45));
  opacity: 0; transform: translateY(-60px) scale(.7); transition: opacity .4s, transform .7s cubic-bezier(.2, 1.5, .4, 1); transition-delay: calc(var(--i) * 70ms); }
.ft-stickers.in .stk, .calm .stk { opacity: 1; transform: none; }
.stk.drag { cursor: grabbing; transition: none; z-index: 5; }
.stk-bub { font: 800 clamp(22px, 2.6vw, 38px)/1 var(--disp); letter-spacing: -.02em; padding: .38em .6em .44em; border-radius: .7em .7em .7em .18em; white-space: nowrap; }
.stk-bub.yb { background: var(--y); color: #111; }
.stk-bub.gb { background: #E9E9EF; color: #111; border-radius: .7em .7em .18em .7em; }
.stk-bub.wb { background: #fff; color: #7C7C86; font-weight: 700; }
.ft-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; font-size: 13.5px; position: relative; z-index: 2; }
.ft-tool { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.ft-tool .tool-state { font-style: normal; color: #fff; }
.ft-top { margin-left: auto; color: #fff; text-decoration: none; }

/* ---------- доступность ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--b-dark); outline-offset: 3px; border-radius: 8px; }
.clay textarea:focus-visible, .f-field input:focus-visible, .gc-compose input:focus-visible { outline: none; }
.chip input:focus-visible + span { outline: 3px solid var(--b-dark); outline-offset: 2px; }

/* ---------- пропуск длинных сцен ---------- */
.skip-scene { position: absolute; right: max(var(--gut), calc((100vw - 1320px) / 2)); bottom: 18px; z-index: 6; border: 0; cursor: pointer; background: rgba(23, 22, 29, .78); color: #fff; font: 600 13px/1 var(--ui); padding: 10px 14px; border-radius: 99px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .3s; }
.skip-scene.on { opacity: .9; transform: none; pointer-events: auto; }
.skip-scene:hover { opacity: 1; }
#gsSkip { bottom: 6px; right: auto; left: max(var(--gut), calc((100vw - 1320px) / 2)); }

/* ---------- список чатов (навигация) ---------- */
.chats-btn { display: none; }
.chats { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 45; opacity: 0; pointer-events: none; transition: opacity .35s; }
.chats.shown { opacity: 1; pointer-events: auto; }
.ch-scrim, .ch-head { display: none; }
.ch-panel { width: 50px; overflow: hidden; border-radius: 26px; padding: 6px 0; transition: width .3s cubic-bezier(.2, .9, .3, 1), background .3s, box-shadow .3s; }
.chats:hover .ch-panel, .chats:focus-within .ch-panel { width: 320px; background: #fff; box-shadow: 0 24px 60px -20px rgba(23, 22, 29, .45), 0 0 0 1px #ececf1; }
.ch-it { position: relative; display: flex; align-items: center; gap: 12px; width: 320px; border: 0; background: none; padding: 6px 10px; text-align: left; cursor: pointer; color: #111; }
.ch-it:hover, .ch-it:focus-visible { background: #F4F4F8; outline-offset: -3px; }
.ch-ava { position: relative; flex: none; width: 30px; height: 30px; display: grid; }
.ch-ava img { width: 30px; height: 30px; border-radius: 50%; }
.ch-ava .face { font-size: 30px; box-shadow: 0 0 0 2px #fff; }
.ch-ava .face .fb { display: none; }
.ch-it.cur .ch-ava { box-shadow: 0 0 0 2.5px var(--y), 0 0 0 4px #111; border-radius: 50%; }
.ch-txt { min-width: 0; flex: 1; opacity: 0; transition: opacity .2s; }
.chats:hover .ch-txt, .chats:focus-within .ch-txt, .chats.sheet .ch-txt { opacity: 1; }
.ch-txt b { display: block; font: 600 14px/1.25 var(--ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-txt small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-meta { position: absolute; left: 30px; top: 2px; }
.ch-badge { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--r); color: #fff; font: 700 10.5px/1 var(--ui); font-style: normal; box-shadow: 0 0 0 2px #fff; }
.ch-badge:empty { display: none; }
.ch-ok { display: none; color: var(--b); font-size: 18px; }
.chats:hover .ch-txt, .chats:focus-within .ch-txt, .chats.sheet .ch-txt { padding-right: 36px; }
.chats:hover .ch-meta, .chats:focus-within .ch-meta, .chats.sheet .ch-meta { left: auto; right: 14px; top: 50%; transform: translateY(-50%); }
.chats:hover .ch-it.read .ch-ok, .chats:focus-within .ch-it.read .ch-ok, .chats.sheet .ch-it.read .ch-ok { display: block; }

/* ---------- «Скачать» по устройству ---------- */
.store.primary { background: var(--y); color: #111; box-shadow: 0 10px 30px -12px rgba(254, 229, 0, .6); }
.dl-qr { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 16px; margin-top: 26px; background: rgba(255, 255, 255, .06); border-radius: 22px; padding: 10px 18px 10px 10px; text-align: left; }
.dl-qr img { width: 108px; height: 108px; border-radius: 14px; background: #fff; padding: 6px; }
.dl-qr span { max-width: 15em; font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .75); }
[data-plat="android"] .dl-qr, [data-plat="ios"] .dl-qr { display: none; }

/* ---------- перевод волной ---------- */
.tr-sweep { position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden; }
.tr-sweep.go { visibility: visible; }
.tr-band { position: absolute; top: 0; bottom: 0; left: -40vw; width: 34vw; background: linear-gradient(90deg, transparent, rgba(254, 229, 0, .34) 45%, rgba(255, 255, 255, .5) 50%, rgba(254, 229, 0, .34) 55%, transparent); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.tr-sweep.go .tr-band { animation: trband .95s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes trband { to { transform: translateX(150vw); } }
.tr-pill { position: absolute; left: 50%; top: calc(var(--bar-h) + 14px); transform: translate(-50%, -8px); display: inline-flex; align-items: center; gap: 8px; background: #17161D; color: #fff; font: 600 13px/1 var(--ui); padding: 9px 14px; border-radius: 99px; opacity: 0; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.tr-pill .ic { font-size: 16px; color: var(--y); }
.tr-sweep.go .tr-pill { animation: trpill 1.25s ease forwards; }
@keyframes trpill { 12% { opacity: 1; transform: translate(-50%, 0); } 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -6px); } }

/* ---------- «вы» ---------- */
.f-note { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.of-me { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); font: 700 12px/1 var(--ui); font-style: normal; background: var(--y); color: #111; padding: 4px 8px; border-radius: 8px; white-space: nowrap; pointer-events: none; }

/* ---------- телефон ---------- */
@media (max-width: 820px) {
  :root { --bar-h: 58px; }
  .bar { gap: 12px; }
  .bar-nav { display: none; }
  .chats { right: auto; left: 0; top: auto; bottom: 0; width: 100%; transform: none; opacity: 1; pointer-events: none; }
  .chats .ch-panel { display: none; }
  .chats.sheet { pointer-events: auto; top: 0; }
  .chats.sheet .ch-scrim { display: block; position: absolute; inset: 0; background: rgba(14, 13, 18, .45); }
  .chats.sheet .ch-panel { display: block; position: absolute; left: 0; right: 0; bottom: 0; width: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 8px 0 calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .4); animation: sheet .35s cubic-bezier(.2, 1, .3, 1); max-height: 80vh; overflow: auto; }
  @keyframes sheet { from { transform: translateY(100%); } }
  .chats.sheet .ch-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 10px; font: 700 17px/1 var(--ui); color: #111; }
  .ch-x { border: 0; background: var(--gray); width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: #111; }
  .chats.sheet .ch-it { width: 100%; padding: 9px 18px; }
  .chats.sheet .ch-ava, .chats.sheet .ch-ava img { width: 40px; height: 40px; }
  .chats.sheet .ch-ava .face { font-size: 40px; }
  .chats-btn { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(127, 127, 140, .45); background: transparent; padding: 0; cursor: pointer; }
  .chats-btn .ic { font-size: 18px; }
  .chats-btn span { display: none; }
  .cb-badge { position: absolute; right: -5px; top: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--r); color: #fff; font: 700 10px/16px var(--ui); text-align: center; }
  .cb-badge.off { display: none; }
  .dl-qr { display: none; }
  .skip-scene { display: none; }

  .bar-logo span { display: none; }
  .bar-tools { gap: 6px; }
  .langs button { padding: 6px 7px; font-size: 12px; }
  .tool { width: 32px; height: 32px; }
  .tool svg { width: 18px; height: 18px; }
  .tool-tip { display: none; }
  .btn-dl { padding: 9px 12px; font-size: 13px; }
  .story-head { top: calc(var(--bar-h) + 12px); }
  .works { border-radius: 28px 28px 0 0; padding-top: 12vh; }
  .work { grid-template-columns: 1fr; margin: 0 var(--gut) 11vh; }
  .work-media { grid-column: 1; border-radius: 20px; }
  .work-meta { grid-column: 1; padding: 18px 2px 0; }
  .gs-stage { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 12px; padding: calc(var(--bar-h) + 10px) 12px 12px; align-items: stretch; }
  .gs-side { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .gs-side .kicker { display: none; }
  .gs-title { font-size: 26px; max-width: none; }
  .gs-prof { margin: 0; min-height: 0; grid-template-columns: auto 1fr; gap: 2px 10px; }
  .pf-t { font-size: 40px; }
  .slot { width: 22px; height: 22px; margin-left: -7px; }
  .slot .gc-t { font-size: 22px; }
  .gc-head { gap: 8px; padding: 10px 12px; }
  .gc-acts { display: none; }
  .pf-i b { font-size: 15px; }
  .pf-s { font-size: 12px; margin-top: 0; }
  .gs-prof p { font-size: 13px; line-height: 1.35; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .gs-roll { display: none; }
  .gs-chat { border-radius: 24px; max-height: none; }
  .m { max-width: 92%; }
  .gs-call.live .cl-live { flex-direction: column; gap: 16px; }
  .cl-phone { height: 50vh; }
  .cl-side { justify-items: center; text-align: center; }
  .cl-end { margin-top: 4px; }
  .as-copy { top: calc(var(--bar-h) + 14px); left: var(--gut); right: var(--gut); width: auto; transform: none; }
  .as-title { font-size: 28px; }
  .as-lead { font-size: 14px; margin-top: 8px; }
  .as-say { margin-top: 12px; min-height: 0; }
  .as-q .face { font-size: 34px; }
  .as-qb { font-size: 13px; padding: 9px 12px; }
  .as-qb small { display: none; }
  .as-stage.built .as-say { display: none; }
  .as-end p { font-size: 15px; }
  .as-cta { padding: 11px 15px; font-size: 14px; }
  .as-idea { left: 12px !important; right: 12px; top: auto !important; bottom: 14px; display: none; }
  .as-idea.on.last { display: block; }
  .as-line { display: none; }
  .as-card { position: relative; left: 0 !important; width: auto; transform: none !important; }
  .idea { grid-template-columns: 1fr; padding: 8vh var(--gut) 14vh; gap: 12px; }
  .idea-card { border-radius: 26px; }
  .idea-site { order: -1; height: 340px; }
  .rings, .rings-stage { border-radius: 28px 28px 0 0; }
  .rings { margin-top: -28px; }
  .faq { grid-template-columns: 1fr; padding: 12vh var(--gut) 10vh; }
  .q { max-width: 94%; }
  .outro { padding: 16vh var(--gut) 14vh; }
  .ft { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .ft-main { grid-column: 1 / -1; }
  .ft-stickers { height: 320px; }
  .stk-img { --w: 110px !important; }
  .stk-orn { width: calc(var(--w) * .7) !important; }
}
@media (max-width: 440px) {
  :root { --gut: 16px; }
  .bar-tools { gap: 5px; }
  .langs { padding: 2px; }
  .langs button { padding: 6px 6px; font-size: 11.5px; }
  .tool { width: 30px; height: 30px; }
  .btn-dl { padding: 8px 11px; font-size: 12.5px; }
  .g-menu { font-size: 11px; }
  .g-menu i { padding: .7em .75em; }
}
@media (max-width: 360px) {
  .btn-dl { display: none; }
}

/* ---------- без анимации ---------- */
.calm .hero .g, .calm .hero .hero-gloss, .calm .hero .hero-scroll { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
.calm .caret, .calm .hero-scroll i { display: none; }
.calm .fx-grad.done { animation: none; }
