/* Manrope: кириллица и латиница, woff2, локально */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-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: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-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: #EAF2FA;
  --surface: #0A1727;
  --card: #12263C;
  --card-2: #16324B;
  --accent: #3FC1E0;
  --accent-dk: #2AA5C2;
  --warm: #E2564B;
  --muted: #8FA6BD;
  --line: #1E3A55;
  --r: 10px;
  --gap: clamp(16px, 2.6vw, 28px);
  --wrap: 1120px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: #7FD9F0; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; background: var(--accent); color: #06131F; padding: 10px 16px; z-index: 60; }
.skip:focus { left: 0; top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 36px); }
.wrap--narrow { max-width: 740px; }

.t1 { font-size: clamp(26px, 4.2vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.t2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.t2--gap { margin-top: 34px; }
.lead { margin-top: 12px; color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); max-width: 68ch; }
.plain { font-weight: 600; font-size: 15px; }

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

.bar { background: #07121E; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 2vw, 24px); min-height: 68px; }

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; flex: 1 1 auto; min-width: 0; }
.logo__ice { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--accent); position: relative; }
.logo__ice::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--accent); opacity: .35; }
.logo__txt { display: flex; flex-direction: column; min-width: 0; }
.logo__name { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo__sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { flex: 0 0 auto; min-width: 0; }
.nav__list { display: flex; flex-wrap: nowrap; gap: clamp(9px, 1.5vw, 22px); }
.nav__link {
  display: block; padding: 7px 0;
  font-size: 14.5px; font-weight: 700; letter-spacing: .01em;
  text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.toggle {
  display: none; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 700; padding: 9px 13px; cursor: pointer; flex: 0 0 auto;
}
.toggle span[aria-hidden] { width: 16px; height: 2px; background: currentColor; position: relative; display: block; }
.toggle span[aria-hidden]::before, .toggle span[aria-hidden]::after { content: ''; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.toggle span[aria-hidden]::before { top: -5px; } .toggle span[aria-hidden]::after { top: 5px; }

.bar.is-compact .toggle { display: inline-flex; }
.bar.is-compact .bar__in { flex-wrap: wrap; }
.bar.is-compact .nav { flex: 1 1 100%; }
.bar.is-compact .nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-bottom: 6px; }
.bar.is-compact .nav__link { padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav[hidden] { display: none; }

@media (max-width: 899px) {
  .toggle { display: inline-flex; }
  .bar__in { flex-wrap: wrap; }
  .nav { flex: 1 1 100%; }
  .nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-bottom: 6px; }
  .nav__link { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

.path { padding: 16px 0 0; }
.path__list { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; color: var(--muted); }
.path__list li + li::before { content: '→'; margin-right: 10px; color: var(--line); }
.path__list a { color: var(--muted); }

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

.top { padding: clamp(28px, 4.5vw, 56px) 0 0; }
.top__kicker { font-size: 13.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.top .t1 { margin-top: 12px; }
.top__lead { margin-top: 14px; color: var(--muted); max-width: 62ch; }

.next {
  margin-top: 28px; background: linear-gradient(135deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r);
  padding: clamp(18px, 3vw, 28px); min-width: 0;
}
.next__label { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.next__title { margin-top: 10px; font-size: clamp(22px, 3.2vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.next__meta { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.next__foot { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.next__price { font-size: 21px; font-weight: 800; }

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

.go {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #06131F;
  border: 1px solid var(--accent); border-radius: var(--r);
  padding: 11px 20px; font: inherit; font-weight: 800; font-size: 15.5px;
  text-decoration: none; cursor: pointer; text-align: center; max-width: 100%;
}
.go:hover { background: #7FD9F0; border-color: #7FD9F0; color: #06131F; }
.go--lg { padding: 13px 26px; font-size: 16.5px; }
.go--sm { padding: 8px 16px; font-size: 14.5px; }
.go--block { width: 100%; }

/* --- Расписание строками ------------------------------------------------ */

.sched, .why, .cuts, .reads, .listpage { padding: clamp(30px, 4.5vw, 52px) 0; }
.head2 { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

.rows { margin-top: 20px; display: grid; gap: 10px; }
.row {
  display: grid; align-items: center; gap: clamp(12px, 2vw, 22px);
  grid-template-columns: 74px minmax(0, 1fr) auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 13px 16px; min-width: 0;
}
.row--home { border-left: 3px solid var(--accent); }
.row--away { border-left: 3px solid var(--warm); }
.row__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--card-2); border-radius: 8px; padding: 8px 4px; text-decoration: none; color: inherit;
  flex: 0 0 auto;
}
.row__date b { font-size: 21px; font-weight: 800; line-height: 1; }
.row__date span { font-size: 12px; color: var(--muted); }
.row__date i { font-size: 11px; color: var(--accent); font-style: normal; text-transform: uppercase; }
.row__main { min-width: 0; }
.row__tag { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.row--home .row__tag { color: var(--accent); }
.row--away .row__tag { color: var(--warm); }
.row__title { margin-top: 3px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.row__title a { color: inherit; text-decoration: none; }
.row__title a:hover { color: var(--accent); }
.row__where { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.row__buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
.row__price { font-size: 14px; color: var(--muted); white-space: nowrap; }
.row__price b { font-size: 17px; color: var(--ink); }

@media (max-width: 680px) {
  .row { grid-template-columns: 60px minmax(0, 1fr); }
  .row__buy { grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 11px; }
}

.empty { margin-top: 20px; color: var(--muted); }
.listpage__n { margin-top: 12px; font-size: 14px; color: var(--muted); }
.filters { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.fbtn { background: var(--card); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; padding: 7px 14px; cursor: pointer; }
.fbtn.is-on { background: var(--accent); border-color: var(--accent); color: #06131F; }

/* --- Преимущества и подборки ------------------------------------------- */

.why__list { margin-top: 20px; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.why__i { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; }
.why__t { font-size: 17px; font-weight: 800; color: var(--accent); }
.why__x { margin-top: 9px; font-size: 15px; color: var(--muted); }

.cuts__list { margin-top: 20px; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cuts__i { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; }
.cuts__t { font-size: 17.5px; font-weight: 800; }
.cuts__t a { color: inherit; text-decoration: none; }
.cuts__t a:hover { color: var(--accent); }
.cuts__x { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.cuts__n { margin-top: 12px; font-size: 13px; font-weight: 800; color: var(--accent); }

.pills { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 9px; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink); }
.pill b { color: var(--accent); font-size: 12.5px; }
.pill:hover { border-color: var(--accent); }

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

.match { padding: clamp(20px, 3.5vw, 40px) 0 0; }
.match__tag { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.match .t1 { margin-top: 10px; }

.scoreboard {
  margin-top: 24px; display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.scoreboard > div { background: var(--card); padding: 17px 19px; min-width: 0; }
.scoreboard b { display: block; font-size: 18px; font-weight: 800; }
.scoreboard span { display: block; margin-top: 5px; font-size: 14px; color: var(--muted); }
.scoreboard__price { color: var(--accent); font-size: 24px !important; }
.scoreboard__buy .go { margin-top: 12px; width: 100%; }
.match__note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

.callout { margin-top: 20px; background: var(--card-2); border-left: 3px solid var(--warm); border-radius: 8px; padding: 15px 18px; font-size: 15px; }

.match__grid { margin-top: clamp(26px, 4vw, 44px); display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: start; }
.match__main { min-width: 0; }
.match__side { display: grid; gap: 14px; position: sticky; top: 88px; min-width: 0; }
@media (max-width: 940px) { .match__grid { grid-template-columns: minmax(0, 1fr); } .match__side { position: static; } }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 19px; min-width: 0; }
.panel--flat { background: transparent; }
.panel__price { font-size: 25px; font-weight: 800; color: var(--accent); }
.panel__when { margin-top: 5px; font-size: 14px; color: var(--muted); }
.panel .go { margin-top: 14px; }
.panel__head { font-weight: 800; font-size: 15.5px; }
.panel__txt { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.panel--flat .plain { display: inline-block; margin-top: 10px; }

.dl { margin-top: 14px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dl > div { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 4px 16px; background: var(--card); padding: 11px 15px; }
.dl dt { font-size: 13.5px; color: var(--muted); }
.dl dd { font-size: 15px; min-width: 0; }
.dl--wide { margin-top: 20px; }
@media (max-width: 600px) { .dl > div { grid-template-columns: minmax(0, 1fr); } }

.facts2 { margin-top: clamp(26px, 4vw, 40px); }
.prose { margin-top: clamp(24px, 3.5vw, 38px); }
.prose h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; margin-top: 26px; }
.prose h3 { font-size: 18px; font-weight: 800; margin-top: 20px; }
.prose p { margin-top: 13px; max-width: 72ch; color: #D3E1EF; }
.prose ul, .prose ol { margin-top: 13px; display: grid; gap: 7px; max-width: 72ch; }
.prose li { padding-left: 18px; position: relative; color: #D3E1EF; }
.prose li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }
.prose--thin p { color: var(--muted); }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: #07121E; border-top: 1px solid var(--line);
  padding: 10px clamp(16px, 4vw, 24px);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.dock__price { font-weight: 800; font-size: 17px; color: var(--accent); }
@media (max-width: 940px) {
  .dock:not([hidden]) { display: flex; }
  body[data-page-type='event'] { padding-bottom: 74px; }
}

/* --- Вопросы, блог, подвал --------------------------------------------- */

.qa, .feed, .single, .oops, .arena { padding: clamp(24px, 4vw, 46px) 0; }
.qa__list { margin-top: 24px; display: grid; gap: 9px; }
.qa__i { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.qa__q { padding: 15px 18px; font-weight: 700; cursor: pointer; font-size: 16px; }
.qa__a { padding: 0 18px 15px; color: var(--muted); }

.feed__list { margin-top: 24px; display: grid; gap: 14px; }
.feed__i { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.feed__t { font-size: 19px; font-weight: 800; }
.feed__t a { color: inherit; text-decoration: none; }
.feed__t a:hover { color: var(--accent); }
.feed__x { margin-top: 8px; color: var(--muted); font-size: 15px; }
.feed__d { margin-top: 10px; font-size: 13px; color: var(--accent); }
.single__d { margin-top: 12px; font-size: 13.5px; color: var(--accent); }
.single__back { margin-top: 30px; }

.reads__list { margin-top: 18px; display: grid; gap: 11px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.reads__list a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 17px; text-decoration: none; color: inherit; min-width: 0; }
.reads__list a:hover { border-color: var(--accent); }
.reads__list b { display: block; font-size: 16px; font-weight: 800; }
.reads__list span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

.end { margin-top: clamp(38px, 6vw, 68px); background: #07121E; border-top: 1px solid var(--line); }
.end__in { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-top: 36px; padding-bottom: 36px; }
.end__in > div { min-width: 0; }
.end__name { font-weight: 800; font-size: 16px; }
.end__head { font-weight: 800; font-size: 14.5px; }
.end__note { margin-top: 9px; font-size: 14px; color: var(--muted); }
.end__links { margin-top: 9px; display: grid; gap: 6px; }
.end__links a { font-size: 14px; color: var(--ink); }

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