/* ==========================================================================
   «Ровно» — ежедневник о теннисе. tennis.sport-news-futbol.top
   Единственный файл стилей. Внешних ресурсов нет: шрифты системные.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Токены. Светлая тема — основная, тёмная собрана отдельно (см. §2).
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Поверхности: бумага → карточка → выделенный блок */
  --paper: #f1f2ee;
  --surface: #ffffff;
  --surface-2: #e7e9e3;
  --surface-3: #dbdfd4;

  /* Текст */
  --ink: #1a1c17;
  --ink-2: #4e5348;
  --ink-3: #6b7164;

  /* Линии */
  --line: #d2d6cc;
  --line-strong: #b3b9ab;

  /* Акцент — зелёный корта. Единственный цвет, который что-то значит. */
  --accent: #1c6b47;
  --accent-hover: #145236;
  --accent-soft: #e0ece5;
  --on-accent: #ffffff;

  /* Метки покрытий. Это информация о турнире, а не украшение. */
  --clay: #a6522c;
  --grass: #1c6b47;
  --hard: #2e5a7a;

  /* Плашки материалов */
  --plate-1-a: #1c6b47; --plate-1-b: #0d3325;
  --plate-2-a: #a6522c; --plate-2-b: #4a2313;
  --plate-3-a: #2e5a7a; --plate-3-b: #142c3d;
  --plate-4-a: #55603f; --plate-4-b: #232817;
  --plate-5-a: #7a5230; --plate-5-b: #2f2016;

  /* Шрифты */
  --face-display: Georgia, "Times New Roman", "Droid Serif", "Liberation Serif", serif;
  --face-text: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --face-mono: "Cascadia Mono", "SF Mono", Consolas, "DejaVu Sans Mono", "Liberation Mono", monospace;

  /* Размеры. База 17px, множитель ~1.25. */
  --t-label: 0.75rem;
  --t-meta: 0.8125rem;
  --t-small: 0.9375rem;
  --t-body: 1.0625rem;
  --t-lead: 1.1875rem;
  --t-h4: 1.25rem;
  --t-h3: 1.375rem;
  --t-h2: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  --t-h1: clamp(1.875rem, 1.35rem + 2.4vw, 2.875rem);
  --t-hero: clamp(2rem, 1.35rem + 2.9vw, 3.125rem);

  /* Отступы, база 4px */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 88px;

  --gutter: clamp(16px, 4vw, 40px);
  --shell: 1240px;

  --radius-s: 2px;
  --radius-m: 5px;
  --fast: 140ms;
  --calm: 240ms;
}

/* --------------------------------------------------------------------------
   2. Тёмная тема. Не инверсия: поверхности светлеют к переднему плану,
      акцент осветлён, глубина держится ступенями яркости и границами.
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --paper: #101310;
    --surface: #191d18;
    --surface-2: #222720;
    --surface-3: #2c322a;

    --ink: #e6e8e2;
    --ink-2: #a3a99c;
    --ink-3: #868c7e;

    --line: #2e342c;
    --line-strong: #414737;

    --accent: #5fbf8c;
    --accent-hover: #86d5a9;
    --accent-soft: #1a2c22;
    --on-accent: #0b1610;

    --clay: #d98f62;
    --grass: #5fbf8c;
    --hard: #77aed4;

    --plate-1-a: #1f7a51; --plate-1-b: #0a2419;
    --plate-2-a: #a8603a; --plate-2-b: #2c1810;
    --plate-3-a: #35678c; --plate-3-b: #0f2231;
    --plate-4-a: #5d6944; --plate-4-b: #1b1f12;
    --plate-5-a: #86593233; --plate-5-b: #241810;
  }
}

/* --------------------------------------------------------------------------
   3. Основа
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face-text);
  font-size: var(--t-body);
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--face-display);
  font-weight: 700;
  letter-spacing: -0.014em;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-s);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  background: var(--accent);
  color: var(--on-accent);
  padding: var(--s-3) var(--s-5);
  font-size: var(--t-small);
  font-weight: 600;
}
.skip:focus { left: var(--s-3); top: var(--s-3); }

/* Служебные мелочи */
.num { font-family: var(--face-mono); font-variant-numeric: tabular-nums; }
.vh {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. Шапка
   -------------------------------------------------------------------------- */
.top {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: var(--s-5) var(--s-4);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: inherit;
}
.wordmark:hover { color: inherit; }

.wordmark__mark { flex: 0 0 auto; width: 38px; height: 38px; }

.wordmark__name {
  display: block;
  font-family: var(--face-display);
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.wordmark__tag {
  display: block;
  margin-top: 3px;
  font-size: var(--t-label);
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.wordmark:hover .wordmark__name { color: var(--accent); }

.masthead__aside {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-size: var(--t-meta);
  color: var(--ink-2);
}
.masthead__date { font-variant-numeric: tabular-nums; }
.masthead__mail { color: var(--ink-2); }
.masthead__mail:hover { color: var(--accent); }

@media (max-width: 719px) {
  .masthead { align-items: center; }
  .masthead__aside { display: none; }
}

/* Меню разделов */
.sections {
  border-top: 1px solid var(--line);
}
.sections__list {
  display: flex;
  gap: clamp(var(--s-4), 2.4vw, var(--s-7));
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.sections__list::-webkit-scrollbar { display: none; }

.sections__link {
  display: block;
  padding: var(--s-4) 0;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--fast) ease-out, border-color var(--fast) ease-out;
}
.sections__link:hover { color: var(--accent); border-bottom-color: var(--line-strong); }
.sections__link[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* Полоса результатов дня */
.ticker {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker__row {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.ticker__caption {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  margin-right: var(--s-4);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  border-right: 1px solid var(--line-strong);
  white-space: nowrap;
}
.ticker__item {
  flex: 0 0 auto;
  padding: var(--s-3) var(--s-5) var(--s-3) 0;
  font-size: var(--t-meta);
  white-space: nowrap;
  color: var(--ink-2);
}
.ticker__item b { color: var(--ink); font-weight: 600; }
.ticker__score {
  font-family: var(--face-mono);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin-left: var(--s-2);
}

/* --------------------------------------------------------------------------
   5. Материал дня
   -------------------------------------------------------------------------- */
.lead {
  border-bottom: 1px solid var(--line);
  padding-block: var(--s-7) var(--s-8);
}

.lead__grid {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 880px) {
  .lead__grid { grid-template-columns: 1.12fr 0.88fr; gap: var(--s-8); }
}

.lead__rubric {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.012em;
  color: var(--accent);
}
.lead__rubric::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.lead__title {
  font-size: var(--t-hero);
  letter-spacing: -0.024em;
  line-height: 1.04;
}
.lead__title a { color: inherit; text-decoration: none; }
.lead__title a:hover { color: var(--accent); }

.lead__standfirst {
  margin-top: var(--s-5);
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}

.lead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-5);
  font-size: var(--t-meta);
  color: var(--ink-3);
}

.lead__art {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.lead__art svg { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   6. Тело страницы: лента + боковая колонка
   -------------------------------------------------------------------------- */
.body {
  display: grid;
  gap: var(--s-8);
  padding-block: var(--s-8) var(--s-9);
  align-items: start;
}
@media (min-width: 1040px) {
  .body { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-9) var(--s-8); }
}

.block + .block { margin-top: var(--s-8); }

.block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-6);
  border-bottom: 2px solid var(--ink);
}
.block__title { font-size: var(--t-h2); letter-spacing: -0.018em; }
.block__note { font-size: var(--t-meta); color: var(--ink-3); }

/* Лента карточек */
.feed {
  display: grid;
  gap: var(--s-7) var(--s-6);
}
@media (min-width: 640px) {
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card { display: flex; flex-direction: column; }

.card__plate {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: linear-gradient(148deg, var(--plate-a, var(--plate-1-a)), var(--plate-b, var(--plate-1-b)));
}
.card__plate svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.card__no {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-2);
  font-family: var(--face-mono);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.34);
  letter-spacing: -0.04em;
}
.card--p2 { --plate-a: var(--plate-2-a); --plate-b: var(--plate-2-b); }
.card--p3 { --plate-a: var(--plate-3-a); --plate-b: var(--plate-3-b); }
.card--p4 { --plate-a: var(--plate-4-a); --plate-b: var(--plate-4-b); }
.card--p5 { --plate-a: var(--plate-5-a); --plate-b: var(--plate-5-b); }

.card__rubric {
  margin: var(--s-4) 0 var(--s-2);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.012em;
  color: var(--ink-3);
}

.card__title {
  font-size: var(--t-h3);
  line-height: 1.2;
}
.card__title a {
  color: inherit;
  text-decoration: none;
}
.card__title a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }

.card__text {
  margin-top: var(--s-3);
  font-size: var(--t-small);
  color: var(--ink-2);
  line-height: 1.55;
}

.card__meta {
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  font-size: var(--t-meta);
  color: var(--ink-3);
}

/* Коротко */
.briefs { border-top: 1px solid var(--line); }
.brief {
  display: grid;
  gap: var(--s-1) var(--s-5);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .brief { grid-template-columns: 96px minmax(0, 1fr); }
}
.brief__time {
  font-family: var(--face-mono);
  font-size: var(--t-meta);
  color: var(--accent);
  padding-top: 2px;
}
.brief__title {
  font-family: var(--face-text);
  font-size: var(--t-h4);
  font-weight: 650;
  letter-spacing: -0.006em;
  line-height: 1.3;
}
.brief__text {
  margin-top: var(--s-2);
  font-size: var(--t-small);
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   7. Боковая колонка
   -------------------------------------------------------------------------- */
.rail { display: grid; gap: var(--s-6); }
@media (min-width: 1040px) {
  .rail { position: sticky; top: var(--s-5); }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--s-5);
}
.panel__title {
  font-size: var(--t-h4);
  letter-spacing: -0.01em;
  margin-bottom: var(--s-1);
}
.panel__note {
  font-size: var(--t-label);
  color: var(--ink-3);
  margin-bottom: var(--s-4);
}
.panel__foot {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-size: var(--t-meta);
}

/* Таблица рейтинга */
.rank { width: 100%; border-collapse: collapse; }
.rank caption {
  text-align: left;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  padding-bottom: var(--s-2);
}
.rank th,
.rank td {
  text-align: left;
  padding: 7px var(--s-2) 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-meta);
}
.rank thead th {
  font-weight: 600;
  color: var(--ink-3);
  font-size: var(--t-label);
  letter-spacing: 0.01em;
}
.rank tbody tr:last-child th,
.rank tbody tr:last-child td { border-bottom: 0; }
.rank tbody th { font-weight: 600; color: var(--ink); }
.rank__pos {
  width: 2.2em;
  font-family: var(--face-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.rank__pts {
  text-align: right;
  font-family: var(--face-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rank tbody tr:hover th,
.rank tbody tr:hover td { background: var(--surface-2); }
.rank--second { margin-top: var(--s-5); }

.move { display: inline-block; width: 0.9em; text-align: center; font-size: 0.7rem; }
.move--up { color: var(--accent); }
.move--down { color: var(--clay); }
.move--flat { color: var(--ink-3); }

/* Результаты дня */
.results { list-style: none; margin: 0; padding: 0; }
.results li {
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--t-meta);
}
.results li:last-child { border-bottom: 0; }
.results__where {
  display: block;
  font-size: var(--t-label);
  letter-spacing: 0.01em;
  color: var(--ink-3);
  margin-bottom: 3px;
}
.results__pair { display: flex; justify-content: space-between; gap: var(--s-3); }
.results__names { color: var(--ink); }
.results__names b { font-weight: 650; }
.results__score {
  font-family: var(--face-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8. Метки покрытия
   -------------------------------------------------------------------------- */
.surf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-label);
  letter-spacing: 0.02em;
  color: var(--ink-2);
  white-space: nowrap;
}
.surf::before {
  content: "";
  width: 3px;
  height: 0.95em;
  background: var(--surf-color, var(--ink-3));
  border-radius: 1px;
}
.surf--clay { --surf-color: var(--clay); }
.surf--grass { --surf-color: var(--grass); }
.surf--hard { --surf-color: var(--hard); }

/* --------------------------------------------------------------------------
   9. Статья
   -------------------------------------------------------------------------- */
.article { padding-block: var(--s-7) var(--s-8); }

.article__head {
  max-width: 34em;
  margin-bottom: var(--s-7);
}
.article__rubric {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.012em;
  color: var(--accent);
}
.article__rubric::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

.article__title {
  font-size: var(--t-h1);
  letter-spacing: -0.022em;
  line-height: 1.08;
}
.article__standfirst {
  margin-top: var(--s-5);
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--t-meta);
  color: var(--ink-3);
}
.article__meta .author { color: var(--ink); font-weight: 600; }

.article__art {
  margin-bottom: var(--s-7);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface-2);
}
.article__art svg { width: 100%; height: auto; }
.article__caption {
  padding: var(--s-3) var(--s-4);
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: var(--t-meta);
  color: var(--ink-3);
}

.prose {
  max-width: 34em;
  font-size: var(--t-body);
  line-height: 1.68;
}
.prose > p + p { margin-top: 0; }
.prose h2 {
  font-size: var(--t-h2);
  letter-spacing: -0.016em;
  margin: var(--s-7) 0 var(--s-4);
}
.prose h3 {
  font-size: var(--t-h3);
  margin: var(--s-6) 0 var(--s-3);
}
.prose ul { margin: 0 0 1em; padding-left: 1.15em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent); }

.prose blockquote {
  margin: var(--s-6) 0;
  padding-left: var(--s-5);
  border-left: 3px solid var(--accent);
  font-family: var(--face-display);
  font-size: var(--t-lead);
  line-height: 1.45;
  color: var(--ink);
}
.prose blockquote p { margin-bottom: 0.5em; }
.prose blockquote cite {
  display: block;
  font-family: var(--face-text);
  font-size: var(--t-meta);
  font-style: normal;
  color: var(--ink-3);
}

.pull {
  margin: var(--s-7) 0;
  padding: var(--s-5) 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--face-display);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  line-height: 1.28;
  letter-spacing: -0.014em;
}

.scoretable {
  width: 100%;
  max-width: 34em;
  border-collapse: collapse;
  margin: var(--s-6) 0;
  font-size: var(--t-meta);
}
.scoretable caption {
  text-align: left;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  padding-bottom: var(--s-2);
}
.scoretable th,
.scoretable td {
  padding: var(--s-2) var(--s-3) var(--s-2) 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.scoretable thead th { font-size: var(--t-label); color: var(--ink-3); font-weight: 600; }
.scoretable td.n,
.scoretable th.n {
  text-align: right;
  font-family: var(--face-mono);
  font-variant-numeric: tabular-nums;
}
.scoretable tbody th { font-weight: 600; }

/* Читайте также */
.also {
  margin-top: var(--s-9);
  padding-top: var(--s-5);
  border-top: 2px solid var(--ink);
}
.also__title {
  font-size: var(--t-h3);
  margin-bottom: var(--s-5);
}
.also__list {
  display: grid;
  gap: var(--s-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 760px) {
  .also__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
}
.also__item {
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-strong);
}
.also__rubric {
  font-size: var(--t-label);
  letter-spacing: 0.012em;
  color: var(--ink-3);
  margin-bottom: var(--s-2);
}
.also__link {
  font-family: var(--face-display);
  font-size: var(--t-h4);
  font-weight: 700;
  line-height: 1.24;
  color: var(--ink);
  text-decoration: none;
}
.also__link:hover { color: var(--accent); text-decoration: underline; }
.also__when { display: block; margin-top: var(--s-2); font-size: var(--t-meta); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   10. Простая страница (турниры, игроки, редакция, 404)
   -------------------------------------------------------------------------- */
.page { padding-block: var(--s-7) var(--s-9); }
.page__head { max-width: 40em; margin-bottom: var(--s-7); }
.page__title { font-size: var(--t-h1); letter-spacing: -0.022em; }
.page__standfirst {
  margin-top: var(--s-4);
  font-size: var(--t-lead);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 44ch;
}

/* Сетка турниров */
.draw-wrap { overflow-x: auto; margin-bottom: var(--s-6); }
.draw {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: var(--t-small);
}
.draw caption {
  text-align: left;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  padding-bottom: var(--s-3);
}
.draw th,
.draw td {
  text-align: left;
  padding: var(--s-4) var(--s-4) var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.draw thead th {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  border-bottom: 2px solid var(--ink);
  padding-bottom: var(--s-3);
}
.draw tbody tr:hover td,
.draw tbody tr:hover th { background: var(--surface-2); }
.draw__name { font-weight: 650; color: var(--ink); font-size: var(--t-body); }
.draw__city { display: block; font-size: var(--t-meta); color: var(--ink-3); margin-top: 2px; }
.draw__dates {
  font-family: var(--face-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink-2);
  font-size: var(--t-meta);
}
.draw__cat {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}
.draw__cat--major { border-color: var(--accent); color: var(--accent); }
.draw__prize {
  font-family: var(--face-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  color: var(--ink-2);
  font-size: var(--t-meta);
}

/* Карточки игроков */
.roster {
  display: grid;
  gap: var(--s-5);
  list-style: none;
  margin: 0 0 var(--s-8);
  padding: 0;
}
@media (min-width: 620px) { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.player {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: border-color var(--fast) ease-out;
}
.player:hover { border-color: var(--line-strong); }

.player__figure {
  width: 76px;
  height: 92px;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: linear-gradient(160deg, var(--plate-a, var(--plate-1-a)), var(--plate-b, var(--plate-1-b)));
}
.player--p2 { --plate-a: var(--plate-2-a); --plate-b: var(--plate-2-b); }
.player--p3 { --plate-a: var(--plate-3-a); --plate-b: var(--plate-3-b); }
.player--p4 { --plate-a: var(--plate-4-a); --plate-b: var(--plate-4-b); }
.player--p5 { --plate-a: var(--plate-5-a); --plate-b: var(--plate-5-b); }

.player__rank {
  font-family: var(--face-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--t-label);
  letter-spacing: 0.01em;
  color: var(--accent);
}
.player__name {
  font-size: var(--t-h4);
  margin: 2px 0 var(--s-2);
  letter-spacing: -0.01em;
}
.player__facts {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px var(--s-3);
  font-size: var(--t-meta);
}
.player__facts dt { color: var(--ink-3); }
.player__facts dd { margin: 0; color: var(--ink); }
.player__note {
  margin-top: var(--s-3);
  font-size: var(--t-meta);
  color: var(--ink-2);
  line-height: 1.5;
}

/* Текстовые блоки простых страниц */
.plain {
  max-width: 34em;
  font-size: var(--t-body);
  line-height: 1.68;
}
.plain h2 { font-size: var(--t-h2); margin: var(--s-7) 0 var(--s-4); letter-spacing: -0.016em; }
.plain h3 { font-size: var(--t-h3); margin: var(--s-6) 0 var(--s-3); }
.plain ul { padding-left: 1.15em; }
.plain li { margin-bottom: 0.4em; }
.plain li::marker { color: var(--accent); }

.facts {
  display: grid;
  gap: var(--s-4) var(--s-6);
  margin: var(--s-6) 0;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  font-size: var(--t-small);
}
@media (min-width: 560px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts dt {
  font-size: var(--t-label);
  letter-spacing: 0.01em;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.facts dd { margin: 0; color: var(--ink); }
.facts > div { min-width: 0; }

/* 404 */
.gone {
  display: grid;
  gap: var(--s-7);
  align-items: center;
  padding-block: var(--s-9);
}
@media (min-width: 840px) { .gone { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-9); } }
.gone__score {
  font-family: var(--face-mono);
  font-size: clamp(3rem, 2rem + 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
}
.gone__title { font-size: var(--t-h1); margin-top: var(--s-4); letter-spacing: -0.022em; }
.gone__text { margin-top: var(--s-4); font-size: var(--t-lead); color: var(--ink-2); max-width: 40ch; }
.gone__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding: 0;
  list-style: none;
}
.gone__art { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }

.btn {
  display: inline-block;
  padding: 11px var(--s-5);
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-s);
  font-size: var(--t-small);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--fast) ease-out;
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--ink-3); }

/* --------------------------------------------------------------------------
   11. Подвал
   -------------------------------------------------------------------------- */
.foot {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: var(--s-8) var(--s-5);
  font-size: var(--t-small);
}
.foot__grid {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 620px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { .foot__grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--s-8); } }

.foot__about { max-width: 34ch; color: var(--ink-2); font-size: var(--t-meta); line-height: 1.6; }
.foot__about .wordmark { margin-bottom: var(--s-3); }

.foot__col h2 {
  font-family: var(--face-text);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  margin-bottom: var(--s-3);
}
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { margin-bottom: var(--s-2); }
.foot__col a { color: var(--ink); text-decoration: none; font-size: var(--t-meta); }
.foot__col a:hover { color: var(--accent); text-decoration: underline; }

.foot__line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  justify-content: space-between;
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--t-meta);
  color: var(--ink-3);
}
.foot__line a { color: var(--ink-3); }
.foot__line a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   12. Движение
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   13. Служебные классы вёрстки разделов
   -------------------------------------------------------------------------- */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.section-gap { margin-top: var(--s-9); }
.section-gap--s { margin-top: var(--s-8); }
.title-standalone { margin-bottom: var(--s-5); }

.section-note { margin-top: var(--s-4); font-size: var(--t-meta); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   14. Видеоразборы
   -------------------------------------------------------------------------- */
a.card__plate {
  display: block;
  text-decoration: none;
  transition: box-shadow var(--fast) ease-out;
}
a.card__plate:hover { box-shadow: 0 0 0 2px var(--accent); }

.card__dur {
  position: absolute;
  right: var(--s-3);
  top: var(--s-3);
  padding: 3px 8px;
  border-radius: var(--radius-s);
  background: rgba(8, 18, 12, 0.66);
  color: #ffffff;
  font-family: var(--face-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--t-label);
}

.card__plate .card__play {
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
}
a.card__plate:hover .card__play { opacity: 1; }
