/* Blade Runner 2049 / HUD — полная дизайн-система + legacy aliases */
:root {
  /* —— Spacing: 8px grid —— */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --section-pad-y: clamp(var(--space-4), 5vw, var(--space-6));
  --section-pad-x: var(--space-2);
  --tap-min: 44px;

  /* —— Палитра (кино-промо + HUD) —— */
  --color-bg-primary: #050a12;
  --color-bg-deep: #080f1c;
  --color-bg-mid: #0c1526;
  --color-surface: rgba(15, 23, 42, 0.88);
  --color-surface-elevated: rgba(23, 33, 54, 0.82);
  --color-surface-glass: rgba(12, 20, 36, 0.42);
  --color-accent: #5eead4;
  --color-accent-bright: #22d3ee;
  --color-accent-soft: rgba(94, 234, 212, 0.35);
  --color-accent-magenta: #f472b6;
  --color-accent-magenta-deep: #db2777;
  --color-accent-amber: #fbbf24;
  --color-accent-violet: #a78bfa;
  --color-accent-red: #ff003c;
  --color-text-primary: #e8eef7;
  --color-text-secondary: #8b9cb3;
  --color-border: rgba(94, 234, 212, 0.1);
  --color-border-strong: rgba(94, 234, 212, 0.22);

  /* —— Radius —— */
  --radius-xs: 2px;
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* —— Тени / свечение —— */
  --shadow-card:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(34, 211, 238, 0.06);
  --shadow-inset-deep: inset 0 0 60px rgba(0, 0, 0, 0.35);
  --shadow-glow-cyan: 0 0 28px rgba(34, 211, 238, 0.5);
  --shadow-glow-magenta: 0 0 32px rgba(244, 114, 182, 0.35);

  /* —— Layout —— */
  --max: 1280px;
  --content-prose: 720px;
  /* Превью в таблицах: единый квадратный кадр */
  --thumb-frame: 160px;
  --thumb-frame-dual: 108px;
  /* Минимум ширины колонки «ФОТО»: кадр + паддинги и строка с dual-thumb (2×dual + gap) */
  --thumb-col-min: max(
    calc(var(--thumb-frame) + 24px),
    calc(2 * var(--thumb-frame-dual) + var(--space-1) + 24px)
  );
  /* На мобиле размер задаём в медиазапросе (min() в custom property даёт сбои в части WebView) */

  /* —— Typography —— */
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", "Segoe UI", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
  --font-label: var(--font-mono);
  --lh-tight: 1.25;
  --lh-body: 1.45;

  /* Legacy names → tokens (не ломать существующие селекторы) */
  --void: var(--color-bg-primary);
  --deep: var(--color-bg-deep);
  --panel: var(--color-surface);
  --panel-2: var(--color-surface-elevated);
  --cyan: var(--color-accent);
  --cyan-dim: var(--color-accent-soft);
  --magenta: var(--color-accent-magenta);
  --amber: var(--color-accent-amber);
  --violet: var(--color-accent-violet);
  --text: var(--color-text-primary);
  --muted: var(--color-text-secondary);
  --line: var(--color-border);
  --line-strong: var(--color-border-strong);
  --glow-cyan: var(--shadow-glow-cyan);
  --glow-mag: var(--shadow-glow-magenta);
  --radius-sm: var(--radius-xs);

  /* Таблицы: HUD-стиль — только горизонтали, без вертикальной сетки */
  --table-row-line: rgba(51, 65, 85, 0.55);
  --table-header-line: rgba(94, 234, 212, 0.28);
  --table-score-text: rgba(165, 243, 252, 0.95);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: var(--lh-body);
  letter-spacing: 0.03em;
  color: var(--text);
  word-break: normal;
  overflow-wrap: break-word;
  background-color: var(--void);
  background-image:
    radial-gradient(ellipse 90% 70% at 0% 40%, rgba(147, 51, 234, 0.16), transparent 55%),
    radial-gradient(ellipse 85% 60% at 100% 20%, rgba(6, 182, 212, 0.1), transparent 52%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(219, 39, 119, 0.08), transparent 58%),
    radial-gradient(ellipse 50% 40% at 70% 60%, rgba(59, 130, 246, 0.05), transparent 50%),
    linear-gradient(180deg, var(--void) 0%, var(--color-bg-deep) 50%, #04080f 100%);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}

/* Точечная сетка «blueprint» — как на референсах, без жёстких линий */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(circle at center, rgba(148, 163, 184, 0.11) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, black 12%, transparent 72%);
  opacity: 0.5;
}

/* Лёгкие scanlines CRT */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(0, 0, 0, 0.06) 4px,
    rgba(0, 0, 0, 0.06) 5px
  );
  opacity: 0.28;
}

main,
nav,
footer,
header.hero {
  position: relative;
  z-index: 3;
}

main {
  overflow-x: hidden;
}

/* Заголовки: перенос по словам, не по буквам */
h1,
h2,
h3 {
  word-break: normal;
  overflow-wrap: break-word;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
  color: var(--amber);
  text-shadow: 0 0 12px rgba(255, 159, 28, 0.5);
  text-decoration: none;
}

main a:not(.btn):hover {
  color: #ecfeff;
  text-shadow:
    0 0 16px rgba(94, 234, 212, 0.55),
    0 0 28px rgba(244, 114, 182, 0.2);
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 10, 18, 0.55);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  border-bottom: 1px solid rgba(94, 234, 212, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 0, 60, 0.12);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-2) var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) 18px;
  align-items: center;
  justify-content: center;
}

.nav-drawer {
  width: 100%;
}

.nav-drawer-toggle {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.92);
  min-height: var(--tap-min);
  padding: 12px var(--space-2);
  margin: 0 auto;
  max-width: 280px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.nav-drawer-toggle:hover {
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.2);
  color: var(--cyan);
}

.nav-drawer-toggle::-webkit-details-marker {
  display: none;
}

.nav-drawer-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 14px 4px 6px;
}

.nav-drawer-panel a {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.75);
  min-height: var(--tap-min);
  padding: 10px var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, text-shadow 0.2s, border-color 0.2s;
}

.nav-drawer-panel a:hover {
  color: #f8fafc;
  border-color: rgba(94, 234, 212, 0.2);
  background: rgba(255, 255, 255, 0.03);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

@media (min-width: 768px) {
  .nav-drawer {
    display: contents;
    width: auto;
  }

  .nav-drawer-toggle {
    display: none !important;
  }

  .nav-drawer-panel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    padding: 0;
    flex: 1 1 100%;
  }

  .nav-drawer-panel a {
    padding: 6px 10px;
    text-align: left;
  }
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6) var(--space-3) clamp(var(--space-6), 12vh, 120px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 15% 30%, rgba(192, 38, 211, 0.2), transparent 52%),
    radial-gradient(ellipse 90% 70% at 88% 25%, rgba(6, 182, 212, 0.14), transparent 48%),
    radial-gradient(ellipse 70% 55% at 50% 95%, rgba(59, 130, 246, 0.08), transparent 55%),
    linear-gradient(180deg, #020508 0%, #0a1020 38%, #060b14 100%);
  border-bottom: 1px solid rgba(94, 234, 212, 0.1);
  box-shadow: inset 0 -80px 120px rgba(0, 0, 0, 0.45);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(244, 114, 182, 0.95);
  text-shadow:
    0 0 24px rgba(244, 114, 182, 0.55),
    0 0 48px rgba(34, 211, 238, 0.2);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.2vw, 50px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 960px;
  color: #f8fafc;
  text-transform: uppercase;
  text-shadow:
    0 0 48px rgba(34, 211, 238, 0.35),
    0 0 96px rgba(192, 38, 211, 0.22),
    0 2px 0 rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.hero-lead {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.88);
  max-width: 640px;
  margin: 0 0 32px;
  position: relative;
  z-index: 1;
}

.hero-lead .neon-highlight {
  color: var(--cyan);
  font-weight: 700;
  text-shadow: 0 0 20px rgba(94, 234, 212, 0.65);
}

.hero-assembled-stamp {
  position: absolute;
  top: 28px;
  right: clamp(12px, 4vw, 56px);
  margin-left: 0;
  font-size: 0.9rem;
  padding: 0.2em 0.75em 0.15em;
  transform: rotate(-18deg);
  transform-origin: center;
  z-index: 2;
  pointer-events: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 16px;
  margin: 0 auto 36px;
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1000px) {
  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
  padding: 14px 12px;
  background: rgba(8, 15, 30, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 28px rgba(34, 211, 238, 0.07);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.hero-stat:hover {
  border-color: rgba(94, 234, 212, 0.32);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 36px rgba(34, 211, 238, 0.12);
}

.hero-stat__val {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #ecfeff;
  text-shadow: 0 0 14px rgba(94, 234, 212, 0.55);
}

.hero-stat__lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-cta--quick {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-2);
}

.hero-cta--quick .btn {
  padding: 10px 14px;
  font-size: 11px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 12px 22px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.15s,
    color 0.2s,
    border-color 0.2s;
  border: 1px solid transparent;
}

/* Primary: светлая «капсула» как на промо BR — акцент маджента */
.btn-primary {
  background: rgba(248, 250, 252, 0.96);
  color: #a21caf;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 0 28px rgba(244, 114, 182, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: #fff;
  color: #86198f;
  box-shadow:
    0 0 36px rgba(244, 114, 182, 0.5),
    0 0 24px rgba(34, 211, 238, 0.15);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: rgba(248, 250, 252, 0.88);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.18);
  text-decoration: none;
  color: #fff;
}

/* Section: центрирование контента, единые отступы (8px grid) */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-pad-y) var(--section-pad-x);
  width: 100%;
}

/* Секции без отдельных «простыней» — глубина задаётся общим фоном body */

/* Заголовок раздела: тонкая линия BR + неоновый штрих */
.wrap > h2 {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-top: 10px;
}

.wrap > h2::before {
  content: "";
  width: 3px;
  min-height: 1.2em;
  margin-top: 0.12em;
  flex-shrink: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--color-accent-red) 0%, var(--color-accent-bright) 100%);
  box-shadow:
    0 0 16px rgba(255, 0, 60, 0.45),
    0 0 24px rgba(34, 211, 238, 0.25);
}

.wrap > h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(120px, 28%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 0, 60, 0.65), transparent);
  pointer-events: none;
}

/*
 * Компоненты (семантика в CSS; разметка таблиц не трогаем):
 * - Section → .wrap
 * - Card → .card + .card-pad
 * - Button → .btn (+ .btn-primary | .btn-ghost)
 * - LabelValueRow (мобилка) → строки table.data tbody td: метка ::before, значение — потомок
 */

@media (max-width: 600px) {
  .wrap {
    padding-left: max(var(--space-2), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-2), env(safe-area-inset-right, 0px));
  }
}

.section-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(94, 234, 212, 0.85);
  margin: 0 0 var(--space-2);
  padding-left: var(--space-2);
  border-left: 2px solid rgba(255, 0, 60, 0.55);
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.3);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-2);
  color: #f1f5f9;
  text-transform: uppercase;
  text-shadow:
    0 0 40px rgba(34, 211, 238, 0.25),
    0 0 72px rgba(192, 38, 211, 0.12);
}

h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: var(--space-5) 0 var(--space-2);
  color: #fbbf24;
  text-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
}

.prose {
  color: var(--muted);
  max-width: var(--content-prose);
  word-break: normal;
  overflow-wrap: break-word;
}

.prose p,
.prose li {
  margin-bottom: 12px;
}

.prose ul {
  padding-left: 1.2em;
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.card {
  background: rgba(12, 22, 40, 0.38);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(94, 234, 212, 0.12);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-pad {
  padding: var(--space-4);
}

.card-pad.flush-top {
  padding-top: 0;
}

.shot-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 900px) {
  .shot-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

figure.shot {
  margin: 0;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(94, 234, 212, 0.1);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(34, 211, 238, 0.06);
  overflow: hidden;
}

figure.shot-tile {
  margin-top: 32px;
  max-width: 100%;
}

figure.shot-tile--tight {
  margin-top: 24px;
}

figure.shot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  filter: contrast(1.03) saturate(1.08);
}

figcaption {
  padding: 16px 20px 20px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-weight: 500;
}

figcaption strong {
  color: var(--cyan);
  font-weight: 700;
}

.badge {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(219, 39, 119, 0.12);
  color: #fbcfe8;
  border: 1px solid rgba(244, 114, 182, 0.4);
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.15);
}

.badge--cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #a5f3fc;
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);
}

.card--alt-pick {
  border-color: rgba(94, 234, 212, 0.22);
  box-shadow:
    var(--shadow-card),
    0 0 32px rgba(34, 211, 238, 0.08);
}

.featured-pick-title,
.featured-psu-title {
  margin: 10px 0 8px;
  font-size: 26px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: #f8fafc;
  text-shadow:
    0 0 28px rgba(34, 211, 238, 0.3),
    0 0 48px rgba(192, 38, 211, 0.12);
}

.mb-featured {
  margin-bottom: 28px;
}

.prose-tight {
  margin: 0;
}

.prose-after-table {
  margin: 16px 0 0;
}

.prose-note {
  font-size: 14px;
}

.prose-spaced-top {
  margin-top: 24px;
}

table.data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  margin: 0;
  font-weight: 500;
}

table.data th,
table.data td {
  text-align: left;
  padding: 12px 14px;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid var(--table-row-line);
  vertical-align: top;
  background: transparent;
}

table.data th {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(94, 234, 212, 0.92);
  background: transparent;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.28);
  border-bottom: 1px solid var(--table-header-line);
}

table.data thead th {
  padding-bottom: 14px;
}

table.data tbody tr:hover td {
  background: transparent;
}

table.data tbody tr:hover {
  background: rgba(34, 211, 238, 0.04);
}

/* Финальный лот: ровный «туман» на строке, без градиента по ячейкам и без inset-рамок */
.table-scroll table.data tbody tr.pick-row {
  background: rgba(34, 211, 238, 0.06);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.08);
}

.table-scroll table.data tbody tr.pick-row td {
  background: transparent;
  border-bottom-color: var(--table-row-line);
}

.table-scroll table.data tbody tr.pick-row:hover {
  background: rgba(34, 211, 238, 0.095);
  box-shadow: 0 0 48px rgba(34, 211, 238, 0.12);
}

/* «Наш балл» — только типографика, без фона столбца */
.table-scroll table.intro-picks tbody tr:not(.intro-picks-totals) td:last-child {
  text-align: center;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  font-size: 0.95em;
  color: var(--table-score-text);
}

.table-scroll table.intro-picks tbody tr:not(.intro-picks-totals) td:last-child strong {
  font-weight: 600;
  color: inherit;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  display: inline;
}

.table-scroll table.data:not(.intro-picks) tbody td:nth-child(2) {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  font-size: 0.93em;
  color: var(--table-score-text);
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.22);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-3) 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(94, 234, 212, 0.18);
  background: rgba(6, 12, 24, 0.65);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  box-shadow:
    0 0 36px rgba(34, 211, 238, 0.1),
    0 0 80px rgba(147, 51, 234, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-width: 100%;
}

.card > .table-scroll {
  margin: 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.table-scroll table {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .table-scroll table {
    table-layout: fixed;
  }
}

.table-scroll table.data {
  font-size: 14px;
}

.table-scroll table.data th,
.table-scroll table.data td {
  padding: 12px 14px;
}

.table-scroll table.data th {
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.table-scroll th,
.table-scroll td {
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: manual;
}

.table-scroll td.thumb-cell {
  width: var(--thumb-col-min);
  min-width: var(--thumb-col-min);
  box-sizing: border-box;
  text-align: center;
  vertical-align: middle;
  padding: var(--space-1) 6px !important;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.table-scroll:has(.thumb-cell) thead th:first-child {
  width: var(--thumb-col-min);
  min-width: var(--thumb-col-min);
  box-sizing: border-box;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

/* Квадратная рамка + contain — одинаково во всех карточках/таблицах */
.table-thumb {
  box-sizing: border-box;
  display: block;
  width: var(--thumb-frame);
  height: auto;
  max-width: var(--thumb-frame);
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius-md);
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(94, 234, 212, 0.22);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.12);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.table-scroll tbody tr:not(.intro-picks-totals) .table-thumb:hover {
  transform: scale(1.04);
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow:
    0 0 24px rgba(34, 211, 238, 0.35),
    0 0 32px rgba(244, 114, 182, 0.12);
}

.dual-thumb {
  display: inline-flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.dual-thumb .table-thumb {
  width: var(--thumb-frame-dual);
  height: auto;
  max-width: var(--thumb-frame-dual);
  aspect-ratio: 1;
}

/* Сетка Ozon по NVMe — прямоугольный скрин, не квадрат лота */
.table-thumb.table-thumb--ssd-grid {
  width: auto;
  max-width: 120px;
  height: auto;
  max-height: 88px;
  aspect-ratio: auto;
}

.table-scroll table.data td:last-child {
  min-width: 0;
}

/* Таблицы CPU / GPU: без Ozon/отзывов — «Кратко» забирает оставшуюся ширину */
.table-scroll table.data-cpu-comparison,
.table-scroll table.data-gpu-comparison {
  table-layout: fixed;
  width: 100%;
}

.table-scroll table.data-cpu-comparison th:nth-child(1),
.table-scroll table.data-cpu-comparison td:nth-child(1),
.table-scroll table.data-gpu-comparison th:nth-child(1),
.table-scroll table.data-gpu-comparison td:nth-child(1) {
  width: var(--thumb-col-min);
  min-width: var(--thumb-col-min);
  box-sizing: border-box;
}

.table-scroll table.data-cpu-comparison th:nth-child(2),
.table-scroll table.data-cpu-comparison td:nth-child(2),
.table-scroll table.data-gpu-comparison th:nth-child(2),
.table-scroll table.data-gpu-comparison td:nth-child(2) {
  width: 5.25rem;
}

.table-scroll table.data-cpu-comparison th:nth-child(3),
.table-scroll table.data-cpu-comparison td:nth-child(3),
.table-scroll table.data-gpu-comparison th:nth-child(3),
.table-scroll table.data-gpu-comparison td:nth-child(3) {
  width: 6.5rem;
}

.table-scroll table.data-cpu-comparison th:nth-child(4),
.table-scroll table.data-cpu-comparison td:nth-child(4),
.table-scroll table.data-gpu-comparison th:nth-child(4),
.table-scroll table.data-gpu-comparison td:nth-child(4) {
  width: 20%;
}

.table-scroll table.data-cpu-comparison th:nth-child(5),
.table-scroll table.data-cpu-comparison td:nth-child(5),
.table-scroll table.data-gpu-comparison th:nth-child(5),
.table-scroll table.data-gpu-comparison td:nth-child(5) {
  width: 9.5rem;
}

.table-scroll table.data-gpu-comparison th:nth-child(5),
.table-scroll table.data-gpu-comparison td:nth-child(5) {
  width: 7.5rem;
}

.table-scroll table.data-cpu-comparison th:nth-child(6),
.table-scroll table.data-cpu-comparison td:nth-child(6),
.table-scroll table.data-gpu-comparison th:nth-child(6),
.table-scroll table.data-gpu-comparison td:nth-child(6) {
  width: auto;
  min-width: 12rem;
}

.table-scroll table.data.intro-picks {
  font-size: 16px;
}

.table-scroll table.data.intro-picks th,
.table-scroll table.data.intro-picks td {
  vertical-align: top;
}

.table-scroll table.data.intro-picks tbody tr.intro-picks-totals {
  background: transparent;
  box-shadow: none;
}

.table-scroll table.data.intro-picks tbody tr.intro-picks-totals td {
  border-top: 1px solid var(--table-header-line);
  padding-top: 14px;
  line-height: 1.55;
}

.table-scroll table.data.intro-picks tbody tr.intro-picks-totals td.intro-picks-totals-lines {
  line-height: 1.65;
}

/* Позиция закрыта / куплено — HUD: розовый неон + cyan rim */
.blade-stamp {
  display: inline-block;
  margin-left: 0.35em;
  padding: 0.15em 0.55em 0.12em;
  font-family: var(--font-label);
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 0.15em;
  color: #fbcfe8;
  text-shadow:
    0 0 10px rgba(244, 114, 182, 0.55),
    0 0 20px rgba(34, 211, 238, 0.2);
  border: 1px solid rgba(244, 114, 182, 0.45);
  border-radius: var(--radius-xs);
  background: linear-gradient(
    135deg,
    rgba(219, 39, 119, 0.14) 0%,
    rgba(6, 182, 212, 0.08) 50%,
    rgba(8, 15, 30, 0.88) 100%
  );
  box-shadow:
    inset 0 0 12px rgba(244, 114, 182, 0.1),
    0 0 16px rgba(34, 211, 238, 0.08);
}

.blade-stamp--inline {
  margin-left: 0.25em;
  font-size: 0.55em;
  vertical-align: middle;
}

/* Маркер «заказано» — янтарный / жёлтый */
.order-stamp {
  display: inline-block;
  margin-left: 0.35em;
  padding: 0.15em 0.55em 0.12em;
  font-family: var(--font-label);
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 0.15em;
  color: #1a0f00;
  border: 1px solid rgba(255, 200, 100, 0.75);
  border-radius: var(--radius-xs);
  background: linear-gradient(
    145deg,
    rgba(255, 220, 120, 0.98) 0%,
    rgba(255, 180, 60, 0.92) 45%,
    rgba(255, 159, 28, 0.88) 100%
  );
  box-shadow:
    0 0 10px rgba(255, 180, 60, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.order-stamp--inline {
  margin-left: 0.25em;
  font-size: 0.55em;
  vertical-align: middle;
}

.table-scroll table.data.intro-picks tbody tr.intro-picks-row--closed {
  background: rgba(219, 39, 119, 0.05);
  box-shadow: 0 0 28px rgba(244, 114, 182, 0.06);
}

.table-scroll table.data.intro-picks tbody tr.intro-picks-row--closed td {
  background: transparent;
}

.table-scroll table.data.intro-picks tbody tr.intro-picks-row--closed:hover {
  background: rgba(219, 39, 119, 0.08);
}

/* Совпадает с общим pick-row; отдельный градиент не нужен */
.table-scroll table.data-gpu-comparison tbody tr.pick-row.gpu-row--closed td {
  background: transparent;
}

.table-scroll table.data-gpu-comparison tbody tr.gpu-row--closed:not(.pick-row) {
  background: rgba(219, 39, 119, 0.05);
  box-shadow: 0 0 28px rgba(244, 114, 182, 0.06);
}

.table-scroll table.data-gpu-comparison tbody tr.gpu-row--closed:not(.pick-row) td {
  background: transparent;
}

.table-scroll table.data-gpu-comparison tbody tr.gpu-row--closed:not(.pick-row):hover {
  background: rgba(219, 39, 119, 0.08);
}

.table-scroll table.data thead th .th-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

#rating-method .rating-method-list {
  max-width: var(--content-prose);
  margin: 0 0 1.25rem;
  padding-left: 1.15em;
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
}

#rating-method .rating-method-list li + li {
  margin-top: 0.4rem;
}

.table-scroll table.cases-grid {
  font-size: 12.5px;
}

.table-scroll table.cases-grid th {
  font-size: 8px;
  letter-spacing: 0.06em;
  padding: 5px 4px;
}

.table-scroll table.cases-grid td {
  padding: 5px 5px;
}

.table-scroll table.cases-grid td:nth-last-child(-n + 2) {
  min-width: 0;
}

@media (min-width: 900px) {
  .table-thumb {
    width: var(--thumb-frame);
    height: auto;
    max-width: var(--thumb-frame);
    aspect-ratio: 1;
  }

  .dual-thumb .table-thumb {
    width: var(--thumb-frame-dual);
    height: auto;
    max-width: var(--thumb-frame-dual);
    aspect-ratio: 1;
  }
}

.divider {
  height: 1px;
  margin: var(--space-6) auto;
  max-width: var(--max);
  width: calc(100% - var(--space-6));
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 0, 60, 0.35) 22%,
    rgba(94, 234, 212, 0.35) 50%,
    rgba(192, 38, 211, 0.25) 78%,
    transparent 100%
  );
  opacity: 0.85;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

footer {
  padding: var(--space-6) var(--space-3) 100px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  border-top: 1px solid rgba(94, 234, 212, 0.08);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}

/* ——— Мобильная вёрстка таблиц + режим производительности (≤767px) ——— */
@media (max-width: 767px) {
  :root {
    --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.42);
  }

  /* Дорого на GPU: blur под фиксированными слоями и тяжёлые фоны */
  body {
    background-image: linear-gradient(180deg, var(--void) 0%, var(--color-bg-deep) 100%);
    font-size: 16px;
  }

  body::before,
  body::after {
    display: none !important;
  }

  .nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(5, 10, 18, 0.94);
    box-shadow: 0 1px 0 rgba(94, 234, 212, 0.08);
  }

  .hero {
    background: linear-gradient(180deg, #020508 0%, #0c1526 100%);
    box-shadow: none;
  }

  .hero::before {
    display: none !important;
  }

  .hero h1 {
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.22);
  }

  .hero-eyebrow {
    text-shadow: 0 0 12px rgba(244, 114, 182, 0.35);
  }

  .hero-stat {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.2);
  }

  .hero-stat:hover {
    box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.32);
  }

  .card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 23, 42, 0.97);
    box-shadow: var(--shadow-card);
  }

  .card--alt-pick {
    box-shadow: var(--shadow-card);
  }

  figure.shot img {
    filter: none;
  }

  .table-scroll:has(.thumb-cell) thead th:first-child {
    border-right: none;
  }

  .table-scroll {
    overflow-x: visible;
    margin: var(--space-2) 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .card > .table-scroll {
    border: none;
  }

  .table-scroll table.data {
    display: block;
    width: 100%;
    font-size: 16px;
  }

  .table-scroll table.data thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .table-scroll table.data tbody {
    display: block;
  }

  .table-scroll table.data tbody tr {
    display: block;
    margin-bottom: var(--space-2);
    padding: var(--space-1) var(--space-2) 2px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(94, 234, 212, 0.18);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
  }

  .table-scroll table.data tbody tr:last-child {
    margin-bottom: 0;
  }

  .table-scroll table.data tbody tr.pick-row {
    border-color: rgba(94, 234, 212, 0.4);
    background: rgba(6, 78, 82, 0.35);
    box-shadow: var(--shadow-card);
  }

  /* Карточка строки: метка через ::before + единый текстовый поток (без flex у детей —
     иначе текст и <span> делят ширину поровну и короткие подписи «ломаются» в столбик) */
  .table-scroll table.data tbody td {
    display: block;
    overflow: hidden;
    clear: both;
    padding: var(--space-2) 0 !important;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    min-width: 0;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .table-scroll table.data tbody td:last-child {
    border-bottom: none;
    padding-bottom: var(--space-1) !important;
  }

  /* Метка на всю ширину, значение ниже — иначе при float длинная подпись
     сужает колонку текста до «полоски» и рвёт короткие слова (Intel, ASUS, цены) */
  .table-scroll table.data tbody td::before {
    float: none;
    display: block;
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-bottom: var(--space-1);
    font-family: var(--font-label);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(94, 234, 212, 0.9);
    line-height: 1.35;
    padding-top: 0;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.35);
  }

  .table-scroll table.data tbody td:nth-child(1)::before {
    content: "ФОТО";
  }

  .table-scroll table.data tbody td:nth-child(2)::before {
    content: "НАШ БАЛЛ";
  }

  .table-scroll table.data tbody td:nth-child(3)::before {
    content: "ПРОИЗВОДИТЕЛЬ";
  }

  .table-scroll table.data tbody td:nth-child(4)::before {
    content: "МОДЕЛЬ";
  }

  .table-scroll table.data tbody td:nth-child(5)::before {
    content: "ЦЕНА";
  }

  .table-scroll table.data tbody td:nth-child(6)::before {
    content: "★ OZON";
  }

  .table-scroll table.data tbody td:nth-child(7)::before {
    content: "ОТЗЫВОВ";
  }

  .table-scroll table.data tbody td:nth-child(8)::before {
    content: "КРАТКО";
  }

  /* CPU / GPU: 6 колонок — подпись «КРАТКО» на последней ячейке строки */
  .table-scroll table.data-cpu-comparison tbody td:nth-child(6)::before,
  .table-scroll table.data-gpu-comparison tbody td:nth-child(6)::before {
    content: "КРАТКО";
  }

  .table-scroll table.data.intro-picks tbody td:nth-child(1)::before {
    content: "ФОТО";
  }

  .table-scroll table.data.intro-picks tbody td:nth-child(2)::before {
    content: "КОМПОНЕНТ";
  }

  .table-scroll table.data.intro-picks tbody td:nth-child(3)::before {
    content: "ЛОТ В СМЕТЕ";
  }

  .table-scroll table.data.intro-picks tbody td:nth-child(4)::before {
    content: "ЦЕНА";
  }

  .table-scroll table.data.intro-picks tbody td:nth-child(5)::before {
    content: "МАГАЗИН";
  }

  .table-scroll table.data.intro-picks tbody td:nth-child(6)::before {
    content: "ДОСТАВКА";
  }

  .table-scroll table.data.intro-picks tbody td:nth-child(7)::before {
    content: "НАШ БАЛЛ";
  }

  .table-scroll table.data.intro-picks tbody tr.intro-picks-totals td {
    display: block;
    border-bottom: none;
    padding-top: 16px !important;
  }

  .table-scroll table.data.intro-picks tbody tr.intro-picks-totals td::before {
    display: none !important;
    content: "" !important;
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  .table-scroll table.data tbody td.thumb-cell {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100% !important;
    max-width: 100%;
    min-width: 0 !important;
    border-right: none;
  }

  .table-scroll table.data tbody td.thumb-cell::before {
    float: none;
    display: block;
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-bottom: 8px;
    text-align: center;
    flex-shrink: 0;
  }

  /* Не ограничивать img по max-width: 100% от узкого td — иначе квадрат схлопывается в «шахту» */
  .table-scroll table.data tbody td.thumb-cell > * {
    display: block;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .table-scroll table.data tbody tr:hover td {
    background: transparent;
  }

  /* Крупное квадрат: min() в свойстве width (не в custom property — совместимость WebView) */
  .table-scroll .table-thumb {
    width: min(280px, calc(100vw - 3rem));
    height: auto;
    max-width: min(280px, calc(100vw - 3rem));
    aspect-ratio: 1;
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }

  .table-scroll .dual-thumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    width: min(280px, calc(100vw - 3rem));
    max-width: 100%;
    margin: 0 auto;
  }

  .table-scroll .dual-thumb .table-thumb {
    flex: 1 1 calc(50% - var(--space-1));
    width: calc(50% - var(--space-1));
    min-width: 0;
    height: auto;
    max-width: none;
    aspect-ratio: 1;
  }

  .table-thumb.table-thumb--ssd-grid {
    width: auto;
    max-width: min(200px, 88vw);
    height: auto;
    max-height: 120px;
    aspect-ratio: auto;
  }

  /* Touch: без scale — меньше перерисовок */
  .table-scroll tbody tr:not(.intro-picks-totals) .table-thumb:hover {
    transform: none;
  }

  .hero {
    min-height: auto;
    padding: var(--space-6) var(--space-2) clamp(var(--space-6), 10vh, 88px);
  }

  .hero h1 {
    font-size: clamp(24px, 7.5vw, 40px);
    padding: 0 4px;
  }

  .hero-lead {
    font-size: 16px;
    max-width: none;
    padding: 0 4px;
    line-height: 1.45;
  }

  .hero-assembled-stamp {
    top: 14px;
    right: 10px;
    font-size: 0.72rem;
  }

  .hero-stats {
    max-width: none;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stat {
    min-width: 0;
  }

  .nav-inner {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }

  #rating-method .rating-method-list {
    font-size: 14px;
    padding-left: 1.1em;
  }

  .prose-spaced-top {
    margin-top: 18px;
  }

  .wrap {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }

  /* Якоря: заголовок не уезжает под sticky-навбар */
  .wrap h2,
  .wrap h3 {
    scroll-margin-top: 80px;
  }

  /* Якоря: заголовок не уезжает под sticky-навбар */
  .wrap h2,
  .wrap h3 {
    scroll-margin-top: 76px;
  }

  .card-pad {
    padding: var(--space-3) var(--space-2);
  }

  .featured-pick-title,
  .featured-psu-title {
    font-size: clamp(17px, 4.8vw, 22px);
    line-height: 1.2;
    word-break: break-word;
    hyphens: none;
  }

  h3 {
    font-size: 17px;
    margin-top: 32px;
  }

  .divider {
    margin: var(--space-4) auto;
    width: calc(100% - var(--space-3));
    box-shadow: none;
  }

  /* Спецификация (#intro): длинные лоты на узком экране */
  .table-scroll table.data.intro-picks {
    font-size: 14px;
  }

  .table-scroll table.data.intro-picks tbody td {
    gap: 8px 10px;
  }

  .table-scroll table.data.intro-picks tbody td:nth-child(3) {
    overflow-wrap: break-word;
  }

  /* CPU / GPU: те же полноширинные метки, чуть плотнее типографика */
  .table-scroll table.data-cpu-comparison tbody td::before,
  .table-scroll table.data-gpu-comparison tbody td::before {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  /* Шкала CPU/GPU на мобиле — одна колонка имя сверху, полоса + цифра снизу */
  .perf-scale {
    margin: 16px 0 22px;
    padding: 14px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .perf-scale__title {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .perf-scale__note {
    max-width: none;
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .perf-scale__row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 10px;
    margin-bottom: 10px;
  }

  .perf-scale__name {
    grid-column: 1 / -1;
    font-size: 0.88rem;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .perf-scale__track {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }

  .perf-scale__idx {
    grid-row: 2;
    align-self: center;
    font-size: 0.82rem;
  }

  .perf-scale__fill,
  .perf-scale__fill--accent {
    box-shadow: none;
  }
}

/* Ориентир относительной производительности (#cpu, #gpu) */
.perf-scale {
  margin: var(--space-2) 0 var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: rgba(12, 22, 40, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(94, 234, 212, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.perf-scale__title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

.perf-scale__note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.4;
  max-width: 52ch;
}

.perf-scale__row {
  display: grid;
  grid-template-columns: minmax(140px, 1.1fr) minmax(0, 2.6fr) 44px;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 12px;
}

.perf-scale__row:last-child {
  margin-bottom: 0;
}

.perf-scale__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.perf-scale__track {
  height: 11px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(94, 234, 212, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.perf-scale__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.5), var(--cyan));
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-sm);
  min-width: 3px;
}

.perf-scale__fill--accent {
  background: linear-gradient(90deg, rgba(219, 39, 119, 0.45), #f472b6);
  box-shadow: 0 0 14px rgba(244, 114, 182, 0.35);
}

.perf-scale__fill--muted {
  opacity: 0.72;
  box-shadow: none;
}

.perf-scale__row--context .perf-scale__name {
  font-weight: 500;
}

.perf-scale__row--context .perf-scale__idx {
  color: var(--muted);
}

.perf-scale__idx {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--cyan);
  text-align: right;
  line-height: 1.2;
}

.perf-scale__idx small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 2px 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: var(--radius-sm);
  color: #a5f3fc;
}

/* Базовый .perf-scale ниже по файлу перебивал blur-off на мобиле — фикс в конце каскада */
@media (max-width: 767px) {
  .perf-scale {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 23, 42, 0.97) !important;
    box-shadow: var(--shadow-card) !important;
  }
}
