/* Fira Sans: кириллица и латиница, woff2, локально */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/fira-sans-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/fira-sans-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: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/fira-sans-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/fira-sans-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: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/fira-sans-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/fira-sans-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: #EDEAE5;
  --surface: #16191C;
  --plate: #1E2227;
  --plate-2: #23282E;
  --steel: #2B3036;
  --line: #32383F;
  --accent: #F2690F;
  --accent-deep: #C0490A;
  --accent-ink: #16191C;
  --muted: #9AA1A8;
  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --edge: 8px;
  --font: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

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

html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-deep) var(--steel);
}
html::-webkit-scrollbar { width: 13px; height: 13px; }
html::-webkit-scrollbar-track { background: var(--steel); }
html::-webkit-scrollbar-thumb { background: var(--accent-deep); border: 3px solid var(--steel); }
html::-webkit-scrollbar-thumb:hover { background: var(--accent); }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0; }
b, strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 30;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

/* --- Общие приёмы --------------------------------------------------------- */

/* полоса во всю ширину экрана; содержимое внутри выровнено по колонке */
.strip { border-top: 1px solid var(--line); }
.strip--plate { background: var(--plate); }
.strip--deep { background: var(--surface); }
.hold {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 52px) var(--pad);
  min-width: 0;
}
.hold--tight { padding-top: clamp(18px, 2.6vw, 28px); padding-bottom: clamp(18px, 2.6vw, 28px); }
.hold--text { max-width: 820px; }

/* предупреждающая разметка: тот же приём, что на заводских ограждениях */
.hazard {
  height: 10px;
  background: repeating-linear-gradient(135deg,
    var(--accent) 0 14px, var(--accent-ink) 14px 28px);
}
.hazard--thin { height: 6px; opacity: .85; }

.kick {
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.kick--steel { color: var(--muted); }

.t1 { font-size: clamp(30px, 5.2vw, 56px); }
.t2 { font-size: clamp(22px, 3vw, 32px); }
.t2--gap { margin-top: 38px; margin-bottom: 16px; }
.t3 { font-size: clamp(17px, 2vw, 21px); }

.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 66ch; }
.lead--wide { max-width: 72ch; }
.lead--gap { margin-top: 16px; }
.after { margin-top: 22px; }

.headrow {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 10px 20px; margin-bottom: 22px;
}

.flat {
  color: var(--accent); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid rgba(242, 105, 15, .45); padding-bottom: 1px;
}
.flat:hover { color: var(--ink); border-bottom-color: var(--ink); }

.act {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  padding: 11px 18px; border: 2px solid var(--accent);
}
.act:hover { background: var(--accent-ink); color: var(--accent); }
.act--lg { font-size: 15.5px; padding: 15px 26px; }
.act--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.act--ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.act--block { display: block; width: 100%; }

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

.rig {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.rig__in {
  max-width: var(--wrap); margin: 0 auto; padding: 12px var(--pad);
  display: flex; flex-wrap: nowrap; align-items: center; gap: 16px;
}
.mark {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.mark__bolt {
  flex: 0 0 auto; width: 34px; height: 34px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}
.mark__txt { min-width: 0; }
.mark__name {
  display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mark__sub {
  display: block; font-size: 12px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tog {
  flex: 0 0 auto; display: flex; align-items: center; gap: 9px;
  background: transparent; color: var(--ink); border: 2px solid var(--line);
  font-family: var(--font); font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; padding: 9px 13px; cursor: pointer;
}
.tog i { display: block; width: 18px; height: 2px; background: var(--accent); box-shadow: 0 5px 0 var(--accent), 0 -5px 0 var(--accent); }
.tog:hover { border-color: var(--accent); }

.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-size: 13.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: 9px 11px; border-bottom: 3px solid transparent; color: var(--ink);
}
.nav__link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.rig.is-narrow .rig__in { flex-wrap: wrap; }
.rig.is-narrow .nav { flex: 1 1 100%; order: 3; }
.rig.is-narrow .nav__list { display: block; border-top: 1px solid var(--line); margin-top: 10px; }
.rig.is-narrow .nav__link {
  padding: 13px 0; border-bottom: 1px solid var(--line); border-left: 0;
}
.rig.is-narrow .nav__link:hover { border-bottom-color: var(--line); }

/* --- Хлебные крошки ------------------------------------------------------- */

.trail { border-bottom: 1px solid var(--line); background: var(--surface); }
.trail__in { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--pad); }
.trail__list {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.trail__list li + li::before { content: '/'; color: var(--accent); margin-right: 8px; }
.trail__list a { color: var(--muted); text-decoration: none; }
.trail__list a:hover { color: var(--accent); }

/* --- Первый экран --------------------------------------------------------- */

.top__h1 { margin-bottom: 18px; }
.top__lead { margin-bottom: 26px; }
.top__acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) {
  .top__acts { display: grid; grid-template-columns: minmax(0, 1fr); }
  .top__acts .act { width: 100%; text-align: center; }
}

/* счётчики: одна полоса, разделённая вертикальными рёбрами, а не плитки */
.meters {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--plate);
}
.meters__i {
  padding: 16px var(--pad); min-width: 0;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.meters__i:first-child { border-left: 0; }
.meters__n {
  display: block; font-size: clamp(22px, 3.4vw, 34px); font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--accent); line-height: 1.05;
}
.meters__c { display: block; font-size: 12.5px; color: var(--muted); }

/* --- Ближайший матч: плита во всю ширину --------------------------------- */

.next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: start; }
.next__tag {
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent); display: inline-block;
  padding: 4px 10px; margin-bottom: 16px;
}
.next__title { font-size: clamp(24px, 3.6vw, 40px); font-weight: 700; line-height: 1.1; }
.next__when {
  margin-top: 14px; font-size: clamp(16px, 1.8vw, 20px); font-variant-numeric: tabular-nums;
}
.next__where { margin-top: 6px; color: var(--muted); }
.next__pic { border: 1px solid var(--line); width: 148px; height: auto; }
.next__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  margin-top: 24px; padding-top: 20px; border-top: 3px solid var(--accent);
}
.next__price {
  font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; font-variant-numeric: tabular-nums;
}

/* --- Полосы расписания: главный приём темы ------------------------------- */

.bands { border-bottom: 1px solid var(--line); }
.band {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--plate);
}
.band:nth-child(even) { background: var(--plate-2); }
.band:hover { background: var(--steel); }
.band::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--edge);
  background: var(--accent);
}
.band--away::before {
  background: repeating-linear-gradient(135deg,
    var(--muted) 0 3px, transparent 3px 7px);
}
.band__in {
  max-width: var(--wrap); margin: 0 auto;
  padding: 16px var(--pad) 16px calc(var(--pad) + var(--edge));
  display: grid; grid-template-columns: 86px minmax(0, 1fr) minmax(0, 190px);
  gap: clamp(14px, 2vw, 30px); align-items: center;
}
.band__day {
  display: block; text-decoration: none; min-width: 0;
  border-right: 1px solid var(--line); padding-right: 12px;
}
.band__day b {
  display: block; font-size: 34px; line-height: 1; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.band__day span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.band__day i { display: block; font-style: normal; font-size: 12px; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }
.band__mid { min-width: 0; }
.band__tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 5px;
}
.band--away .band__tag { color: var(--muted); }
.band__title { font-size: clamp(17px, 2vw, 22px); font-weight: 600; }
.band__title a { text-decoration: none; }
.band__title a:hover { color: var(--accent); }
.band__where { font-size: 14px; color: var(--muted); margin-top: 5px; }
.band__extra { font-size: 13px; color: var(--accent); margin-top: 5px; }
.band__buy { min-width: 0; text-align: right; }
.band__price { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.band__price span { font-size: 13px; font-weight: 400; color: var(--muted); }
/* манометр: доля цены матча от самой дорогой в этом списке, считается скриптом */
.band__gauge { height: 4px; background: var(--steel); margin: 8px 0 10px; }
.band__gauge i { display: block; height: 100%; width: 0; background: var(--accent-deep); }

@media (max-width: 860px) {
  .band__in { grid-template-columns: 72px minmax(0, 1fr); }
  .band__buy { grid-column: 1 / -1; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  .band__gauge { flex: 1 1 90px; margin: 0; min-width: 60px; }
  .band__day b { font-size: 28px; }
  .next { grid-template-columns: minmax(0, 1fr); }
  .next__pic { display: none; }
}
@media (max-width: 620px) {
  .meters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meters__i:nth-child(3) { border-left: 0; }
  .meters__i:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --- Полосы-разделы: жанры, подборки, месяцы ----------------------------- */

.slats { border-top: 1px solid var(--line); }
.slat {
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px; align-items: center;
  padding: 18px 0; text-decoration: none;
}
.slat:hover { background: var(--steel); }
.slat > span, .works__i > span, .reads__i > span { min-width: 0; }
.slat__t { display: block; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; }
.slat__x { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 72ch; }
.slat__n {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums; line-height: 1;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none;
  border: 1px solid var(--line); padding: 8px 13px;
  font-size: 14px; letter-spacing: .02em;
}
.chip b { color: var(--accent); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--accent); }

/* --- Как устроен календарь ----------------------------------------------- */

.works { border-top: 1px solid var(--line); }
.works__i {
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 0 clamp(14px, 2vw, 28px);
  padding: 22px 0;
}
.works__n {
  display: block; font-size: 30px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums;
  line-height: 1; border-right: 3px solid var(--accent); padding-right: 14px;
}
.works__t { font-size: clamp(17px, 1.9vw, 21px); }
.works__x { display: block; color: var(--muted); margin-top: 7px; max-width: 68ch; }

@media (max-width: 560px) {
  .works__i { grid-template-columns: minmax(0, 1fr); }
  .works__n { border-right: 0; border-bottom: 3px solid var(--accent); padding: 0 0 8px; margin-bottom: 12px; width: 52px; }
}

/* --- Страница матча ------------------------------------------------------ */

.spec {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--plate);
}
.spec div { padding: 15px var(--pad); border-left: 1px solid var(--line); min-width: 0; }
.spec div:first-child { border-left: 0; }
.spec dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 6px 0 0; font-size: 16.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.spec dd a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(242,105,15,.4); }
.spec--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .spec, .spec--four, .spec--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec div { border-left: 0; border-top: 1px solid var(--line); }
  .spec div:nth-child(odd) { border-right: 1px solid var(--line); }
  .spec div:nth-child(1), .spec div:nth-child(2) { border-top: 0; }
}
@media (max-width: 420px) {
  .spec, .spec--four, .spec--three { grid-template-columns: minmax(0, 1fr); }
  .spec div:nth-child(odd) { border-right: 0; }
  .spec div:nth-child(2) { border-top: 1px solid var(--line); }
}

/* горячая полоса действия: оранжевая на всю ширину, вместо боковой карточки */
.hot { background: var(--accent); color: var(--accent-ink); }
.hot__in {
  max-width: var(--wrap); margin: 0 auto; padding: 18px var(--pad);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
}
.hot__price { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; font-variant-numeric: tabular-nums; }
.hot__note { font-size: 13.5px; font-weight: 600; max-width: 46ch; }
.hot .act {
  background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink);
}
.hot .act:hover { background: transparent; color: var(--accent-ink); border-color: var(--accent-ink); }

.match__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: start; }
.match__pic { border: 1px solid var(--line); width: 200px; height: auto; }
/* Заставка — картинка с названием матча внутри. В коробке 104 точки буквы
   на ней набирались семью пунктами и сливались. На узкой ширине она идёт
   своей шириной, но не шире исходных 400 точек. */
@media (max-width: 640px) {
  .match__head { grid-template-columns: minmax(0, 1fr); }
  /* Заставка уходит под название: сверху нужны заголовок, дата и цена. */
  .match__pic { width: 220px; order: 2; }
}

.remind { color: var(--muted); font-size: 15px; }
.warn {
  border-left: var(--edge) solid var(--accent); background: var(--steel);
  padding: 16px 18px; font-size: 15.5px; max-width: 80ch;
}
.warn b { color: var(--accent); }

.slots { border-top: 1px solid var(--line); }
.slots__i {
  border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 18px; padding: 13px 0;
}
.slots__d { font-weight: 600; font-variant-numeric: tabular-nums; }
.slots__w { color: var(--muted); font-size: 14px; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(20px, 2.4vw, 27px); margin: 32px 0 12px; }
.prose h3 { font-size: clamp(17px, 2vw, 21px); margin: 26px 0 10px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding: 0; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 8px; list-style: none; }
.prose li::before {
  content: ''; position: absolute; left: 0; top: .6em; width: 9px; height: 3px; background: var(--accent);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n); background: transparent; color: var(--accent); font-weight: 700;
  width: auto; height: auto; top: 0; font-variant-numeric: tabular-nums;
}
.prose a { color: var(--accent); }

.tablet { border-top: 1px solid var(--line); margin-top: 8px; }
.tablet div {
  display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 4px 20px; padding: 11px 0; border-bottom: 1px solid var(--line);
}
.tablet dt { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tablet dd { margin: 0; }
.tablet dd a { color: var(--accent); }
@media (max-width: 560px) { .tablet div { grid-template-columns: minmax(0, 1fr); } }

/* --- Фильтры расписания -------------------------------------------------- */

.switches {
  display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-start;
  padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.switches__g { min-width: 0; }
.switches__c { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.switches__r { display: flex; flex-wrap: wrap; gap: 6px; }
.sw {
  font-family: var(--font); font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  background: transparent; color: var(--ink); border: 2px solid var(--line);
  padding: 8px 14px; cursor: pointer;
}
.sw:hover { border-color: var(--accent); }
.sw.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.nothing { padding: 26px 0; color: var(--muted); }

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

/* Строка длиннее 760 точек не читается: ограничиваем колонку вопросов. */
.qa { border-top: 1px solid var(--line); max-width: 860px; }
.qa__i { border-bottom: 1px solid var(--line); }
.qa__q {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) 24px; align-items: baseline;
  gap: 12px; padding: 18px 0; cursor: pointer; font-weight: 600;
  font-size: clamp(16px, 1.9vw, 20px); list-style: none;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__n { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.qa__i[open] .qa__n, .qa__q:hover .qa__n { color: var(--accent); }
.qa__q i {
  font-style: normal; color: var(--accent); font-size: 22px; line-height: 1; justify-self: end;
}
.qa__i[open] .qa__q i { color: var(--muted); }
.qa__a { padding: 0 0 22px 66px; color: var(--muted); max-width: 70ch; }
@media (max-width: 560px) {
  .qa__q { grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 8px; }
  .qa__a { padding-left: 42px; }
}

/* --- Блог ---------------------------------------------------------------- */

.reads { border-top: 1px solid var(--line); }
.reads__i {
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 0 clamp(14px, 2vw, 26px);
  padding: 22px 0;
}
.reads__n {
  display: block; font-size: 28px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums;
  line-height: 1;
}
.reads__t { font-size: clamp(18px, 2.2vw, 25px); }
.reads__t a { text-decoration: none; }
.reads__t a:hover { color: var(--accent); }
.reads__x { display: block; color: var(--muted); margin-top: 8px; max-width: 68ch; }
.reads__d { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; letter-spacing: .06em; }
@media (max-width: 560px) { .reads__i { grid-template-columns: minmax(0, 1fr); } .reads__n { margin-bottom: 8px; } }

.post__d {
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin: 14px 0 0; padding-top: 14px; border-top: 3px solid var(--accent); display: inline-block;
}
.post__body { margin-top: 26px; }
.post__back { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }

/* --- 404 ----------------------------------------------------------------- */

.oops__n {
  font-size: clamp(74px, 18vw, 180px); font-weight: 700; line-height: .9;
  color: var(--steel); font-variant-numeric: tabular-nums; margin-bottom: 10px;
}

/* --- Липкая полоса покупки на телефоне ---------------------------------- */

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  background: var(--accent-ink); border-top: 3px solid var(--accent);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
}
.dock__price { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 861px) { .dock { display: none; } }
@media (max-width: 860px) {
  body[data-page-type="event"] .end { padding-bottom: 96px; }
}

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

.end { border-top: 1px solid var(--line); background: var(--plate); }
.end__in {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(26px, 3.4vw, 44px) var(--pad);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px 32px;
}
.end__name { font-weight: 700; font-size: 17px; }
.end__note { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 46ch; }
.end__head {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.end__links li { margin-bottom: 7px; }
.end__links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.end__links a:hover { color: var(--accent); }
.end__head--gap { margin-top: 16px; }
.end__tags { display: flex; flex-wrap: wrap; gap: 5px 13px; }
.end__tags a { color: var(--muted); text-decoration: none; font-size: 14px; }
.end__tags a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
