@font-face { font-family: 'CT Display'; src: url('/fonts/display-xb.woff') format('woff'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'CT Sans'; src: url('/fonts/inter-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'CT Sans'; src: url('/fonts/inter-Medium.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'CT Sans'; src: url('/fonts/inter-SemiBold.woff') format('woff'); font-weight: 600 800; font-display: swap; }
@font-face { font-family: 'CT Mono'; src: url('/fonts/mono.woff') format('woff'); font-weight: 400 500; font-display: swap; }

/* Layout: «нейро-студия» — фиксированная нейросеть на фоне, капсула-навигация сверху, крупный заглавный герой с переливающейся формой,
   лента вирусных роликов со сканером, путь «создал → пломба → публикация → деньги», затем рабочая зона. Единый тёмный мир Convers. */
:root {
  --bg: #12070f;          /* сливовая ночь (ConversTraffic) */
  --bg-2: #1b0d17;
  --glass: rgba(34, 18, 30, .62);
  --line: rgba(196, 160, 230, .18);
  --line-2: rgba(196, 160, 230, .32);
  --text: #f6eff7;
  --muted: #b8a7bd;
  --peri: #848fee;        /* градиент Convers */
  --lilac: #b59bde;
  --pink: #e983cd;
  --coral: #ff8562;
  --ok: #7ee2b0; --warn: #ffc76e; --bad: #ff8a80;
  --grad: linear-gradient(100deg, var(--peri) 0%, var(--lilac) 45%, var(--pink) 75%, var(--coral) 100%);
  --display: 'CT Display', 'CT Sans', system-ui, sans-serif;
  --body: 'CT Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'CT Mono', ui-monospace, Menlo, Consolas, monospace;
  --r: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--lilac); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 10px; }
.mono { font-family: var(--mono); font-size: .9em; }
.muted { color: var(--muted); }
.break { overflow-wrap: anywhere; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--lilac); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--pink); }

/* ---------- фон-нейросеть ---------- */
#neural { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.glowfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60vw 50vh at 85% -10%, rgba(132, 143, 238, .22), transparent 70%), radial-gradient(50vw 50vh at -10% 40%, rgba(233, 131, 205, .14), transparent 70%); }
.app { position: relative; z-index: 1; min-height: 100vh; }

/* ---------- верх ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 14px; }
.topbar-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(18, 7, 15, .72); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; font: 800 15px/1.1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 0 8px rgba(233, 131, 205, .45)); }
.brand small { font: 500 10px/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.navbtn { border: 0; background: transparent; color: var(--muted); padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; white-space: nowrap; transition: color .15s, background .15s; }
.navbtn:hover { color: var(--text); }
.navbtn[aria-current="page"] { color: var(--bg); background: var(--grad); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font: 600 12px/1 var(--body); color: var(--muted); white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.chip.live i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.chip.off i { background: var(--warn); }
.main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 12px 72px; }
.wrap { max-width: 1200px; margin: 0 auto; }

/* ---------- кнопки, поля ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none; transition: transform .2s cubic-bezier(.2, .8, .2, 1), border-color .15s, box-shadow .2s; }
.btn:hover:not(:disabled) { border-color: var(--lilac); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--grad); color: #1a0815; border: 0; box-shadow: 0 10px 34px -10px rgba(233, 131, 205, .7); }
.btn.primary:hover:not(:disabled) { box-shadow: 0 14px 44px -8px rgba(233, 131, 205, .9); }
.btn.danger { color: var(--bad); border-color: rgba(255, 138, 128, .4); background: transparent; }
.btn.danger.solid { background: var(--bad); color: #2a0b08; border-color: var(--bad); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn.ghost { background: transparent; }
.field { display: grid; gap: 7px; }
.field label, .label { font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
input[type=text], input[type=search], input[type=email], input[type=password], input[type=url], select, textarea { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); }
select option { background: var(--bg-2); }
input:focus, select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(233, 131, 205, .15); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; font-size: 14px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pink); flex: none; }
.spin { width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- герой ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: center; padding-block: 34px 24px; }
.hero h1 { font: 800 clamp(38px, 6.4vw, 92px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.03em; margin: 18px 0 22px; }
.hero h1 .row { display: block; }
.hero h1 .row:nth-child(2) { padding-left: .6em; }
.hero p.lead { color: var(--muted); max-width: 48ch; font-size: 17px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ai-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.ai-badges span { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(255, 255, 255, .03); }
.ai-badges span b { color: var(--text); font-weight: 500; }
.orb-wrap { position: relative; aspect-ratio: 1; width: min(520px, 100%); max-width: 100%; justify-self: center; }
#orb { position: absolute; inset: 0; width: 100%; height: 100%; }
.holo-card { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%) perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; border-radius: 50%; box-shadow: 0 30px 80px -20px rgba(233, 131, 205, .55); }
.holo-card canvas { width: 100%; height: 100%; display: block; border-radius: 50%; }
.holo-card::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at var(--px, 30%) var(--py, 30%), rgba(255, 255, 255, .35), transparent 45%); pointer-events: none; mix-blend-mode: screen; }
.orb-tag { position: absolute; font: 500 11px/1.3 var(--mono); letter-spacing: .06em; padding: 8px 12px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--muted); animation: float 6s ease-in-out infinite; max-width: 46%; }
.orb-tag b { color: var(--text); font-weight: 500; display: block; }
.orb-tag.t1 { left: 0; top: 14%; } .orb-tag.t2 { right: 0; top: 38%; animation-delay: -2s; } .orb-tag.t3 { left: 8%; bottom: 10%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- лента вирусных роликов ---------- */
.reel { position: relative; margin: 0 0 8px; padding-block: 22px 12px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reel-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.tile { position: relative; width: 168px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.tile canvas, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .cap { z-index: 1; } .tile .stamp { z-index: 1; }
.tile:has(video)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(18, 7, 15, .75)); pointer-events: none; }
.tile .cap { position: absolute; left: 10px; right: 10px; bottom: 10px; font: 700 12px/1.25 var(--body); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.tile .cap small { display: block; font: 500 10px/1.3 var(--mono); opacity: .8; margin-top: 3px; }
.tile .stamp { position: absolute; top: 10px; right: 10px; font: 500 9.5px/1 var(--mono); letter-spacing: .06em; padding: 6px 8px; border-radius: 8px; background: rgba(18, 7, 15, .7); border: 1px solid var(--line-2); opacity: 0; transform: scale(.6) rotate(-8deg); transition: opacity .3s, transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.tile.sealed .stamp { opacity: 1; transform: none; }
.tile.flash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(233, 131, 205, .45), transparent); animation: flash .6s ease-out; }
@keyframes flash { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.scanner { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--grad); box-shadow: 0 0 24px 6px rgba(233, 131, 205, .45); z-index: 2; pointer-events: none; }
.scanner::before { content: "AI-SCAN · SHA-256"; position: absolute; top: 0; left: 8px; font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--pink); white-space: nowrap; }
.reel-note { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- путь ролика ---------- */
.journey { margin: 56px 0; }
.jgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.jstep { position: relative; padding: 22px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; text-align: left; color: inherit; transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .2s; min-width: 0; }
.jstep:hover, .jstep.on { transform: translateY(-6px); border-color: var(--pink); }
.jstep .n { font: 800 34px/1 var(--display); }
.jstep h3 { font: 700 17px/1.25 var(--body); margin: 18px 0 8px; }
.jstep p { color: var(--muted); font-size: 14px; }
.jstep .who { position: absolute; top: 22px; right: 22px; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.jstep.on .who { color: var(--pink); }
.jbar { height: 3px; border-radius: 3px; background: var(--line); margin-top: 18px; overflow: hidden; }
.jbar span { display: block; height: 100%; width: 0; background: var(--grad); }
.jstep.on .jbar span { animation: fill 3.2s linear forwards; }
@keyframes fill { to { width: 100%; } }
.money { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.money .card p { color: var(--muted); font-size: 14px; }
.money h3 { font: 700 18px/1.3 var(--body); margin-bottom: 8px; }
.soon { display: inline-block; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: rgba(255, 199, 110, .14); color: var(--warn); margin-left: 6px; vertical-align: 2px; }

/* ---------- секции и карточки ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { font: 800 clamp(24px, 3.4vw, 44px)/1.02 var(--display); text-transform: uppercase; letter-spacing: -.02em; margin-top: 12px; }
.sec-head p { color: var(--muted); margin-top: 10px; max-width: 62ch; }
.card { border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 24px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 14px; color: var(--muted); }
.notice b { color: var(--text); }
.notice.warn { border-color: rgba(255, 199, 110, .35); background: rgba(255, 199, 110, .07); color: #f1e2c6; }
.notice.bad { border-color: rgba(255, 138, 128, .35); background: rgba(255, 138, 128, .07); color: #f6d3cf; }
.notice.ok { border-color: rgba(126, 226, 176, .35); background: rgba(126, 226, 176, .07); color: #d3f2e2; }
.notice svg { flex: none; margin-top: 2px; }

/* ---------- рабочая зона ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; margin-bottom: 48px; }
.drop { position: relative; border-radius: 18px; min-height: 320px; display: grid; place-items: center; text-align: center; padding: 26px; border: 1.5px dashed var(--line-2); overflow: hidden; transition: border-color .2s, transform .25s; }
.drop::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(132, 143, 238, .18), transparent 30%, rgba(233, 131, 205, .18), transparent 60%); animation: spin 14s linear infinite; pointer-events: none; }
.drop > div { position: relative; }
.drop.over { border-color: var(--pink); border-style: solid; transform: scale(1.01); }
.drop h3 { font: 800 22px/1.15 var(--display); text-transform: uppercase; margin: 18px 0 8px; }
.drop p { color: var(--muted); max-width: 42ch; margin: 0 auto; font-size: 14px; }
.drop .formats { font: 500 11px/1.4 var(--mono); color: var(--muted); margin-top: 14px; letter-spacing: .06em; }
.drop-ic { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto; color: #1a0815; background: var(--grad); box-shadow: 0 0 40px rgba(233, 131, 205, .45); transform: rotate(-6deg); }
.drop-err { color: var(--bad); font-weight: 600; margin-top: 12px; font-size: 14px; }
.asset { display: grid; gap: 14px; }
.preview { position: relative; border-radius: 16px; overflow: hidden; background: rgba(0, 0, 0, .35); display: grid; place-items: center; min-height: 180px; }
.preview img, .preview video { width: 100%; max-height: 300px; object-fit: contain; display: block; }
.preview .aud { padding: 30px 16px; display: grid; gap: 14px; justify-items: center; width: 100%; color: var(--pink); }
.preview audio { width: 100%; }
.preview.scanning::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; top: 0; background: var(--grad); box-shadow: 0 0 22px 8px rgba(233, 131, 205, .5); animation: scanY 1.2s ease-in-out infinite alternate; }
.preview.scanning::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(233, 131, 205, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(132, 143, 238, .12) 1px, transparent 1px); background-size: 22px 22px; z-index: 1; }
@keyframes scanY { to { top: calc(100% - 3px); } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 8px; min-width: 0; }
.facts dt { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.fp { border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); padding: 14px; display: grid; gap: 10px; }
.fp.done { border-color: rgba(233, 131, 205, .45); box-shadow: 0 0 0 4px rgba(233, 131, 205, .06); }
.fp .row { display: flex; justify-content: space-between; gap: 10px; font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.strip { height: 12px; border-radius: 4px; }
.hash { font: 400 12.5px/1.65 var(--mono); color: var(--text); word-break: break-all; display: flex; flex-wrap: wrap; gap: 0 9px; }
.fp .hash span { animation: reveal .5s both; }
.fp .hash span:nth-child(2) { animation-delay: .05s } .fp .hash span:nth-child(3) { animation-delay: .1s } .fp .hash span:nth-child(4) { animation-delay: .15s }
.fp .hash span:nth-child(5) { animation-delay: .2s } .fp .hash span:nth-child(6) { animation-delay: .25s } .fp .hash span:nth-child(7) { animation-delay: .3s } .fp .hash span:nth-child(8) { animation-delay: .35s }
@keyframes reveal { from { opacity: 0; filter: blur(4px); transform: translateY(4px); } }
.bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .12s; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.log li { display: flex; gap: 8px; align-items: center; }
.log li.done { color: var(--text); }
.log li.done::before { content: "✓"; color: var(--ok); }
.log li.run::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--pink); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.log li.wait::before { content: "·"; }
.settings { display: grid; gap: 16px; align-content: start; }
.settings h3 { font: 800 18px/1.2 var(--display); text-transform: uppercase; }
.settings .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.go { display: grid; gap: 10px; }
.go .hint { color: var(--muted); font-size: 13px; }
.match { font-size: 14px; display: grid; gap: 8px; }
.match .ok { color: var(--ok); }
details.sim { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
details.sim summary { cursor: pointer; font-weight: 600; }
details.sim ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.tag { display: inline-block; font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 6px; border-radius: 5px; background: rgba(255, 199, 110, .14); color: var(--warn); vertical-align: middle; }

/* ---------- библиотека ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); padding: 18px 22px; }
.stat .k { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat .v { font: 800 40px/1 var(--display); margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.stat .s { font-size: 12.5px; color: var(--muted); }
.tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tools .search { flex: 1; min-width: 220px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); gap: 2px; overflow-x: auto; max-width: 100%; }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--grad); color: #1a0815; }
.list { list-style: none; margin: 0; padding: 0; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--glass); }
.list li + li { border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 20px; cursor: pointer; width: 100%; background: transparent; border: 0; text-align: left; color: inherit; transition: background .15s; }
.item:hover { background: rgba(255, 255, 255, .04); }
.item:hover .chipseal { transform: rotate(35deg) scale(1.08); }
.chipseal { width: 46px; height: 46px; border-radius: 14px; flex: none; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); box-shadow: 0 0 0 1px var(--line); }
.item .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .mt { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .id { font: 400 12px/1 var(--mono); color: var(--muted); }
.item .when { font-size: 12.5px; color: var(--muted); text-align: right; white-space: nowrap; }
.rep { display: inline-block; margin-left: 8px; font: 500 10px/1 var(--mono); padding: 4px 7px; border-radius: 6px; background: rgba(255, 199, 110, .14); color: var(--warn); vertical-align: 1px; }
.empty { border-radius: var(--r); border: 1px dashed var(--line-2); padding: 44px 20px; text-align: center; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.empty b { color: var(--text); font: 800 18px/1.25 var(--display); text-transform: uppercase; }

/* ---------- запись, сертификат, AI-паспорт ---------- */
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 0; margin-bottom: 18px; font-weight: 600; }
.back:hover { color: var(--text); }
.rec { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.cert { position: relative; border-radius: 26px; padding: 34px; overflow: hidden; background: linear-gradient(160deg, rgba(132, 143, 238, .14), rgba(233, 131, 205, .08) 40%, rgba(18, 7, 15, .85) 75%); border: 1px solid var(--line-2); }
.cert-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.cert > *:not(.cert-bg) { position: relative; }
.cert-head { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 18px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.cert-head h2 { font: 800 clamp(22px, 2.8vw, 32px)/1.05 var(--display); text-transform: uppercase; margin: 12px 0; }
.cert-id { font: 500 18px/1 var(--mono); letter-spacing: .06em; }
.cert-seal { width: 130px; aspect-ratio: 1; max-width: 100%; position: relative; }
.cert-seal .holo-card { position: relative; left: auto; top: auto; width: 100%; transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.cf { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cf dt { color: var(--muted); font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.cf dd { margin: 0; display: grid; gap: 4px; min-width: 0; }
.cf dd small { color: var(--muted); font-size: 12px; }
.cf .author { font: 800 20px/1.25 var(--display); }
.cert-foot { padding-top: 16px; color: var(--muted); font-size: 13px; display: grid; gap: 8px; }
.side { display: grid; gap: 10px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.side .btn { justify-content: flex-start; }
.side h3 { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini button { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 13px; text-align: left; }
.mini button:hover { border-color: var(--lilac); }
.passport { margin-top: 16px; position: relative; border-radius: 26px; padding: 26px; border: 1px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; }
.passport h3 { font: 800 20px/1.2 var(--display); text-transform: uppercase; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.passport .ai-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px var(--pink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }
.passport .sub { color: var(--muted); font-size: 14px; margin: 8px 0 16px; max-width: 70ch; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.pp-block { border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); padding: 16px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.pp-block .label { color: var(--lilac); }
.pp-block ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--text); font-size: 14px; }
.pp-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pp-tags span { font: 500 12px/1 var(--mono); padding: 7px 10px; border-radius: 999px; background: rgba(132, 143, 238, .14); color: var(--text); }
.pp-line { font: 400 13px/1.5 var(--mono); padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .3); overflow-wrap: anywhere; }
.pp-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.thinking { display: flex; gap: 10px; align-items: center; color: var(--muted); font: 500 13px/1.4 var(--mono); }
.thinking i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: pulse 1s ease-in-out infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; background: var(--lilac); } .thinking i:nth-child(3) { animation-delay: .3s; background: var(--peri); }

/* ---------- проверка ---------- */
.verify { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.vform { display: grid; gap: 16px; }
.smalldrop { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: rgba(255, 255, 255, .03); }
.smalldrop.over { border-color: var(--pink); }
.smalldrop.has { border-style: solid; border-color: var(--lilac); }
.smalldrop p { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.smalldrop p b { color: var(--text); }
.result { border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); padding: 24px; display: grid; gap: 14px; outline: none; }
.result.idle { border-style: dashed; background: transparent; }
.result h3 { font: 800 22px/1.2 var(--display); text-transform: uppercase; display: flex; gap: 12px; align-items: center; }
.result .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.result.ok { border-color: rgba(126, 226, 176, .45); } .result.ok .dot { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.result.warn { border-color: rgba(255, 199, 110, .45); } .result.warn .dot { background: var(--warn); }
.result.bad { border-color: rgba(255, 138, 128, .45); } .result.bad .dot { background: var(--bad); }
.result.muted .dot { background: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.checks .y { color: var(--ok); } .checks .n { color: var(--bad); } .checks .i { color: var(--muted); }
.pair { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); }
.hash .diff { color: var(--bad); text-decoration: underline; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.legend li { display: flex; gap: 10px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* ---------- как это работает ---------- */
.how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0 22px; }
.how ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--muted); font-size: 14px; }
.how li b { color: var(--text); display: block; }
.how h3 { font: 800 18px/1.2 var(--display); text-transform: uppercase; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps li { padding: 20px; font-size: 14px; color: var(--muted); border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); }
.steps b { display: block; color: var(--text); margin: 10px 0 4px; font: 700 16px/1.25 var(--body); }
.steps .n { font: 800 22px/1 var(--display); }

/* ---------- диалог, тост, подвал ---------- */
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(8, 3, 7, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.dlg { width: min(520px, 100%); border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-2); padding: 26px; display: grid; gap: 14px; }
.dlg h3 { font: 800 20px/1.25 var(--display); text-transform: uppercase; }
.dlg ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
.dlg .acts { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 50; background: var(--grad); color: #1a0815; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; max-width: calc(100% - 32px); }
footer { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- адаптация ---------- */
@media (max-width: 960px) {
  .hero, .studio, .rec, .verify, .how, .money, .pp-grid { grid-template-columns: minmax(0, 1fr); }
  .orb-wrap { width: min(400px, 100%); order: -1; }
  .side { position: static; }
  .jgrid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip { display: none; }
}
@media (max-width: 640px) {
  .topbar-in { flex-wrap: wrap; border-radius: 22px; padding: 10px; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin: 0; }
  .navbtn { flex: 1; padding: 9px 8px; font-size: 13px; }
  .hero h1 .row:nth-child(2) { padding-left: 0; }
  .orb-tag { display: none; }
  .orb-wrap { width: 230px; }
  .hero { padding-block: 8px 16px; gap: 4px; }
  .tile { width: 132px; }
  .facts, .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .item { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; padding: 12px 14px; }
  .chipseal { width: 40px; height: 40px; }
  .item .id { display: none; }
  .cert { padding: 22px 18px; }
  .cert-head { grid-template-columns: minmax(0, 1fr) 80px; }
  .cert-seal { width: 80px; }
  .cf { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .jgrid, .steps { grid-template-columns: minmax(0, 1fr); }
  .seg { display: flex; width: 100%; } .seg button { flex: 1; padding: 9px 6px; }
}

/* ================= ConversTraffic AI: новые блоки ================= */
textarea { min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.nav { overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.navbtn { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.navbtn .lock { font: 500 9px/1 var(--mono); letter-spacing: .08em; padding: 3px 5px; border-radius: 5px; background: rgba(132, 143, 238, .2); color: var(--peri); }
.navbtn[aria-current="page"] .lock { background: rgba(18, 7, 15, .25); color: #1a0815; }
.acct { display: flex; align-items: center; gap: 8px; }
.bal { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font: 600 13px/1 var(--body); color: var(--text); text-decoration: none; white-space: nowrap; }
.bal small { font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--warn); }
.bal:hover { border-color: var(--lilac); }
.role-tag { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* регистрация: два пути */
.auth { max-width: 980px; margin: 18px auto 0; display: grid; gap: 18px; }
.auth.narrow { max-width: 460px; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.path { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); cursor: pointer; transition: border-color .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.path:hover { transform: translateY(-3px); }
.path input { position: absolute; opacity: 0; pointer-events: none; }
.path:has(input:checked) { border: 1px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; }
.path:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 3px; }
.path h3 { font: 800 20px/1.15 var(--display); text-transform: uppercase; }
.path p { color: var(--muted); font-size: 14px; }
.path ul { margin: 0; padding-left: 18px; color: var(--text); font-size: 14px; display: grid; gap: 4px; }
.path .pick { justify-self: start; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.path:has(input:checked) .pick { background: var(--grad); color: #1a0815; border-color: transparent; }
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form .alt { text-align: center; color: var(--muted); font-size: 14px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* опции защиты */
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .15s, background .15s; }
.opt input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pink); }
.opt:has(input:checked) { border-color: rgba(233, 131, 205, .55); background: rgba(233, 131, 205, .07); }
.opt.off { cursor: default; opacity: .62; }
.opt b { display: block; font-size: 14.5px; }
.opt span.d { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.opt .price { font: 600 14px/1.2 var(--body); white-space: nowrap; text-align: right; }
.opt .price small { display: block; font: 500 10px/1.3 var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); }
.total .sum { font: 800 30px/1 var(--display); }
.total .bl { color: var(--muted); font-size: 13px; text-align: right; }

/* создание: вкладки */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 14px; }
.tabs a[aria-current="page"] { color: #1a0815; background: var(--grad); border-color: transparent; }
.gen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; }
.gen .models { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gen .models li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; }
.gen .models li span { color: var(--muted); font: 500 12px/1.4 var(--mono); }
.gen textarea:disabled, .gen select:disabled { opacity: .55; }

/* утилиты (CSP: без style-атрибутов) */
.mt16 { margin-top: 16px; } .mb16 { margin-bottom: 16px; } .m0 { margin: 0; } .small { font-size: 12.5px; }
.cell { min-width: 0; display: grid; gap: 2px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lg-ok { background: var(--ok); } .lg-warn { background: var(--warn); } .lg-bad { background: var(--bad); } .lg-mut { background: var(--muted); }
a.brand { color: var(--text); text-decoration: none; }
a.item { text-decoration: none; }
.mini a { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); font-size: 13px; text-decoration: none; }
.mini a:hover { border-color: var(--lilac); }
.stat .v { display: block; }
.go .btn { width: 100%; }

/* аккаунт, студия, биржа */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kv { display: grid; gap: 6px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv dt, .kv .k2 { color: var(--muted); }
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th { text-align: left; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 0 10px; }
.ledger td { padding: 10px 0; border-top: 1px solid var(--line); }
.ledger td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger .plus { color: var(--ok); }
.locked { display: grid; gap: 14px; justify-items: start; }
.locked h3 { font: 800 22px/1.15 var(--display); text-transform: uppercase; }
.feature h3 { font: 800 17px/1.2 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

/* жалобы */
.complaint { display: grid; gap: 12px; }
.complaint .plats { display: flex; gap: 6px; flex-wrap: wrap; }
.complaint textarea { min-height: 220px; font: 400 13px/1.55 var(--mono); }
.sigok { color: var(--ok); } .sigbad { color: var(--bad); }
.fatal { max-width: 560px; margin: 80px auto; text-align: center; display: grid; gap: 14px; justify-items: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; }
.skip:focus { left: 16px; background: var(--bg-2); padding: 10px 14px; border-radius: 10px; }

@media (max-width: 960px) {
  .gen, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .paths, .form .row2 { grid-template-columns: minmax(0, 1fr); }
  .acct .role-tag { display: none; }
  .bal { padding: 7px 10px; }
  .total .sum { font-size: 24px; }
}


/* ---------- крипто-слой ленты ---------- */
.reel { padding-bottom: 12px; }
.reel.fx-d { padding-bottom: 64px; }
.hexrain { position: absolute; top: 0; bottom: 0; left: 50%; width: 140px; transform: translateX(-50%); z-index: 2; pointer-events: none; height: 100%; }
.sigflash { position: absolute; top: 28px; left: calc(50% + 10px); z-index: 3; font: 500 10px/1 var(--mono); letter-spacing: .06em; color: #1a0815; background: var(--grad); padding: 6px 8px; border-radius: 6px; opacity: 0; pointer-events: none; white-space: nowrap; }
.sigflash.on { animation: sigflash 3.6s ease-out; }
@keyframes sigflash { 0% { opacity: 0; transform: translateY(6px) scale(.9); } 15% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
.chain { position: absolute; left: 0; right: 0; bottom: 8px; height: 46px; pointer-events: none; }
.chain-track { position: absolute; inset: 0; will-change: transform; }
.blk { position: absolute; top: 0; height: 46px; padding: 6px 9px; border-radius: 10px; display: grid; gap: 2px; align-content: center; background: rgba(18, 7, 15, .82); border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 1px rgba(181, 155, 222, .35), 0 0 18px -6px rgba(233, 131, 205, .7); font: 500 9.5px/1.15 var(--mono); color: var(--muted); animation: blkin .7s cubic-bezier(.2, 1.4, .4, 1) both; overflow: hidden; }
.blk::before { content: ""; position: absolute; left: -26px; top: 50%; width: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--pink) 0 5px, transparent 5px 9px); }
.blk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); transform: translateX(-100%); animation: blkshine 1.2s .2s ease-out; }
.blk .bh { display: flex; align-items: center; gap: 5px; color: var(--text); }
.blk .bh svg { color: var(--pink); flex: none; }
.blk .bh em { margin-left: auto; font-style: normal; color: var(--ok); }
.blk .bx { color: var(--lilac); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk .bp { opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes blkin { from { opacity: 0; transform: translateY(-40px) scale(.6); filter: blur(4px); } }
@keyframes blkshine { to { transform: translateX(100%); } }
.tile.sealed::before { box-shadow: inset 0 0 0 2px rgba(233, 131, 205, .55); }
.tile.flash .stamp { animation: stampglow .6s ease-out; }
@keyframes stampglow { 50% { box-shadow: 0 0 22px 4px rgba(233, 131, 205, .8); } }



/* ---------- варианты эффекта ленты ---------- */
.shield { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; background: radial-gradient(circle, rgba(18, 7, 15, .35), transparent 70%); transition: all .6s cubic-bezier(.2, .8, .2, 1); }
.shield svg { width: 62%; overflow: visible; filter: drop-shadow(0 0 10px rgba(233, 131, 205, .8)); }
.shield .hx { fill: rgba(132, 143, 238, .12); stroke: url(#shg); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s ease-out forwards; }
.shield .fp circle { fill: none; stroke: rgba(246, 239, 247, .5); stroke-width: 1; stroke-dasharray: .7 .3; stroke-dashoffset: 1; animation: draw 1s .3s ease-out forwards; }
.shield .lk { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; opacity: 0; animation: pop .4s .8s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.shield .sh-t { position: absolute; bottom: 30%; font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #1a0815; background: var(--grad); padding: 5px 7px; border-radius: 6px; opacity: 0; animation: pop .4s 1s ease-out forwards; }
.shield.done { inset: auto auto 54px 10px; width: 34px; height: 34px; background: none; }
.shield.done svg { width: 100%; } .shield.done .sh-t, .shield.done .fp { display: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
.ripple { position: absolute; z-index: 1; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid var(--pink); pointer-events: none; animation: ripple 1.2s ease-out forwards; }
@keyframes ripple { to { transform: scale(22); opacity: 0; border-width: .5px; } }


/* монетизация (иллюстрация) */


/* щит + монетизация: варианты E–H */
.spark { position: absolute; left: 50px; right: 8px; bottom: 52px; height: 46px; z-index: 2; pointer-events: none; }
.spark svg { width: 100%; height: 100%; overflow: visible; }
.spark .ln { fill: none; stroke: var(--ok); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s ease-out forwards; filter: drop-shadow(0 0 4px rgba(126, 226, 176, .9)); }
.spark .ar { fill: rgba(126, 226, 176, .18); opacity: 0; animation: pop 1s .8s forwards; }
.spark span { position: absolute; right: 0; top: -14px; font: 600 9.5px/1 var(--mono); color: var(--ok); }


/* ---------- выпадающее меню: общее ---------- */
.nav { position: relative; }
.navglow { position: absolute; left: 0; top: 0; height: 100%; border-radius: 999px; background: rgba(181, 155, 222, .12); box-shadow: inset 0 0 0 1px rgba(233, 131, 205, .35), 0 0 22px -6px rgba(233, 131, 205, .7); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2, .9, .2, 1), width .35s cubic-bezier(.2, .9, .2, 1), opacity .2s; }
.navglow.on { opacity: 1; }
.navbtn { position: relative; }
.mega { position: absolute; top: calc(100% - 6px); pointer-events: none; z-index: 25; }
.mega.open { pointer-events: auto; }
.mega-in { position: relative; opacity: 0; }
.mega.open .mega-in { opacity: 1; }
.soon { white-space: nowrap; }
.arr { margin-left: auto; color: var(--pink); font-size: 18px; line-height: 1; transition: transform .2s; }
a:hover > .arr { transform: translateX(3px); }
.touch-only { display: none; }
@media (hover: none), (pointer: coarse), (max-width: 960px) { .touch-only { display: flex; } .mega { display: none; } }

/* широкая панель: описание · пункты в две колонки · превью справа */
.mega { left: 50%; transform: translateX(-50%); width: min(1100px, calc(100vw - 32px)); }
.mega-in { display: grid; grid-template-columns: 220px minmax(0, 1fr) 210px; gap: 18px; padding: 20px; border-radius: 26px; border: 1px solid transparent; background: linear-gradient(rgba(27, 13, 23, .97), rgba(18, 7, 15, .98)) padding-box, linear-gradient(120deg, rgba(132, 143, 238, .6), rgba(233, 131, 205, .5), rgba(255, 133, 98, .4)) border-box; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -30px rgba(233, 131, 205, .6); clip-path: inset(0 0 100% 0 round 26px); transform: translateY(-8px); transition: clip-path .45s cubic-bezier(.2, .9, .2, 1), opacity .25s, transform .45s cubic-bezier(.2, .9, .2, 1); }
.mega.open .mega-in { clip-path: inset(0 0 0 0 round 26px); transform: none; }
.mega.open .mega-in.swap .mega-grid { animation: megaslide .35s cubic-bezier(.2, .9, .2, 1); }
.mega-in[data-dir="-1"] { --from: -24px; } .mega-in[data-dir="1"] { --from: 24px; }
@keyframes megaslide { from { transform: translateX(var(--from, 0)); opacity: 0; } }
.mega-head { display: grid; gap: 10px; align-content: start; padding: 6px 4px; }
.mega-head .muted { font-size: 14px; }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.mega-grid li { opacity: 0; }
.mega.open .mega-grid li { animation: megain .45s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes megain { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.mega-item { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; text-decoration: none; color: var(--text); border: 1px solid transparent; overflow: hidden; transition: background .2s, border-color .2s, transform .25s cubic-bezier(.2, .9, .2, 1); }
.mega-item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 60px at var(--mx, 20%) var(--my, 50%), rgba(233, 131, 205, .18), transparent 70%); opacity: 0; transition: opacity .2s; }
.mega-item:hover { background: rgba(255, 255, 255, .04); border-color: var(--line); transform: translateX(3px); }
.mega-item:hover::before { opacity: 1; }
.mega-item b { display: block; font-size: 14px; }
.mega-item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.mega-item .arr { align-self: center; }
.mi-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--pink); background: rgba(233, 131, 205, .1); border: 1px solid rgba(233, 131, 205, .25); transition: transform .3s cubic-bezier(.2, 1.6, .4, 1), background .2s, color .2s; }
.mega-item:hover .mi-ic { transform: rotate(-8deg) scale(1.08); background: var(--grad); color: #1a0815; }
.mega-feat { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 13; align-self: start; border: 1px solid var(--line-2); }
.mega-feat video, .mega-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18, 7, 15, .85)); pointer-events: none; }
.mega-feat::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; top: 0; z-index: 2; background: var(--grad); box-shadow: 0 0 16px 4px rgba(233, 131, 205, .6); animation: scanY 2.4s ease-in-out infinite alternate; }
.mf-shield { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #1a0815; background: var(--grad); box-shadow: 0 0 18px rgba(233, 131, 205, .7); animation: pop .5s .25s cubic-bezier(.2, 1.6, .4, 1) both; }
.mf-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; }
.mf-cap b { display: block; font-size: 13px; } .mf-cap small { font: 500 10px/1.4 var(--mono); color: var(--ok); }
/* изображение: медленный наезд камеры, метка формата */
.mega-feat.image img { animation: kenburns 9s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-3%, -2%); } }
.img-meta { position: absolute; top: 12px; left: 12px; z-index: 3; font: 500 9.5px/1 var(--mono); padding: 5px 7px; border-radius: 6px; background: rgba(18, 7, 15, .7); border: 1px solid var(--line-2); color: var(--text); }
/* аудио: обложка, живая волна, прогресс */
.mega-feat.audio { background: radial-gradient(120% 80% at 30% 10%, rgba(132, 143, 238, .35), transparent 60%), radial-gradient(100% 70% at 80% 90%, rgba(255, 133, 98, .25), transparent 60%), #1b0d17; }
.mega-feat.audio::before { display: none; }
.au-cover { position: absolute; left: 50%; top: 16%; width: 44%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; display: grid; place-items: center; color: #1a0815; background: conic-gradient(from 0deg, #848fee, #b59bde, #e983cd, #ff8562, #848fee); box-shadow: 0 0 40px -6px rgba(233, 131, 205, .8); animation: spin 8s linear infinite; }
.au-cover::after { content: ""; position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: #1b0d17; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.au-cover svg { position: absolute; top: 14%; width: 26px; height: 26px; }
.au-wave { position: absolute; left: 12px; right: 12px; bottom: 104px; height: 46px; z-index: 2; display: flex; align-items: center; gap: 2px; }
.au-wave i { flex: 1; height: 30%; border-radius: 2px; background: linear-gradient(180deg, #e983cd, #848fee); animation: eq 1s ease-in-out infinite alternate; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1.6); } }
.au-bar { position: absolute; left: 12px; right: 12px; bottom: 90px; height: 3px; z-index: 2; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.au-bar span { display: block; height: 100%; width: 24%; background: var(--grad); animation: auprog 12s linear infinite; }
@keyframes auprog { from { width: 0; } to { width: 100%; } }
.au-time { position: absolute; left: 12px; right: 12px; bottom: 74px; z-index: 2; display: flex; justify-content: space-between; font: 500 9.5px/1 var(--mono); color: var(--muted); }


/* колонки разделов (Видео, Изображение, Аудио) */
.mega-in.cols { grid-template-columns: 200px minmax(0, 1fr) 190px; }
.mega-in.cols .mega-head { gap: 12px; }
.soon-note { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.mega-cta { justify-self: start; gap: 6px; }
.mega-cta svg { width: 15px; height: 15px; }
.mega-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
.mcol-h { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); padding: 4px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.mcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mcol li { opacity: 0; }
.mega.open .mcol li { animation: megain .4s cubic-bezier(.2, .9, .2, 1) both; }
.mrow { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 9px; align-items: center; padding: 6px 8px; border-radius: 10px; color: var(--text); text-decoration: none; overflow: hidden; transition: background .15s, transform .2s cubic-bezier(.2, .9, .2, 1); }
.mrow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90px 40px at var(--mx, 20%) var(--my, 50%), rgba(233, 131, 205, .22), transparent 70%); opacity: 0; transition: opacity .15s; }
.mrow:hover { background: rgba(255, 255, 255, .04); transform: translateX(3px); }
.mrow:hover::before { opacity: 1; }
.mr-ic { width: 22px; height: 22px; display: grid; place-items: center; color: var(--pink); transition: transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.mr-ic svg { width: 16px; height: 16px; }
.mrow:hover .mr-ic { transform: scale(1.2) rotate(-8deg); }
.mr-t { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.mrow small { grid-column: 2; font-size: 11px; color: var(--muted); line-height: 1.3; }


/* значок подсказки «i»: пояснение появляется только при наведении */
.tip { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 8px; border-radius: 50%; border: 1px solid var(--line-2); font: 600 10px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); cursor: help; vertical-align: 1px; transition: color .15s, border-color .15s, background .15s; }
.tip:hover, .tip:focus-visible { color: #1a0815; background: var(--grad); border-color: transparent; }
.tip-box { position: absolute; left: -8px; top: calc(100% + 10px); z-index: 5; width: 230px; padding: 10px 12px; border-radius: 12px; background: rgba(27, 13, 23, .98); border: 1px solid var(--line-2); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .9); font: 500 12.5px/1.45 var(--body); letter-spacing: 0; text-transform: none; color: var(--text); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .18s, transform .2s cubic-bezier(.2, 1.2, .3, 1); }
.tip-box::before { content: ""; position: absolute; left: 12px; top: -6px; width: 10px; height: 10px; background: inherit; border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); transform: rotate(45deg); }
.tip:hover .tip-box, .tip:focus-visible .tip-box { opacity: 1; transform: none; }
.mega-head .eyebrow { display: flex; align-items: center; }
@media (max-width: 640px) { .lib-link { display: none; } }

/* каскад: страны → шаблон */
.cascade { position: fixed; z-index: 60; display: flex; gap: 8px; align-items: flex-start; opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .3s cubic-bezier(.2, 1.2, .3, 1); }
.cascade.open { opacity: 1; transform: none; }
.casc-list, .casc-tpl { border-radius: 18px; background: rgba(27, 13, 23, .98); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .9), 0 0 40px -24px rgba(233, 131, 205, .7); }
.casc-list { width: 290px; padding: 8px; display: grid; gap: 2px; }
.casc-h { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 6px 8px 8px; }
.casc-list a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; color: var(--text); text-decoration: none; font-size: 14px; animation: megain .35s cubic-bezier(.2, .9, .2, 1) both; }
.casc-list a:hover, .casc-list a.on { background: rgba(233, 131, 205, .12); }
.casc-list a em, .legal-card em, .tpl-h em { margin-left: auto; font: 500 9.5px/1 var(--mono); font-style: normal; padding: 4px 6px; border-radius: 6px; white-space: nowrap; }
em.reg { color: var(--ok); background: rgba(126, 226, 176, .12); } em.nor { color: var(--muted); background: rgba(255, 255, 255, .06); }
.fl { font-size: 18px; line-height: 1; }
.casc-tpl { width: 390px; padding: 14px; animation: megain .3s cubic-bezier(.2, .9, .2, 1); }
.tpl-in { display: grid; gap: 10px; cursor: pointer; }
.tpl-h { display: flex; gap: 8px; align-items: center; }
.tpl-in dl { margin: 0; display: grid; gap: 6px; font-size: 12.5px; }
.tpl-in dt { font: 500 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tpl-in dd { margin: 2px 0 0; }
.tpl-in pre { margin: 0; padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, .35); font: 400 11px/1.5 var(--mono); color: var(--muted); white-space: pre-wrap; max-height: 170px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.tpl-go { font: 600 13px/1 var(--body); color: var(--pink); }

/* страницы юридической защиты */
.legal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.legal-card { display: grid; gap: 8px; text-decoration: none; color: var(--text); transition: transform .25s cubic-bezier(.2, .9, .2, 1), border-color .2s; }
.legal-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.legal-card > span { display: flex; } .legal-card b { font-size: 17px; } .legal-card em { justify-self: start; margin-left: 0; }
.legal-card small { color: var(--muted); font-size: 13px; }
.legal-doc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.legal-text { min-height: 460px; font: 400 13px/1.55 var(--mono); }
@media (max-width: 960px) { .legal-doc { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.bigsum { font: 800 44px/1 var(--display); margin: 6px 0 12px; }
.demo-bar { max-width: 1200px; margin: 0 auto 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255, 199, 110, .35); background: rgba(255, 199, 110, .08); color: #f1e2c6; font-size: 13.5px; }
.demo-bar b { color: var(--warn); }
.subtabs { margin: 18px 0 0; }
.mega, .cascade { text-align: left; }
.mega-grid.one { grid-template-columns: minmax(0, 1fr); max-width: 560px; }

/* монетизация как в YouTube Studio: просмотры и зелёный значок «$» (иллюстрация) */
.views { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 6px; background: rgba(0, 0, 0, .62); font: 600 11px/1 var(--body); color: #fff; font-variant-numeric: tabular-nums; animation: pop .4s cubic-bezier(.2, 1.4, .4, 1) both; }
.views svg { opacity: .85; }
.monet { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 999px; background: rgba(0, 0, 0, .62); font: 600 10.5px/1 var(--body); color: #fff; animation: pop .4s .15s cubic-bezier(.2, 1.4, .4, 1) both; }
.monet i { font-style: normal; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #2ba640; color: #fff; font-weight: 800; font-size: 10px; }
.shield .sh-steps { position: absolute; bottom: 18%; left: 8px; right: 8px; display: grid; gap: 4px; justify-items: center; }
.shield .sh-steps span { font: 500 9.5px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; color: #1a0815; background: var(--grad); opacity: 0; transform: translateY(6px) scale(.9); animation: step .35s cubic-bezier(.2, 1.4, .4, 1) forwards; white-space: nowrap; }
.shield .sh-steps span:nth-child(1) { animation-delay: .9s; } .shield .sh-steps span:nth-child(2) { animation-delay: 1.3s; } .shield .sh-steps span:nth-child(3) { animation-delay: 1.7s; background: #2ba640; color: #fff; }
@keyframes step { to { opacity: 1; transform: none; } }
.shield.done .sh-steps { display: none; }
@media (max-width: 640px) { .shield .sh-steps span { font-size: 8px; } .views { font-size: 10px; } .monet { font-size: 9.5px; } }

.monet b { font-variant-numeric: tabular-nums; }
.monet.bump { animation: bump .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes bump { 40% { transform: scale(1.12); box-shadow: 0 0 16px rgba(43, 166, 64, .9); } }
.plus { position: absolute; z-index: 4; pointer-events: none; display: inline-flex; align-items: center; gap: 4px; transform: translateX(-50%); font: 700 12px/1 var(--body); color: #7ee2b0; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); animation: rise 2.6s cubic-bezier(.2, .7, .3, 1) forwards; }
.plus i { font-style: normal; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #2ba640; color: #fff; font-size: 9px; font-weight: 800; box-shadow: 0 0 10px rgba(43, 166, 64, .8); }
@keyframes rise { 0% { opacity: 0; transform: translate(-50%, 6px) scale(.8); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70px); } }
@media (max-width: 640px) { .sigflash { white-space: normal; max-width: calc(50% - 16px); line-height: 1.3; } }

/* ---------- превью меню: генерация изображения ---------- */
.mega-feat.gen img { filter: blur(var(--blur, 16px)) saturate(1.1); transform: scale(1.06); transition: filter .1s linear; animation: none; }
.mega-feat.gen.ready img { animation: kenburns 9s ease-in-out infinite alternate; }
.gen-noise { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; mix-blend-mode: screen; image-rendering: pixelated; }
.gen-grid { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(rgba(233, 131, 205, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(132, 143, 238, .14) 1px, transparent 1px); background-size: 18px 18px; transition: opacity .6s; }
.mega-feat.gen.ready .gen-grid { opacity: 0; }
.mega-feat.gen::before { display: none; }
.gen-hud { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 3; display: grid; gap: 6px; padding: 8px; border-radius: 10px; background: rgba(18, 7, 15, .72); border: 1px solid var(--line-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-right: 40px; }
.gen-prompt { font: 500 9.5px/1.35 var(--mono); color: var(--text); overflow: hidden; white-space: nowrap; width: 0; animation: gentype 6s steps(40) infinite; }
@keyframes gentype { 0% { width: 0; } 30%, 100% { width: 100%; } }
.gen-bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.gen-bar span { display: block; height: 100%; background: var(--grad); animation: genbar 6s linear infinite; }
@keyframes genbar { 0% { width: 0; } 75%, 100% { width: 100%; } }
.gen-st { font: 500 9.5px/1 var(--mono); color: var(--muted); } .gen-st b { color: var(--pink); }
.mega-feat.gen.ready .gen-st b { color: var(--ok); }

/* ---------- превью меню: сертификат и юридические шаблоны ---------- */
.mega-feat.cert-anim { background: radial-gradient(120% 70% at 20% 0%, rgba(132, 143, 238, .3), transparent 60%), #1b0d17; }
.mega-feat.cert-anim::before { display: none; }
.ca-paper { position: absolute; left: 14px; right: 14px; top: 16px; height: 64%; border-radius: 10px; padding: 12px; display: grid; align-content: start; gap: 7px; background: linear-gradient(170deg, #fbf7f1, #efe6f2); color: #2a1430; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .7); animation: paperin .6s cubic-bezier(.2, 1.2, .3, 1) both; overflow: hidden; }
@keyframes paperin { from { transform: translateY(20px) rotate(-3deg); opacity: 0; } }
.ca-h { font: 700 8.5px/1 var(--mono); letter-spacing: .14em; color: #7a2a6a; }
.ca-id { font: 600 10px/1 var(--mono); }
.ca-l { height: 5px; border-radius: 3px; background: #d9cfe0; transform-origin: left; animation: line 6s ease-out infinite; }
.ca-l.w1 { width: 90%; } .ca-l.w2 { width: 70%; animation-delay: .15s; } .ca-l.w3 { width: 80%; animation-delay: .3s; }
@keyframes line { 0% { transform: scaleX(0); } 12%, 100% { transform: scaleX(1); } }
.ca-hash { font: 500 8px/1.3 var(--mono); color: #5b3d63; overflow: hidden; white-space: nowrap; width: 0; animation: gentype 6s steps(36) .4s infinite; }
.ca-sig svg { width: 70%; height: 22px; } .ca-sig path { fill: none; stroke: #2a1430; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sig 6s ease-out infinite; }
@keyframes sig { 0%, 30% { stroke-dashoffset: 1; } 55%, 100% { stroke-dashoffset: 0; } }
.ca-seal { position: absolute; right: 8px; bottom: 8px; width: 58px; height: 58px; border-radius: 50%; animation: stamp 6s cubic-bezier(.2, 1.5, .4, 1) infinite; }
@keyframes stamp { 0%, 50% { opacity: 0; transform: scale(2.2) rotate(-25deg); } 60%, 100% { opacity: 1; transform: rotate(-8deg); } }
.ca-ok { font: 600 9px/1 var(--mono); color: #1d8a3a; opacity: 0; animation: okin 6s infinite; }
@keyframes okin { 0%, 62% { opacity: 0; } 70%, 100% { opacity: 1; } }
.ca-chips { position: absolute; left: 14px; right: 14px; top: calc(64% + 28px); z-index: 2; display: grid; gap: 6px; }
.ca-chips span { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); font: 500 10px/1 var(--mono); color: var(--text); opacity: 0; animation: chipin 6s infinite; }
.ca-chips span:nth-child(2) { animation-delay: .25s; }
.ca-chips svg { width: 13px; height: 13px; color: var(--pink); }
@keyframes chipin { 0%, 68% { opacity: 0; transform: translateX(-8px); } 76%, 100% { opacity: 1; transform: none; } }

/* ---------- превью меню: курсы ---------- */
.mega-feat.course { background: radial-gradient(120% 70% at 80% 0%, rgba(233, 131, 205, .28), transparent 60%), #1b0d17; }
.mega-feat.course::before { display: none; }
.co-player { position: absolute; left: 12px; right: 12px; top: 12px; height: 26%; border-radius: 12px; background: linear-gradient(135deg, rgba(132, 143, 238, .5), rgba(255, 133, 98, .35)); display: grid; place-items: center; overflow: hidden; }
.co-play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #1a0815; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: pulse2 2s infinite; }
@keyframes pulse2 { 70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.co-prog { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.co-prog span { display: block; height: 100%; border-radius: 3px; background: #fff; animation: auprog 8s linear infinite; }
.co-list { position: absolute; left: 12px; right: 12px; top: calc(26% + 20px); display: grid; gap: 6px; }
.co-row { display: flex; gap: 8px; align-items: center; padding: 4px 8px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); animation: corow 8s infinite; }
.co-row[data-k="1"] { animation-delay: 2s; } .co-row[data-k="2"] { animation-delay: 4s; } .co-row[data-k="3"] { animation-delay: 6s; }
@keyframes corow { 0%, 22% { border-color: var(--pink); background: rgba(233, 131, 205, .12); } 28%, 100% { border-color: var(--line); background: rgba(255, 255, 255, .03); } }
.co-ic { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: var(--pink); background: rgba(233, 131, 205, .12); }
.co-ic svg { width: 14px; height: 14px; }
.co-row b { display: block; font-size: 10.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; } .co-row small { font: 500 9px/1.2 var(--mono); color: var(--muted); }

/* ---------- превью меню: как работает (поток) ---------- */
.mega-feat.flow { background: radial-gradient(120% 70% at 50% 0%, rgba(132, 143, 238, .3), transparent 60%), #1b0d17; }
.mega-feat.flow::before { display: none; }
.fl-nodes { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: grid; justify-items: center; }
.fl-node { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fl-node b { font: 600 10px/1 var(--mono); color: var(--muted); }
.fl-ic { width: 32px; height: 32px; border-radius: 12px; display: grid; place-items: center; color: var(--pink); background: rgba(233, 131, 205, .1); border: 1px solid rgba(233, 131, 205, .3); animation: flnode 4s infinite; }
.fl-node[data-k="1"] .fl-ic { animation-delay: 1s; } .fl-node[data-k="2"] .fl-ic { animation-delay: 2s; } .fl-node[data-k="3"] .fl-ic { animation-delay: 3s; }
@keyframes flnode { 0%, 20% { background: var(--grad); color: #1a0815; box-shadow: 0 0 20px rgba(233, 131, 205, .8); } 30%, 100% { background: rgba(233, 131, 205, .1); color: var(--pink); box-shadow: none; } }
.fl-link { position: relative; width: 2px; height: 14px; background: var(--line-2); overflow: hidden; }
.fl-link i { position: absolute; left: 0; width: 2px; height: 8px; background: var(--pink); box-shadow: 0 0 8px var(--pink); animation: fldrop 1s linear infinite; }
@keyframes fldrop { from { top: -8px; } to { top: 20px; } }

/* предложение юриста — спокойно, без давления */
.lawyer-soft { border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); padding: 14px 16px; display: grid; gap: 14px; }
.ls-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ls-row p { flex: 1; min-width: 220px; font-size: 14px; color: var(--muted); } .ls-row p b { color: var(--text); }
.ls-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--lilac); background: rgba(181, 155, 222, .1); }
.ls-ic svg { width: 18px; height: 18px; }
.lw-done { display: grid; gap: 6px; justify-items: start; } .lw-done svg { width: 24px; height: 24px; color: var(--ok); } .lw-done b { font-size: 16px; }
.tpl-alt { font-size: 11.5px; color: var(--muted); }

/* пошаговая подача */
.steps-guide { margin-bottom: 16px; padding: 20px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); }
.sg-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.sg-head h3 { font: 800 18px/1.2 var(--display); text-transform: uppercase; margin-right: 8px; }
.sg-sum { font: 500 11px/1 var(--mono); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); } .sg-sum b { color: var(--text); }
.sg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.sg-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 10px 0; position: relative; animation: megain .5s cubic-bezier(.2, .9, .2, 1) both; }
.sg-list li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 42px; bottom: -10px; width: 2px; background: linear-gradient(var(--line-2), transparent); }
.sg-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--mono); color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.sg-list b { font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sg-list p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.sg-tag { font: 500 9.5px/1 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; padding: 4px 6px; border-radius: 6px; color: var(--lilac); background: rgba(181, 155, 222, .12); }
.sg-tag.warn { color: var(--warn); background: rgba(255, 199, 110, .14); }
.lc-steps { font: 500 11px/1 var(--mono); color: var(--lilac); }
.lw-form[hidden], [hidden] { display: none !important; }
#lw-open svg { width: 15px; height: 15px; }
.tpl-alt { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 7px 11px; border-radius: 999px; background: var(--grad); color: #1a0815; font: 600 12px/1 var(--body); }
.tpl-alt svg { width: 14px; height: 14px; }
.tpl-alt:hover { box-shadow: 0 0 18px rgba(233, 131, 205, .7); }
/* переключатель языка: одна кнопка, по нажатию раскрываются остальные */
.lang { position: relative; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); }
.lang button { border: 0; background: transparent; color: var(--text); font: 600 11px/1 var(--mono); padding: 8px 9px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.lang-cur span { font-size: 9px; color: var(--muted); transition: transform .2s; }
.lang.open .lang-cur span { transform: rotate(180deg); }
.lang-menu { display: inline-flex; overflow: hidden; max-width: 0; opacity: 0; transition: max-width .3s cubic-bezier(.2, .9, .2, 1), opacity .2s; }
.lang.open .lang-menu { max-width: 120px; opacity: 1; }
.lang-menu button { color: var(--muted); }
.lang-menu button:hover { color: #1a0815; background: var(--grad); }

.mh-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.mh-facts li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--text); }
.mh-facts svg { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 10px; color: var(--pink); background: rgba(233, 131, 205, .1); border: 1px solid rgba(233, 131, 205, .25); }
.mega-head .mega-cta { margin-top: 6px; justify-self: start; }
.mega-head .mega-cta svg { width: 14px; height: 14px; }

/* вакансии */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.job-card { display: grid; gap: 8px; text-decoration: none; color: var(--text); transition: transform .25s cubic-bezier(.2, .9, .2, 1), border-color .2s; }
.job-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.job-card b { font-size: 17px; } .job-card small { color: var(--muted); font-size: 13px; } .jc-go { font: 600 13px/1 var(--body); color: var(--pink); }
.job-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: jf; }
.job-flow li { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); animation: megain .5s cubic-bezier(.2, .9, .2, 1) both; counter-increment: jf; }
.job-flow li::after { content: counter(jf); position: absolute; top: 12px; right: 14px; font: 800 22px/1 var(--display); color: rgba(181, 155, 222, .25); }
.job-flow b { font-size: 14.5px; } .job-flow small { color: var(--muted); font-size: 12.5px; }
.jf-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #1a0815; background: var(--grad); }
.jf-ic svg { width: 18px; height: 18px; }
.job-detail ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
@media (max-width: 960px) { .job-flow { grid-template-columns: minmax(0, 1fr); } }
/* шапка: 7 вкладок помещаются */
.topbar-in { max-width: 1320px; gap: 10px; }
.navbtn { padding: 9px 10px; font-size: 13.5px; }
.job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .job-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1700px) { .brand small { display: none; } }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.pillar { display: grid; gap: 8px; text-decoration: none; color: var(--text); transition: transform .25s cubic-bezier(.2,.9,.2,1), border-color .2s; }
.pillar:hover { transform: translateY(-4px); border-color: var(--pink); }
.pillar b { font-size: 16px; } .pillar small { color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.brand-name { display: inline-flex; align-items: center; gap: 6px; }
.brand-pro { display: inline-flex; align-items: center; gap: 3px; font: 600 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 6px 4px 5px; border-radius: 6px; color: #1a0815; background: var(--grad); box-shadow: 0 0 12px -2px rgba(233, 131, 205, .6); }
/* выбор логотипа */

/* ---------- Вакансии: направления, анкета, ориентир дохода ---------- */
.job-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.jbadge { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); }
.jbadge svg { grid-row: span 2; color: var(--pink); }
.jbadge b { font-size: 14px; } .jbadge small { color: var(--muted); font-size: 12.5px; }
.jbadge.ok { border-color: rgba(126, 226, 176, .4); background: rgba(126, 226, 176, .07); } .jbadge.ok svg { color: var(--ok); }
.jcount { font: 600 14px/1 var(--body); color: var(--pink); }
.jdirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.jdir { position: relative; display: grid; gap: 6px; align-content: start; text-align: left; color: var(--text); cursor: pointer; font: inherit; transition: transform .2s cubic-bezier(.2, .9, .2, 1), border-color .2s, background .2s; }
.jdir:hover { transform: translateY(-3px); border-color: rgba(233, 131, 205, .6); }
.jdir b { font-size: 15.5px; line-height: 1.25; padding-right: 26px; } .jdir small { color: var(--muted); font-size: 12.5px; }
.jd-ok { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: transparent; transition: all .2s; }
.jdir[aria-pressed="true"] { border-color: var(--pink); background: linear-gradient(160deg, rgba(132, 143, 238, .16), rgba(233, 131, 205, .14)); box-shadow: 0 0 0 1px var(--pink), 0 10px 30px rgba(233, 131, 205, .15); }
.jdir[aria-pressed="true"] .jd-ok { background: var(--grad); border-color: transparent; color: #1a0815; }
.job-form-wrap { margin-top: 18px; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.job-main { min-width: 0; }
#apply { scroll-margin-top: 90px; }
.job-form { display: grid; gap: 18px; }
.job-form h3 { margin: 0; }
.jq { display: grid; gap: 10px; } .jq[hidden] { display: none !important; }
.jq-t { margin: 0; font-weight: 700; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.jq-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(181, 155, 222, .16); color: var(--text); font: 800 12px/1 var(--display); flex: none; }
.jchips { display: flex; flex-wrap: wrap; gap: 8px; }
.jchip { display: grid; gap: 2px; text-align: left; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); cursor: pointer; font: 600 13.5px/1.2 var(--body); transition: border-color .15s, background .15s; }
.jchip small { color: var(--muted); font-weight: 500; font-size: 11.5px; }
.jchip:hover { border-color: rgba(233, 131, 205, .6); }
.jchip[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #1a0815; }
.jchip[aria-pressed="true"] small { color: rgba(26, 8, 21, .75); }
.jcourse { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px dashed rgba(181, 155, 222, .4); }
.jcourse p { margin: 0; }
.job-form textarea { width: 100%; min-height: 90px; font: 14px/1.5 var(--body); }
.jest { position: sticky; top: 92px; display: grid; gap: 10px; margin-top: 18px; }
.jest .eyebrow { margin: 0; }
.jest-sum { display: flex; align-items: baseline; gap: 8px; }
.jest-sum b { font: 800 40px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jest-sum span { color: var(--muted); font-size: 14px; }
.jest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.jest-list li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.jest-list span { color: var(--muted); }
.feature.picked { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
@media (max-width: 1000px) {
  .jdirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-layout { grid-template-columns: 1fr; }
  /* На телефоне доход — компактная плашка внизу экрана */
  .jest { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; z-index: 40; padding: 10px 16px; gap: 0; grid-template-columns: 1fr auto; align-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .55); backdrop-filter: blur(14px); background: rgba(26, 11, 23, .96); }
  .jest > :not(.eyebrow):not(.jest-sum) { display: none; }
  .jest .eyebrow { font-size: 10px; }
  .jest-sum { grid-row: span 2; grid-column: 2; }
  .jest-sum b { font-size: 26px; }
  .job-main { padding-bottom: 70px; }
}
@media (max-width: 640px) { .job-badges { grid-template-columns: 1fr; } .jdirs { gap: 8px; } .jdir { padding: 14px; } .jdir b { font-size: 14px; } }

/* ---------- Закрытая страница заявок ---------- */
.adm-list { display: grid; gap: 12px; }
.adm-card { display: grid; gap: 10px; }
.adm-h { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.adm-h b { font-size: 17px; margin-right: auto; }
.adm-h select { width: auto; min-height: 38px; padding: 0 12px; }
.adm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; margin: 0; }
.adm-kv dd { word-break: break-word; }
.tag.st-new, .tag.st-pending { color: #1a0815; background: var(--grad); border-color: transparent; }
.tag.st-done, .tag.st-approved { color: var(--ok); border-color: rgba(126, 226, 176, .4); }
.tag.st-rejected { color: var(--bad); }
@media (max-width: 1760px) { .acct .role-tag { display: none; } }
@media (min-width: 641px) and (max-width: 1540px) { .acct .lib-link { display: none; } }
.mh-hero { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; font: 800 26px/1.15 var(--display); }
.mh-hero .mh-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(126, 226, 176, .6); animation: livepulse 1.8s ease-out infinite; flex: none; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(126, 226, 176, .6); } 100% { box-shadow: 0 0 0 12px rgba(126, 226, 176, 0); } }
@media (prefers-reduced-motion: reduce) { .mh-hero .mh-dot { animation: none; } }
.jform-h { font-size: 26px; margin-bottom: 4px; }
.jq-first { margin: 6px 0 12px; }
.jfmts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jfmt b { font-size: 18px; }
#j-rest { animation: megain .45s cubic-bezier(.2, .9, .2, 1) both; }
.jgrad { margin-top: 12px; align-items: center; }
.jgrad b { font-size: 15px; }
/* Ненавязчивое предложение курса: появляется при наведении или после выбора */
.jd-course { display: block; font: 600 12.5px/1.3 var(--body); color: var(--pink); text-decoration: none; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .25s, max-height .25s, margin .25s; }
.jd-course:hover { text-decoration: underline; }
.jdir:hover .jd-course, .jdir:focus-within .jd-course, .jdir[aria-pressed="true"] .jd-course { opacity: 1; max-height: 40px; margin-top: 4px; }
.jform-sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; }

/* ================= Сценарии создания: меню, визуалы, страницы ================= */
.mega-in.scenes { grid-template-columns: 210px minmax(0, 1fr) 380px; align-items: stretch; }
.sc-lead { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.sc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; }
.sc-rows li { animation: megain .45s cubic-bezier(.2, .9, .2, 1) both; }
.sc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 16px; border: 1px solid transparent; color: var(--text); text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.sc-row b { display: block; font-size: 15px; } .sc-row small { color: var(--muted); font-size: 12.5px; }
.sc-row .arr { color: var(--muted); font-size: 20px; transition: transform .2s, color .2s; }
.sc-row.on, .sc-row:hover { background: linear-gradient(120deg, rgba(132, 143, 238, .14), rgba(233, 131, 205, .12)); border-color: rgba(233, 131, 205, .35); }
.sc-row.on .arr { color: var(--pink); transform: translateX(3px); }
.sc-preview { position: relative; min-height: 330px; }
.sc-preview .scene-vis { position: absolute; inset: 0; animation: megain .4s cubic-bezier(.2, .9, .2, 1) both; }

.scene-vis { position: relative; display: block; overflow: hidden; border-radius: 18px; border: 1px solid var(--line-2); background: radial-gradient(120% 90% at 20% 0%, rgba(132, 143, 238, .2), transparent 60%), radial-gradient(100% 80% at 90% 100%, rgba(255, 133, 98, .14), transparent 60%), #120810; min-height: 220px; }
.scene-vis.mega-feat { aspect-ratio: auto; }
.scene-vis.big { min-height: 440px; }
.sv-tag { position: absolute; top: 10px; right: 10px; z-index: 6; padding: 4px 8px; border-radius: 999px; background: rgba(18, 7, 15, .75); border: 1px solid var(--line-2); font: 600 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Лента постеров, как в стриминге */
.sv-ribbon, .sv-toons { display: grid; align-content: center; gap: 10px; padding: 40px 0 14px; background: linear-gradient(180deg, #0b0509, #150a12); }
.rb-h { position: absolute; top: 12px; left: 14px; z-index: 5; font: 800 14px/1 var(--display); letter-spacing: .02em; }
.rb-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rb-track { display: flex; width: max-content; animation: rbmove 28s linear infinite; }
.rb-row.rev .rb-track { animation-direction: reverse; animation-duration: 34s; }
.rb-row:hover .rb-track { animation-play-state: paused; }
@keyframes rbmove { to { transform: translateX(-50%); } }
.rb-card { position: relative; flex: none; width: 92px; aspect-ratio: 2 / 3; margin-right: 10px; border-radius: 10px; overflow: hidden; background: #241822; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); transition: transform .25s; }
.scene-vis.big .rb-card { width: 128px; }
.rb-card:hover { transform: scale(1.06); }
.rb-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-card b { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 7px 7px; font-size: 10.5px; line-height: 1.2; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); }
.rb-card.toon i { position: absolute; inset: 0 0 24px; display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.rb-card.toon i svg { width: 38%; height: auto; }
.t-a { background: linear-gradient(160deg, #ffb36b, #e9568b); } .t-b { background: linear-gradient(160deg, #7cc7ff, #6a5cff); }
.t-c { background: linear-gradient(160deg, #ffd86b, #ff7a59); } .t-d { background: linear-gradient(160deg, #3ad6c6, #2a6cf0); }
.t-e { background: linear-gradient(160deg, #c79bff, #ff7ac3); } .t-f { background: linear-gradient(160deg, #9fe36a, #2fb07a); }

/* Телефон: UGC и лента коротких видео */
.sv-ugc, .sv-phone { display: grid; place-items: center; padding: 14px; }
.ph-frame { position: relative; height: 100%; max-height: 300px; aspect-ratio: 9 / 18; border-radius: 26px; border: 3px solid #2e2331; overflow: hidden; background: #000; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7), 0 0 40px -10px rgba(233, 131, 205, .5); }
.scene-vis.big .ph-frame { max-height: 410px; }
.sc-preview .ph-frame, .sc-card .ph-frame { height: 300px; }
.sc-card .ph-frame { height: 196px; }
.ph-feed { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ph-item { position: relative; flex: none; height: 100%; }
.ph-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-phone .ph-feed { height: 300%; animation: feed 9s cubic-bezier(.7, 0, .3, 1) infinite; }
.sv-phone .ph-item { height: calc(100% / 3); }
@keyframes feed { 0%, 28% { transform: translateY(0); } 33%, 61% { transform: translateY(-33.333%); } 66%, 94% { transform: translateY(-66.666%); } 100% { transform: translateY(0); } }
.ph-ui { position: absolute; right: 8px; bottom: 60px; z-index: 3; display: grid; gap: 10px; }
.ph-ui i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; }
.ph-ui i svg { width: 16px; height: 16px; }
.ph-ui i:last-child { background: var(--grad); color: #1a0815; }
.ph-cap { position: absolute; left: 10px; right: 46px; bottom: 12px; z-index: 3; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.ph-cap b { display: block; font-size: 12px; } .ph-cap small { font-size: 10px; color: rgba(255, 255, 255, .8); }

/* Треки и площадки */
.sv-tracks { display: grid; align-content: center; gap: 14px; padding: 18px; }
.tr-list { display: grid; gap: 8px; }
.tr-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; padding: 7px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid transparent; animation: trhl 8s infinite; }
.tr-row:nth-child(2) { animation-delay: 2s; } .tr-row:nth-child(3) { animation-delay: 4s; } .tr-row:nth-child(4) { animation-delay: 6s; }
@keyframes trhl { 0%, 22% { background: rgba(233, 131, 205, .14); border-color: rgba(233, 131, 205, .4); } 27%, 100% { background: rgba(255, 255, 255, .03); border-color: transparent; } }
.tr-cover { width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.tr-row b { display: block; font-size: 13.5px; } .tr-row small { color: var(--muted); font: 500 11px/1.3 var(--mono); }
.tr-eq { display: flex; gap: 2px; align-items: flex-end; height: 16px; }
.tr-eq i { width: 3px; height: 40%; background: var(--pink); border-radius: 2px; animation: eq .8s ease-in-out infinite alternate; }
.tr-eq i:nth-child(2) { animation-delay: -.3s; } .tr-eq i:nth-child(3) { animation-delay: -.6s; }
.tr-plat { display: flex; flex-wrap: wrap; gap: 6px; }
.tr-plat small { width: 100%; color: var(--muted); font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.tr-plat span { padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 600; }

/* Вебкодинг: код превращается в сайт */
.sv-code { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; padding: 40px 16px 16px; }
.cd-code { display: grid; gap: 8px; font: 500 11px/1.3 var(--mono); color: #c9b8ff; }
.cd-code i { font-style: normal; white-space: nowrap; overflow: hidden; width: 0; border-right: 2px solid var(--pink); animation: type 8s steps(22) infinite; }
.cd-code .c2 { animation-delay: .8s; } .cd-code .c3 { animation-delay: 1.6s; } .cd-code .c4 { animation-delay: 2.4s; }
@keyframes type { 0% { width: 0; } 18%, 85% { width: 100%; border-color: transparent; } 100% { width: 0; } }
.cd-site { display: grid; gap: 7px; padding: 10px; border-radius: 12px; background: #f6f1f7; min-height: 170px; align-content: start; }
.cd-site > span { border-radius: 6px; opacity: 0; animation: blockin 8s infinite; }
.cd-site .s1 { height: 12px; background: #2a1a2a; animation-delay: .6s; }
.cd-site .s2 { height: 42px; background: var(--grad); animation-delay: 1.4s; }
.cd-site .s3 { height: 14px; width: 55%; background: #e983cd; animation-delay: 2.2s; }
.cd-site .s4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; animation-delay: 3s; }
.cd-site .s4 i { height: 34px; border-radius: 5px; background: #ddd2e0; }
@keyframes blockin { 0% { opacity: 0; transform: translateY(6px); } 8%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Чат-бот */
.sv-chat { display: grid; align-content: start; gap: 10px; padding: 16px; background: linear-gradient(180deg, #141c2b, #10131d); }
.ch-head { display: flex; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ch-head svg { color: #6ab7ff; }
.ch-msgs { display: grid; gap: 8px; }
.ch-m { max-width: 80%; padding: 8px 11px; border-radius: 14px; font-size: 12.5px; opacity: 0; animation: blockin 8s infinite; }
.ch-m.bot { background: #222b3d; border-bottom-left-radius: 4px; }
.ch-m.me { justify-self: end; background: #3a6df0; border-bottom-right-radius: 4px; }
.ch-msgs .m2 { animation-delay: 1.2s; } .ch-msgs .m3 { animation-delay: 2.4s; } .ch-msgs .m4 { animation-delay: 3.4s; }
.ch-btns { display: flex; gap: 6px; opacity: 0; animation: blockin 8s infinite; }
.ch-btns i { font-style: normal; padding: 6px 12px; border-radius: 10px; border: 1px solid #3a6df0; color: #8fb4ff; font-size: 12px; }

/* Страницы сценариев */
.seg a { color: var(--muted); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 13.5px; white-space: nowrap; text-decoration: none; }
.seg a.on { background: var(--grad); color: #1a0815; }
.sc-tabs { margin-bottom: 18px; }
.sc-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.sc-side { position: sticky; top: 92px; display: grid; gap: 12px; }
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sc-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; animation: megain .5s cubic-bezier(.2, .9, .2, 1) both; }
.sc-step h3 { margin: 4px 0 4px; } .sc-step p { margin: 0; color: var(--muted); }
.sc-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #1a0815; font: 800 17px/1 var(--display); }
.sc-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sc-tool { display: grid; gap: 2px; padding: 9px 13px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.sc-tool b { font-size: 13.5px; } .sc-tool small { color: var(--muted); font-size: 11.5px; }
.sc-mh { margin: 14px 0 6px; color: var(--muted); font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.sc-models { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-models span { padding: 6px 11px; border-radius: 999px; font: 600 12px/1 var(--body); border: 1px solid transparent; background: linear-gradient(#1b0d17, #1b0d17) padding-box, var(--grad) border-box; }
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sc-card { display: grid; padding: 0; overflow: hidden; color: var(--text); text-decoration: none; transition: transform .25s, border-color .2s; }
.sc-card:hover { transform: translateY(-4px); border-color: rgba(233, 131, 205, .5); }
.sc-card .scene-vis { border: 0; border-radius: 0; height: 220px; min-height: 0; }
.sc-card-t { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; }
.sc-card-t b { display: block; font-size: 15.5px; } .sc-card-t small { color: var(--muted); font-size: 12.5px; }
.sc-card-t .arr { color: var(--pink); font-size: 20px; }
@media (max-width: 1000px) { .sc-page { grid-template-columns: 1fr; } .sc-side { position: static; order: -1; } .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sc-grid { grid-template-columns: 1fr; } .sv-code { grid-template-columns: 1fr; } .scene-vis.big { min-height: 320px; } .sc-tabs { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .rb-track, .sv-phone .ph-feed, .tr-row, .cd-code i, .cd-site > span, .ch-m, .ch-btns { animation: none; opacity: 1; width: auto; } }
.sc-step .sc-mh { margin: 14px 0 8px; }
.sc-card .ph-cap, .sc-card .ph-ui { display: none; }
@media (min-width: 1001px) and (max-width: 1365px) { .navbtn { padding: 8px 7px; font-size: 13px; } .topbar-in { gap: 6px; } }
@media (min-width: 1700px) { .topbar-in { max-width: 1600px; } }
@media (min-width: 1001px) and (max-width: 1279px) { .brand .brand-pro { display: none; } }
.sc-preview .scene-vis.mega-feat { position: absolute; inset: 0; height: auto; aspect-ratio: auto; }
.sc-preview .sv-tracks { gap: 10px; padding: 14px; }
.sc-preview .tr-row { padding: 5px; grid-template-columns: 34px 1fr auto; }
.sc-preview .tr-cover { width: 34px; height: 34px; }
.sc-preview .tr-plat span { padding: 4px 8px; font-size: 11px; }
.sc-step .btn { white-space: normal; text-align: left; }
@media (max-width: 640px) { .sc-step { grid-template-columns: 1fr; gap: 10px; } .sc-n { width: 34px; height: 34px; font-size: 15px; } }
.cd-code s { text-decoration: none; color: #e983cd; }
