/* main-v2.css — с wasabi.guru */
/* wasabi — главная v2. Первый экран светлый (телефон, плитки сервисов, стекло), зелёный только акцентом.
   Каталог по схеме Rapira (белые карточки 30px, таблички справа), «Как купить» и «Дополнительно» — Antarctic,
   «Всегда под рукой» — Rapira, чёрный блок. Телефоны в «Как купить» и «Всегда под рукой» — заглушки из образцов.
   Акцент: по умолчанию лайм как у Higgsfield (#D1FE17, на нём чёрный текст); ?accent=green — наш зелёный #5BC43C. */
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/Montserrat-VF.ttf") format("truetype"); font-weight: 100 900; font-display: block; }
:root {
  --bg: #F3F4F7; --card: #FFFFFF; --ink: #0B0C14; --ink-850: #151621; --text: #3F4254; --muted: #7E8299; --muted-2: #959DB5;
  --line: #E6E8EF; --muted-dark: #A7AEC7;
  /* бренд: зелёный #09E970 — акцент, тёмный #2B2B2B — второй основной (как у Rapira, светлее чёрного) */
  --accent: #09E970; --accent-hover: #08D064; --on-accent: #FFFFFF; --accent-text: #30C274; --accent-soft: #E3FCEF; --accent-tint: #F1FDF7;
  --dark: #2B2B2B;
  --chat: #EEF1EF; --me: #D6FBE6; --me-time: #30C274;
}
.acc-e970 {
  --accent: #09E970; --accent-hover: #08D064; --on-accent: #FFFFFF; --accent-text: #30C274; --accent-soft: #E3FCEF; --accent-tint: #F1FDF7;
  --chat: #EEF1EF; --me: #D6FBE6; --me-time: #30C274;
}
.acc-kupikod {
  --accent: #00FF93; --accent-hover: #00E886; --on-accent: #001F12; --accent-text: #00854C; --accent-soft: #E0FFF1; --accent-tint: #F0FFF8;
  --chat: #EEF1EF; --me: #D4FFEA; --me-time: #00854C;
}
.acc-lime {
  --accent: #D1FE17; --accent-hover: #C4F00A; --on-accent: #0B0C14; --accent-text: #5A7A00; --accent-soft: #F1FFC2; --accent-tint: #F6FFD9;
  --chat: #EEF0EA; --me: #EAFDB0; --me-time: #5A7A00;
}
.acc-green {
  --accent: #5BC43C; --accent-hover: #52B635; --on-accent: #FFFFFF; --accent-text: #357F22; --accent-soft: #E3F5DA; --accent-tint: #E9F6E3;
  --chat: #E8F1E3; --me: #DCF5CF; --me-time: #4BA22F;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); font-family: "Montserrat", system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { width: 1088px; margin: 0 auto; }
[data-icon] svg, [data-logo] svg { display: block; width: 100%; height: 100%; }
[data-icon] svg { fill: currentColor; }

/* логотип сервиса — «иконка приложения»: фирменный фон + знак */
[data-logo] { display: block; flex: none; overflow: hidden; }
[data-logo].bd { box-shadow: inset 0 0 0 1px var(--line); }
.lg { width: 40px; height: 40px; border-radius: 12px; padding: 8px; }
.lg--lg { width: 48px; height: 48px; border-radius: 12px; padding: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; border-radius: 16px; white-space: nowrap; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; border-radius: 12px; }
.btn--md { height: 50px; padding: 0 26px; font-size: 15px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }

/* шапка */
.top { height: 72px; }
.top__in { height: 72px; display: flex; align-items: center; gap: 44px; width: 1400px; margin: 0 auto; padding: 0 24px; }
.top__logo img { height: 30px; }
.top__nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--text); }
.top__right { margin-left: auto; }


/* ───────── первый экран ───────── */
.hero { position: relative; width: 1400px; height: 900px; margin: 0 auto; border-radius: 32px 32px 0 0; overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 58%, var(--bg) 100%); color: var(--ink); }
.hero__text { position: relative; z-index: 4; text-align: center; padding-top: 58px; }
.hero h1 { margin: 0; font-size: 44px; line-height: 52px; font-weight: 600; letter-spacing: -.5px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero h1 .hrow { display: inline-flex; align-items: center; gap: 12px; }
.h-mark { width: 46px; height: 46px; border-radius: 16px; background: var(--accent); display: grid; place-items: center; }
.h-mark img { width: 30px; height: auto; }
.hl { display: inline-block; padding: 0 14px; border-radius: 16px; background: var(--accent); color: var(--on-accent); }
.hero__text p { margin: 18px auto 26px; max-width: 560px; font-size: 16px; line-height: 23px; font-weight: 500; color: var(--text); }

/* плитки сервисов вокруг телефона — потом сюда анимация (плитки плавают/меняются) */
.orbit { position: absolute; inset: 0; z-index: 1; }
.ob { position: absolute; width: 72px; height: 72px; border-radius: 24px; padding: 17px; box-shadow: 0 22px 40px -18px rgba(11, 12, 20, .35); }
.ob.bd { box-shadow: inset 0 0 0 1px var(--line), 0 22px 40px -18px rgba(11, 12, 20, .35); }
.ob--1 { left: 268px; top: 372px; width: 88px; height: 88px; border-radius: 28px; padding: 20px; transform: rotate(-8deg); }
.ob--2 { left: 132px; top: 540px; transform: rotate(7deg); }
.ob--3 { left: 292px; top: 690px; width: 64px; height: 64px; border-radius: 20px; padding: 15px; transform: rotate(-5deg); }
.ob--4 { left: 420px; top: 420px; width: 60px; height: 60px; border-radius: 20px; padding: 14px; transform: rotate(5deg); }
.ob--5 { left: 1050px; top: 356px; width: 88px; height: 88px; border-radius: 28px; padding: 20px; transform: rotate(8deg); }
.ob--6 { left: 1196px; top: 548px; transform: rotate(-7deg); }
.ob--7 { left: 1012px; top: 418px; width: 60px; height: 60px; border-radius: 20px; padding: 14px; transform: rotate(-6deg); }
.ob--8 { left: 1100px; top: 720px; width: 64px; height: 64px; border-radius: 20px; padding: 15px; transform: rotate(6deg); }
.ob--9, .ob--10 { display: none; }

/* телефон с ботом */
.phone { position: absolute; z-index: 2; left: 540px; top: 344px; width: 320px; height: 640px; border-radius: 52px; background: #0F1014; padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(11, 12, 20, .45), inset 0 0 0 2px #2A2C33; }
.phone__screen { width: 100%; height: 100%; border-radius: 43px; background: #fff; overflow: hidden; color: var(--ink); }
.st { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 30px; font-size: 14px; position: relative; }
.island { position: absolute; left: 50%; top: 10px; width: 96px; height: 28px; margin-left: -48px; border-radius: 16px; background: #0F1014; }
.st__r { display: flex; gap: 5px; align-items: center; color: var(--ink); } .st__r svg { fill: currentColor; display: block; }
.tg-top { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 4px 12px 10px; border-bottom: 1px solid #E9EBEF; }
.tg-back { color: #2AABEE; font-size: 15px; font-weight: 500; }
.tg-title { text-align: center; } .tg-title b { display: block; font-size: 15px; } .tg-title small { font-size: 12px; color: var(--muted); }
.tg-ava { justify-self: end; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.tg-ava img { width: 100%; height: 100%; }
.chat { background: var(--chat); height: 100%; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.msg { position: relative; align-self: flex-start; max-width: 84%; background: #fff; border-radius: 16px 16px 16px 5px; padding: 9px 12px 18px; line-height: 18px; }
.msg p { margin: 0; }
.msg .time { position: absolute; right: 10px; bottom: 5px; font-size: 10px; color: var(--muted); }
.msg--me { align-self: flex-end; background: var(--me); border-radius: 16px 16px 5px 16px; padding-right: 64px; }
.msg--me .time { color: var(--me-time); }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 84%; }
.kb span { background: rgba(11, 12, 20, .07); color: var(--ink); font-weight: 600; font-size: 12.5px; text-align: center; padding: 9px 0; border-radius: 12px; }
.msg--card { padding: 6px; display: grid; gap: 4px; width: 84%; }
.pc { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; background: #F5F6F8; }
.pc b { display: block; font-size: 13px; } .pc small { font-size: 11px; color: var(--muted); }
.pc .lg { width: 30px; height: 30px; border-radius: 8px; padding: 6px; }

/* стеклянные панели */
.glass { position: absolute; z-index: 3; border-radius: 28px; background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 1px rgba(11, 12, 20, .06), 0 30px 60px -24px rgba(11, 12, 20, .35);
  backdrop-filter: blur(16px) saturate(1.8); -webkit-backdrop-filter: blur(16px) saturate(1.8); color: var(--ink); }
.glass--l { left: 330px; top: 600px; width: 290px; padding: 20px 22px; }
.glass__t { display: block; font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.glass__logos { display: flex; gap: 10px; }
.glass__logos span { width: 52px; height: 52px; border-radius: 16px; padding: 12px; }
.glass__logos span.bd { box-shadow: none; }
.glass--r { left: 790px; top: 450px; width: 270px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.glass--r b { display: block; font-size: 17px; } .glass--r small { font-size: 13px; color: var(--text); }
.glass__ok { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--on-accent); padding: 6px; flex: none; }

/* ───────── разделы ───────── */
.sec { padding: 120px 0 0; }
.sec--last { padding-bottom: 120px; }
.sec__logo { height: 26px; width: auto; margin-bottom: 14px; }
.sec__title { margin: 0 0 40px; font-size: 45px; line-height: 50px; font-weight: 700; color: #181C32; letter-spacing: -.3px; }
.sec__lead { margin: -26px 0 40px; font-size: 18px; line-height: 24px; font-weight: 500; color: var(--muted); max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* карточки каталога (как у Rapira) */
.card { position: relative; background: var(--card); border-radius: 32px; overflow: hidden; }
.card__text { padding: 50px 0 50px 50px; max-width: 420px; position: relative; z-index: 2; }
.card h3 { margin: 0 0 14px; font-size: 30px; line-height: 36px; font-weight: 700; }
.card p { margin: 0; font-size: 16px; line-height: 20px; font-weight: 500; color: var(--text); }
.links { display: flex; flex-direction: column; gap: 14px; margin-top: 38px; }
.links a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); width: fit-content; }
.links .ico { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); padding: 4px; flex: none; }
.chev { width: 14px; height: 14px; display: inline-block; margin-left: -4px; }
.links--row { flex-direction: row; gap: 28px; margin-top: 22px; }

/* табличка: одна поверхность, шапка того же цвета, что и строки */
.panel, .w { background: var(--bg); }
.card--wide { display: grid; grid-template-columns: 1fr 1fr; min-height: 361px; margin-bottom: 16px; }
.panel { margin: 30px 0; border-radius: 28px 0 0 28px; padding: 26px 40px 20px; }
.panel__head, .w__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel__head b, .w__head b { font-size: 18px; font-weight: 600; letter-spacing: -.18px; color: var(--ink); }
.pick { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 8px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); }
.pick__i { width: 18px; height: 18px; color: var(--accent-text); }
.prow { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; margin: 0 -14px; border-radius: 16px; }
.prow.on { background: #fff; }
.prow.fade { opacity: .35; }
.prow b { display: block; font-size: 16px; line-height: 20px; font-weight: 600; }
.prow small { display: block; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted-2); }
.prow .r { text-align: right; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.col { display: grid; gap: 16px; align-content: start; }

/* «Музыка и кино»: табличка снизу во всю ширину */
.card--tall { min-height: 100%; display: flex; flex-direction: column; }
.w--media { margin: auto 0 30px 30px; border-radius: 28px 0 0 28px; padding: 24px 34px 18px 26px; }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #E6E8EF; }
.seg span { height: 28px; padding: 0 11px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.seg .on { background: #fff; color: var(--ink); }

/* «Игры»: две таблички справа */
.card--half { min-height: 302px; }
.card--half .card__text { max-width: 276px; padding-right: 0; }
.w--games, .w--games2 { position: absolute; right: 0; width: 256px; border-radius: 24px 0 0 24px; padding: 16px 16px 12px; }
.w--games { top: 34px; }
.w--games2 { top: 228px; padding: 14px 16px 8px; }
.w--games2 .w__head { margin-bottom: 6px; } .w--games2 .w__head b { font-size: 15px; }
.lg--xs { width: 26px; height: 26px; border-radius: 8px; padding: 5px; }
.trow { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; }
.trow.on { background: #fff; } .trow.fade { opacity: .4; }
.trow b { font-size: 14px; font-weight: 600; } .trow small { font-size: 11px; font-weight: 500; color: var(--muted-2); }
.w__top { display: flex; gap: 12px; align-items: center; }
.w__top b { display: block; font-size: 16px; line-height: 20px; } .w__top small { display: block; font-size: 12px; line-height: 16px; color: var(--muted-2); font-weight: 500; }
.w--games .w__top { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chipgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; padding: 12px 0 2px; }
.chipgrid span { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; }
.chipgrid i { width: 22px; height: 22px; border-radius: 8px; padding: 4px; }
.card--games { min-height: 330px; }
/* «Игры»: виджеты сменяют друг друга, видна одна табличка + точки */
.swap { position: absolute; right: 0; top: 34px; width: 256px; }
.swap .w--games { position: static; width: 256px; }
.swap .slide { display: none; } .swap .slide.on { display: block; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.dots i { width: 6px; height: 6px; border-radius: 4px; background: var(--line); } .dots i.on { width: 18px; background: var(--accent); }

/* «Коды пополнения»: список номиналов и поле с кодом */
.w--codes { position: absolute; right: 0; top: 30px; width: 256px; border-radius: 24px 0 0 24px; padding: 16px 16px 14px; }
.w--codes .w__head { margin-bottom: 6px; }
.crow { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; }
.crow .lg { width: 32px; height: 32px; border-radius: 8px; padding: 6px; }
.crow b { font-size: 14px; font-weight: 600; }
.crow .chev { width: 16px; height: 16px; margin: 0; color: var(--muted-2); }
.pill { height: 24px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; background: #fff; font-size: 11px; font-weight: 600; color: var(--muted); }
.code { position: relative; margin-top: 8px; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.code small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.code b { display: block; margin-top: 2px; font-size: 15px; letter-spacing: .6px; }
.copy { position: absolute; right: 12px; top: 50%; margin-top: -10px; width: 20px; height: 20px; color: var(--muted); }
.copy svg { display: block; width: 100%; height: 100%; }

/* ───────── API ───────── */
.api { display: grid; grid-template-columns: 600px 1fr; gap: 16px; }
.api__code { display: flex; flex-direction: column; }
.card__text--api { padding: 44px 44px 0 44px; max-width: none; }
.term { margin: 30px 0 0 30px; flex: 1; border-radius: 24px 0 32px 0; background: var(--dark); color: #C9CEDC; overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 20px; border-bottom: 1px solid #3A3A3A; }
.term__bar i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.term__bar i:nth-child(2) { background: #FEBC2E; } .term__bar i:nth-child(3) { background: #28C840; }
.term__bar i::after { position: absolute; inset: 0; display: grid; place-items: center; font: 700 9px/1 "Montserrat", sans-serif; color: rgba(0, 0, 0, .55); content: "×"; }
.term__bar i:nth-child(2)::after { content: "−"; } .term__bar i:nth-child(3)::after { content: "+"; }
.term__bar span { margin-left: 10px; font-size: 13px; font-weight: 600; color: #8A90A8; }
.term pre { margin: 0; padding: 20px 22px 26px; font-family: Menlo, "SF Mono", monospace; font-size: 13px; line-height: 21px; white-space: pre; }
.term .k { color: var(--accent); } .term .s { color: #E7EAF2; } .term .c { color: #5D6278; } .term .g { color: var(--accent); }
.api__col { display: grid; gap: 16px; }
.api__methods { padding: 26px 26px 18px; }
.mrow { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; margin: 0 -12px; border-radius: 16px; }
.mrow.on { background: var(--bg); }
.mrow.fade { opacity: .4; }
.mrow code { font-size: 13px; font-weight: 600; color: var(--ink); }
.mrow small { font-size: 12px; font-weight: 500; color: var(--muted); }
.m { height: 24px; display: grid; place-items: center; border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.m--get { background: var(--accent-soft); color: var(--accent-text); }
.m--post { background: var(--ink); color: #fff; }
.api__keys { padding: 22px 26px 26px; }
.kk { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kk b { display: block; font-size: 15px; line-height: 20px; } .kk small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.ok { height: 26px; padding: 0 10px; display: grid; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 600; }
.tile { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); padding: 6px; flex: none; }

/* ───────── как купить (как у Antarctic) ───────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; background: var(--card); border-radius: 32px; padding: 30px; min-height: 500px; overflow: hidden; display: flex; flex-direction: column; }
.step--accent { background: var(--card); }
.step__n { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.step h3 { margin: 10px 0 8px; font-size: 22px; line-height: 26px; font-weight: 600; }
.step p { margin: 0; font-size: 17px; line-height: 23px; color: var(--muted); font-weight: 500; }
.step__phone { position: absolute; left: 8px; bottom: 0; width: 344px; height: 344px; }
.rows { margin-top: auto; display: grid; gap: 10px; }
.row { display: flex; gap: 14px; align-items: center; padding: 12px 12px 12px 14px; border-radius: 20px; background: var(--bg); }
.row b { display: block; font-size: 16px; line-height: 22px; font-weight: 600; } .row small { font-size: 13px; color: var(--muted); font-weight: 500; }
.kinds { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
.kinds div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-align: center; }
.kinds .tile { width: 54px; height: 54px; border-radius: 16px; padding: 7px; }

/* ───────── всегда под рукой (как у Rapira, на зелёном) ───────── */
.always { position: relative; display: grid; grid-template-columns: 410px 160px 1fr; gap: 44px; align-items: center; background: var(--dark); color: #fff;
  border-radius: 32px; min-height: 374px; padding: 0 0 0 64px; margin-top: 20px; }
.always__logo { height: 34px; width: auto; margin-bottom: 18px; }
.always h2 { margin: 0 0 16px; font-size: 40px; line-height: 44px; font-weight: 600; }
.always p { margin: 0 0 30px; font-size: 16px; line-height: 21px; font-weight: 500; color: var(--muted-dark); max-width: 360px; }
.qr { width: 160px; height: 160px; }
.qr svg { width: 100%; height: 100%; display: block; }
.always__phones { position: relative; align-self: stretch; }
.ph { position: absolute; bottom: 0; height: auto; }
.ph--l { left: -6px; width: 204px; }
.ph--r { left: 100px; width: 250px; }

/* ───────── дополнительно ───────── */
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.more__card { background: var(--card); border-radius: 32px; padding: 40px; min-height: 357px; display: flex; flex-direction: column; }
.big { display: none; }
.more__card h3 { margin: 0 0 10px; font-size: 22px; line-height: 26px; font-weight: 600; }
.more__card p { margin: 0 0 24px; font-size: 17px; line-height: 23px; color: var(--muted); font-weight: 500; }
.more__card a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--accent-text); }
.more__card .chev { margin-left: 0; }

/* ───────── подвал ───────── */
.foot { background: #fff; padding: 64px 0 28px; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot__brand img { height: 30px; width: auto; }
.foot__brand p { margin: 14px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.foot__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; font-weight: 500; color: var(--text); }
.foot__col b { color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.foot__copy { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ───────── каталог ───────── */
.cat__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cat__head .sec__title { margin-bottom: 40px; } .cat__head .sec__lead { margin-top: -26px; }
.cat__head .btn { margin-bottom: 40px; }
.tabs { display: flex; gap: 8px; margin: -14px 0 22px; }
.tabs span { height: 40px; padding: 0 16px; display: grid; place-items: center; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; color: var(--text); }
.tabs .on { background: var(--ink); color: #fff; }
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cc { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: 24px; background: #fff; }
.cc .lg--xl { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; padding: 12px; }
.cc b { align-self: end; font-size: 16px; line-height: 20px; font-weight: 700; } .cc small { align-self: start; font-size: 13px; line-height: 17px; font-weight: 500; color: var(--muted); }

/* ───────── MCP ───────── */
.api__mcp { margin-top: 16px; display: grid; grid-template-columns: 1fr 560px; }
.api__mcp .card__text--api { padding-bottom: 44px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tools span { height: 32px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 13px; font-weight: 600; }
.term--mcp { margin: 30px 0 0 0; border-radius: 24px 0 32px 0; }

/* «Как купить»: логотипы вместо зелёных плиток, серые плитки в шаге 3 */
.stack3 { display: flex; flex: none; }
.stack3 .lg { width: 38px; height: 38px; border-radius: 12px; padding: 8px; box-shadow: 0 0 0 3px var(--bg); }
.stack3 .lg + .lg { margin-left: -10px; }
.kinds .tile { background: var(--bg); color: var(--ink); }

/* «Дополнительно»: стеклянные фигурки в духе Antarctic */
.fig { position: relative; width: 92px; height: 80px; margin-bottom: 34px; }
.fig__back { position: absolute; left: 4px; top: 10px; width: 62px; height: 50px; border-radius: 20px 20px 20px 8px; background: var(--accent); transform: rotate(-10deg); }
.fig__front { position: absolute; left: 22px; top: 18px; width: 66px; height: 54px; border-radius: 20px 20px 8px 20px; background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9), 0 10px 24px -12px rgba(11, 12, 20, .3);
  display: flex; align-items: center; justify-content: center; gap: 6px; }
.fig__front i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); opacity: .75; }
.fig--star .fig__back { width: 56px; height: 56px; border-radius: 16px; top: 4px; left: 8px; transform: rotate(12deg); }
.fig--star .fig__front { width: 60px; height: 60px; border-radius: 20px; top: 16px; left: 26px; }
.fig--star .fig__front span { width: 30px; height: 30px; color: var(--ink); opacity: .8; }
.more__card a { color: var(--ink); }

/* MCP: с какими агентами работает */
.mcp__with { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mcp__with .lg { width: 34px; height: 34px; border-radius: 12px; padding: 7px; }

/* ───────── каталог (как «Моментальная покупка» у Kupikod) ───────── */
.shop { background: #fff; border-radius: 32px; padding: 32px 32px 30px; }
.shop__tabs { display: flex; gap: 8px; margin-bottom: 26px; }
.shop__tabs span { height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 7px; border-radius: 12px; background: var(--bg); font-size: 15px; font-weight: 600; color: var(--text); }
.shop__tabs .on { background: var(--dark); color: #fff; }
.shop__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 22px 8px; }
.si { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.si .lg { width: 84px; height: 84px; border-radius: 24px; padding: 19px; }
.si b { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--ink); }
.si.on .lg { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent); }
.si.on b { color: var(--ink); }
.shop__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--text); }

/* ───────── каталог: квадратные плитки рядами в шахматном порядке (потом — плавное движение туда-сюда) ───────── */
.rows3 { position: relative; display: grid; gap: 12px; margin: 0 -32px; padding: 0 32px; overflow: hidden; }
.rows3 .r { display: flex; gap: 12px; width: max-content; }
.rows3 .r:nth-child(2) { margin-left: -66px; }
.rows3 .r:nth-child(3) { margin-left: -20px; }
.sq { width: 120px; height: 120px; flex: none; border-radius: 28px; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.sq .lg { width: 54px; height: 54px; border-radius: 16px; padding: 12px; }
.sq b { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink); }
.rows3::before, .rows3::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; }
.rows3::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.rows3::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }

/* ───────── первый экран: текст слева, справа стеклянный виджет быстрого пополнения ───────── */
.hero--top { height: 720px; }
.ht { position: absolute; left: 80px; top: 130px; width: 660px; z-index: 4; text-align: left; }
.ht h1 { margin: 0; font-size: 52px; line-height: 62px; font-weight: 700; letter-spacing: -1px; display: block; }
.ht h1 .hl { padding: 0 16px; border-radius: 20px; }
.ht p { margin: 24px 0 34px; font-size: 18px; line-height: 27px; font-weight: 500; color: var(--text); max-width: 520px; }
.ht .btns { display: flex; gap: 12px; }
.btn--soft { background: var(--bg); color: var(--ink); }
.qw { position: absolute; right: 90px; top: 110px; width: 470px; z-index: 3; padding: 26px; border-radius: 32px; background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(11, 12, 20, .06), 0 40px 80px -30px rgba(11, 12, 20, .35); }
.qw__t { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.qw__t b { font-size: 20px; font-weight: 700; }
.qw__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: rgba(11, 12, 20, .06); margin-bottom: 16px; }
.qw__seg span { height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--text); }
.qw__seg span i { width: 20px; height: 20px; border-radius: 8px; padding: 3px; }
.qw__seg .on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(11, 12, 20, .25); }
.qw__in { height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: center; padding: 0 18px; margin-bottom: 10px; }
.qw__in small { font-size: 12px; font-weight: 500; color: var(--muted); } .qw__in b { font-size: 16px; font-weight: 600; }
.qw__in--ph b { color: var(--muted-2); font-weight: 500; }
.qw__amt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 16px; }
.qw__amt span { height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }
.qw__amt .on { background: var(--dark); color: #fff; box-shadow: none; }
.qw .btn { width: 100%; height: 56px; font-size: 16px; }
.qw__note { margin-top: 12px; text-align: center; font-size: 12px; font-weight: 500; color: var(--muted); }
.orbit--top .ob--1 { left: 760px; top: 70px; } .orbit--top .ob--2 { left: 1270px; top: 60px; } .orbit--top .ob--3 { left: 790px; top: 520px; }
.orbit--top .ob--4 { left: 1265px; top: 540px; } .orbit--top .ob--5 { left: 1010px; top: 40px; } .orbit--top .ob--6 { left: 1300px; top: 330px; }
.orbit--top .ob--7 { left: 735px; top: 330px; } .orbit--top .ob--8 { left: 1040px; top: 575px; }

/* шапка: «Открыть бот» цветом пунктов меню */
.top__bot { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--dark); font-size: 15px; font-weight: 600; color: #fff; }
.top__bot i { width: 18px; height: 18px; }

/* первый экран: веер табличек справа */
.fan { position: absolute; right: 60px; top: 70px; width: 580px; height: 560px; z-index: 3; }
.fc { position: absolute; left: 30px; top: 40px; width: 480px; padding: 22px 24px; border-radius: 28px; background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(11, 12, 20, .05), 0 30px 60px -28px rgba(11, 12, 20, .35); transform-origin: 0% 100%; }
.fc--3 { left: 60px; top: -14px; transform: rotate(9deg); }
.fc--2 { left: 40px; top: 40px; transform: rotate(4deg); }
.fan .qw { position: absolute; left: 0; top: 150px; right: auto; width: 460px; }
.fc__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.fc__top b { display: block; font-size: 18px; line-height: 22px; font-weight: 700; } .fc__top small { font-size: 13px; font-weight: 500; color: var(--muted); }
.fc__opts { display: flex; gap: 8px; margin-bottom: 16px; }
.fc__opts span { flex: 1; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 600; }
.fc__opts .on { background: var(--dark); color: #fff; }
.fc .btn { width: 100%; height: 48px; font-size: 15px; }
.prem { width: 48px; height: 48px; border-radius: 16px; background: #F2EDFF; display: grid; place-items: center; flex: none; }
.prem svg, .qw__seg .star svg { width: 100%; height: 100%; display: block; }
.prem svg { width: 30px; height: 30px; }
.qw__seg .em { font-size: 16px; line-height: 1; }
.qw__seg .star { width: 18px; height: 18px; }

/* каталог: знаки без подложки на светлых квадратах, ряды со сдвигом */
.sq .gl { width: 52px; height: 52px; display: block; }
.sq .gl svg { width: 100%; height: 100%; display: block; }
.sq { gap: 0; }

/* «Игры»: табличка крупнее, по размеру как у «Кодов» */
.wl { height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; padding: 0 12px; margin: 12px 0 0; font-size: 13px; font-weight: 500; color: var(--muted-2); box-shadow: inset 0 0 0 1px var(--line); }
.w--games .btn { width: 100%; height: 40px; margin-top: 10px; font-size: 14px; border-radius: 12px; }

.norot .fc--3, .norot .fc--2 { transform: none; }

.hsearch { width: 560px; height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 22px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -30px rgba(11, 12, 20, .35); }
.hsearch__i { width: 22px; height: 22px; color: var(--muted); flex: none; }
.hsearch__t { flex: 1; font-size: 16px; font-weight: 500; color: var(--muted); }
.hsearch .btn { height: 46px; padding: 0 22px; border-radius: 16px; font-size: 15px; }
.hpop { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 600; }
.hpop > span { color: var(--muted); align-self: center; margin-right: 2px; }
.hpop a { height: 36px; padding: 0 12px 0 8px; display: inline-flex; align-items: center; gap: 7px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.hpop a i { width: 20px; height: 20px; }
.hpop a i svg { width: 100%; height: 100%; display: block; }

/* каталог без рамки: ряды во всю ширину первого экрана, края растворяются в фоне */
.cat2 { width: 1400px; margin: 0 auto; position: relative; overflow: hidden; }
.cat2 .rows3 { margin: 0; padding: 0; }
.cat2 .rows3::before { background: linear-gradient(90deg, var(--bg), rgba(243, 244, 247, 0)); width: 220px; }
.cat2 .rows3::after { background: linear-gradient(270deg, var(--bg), rgba(243, 244, 247, 0)); width: 220px; }
.cat2 .sq { background: #fff; }
.cat2 .rows3 .r:nth-child(1) { margin-left: -30px; } .cat2 .rows3 .r:nth-child(2) { margin-left: -96px; } .cat2 .rows3 .r:nth-child(3) { margin-left: -50px; }
.cat2__foot { width: 1088px; margin: 28px auto 0; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 500; color: var(--text); }

/* «Как купить»: карточки короче; в третьем шаге — сообщение бота */
.step { min-height: 420px !important; }
.step__phone { width: 300px !important; height: 300px !important; left: 26px !important; }
.botmsg { margin-top: auto; margin-bottom: 14px; padding: 12px 14px; border-radius: 16px 16px 16px 8px; background: var(--bg); font-size: 13px; line-height: 18px; }
.botmsg b { display: block; font-size: 13px; margin-bottom: 4px; }
.botmsg code { display: inline-block; margin-top: 6px; padding: 4px 8px; border-radius: 8px; background: #fff; font-family: inherit; font-weight: 700; letter-spacing: .5px; }
.step .kinds { margin-top: 0; gap: 10px 8px; }
.step .kinds .tile { width: 44px; height: 44px; border-radius: 12px; padding: 6px; }

/* «Тарифы и сроки»: подзаголовок в одну строку */
#catalog .sec__lead { max-width: none; white-space: nowrap; }

/* «Всегда под рукой»: кнопка белая, текст цветом фона */
.always .btn--accent { background: #fff; color: var(--dark); }

/* иконки как у Rapira (Duotone/Bulk): без сплошной плитки, значок + полупрозрачная часть */
.links .ico { background: none; padding: 0; width: 26px; height: 26px; color: var(--accent-text); }
.tile { background: none !important; color: var(--accent-text) !important; padding: 4px !important; }
.kinds .tile { background: var(--bg) !important; color: var(--accent-text) !important; padding: 10px !important; }
[data-icon] svg { fill: none; }

/* шапка: переключатель языка */
.top__right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.lang span { height: 32px; min-width: 38px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang .on { background: var(--bg); color: var(--ink); }

/* первый экран: точечная сетка на фоне и мягкое свечение за табличками; плавный переход к каталогу */
.hbg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hbg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hglow { position: absolute; right: 120px; top: 120px; width: 520px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(9, 233, 112, .22), rgba(9, 233, 112, 0)); z-index: 1; }
.hero--top { background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 70%, var(--bg) 100%); border-radius: 32px 32px 0 0; }
#all { padding-top: 40px; }
#all .sec__title { text-align: center; }

/* «Всегда под рукой»: QR на белой карточке, в центре знак wasabi на зелёном */
.always { grid-template-columns: 440px 200px 1fr !important; }
.always h2 { font-size: 40px; line-height: 46px; }
.always__btns { display: flex; align-items: center; gap: 18px; }
.always__btns small { font-size: 14px; font-weight: 500; color: var(--muted-dark); }
.qrcard { width: 200px; padding: 16px 16px 12px; border-radius: 28px; background: #fff; text-align: center; }
.qrcard .qr { width: 168px; height: 168px; margin: 0 auto; }
.qrcard span { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* подвал: большое «wasabi», видно наполовину */
.foot { overflow: hidden; padding-bottom: 0 !important; }
.foot__mark { width: 1300px; margin: 40px auto 0; height: 190px; overflow: hidden; }
.foot__mark img { width: 100%; height: auto; display: block; }

/* «Дополнительно»: фигурки — крупные иконки в стиле Rapira */
.fig2 { width: 72px; height: 72px; margin-bottom: 30px; color: var(--accent-text); }
.fig2 svg { width: 100%; height: 100%; display: block; }

/* ───── правки 02.12 (вечер) ───── */
/* шапка: белый самолётик без круга */
.top__bot i { width: 17px; height: 15px; display: inline-flex; }
.top__bot i svg { width: 100%; height: 100%; display: block; }

/* шаг 3: уведомление как в Telegram */
.tgn { margin-top: auto; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 20px; background: var(--bg); }
.tgn__av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: block; }
.tgn__body { min-width: 0; flex: 1; }
.tgn__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tgn__top b { font-size: 14px; line-height: 18px; font-weight: 700; color: var(--ink); }
.tgn__top span { font-size: 12px; font-weight: 500; color: var(--muted); }
.tgn p { margin: 1px 0 0; font-size: 13px; line-height: 17px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* «Мы в Telegram»: QR прямо на тёмном, два телефона помещаются в блок */
.always { grid-template-columns: 430px 160px 1fr !important; gap: 48px !important; overflow: hidden; }
.always .qr { width: 160px; height: 160px; }
.always__phones { height: 374px; }
.ph { bottom: 0; }
.ph--l { left: 0; width: 150px; bottom: 0; }
.ph--r { left: 120px; width: 180px; }

/* подвал: только слово wasabi от края до края, низ спрятан */
.foot__mark { width: auto; margin: 48px 20px 0; height: 236px; overflow: hidden; }
.foot__mark img { width: 100%; height: auto; display: block; }

/* значки у ссылок — в квадрате, как у Rapira */
.links .ico { width: 34px !important; height: 34px !important; border-radius: 12px; background: var(--accent-soft) !important; padding: 7px !important; color: var(--accent-text); }
/* API: ключи и вебхуки — значок мельче, в светлом квадрате */
.kk .tile { width: 38px !important; height: 38px !important; border-radius: 12px; background: var(--bg) !important; padding: 9px !important; }

/* телефоны 3D (рамки Apple iPhone 17 Pro): оба целиком внутри блока */
.always { grid-template-columns: 400px 160px 1fr !important; gap: 40px !important; }
.always__phones { height: 374px; }
.ph { width: auto !important; }
.ph--l { left: 10px !important; bottom: 34px !important; height: 290px; }
.ph--r { left: 150px !important; bottom: 20px !important; height: 330px; }

/* «Мы в Telegram»: два телефона смотрят друг на друга, видна верхняя половина */
.always { grid-template-columns: 380px 160px 1fr !important; gap: 36px !important; }
.ph--l { left: 0 !important; top: 74px; bottom: auto !important; height: 500px; z-index: 2; }
.ph--r { left: 158px !important; top: 34px; bottom: auto !important; height: 500px; z-index: 1; }

/* шаг 3: стопка уведомлений Telegram (как в iOS: аватар 38 + значок приложения, 15 полужирный / 15 обычный, время 13) */
.tgs { position: relative; margin-top: auto; padding-top: 33px; }
.tgn { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px 13px; border-radius: 24px; background: #F2F2F7; margin: 0 !important;
  font-family: system-ui, -apple-system, "SF Pro Text", sans-serif; -webkit-font-smoothing: antialiased; }
.tgn--f { z-index: 4; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.tgn--b1, .tgn--b2, .tgn--b3 { position: absolute; }
.tgn--b1 { z-index: 3; top: 22px; bottom: 11px; left: 9px; right: 9px; background: #E9E9EF; }
.tgn--b2 { z-index: 2; top: 11px; bottom: 22px; left: 18px; right: 18px; background: #EFEFF3; }
.tgn--b3 { z-index: 1; top: 0; bottom: 33px; left: 27px; right: 27px; background: #F4F4F7; }
.tgn--b1 > *, .tgn--b2 > *, .tgn--b3 > * { visibility: hidden; }
.tgn__ava { position: relative; width: 38px; height: 38px; flex: none; }
.tgn__ava img { width: 38px; height: 38px; border-radius: 50%; display: block; }
.tgn__app { position: absolute; right: -3px; bottom: -3px; width: 17px; height: 17px; border-radius: 4px; box-shadow: 0 0 0 1.5px #F2F2F7; }
.tgn__body { min-width: 0; flex: 1; }
.tgn__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tgn__top b { font-size: 15px; line-height: 20px; font-weight: 600; color: #000; letter-spacing: -.2px; }
.tgn__top span { font-size: 13px; line-height: 18px; font-weight: 400; color: rgba(60, 60, 67, .6); white-space: nowrap; }
.tgn p { margin: 0 !important; font-size: 15px !important; line-height: 20px !important; font-weight: 400 !important; color: #000 !important; letter-spacing: -.2px; white-space: normal !important; overflow: visible !important; }
.tgs { padding-top: 39px; }
.tgn--b1 { top: 26px; bottom: 13px; left: 10px; right: 10px; background: #E7E7EC; }
.tgn--b2 { top: 13px; bottom: 26px; left: 20px; right: 20px; background: #EDEDF1; }
.tgn--b3 { top: 0; bottom: 39px; left: 30px; right: 30px; background: #F2F2F5; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .025); }
.tgn--f { box-shadow: 0 -1px 0 rgba(0, 0, 0, .03), 0 2px 6px rgba(0, 0, 0, .05); }

/* ───── первый экран 02.12: фон как у страницы, узор из знаков W, три белые карточки стопкой ───── */
.hero, .hero--top { background: var(--bg) !important; }
.ht h1 { color: #181C32; }
.hpat { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hpat svg { display: block; }
.hpat__on { opacity: .55; animation: hpat 4s ease-in-out infinite; }
@keyframes hpat { 0%, 100% { opacity: .2; } 50% { opacity: .7; } }
.norot .hpat__on { animation: none; }
.hsearch { box-shadow: 0 1px 2px rgba(11, 12, 20, .04), 0 0 0 1px rgba(11, 12, 20, .04); }
/* стопка: «Быстрое пополнение» спереди, за ним ChatGPT Plus и Telegram Premium — видна только верхушка */
.fc, .qw { background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.fc { transform: none !important; box-shadow: 0 0 0 1px rgba(11, 12, 20, .05), 0 10px 30px -14px rgba(11, 12, 20, .18) !important; }
.fc--2 { left: 22px !important; width: 416px !important; top: 98px !important; z-index: 2; }
.fc--3 { left: 44px !important; width: 372px !important; top: 46px !important; z-index: 1; }
.fan .qw { z-index: 3; box-shadow: 0 0 0 1px rgba(11, 12, 20, .05), 0 24px 60px -24px rgba(11, 12, 20, .25) !important; }
.fc__opts span { background: var(--bg) !important; }
.fc__opts .on { background: var(--dark) !important; }
.qw__in, .qw__amt span { background: #fff !important; }
.qw__amt .on { background: var(--dark) !important; color: #fff; box-shadow: none !important; }
.hpat__g { stroke: #09E970; stroke-opacity: .45; }

/* шаг 3 v3: четыре уведомления сверху вниз — от строки «ChatGPT, Claude» до низа третьей плашки */
.tgs { margin-top: auto; padding: 0 !important; display: flex; flex-direction: column; }
.tgs .tgn { position: relative !important; inset: auto !important; padding: 11px 14px 12px; align-items: center; }
.tgs .tgn > * { visibility: visible !important; }
.tgs .tgn + .tgn { margin-top: -8px !important; }
.tgn--4 { z-index: 1; margin: 0 18px !important; background: #F7F7FA !important; box-shadow: 0 0 0 1px rgba(0, 0, 0, .03) !important; }
.tgn--3 { z-index: 2; margin-left: 12px !important; margin-right: 12px !important; background: #F4F4F8 !important; box-shadow: 0 -1px 0 rgba(0, 0, 0, .03), 0 2px 6px rgba(0, 0, 0, .04) !important; }
.tgn--2 { z-index: 3; margin-left: 6px !important; margin-right: 6px !important; background: #F2F2F6 !important; box-shadow: 0 -1px 0 rgba(0, 0, 0, .03), 0 2px 6px rgba(0, 0, 0, .05) !important; }
.tgs .tgn--f { z-index: 4; background: #F0F0F5 !important; }
.tgn__top { gap: 10px !important; align-items: baseline; }
.tgn__top b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.tgn__top span { flex: none; }
.tgs .tgn p, .tgn p[data-fit] { white-space: nowrap !important; overflow: hidden !important; }
.tgs .tgn__app { box-shadow: 0 0 0 1.5px #F2F2F6; }

/* «Мы в Telegram» v3: чат с ботом и мини‑приложение, наклонены в разные стороны */
.ph--l { left: -6px !important; top: 66px; height: 480px; z-index: 2; }
.ph--r { left: 176px !important; top: 30px; height: 480px; z-index: 1; }
/* шаг 1: телефон крупнее, как у Antarctic */
.step__phone { width: 360px !important; height: 360px !important; left: 0 !important; bottom: -30px !important; }
.step__phone { bottom: -84px !important; }
.ph--l { left: -14px !important; }
.ph--r { left: 158px !important; }

/* первый экран: подпись над полем, задние карточки без значков */
.qw__lbl { margin: 0 0 8px 2px; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); }
.qw__in--ph { height: 50px !important; }
.fc__top { min-height: 48px; }
.fc__top b { font-size: 18px; }

/* тарифы: «AI» и «?» в квадратах, игры — шире виджет и больше воздуха, точки тёмные, копирование — серая кнопка */
.ico--txt { display: inline-grid !important; place-items: center; padding: 0 !important; font-size: 13px; line-height: 1; font-weight: 800; letter-spacing: .2px; color: var(--accent-text); }
.links .ico svg { width: 100%; height: 100%; display: block; }
.swap, .swap .w--games { width: 280px !important; }
.w--games { padding: 18px 18px 14px !important; }
.w--games .w__top { padding-bottom: 14px; }
.chipgrid { gap: 14px 12px !important; padding: 16px 0 6px !important; }
.w--games .btn { margin-top: 14px !important; }
.dots i.on { background: var(--dark) !important; }
.copy { width: 32px !important; height: 32px !important; margin-top: -16px !important; right: 10px !important; padding: 7px; border-radius: 12px; background: var(--bg); color: var(--text) !important; }

/* шаг 3 v4: спереди одно уведомление (низ — по низу второй плашки), над ним пустые уведомления той же ширины, видны краем */
.tgs { margin-top: auto !important; margin-bottom: 74px !important; }
.tgp { height: 62px; border-radius: 24px; background: #F0F0F5; box-shadow: 0 -1px 0 rgba(0, 0, 0, .035); position: relative; }
.tgp + .tgp, .tgs .tgp + .tgn { margin-top: -51px !important; }
.tgp:nth-child(1) { background: #F9F9FB; z-index: 1; } .tgp:nth-child(2) { background: #F8F8FA; z-index: 2; }
.tgp:nth-child(3) { background: #F6F6F9; z-index: 3; } .tgp:nth-child(4) { background: #F5F5F8; z-index: 4; }
.tgp:nth-child(5) { background: #F4F4F7; z-index: 5; } .tgp:nth-child(6) { background: #F3F3F6; z-index: 6; }
.tgp:nth-child(7) { background: #F2F2F6; z-index: 7; } .tgp:nth-child(8) { background: #F1F1F5; z-index: 8; }
.tgs .tgn--f { z-index: 9 !important; margin-left: 0 !important; margin-right: 0 !important; background: #EFEFF4 !important; box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 6px rgba(0, 0, 0, .05) !important; }
.tgs { margin-bottom: 80px !important; }
.tgp:nth-child(1) { background: #FAFAFC; } .tgp:nth-child(9) { background: #F1F1F5; z-index: 9; }
.tgs .tgn--f { z-index: 10 !important; }

/* «Мы в Telegram» v4: телефоны прямо (рамки Apple как есть), правый выше и уходит за край */
.always { grid-template-columns: 370px 160px 1fr !important; }
.ph--l { left: 0 !important; top: 70px !important; height: 500px !important; z-index: 2; }
.ph--r { left: 262px !important; top: 34px !important; height: 500px !important; z-index: 1; }

/* первый экран: вместо поиска — «Открыть каталог» и «Перейти в бота» */
.hbtns { display: flex; align-items: center; gap: 28px; }
.hbtns .btn--lg { height: 58px; padding: 0 34px; font-size: 16px; border-radius: 16px; }
.hlink { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.hlink i { width: 16px; height: 16px; color: var(--muted); display: inline-flex; }
.hlink i svg { width: 100%; height: 100%; }
.hpop { margin-top: 30px !important; }

/* каталог: заголовок слева, под ним пояснение, справа кнопка; «Как это работает» тоже слева */
#all .sec__title { text-align: left !important; }
.cat__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.cat__head .sec__title { margin-bottom: 26px; }
.cat__head .sec__lead { margin: -14px 0 0; }
.cat__head .btn { margin-bottom: 2px; }

/* шаг 3 v5: три уведомления с промежутками, низ — по низу плашек шага 2 */
.tgs--3 { margin-bottom: 0 !important; gap: 10px; }
.tgs--3 .tgn + .tgn { margin-top: 0 !important; }
.tgs--3 .tgn--f { background: #F2F2F7 !important; box-shadow: none !important; }
/* копирование: серая залитая кнопка */
.copy { background: #E9EBF0 !important; color: #7E8299 !important; padding: 8px !important; }
.ph--r { left: 224px !important; }

/* «Мы в Telegram» v5: телефоны выглядывают над баннером, низ уходит в баннер */
.always { overflow: visible !important; }
.always__phones { position: absolute !important; left: 640px; right: 0; top: -140px; bottom: 0; height: auto !important; overflow: hidden; border-bottom-right-radius: 32px; align-self: auto; }
.ph--l { left: 30px !important; top: 40px !important; height: 600px !important; z-index: 2 !important; }
.ph--r { left: 196px !important; top: 8px !important; height: 620px !important; z-index: 1 !important; }
/* порядок: первый экран → «Подписки и пополнения» → каталог */
#catalog { padding-top: 40px !important; }
#all { padding-top: 120px !important; }

/* «Мы в Telegram» v6: левый под правым, левый −10%, правый −15%, правый целиком в баннере по ширине */
.ph--l { left: 26px !important; top: 48px !important; height: 540px !important; z-index: 1 !important; }
.ph--r { left: 206px !important; top: 28px !important; height: 527px !important; z-index: 2 !important; }

/* первый экран: одинаковые отступы слева и справа (150px), промежутки внутри те же */
.ht { left: 130px !important; }
.fan { right: 10px !important; }

/* каталог: края растворяются раньше — чисто только между началом заголовка и концом кнопки */
.cat2 .rows3::before { width: 190px !important; background: linear-gradient(90deg, var(--bg) 0, var(--bg) 70px, rgba(243, 244, 247, 0) 190px) !important; }
.cat2 .rows3::after { width: 190px !important; background: linear-gradient(270deg, var(--bg) 0, var(--bg) 70px, rgba(243, 244, 247, 0) 190px) !important; }
.cat2 .rows3::before { width: 220px !important; background: linear-gradient(90deg, var(--bg) 0, var(--bg) 125px, rgba(243, 244, 247, .6) 175px, rgba(243, 244, 247, 0) 220px) !important; }
.cat2 .rows3::after { width: 220px !important; background: linear-gradient(270deg, var(--bg) 0, var(--bg) 125px, rgba(243, 244, 247, .6) 175px, rgba(243, 244, 247, 0) 220px) !important; }

/* «Мы в Telegram» v7: расстановка как у Rapira — правый выше и спереди (выглядывает над баннером на 55px), левый ниже */
.ph--l { left: 62px !important; top: 250px !important; width: 218px !important; height: auto !important; z-index: 1 !important; }
.ph--r { left: 182px !important; top: 85px !important; width: 245px !important; height: auto !important; z-index: 2 !important; }
.ph--l { left: 50px !important; top: 232px !important; width: 238px !important; }

/* порядок v3: первый экран → каталог → подписки → интеграция → как это работает → «Мы в Telegram» (маленький отступ) */
#all { padding-top: 40px !important; }
#catalog { padding-top: 120px !important; }
.sec--tg { padding-top: 56px !important; }

/* серые виджеты внутри белых карточек — закрытые: скругления со всех сторон и отступ от края */
.card--wide .panel { margin: 30px 30px 30px 0 !important; border-radius: 28px !important; }
.w--media { margin: auto 30px 30px 30px !important; border-radius: 28px !important; }
.swap { right: 26px !important; width: 262px !important; }
.swap .w--games { width: 262px !important; border-radius: 24px !important; }
.w--codes { right: 26px !important; width: 248px !important; border-radius: 24px !important; }
.card--half .card__text { max-width: 230px !important; }
/* коды: без стрелок, тонкие разделители с отступом, как в списках iOS */
.crow { grid-template-columns: 32px 1fr !important; position: relative; padding: 9px 0 !important; }
.crow + .crow::before { content: ""; position: absolute; top: 0; left: 42px; right: 6px; height: 1px; background: rgba(11, 12, 20, .08); }
.card--half:has(.w--codes) { min-height: 336px !important; }
.card--half:has(.w--codes) .card__text h3 { font-size: 36px !important; line-height: 42px !important; }
.card--half:has(.w--codes) .card__text h3 { font-size: 32px !important; line-height: 38px !important; }
@media (max-width: 900px) { .card--half:has(.w--codes) .card__text h3 { font-size: 24px !important; line-height: 30px !important; } .card--half:has(.w--codes) { min-height: 0 !important; } }
.w--codes { width: 232px !important; right: 24px !important; }
.card--half:has(.w--codes) .card__text { max-width: 250px !important; }
.w--codes .code b { font-size: 13.5px !important; letter-spacing: .2px !important; }
.w--codes .code { padding-right: 46px !important; }


/* таблички разделов, как у Onefin: номер на светлом + название на тёмном, наклонены в разные стороны */
.stag { display: flex; align-items: center; gap: 3px; margin: 0 0 18px; width: max-content; }
.stag i, .stag b { display: inline-grid; place-items: center; height: 26px; border-radius: 8px; font-style: normal; font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.stag i { min-width: 28px; padding: 0 7px; background: #E6E8EE; color: var(--text); transform: rotate(var(--a)); }
.stag b { padding: 0 11px; background: var(--dark); color: #fff; transform: rotate(var(--b)); }
.cat__head .stag { margin-bottom: 16px; }
/* выпрыгивают при появлении */
.js-anim .stag.rv { opacity: 1; transform: none; }
.js-anim .stag.rv i, .js-anim .stag.rv b { opacity: 0; transform: rotate(0) scale(.5); transition: opacity .3s, transform .55s cubic-bezier(.3, 1.6, .5, 1); }
.js-anim .stag.rv b { transition-delay: .08s; }
.js-anim .stag.rv.in i { opacity: 1; transform: rotate(var(--a)); }
.js-anim .stag.rv.in b { opacity: 1; transform: rotate(var(--b)); }
@media (max-width: 900px) { .stag { margin-bottom: 14px; } .stag i, .stag b { height: 24px; font-size: 10.5px; } }

/* заголовки разделов с табличкой — по центру */
.stag { margin-left: auto !important; margin-right: auto !important; }
.sec .wrap > .sec__title, .sec .wrap > .sec__lead, .cat__head .sec__title, .cat__head .sec__lead, .iapi__text .sec__title { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
.cat__head { justify-content: center !important; text-align: center; }
.cat__head > div { display: flex; flex-direction: column; align-items: center; }
.cat__more { display: flex; justify-content: center !important; padding: 28px 16px 0 !important; }
.iapi__text .stag { margin-left: 0 !important; }
.iapi__text .sec__title { text-align: left !important; margin-left: 0 !important; }
/* музыка: «Подробнее» сразу под текстом, а не у самого низа */
.card--tall .card__text .links { margin-top: 26px !important; }
.card--tall .card__text { flex: none !important; }
.card--tall .w--media { margin-top: auto !important; }
/* код: серая рамка, кнопка копирования — серая подложка, зелёный значок */
.code { box-shadow: inset 0 0 0 1px var(--line) !important; }
.copy { color: var(--accent-text) !important; }

/* табличка раздела: номер — зелёный */
.stag i { background: var(--accent-text) !important; color: #fff !important; }
.stag b { background: var(--accent) !important; color: #fff !important; }
/* уведомления: многоточие средствами CSS (без подмены текста при загрузке) */
.tgn__top b, .tgn p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* подвал: копирайт под описанием, большое слово сразу под линией */
.foot__c { display: block; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--muted-2); }
.foot__copy { margin-top: 40px !important; padding-top: 0 !important; height: 0; }
.foot__mark { margin-top: 0 !important; padding-top: 18px; }

/* большое слово в подвале: высота по пропорции, без пустоты под ним */
.foot__mark { height: auto !important; aspect-ratio: 6.2 / 1; overflow: hidden; }

/* шаг 2: круглые значки сервисов */
.stack3 .lg { border-radius: 50% !important; }

/* кнопка после MCP — на страницу «Интеграции» */
.api__more { display: flex; justify-content: center; margin-top: 28px; }
.api__more .btn { gap: 6px; }
.api__more .chev { width: 16px; height: 16px; display: inline-flex; color: currentColor; opacity: .7; }
.api__more .chev svg { width: 100%; height: 100%; }
/* «Пополнение» и «Игры» одной высоты — от них зависит высота «Музыки и кино» */
@media (min-width: 901px) { .card--half:has(.w--codes) { min-height: 302px !important; } .card--half .w--codes { top: 24px !important; } }

/* site.css — с wasabi.guru */
/* Общие анимации и адаптация под телефон (подключается последним на всех страницах) */
.js-anim .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js-anim .rv.in { opacity: 1; transform: none; }
.js-anim .mcp__with .lg { transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s; }
.js-anim .mcp__with.rv { opacity: 1; transform: none; }
.js-anim .mcp__with.rv:not(.in) .lg:not(:first-of-type) { transform: translateX(calc(-44px * var(--n, 1))); opacity: 0; }
.js-anim .mcp__with .lg:nth-of-type(2) { --n: 1; transition-delay: .1s; } .js-anim .mcp__with .lg:nth-of-type(3) { --n: 2; transition-delay: .2s; }
.js-anim .mcp__with .lg:nth-of-type(4) { --n: 3; transition-delay: .3s; } .js-anim .mcp__with .lg:nth-of-type(5) { --n: 4; transition-delay: .4s; }

/* бегущие ряды каталога: сдвиг ровно на длину одного набора */
.mq { animation: mq-l 40s linear infinite; will-change: transform; }
.mq--r { animation-name: mq-r; }
@keyframes mq-l { from { transform: translateX(0); } to { transform: translateX(calc(var(--dist) * -1)); } }
@keyframes mq-r { from { transform: translateX(calc(var(--dist) * -1)); } to { transform: translateX(0); } }

/* ленты тарифов: окно на 4 строки, строки едут, подсветка стоит */
.plist { position: relative; height: 240px; overflow: hidden; margin: 0 -14px; padding: 0 14px;
 }
.plist .prow { height: 60px; margin: 0; padding: 10px 14px; box-sizing: border-box; }
.plist .prow:nth-child(2) { background: #fff; }
.ptrack { position: relative; z-index: 1; transition: transform .7s cubic-bezier(.45, 0, .2, 1); }
.js-anim .plist .prow { background: transparent; opacity: .5; transform: scale(.92); transform-origin: 30% 50%; transition: opacity .5s, transform .6s cubic-bezier(.3, .8, .2, 1); }
.js-anim .plist .prow.on { opacity: 1; transform: scale(1); }
.hlr { position: absolute; left: 14px; right: 14px; top: 0; z-index: 0; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px -12px rgba(11, 12, 20, .28); pointer-events: none; }
.w--media .plist { height: 240px; }

/* вкладки с ползунком */
.sg { position: relative; isolation: isolate; }
.sg > span { position: relative; z-index: 1; background: transparent !important; box-shadow: none !important; transition: color .3s; cursor: pointer; }
.sg__pill { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px -4px rgba(11, 12, 20, .25); transition: transform .42s cubic-bezier(.3, .8, .2, 1), width .3s; }
.dash .sg__pill { border-radius: 8px; }
/* суммы и сроки: просто подсветка */
.qw__amt > span, .fc__opts > span { cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.qw { transition: none; }
.qw .qw__lbl, .qw .qw__in, .qw .qw__amt, .qw .btn, .qw .qw__note { transition: opacity .16s; }
.qw--sw .qw__lbl, .qw--sw .qw__in, .qw--sw .qw__amt, .qw--sw .btn, .qw--sw .qw__note { opacity: 0; }

/* игры: окна одного размера, плавная смена */
.swap--fx { height: calc(var(--sh) + 26px); }
.swap--fx .slide { display: block !important; position: absolute; left: 0; right: 0; top: 0; height: var(--sh); transition: opacity .45s, transform .45s; }
.swap--fx .slide:not(.on) { opacity: 0; transform: translateX(26px); pointer-events: none; }
.swap--fx .dots { position: absolute; left: 0; right: 0; bottom: 0; }
.swap--fx .w--games { display: flex !important; flex-direction: column; }
.swap--fx .w--games .btn { margin-top: auto !important; }
.swap { touch-action: pan-y; user-select: none; }
.dots i { cursor: pointer; transition: width .3s, background .3s; }

/* уведомления приходят по одному */
.js-anim .nt { opacity: 0; transform: translateY(-14px) scale(.97); transition: opacity .45s, transform .5s cubic-bezier(.2, .9, .3, 1.2); }
.js-anim .nt.in { opacity: 1; transform: none; }

/* шапка: всегда сверху, матовое стекло */
.top--fx { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.top--solid { background: rgba(243, 244, 247, .72); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 1px 0 rgba(11, 12, 20, .06); }
.cside .cnav > a, .lang span { cursor: pointer; }
.lang span { transition: background .2s, color .2s; }

/* каталог: быстрое появление */
.js-anim .rv--fast { transition-duration: .35s, .35s; transform: translateY(12px); }
.csearch__in { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 16px/1 "Montserrat", sans-serif; color: var(--ink); }
.csearch__in::placeholder { color: var(--muted-2); }
.csearch { cursor: text; }

/* кабинет: наклон при прокрутке, смена периода */
.dash { will-change: transform; }
.bars i { transition: height .45s cubic-bezier(.3, .8, .2, 1); }
.bars--sw { opacity: .3; transition: opacity .2s; }
.bars { transition: opacity .2s; }

/* точки окна (красная, жёлтая, зелёная) — значки строго по центру, нарисованы векторно */
.term__bar i::after { content: none !important; }
.term__bar i, .tl i { width: 12px; height: 12px; border-radius: 50%; background: center / 12px 12px no-repeat; }
.term__bar i:nth-child(1), .tl i:nth-child(1) { background-color: #FF5F57; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.1 4.1l3.8 3.8M7.9 4.1L4.1 7.9' stroke='%234D0000' stroke-opacity='.75' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.term__bar i:nth-child(2), .tl i:nth-child(2) { background-color: #FEBC2E; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.6 6h4.8' stroke='%23995700' stroke-opacity='.8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.term__bar i:nth-child(3), .tl i:nth-child(3) { background-color: #28C840; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 3.6v4.8M3.6 6h4.8' stroke='%23006500' stroke-opacity='.8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tl { display: flex; gap: 7px; padding: 2px 10px 18px; }

/* ───── меню-бургер (только телефон) ───── */
.burger, .drawer { display: none; }

/* ───── телефон ───── */
@media (max-width: 900px) {
  body { overflow-x: hidden; }
  .wrap, .wide, .hero, .ih, .cat2, .foot__mark { width: auto !important; max-width: 100%; }
  .wrap, .wide { padding: 0 16px; }
  .sec { padding-top: 56px !important; }
  .sec__title, .icta h2, .ch3 h1, .ih h1 { font-size: 30px !important; line-height: 36px !important; margin-bottom: 10px !important; }
  .sec__lead { font-size: 15px !important; line-height: 21px !important; white-space: normal !important; margin: 0 0 22px !important; }
  .js-anim .rv { transform: translateY(14px); transition-duration: .5s, .5s; }

  /* шапка: логотип + бургер; меню выезжает справа */
  .top { height: 60px !important; }
  .top__in { width: auto !important; height: 60px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
  .top__nav, .top__right { display: none !important; }
  .top__logo img { height: 24px; }
  .burger { display: grid; place-items: center; gap: 0; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; position: relative; cursor: pointer; }
  .burger i { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s cubic-bezier(.3, .8, .2, 1); }
  .burger i:first-child { transform: translateY(-4px); } .burger i:last-child { transform: translateY(4px); }
  .menu-open .burger i:first-child { transform: rotate(45deg); } .menu-open .burger i:last-child { transform: rotate(-45deg); }
  .drawer { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
  .drawer__bg { position: absolute; inset: 0; background: rgba(11, 12, 20, .25); opacity: 0; transition: opacity .35s; }
  .drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: 82%; max-width: 340px; padding: 84px 22px 28px; display: flex; flex-direction: column; gap: 18px;
    background: rgba(243, 244, 247, .86); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
    box-shadow: -20px 0 60px -30px rgba(11, 12, 20, .35); transform: translateX(105%); transition: transform .45s cubic-bezier(.3, .8, .2, 1); }
  .drawer__nav { display: flex; flex-direction: column; }
  .drawer__nav a { padding: 14px 4px; font-size: 22px; line-height: 28px; font-weight: 700; color: #181C32; border-bottom: 1px solid rgba(11, 12, 20, .06);
    opacity: 0; transform: translateX(20px); transition: opacity .35s, transform .45s cubic-bezier(.3, .8, .2, 1); }
  .drawer__nav a:nth-child(2) { transition-delay: .04s; } .drawer__nav a:nth-child(3) { transition-delay: .08s; } .drawer__nav a:nth-child(4) { transition-delay: .12s; }
  .drawer__lang .lang { display: inline-flex !important; }
  .drawer__bot { display: flex !important; justify-content: center; height: 52px !important; margin-top: auto; font-size: 16px !important; }
  .menu-open .drawer { pointer-events: auto; }
  .menu-open .drawer__bg { opacity: 1; }
  .menu-open .drawer__panel { transform: none; }
  .menu-open .drawer__nav a { opacity: 1; transform: none; }

  /* первый экран */
  .hero, .hero--top { height: auto !important; padding: 26px 16px 36px; border-radius: 0; }
  .ht { position: static !important; width: auto !important; }
  .ht h1 { font-size: 34px !important; line-height: 40px !important; letter-spacing: -.6px !important; }
  .ht p { font-size: 15px !important; line-height: 22px !important; margin: 16px 0 24px !important; }
  .hbtns { display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 18px !important; }
  .hbtns .btn--lg { height: 52px !important; padding: 0 22px !important; font-size: 15px !important; border-radius: 16px !important; }
  .hlink { font-size: 15px !important; white-space: nowrap; }
  .fan { position: relative !important; right: auto !important; top: auto !important; width: 100% !important; height: auto !important; margin-top: 32px; padding-top: 74px; }
  .fan .qw { position: relative !important; left: 0 !important; top: 0 !important; width: 100% !important; padding: 18px !important; border-radius: 28px !important; }
  .fc { left: 18px !important; right: 18px !important; width: auto !important; top: 36px !important; padding: 14px 18px !important; border-radius: 24px !important; }
  .fc--3 { left: 36px !important; right: 36px !important; top: 0 !important; }
  .fc__top b { font-size: 16px !important; }
  .qw__seg span { font-size: 13px !important; gap: 5px !important; }
  .qw__amt span { font-size: 13px !important; }
  .hpat { opacity: .5; }

  /* каталог на главной */
  .cat__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
  .cat__head .sec__lead { margin: 0 !important; }
  .sq { width: 84px !important; height: 84px !important; border-radius: 24px !important; }
  .sq .gl { width: 38px !important; height: 38px !important; }

  /* карточки тарифов: виджет сверху на всю ширину, затем заголовок, текст и «Подробнее» */
  .card--wide, .grid2, .card, .api, .api__col, .steps, .more, .where, .cab, .iapi, .cb3, .always, .pop, .grid3 { display: flex !important; flex-direction: column; gap: 14px; align-items: stretch !important; }
  .card { width: auto !important; min-height: 0 !important; border-radius: 28px !important; gap: 0; }
  .card__text { padding: 20px 22px 24px !important; width: auto !important; }
  .card__text h3 { font-size: 24px !important; line-height: 30px !important; margin: 0 0 8px !important; }
  .card__text p { font-size: 15px !important; line-height: 21px !important; }
  .card__text .links { margin-top: 18px !important; }
  .card .panel, .card .w--media, .card .w--codes, .card .swap { position: relative !important; width: auto !important; margin: 12px 12px 0 !important; right: auto !important; top: auto !important; border-radius: 24px !important; }
  .card .panel, .card .w--media, .card .w--codes { padding: 18px !important; }
  .card .swap, .card .swap .w--games { width: auto !important; }
  .card .swap .w--games { position: absolute !important; left: 0; right: 0; top: 0; margin: 0 !important; border-radius: 24px !important; padding: 18px !important; }
  .card .swap .slide { transition: opacity .4s, transform .45s cubic-bezier(.3, .8, .2, 1); }
  .chipgrid { gap: 14px 10px !important; }
  .chipgrid span { font-size: 13px !important; }
  .panel__head .pick { white-space: nowrap; }
  .plist { margin: 0 -10px !important; padding: 0 10px !important; }
  .plist .prow { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 10px !important; }
  .plist .prow .r small { display: none; }
  .hlr { left: 10px !important; right: 10px !important; }
  .w__head { flex-wrap: nowrap; gap: 10px; }
  .w__head b { white-space: nowrap; }

  /* интеграция: без горизонтальной прокрутки, код переносится, лишнее скрыто */
  .term { margin: 0 12px 12px !important; border-radius: 20px !important; overflow: hidden; }
  .term pre { white-space: pre-wrap !important; word-break: break-all; font-size: 11px !important; line-height: 17px !important; padding: 14px !important; }
  .api__code .card__text--api { padding: 22px 22px 14px !important; }
  .api__methods { padding: 18px !important; }
  .mrow { grid-template-columns: 56px 1fr !important; }
  .mrow small, .api__methods .pick { display: none !important; }
  .api__keys { padding: 6px 18px 18px !important; }
  .kk small { display: none; }
  .api__mcp .term--mcp { display: none !important; }
  .api__mcp .card__text { padding: 22px !important; }

  /* как это работает: шаги листаются каруселью */
  .steps--car { position: relative; display: block !important; }
  .steps--car .cslide { position: absolute !important; inset: 0; min-height: 0 !important; transition: opacity .4s, transform .45s cubic-bezier(.3, .8, .2, 1); }
  .steps--car .cslide:not(.on) { opacity: 0; pointer-events: none; }
  .dots--steps { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .dots--steps i { width: 6px; height: 6px; border-radius: 4px; background: #D5D9E2; }
  .dots--steps i.on { width: 18px; background: var(--dark); }
  .step { padding: 22px !important; }
  .step__phone { position: relative !important; left: 0 !important; bottom: auto !important; width: 100% !important; height: auto !important; margin: 14px 0 -22px; }
  .step .rows, .step .tgs { margin-top: 18px !important; }

  /* «Мы в Telegram» как у Rapira: телефоны сверху, под ними текст по центру */
  .always { padding: 0 20px 28px !important; min-height: 0 !important; margin-top: 70px !important; text-align: center; overflow: visible !important; }
  .always__phones { order: -1; position: relative !important; left: 0 !important; top: 0 !important; width: auto !important; height: 250px !important; margin: -70px -20px 10px !important; overflow: hidden; }
  .ph--l { left: 6% !important; top: 30px !important; width: 50% !important; }
  .ph--r { left: 44% !important; top: 0 !important; width: 50% !important; }
  .always .qr { display: none; }
  .always__logo { margin: 0 auto 12px !important; height: 26px !important; }
  .always h2 { font-size: 30px !important; line-height: 36px !important; margin-bottom: 10px !important; }
  .always p { margin: 0 auto 22px !important; font-size: 15px !important; }
  .always__btns { flex-direction: column; gap: 10px !important; }
  .always__btns .btn { width: 100%; }

  /* дополнительно: компактно */
  .more__card { padding: 22px !important; min-height: 0 !important; }
  .fig2 { width: 44px !important; height: 44px !important; margin-bottom: 16px !important; }
  .more__card h3 { font-size: 20px !important; margin-bottom: 6px !important; }
  .more__card p { font-size: 14px !important; margin-bottom: 16px !important; }

  /* подвал */
  .foot__in { display: grid !important; grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot__brand { grid-column: 1 / -1; }

  /* интеграции */
  .ih { padding-top: 36px !important; }
  .ih__text { padding: 0 16px; }
  .ih__btns { flex-wrap: nowrap; justify-content: center; gap: 18px; }
  .ih__btns .btn--lg { height: 52px; padding: 0 22px; font-size: 15px; }
  .dash { margin: 28px 16px 0 !important; grid-template-columns: 1fr !important; height: 520px !important; width: auto !important; transform: none !important; }
  .dash__side { display: none !important; }
  .dash__bar { flex-wrap: wrap; height: auto !important; gap: 10px !important; }
  .dash__bar .seg { position: relative !important; left: auto !important; top: auto !important; order: 3; width: 100% !important; }
  .dash__stats, .dash__row { grid-template-columns: 1fr !important; }
  .dash__fade { width: 100% !important; }
  .tbl__h, .tbl__r { grid-template-columns: 1fr 80px !important; }
  .tbl__h span:nth-child(1), .tbl__h span:nth-child(3), .tbl__r > code, .tbl__r > span:nth-child(3) { display: none; }
  .iapi__term { margin: 0 !important; }

  /* каталог */
  .cside { position: static !important; min-width: 0; width: 100%; }
  .cgrp { min-width: 0; width: 100%; }
  .cside .cnav { flex-direction: row !important; overflow-x: auto; padding: 6px; max-width: 100%; width: 100%; box-sizing: border-box; }
  .cside .cnav > a { flex: none; }
  .cnav__help { display: none; }
  .cqs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .cq { padding: 14px !important; }
  .ch3 .wide > p { font-size: 15px; }
  .cat2 .rows3::before, .cat2 .rows3::after { width: 28px !important; background: linear-gradient(90deg, var(--bg), rgba(243, 244, 247, 0)) !important; }
  .cat2 .rows3::after { background: linear-gradient(270deg, var(--bg), rgba(243, 244, 247, 0)) !important; }
  .cat2 .rows3 .r { margin-left: 0 !important; }
  .w--media .w__head { flex-wrap: wrap !important; }
  .w--media .w__head .seg { margin-left: auto; }
  .steps--car .cslide { bottom: auto !important; }
}
@media (max-width: 900px) { .ih__link { white-space: nowrap; font-size: 15px !important; } .ih__btns { gap: 16px !important; }   /* v3 */
  .drawer__x { position: absolute; top: 12px; right: 10px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .drawer__x i { position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
  .drawer__x i + i { transform: rotate(-45deg); }
  .drawer__panel { padding-top: 70px !important; }
  /* первый экран: по центру, кнопки — под «Быстрым пополнением» */
  .ht { text-align: center; }
  .ht h1 br { display: none; }
  .hero .hbtns { justify-content: center; margin-top: 22px; }
  /* каталог главной: кнопка под рядами по центру */
  .cat__head .sec__title, .cat__head .sec__lead { text-align: left; }
  .cat__more { display: flex; justify-content: center; padding: 22px 16px 0; }
  /* карточки: текст сверху, виджет, «Подробнее» внизу */
  .card__text { order: 0; padding-bottom: 6px !important; max-width: none !important; }
  .card .panel, .card .w--media, .card .w--codes, .card .swap { order: 1; margin-top: 8px !important; }
  .card__more { order: 2; padding: 16px 22px 22px; }
  .card__more .links { margin: 0 !important; }
  .card--half .card__text, .card--tall .card__text { max-width: none !important; }
  .card--half:has(.w--codes) .card__text h3 { font-size: 24px !important; }
  .w--codes { width: auto !important; }
  /* интеграция на главной: на телефоне только заказ одним запросом и MCP */
  .api__col { display: none !important; }
  .api__code .term { margin: 6px 12px 12px !important; }
  /* шаги одного размера */
  .steps--car .cslide { top: 0 !important; bottom: 0 !important; height: auto !important; }
  /* дополнительно: значки меньше */
  .fig2 { width: 36px !important; height: 36px !important; margin-bottom: 12px !important; }
  /* страница «Интеграции» */
  .ih__pat { left: 50% !important; transform: translateX(-50%); opacity: .8; }
  .iapi .feat { display: none; }
  .iapi__lead { margin-bottom: 18px !important; }
  .iapi__term { margin: 0 0 18px !important; }
  .iapi .ih__btns { flex-direction: column; align-items: flex-start; }
  /* каталог: меньше пустоты сверху */
  .ch3 { padding-top: 22px !important; }
  .icta .ih__btns { flex-direction: column; align-items: center; gap: 14px !important; }
  .icta { padding-left: 16px; padding-right: 16px; }
  /* v4: центр, без повторов, меньше текста */
  * { -webkit-tap-highlight-color: transparent; }
  .burger, .drawer__x { -webkit-appearance: none; appearance: none; outline: none; }
  .burger:active, .drawer__x:active, .burger:focus, .drawer__x:focus { background: none !important; }
  .sec__title, .sec__lead, .cat__head .sec__title, .cat__head .sec__lead { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .cat__head { align-items: center; }
  .card__text { text-align: center; }
  .card__text .links { align-items: center; }
  .card__more { display: flex; justify-content: center; }
  .card__more .chev { display: none !important; }
  .card .panel__head, .card .w__head { justify-content: center !important; }
  .card .panel__head > b, .card .w__head > b { display: none !important; }
  .w--media .w__head .seg { margin-left: 0 !important; }
  .api__code .card__text p, .iapi__lead, .iapi .ih__btns { display: none !important; }
  .ih .ih__btns { flex-direction: row !important; flex-wrap: nowrap; justify-content: center; margin-top: 22px; }
  .iapi__text { text-align: center; }
  .iapi__term { margin-top: 6px !important; text-align: left; }
  .js-anim .always.rv, .js-anim .steps.rv { opacity: 1 !important; transform: none !important; }
  .wh { text-align: left; }
  /* v5: компактно, как у Rapira — карточка примерно в один экран */
  .sec { padding-top: 40px !important; }
  .sec__title, .icta h2, .ch3 h1, .ih h1 { font-size: 26px !important; line-height: 32px !important; }
  .sec__lead { font-size: 14px !important; line-height: 20px !important; margin-bottom: 18px !important; }
  .hero, .hero--top { padding: 18px 16px 26px !important; }
  .ht h1 { font-size: 30px !important; line-height: 36px !important; }
  .ht p { font-size: 14px !important; line-height: 20px !important; margin: 12px 0 20px !important; }
  .fan { margin-top: 22px !important; padding-top: 64px !important; }
  .qw__amt { margin: 10px 0 12px !important; }
  .qw .btn { height: 48px !important; }
  /* каталог главной: 2 ряда, плитки меньше */
  .rows3 .r:nth-child(3) { display: none !important; }
  .rows3 { gap: 10px !important; }
  .sq { width: 68px !important; height: 68px !important; border-radius: 20px !important; }
  .sq .gl { width: 32px !important; height: 32px !important; }
  .cat__more { padding-top: 18px !important; }
  /* карточки */
  .card { border-radius: 24px !important; }
  .card__text { padding: 18px 18px 4px !important; }
  .card__text h3 { font-size: 21px !important; line-height: 26px !important; margin-bottom: 6px !important; }
  .card__text p { font-size: 14px !important; line-height: 19px !important; }
  .card__text .links { flex-direction: row !important; justify-content: center; gap: 16px !important; margin-top: 12px !important; flex-wrap: wrap; }
  .card__text .links a { font-size: 13px !important; }
  .card .panel, .card .w--media, .card .w--codes { padding: 12px 14px !important; margin: 10px 10px 0 !important; }
  .card .swap { margin: 10px 10px 0 !important; }
  .card .swap .w--games { padding: 14px !important; }
  .plist, .w--media .plist { height: 168px !important; }
  .plist .prow { height: 56px !important; padding: 8px 10px !important; }
  .plist .prow b { font-size: 15px !important; }
  .card__more { padding: 12px 18px 16px !important; }
  .card__more a { font-size: 14px !important; }
  .chipgrid { padding: 10px 0 2px !important; gap: 10px 8px !important; }
  .w--games .w__top { padding-bottom: 10px !important; }
  .w--codes .crow { padding: 6px 0 !important; }
  .card .panel__head, .card .w__head { margin-bottom: 6px !important; }
  /* интеграция главной */
  .api__code .card__text { padding-bottom: 8px !important; }
  .term pre { padding: 12px !important; }
  .tools { gap: 6px !important; margin-top: 14px !important; }
  .tools span { height: 28px !important; font-size: 12px !important; }
  /* шаги */
  .step { padding: 18px !important; }
  .step h3 { font-size: 21px !important; }
  .step p { font-size: 14px !important; line-height: 19px !important; }
  /* Telegram */
  .always__phones { height: 210px !important; margin-bottom: 6px !important; }
  .always h2 { font-size: 26px !important; line-height: 32px !important; }
  .always p { font-size: 14px !important; line-height: 19px !important; margin-bottom: 18px !important; }
  /* дополнительно: две компактные карточки */
  .more { gap: 10px !important; }
  .more__card { padding: 16px 18px !important; display: grid !important; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; }
  .more__card .fig2 { grid-row: span 3; margin: 2px 0 0 !important; }
  .more__card h3 { font-size: 17px !important; line-height: 22px !important; margin: 0 0 4px !important; }
  .more__card p { font-size: 13px !important; line-height: 18px !important; margin: 0 0 8px !important; }
  .more__card a { font-size: 13px !important; }
  /* «Интеграции»: кабинет короче, меньше текста */
  .dash { height: 330px !important; }
  .dash__main { padding: 16px !important; }
  .dash__stats { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .dash__stats .kpi:nth-child(3), .dash__row { display: none !important; }
  .kpi { padding: 12px 14px !important; }
  .kpi b { font-size: 22px !important; line-height: 28px !important; }
  .kpi span { font-size: 11px !important; }
  .where { gap: 10px !important; }
  .wh { padding: 14px 14px 18px !important; }
  .wh__vis { height: auto !important; min-height: 0 !important; margin-bottom: 14px !important; padding: 12px !important; }
  .wh h3 { font-size: 19px !important; margin-bottom: 4px !important; }
  .wh p { font-size: 13px !important; line-height: 18px !important; }
  .cab { padding: 8px !important; }
  .cab__view { padding: 10px !important; }
  .tbl__r:nth-child(n+5) { display: none !important; }
  .tbl__r { height: 48px !important; font-size: 13px !important; }
  .icta { padding-bottom: 20px !important; }
  .icta__mark { width: 56px !important; margin-bottom: 16px !important; }
  .icta p { font-size: 14px !important; margin-bottom: 20px !important; }
  .dash__fade { height: 70px !important; margin-top: -70px !important; }
  /* скругления по правилу «внутреннее = внешнее − отступ» (карточка 24, отступ 10 → 14) */
  .card .panel, .card .w--media, .card .w--codes, .card .swap, .card .swap .w--games { border-radius: 16px !important; }
  .hlr, .plist .prow { border-radius: 12px !important; }
  .card .w--codes .code { border-radius: 12px !important; }
  .term, .api__code .term { border-radius: 16px !important; }
  .wh__vis { border-radius: 16px !important; }
  .cab__view { border-radius: 16px !important; } .tbl { border-radius: 12px !important; }
  .step__phone { border-radius: 0 !important; }
  /* v6: как у Rapira — всё слева, виджет сверху и уходит за правый край, под ним текст и «Подробнее ›» */
  .sec__title, .sec__lead, .cat__head .sec__title, .cat__head .sec__lead, .iapi__text { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .iapi__text .stag, .stag { margin-left: auto !important; }
  .cat__head { align-items: center !important; }
  .card__text { order: 2 !important; text-align: left !important; padding: 16px 18px 20px !important; }
  .card__text .links { flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 12px !important; margin-top: 14px !important; }
  .card__text .links a { font-size: 14px !important; }
  .card__text .links .chev { display: inline-flex !important; }
  .card .panel__head > b, .card .w__head > b { display: block !important; }
  .card .panel__head, .card .w__head { justify-content: space-between !important; }
  .card .panel, .card .w--media, .card .w--codes, .card .swap { order: 1 !important; margin: 14px 0 0 14px !important; border-radius: 16px 0 0 16px !important; }
  .card .swap .w--games { border-radius: 16px 0 0 16px !important; }
  .ht, .ih__text, .always { text-align: center; }
  .more__card { text-align: left; }
  /* v7 */
  /* шаги: видно только текущий, листается */
  .js-anim .step.rv { opacity: 1; transform: none; }
  .steps--car .cslide:not(.on) { opacity: 0 !important; pointer-events: none; }
  .steps--car .cslide, .card .swap .slide { transition: opacity .22s, transform .24s cubic-bezier(.3, .8, .2, 1) !important; }
  /* заголовок «Заказ одним запросом» и MCP — над кодом */
  .api__code .card__text, .api__mcp .card__text { order: 0 !important; }
  .api__code .term { order: 1; }
  /* «Подробнее» и ссылки — нашим зелёным */
  .card__text .links a, .card__more a, .more__card a { color: var(--accent-text) !important; }
  .card__text .links .chev, .more__card .chev { color: var(--accent-text) !important; }
  .card__text p { max-width: none !important; text-wrap: pretty; }
  /* серые виджеты снова внутри карточки, без затухания снизу */
  .card .panel, .card .w--media, .card .w--codes, .card .swap { margin: 12px 12px 0 !important; border-radius: 16px !important; }
  .card .swap .w--games { border-radius: 16px !important; }
  .plist { -webkit-mask-image: none !important; mask-image: none !important; }
  /* первый экран: без стопки «Быстрого пополнения», узор виден */
  .fan { display: none !important; }
  .hero, .hero--top { padding-bottom: 34px !important; overflow: hidden; }
  .hpat { opacity: .9 !important; width: auto !important; left: 0 !important; right: 0 !important; }
  .hpat svg { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
  /* «Интеграции»: без картинки кабинета */
  .dash, .dash__fade, .ih__note { display: none !important; }
  .ih { padding-bottom: 10px; }
  .card .card__text, .card--half:has(.w--codes) .card__text { max-width: none !important; width: auto !important; }
  .card__text h3, .card__text p { max-width: none !important; }
  /* «Telegram‑бот» и «ИИ‑агенты»: сначала текст, потом пример */
  .where .wh:nth-child(n+2) { display: flex; flex-direction: column; }
  .where .wh:nth-child(n+2) .wh__vis { order: 2; margin: 14px 0 0 !important; }
  /* v8: без повторов заголовков — название в сером виджете, в белой карточке только текст */
  .card:has(.panel) .card__text h3, .card:has(.w--media) .card__text h3, .card:has(.w--codes) .card__text h3 { display: none !important; }
  .card:has(.panel) .card__text, .card:has(.w--media) .card__text, .card:has(.w--codes) .card__text { padding-top: 12px !important; }
  .card .panel__head > b, .card .w__head > b { font-size: 17px !important; }
  /* без затухания строк снизу */
  .js-anim .plist .prow { opacity: .78 !important; }
  .js-anim .plist .prow.on { opacity: 1 !important; }
  /* шаги ниже */
  .step__phone { width: 74% !important; margin: 10px auto -18px !important; display: block; }
  .step .row { padding: 8px 10px !important; border-radius: 16px !important; }
  .step .row b { font-size: 14px !important; line-height: 18px !important; }
  .step .row small { font-size: 12px !important; }
  .stack3 .lg { width: 30px !important; height: 30px !important; }
  .step .rows { gap: 8px !important; }
  .iapi__text .sec__title { text-align: center !important; margin-left: auto !important; }
}

/* карусель: лента за пальцем */
.car { overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ctrack { display: flex; gap: 12px; align-items: stretch; transition: transform .34s cubic-bezier(.22, .8, .24, 1); will-change: transform; }
.car .ctrack > *, .steps--car .ctrack > .cslide, .card .swap.car .ctrack > .w--games { flex: 0 0 100%; min-width: 0; position: static !important; inset: auto !important; opacity: 1 !important; transform: none !important; pointer-events: auto !important; transition: none !important; }
.swap.car { height: auto !important; }
.swap.car .ctrack > .w--games { display: flex !important; flex-direction: column; height: auto !important; }
.swap.car .ctrack > .w--games .btn { margin-top: auto !important; }
.swap.car .dots { position: static !important; margin-top: 12px; }
.steps--car.car { height: auto !important; }
.ctrack img { -webkit-user-drag: none; }

@media (max-width: 900px) {
  /* v9: первый экран — на всю высоту телефона, следующий раздел видно только при прокрутке */
  .hero, .hero--top { min-height: calc(100svh - 60px) !important; display: flex !important; flex-direction: column; justify-content: center; }
  .ih { min-height: calc(100svh - 60px) !important; display: flex !important; flex-direction: column; justify-content: center; padding-top: 0 !important; }
  .ih__text > p { display: block !important; font-size: 15px !important; line-height: 22px !important; margin: 16px auto 24px !important; }
  .ht h1, .ih h1 { font-size: 34px !important; line-height: 40px !important; }
  .ht p { font-size: 15px !important; line-height: 22px !important; margin: 16px 0 26px !important; }
  .foot__mark { padding-top: 12px; }
  .foot__copy { margin-top: 28px !important; }
}

@media (max-width: 900px) {
  /* первый экран: заголовок выше, кнопки ниже — больше воздуха */
  .hero .ht, .ih .ih__text { display: flex; flex-direction: column; }
  .ht h1, .ih h1 { margin-bottom: 26px !important; }
  .ht p { margin: 0 0 56px !important; }
  .ih__text > p { margin: 0 auto 56px !important; }
  .ih .ih__btns { margin-top: 0 !important; }
  .hero, .hero--top, .ih { padding-bottom: 40px !important; }
  .foot__mark { padding-top: 6px !important; }
}

@media (max-width: 900px) {
  /* больше воздуха между разделами */
  .sec { padding-top: 76px !important; }
  /* карточки: заголовок сверху, затем виджет, текст и «Подробнее» */
  .card__title { display: block !important; order: 0 !important; margin: 0 !important; padding: 18px 18px 0; font-size: 21px !important; line-height: 26px !important; font-weight: 700; text-align: left; }
  .card .card__text { padding-top: 14px !important; }
  .card .w--media .w__head { justify-content: flex-start !important; }
  .card .w--codes .w__head { display: none !important; }
  /* Steam: свободнее и выше */
  .card .swap .w--games { padding: 18px !important; }
  .card .w--games .w__top { padding-bottom: 16px !important; }
  .card .w--games .w__top b { font-size: 17px !important; }
  .card .chipgrid { gap: 16px 12px !important; padding: 18px 0 6px !important; }
  .card .chipgrid span { font-size: 14px !important; gap: 10px !important; }
  .card .chipgrid i { width: 26px !important; height: 26px !important; }
  .card .w--games .btn { height: 46px !important; margin-top: 18px !important; }
  .card .w--games .trow { padding: 11px 10px !important; }
}

@media (max-width: 900px) {
  /* одинаковый большой отступ между разделами — как после каталога */
  .sec, #catalog, #api, #how, #more { padding-top: 120px !important; }
  .sec--tg { padding-top: 120px !important; }
  .cat__more { padding-top: 40px !important; }
  /* «Свой сайт» тоже: сначала текст, потом пример */
  .where .wh { display: flex; flex-direction: column; }
  .where .wh .wh__vis { order: 2; margin: 14px 0 0 !important; }
}

/* проверка скиллами (hallmark, emil-design-eng): ровные переносы заголовков, крупнее зона нажатия у точек, уважение к «уменьшить движение» */
h1, h2, h3, .sec__title { text-wrap: balance; }
p { text-wrap: pretty; }
.dots i { position: relative; }
.dots i::after { content: ""; position: absolute; inset: -10px -6px; }
@media (prefers-reduced-motion: reduce) {
  .mq { animation: none !important; }
  .js-anim .rv, .js-anim .nt, .js-anim .stag.rv i, .js-anim .stag.rv b { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ctrack, .ptrack, .sg__pill, .hlr { transition-duration: .01s !important; }
}

/* первый экран: карусель из трёх карточек */
.fan.cf { user-select: none; }
.fan.cf > .fc, .fan.cf > .qw { position: absolute !important; left: 50% !important; top: 50% !important; right: auto !important; width: 440px !important; margin: 0 !important;
  transition: transform .6s cubic-bezier(.3, .8, .2, 1), opacity .45s, box-shadow .45s !important; }
.fan.cf > .cf-c { transform: translate(-50%, -50%) !important; z-index: 3 !important; opacity: 1; }
.fan.cf > .cf-r { transform: translate(-50%, -50%) translateX(118px) scale(.8) rotate(5deg) !important; z-index: 2 !important; opacity: .92; cursor: pointer; }
.fan.cf > .cf-l { transform: translate(-50%, -50%) translateX(-118px) scale(.8) rotate(-5deg) !important; z-index: 1 !important; opacity: .92; cursor: pointer; }
.fan.cf > .cf-r *, .fan.cf > .cf-l * { pointer-events: none; }
.cf__dots { position: absolute; right: 300px; top: 650px; z-index: 4; display: flex; gap: 6px; transform: translateX(50%); }
.cf__dots i { width: 6px; height: 6px; border-radius: 4px; background: #D5D9E2; cursor: pointer; transition: width .3s, background .3s; }
.cf__dots i.on { width: 18px; background: var(--dark); }
@media (max-width: 900px) { .cf__dots { display: none; } }
/* три карточки карусели — одного размера */
.fan.cf > .qw { width: 440px !important; height: 414px !important; display: flex !important; flex-direction: column; background: #fff !important; }
.fan.cf > .qw .btn { margin-top: auto; }
.fan.cf > .qw--alt .qw__seg { grid-template-columns: repeat(3, 1fr); }
.fan.cf > .qw .qw__amt { grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: none; }
.fan:not(.cf) > .qw--alt { display: none; }

/* ленты тарифов без затухания снизу; бледнее только соседние строки */
.plist { -webkit-mask-image: none !important; mask-image: none !important; }
.js-anim .plist .prow { opacity: .62; }
/* «Музыка и кино» (компьютер): виджет сразу под «Подробнее» и тянется до низа карточки */
@media (min-width: 901px) {
  .card--tall .w--media { margin-top: 28px !important; flex: 1; display: flex; flex-direction: column; }
  .card--tall .w--media .plist { flex: 1; height: auto !important; min-height: 240px; }
}
@media (min-width: 901px) { .card--tall .card__text { padding-bottom: 0 !important; } .card--tall .w--media { margin-top: 20px !important; } }

/* табличка раздела: тёмный текст на зелёном — только в тёмной теме */
html.theme-dark .stag i, html.theme-dark .stag b { color: #0B0C14 !important; }
/* «Музыка и кино» не длиннее соседних карточек: лента заполняет только оставшееся место */
@media (min-width: 901px) {
  .card--tall .w--media { flex: 1 1 0 !important; min-height: 0 !important; }
  .card--tall .w--media .plist { flex: 1 1 0 !important; min-height: 0 !important; height: auto !important; }
}
/* Steam: одинаковые промежутки между значками и до кнопки */
.w--games .chipgrid { row-gap: 14px !important; padding-bottom: 14px !important; }
/* плавная прокрутка: невидимые разделы не рисуются, шапка размывает слабее */
.top--solid { backdrop-filter: blur(12px) saturate(1.4) !important; -webkit-backdrop-filter: blur(12px) saturate(1.4) !important; }
.mq, .ptrack, .ctrack { will-change: transform; }
.hpat { background-position: center top !important; }
@media (max-width: 900px) { .ih__pat { width: 100% !important; transform: none !important; left: 0 !important; } }
/* «Музыка и кино» (компьютер), окончательно: лента ровно на 4 строки, как у «Моделей»; виджет внизу карточки */
@media (min-width: 901px) {
  .card--tall .w--media { flex: none !important; margin-top: auto !important; display: block !important; }
  .card--tall .w--media .plist { flex: none !important; height: 240px !important; min-height: 0 !important; }
  .card--tall .card__text { padding-bottom: 0 !important; }
}
/* поверх предыдущего: виджет сразу под «Подробнее» и до низа карточки; строки ленты растягиваются так, чтобы влезло ровно 4 */
@media (min-width: 901px) {
  .card--tall .w--media { flex: 1 1 0 !important; margin-top: 22px !important; display: flex !important; flex-direction: column; min-height: 0 !important; }
  .card--tall .w--media .plist { flex: 1 1 0 !important; height: auto !important; min-height: 0 !important; }
}

/* «Подписки и оплата» на телефоне — карусель карточек */
@media (max-width: 900px) {
  .subs-car .ctrack > .card { margin: 0 !important; }
  .subs-car .ctrack { align-items: stretch; }
  .subs-car .ctrack > .card .card__more { margin-top: auto; }
}
/* плавность: бегущий каталог и карточки рисуются отдельным слоем */
.cat2 { contain: layout paint; }
.rows3 { transform: translateZ(0); }

/* «Мы в Telegram» на телефоне — вдвое ближе к «Как это работает» */
@media (max-width: 900px) { .sec--tg { padding-top: 60px !important; } }
/* смена тарифов в ленте */
.plist { transition: opacity .22s; } .plist--sw { opacity: 0; }
/* «Дополнительно»: 3D-фигурки из Blender */
.fig3 { display: block; width: 112px; height: 112px; margin: -10px 0 18px -8px; }
@media (max-width: 900px) { .more__card .fig3 { grid-row: span 3; width: 56px; height: 56px; margin: -4px 0 0 -6px; } }
@media (max-width: 900px) { .more__card { grid-template-columns: 56px 1fr !important; column-gap: 14px !important; } }

/* первый экран (компьютер): MacBook с каталогом и iPhone со страницей покупки вместо карточек */
.hdev { position: absolute; right: -40px; top: 92px; width: 700px; height: 560px; z-index: 3; pointer-events: none; }
.hdev__mac { position: absolute; left: 0; top: 0; width: 640px; height: auto; filter: drop-shadow(0 40px 50px rgba(11, 12, 20, .18)); }
.hdev__ph { position: absolute; left: 520px; top: 150px; width: 168px; height: auto; filter: drop-shadow(0 30px 40px rgba(11, 12, 20, .25)); }
.fan, .cf__dots { display: none !important; }
html.theme-dark .hdev__mac { content: url("/assets/hero/mac-dark.webp"); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); }
html.theme-dark .hdev__ph { content: url("/assets/hero/phone-dark.webp"); }
.js-anim .hdev .hdev__mac { animation: hdev-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.js-anim .hdev .hdev__ph { animation: hdev-in .9s .15s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hdev-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hdev { display: none; } }
.hdev { right: 30px !important; top: 86px !important; width: 770px !important; }
.hdev__mac { width: 700px !important; }
.hdev__ph { left: 590px !important; top: 170px !important; width: 180px !important; }
@media (min-width: 901px) {
  .hdev { right: 10px !important; top: 100px !important; width: 680px !important; }
  .hdev__mac { width: 600px !important; }
  .hdev__ph { left: 500px !important; top: 150px !important; width: 168px !important; }
  .hero .ht { width: 600px !important; }
}
@media (min-width: 901px) { .hero .ht { width: 620px !important; } .hero .ht h1 { font-size: 48px !important; line-height: 58px !important; } .hdev { right: 0 !important; } }

/* меню телефона: опускается сверху вниз (как у «Новой еСИМ»), сама панель прежняя */
@media (max-width: 900px) {
  .drawer__panel { transform: translateY(-104%) !important; transition: transform .5s cubic-bezier(.22, .85, .2, 1) !important; border-radius: 0 0 0 28px; bottom: auto !important; min-height: 100%; }
  .menu-open .drawer__panel { transform: none !important; }
  .drawer__nav a { transform: translateY(-12px) !important; transition: opacity .35s, transform .45s cubic-bezier(.3, .8, .2, 1) !important; }
  .menu-open .drawer__nav a { transform: none !important; }
  .menu-open .drawer__nav a:nth-child(1) { transition-delay: .12s !important; } .menu-open .drawer__nav a:nth-child(2) { transition-delay: .16s !important; }
  .menu-open .drawer__nav a:nth-child(3) { transition-delay: .2s !important; } .menu-open .drawer__nav a:nth-child(4) { transition-delay: .24s !important; }
  .menu-open .drawer__nav a:nth-child(5) { transition-delay: .28s !important; }
  .drawer__lang, .drawer__thm, .drawer__bot { opacity: 0; transform: translateY(-8px); transition: opacity .35s .1s, transform .45s .1s cubic-bezier(.3, .8, .2, 1); }
  .menu-open .drawer__lang, .menu-open .drawer__thm, .menu-open .drawer__bot { opacity: 1; transform: none; transition-delay: .32s; }
}
@media (max-width: 900px) { .drawer__panel { background: rgba(243, 244, 247, .95) !important; } html.theme-dark .drawer__panel { background: rgba(26, 26, 26, .95) !important; } }

/* ───── правки 03.12 (вечер) ───── */
/* первый экран: телефон справа от MacBook, низы на одной линии, без тёмной тени */
@media (min-width: 901px) {
  .hdev { right: 0 !important; top: 120px !important; width: 770px !important; height: 380px !important; }
  .hdev__mac { left: 0 !important; top: auto !important; bottom: 0; width: 610px !important; filter: drop-shadow(0 24px 30px rgba(11, 12, 20, .10)) !important; }
  .hdev__ph { left: auto !important; right: 0 !important; top: auto !important; bottom: 4px; width: 146px !important; filter: drop-shadow(0 18px 24px rgba(11, 12, 20, .12)) !important; }
  html.theme-dark .hdev__mac, html.theme-dark .hdev__ph { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)) !important; }
}
/* шаг 2: подписи в одну строку, лишнее — многоточием */
.step .row div { min-width: 0; flex: 1; }
.step .row b, .step .row small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* меню телефона во весь экран, опускается сверху */
@media (max-width: 900px) {
  .drawer__panel { left: 0 !important; right: 0 !important; width: 100% !important; max-width: none !important; border-radius: 0 0 28px 28px !important; padding-left: 24px !important; padding-right: 24px !important; }
}
@media (min-width: 901px) { .hdev { width: 700px !important; } .hdev__mac { width: 560px !important; } .hdev__ph { width: 136px !important; } }
/* первый экран v3: телефон у самого экрана MacBook, низ прячется за клавиатурой, без тени */
@media (min-width: 901px) {
  .hdev { width: 680px !important; height: 380px !important; }
  .hdev__mac { position: absolute; left: 0 !important; bottom: 0 !important; width: 600px !important; z-index: 2; filter: drop-shadow(0 22px 26px rgba(11, 12, 20, .09)) !important; }
  .hdev__ph { left: 492px !important; right: auto !important; bottom: 14px !important; width: 150px !important; z-index: 1; filter: none !important; }
  html.theme-dark .hdev__ph { filter: none !important; }
}
/* телефон: точки каруселей — внутри карточки, у нижнего края */
@media (max-width: 900px) {
  .subs-car, .steps--car { position: relative; }
  .subs-car + .dots--steps, .steps--car + .dots--steps { position: relative; z-index: 3; margin-top: -30px !important; margin-bottom: 18px; }
  .subs-car .ctrack > .card { padding-bottom: 22px; }
  .steps--car .cslide { padding-bottom: 40px !important; }
}
@media (min-width: 901px) { .hdev__ph { left: 548px !important; bottom: 8px !important; width: 136px !important; } }

/* «Музыка и кино», раз и навсегда: высоту ряда задаёт только правая колонка (Игры + Пополнение),
   высокая карточка в расчёт не идёт и просто тянется до её низа — в любом браузере */
@media (min-width: 901px) {
  .grid2 > .card--tall { height: 0 !important; min-height: 100% !important; overflow: hidden; }
}

/* главная: первый экран на всю высоту, анимации «Как это работает» */
/* шаг 1: телефон выезжает снизу */
.js-anim .step .step__phone { transition: translate .9s cubic-bezier(.2, .8, .2, 1) .2s, opacity .6s ease .2s; }
.js-anim .step.rv:not(.in) .step__phone { translate: 0 90px; opacity: 0; }
/* шаг 2: строки заезжают с разных сторон — быстрее, чем уведомления в шаге 3 */
.js-anim .step .rows .row { transition: translate .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; }
.js-anim .step .rows .row:nth-child(1) { transition-delay: .25s; }
.js-anim .step .rows .row:nth-child(2) { transition-delay: .37s; }
.js-anim .step .rows .row:nth-child(3) { transition-delay: .49s; }
.js-anim .step.rv:not(.in) .rows .row:nth-child(odd) { translate: -48px 0; opacity: 0; }
.js-anim .step.rv:not(.in) .rows .row:nth-child(even) { translate: 48px 0; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .step .step__phone, .js-anim .step .rows .row { translate: none !important; opacity: 1 !important; transition: none !important; }
}

/* скругления: уведомления в панелях, зона нажатия ссылок на телефоне */
.wh__vis .tgn { border-radius: 16px !important; }
@media (max-width: 900px) {
  /* текстовые ссылки визуально те же, но нажимаются пальцем: зона 44px по высоте */
  .hlink, .links a, .more__card a, .crumbs a, .pbox__hint, .pay__bot, .pay__legal a, .ih__link, .top__logo { position: relative; }
  .hlink::after, .links a::after, .more__card a::after, .crumbs a::after, .pbox__hint::after, .pay__bot::after, .pay__legal a::after, .ih__link::after, .top__logo::after { content: ""; position: absolute; inset: -12px -6px; }
}

/* «Мы в Telegram»: телефоны слегка выезжают снизу, когда баннер появляется */
.js-anim .always .ph--pair { transition: translate .9s cubic-bezier(.2, .8, .2, 1) .15s, opacity .6s ease .15s; }
.js-anim .always.rv:not(.in) .ph--pair { translate: 0 70px; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js-anim .always .ph--pair { translate: none !important; opacity: 1 !important; transition: none !important; } }
/* телефон: ряды сервисов плавно гаснут у самых краёв экрана — маской, без цветных полос поверх (одинаково в обеих темах) */
@media (max-width: 900px) {
  .cat2 .rows3::before, .cat2 .rows3::after { display: none !important; }
  .cat2 .rows3 { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); }
}
/* телефон: закрытое меню не «висит» над страницей невидимым слоем на весь экран — Safari на iPhone брал с него
   цвет полос сверху и снизу и не менял его после смены темы. Скрывается после анимации закрытия */
@media (max-width: 900px) {
  .drawer { visibility: hidden; transition: visibility 0s linear .46s; }
  .menu-open .drawer { visibility: visible; transition-delay: 0s; }
}

/* dark.css — с wasabi.guru */
/* Тёмная тема: html.theme-dark. Фон почти чёрный, карточки — фирменный тёмный #2B2B2B ступенью светлее, зелёный тот же. */
html.theme-dark {
  --bg: #141414; --card: #1E1E1E; --ink: #F2F3F5; --ink-850: #E6E7EA; --text: #C4C6CE; --muted: #8C909E; --muted-2: #6E7280;
  --line: #2E2E2E; --accent-soft: rgba(9, 233, 112, .12); --accent-tint: rgba(9, 233, 112, .06); --accent-text: #2EE07F;
  color-scheme: dark;
}
html.theme-dark, html.theme-dark body { background: var(--bg); }
html.theme-dark body { background: var(--bg); color: var(--ink); }
/* белые поверхности → карточки */
html.theme-dark :is(.cat2 .sq, .citem, .cnav > a.on, .cnav__help, .cpc, .cq, .csearch, .cside .cnav, .ctile, .dash, .dc, .fan.cf > .qw, .fc, .qw, .hsearch, .kpi, .mini, .mrow2, .pay__card, .pbox, .pick, .pinfo, .prodh, .ptabs, .tbl, .wh__vis .tgn--solo, .wh__vis--ai .tools span, .foot, .card, .step, .more__card, .wh, .cab, .hpop, .hpop::before, .ctabs span) { background: var(--card) !important; }
/* вложенные элементы внутри карточек → ещё на ступень светлее */
html.theme-dark :is(.panel, .w, .w--media, .w--games, .w--codes, .row, .tgn, .tgp, .pfield, .chips span, .pay__methods span, .psteps li, .cab__view, .wh__vis, .tools span, .rows .row, .qw__in, .qw__amt span, .fc__opts span, .code, .trow.on, .mrow, .mini, .seg, .qw__seg, .pp__main > .seg, .pbox .seg, .ptabs .seg, .dash__main, .hmk, .hmk__row) { background: #262626 !important; }
html.theme-dark :is(.prow.on, .plist .prow:nth-child(2), .hlr, .sg__pill, .seg .on, .qw__seg .on, .pay__methods span.on, .hmk__row.on, .lang .on) { background: #333 !important; }
html.theme-dark .hmk__row.on { box-shadow: inset 0 0 0 1.5px var(--accent); }
html.theme-dark .pay__methods span.on { box-shadow: inset 0 0 0 1.5px var(--ink) !important; }
/* заголовки и тексты, вписанные цветом напрямую */
html.theme-dark :is(.ch h1, .ch2 h1, .ch3 h1, .cq__head h2, .cs__head h2, .drawer__nav a, .ht h1, .icta h2, .ih h1, .pinfo h3, .pp__moreh, .prodh h1, .sec__title, .tgn p, .tgn__top b, .tgn__top span) { color: var(--ink) !important; }
/* тёмные кнопки → светлые, чтобы не терялись на тёмном фоне */
html.theme-dark :is(.btn--dark, .top__bot, .chips span.on, .qw__amt .on, .fc__opts .on, .dots i.on, .cf__dots i.on, .dots--steps i.on) { background: #F2F3F5 !important; color: #141414 !important; }
html.theme-dark .top__bot svg path { fill: #141414; }
html.theme-dark :is(.qw__amt .on, .chips span.on) { box-shadow: none !important; }
/* шапка-стекло, меню, язык */
html.theme-dark .top--solid { background: rgba(20, 20, 20, .72) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .06) !important; }
html.theme-dark .lang { background: var(--card) !important; box-shadow: inset 0 0 0 1px var(--line) !important; }
html.theme-dark .drawer__panel { background: rgba(26, 26, 26, .88) !important; }
html.theme-dark .burger i, html.theme-dark .drawer__x i { background: var(--ink) !important; }
/* логотип: тёмный вариант (белое слово) */
html.theme-dark .top__logo img, html.theme-dark .foot__brand img { filter: brightness(0) invert(1); }
html.theme-dark .always { background: #1E1E1E !important; box-shadow: inset 0 0 0 1px #2A2A2A; }
html.theme-dark .always .btn--accent { background: #F2F3F5 !important; color: #141414 !important; }
/* подвал и большое слово */
html.theme-dark .foot { background: #1A1A1A !important; }
html.theme-dark .foot__mark img { opacity: .08; filter: invert(1); }
/* края бегущего каталога растворяются в тёмный фон */
html.theme-dark .cat2 .rows3::before { background: linear-gradient(90deg, var(--bg) 0, var(--bg) 125px, rgba(20, 20, 20, .6) 175px, rgba(20, 20, 20, 0) 220px) !important; }
html.theme-dark .cat2 .rows3::after { background: linear-gradient(270deg, var(--bg) 0, var(--bg) 125px, rgba(20, 20, 20, .6) 175px, rgba(20, 20, 20, 0) 220px) !important; }
html.theme-dark .dash__fade { background: linear-gradient(180deg, rgba(20, 20, 20, 0), var(--bg) 70%) !important; }
/* узор: линии чуть видны */
html.theme-dark .hpat path:not(.hpat__g), html.theme-dark .ih__pat path:not(.hpat__g) { stroke: #2A2A2A !important; }
/* значки сервисов с белой подложкой — не ослепляют */
html.theme-dark .lg.bd, html.theme-dark .cq__ic.bd { box-shadow: none !important; }
html.theme-dark .lg[style*="#FFFFFF"], html.theme-dark .lg[style*="#fff"] { background: #F2F3F5 !important; }
/* окна кода и так тёмные — отделяем рамкой */
html.theme-dark .term { box-shadow: inset 0 0 0 1px #2E2E2E; background: #101010 !important; }
html.theme-dark .stag b { color: #0B0C14 !important; }
html.theme-dark .hmk--dark .hmk__row { background: #2A3F5A !important; } html.theme-dark .hmk--dark .hmk__row.on { background: #3D5A80 !important; }

/* переключатель темы */
.thm { width: 38px; height: 38px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.thm svg { width: 18px; height: 18px; display: block; }
.thm .sun { display: none; } html.theme-dark .thm .sun { display: block; } html.theme-dark .thm .moon { display: none; }
html.theme-dark .thm { background: var(--card); }
.drawer__panel .thm { width: auto; height: 44px; padding: 0 14px; display: inline-flex; gap: 8px; align-items: center; font: 600 14px/1 "Montserrat", sans-serif; align-self: flex-start; }

/* ───── правки тёмной темы ───── */
/* кабинет: белый логотип, «Бизнес» на сером, без светлых обводок */
html.theme-dark .dash__logo img { filter: brightness(0) invert(1); }
html.theme-dark .dash__logo span { background: #2E2E2E !important; color: var(--text) !important; }
html.theme-dark .dash { box-shadow: 0 0 0 1px #262626, 0 -20px 60px -30px rgba(0, 0, 0, .6) !important; }
html.theme-dark .dash__side { border-right-color: #262626 !important; }
html.theme-dark :is(.kpi, .dc, .st, .tbl, .mini) { box-shadow: none !important; }
html.theme-dark :is(.or + .or, .tbl__r + .tbl__r) { border-top-color: #2A2A2A !important; }
html.theme-dark .tbl__h { border-bottom-color: #2A2A2A !important; }
html.theme-dark .bars { border-bottom-color: #2A2A2A !important; }
html.theme-dark .dash__main { background: #191919 !important; }
/* большое слово в подвале — видно */
html.theme-dark .foot__mark img { filter: none !important; opacity: .07 !important; }
/* «Мы в Telegram»: светлый блок, как в светлой теме у тёмного — контрастно */
html.theme-dark .always { background: #ECEDF1 !important; box-shadow: none !important; color: #0B0C14 !important; }
html.theme-dark .always h2 { color: #0B0C14 !important; }
html.theme-dark .always p, html.theme-dark .always__btns small { color: #5A5E6E !important; }
html.theme-dark .always__logo { filter: brightness(0); }
html.theme-dark .always .btn--accent { background: #141414 !important; color: #fff !important; }
html.theme-dark #qr { color: #0B0C14; } /* QR тёмный в тёмной теме, без инверсии */
/* телефон в «Откройте бота» — тёмный экран */
html.theme-dark .step__phone { content: url("/assets/placeholder/phone3d-step1-dark.webp"); }

/* ───── правки тёмной темы, круг 3 ───── */
/* методы API: POST — светлая плашка с тёмным текстом, GET — зелёный на тёмно-зелёном */
html.theme-dark .m--post { background: #F2F3F5 !important; color: #141414 !important; }
html.theme-dark .m--get { background: rgba(9, 233, 112, .14) !important; color: #2EE07F !important; }
/* значки сервисов с чёрной подложкой не сливаются с карточками: светлая рамка */
html.theme-dark :is(.lg, .cq__ic, .sq)[style*="rgb(0, 0, 0)"], html.theme-dark :is(.lg, .cq__ic)[style*="rgb(14, 28, 31)"], html.theme-dark :is(.lg, .cq__ic)[style*="rgb(23, 26, 33)"] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16) !important; }
/* глифы в плитках каталога (чёрные знаки ChatGPT, Grok…) — на светлой плитке */
html.theme-dark .cat2 .sq { background: #F2F3F5 !important; }
/* фигурки (значки меню и разделов) — светлее */
html.theme-dark :is(.cnav > a i, .dash__side nav i, .dash__help i, .fig2, .links .ico, .kk .tile) { color: #C9CCD4 !important; }
html.theme-dark :is(.cnav > a.on i, .dash__side .on i) { color: var(--accent-text) !important; }

/* ───── тумблер темы (как у Playerok) ───── */
.thm { width: 56px !important; height: 32px !important; padding: 3px !important; border-radius: 16px !important; background: #E3E5EA !important; box-shadow: none !important; display: block !important; position: relative; transition: background .3s; }
.thm__k { position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #F5A623; box-shadow: 0 1px 3px rgba(11, 12, 20, .2); transition: transform .35s cubic-bezier(.3, .8, .2, 1), background .3s, color .3s; }
.thm__k svg { width: 15px !important; height: 15px !important; }
.thm .sun { display: block !important; } .thm .moon { display: none !important; }
html.theme-dark .thm { background: #333 !important; }
html.theme-dark .thm__k { transform: translateX(24px); background: #141414; color: #F2F3F5; }
html.theme-dark .thm .sun { display: none !important; } html.theme-dark .thm .moon { display: block !important; }
.drawer__thm { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px; font: 600 15px/1 "Montserrat", sans-serif; color: var(--ink); }
.drawer__panel .drawer__thm .thm { width: 56px !important; height: 32px !important; padding: 3px !important; }
/* ───── выбор языка: одна кнопка и меню ───── */
.lang--dd { position: relative; padding: 0 !important; background: none !important; box-shadow: none !important; }
.lang__btn { height: 38px; padding: 0 10px 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 700 13px/1 "Montserrat", sans-serif; color: var(--ink); cursor: pointer; }
.lang__btn svg { width: 14px; height: 14px; color: var(--muted); transition: transform .25s; }
.lang--dd.open .lang__btn svg { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 150px; padding: 6px; border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 0 0 1px rgba(11, 12, 20, .06), 0 16px 40px -14px rgba(11, 12, 20, .3); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .18s, transform .22s; }
.lang--dd.open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu span { padding: 10px 12px !important; border-radius: 8px; font-size: 14px !important; font-weight: 600; color: var(--text); background: none !important; cursor: pointer; }
.lang__menu span:hover { background: var(--bg) !important; }
.lang__menu span.on { color: var(--ink); background: var(--bg) !important; }
html.theme-dark .lang__btn, html.theme-dark .lang__menu { background: var(--card) !important; }
html.theme-dark .lang__menu span:hover, html.theme-dark .lang__menu span.on { background: #2A2A2A !important; }
/* в меню телефона — языки строкой */
.drawer__lang .lang__btn { display: none; }
.drawer__lang .lang__menu { position: static; opacity: 1; transform: none; pointer-events: auto; flex-direction: row; box-shadow: none; padding: 0; background: none !important; }
/* «Мы в Telegram»: телефоны с тёмной версией сайта */
html.theme-dark .ph--l { content: url("/assets/placeholder/phone3d-left-dark.webp"); }
html.theme-dark .ph--r { content: url("/assets/placeholder/phone3d-right-dark.webp"); }

/* ───── тумблер темы v2: залитые значки строго по центру бегунка ───── */
.thm__k { display: flex !important; align-items: center; justify-content: center; }
.thm__k svg { width: 16px !important; height: 16px !important; display: block; flex: none; }
.thm .sun { color: #F5A623; } .thm .moon { color: #F2F3F5; }
/* ───── язык v2: флаг + код; меню с флагами, названием и галочкой ───── */
.lang__btn { gap: 7px !important; padding: 0 9px 0 6px !important; height: 38px !important; border-radius: 20px !important; }
.lang__f { width: 24px; height: 24px; flex: none; display: inline-flex; border-radius: 50%; overflow: hidden; }
.lang__f svg { width: 100%; height: 100%; display: block; }
.lang__menu { min-width: 200px !important; padding: 6px !important; border-radius: 20px !important; }
.lang__menu span { display: flex !important; align-items: center; gap: 10px; padding: 8px 10px !important; border-radius: 12px !important; }
.lang__menu em { flex: 1; font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink); }
.lang__menu small { font-size: 11px; font-weight: 700; letter-spacing: .4px; color: var(--muted-2); }
.lang__ok { width: 16px; height: 16px; color: var(--accent-text); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.lang__menu span.on .lang__ok { opacity: 1; transform: none; }
.lang__menu span.on small { display: none; }
.lang__menu { transform-origin: 100% 0; transform: translateY(-4px) scale(.96) !important; }
.lang--dd.open .lang__menu { transform: none !important; }
.drawer__lang .lang__menu { flex-direction: column !important; gap: 2px; min-width: 0 !important; }

/* ───── язык v3: капсула раскрывается вниз сама, без отдельного окна ───── */
.lang--dd { z-index: 60; }
.lang--dd .lang__btn { position: relative; z-index: 2; transition: box-shadow .2s, background .2s; }
.lang--dd.open .lang__btn { box-shadow: none !important; background: transparent !important; }
.lang--dd .lang__menu { left: 0 !important; right: 0 !important; top: 0 !important; min-width: 0 !important; z-index: 1; padding: 42px 4px 4px !important; border-radius: 20px !important;
  background: #fff !important; box-shadow: inset 0 0 0 1px var(--line), 0 14px 34px -16px rgba(11, 12, 20, .28) !important;
  opacity: 1 !important; transform: none !important; clip-path: inset(0 0 calc(100% - 38px) 0 round 19px); transition: clip-path .32s cubic-bezier(.3, .8, .2, 1) !important; pointer-events: none; }
.lang--dd.open .lang__menu { clip-path: inset(0 0 0 0 round 19px); pointer-events: auto; }
.lang--dd .lang__menu span { gap: 7px !important; padding: 6px 6px !important; border-radius: 16px !important; justify-content: flex-start; }
.lang--dd .lang__menu span.on { display: none !important; }
.lang--dd .lang__menu em, .lang--dd .lang__menu .lang__ok { display: none !important; }
.lang--dd .lang__menu small { display: inline !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0 !important; color: var(--ink) !important; }
.lang--dd .lang__menu .lang__f { width: 24px; height: 24px; }
html.theme-dark .lang--dd .lang__menu { background: var(--card) !important; box-shadow: inset 0 0 0 1px #2E2E2E, 0 14px 34px -16px rgba(0, 0, 0, .6) !important; }
/* в меню телефона: переключатель из трёх кнопок с флагами */
.drawer__lang .lang--dd .lang__menu { position: relative !important; clip-path: none !important; padding: 4px !important; flex-direction: row !important; gap: 4px !important; border-radius: 16px !important; background: #E9EBF0 !important; box-shadow: none !important; pointer-events: auto; }
.drawer__lang .lang--dd .lang__menu span { display: flex !important; flex: 1; justify-content: center; height: 44px; padding: 0 !important; border-radius: 12px !important; }
.drawer__lang .lang--dd .lang__menu span.on { background: #fff !important; box-shadow: 0 2px 8px -4px rgba(11, 12, 20, .25); }
html.theme-dark .drawer__lang .lang--dd .lang__menu { background: #262626 !important; }
html.theme-dark .drawer__lang .lang--dd .lang__menu span.on { background: #3A3A3A !important; }
.drawer__lang { width: 100%; }
/* кнопка копирования кода — наш тёмный значок */
.copy { color: #A1A5B7 !important; background: #EEF0F3 !important; }
html.theme-dark .copy { color: #8B8F9C !important; background: #333 !important; }
.drawer__lang .lang--dd { display: block !important; width: 100% !important; }
.drawer__lang .lang--dd .lang__menu { width: 100% !important; box-sizing: border-box; }
.lang__cur { color: var(--ink) !important; }
/* выбор языка: серая капсула (как тумблер темы), пункт при наведении — белее */
.lang--dd .lang__btn { background: #E3E5EA !important; box-shadow: none !important; }
.lang--dd .lang__menu { background: #E3E5EA !important; box-shadow: 0 14px 30px -16px rgba(11, 12, 20, .25) !important; }
.lang--dd .lang__menu span:hover { background: #fff !important; }
html.theme-dark .lang--dd .lang__btn, html.theme-dark .lang--dd .lang__menu { background: #333 !important; }
html.theme-dark .lang--dd .lang__menu span:hover { background: #474747 !important; }

/* ───── 03.12 ночь ───── */
@media (max-width: 900px) {
  /* шаг 1: телефон снова до нижнего края карточки, точки поверх */
  .steps--car .cslide:first-child { padding-bottom: 0 !important; }
  .steps--car .cslide:first-child .step__phone { margin-bottom: 0 !important; }
  /* «Сводка» на «Интеграциях»: наклон зависит от прокрутки */
  .ih .dash { transform: perspective(1400px) translateX(20px) translateY(calc((1 - var(--t, 1)) * 60px)) rotateX(calc(14deg + (1 - var(--t, 1)) * 22deg)) rotateY(-14deg) rotateZ(6deg) scale(.42) !important; transition: none; }
  /* «Всё в одном кабинете» — как сводка: настоящий кабинет, уменьшен и повёрнут */
  .sec:has(.cab) .wrap { overflow: hidden; padding-bottom: 20px; }
  .sec .cab { display: grid !important; grid-template-columns: 320px 1fr !important; width: 1000px !important; max-width: none !important; padding: 10px !important; margin: 10px 0 -250px !important;
    transform-origin: 0 0; transform: perspective(1400px) translateX(18px) translateY(calc((1 - var(--t, 1)) * 60px)) rotateX(calc(12deg + (1 - var(--t, 1)) * 22deg)) rotateY(-12deg) rotateZ(5deg) scale(.42) !important; }
  .sec .cab__list { display: flex !important; flex-direction: column !important; overflow: visible !important; padding: 26px 18px 26px 22px !important; gap: 4px !important; }
  .sec .cab__list div { padding: 12px 14px 12px 18px !important; background: none !important; border-radius: 16px !important; }
  .sec .cab__list div.on { background: var(--bg) !important; }
  .sec .cab__list div.on b { color: var(--ink) !important; }
  .sec .cab__list b { font-size: 15px !important; }
  .sec .cab__list div.on small { display: block !important; font-size: 13px !important; }
  .sec .cab__list div.on::before { display: block !important; }
  .sec .cab__view { padding: 22px !important; }
  .sec .tbl__h, .sec .tbl__r { grid-template-columns: 110px 1fr 100px 96px !important; }
  .sec .tbl__h span, .sec .tbl__r > * { display: revert !important; }
  .sec .tbl__r { height: 56px !important; font-size: 14px !important; }
  .sec .tbl__r:nth-child(n+5) { display: grid !important; }
  .cab__cap { display: none !important; }
}
/* первый экран: только MacBook, слегка повёрнут (левый край дальше) */
@media (min-width: 901px) {
  .hdev__ph { display: none !important; }
  .hdev { perspective: 1600px; }
  .hdev__mac { width: 640px !important; left: 40px !important; transform: rotateY(-16deg) rotateX(3deg); transform-origin: 70% 60%; }
}
@media (min-width: 901px) { .hdev { transform: perspective(1600px) rotateY(-18deg) rotateX(3deg); transform-origin: 40% 60%; } .hdev__mac { transform: none !important; } }
@media (min-width: 901px) { .hdev { right: 40px !important; } .hdev__mac { left: 0 !important; width: 620px !important; } }
/* MacBook без поворота */
@media (min-width: 901px) { .hdev { transform: none !important; } }

/* «Мы в Telegram»: два iPhone 14 Pro (макеты Uiscore) как на обложке — передний левее и ниже, задний правее и выше */
html.theme-dark .ph--l { content: url("/assets/placeholder/ip14-site-dark.webp") !important; }
html.theme-dark .ph--r { content: url("/assets/placeholder/ip14-api-dark.webp") !important; }
@media (min-width: 901px) {
  .ph--l { left: 30px !important; top: 96px !important; width: 226px !important; height: auto !important; z-index: 2 !important; }
  .ph--r { left: 210px !important; top: 14px !important; width: 252px !important; height: auto !important; z-index: 1 !important; }
}
@media (max-width: 900px) {
  .ph--l { left: 6% !important; top: 40px !important; width: 46% !important; z-index: 2 !important; }
  .ph--r { left: 42% !important; top: 4px !important; width: 50% !important; z-index: 1 !important; }
}
@media (min-width: 901px) { .ph--r { top: 80px !important; } .ph--l { top: 150px !important; } }
@media (max-width: 900px) { .ph--r { top: 34px !important; } .ph--l { top: 70px !important; } }

/* «Мы в Telegram»: пара iPhone 14 Pro Space Black, расстановка как на обложке макета */
.ph--pair { position: absolute; display: block; height: auto; max-width: none; }
html.theme-dark .ph--pair { content: url("/assets/placeholder/ip14-pair-dark.webp"); }
@media (min-width: 901px) { .ph--pair { left: auto; right: 6%; top: 92px; width: 84%; } }
@media (max-width: 900px) { .ph--pair { left: 50%; transform: translateX(-50%); top: 4px; width: 70%; } }

/* Интеграции · телефон: сводка — наклон слабее, при прокрутке едет в своей плоскости; кабинет — ровно, тот же размер */
@media (max-width: 900px) {
  .ih .dash { transform: perspective(1400px) translateX(20px) rotateX(8deg) rotateY(-9deg) rotateZ(4deg) translateY(calc((1 - var(--t, 1)) * 140px)) scale(.42) !important; opacity: calc(.35 + var(--t, 1) * .65); }
  .sec .cab { transform: translateX(16px) scale(.42) !important; margin: 10px 0 -226px !important; }
  .sec .tbl__r > span:nth-child(2), .sec .tbl__r--g > span:first-child { display: flex !important; align-items: center; gap: 10px; }
  .sec .tbl__r--g, .sec .tbl__h:has(+ .tbl__r--g) { grid-template-columns: 1.3fr 1fr 1fr 1fr !important; }
}

/* Интеграции · телефон, окончательно: сводка без анимации, наклонена верхом от нас;
   кабинет ровный, левая колонка узкая (подписи в 2 строки), весь кабинет влезает в экран */
@media (max-width: 900px) {
  .ih .dash { transform: perspective(1400px) translateX(20px) rotateX(16deg) scale(.42) !important; opacity: 1 !important; transition: none !important; }
  .sec .cab { width: 816px !important; grid-template-columns: 244px minmax(0, 1fr) !important; transform: scale(.42) !important; }
  .sec .cab__view { overflow: hidden !important; min-width: 0 !important; }
}
@media (max-width: 900px) {
  .ih .dash { transform: perspective(1400px) translateX(20px) rotateX(26deg) scale(.42) !important; }
  .sec .tbl { overflow: hidden !important; }
  .sec .tbl__h, .sec .tbl__r { grid-template-columns: 76px 214px 80px 70px !important; }
  .sec .tbl__r > span { white-space: nowrap !important; }
  .sec .tbl__r--g, .sec .tbl__h:has(+ .tbl__r--g) { grid-template-columns: 200px 100px 90px 80px !important; }
}
@media (max-width: 900px) { .sec .tbl__h, .sec .tbl__r { grid-template-columns: 70px 236px 76px 64px !important; } }

/* ===== телефон, правки 03.12 ===== */
.cab__pills { display: none; }
@media (max-width: 900px) {
  /* интеграции: после верхнего блока такой же отступ, как между остальными разделами */
  .ih + .sec { padding-top: 10px !important; }
  /* кабинет на всю ширину с равными полями слева и справа; прибавка ширины уходит в левую колонку */
  .sec .cab { width: calc((100vw - 32px) / .42) !important; grid-template-columns: calc(244px + (100vw - 375px) / .42 / 2) minmax(0, 1fr) !important; }
  /* разделы кабинета пилюлями над ним */
  .cab__pills { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px; scrollbar-width: none; }
  .cab__pills::-webkit-scrollbar { display: none; }
  .cab__pills button { flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: var(--text); font-family: Montserrat, system-ui, sans-serif; font-size: 13px !important; line-height: 34px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
  .cab__pills button.on { background: #2B2B2B; color: #fff; }
  html.theme-dark .cab__pills button { background: #1E1E1E; color: #C9CCD4; }
  html.theme-dark .cab__pills button.on { background: #F2F3F5; color: #141414; }
  /* главная: «Заказ одним запросом» — подпись под заголовком */
  .api__code .card__text--api p { display: block !important; margin-top: 8px !important; font-size: 15px !important; line-height: 21px !important; color: var(--muted) !important; }
  .api__code .card__text--api { padding-bottom: 6px !important; }
  /* MCP: воздух между текстом, инструментами и «Работает с» */
  .api__mcp .card__text--api p { margin-bottom: 10px !important; }
  .api__mcp .tools { margin-top: 18px !important; }
  .api__mcp .mcp__with { margin-top: 24px !important; }
}
@media (max-width: 900px) {
  /* консоль: строки целиком, без переносов; длинные — прокрутка вбок */
  .api__code .term pre { white-space: pre !important; word-break: normal !important; overflow-x: auto !important; font-size: 11.5px !important; line-height: 18px !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .api__code .term pre::-webkit-scrollbar { display: none; }
  .api__mcp .tools { margin-top: 26px !important; }
  .api__mcp .mcp__with { margin-top: 28px !important; }
}
@media (max-width: 900px) {
  /* «Мы в Telegram» на телефоне: без логотипа, телефоны мягко уходят в фон блока */
  .always__logo { display: none !important; }
  .always__phones { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
}
.pick__i svg, .links .ico svg { width: 100%; height: 100%; display: block; }
.pick__i { width: 20px !important; height: 20px !important; }
/* «Мы в Telegram»: QR ниже, как у Rapira — низ QR на уровне низа кнопки «Открыть бот» */
#qr { color: #fff; }
@media (min-width: 901px) { .always .qr { align-self: center; transition: none; } }

/* первый экран на телефоне: под кнопками окно каталога — тот же размер, наклон и затухание, что у «Сводки» на «Интеграциях» */
.hcat { display: none; }
@media (max-width: 900px) {
  .hcat { display: block; position: relative; z-index: 2; height: 236px; margin: 30px 0 0; overflow: visible; pointer-events: none; }
  .hcat__img { display: block; width: 1200px; max-width: none; height: 560px; transform-origin: 0 0; transform: perspective(1400px) translateX(20px) rotateX(26deg) scale(.42);
    -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 96%); mask-image: linear-gradient(180deg, #000 52%, transparent 96%); }
  html.theme-dark .hcat__img { content: url("/assets/hero/catalog-panel-dark.webp"); }
}
/* окно каталога как «Сводка»: непрозрачное, обводка и тень, тот же отступ слева (20 px) */
@media (max-width: 900px) {
  .hcat { margin-left: -16px !important; }
  .hcat__img { border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 0 0 1px rgba(11, 12, 20, .06), 0 -20px 60px -30px rgba(11, 12, 20, .14); }
  html.theme-dark .hcat__img { background: #191919; box-shadow: 0 0 0 1px #262626, 0 -20px 60px -30px rgba(0, 0, 0, .6); }
}
/* «Как это работает» на телефоне (шаги столбиком): телефон шага 1 стоит вплотную к низу карточки */
@media (max-width: 900px) {
  .steps .step:has(.step__phone) { padding-bottom: 0 !important; min-height: 0 !important; height: auto !important; }
  .steps .step__phone { margin-bottom: 0 !important; margin-top: auto !important; }
}
/* «Заказ одним запросом» на телефоне: консоль уходит за правый край, как на компьютере; строку -d прячем — окно короче */
@media (max-width: 900px) {
  .api__code { overflow: hidden !important; }
  .api__code .term { margin-right: -60px !important; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
  .api__code .term pre { overflow: hidden !important; }
  .api__code .term__d { display: none; }
}
@media (max-width: 900px) {
  /* первый экран: линии узора гаснут до окна каталога и не просвечивают сквозь его затухание */
  .hero--top .hpat { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 44%, transparent 58%) !important; mask-image: linear-gradient(180deg, #000 0%, #000 44%, transparent 58%) !important; }
  /* окно каталога: затухание начинается ниже, содержимое не выглядит полупрозрачным */
  .hcat__img { -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 99%) !important; mask-image: linear-gradient(180deg, #000 76%, transparent 99%) !important; }
  /* на телефоне раздел «Интеграция для вашего сервиса» на главной не показываем (страница «Интеграции» остаётся) */
  #api { display: none !important; }
}
/* «Всё в одном кабинете»: высота окна постоянная, длинный список уходит за нижний край */
.cab__view { height: 378px !important; padding-bottom: 0 !important; overflow: hidden !important; }
.cab__view .tbl { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
/* телефон: заголовки первого экрана в две строки («подключай нейросети» в одну), одинаковые на главной и на «Интеграциях» */
@media (max-width: 900px) {
  .hero .ht h1, .ih h1 { font-size: min(32px, calc((100vw - 32px) / 12.15)) !important; line-height: 1.17 !important; letter-spacing: -.6px !important; }
}
/* компьютер: уведомления Telegram матовые и слегка прозрачные, как стеклянные плашки iOS */
@media (min-width: 901px) {
  .tgn { background: rgba(242, 242, 247, .62) !important; -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 8px 24px -12px rgba(11, 12, 20, .18) !important; }
  .tgn--b1 { background: rgba(233, 233, 239, .55) !important; } .tgn--b2 { background: rgba(239, 239, 243, .5) !important; }
  .tgp { background: rgba(240, 240, 245, .55) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6) !important; }
  html.theme-dark .tgn { background: rgba(44, 44, 46, .55) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 24px -12px rgba(0, 0, 0, .6) !important; }
  html.theme-dark .tgn--b1, html.theme-dark .tgn--b2, html.theme-dark .tgp { background: rgba(44, 44, 46, .4) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05) !important; }
}
/* под матовыми уведомлениями — мягкие «обои», как на экране блокировки, чтобы стекло было видно */
@media all {
  .tgs, .wh__vis--tg { position: relative; isolation: isolate; }
  .tgs::before, .wh__vis--tg::before { content: ""; position: absolute; z-index: -1; inset: -14px -10px; border-radius: 28px; pointer-events: none;
    background: radial-gradient(60% 70% at 18% 30%, rgba(9, 233, 112, .38), transparent 70%), radial-gradient(55% 65% at 85% 75%, rgba(90, 160, 255, .30), transparent 72%), radial-gradient(50% 60% at 60% 10%, rgba(255, 196, 120, .22), transparent 70%);
    filter: blur(14px); }
  html.theme-dark .tgs::before, html.theme-dark .wh__vis--tg::before { opacity: .7; }
}
@media all { .wh__vis--tg { overflow: hidden; } .wh__vis--tg::before { inset: 0 !important; border-radius: inherit !important; filter: blur(10px); } }

/* ленты тарифов: неактивные строки не затемняем; активная — белая плашка по центру, увеличение едва заметное */
.js-anim .plist .prow { opacity: 1 !important; transform: scale(.975) !important; }
.js-anim .plist .prow.on { opacity: 1 !important; transform: scale(1) !important; }
.plist .prow:nth-child(2) { background: transparent !important; }
html.theme-dark .plist .prow:nth-child(2) { background: transparent !important; }
html.theme-dark .plist .prow.on, html.theme-dark .hlr { background: #333 !important; }
/* «Получите в чате»: стопка уведомлений — настоящее стекло (старое правило давало им сплошной серый) */
@media all {
  .tgs .tgn, .tgs .tgn--f, .wh__vis--tg .tgn { background: rgba(244, 244, 248, .5) !important; -webkit-backdrop-filter: blur(20px) saturate(1.9) !important; backdrop-filter: blur(20px) saturate(1.9) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 10px 26px -14px rgba(11, 12, 20, .22) !important; }
  .tgs .tgn__app { box-shadow: none !important; }
  html.theme-dark .tgs .tgn, html.theme-dark .tgs .tgn--f, html.theme-dark .wh__vis--tg .tgn { background: rgba(44, 44, 46, .5) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08) !important; }
}
/* цветные «обои» за визуалами: шаги 1–2 на главной, «Свой сайт» и «ИИ-агенты» на «Интеграциях» (как за уведомлениями) */
@media all {
  .wh__vis--code, .wh__vis--ai, .steps .step:nth-child(2) .rows { position: relative; isolation: isolate; }
  .wh__vis--code { overflow: hidden; } .wh__vis--ai { overflow: hidden; }
  .wh__vis--code::before, .wh__vis--ai::before, .steps .step:nth-child(2) .rows::before, .steps .step:nth-child(1)::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none; filter: blur(12px); border-radius: inherit; }
  .wh__vis--code::before { inset: 0; background: radial-gradient(60% 70% at 85% 20%, rgba(90, 160, 255, .32), transparent 70%), radial-gradient(55% 65% at 15% 85%, rgba(9, 233, 112, .3), transparent 72%), radial-gradient(45% 55% at 50% 50%, rgba(176, 140, 255, .18), transparent 70%); }
  .wh__vis--ai::before { inset: 0; background: radial-gradient(60% 70% at 20% 25%, rgba(255, 170, 110, .3), transparent 70%), radial-gradient(55% 65% at 80% 80%, rgba(9, 233, 112, .3), transparent 72%), radial-gradient(45% 55% at 75% 15%, rgba(90, 160, 255, .22), transparent 70%); }
  .steps .step:nth-child(2) .rows::before { inset: -14px -10px; background: radial-gradient(60% 70% at 80% 25%, rgba(90, 160, 255, .3), transparent 70%), radial-gradient(55% 65% at 15% 80%, rgba(255, 170, 110, .26), transparent 72%), radial-gradient(45% 55% at 50% 50%, rgba(9, 233, 112, .2), transparent 70%); }
  .steps .step:nth-child(1) { isolation: isolate; }
  .steps .step:nth-child(1)::before { left: 10%; right: 10%; bottom: 0; height: 58%; background: radial-gradient(60% 70% at 30% 60%, rgba(9, 233, 112, .34), transparent 70%), radial-gradient(55% 60% at 75% 45%, rgba(90, 160, 255, .28), transparent 72%); }
  .steps .step:nth-child(1) .step__phone { z-index: 1; }
  html.theme-dark :is(.wh__vis--code, .wh__vis--ai, .steps .step:nth-child(2) .rows, .steps .step:nth-child(1))::before { opacity: .7; }
  /* плашки в шаге 2 и строки в «Свой сайт» — тоже матовое стекло, чтобы цвет просвечивал */
  .steps .step:nth-child(2) .row, .wh__vis--code .mini { background: rgba(255, 255, 255, .55) !important; -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8) !important; }
  html.theme-dark :is(.steps .step:nth-child(2) .row, .wh__vis--code .mini) { background: rgba(44, 44, 46, .5) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07) !important; }
}

/* тёмная тема: чёрные и почти чёрные значки сервисов (ChatGPT, Cursor, Grok, Notion, Steam, EA…) — белые; цветные не трогаем */
html.theme-dark [data-glyph] :is(svg[fill="#0B0C14"], [fill="#0B0C14"], svg[fill="#171A21"], [fill="#171A21"], svg[fill="#313131"], [fill="#313131"]) { fill: #F2F3F5 !important; }
/* тёмная тема: активный пункт «Всё в одном кабинете» — чуть светлее тёмного фона, не белый */
html.theme-dark .cab__list div.on, html.theme-dark .sec .cab__list div.on { background: #2A2A2A !important; }
html.theme-dark .cab__list div.on b, html.theme-dark .sec .cab__list div.on b { color: #F2F3F5 !important; }
html.theme-dark .cab__pills button.on { background: #2E2E2E !important; color: #F2F3F5 !important; }

/* «Пополнение»: гифт-карты лежат наискосок справа, как rCode у Rapira — верхняя уходит за верхний край, передняя крупнее и уходит вниз */
.card--gift { position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 901px) {
  .card--gift { height: 302px !important; min-height: 302px !important; }
  .card--gift .card__text { position: relative; z-index: 2; max-width: 48% !important; }
}
.gcs { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 56%; pointer-events: none; perspective: 1100px; }
.gc { position: absolute; width: 150px; height: auto; transform-origin: 50% 50%; transform: rotateX(38deg) rotateZ(24deg);
  filter: drop-shadow(0 4px 0 #CDD1DA) drop-shadow(0 26px 26px rgba(11, 12, 20, .26)); }
.gc--1 { top: -126px; right: 8px; width: 148px; }
.gc--2 { top: -22px; right: 84px; width: 148px; }
.gc--3 { top: 84px; right: -34px; width: 180px; }
html.theme-dark .gc { filter: drop-shadow(0 4px 0 #3A3A3C) drop-shadow(0 26px 30px rgba(0, 0, 0, .6)); }
/* телефон: карты в своём окне на месте старого виджета (под заголовком), а не поверх соседних карточек */
@media (max-width: 900px) {
  .card--gift .gcs { position: relative !important; order: 1; inset: auto !important; width: auto !important; height: 230px; margin: 8px 10px 0; border-radius: 16px; overflow: hidden; background: var(--bg); }
  html.theme-dark .card--gift .gcs { background: #1E1E1E; }
  .card--gift .gc--1 { top: -110px; right: 2px; width: 128px; }
  .card--gift .gc--2 { top: -24px; right: 92px; width: 130px; }
  .card--gift .gc--3 { top: 70px; right: -24px; width: 154px; }
  .card--gift .gcs + .card__text, .card--gift .card__text { order: 2; }
}
/* карты: тень мягче и короче */
.gc { filter: drop-shadow(0 3px 0 #D9DCE3) drop-shadow(0 10px 12px rgba(11, 12, 20, .12)) !important; }
html.theme-dark .gc { filter: drop-shadow(0 3px 0 #3A3A3C) drop-shadow(0 10px 14px rgba(0, 0, 0, .35)) !important; }


/* «Пополнение», компьютер — вариант 1 «раскрытые»: Apple и PlayStation чуть выходят за правый и нижний край карточки, Google Play обрезан сверху как был */
@media (min-width: 901px) {
  .card--gift { overflow: visible !important; clip-path: inset(0 -90px -90px -90px round 30px); z-index: 2; }
  .gc { transform: rotateX(34deg) rotateZ(var(--r)) !important; }
  .gc--1 { --r: 30deg; top: -96px !important; right: -4px !important; width: 124px !important; }
  .gc--2 { --r: 12deg; top: -22px !important; right: 96px !important; width: 126px !important; }
  .gc--3 { --r: -10deg; top: 96px !important; right: -18px !important; width: 146px !important; }
}
/* телефон — вариант 1 */
@media (max-width: 900px) {
  .card--gift .gc { transform: rotateX(34deg) rotateZ(var(--r)) !important; }
  .card--gift .gc--1 { --r: 30deg; top: -96px !important; right: -4px !important; width: 120px !important; }
  .card--gift .gc--2 { --r: 12deg; top: -30px !important; right: 150px !important; width: 124px !important; }
  .card--gift .gc--3 { --r: -10deg; top: 60px !important; right: 46px !important; width: 146px !important; }
}

/* «Пополнение»: Google Play — внутри рамки карточки; PlayStation и Apple выходят углами за край (компьютер) */
.gcs__clip { position: absolute; inset: 0; overflow: hidden; perspective: 1100px; border-radius: 0 32px 0 0; }
.links--gift { display: none; }
@media (min-width: 901px) { .card--gift { clip-path: none !important; } }
@media (max-width: 900px) {
  .gcs__clip { border-radius: 16px; }
  .links--gift { display: flex; }
  .card--gift .card__text { padding-top: 16px !important; }
  .card--gift .card__text h3 { margin: 0 0 8px !important; }
}

/* тёмная тема: под капсулой выбора языка не должно быть второй плашки */
html.theme-dark .lang--dd { background: none !important; box-shadow: none !important; }
/* тёмная тема: у переключателя «Индивидуальная / Семейная» видна дорожка, как в светлой */
html.theme-dark .seg, html.theme-dark .qw__seg { background: #161616 !important; box-shadow: inset 0 0 0 1px #2A2A2A !important; }
/* шаг 2: плашки ровно по ширине блока, одинаковые поля слева и справа */
.steps .rows { grid-template-columns: minmax(0, 1fr); }
.steps .rows .row { min-width: 0; width: 100%; box-sizing: border-box; }
/* «Музыка и кино» (компьютер): заголовок, текст и «Подробнее» по центру над окном подписок */
@media (min-width: 901px) {
  .card--tall .card__text { text-align: center; max-width: none !important; }
  .card--tall .card__text p { margin-left: auto; margin-right: auto; max-width: 420px; }
  .card--tall .card__text .links { justify-content: center; }
}
@media (min-width: 901px) { .card--tall .card__text .links { display: flex !important; justify-content: center !important; } }
@media (min-width: 901px) { .card--tall .card__text .links { width: max-content !important; margin-left: auto !important; margin-right: auto !important; } }

/* ===== телефон, правки 03.12 вечер ===== */
@media (max-width: 900px) {
  /* кнопки первого экрана ровно посередине между текстом и окном (каталог / кабинет) */
  .hero .hbtns { margin-top: 30px !important; margin-bottom: 0 !important; }
  .hcat { margin-top: 30px !important; }
  .ih__btns { margin-top: 28px !important; }
  .ih .dash { margin-top: 28px !important; }
  /* линии узора на главной доходят так же низко, как на «Интеграциях» */
  .hero--top .hpat { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 92%) !important; mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 92%) !important; }
}
/* значки методов POST / GET: больше поля по бокам */
.m { padding: 0 9px !important; min-width: 0 !important; width: auto !important; }
@media (max-width: 900px) {
  .hero .ht p, .ih__text p { margin-bottom: 0 !important; }
  .hero .hbtns, .ih__text .ih__btns { margin-top: 40px !important; }
  .hcat { margin-top: 40px !important; }
  .ih .dash { margin-top: 40px !important; }
}
@media (max-width: 900px) {
  /* «Как это работает»: шаги 2–3 по высоте содержимого, отступ от текста до плашек — как от текста до iPhone в шаге 1 */
  .steps > .step { min-height: 0 !important; height: auto !important; }
  .steps .step .rows { margin-top: 43px !important; margin-bottom: 0 !important; }
  .steps .step .tgs { margin-top: 56px !important; margin-bottom: 0 !important; }
  .steps > .step:not(:has(.step__phone)) { padding-bottom: 22px !important; }
}

/* телефон: «Подписки и оплата» — заголовки, подписи и «Подробнее» по центру */
@media (max-width: 900px) {
  .subs-car .card__title, .subs-car .card__text, .subs-car .card__text h3, .subs-car .card__text p { text-align: center !important; }
  .subs-car .card__text p { margin-left: auto !important; margin-right: auto !important; }
  .subs-car .card__text .links { display: flex !important; flex-direction: column; align-items: center !important; justify-content: center !important; }
  .subs-car .card__text .links a { justify-content: center; }
  .subs-car .card--gift .card__text { padding-top: 26px !important; }
}
/* «Дополнительно»: фирменные фигурки (как в панели «Бизнес»), крупно на мягкой зелёной плитке */
.fig4 { width: 88px; height: 88px; padding: 18px; border-radius: 28px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px; }
.fig4 svg { width: 100%; height: 100%; display: block; }
html.theme-dark .fig4 { background: rgba(9, 233, 112, .12); color: #2EE07F; }
/* «Станьте поставщиком» (Интеграции) */
.more--3 { grid-template-columns: repeat(3, 1fr) !important; }
.more--3 .more__card { min-height: 0 !important; padding: 32px !important; }
.sup__cta { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 32px; }
.sec--api + .sec--sup, .sec--sup { padding-top: 0 !important; }
@media (max-width: 900px) {
  .more--3 { grid-template-columns: 1fr !important; }
  .more--3 .more__card { padding: 22px !important; }
  .sup__cta { flex-direction: column; gap: 16px; margin-top: 22px; }
  .sec--sup { padding-top: 54px !important; }
}

/* картинки с текстом — на языке сайта (html[lang] ставит переключатель языка) */
html[lang="en"] .hdev__mac { content: url("/assets/hero/mac-light-en.webp") !important; } html.theme-dark[lang="en"] .hdev__mac { content: url("/assets/hero/mac-dark-en.webp") !important; }
html[lang="en"] .ph--pair { content: url("/assets/placeholder/ip14-pair-light-en.webp") !important; } html.theme-dark[lang="en"] .ph--pair { content: url("/assets/placeholder/ip14-pair-dark-en.webp") !important; }
html[lang="en"] .hcat__img { content: url("/assets/hero/catalog-panel-light-en.webp") !important; } html.theme-dark[lang="en"] .hcat__img { content: url("/assets/hero/catalog-panel-dark-en.webp") !important; }
html[lang="zh"] .hdev__mac { content: url("/assets/hero/mac-light-zh.webp") !important; } html.theme-dark[lang="zh"] .hdev__mac { content: url("/assets/hero/mac-dark-zh.webp") !important; }
html[lang="zh"] .ph--pair { content: url("/assets/placeholder/ip14-pair-light-zh.webp") !important; } html.theme-dark[lang="zh"] .ph--pair { content: url("/assets/placeholder/ip14-pair-dark-zh.webp") !important; }
html[lang="zh"] .hcat__img { content: url("/assets/hero/catalog-panel-light-zh.webp") !important; } html.theme-dark[lang="zh"] .hcat__img { content: url("/assets/hero/catalog-panel-dark-zh.webp") !important; }
html[lang="vi"] .hdev__mac { content: url("/assets/hero/mac-light-vi.webp") !important; } html.theme-dark[lang="vi"] .hdev__mac { content: url("/assets/hero/mac-dark-vi.webp") !important; }
html[lang="vi"] .ph--pair { content: url("/assets/placeholder/ip14-pair-light-vi.webp") !important; } html.theme-dark[lang="vi"] .ph--pair { content: url("/assets/placeholder/ip14-pair-dark-vi.webp") !important; }
html[lang="vi"] .hcat__img { content: url("/assets/hero/catalog-panel-light-vi.webp") !important; } html.theme-dark[lang="vi"] .hcat__img { content: url("/assets/hero/catalog-panel-dark-vi.webp") !important; }
html[lang="th"] .hdev__mac { content: url("/assets/hero/mac-light-th.webp") !important; } html.theme-dark[lang="th"] .hdev__mac { content: url("/assets/hero/mac-dark-th.webp") !important; }
html[lang="th"] .ph--pair { content: url("/assets/placeholder/ip14-pair-light-th.webp") !important; } html.theme-dark[lang="th"] .ph--pair { content: url("/assets/placeholder/ip14-pair-dark-th.webp") !important; }
html[lang="th"] .hcat__img { content: url("/assets/hero/catalog-panel-light-th.webp") !important; } html.theme-dark[lang="th"] .hcat__img { content: url("/assets/hero/catalog-panel-dark-th.webp") !important; }

/* телефон: переключатель «Индивидуальная / Семейная» по центру */
@media (max-width: 900px) {
  .subs-car .w--media .w__head { justify-content: center !important; }
  .subs-car .w--media .w__head .seg { margin-left: auto !important; margin-right: auto !important; }
}
/* компьютер: «Музыка и кино» — «Подробнее» под окном подписок, близко к нему; «Пополнение» — «Подробнее» под текстом */
.links--after { display: none; }
@media (min-width: 901px) {
  .card--tall .card__text .links { display: none !important; }
  .card--tall .links--after { display: flex !important; justify-content: center; margin: 14px 0 0 !important; }
  .card--tall .card__text p { margin-bottom: 0 !important; }
  .card--gift .links--gift { display: flex !important; margin-top: 26px !important; }
}
@media (min-width: 901px) { .card--tall .links--after { align-self: center; width: max-content; margin: 16px auto 26px !important; } .card--tall .w--media { margin-bottom: 0 !important; } }
/* компьютер: окно «Игры» шире и уходит за правый край карточки, как консоль у «Заказа одним запросом» */
@media (min-width: 901px) {
  .card--games { overflow: hidden !important; }
  .card--games .swap { right: -70px !important; width: 350px !important; top: 34px !important; }
  .card--games .swap .w--games { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
  .card--games .dots { margin-right: 70px; }
}

/* «Поставщикам»: финальный призыв */
.sup-cta { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 32px !important; border-radius: 32px; }
.sup-cta__mark { height: 40px; margin-bottom: 22px; }
html.theme-dark .sup-cta__mark { filter: brightness(0) invert(1); }
.sup-cta h2 { margin: 0 0 10px; font-size: 34px; line-height: 40px; font-weight: 700; }
.sup-cta p { margin: 0; font-size: 17px; line-height: 23px; color: var(--muted); font-weight: 500; }
.sup-cta .sup__cta { margin-top: 30px; }
@media (max-width: 900px) { .sup-cta { padding: 36px 20px !important; } .sup-cta h2 { font-size: 26px; line-height: 31px; } }
.sup__cta { display: flex; align-items: center; justify-content: center; gap: 28px; }
@media (max-width: 900px) { .sup__cta { flex-direction: column; gap: 16px; } }
@media (max-width: 900px) {
  .more--3 .more__card { display: flex !important; flex-direction: column !important; align-items: flex-start !important; }
  .more--3 .more__card > * { width: auto !important; max-width: 100% !important; }
  .more--3 .fig4 { width: 64px; height: 64px; padding: 13px; border-radius: 20px; margin-bottom: 14px; }
}
@media (max-width: 900px) { .more:not(.more--3) .more__card .fig4 { grid-row: span 3; width: 56px; height: 56px; padding: 12px; border-radius: 16px; margin: 0; } }

/* «Поставщикам»: прайс вместо кабинета */
.tbl--sup .tbl__h--s, .tbl--sup .tbl__r--s { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr !important; }
.tbl--sup .tbl__r--s span:first-child { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tbl--sup .tbl__r--s span:not(:first-child) { color: var(--text); font-weight: 500; }
.tbl--sup .tbl__r--s .ok { justify-self: start; }
.dash--sup .dash__main { overflow: hidden; }
/* «Продажи и выплаты»: понятная выписка */
.wh__vis--pay { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.wh__vis--pay .pay { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.wh__vis--pay .pay b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); } .wh__vis--pay .pay small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.wh__vis--pay .pay em { font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.wh__vis--pay .pay__ok { color: var(--accent-text) !important; }
.wh__vis--pay .pay.fade { opacity: .6; }
html.theme-dark .wh__vis--pay .pay { background: rgba(44, 44, 46, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
/* «Почему Wasabi» на странице поставщиков: фигурки без плитки */
.more--3 .fig4 { background: none !important; padding: 0 !important; width: 56px !important; height: 56px !important; }
@media (max-width: 900px) {
  .tbl--sup .tbl__h--s, .tbl--sup .tbl__r--s { display: grid !important; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr !important; }
  .tbl--sup .tbl__h--s > *, .tbl--sup .tbl__r--s > * { display: revert !important; }
  .tbl--sup .tbl__r--s > span:first-child { display: flex !important; }
  .tbl--sup .tbl__r--s { height: 56px !important; font-size: 14px !important; }
}

/* юридические страницы */
.legal { padding-top: 120px !important; }
.legal__wrap { max-width: 820px !important; }
.legal__h1 { margin: 0 0 18px; font-size: 44px; line-height: 50px; font-weight: 700; letter-spacing: -.5px; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.legal__nav a { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; color: var(--text); }
.legal__nav a.on { background: var(--ink); color: var(--card); }
.legal__doc { background: var(--card); border-radius: 32px; padding: 44px 48px; }
.legal__doc h2 { margin: 34px 0 12px; font-size: 22px; line-height: 28px; font-weight: 700; color: var(--ink); }
.legal__doc h2:first-child { margin-top: 0; }
.legal__doc h3 { margin: 22px 0 8px; font-size: 17px; line-height: 23px; font-weight: 700; color: var(--ink); }
.legal__doc p, .legal__doc li { font-size: 15.5px; line-height: 24px; color: var(--text); font-weight: 500; }
.legal__doc p { margin: 0 0 12px; }
.legal__doc ul { margin: 0 0 14px; padding-left: 22px; }
.legal__doc li { margin-bottom: 6px; }
@media (max-width: 900px) { .legal { padding-top: 70px !important; } .legal__h1 { font-size: 28px; line-height: 34px; } .legal__doc { padding: 24px 20px; border-radius: 24px; } .legal__doc h2 { font-size: 19px; line-height: 25px; } .legal__doc p, .legal__doc li { font-size: 14.5px; line-height: 22px; } }

/* шапка: открытый раздел — чуть плотнее остальных (600 против 500) и цветом заголовков */
.top__nav a.on { font-weight: 600 !important; color: var(--ink) !important; }

/* «Поставщикам»: точечный узор первого экрана */
.pdots { fill: #C9CDD6; } .pdots--g { fill: #09E970; }
html.theme-dark .pdots { fill: #2E2E2E; } html.theme-dark .pdots--g { fill: #09E970; opacity: .8; }

/* компьютер: без «Подробнее об интеграции» и «Открыть полный каталог» */
@media (min-width: 901px) { .api__more, .cat__more { display: none !important; } }
/* фигурки ссылок у «Нейросетей»: насыщенный зелёный фон, светлая фигурка (в тёмной теме — тёмная) */
.links .ico[data-wicon] { background: #09E970 !important; color: #FFFFFF !important; }
html.theme-dark .links .ico[data-wicon] { background: #09E970 !important; color: #0B0C14 !important; }
/* фигурки на зелёном: обе половины полупрозрачные; в светлой теме — светлые, в тёмной — тёмные */
.links .ico[data-wicon] svg > g:first-of-type { opacity: .78; }
.links .ico[data-wicon] svg > g:last-of-type { opacity: .42 !important; }
html.theme-dark .links .ico[data-wicon] svg > g:first-of-type { opacity: .62; }
html.theme-dark .links .ico[data-wicon] svg > g:last-of-type { opacity: .3 !important; }
/* «Игры» (компьютер): надпись «Пополнить» в видимой части кнопки */
@media (min-width: 901px) { .card--games .w--games .btn { padding-right: 42px !important; } } /* за край карточки уходит 42px — надпись по центру видимой части */

/* «Нейросети»: на телефоне вместо двух ссылок — «Подробнее», как у «Музыки и кино» */
.links--more { display: none !important; }
@media (max-width: 900px) {
  .card--wide .card__text .links:not(.links--more) { display: none !important; }
  .card--wide .card__text .links--more { display: flex !important; justify-content: center; margin: 14px 0 0 !important; }
}

/* первые экраны (главная, «Интеграции», «Поставщикам»): лёгкий зелёный блик проходит по линиям/точкам раз в ~14 с */
.pglow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: .42; }
/* полоса шириной 3 экрана: стартует левее экрана и уезжает вправо на 2 экрана (только transform) */
.pglow__b { position: absolute; top: 0; bottom: 0; left: -200%; width: 300%; will-change: transform;
  -webkit-mask-image: linear-gradient(105deg, transparent 40%, #000 50%, transparent 60%); mask-image: linear-gradient(105deg, transparent 40%, #000 50%, transparent 60%);
  animation: pglow-b 14s cubic-bezier(.45, 0, .55, 1) 1.2s infinite; }
/* узор внутри полосы едет навстречу ей — на экране стоит на месте */
.pglow__a { position: absolute; top: 0; bottom: 0; left: 66.6667%; width: 33.3333%; background-position: center top; will-change: transform;
  animation: pglow-a 14s cubic-bezier(.45, 0, .55, 1) 1.2s infinite; }
@keyframes pglow-b { 0% { transform: translate3d(0, 0, 0); } 62%, 100% { transform: translate3d(66.6667%, 0, 0); } }
@keyframes pglow-a { 0% { transform: translate3d(0, 0, 0); } 62%, 100% { transform: translate3d(-200%, 0, 0); } }
html.theme-dark .pglow { opacity: .3; }
.pglow--off .pglow__b, .pglow--off .pglow__a { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .pglow { display: none; } }

/* планшет: кабинет в первом экране */
/* на телефоне кабинет (1200px, scale .42) уходит за правый край — так задумано; на планшете он крупнее и по центру */
@media (min-width: 640px) and (max-width: 900px) {
  .ih .dash { transform: perspective(1400px) translateX(calc((100vw - 600px) / 2)) rotateX(26deg) scale(.5) !important; margin-bottom: -260px !important; }
}
@media (min-width: 760px) and (max-width: 900px) {
  .ih .dash { transform: perspective(1400px) translateX(calc((100vw - 720px) / 2)) rotateX(26deg) scale(.6) !important; margin-bottom: -204px !important; }
}
@media (min-width: 860px) and (max-width: 900px) {
  .ih .dash { transform: perspective(1400px) translateX(calc((100vw - 792px) / 2)) rotateX(26deg) scale(.66) !important; margin-bottom: -170px !important; }
}
/* «Интеграции»: уведомления Telegram-бота и инструменты ИИ-агентов — то же стекло, что у «Своего сайта» (старые правила давали сплошной фон) */
html body .wh__vis--ai .tools span, html body .wh__vis--tg .tgn--solo:nth-child(n) {
  -webkit-backdrop-filter: blur(18px) saturate(1.7) !important; backdrop-filter: blur(18px) saturate(1.7) !important; }
html body .wh__vis--ai .tools span { background: rgba(255, 255, 255, .55) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8) !important; }
html body .wh__vis--tg .tgn--solo:nth-child(3) { background: rgba(255, 255, 255, .55) !important; }
html body .wh__vis--tg .tgn--solo:nth-child(2) { background: rgba(255, 255, 255, .45) !important; }
html body .wh__vis--tg .tgn--solo:nth-child(1) { background: rgba(255, 255, 255, .38) !important; }
html body .wh__vis--tg .tgn--solo { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 4px 12px -6px rgba(11, 12, 20, .18) !important; }
html.theme-dark body .wh__vis--ai.wh__vis--ai.wh__vis--ai .tools span { background: rgba(44, 44, 46, .5) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07) !important; }
html.theme-dark body .wh__vis--tg .tgn--solo:nth-child(3) { background: rgba(44, 44, 46, .5) !important; }
html.theme-dark body .wh__vis--tg .tgn--solo:nth-child(2) { background: rgba(44, 44, 46, .42) !important; }
html.theme-dark body .wh__vis--tg .tgn--solo:nth-child(1) { background: rgba(44, 44, 46, .35) !important; }
html.theme-dark body .wh__vis--tg .tgn--solo { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 4px 12px -6px rgba(0, 0, 0, .5) !important; }

/* integrations.css — с wasabi.guru */
/* Страница «Интеграции» — поверх main-v2.css. Светлая, в цветах wasabi (#09E970 мало, #2B2B2B, фон #F3F4F7) */
.top__nav a.on { color: var(--ink); font-weight: 700; }

/* ── первый экран ── */
.ih { position: relative; width: 1400px; margin: 0 auto; padding: 96px 0 0; overflow: hidden; }
.ih__pat { position: absolute; left: -20px; top: 0; z-index: 0; pointer-events: none; }
.ih__pat svg { display: block; }
.ih__text { position: relative; z-index: 2; text-align: center; }
.ih h1 { margin: 0 auto; max-width: 860px; font-size: 52px; line-height: 60px; font-weight: 700; letter-spacing: -1px; color: #181C32; }
.ih__text > p { margin: 22px auto 34px; max-width: 640px; font-size: 18px; line-height: 27px; font-weight: 500; color: var(--text); }
.ih__btns { display: flex; align-items: center; gap: 26px; }
.ih__text .ih__btns { justify-content: center; }
.ih__link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.ih__link .chev, .ih .chev { width: 16px; height: 16px; display: inline-flex; color: var(--muted); }
.ih__note { position: relative; z-index: 2; margin: 18px auto 0; font-size: 13px; font-weight: 500; color: var(--muted); }

/* кабинет */
.dash { position: relative; z-index: 2; width: 1200px; height: 560px; margin: 64px auto 0; display: grid; grid-template-columns: 232px 1fr; border-radius: 28px 28px 0 0;
  background: #fff; box-shadow: 0 0 0 1px rgba(11, 12, 20, .06), 0 -20px 60px -30px rgba(11, 12, 20, .14); overflow: hidden; }
.dash__fade { position: relative; z-index: 3; width: 1260px; height: 230px; margin: -228px auto 0; background: linear-gradient(180deg, rgba(243, 244, 247, 0), var(--bg) 70%); pointer-events: none; }
.dash__side { padding: 22px 14px; border-right: 1px solid #EEF0F4; display: flex; flex-direction: column; }
.dash__logo { display: flex; align-items: center; gap: 8px; padding: 0 10px 22px; }
.dash__logo img { height: 22px; display: block; }
.dash__logo span { height: 22px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; background: var(--bg); font-size: 11px; font-weight: 700; color: var(--muted); }
.dash__side nav { display: flex; flex-direction: column; gap: 2px; }
.dash__side nav a, .dash__help { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--text); }
.dash__side nav a.on { background: var(--bg); color: var(--ink); }
.dash__side i { width: 22px; height: 22px; display: inline-flex; color: var(--muted-2); }
.dash__side .on i { color: var(--accent-text); }
.dash__side i svg { width: 100%; height: 100%; }
.dash__help { margin-top: auto; }
.dash__main { padding: 22px 26px; background: #FAFAFC; min-width: 0; }
.dash__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.dash__bar > b { font-size: 22px; font-weight: 700; margin-right: auto; }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #EEF0F4; }
.seg span { height: 30px; padding: 0 12px; display: grid; place-items: center; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 12, 20, .08); }
.dash__bal { font-size: 13px; font-weight: 600; color: var(--muted); }
.dash__bal b { margin-left: 4px; color: var(--ink); font-size: 14px; }
.dash__bar .btn--sm { height: 36px; padding: 0 16px; font-size: 13px; border-radius: 12px; }
.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.kpi { padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #EEF0F4; }
.kpi small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.kpi b { display: block; margin: 6px 0 4px; font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -.5px; }
.kpi span { font-size: 12px; font-weight: 600; color: var(--muted); }
.kpi .up { color: var(--accent-text); }
.dash__row { display: grid; grid-template-columns: 1fr 330px; gap: 14px; }
.dc { padding: 18px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #EEF0F4; }
.dc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dc__head b { font-size: 15px; font-weight: 700; }
.dc__head .pick { height: 28px; background: var(--bg); padding: 0 10px; font-size: 12px; }
.lgd { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.lgd i { width: 8px; height: 8px; border-radius: 4px; background: var(--dark); margin-left: 8px; }
.lgd i.b { background: var(--accent); }
.bars { height: 150px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid #EEF0F4; }
.bars span { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; }
.bars i { display: block; border-radius: 4px; background: #D9DCE4; }
.bars span:last-child i:not(.b) { background: var(--dark); }
.bars i.b { background: var(--accent); }
.bars__x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; font-weight: 600; color: var(--muted-2); }
.or { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.or + .or { border-top: 1px solid #F1F2F6; }
.or div { flex: 1; min-width: 0; }
.or b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.or small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.ok--wait { background: #FFF4DE; color: #B7791F; }

/* ── где подключить ── */
.where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wh { padding: 26px 28px 30px; }
.wh__vis { height: 168px; margin-bottom: 26px; border-radius: 20px; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: 18px; gap: 8px; }
.wh h3 { margin: 0 0 8px; font-size: 22px; line-height: 28px; font-weight: 700; }
.wh p { margin: 0; font-size: 15px; line-height: 21px; font-weight: 500; color: var(--muted); }
.mini { height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 12px; background: #fff; }
.mini code { font-family: Menlo, "SF Mono", monospace; font-size: 13px; font-weight: 700; color: var(--ink); }
.mini.fade { opacity: .5; }
.wh__vis .tgn--solo { margin: 0 !important; background: #fff; }
.wh__vis .tgn__app { box-shadow: 0 0 0 1.5px #fff; }
.wh__vis--ai .tools { margin: 0 0 14px; }
.wh__vis--ai .tools span { background: #fff; }
.wh__vis--ai .mcp__with { display: flex; gap: 8px; margin: 0; }

/* ── кабинет ── */
.cab { display: grid; grid-template-columns: 320px 1fr; padding: 10px; }
.cab__list { padding: 26px 18px 26px 22px; display: flex; flex-direction: column; gap: 4px; }
.cab__list div { position: relative; padding: 12px 14px 12px 18px; border-radius: 16px; }
.cab__list b { font-size: 15px; font-weight: 600; color: var(--text); }
.cab__list small { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); }
.cab__list .on { background: var(--bg); }
.cab__list .on b { color: var(--ink); }
.cab__list .on::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--accent); }
.cab__view { border-radius: 24px; background: var(--bg); padding: 22px; }
.tbl { border-radius: 16px; background: #fff; padding: 6px 18px; }
.tbl__h, .tbl__r { display: grid; grid-template-columns: 110px 1fr 100px 96px; align-items: center; gap: 12px; }
.tbl__h { height: 42px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid #EEF0F4; }
.tbl__r { height: 56px; font-size: 14px; font-weight: 600; }
.tbl__r + .tbl__r { border-top: 1px solid #F1F2F6; }
.tbl__r code { font-family: Menlo, "SF Mono", monospace; font-size: 12.5px; color: var(--muted); }
.tbl__r > span:nth-child(2) { display: flex; align-items: center; gap: 10px; }
.tbl__r .lg--xs { display: inline-block; flex: none; }
.tbl__r .ok { justify-self: start; }
.tbl__r.fade { opacity: .45; }

/* ── API ── */
.iapi { display: grid; grid-template-columns: 1fr 560px; gap: 56px; align-items: center; }
.iapi .sec__title { margin-bottom: 18px; }
.iapi__lead { margin: 0 0 30px; font-size: 17px; line-height: 25px; font-weight: 500; color: var(--muted); }
.feat { margin-bottom: 18px; }
.feat b { display: block; font-size: 16px; font-weight: 700; }
.feat small { display: block; margin-top: 3px; font-size: 14px; font-weight: 500; color: var(--muted); }
.iapi .ih__btns { margin-top: 32px; }
.iapi__term { margin: 0 !important; border-radius: 28px !important; }

/* ── призыв ── */
.icta { text-align: center; padding: 20px 0 40px; }
.icta__mark { width: 64px; height: 64px; display: block; margin: 0 auto 26px; }
.icta h2 { margin: 0 0 12px; font-size: 45px; line-height: 50px; font-weight: 700; letter-spacing: -.3px; color: #181C32; }
.icta p { margin: 0 0 32px; font-size: 18px; font-weight: 500; color: var(--muted); }
.icta .ih__btns { justify-content: center; }

/* правки: переключатель периода по центру шапки, баланс легче, статусы без цветных плашек */
.dash__bar { display: grid !important; grid-template-columns: 1fr auto 1fr; gap: 16px; }
.dash__bar > b { margin-right: 0 !important; }
.dash__r { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.dash__bal { font-weight: 500 !important; }
.dash__bal b { font-weight: 600 !important; color: var(--text) !important; }
.or .ok, .tbl__r .ok, .ok--wait { height: auto !important; padding: 0 !important; background: none !important; border-radius: 0; font-size: 13px !important; font-weight: 500 !important; color: var(--muted) !important; display: inline !important; }
.kpi .up { color: var(--muted) !important; }

/* переключатель периода — ровно по центру всей панели кабинета (1200 / 2 − меню 232 − отступ 26) */
.dash__bar { display: flex !important; justify-content: space-between; position: relative; height: 36px; }
.dash__bar .seg { position: absolute; top: 0; left: calc(600px - 232px - 26px - 120px); width: 240px; }
.dash__bar .seg span { flex: 1; padding: 0; }
/* «Wasabi Бизнес»: одна строка */
.tgn--solo .tgn__top b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.tgn--solo p { white-space: nowrap !important; overflow: hidden !important; }
.tgn--solo { align-items: center; }
.icta__mark { width: 84px !important; height: auto !important; }

/* «Telegram‑бот»: три уведомления подряд */
.wh__vis--tg { gap: 8px; justify-content: center; }
.wh__vis--tg .tgn--solo { padding: 9px 12px !important; }
.wh__vis--tg .tgn__ava, .wh__vis--tg .tgn__ava img { width: 32px !important; height: 32px !important; }
.wh__vis--tg .tgn__top b { font-size: 13px !important; } .wh__vis--tg .tgn p { font-size: 13px !important; line-height: 17px !important; }

/* «Подключайте, где удобно»: содержимое примеров появляется вслед за карточкой */
.js-anim .wh.rv .mini, .js-anim .wh.rv .tools span, .js-anim .wh.rv .mcp__with .lg { opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .55s cubic-bezier(.2, .8, .2, 1); }
.js-anim .wh.rv.in .mini, .js-anim .wh.rv.in .tools span, .js-anim .wh.rv.in .mcp__with .lg { opacity: 1; transform: none; }
.js-anim .wh.rv.in .mini:nth-child(1), .js-anim .wh.rv.in .tools span:nth-child(1), .js-anim .wh.rv.in .mcp__with .lg:nth-child(1) { transition-delay: .25s; }
.js-anim .wh.rv.in .mini:nth-child(2), .js-anim .wh.rv.in .tools span:nth-child(2), .js-anim .wh.rv.in .mcp__with .lg:nth-child(2) { transition-delay: .35s; }
.js-anim .wh.rv.in .mini:nth-child(3), .js-anim .wh.rv.in .tools span:nth-child(3), .js-anim .wh.rv.in .mcp__with .lg:nth-child(3) { transition-delay: .45s; }
.js-anim .wh.rv.in .mcp__with .lg:nth-child(4) { transition-delay: .55s; }

/* «Telegram‑бот»: уведомления внахлёст, отступы со всех сторон одинаковые */
.wh__vis--tg { height: auto !important; padding: 16px !important; gap: 0 !important; justify-content: flex-end !important; }
.wh__vis--tg .tgn--solo { position: relative; margin: 0 !important; box-shadow: 0 -1px 0 rgba(11, 12, 20, .04), 0 4px 12px -6px rgba(11, 12, 20, .18); }
.wh__vis--tg .tgn--solo + .tgn--solo { margin-top: -14px !important; }
.wh__vis--tg .tgn--solo:nth-child(1) { z-index: 1; margin: 0 18px !important; background: #F7F7F9 !important; }
.wh__vis--tg .tgn--solo:nth-child(2) { z-index: 2; margin-left: 9px !important; margin-right: 9px !important; background: #FBFBFC !important; }
.wh__vis--tg .tgn--solo:nth-child(3) { z-index: 3; }
/* «Всё в одном кабинете»: без бледной последней строки */
.tbl__r.fade { opacity: 1 !important; }

/* «03 API»: табличка и заголовок по центру над колонками */
.iapi__head { text-align: center; margin-bottom: 36px; }
.iapi__head .sec__title { margin: 0 auto !important; text-align: center !important; }
/* точки окна в кабинете: свой размер (не как значки меню) */
.dash__side .tl i { width: 12px !important; height: 12px !important; flex: none; }
/* затухание кабинета — внутри него, поэтому наклоняется вместе с ним */
.dash__fade { display: none !important; }
.dash { -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 96%); mask-image: linear-gradient(180deg, #000 52%, transparent 96%); }

/* узор — фоновая картинка, нужен размер блока */
.ih__pat { width: 1440px; height: 640px; }

/* призыв внизу — только на телефоне */
@media (min-width: 901px) { .icta-sec { display: none !important; } }
html.theme-dark .icta__mark { filter: brightness(0) invert(1); }
/* «Всё в одном кабинете» на телефоне: разделы кабинета чипами, пояснение, затем таблица */
@media (max-width: 900px) {
  .cab { flex-direction: column; }
  .cab__list { order: 1; display: flex !important; flex-direction: row !important; flex-wrap: nowrap; gap: 6px !important; overflow-x: auto; padding: 4px 4px 10px !important; scrollbar-width: none; }
  .cab__list::-webkit-scrollbar { display: none; }
  .cab__list div { flex: none; padding: 9px 14px !important; border-radius: 12px !important; background: var(--bg); }
  .cab__list div::before { display: none !important; }
  .cab__list div.on { background: var(--dark) !important; }
  .cab__list div.on b { color: #fff !important; }
  .cab__list b { font-size: 13px !important; white-space: nowrap; }
  .cab__list small { display: none !important; }
  .cab::before { content: "Статус каждого заказа и что получил покупатель — без писем в поддержку"; display: block; order: 2; padding: 2px 8px 10px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); }
  .cab__view { order: 3; }
  html.theme-dark .cab__list div.on { background: #F2F3F5 !important; } html.theme-dark .cab__list div.on b { color: #141414 !important; }
}

/* кабинет: разделы кликабельны; таблица меняется */
.cab__list [data-i] { cursor: pointer; transition: background .2s; }
.cab__list [data-i]:not(.on) small { display: none; }
.tbl { transition: opacity .16s; } .tbl--sw { opacity: 0; }
.tbl__r--g { grid-template-columns: 1.3fr 1fr 1fr 1fr !important; }
.tbl__r--g span:first-child { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tbl__r--g span:not(:first-child) { color: var(--text); font-weight: 500; }
.tbl__r--g ~ .tbl__h, .tbl__h:has(+ .tbl__r--g) { grid-template-columns: 1.3fr 1fr 1fr 1fr !important; }
@media (max-width: 900px) {
  .cab::before { content: none !important; }
  .cab__cap { order: 2; padding: 2px 8px 10px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); }
  .tbl__r--g, .tbl__h:has(+ .tbl__r--g) { grid-template-columns: 1.4fr 1fr !important; }
  .tbl__r--g span:nth-child(2), .tbl__r--g span:nth-child(3), .tbl__h:has(+ .tbl__r--g) span:nth-child(2), .tbl__h:has(+ .tbl__r--g) span:nth-child(3) { display: none !important; }
  /* «Заказ одним запросом» на телефоне не показываем */
  .iapi__head, .iapi { display: none !important; }
}
@media (min-width: 901px) { .cab__cap { display: none; } }
/* подпись кабинета — сразу под видимой частью кабинета */
@media (min-width: 901px) { .ih__note { margin-top: -150px !important; position: relative; z-index: 6; } }
/* телефон: кабинет снова виден — уменьшенный и повёрнутый, как у Hex */
@media (max-width: 900px) {
  .dash { display: grid !important; width: 1200px !important; height: 560px !important; grid-template-columns: 232px 1fr !important; margin: 26px 0 0 !important;
    transform-origin: 0 0; transform: perspective(1400px) translateX(20px) rotateX(18deg) rotateY(-14deg) rotateZ(6deg) scale(.42) !important; }
  .dash .dash__side { display: flex !important; }
  .dash__row { display: grid !important; grid-template-columns: 1fr 330px !important; }
  .dash__stats { grid-template-columns: repeat(3, 1fr) !important; }
  .dash__stats .kpi:nth-child(3) { display: block !important; }
  .dash__bar .seg { position: absolute !important; left: calc(600px - 232px - 26px - 120px) !important; width: 240px !important; }
  .dash__bar { flex-wrap: nowrap !important; height: 36px !important; }
  .ih { overflow: hidden; }
  .ih .dash { margin-bottom: -300px !important; }
  .ih__note { position: relative; z-index: 5; margin-top: 10px !important; text-align: center; }
}
@media (min-width: 901px) { .ih__note { margin-top: -95px !important; } }
/* ровные отступы между разделами */
@media (min-width: 901px) { .sec--api { padding-top: 146px !important; } .ih__note { margin-top: -70px !important; text-align: center; } }
@media (max-width: 900px) {
  .sec--api { display: none !important; }
  .icta-sec { padding-top: 120px !important; }
  .ih { padding-top: 64px !important; }
  .ih__note { display: none; }
}
@media (max-width: 900px) { .icta-sec { padding-top: 54px !important; } }

/* ── wholesale.wasabi.guru — вход и кабинет. Поверх стилей сайта (main-v2, site, dark, integrations):
      оттуда цвета, шрифт, кнопки, .kpi/.dc/.seg/.or/.ok/.bars и меню языков. Кабинет повторяет макет .dash с /integrations ── */
html.booting body { visibility: hidden; }
html:not(.booting) body { animation: wsb-in .25s ease-out; }
@keyframes wsb-in { from { opacity: .01; } }
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
:root { --k-side: #FFFFFF; --k-main: #FAFAFC; --k-line: #EEF0F4; --k-line-2: #F1F2F6; --k-field: #FFFFFF; }
html.theme-dark { --k-side: #1E1E1E; --k-main: #191919; --k-line: #262626; --k-line-2: #262626; --k-field: #262626; }
button { font: inherit; }

/* ══ вход ══ */
.k-login { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.k-pat { position: absolute; left: 50% !important; top: 0; transform: translateX(-50%); width: 1440px !important; opacity: 1 !important; }
.k-ltop { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 24px 32px; }
.k-ltop__logo img { height: 26px; display: block; }
.k-ltop__r, .k-bar__r { display: flex; align-items: center; gap: 12px; }
.k-lmain { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px 40px; }
.k-lcard { width: 440px; max-width: 100%; padding: 36px 36px 32px; border-radius: 32px; background: var(--card); box-shadow: 0 0 0 1px rgba(11, 12, 20, .05), 0 30px 80px -40px rgba(11, 12, 20, .25); }
.k-lbadge { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.k-lbadge img { height: 22px; display: block; }
.k-lbadge span, .k-logo span { height: 22px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; background: var(--bg); font-size: 11px; font-weight: 700; color: var(--muted); }
.k-lcard h1 { margin: 0; font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.5px; color: var(--ink); }
.k-lsub { margin: 8px 0 26px; font-size: 15px; font-weight: 500; color: var(--muted); }
.k-err { margin: -8px 0 18px; padding: 12px 14px; border-radius: 14px; background: #FDECEC; color: #C23B3B; font-size: 14px; font-weight: 600; }
.k-form { display: flex; flex-direction: column; gap: 14px; }
.k-field { display: flex; flex-direction: column; gap: 6px; }
.k-field > span { font-size: 13px; font-weight: 600; color: var(--text); }
.k-in { height: 50px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--k-line); font: 500 15px/1 "Montserrat", system-ui, sans-serif; color: var(--ink); outline: none; transition: box-shadow .15s; }
.k-in:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.k-btn-wide { width: 100%; height: 52px; font-size: 16px; border: 0; cursor: pointer; }
.k-form .btn--accent { margin-top: 6px; }
.k-or { display: flex; align-items: center; gap: 12px; margin: 4px 0; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.k-or::before, .k-or::after { content: ""; flex: 1; height: 1px; background: var(--k-line); }
.k-tg { gap: 10px; opacity: .55; cursor: not-allowed; }
.k-tg i { width: 18px; height: 16px; display: inline-flex; }
.k-tg em { font-style: normal; height: 22px; padding: 0 8px; display: grid; place-items: center; border-radius: 7px; background: rgba(255, 255, 255, .16); font-size: 11px; font-weight: 700; }
.k-demo-in { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--k-line); text-align: center; }
.k-btn-soft { height: 48px; border: 0; cursor: pointer; background: var(--accent-soft); color: var(--accent-text); font-size: 15px; }
.k-btn-soft:hover { background: var(--accent-tint); }
.k-demo-in small { font-size: 12px; font-weight: 500; color: var(--muted); }
.k-lnote { margin: 22px 0 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.k-lnote a, .k-lfoot a:hover { color: var(--accent-text); font-weight: 600; }
.k-lfoot { position: relative; z-index: 2; display: flex; justify-content: center; gap: 24px; padding: 0 16px 28px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ══ кабинет ══ */
body[data-kind="app"] { background: var(--k-main); }
.k-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.k-side { position: sticky; top: 0; height: 100vh; padding: 22px 14px 16px; display: flex; flex-direction: column; background: var(--k-side); border-right: 1px solid var(--k-line); overflow-y: auto; }
.k-logo { display: flex; align-items: center; gap: 8px; padding: 0 10px 22px; }
.k-logo img { height: 22px; display: block; }
.k-nav { display: flex; flex-direction: column; gap: 2px; }
.k-nav a, .k-help { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--text); transition: background .15s, color .15s; }
.k-nav a:hover, .k-help:hover { background: var(--bg); }
.k-nav a.on { background: var(--bg); color: var(--ink); }
.k-nav i, .k-help i { width: 22px; height: 22px; display: inline-flex; flex: none; color: var(--muted-2); }
.k-nav a.on i { color: var(--accent-text); }
.k-nav i svg, .k-help i svg { width: 100%; height: 100%; }
.k-side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.k-me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: var(--bg); }
.k-me > div { flex: 1; min-width: 0; }
.k-me b, .k-me small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-me b { font-size: 13px; font-weight: 700; color: var(--ink); }
.k-me small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.k-ava { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; }
.k-out { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.k-out:hover { background: var(--card); color: var(--ink); }
.k-out svg { width: 20px; height: 20px; }

.k-main { min-width: 0; }
.k-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; height: 76px; padding: 0 32px; background: color-mix(in srgb, var(--k-main) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.k-title { font-size: 24px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.k-slot { margin-right: auto; }
.k-bar__r { margin-left: auto; }
.k-slot:empty + .k-bar__r { margin-left: auto; }
.k-demo { height: 26px; padding: 0 10px; display: grid; place-items: center; border-radius: 8px; background: #FFF4DE; color: #B7791F; font-size: 12px; font-weight: 700; }
html.theme-dark .k-demo { background: rgba(255, 180, 60, .14); color: #F0B44C; }
.k-bal { white-space: nowrap; }
.k-bar .btn--sm { height: 38px; padding: 0 16px; font-size: 13px; border-radius: 12px; }
.k-burger, .k-scrim { display: none; }
.k-view { padding: 6px 32px 48px; max-width: 1480px; }
.k-seg span { cursor: pointer; transition: background .15s, color .15s; }
.k-seg span:not(.on):hover { color: var(--ink); }

.k-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.k-row { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; margin-bottom: 14px; align-items: start; }
.k-row--even { grid-template-columns: 1fr 1fr; align-items: stretch; }
.k-row--rev { grid-template-columns: minmax(0, 1fr) 360px; }
.k-row:has(.k-chart) { align-items: stretch; }
.k-chart { display: flex; flex-direction: column; }
.k-chart .bars { flex: 1; height: auto; min-height: 210px; }
.k-chart .bars span { min-width: 0; }
.dc--orders .or b { font-size: 13.5px; }
.dc .pick { cursor: pointer; text-decoration: none; }
a.pick:hover, button.pick:hover { color: var(--accent-text); }
.k-muted { color: var(--muted); font-weight: 500; }
.dc__head .k-muted { font-size: 12px; font-weight: 600; }
.k-top { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 7px 0; }
.k-top b { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-top div { min-width: 0; }
.k-top i { display: block; height: 6px; border-radius: 3px; background: var(--accent); opacity: .85; }
.k-top > span:last-child { font-size: 12px; font-weight: 700; color: var(--muted); }
.k-bigbal { font-size: 34px; line-height: 40px; font-weight: 700; letter-spacing: -.5px; margin: -2px 0 8px; color: var(--ink); }
.k-led { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.k-led + .k-led, .k-bigbal + .k-led { border-top: 1px solid var(--k-line-2); }
.k-led div { flex: 1; min-width: 0; }
.k-led b { display: block; font-size: 13px; font-weight: 600; }
.k-led small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.k-led > span { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.k-plus { color: var(--accent-text); }

/* панель инструментов и таблицы */
.k-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.k-tools .btn { margin-left: auto; border: 0; cursor: pointer; }
.k-search { width: 320px; height: 40px; border-radius: 12px; background: var(--k-field); font-size: 14px; }
.k-note { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--muted); max-width: 640px; }
.k-tbl-wrap { padding: 6px 18px 8px; overflow-x: auto; }
.k-tbl-wrap .dc__head { margin: 12px 0 4px; }
.k-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.k-tbl th { height: 44px; padding: 0 10px; text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--k-line); white-space: nowrap; }
.k-tbl td { height: 58px; padding: 0 10px; font-weight: 600; border-top: 1px solid var(--k-line-2); white-space: nowrap; }
.k-tbl tbody tr:first-child td { border-top: 0; }
.k-tbl tbody tr:hover td { background: color-mix(in srgb, var(--bg) 55%, transparent); }
.k-tbl .r { text-align: right; }
.k-tbl code, .k-code, .k-hook dd code { font-family: Menlo, "SF Mono", monospace; font-size: 12.5px; color: var(--muted); }
.k-st { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.k-st--wait { background: #FFF4DE; color: #B7791F; }
.k-st--bad { background: #FDECEC; color: #C23B3B; }
.k-st--grey { background: var(--bg); color: var(--muted); }
html.theme-dark .k-st--wait { background: rgba(255, 180, 60, .14); color: #F0B44C; }
html.theme-dark .k-st--bad { background: rgba(240, 80, 80, .14); color: #F07070; }
.k-prod { display: inline-flex; align-items: center; gap: 10px; }
.k-prod .lg { flex: none; }
.k-chan { font-size: 13px; color: var(--text); }
.k-off { margin-left: 6px; padding: 2px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-size: 11.5px; font-weight: 700; }
.k-tbl s { text-decoration-color: rgba(126, 130, 153, .6); }
.k-act { border: 0; height: 30px; background: var(--bg); }
.k-act:disabled { opacity: .45; cursor: not-allowed; }
.k-empty { padding: 28px 0; text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); }

/* ключи, вебхук, команда, баланс */
.k-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.k-key, .k-hook, .k-topcard { display: flex; flex-direction: column; gap: 12px; }
.k-key .k-act, .k-hook .btn { align-self: flex-start; border: 0; cursor: pointer; }
.k-key__h { display: flex; align-items: center; justify-content: space-between; }
.k-key__h b { font-size: 16px; font-weight: 700; }
.k-code { display: block; padding: 12px 14px; border-radius: 12px; background: var(--bg); color: var(--ink) !important; overflow-x: auto; white-space: nowrap; }
.k-key dl, .k-hook dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 13px; }
.k-key dt, .k-hook dt { font-weight: 600; color: var(--muted); }
.k-key dd, .k-hook dd { margin: 0; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px; }
.k-chip { height: 24px; padding: 0 9px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--bg); font-size: 12px; font-weight: 600; color: var(--text); }
.k-hook p, .k-topcard p { margin: 0; font-size: 13px; line-height: 19px; }
.k-person { display: inline-flex; align-items: center; gap: 10px; }
.k-person b, .k-person small { display: block; }
.k-person small { font-size: 12px; font-weight: 500; color: var(--muted); }
.k-role { padding: 10px 0; }
.k-role + .k-role { border-top: 1px solid var(--k-line-2); }
.k-role b { display: block; font-size: 14px; font-weight: 700; }
.k-role small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.k-methods { display: flex; flex-direction: column; gap: 8px; }
.k-method { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--bg); font-size: 14px; font-weight: 600; cursor: pointer; }
.k-method input { accent-color: var(--accent-text); }

.k-toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 14px; background: var(--dark); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.k-toast.on { opacity: 1; transform: translate(-50%, 0); }
html.theme-dark .k-toast { background: #F2F3F5; color: #141414; }
html.theme-dark .k-ava { background: #2E2E2E; }
html.theme-dark .k-lcard { box-shadow: 0 0 0 1px #262626, 0 30px 80px -40px rgba(0, 0, 0, .6); }
html.theme-dark .k-err { background: rgba(240, 80, 80, .14); color: #F07070; }
html.theme-dark .k-lbadge img, html.theme-dark .k-logo img, html.theme-dark .k-ltop__logo img { filter: brightness(0) invert(1); }
html.theme-dark .k-lbadge span, html.theme-dark .k-logo span { background: #2E2E2E; color: var(--text); }
html.theme-dark .k-nav i, html.theme-dark .k-help i { color: #C9CCD4; }
html.theme-dark .k-nav a.on i { color: var(--accent-text); }

/* планшет и телефон: меню выезжает слева */
@media (max-width: 1180px) {
  .k-row, .k-row--rev, .k-row--even { grid-template-columns: 1fr; }
  .k-demo { display: none; }
}
@media (max-width: 900px) {
  .k-app { grid-template-columns: 1fr; }
  .k-side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 30; width: 272px; height: auto; transform: translateX(-102%); transition: transform .25s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .15); }
  .k-app.menu .k-side { transform: none; }
  .k-scrim { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(11, 12, 20, .35); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .k-app.menu .k-scrim { opacity: 1; pointer-events: auto; }
  .k-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; padding: 0 9px; border: 0; border-radius: 12px; background: var(--card); cursor: pointer; flex: none; }
  .k-burger i { display: block; height: 2px; border-radius: 1px; background: var(--ink); }
  .k-bar { height: 64px; padding: 0 16px; gap: 10px; flex-wrap: nowrap; }
  .k-title { font-size: 19px; overflow: hidden; text-overflow: ellipsis; }
  .k-slot { display: none; }
  .k-bal, .k-topup, .k-bar .lang__cur, .k-bar .lang__chev { display: none !important; }
  .k-view { padding: 4px 16px 40px; }
  .k-view[data-view="summary"]::before { content: none; }
  .k-kpis { grid-template-columns: 1fr; gap: 10px; }
  .k-kpis .kpi b { font-size: 24px; }
  .k-chart .bars { height: 160px; gap: 3px; }
  .k-tools { gap: 10px; }
  .k-search { width: 100%; }
  .k-tools .seg { overflow-x: auto; max-width: 100%; }
  .k-tools .btn { margin-left: 0; }
  .k-cards { grid-template-columns: 1fr; }
  .k-lcard { padding: 28px 22px 24px; border-radius: 28px; }
  .k-lcard h1 { font-size: 26px; line-height: 32px; }
  .k-ltop { padding: 16px; }
  .k-ltop .lang__cur, .k-ltop .lang__chev { display: none; }
}
/* телефон: период сводки — под заголовком */
@media (max-width: 900px) {
  .k-mseg { display: block !important; margin-bottom: 12px; }
}
.k-mseg { display: none; }
