/* =========================================================================
   РПЛ 2026/27 — стили внутренних страниц (команда / форма)
   Переиспользует токены и компоненты из styles.css (подключается первым).
   ========================================================================= */

/* навигация-ссылки в шапке подстраниц */
.nav a {
  border: 0; background: transparent; color: var(--text-dim);
  font: inherit; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
  padding: 9px 15px; border-radius: 8px; transition: .15s;
}
.nav a:hover { color: var(--text); }
.brand { text-decoration: none; }

.page { padding-bottom: 10px; min-height: 60vh; }

/* хлебные крошки */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-mute); margin: 22px 0 18px; flex-wrap: wrap; }
.crumbs a { color: var(--text-dim); font-weight: 600; }
.crumbs a:hover { color: var(--accent-strong); }
.crumbs .sep { color: var(--line); }
.crumbs > span:last-child { color: var(--text); font-weight: 700; }

/* шапка клуба / формы */
.club-hero {
  display: flex; gap: 22px; align-items: center;
  background: linear-gradient(120deg, color-mix(in srgb, var(--tc) 12%, var(--panel)), var(--panel) 60%);
  border: 1px solid var(--line); border-left: 6px solid var(--tc);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.club-hero-crest {
  width: 96px; height: 96px; border-radius: 20px; flex: none;
  background: linear-gradient(140deg, var(--navy-2), var(--navy));
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.club-hero-crest img { width: 62px; height: 62px; object-fit: contain; display: block; }
.club-hero h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; font-family: var(--font-head); letter-spacing: -.01em; }
.club-sub { color: var(--text-dim); margin: 7px 0 0; font-weight: 600; }
.tier-badge {
  display: inline-block; margin-top: 13px; background: var(--navy); color: #fff;
  font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  padding: 6px 13px; border-radius: 999px;
}

/* факты */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 28px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 18px; box-shadow: var(--shadow-sm); }
.fact span { display: block; font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; margin-bottom: 4px; }
.fact b { font-size: 18px; font-weight: 800; font-family: var(--font-head); }

/* заголовок текстовой страницы (дисклеймер и т.п.) */
.page-title {
  font-size: clamp(26px, 5vw, 38px); font-weight: 800;
  font-family: var(--font-head); letter-spacing: -.01em; margin: 4px 0 18px;
}
.warn-box {
  background: color-mix(in srgb, var(--warn) 12%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--line));
  border-radius: var(--radius-sm); padding: 15px 19px; margin: 0 0 26px;
  max-width: 760px; font-weight: 600; line-height: 1.6;
}

.lead { color: var(--text-dim); max-width: 780px; margin: 0 0 24px; font-size: 15.5px; line-height: 1.6; }
.lead b { color: var(--text); }

/* графики динамики */
.chart-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 18px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.chart-card h2 { font-size: 19px; font-weight: 800; font-family: var(--font-head); text-transform: uppercase; margin-bottom: 14px; }
.chart { width: 100%; }
.chartsvg { width: 100%; height: auto; display: block; }
.chart-empty { color: var(--text-mute); padding: 44px 0; text-align: center; font-weight: 600; }
.chartsvg .grid { stroke: var(--line-soft); stroke-width: 1; }
.chartsvg .axis { fill: var(--text-mute); font-size: 12px; font-weight: 600; font-family: var(--font); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 14px; }
.lg-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-dim); cursor: default; }
.lg-item:hover { color: var(--text); }
.lg-item i { width: 15px; height: 4px; border-radius: 2px; flex: none; }
.lg-item b { color: var(--text); font-family: var(--font-head); }

/* ---- Календарь сезона ---------------------------------------------------- */
.k-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.k-note {
  background: color-mix(in srgb, var(--warn) 10%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--warn) 38%, var(--line));
  border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 20px;
  font-size: 13.5px; color: var(--text-dim); line-height: 1.6; max-width: 820px;
}
.k-note b { color: var(--text); }
.k-nav {
  display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-bottom: 24px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; box-shadow: var(--shadow-sm);
}
.k-nav span { font-size: 11px; font-weight: 800; color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em; margin-right: 6px; }
.k-nav a {
  min-width: 30px; text-align: center; font-weight: 700; font-size: 12.5px;
  color: var(--text-dim); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 8px; transition: .15s;
}
.k-nav a:hover { border-color: var(--accent); color: var(--accent-strong); }

.k-tour { margin-bottom: 26px; scroll-margin-top: 76px; }
.k-tour h2 {
  font-size: 17px; font-weight: 800; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: -.01em; margin-bottom: 12px; display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap; padding-left: 13px; position: relative;
}
.k-tour h2::before {
  content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 5px;
  border-radius: 3px; background: var(--line);
}
.k-tour.next h2::before { background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.k-state {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: var(--text-mute);
  background: var(--panel-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px;
}
.k-tour.next .k-state { color: var(--accent-strong); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--accent-soft); }

.k-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.k-match {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--line);
  border-radius: var(--radius-sm); padding: 11px 14px; box-shadow: var(--shadow-sm);
}
.k-match.done { border-left-color: var(--accent); }
.k-when {
  font-size: 10.5px; font-weight: 700; color: var(--text-mute); text-transform: uppercase;
  letter-spacing: .03em; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.k-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; }
.k-side { display: flex; align-items: center; gap: 8px; min-width: 0; color: inherit; }
.k-side.away { flex-direction: row; justify-content: flex-end; text-align: right; }
.k-side img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.k-side span { font-weight: 700; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-side:hover span { color: var(--accent-strong); }
.k-score { font-family: var(--font-head); font-weight: 800; font-size: 16px; white-space: nowrap; padding: 0 4px; }
.k-time { color: var(--text-mute); font-weight: 800; font-size: 13px; padding: 0 4px; }

@media (max-width: 640px) {
  .k-list { grid-template-columns: 1fr; }
  .k-nav a { min-width: 27px; padding: 4px 6px; font-size: 12px; }
}

/* ---- Сравнение клубов ---------------------------------------------------- */
.cmp-panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.cmp-row { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.cmp-row:first-child { border-top: 0; padding-top: 0; }
.cmp-lbl {
  flex: none; width: 96px; padding-top: 7px; font-size: 11px; font-weight: 800;
  color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em;
}

/* переключатель метрики */
.cmp-metric { display: flex; flex-wrap: wrap; gap: 3px; background: var(--panel-2); border: 1px solid var(--line); padding: 4px; border-radius: 12px; }
.cmp-metric button {
  border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 12.5px;
  color: var(--text-dim); padding: 8px 14px; border-radius: 9px; cursor: pointer; transition: .15s;
}
.cmp-metric button.on { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }

/* чипы команд */
.cmp-teams { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; }
.tchip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; transition: .15s;
  border: 1.5px solid var(--line); background: var(--panel); color: var(--text-dim);
  font: inherit; font-weight: 700; font-size: 12.5px; padding: 6px 12px 6px 7px; border-radius: 999px;
}
.tchip img { width: 20px; height: 20px; object-fit: contain; filter: grayscale(1); opacity: .55; }
.tchip:hover { border-color: var(--tc); color: var(--text); }
.tchip.on {
  border-color: var(--tc); color: var(--text);
  background: color-mix(in srgb, var(--tc) 12%, var(--panel));
  box-shadow: inset 3px 0 0 var(--tc);
}
.tchip.on img { filter: none; opacity: 1; }

.cmp-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 0 9px 110px; }
.cmp-quick button {
  border: 1px dashed var(--line); background: transparent; color: var(--text-mute);
  font: inherit; font-weight: 700; font-size: 11.5px; padding: 5px 11px; border-radius: 999px; cursor: pointer;
}
.cmp-quick button:hover { border-style: solid; border-color: var(--accent); color: var(--accent-strong); }

/* отрезок туров */
.cmp-range { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cmp-range label { font-size: 12.5px; color: var(--text-dim); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.cmp-range select {
  font: inherit; font-weight: 700; font-size: 13px; background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; cursor: pointer;
}
.cmp-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.cmp-presets button {
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text-dim);
  font: inherit; font-weight: 700; font-size: 11.5px; padding: 6px 11px; border-radius: 9px; cursor: pointer;
}
.cmp-presets button:hover { border-color: var(--accent); color: var(--accent-strong); }

/* таблица сравнения */
.cmp-tbl-wrap { overflow-x: auto; }
.cmp-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cmp-tbl th {
  text-align: left; padding: 9px 10px; font-size: 11px; font-weight: 800; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: .04em; background: var(--panel-2); white-space: nowrap;
}
.cmp-tbl td { padding: 9px 10px; border-top: 1px solid var(--line-soft); white-space: nowrap; }
.cmp-tbl .cmp-team { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.cmp-tbl .cmp-team img { width: 22px; height: 22px; object-fit: contain; }
.cmp-d { font-weight: 800; color: var(--text-mute); }
.cmp-d.up { color: #16a34a; }
.cmp-d.down { color: var(--danger); }
.cmp-none { color: var(--text-mute); padding: 18px 10px; }

@media (max-width: 640px) {
  .cmp-row { flex-direction: column; gap: 8px; }
  .cmp-lbl { width: auto; padding-top: 0; }
  .cmp-quick { padding-left: 0; }
}

/* текущий срез вероятностей */
.cur-snap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.cur-snap h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; color: var(--text-dim); }
.snap-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.snap-list li { display: flex; align-items: center; gap: 11px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px 13px; box-shadow: var(--shadow-sm); }
.snap-list li .crest { width: 30px; height: 30px; }
.snap-list li span { flex: 1; font-weight: 700; font-size: 14px; }
.snap-list li b { font-family: var(--font-head); font-size: 17px; }
@media (max-width: 640px) { .cur-snap { grid-template-columns: 1fr; } }

/* текстовый блок */
.prose { margin-bottom: 30px; max-width: 760px; }
.prose h2, .specs h2, .kit-teaser h2 { font-size: 21px; font-weight: 800; font-family: var(--font-head); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 12px; }
.prose p { color: var(--text-dim); margin: 0 0 12px; }
.prose a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }

/* тизер формы на странице клуба */
.kit-teaser {
  display: flex; gap: 26px; align-items: center; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px;
  box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.kit-teaser p { color: var(--text-dim); margin: 8px 0 15px; }

/* сетка футболок на странице формы */
/* блок «как выглядит форма» + ссылка на официальное фото */
.kit-photo {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm); margin-bottom: 24px; max-width: 820px;
}
.kit-photo h2 { margin-bottom: 10px; }
.kit-photo p { color: var(--text-dim); line-height: 1.65; margin: 0 0 16px; font-size: 14.5px; }
.kit-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 4px 0 6px; }
.kit-shot { margin: 0; }
.kit-shot img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); display: block; }
.kit-photo-note {
  font-size: 12.5px !important; color: var(--text-mute) !important;
  margin: 14px 0 0 !important; line-height: 1.55 !important;
}

/* спецификации формы */
.specs { margin-bottom: 26px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.spec { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.spec span { display: block; font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; margin-bottom: 4px; }
.spec b { font-size: 16px; font-weight: 700; }
.tbd { color: var(--text-mute); font-style: normal; font-weight: 600; }
.kit-notes { margin-top: 16px; color: var(--text-dim); max-width: 760px; line-height: 1.6; }

/* кнопки-ссылки */
.links-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 22px; }
.btn-lg {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em;
  padding: 13px 20px; border-radius: 12px; background: var(--panel);
  border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow-sm); transition: .15s;
}
.btn-lg:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-1px); }
.btn-lg.primary { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff; border-color: transparent; }
.btn-lg.primary:hover { color: #fff; filter: brightness(1.06); }
.btn-lg.disabled { opacity: .5; cursor: default; transform: none; }

/* ссылки на все команды в подвале */
.foot-teams { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 5px 10px; }
.foot-teams a { color: var(--text-dim); font-size: 12.5px; }
.foot-teams a:hover { color: var(--accent-strong); text-decoration: underline; }

@media (max-width: 640px) {
  .club-hero, .kit-teaser { flex-direction: column; text-align: center; align-items: center; }
  .club-hero { padding: 22px 18px; }
  .club-hero-crest { width: 76px; height: 76px; border-radius: 16px; }
  .club-hero-crest img { width: 50px; height: 50px; }
  .club-hero h1 { font-size: clamp(24px, 7vw, 34px); }
   /* домашняя | гостевая рядом */

  .spec-grid { grid-template-columns: 1fr 1fr; }
  .prose h2, .specs h2, .kit-teaser h2 { font-size: 19px; }
  .links-row { flex-direction: column; }
  .links-row .btn-lg { width: 100%; justify-content: center; }
  .crumbs { margin: 16px 0 14px; font-size: 12.5px; }
}

/* ===== Фотографии под свободными лицензиями ============================== */
/* Врезка со снимком стадиона на странице клуба. Подпись состоит из двух
   строк: описание кадра и обязательная атрибуция (автор + лицензия). */
.photo {
  margin: 0 0 26px; max-width: 820px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.photo img {
  display: block; width: 100%; height: auto;
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel-2);
}
.photo figcaption { padding: 13px 17px 15px; }
.photo-cap, .photo-credit { display: block; }
.photo-cap {
  font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.5;
}
.photo-credit {
  margin-top: 6px; font-size: 11.5px; color: var(--text-mute); line-height: 1.5;
}
.photo-credit a { color: var(--text-mute); text-decoration: underline; }
.photo-credit a:hover { color: var(--accent); }

/* та же атрибуция внутри сетки кадров формы */
.kit-shot figcaption { padding: 9px 2px 0; }
.kit-shot .photo-cap { font-size: 12.5px; font-weight: 600; }
.kit-shot .photo-credit { margin-top: 4px; font-size: 11px; }
.kit-shots { align-items: start; }

/* ===== Таблица источников фотографий ==================================== */
.table-wrap { overflow-x: auto; margin: 0 0 28px; max-width: 900px; }
table.credits {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
table.credits th, table.credits td {
  padding: 10px 13px; text-align: left; border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.credits th {
  background: var(--panel-2); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-dim); font-weight: 800; white-space: nowrap;
}
table.credits tr:last-child td { border-bottom: 0; }
table.credits td:nth-child(2) { white-space: nowrap; color: var(--text-dim); }
table.credits td:nth-child(3), table.credits td:nth-child(4) { white-space: nowrap; }

@media (max-width: 640px) {
  .photo figcaption { padding: 11px 13px 13px; }
  .photo-cap { font-size: 13px; }
  table.credits { font-size: 12.5px; }
  table.credits th, table.credits td { padding: 8px 10px; }
  table.credits td:nth-child(2) { white-space: normal; }
}

/* ===== Фото комплектов из магазинов клубов (внешние ссылки) ============== */
/* Изображения приходят с серверов клубов, размеры и фоны у всех разные,
   поэтому задаём одинаковую рамку и вписываем кадр по contain. */
.kit-photo.shop { max-width: 820px; }
.shop-shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin: 4px 0 6px;
}
.shop-shot { margin: 0; }
.shop-shot a { display: block; text-decoration: none; }
.shop-shot img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 6px; box-sizing: border-box;
  transition: border-color .15s ease, transform .15s ease;
}
.shop-shot a:hover img { border-color: var(--accent); transform: translateY(-2px); }
.shop-shot figcaption {
  margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  line-height: 1.45;
}
.shop-shot figcaption a { color: var(--accent); text-decoration: none; font-weight: 700; }
.shop-shot figcaption a:hover { text-decoration: underline; }
.shop-shot[hidden] { display: none; }

@media (max-width: 640px) {
  .shop-shots { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shop-shot figcaption { font-size: 11.5px; }
}

/* ===== Страницы центральных матчей ====================================== */
.match-page h1 { font-size: clamp(24px, 4vw, 34px); margin: 18px 0 14px; }
.m-hero {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 12px; padding: 22px 16px; margin-top: 8px;
  background: linear-gradient(135deg, #171c4a 0%, #232a63 100%);
  border-radius: var(--radius); color: #fff;
}
.m-side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.m-side .crest { width: 62px; height: 62px; }
.m-name { color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; line-height: 1.25; }
.m-name:hover { text-decoration: underline; }
.m-role { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #99a3cc; }
.m-score { display: flex; align-items: center; gap: 6px; font-size: 40px; font-weight: 900; }
.m-score i { color: #7d88bd; font-style: normal; }
.m-vs { font-size: 20px; font-weight: 800; color: #7d88bd; letter-spacing: .1em; }

.m-facts { list-style: none; padding: 0; margin: 16px 0 6px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.m-facts li { background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px; }
.m-facts span { display: block; font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-dim); margin-bottom: 3px; }
.m-facts b { font-size: 15px; }
.m-back { color: var(--text-dim); font-size: 14px; margin: 4px 0 0; }

.m-block { margin: 26px 0; }
.m-block h2 { font-size: 20px; margin-bottom: 10px; }
.m-steps { padding-left: 20px; margin: 0; }
.m-steps li { margin-bottom: 12px; line-height: 1.6; }
.m-warn { background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 14px; line-height: 1.55; margin-top: 12px; }
.m-note { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; margin-top: 10px; }

.m-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-odd { background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 10px; text-align: center; }
.m-odd-v { display: block; font-size: 26px; font-weight: 900; color: var(--accent); }
.m-odd-l { display: block; font-size: 12.5px; color: var(--text-dim); margin-top: 4px; line-height: 1.35; }

.m-table { width: 100%; border-collapse: collapse; }
.m-table th, .m-table td { padding: 9px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.m-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); }
.m-table td:first-child, .m-table th:first-child { text-align: left; }
.m-tc { display: flex; align-items: center; gap: 8px; }
.m-tc .crest { width: 26px; height: 26px; flex: 0 0 26px; }

.m-faq { border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; margin-bottom: 8px; background: var(--card); }
.m-faq summary { cursor: pointer; font-weight: 700; }
.m-faq p { margin: 9px 0 0; line-height: 1.6; color: var(--text-dim); }

/* хаб-страница */
.m-list { margin: 18px 0; }
.m-tour { font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-dim); margin: 20px 0 8px; }
.m-li { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 10px; padding: 12px 14px; margin-bottom: 8px; text-decoration: none;
  color: inherit; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); transition: border-color .15s ease, transform .15s ease; }
.m-li:hover { border-color: var(--accent); transform: translateY(-1px); }
.m-li-t { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.m-li-t.right { justify-content: flex-end; }
.m-li-t .crest { width: 30px; height: 30px; flex: 0 0 30px; }
.m-li-sc { font-size: 18px; font-weight: 900; }
.m-li-vs { color: var(--text-dim); }
.m-li-d { grid-column: 1 / -1; font-size: 12.5px; color: var(--text-dim); }

@media (max-width: 640px) {
  .m-hero { padding: 16px 10px; gap: 6px; }
  .m-side .crest { width: 48px; height: 48px; }
  .m-name { font-size: 13.5px; }
  .m-score { font-size: 30px; }
  .m-odds { grid-template-columns: 1fr; }
  .m-odd { display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .m-odd-v { font-size: 20px; }
  .m-li-t { font-size: 13.5px; }
  .m-li-t .crest { width: 24px; height: 24px; flex: 0 0 24px; }
}

/* форма команд и таблицы на страницах матчей/стадионов */
.m-form-row { display: grid; grid-template-columns: minmax(140px,1fr) auto; gap: 8px 14px;
  align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.m-form-row:last-of-type { border-bottom: none; }
.m-form-t { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.m-form-t .crest { width: 30px; height: 30px; flex: 0 0 30px; }
.m-form-t a { color: inherit; text-decoration: none; }
.m-form-t a:hover { text-decoration: underline; }
.m-form-b { display: flex; gap: 5px; }
.m-form-w { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.m-form-empty { color: var(--text-dim); font-size: 14px; }
.m-table .nowrap, .nowrap { white-space: nowrap; }
.st-table td:nth-child(1) { width: 48px; }

/* сетка стадионов */
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 18px 0; }
.st-card { display: flex; flex-direction: column; gap: 3px; padding: 15px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.st-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.st-name { font-weight: 800; font-size: 16px; }
.st-city { font-size: 13px; color: var(--text-dim); }
.st-cap { font-size: 13px; font-weight: 700; color: var(--accent); }
.st-clubs { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; line-height: 1.4; }

@media (max-width: 640px) {
  .m-form-row { grid-template-columns: 1fr; }
  .st-grid { grid-template-columns: 1fr; }
}
