/* Ruda: кириллица и латиница, woff2, локально */
@font-face {
  font-family: 'Ruda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ruda-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Ruda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ruda-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Ruda';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ruda-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Ruda';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ruda-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Ruda';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/ruda-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Ruda';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/ruda-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Металлург: билеты и расписание матчей.

   Образ — плотная таблица расписания на тёплом графите. Медь вместо холодного
   акцента, патина как второй знак (выезд), тонкие линейки, цифры одной
   ширины, строки сжаты до одной линии. Никаких широких полос и плиток:
   всё, что можно поставить в столбец, стоит в столбце.
   ========================================================================== */

:root {
  --ink: #EAE4DB;
  --ink-2: #CFC6B9;
  --muted: #9C9389;
  --surface: #1A1816;
  --plate: #221F1B;
  --plate-2: #2A2621;
  --plate-3: #302B25;
  --line: #35302A;
  --line-soft: #2B2721;
  --copper: #CE8A4A;
  --copper-deep: #8F5525;
  --copper-ink: #1A1816;
  --patina: #67998B;
  --wrap: 1180px;
  --mid: 840px;
  --gut: clamp(14px, 3.4vw, 34px);
  --r: 3px;
  --font: 'Ruda', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scrollbar-color: var(--copper-deep) var(--plate);
  scrollbar-width: thin;
}
html::-webkit-scrollbar { width: 11px; height: 11px; }
html::-webkit-scrollbar-track { background: var(--plate); }
html::-webkit-scrollbar-thumb {
  background: var(--copper-deep);
  border: 2px solid var(--plate);
  border-radius: 0;
}
html::-webkit-scrollbar-thumb:hover { background: var(--copper); }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-text-size-adjust: 100%;
  font-variant-numeric: tabular-nums;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* Страховка для атрибута hidden: у строк расписания, фильтров, кнопки меню и
   нижней полосы задан свой display, и правило браузера по умолчанию проигрывает
   им по специфичности. Без этой строки скрытое разметкой видно на экране до
   запуска скрипта, а при отключённом JavaScript — навсегда. */
[hidden] { display: none !important; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 40;
  background: var(--copper); color: var(--copper-ink);
  padding: 10px 14px; font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gut);
  min-width: 0;
}
.wrap--mid { max-width: var(--mid); }

/* --- Заголовки ---------------------------------------------------------- */

.h1 {
  font-size: clamp(24px, 4.4vw, 38px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  min-width: 0;
}
.h2 {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}
.h2--rule {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.h2--rule::after {
  content: '';
  flex: 1 1 auto;
  min-width: 12px;
  height: 1px;
  background: var(--line);
}
.kick {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
}
.lead { margin-top: 13px; max-width: 70ch; color: var(--ink-2); font-size: clamp(15px, 1.6vw, 17px); }

/* --- Шапка -------------------------------------------------------------- */

.head {
  border-bottom: 1px solid var(--line);
  background: var(--plate);
  position: relative;
  z-index: 20;
}
.head__in {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding-block: 9px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand__ic { flex: 0 0 auto; color: var(--copper); }
.brand__tx { min-width: 0; display: block; }
.brand__nm {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__sub {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.burger {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--plate-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.burger__b { width: 15px; height: 9px; border-top: 2px solid var(--copper); border-bottom: 2px solid var(--copper); }
.nav { flex: 0 0 auto; min-width: 0; }
.nav__ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
}
.nav__a {
  display: block;
  white-space: nowrap;
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
}
.nav__a:hover { color: var(--copper); text-decoration: none; border-bottom-color: var(--copper-deep); }

.head.is-tight .head__in { flex-wrap: wrap; }
.head.is-tight .nav {
  flex: 1 1 100%;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 2px;
}
.head.is-tight .nav__ul { flex-wrap: wrap; flex-direction: column; gap: 0; }
.head.is-tight .nav__a { padding: 10px 2px; border-bottom: 1px solid var(--line-soft); }

/* --- Крошки ------------------------------------------------------------- */

.crumbs { border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.crumbs__ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding-block: 9px;
  font-size: 12.5px;
  color: var(--muted);
  min-width: 0;
}
.crumbs__i + .crumbs__i::before { content: '/'; color: var(--line); margin-right: 8px; }
.crumbs__i a { color: var(--muted); }
.crumbs__i a:hover { color: var(--copper); }

/* --- Кнопки ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--copper);
  color: var(--copper-ink);
  border: 1px solid var(--copper);
  border-radius: var(--r);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  min-width: 0;
}
.btn:hover { background: #DCA067; border-color: #DCA067; text-decoration: none; }
.btn--sm { padding: 7px 10px; font-size: 12.5px; width: 100%; }
.btn--wide { width: 100%; padding: 12px 16px; font-size: 15px; }
.btn--ghost {
  background: transparent;
  color: var(--copper);
  border-color: var(--copper-deep);
}
.btn--ghost:hover { background: var(--plate-3); color: var(--copper); border-color: var(--copper); }
.tie {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--copper);
  border-bottom: 1px dashed var(--copper-deep);
}
.tie:hover { text-decoration: none; border-bottom-style: solid; }

/* --- Полосы ------------------------------------------------------------- */

.strip { padding-block: clamp(26px, 4vw, 46px); }
.strip--top { padding-top: clamp(22px, 3.4vw, 38px); }
.strip--tint { background: var(--plate); border-block: 1px solid var(--line); }
.strip__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}

/* --- Итоги сезона --------------------------------------------------- */

.ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.ledger__i {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--plate);
  min-width: 0;
}
.ledger__i b {
  display: block;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--copper);
}
/* Клетка со словом вместо числа: «Магнитогорск» рвался по буквам. */
.ledger__i--word b { font-size: clamp(15px, 2vw, 19px); overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.ledger__i span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 620px) { .brand__sub { display: none; } }

/* --- Таблица матчей ----------------------------------------------------- */

.sheet {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--plate);
  overflow: hidden;
}
.sheet__cap,
.row {
  display: grid;
  grid-template-columns: 118px 54px 62px minmax(0, 1.35fr) minmax(0, 1.05fr) 90px 108px;
  grid-template-areas: 'date time mark match place price act';
  gap: 0 10px;
  align-items: center;
  padding: 0 12px;
  min-width: 0;
}
.sheet__cap {
  background: var(--plate-3);
  border-bottom: 1px solid var(--line);
  padding-block: 7px;
}
.sheet__cap span {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  min-width: 0;
}
.sheet__cap .c-price { text-align: right; }

.row {
  padding-block: 9px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.row:nth-child(even) { background: var(--plate-2); }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--plate-3); }

.c-date { grid-area: date; min-width: 0; display: flex; align-items: baseline; gap: 5px; color: var(--ink); }
.c-date:hover { text-decoration: none; }
.c-date b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.c-date i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.c-date:hover b { color: var(--copper); }

.c-time { grid-area: time; min-width: 0; font-size: 14px; color: var(--ink-2); }

.c-mark { grid-area: mark; min-width: 0; }
.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  height: 22px;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.mark--h { background: var(--copper); color: var(--copper-ink); }
.mark--a { background: transparent; color: var(--patina); border: 1px solid var(--patina); }

.c-match { grid-area: match; min-width: 0; }
.c-match h3, .c-match p.c-match__t {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  min-width: 0;
}
.c-match a { color: var(--ink); }
.c-match a:hover { color: var(--copper); text-decoration: none; }
.c-match__x {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}

.c-place { grid-area: place; min-width: 0; font-size: 13px; color: var(--muted); line-height: 1.3; }
.c-price {
  grid-area: price;
  min-width: 0;
  text-align: right;
  font-size: 14.5px;
  white-space: nowrap;
}
.c-price b { font-weight: 700; color: var(--ink); }
.c-price span { color: var(--muted); font-size: 12px; }
.c-act { grid-area: act; min-width: 0; }

.sheet__foot {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--plate-3);
  font-size: 12.5px;
  color: var(--muted);
}
.nothing {
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .sheet__cap, .row { grid-template-columns: 104px 48px 58px minmax(0, 1.3fr) minmax(0, 1fr) 84px 94px; }
  .row { font-size: 14px; }
  .c-date b { font-size: 14px; }
}

@media (max-width: 860px) {
  .sheet__cap { display: none; }
  .row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      'date  time  mark'
      'match match match'
      'place place place'
      'price price act';
    gap: 3px 10px;
    padding-block: 11px;
  }
  .c-date { align-items: baseline; }
  .c-date b { font-size: 14px; }
  .c-time { font-size: 13.5px; white-space: nowrap; }
  .c-match { padding-top: 3px; }
  .c-place { font-size: 12.5px; }
  .c-price { text-align: left; padding-top: 6px; }
  .c-act { padding-top: 6px; }
  .btn--sm { width: auto; padding-inline: 16px; }
}

/* --- Ближайший матч ----------------------------------------------------- */

.first {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  border-radius: var(--r);
  background: var(--plate);
  margin-top: 22px;
  min-width: 0;
}
/* Фото приходит квадратным, заставка — 3:2. Раньше окно растягивало любое
   из них по высоте карточки и срезало эмблему сверху и снизу. */
.first__pic {
  width: 100%;
  height: auto;
  align-self: start;
  border-right: 1px solid var(--line);
}
.first__b { padding: 14px 16px; min-width: 0; }
.first__t { font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; line-height: 1.2; margin-top: 4px; }
.first__dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.first__dl > div {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  padding-right: 14px;
  min-width: 0;
}
.first__dl dt { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.first__dl dd { font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.first__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
}
.first__price { font-size: clamp(19px, 2.4vw, 23px); font-weight: 700; color: var(--copper); white-space: nowrap; }

@media (max-width: 620px) {
  .first { grid-template-columns: minmax(0, 1fr); }
  .first__pic { height: auto; max-width: none; order: 2; border-right: 0; border-top: 1px solid var(--line); }
}

/* --- Подборки -------------------------------------------------------------- */

.cuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--plate);
  overflow: hidden;
}
.cuts__c { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.cuts__h {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
.cuts__a {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-2);
  min-width: 0;
}
.cuts__a span { min-width: 0; }
.cuts__a b { color: var(--copper); font-weight: 700; flex: 0 0 auto; font-size: 13px; }
.cuts__a:hover { color: var(--copper); text-decoration: none; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 9px; }
.tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--plate-2);
  padding: 5px 9px;
  font-size: 13px;
  color: var(--ink-2);
  min-width: 0;
}
.tag b { color: var(--copper); font-size: 11.5px; font-weight: 700; }
.tag:hover { border-color: var(--copper-deep); color: var(--copper); text-decoration: none; }
.tag--alt { background: transparent; }

/* --- Нумерованные заметки ----------------------------------------------- */

.notes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.notes__i {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.notes__n {
  font-size: 12px;
  font-weight: 700;
  color: var(--copper-ink);
  background: var(--copper);
  border-radius: var(--r);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.notes__t { font-size: 16px; font-weight: 700; }
.notes__x { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }

/* --- Блог: полки -------------------------------------------------------- */

.shelf { border-top: 1px solid var(--line); }
.shelf__i {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.shelf__n { font-size: 12px; color: var(--copper); font-weight: 700; padding-top: 4px; }
.shelf__t { font-size: 16.5px; font-weight: 700; line-height: 1.25; }
.shelf__t a { color: var(--ink); }
.shelf__t a:hover { color: var(--copper); text-decoration: none; }
.shelf__x { color: var(--muted); font-size: 14px; margin-top: 3px; }

/* --- Страница: общие ---------------------------------------------------- */

.page { padding-block: clamp(22px, 3.4vw, 40px) clamp(24px, 4vw, 44px); }
.page__lead { color: var(--ink-2); margin-top: 12px; max-width: 70ch; font-size: clamp(15px, 1.6vw, 17px); }
.page__meta {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page__after { margin-top: 20px; color: var(--ink-2); font-size: 14.5px; max-width: 70ch; }

/* --- Фильтры ------------------------------------------------------------ */

.sift {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--plate);
}
.sift__g {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.sift__g:last-child { border-bottom: 0; }
.sift__l {
  flex: 0 0 auto;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  min-width: 96px;
}
.pin {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
  min-width: 0;
}
.pin:hover { border-color: var(--copper-deep); color: var(--copper); }
.pin.is-on { background: var(--copper); border-color: var(--copper); color: var(--copper-ink); }

/* --- Матч: паспорт ------------------------------------------------------ */

.pass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--plate);
  min-width: 0;
}
.pass__b { padding: clamp(14px, 2.4vw, 22px); min-width: 0; }
.pass__pic { width: 100%; height: auto; align-self: start; border-left: 1px solid var(--line); }
.pass--home { border-top: 3px solid var(--copper); }
.pass--away { border-top: 3px solid var(--patina); }
.pass__tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--r);
  margin-bottom: 10px;
}
.pass--home .pass__tag { background: var(--copper); color: var(--copper-ink); }
.pass--away .pass__tag { background: transparent; color: var(--patina); border: 1px solid var(--patina); }
.pass__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 16px;
}
.pass__price { font-size: clamp(21px, 2.8vw, 26px); font-weight: 700; color: var(--copper); white-space: nowrap; }
.pass__fine { font-size: 12.5px; color: var(--muted); margin-top: 10px; max-width: 70ch; }

@media (max-width: 720px) {
  .pass { grid-template-columns: minmax(0, 1fr); }
  .pass__pic { height: auto; aspect-ratio: 3 / 2; object-fit: cover; max-width: 180px; border-left: 0; border-top: 1px solid var(--line); }
}

.dl {
  display: grid;
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
  min-width: 0;
}
.dl > div {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: 2px 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.dl dt { font-size: 12.5px; color: var(--muted); }
.dl dd { font-size: 14.5px; font-weight: 600; min-width: 0; }
@media (max-width: 520px) {
  .dl > div { grid-template-columns: minmax(0, 1fr); }
}

.flag {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--patina);
  border-left-width: 3px;
  border-radius: var(--r);
  background: var(--plate-2);
  font-size: 14px;
  color: var(--ink-2);
  max-width: 76ch;
}
.flag--copper { border-color: var(--copper-deep); }

/* --- Две колонки -------------------------------------------------------- */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 296px);
  gap: clamp(18px, 3vw, 34px);
  margin-top: clamp(20px, 3vw, 32px);
  align-items: start;
}
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.side { display: grid; gap: 12px; min-width: 0; }
.box {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--plate);
  padding: 13px 15px;
  min-width: 0;
}
.box--buy { border-color: var(--copper-deep); }
.box__h {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  padding-bottom: 7px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.box__price { font-size: 25px; font-weight: 700; color: var(--copper); line-height: 1.1; }
.box__when { font-size: 13.5px; color: var(--muted); margin: 3px 0 11px; }
.box__x { font-size: 14px; color: var(--ink-2); }
.box__x + .tie { display: inline-block; margin-top: 9px; }

/* --- Даты пары ---------------------------------------------------------- */

.whens { margin-top: clamp(20px, 3vw, 30px); }
.whens__ul {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--plate);
  margin-top: 12px;
  overflow: hidden;
}
.whens__i {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 8px 14px;
  align-items: center;
  padding: 9px 13px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.whens__i:nth-child(even) { background: var(--plate-2); }
.whens__i:last-child { border-bottom: 0; }
.whens__d { font-size: 14.5px; min-width: 0; }
.whens__d b { font-weight: 700; }
.whens__d i { font-style: normal; color: var(--muted); font-size: 13px; }
.whens__more { font-size: 13px; color: var(--muted); margin-top: 9px; max-width: 70ch; }
@media (max-width: 560px) {
  .whens__i { grid-template-columns: minmax(0, 1fr); }
}

/* --- Проза -------------------------------------------------------------- */

.prose { min-width: 0; max-width: 72ch; }
.prose > * + * { margin-top: 13px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.68; color: var(--ink-2); }
.prose h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--ink);
  margin-top: 26px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.prose h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin-top: 20px; }
.prose ul, .prose ol { display: grid; gap: 7px; padding-left: 0; }
.prose ul li { padding-left: 17px; position: relative; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 7px;
  background: var(--copper-deep);
}
.prose ol { counter-reset: n; }
.prose ol li { padding-left: 26px; position: relative; counter-increment: n; }
.prose ol li::before {
  content: counter(n) '.';
  position: absolute; left: 0; top: 0;
  color: var(--copper);
  font-weight: 700;
  font-size: 14px;
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose--wide p, .prose--wide li { font-size: 16.5px; }

/* --- Вопросы ------------------------------------------------------------ */

.asks { margin-top: 20px; border-top: 1px solid var(--line); }
.asks__i { border-bottom: 1px solid var(--line); min-width: 0; }
.asks__d { min-width: 0; }
.asks__q {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 18px;
  gap: 0 10px;
  align-items: start;
  padding: 13px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  min-width: 0;
}
.asks__q::-webkit-details-marker { display: none; }
.asks__n { color: var(--copper); font-size: 12.5px; font-weight: 700; padding-top: 4px; }
.asks__q::after {
  content: '+';
  color: var(--copper);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  padding-top: 3px;
}
.asks__d[open] .asks__q::after { content: '\2212'; }
.asks__a { padding: 0 0 15px 36px; }
.asks__a p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
@media (max-width: 520px) { .asks__a { padding-left: 0; } }

.back { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 20px; }

/* --- Липкая полоса ------------------------------------------------------ */

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  background: var(--plate-3);
  border-top: 1px solid var(--copper-deep);
  min-width: 0;
}
.dock__p { font-size: 16px; font-weight: 700; color: var(--copper); white-space: nowrap; }
.dock .btn { flex: 0 0 auto; width: auto; }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { body[data-page-type="event"] .foot { padding-bottom: 100px; } }

/* --- Подвал ------------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  background: var(--plate);
  margin-top: clamp(28px, 4vw, 52px);
  padding-block: clamp(22px, 3vw, 34px);
}
.foot__tally {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.foot__tally b { color: var(--copper); font-weight: 700; }
.foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px 30px;
  padding-top: 18px;
}
.foot__c { min-width: 0; }
.foot__nm { font-size: 15px; font-weight: 700; }
.foot__h {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 8px;
}
.foot__x { font-size: 13.5px; color: var(--muted); margin-top: 7px; line-height: 1.6; }
.foot__ul { display: grid; gap: 4px; }
.foot__ul a { font-size: 13.5px; color: var(--ink-2); }
.foot__ul a:hover { color: var(--copper); }

/* Три пункта пользы сразу под первым экраном */
.strip--thin { padding-block: clamp(20px, 3vw, 34px); }
.use { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use__i { background: var(--plate-2); padding: clamp(14px, 2vw, 20px); }
.use__t { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--copper); }
.use__x { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 860px) { .use { grid-template-columns: 1fr; } }

/* Название сайта не даёт кнопке меню встать с ним в одну строку:
   у гибкой основы auto длинная подпись переносит кнопку на вторую строку. */
@media (max-width: 760px) {
  .brand { flex: 1 1 0; }
  /* Название переносится по словам: многоточие вместо половины
     названия сайта хуже второй строки. */
  .brand__nm { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
}
