/* Крипта и точка / Cryptodot — тема сайта.
   Чёрный фон, лаймовый акцент, пиксельные заголовки. Формы блоков — ступенчатые «пиксельные» углы,
   фон — точечная сетка, главный мотив — квадратная «точка». */

/* ---------- шрифты (OFL, лицензии рядом с файлами) ---------- */
@font-face { font-family: "Pixelify Sans"; font-weight: 500; font-display: swap; src: url(../fonts/pixelify-sans-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Pixelify Sans"; font-weight: 500; font-display: swap; src: url(../fonts/pixelify-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Pixelify Sans"; font-weight: 600; font-display: swap; src: url(../fonts/pixelify-sans-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Pixelify Sans"; font-weight: 600; font-display: swap; src: url(../fonts/pixelify-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Pixelify Sans"; font-weight: 700; font-display: swap; src: url(../fonts/pixelify-sans-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Pixelify Sans"; font-weight: 700; font-display: swap; src: url(../fonts/pixelify-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Tiny5"; font-weight: 400; font-display: swap; src: url(../fonts/tiny5-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Tiny5"; font-weight: 400; font-display: swap; src: url(../fonts/tiny5-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url(../fonts/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url(../fonts/onest-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url(../fonts/onest-rub-400-normal.woff2) format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url(../fonts/onest-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url(../fonts/onest-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url(../fonts/onest-rub-500-normal.woff2) format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url(../fonts/onest-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url(../fonts/onest-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url(../fonts/onest-rub-600-normal.woff2) format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url(../fonts/onest-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url(../fonts/onest-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url(../fonts/onest-rub-700-normal.woff2) format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-rub-500-normal.woff2) format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(../fonts/jetbrains-mono-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(../fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(../fonts/jetbrains-mono-rub-700-normal.woff2) format("woff2"); unicode-range: U+20BD; }

/* шрифт заголовков выбирается в «Настройки → Оформление»: Handjet (по умолчанию), Press Start 2P или прежний Pixelify Sans */
@font-face { font-family: "Handjet"; font-weight: 600; font-display: swap; src: url(../fonts/handjet-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Handjet"; font-weight: 600; font-display: swap; src: url(../fonts/handjet-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Handjet"; font-weight: 700; font-display: swap; src: url(../fonts/handjet-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Handjet"; font-weight: 700; font-display: swap; src: url(../fonts/handjet-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Press Start 2P"; font-weight: 400; font-display: swap; src: url(../fonts/press-start-2p-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Press Start 2P"; font-weight: 400; font-display: swap; src: url(../fonts/press-start-2p-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

/* ---------- токены ---------- */
:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --card: #161616;
  --field: #1e1e1e;
  --field-2: #262626;
  --line: #2e2e2e;
  --text: #f2f2ee;
  --muted: #a3a39c;
  --faint: #77776f;
  --lime: #d4ff3f;
  --lime-hover: #e3ff7a;
  --lime-deep: #5e7218;
  --lime-tint: rgba(212, 255, 63, .10);
  --lime-tint-2: rgba(212, 255, 63, .18);
  --crypto-bg: #1b1f0c;
  --ink: #0a0a0a;
  --orange: #ffb547;
  --blue: #7cc8ff;
  --violet: #d7a6ff;
  --red: #ff6b5e;

  /* заголовки: Handjet — ровная кириллица, все строчные одной высоты. Размеры — ниже, свои для каждого шрифта */
  --f-px: "Handjet", "Arial Narrow", sans-serif;
  --px-w1: 700; --px-w2: 600; --lh-px: 1.02; --lh-h1: .94; --lh-h3: 1.1; --ls-px: .005em;
  --fs-h1: clamp(52px, 7vw, 104px); --fs-h1p: clamp(42px, 4.4vw, 62px); --fs-h2: clamp(36px, 3.6vw, 52px); --fs-h2sm: 34px; --fs-h3: 30px;
  --fs-logo: 32px; --fs-xcol: 34px; --fs-timer: 56px; --fs-proseh2: 30px; --fs-404: clamp(120px, 18vw, 220px); --fs-stat: 42px;
  --fs-ava: 22px; --fs-admh1: 32px; --fs-logo-m: 26px; --fs-xcol-m: 28px; --fs-h2-m: 36px; --fs-h3-m: 26px;
  --f-lb: "Tiny5", "Courier New", monospace;
  --f-tx: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mn: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* ступенчатые углы: две ступеньки по 2 / 3 / 5 px */
  --px-s: polygon(0 4px, 2px 4px, 2px 2px, 4px 2px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 2px, calc(100% - 2px) 2px, calc(100% - 2px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 2px) calc(100% - 4px), calc(100% - 2px) calc(100% - 2px), calc(100% - 4px) calc(100% - 2px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 2px), 2px calc(100% - 2px), 2px calc(100% - 4px), 0 calc(100% - 4px));
  --px-m: polygon(0 6px, 3px 6px, 3px 3px, 6px 3px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 3px) calc(100% - 6px), calc(100% - 3px) calc(100% - 3px), calc(100% - 6px) calc(100% - 3px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 6px), 0 calc(100% - 6px));
  --px-l: polygon(0 10px, 5px 10px, 5px 5px, 10px 5px, 10px 0, calc(100% - 10px) 0, calc(100% - 10px) 5px, calc(100% - 5px) 5px, calc(100% - 5px) 10px, 100% 10px, 100% calc(100% - 10px), calc(100% - 5px) calc(100% - 10px), calc(100% - 5px) calc(100% - 5px), calc(100% - 10px) calc(100% - 5px), calc(100% - 10px) 100%, 10px 100%, 10px calc(100% - 5px), 5px calc(100% - 5px), 5px calc(100% - 10px), 0 calc(100% - 10px));

  --gutter: 80px;
  color-scheme: dark;
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background-color: var(--bg);
  background-image: radial-gradient(circle at center, #1c1c1c 1.2px, transparent 1.7px);
  background-size: 20px 20px;
  color: var(--text); font: 400 16px/1.5 var(--f-tx); overflow-x: hidden;
}
main { flex: 1 0 auto; }
img, svg { display: inline-block; vertical-align: middle; }
.ic { display: block; flex-shrink: 0; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-hover); }
p a, .prose a, .chk a { text-decoration: underline; text-underline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
::selection { background: var(--lime); color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--faint); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 1040px; }
.muted { color: var(--muted); }
.lime { color: var(--lime); }
.mono { font-family: var(--f-mn); font-weight: 500; }
.nowrap { white-space: nowrap; }
.break { word-break: break-all; }
.small { font-size: 13px; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }

.px-s { clip-path: var(--px-s); }
.px-m { clip-path: var(--px-m); }
.px-l { clip-path: var(--px-l); }

/* ---------- типографика ---------- */
.label { font-family: var(--f-lb); font-size: 13px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.label-muted { color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; background: var(--lime); flex-shrink: 0; }
.h1, .h2, .h3 { font-family: var(--f-px); font-weight: var(--px-w1); line-height: var(--lh-px); letter-spacing: var(--ls-px); color: var(--text); font-synthesis: none; }
.h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.h1-page { font-size: var(--fs-h1p); line-height: 1; }
.h2 { font-size: var(--fs-h2); }
.h2-sm { font-size: var(--fs-h2sm); }
.h3 { font-size: var(--fs-h3); font-weight: var(--px-w2); line-height: var(--lh-h3); }
.tdot::after { content: ""; display: inline-block; width: .2em; height: .2em; min-width: 6px; min-height: 6px; background: var(--lime); margin-left: .09em; }

.sec { margin-top: 96px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--lime); }
.link .ic { transition: transform .15s; }
.link:hover .ic { transform: translateX(3px); }
.link-muted { color: var(--muted); }
.dotline { height: 2px; background-image: linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); background-size: 8px 2px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  background: var(--lime); color: var(--ink); border: 0; font: 700 16px/1 var(--f-tx); white-space: nowrap;
  text-decoration: none; clip-path: var(--px-m); transition: background-color .15s, transform .05s;
}
.btn:hover { background: var(--lime-hover); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px var(--lime); }
.btn[disabled], .btn.is-disabled { background: #1a1a1a; color: #6a6a64; cursor: not-allowed; transform: none; }
.btn-dark { background: var(--ink); color: var(--lime); }
.btn-dark:hover { background: #1a1a1a; color: var(--lime); }
.btn-secondary { background: var(--field); color: var(--text); }
.btn-secondary:hover { background: var(--field-2); color: var(--text); }
.btn-secondary .ic { color: var(--lime); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--field); color: var(--text); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; clip-path: var(--px-s); }
.btn-lg { height: 58px; font-size: 17px; padding: 0 32px; }
.btn-block { width: 100%; }
.icon-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--field); color: var(--lime); border: 0; clip-path: var(--px-m); flex-shrink: 0; }
.icon-btn:hover { background: var(--field-2); }
.icon-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.copy { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; background: var(--field-2); color: var(--text); border: 0; font-weight: 600; font-size: 13px; clip-path: var(--px-s); flex-shrink: 0; }
.copy .ic { color: var(--lime); }
.copy:hover { background: #303030; }
.copy.is-done { background: var(--lime); color: var(--ink); }
.copy.is-done .ic { color: var(--ink); }

/* ---------- поля ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .field-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.input { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; background: var(--field); clip-path: var(--px-s); }
.input > .ic { color: var(--muted); }
.input input, .input select, .input textarea { flex: 1 1 auto; min-width: 0; width: 100%; background: transparent; border: 0; outline: none; color: var(--text); font-size: 15px; font-weight: 500; padding: 0; height: 44px; }
.input textarea { height: auto; min-height: 110px; padding: 12px 0; resize: vertical; line-height: 1.5; }
.input select { appearance: none; cursor: pointer; }
.input select option { background: var(--card); }
.input .suffix { font-family: var(--f-lb); font-size: 13px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.input.mono input { font-family: var(--f-mn); }
.input:focus-within { box-shadow: inset 0 -2px 0 var(--lime); }
.input:focus-within > .ic { color: var(--lime); }
.field.has-err .input { box-shadow: inset 0 -2px 0 var(--red); }
.field.has-err .input > .ic { color: var(--red); }
.field .hint { font-size: 12px; color: var(--muted); }
.f-err { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--red); }
.input-lg { min-height: 60px; padding: 0 16px; clip-path: var(--px-m); }
.input-lg input { font-family: var(--f-mn); font-weight: 700; font-size: 24px; height: 58px; }
.input-lg .suffix { font-size: 14px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fields-1 { grid-template-columns: minmax(0, 1fr); }

.chk { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk .box { width: 20px; height: 20px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--field-2); color: var(--ink); clip-path: var(--px-s); }
.chk .box .ic { opacity: 0; }
.chk input:checked + .box { background: var(--lime); }
.chk input:checked + .box .ic { opacity: 1; }
.chk input:focus-visible + .box { box-shadow: inset 0 0 0 2px var(--lime); }
.chk a { color: var(--lime); }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--field); color: var(--text); border: 0; font-weight: 600; font-size: 14px; white-space: nowrap; clip-path: var(--px-s); }
.chip b { font-weight: 600; color: var(--muted); }
.chip:hover { background: var(--field-2); color: var(--text); }
.chip.is-active { background: var(--lime); color: var(--ink); }
.chip.is-active b { color: var(--ink); }
.chip-sm { height: 32px; padding: 0 12px; }

/* ---------- бейджи статусов ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; font-family: var(--f-lb); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; clip-path: var(--px-s); background: var(--lime-tint); color: var(--lime); }
.badge-sm { height: 22px; font-size: 11px; padding: 0 8px; }
.badge-new, .badge-hold, .badge-postponed { background: rgba(255, 181, 71, .14); color: var(--orange); }
.badge-wait_req { background: rgba(124, 200, 255, .14); color: var(--blue); }
.badge-paid, .badge-processing { background: rgba(124, 200, 255, .14); color: var(--blue); }
.badge-done { background: var(--lime); color: var(--ink); }
.badge-cancelled, .badge-expired, .badge-rejected { background: #222; color: var(--muted); }
.badge-refund { background: rgba(215, 166, 255, .14); color: var(--violet); }
.badge-pending { background: rgba(255, 181, 71, .14); color: var(--orange); }

/* ---------- плашки валют ---------- */
.tile { --s: 32px; width: var(--s); height: var(--s); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-mn); font-weight: 700; font-size: calc(var(--s) * .32); line-height: 1; letter-spacing: -.02em; clip-path: var(--px-s); }
.tile-bank { background: var(--field-2); color: var(--text); }
.tile-crypto { background: var(--crypto-bg); color: var(--lime); }
.tile-cash { background: var(--lime); color: var(--ink); }
.tile-ewallet { background: var(--field-2); color: var(--lime); }
.tile-long { font-size: calc(var(--s) * .25); letter-spacing: -.04em; }
.tile-rub { font-family: var(--f-tx); font-weight: 700; font-size: calc(var(--s) * .5); }
.pair { display: inline-flex; align-items: center; flex-shrink: 0; }
.pair::before { content: ""; order: 1; width: 6px; height: 6px; background: var(--lime); margin: 0 4px; }
.pair > .tile:last-child { order: 2; }

/* ---------- карточки ---------- */
.card { background: var(--card); padding: 24px; clip-path: var(--px-l); }
.panel { background: var(--panel); padding: 28px; clip-path: var(--px-l); }
.card-lime { background: var(--lime); color: var(--ink); padding: 24px; clip-path: var(--px-l); display: flex; flex-direction: column; gap: 14px; }
.card-lime .h3 { color: var(--ink); }
.card-lime a:not(.btn) { color: var(--ink); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: rgba(255, 107, 94, .12); color: #ffb3ab; font-size: 14px; clip-path: var(--px-s); }
.alert .ic { margin-top: 3px; }
.alert-ok { background: var(--lime-tint); color: var(--lime); }
.alert-info { background: var(--field); color: var(--text); }
.alert-info .ic { color: var(--lime); }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; background: var(--card); color: var(--muted); clip-path: var(--px-l); }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, .92); backdrop-filter: blur(6px); }
.hdr-in { height: 80px; display: flex; align-items: center; gap: 40px; }
.hdr .dotline { position: absolute; left: 0; right: 0; bottom: 0; }
.logo { display: inline-flex; align-items: flex-end; flex-shrink: 0; color: var(--text); font: var(--px-w1) var(--fs-logo)/1 var(--f-px); letter-spacing: var(--ls-px); font-synthesis: none; text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--text); }
.logo::after { content: ""; width: .34em; height: .34em; background: var(--lime); margin: 0 0 .08em .1em; }
.logo-ink { color: var(--ink); }
.logo-ink::after { background: var(--ink); }
.nav { display: flex; gap: 26px; flex: 1 1 auto; }
.nav a { color: var(--text); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a.is-active { color: var(--lime); }
.hdr-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.online { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.online .dot { width: 8px; height: 8px; animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.lang { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.lang a { color: var(--muted); }
.lang a.is-active { color: var(--text); }
.lang span { color: #555; }
.hdr-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; background: var(--field); color: var(--text); font-weight: 600; font-size: 14px; clip-path: var(--px-s); white-space: nowrap; }
.hdr-btn .ic { color: var(--lime); }
.hdr-btn:hover { background: var(--field-2); color: var(--text); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); border: 0; clip-path: var(--px-s); }

/* ---------- подвал ---------- */
.ftr { margin-top: 96px; background: #070707; flex-shrink: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 56px; padding-bottom: 36px; }
.ftr-brand { display: flex; flex-direction: column; gap: 18px; }
.ftr-brand .logo { font-size: 28px; }
.ftr-brand p { max-width: 300px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ftr-col { display: flex; flex-direction: column; gap: 12px; }
.ftr-col a { color: var(--text); font-size: 15px; }
.ftr-col a:hover { color: var(--lime); }
.ftr-contact { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.ftr-contact .ic { color: var(--lime); }
.ftr-contact.muted { color: var(--muted); }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }

/* ---------- главная: hero ---------- */
.hero { padding-top: 56px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 26px; }
.h1 .tdot::after { width: 16px; height: 16px; margin-left: 6px; }
.hero-sub { max-width: 620px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; }
/* официальный баннер BestChange 88×31 и кнопка — в первом экране, в блоке мониторингов и в подвале */
.hero-bc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bc-banner { display: inline-flex; flex: none; line-height: 0; }
.bc-banner img { display: block; width: 88px; height: 31px; }
.bc-banner:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.monitors .chips { align-items: center; }
.hero-chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: var(--card); font-size: 14px; font-weight: 500; clip-path: var(--px-s); }
.hero-chip .ic { color: var(--lime); }
.hero-art { position: relative; height: 400px; display: flex; align-items: center; justify-content: flex-end; }
.halftone {
  width: 400px; height: 400px; flex-shrink: 0;
  background-image: radial-gradient(circle at center, var(--lime) 2.4px, transparent 2.9px); background-size: 14px 14px; background-position: center;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, #000 34%, rgba(0, 0, 0, .55) 62%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 0%, #000 34%, rgba(0, 0, 0, .55) 62%, transparent 100%);
}
.hero-dot { position: absolute; right: 172px; top: 172px; width: 56px; height: 56px; background: var(--lime); }
.ticker { position: absolute; left: 0; bottom: 34px; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--card); clip-path: var(--px-m); }
.ticker b { font-family: var(--f-mn); font-weight: 700; font-size: 20px; }
.ticker small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.ticker small .ic { color: var(--lime); }

/* ---------- форма обмена: 3 колонки ---------- */
.xw { position: relative; padding: 16px; background: var(--panel); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; clip-path: var(--px-l); }
.xcol { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--card); min-width: 0; clip-path: var(--px-m); }
.xcol-head { display: flex; align-items: center; gap: 12px; }
.num { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); font-family: var(--f-lb); font-size: 14px; clip-path: var(--px-s); flex-shrink: 0; }
.xcol-head h2, .xcol-title { font-family: var(--f-px); font-weight: var(--px-w2); font-size: var(--fs-xcol); line-height: 1; font-synthesis: none; }
.xsel { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--field); clip-path: var(--px-m); }
.xsel:focus-within { box-shadow: inset 0 -2px 0 var(--lime); }
.xsel-cur { display: flex; align-items: center; background: none; border: 0; padding: 0; color: inherit; flex-shrink: 0; }
.xsel-body { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.xsel-body label { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xsel-body input { background: transparent; border: 0; outline: none; padding: 0; width: 100%; color: var(--text); font-family: var(--f-mn); font-weight: 700; font-size: 26px; }
.xsel-open { background: none; border: 0; color: var(--muted); padding: 8px; margin: -8px; display: flex; }
.xsel-open:hover { color: var(--lime); }
.xsearch { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: var(--field); clip-path: var(--px-s); }
.xsearch .ic { color: var(--muted); }
.xsearch input { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: none; font-size: 15px; }
.xsearch:focus-within { box-shadow: inset 0 -2px 0 var(--lime); }
.xtabs { display: flex; gap: 6px; flex-wrap: wrap; }
.xlist { list-style: none; margin: 0; padding: 0 4px 0 0; display: flex; flex-direction: column; gap: 2px; max-height: 336px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.xlist li { min-height: 46px; padding: 0 12px; display: flex; align-items: center; gap: 12px; cursor: pointer; clip-path: var(--px-s); }
.xlist li:hover, .xlist li.is-focus { background: var(--field); }
.xlist li.is-current { background: var(--lime-tint); }
.xlist .n { flex: 1 1 auto; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xlist .r { font-family: var(--f-mn); font-size: 12px; color: var(--muted); white-space: nowrap; }
.xlist .ok { color: var(--lime); display: none; }
.xlist li.is-current .ok { display: block; }
.xlist li.is-current .r { display: none; }
.xlist .empty-row { cursor: default; color: var(--muted); font-size: 14px; }
.xsum { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; background: var(--field); clip-path: var(--px-m); }
.xsum-amounts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--f-mn); font-weight: 700; font-size: 19px; }
.xsum-amounts .ic { color: var(--lime); }
.xrate { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.xrate-text { font-family: var(--f-mn); font-size: 15px; }
.rtimer { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; background: var(--lime-tint); color: var(--lime); font-family: var(--f-mn); font-size: 13px; border: 0; clip-path: var(--px-s); }
.rtimer.spin .ic { animation: spin .6s steps(8); }
@keyframes spin { to { transform: rotate(360deg); } }
.xmeta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.xmeta .bad, .hint .bad { color: var(--red); }
.xnote { font-size: 12px; line-height: 1.5; color: var(--muted); }
.discount-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--lime); }
/* условия направления: под курсом в форме обмена и карточкой на странице обмена */
.xterms { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: var(--field); clip-path: var(--px-s); }
.xterms-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.xterms-h .ic { color: var(--lime); flex: none; }
.xterms-body { max-height: 7.6em; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--muted); }
.xterms-body p { margin: 0 0 8px; white-space: pre-line; }
.xterms-body p:last-child { margin-bottom: 0; }
.xterms.open .xterms-body, .xterms-body.is-full { max-height: none; }
.xterms.clip:not(.open) .xterms-body { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.xterms-more { align-self: flex-start; padding: 0; background: none; border: 0; color: var(--lime); font: 600 12px/1.4 var(--f-tx); cursor: pointer; }
.xterms-more:hover { text-decoration: underline; }
.xterms-card .xterms-body { font-size: 14px; }

/* выбор валюты во всплывающем окне (страница направления, телефон) */
.picker { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .7); }
.picker-box { width: 100%; max-width: 480px; max-height: min(720px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--panel); clip-path: var(--px-l); }
.picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.picker .xlist { max-height: none; flex: 1 1 auto; }

/* ---------- страница направления ---------- */
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--lime); }
.crumbs span[aria-current] { color: var(--text); }
.crumbs i { font-style: normal; color: #555; }
.page-top { padding-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.page-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-title-row > div { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.progress { display: flex; gap: 12px; }
.progress > div { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; }
.progress .bar { height: 8px; background-image: linear-gradient(90deg, var(--field-2) 0 8px, transparent 8px 12px); background-size: 12px 8px; }
.progress .is-done .bar, .progress .is-cur .bar { background-image: linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 12px); }
.progress .is-cur .bar { opacity: .5; }
.progress .label { color: var(--muted); font-size: 12px; }
.progress .is-done .label, .progress .is-cur .label { color: var(--lime); }
.ex-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.ex-main { display: flex; flex-direction: column; gap: 28px; padding: 32px; background: var(--panel); clip-path: var(--px-l); }
.ex-pair { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 20px; }
.ex-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ex-swap { padding-top: 104px; }
.cur-select { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 0 16px; background: var(--field); border: 0; text-align: left; color: var(--text); clip-path: var(--px-m); }
.cur-select:hover { background: var(--field-2); }
.cur-select span.n { flex: 1 1 auto; font-size: 16px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cur-select .ic { color: var(--muted); }
.cur-select:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.hints { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); margin-top: -8px; flex-wrap: wrap; }
.ex-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ex-actions p { max-width: 420px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.aside { display: flex; flex-direction: column; gap: 16px; }
.dl { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.dl > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dl > div + div { padding-top: 14px; background-image: linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); background-size: 8px 2px; background-repeat: repeat-x; }
.dl dt { font-size: 14px; color: var(--muted); white-space: nowrap; }
.dl dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; min-width: 0; }
.dl .warn { color: var(--orange); }
.steps-list { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; }
.steps-list .num { background: var(--field); color: var(--lime); font-size: 13px; }
.steps-list b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.steps-list span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- заявка ---------- */
.timeline { display: flex; align-items: center; gap: 18px; padding: 24px 32px; background: var(--panel); clip-path: var(--px-l); }
.tl-step { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.tl-node { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--field); clip-path: var(--px-s); }
.tl-node .dot { width: 6px; height: 6px; background: #444; }
.tl-step.is-done .tl-node { background: var(--lime); color: var(--ink); }
.tl-step.is-cur .tl-node { background: var(--lime-tint-2); }
.tl-step.is-cur .tl-node .dot { width: 10px; height: 10px; background: var(--lime); animation: blink 1.2s steps(1) infinite; }
.tl-step b { display: block; font-size: 15px; font-weight: 600; color: var(--muted); }
.tl-step.is-done b, .tl-step.is-cur b { color: var(--text); }
.tl-step small { font-family: var(--f-mn); font-size: 12px; color: var(--muted); }
.tl-line { flex: 1 1 auto; min-width: 16px; height: 2px; background-image: linear-gradient(90deg, #333 0 4px, transparent 4px 8px); background-size: 8px 2px; }
.tl-line.is-done { background-image: linear-gradient(90deg, var(--lime) 0 4px, transparent 4px 8px); }
.order-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.order-main { display: flex; flex-direction: column; gap: 24px; padding: 32px; background: var(--panel); clip-path: var(--px-l); }
.order-msg { font-size: 17px; line-height: 1.5; }
.amounts { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.amount-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--field); clip-path: var(--px-m); min-width: 0; }
.amount-card > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.amount-card small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amount-card b { font-family: var(--f-mn); font-weight: 700; font-size: 22px; white-space: nowrap; }
.amounts > .ic { color: var(--lime); justify-self: center; }
.timer-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; background: var(--lime-tint); clip-path: var(--px-m); }
.timer-banner > div { display: flex; align-items: center; gap: 14px; }
.timer-banner .ic { color: var(--lime); }
.timer-banner b { display: block; font-size: 16px; font-weight: 600; }
.timer-banner small { font-size: 13px; color: var(--muted); }
.timer-banner .timer { font-family: var(--f-px); font-weight: var(--px-w1); font-size: var(--fs-timer); font-synthesis: none; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.timer-banner.is-over .timer { color: var(--red); }
.req { display: flex; flex-direction: column; gap: 8px; }
.req > span { font-size: 13px; color: var(--muted); }
.req-val { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--field); clip-path: var(--px-m); }
.req-val code { font-family: var(--f-mn); font-weight: 700; font-size: 17px; word-break: break-all; }
.req-val.big code { font-size: 24px; letter-spacing: .04em; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 14px; background: var(--field); clip-path: var(--px-s); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; align-self: flex-end; }
.chat-msg.op { align-self: flex-start; background: var(--lime-tint); }
.chat-msg small { display: block; margin-bottom: 3px; font-size: 12px; color: var(--muted); }
.chat-msg.op small { color: var(--lime); }
.order-help { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 16px; background: var(--card); clip-path: var(--px-s); font-size: 14px; color: var(--muted); }
.notes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.notes li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; line-height: 1.5; color: var(--muted); }
.notes li::before { content: ""; width: 6px; height: 6px; background: var(--lime); flex-shrink: 0; transform: translateY(-2px); }
.order-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.order-actions form { margin: 0; }
.state-art { display: flex; align-items: center; gap: 18px; padding: 22px; background: var(--field); clip-path: var(--px-m); }
.state-art .big { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); clip-path: var(--px-m); flex-shrink: 0; }
.state-art .big.is-wait { background: var(--lime-tint-2); color: var(--lime); }
.state-art .big.is-off { background: var(--field-2); color: var(--muted); }
.px-loader { display: inline-flex; gap: 6px; }
.px-loader i { width: 10px; height: 10px; background: var(--lime); animation: blink 1s steps(1) infinite; }
.px-loader i:nth-child(2) { animation-delay: .33s; }
.px-loader i:nth-child(3) { animation-delay: .66s; }
.linkbox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--field); clip-path: var(--px-s); }
.linkbox span { font-family: var(--f-mn); font-size: 13px; word-break: break-all; }
.support-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--card); clip-path: var(--px-l); }
.support-card .big { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); clip-path: var(--px-m); flex-shrink: 0; }
.support-card b { display: block; font-size: 15px; }
.support-card small { font-size: 13px; color: var(--muted); }

/* ---------- блоки главной ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
.feed { padding: 6px 20px; background: var(--card); clip-path: var(--px-l); }
.feed-row { min-height: 60px; display: flex; align-items: center; gap: 16px; }
.feed-row + .feed-row { background-image: linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); background-size: 8px 2px; background-repeat: repeat-x; }
.feed-row time { width: 44px; font-family: var(--f-mn); font-size: 13px; color: var(--muted); flex-shrink: 0; }
.feed-row .sum { flex: 1 1 auto; min-width: 0; font-family: var(--f-mn); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row .sum i { font-style: normal; color: var(--muted); }
.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.res-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.res { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); clip-path: var(--px-m); min-width: 0; }
.res > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.res span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res b { font-family: var(--f-mn); font-weight: 700; font-size: 16px; white-space: nowrap; }
.adv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.adv { display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; background: var(--card); clip-path: var(--px-l); }
.adv p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.icon-box { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; background: var(--lime-tint); color: var(--lime); clip-path: var(--px-m); flex-shrink: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--card); clip-path: var(--px-l); }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review time { font-family: var(--f-mn); font-size: 12px; color: var(--muted); }
.review b { font-size: 16px; }
.review p { flex: 1 1 auto; font-size: 15px; line-height: 1.55; color: var(--muted); }
.rating { display: inline-flex; gap: 3px; }
.rating i { width: 8px; height: 8px; background: var(--field-2); }
.rating i.on { background: var(--lime); }
.news { display: flex; flex-direction: column; background: var(--card); clip-path: var(--px-l); color: var(--text); }
.news:hover { color: var(--text); }
.news:hover .link .ic { transform: translateX(3px); }
.news-art { height: 150px; display: flex; align-items: center; justify-content: center; background-color: #121405; background-image: radial-gradient(circle at center, #2c3310 1.6px, transparent 2.1px); background-size: 12px 12px; }
.news-art span { width: 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); clip-path: var(--px-m); }
.news-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.news-body h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.news-body p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.faq-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 48px; }
.faq-side { display: flex; flex-direction: column; gap: 24px; }
.faq-side > p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--card); clip-path: var(--px-m); }
.faq details[open] { background: var(--field); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--lime); }
.faq summary .i-minus, .faq details[open] summary .i-plus { display: none; }
.faq details[open] summary .i-minus { display: block; }
.faq .a { padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.faq .a p + p { margin-top: 10px; }
.monitors { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; background: var(--panel); clip-path: var(--px-l); flex-wrap: wrap; }
.monitors > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.monitors .chip { height: 48px; padding: 0 20px; font-weight: 700; font-size: 15px; }

/* ---------- текстовые страницы ---------- */
.prose { font-size: 16px; line-height: 1.65; }
.prose h2 { font: var(--px-w2) var(--fs-proseh2)/1.2 var(--f-px); font-synthesis: none; color: var(--text); margin: 36px 0 12px; }
.prose h2::after { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--lime); margin-left: 4px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 22px 0 8px; }
.prose p { margin: 0 0 12px; color: #d6d6d0; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 0; list-style: none; }
.prose li { padding-left: 22px; position: relative; margin-bottom: 6px; color: #d6d6d0; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--lime); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #242424; }
.big404 { font-family: var(--f-px); font-weight: var(--px-w1); font-size: var(--fs-404); font-synthesis: none; line-height: 1; color: var(--lime); }

/* ---------- кабинет ---------- */
.acc-grid { margin-top: 28px; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.acc-content { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.side-nav { display: flex; flex-direction: column; padding: 12px; background: var(--card); clip-path: var(--px-l); position: sticky; top: 100px; }
.side-nav .label { padding: 8px 12px; color: var(--muted); font-size: 11px; }
.side-nav .label + a { margin-top: 0; }
.side-nav a + .label { margin-top: 10px; }
.side-nav a, .side-nav button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 500; color: var(--text); background: none; border: 0; width: 100%; text-align: left; clip-path: var(--px-s); }
.side-nav a .ic, .side-nav button .ic { color: var(--muted); }
.side-nav a:hover, .side-nav button:hover { background: var(--field); color: var(--text); }
.side-nav a.is-active { background: var(--lime-tint); color: var(--lime); font-weight: 600; }
.side-nav a.is-active .ic { color: var(--lime); }
.side-nav form { margin: 0; }
.side-nav .dotline { margin: 12px; }
.side-nav button { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; background: var(--card); clip-path: var(--px-l); min-width: 0; }
.stat-k { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.stat-k .ic { color: var(--lime); }
.stat-v { font-family: var(--f-px); font-weight: var(--px-w1); font-size: var(--fs-stat); font-synthesis: none; line-height: 1; white-space: nowrap; }
.stat-v.lime { color: var(--lime); }
.stat small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.segbar { display: flex; gap: 4px; }
.segbar i { flex: 1 1 0; height: 10px; background: var(--field-2); }
.segbar i.on { background: var(--lime); }
.user-chip { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: var(--card); clip-path: var(--px-m); }
.avatar { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); font: var(--px-w1) var(--fs-ava)/1 var(--f-px); clip-path: var(--px-s); flex-shrink: 0; font-synthesis: none; }
.user-chip b { display: block; font-size: 14px; }
.user-chip small { font-family: var(--f-mn); font-size: 12px; color: var(--muted); }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 0 12px 12px; text-align: left; font: 400 11px/1.2 var(--f-lb); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tbl td { padding: 14px 12px; vertical-align: middle; white-space: nowrap; background-image: linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); background-size: 8px 2px; background-repeat: repeat-x; }
.tbl td.wrap-cell { white-space: normal; min-width: 200px; }
.tbl tr.is-link { cursor: pointer; }
.tbl tr.is-link:hover td { background-color: rgba(255, 255, 255, .03); }
.tbl .mono { font-size: 13px; }
.dir-cell { display: flex; align-items: center; gap: 10px; }
.pager { display: flex; gap: 6px; justify-content: flex-end; margin-top: 16px; }
.auth { max-width: 520px; margin: 40px auto 0; }
.auth .panel { display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.auth-or { display: flex; align-items: center; gap: 12px; }
/* вкладки входа: по паролю / по коду */
.auth-tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg); clip-path: var(--px-s); }
.auth-tabs a { flex: 1; text-align: center; padding: 10px 12px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; clip-path: var(--px-s); }
.auth-tabs a:hover { color: var(--text); }
.auth-tabs a[aria-current="page"] { background: var(--panel-2, var(--panel)); color: var(--lime); }
.auth-tabs a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.auth-or .dotline { flex: 1 1 auto; }
.code-input input { font-family: var(--f-mn); font-weight: 700; font-size: 32px; letter-spacing: .5em; text-align: center; height: 64px; }
.code-input { min-height: 66px; clip-path: var(--px-m); }
.dev-code { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--lime-tint); clip-path: var(--px-s); font-size: 13px; color: var(--muted); }
.dev-code b { font-family: var(--f-mn); font-size: 22px; color: var(--lime); letter-spacing: .2em; }

/* партнёрка */
.ref-link { display: flex; gap: 12px; flex-wrap: wrap; }
.ref-link .input { flex: 1 1 320px; min-height: 56px; clip-path: var(--px-m); box-shadow: inset 0 -2px 0 var(--lime); }
.ref-link .input input { font-family: var(--f-mn); font-weight: 700; font-size: 17px; }
.ref-link .input .ic { color: var(--lime); }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.metric { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--field); clip-path: var(--px-m); }
.metric span { font-size: 13px; color: var(--muted); }
.metric b { font-family: var(--f-mn); font-weight: 700; font-size: 22px; }
.metric.is-lime b { color: var(--lime); }
.stats-split { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: end; }
.bars { display: flex; flex-direction: column; gap: 10px; }
.bars-cols { height: 160px; display: flex; align-items: flex-end; gap: 4px; }
.bars-cols > div { flex: 1 1 0; height: 100%; display: flex; flex-direction: column-reverse; gap: 3px; position: relative; }
.bars-cols i { display: block; height: 8px; background: var(--lime-deep); }
.bars-cols > div i:last-child { background: var(--lime); }
.bars-cols > div.is-zero::before { content: ""; height: 2px; background: #2a2a2a; }
.bars-axis { display: flex; justify-content: space-between; font-family: var(--f-mn); font-size: 12px; color: var(--muted); }
.levels { display: flex; flex-direction: column; gap: 4px; }
.level { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 16px; gap: 12px; clip-path: var(--px-s); }
.level > span { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.level > span .dot { width: 8px; height: 8px; background: #444; }
.level b { font-family: var(--f-mn); font-size: 16px; }
.level.is-cur { background: var(--lime-tint); color: var(--lime); }
.level.is-cur > span .dot { background: var(--lime); }
.banner-list { display: flex; flex-direction: column; gap: 20px; }
.banner-item { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--card); clip-path: var(--px-l); }
.banner-item img { max-width: 100%; height: auto; display: block; }
.codebox { padding: 14px; background: var(--field); font-family: var(--f-mn); font-size: 12px; line-height: 1.6; color: var(--muted); word-break: break-all; clip-path: var(--px-s); }
.guest-partner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; margin-top: 32px; align-items: start; }

/* отзывы, новости */
.review-form { display: flex; flex-direction: column; gap: 18px; }
.rate-pick { display: flex; gap: 6px; }
.rate-pick label { cursor: pointer; }
.rate-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-pick span { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; background: var(--field); font-family: var(--f-mn); font-weight: 700; clip-path: var(--px-s); }
.rate-pick input:checked + span { background: var(--lime); color: var(--ink); }
.rate-pick input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--lime); }
.article-meta { display: flex; align-items: center; gap: 14px; }

/* ---------- админка ---------- */
.admin .hdr-in { gap: 28px; }
.admin-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.admin-nav a { color: var(--text); font-weight: 500; font-size: 14px; }
.admin-nav a:hover, .admin-nav a.is-active { color: var(--lime); }
.admin-main { padding-top: 36px; padding-bottom: 80px; }
.admin-title { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 16px 0 24px; }
.admin-title.tdot::after { margin-left: -12px; }
.admin-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.admin-cols > div { display: flex; flex-direction: column; gap: 20px; }
.admin-login { max-width: 420px; margin: 60px auto; display: flex; flex-direction: column; gap: 20px; }
.history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.res-edit { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.res-row { display: grid; grid-template-columns: 32px 1fr 200px 60px; gap: 14px; align-items: center; }
.res-row .input { min-height: 40px; }
.res-row .input input { text-align: right; height: 38px; font-family: var(--f-mn); }
.inline-form { display: inline-flex; gap: 6px; margin: 0; }

/* поле-ловушка для ботов: людям не видно, программам заполнения форм — видно */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- медиатека: иконки валют, баннеры, логотип ---------- */
.px-img { image-rendering: pixelated; }
.tile-img { background: transparent; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; }
.bnr { display: block; margin: 8px 0 24px; }
.bnr img { display: block; width: 100%; height: auto; clip-path: var(--px-m); }
a.bnr:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.logo-img img { display: block; height: 36px; width: auto; max-width: 240px; object-fit: contain; }
.ftr-brand .logo-img img { height: 40px; }
@media (max-width: 760px) { .logo-img img { height: 28px; max-width: 180px; } .bnr { margin: 4px 0 16px; } }
.logo-img::after { display: none; }   /* у логотипа-картинки своя точка */
.logo-img img.brand-logo { height: auto; max-width: none; image-rendering: pixelated; }

/* ---------- другие шрифты заголовков ---------- */
/* прежний Pixelify Sans — размеры, под которые он рисовался */
html[data-hfont="pixelify"] {
  --f-px: "Pixelify Sans", "Courier New", monospace;
  --lh-h1: .98;
  --fs-h1: clamp(40px, 5.2vw, 80px); --fs-h1p: clamp(32px, 3.4vw, 48px); --fs-h2: clamp(28px, 2.8vw, 40px); --fs-h2sm: 26px; --fs-h3: 24px;
  --fs-logo: 26px; --fs-xcol: 26px; --fs-timer: 44px; --fs-proseh2: 24px; --fs-404: clamp(96px, 14vw, 180px); --fs-stat: 34px;
  --fs-ava: 18px; --fs-admh1: 26px; --fs-logo-m: 20px; --fs-xcol-m: 22px; --fs-h2-m: 28px; --fs-h3-m: 20px;
}
/* Press Start 2P нарисован на сетке 8×8: размеры кратны 8 px, иначе «пиксели» ложатся неровно */
html[data-hfont="ps2p"] {
  --f-px: "Press Start 2P", "Courier New", monospace;
  --px-w1: 400; --px-w2: 400; --lh-px: 1.3; --lh-h1: 1.25; --lh-h3: 1.5; --ls-px: 0;
  --fs-h1: 48px; --fs-h1p: 32px; --fs-h2: 32px; --fs-h2sm: 24px; --fs-h3: 16px;
  --fs-logo: 16px; --fs-xcol: 16px; --fs-timer: 32px; --fs-proseh2: 16px; --fs-404: 96px; --fs-stat: 24px;
  --fs-ava: 16px; --fs-admh1: 16px; --fs-logo-m: 16px; --fs-xcol-m: 16px; --fs-h2-m: 24px; --fs-h3-m: 16px;
}
@media (max-width: 1100px) { html[data-hfont="ps2p"] { --fs-h1: 40px; } }
@media (max-width: 760px) { html[data-hfont="ps2p"] { --fs-h1: 24px; --fs-h1p: 24px; } }

/* ---------- проверка онлайн-чата Jivo (?jivo-check) ---------- */
.jivo-check { position: fixed; left: 16px; top: 16px; z-index: 2147483000; width: min(380px, calc(100vw - 32px)); padding: 16px 18px;
  background: var(--card); border: 1px solid var(--lime); color: var(--text); font-size: 14px; line-height: 1.5; box-shadow: 0 8px 32px rgba(0,0,0,.5); }
.jivo-check-h { display: block; margin-bottom: 8px; color: var(--lime); }
.jivo-check dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0 0 10px; }
.jivo-check dt { color: var(--muted); }
.jivo-check dd { margin: 0; font-family: "JetBrains Mono", monospace; }
.jivo-check-result { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.jivo-check-result.is-ok b { color: var(--lime); }
.jivo-check-result.is-bad b { color: #ff6b6b; }
.jivo-check-result code { display: block; word-break: break-all; font-size: 12px; color: var(--muted); }
.jivo-check { max-height: calc(100vh - 32px); overflow-y: auto; }
.jivo-check-details { display: grid; gap: 1px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.jivo-check-details code { display: block; font-size: 11.5px; line-height: 1.45; color: var(--muted); white-space: pre-wrap; word-break: break-all; }
.jivo-check-copy { margin-top: 10px; padding: 6px 12px; border: 0; background: var(--lime); color: #0a0a0a; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- адаптив ---------- */
@media (max-width: 1480px) {
  .online { display: none; }
  .nav { gap: 22px; }
}
@media (max-width: 1280px) {
  :root { --gutter: 40px; }
  .nav { gap: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr) 360px; }
  .halftone { width: 340px; height: 340px; }
  .hero-dot { right: 142px; top: 172px; width: 48px; height: 48px; }
  .xw { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xcol-sum { grid-column: 1 / -1; }
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }
  .stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .hdr-in { gap: 20px; }
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: #0c0c0c; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; background-image: linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); background-size: 8px 2px; background-repeat: repeat-x; background-position: bottom; }
  .ex-grid, .order-grid, .acc-grid, .guest-partner { grid-template-columns: minmax(0, 1fr); }
  .side-nav { position: static; }
  .two-col, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-split { grid-template-columns: minmax(0, 1fr); }
  .admin-cols { grid-template-columns: minmax(0, 1fr); }
  .res-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 76px; }
  .hdr-in { height: 64px; }
  .nav { top: 64px; }
  .logo { font-size: var(--fs-logo-m); }
  .lang, .hdr-btn span { display: none; }
  .hdr-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 28px; padding-bottom: 16px; position: relative; overflow: hidden; }
  .hero-art { position: absolute; right: -130px; top: -40px; height: auto; opacity: .8; pointer-events: none; }
  .hero-art .halftone { width: 300px; height: 300px; background-size: 12px 12px; }
  .hero-dot, .ticker { display: none; }
  .hero-text { position: relative; gap: 16px; }
  .h1 .tdot::after { width: 10px; height: 10px; margin-left: 4px; }
  .hero-sub { font-size: 16px; }
  .hero-chips { display: none; }
  .xw { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 12px; }
  .xcol { padding: 16px; }
  .xsearch, .xtabs, .xcol .xlist { display: none; }
  .xcol-head h2 { font-size: var(--fs-xcol-m); }
  .xsel-body input { font-size: 22px; }
  .sec { margin-top: 56px; }
  .h2 { font-size: var(--fs-h2-m); }
  .grid-3, .adv-grid, .res-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .res-grid { gap: 8px; }
  .res { padding: 12px; }
  .res b { font-size: 14px; }
  .adv { flex-direction: row; gap: 14px; padding: 18px; }
  .adv .icon-box { width: 44px; height: 44px; }
  .adv .h3 { font-size: var(--fs-h3-m); }
  .feed { padding: 4px 16px; }
  .feed-row { flex-wrap: wrap; gap: 8px 12px; padding: 12px 0; }
  .feed-row .sum { order: 3; flex-basis: 100%; }
  .feed-row .badge { margin-left: auto; }
  .monitors { padding: 20px; }
  .ftr { margin-top: 56px; }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding-top: 32px; }
  .ftr-col:last-child { grid-column: 1 / -1; }
  .page-top { padding-top: 20px; }
  .progress .label { font-size: 10px; letter-spacing: .06em; }
  .ex-main, .order-main, .panel { padding: 18px 16px; }
  .ex-pair { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ex-swap { padding-top: 0; display: flex; justify-content: center; }
  .ex-swap .ic { transform: rotate(90deg); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .timeline { padding: 16px 10px; gap: 4px; justify-content: space-between; }
  .tl-step { flex-direction: column; gap: 6px; text-align: center; flex: 1 1 0; }
  .tl-step b { font-size: 11px; }
  .tl-step small, .tl-line { display: none; }
  .amounts { grid-template-columns: minmax(0, 1fr); }
  .amounts > .ic { transform: rotate(90deg); }
  .timer-banner { flex-direction: column; align-items: flex-start; }
  .timer-banner .timer { font-size: 56px; }
  .req-val.big code { font-size: 18px; }
  .req-val .copy span { display: none; }
  .order-actions .btn { width: 100%; }
  .order-actions form { width: 100%; }
  .stats, .stats-4 { grid-template-columns: minmax(0, 1fr); }
  .stat-v { font-size: 28px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tbl th, .tbl td { padding-left: 8px; padding-right: 8px; }
  .code-input input { font-size: 26px; letter-spacing: .35em; }
  .res-row { grid-template-columns: 32px 1fr; }
  .res-row .input { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* предпросмотр из админки: страница с несохранёнными правками */
.preview-bar { padding: 10px 16px; background: var(--lime); color: #0a0a0a; font-weight: 600; font-size: 14px; text-align: center; }

/* экран техработ */
.mt-screen { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 40px; padding-block: 48px; }
.mt-card { display: grid; gap: 16px; max-width: 640px; padding: 32px; background: var(--card); clip-path: var(--px-m); }
.mt-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.mt-card .btn { justify-self: start; }
