/* Нотка — сайт. Почти чёрный фон, один живой свет (знак N), крупная спокойная типографика.
   Свет рисует flow.js (WebGL) на фиксированном холсте за всеми сценами. */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/onest-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #050405;
  --ink: #f5f2f4;
  --ink-2: rgba(245, 242, 244, 0.62);
  --ink-3: rgba(245, 242, 244, 0.36);
  --hair: rgba(255, 255, 255, 0.09);
  --rose: #FF2D78;
  --rose-deep: #D0286A;
  --rose-soft: #ff9cc0;
  --mono: "Cascadia Mono", "JetBrains Mono", "SF Mono", ui-monospace, Consolas, "Roboto Mono", monospace;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5.2vw, 80px);
  --ease: cubic-bezier(.2, .75, .15, 1);
  --soft: cubic-bezier(.45, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code { font-family: var(--mono); }
[hidden] { display: none !important; }
::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; border-radius: 4px; }

.mono {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.45;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}

/* ---------- Свет ---------- */
/* высота по самому большому вьюпорту: адресная строка телефона не меняет размер холста */
#flow { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; display: block; z-index: 0; pointer-events: none; }
html.static #flow { position: absolute; height: 100vh; height: 100svh; }
.n-fallback { display: none; }
html.no-gl .n-fallback {
  display: block; position: absolute; z-index: 0; top: 50vh; left: calc(44vw + 46vh); height: 112vh;
  transform: translate(-50%, -50%); filter: drop-shadow(0 0 40px rgba(255,45,120,.4)); pointer-events: none;
}
main, .foot, .top { position: relative; z-index: 1; }
/* без WebGL или при «уменьшении движения» — спокойные статичные ореолы у сцен */
html.static .scene:not(.hero)::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 70vmax; height: 70vmax; right: -20vmax; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(255,45,120,.14), rgba(208,40,106,.05) 55%, transparent 75%);
}
html.static .scene:nth-of-type(odd):not(.hero)::before { right: auto; left: -25vmax; }

/* ---------- Навигация ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .6s var(--soft), padding .6s var(--soft), border-color .6s;
  border-bottom: 1px solid transparent;
}
.top.scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(5, 4, 5, 0.55); border-bottom-color: var(--hair);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand svg { width: 24px; height: 24px; }
.links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.links a { color: var(--ink-2); transition: color .3s; }
.links a:hover { color: var(--ink); }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 24px 0 20px; border-radius: 14px;
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-light { background: #fff; color: #0a0809; box-shadow: 0 14px 40px -16px rgba(255, 45, 120, .7); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -14px rgba(255, 45, 120, .9); }
.alt-android-first { display: none; }
html.is-android .alt-android-first { display: inline-flex; }
html.is-android .btn-win { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.alts { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14.5px; color: var(--ink-2); }
.alts a { transition: color .3s; }
.alts a:hover { color: var(--ink); }
.alts.center { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 4px; transition: border-color .3s, gap .4s var(--ease); }
.link svg { width: 12px; height: 12px; }
.link:hover { border-color: var(--rose); gap: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 16px 0 0; }
.meta span + span::before { content: "·"; margin: 0 10px; color: var(--ink-3); }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1); border-radius: 22px;
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
}

/* ---------- Появление: из размытия в резкость ---------- */
html.js [data-r] {
  opacity: 0; transform: translateY(26px); filter: blur(14px);
  transition: opacity 1.3s var(--soft), transform 1.6s var(--ease), filter 1.3s var(--soft);
  transition-delay: var(--d, 0s);
}
html.js [data-r].in { opacity: 1; transform: none; filter: none; }

/* ---------- Сцены ---------- */
.scene {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: 16vh var(--pad);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 6vw;
}
.idx { margin: 0 0 26px; display: flex; align-items: center; gap: 12px; }
.idx::before { content: ""; width: 22px; height: 1px; background: var(--rose); box-shadow: 0 0 10px var(--rose); }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -0.05em; }
h2 { font-size: clamp(40px, 5.3vw, 86px); line-height: .98; max-width: 9.5em; }
h2 span, h1 span { color: rgba(245,242,244,.4); }
.sub { margin: 26px 0 0; max-width: 27em; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18.5px); }
.copy.center { text-align: center; margin: 0 auto; }
.copy.center h2, .copy.center .sub { margin-left: auto; margin-right: auto; }
.copy.center .idx { justify-content: center; }

/* 00 — первый кадр */
.hero { display: block; padding: 0; height: 100vh; height: 100svh; min-height: 620px; }
.hero-copy { position: absolute; left: var(--pad); bottom: clamp(70px, 13vh, 140px); width: min(620px, 44vw); }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: var(--ink-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(255,45,120,.12), 0 0 16px 2px rgba(255,45,120,.8); animation: breathe 4s var(--soft) infinite; }
@keyframes breathe { 50% { opacity: .45; transform: scale(.8); } }
h1 { font-size: clamp(56px, 7.2vw, 124px); line-height: .9; letter-spacing: -0.058em; }
.lede { margin: 28px 0 36px; max-width: 26em; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-3);
}
.cue svg { width: 12px; height: 12px; animation: drift 2.6s var(--soft) infinite; }
@keyframes drift { 0%, 100% { transform: translateY(-3px); opacity: .4; } 50% { transform: translateY(3px); opacity: 1; } }

/* 01 — Мой микс */
.covers { position: relative; width: min(500px, 38vw); aspect-ratio: 1; margin: 0 auto; will-change: transform; }
.cv { position: absolute; inset: 0; opacity: 0; transform: scale(.94) translateY(10px); transition: opacity 1.6s var(--soft), transform 2s var(--ease); }
.cv.on { opacity: 1; transform: none; }
.cv img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.1); }
.cv .glow { position: absolute; inset: 6%; width: 88%; height: 88%; border-radius: 40px; filter: blur(60px) saturate(1.7); opacity: .85; transform: translateY(8%) scale(1.15); box-shadow: none; }
.far { position: absolute; width: 30%; aspect-ratio: 1; opacity: .4; will-change: transform; }
.far img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; filter: blur(7px) saturate(.9); }
.f1 { left: -34%; top: 6%; }
.f2 { right: -30%; top: -12%; width: 22%; opacity: .3; }
.f3 { right: -24%; bottom: -8%; width: 26%; }
.f2 img { filter: blur(11px); }
.cv-cap { position: absolute; left: 0; right: 0; top: calc(100% + 26px); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: opacity .6s var(--soft); }
.cv-cap b { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.cv-cap span { color: var(--ink-3); font-size: 14px; }
.cv-cap.swap { opacity: 0; }
.mood { display: flex; align-items: center; gap: 16px; margin-top: 46px; }
.mood-line { position: relative; flex: 0 1 220px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.3)); }
.mood-dot {
  position: absolute; left: 0; top: -6px; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 5px rgba(255,45,120,.18), 0 0 22px 4px rgba(255,45,120,.75);
  transition: transform 1.6s var(--ease); will-change: transform;
}

/* 02 — Тексты */
.lines {
  position: relative; height: min(70vh, 640px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent); mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
  --slot: clamp(96px, 10.5vw, 148px);
}
.ln { position: absolute; left: 0; right: 0; top: 50%; margin-top: calc(var(--slot) * -.42); transition: transform 1.4s var(--ease), opacity 1.1s var(--soft), filter 1.1s var(--soft); opacity: .16; filter: blur(7px); will-change: transform; }
.ln p { margin: 0; font-weight: 600; font-size: clamp(26px, 2.9vw, 46px); line-height: 1.08; letter-spacing: -0.035em; }
.ln small { display: block; margin-top: 10px; font-size: clamp(15px, 1.15vw, 18px); color: var(--rose-soft); opacity: 0; transition: opacity 1s var(--soft) .25s; }
.ln.near { opacity: .4; filter: blur(2.5px); }
.ln.on { opacity: 1; filter: none; }
.ln.on p { text-shadow: 0 0 40px rgba(255,45,120,.35); }
.ln.on small { opacity: .8; }
.lines-note { position: absolute; left: 0; bottom: 0; }

/* Сцены с крупной центральной иллюстрацией: текст сверху, кадр под ним */
.stage-scene { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; gap: 5vh; padding: 12vh var(--pad) 10vh; }
.stage-scene .idx { margin-bottom: 18px; }
.stage-scene .sub { margin-top: 18px; }
.stage-scene h2 { font-size: clamp(36px, 4.4vw, 70px); max-width: 14em; }
.stage-scene .sub { max-width: 34em; }
.stage { position: relative; width: min(1080px, 100%); }

/* 03 — Играет в фоне: абстрактный рабочий стол */
.bg .stage { width: min(980px, 86%, calc((100vh - 360px) * 1.6)); }
.desk {
  position: relative; container-type: inline-size; width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: #080608;
  box-shadow: 0 60px 140px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.6), 0 0 120px -30px rgba(255,45,120,.35);
}
.wall { position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 28% 18%, rgba(255,45,120,.22), transparent 62%),
  radial-gradient(55% 60% at 88% 95%, rgba(71,32,78,.75), transparent 70%),
  linear-gradient(160deg, #140a11, #060406 70%); }
/* фоновое рабочее окно — чтобы было видно, что это обычный рабочий стол */
.doc { position: absolute; left: 6%; top: 22%; width: 46%; height: 58%; border-radius: 1.1cqw; padding: 4.6cqw 3cqw 0; display: flex; flex-direction: column; gap: 1.6cqw;
  background: rgba(22,16,20,.75); border: 1px solid rgba(255,255,255,.07); box-shadow: 0 2cqw 5cqw -1cqw rgba(0,0,0,.7); }
.doc-bar { position: absolute; left: 0; right: 0; top: 0; height: 3.2cqw; display: flex; gap: .7cqw; align-items: center; justify-content: flex-end; padding: 0 1.2cqw; border-bottom: 1px solid rgba(255,255,255,.05); }
.doc-bar i { width: .8cqw; height: .8cqw; border-radius: 50%; background: rgba(255,255,255,.12); }
.doc b { display: block; height: 1cqw; width: 88%; border-radius: 1cqw; background: rgba(255,255,255,.08); }
.doc b.s { width: 56%; }
.win {
  position: absolute; left: 17%; top: 10%; width: 58%; height: 64%; border-radius: 1.3cqw; overflow: hidden;
  background: linear-gradient(180deg, rgba(28,16,23,.92), rgba(14,9,12,.92)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 3cqw 6cqw -1cqw rgba(0,0,0,.8);
  transform-origin: 50% 50%; transition: transform 1.05s cubic-bezier(.55,0,.25,1), opacity .9s var(--soft);
}
.win.gone { transform: translate(var(--fx, 30cqw), var(--fy, 30cqw)) scale(.04); opacity: 0; }
.win-bar { height: 4cqw; padding: 0 1.4cqw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1.25cqw; font-weight: 600; }
.win-t { display: flex; align-items: center; gap: .7cqw; }
.win-t svg { width: 1.5cqw; height: 1.5cqw; }
.win-c { display: flex; gap: 1.1cqw; }
.win-c i { width: 1cqw; height: 1cqw; border-radius: 50%; background: rgba(255,255,255,.18); transition: background .3s, box-shadow .3s; }
.win-c i.x.hit { background: var(--rose); box-shadow: 0 0 1cqw var(--rose); }
.win-body { display: flex; gap: 2.6cqw; padding: 2.6cqw; align-items: center; }
.win-body .bg-cover { width: 22cqw; height: 22cqw; border-radius: 1cqw; object-fit: cover; box-shadow: 0 2cqw 4cqw -1cqw rgba(0,0,0,.8); }
.win-info { display: flex; flex-direction: column; gap: .5cqw; min-width: 0; }
.win-info .mono { font-size: .95cqw; }
.win-info b { font-size: 3cqw; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.win-info .bg-artist { font-size: 1.45cqw; color: var(--ink-2); }
.win-bar2 { width: 22cqw; height: .25cqw; margin-top: 1.6cqw; background: rgba(255,255,255,.12); border-radius: 1cqw; overflow: hidden; }
.bg-prog { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(.35); transition: transform 1.2s linear; }
.win-ctl { display: flex; align-items: center; gap: 2cqw; margin-top: 1.4cqw; color: var(--ink-2); }
.win-ctl svg { width: 1.9cqw; height: 1.9cqw; }
.win-ctl svg.big { width: 2.6cqw; height: 2.6cqw; color: #fff; }
.flyout {
  position: absolute; right: 1.6%; bottom: 11%; width: 33%; padding: 1.3cqw; display: flex; gap: 1.3cqw; align-items: center;
  border-radius: 1.2cqw; background: rgba(30,20,26,.82); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 2cqw 5cqw -1cqw rgba(0,0,0,.9);
  opacity: 0; transform: translateY(2cqw); transition: opacity .7s var(--soft), transform .9s var(--ease);
}
.flyout.show { opacity: 1; transform: none; }
.flyout .bg-cover { width: 8.5cqw; height: 8.5cqw; border-radius: .7cqw; object-fit: cover; }
.fly-t { display: flex; flex-direction: column; gap: .3cqw; min-width: 0; }
.fly-t b { font-size: 1.7cqw; font-weight: 600; letter-spacing: -.02em; }
.fly-t .bg-artist { font-size: 1.15cqw; color: var(--ink-2); white-space: nowrap; }
.fly-ctl { display: flex; gap: 1.8cqw; margin-top: .7cqw; color: var(--ink-2); }
.fly-ctl svg { width: 1.7cqw; height: 1.7cqw; transition: color .3s, transform .3s var(--ease), filter .3s; }
.fly-ctl svg.hit { color: #fff; transform: scale(1.3); filter: drop-shadow(0 0 .8cqw var(--rose)); }
.bg-title, .bg-cover, .bg-artist { transition: opacity .45s var(--soft); }
.desk.swap .bg-title, .desk.swap .bg-cover, .desk.swap .bg-artist { opacity: 0; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 8.5%; display: flex; align-items: center; justify-content: flex-end;
  background: rgba(16,11,14,.88); border-top: 1px solid rgba(255,255,255,.07); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.tb-apps { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 1cqw; }
.tb-apps i { width: 3cqw; height: 3cqw; border-radius: .7cqw; background: rgba(255,255,255,.08); }
.tb-apps i:first-child { background: rgba(255,255,255,.14); }
.tray { display: flex; align-items: center; gap: 1.2cqw; padding-right: 1.6cqw; }
.dotico { width: 1cqw; height: 1cqw; border-radius: 50%; background: rgba(255,255,255,.2); }
.clock { font-size: 1.05cqw; color: var(--ink-2); letter-spacing: .02em; }
.tray-n { display: flex; align-items: center; gap: .5cqw; height: 3.2cqw; padding: 0 .8cqw; border-radius: .7cqw; background: rgba(255,255,255,.05); transition: background .6s, box-shadow .6s; }
.tray-n svg { width: 1.6cqw; height: 1.6cqw; }
.tray-n.live { background: rgba(255,45,120,.14); box-shadow: 0 0 2.4cqw rgba(255,45,120,.55), inset 0 0 0 1px rgba(255,45,120,.45); }
.eq { display: flex; align-items: flex-end; gap: .22cqw; height: 1.5cqw; }
.eq b { width: .3cqw; height: 100%; border-radius: .2cqw; background: #fff; transform-origin: bottom; transform: scaleY(.3); }
.desk.playing .eq b { animation: eqb .9s ease-in-out infinite alternate; }
.desk.playing .eq b:nth-child(2) { animation-duration: .62s; animation-delay: -.2s; }
.desk.playing .eq b:nth-child(3) { animation-duration: .78s; animation-delay: -.45s; }
@keyframes eqb { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
/* медиаклавиши: кусочек клавиатуры, нажимается ⏭ */
.mkeys {
  position: absolute; right: -9%; bottom: 9%; display: flex; gap: clamp(6px, .7vw, 10px); padding: clamp(8px, .9vw, 12px);
  border-radius: 18px; background: linear-gradient(180deg, #1b1519, #0c090b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.04), 0 30px 60px -14px rgba(0,0,0,.95);
}
.mk {
  width: clamp(44px, 4.6vw, 64px); aspect-ratio: 1.12; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-3); background: linear-gradient(180deg, #2a2227, #161115);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), inset 0 0 0 1px rgba(255,255,255,.04), 0 4px 0 #060405;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), color .3s;
}
.mk svg { width: 32%; height: 32%; }
.mk.down { transform: translateY(3px); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,120,170,.6), 0 1px 0 #060405, 0 0 36px -4px rgba(255,45,120,.85); }

/* 04 — Плейлисты: поле для ссылки и плейлист в Нотке */
.mv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); padding: clamp(22px, 3.4vw, 46px); border-radius: 28px; }
.svc { position: relative; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.svc span { font-size: 15px; font-weight: 500; color: var(--ink-3); transition: color .5s var(--soft); white-space: nowrap; }
.svc span.on { color: var(--ink); }
.svc-line { position: absolute; left: 0; bottom: -1px; width: 1px; height: 2px; background: var(--rose); box-shadow: 0 0 12px var(--rose); transform-origin: left; transition: transform .8s var(--ease); }
.field { margin-top: 30px; padding: 14px 18px 16px; border-radius: 16px; background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.12); transition: border-color .5s, box-shadow .5s; }
.field.hot { border-color: rgba(255,45,120,.6); box-shadow: 0 0 0 4px rgba(255,45,120,.1), 0 0 40px -10px rgba(255,45,120,.6); }
.field-l { display: block; margin-bottom: 8px; }
.field-v { display: flex; align-items: center; min-height: 28px; font-family: var(--mono); font-size: clamp(14px, 1.35vw, 18px); color: var(--ink); white-space: nowrap; overflow: hidden; }
.caret { width: 2px; height: 1.2em; margin-left: 2px; background: var(--rose); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.go { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; margin-top: 18px; border-radius: 14px; background: #fff; color: #0a0809; font-weight: 600; transition: transform .25s var(--ease), box-shadow .4s; box-shadow: 0 14px 40px -16px rgba(255,45,120,.7); }
.go.down { transform: scale(.95); box-shadow: 0 0 50px -6px rgba(255,45,120,.9); }
.count { display: flex; align-items: flex-end; gap: 14px; margin-top: 40px; }
.count b { font-size: clamp(64px, 7vw, 108px); font-weight: 500; letter-spacing: -.06em; line-height: .82; font-variant-numeric: tabular-nums; min-width: .6em; }
.count span { color: var(--ink-2); font-size: 15px; line-height: 1.35; padding-bottom: 4px; }
.mv-right .pl-h { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 14px; }
.mv-right .pl-h b { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.mv-right .row { display: flex; align-items: center; gap: 16px; padding: 12px 4px; border-top: 1px solid var(--hair);
  opacity: 0; transform: translate(-70px, -14px) scale(.94); filter: blur(10px);
  transition: opacity .9s var(--soft), transform 1.1s var(--ease), filter .9s var(--soft); }
.mv-right .row.in { opacity: 1; transform: none; filter: none; }
.mv-right .row img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 24px -10px rgba(0,0,0,.9); }
.mv-right .row span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mv-right .row b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.mv-right .row small { color: var(--ink-3); font-size: 14px; }
.mv-right .row em { margin-left: auto; font-style: normal; }

/* 05 — Один аккаунт: три устройства оживают от одного входа */
.acc .stage { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.devs { position: relative; width: min(980px, 100%); display: grid; grid-template-columns: .95fr .5fr 1.4fr; align-items: end; gap: 4%; }
.dev { position: relative; container-type: inline-size; display: flex; flex-direction: column; gap: 14px; }
.dev-l { text-align: center; }
.dev > div { transition: filter 1.1s var(--soft), box-shadow 1.1s var(--soft), opacity 1.1s var(--soft); filter: grayscale(1) brightness(.45); opacity: .7; }
.dev.on > div { filter: none; opacity: 1; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 70px -24px rgba(255,45,120,.55); }
.wire-all { position: absolute; left: 6%; right: 6%; top: 52%; height: 1px; background: rgba(255,255,255,.1); overflow: hidden; z-index: -1; }
.wire-all i { position: absolute; top: -1px; left: 0; width: 26%; height: 3px; background: linear-gradient(90deg, transparent, var(--rose), #fff, transparent); transform: translateX(-110%); }
.devs.run .wire-all i { animation: run 1.3s var(--soft) forwards; }
.devs.flash .wire-all i { animation: run2 .7s var(--soft) forwards; }
@keyframes run { to { transform: translateX(420%); } }
@keyframes run2 { from { transform: translateX(160%); } to { transform: translateX(420%); } }
.heart { color: rgba(255,255,255,.28); transition: color .35s, transform .5s cubic-bezier(.3,1.8,.5,1), filter .4s; }
.dev.liked .heart { color: var(--rose); transform: scale(1.25); filter: drop-shadow(0 0 6px rgba(255,45,120,.9)); }
.chat { aspect-ratio: 3 / 3.6; border-radius: 7cqw; padding: 7cqw 6cqw; display: flex; flex-direction: column; justify-content: flex-end; gap: 4cqw;
  background: linear-gradient(180deg, #151015, #0c090b); border: 1px solid rgba(255,255,255,.1); }
.bubble { align-self: flex-end; max-width: 80%; padding: 3.4cqw 4.6cqw; border-radius: 5cqw 5cqw 1.4cqw 5cqw; background: rgba(255,45,120,.22); font-size: 5.2cqw; line-height: 1.3; }
.bubble.in { align-self: flex-start; border-radius: 5cqw 5cqw 5cqw 1.4cqw; background: rgba(255,255,255,.07); }
.card { display: flex; align-items: center; gap: 4cqw; max-width: 100%; width: 100%; }
.card img { width: 20cqw; height: 20cqw; border-radius: 3cqw; object-fit: cover; }
.card span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.card b { font-size: 5.6cqw; font-weight: 600; white-space: nowrap; }
.card small { font-size: 4.4cqw; color: var(--ink-3); }
.card .heart { width: 8cqw; height: 8cqw; flex: none; }
.ph { aspect-ratio: 9 / 17; border-radius: 15cqw; padding: 10cqw 8cqw; display: flex; flex-direction: column; background: #0d090c; border: 1px solid rgba(255,255,255,.14); }
.ph img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 7cqw; object-fit: cover; margin-top: 8cqw; }
.ph b { margin-top: 9cqw; font-size: 8.4cqw; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; }
.ph small { font-size: 6.4cqw; color: var(--ink-3); }
.ph-ctl { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 0 2cqw; color: var(--ink-2); }
.ph-ctl svg { width: 11cqw; height: 11cqw; }
.ph-ctl .heart { width: 12cqw; height: 12cqw; }
.ph-ctl.tap .heart { animation: tap .5s var(--ease); }
@keyframes tap { 40% { transform: scale(.7); } }
.scr { aspect-ratio: 16 / 10; border-radius: 3cqw; padding: 5cqw; display: flex; gap: 5cqw; align-items: center; background: linear-gradient(160deg, #191016, #0b080a); border: 1px solid rgba(255,255,255,.12); }
.scr img { width: 40%; height: auto; aspect-ratio: 1; border-radius: 2cqw; object-fit: cover; }
.scr > div { display: flex; flex-direction: column; gap: 1cqw; min-width: 0; }
.scr .mono { font-size: 2cqw; }
.scr b { font-size: 4.6cqw; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.scr small { font-size: 2.6cqw; color: var(--ink-3); }
.pc-ctl { display: flex; gap: 3.4cqw; align-items: center; margin-top: 3cqw; color: var(--ink-2); }
.pc-ctl svg { width: 3.4cqw; height: 3.4cqw; }
.stand { display: block; width: 22%; height: 3cqw; margin: -6px auto 0; border-radius: 0 0 1cqw 1cqw; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); }
.tg-login { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 14px; background: #fff; color: #0a0809; font-weight: 600;
  box-shadow: 0 14px 40px -16px rgba(255,45,120,.7); transition: transform .25s var(--ease), box-shadow .4s; }
.tg-login svg { width: 20px; height: 20px; }
.tg-login.down { transform: scale(.95); box-shadow: 0 0 60px -6px rgba(255,45,120,.95); }
.acc-link { margin: 0; }

/* 06 — Открытый код */
.hash { padding: 28px; max-width: 560px; justify-self: end; width: 100%; }
.hash-label code { color: var(--ink-2); text-transform: none; }
.hash-val { margin: 14px 0 18px; }
.hash-val code { display: block; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.6; letter-spacing: .04em; word-break: break-all; color: var(--ink); }
.copy-btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: var(--ink); font: 500 14px var(--sans); cursor: pointer; transition: background .3s, border-color .3s; }
.copy-btn:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); }
.copy-btn svg { width: 16px; height: 16px; }
.hash-how { margin: 22px 0 8px; color: var(--ink-2); font-size: 14.5px; }
.ps { display: block; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--hair); font-size: 13px; color: var(--rose-soft); word-break: break-all; }
.vt { margin-top: 18px; font-size: 14.5px; }
.links-row { display: flex; flex-wrap: wrap; gap: 18px 30px; margin: 36px 0 0; }

/* 07 — Финал */
/* Финал — рифма с первым экраном: огромная N справа уходит за край, текст и кнопка слева */
.final { display: block; position: relative; text-align: left; padding: 0; min-height: calc(100vh - 150px); min-height: calc(100svh - 150px); }
.n-slot {
  --ns: min(114vh, calc(100vw - min(640px, 44vw) + 90px));
  position: absolute; left: min(640px, 44vw); top: 50%; width: var(--ns); height: var(--ns); transform: translateY(-50%); pointer-events: none;
}
.n-slot svg { display: none; width: 100%; height: 100%; }
html.static .n-slot svg { display: block; filter: drop-shadow(0 0 40px rgba(255,45,120,.5)); opacity: .9; }
.final-in { position: absolute; left: var(--pad); bottom: clamp(40px, 9vh, 110px); width: min(620px, 44vw); display: flex; flex-direction: column; align-items: flex-start; }
.final h2 { font-size: clamp(48px, 6.4vw, 108px); max-width: none; line-height: .9; letter-spacing: -0.058em; text-shadow: 0 6px 40px rgba(5,4,5,.7); }
.final .cta { justify-content: flex-start; margin-top: 34px; }
.final .meta { justify-content: flex-start; }
.final .alts { margin: 22px 0 0; }
.hint { margin: 18px 0 0; text-transform: none; letter-spacing: .02em; font-size: 12px; }
.steps { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--hair); display: flex; gap: 40px; text-align: left; max-width: 980px; text-transform: none; letter-spacing: .02em; font-size: 12.5px; }
.steps li { flex: 1; display: flex; gap: 12px; color: var(--ink-2); }
.steps b { color: var(--rose); font-weight: 400; }

/* ---------- Подвал ---------- */
.foot { min-height: 150px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding: 34px var(--pad) 40px; border-top: 1px solid var(--hair); background: rgba(5,4,5,.94); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot nav a { color: var(--ink-2); transition: color .3s; }
.foot nav a:hover { color: var(--ink); }
.foot small { width: 100%; color: var(--ink-3); font-size: 13px; }

/* ---------- Адаптив ---------- */
@media (max-width: 860px) {
  .links .hide-m { display: none; }
  .scene { grid-template-columns: minmax(0, 1fr); gap: 56px; padding: 14vh var(--pad) 12vh; align-content: center; }
  .hero { padding: 0; }
  .hero-copy { width: auto; right: var(--pad); bottom: 84px; }
  h1 { font-size: clamp(52px, 15vw, 76px); }
  .lede { margin: 20px 0 28px; }
  .cue { display: none; }
  .covers { width: min(300px, 74vw); margin-bottom: 70px; }
  .f1 { left: -22%; } .f2 { right: -18%; } .f3 { right: -14%; }
  .lines { height: 52vh; --slot: 112px; }
  .ln p { font-size: 25px; }
  .src li { white-space: nowrap; font-size: 19px; }
  .hash { justify-self: stretch; padding: 22px; }
  .steps { flex-direction: column; gap: 14px; }
  .final { min-height: 0; padding: 300px var(--pad) 28px; }
  .n-slot { --ns: 112vw; left: 4vw; top: 22px; transform: none; }
  .final-in { position: relative; left: auto; bottom: auto; width: auto; }
  .hint { display: none; }
  .final h2 { font-size: 42px; }
  .final .cta { margin-top: 24px; }
  .foot { min-height: 0; padding: 26px var(--pad) 30px; gap: 14px; }
  .foot nav { gap: 8px 18px; }
  .stage-scene { gap: 40px; padding: 11vh var(--pad); }
  .bg .stage { width: 100%; }
  .mkeys { right: 50%; bottom: -74px; transform: translateX(50%); }
  .mk { width: 46px; }
  .bg .stage { margin-bottom: 84px; }
  .mv { grid-template-columns: minmax(0, 1fr); }
  .count { margin-top: 26px; }
  .mv-right .row img { width: 48px; height: 48px; }
  .mv-right .row b { font-size: 16px; }
  .devs { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .dev.pc { grid-column: 1 / -1; grid-row: 1; }
  .wire-all { display: none; }
  .btn { height: 52px; }
}
@media (max-width: 420px) {
  .cta .btn { width: 100%; justify-content: center; }
  .keys { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Режим для снимка превью (og.jpg): только знак и заголовок */
html.og .top .links, html.og .cta, html.og .cue, html.og #win-meta { display: none; }
html.og .hero-copy { bottom: 18vh; }

/* ---------- Телефоны: главные кнопки под устройство ---------- */
.cta-m { display: none; }
html.is-mobile .cta-m { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 420px; }
html.is-mobile .hero .cta, html.is-mobile #win-meta,
html.is-mobile .final .cta, html.is-mobile .final .meta, html.is-mobile .final .alts, html.is-mobile .final .hint { display: none; }
.m-btn { width: 100%; justify-content: center; height: 54px; color: var(--ink); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.m-apk { display: none; }
html.is-android .m-apk { display: inline-flex; }
html.is-ios .m-tg, html.is-android .m-apk { background: #fff; color: #0a0809; box-shadow: 0 14px 40px -16px rgba(255,45,120,.7); }
.m-note { margin: 8px 2px 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.m-note a { color: var(--ink-2); border-bottom: 1px solid rgba(255,255,255,.25); }
html.is-mobile .final { padding-top: 260px; }

/* ---------- Телефоны: без размытия фона (на iOS это главный тормоз при прокрутке) ---------- */
@media (max-width: 860px), (hover: none) {
  .top.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(8,6,8,.94); }
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(30,22,27,.96), rgba(16,12,15,.96)); }
  .flyout, .taskbar { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .flyout { background: rgba(34,24,30,.97); }
}
.final .cta-m { margin-top: 26px; }

/* ---------- 06 на главной: PowerShell сам проверяет файл ---------- */
.term { padding: 0; overflow: hidden; }
.term-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--hair); background: rgba(0,0,0,.25); }
.term-bar .mono { text-transform: none; letter-spacing: .02em; }
.term-c { display: flex; gap: 8px; }
.term-c i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.term-body { padding: 18px 20px 6px; font: 13px/1.6 var(--mono); min-height: 112px; }
.term-l { margin: 0; color: var(--ink); word-break: break-all; }
.term-p { color: rgba(140,200,255,.85); }
.caret { display: inline-block; width: 8px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--ink-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-out { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; color: var(--ink-3); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.term-out code { color: var(--ink); word-break: break-all; }
.term.out .term-out { opacity: 1; transform: none; }
.term.out .caret { display: none; }
.term-foot { padding: 18px 20px 22px; border-top: 1px solid var(--hair); }
.term .hash-val { margin: 10px 0 14px; }
.term .hash-val code { font-size: clamp(13px, 1vw, 15px); color: var(--ink-2); transition: color .6s, text-shadow .6s; }
.term.ok .hash-val code, .term.ok #sha-out { color: #fff; text-shadow: 0 0 18px rgba(255,45,120,.55); }
.term-act { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.match { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--rose-soft); opacity: 0; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.match svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--rose); color: #fff; box-shadow: 0 0 16px rgba(255,45,120,.8); }
.term.ok .match { opacity: 1; transform: none; }
.term .hash-how { margin: 18px 0 0; font-size: 13.5px; line-height: 1.6; }
.term .ps { display: inline; padding: 2px 6px; border-radius: 6px; font-size: 12px; }

/* ---------- /windows и /android: живая установка (страницы собирает deploy/build-site-pages.py) ---------- */
.inst { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 30em; counter-reset: st; }
.inst li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: baseline; color: var(--ink-3); font-size: clamp(15px, 1.1vw, 17px); transition: color .5s; }
.inst li::before { content: counter(st, decimal-leading-zero); font: 400 11.5px/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); transition: color .5s, text-shadow .5s; }
.inst b { font-weight: 600; color: inherit; }
.inst li.on { color: var(--ink); }
.inst li.on::before { color: var(--rose); text-shadow: 0 0 12px var(--rose); }
.inst li.done { color: var(--ink-2); }
.inst li.done::before { content: "✓"; color: var(--rose-soft); }

.ist { position: relative; justify-self: end; width: min(520px, 100%); }
.ip { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 26px; text-align: center;
  opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.s1 .ip-1, .s2 .ip-2, .s3 .ip-3 { opacity: 1; transform: none; }
.ip b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ip small { color: var(--ink-3); }
.ip-n { width: 46px; height: 46px; filter: drop-shadow(0 0 18px rgba(255,45,120,.6)); }
.bar { display: block; width: 78%; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--rose-deep), var(--rose)); box-shadow: 0 0 14px var(--rose); transition: width 0s; }
.s1 .ip-1 .bar i, .run .ip-2 .bar i { width: 100%; transition: width 2.1s cubic-bezier(.4, .1, .3, 1); }
.dl { display: flex; align-items: center; gap: 14px; width: 78%; text-align: left; }
.dl-ico { flex: none; width: 44px; height: 52px; border-radius: 8px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px;
  font: 600 10px var(--mono); color: #fff; background: linear-gradient(180deg, var(--rose), var(--rose-deep)); box-shadow: 0 10px 30px -10px var(--rose); }
.dl b { display: block; font-size: 16px; }
.ip .tg-login { height: 46px; padding: 0 20px; font-size: 15px; }
.ip-rows { display: grid; gap: 8px; width: 82%; }
.ip-rows > span { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 14px; color: var(--ink-2); text-align: left;
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ip-rows img { width: 38px; height: 38px; border-radius: 8px; }
.ip-rows b { display: block; font-size: 14px; color: var(--ink); }
.ip-3 .tg-login { transition: opacity .4s, transform .25s var(--ease), box-shadow .4s; }
.logged .ip-3 .tg-login { opacity: 0; height: 0; margin: -7px 0; overflow: hidden; }
.logged .ip-rows > span { opacity: 1; transform: none; }
.logged .ip-rows > span:nth-child(2) { transition-delay: .12s; }
.logged .ip-rows > span:nth-child(3) { transition-delay: .24s; }

/* Windows: окно установщика */
.ist-win { aspect-ratio: 1.18; overflow: hidden; }
.ist-win .iw-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--hair); font-size: 13px; color: var(--ink-2); }
.iw-t { display: inline-flex; align-items: center; gap: 8px; }
.iw-t svg { width: 15px; height: 15px; }
.ist-win .ip { top: 46px; }

/* Android: телефон */
.ist-ph { width: min(300px, 74vw); aspect-ratio: .52; border-radius: 42px; padding: 12px; background: linear-gradient(180deg, #1f181c, #0e0b0d);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px -30px rgba(0,0,0,.95), 0 0 80px -30px rgba(255,45,120,.5); justify-self: center; }
.ph-scr { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, #2a0f1e, #0b080a 70%); }
.ph-scr::before { content: ""; position: absolute; top: 12px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #1a1418; z-index: 2; }
.ist-ph .ip { padding: 22px 16px; }
.ist-ph .ip-1 { justify-content: flex-start; padding-top: 44px; }
.note { width: 100%; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.08); text-align: left; display: grid; gap: 9px; }
.note-h { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.note-h svg { width: 14px; height: 14px; }
.note b { font-size: 15px; }
.note .bar { width: 100%; height: 4px; }
.dlg { width: 100%; padding: 20px 16px 16px; border-radius: 24px; background: #221a1f; box-shadow: 0 20px 50px -20px #000; display: grid; justify-items: center; gap: 10px; }
.dlg p { margin: 0; font-size: 14px; color: var(--ink-2); }
.dlg-btns { display: flex; gap: 22px; margin-top: 6px; font-weight: 600; font-size: 14px; color: var(--rose-soft); }
.dlg-ok { padding: 6px 12px; border-radius: 10px; transition: background .25s, color .25s; }
.dlg-ok.down { background: rgba(255,45,120,.25); color: #fff; }
.run .dlg-btns { display: none; }
.ip-2 .bar { opacity: 0; transition: opacity .3s; }
.run .ip-2 .bar { opacity: 1; }
.ist-win .ip-2 .bar { opacity: 1; }

@media (max-width: 860px) {
  .ist { justify-self: center; }
  .ist-win { aspect-ratio: 1; }
  .inst { margin-top: 26px; }
}
