/*
 * Документы и каталог 16x Games — общий стиль страниц / и /docs/*.
 * Язык «Глянцевый мобильный хит» (как в «Гегемоне», docs/design/SYSTEM.md): яркое синее небо с сеткой
 * глобуса, светлые выпуклые доски с толстым тёмно-синим контуром и нижней фаской, «кирпичные» кнопки
 * со стеклянным бликом, белые заголовки в контуре. Колонка чтения — спокойная: светлая бумага,
 * тёмный текст, ~70 знаков в строке. Шрифты: Rubik (всё) и Seymour One (только бренд и заголовки
 * страниц) — Google Fonts, с системными запасными.
 */
:root {
  color-scheme: light;

  /* Контур — единый для обводки, подошв и контура текста */
  --ol: #0b1442;
  --bw: 3px;
  --bw-sm: 2.5px;

  /* Небо */
  --sky-top: #63b0ff;
  --sky-hi: #3d8bff;
  --sky: #1f5ff0;
  --sky-lo: #0f34b4;
  --sky-deep: #0a2390;

  /* Светлая доска */
  --pan-hi: #fbfdff;
  --pan-lo: #dbe6fb;
  --pan-edge: #aec2ec;
  --pan-well: #c9d7f3;

  /* Тёмная плашка на небе */
  --dp-hi: #1d3196;
  --dp-lo: #0c1b68;

  /* Кирпичи: верх / низ / фаска */
  --y1: #fff27f; --y2: #ffc31f; --yb: #d6730a;
  --g1: #a6ff6e; --g2: #2fc63f; --gb: #11782a;
  --b1: #74c8ff; --b2: #2f76f5; --bb: #1640a8;
  --r1: #ff8278; --r2: #ec3046; --rb: #8e0c24;
  --n1: #f2f6ff; --n2: #c9d6f1; --nb: #93a7d6;

  --sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 55%, rgba(255, 255, 255, 0.06) 100%);
  --stripes: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 16px, transparent 16px 32px);
  --panel-drop: 0 5px 0 rgba(11, 20, 66, 0.6);

  /* Текст на небе */
  --sky-text: #ffffff;
  --sky-text-2: #e3ecff;
  --sky-text-3: #b9ccff;
  --sky-link: #ffe070;

  /* Текст на бумаге */
  --tx: #0b1442;       /* заголовки */
  --tx-2: #23316b;     /* абзацы */
  --tx-3: #5a6a9e;     /* подписи, номера пунктов */
  --tx-link: #1a56e0;

  --rad-sm: 12px;
  --rad: 16px;
  --rad-lg: 22px;
  --measure: 68ch;
  --gutter: 16px;

  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-title: 'Seymour One', 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (max-width: 359px) { :root { --gutter: 12px; } }

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
  background: var(--sky-lo);
}
@media (min-width: 720px) { html { scroll-padding-top: 100px; } }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--sky-text);
  font: 400 16px/1.6 var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
/* Небо и сетка глобуса — неподвижный фон под прокруткой */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background:
    radial-gradient(110% 55% at 50% -6%, rgba(150, 215, 255, 0.6) 0%, rgba(150, 215, 255, 0) 62%),
    radial-gradient(130% 90% at 50% 8%, var(--sky-hi) 0%, var(--sky) 46%, var(--sky-lo) 82%, var(--sky-deep) 100%);
}
body::after {
  background: url('/docs/img/grid.svg') center 30% / cover no-repeat;
  opacity: 0.13;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: var(--sky-link); text-decoration-thickness: 2px; text-decoration-color: rgba(255, 224, 112, 0.55); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid #ffd43c; outline-offset: 2px; border-radius: 8px; }

/* Белый текст в контуре — главный приём направления */
.ol {
  color: #fff;
  -webkit-text-stroke: var(--sw, 4px) var(--ol);
  paint-order: stroke fill;
  text-shadow: 0 var(--sh, 2px) 0 var(--ol);
}

/* ═══════════════ Кнопка-«кирпич» ═══════════════ */
.btn {
  --c1: var(--b1); --c2: var(--b2); --cb: var(--bb);
  --bev: 6px; --drp: 4px; --sw: 3.5px; --sh: 2px;
  position: relative;
  isolation: isolate;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 2px 18px calc(var(--bev) - 1px);
  border: var(--bw) solid var(--ol);
  border-radius: 15px;
  background: linear-gradient(180deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: inset 0 calc(-1 * var(--bev)) 0 var(--cb), inset 0 3px 0 rgba(255, 255, 255, 0.6), 0 var(--drp) 0 var(--ol);
  color: #fff;
  font: 900 16px/1.1 var(--font);
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  -webkit-text-stroke: var(--sw) var(--ol);
  paint-order: stroke fill;
  text-shadow: 0 var(--sh) 0 var(--ol);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out, filter 150ms;
}
/* Стеклянный блик — верхняя половина */
.btn::before {
  content: '';
  position: absolute;
  left: 4px; right: 4px; top: 2px;
  height: 46%;
  border-radius: 11px 11px 40% 40% / 11px 11px 12px 12px;
  background: var(--sheen);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
}
/* Полоска-блик слева сверху */
.btn::after {
  content: '';
  position: absolute;
  left: 9px; top: 5px;
  width: min(22%, 34px);
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  z-index: -1;
  pointer-events: none;
}
.btn:hover:not(:disabled) { filter: brightness(1.05) saturate(1.06); color: #fff; }
.btn:active:not(:disabled) {
  transform: translateY(calc(var(--drp) - 1px));
  box-shadow: inset 0 calc(-0.5 * var(--bev)) 0 var(--cb), inset 0 3px 0 rgba(255, 255, 255, 0.6), 0 1px 0 var(--ol);
}
.btn:disabled { filter: saturate(0.35) brightness(0.95); cursor: default; }
.btn > * { min-width: 0; }
.btn img { flex: none; width: 30px; height: 30px; margin: -6px 0 -6px -4px; filter: drop-shadow(0 2px 0 rgba(11, 20, 66, 0.55)); }
.btn-y { --c1: var(--y1); --c2: var(--y2); --cb: var(--yb); }
.btn-g { --c1: var(--g1); --c2: var(--g2); --cb: var(--gb); }
.btn-b { --c1: var(--b1); --c2: var(--b2); --cb: var(--bb); }
.btn-r { --c1: var(--r1); --c2: var(--r2); --cb: var(--rb); }
.btn-n {
  --c1: var(--n1); --c2: var(--n2); --cb: var(--nb);
  color: var(--tx); -webkit-text-stroke: 0; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-n:hover:not(:disabled) { color: var(--tx); }
.btn-block { display: flex; width: 100%; }
.btn-lg { --bev: 7px; --drp: 5px; --sw: 4px; --sh: 2.5px; min-height: 58px; font-size: 19px; border-radius: 18px; padding-inline: 22px; }
.btn-lg::before { border-radius: 14px 14px 40% 40% / 14px 14px 14px 14px; }
.btn-lg img { width: 38px; height: 38px; }
.btn-sm { --bev: 5px; --drp: 3px; --sw: 3px; --sh: 1.5px; min-height: 42px; padding: 1px 14px 4px; border-radius: 13px; font-size: 15px; gap: 6px; }
.btn-sm::before { border-radius: 10px 10px 40% 40% / 10px 10px 10px 10px; }
.btn-sm::after { top: 4px; height: 3px; }
.btn-xs { --bev: 4px; --drp: 2px; --sw: 2.5px; --sh: 1.5px; min-height: 32px; padding: 0 10px 3px; border-width: var(--bw-sm); border-radius: 10px; font-size: 13px; gap: 4px; }
.btn-xs::before { border-radius: 7px 7px 40% 40% / 7px 7px 8px 8px; left: 3px; right: 3px; }
.btn-xs::after { left: 6px; top: 3px; height: 3px; width: 14px; }

.spin { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(11, 20, 66, 0.35); border-top-color: var(--ol); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════ Шапка ═══════════════ */
.top {
  position: relative;
  z-index: 10;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, #2343c0 0%, #13288f 100%);
  border-bottom: var(--bw) solid var(--ol);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.08), 0 4px 0 rgba(11, 20, 66, 0.35);
}
.top-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px var(--gutter) 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: var(--bw) solid var(--ol);
  border-radius: 12px;
  background: var(--sheen) top / 100% 50% no-repeat, linear-gradient(180deg, var(--y1), var(--y2));
  box-shadow: inset 0 -4px 0 var(--yb), inset 0 2px 0 rgba(255, 255, 255, 0.65), 0 3px 0 var(--ol);
  font: 900 17px/1 var(--font);
  letter-spacing: -0.02em;
  padding-bottom: 2px;
  --sw: 3px; --sh: 1.5px;
}
.brand-word { font: 400 21px/1 var(--font-title); font-weight: 900; font-synthesis: none; --sw: 4.5px; --sh: 3px; padding-bottom: 3px; }
.top-play { margin-left: auto; }
.top-play .long { display: none; }
.top-nav { order: 3; flex: 1 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.top-nav a {
  display: flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 12px;
  border: var(--bw) solid transparent; border-radius: 13px;
  color: #c7d8ff; font-weight: 800; font-size: 15px; line-height: 1.1; text-align: center;
  text-decoration: none;
  transition: background 150ms, color 150ms;
}
.top-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.top-nav a[aria-current='page'], .top-nav a.is-sec {
  color: #fff; border-color: var(--ol);
  background: linear-gradient(180deg, #0a1550, #142a86);
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.18);
}
@media (min-width: 560px) {
  .top-nav { order: 0; flex: 0 1 auto; display: flex; margin-left: 10px; }
  .top-nav a { padding: 0 16px; }
}
@media (min-width: 720px) {
  .top { position: sticky; top: 0; }
  .top-in { padding-block: 12px; min-height: 76px; }
  .brand-mark { width: 46px; height: 46px; font-size: 18px; border-radius: 13px; }
  .brand-word { font-size: 23px; }
  .top-nav a { min-height: 44px; font-size: 15.5px; }
  .top-play .long { display: inline; }
}
@media (max-width: 359px) {
  .brand-mark { width: 38px; height: 38px; font-size: 15px; }
  .brand-word { font-size: 18px; }
  .top-play { padding-inline: 10px; }
}

/* ═══════════════ Раскладка ═══════════════ */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 22px var(--gutter) 48px; }
.wrap.has-toc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 960px) {
  .wrap { padding-top: 36px; padding-bottom: 64px; }
  .wrap.has-toc { grid-template-columns: minmax(0, 1fr) 290px; column-gap: 32px; row-gap: 14px; }
  .wrap.has-toc .hero { grid-column: 1 / -1; }
  .wrap.has-toc .toc { grid-column: 2; grid-row: 2; position: sticky; top: 100px; margin: 0; max-height: calc(100vh - 120px); overflow: auto; }
  .wrap.has-toc .paper { grid-column: 1; grid-row: 2; }
}
@media (min-width: 1160px) {
  .wrap.has-toc { grid-template-columns: minmax(0, 820px) 300px; justify-content: center; column-gap: 40px; }
}

/* ── Шапка страницы на небе ── */
.hero { padding: 4px 0 8px; min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 3px 12px 4px;
  border: var(--bw-sm) solid var(--ol); border-radius: 999px;
  background: linear-gradient(180deg, #0a1550, #1a2c86);
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2);
  color: var(--sky-text-2); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none;
}
a.eyebrow { position: relative; }
/* Зона нажатия ссылки-«пилюли» — не меньше 40 px. */
a.eyebrow::after { content: ''; position: absolute; left: -4px; right: -4px; top: -8px; bottom: -8px; }
a.eyebrow:hover { color: #fff; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--y2); box-shadow: 0 0 0 2px var(--ol); flex: none; }
h1 {
  margin: 14px 0 14px;
  font: 400 clamp(27px, 8.6vw, 56px)/1.08 var(--font-title);
  font-weight: 900; font-synthesis: none;
  letter-spacing: 0;
  color: #fff;
  -webkit-text-stroke: clamp(5px, 1.3vw, 7px) var(--ol);
  paint-order: stroke fill;
  text-shadow: 0 clamp(3px, 1vw, 6px) 0 var(--ol);
  overflow-wrap: break-word;
  hyphens: manual;
}
.hero .lead { max-width: 60ch; margin: 0; color: #fff; font-size: 17px; line-height: 1.55; font-weight: 600; -webkit-text-stroke: 2.5px var(--ol); paint-order: stroke fill; }
.hero .lead a { color: var(--sky-link); font-weight: 700; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chip {
  display: inline-flex; align-items: center;
  min-height: 32px; padding: 4px 13px 5px;
  border: var(--bw-sm) solid var(--ol); border-radius: 999px;
  background: var(--sheen) top / 100% 50% no-repeat, linear-gradient(180deg, #2f56d8, #1a3392);
  box-shadow: inset 0 -3px 0 #0f2270, 0 2px 0 var(--ol);
  color: #fff; font-size: 13.5px; font-weight: 800; line-height: 1.2;
  -webkit-text-stroke: 2.5px var(--ol); paint-order: stroke fill;
  text-shadow: 0 1px 0 var(--ol);
}
.chip.is-y { background: var(--sheen) top / 100% 50% no-repeat, linear-gradient(180deg, var(--y1), var(--y2)); box-shadow: inset 0 -3px 0 var(--yb), 0 2px 0 var(--ol); color: var(--ol); -webkit-text-stroke: 0; text-shadow: none; }

/* ═══════════════ Бумага: колонка чтения ═══════════════ */
.paper {
  position: relative;
  min-width: 0;
  padding: 24px 18px 30px;
  border: var(--bw) solid var(--ol);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, #ffffff 0, #fbfdff 320px, #f4f8ff 100%);
  box-shadow: inset 0 -6px 0 var(--pan-edge), inset 0 3px 0 #fff, 0 6px 0 rgba(11, 20, 66, 0.6), 0 26px 50px -22px rgba(0, 8, 50, 0.55);
  color: var(--tx-2);
  font-size: 16.5px;
  line-height: 1.7;
}
@media (min-width: 640px) { .paper { padding: 34px 40px 40px; border-radius: 26px; } }
@media (min-width: 1160px) { .paper { padding: 40px 56px 48px; } }
.paper > * { position: relative; max-width: var(--measure); }
.paper a { color: var(--tx-link); text-decoration-color: rgba(26, 86, 224, 0.35); font-weight: 500; }
.paper a:hover { color: #0d3cb0; text-decoration-color: currentColor; }
.paper .lead { margin: 0 0 20px; color: var(--tx); font-size: 18px; line-height: 1.6; font-weight: 500; }
.paper h2 {
  display: flex; gap: 12px; align-items: center;
  margin: 40px 0 12px; padding-top: 26px;
  border-top: 2px dashed #cfdaf2;
  color: var(--tx); font-size: 21px; font-weight: 800; line-height: 1.25;
  overflow-wrap: anywhere;
}
.paper h2 .num {
  flex: none;
  display: inline-grid; place-items: center;
  min-width: 40px; height: 34px; padding: 0 7px 3px;
  border: var(--bw-sm) solid var(--ol); border-radius: 11px;
  background: var(--sheen) top / 100% 50% no-repeat, linear-gradient(180deg, var(--y1), var(--y2));
  box-shadow: inset 0 -4px 0 var(--yb), inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 3px 0 var(--ol);
  color: #fff; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: 0.02em;
  -webkit-text-stroke: 2.5px var(--ol); paint-order: stroke fill; text-shadow: 0 1.5px 0 var(--ol);
}
.paper h3 { margin: 22px 0 6px; color: var(--tx); font-size: 17px; font-weight: 800; line-height: 1.35; }
.paper p, .paper li { color: var(--tx-2); }
.paper p { margin: 10px 0; }
.paper strong, .paper b { color: var(--tx); font-weight: 700; }
.paper dfn { font-style: normal; color: var(--tx); font-weight: 700; }
.paper .cl { display: grid; grid-template-columns: 2.9em minmax(0, 1fr); gap: 0 8px; margin: 10px 0; color: var(--tx-2); }
.paper .cl > .n { color: var(--tx-3); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; padding-top: 3px; }
.paper .cl > div { min-width: 0; overflow-wrap: break-word; }
.paper ul { margin: 8px 0 12px; padding-left: 1.25em; }
.paper ul li { margin: 6px 0; padding-left: 2px; }
.paper ul li::marker { color: #f0950c; }
.paper .cl ul { margin-top: 6px; }
@media (max-width: 380px) {
  .paper { font-size: 16px; padding: 20px 14px 24px; }
  .paper .panel { padding-left: 12px; padding-right: 12px; }
  .paper ul { padding-left: 1.1em; }
  .paper .cl { grid-template-columns: 2.7em minmax(0, 1fr); gap: 0 6px; }
  .paper h2 { font-size: 19.5px; gap: 10px; }
}
@media (max-width: 360px) { .paper h2 { font-size: 18px; gap: 8px; } .paper h2 .num { min-width: 34px; } }

/* Врезка «Коротко» */
.note {
  position: relative;
  margin: 22px 0;
  padding: 22px 16px 14px;
  border: var(--bw-sm) solid var(--ol);
  border-radius: var(--rad);
  background: linear-gradient(180deg, #fffbe2, #fff0b8);
  box-shadow: inset 0 -4px 0 #f4d36d, inset 0 2px 0 #fff, 0 3px 0 rgba(11, 20, 66, 0.5);
  color: var(--tx);
}
.paper .note { margin-top: 30px; }
.note p, .paper .note p { color: #2a2a4a; margin: 6px 0; }
.note .note-t {
  position: absolute; left: 14px; top: -16px;
  display: inline-flex; align-items: center;
  min-height: 30px; padding: 2px 14px 5px;
  border: var(--bw-sm) solid var(--ol); border-radius: 10px;
  background: var(--sheen) top / 100% 50% no-repeat, linear-gradient(180deg, var(--r1), var(--r2));
  box-shadow: inset 0 -4px 0 var(--rb), 0 2px 0 var(--ol);
  color: #fff; font-size: 14px; font-weight: 900; line-height: 1; letter-spacing: 0.02em;
  -webkit-text-stroke: 3px var(--ol); paint-order: stroke fill; text-shadow: 0 1.5px 0 var(--ol);
}
.wrap > .note, main > .note { color: var(--tx); }

/* «Да / нет» на странице возвратов */
.grid2 { display: grid; gap: 14px; margin: 18px 0; }
@media (min-width: 640px) { .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.panel {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: var(--bw-sm) solid var(--ol);
  border-radius: var(--rad);
  background: linear-gradient(180deg, var(--pan-hi), #e8effd);
  box-shadow: inset 0 -5px 0 var(--pan-edge), inset 0 2px 0 #fff, 0 3px 0 rgba(11, 20, 66, 0.5);
  color: var(--tx-2);
}
.panel h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; color: var(--tx); font-size: 17px; font-weight: 900; }
.panel ul { margin: 0; }
.panel.yes, .panel.no { padding-top: 22px; overflow: hidden; }
.panel.yes::before, .panel.no::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 9px;
  border-bottom: var(--bw-sm) solid var(--ol);
}
.panel.yes::before { background: linear-gradient(90deg, var(--g1), var(--g2)); }
.panel.no::before { background: linear-gradient(90deg, var(--r1), var(--r2)); }
.panel.yes h3 { color: #0e7a2a; }
.panel.no h3 { color: #c21d36; }
.pico { flex: none; width: 34px; height: 34px; margin: -6px 0 -6px -2px; filter: drop-shadow(0 2px 0 rgba(11, 20, 66, 0.45)); }

/* Шаги */
.steps { counter-reset: s; list-style: none; padding: 0 !important; margin: 16px 0; }
.steps li { counter-increment: s; position: relative; padding: 3px 0 14px 50px; margin: 0 !important; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; padding-bottom: 2px;
  border: var(--bw-sm) solid var(--ol);
  background: var(--sheen) top / 100% 50% no-repeat, linear-gradient(180deg, var(--y1), var(--y2));
  box-shadow: inset 0 -4px 0 var(--yb), 0 3px 0 var(--ol);
  color: #fff; font-weight: 900; font-size: 17px; line-height: 1;
  -webkit-text-stroke: 3px var(--ol); paint-order: stroke fill; text-shadow: 0 1.5px 0 var(--ol);
}
.steps li:not(:last-child)::after {
  content: ''; position: absolute; left: 17px; top: 40px; bottom: 2px; width: 3px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, #c3d1f0 0 5px, transparent 5px 9px);
}
.steps li strong { display: block; color: var(--tx); font-weight: 800; }

/* ═══════════════ Оглавление (тёмная плашка на небе) ═══════════════ */
.toc {
  position: relative;
  min-width: 0;
  padding: 0;
  border: var(--bw) solid var(--ol);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 40px), linear-gradient(180deg, var(--dp-hi), var(--dp-lo));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.16), var(--panel-drop);
  font-size: 15px;
}
.toc summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 52px; padding: 8px 10px 8px 16px;
  color: #fff; font-weight: 900; font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: '+';
  flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; padding-bottom: 3px;
  border: var(--bw-sm) solid var(--ol); border-radius: 11px;
  background: var(--sheen) top / 100% 50% no-repeat, linear-gradient(180deg, var(--b1), var(--b2));
  box-shadow: inset 0 -4px 0 var(--bb), 0 2px 0 var(--ol);
  color: #fff; font-size: 22px; font-weight: 900; line-height: 1;
  -webkit-text-stroke: 3px var(--ol); paint-order: stroke fill;
}
.toc[open] summary::after { content: '–'; }
.toc ol { margin: 0; padding: 4px 14px 14px 2.4em; color: var(--sky-text-3); border-top: 2px solid rgba(255, 255, 255, 0.1); }
.toc li { margin: 2px 0; padding-left: 2px; font-variant-numeric: tabular-nums; }
.toc li::marker { font-weight: 800; font-size: 13px; }
.toc a { display: block; padding: 9px 4px; border-radius: 8px; color: var(--sky-text-2); font-weight: 600; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--sky-link); background: rgba(255, 255, 255, 0.06); }
.toc a.is-on { color: var(--sky-link); }
@media (min-width: 960px) { .toc summary { cursor: default; } .toc summary::after { display: none; } }

/* ═══════════════ Главная документов ═══════════════ */
.hero-row { display: grid; gap: 18px; }
.facts-sky { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.fact {
  min-width: 0;
  padding: 12px 14px 13px;
  border: var(--bw) solid var(--ol); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 50%), linear-gradient(180deg, #10227a, #0a1652);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), 0 4px 0 rgba(11, 20, 66, 0.6);
}
.fact b { display: block; font-size: clamp(19px, 5.4vw, 25px); line-height: 1.1; font-weight: 900; font-variant-numeric: tabular-nums; --sw: 4px; --sh: 2px; }
.fact span { display: block; margin-top: 4px; color: var(--sky-text-3); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
@media (min-width: 960px) {
  .hero-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
  .facts-sky { grid-template-columns: repeat(2, minmax(170px, auto)); padding-bottom: 6px; }
}

.cards { display: grid; gap: 40px 18px; margin: 48px 0 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.card {
  --dc: linear-gradient(90deg, var(--y1), var(--y2));
  position: relative;
  min-width: 0;
  display: flex; flex-direction: column;
  padding: 30px 18px 18px;
  border: var(--bw) solid var(--ol); border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--pan-hi), var(--pan-lo));
  box-shadow: inset 0 -6px 0 var(--pan-edge), inset 0 2px 0 #fff, 0 6px 0 rgba(11, 20, 66, 0.65);
  color: var(--tx-2);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out;
}
.card:hover { transform: translateY(-3px); color: var(--tx-2); }
.card:active { transform: translateY(3px); box-shadow: inset 0 -6px 0 var(--pan-edge), inset 0 2px 0 #fff, 0 2px 0 rgba(11, 20, 66, 0.65); }
.card .strip {
  position: absolute; left: 0; right: 0; top: 0; height: 13px;
  border-bottom: var(--bw) solid var(--ol); border-radius: 19px 19px 0 0;
  background: var(--sheen) top / 100% 50% no-repeat, var(--dc);
}
.card .pop {
  position: absolute; right: -12px; top: -30px;
  width: 92px; height: 92px;
  transform: rotate(8deg);
  filter: drop-shadow(0 4px 0 rgba(11, 20, 66, 0.5));
  pointer-events: none;
}
.card .t { display: block; padding-right: 66px; margin-top: 4px; color: var(--tx); font-size: 22px; font-weight: 900; line-height: 1.12; overflow-wrap: break-word; hyphens: manual; }
.card .d { display: block; margin-top: 10px; font-size: 15px; line-height: 1.5; font-weight: 500; color: #4a5a92; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 14px; padding-top: 0; }
.card .tags span { padding: 3px 9px 4px; border-radius: 8px; background: var(--pan-well); color: var(--tx); font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.card .grow { flex: 1 1 auto; }
.card .btn { margin-top: auto; }
.card.is-support {
  background: var(--stripes), linear-gradient(180deg, #f0384e, #a8132f);
  box-shadow: inset 0 0 0 3px #ffcf5c, inset 0 -7px 0 rgba(70, 0, 15, 0.5), 0 6px 0 rgba(11, 20, 66, 0.65);
  color: #ffe3e3;
}
.card.is-support .t { color: #fff; -webkit-text-stroke: 4px var(--ol); paint-order: stroke fill; text-shadow: 0 2px 0 var(--ol); }
.card.is-support .d { color: #fff; font-weight: 600; -webkit-text-stroke: 2.5px #5a0716; paint-order: stroke fill; }
.card.is-support .tags span { background: rgba(40, 0, 10, 0.32); color: #ffe6a8; }
@media (min-width: 1100px) { .card .t { font-size: 21px; } }

/* Коротко о главном — тёмная плашка */
.brief {
  margin-top: 34px;
  display: grid; gap: 18px;
  padding: 22px 18px;
  border: var(--bw) solid var(--ol); border-radius: var(--rad-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 60px), linear-gradient(180deg, #13288a, #0a1652);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), var(--panel-drop);
}
@media (min-width: 900px) { .brief { grid-template-columns: 300px minmax(0, 1fr); gap: 30px; padding: 28px 30px; } }
.brief h2 { margin: 0; font: 400 clamp(22px, 6.4vw, 28px)/1.18 var(--font-title); font-weight: 900; font-synthesis: none; --sw: 5px; --sh: 3px; }
.brief .sub { margin: 10px 0 0; color: var(--sky-text-3); font-size: 15px; font-weight: 600; line-height: 1.45; }
.brief ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 30px; }
@media (min-width: 900px) { .brief ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brief li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--sky-text-2); font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.brief li .n {
  display: grid; place-items: center; width: 30px; height: 30px; margin-top: -2px; padding-bottom: 2px;
  border: var(--bw-sm) solid var(--ol); border-radius: 9px;
  background: var(--sheen) top / 100% 50% no-repeat, linear-gradient(180deg, var(--y1), var(--y2));
  box-shadow: inset 0 -3px 0 var(--yb), 0 2px 0 var(--ol);
  color: #fff; font-size: 15px; font-weight: 900; line-height: 1;
  -webkit-text-stroke: 3px var(--ol); paint-order: stroke fill;
}
.brief li span { min-width: 0; overflow-wrap: break-word; }

/* Редакции */
.hist-panel { margin-top: 22px; padding: 20px 16px 16px; }
@media (min-width: 640px) { .hist-panel { padding: 24px 26px 20px; } }
.hist-panel h2 { margin: 0 0 6px; color: var(--tx); font-size: 21px; font-weight: 900; line-height: 1.2; }
.hist-panel .note-s { margin: 10px 0 0; font-size: 14px; color: var(--tx-3); max-width: var(--measure); }
.tbl { overflow-x: auto; }
table.hist { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 0; }
table.hist th, table.hist td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 2px solid #d5e0f6; color: var(--tx-2); vertical-align: top; }
table.hist tr:last-child td { border-bottom: 0; }
table.hist th { color: var(--tx-3); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
table.hist td:not(:first-child) { white-space: nowrap; }
table.hist td a { display: inline-flex; align-items: center; min-height: 40px; margin: -11px 0; }
table.hist td a { color: var(--tx-link); font-weight: 700; text-decoration: none; }
table.hist td a:hover { text-decoration: underline; }
table.hist .ver { display: inline-block; padding: 1px 8px 2px; border-radius: 7px; background: var(--pan-well); color: var(--tx); font-weight: 800; font-size: 13.5px; }
/* Узкий экран: строка таблицы — карточка «документ / версия · дата» */
@media (max-width: 480px) {
  table.hist thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.hist, table.hist tbody { display: block; }
  table.hist tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 0; border-bottom: 2px solid #d5e0f6; }
  table.hist tr:last-child { border-bottom: 0; }
  table.hist td { display: block; padding: 0; border: 0; }
  table.hist td:first-child { flex: 1 0 100%; }
  table.hist td:nth-child(3)::before { content: 'действует с '; color: var(--tx-3); }
}

/* ═══════════════ Форма обращения ═══════════════ */
.form { margin: 18px 0 0; }
.form.paper { padding-top: 22px; }
@media (min-width: 640px) { .form.paper { padding: 30px 32px 32px; } }
.form > * { max-width: none; }
.f { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.f > label, .f > legend { display: block; margin: 0 0 10px; padding: 0; color: var(--tx); font-weight: 800; font-size: 16px; line-height: 1.3; }
.f .opt { color: var(--tx-3); font-weight: 500; }
.topics { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.topics input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.topics label {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; max-width: 100%;
  padding: 2px 14px 6px 10px;
  border: var(--bw-sm) solid var(--ol); border-radius: 14px;
  background: linear-gradient(180deg, var(--n1), var(--n2));
  box-shadow: inset 0 -5px 0 var(--nb), inset 0 2px 0 #fff, 0 3px 0 var(--ol);
  color: var(--tx); font-size: 15px; font-weight: 800; line-height: 1.15;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out;
}
.topics label img { flex: none; width: 26px; height: 26px; margin: -2px 0; filter: drop-shadow(0 1.5px 0 rgba(11, 20, 66, 0.45)); }
.topics label:hover { filter: brightness(1.03); }
.topics label:active { transform: translateY(2px); box-shadow: inset 0 -3px 0 var(--nb), inset 0 2px 0 #fff, 0 1px 0 var(--ol); }
.topics input:checked + label {
  background: var(--sheen) top / 100% 50% no-repeat, linear-gradient(180deg, var(--y1), var(--y2));
  box-shadow: inset 0 -5px 0 var(--yb), inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 3px 0 var(--ol), 0 0 0 4px rgba(255, 214, 60, 0.5);
  color: #fff; font-weight: 900;
  -webkit-text-stroke: 3px var(--ol); paint-order: stroke fill; text-shadow: 0 1.5px 0 var(--ol);
}
.topics input:focus-visible + label { outline: 3px solid var(--b2); outline-offset: 3px; }
.in {
  display: block; width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: var(--bw-sm) solid var(--ol); border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 3px 0 rgba(11, 20, 66, 0.1), 0 2px 0 rgba(255, 255, 255, 0.9);
  color: var(--tx); font: 500 16px/1.45 var(--font);
  transition: box-shadow 150ms, border-color 150ms;
}
.in::placeholder { color: #8795c0; font-weight: 400; opacity: 1; }
.in:focus { outline: none; box-shadow: inset 0 3px 0 rgba(11, 20, 66, 0.1), 0 0 0 4px rgba(255, 200, 40, 0.65); }
textarea.in { min-height: 168px; resize: vertical; line-height: 1.55; }
.in[aria-invalid='true'] { border-color: var(--r2); box-shadow: inset 0 3px 0 rgba(236, 48, 70, 0.12), 0 0 0 4px rgba(236, 48, 70, 0.25); }
.hint { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 8px; color: var(--tx-3); font-size: 13.5px; line-height: 1.4; }
.hint > span:first-child { flex: 1 1 200px; min-width: 0; }
.hint .cnt { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.hint .cnt.is-bad { color: var(--r2); }
.row2 { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.check {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px;
  border: var(--bw-sm) solid var(--ol); border-radius: 14px;
  background: #e9f9e6;
  box-shadow: inset 0 -4px 0 #b9e5b0;
  color: var(--tx-2); font-size: 14.5px; line-height: 1.45; cursor: pointer;
}
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--g2); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.legal-s { margin: 14px 0 0; color: var(--tx-3); font-size: 13.5px; line-height: 1.45; text-align: center; }
.err {
  display: none;
  margin: 0 0 18px; padding: 12px 14px 14px 48px;
  position: relative;
  border: var(--bw-sm) solid var(--ol); border-radius: 14px;
  background: linear-gradient(180deg, #ffe9e7, #ffd3cf);
  box-shadow: inset 0 -4px 0 #f5a49c, 0 3px 0 rgba(11, 20, 66, 0.45);
  color: #7d0a20; font-size: 15px; font-weight: 600; line-height: 1.45;
}
.err::before { content: ''; position: absolute; left: 10px; top: 9px; width: 30px; height: 30px; background: url('/docs/img/warning.webp') center / contain no-repeat; }
.err.is-on { display: block; }

/* Готово */
.ok { text-align: center; }
.ok > * { margin-left: auto; margin-right: auto; }
.ok-mark { position: relative; width: 112px; height: 112px; margin: -4px auto 8px; display: grid; place-items: center; }
.ok-mark::before {
  content: ''; position: absolute; inset: 6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 120, 0.95) 0%, rgba(255, 210, 60, 0.5) 45%, rgba(255, 210, 60, 0) 70%);
}
.ok-mark img { position: relative; width: 92px; height: 92px; filter: drop-shadow(0 4px 0 rgba(11, 20, 66, 0.5)); animation: pop 420ms cubic-bezier(0.32, 1.32, 0.56, 1) both; }
@keyframes pop { from { transform: scale(0.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.ok h2 { margin: 0 0 4px; color: var(--tx); font-size: 24px; font-weight: 900; line-height: 1.2; border: 0; padding: 0; display: block; }
.ref-l { margin: 12px 0 6px; color: var(--tx-3); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ref {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  max-width: 100%;
  margin: 0 0 10px; padding: 12px 12px 12px 18px;
  border: var(--bw) solid var(--ol); border-radius: 18px;
  background: linear-gradient(180deg, #0a1550, #1a2c86);
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.35), 0 3px 0 rgba(11, 20, 66, 0.35);
}
.ref #ref { color: #ffe070; font-size: clamp(22px, 7vw, 28px); font-weight: 900; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; line-height: 1.1; overflow-wrap: anywhere; -webkit-text-stroke: 0; }
.ok p { margin: 8px auto; max-width: 46ch; color: var(--tx-2); }
.ok .again { margin-top: 18px; }

.aside { display: grid; gap: 34px 16px; margin-top: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.aside .panel { padding: 18px 16px 16px; }
.aside .panel h3 { padding-right: 58px; margin-bottom: 6px; }
.aside .panel p { margin: 4px 0; font-size: 15px; line-height: 1.55; }
.aside .panel a { color: var(--tx-link); font-weight: 600; }
.aside .pop { position: absolute; right: -8px; top: -24px; width: 64px; height: 64px; transform: rotate(8deg); filter: drop-shadow(0 3px 0 rgba(11, 20, 66, 0.5)); pointer-events: none; }

/* ═══════════════ Каталог игр (/) ═══════════════ */
.games { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px 20px; margin-top: 30px; }
@media (min-width: 640px) { .games { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }
@media (min-width: 1100px) { .games { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.game {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 12px 12px 16px;
  border: var(--bw) solid var(--ol); border-radius: 24px;
  background: linear-gradient(180deg, var(--pan-hi), var(--pan-lo));
  box-shadow: inset 0 -6px 0 var(--pan-edge), inset 0 2px 0 #fff, 0 6px 0 rgba(11, 20, 66, 0.65), 0 24px 40px -20px rgba(0, 8, 50, 0.5);
  color: var(--tx-2); text-decoration: none;
  transition: transform 140ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.game:hover { transform: translateY(-3px); color: var(--tx-2); }
.game:active { transform: translateY(3px); }
.game .shot { position: relative; overflow: hidden; border: var(--bw) solid var(--ol); border-radius: 16px; background: linear-gradient(180deg, #3d8bff, #0f34b4); aspect-ratio: 1200 / 630; }
.game .shot img { width: 100%; height: 100%; object-fit: cover; }
.game .shot::after { content: ''; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)); pointer-events: none; }
.game .pop { position: absolute; right: -14px; top: -26px; width: 84px; height: 84px; transform: rotate(10deg); filter: drop-shadow(0 4px 0 rgba(11, 20, 66, 0.5)); pointer-events: none; z-index: 1; }
.game .body { padding: 14px 6px 0; display: flex; flex-direction: column; flex: 1; }
.game .title { color: var(--tx); font-size: 25px; font-weight: 900; line-height: 1.1; }
.game .sub { margin-top: 4px; color: #4a5a92; font-size: 15px; font-weight: 500; line-height: 1.45; }
.game .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 16px; }
.game .tag { padding: 3px 10px 4px; border-radius: 8px; background: var(--pan-well); color: var(--tx); font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.game .btn { margin-top: auto; }

/* ═══════════════ Подвал ═══════════════ */
.foot {
  margin-top: 8px;
  border-top: var(--bw) solid var(--ol);
  background: linear-gradient(180deg, #0f2080, #0a1652);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.08);
  color: var(--sky-text-3);
}
.foot-in { max-width: 1200px; margin: 0 auto; padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px; }
.foot nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 2px 13px 3px;
  border: var(--bw-sm) solid var(--ol); border-radius: 11px;
  background: linear-gradient(180deg, #1e3aa6, #142a86);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), 0 2px 0 var(--ol);
  color: var(--sky-text-2); font-weight: 700; line-height: 1.2; text-decoration: none;
}
.foot nav a:hover { color: #fff; filter: brightness(1.1); }
.foot nav a[aria-current='page'] { color: var(--ol); background: linear-gradient(180deg, var(--y1), var(--y2)); box-shadow: inset 0 -3px 0 var(--yb), 0 2px 0 var(--ol); }
.foot .copy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.foot .copy a { display: inline-flex; align-items: center; min-height: 40px; color: var(--sky-text-2); font-weight: 600; }

@media print {
  html, body { background: #fff; color: #000; }
  body::before, body::after, .top, .foot, .toc, .form, .aside, .hero .eyebrow { display: none; }
  h1 { color: #000; -webkit-text-stroke: 0; text-shadow: none; font-size: 28px; }
  .chip { background: none; box-shadow: none; color: #000; border-width: 1px; text-shadow: none; }
  .paper { border: 0; box-shadow: none; padding: 0; background: none; }
  .paper p, .paper li, .paper .cl { color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Страница обращения: колонка формы по центру */
.doc.support { max-width: 860px; margin: 0 auto; }
.doc.support .hero { padding-bottom: 4px; }
@media (max-width: 420px) { .card .pop { right: -6px; width: 84px; height: 84px; } }
@media (max-width: 640px) { .game .pop { right: -6px; } }
.ok:focus { outline: none; }
.ok p { overflow-wrap: anywhere; }
/* Шапка без кнопки «Играть» (каталог): разделы в той же строке, если помещаются */
.top-in.is-plain .top-nav { order: 0; flex: 0 1 auto; display: flex; margin-left: auto; }
@media (max-width: 559px) { .top-in.is-plain .top-nav a { padding: 0 10px; font-size: 14.5px; } }
