/* ==========================================================================
   Спартак: билеты на матчи
   Архетип: светлое расписание. Каждый матч — широкая горизонтальная полоса,
   слева крупная дата, между датой и содержанием тонкая вертикальная линия.
   Планка у левого края кодирует турнир: красная — хоккей, чёрная — футбол;
   сплошная — дома, пунктирная — выезд.
   ========================================================================== */

/* Raleway: кириллица и латиница, woff2, локально */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/raleway-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/raleway-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: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/raleway-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/raleway-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: 'Raleway';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/raleway-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/raleway-800-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: #131313;
  --ink-soft: #3A3835;
  --surface: #FAF8F6;
  --card: #FFFFFF;
  --accent: #D4262C;
  --accent-dark: #A81C22;
  --accent-soft: #FBE9E8;
  --muted: #6D6A66;
  --line: #E6E2DC;
  --line-hard: #D3CCC2;
  --wash: #F1EDE8;
  --rail: 7px;
  --gut: clamp(16px, 4vw, 40px);
  --rowpad: clamp(14px, 2.2vw, 22px);
  --shadow: 0 1px 0 var(--line), 0 10px 24px -22px rgba(19, 19, 19, .5);
}

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

/* Скрытое остаётся скрытым: у .burger, .dock, .sieve и .band задан свой display,
   а он перебивает браузерное правило для атрибута hidden. */
[hidden] { display: none !important; }

html {
  scrollbar-color: var(--accent) var(--wash);
  scrollbar-width: thin;
}
html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: var(--wash); }
html::-webkit-scrollbar-thumb {
  background: var(--accent);
  border: 3px solid var(--wash);
  border-radius: 8px;
}
html::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16.5px/1.6 'Raleway', 'Barlow', 'Segoe UI', system-ui, sans-serif;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }
a { color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

:where(a, button, summary, details):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 40;
}
.skip:focus { left: 8px; top: 8px; }

/* --- Оболочка ------------------------------------------------------------- */
.hold {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gut);
  min-width: 0;
}
.hold--tight { max-width: 760px; }

/* --- Шапка ---------------------------------------------------------------- */
.top {
  position: relative;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.top::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 62%, var(--ink) 62% 100%);
}
.top__row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
}
.brand__mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 50% 100%, 0 74%);
}
.brand__txt { min-width: 0; }
.brand__name {
  display: block;
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 19px);
  letter-spacing: -.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__sub {
  display: block;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}
/* на узком десктопе слоган отъедает место у меню и разваливается на четыре
   строки — там он не нужен, тот же текст есть в подвале */
@media (max-width: 1140px) {
  .brand__sub { display: none; }
}
.burger {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 1px solid var(--line-hard);
  color: var(--ink);
  font: 600 14px 'Raleway', sans-serif;
  padding: 9px 14px;
  cursor: pointer;
}
.burger i {
  width: 16px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 5px 0 var(--accent), 0 -5px 0 var(--ink);
}
.nav { flex: 0 0 auto; min-width: 0; }
.nav__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
}
.nav__link {
  display: block;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 11px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.top.is-narrow .top__row { flex-wrap: wrap; }
/* перенос разрешён только для меню: логотип сжимается до многоточия и остаётся
   в одной строке с кнопкой, иначе на 320px кнопка уезжает на отдельную строку */
.top.is-narrow .brand { flex: 1 1 0; }
.top.is-narrow .nav {
  order: 3;
  flex: 1 0 100%;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.top.is-narrow .nav__list {
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0;
  padding: 6px 0 10px;
}
.top.is-narrow .nav__link {
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}

/* --- Крошки -------------------------------------------------------------- */
.crumbs { padding: 14px 0 0; }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 13px;
  color: var(--muted);
}
.crumbs__list li + li::before { content: '/'; margin-right: 10px; color: var(--line-hard); }
.crumbs__list a { color: var(--muted); text-decoration: none; }
.crumbs__list a:hover { color: var(--accent); }

/* --- Типографика --------------------------------------------------------- */
.h1 {
  font-weight: 800;
  font-size: clamp(27px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: -.028em;
}
.h2 {
  font-weight: 800;
  font-size: clamp(20px, 2.8vw, 27px);
  line-height: 1.16;
  letter-spacing: -.02em;
}
.h3 {
  font-weight: 700;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.kick {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead {
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* --- Кнопки -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn--big { min-height: 52px; font-size: 16.5px; padding: 12px 26px; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--wide { width: 100%; }
.ilink {
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent-soft);
}
.ilink:hover { border-bottom-color: var(--accent); }

/* ==========================================================================
   ЛЕНТА МАТЧЕЙ — главный элемент сайта
   ========================================================================== */
.ribbon {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 96px) 1px minmax(0, 1fr) minmax(0, auto);
  align-items: stretch;
  gap: 0 clamp(12px, 1.8vw, 24px);
  background: var(--card);
  padding: var(--rowpad) var(--rowpad) var(--rowpad) calc(var(--rail) + clamp(12px, 1.6vw, 20px));
  box-shadow: var(--shadow);
  min-width: 0;
}
/* планка турнира у левого края */
.band::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail);
  background: var(--accent);
}
.band[data-league="Российская Премьер Лига"]::before { background: var(--ink); }
/* выезд — планка пунктиром */
.band[data-place="away"]::before {
  background: repeating-linear-gradient(
    180deg, var(--accent) 0 12px, transparent 12px 20px);
}
.band[data-league="Российская Премьер Лига"][data-place="away"]::before {
  background: repeating-linear-gradient(
    180deg, var(--ink) 0 12px, transparent 12px 20px);
}
.band[data-place="away"] { background: #FDFCFB; }

.band__date {
  display: block;
  text-decoration: none;
  min-width: 0;
  align-self: start;
}
.band__num {
  display: block;
  font-weight: 800;
  font-size: clamp(38px, 6vw, 58px);
  line-height: .9;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.band__mon {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.band__dow {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.band__date:hover .band__num { color: var(--accent); }
.band[data-league="Российская Премьер Лига"] .band__date:hover .band__num { color: var(--ink-soft); }

/* тонкая вертикальная линия между датой и содержанием */
.band__rule {
  width: 1px;
  background: var(--line);
  align-self: stretch;
}

.band__body { min-width: 0; padding-top: 2px; }
.band__flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 7px;
}
.league {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  white-space: nowrap;
}
.league::before { content: attr(data-league); }
.league[data-league="Континентальная Хоккейная Лига"]::before { content: 'Хоккей · КХЛ'; }
.league[data-league="Российская Премьер Лига"]::before {
  content: 'Футбол · РПЛ';
}
.league[data-league="Российская Премьер Лига"] {
  background: var(--ink);
  color: #fff;
}
.side {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.side--home { color: var(--ink); }

.band__vs {
  font-weight: 800;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.band__vs a { text-decoration: none; }
.band__vs a:hover { color: var(--accent); }
.band__where {
  margin-top: 5px;
  font-size: 14px;
  color: var(--muted);
}
.band__more {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px dotted var(--line-hard);
  padding-top: 6px;
}

.band__act {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  text-align: right;
}
.band__price {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.band__price b {
  display: block;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}

@media (max-width: 860px) {
  .band {
    grid-template-columns: minmax(0, 66px) 1px minmax(0, 1fr);
    row-gap: 12px;
  }
  .band__act {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .band__price b { display: inline; }
}
@media (max-width: 380px) {
  .band { grid-template-columns: minmax(0, 54px) 1px minmax(0, 1fr); }
  .band__num { font-size: 32px; }
  .band__mon { font-size: 12px; }
}

/* легенда к расписанию */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}
.legend li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.legend i {
  flex: 0 0 auto;
  width: 7px;
  height: 20px;
  background: var(--accent);
}
.legend i.is-turf { background: var(--ink); }
.legend i.is-away {
  background: repeating-linear-gradient(180deg, var(--muted) 0 5px, transparent 5px 9px);
}

/* --- Секции -------------------------------------------------------------- */
.sect { padding: clamp(34px, 5vw, 60px) 0; }
.sect--pale { background: var(--wash); }
.sect--line { border-top: 1px solid var(--line); }
.sect__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 20px;
}
.sect__head--gap { margin-top: 36px; }
.sect__note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* --- Главная: открывающий блок ------------------------------------------- */
.opener {
  padding: clamp(28px, 5vw, 56px) 0 clamp(26px, 4vw, 44px);
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.opener__in {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .opener__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
}
.opener__text {
  border-left: var(--rail) solid var(--accent);
  padding-left: clamp(14px, 2vw, 24px);
  min-width: 0;
}
.opener__lead { margin-top: 14px; max-width: 48ch; }
.opener__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.opener h1 { margin-top: 10px; }

.counts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  min-width: 0;
}
.counts li {
  background: var(--card);
  padding: 14px 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.counts b {
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.03em;
  white-space: nowrap;
}
.counts span { font-size: 13.5px; color: var(--muted); }
.counts li:nth-child(1) b { color: var(--accent); }

/* --- Два турнира --------------------------------------------------------- */
.pair {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 780px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pair__i {
  position: relative;
  background: var(--card);
  padding: clamp(18px, 2.4vw, 26px);
  padding-left: calc(var(--rail) + clamp(16px, 2vw, 24px));
  box-shadow: var(--shadow);
  min-width: 0;
}
.pair__i::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail);
  background: var(--accent);
}
.pair__i--turf::before { background: var(--ink); }
.pair__n {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -.04em;
}
.pair__t { margin-top: 6px; }
.pair__x { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }
.pair__go { margin-top: 14px; }

/* --- Преимущества: крупные номера слева ---------------------------------- */
.why { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__i {
  display: grid;
  grid-template-columns: minmax(0, 54px) minmax(0, 1fr);
  gap: 4px clamp(14px, 2vw, 24px);
  background: var(--surface);
  padding: clamp(16px, 2.2vw, 24px) 0;
  min-width: 0;
}
.why__n {
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.why__b { min-width: 0; }
.why__x { margin-top: 8px; font-size: 15px; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 480px) {
  .why__i { grid-template-columns: minmax(0, 1fr); }
  .why__n { font-size: 22px; }
}

/* --- Ссылки-подборки ----------------------------------------------------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  min-width: 0;
}
.tag b { font-weight: 800; color: var(--accent); font-size: 13px; }
.tag:hover { border-color: var(--ink); }

.cutlist { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .cutlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cut {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px;
  min-width: 0;
}
.cut__t a { text-decoration: none; }
.cut__t a:hover { color: var(--accent); }
.cut__x { margin-top: 8px; font-size: 14px; color: var(--muted); }
.cut__n { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--accent); }

/* --- Фильтры ------------------------------------------------------------- */
.sieve {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sieve__grp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.sieve__cap {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 2px;
}
.chip {
  background: transparent;
  border: 1px solid var(--line-hard);
  color: var(--ink-soft);
  font: 600 13.5px 'Raleway', sans-serif;
  padding: 7px 12px;
  min-height: 36px;
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on[data-league="hockey"] { background: var(--accent); border-color: var(--accent); }
.nores {
  padding: 22px;
  background: var(--card);
  border: 1px dashed var(--line-hard);
  font-size: 15px;
  color: var(--muted);
}

/* --- Страница матча ------------------------------------------------------ */
.pass {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: clamp(22px, 3.4vw, 40px) 0 clamp(20px, 3vw, 34px);
}
.pass__flags { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.pass h1 { margin-top: 12px; }
.pass__grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 34px);
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(18px, 2.6vw, 28px);
  align-items: start;
}
@media (min-width: 820px) {
  .pass__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
}
.stamp {
  display: grid;
  grid-template-columns: minmax(0, auto) 1px minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
  align-items: stretch;
  min-width: 0;
}
.stamp__rule { width: 1px; background: var(--line-hard); }
.stamp__num {
  font-weight: 800;
  font-size: clamp(54px, 9vw, 92px);
  line-height: .86;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.stamp__mon {
  display: block;
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 600;
  margin-top: 6px;
}
.stamp__side { min-width: 0; display: grid; gap: 10px; align-content: center; }
.stamp__line { font-size: 15px; }
.stamp__line b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
@media (max-width: 480px) {
  .stamp { grid-template-columns: minmax(0, 1fr); }
  .stamp__rule { display: none; }
  .stamp__side { border-top: 1px solid var(--line); padding-top: 12px; }
}

.buybox {
  background: var(--wash);
  border-left: var(--rail) solid var(--accent);
  padding: 18px;
  min-width: 0;
}
.buybox[data-league="Российская Премьер Лига"] { border-left-color: var(--ink); }
.buybox__price {
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.buybox__when { margin: 6px 0 14px; font-size: 14px; color: var(--muted); }
.buybox__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

.poster {
  margin-top: 16px;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.flag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.flag--ink { background: var(--ink); color: #fff; }
.flag--plain { background: var(--wash); color: var(--ink-soft); }

.alert {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  font-size: 15px;
}

.stamp__day { min-width: 0; }

.drop { margin-top: 14px; }
.drop__q {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--line-hard);
  list-style: none;
  min-height: 42px;
}
.drop__q::-webkit-details-marker { display: none; }
.drop__q::after { content: '+'; font-weight: 800; color: var(--accent); font-size: 18px; line-height: 1; }
.drop[open] .drop__q::after { content: '–'; }
.drop[open] .drop__q { border-color: var(--ink); }
.drop .datelist { margin-top: 12px; }

.datelist { display: grid; gap: 8px; }
.datelist li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
}
.datelist b { font-weight: 700; font-size: 15px; }
.datelist span { font-size: 13.5px; color: var(--muted); }

.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 2px 18px;
  background: var(--card);
  padding: 12px 16px;
  min-width: 0;
}
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { font-size: 15px; font-weight: 600; }
@media (max-width: 560px) { .facts > div { grid-template-columns: minmax(0, 1fr); } }

/* --- Проза --------------------------------------------------------------- */
.prose { font-size: 16.5px; line-height: 1.68; max-width: 68ch; }
.prose > * + * { margin-top: 15px; }
.prose h2 {
  font-weight: 800;
  font-size: clamp(19px, 2.4vw, 24px);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-top: 30px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.prose h3 { font-weight: 700; font-size: 17.5px; margin-top: 24px; }
.prose ul, .prose ol { padding-left: 20px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); }
.prose strong { font-weight: 700; }

/* --- Площадка ------------------------------------------------------------ */
.arena {
  padding: clamp(24px, 4vw, 44px) 0;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.arena__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.arena__meta b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.arena__acts { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

/* --- Вопросы ------------------------------------------------------------- */
.qlist { display: grid; gap: 10px; counter-reset: q; }
.qitem {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0;
  min-width: 0;
}
.qitem[open] { border-color: var(--line-hard); }
.qitem__q {
  display: grid;
  grid-template-columns: minmax(0, 34px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  list-style: none;
}
.qitem__q::-webkit-details-marker { display: none; }
.qitem__q::before {
  counter-increment: q;
  content: counter(q, decimal-leading-zero);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.qitem[open] .qitem__q { color: var(--accent-dark); }
.qitem__a {
  padding: 0 18px 18px 64px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 520px) { .qitem__a { padding-left: 18px; } }

/* --- Блог ---------------------------------------------------------------- */
.reads { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.read {
  display: grid;
  grid-template-columns: minmax(0, 60px) minmax(0, 1fr);
  gap: 6px clamp(14px, 2vw, 26px);
  background: var(--card);
  padding: clamp(16px, 2.2vw, 22px) clamp(14px, 2vw, 20px);
  min-width: 0;
}
.read__n {
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  color: var(--line-hard);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.read:hover .read__n { color: var(--accent); }
.read__b { min-width: 0; }
.read__t a { text-decoration: none; }
.read__t a:hover { color: var(--accent); }
.read__x { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 480px) {
  .read { grid-template-columns: minmax(0, 1fr); }
  .read__n { font-size: 18px; }
}

.article { padding: clamp(24px, 4vw, 48px) 0; }
.article__date { margin-top: 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.article__body { margin-top: 24px; border-left: var(--rail) solid var(--accent-soft); padding-left: clamp(14px, 2vw, 22px); }
.article__back { margin-top: 30px; }

/* --- Липкая полоса покупки ---------------------------------------------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gut);
  background: var(--card);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -8px 24px -18px rgba(19, 19, 19, .8);
}
.dock__price { font-weight: 800; font-size: 16px; letter-spacing: -.02em; min-width: 0; }
.dock__price span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
@media (min-width: 820px) { .dock { display: none; } }

/* --- 404 и прошедшее ----------------------------------------------------- */
.plain-page { padding: clamp(30px, 6vw, 70px) 0; }
.plain-page .lead { margin-top: 14px; max-width: 54ch; }
.plain-page__acts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }

/* --- Подвал -------------------------------------------------------------- */
.foot {
  background: var(--ink);
  color: #EFEAE4;
  padding: clamp(28px, 4vw, 48px) 0 24px;
  margin-top: clamp(30px, 5vw, 60px);
}
.foot__grid {
  display: grid;
  gap: clamp(18px, 3vw, 36px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) { .foot__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.foot__name { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.foot__x { margin-top: 10px; font-size: 14px; color: #A8A19A; max-width: 44ch; }
.foot__cap {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.foot__links { margin-top: 12px; display: grid; gap: 7px; }
.foot__links a { color: #EFEAE4; text-decoration: none; font-size: 14.5px; }
.foot__links a:hover { color: var(--accent); }
.foot__rule { margin-top: 26px; padding-top: 16px; border-top: 1px solid #2C2A28; font-size: 12.5px; color: #8B8480; }
