:root {
  --bg: #17151b;
  --surface: #211e25;
  --surface-2: #2d2930;
  --line: #3c373e;
  --line-2: #514b52;
  --text: #fff7e9;
  --text-2: #e1d9cd;
  --muted: #bcb4b6;
  --accent: #ffcc45;
  --accent-hover: #ffda75;
  --accent-ink: #160a02;
  --hud: #efc85b;
  --ok: #86e05f;
  --warn: #ffb21f;
  --bad: #ff6155;
  --idle: #bcb3bb;
  --dim: #afa5ac;     /* мелкий служебный текст: 5:1 на --surface */

  --f-ui: 'Tektur', 'Golos Text', system-ui, sans-serif;
  --f-stencil: 'Saira Stencil One', 'Tektur', system-ui, sans-serif;
  --f-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --cut: 12px;
  --cut-sm: 6px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

/* Тон статуса — один словарь цветов на весь сайт (tone из domain.PRODUCT_STATUSES) */
.tone-ok { --tone: var(--ok); }
.tone-warn { --tone: var(--warn); }
.tone-bad { --tone: var(--bad); }
.tone-muted { --tone: var(--idle); }

/* ---------- База ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--line-2) var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  caret-color: var(--accent);
  overflow-x: clip;
}

main { flex: 1 0 auto; }

::selection { background: var(--accent); color: var(--accent-ink); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #4d5a40; }

img, svg { display: block; max-width: 100%; }
svg { flex: none; }

a {
  color: var(--text);
  text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--hud);
  outline-offset: 3px;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--f-ui);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.num-soft { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.prose { white-space: pre-line; max-width: 70ch; color: var(--text-2); }

/* Уголки прицела вокруг блока: 8 тонких засечек фоном, без лишних элементов */
.hud-frame {
  --hc: color-mix(in srgb, var(--hud) 55%, transparent);
  --hs: 16px;
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--hc), var(--hc)), linear-gradient(var(--hc), var(--hc)),
    linear-gradient(var(--hc), var(--hc)), linear-gradient(var(--hc), var(--hc)),
    linear-gradient(var(--hc), var(--hc)), linear-gradient(var(--hc), var(--hc)),
    linear-gradient(var(--hc), var(--hc)), linear-gradient(var(--hc), var(--hc));
  background-repeat: no-repeat;
  background-size:
    var(--hs) 2px, 2px var(--hs), var(--hs) 2px, 2px var(--hs),
    var(--hs) 2px, 2px var(--hs), var(--hs) 2px, 2px var(--hs);
  background-position:
    0 0, 0 0, 100% 0, 100% 0,
    0 100%, 0 100%, 100% 100%, 100% 100%;
}

/* ---------- Кнопки ---------- */

.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.btn:hover { color: var(--btn-fg); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 4px; }

.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.btn--primary:hover { --btn-bg: var(--accent-hover); }

/* Контурная кнопка: «рамка» — фон кнопки, середина — псевдоэлемент с тем же срезом */
.btn--ghost { --btn-bg: var(--line-2); }
.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--bg);
  clip-path: polygon(calc(var(--cut) - 0.5px) 0, 100% 0, 100% calc(100% - var(--cut) + 0.5px), calc(100% - var(--cut) + 0.5px) 100%, 0 100%, 0 calc(var(--cut) - 0.5px));
  transition: background-color 0.18s var(--ease-out);
}
.btn--ghost:hover { --btn-bg: var(--accent); }
.btn--ghost:hover::before { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.btn--ghost[aria-current] { --btn-bg: var(--accent); }

.btn--quiet {
  --btn-bg: transparent;
  --btn-fg: var(--muted);
  padding-inline: 8px;
}
.btn--quiet:hover { --btn-fg: var(--text); }

.btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; --cut: 9px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; --cut: 14px; }

.btn.is-disabled,
.btn[disabled],
.btn[aria-disabled='true'] {
  --btn-bg: var(--surface-2);
  --btn-fg: #7c8571;
  cursor: not-allowed;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
}
.link-arrow::after {
  content: '';
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h16M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h16M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease-out);
}
.link-arrow:hover { color: var(--accent-hover); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Бейджи и метки ---------- */

.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 10px 0 9px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}
.badge {
  color: var(--tone, var(--idle));
  background: color-mix(in srgb, var(--tone, var(--idle)) 16%, #0b0e09);
}
.badge__dot {
  width: 7px; height: 7px;
  flex: none;
  background: currentColor;
  transform: rotate(45deg);
}

.tag--hot { background: var(--accent); color: var(--accent-ink); }
.tag--demo {
  height: 20px;
  padding: 0 7px;
  font-size: 11px;
  color: #1a1404;
  background: var(--warn);
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -40px;
  width: 150px;
  padding: 5px 0;
  transform: rotate(45deg);
  background: var(--warn);
  color: #1a1404;
  font-family: var(--f-ui);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  z-index: 2;
}
.ribbon--inline {
  position: static;
  width: auto;
  padding: 4px 10px 4px 12px;
  transform: none;
  box-shadow: none;
  flex: none;
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 21, 27, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.brand__mark {
  width: 32px; height: 32px;
  color: var(--accent);
  transition: transform 0.5s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand:hover { color: var(--text); }
.brand__word {
  font-family: var(--f-stencil);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.brand__tag {
  align-self: center;
  padding: 3px 6px;
  border: 1px solid var(--line-2);
  font-family: var(--f-ui);
  font-stretch: 80%;
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav__list { display: flex; gap: 2px; }
.site-nav__link {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.site-nav__link:hover { color: var(--text); }
.site-nav__link[aria-current='page'] { color: var(--text); }
.site-nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: -12px;
  height: 2px;
  background: var(--accent);
}
.site-nav__order svg { width: 16px; height: 16px; }
.site-nav__order:hover svg { transform: none; }
/* Вход покупателя: «Войти» или «Кабинет» + «Выйти» */
.site-nav__account { display: flex; align-items: center; gap: 2px; margin-left: -8px; }
.site-nav__logout { margin: 0; }
.site-nav__cabinet svg { width: 16px; height: 16px; }
.site-nav__cabinet:hover svg { transform: none; }
.site-nav__cabinet[aria-current] { --btn-fg: var(--text); }
/* Узкий десктоп: с «Кабинет» и «Выйти» меню иначе не помещается в строку */
@media (min-width: 900px) and (max-width: 1099px) {
  .site-nav { gap: 12px; }
  .site-nav__link { padding-inline: 8px; }
  .site-nav__link[aria-current='page']::after { left: 8px; right: 8px; }
  .site-nav__cabinet svg { display: none; }
}

/* Переключатель RU / EN: текущий язык — подсвеченный, другой — ссылка на ту же страницу */
.lang-switch { display: flex; flex: none; border: 1px solid var(--line-2); }
.lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--muted);
}
a.lang-switch__link:hover { color: var(--text); background: var(--surface-2); }
.lang-switch__link[aria-current] { color: var(--bg); background: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__icon,
.nav-toggle__icon span,
.nav-toggle__icon::before,
.nav-toggle__icon::after { display: block; width: 18px; height: 2px; background: currentColor; }
.nav-toggle__icon { position: relative; background: transparent; height: 14px; }
.nav-toggle__icon span { position: absolute; top: 6px; transition: opacity 0.15s; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ''; position: absolute; left: 0; transition: transform 0.25s var(--ease-out); }
.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon::after { top: 12px; width: 12px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon span { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon::after { width: 18px; transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: -16px; right: -16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 6px 16px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }
  .js .site-nav[data-open] { display: flex; }
  .js .site-nav__list { flex-direction: column; }
  .js .site-nav__link {
    padding: 15px 2px;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav__link[aria-current='page']::after { left: 2px; right: auto; bottom: -1px; width: 48px; }
  .js .site-nav__order { min-height: 48px; }
  .js .site-nav__account { margin-left: 0; justify-content: space-between; gap: 12px; }
  .js .site-nav__account .btn { min-height: 48px; font-size: 15px; }
  /* Узкая шапка: переключатель языка — перед кнопкой меню, 44 px под палец */
  .js .lang-switch { order: -1; }
  .js .brand { order: -2; }
  .lang-switch__link { min-height: 44px; min-width: 40px; }
}
/* 360 px: логотип, RU/EN и меню в одну строку — подпись «Меню» остаётся только для скринридера */
@media (max-width: 420px) {
  .site-header__bar { gap: 10px; }
  .js .nav-toggle { padding: 0; width: 44px; justify-content: center; }
  .js .nav-toggle__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  /* Без JS меню просто переносится под логотип */
  .no-js .site-header__bar { flex-wrap: wrap; padding-bottom: 10px; }
  .no-js .site-nav { flex-basis: 100%; flex-wrap: wrap; gap: 8px; }
  .no-js .site-nav__list { flex-wrap: wrap; }
}

/* ---------- Главная: hero ---------- */

.readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
}
.readout__cell {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px 14px 16px 16px;
  border-left: 1px solid var(--line);
}
.readout__cell:first-child { border-left: 0; padding-left: 0; }
.readout dt {
  font-family: var(--f-ui);
  font-stretch: 80%;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.readout dd {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
  color: var(--text);
}
.readout__cell--ok dd { color: var(--hud); }

/* Радар */
.radar-wrap {
  justify-self: center;
  width: min(100%, 520px);
  padding: clamp(16px, 2.4vw, 26px);
  background-color: rgba(13, 17, 11, 0.7);
}
.radar {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(239, 200, 91, 0.12), rgba(239, 200, 91, 0.035) 58%, rgba(239, 200, 91, 0.07) 70.5%, transparent 71%),
    #0c110a;
}
.radar__topo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: url('/public/img/topo.svg') 30% 40% / 300px 300px;
  opacity: 0.9;
  filter: brightness(1.6) sepia(1) hue-rotate(40deg) saturate(2.2);
}
.radar__grid {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--hud);
  stroke-width: 0.22;
  stroke-opacity: 0.32;
}
.radar__rim { stroke-opacity: 0.7; stroke-width: 0.4; }
.radar__axis { stroke-dasharray: 0.8 1.2; stroke-opacity: 0.28; }
.radar__tick { stroke-opacity: 0.4; }
.radar__tick.is-major { stroke-opacity: 0.85; stroke-width: 0.35; }
.radar__label {
  fill: var(--hud);
  stroke: none;
  font-family: var(--f-ui);
  font-weight: 800;
  font-size: 3.6px;
  text-anchor: middle;
  dominant-baseline: middle;
}
.radar__self { fill: var(--accent); stroke: none; }

.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 285deg, rgba(239, 200, 91, 0.04) 300deg, rgba(239, 200, 91, 0.3) 358deg, rgba(190, 255, 160, 0.85) 359.6deg, transparent 360deg);
  animation: radar-sweep 6s linear infinite;
  will-change: transform;
}
@keyframes radar-sweep { to { transform: rotate(360deg); } }

.blip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0; height: 0;
  z-index: 2;
  color: var(--tone);
  text-decoration: none;
}
.blip__dot {
  position: absolute;
  left: -6px; top: -6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 22%, transparent);
  opacity: 0.7;
  animation: blip-ping 6s linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes blip-ping {
  0% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 0 9px color-mix(in srgb, var(--tone) 0%, transparent); }
  3% { opacity: 1; transform: scale(1.25); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 40%, transparent); }
  55%, 100% { opacity: 0.55; transform: scale(1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 18%, transparent); }
}
.blip__label {
  position: absolute;
  left: 13px;
  top: -11px;
  padding: 2px 7px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  color: var(--text);
  background: rgba(8, 10, 7, 0.86);
  border: 1px solid color-mix(in srgb, var(--tone) 45%, transparent);
  transition: border-color 0.2s, color 0.2s;
}
.blip.is-left .blip__label { left: auto; right: 13px; }
.blip:hover .blip__label,
.blip:focus-visible .blip__label { border-color: var(--tone); color: var(--tone); }
.blip:focus-visible { outline: none; }
.blip:focus-visible .blip__dot { outline: 2px solid var(--text); outline-offset: 4px; }

.radar-wrap__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}
.legend-dots { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; }
.legend-dots > span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }

/* ---------- Секции ---------- */

.section { padding-top: clamp(56px, 8vw, 96px); }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.section__title {
  font-family: var(--f-ui);
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.section__note { font-size: 14px; color: var(--muted); }
.section__note + .table-scroll,
.table-scroll + .section__note { margin-top: 12px; }

.page-head { padding: clamp(36px, 6vw, 64px) 0 clamp(20px, 3vw, 28px); }
.page-head__title {
  font-family: var(--f-ui);
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(46px, 8vw, 84px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.page-head__lead { margin-top: 12px; color: var(--muted); max-width: 60ch; }
.page-head__lead .num { color: var(--text); }

/* Брифинг: три шага покупки */
.objectives {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line-2);
  counter-reset: obj;
}
.objective {
  position: relative;
  padding: 26px 28px 8px 0;
  counter-increment: obj;
}
.objective + .objective { padding-left: 28px; border-left: 1px solid var(--line); }
.objective::before {
  content: counter(obj, decimal-leading-zero);
  position: absolute;
  top: 26px;
  right: 24px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--dim);
}
.objective__icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 18px; }
.objective h3 {
  font-family: var(--f-ui);
  font-stretch: 80%;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.objective p { margin-top: 8px; color: var(--muted); max-width: 36ch; }

/* ---------- Карточки ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr));
  gap: 20px;
}

.card {
  --cc: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1px;
  background: var(--line);
  clip-path: polygon(var(--cc) 0, 100% 0, 100% calc(100% - var(--cc)), calc(100% - var(--cc)) 100%, 0 100%, 0 var(--cc));
  transition: background-color 0.25s var(--ease-out), transform 0.3s var(--ease-out);
}
.card:hover,
.card:focus-within { background: color-mix(in srgb, var(--tone) 70%, var(--line)); }
.card:hover { transform: translateY(-3px); }

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%),
    url('/public/img/topo.svg') 50% 50% / 380px 380px,
    var(--surface-2);
  clip-path: polygon(calc(var(--cc) - 0.5px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cc) - 0.5px));
}
.card__cover { width: 100%; height: 100%; object-fit: cover; }
.card__emblem {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--tone);
}
.card__emblem::before {
  /* кольцо прицела вокруг иконки */
  content: '';
  position: absolute;
  width: 112px; height: 112px;
  border: 1px dashed color-mix(in srgb, var(--tone) 40%, transparent);
  border-radius: 50%;
}
.card__emblem .type-icon { width: 76px; height: 76px; position: relative; }
.card__tags {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 100px);
  z-index: 1;
}

.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 18px;
  background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cc) + 0.5px), calc(100% - var(--cc) + 0.5px) 100%, 0 100%);
}
.card__meta {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__title {
  margin-top: 6px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.08;
  text-wrap: balance;
}
.card__game {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}
.card__game svg { width: 14px; height: 14px; color: var(--hud); }
.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.card__foot::before {
  content: '';
  flex-basis: 100%;
  height: 1px;
  margin-bottom: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 10px);
}
.card__price { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; gap: 6px 8px; }
.card__sample { grid-row: 1; grid-column: 1 / -1; justify-self: start; }
.card__from { font-size: 14px; color: var(--muted); }
.card__price .num { font-weight: 700; font-size: 23px; line-height: 1; }
.card__sample {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid color-mix(in srgb, var(--warn) 60%, transparent);
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warn);
}
.card__link::after {
  /* вся карточка кликабельна: оверлей от .card, ниже бейджей */
  content: '';
  position: absolute;
  inset: 0;
}

.card.is-demo .card__emblem { opacity: 0.85; }

/* ---------- Каталог ---------- */

.type-tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.type-tabs__item {
  flex: none;
  padding: 12px 14px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 0.15s, box-shadow 0.2s var(--ease-out);
}
.type-tabs__item:hover { color: var(--text); box-shadow: inset 0 -2px 0 var(--line-2); }
.type-tabs__item[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }

.filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin: 20px 0 32px;
  padding: 18px;
}
.filters { background-color: var(--surface); }
.filters:not(.hud-frame) { border: 1px solid var(--line); }
.filters__actions { display: flex; gap: 6px; align-items: center; }

/* ---------- Поля форм (общие и для страниц заказа) ---------- */

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__hint { font-size: 13px; color: var(--muted); }
.field__error { font-size: 14px; color: var(--bad); }
.field__control { position: relative; }
.field__control > svg {
  position: absolute;
  left: 12px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.field__control > svg + .input { padding-left: 40px; }

.input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  transition: border-color 0.15s, background-color 0.15s;
}
.input::placeholder { color: #8b9380; opacity: 1; }
.input:hover { border-color: #56634a; }
.input:focus-visible { outline: 2px solid var(--hud); outline-offset: 0; border-color: var(--hud); }
.input[aria-invalid='true'] { border-color: var(--bad); }
textarea.input { min-height: 110px; resize: vertical; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23a3ab96' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
}
.select option { background: var(--surface); color: var(--text); }
input[type='search']::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.4); }
input[type='checkbox'],
input[type='radio'] { accent-color: var(--accent); width: 18px; height: 18px; }

.form-errors {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--bad) 55%, transparent);
  background: color-mix(in srgb, var(--bad) 10%, var(--bg));
}
.form-errors:focus { outline: none; }
.form-errors:focus-visible { outline: 2px solid var(--hud); outline-offset: 3px; }
.form-errors__icon { width: 22px; height: 22px; color: var(--bad); margin-top: 1px; }
.form-errors__title {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-errors__list { margin-top: 4px; display: grid; gap: 2px; }
.form-errors__list a { color: var(--text); }

/* Пустые состояния */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(40px, 7vw, 72px) 20px;
  text-align: center;
  color: var(--muted);
}
.empty .type-icon { width: 64px; height: 64px; color: #6f7864; margin-bottom: 4px; }
.empty__title {
  font-family: var(--f-ui);
  font-stretch: 80%;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
}
.empty .btn { margin-top: 10px; }

/* Таблицы */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  scrollbar-width: thin;
}
.table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}
.table--status { min-width: 600px; }
.table th,
.table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-top: 1px solid var(--line);
}
.table thead th {
  border-top: 0;
  padding-block: 12px;
  background: var(--surface-2);
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.table tbody th { font-weight: 400; }
.table tbody th a {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.table tbody th a:hover { color: var(--accent-hover); }
.table tbody tr { transition: background-color 0.15s; }
.table tbody tr:hover { background: rgba(239, 200, 91, 0.035); }
.table td { color: var(--text-2); }
.table .num { color: var(--text); font-weight: 700; }

.sort { display: inline-flex; align-items: center; gap: 4px; }
.sort__link {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  color: #747d69;
  border: 1px solid var(--line-2);
}
.sort__link svg { width: 10px; height: 10px; }
.sort__link:hover { color: var(--text); border-color: var(--muted); }
.sort__link.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.sort__text { color: var(--muted); text-decoration: underline dotted; text-underline-offset: 4px; }
.sort__text:hover { color: var(--text); }
.sort__text.is-active { color: var(--accent); }

/* ---------- Страница товара ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 28px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 10px; height: 10px; color: #6f7864; }

.product__head { padding: 18px 0 32px; border-bottom: 1px solid var(--line); }
.product__meta {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.product__title {
  margin-top: 8px;
  font-family: var(--f-ui);
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.product__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 18px;
}
.product__updated,
.product__game {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}
.product__updated time { color: var(--text-2); }
.product__game svg { width: 14px; height: 14px; color: var(--hud); }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.5;
}
.notice svg { width: 20px; height: 20px; margin-top: 1px; }
.notice strong { font-weight: 600; color: var(--text); }
.notice--warn {
  border: 1px solid color-mix(in srgb, var(--warn) 50%, transparent);
  background: color-mix(in srgb, var(--warn) 9%, var(--bg));
  color: var(--text-2);
}
.notice--warn svg { color: var(--warn); }
.notice--block { border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-2); }
.notice--block svg { color: var(--muted); }
.notice--demo {
  align-items: center;
  margin-top: 20px;
  max-width: 640px;
  border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent);
  background: color-mix(in srgb, var(--warn) 7%, var(--bg));
  color: var(--text-2);
}

.product__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 392px);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}
.product__aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding-top: 32px;
}

.block { padding: 32px 0; border-top: 1px solid var(--line); }
.product__main > .block:first-child { border-top: 0; }
.block__title {
  margin-bottom: 16px;
  font-family: var(--f-ui);
  font-stretch: 80%;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gallery__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.gallery__item {
  flex: 0 0 min(86%, 640px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
}
.gallery__item:only-child { flex-basis: 100%; }
.gallery__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery__item:hover { border-color: var(--accent); }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.tabs__list[hidden] { display: none; }
.tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.tabs__tab:hover { color: var(--text); border-color: #56634a; }
.tabs__tab[aria-selected='true'] {
  color: var(--text);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 5px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
  background: var(--line);
}
.tabs__tab[aria-selected='true'] .count { background: var(--accent); color: var(--accent-ink); }
.tabs__panel + .tabs__panel { margin-top: 22px; }
.tabs__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tabs.is-enhanced .tabs__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tabs.is-enhanced .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__panel[hidden] { display: none; }

.features { display: grid; gap: 2px; }
.features__item {
  position: relative;
  padding: 12px 16px 12px 34px;
  background: var(--surface);
  color: var(--muted);
}
.features__item::before {
  content: '';
  position: absolute;
  left: 14px; top: 21px;
  width: 7px; height: 7px;
  background: var(--hud);
  transform: rotate(45deg);
}
.features__name { font-weight: 600; color: var(--text); }

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}
.specs__row { padding: 14px 16px; background: var(--surface); }
.specs__row:last-child:nth-child(odd) { grid-column: 1 / -1; }
.specs dt {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.specs dd { margin-top: 4px; font-size: 16px; color: var(--text); }
.specs dd.is-yes { color: var(--ok); font-weight: 600; }

.faq { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '';
  flex: none;
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0v14M0 7h14' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0v14M0 7h14' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease-out);
}
.faq__item[open] > .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--accent-hover); }
.faq__a { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.faq__a p + p,
.faq__a p + dl,
.faq__a dl + p { margin-top: 12px; }

/* Панель покупки */
.buy { padding: 22px; }
.buy__title {
  font-family: var(--f-ui);
  font-stretch: 80%;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.buy .notice { margin-top: 16px; }
.plans { display: grid; gap: 10px; margin-top: 18px; }
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  padding: 14px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  transition: border-color 0.2s;
}
.plan:not(.is-blocked):hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line-2)); }
.plan__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.plan__label {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
}
.plan__term { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.plan__price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.plan__price .num { font-weight: 700; font-size: 22px; line-height: 1; }
.plan__stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.plan__stock::before { content: ''; width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; }
.plan__stock.is-in { color: var(--ok); }
.plan__stock.is-out { color: var(--bad); }
.plan__stock.is-sample { color: var(--warn); }
.plan__buy { min-width: 112px; }
.plan__reason { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.plan.is-blocked .plan__price .num { color: var(--text-2); }

.buy__note {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  font-size: 14px;
  color: var(--muted);
}
.buy__note svg { width: 20px; height: 20px; color: var(--hud); }

.help-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.help-link strong {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.help-link svg { width: 18px; height: 18px; margin-left: auto; color: var(--accent); transition: transform 0.25s var(--ease-out); }
.help-link:hover { border-color: var(--accent); color: var(--text); }
.help-link:hover svg { transform: translateX(4px); }

/* ---------- Статусы ---------- */

.status-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
  margin-top: 8px;
}
.status-summary__cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 16px;
  background: var(--surface);
  box-shadow: inset 0 2px 0 var(--tone);
}
.status-summary__count {
  font-weight: 700;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  color: var(--tone);
}
.status-summary__cell.is-zero { box-shadow: inset 0 2px 0 var(--line-2); }
.status-summary__cell.is-zero .status-summary__count { color: #6f7864; }
.status-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.status-summary__label .badge__dot { color: var(--tone); }

.legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin-top: 24px;
}
.legend__item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 18px;
  background: var(--surface);
}
.legend__item dd p { color: var(--text-2); }
.legend__buy {
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.legend__buy.is-yes { color: var(--ok) !important; }
.legend__buy.is-no { color: var(--idle) !important; }
.legend + .section__note { margin-top: 16px; }
.legend--compact { grid-template-columns: 1fr; margin-top: 4px; }
.legend--compact .legend__item { grid-template-columns: 160px minmax(0, 1fr); padding: 10px 0; background: transparent; border-bottom: 1px solid var(--line); }
.legend--compact dd { color: var(--muted); }

/* ---------- Поддержка и правила ---------- */

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}
.support__faq .section__title { margin-bottom: 18px; }
.support__contacts {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 24px;
}
.support__contacts .prose { color: var(--text); overflow-wrap: anywhere; }
.support__tg {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.support__tg svg { width: 20px; height: 20px; color: var(--hud); }

.doc { padding: clamp(22px, 4vw, 44px); }
.doc .prose { max-width: 72ch; font-size: 17px; overflow-wrap: anywhere; }

/* ---------- Ошибки 404 / 500 ---------- */

.error-page {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding-block: clamp(48px, 9vw, 120px);
}
.error-page__scope { position: relative; width: min(100%, 340px); justify-self: center; }
.error-page__scope svg { width: 100%; height: auto; overflow: visible; fill: none; }
.scope__ring { stroke: var(--hud); stroke-opacity: 0.55; stroke-width: 1.5; }
.scope__ring--thin { stroke-opacity: 0.22; stroke-width: 1; stroke-dasharray: 3 5; }
.scope__cross { stroke: var(--text); stroke-opacity: 0.7; stroke-width: 1.5; }
.scope__mil { stroke: var(--text); stroke-opacity: 0.5; stroke-width: 1; }
.scope__x { stroke: var(--bad); stroke-width: 4; }
.scope__miss { stroke: var(--accent); stroke-width: 2; }
.scope__miss-cross { stroke: var(--accent); stroke-width: 2; }
.error-page__scope .scope__miss,
.error-page__scope .scope__miss-cross { animation: target-drift 3.2s var(--ease-out) infinite alternate; transform-box: view-box; }
@keyframes target-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(10px, -6px); }
}
.error-page__code {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  padding: 2px 12px;
  background: var(--bg);
  font-family: var(--f-stencil);
  font-size: 54px;
  line-height: 1;
  color: var(--accent);
}
.error-page__title {
  font-family: var(--f-ui);
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}
.error-page__message { margin-top: 16px; max-width: 46ch; font-size: 17px; color: var(--muted); }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Подвал ---------- */

.site-footer {
  margin-top: clamp(72px, 10vw, 120px);
  padding: 40px 0 44px;
  border-top: 1px solid var(--line);
  background: rgba(17, 20, 15, 0.7);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
}
.site-footer__name {
  font-family: var(--f-ui);
  font-stretch: 80%;
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-footer__note { margin-top: 6px; max-width: 44ch; font-size: 14px; color: var(--muted); }
.site-footer__nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px 22px; }
.site-footer__nav a {
  padding: 4px 0;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.site-footer__nav a:hover { color: var(--text); }
.site-footer__legal {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  /* линия-разделитель на всю ширину, а строка текста — не длиннее ~75 знаков */
  padding-right: max(0px, 100% - 75ch);
  text-wrap: pretty;
}

/* ---------- Вход и кабинет покупателя ---------- */

.link-button {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.link-button:hover { color: var(--accent-hover); }
.input.acc-locked { color: var(--muted); background: var(--surface-2); border-style: dashed; cursor: default; }

.acc-login .co-notice + .co-form { margin-top: 0; }
.acc-sent svg { color: var(--hud); }
.acc-code { font-family: var(--f-mono); font-weight: 700; font-size: 26px; letter-spacing: 0.4em; max-width: 12ch; }
.acc-resend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 20px 0 10px; }
.acc-resend .btn[disabled] { font-variant-numeric: tabular-nums; }
.acc-login > .co-fine a { color: var(--accent); }

.acc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.acc-head > div { min-width: 0; }
.acc-head__logout { margin: 0; }
.acc-email { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.acc-body { padding-bottom: clamp(48px, 8vw, 96px); }
.acc-count { margin-bottom: 12px; }

.acc-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.acc-order { gap: 14px; }
.acc-order--issued { box-shadow: inset 3px 0 0 var(--ok); }
.acc-order__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.acc-order__number { font-size: clamp(20px, 3vw, 26px); color: var(--text); text-decoration: none; }
.acc-order__number:hover { color: var(--accent); }
.acc-order .acc-order__product { font-family: var(--f-ui); font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--text); }
.acc-order__meta { display: flex; flex-wrap: wrap; gap: 10px 36px; }
.acc-order__meta dt {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.acc-order__meta dd { margin: 2px 0 0; overflow-wrap: anywhere; }

.acc-key { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.acc-key__reveal[open] { flex-basis: 100%; }
.acc-key__reveal > summary { list-style: none; }
.acc-key__reveal > summary::-webkit-details-marker { display: none; }
.acc-key__reveal .acc-open,
.acc-key__reveal[open] .acc-closed { display: none; }
.acc-key__reveal[open] .acc-open { display: inline; }
.acc-key__value { margin-top: 10px; font-size: clamp(16px, 2.6vw, 22px); }

.acc-instructions { border-top: 1px solid var(--line); padding-top: 12px; }
.acc-instructions > summary {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.acc-instructions > summary:hover { color: var(--text); }
.acc-instructions .prose { margin-top: 10px; }

.acc-order__link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; color: var(--accent); font-weight: 500; }
.acc-order__link svg { width: 16px; height: 16px; }

/* ---------- Адаптив ---------- */

@media (max-width: 1023px) {
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field--search { grid-column: 1 / -1; }
  .filters__actions { grid-column: 1 / -1; }
  .status-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legend { grid-template-columns: 1fr; }
}

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; }
  .radar-wrap { width: min(100%, 440px); }
  .product__layout { grid-template-columns: 1fr; }
  .product__aside { position: static; order: -1; padding-top: 24px; }
  .support { grid-template-columns: 1fr; }
  .support__contacts { position: static; }
  .objectives { grid-template-columns: 1fr; }
  .objective,
  .objective + .objective { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .objective::before { right: 0; top: 22px; }
  .error-page { grid-template-columns: 1fr; text-align: left; }
  .error-page__scope { width: min(70%, 260px); }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 599px) {
  body { font-size: 15.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .readout__cell { padding: 14px 8px 14px 10px; }
  .readout dt { font-size: 11px; letter-spacing: 0.06em; }
  .blip__label { display: none; }
  .blip:focus-visible .blip__label,
  .blip:hover .blip__label { display: block; }
  .filters { grid-template-columns: 1fr; padding: 16px; }
  .filters__actions .btn--primary { flex: 1; }
  .specs { grid-template-columns: 1fr; }
  .status-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend__item,
  .legend--compact .legend__item { grid-template-columns: 1fr; gap: 8px; }
  .buy { padding: 18px 16px; }
  .plan__buy { min-width: 0; }
  .section__head { margin-bottom: 18px; }
  /* подвал: ссылки — удобные цели для пальца */
  .site-footer__nav { gap: 0 22px; }
  .site-footer__nav a { display: inline-block; padding: 11px 0; }
  /* статусы: на телефоне строка таблицы — карточка «товар · статус / тип · время», без бокового скролла */
  .table--status,
  .table--status tbody { display: block; min-width: 0; }
  .table--status thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--status tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .table--status tbody tr:first-child { border-top: 0; }
  .table--status tbody th,
  .table--status tbody td { display: block; padding: 0; border: 0; }
  .table--status tbody td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 14px; color: var(--muted); }
  .table--status tbody td:nth-child(3) { grid-column: 2; grid-row: 1; justify-self: end; }
  .table--status tbody td:nth-child(4) { grid-column: 2; grid-row: 2; justify-self: end; font-size: 13px; color: var(--muted); }
}

@media (max-width: 899px) {
  /* вкладки типов скроллятся вбок — край гаснет, чтобы было видно, что дальше есть ещё */
  .type-tabs {
    padding-right: 40px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  }
}

@media (pointer: coarse) {
  .sort__link { width: 34px; height: 34px; }
}

@media (hover: none) {
  .card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .blip__dot { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .compass, .radar-wrap { display: none; }
  body { background: #fff; color: #000; }
}

/* --- Отзывы покупателей (таск 15): звёзды, средняя оценка, список отзывов --- */
.stars { display: inline-block; width: 90px; height: 18px; flex: none; vertical-align: -3px; }
.stars--sm { width: 70px; height: 14px; vertical-align: -2px; }
.stars--lg { width: 120px; height: 24px; }
.stars__on { fill: var(--warn); }
.stars__off { fill: var(--line-2); }

.rating-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 14px;
  color: var(--text-2);
  text-decoration: none;
}
.rating-line__value { font-family: var(--f-mono); font-weight: 700; color: var(--text); }
.rating-line__count { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.rating-line:hover .rating-line__count { color: var(--text); text-decoration-color: currentColor; }

.reviews__summary { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.reviews__avg { font-family: var(--f-ui); font-stretch: 75%; font-weight: 900; font-size: 56px; line-height: 1; color: var(--text); }
.reviews__summary .small { margin-top: 4px; }
.reviews__list { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.review { padding: 18px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; padding-top: 4px; }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.review__author { font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.review__meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.review__body { margin-top: 10px; max-width: 70ch; color: var(--text-2); line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }

.card__rating { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--text-2); }
.card__rating .num { font-weight: 700; color: var(--text); }
.card__reviews { color: var(--muted); }

.table-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); text-decoration: none; }
.table-rating .num { font-weight: 700; color: var(--text); }
.table-rating__count { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.table-rating:hover .table-rating__count { color: var(--text); }

/* ---------- Журнал (таск 18): карточки статей, страница статьи, блок «Гайды» на товаре ---------- */

.journal__filter { margin-bottom: 28px; }
.jgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.jcard {
  --cc: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1px;
  background: var(--line);
  clip-path: polygon(var(--cc) 0, 100% 0, 100% calc(100% - var(--cc)), calc(100% - var(--cc)) 100%, 0 100%, 0 var(--cc));
  transition: background-color 0.25s var(--ease-out), transform 0.3s var(--ease-out);
}
.jcard:hover, .jcard:focus-within { background: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.jcard:hover { transform: translateY(-3px); }
.jcard__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: url('/public/img/topo.svg') 50% 50% / 380px 380px, var(--surface-2);
  color: #6f7864;
}
.jcard__cover { width: 100%; height: 100%; object-fit: cover; }
.jcard__emblem { width: 64px; height: 64px; }
.jcard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--surface);
}
.jcard__meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.jcard__title {
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.jcard__title a { color: var(--text); text-decoration: none; }
.jcard__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* вся карточка — ссылка */
.jcard__title a:focus-visible { outline: none; }
.jcard:has(.jcard__title a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.jcard__summary { color: var(--text-2); line-height: 1.5; overflow-wrap: anywhere; }
.jcard__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--f-ui);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.jcard__more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.jcard:hover .jcard__more svg { transform: translateX(4px); }

.jarticle { padding-bottom: clamp(40px, 6vw, 72px); }
.jarticle > * { max-width: 820px; }
.jarticle__head { padding: clamp(20px, 4vw, 36px) 0 24px; }
.jarticle__meta { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.jarticle__title {
  margin-top: 10px;
  font-family: var(--f-ui);
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.jarticle__lead { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--text-2); max-width: 62ch; }
.jarticle__cover { margin: 0 0 28px; border: 1px solid var(--line); background: var(--surface-2); }
.jarticle__cover img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; }

.jarticle__body { max-width: 70ch; color: var(--text-2); line-height: 1.7; font-size: 17px; overflow-wrap: anywhere; }
.jarticle__body > * + * { margin-top: 1em; }
.jarticle__body h2, .jarticle__body h3 { font-family: var(--f-ui); font-stretch: 80%; color: var(--text); line-height: 1.15; text-transform: uppercase; letter-spacing: 0.02em; }
.jarticle__body h2 { margin-top: 1.8em; font-size: 28px; font-weight: 800; }
.jarticle__body h3 { margin-top: 1.5em; font-size: 21px; font-weight: 700; }
.jarticle__body > :first-child { margin-top: 0; }
.jarticle__body ul, .jarticle__body ol { padding-left: 1.4em; }
.jarticle__body ul { list-style: square; }
.jarticle__body ol { list-style: decimal; }
.jarticle__body li + li { margin-top: 0.35em; }
.jarticle__body ul li::marker { color: var(--accent); }
.jarticle__body ol li::marker { font-family: var(--f-mono); color: var(--hud); }
.jarticle__body strong { color: var(--text); font-weight: 700; }
.jarticle__body a { color: var(--accent); text-underline-offset: 3px; }
.jarticle__body a:hover { color: var(--accent-hover); }

.jarticle__related { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.jrelated { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.jrelated__item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); }
.jrelated__link { font-family: var(--f-ui); font-stretch: 85%; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.jrelated__link:hover { color: var(--accent); }
.jarticle__back { margin-top: 32px; }
.jarticle__back .btn svg { width: 16px; height: 16px; }

.guides__list { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.guides__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  text-decoration: none;
  transition: border-color 0.2s;
}
.guides__link:hover { border-color: var(--accent); }
.guides__link svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--hud); }
.guides__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.guides__title { font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.guides__summary { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.guides__all { display: inline-block; margin-top: 12px; color: var(--accent); }

@media (max-width: 599px) {
  .jarticle__body { font-size: 16px; }
  .jarticle__body h2 { font-size: 24px; }
}

/* Looty Bay storefront */
.site-header { background: #18161b; }
.brand__word, .run-title { font-family: var(--f-ui); font-weight: 900; font-stretch: 85%; font-style: italic; }
.brand__word { font-size: 25px; white-space: nowrap; letter-spacing: -.04em; }
.brand__tag { border: 0; padding: 0; color: var(--accent); }
.brand:hover .brand__mark { transform: translateX(2px); }
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #26252a;
  border-bottom: 3px solid var(--accent);
}
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg,#17151bf2 3%,#17151bdf 26%,#17151b69 54%,transparent 80%),
              linear-gradient(0deg,#17151b70,transparent 48%), url('/public/img/street.webp') center 44% / cover;
}
.hero__grid { display: flex; align-items: center; min-height: clamp(430px,37vw,570px); padding-block: 50px; }
.hero__copy { width: min(100%,610px); }
.hero__line { display: block; font: 700 clamp(17px,1.6vw,23px)/1.1 var(--f-ui); text-transform: uppercase; letter-spacing: .13em; }
.run-title { display: block; margin: 8px 0 20px; font-size: clamp(74px,9vw,132px); letter-spacing: -.04em; line-height: .96; }
.run-title em { color: var(--accent); }
.hero__lead { max-width: 40ch; font-size: clamp(16px,1.3vw,19px); line-height: 1.55; color: #f1eae4; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.store-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 17px; border-bottom: 1px solid var(--line); }
.readout { flex: 1; max-width: 800px; border: none; }
.readout__cell { flex-direction: row-reverse; justify-content: flex-end; align-items: center; padding-block: 4px; gap: 10px; }
.readout dd { font-size: clamp(24px,3vw,37px); }
.readout dt { max-width: 13ch; }
.map-panel { position: relative; z-index: 5; }
.map-panel summary { cursor: pointer; padding: 9px 0; color: var(--hud); font-weight: 600; }
.map-panel .radar-wrap { position: absolute; right: 0; width: min(500px,calc(100vw - 32px)); background-color: var(--surface); border: 1px solid var(--line); }
.card { --cc: 0px; }
.card__cover { filter: saturate(.95); }
.card__media { background: var(--surface-2); }
.page-home .card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 899px) {
  .page-home .card-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); }
  .hero__grid { min-height: 405px; }
  .readout__cell { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width: 599px) {
  .brand__tag { display: none; }
  .hero::before { background: linear-gradient(0deg,#17151b 3%,#17151bf0 35%,#17151b22 78%),url('/public/img/street.webp') 64% top / auto 75% no-repeat; }
  .hero__grid { padding-block: 135px 24px; min-height: 425px; align-items: flex-end; }
  .hero__actions { gap: 8px; margin-top: 18px; }
  .hero__actions .btn { flex: 1; font-size: 13px; padding-inline: 8px; }
  .run-title { margin-bottom: 12px; }
  .store-summary { display: block; }
  .map-panel { margin-top: 8px; }
  .map-panel .radar-wrap { position: static; width: 100%; }
  .readout__cell { padding-block: 4px; }
}
