/**
 * SportsWiki — оформление «Табло».
 *
 * Сайт белый всегда. Системная тёмная тема браузера на него не влияет:
 * за это отвечает color-scheme: only light на корне. Тёмная тема
 * включается только явным выбором пользователя.
 *
 * Цвет вида спорта — информация, а не украшение. На каждый вид два токена:
 * яркий для планок и линеек, затемнённый для текста, иначе контраст
 * не дотягивает до 4.5:1.
 */

:root {
  color-scheme: only light;

  --bg:      #ffffff;
  --panel:   #ffffff;
  --ink:     #131a18;
  --muted:   #5e6c67;
  --rule:    #dfe4e1;
  --rule-2:  #f2f5f3;
  --accent:  #1b3fe0;

  --live:      #e8442a;
  --live-fg:   #c22f16;

  --s-football:   #2fa05a;  --s-football-fg:   #14663a;
  --s-hockey:     #2e93c9;  --s-hockey-fg:     #14637f;
  --s-basketball: #db7a2e;  --s-basketball-fg: #8f4f13;
  --s-tennis:     #a8bd2c;  --s-tennis-fg:     #566b0d;
  --s-volleyball: #cf5c8f;  --s-volleyball-fg: #9b2f5f;
  --s-motorsport: #546e7a;  --s-motorsport-fg: #37474f;
  --s-fighting:   #c0392b;  --s-fighting-fg:   #97281d;
  --s-handball:   #7e57c2;  --s-handball-fg:   #5e35b1;
  --s-rugby:      #8d6e63;  --s-rugby-fg:      #5d4037;
  --s-american-football: #3f51b5; --s-american-football-fg: #283593;
  --s-baseball:   #00897b;  --s-baseball-fg:   #00695c;

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font: "Golos Text", -apple-system, "Segoe UI", Roboto, sans-serif;

  --gut: clamp(0.75rem, 2vw, 1.5rem);
  --maxw: 1320px;
  --row: 30px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible,
input:focus-visible,
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* Служебное */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -9999px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.empty { padding: 1.25rem 0.85rem; color: var(--muted); margin: 0; }

/* ══ Шапка ══ */

.head { background: var(--panel); color: var(--ink); }
.head__1 { display: flex; align-items: center; gap: 1.25rem; height: 52px; }

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.logo i { font-style: normal; color: var(--s-football-fg); }

.sports { display: flex; gap: 1rem; overflow-x: auto; scrollbar-width: none; flex: 1; }
.sports::-webkit-scrollbar { display: none; }
.sports a {
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.sports a:hover { border-bottom-color: var(--c, var(--ink)); }

/* Поиск обязан уметь сжиматься. Жёсткие 210px вместе с логотипом
   не влезали в 305 пикселей полезной ширины, и на компактных телефонах
   за экран уезжала вся страница. Ширину задаём пожеланием, а не запретом:
   flex-basis даёт прежний размер там, где место есть, а min-width: 0
   разрешает полю стать уже, когда места нет. */
.find { display: flex; flex: 0 1 auto; min-width: 0; }
.find input {
  border: 1px solid var(--rule);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  min-height: 34px;
  flex: 0 1 210px;
  min-width: 0;
  width: 100%;
  border-radius: 0;
}
.find input::placeholder { color: var(--muted); }

.head__2 {
  display: flex;
  gap: 1.25rem;
  border-top: 1px solid var(--rule);
  height: 38px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.head__2::-webkit-scrollbar { display: none; }
.head__2 a { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.head__2 a:hover,
.head__2 a.on,
.head__2 .current-menu-item > a { color: var(--ink); font-weight: 600; }

/* ══ Полоса живого счёта ══ */

.live-strip {
  background: var(--panel);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.live-strip__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 36px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 0.8rem;
  white-space: nowrap;
}
.live-strip__in::-webkit-scrollbar { display: none; }
.live-strip .tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--live-fg);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: sticky;
  left: 0;
  background: var(--panel);
  padding-right: 0.5rem;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--live-fg); animation: sw-pulse 2s infinite; }
@keyframes sw-pulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.3 } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none } }
/* Цель нажатия на всю высоту строки: сам текст в 18 px, в него трудно попасть пальцем. */
.live-strip a { display: inline-flex; gap: 0.4rem; align-items: baseline; padding-block: 9px; }
.live-strip b { font-weight: 700; font-variant-numeric: tabular-nums; }
.live-strip i { font-style: normal; color: var(--live-fg); font-size: 0.74rem; font-variant-numeric: tabular-nums; }

/* ══ Раскладка ══ */

/* Колонку задаём явно через minmax(0, 1fr), и это не украшательство.
   Без grid-template-columns неявная колонка получает ширину auto, то есть
   растягивается по минимальному содержимому. Достаточно одной таблицы или
   строки матча, которая не умеет сжиматься, и колонка на телефоне выходила
   619 пикселей при экране 375 — за экран уезжала вся страница целиком.
   Ноль в minmax разрешает колонке быть уже содержимого; широкое содержимое
   при этом прокручивается внутри своего .tblwrap, а не тащит за собой
   документ. На широком экране добавляется второй столбец под правую врезку. */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem 2rem;
  align-items: start;
}

@media (min-width: 1040px) { .cols { grid-template-columns: minmax(0, 1fr) 316px; } }

.box { background: var(--panel); border: 1px solid var(--rule); margin-bottom: 1rem; }
.box:last-child { margin-bottom: 0; }
.box__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--rule);
}
.box__h h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  margin: 0;
}
.box__h a,
.sport a,
.lg__links a,
.more {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.box__h a:hover,
.sport a:hover,
.lg__links a:hover,
.more:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Отметка свежести данных: при отказе провайдера показываем последние
   известные результаты, но говорим, когда они получены. */
.freshness { font-size: 0.74rem; color: var(--muted); white-space: nowrap; }
.freshness--stale { color: var(--live-fg); font-weight: 600; }

/* ── Компактная лента заголовков ── */

.head-news { padding: 0.35rem 0; }
.head-news a {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.32rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.35;
}
.head-news a:hover { background: var(--rule-2); }
.head-news time { color: var(--muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.head-news .cm { color: var(--muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.head-news .sp-tag { font-weight: 600; }

/* ── Матч-центр ── */

.tabs { display: flex; gap: 0.15rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.tabs i { font-style: normal; font-weight: 500; font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tabs a.on i { color: var(--accent); }

.sport {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem 0.4rem;
  border-bottom: 2px solid var(--c);
  margin-top: 0.35rem;
}
.sport h3 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-fg);
}
.sport span { font-size: 0.76rem; color: var(--muted); }
.sport a { margin-left: auto; }

.lg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem 0.35rem;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--rule-2);
  flex-wrap: wrap;
}
.lg b { font-weight: 600; }
.lg .tour { color: var(--muted); }
.lg__links { margin-left: auto; display: flex; gap: 0.6rem; }


.rows { display: grid; }
@media (min-width: 700px) { .rows { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }

.m {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) 3rem minmax(0, 1fr) 1.1rem;
  gap: 0.5rem;
  align-items: center;
  min-height: var(--row);
  padding-inline: 0.85rem;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--rule-2);
}
.m:hover { background: var(--rule-2); }
.m__t { color: var(--muted); font-size: 0.76rem; font-variant-numeric: tabular-nums; }
.m__t[data-live] { color: var(--live-fg); font-weight: 700; }
.m__h { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m__a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m__s {
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.m__s[data-live] { color: var(--live-fg); }
.m__s[data-empty] { color: var(--muted); font-weight: 400; }
.star { color: var(--rule); font-size: 0.95rem; line-height: 1; text-align: center; }
.m:hover .star { color: var(--muted); }

/* Фильтр по видам спорта в сквозных разделах */

.pick-lg { display: flex; gap: 0.3rem; padding: 0.6rem 0.85rem; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.pick-lg a {
  font-size: 0.78rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--rule);
  color: var(--muted);
  white-space: nowrap;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}
.pick-lg a:hover { color: var(--ink); border-color: var(--muted); }
.pick-lg a.on { background: var(--ink); color: var(--panel); border-color: var(--ink); font-weight: 600; }

.empty--day { padding: 0.6rem 0.85rem; font-size: 0.85rem; border-bottom: 1px solid var(--rule-2); }

/* ── Правая колонка ── */

.rail { display: grid; gap: 1rem; align-content: start; }
.rail .box { margin: 0; }

.tr { display: block; padding: 0.45rem 0.85rem; border-bottom: 1px solid var(--rule-2); font-size: 0.82rem; }
.tr:hover { background: var(--rule-2); }
/* Значок слева, название вплотную к нему, приписка о виде спорта — справа.
   До этого было justify-content: space-between на двух элементах; с третьим
   (значком) название уехало бы в середину. */
.tr span { display: flex; align-items: center; gap: 0.5rem; }
.tr b { font-weight: 600; margin-right: auto; }
.tr em { font-style: normal; color: var(--muted); font-size: 0.76rem; }

/* ── Лента новостей ──
   Карточка вместо строки: у каждого материала есть своя обложка,
   и без неё лента ничем не отличалась от списка ссылок. */

.feed { display: grid; }
.feed__i {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid var(--rule-2);
  align-items: start;
}
.feed__i:hover { background: var(--rule-2); }
.feed__img { display: block; }
.feed__img .thumb { aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--rule); }
.feed__m {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.feed__m b { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.feed__t h3 { margin: 0; font-size: 1rem; line-height: 1.3; font-weight: 600; }
.feed__t h3 a { color: var(--ink); }
.feed__t h3 a:hover { text-decoration: underline; }
.feed__d {
  margin: 0.35rem 0 0;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 560px) {
  .feed__i { grid-template-columns: 1fr; gap: 0.6rem; }
  .feed__img { max-width: 320px; }
}

/* ── Изображения ── */

.thumb { display: block; width: 100%; height: auto; }
.thumb--empty {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--rule-2);
  border: 1px solid var(--rule);
}

/* ── Пагинация ── */

.pagination { display: flex; gap: 0.35rem; padding: 0.85rem; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.5rem;
  border: 1px solid var(--rule);
  font-size: 0.84rem;
}
.pagination .current { background: var(--ink); color: var(--panel); border-color: var(--ink); font-weight: 600; }

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

.foot {
  background: var(--panel);
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-block: 1.75rem 2.25rem;
  font-size: 0.8rem;
}
.foot__grid { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .foot__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 940px) { .foot__grid { grid-template-columns: repeat(7, 1fr); } }
.foot h4 {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-fg, var(--ink));
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.22rem; }
.foot a:hover { color: var(--ink); }
.foot__note { border-top: 1px solid var(--rule); padding-top: 1rem; }
.foot__note p { margin: 0 0 0.4rem; max-width: 82ch; }
.foot__note a { text-decoration: underline; text-underline-offset: 3px; }
.foot__note span { margin-right: 0.75rem; }

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

.crumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; padding: 0.6rem 0.85rem; font-size: 0.78rem; color: var(--muted); border-bottom: 1px solid var(--rule-2); }
/* Хлебные крошки — навигация, а не содержание: тем же тихим голосом,
   что и остальная служебная разметка. */
.crumbs a { color: var(--muted); border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.crumbs a:not(:last-child)::after { content: " /"; color: var(--muted); }

.scoreboard { padding: 1.5rem 0.85rem 1.25rem; border-bottom: 3px solid var(--c); text-align: center; }
.scoreboard__meta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.scoreboard__main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(0.75rem, 3vw, 2rem);
  align-items: center;
}
.scoreboard__team { font-size: clamp(1rem, 3vw, 1.5rem); font-weight: 600; text-align: right; }
.scoreboard__team--away { text-align: left; }
.scoreboard__score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.scoreboard__score.is-live { color: var(--live-fg); }
.scoreboard__state { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--muted); }
.scoreboard__state.is-live { color: var(--live-fg); font-weight: 600; }

.match-report { padding: 1.25rem 0.85rem; max-width: 68ch; }
.match-report h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.match-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0.6rem 0.85rem;
  border-block: 1px solid var(--rule);
  background: var(--rule-2);
}

.timeline { list-style: none; margin: 0; padding: 0.5rem 0; }
.timeline__item {
  display: grid;
  grid-template-columns: 3rem 5.5rem 1fr auto;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.4rem 0.85rem;
  font-size: 0.86rem;
  border-bottom: 1px solid var(--rule-2);
}
.timeline__item--away { background: var(--rule-2); }
.timeline__min { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.8rem; }
.timeline__what { font-weight: 600; font-size: 0.8rem; }
.timeline__what[data-type="goal"] { color: var(--s-football-fg); }
.timeline__what[data-type="card"] { color: var(--s-basketball-fg); }
.timeline__detail { color: var(--muted); font-size: 0.8rem; }
/* НФЛ: время — «2-я чт. 11:33», а подробности розыгрыша длинные,
   поэтому они уходят отдельной строкой под автора. */
.timeline--nfl .timeline__item { grid-template-columns: 6.2rem 5rem 1fr; }
.timeline--nfl .timeline__detail { grid-column: 2 / -1; }
.timeline__what[data-type="td"] { color: var(--s-football-fg); }

.lineups { display: grid; gap: 1px; background: var(--rule); }
@media (min-width: 620px) { .lineups { grid-template-columns: 1fr 1fr; } }
.lineups__col { background: var(--panel); padding: 0.75rem 0.85rem 1rem; }
.lineups__col h3 { margin: 0 0 0.5rem; font-size: 0.88rem; font-weight: 700; }
.lineups ul { list-style: none; margin: 0; padding: 0; }
.lineups li {
  display: grid;
  grid-template-columns: 1.8rem 1fr auto;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.22rem 0;
  font-size: 0.85rem;
}
.lineups li.is-sub { color: var(--muted); }
.lineups .shirt { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.78rem; text-align: right; }
.lineups .pos { color: var(--muted); font-size: 0.74rem; }

.rows--single { grid-template-columns: 1fr; }

/* ══ Каталог: турнир, команда, вид спорта ══ */

.tournament__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: none;
  color: var(--ink);
}
.sport .tournament__title { color: var(--ink); }

.tabs--page { padding: 0.25rem 0.6rem 0; border-bottom: 1px solid var(--rule); }
.tabs--page a { font-size: 0.86rem; }

.tblwrap { overflow-x: auto; }
table.standings { border-collapse: collapse; width: 100%; font-size: 0.86rem; min-width: 520px; }
table.standings caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0.6rem 0.85rem 0.85rem;
}
table.standings th,
table.standings td { padding: 0.42rem 0.5rem; text-align: left; border-bottom: 1px solid var(--rule-2); }
table.standings thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
table.standings th[scope="row"] { font-weight: 600; }
table.standings .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.standings .pts { font-weight: 700; }
table.standings .place { color: var(--muted); }
table.standings tbody tr:nth-child(-n+4) .place { color: var(--s-football-fg); font-weight: 700; }
table.standings tbody tr:hover td,
table.standings tbody tr:hover th { background: var(--rule-2); }
table.standings abbr { text-decoration: none; border-bottom: 1px dotted var(--rule); cursor: help; }

/* Флаги стран.
   Рисуются градиентами, а не эмодзи: в Windows флаговые эмодзи
   не отображаются вообще, вместо флага показывается пара букв.
   И не картинками: это 20 лишних запросов на страницу. */
.flag {
  width: 18px;
  height: 12px;
  flex: 0 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: inline-block;
  vertical-align: -1px;
}
.f-eng { background: #fff; background-image: linear-gradient(to bottom, transparent 40%, #d81e34 40% 60%, transparent 60%), linear-gradient(to right, transparent 40%, #d81e34 40% 60%, transparent 60%); }
.f-esp { background-image: linear-gradient(to bottom, #c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75%); }
.f-ita { background-image: linear-gradient(to right, #009246 0 33.3%, #fff 33.3% 66.6%, #ce2b37 66.6%); }
.f-ger { background-image: linear-gradient(to bottom, #000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.f-rus { background-image: linear-gradient(to bottom, #fff 0 33.3%, #0039a6 33.3% 66.6%, #d52b1e 66.6%); }
.f-fra { background-image: linear-gradient(to right, #002395 0 33.3%, #fff 33.3% 66.6%, #ed2939 66.6%); }
.f-usa { background-image: linear-gradient(to bottom, #b22234 0 15%, #fff 15% 30%, #b22234 30% 45%, #fff 45% 60%, #b22234 60% 75%, #fff 75% 90%, #b22234 90%), linear-gradient(to right, #3c3b6e 0 42%, transparent 42%); }
.f-can { background-image: linear-gradient(to right, #d52b1e 0 28%, #fff 28% 72%, #d52b1e 72%); }
.f-int { background-image: linear-gradient(to bottom, #1b4dc4 0 50%, #cfd8e8 50%); }

/* Эмблемы. Размеры заданы жёстко, чтобы вёрстка не скакала при загрузке. */
.crest { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }
.crest--big { width: 44px; height: 44px; flex: 0 0 44px; }
.crest--score { width: 32px; height: 32px; flex: 0 0 32px; }
.crest--row { width: 16px; height: 16px; flex: 0 0 16px; vertical-align: -3px; }
.m__h .crest--row { margin-left: 0.35rem; }
.m__a .crest--row { margin-right: 0.35rem; }

.team-cell { display: inline-flex; align-items: center; gap: 0.45rem; }
.sport { align-items: center; }
.scoreboard__team { display: inline-flex; align-items: center; gap: 0.5rem; justify-content: flex-end; }
.scoreboard__team--away { justify-content: flex-start; }

.person { display: grid; gap: 1rem; padding: 1rem 0.85rem 1.25rem; border-bottom: 3px solid var(--c); }
@media (min-width: 560px) { .person { grid-template-columns: 132px minmax(0, 1fr); align-items: start; } }
/* Без портрета — одна колонка, а факты на широком экране парами в ряд. */
@media (min-width: 560px) { .person--text { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 720px) { .person--text .facts-list { grid-template-columns: auto 1fr auto 1fr; column-gap: 1.25rem; } }
.person__photo { background: var(--rule-2); border: 1px solid var(--rule); }
.person__photo img { display: block; width: 100%; height: auto; }
.person__head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.3rem;
}
.person__club { margin: 0 0 0.85rem; font-size: 0.9rem; }
.person__club a { color: var(--accent); }

.facts-list { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; margin: 0; font-size: 0.88rem; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; font-weight: 500; }

.place-card { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem; }
.place-card__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--s-football-fg);
  font-variant-numeric: tabular-nums;
}
.place-card b { display: block; font-size: 0.95rem; }
.place-card em { font-style: normal; color: var(--muted); font-size: 0.8rem; }

/* ══ Статьи ══ */

.entry { padding: 1.25rem 0.85rem 2rem; max-width: 68ch; }
.entry h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
.entry__meta { color: var(--muted); font-size: 0.82rem; margin-bottom: 1.25rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.entry__body { font-size: 1rem; line-height: 1.65; }
.entry__body p { margin: 0 0 1rem; }
.entry__body h2 { font-size: 1.2rem; margin: 1.75rem 0 0.6rem; }
.entry__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Факты о клубе, турнире и персоне */
.card-intro { padding: 0.9rem 0.85rem 1.1rem; border-bottom: 1px solid var(--rule); display: grid; gap: 0.9rem; }
.facts-list--card { grid-template-columns: minmax(7rem, auto) 1fr; gap: 0.35rem 1.25rem; font-size: 0.88rem; }
.facts-list--card dt { color: var(--muted); }
.card-intro .entry__body { font-size: 0.95rem; max-width: 68ch; }
.card-intro .entry__body p { margin: 0 0 0.8rem; }

/* ── Каталог: турниры, команды, персоны ── */

/* Указатель по первой букве. Названия приходят и латиницей,
   и кириллицей, поэтому букв больше одного алфавита — строка переносится. */
.abc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--rule);
}
.abc a {
  font-size: 0.78rem;
  min-width: 28px;
  min-height: 28px;
  padding: 0.18rem 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  color: var(--muted);
  white-space: nowrap;
}
.abc a:hover { color: var(--ink); border-color: var(--muted); }
.abc a.on { background: var(--ink); color: var(--panel); border-color: var(--ink); font-weight: 600; }

.sport__count { margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--muted); }
.sport__day { font-weight: 400; color: var(--muted); }

.cat__row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  border-bottom: 1px solid var(--rule-2);
  font-size: 0.85rem;
}
.cat__row:hover { background: var(--rule-2); }
.cat__name { font-weight: 600; overflow-wrap: anywhere; }
.cat__meta { display: flex; gap: 0.5rem; align-items: center; color: var(--muted); font-size: 0.76rem; }
.cat__meta em { font-style: normal; color: var(--c, var(--muted)); }

/* Команд почти семь тысяч: сеткой они читаются быстрее, чем строкой. */
.cat--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0; }
.cat__card {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--rule-2);
  border-right: 1px solid var(--rule-2);
  font-size: 0.82rem;
}
.cat__card:hover { background: var(--rule-2); }
.cat__card em { grid-column: 2; font-style: normal; font-size: 0.72rem; color: var(--c, var(--muted)); }

/* Слот под эмблему. Рисуется всегда: у половины клубов эмблемы
   у провайдера нет, и без слота название уезжало в её колонку
   и переносилось по одной букве. */
.cat__ico {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  overflow: hidden;
}
.cat__ico i {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--rule-2);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.cat__ico--round i { border-radius: 50%; }

.crest--lg { width: 22px; height: 22px; object-fit: contain; }
/* Значок в шапке группы матчей: ровно ширина флага, который он заменяет. */
.crest--lgh { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }

/* Автор и лицензия портрета: мелко, но обязательно — CC BY-SA. */
.person__credit {
  margin: 0.3rem 0 0;
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--muted);
}
.crest--round { border-radius: 50%; object-fit: cover; }

/* Числа месяца, в которые матчи действительно были. */
.days { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.6rem 0.85rem; }
.days__d {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--rule);
  font-size: 0.78rem;
}
.days__d:hover { border-color: var(--muted); }
.days__d.on { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.days__d b { font-weight: 600; white-space: nowrap; }
.days__d i { font-style: normal; font-size: 0.7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.days__d.on i { color: var(--panel); }

.pager { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.75rem 0.85rem; align-items: center; }
.pager a {
  min-width: 32px;
  min-height: 32px;
  padding: 0.25rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pager a:hover { color: var(--ink); border-color: var(--muted); }
.pager a.on { background: var(--ink); color: var(--panel); border-color: var(--ink); font-weight: 600; }
.pager__step { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; font-weight: 600; }
.pager__gap { color: var(--muted); padding: 0 0.15rem; }

@media (max-width: 640px) {
  .cat--grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .cat__row { grid-template-columns: 24px minmax(0, 1fr); }
  .cat__meta { grid-column: 2; }
}

/* Оговорка о неполных данных: видно, но не кричит. */
.note {
  margin: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-bottom: 1px solid var(--rule-2);
  background: var(--rule-2);
}

/* Обстановка матча: стадион, город, судья, зрители. */
.facts { margin: 0; padding: 0; }
.facts__row {
  display: grid;
  grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid var(--rule-2);
  font-size: 0.85rem;
}
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Подпись под материалом: кто написал и откуда данные. */
.byline {
  margin-top: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--muted);
}
.byline p { margin: 0 0 0.35rem; }
.byline__who { font-weight: 600; color: var(--ink); }
.byline time { margin-left: 0.5rem; font-variant-numeric: tabular-nums; }
.byline__src a { color: var(--muted); border-bottom: 1px solid var(--rule); }
.byline__src a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Форма команды: цвет несёт смысл, буква дублирует его для тех,
   кто цвет не различает. */
.form { display: flex; align-items: center; gap: 0.2rem; flex-wrap: wrap; }
.form__r {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border-radius: 2px;
}
.form__r--w { background: #2fa05a; }
.form__r--d { background: #9aa5a0; }
.form__r--l { background: #c22f16; }
.form i { font-style: normal; font-size: 0.72rem; color: var(--muted); margin-left: 0.4rem; }

/* Колонка формы в турнирной таблице. */
.standings th.fm, .standings td.fm { white-space: nowrap; }
.standings td.fm { display: flex; gap: 0.15rem; align-items: center; min-height: 34px; }
.standings td.fm .form__r { width: 16px; height: 16px; font-size: 0.62rem; }
@media (max-width: 640px) { .standings th.fm, .standings td.fm { display: none; } }

/* Свёрнутый турнир в матч-центре. Маркер браузера убираем — стрелка
   рисуется своя, чтобы полоса турнира выглядела одинаково открытой
   и закрытой. */
.lgw { border: 0; }
summary.lg { cursor: pointer; list-style: none; }
summary.lg::-webkit-details-marker { display: none; }
summary.lg::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: 0.5rem;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
}
.lgw[open] > summary.lg::after { transform: rotate(-135deg) translateY(-2px); }
summary.lg:hover { background: var(--rule-2); }
.lg__n { font-style: normal; font-size: 0.72rem; color: var(--muted); margin-left: auto; white-space: nowrap; }
.lg__links + .lg__n { margin-left: 0.6rem; }

/* ── Подиум этапа. Вместо табло со счётом: у гонки его нет. */
.podium {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .5rem;
	margin: .35rem 0 .2rem;
}

.podium__i {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .15rem;
	padding: .6rem .4rem;
	background: rgba(255, 255, 255, .1);
	border-radius: 6px;
	text-align: center;
}

.podium__pos {
	font-weight: 700;
	font-size: .8rem;
	line-height: 1;
	width: 1.35rem;
	height: 1.35rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .22);
}

.podium__i--1 .podium__pos { background: #d9a441; color: #1c1400; }
.podium__i--2 .podium__pos { background: #c3c8cf; color: #1c1c1c; }
.podium__i--3 .podium__pos { background: #b0794a; color: #1a0f04; }

.podium__who {
	font-size: 1rem;
	line-height: 1.2;
}

.podium__team {
	font-size: .78rem;
	opacity: .8;
}

@media (max-width: 520px) {
	.podium { grid-template-columns: 1fr; }
	.podium__i { flex-direction: row; justify-content: flex-start; gap: .5rem; }
}

/* Строка этапа: название слева, победитель справа. */
.m--race { grid-template-columns: 4.2rem 1fr auto 1.4rem; }
.m__race { font-weight: 600; }
.m__won { font-size: .82rem; opacity: .75; white-space: nowrap; }

@media (max-width: 480px) {
	.m--race { grid-template-columns: 3.6rem 1fr 1.2rem; }
	.m__won { display: none; }
}

/* Текст карточки персоны: он лежал в базе, но не выводился. */
.person__bio { padding: .9rem .85rem 0; }
.person__bio p { margin: 0 0 .7rem; }

/* «Читайте также»: раньше статья была тупиком без единой ссылки дальше. */
.readnext { margin-top: .85rem; }

.readnext__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1px;
	background: var(--line, #e6e6e6);
}

.readnext__i {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	padding: .7rem .85rem;
	background: #fff;
	text-decoration: none;
	color: inherit;
}

.readnext__i:hover { background: #fafafa; }
.readnext__i b { font-size: .95rem; line-height: 1.3; font-weight: 600; }

.readnext__k {
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 700;
	color: var(--c, #c8102e);
}

/* ══ Таблицы на телефоне ══
   Sports.ru отдаёт в разметке все 12 колонок и подгоняет их стилями:
   на 390 пикселях столько чисел физически не влезает. Делаем так же —
   оставляем то, ради чего в таблицу и заходят (место, команда, игры,
   разница, очки), а второстепенное убираем. Прокрутка вбок остаётся
   страховкой для очень длинных названий, но в обычном случае таблица
   теперь помещается целиком и её не надо тянуть пальцем. */
@media (max-width: 640px) {
  .standings .c-opt { display: none; }

  /* Минимальная ширина 520px нужна десктопной таблице на десять колонок,
     чтобы её не сплющило. Когда половина колонок скрыта, она начинает
     работать наоборот — держит таблицу шире экрана, и её всё равно
     приходится тянуть пальцем. Снимаем. */
  table.standings { min-width: 0; }

  .standings th,
  .standings td { padding-left: 0.3rem; padding-right: 0.3rem; }

  /* Название команды — единственная колонка, которой можно занять
     остаток строки; лишнее прячем многоточием, а не переносом,
     иначе строки таблицы становятся разной высоты. */
  .standings th[scope="row"] { max-width: 11rem; overflow: hidden; }
  /* Внутри flex-контейнера многоточие не срабатывает без min-width: 0 —
     элемент не сжимается уже своего текста, и длинное название
     («Джэксонвилл Джагуарс») наезжало на колонку побед. */
  .standings th[scope="row"] .team-cell { display: flex; max-width: 100%; min-width: 0; }
  .standings th[scope="row"] .team-cell span,
  .standings th[scope="row"] > span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Кнопки и ссылки навигации должны попадать под палец: 44 пикселя —
   общепринятый минимум, у нас полоса разделов была 38. */
@media (max-width: 640px) {
  .head__2 { height: auto; }
  .head__2 a { padding-block: 0.7rem; }
  .sports a { padding-block: 0.65rem; }
  .tabs--page a,
  .pick-lg a { padding: 0.55rem 0.7rem; }
}

/* На узких экранах не хватало считанных пикселей: таблица вылезала
   из контейнера на 20 и её всё равно надо было тянуть. Дешевле поджать
   отступы, чем спрятать ещё одну колонку — цифры важнее воздуха. */
@media (max-width: 420px) {
  /* Второй эшелон: в протоколе гонки три текстовые колонки на 279 пикселей
     не помещаются никак. «Финиш» уходит — место в протоколе само говорит
     об исходе, а сходы перечислены словами в тексте выше. */
  .standings .c-opt2 { display: none; }

  .standings { font-size: 0.8rem; }
  .standings th,
  .standings td { padding-left: 0.18rem; padding-right: 0.18rem; }
  .standings th[scope="row"] { max-width: 8.5rem; }
  .standings .place { padding-left: 0.35rem; }
}

/* ══ Шапка на телефоне ══
   Логотип, виды спорта и поиск стояли в одной строке. На 390 пикселях
   логотип и поле поиска съедали всё, полосе видов спорта оставалось
   около сорока пикселей, и от «Футбола» было видно «Фу» — остальные
   шесть видов приходилось искать боковой прокруткой, о которой никто
   не догадывался.

   Раскладываем в два яруса: сверху логотип и поиск, под ними виды спорта
   во всю ширину — это и лечило исходную беду. Внутри яруса, по решению
   заказчика, одна строка с прокруткой, без переноса: шапка остаётся
   низкой. Чтобы прокрутка не была невидимой, как раньше, у правого края
   стоит затухание — оно и подсказывает, что полоса продолжается. */
@media (max-width: 760px) {
  .head__1 {
    flex-wrap: wrap;
    height: auto;
    gap: 0.6rem 1rem;
    padding-block: 0.55rem;
  }

  .logo { order: 1; }
  .find { order: 2; flex: 1 1 auto; }
  .find input { flex: 1 1 auto; }

  .sports {
    order: 3;
    flex: 0 0 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.9rem;
    border-top: 1px solid var(--rule);
    padding-top: 0.45rem;
    /* Инерционная прокрутка пальцем и затухание у края как подсказка. */
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
  }

  .sports a { padding-block: 0.5rem; }
}

/* Полоса разделов остаётся прокручиваемой — там девять пунктов, и двумя
   строками они сделали бы шапку выше половины экрана. Но прокрутку надо
   обозначить, иначе она так же незаметна: у правого края тень, которая
   пропадает, когда всё дошло до конца. */
@media (max-width: 760px) {
  .head__2 {
    position: relative;
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
}

/* Чемпион дивизиона стоит над рейтингом отдельной строкой: в рейтинге
   UFC номер один — это претендент, а не обладатель пояса, и путать
   их нельзя. */
.champ {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  background: rgba(217, 164, 65, 0.12);
  border-left: 3px solid #d9a441;
}

.champ__belt { color: #b5822c; font-size: 1.05rem; line-height: 1; }
.champ__who { display: flex; flex-direction: column; gap: 0.1rem; }
.champ__who b { font-size: 1rem; }
.champ__who i { font-style: normal; font-size: 0.76rem; color: var(--muted); }

/* ══ Видеообзор матча ══
   Заставка вместо плеера: картинка 16:9 и кнопка. Плеер YouTube
   подгружается только по нажатию — иначе он тормозил бы каждую
   страницу матча, даже когда обзор никто не смотрит. */
.video,
.video__frame {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 1rem;
  background: #0d0f12;
  border: 0;
  overflow: hidden;
}

.video__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.15s ease;
}

.video:hover .video__img,
.video:focus-visible .video__img { opacity: 1; }

.video__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  background: #e0241b;
  border-radius: 12px;
}

.video__play::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

.video:focus-visible { outline: 3px solid var(--ink, #111); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .video__img { transition: none; }
}

/* Живой счёт: изменившееся значение коротко подсвечивается. */
@keyframes sw-changed { from { background: color-mix(in srgb, var(--live) 22%, transparent); } to { background: transparent; } }
.is-changed { animation: sw-changed 2.4s ease-out; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { .is-changed { animation: none; } }

/* Счёт по периодам под табло. */
.scoreboard__periods { margin: 0.3rem 0 0; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Статистика матча: значение хозяев — показатель с полоской долей — значение гостей. */
.mstats { width: 100%; border-collapse: collapse; margin: 0.25rem 0 1.25rem; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.mstats__row > * { padding: 0.5rem 0.25rem 0.6rem; border-bottom: 1px solid var(--rule-2); }
.mstats__v { width: 27%; color: var(--muted); white-space: nowrap; }
.mstats__v--a { text-align: right; }
.mstats__v.is-lead { color: var(--ink); font-weight: 700; }
.mstats__n {
  font-weight: 500;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(to right, var(--ink) 0 var(--share), var(--muted) var(--share) 100%) center bottom 0.3rem / 100% 3px no-repeat;
  opacity: 1;
}
.mstats__n { padding-bottom: 0.9rem; }
@media (max-width: 480px) { .mstats { font-size: 0.82rem; } .mstats__v { width: 30%; } }

/* Рыночная стоимость игрока: полоска по максимуму истории. */
.mvalue { list-style: none; margin: 0.25rem 0 1.25rem; padding: 0; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.mvalue__i { display: grid; grid-template-columns: 5.5rem 1fr 6.5rem; gap: 0.25rem 0.75rem; align-items: center; padding: 0.35rem 0; border-bottom: 1px solid var(--rule-2); }
.mvalue__d { color: var(--muted); }
.mvalue__bar { height: 8px; background: linear-gradient(to right, var(--s-football) var(--w), transparent var(--w)); border-radius: 4px; }
.mvalue__v { text-align: right; }
.mvalue__c { grid-column: 2 / 4; color: var(--muted); font-size: 0.78rem; margin-top: -0.2rem; }

/* Трансферы: откуда → куда в одной ячейке. */
.moves__way { white-space: normal; }
.moves__from { color: var(--muted); }
.moves__d { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Текст о сайте в конце главной: спокойный, читается как справка, а не реклама. */
.about__in { padding: 1rem 0.85rem 1.1rem; max-width: 72ch; }
.about h2 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; margin: 0 0 0.6rem; text-wrap: balance; }
.about h3 { font-size: 0.95rem; margin: 1rem 0 0.3rem; }
.about p { margin: 0 0 0.5rem; font-size: 0.9rem; line-height: 1.6; color: var(--ink-2, inherit); }
.about a { color: var(--accent); }
