/* Публичный сайт: поиск в шапке, новости, страница боя, поиск по сайту.
   Базовый язык «плакат» — в app.css; здесь только то, чего там нет. */

/* Новости: главная новость крупно, карточки с обложкой 16:9, на телефоне — строки с превью слева */
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.news-tabs { margin-bottom: 28px; }
/* На телефоне вкладки в одну строку с прокруткой, а не «Видео» одиноко во второй строке */
@media (max-width: 600px) {
  .news-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .news-tabs::-webkit-scrollbar { display: none; }
  .news-tabs a { white-space: nowrap; flex: none; }
}
.news-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 2px solid var(--ink); }
.news-side { display: grid; gap: 28px; align-content: start; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.news-grid-home { margin-top: 20px; }
.nc { min-width: 0; }
.nc-link { display: block; color: inherit; text-decoration: none; }
.nc-link:hover { color: inherit; }
.nc-link:hover .nc-title { color: var(--blue); }
.nc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--slot); margin-bottom: 14px; }
.nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .nc-link:hover .nc-media .nc-photo { transform: scale(1.035); } }
/* Фото из VK бывают и вертикальные, и горизонтальные: показываем целиком, поля — размытая копия */
.nc-media .nc-photo { position: relative; object-fit: contain; }
.nc-media .nc-bg { position: absolute; inset: 0; object-fit: cover; filter: blur(22px) saturate(1.15); transform: scale(1.2); opacity: .85; transition: none; }
.nc-empty { display: grid; place-items: center; }
.nc-media img.nc-mark { width: 26%; height: auto; object-fit: contain; opacity: .22; transform: none; }
.nc-badge { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; background: var(--scrim); color: #fff; font: 600 13px/1 var(--font); padding: 7px 10px; }
.nc-badge.nc-video { background: var(--brand); }
.nc-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.nc-sport { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); }
.nc-title { font: 600 21px/1.25 var(--serif); text-transform: none; margin: 0; overflow-wrap: anywhere; }
.nc-big .nc-title { font: 600 clamp(26px, 2.6vw, 34px)/1.12 var(--serif); letter-spacing: -.01em; }
.nc-big .nc-meta { font-size: 15px; }
.nc-lead { color: var(--muted); margin: 12px 0 0; max-width: 62ch; overflow-wrap: anywhere; }
.news-side .nc-title { font-size: 19px; }
.news-pages { margin-top: 48px; gap: 6px; flex-wrap: wrap; }
.news-pages a, .news-pages span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 10px; text-align: center; font-weight: 600; color: var(--ink); text-decoration: none; border: 1px solid transparent; }
.news-pages a { border-color: var(--line); }
.news-pages a:hover { border-color: var(--ink); color: var(--ink); }
.news-pages .on { background: var(--ink); color: var(--on-ink); }
@media (max-width: 900px) {
  .news-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .news-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .news-tabs { gap: 18px; margin-bottom: 20px; }
  .news-top { gap: 0; padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
  .news-top > .nc-big { padding-bottom: 18px; border-bottom: 2px solid var(--line-strong); }
  .nc-big .nc-media { margin-left: -16px; margin-right: -16px; }
  .nc-big .nc-title { font-size: 27px; }
  .nc-lead { display: none; }
  .news-side, .news-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .news-side .nc, .news-grid .nc { border-bottom: 1px solid var(--line); }
  .news-side .nc-link, .news-grid .nc-link { display: grid; grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; padding: 14px 0; }
  .news-side .nc-media, .news-grid .nc-media { grid-row: 1 / span 2; margin: 0; aspect-ratio: 4 / 3; align-self: start; }
  .news-side .nc-meta, .news-grid .nc-meta { font-size: 13px; margin-bottom: 4px; }
  .news-side .nc-title, .news-grid .nc-title { font-size: 16px; line-height: 1.3; }
  .news-side .nc-badge, .news-grid .nc-badge { font-size: 11px; padding: 4px 6px; gap: 4px; }
  .news-pages { margin-top: 28px; }
}

/* Страница новости */
.post { max-width: 880px; margin: 0 auto; }
.post-kicker { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 18px 0 12px; font: 600 13px/1.3 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.post-kicker span + span::before { content: "/"; color: var(--grey); margin: 0 8px; }
.post-head .post-title { font: 600 clamp(30px, 4.4vw, 50px)/1.08 var(--serif); letter-spacing: -.012em; text-transform: none; margin: 14px 0 16px; overflow-wrap: anywhere; }
.post-kicker + .post-title { margin-top: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--muted); font-size: 15px; }
.post-meta > * + *::before { content: "·"; margin: 0 8px; color: var(--grey); }
.post-cover { margin: 28px 0 0; }
.post-cover { background: var(--mist); }
.post-cover img { width: auto; max-width: 100%; max-height: min(640px, 75vh); margin: 0 auto; }
.post-body { max-width: 68ch; margin-top: 28px; font-size: 18px; line-height: 1.65; overflow-wrap: anywhere; }
.post-body p { margin: 0 0 1.05em; }
.gallery-block { margin-top: 32px; }
/* Карусель фото поста */
.post-carousel { position: relative; margin: 28px 0 0; background: #111; }
.pc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; height: min(640px, 72vh); }
.pc-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 0; background: #fff; color: var(--scrim); font-size: 30px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pc-nav:hover { background: #fff; }
.pc-prev { left: 12px; } .pc-next { right: 12px; }
.pc-count { position: absolute; right: 0; bottom: 0; padding: 6px 10px; background: var(--scrim); color: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .post-carousel { margin-left: -16px; margin-right: -16px; }
  .pc-slide { height: min(480px, 62vh); }
  .pc-nav { display: none !important; }
}
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gallery a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--slot); }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: opacity .2s; }
.gallery a:hover img { opacity: .82; }
.tagged { margin-top: 40px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.tagged summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; font: 600 22px/1.2 var(--serif); min-height: 44px; }
.tagged summary::-webkit-details-marker { display: none; }
.tagged summary::after { content: "+"; font: 400 26px/1 var(--font); color: var(--blue); }
.tagged[open] summary::after { content: "\2212"; }
.tagged summary .num { font-family: var(--font); color: var(--muted); font-weight: 400; margin-right: auto; }
.chips { list-style: none; margin: 0; padding: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { max-width: 100%; }
.chips a, .chips span { display: inline-block; max-width: 100%; padding: 7px 12px; border: 1px solid var(--line); font-size: 14px; line-height: 1.3; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.post-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.post-actions .btn { white-space: normal; }
.post-more { margin-top: 56px; }
.post-short .post-cover img { max-height: min(480px, 62vh); }
.post-short ~ .post-more { margin-top: 40px; }
/* Ссылка на пост VK у видео: видео играет на сайте, поэтому не кнопка, а неброская ссылка */
.post-vk { margin: 20px 0 0; font-size: 15px; }
.post-vk a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.post-vk a:hover { color: var(--ink); border-color: var(--ink); }
.post-vk .ico { color: #0077ff; }
.post-day-link { margin: 20px 0 0; }
.post-day-link + .post-vk { margin-top: 14px; }
.post-more .news-grid { margin-top: 24px; }
@media (max-width: 600px) {
  .post-cover, .vfacade-wrap { margin-left: -16px; margin-right: -16px; }
  .post-body { font-size: 17px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .post-actions .btn { flex: 1 1 100%; }
}

/* Видео ВКонтакте: превью с кнопкой, плеер по нажатию. Вертикальный клип — узкой колонкой */
.vfacade-wrap { margin: 28px 0 0; }
.vfacade { position: relative; display: block; width: 100%; max-height: min(600px, 75vh); overflow: hidden; background: var(--scrim); color: #fff; }
.vfacade-wrap.is-vertical .vfacade { width: min(100%, 340px, calc(72vh * 9 / 16)); margin: 0 auto; max-height: none; }
.vfacade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vfacade-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; display: grid; place-items: center; background: var(--scrim); color: #fff; transition: background .15s; }
.vfacade-play svg { margin-left: 4px; }
.vfacade:hover { color: #fff; }
.vfacade:hover .vfacade-play { background: var(--brand); }
.vfacade-label { position: absolute; z-index: 1; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--scrim); font: 600 13px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; }
.vfacade-label .num { color: rgba(255, 255, 255, .7); font-weight: 400; }
.vfacade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 600px) {
  .vfacade-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .vfacade-label { font-size: 12px; padding: 8px 10px; }
}

/* Карточка «Видео дня» в ленте: полоска превью остальных видео на кадре первого */
.nc-strip { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 4px; }
.nc-strip img, .nc-strip .num { width: 46px; height: 46px; object-fit: cover; border: 2px solid #fff; background: var(--scrim); }
.nc-media .nc-strip img { transform: none; }
.nc-strip .num { display: grid; place-items: center; color: #fff; font: 600 13px/1 var(--font); }
.nc-big .nc-strip img, .nc-big .nc-strip .num { width: 64px; height: 64px; }

/* Страница дня: все видео дня сеткой, подпись под плеером */
.post-day { max-width: 1120px; }
.post-day-t { margin: 8px 0 0; font-size: 15px; }
.vday { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.vday .vfacade-wrap { margin: 0; }
.vday .vfacade-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.vday-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding-top: 10px; }
.vday-name { font-weight: 600; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.vday-info { display: inline-flex; gap: 10px; color: var(--muted); font-size: 14px; }
.vday-info a { color: var(--muted); }
.vday-info a:hover { color: var(--blue); }
@media (max-width: 960px) { .vday { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .vday { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .vday .vfacade-wrap { margin-left: -16px; margin-right: -16px; }
  .nc-strip { display: none; }
}

/* Просмотр фото на весь экран (static/js/news.js) */
.lb-open, .lb-open body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: #141414; }
.lb-img { max-width: calc(100vw - 32px); max-height: calc(100vh - 112px); object-fit: contain; user-select: none; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; background: transparent; border: 0; color: #fff; cursor: pointer; }
.lb-btn:hover { color: #c9c6ee; }
.lb-close { top: 8px; right: 8px; }
.lb-prev, .lb-next { top: 50%; margin-top: -28px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); text-align: center; color: rgba(255, 255, 255, .78); font-size: 14px; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: calc(4px + env(safe-area-inset-bottom)); margin: 0; } .lb-img { max-width: 100vw; } }

/* Страница боя: два угла через волосяную линию */
.bout-corners { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); margin-top: 24px; }
.corner { padding: 20px 0; }
.corner.blue-corner { text-align: right; }
.corner-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.red-corner .corner-label { color: var(--red-ink); }
.blue-corner .corner-label { color: var(--blue); }
.corner-name { font: 600 clamp(24px, 3.2vw, 36px)/1.1 var(--serif); margin: 6px 0 12px; overflow-wrap: anywhere; }
.corner-name a { color: var(--ink); text-decoration: none; }
.corner-name a:hover { color: var(--blue); }
.corner .kv { font-size: 15px; }
/* Синий угол зеркальный: подписи прижаты к значениям у правого края */
.blue-corner .kv { justify-items: end; width: max-content; max-width: 100%; margin-left: auto; }
.versus { align-self: center; padding: 0 28px; font: 600 24px var(--serif); color: var(--ink3); }
.bout-result { font: 600 clamp(22px, 2.6vw, 28px)/1.2 var(--serif); }
@media (max-width: 700px) {
  .bout-corners { grid-template-columns: minmax(0, 1fr); }
  .corner.blue-corner { text-align: left; border-top: 1px solid var(--line); }
  .blue-corner .kv { justify-items: start; width: auto; margin-left: 0; }
  .versus { display: none; }
}

/* Результаты поиска и фильтры */
.searchbar .year { flex: 0 1 120px; }
.search-page .searchbar input { flex: 1 1 260px; }
.search-group + .search-group { margin-top: 40px; }
.note { max-width: 70ch; margin: 0 0 12px; }
p.empty { max-width: 70ch; }

/* Поделиться профилем */
.share-status { font-size: 14px; color: var(--ok); }

/* Плашка про cookie: белая полоса снизу с чёрной линией, без затемнения страницы */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); color: var(--ink); border-top: 2px solid var(--ink); }
.cookie-bar[hidden] { display: none; }
.cookie-bar .container { display: flex; gap: 12px 32px; align-items: center; flex-wrap: wrap; padding-top: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.cookie-bar p { margin: 0; flex: 1 1 420px; font-size: 14px; color: var(--ink2); max-width: 76ch; }
.cookie-bar .row { flex: none; gap: 8px; }
@media (max-width: 600px) { .cookie-bar .container { padding-top: 12px; } .cookie-bar .row { width: 100%; } .cookie-bar .row .btn { flex: 1; padding-left: 10px; padding-right: 10px; } }

/* Карта до согласия: Яндекс не загружается, пока посетитель не попросит */
/* Подложка — схема города линиями (кварталы, проспект, река) с точками залов; поверх — карточка с кнопкой. Ничего не грузит */
.map-gate { --st: var(--slot-line); --av: rgba(57, 49, 134, .13); --pin-ring: #fff;
  display: grid; place-items: center; padding: 16px; text-align: center; background-color: var(--mist);
  background-image:
    radial-gradient(circle at 18% 28%, var(--red) 0 5px, var(--pin-ring) 5px 7px, transparent 7.5px),
    radial-gradient(circle at 74% 22%, var(--red) 0 5px, var(--pin-ring) 5px 7px, transparent 7.5px),
    radial-gradient(circle at 83% 71%, var(--red) 0 5px, var(--pin-ring) 5px 7px, transparent 7.5px),
    radial-gradient(circle at 29% 78%, var(--red) 0 5px, var(--pin-ring) 5px 7px, transparent 7.5px),
    radial-gradient(130% 70% at 0% 115%, transparent 60%, var(--av) 60% 66%, transparent 66.5%),
    linear-gradient(32deg, transparent 49.4%, var(--av) 49.5% 51.5%, transparent 51.6%),
    linear-gradient(-58deg, transparent 49.6%, var(--st) 49.7% 50.6%, transparent 50.7%),
    repeating-linear-gradient(0deg, transparent 0 58px, var(--st) 58px 59px),
    repeating-linear-gradient(90deg, transparent 0 84px, var(--st) 84px 85px); }
.map-gate > div { max-width: 46ch; padding: 22px 24px 24px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--blue);
  box-shadow: 0 6px 24px rgba(20, 20, 40, .08); }
.map-gate .ichip { margin: 0 auto 10px; }
.map-gate .mg-t { display: block; margin-bottom: 4px; font: 600 18px/1.3 var(--font); color: var(--ink); }
.map-gate p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.map-gate p:only-child { margin: 0; }
[data-theme="dark"] .map-gate { --av: rgba(156, 149, 255, .16); --pin-ring: var(--paper); }
[data-theme="dark"] .map-gate > div { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }

/* Участники турнира: таблица на компьютере, строки-записи на телефоне */
.people-tools { display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; padding: 16px 0 4px; }
.people-tools input[type=search] { flex: 1 1 260px; max-width: 420px; }
.people-tools [data-found]:empty { display: none; }
.people-tools select { flex: 0 1 160px; width: auto; min-width: 0; }
.people-weight { display: flex; gap: 8px; align-items: center; flex: 0 1 auto; min-width: 0; }
.people-weight input[type=text] { width: 84px; min-width: 0; }
.people-tools [data-people-reset][hidden] { display: none; }
@media (max-width: 600px) {
  .people-tools input[type=search] { flex-basis: 100%; max-width: none; }
  .people-tools select { flex: 1 1 140px; }
  .people-weight { flex: 1 1 220px; }
  .people-weight input[type=text] { flex: 1 1 0; width: auto; }
}
.people-title { display: flex; gap: 10px; align-items: baseline; margin: 28px 0 0; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.people-title .num { font-family: var(--font); font-size: 15px; font-weight: 400; }
.people .p-age, .people .p-weight { white-space: nowrap; }
.people .p-disc { color: var(--muted); }
/* Категория — квадратиком по центру своей колонки (не липнет к весу), дисциплины — короткими метками */
.people .p-cat { padding-left: 16px; text-align: center; }
.cat-chip { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border: 1px solid var(--line2); background: var(--cell);
  font: 600 13px/1 var(--font); color: var(--ink); }
.d-tag { display: inline-block; margin: 1px 0; padding: 3px 7px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line);
  font: 600 12px/1.2 var(--font); letter-spacing: .04em; color: var(--blue); white-space: nowrap; }
.people tr[hidden] { display: none; }
/* Одинаковые колонки у «Допущены» и «Заявлены», чтобы списки читались как один */
@media (min-width: 601px) {
  .people { table-layout: fixed; min-width: 860px; }
  .people th:nth-child(1) { width: 19%; } .people th:nth-child(2) { width: 18%; } .people th:nth-child(3) { width: 12%; }
  .people th:nth-child(4) { width: 9%; } .people th:nth-child(5) { width: 8%; } .people th:nth-child(6) { width: 6%; }
  .people th:nth-child(7) { width: 12%; } .people th:nth-child(8) { width: 6%; }
  /* Без «Боёв» и «Разряда» (их видят только сотрудники, свой тренер и сам спортсмен) — семь колонок */
  .people.no-stats { min-width: 720px; }
  .people.no-stats th:nth-child(1) { width: 24%; } .people.no-stats th:nth-child(2) { width: 22%; }
  .people.no-stats th:nth-child(3) { width: 15%; } .people.no-stats th:nth-child(4) { width: 10%; }
  .people.no-stats th:nth-child(5) { width: 9%; } .people.no-stats th:nth-child(6) { width: 7%; }
  .people.no-stats th:nth-child(7) { width: auto; }
  .people td { overflow-wrap: break-word; hyphens: auto; }
}
@media (max-width: 600px) {
  .people thead { display: none; }
  .people, .people tbody, .people tr { display: block; }
  .people tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .people td { display: inline; padding: 0; border: 0; font-size: 14px; color: var(--muted); white-space: normal; }
  .people td:empty { display: none; }
  .people .p-name { display: block; font-size: 18px; line-height: 1.3; margin-bottom: 2px; }
  .people .p-club, .people .p-coach { color: var(--ink); }
  .people .p-coach::before { content: " · "; }
  /* Год рождения начинает третью строку */
  .people .p-age::before { content: "\A"; white-space: pre; }
  .people .p-weight::before, .people .p-rank::before, .people .p-disc::before { content: " · "; }
  .people .p-weight::after { content: " кг"; }
  .people .p-bouts::before { content: " · боёв "; }
  .people .p-cat::before { content: " · кат. "; }
  .people .p-hidden .p-cat::before { content: "кат. "; }
}
/* Ученики тренера: на телефоне строка складывается, «Место» не уходит за прокрутку */
@media (max-width: 600px) {
  .pupils thead { display: none; }
  .pupils, .pupils tbody { display: block; }
  .pupils tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; row-gap: 2px;
    grid-template-areas: "name name name" "year rank rank" "bouts wins place"; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .pupils td { display: block; border: 0; padding: 0; text-align: left !important; font-size: 14px; }
  .pupils td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
  .pupils .u-name { grid-area: name; font-size: 17px; }
  .pupils td:empty { visibility: hidden; }
  .pupils .u-year { grid-area: year; } .pupils .u-rank { grid-area: rank; }
  .pupils .u-bouts { grid-area: bouts; } .pupils .u-wins { grid-area: wins; } .pupils .u-place { grid-area: place; }
  /* Без разряда, боёв и побед — год рождения и место в одной строке */
  .pupils.no-stats tr { grid-template-areas: "name name name" "year place place"; }
}

/* Заставка при первом открытии: логотип на белом, плавно уходит */
/* Своим слоем и в изоляции (contain): перерисовки сборки не задевают страницу, которая грузится под заставкой.
   Фон — отдельный слой ::before: в конце гаснет через opacity, а не перекраской всего экрана каждый кадр */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; contain: strict; transition: opacity .6s ease; }
.intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transition: opacity .7s ease; }
.intro img { width: min(38vw, 180px); height: auto; animation: intro-in .7s ease-out both; }
.intro-out { opacity: 0; pointer-events: none; }
/* Конец заставки: на место собранного логотипа встаёт картинка из шапки (.intro-ghost, скрипт в base.html)
   и уезжает в шапку одним transform; фон тает */
.intro-fly { pointer-events: none; }
.intro-fly::before { opacity: 0; }
.intro-fly > * { animation: none; transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.intro .intro-ghost { position: fixed; margin: 0; max-width: none; animation: none; transform-origin: 0 0; will-change: transform; }
.intro-on .brand img { visibility: hidden; }
@keyframes intro-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
/* Сборка логотипа (static/brand/intro.svg): рамка рисуется, канаты въезжают с двух сторон, встаёт стойка,
   бойцы — с ударом, последней надпись. Всё вместе около 2 с, дальше пауза и растворение (templates/base.html) */
.intro-logo { width: min(52vw, 220px); height: auto; overflow: visible; animation: intro-hit .3s 1.42s ease-out; will-change: transform; }
.intro-logo g { transform-box: fill-box; }
.intro-out .intro-logo { transform: scale(1.04); transition: transform .6s ease; }
.i-frame path, .i-crest path { stroke: #302483; stroke-width: .8; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0;
  animation: intro-draw .75s cubic-bezier(.65, 0, .35, 1) forwards, intro-fill .35s .5s ease-out forwards; }
.i-crest path { animation-delay: .12s, .62s; }
.i-rope { opacity: 0; animation: intro-rope-l .5s cubic-bezier(.22, 1, .36, 1) forwards; }
.i-ropes-r .i-rope { animation-name: intro-rope-r; }
.i-ropes-l .i-rope:nth-child(1) { animation-delay: .55s; } .i-ropes-l .i-rope:nth-child(2) { animation-delay: .61s; }
.i-ropes-l .i-rope:nth-child(3) { animation-delay: .67s; } .i-ropes-l .i-rope:nth-child(4) { animation-delay: .73s; }
.i-ropes-r .i-rope:nth-child(1) { animation-delay: .7s; } .i-ropes-r .i-rope:nth-child(2) { animation-delay: .76s; }
.i-ropes-r .i-rope:nth-child(3) { animation-delay: .82s; } .i-ropes-r .i-rope:nth-child(4) { animation-delay: .88s; }
.i-post { transform-origin: 50% 100%; transform: scaleY(0); animation: intro-post .35s 1s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.i-fighters { transform-origin: 50% 60%; opacity: 0; animation: intro-fighters .5s 1.2s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.i-text { opacity: 0; animation: intro-text .5s 1.65s cubic-bezier(.22, 1, .36, 1) forwards; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-fill { to { fill-opacity: 1; stroke-width: 0; } }
@keyframes intro-rope-l { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes intro-rope-r { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes intro-post { to { transform: none; } }
@keyframes intro-fighters { from { opacity: 0; transform: scale(.72); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes intro-text { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes intro-hit { 0%, 100% { transform: none; } 30% { transform: translateX(-1.5px) rotate(-.4deg); } 65% { transform: translateX(1px); } }
/* Тёмная тема: синее в логотипе белое, красное остаётся красным; белая обводка бойцов — цветом фона.
   Так же нарисован логотип шапки тёмной темы (logo-dark.svg) — картинка на перелёт подменяет SVG без скачка цвета */
[data-theme="dark"] .intro-logo [fill="#302483"], [data-theme="dark"] .intro-logo [fill="#2f2483"] { fill: #fff; }
[data-theme="dark"] .intro-logo [fill="#ffffff"], [data-theme="dark"] .intro-logo [fill="#fffffe"],
[data-theme="dark"] .intro-logo [fill="#fdfdfd"] { fill: var(--paper); }
[data-theme="dark"] .i-frame path, [data-theme="dark"] .i-crest path { stroke: #fff; }

/* О ЦРЕ */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: start; }
.about-text .lead { font: 600 clamp(24px, 2.6vw, 32px)/1.25 var(--serif); color: var(--ink); max-width: 30ch; }
.about-text p { max-width: 62ch; }
.about-logo { width: 240px; height: auto; }
.about-score { margin-top: 40px; }
@media (max-width: 700px) { .about { grid-template-columns: minmax(0, 1fr); gap: 24px; } .about-logo { width: 140px; order: -1; } }
/* «О ЦРЕ»: путь спортсмена, рост сборной, два этапа сезона */
.flow.about-path { margin-top: 48px; }
/* Пять шагов: на широком экране в ряд, на планшете 3 + 2 (последние два шире), на телефоне столбиком (ui.css) */
@media (min-width: 1100px) { .flow.about-path { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 601px) and (max-width: 1099px) {
  .flow.about-path { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .about-path .flow-i { grid-column: span 2; }
  .about-path .flow-i:nth-child(n+4) { grid-column: span 3; }
}
.growth { display: grid; gap: 14px; max-width: 760px; }
.growth-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 64px; gap: 16px; align-items: center; }
.growth-v { font: 600 48px/1 var(--serif); color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums lining-nums; }
.growth-bar { display: block; height: 14px; background: rgba(255, 255, 255, .12); }
.growth-bar span { display: block; height: 100%; background: rgba(255, 255, 255, .45); }
.growth-l { font: 600 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.growth-row.is-now .growth-v { color: #fff; font-size: 64px; }
.growth-row.is-now .growth-bar span { background: var(--red); }
.growth-row.is-now .growth-l { color: #fff; }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; margin: 0 0 16px; padding: 0; list-style: none; }
.months li { padding: 10px 0 8px; text-align: center; font: 600 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); background: var(--mist); }
.months .m-cup { background: var(--red); color: #fff; }
.months .m-belt { background: var(--brand); color: #fff; }
.season-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.season-card { display: flex; gap: 14px; align-items: flex-start; min-width: 0; padding: 20px 22px; border: 1px solid var(--line); border-top: 4px solid var(--blue); background: var(--paper); }
.season-cup { border-top-color: var(--red); }
.season-card h3 { margin: 4px 0 0; font: 600 21px/1.25 var(--serif); overflow-wrap: anywhere; }
.season-when { font: 600 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.about-history-link { margin: 20px 0 0; }
/* Собрания «ЦРЕ»: январь и август, точка — как на полосе месяцев */
.months .m-meet::after, .meet-dot { content: ""; display: block; width: 6px; height: 6px; margin: 5px auto 0; border-radius: 50%; background: currentColor; }
.months li.m-meet:not(.m-cup) { color: var(--ink); }
.meets { margin-top: 40px; }
.meets-h { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; font: 600 21px/1.25 var(--serif); }
.meet-dot { flex: none; width: 8px; height: 8px; margin: .5em 0 0; color: var(--red-ink); }
.meet-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.meet-card { min-width: 0; padding: 20px 22px; border: 1px solid var(--line); background: var(--paper); }
.meet-m { display: flex; align-items: center; gap: 14px; font: 600 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.meet-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.meet-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.4; }
.meet-list .ico { flex: none; margin-top: 1px; color: var(--blue); }
.meet-once { padding-top: 10px; border-top: 1px solid var(--line); }
.meet-once .ico { color: var(--red-ink); }
.meet-note { display: inline-block; margin-left: 6px; padding: 2px 7px; font: 600 11px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--red-dark); background: #fbeeee; vertical-align: 1px; }
@media (max-width: 700px) {
  .growth-row { grid-template-columns: 76px minmax(0, 1fr) 48px; gap: 10px; }
  .growth-v { font-size: 34px; } .growth-row.is-now .growth-v { font-size: 44px; }
  .months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .season-cards, .meet-cards { grid-template-columns: minmax(0, 1fr); }
}
.h-about-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* «История»: «Рост» на синей полосе (столбики — переключатель года), «Как всё начиналось», выбор года с линией
   прогресса и один год на экране — обложка с цифрами, лента турниров по месяцам, чемпионы, главное, события, фото
   рядами без обрезки, стрелки к соседним годам (templates/competitions/history.html, static/js/history.js) */
/* «Рост»: крупная цифра слева, столбики справа; столбики вырастают при появлении (static/js/history.js) */
.hist-growth { padding: 64px 0 56px; }
.hgr { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: end; }
.hgr-text .kicker { margin: 0 0 14px; }
.hgr-big { margin: 0; font: 600 clamp(56px, 5.6vw, 84px)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; color: #fff; }
.hgr-lead { margin: 16px 0 0; max-width: 30ch; font-size: 20px; line-height: 1.4; color: #fff; }
.hgr-lead b { font-family: var(--serif); font-size: 1.1em; }
.hgr-note { margin: 20px 0 0; max-width: 44ch; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.hg { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.hg-col { flex: 1 1 0; max-width: 180px; min-width: 0; text-align: center; }
.hg-a { display: block; color: inherit; text-decoration: none; }
.hg-a:hover, .hg-a:focus-visible { color: inherit; text-decoration: none; }
.hg-a:focus-visible { outline-color: #fff; outline-offset: 4px; }
.hg-a:hover .hg-bar { background: #fff; }
.hg-col.is-last .hg-a:hover .hg-bar { background: #f0343a; }
.hg-track { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 320px; border-bottom: 2px solid rgba(255, 255, 255, .9); }
.hg-v { display: block; margin-bottom: 8px; font: 600 32px/32px var(--serif); font-variant-numeric: tabular-nums lining-nums; color: #fff; }
.hg-bar { display: block; background: rgba(255, 255, 255, .92); transform-origin: 50% 100%; }
.hg-col.is-last .hg-bar { background: var(--red); }
.hg-year { display: block; padding-top: 12px; font: 600 22px/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; color: #fff; }
.hg-t { display: block; margin-top: 6px; font-size: 14px; line-height: 1.25; color: rgba(255, 255, 255, .72); }
.hg-s { display: block; margin-top: 2px; font-size: 12px; line-height: 1.25; color: rgba(255, 255, 255, .56); }
/* Выбранный год: столбик с белой рамкой, под годом — красная черта */
.hg-col.is-on .hg-bar { box-shadow: inset 0 0 0 3px #fff; }
.hg-col.is-on .hg-year::after { content: ""; display: block; width: 28px; height: 3px; margin: 8px auto 0; background: var(--red); }
.is-anim .hg-bar, .is-anim .tlc-bar { transform: scaleY(0); }
.is-anim .hg-v, .is-anim .tlc-v { opacity: 0; }
.is-in .hg-bar, .is-in .tlc-bar { transform: none; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.is-in .hg-v, .is-in .tlc-v { opacity: 1; transition: opacity .4s ease .55s; }
.is-in .hg-col:nth-child(2) .hg-bar { transition-delay: .1s; } .is-in .hg-col:nth-child(3) .hg-bar { transition-delay: .2s; }
.is-in .hg-col:nth-child(4) .hg-bar { transition-delay: .3s; } .is-in .hg-col:nth-child(n+5) .hg-bar { transition-delay: .4s; }

/* «Как всё начиналось» */
.hstory { padding: 56px 0; background: var(--mist); border-bottom: 1px solid var(--line); }
.hstory-in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.hstory-in.no-photo { grid-template-columns: minmax(0, 1fr); }
.hstory-ph { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--slot); border-top: 4px solid var(--red); }
.hstory-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hstory-b { min-width: 0; }
.hstory-b .kicker { margin: 0; }
.hstory-name { margin: 12px 0 0; font: 600 36px/1.1 var(--serif); letter-spacing: -.01em; }
.hstory-pos { margin: 8px 0 0; color: var(--ink2); }
.hstory-text { margin-top: 24px; max-width: 66ch; font-size: 17px; line-height: 1.6; }
.hstory-text > :last-child { margin-bottom: 0; }

/* Выбор года: крупные годы на линии, линия «дорисована» до выбранного (--p — доля от 0 до 1, history.js) */
.ysel { position: relative; margin: 0 0 40px; }
.ysel-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ysel-a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px 6px; color: var(--ink3); text-decoration: none; text-align: center; }
.ysel-a:hover { color: var(--ink); text-decoration: none; }
.ysel-dot { width: 18px; height: 18px; border: 3px solid var(--line); background: var(--paper); transition: border-color .3s, background-color .3s; }
.ysel-y { margin-top: 8px; font: 600 clamp(28px, 3.4vw, 44px)/1 var(--serif); letter-spacing: -.01em; transition: color .3s; }
.ysel-s { font-size: 13px; line-height: 1.3; color: var(--ink3); }
.ysel-a.is-past .ysel-dot { border-color: var(--blue); background: var(--blue); }
.ysel-a[aria-current] { color: var(--blue); }
.ysel-a[aria-current] .ysel-dot { border-color: var(--red); background: var(--red); }
.ysel-a[aria-current] .ysel-s { color: var(--ink2); font-weight: 600; }
.ysel-line { position: absolute; z-index: 0; top: 8px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 3px; background: var(--line); }
.ysel-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: var(--blue); transition: width .45s cubic-bezier(.2, .7, .2, 1); }
/* Без JS линии нет: годы идут лентой ниже */
.hist:not(.is-tabs) .ysel-line { display: none; }

/* Год */
.hist { padding-top: 48px; padding-bottom: 24px; }
.hist:not(.is-tabs) .hy-list { display: grid; gap: 96px; }
.hy { min-width: 0; scroll-margin-top: calc(var(--hdr) + 16px); }
.hy.is-in-r { opacity: 0; transform: translateX(28px); }
.hy.is-in-l { opacity: 0; transform: translateX(-28px); }
.hy.is-in { opacity: 1; transform: none; transition: opacity .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.hy-cover { position: relative; display: flex; align-items: flex-end; height: clamp(440px, 40vw, 560px); overflow: hidden; background: var(--brand); color: #fff; }
.hy-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* Затемнение снизу — под цифрой года и плитками */
.hy-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18, 16, 56, .08) 0%, rgba(18, 16, 56, .3) 42%, rgba(14, 12, 46, .9) 100%); }
.hy-cover-in { position: relative; z-index: 2; width: 100%; padding: 32px; }
.hy-now { margin-bottom: 14px; }
.hy-year { margin: 0 0 22px; font: 600 clamp(96px, 12vw, 176px)/.8 var(--serif); letter-spacing: -.035em; color: #fff; }
/* .tiles в ui.css — сеткой (на телефоне по две); здесь в один ряд */
.tiles.hy-tiles { display: flex; width: fit-content; max-width: 100%; }
.hy-tiles .tile { flex: 0 1 240px; background: rgba(14, 12, 46, .32); }
.hy-tiles .tile-v { font-size: 36px; }
/* Без фото — фирменная полоса: синяя с красной кромкой (через год — наоборот) */
.hy-cover.is-plain { height: auto; min-height: 340px; }
.hy-cover.is-plain::before { background: none; border-left: 14px solid var(--red); }
.hy-cover.is-plain.is-red { background: var(--red-hover); }
.hy-cover.is-plain.is-red::before { border-left-color: var(--blue); }
.hy-cover.is-plain .hy-cover-in { padding-left: 46px; }
.hy-cover.is-plain .tile { background: transparent; }
/* Фон обложки (логотип на нём по центру или справа): затемнение только слева и снизу — под цифрой года и плитками.
   Какая часть фона видна по горизонтали — «фокус фона» года (object-position в шаблоне); фото года — в галерее */
.hy-cover.has-bg { background: #0e0c2e; }
.hy-cover.has-bg::before { background:
  radial-gradient(ellipse 62% 78% at 0% 100%, rgba(14, 12, 46, .9) 0%, rgba(14, 12, 46, .62) 45%, rgba(14, 12, 46, 0) 100%),
  linear-gradient(90deg, rgba(14, 12, 46, .45) 0%, rgba(14, 12, 46, 0) 42%),
  linear-gradient(180deg, rgba(14, 12, 46, 0) 70%, rgba(14, 12, 46, .45) 100%); }
.hy-note { margin: 12px 0 0; font-size: 14px; color: var(--ink3); }
.hy-lead { margin: 28px 0 0; max-width: 66ch; font-size: 20px; line-height: 1.5; }
.hy-sec { margin-top: 44px; }
.hy-h { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font: 600 13px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.hy-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Лента турниров: месяцы по горизонтали, столбик — участники, финал красный, без числа — точка */
.tlc { border: 1px solid var(--line); border-top: 4px solid var(--blue); background: var(--paper); }
.tlc-scroll { position: relative; overflow-x: auto; padding: 20px 20px 0; scrollbar-width: thin; -webkit-overflow-scrolling: touch; scroll-padding: 0 20px; }
/* Лента шире экрана: край, за которым ещё есть турниры, мягко гаснет (классы ставит history.js) */
.tlc-scroll.can-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.tlc-scroll.can-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.tlc-scroll.can-l.can-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
/* Ширина ленты от числа турниров (--n), месяцев с ними (--m) и пустых месяцев между (--e): колонка турнира не уже
   --col (не влезает — прокрутка), не шире --colmax (мало турниров — лента по центру, без растянутых столбиков) */
.tlc-months { --col: 72px; --colmax: 150px; --row: calc(var(--m, 1) * 8px + (var(--n, 1) - var(--m, 1)) * 4px + var(--e, 0) * 34px);
  position: relative; display: flex; min-width: calc(var(--n, 1) * var(--col) + var(--row)); max-width: calc(var(--n, 1) * var(--colmax) + var(--row));
  margin: 0 auto; padding: 0; list-style: none; }
.tlc-months::before { content: ""; position: absolute; left: 0; right: 0; top: 218px; height: 2px; background: var(--ink); }
.tlc-m { display: flex; flex-direction: column; min-width: 0; border-left: 1px dashed var(--line); }
.tlc-m:first-child { border-left: 0; }
.tlc-items { display: flex; gap: 4px; margin: 0; padding: 0 4px; list-style: none; }
.tlc-i { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; min-width: 0; cursor: pointer; outline-offset: -2px; }
.tlc-plot { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; width: 100%; height: 220px; padding-bottom: 2px; }
.tlc-v { margin-bottom: 4px; font: 600 15px/18px var(--serif); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.tlc-bar { display: block; width: 100%; max-width: 40px; background: var(--blue); transform-origin: 50% 100%; }
.tlc-i.is-final .tlc-bar { background: var(--red); }
.tlc-i.is-final .tlc-v { color: var(--red-dark); }
.tlc-dot { position: relative; z-index: 1; width: 14px; height: 14px; margin-bottom: -8px; border: 3px solid var(--blue); border-radius: 50%; background: var(--paper); }
.tlc-i.is-final .tlc-dot { border-color: var(--red); }
/* Отменённый турнир: горящая свеча вместо столбика — пламя и сердцевина колышутся вразнобой, ореол и отсвет на воске дышат, тонкий дымок */
.tlc-candle { display: block; width: 40px; height: 93px; margin-bottom: -4px; overflow: visible; }
.tlc-candle * { transform-box: view-box; }
.cdl-flame { transform-origin: 30px 48px; animation: cdl-flicker 2.8s ease-in-out infinite; }
.cdl-core { transform-origin: 30px 44px; animation: cdl-core 1.9s ease-in-out infinite; }
.cdl-glow { transform-origin: 30px 38px; animation: cdl-glow 2.8s ease-in-out infinite; }
.cdl-warm { animation: cdl-warm 2.8s ease-in-out infinite; }
.cdl-ember { animation: cdl-ember 1.3s ease-in-out infinite; }
.cdl-smoke { opacity: 0; animation: cdl-smoke 6s ease-out infinite 1.5s; }
@keyframes cdl-flicker {
  0%, 100% { transform: scale(1, 1) skewX(0); }
  16% { transform: scale(.95, 1.07) skewX(-3deg); }
  33% { transform: scale(1.04, .95) skewX(2deg); }
  52% { transform: scale(.97, 1.05) skewX(-1.5deg); }
  70% { transform: scale(1.02, .97) skewX(3deg); }
  86% { transform: scale(.98, 1.04) skewX(-2deg); }
}
@keyframes cdl-core { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(.92, 1.08); } 60% { transform: scale(1.05, .95); } }
@keyframes cdl-glow { 0%, 100% { opacity: .7; transform: scale(1); } 35% { opacity: 1; transform: scale(1.12); } 68% { opacity: .78; transform: scale(.95); } }
@keyframes cdl-warm { 0%, 100% { opacity: .75; } 35% { opacity: 1; } 68% { opacity: .6; } }
@keyframes cdl-ember { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes cdl-smoke { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: .35; } 70% { opacity: .1; } 100% { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .tlc-candle * { animation: none !important; } .cdl-smoke { opacity: 0; } }
@media (max-width: 600px) { .tlc-candle { width: 34px; height: 79px; } }
.tlc-i.is-cancelled .tlc-d { color: var(--ink3); }
.tlc-i.is-cancelled.is-on .tlc-candle { color: var(--ink); }
.tlc-key-c { width: 11px; height: 18px; margin-left: 10px; color: var(--ink3); }
.tlc-note { margin: -6px 0 0; padding: 0 20px 14px; font-size: 13px; color: var(--ink3); }
.tlc-d { padding-top: 6px; font-size: 12px; line-height: 16px; color: var(--ink3); white-space: nowrap; }
.tlc-gap { display: block; height: 242px; }
.tlc-i.is-on .tlc-bar { background: var(--blue-dark); }
.tlc-i.is-final.is-on .tlc-bar { background: var(--red-dark); }
.tlc-i.is-on .tlc-d { color: var(--ink); font-weight: 600; }
.tlc-ml { display: block; padding: 8px 2px 12px; font: 600 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--ink3); }
.tlc-m.is-empty { min-width: 34px; }
.tlc-m.is-empty .tlc-ml { color: var(--grey); }
.tlc-out { min-height: 48px; margin: 0; padding: 12px 20px; border-top: 1px solid var(--line); font-weight: 600; overflow-wrap: anywhere; }
.tlc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; padding: 0 20px 14px; font-size: 13px; color: var(--ink3); }
.tlc-key { width: 12px; height: 12px; margin-left: 10px; background: var(--blue); }
.tlc-key:first-child { margin-left: 0; }
.tlc-key.is-final { background: var(--red); }
.tlc-hint { margin-left: 6px; }

/* Чемпионы: карточка на титул */
.hy-champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
/* Одна карточка — во всю ширину, список внутри колонками; две — пополам */
.hy-champs.is-n1 { grid-template-columns: minmax(0, 1fr); }
.hy-champs.is-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-n1 .hch-list.hch-c2, .is-n1 .hch-list.hch-c3 { display: grid; grid-template-columns: repeat(var(--c), minmax(0, 1fr)); gap: 0 32px; }
.is-n1 .hch-c2 { --c: 2; }
.is-n1 .hch-c3 { --c: 3; }
.is-n1 .hch-c2 > li:nth-child(-n+2), .is-n1 .hch-c3 > li:nth-child(-n+3) { padding-top: 0; border-top: 0; }
.hch { min-width: 0; padding: 20px; border: 1px solid var(--line); border-top: 4px solid var(--blue); background: var(--paper); }
.hch-h { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; font: 600 17px/1.3 var(--font); }
.hch-belt .ichip { background: var(--brand); color: #fff; }
.hch-cup { border-top-color: #c9a227; background: #fffbef; }
.hch-cup .ichip { background: #f8edc6; color: #7a5c00; }
.hch-gp { border-top-color: var(--red); }
.hch-gp .ichip { background: #fbeeee; color: var(--red-dark); }
.hch-list { margin: 0; padding: 0; list-style: none; }
.hch-list li { padding: 10px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.hch-list li:first-child { padding-top: 0; border-top: 0; }
.hch-list b { display: block; }
.hch-list span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--ink2); }

/* «Подробнее о годе»: на широком экране открыто без заголовка, на телефоне — кнопка */
.hy-sum { display: none; }
.hy-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hf { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--red); line-height: 1.45; overflow-wrap: anywhere; }
.hf-d { font: 600 18px/1.2 var(--serif); color: var(--blue); }
.hf-d.is-year { color: var(--red-dark); }
.hy-ev { position: relative; display: grid; gap: 12px; max-width: 880px; margin: 0; padding: 0 0 0 28px; list-style: none; }
.hy-ev::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.he { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 4px 20px; padding: 14px 18px; border: 1px solid var(--line); line-height: 1.45; overflow-wrap: anywhere; }
.he::before { content: ""; position: absolute; left: -27px; top: 19px; width: 12px; height: 12px; background: var(--blue); }
.he-d { font: 600 17px/1.35 var(--serif); color: var(--blue); }
.he-w:only-child { grid-column: 1 / -1; }
/* Фото года: рядами без обрезки (.jg в ui.css), ряд повыше */
.jg.hy-gal { --rh: 230px; }
/* Ряды без «сирот» и великанов (history.js): короткий ряд — кадры чуть крупнее и по центру, одиночный — с соседом сверху */
.jg.hy-gal.is-tuned { justify-content: center; }
.jg.hy-gal.is-tuned::after { display: none; }
.jg.hy-gal.is-tuned > a.is-fit { flex-grow: 0; width: calc(var(--w) * var(--rh) * var(--k, 1) / var(--h)); }
.jg-br { flex: 0 0 100%; height: 0; margin-top: -6px; }
@media (max-width: 600px) { .jg-br { margin-top: -4px; } }
.hy-pdf { margin: 32px 0 0; }
.hy-pdf .btn { gap: 8px; }
/* Презентация года: кнопка с превью первого слайда, листается на странице (static/js/lightbox.js) */
.hy-deck { display: inline-flex; align-items: center; gap: 16px; max-width: 100%; padding: 8px 20px 8px 8px; border: 1.5px solid var(--blue); background: var(--paper); color: var(--blue); text-decoration: none; transition: background-color .15s, color .15s; }
.hy-deck img { flex: none; display: block; width: 120px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--mist); }
.hy-deck-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hy-deck-t b { font: 600 16px/1.25 var(--font); }
.hy-deck-t span { font-size: 14px; color: var(--ink3); transition: color .15s; }
.hy-deck .ico { flex: none; margin-left: 4px; transition: transform .15s; }
.hy-deck:hover { background: var(--brand); color: #fff; text-decoration: none; }
.hy-deck:hover .hy-deck-t span { color: rgba(255, 255, 255, .78); }
.hy-deck:hover .ico { transform: translateX(3px); }
@media (max-width: 600px) { .hy-deck { display: flex; gap: 12px; padding-right: 14px; } .hy-deck img { width: 96px; } .hy-deck .ico { margin-left: auto; } }
/* Стрелки к соседним годам */
.hy-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--ink); }
.hy-pg { display: flex; flex-direction: column; gap: 2px; min-width: 140px; padding: 10px 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hy-pg:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.hy-pg.is-next { align-items: flex-end; margin-left: auto; }
.hy-pg-k { font: 600 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.hy-pg-y { font: 600 28px/1.1 var(--serif); color: var(--blue); }
/* Подпись кадра в просмотре на весь экран (static/js/lightbox.js) */
.lb-foot { position: absolute; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 72px; text-align: center; pointer-events: none; }
.lb-foot .lb-count { position: static; }
/* Стрелки по бокам кадра, а не поверх светлого фото */
@media (min-width: 601px) { .lb-img { max-width: calc(100vw - 144px); } }
.lb-cap { max-width: 72ch; margin: 0; font-size: 15px; line-height: 1.4; color: #fff; }
/* Ссылка на исходный файл под кадром и лента миниатюр (презентация года на «Истории») */
.lb-file { pointer-events: auto; padding: 4px 8px; font-size: 13px; color: rgba(255, 255, 255, .72); text-underline-offset: 3px; }
.lb-file:hover { color: #fff; }
.lb-strip { display: none; }
@media (min-width: 601px) {
  /* кадр по центру над подписью и лентой, а не под ними */
  .lb.has-strip { padding: 24px 0 150px; }
  .lb.has-strip .lb-img { max-height: calc(100vh - 190px); }
  .lb.has-strip .lb-foot { bottom: 86px; }
  .lb-strip { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: safe center; gap: 6px; padding: 10px 16px 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
  .lb-strip button { flex: none; padding: 0; border: 2px solid transparent; background: none; opacity: .5; cursor: pointer; transition: opacity .15s; }
  .lb-strip button:hover, .lb-strip button[aria-current] { opacity: 1; }
  .lb-strip button[aria-current] { border-color: #fff; }
  .lb-strip img { display: block; width: 96px; height: 54px; object-fit: contain; background: rgba(255, 255, 255, .06); }
}

@media (max-width: 1100px) {
  .hy-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .is-n1 .hch-c3 { --c: 2; }
  .is-n1 .hch-c3 > li:nth-child(3) { padding-top: 10px; border-top: 1px solid var(--line); }
  .hgr { gap: 32px 40px; }
}
@media (max-width: 900px) {
  .hgr { grid-template-columns: minmax(0, 1fr); }
  .hist-growth { padding: 40px 0 36px; }
  .hg-track { height: 240px; }
  .hstory { padding: 40px 0; }
  .hstory-in { grid-template-columns: 200px minmax(0, 1fr); gap: 24px 32px; }
}
@media (max-width: 720px) {
  .ysel { margin: 0 calc(-1 * var(--gut)) 28px; }
  .ysel-list { display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gut); -webkit-overflow-scrolling: touch; }
  .ysel-list::-webkit-scrollbar { display: none; }
  .ysel-list > li { flex: 1 0 0; min-width: 64px; }
  /* Не помещается — край ряда гаснет: видно, что можно листать (классы ставит history.js) */
  .ysel-list.can-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .ysel-list.can-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
  .ysel-list.can-l.can-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
  .ysel-line { display: none; }
  .ysel-a { border-bottom: 3px solid var(--line); padding-bottom: 10px; }
  .ysel-a.is-past { border-bottom-color: var(--blue); }
  .ysel-a[aria-current] { border-bottom-color: var(--red); }
  .ysel-dot { display: none; }
  .ysel-y { margin-top: 0; font-size: 26px; }
  .ysel-s { font-size: 11px; white-space: nowrap; }
  .hy-pager { margin-top: 32px; }
  .hy-pg { min-width: 0; flex: 1; }
  .hgr-big { font-size: 56px; }
  .hgr-lead { font-size: 18px; }
  .hg { gap: 14px; }
  .hg-track { height: 210px; }
  .hg-v { font-size: 22px; line-height: 26px; }
  .hg-year { font-size: 17px; }
  .hg-t { font-size: 12px; }
  .hstory-in { grid-template-columns: minmax(0, 1fr); }
  .hstory-ph { width: 180px; }
  .hstory-name { font-size: 28px; }
  .hstory-text { font-size: 16px; }
  .hist { gap: 64px; padding-top: 36px; padding-bottom: 8px; }
  .hy-cover { height: auto; min-height: 460px; margin: 0 calc(-1 * var(--gut)); }
  .hy-cover.is-plain { min-height: 300px; }
  /* Узкая обложка: фон сверху, ниже — тёмная подложка под цифрой и плитками, логотип не прячется под ними */
  .hy-cover.has-bg .hy-cover-bg { height: 66%; }
  .hy-cover.has-bg::before { background: linear-gradient(180deg, rgba(14, 12, 46, 0) 36%, rgba(14, 12, 46, .75) 56%, #0e0c2e 66%); }
  .hy-cover-in { padding: 20px 16px 16px; }
  .hy-cover.is-plain .hy-cover-in { padding-left: 30px; }
  .hy-year { font-size: 104px; margin-bottom: 16px; }
  .tiles.hy-tiles { width: 100%; }
  .hy-tiles .tile { flex: 1 1 0; padding: 12px 10px 10px; }
  .hy-tiles .tile-v { font-size: 24px; }
  .hy-tiles .tile-l { font-size: 10px; letter-spacing: .05em; }
  .hy-tiles .tile-n { margin-top: 4px; font-size: 12px; }
  .hy-lead { margin-top: 20px; font-size: 17px; }
  .hy-sec { margin-top: 32px; }
  .tlc-scroll { padding: 16px 12px 0; scroll-padding: 0 12px; }
  .tlc-months { --col: 64px; --colmax: 110px; }
  .tlc-plot { height: 170px; }
  .tlc-months::before { top: 168px; }
  .tlc-gap { height: 192px; }
  .tlc-out { padding: 12px; font-size: 15px; }
  .tlc-legend { padding: 0 12px 12px; }
  .tlc-note { padding: 0 12px 12px; }
  .tlc-hint { display: none; }
  .hy-champs, .hy-champs.is-n2 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .is-n1 .hch-list.hch-c2, .is-n1 .hch-list.hch-c3 { display: block; }
  .is-n1 .hch-list > li:nth-child(n+2) { padding-top: 10px; border-top: 1px solid var(--line); }
  .hch { padding: 16px; }
  .hy-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; min-height: 56px; margin-top: 28px; padding: 10px 16px; border: 1px solid var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
  .hy-sum::-webkit-details-marker { display: none; }
  .hy-sum-n { grid-column: 1; font-size: 13px; font-weight: 400; color: var(--ink2); }
  .hy-sum .ico { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; transform: rotate(90deg); transition: transform .2s; }
  .hy-more[open] > .hy-sum { background: var(--ink); color: var(--on-ink); }
  .hy-more[open] > .hy-sum .hy-sum-n { color: rgba(255, 255, 255, .78); }
  [data-theme="dark"] .hy-more[open] > .hy-sum .hy-sum-n { color: rgba(18, 18, 28, .72); }
  .hy-more[open] > .hy-sum .ico { transform: rotate(-90deg); }
  .hy-facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hf { padding: 14px 16px; }
  .hy-ev { padding-left: 24px; }
  .hy-ev::before { left: 5px; }
  .he { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 14px; }
  .he::before { left: -23px; top: 17px; width: 10px; height: 10px; }
  .jg.hy-gal { --rh: 100px; }
  .lb-foot { bottom: calc(66px + env(safe-area-inset-bottom)); padding: 0 16px; }
  .lb-cap { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hy-sum .ico, .ysel-fill, .ysel-dot, .ysel-y { transition: none; }
}
@media print {
  .ysel, .hy-pager, .hy-sum { display: none; }
  .hy[hidden] { display: block !important; }
  .hy-cover { height: auto; min-height: 0; color: var(--ink); background: none; }
  .hy-cover-img, .hy-cover::before { display: none; }
  .hy-year { color: var(--ink); }
}

/* Заголовок новости капсом (как в посте VK): гротеск и разрядка вместо крупной антиквы */
.post-head .post-title.is-caps { font: 600 clamp(26px, 3.4vw, 40px)/1.15 var(--font); letter-spacing: .02em; }
.nc-title.is-caps { font-family: var(--font); font-size: 18px; letter-spacing: .02em; line-height: 1.3; }
.nc-big .nc-title.is-caps { font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--font); letter-spacing: .02em; }
.nb-title.is-caps { font-size: 15px; letter-spacing: .02em; }
@media (max-width: 700px) {
  .news-side .nc-title.is-caps, .news-grid .nc-title.is-caps { font-size: 15px; }
  .nc-big .nc-title.is-caps { font-size: 22px; }
}

/* Ссылки на ВКонтакте и Телеграм с иконками брендов (static/brand/icons, thesvg, MIT) */
.footer .links a, a.social { display: inline-flex; align-items: center; gap: 6px; }
.btn .ico { width: 18px; height: 18px; }

/* Блок «Коротко» в ленте новостей: короткие записи списком с маленьким превью */
.nb { min-width: 0; border-top: 2px solid var(--ink); padding-top: 14px; }
.nb-head { font: 600 13px/1.3 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 4px; }
.nb-list { list-style: none; margin: 0; padding: 0; }
.nb-list li + li { border-top: 1px solid var(--line); }
.nb-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; color: inherit; text-decoration: none; }
.nb-item:hover { color: inherit; }
.nb-item:hover .nb-title { color: var(--blue); }
.nb-thumb { flex: none; width: 64px; height: 64px; object-fit: cover; background: var(--slot); }
.nb-text { min-width: 0; }
.nb-date { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.nb-title { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .news-grid .nb { margin: 18px 0 6px; }
  .nb-thumb { width: 56px; height: 56px; }
}
/* Репост и короткая запись на странице новости */
.post-repost { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.post-repost .ico { color: #0077ff; }
.post-brief .post-body { font-size: 21px; line-height: 1.55; }
.post-brief .post-cover img { max-height: min(480px, 62vh); }
@media (max-width: 600px) { .post-brief .post-body { font-size: 19px; } }

/* Фото бойцов: на странице боя крупно, в истории боёв — маленькое у соперника */
.ava { display: inline-flex; flex: none; align-items: center; justify-content: center; overflow: hidden; background: var(--slot); color: var(--blue); vertical-align: middle; }
.ava img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.ava { position: relative; }
/* Заглушка без фото — монограмма: заливает весь квадрат, буквы в полную силу (раньше бледные на сером) */
.ava-initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--serif); font-weight: 600; letter-spacing: .02em;
  color: var(--brand); background: linear-gradient(145deg, #f5f4fb, #e2e0f1); box-shadow: inset 0 0 0 1px rgba(57, 49, 134, .12); }
[data-theme="dark"] .ava-initials { color: var(--blue); background: linear-gradient(145deg, rgba(156, 149, 255, .2), rgba(156, 149, 255, .08)); box-shadow: inset 0 0 0 1px rgba(156, 149, 255, .2); }
.ava-lg { width: 112px; aspect-ratio: 4 / 5; }
.ava-lg .ava-initials { font-size: 30px; }
.ava-sm { width: 32px; height: 32px; }
.ava-sm .ava-initials { font-size: 12px; }
.ava-round { border-radius: 50%; }
.corner-head { display: flex; gap: 16px; align-items: center; margin: 6px 0 12px; }
.corner-head .corner-name { margin: 0; }
/* Синий угол на компьютере зеркальный: фото справа от имени */
.blue-corner .corner-head { flex-direction: row-reverse; }
@media (max-width: 700px) { .blue-corner .corner-head { flex-direction: row; } }
.bouts .opp { display: inline-flex; align-items: center; gap: 10px; }


/* ---------- Главная ---------- */
.hh { padding: 48px 0 64px; }
.hh-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.hh-img { width: 100%; height: auto; max-height: 720px; object-fit: contain; object-position: left top; border-top: 4px solid var(--blue); }
/* Афиши нет — типографский блок в открытой рамке */
.hh-text { display: flex; flex-direction: column; min-height: 440px; padding: 40px 32px 32px; color: var(--ink); text-decoration: none; }
.hh-text:hover { color: var(--ink); text-decoration: none; }
.hh-day { font: 600 152px/.9 var(--serif); letter-spacing: -.03em; color: var(--blue); }
.hh-month { font: 600 26px/1.2 var(--serif); margin-top: 12px; }
.hh-time { font-weight: 600; margin-top: 18px; }
.hh-venue { color: var(--ink2); margin-top: 4px; max-width: 30ch; }
.hh-mark { margin-top: auto; padding-top: 24px; width: 66px; height: auto; box-sizing: content-box; }
.hh-info h1 { font-size: 48px; margin: 14px 0 16px; overflow-wrap: break-word; hyphens: auto; }
.hh-info h1 a { color: inherit; text-decoration: none; }
.hh-info h1 a:hover { color: var(--blue); }
.hh-info .lead { font-size: 17px; margin: 0 0 24px; max-width: 60ch; }
.hh-info .factlist { margin-top: 8px; }
.hh-info .factlist a { color: inherit; }
.hh-acts { display: flex; gap: 16px 28px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
/* Горизонтальная афиша — широкой шапкой во всю ширину, под ней название слева и факты справа */
.hh-wide .hh-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.hh-wide .hh-img { max-height: 760px; object-fit: contain; object-position: center; }
.hh-wide .hh-info { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 56px; align-items: start; }
.hh-wide .hh-info > .kicker, .hh-wide .hh-info > h1, .hh-wide .hh-info > .lead, .hh-wide .hh-acts { grid-column: 1; }
.hh-wide .hh-info > .factlist { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
/* Сегодня турнир */
.hh-live { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hh-live .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: 16px 32px; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.live-k { color: var(--red-dark); display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.hh-live-t { display: block; font-size: 17px; margin-top: 4px; }
.hh-live-p { margin: 0; font-size: 15px; color: var(--ink2); }
/* Секции главной */
.hsec { padding: 64px 0; border-top: 1px solid var(--line); }
.hsec h2 { margin: 6px 0 0; }
.hsec .head-plain { margin-bottom: 24px; align-items: flex-end; }
.hsec .head-plain .kicker + h2 { margin-top: 8px; }
.h-link { color: inherit; text-decoration: none; }
.h-link:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.h-find-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.qf { display: flex; }
.qf input[type=search] { height: 56px; border: 1.5px solid var(--ink); border-right: 0; font-size: 17px; }
.qf .btn { min-height: 56px; }
.h-find-form .small { margin: 12px 0 0; }
.h-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.h-about h2 { margin: 10px 0 20px; max-width: 20ch; }
.h-about p { max-width: 60ch; }
/* «О ЦРЕ» на главной: тёмная полоса с ареной, крупная главная цифра и три живые цифры */
.h-about-band { position: relative; isolation: isolate; color: #fff; background: #0b0d26; }
.h-about-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 13, 38, .94) 0%, rgba(11, 13, 38, .78) 55%, rgba(11, 13, 38, .55) 100%),
              url("../brand/hero/auth-16x9.3d23751493c7.webp") center 35% / cover no-repeat; }
.h-about-band .kicker { color: #fff; opacity: .75; }
.h-about-band h2 { color: #fff; }
.h-about-band p, .h-about-band .muted { color: rgba(255, 255, 255, .82); }
.h-about-band .lnk { color: #fff; }
.h-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; align-self: center; }
.h-nums div { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 4px 0; border-top: 3px solid var(--red); margin-right: 20px; }
.h-nums dd { margin: 0; font: 600 44px/1 var(--serif); color: #fff; }
.h-nums dt { font-size: 14px; color: rgba(255, 255, 255, .75); }
.h-nums .h-num-main { grid-column: 1 / -1; border-top: 0; padding: 0 0 22px; margin: 0 0 6px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.h-nums .h-num-main dd { font-size: clamp(56px, 7vw, 88px); }
.h-nums .h-num-main dt { font-size: 17px; color: rgba(255, 255, 255, .85); }
/* Календарь турниров (список турниров и главная). Карточка: афиша, дата крупно, вид спорта и этап, название,
   место, статус со сроком заявок, кнопки по статусу. Без теней и скруглений — волосяные линии между карточками.
   Одна разметка, три раскладки: .tcal — ближайшие (широкая карточка), .tcal-tiles — прошедшие плиткой,
   .tcal.is-list — строки (главная и переключатель «Список») */
.tc-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 24px; margin-bottom: 36px; }
.tc-bar .chip-row { margin-bottom: 0; }
.tc-view .chip { cursor: pointer; background: transparent; font-family: var(--font); }
.tc-view .chip.on { background: var(--ink); color: var(--on-ink); }
.tc-group + .tc-group { margin-top: 40px; }
.tc-month { margin: 0; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font: 600 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.tc-past { margin-top: 72px; }
.tcal { list-style: none; margin: 0; padding: 0; }
.tc { display: grid; grid-template-columns: 240px 128px minmax(0, 1fr); grid-template-areas: "pic date body" "pic date acts";
  grid-template-rows: 1fr auto; column-gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.tc-pic { grid-area: pic; display: block; align-self: start; }
/* Рамка вертикальная, по форме афиши: вертикальная афиша заполняет её целиком (как на strikerstat), фирменный фон обрезается */
.tc-pic .cover, .tc-pic .slot { width: 100%; aspect-ratio: 3 / 4; height: auto; }
.tc-pic .is-poster.is-tall { object-fit: cover !important; object-position: center top; }
.tc-pic .cover { transition: opacity .15s ease; } .tc-pic:hover .cover { opacity: .9; }
.tc-pic .slot-mark { width: 30%; }
.tc-date { grid-area: date; display: flex; flex-direction: column; align-items: flex-start; }
.tc-day { font: 600 72px/.85 var(--serif); color: var(--ink); }
.tc-mon { margin-top: 12px; font: 600 17px/1.2 var(--serif); color: var(--ink); }
.tc-wd { margin-top: 2px; font-size: 14px; color: var(--ink2); }
.tc-time { margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--ink); }
.tc-when { margin-top: 14px; font: 600 12px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.tc-when.now { color: var(--red-ink); }
.tc-body { grid-area: body; min-width: 0; }
.tc-k { font: 600 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.tc-k.kick { color: var(--red-dark); } .tc-k.mma { color: var(--ink); }
.tc-k .sep { margin: 0 8px; color: var(--grey); }
.tc-t { margin: 10px 0 0; font: 600 28px/1.15 var(--serif); letter-spacing: -.005em; overflow-wrap: anywhere; }
.tc-t a { color: var(--ink); text-decoration: none; }
.tc-t a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.tc-where { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.tc-where b { font-weight: 600; color: var(--ink); }
.tc-where span::before { content: " · "; }
.tc-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 18px 0 0; }
.tc-note { font-size: 14px; font-weight: 600; color: var(--ink2); }
.tc-note.hot { color: var(--red-ink); }
.tc-acts { grid-area: acts; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.tc-acts .lnk { font-size: 15px; }
.tc-sub { display: inline-flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 600; }
.tc-sub a { color: var(--ink2); text-decoration: none; } .tc-sub a:hover { color: var(--blue); text-decoration: underline; }
.tc-sub .sep { color: var(--grey); }

/* Прошедшие — плиткой, четыре в ряд */
.tcal-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.tcal-tiles .tc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pic" "date" "body" "acts"; grid-template-rows: auto auto 1fr auto; padding: 24px 0 28px; }
.tcal-tiles .tc-date { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 16px; }
.tcal-tiles .tc-day { font-size: 26px; line-height: 1; }
.tcal-tiles .tc-mon, .tcal-tiles .tc-wd, .tcal-tiles .tc-time, .tcal-tiles .tc-when { margin: 0; }
.tcal-tiles .tc-body { margin-top: 8px; }
.tcal-tiles .tc-t { margin-top: 8px; font-size: 21px; line-height: 1.2; }
.tcal-tiles .tc-state { margin-top: 14px; }
.tcal-tiles .tc-acts { margin-top: 16px; }

/* Список — строки: афиша, дата, турнир, кнопки справа */
.tcal.is-list { display: block; }
.tcal.is-list .tc { grid-template-columns: 120px 104px minmax(0, 1fr) auto; grid-template-areas: "pic date body acts"; grid-template-rows: auto;
  column-gap: 24px; padding: 20px 0; }
.tcal.is-list .tc-date { flex-direction: column; align-items: flex-start; gap: 0; margin: 0; }
.tcal.is-list .tc-day { font-size: 36px; line-height: .9; }
.tcal.is-list .tc-mon { margin-top: 8px; font-size: 15px; }
.tcal.is-list .tc-wd { margin-top: 2px; font-size: 13px; }
.tcal.is-list .tc-time, .tcal.is-list .tc-when { margin-top: 6px; }
.tcal.is-list .tc-body { margin: 0; }
.tcal.is-list .tc-t { margin-top: 6px; font-size: 20px; line-height: 1.25; }
.tcal.is-list .tc-where { margin-top: 6px; font-size: 14px; }
.tcal.is-list .tc-state { margin-top: 10px; }
.tcal.is-list .tc-acts { flex-direction: column; align-items: flex-end; gap: 12px; margin: 0; align-self: start; }
.tcal-home { border-top: 2px solid var(--ink); }

@media (max-width: 1100px) {
  .tc { grid-template-columns: 200px 112px minmax(0, 1fr); column-gap: 24px; }
  .tc-day { font-size: 60px; }
  .tc-t { font-size: 25px; }
  .tcal-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tc-bar { margin-bottom: 28px; }
  .tcal-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc { grid-template-columns: 170px minmax(0, 1fr); grid-template-areas: "pic date" "pic body" "pic acts"; grid-template-rows: auto 1fr auto; column-gap: 20px; }
  .tc-date { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .tc-day { font-size: 30px; line-height: 1; }
  .tc-mon, .tc-wd, .tc-time, .tc-when { margin: 0; }
  .tc-body { margin-top: 8px; }
  .tc-t { font-size: 22px; }
  .tcal.is-list .tc { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "pic date" "pic body" "pic acts"; grid-template-rows: auto auto auto; column-gap: 16px; padding: 18px 0; }
  .tcal.is-list .tc-date { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .tcal.is-list .tc-day { font-size: 22px; line-height: 1; }
  .tcal.is-list .tc-mon, .tcal.is-list .tc-wd, .tcal.is-list .tc-time, .tcal.is-list .tc-when { margin: 0; font-size: 14px; }
  .tcal.is-list .tc-body { margin-top: 4px; }
  .tcal.is-list .tc-t { font-size: 18px; }
  .tcal.is-list .tc-acts { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 14px; }
  .tc-past { margin-top: 56px; }
}
@media (max-width: 640px) {
  .tc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pic" "date" "body" "acts"; grid-template-rows: auto; padding: 22px 0 26px; }
  .tc-pic .cover, .tc-pic .slot { aspect-ratio: 16 / 9; }
  .tc-pic .cover.is-poster { aspect-ratio: 4 / 5; object-fit: contain !important; object-position: center; }
  .tc-date { margin-top: 14px; }
  .tc-acts { margin-top: 18px; gap: 12px 20px; }
  .tc-acts .btn { flex: 1 1 100%; }
  .tcal-tiles { display: block; }
  .tcal-tiles .tc, .tcal.is-list .tc { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "pic date" "pic body" "acts acts"; grid-template-rows: auto auto auto;
    column-gap: 14px; padding: 18px 0; }
  .tcal-tiles .tc-pic .cover, .tcal-tiles .tc-pic .slot, .tcal.is-list .tc-pic .cover, .tcal.is-list .tc-pic .slot { aspect-ratio: 3 / 4; }
  .tcal-tiles .tc-pic .is-poster.is-tall, .tcal.is-list .tc-pic .is-poster.is-tall { object-fit: cover !important; object-position: center top; }
  .tcal-tiles .tc-date, .tcal.is-list .tc-date { margin-top: 0; }
  .tcal-tiles .tc-day, .tcal.is-list .tc-day { font-size: 20px; }
  .tcal-tiles .tc-mon, .tcal-tiles .tc-wd, .tcal.is-list .tc-mon, .tcal.is-list .tc-wd { font-size: 14px; }
  .tcal-tiles .tc-body, .tcal.is-list .tc-body { margin-top: 4px; }
  .tcal-tiles .tc-t, .tcal.is-list .tc-t { margin-top: 4px; font-size: 17px; line-height: 1.25; }
  .tcal-tiles .tc-where, .tcal.is-list .tc-where { font-size: 14px; }
  .tcal-tiles .tc-state, .tcal.is-list .tc-state { margin-top: 10px; }
  .tcal-tiles .tc-acts, .tcal.is-list .tc-acts { margin-top: 14px; flex-direction: row; align-items: center; }
  .tcal-tiles .tc-acts .btn, .tcal.is-list .tc-acts .btn { flex: 0 1 auto; }
  .tc-k .sep { margin: 0 6px; }
}
.st { font-weight: 600; font-size: 14px; color: var(--ink2); }
.st.open { color: var(--ok); }
.st.live { color: var(--red-dark); }
a.st { text-decoration: none; } a.st:hover { text-decoration: underline; }
/* Рейтинг кратко и серия */
.h-two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.h-two > div:only-child { grid-column: 1 / -1; }
table.rank { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.rank td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 16px; }
.rank .rk-pl { width: 48px; font: 600 24px/1 var(--serif); color: var(--blue); }
.rk-club { display: flex; align-items: center; gap: 14px; }
.rk-club .logo-plate { flex: none; width: 44px; height: 44px; }
.rank .rk-who a { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.rank .rk-who a:hover { color: var(--blue); text-decoration: underline; }
.rank .rk-who small { display: block; font-size: 13px; color: var(--ink2); }
.rank .rk-pt { text-align: right; font-weight: 600; white-space: nowrap; padding-right: 0; }
.rank .rk-pt small { font-weight: 400; color: var(--ink2); }
.h-series { margin-top: 12px; }
.h-stages { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.h-stages a { display: block; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); padding-top: 10px; }
.h-stages a:hover .h-st-d { color: var(--blue); }
.h-st-d { display: block; font: 600 24px/1.2 var(--serif); margin: 6px 0 2px; }
.h-st-s { display: block; font-size: 14px; font-weight: 600; color: var(--ink2); }
.h-stages .cur a { border-top: 2px solid var(--blue); padding-top: 9px; }
.h-stages .cur .h-st-d { color: var(--blue); }
.h-news { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
@media (min-width: 901px) {
  .h-news .news-side { gap: 0; }
  .h-news .news-side .nc { border-top: 1px solid var(--line); padding: 16px 0; }
  .h-news .news-side .nc:first-child { border-top: 0; padding-top: 0; }
  .h-news .news-side .nc-link { display: grid; grid-template-columns: 160px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; }
  .h-news .news-side .nc-media { grid-row: 1 / span 2; margin: 0; aspect-ratio: 4 / 3; }
  .h-news .news-side .nc-title { font-size: 18px; }
  .h-news .news-side .nc-badge { font-size: 11px; padding: 4px 6px; }
}
.h-clubfind { display: flex; gap: 8px; margin-bottom: 16px; max-width: 640px; }
.h-clubfind .btn { flex: none; }
.h-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.h-who p { font-size: 15px; color: var(--ink2); margin: 0 0 8px; }
.h-who ul { list-style: none; margin: 0; padding: 0; }
.h-who li { border-bottom: 1px solid var(--line); }
.h-who li:last-child { border-bottom: 0; }
.h-who li a { display: block; padding: 11px 0; font-weight: 600; color: var(--ink); text-decoration: none; }
.h-who li a:hover { color: var(--blue); }
@media (max-width: 1200px) and (min-width: 901px) { .hh-info h1 { font-size: 40px; } .hh-day { font-size: 128px; } }
@media (max-width: 900px) {
  .hh { padding: 20px 0 40px; }
  .hh-grid, .h-find-grid, .h-about, .h-two { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hh-wide .hh-info { display: block; }
  .hh-img { max-height: none; }
  .hh-text { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: end; min-height: 0; padding: 28px 18px 20px; }
  .hh-day { font-size: 88px; }
  .hh-month { font-size: 20px; margin: 0 0 8px; }
  .hh-mark, .hh-time, .hh-venue { display: none; }
  .hh-info h1 { font-size: 32px; margin: 10px 0 12px; }
  .hh-info .lead { font-size: 16px; }
  .hh-acts { margin-top: 20px; }
  .hh-acts .btn { width: 100%; }
  .hh-live .container { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hh-live .btn { width: 100%; }
  .hsec { padding: 44px 0; }
  .hsec .head-plain { margin-bottom: 18px; }
  .h-nums dd { font-size: 34px; }
  .h-nums div { margin-right: 12px; padding-right: 8px; }
  .h-clubfind { max-width: none; }
  .h-who { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 420px) {
  .hh-info h1 { font-size: 29px; }
  .h-clubfind { flex-direction: column; }
}

/* ---------- Турниры: список и страница турнира ---------- */
.t-head { margin-bottom: 16px; }
.t-hero { padding: 28px 0 8px; }
.t-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.t-main h1 { margin: 12px 0 24px; overflow-wrap: break-word; hyphens: auto; }
.t-poster { margin: 0; border-top: 4px solid var(--blue); background: var(--mist); }
.t-poster img { width: 100%; height: auto; max-height: 820px; object-fit: contain; }
.t-photo { margin: 0; }
.t-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--slot); }
.t-photo figcaption { font-size: 13px; color: var(--ink2); margin-top: 8px; }
.t-datebox { min-height: 300px; max-width: 520px; }
.t-main > .t-desc { margin-top: 24px; }
.jg.t-jg { --rh: 150px; }
@media (max-width: 700px) { .jg.t-jg { --rh: 96px; } }
.t-desc { max-width: 68ch; font-size: 17px; line-height: 1.6; }
.t-desc p { margin: 0 0 .9em; }
.t-main > .t-desc { font-size: 17px; color: var(--ink2); }
.t-main > .t-desc p:first-child { font-size: 20px; line-height: 1.55; color: var(--ink); }
.t-main > .t-desc p + p { padding-left: 16px; border-left: 3px solid var(--line); }
.t-main > .t-desc b { color: var(--ink); }
.t-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.t-left { font-weight: 600; font-size: 15px; color: var(--ok); }
.t-left.hot { color: var(--red-dark); }
.t-journey-note { margin: 14px 0 0; max-width: 80ch; }
@media (max-width: 900px) { .t-main > .t-desc p:first-child { font-size: 18px; } }
.t-side { position: sticky; top: calc(var(--hdr) + 24px); }
.t-side .factlist a { color: inherit; }
.t-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.t-acts .lnk { align-self: flex-start; margin-top: 6px; }
.t-note { margin: 16px 0 0; }
.t-body { padding-top: 24px; }
.t-sec + .t-sec { margin-top: 64px; }
.t-sec > .head { margin-bottom: 20px; }
.t-results .medal-tally { max-width: 640px; }
.t-results-note { margin: 14px 0 0; max-width: 65ch; }
.t-results .t-acts { flex-direction: row; flex-wrap: wrap; margin-top: 20px; }
.t-count { font: 400 20px var(--font); margin-left: 6px; }
@media (max-width: 900px) {
  .t-hero { padding-top: 16px; }
  .t-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .t-main h1 { margin: 10px 0 18px; }
  .t-main > .t-desc { font-size: 17px; }
  .t-side { position: static; }
  .t-sec + .t-sec { margin-top: 48px; }
  .t-count { font-size: 17px; }
}

.bout-h { margin: 12px 0 18px; }
.page-head .crumbs + .kicker { margin-top: 0; }
.ph-bar { gap: 12px 24px; margin-bottom: 24px; }
@media (max-width: 900px) { .t-datebox { display: none; } }

/* Шапка клуба и тренера: логотип или портрет рядом с именем */
.ent-head { display: flex; gap: 40px; align-items: flex-end; }
.ent-head > div { min-width: 0; flex: 1; }
.ent-logo { flex: none; width: 168px; height: 168px; }
.ent-head .coach-photo { flex: none; width: 240px; }
.ent-nums { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 20px 0 0; }
.ent-nums div { display: flex; align-items: baseline; gap: 8px; }
.ent-nums dd { margin: 0; font: 600 32px/1 var(--serif); }
.ent-nums dt { color: var(--ink2); font-size: 15px; }
.ent-facts { margin-top: 20px; max-width: 560px; }
.ent-facts a { color: inherit; }
.club-cell { display: flex; align-items: center; gap: 14px; }
.club-cell .logo-plate { flex: none; width: 40px; height: 40px; }
.club-cell .logo-plate.is-empty { background: var(--mist); border-color: var(--line); }
@media (max-width: 700px) {
  .ent-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ent-head > div { align-self: stretch; }
  .ent-logo { width: 112px; height: 112px; }
  .ent-head .coach-photo { width: 168px; }
  .ent-nums dd { font-size: 26px; }
}

/* ---------- Фирменный фон турнира без афиши (static/brand/hero) ----------
   Единственное место с градиентом: затемнение под текстом для читаемости. */
.bhero { position: relative; display: flex; align-items: center; min-height: clamp(460px, 44vw, 640px); background: #15123a; color: #fff; overflow: hidden; }
.bhero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.bhero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(21, 18, 58, .95) 0%, rgba(21, 18, 58, .86) 32%, rgba(21, 18, 58, .55) 58%, rgba(21, 18, 58, .35) 78%, rgba(21, 18, 58, .3) 100%); }
.bhero-in { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.bhero-text { max-width: 600px; }
.bhero-logo { width: 57px; height: auto; margin-bottom: 28px; }
.bhero-crumbs { font-size: 13px; color: rgba(255, 255, 255, .8); margin-bottom: 14px; }
.bhero-crumbs a { color: #fff; font-weight: 600; text-decoration: none; }
.bhero-crumbs a:hover { text-decoration: underline; color: #fff; }
.bhero-k { font: 600 13px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.bhero-t { font: 600 56px/1.06 var(--serif); letter-spacing: -.015em; margin: 14px 0 16px; color: #fff; overflow-wrap: break-word; hyphens: auto; }
.bhero-t a { color: inherit; text-decoration: none; }
.bhero-t a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.bhero-m { font-size: 18px; color: rgba(255, 255, 255, .88); margin: 0; }
.bhero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.bhero-until { font-weight: 600; color: #fff; }
.bhero-until small { display: block; font-size: 14px; font-weight: 600; color: #ffd0d1; margin-top: 2px; }
.bhero-state { margin-bottom: 12px; }
.bhero-more { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.bhero-more::after { content: "\2009\2192"; font-weight: 400; }
.bhero-more:hover { color: #fff; }
.bhero .btn-white:hover { background: transparent; color: #fff; }
/* Афиша карточкой поверх фирменного фона, справа от текста */
.bhero.has-poster .bhero-in { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.bhero-poster { flex: none; display: block; width: clamp(240px, 24vw, 360px); border-top: 4px solid var(--red); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); transition: transform .2s ease; }
.bhero.poster-wide .bhero-poster { width: clamp(320px, 38vw, 560px); }
.bhero-poster:hover { transform: translateY(-3px); }
.bhero-poster img { display: block; width: 100%; height: auto; }
/* Вертикальная афиша: фон — сама афиша, размытая и затемнённая; афиша крупнее, с мягким светом её цветов */
.hero-amb { position: absolute; inset: -60px; background: #15123a var(--poster) center / cover no-repeat;
  filter: blur(24px); transform: translateZ(0); }
.bhero.poster-tall .bhero-bg { display: none; }
.bhero.poster-tall::before { background: linear-gradient(90deg, rgba(14, 12, 40, .9) 0%, rgba(14, 12, 40, .72) 40%, rgba(14, 12, 40, .25) 75%, rgba(14, 12, 40, .15) 100%); }
.bhero.poster-tall .bhero-poster { width: clamp(280px, 27vw, 400px); border-top: 0; border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
.t-hero-after { padding-top: 32px; }
.t-grid.solo { grid-template-columns: minmax(0, 1fr); }
.t-grid.solo .t-main { display: none; }
.t-grid.solo .t-side { position: static; }
.t-grid.solo .factlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.t-grid.solo .t-acts { flex-direction: row; flex-wrap: wrap; align-items: center; }
@media (max-width: 1200px) and (min-width: 701px) { .bhero-t { font-size: 46px; } }
/* Телефон: картинка во всю высоту блока, затемнение снизу, текст поверх нижней части */
@media (max-width: 700px) {
  .bhero { display: block; min-height: 0; }
  .bhero-bg { display: block; position: relative; aspect-ratio: 16 / 10; }
  .bhero.has-tall .bhero-bg { aspect-ratio: 4 / 5; }
  .bhero-bg img { object-position: 72% center; }
  .bhero::before { background: linear-gradient(180deg, rgba(21, 18, 58, .3) 0%, rgba(21, 18, 58, .35) 20%, rgba(21, 18, 58, .65) 45%, rgba(21, 18, 58, .96) 62%); }
  .bhero-in { margin-top: -96px; padding-top: 0; padding-bottom: 32px; }
  .bhero-logo { width: 44px; margin-bottom: 16px; }
  .bhero-t { font-size: 32px; margin: 10px 0 12px; }
  .bhero.has-poster .bhero-in { display: block; }
  .bhero-poster, .bhero.poster-wide .bhero-poster { width: 100%; max-width: 420px; margin-top: 24px; }
  .bhero.has-poster:not(.poster-wide) .bhero-poster { max-width: 280px; }
  /* Вертикальная афиша на телефоне — первой, по центру на размытом фоне, текст под ней */
  .bhero.poster-tall::before { background: linear-gradient(180deg, rgba(14, 12, 40, .15) 0%, rgba(14, 12, 40, .35) 40%, rgba(14, 12, 40, .9) 70%, #15123a 100%); }
  .bhero.poster-tall .bhero-in { display: flex; flex-direction: column; margin-top: 0; padding-top: 24px; }
  .bhero.poster-tall .bhero-poster { order: -1; align-self: center; width: 68%; max-width: 300px; margin: 0 0 28px; }
  .bhero.poster-tall .bhero-logo { display: none; }
  .bhero-m { font-size: 16px; }
  .bhero-acts { margin-top: 22px; }
  .bhero-acts .btn { width: 100%; }
  .t-grid.solo .factlist { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- Главная: ближайший турнир «билетом» (competitions/_home_hero.html) ----------
   Телефон: картинка, под ней на фоне страницы название и билет. Компьютер: фирменный фон с затемнением слева,
   текст и билет слева, афиша справа. У каждого факта своё место: дата блоком, зал крупно, адрес мелко, цифры внизу */
.hhero { position: relative; background: var(--paper); }
.hhero-pic { position: relative; aspect-ratio: 16 / 10; background: #15123a; overflow: hidden; }
.hhero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hhero-pic .hhero-state { position: absolute; left: 16px; top: 16px; z-index: 1; }
.hhero-in { padding-top: 20px; padding-bottom: 36px; }
.hhero-text > .hhero-state { display: none; }
.hhero-k { font: 600 12px/1.35 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.hhero-k b { color: var(--red-ink); font-weight: 600; }
.hhero-t { font: 600 32px/1.08 var(--serif); letter-spacing: -.01em; margin: 8px 0 0; overflow-wrap: break-word; }
.hhero-t a { color: inherit; text-decoration: none; }
.tk { margin-top: 20px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
:root[data-theme="dark"] .tk { background: var(--cell); }
.tk-top { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.tk-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 6px; background: var(--brand); color: #fff; text-align: center; }
.tk-d { font: 600 44px/1 var(--serif); }
.tk-m { font: 600 13px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.tk-w { font-size: 12px; opacity: .8; margin-top: 4px; }
.tk-where { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; padding: 14px; }
.tk-time { font-weight: 600; }
.tk-time span { color: var(--ink3); font-weight: 400; }
.tk-place { font: 600 17px/1.25 var(--font); margin-top: 3px; }
.tk-addr { font-size: 13px; color: var(--ink2); }
.tk-addr a { color: var(--blue); }
.tk-cut { border-top: 2px dashed var(--line); margin: 0 14px; }
.tk-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; }
.tk-stats > div { padding: 12px 8px 14px; text-align: center; }
.tk-stats > div + div { border-left: 1px solid var(--line); }
.tk-stats dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.tk-stats dd { margin: 4px 0 0; font: 600 18px/1.15 var(--font); }
.tk-stats dd small { display: block; font-size: 12px; font-weight: 400; color: var(--ink3); margin-top: 2px; }
.tk-stats .hot dd { color: var(--red-ink); }
.hhero-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 20px; }
.hhero-acts .btn { width: 100%; }
.hhero-more { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.hhero-more::after { content: "\2009\2192"; font-weight: 400; }
.hhero-more:hover { color: var(--ink); }
.hhero-poster { display: block; width: 100%; max-width: 280px; margin: 28px auto 0; border-top: 4px solid var(--red); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.hhero.poster-wide .hhero-poster { max-width: 420px; }
.hhero-poster img { display: block; width: 100%; height: auto; }
/* Вертикальная афиша на телефоне: вместо фирменной картинки — афиша на своём размытом фоне, внизу второй раз не повторяем */
.hhero-pic-poster { display: none; }
.hhero.poster-tall .hhero-pic { display: flex; flex-direction: column; align-items: center; aspect-ratio: auto; padding: 20px 0 32px; }
.hhero.poster-tall .hhero-pic .hhero-state { position: relative; left: auto; top: auto; order: -1; margin-bottom: 16px; }
.hhero.poster-tall .hhero-pic > picture { display: none; }
.hhero.poster-tall .hhero-pic-poster { position: relative; display: block; width: 62%; max-width: 300px; margin: 0 auto; border-radius: 4px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
.hhero.poster-tall .hhero-pic-poster img { position: static; display: block; width: 100%; height: auto; }
.hhero.poster-tall .hhero-in > .hhero-poster { display: none; }
@media (min-width: 901px) {
  .hhero { display: flex; align-items: center; min-height: clamp(560px, 46vw, 680px); background: #15123a; color: #fff; overflow: hidden; }
  .hhero-pic { position: absolute; inset: 0; aspect-ratio: auto; }
  .hhero-pic img { object-position: 70% center; }
  .hhero-pic::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(21, 18, 58, .96) 0%, rgba(21, 18, 58, .88) 38%, rgba(21, 18, 58, .5) 64%, rgba(21, 18, 58, .3) 100%); }
  .hhero-pic .hhero-state { display: none; }
  .hhero-in { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 56px; padding-top: 56px; padding-bottom: 56px; }
  .hhero-text { flex: 1 1 auto; min-width: 0; max-width: 720px; }
  .hhero-text > .hhero-state { display: block; margin-bottom: 16px; }
  .hhero-k { color: rgba(255, 255, 255, .78); }
  .hhero-k b { color: #ff6b70; }
  .hhero-t { font-size: 56px; margin-top: 12px; color: #fff; }
  .hhero-t a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
  .tk { margin-top: 28px; border: 0; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
  .tk.has-stats { display: grid; grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1fr); }
  .tk-top { grid-template-columns: 104px minmax(0, 1fr); }
  .tk-cut { border-top: 0; border-left: 2px dashed var(--line); margin: 14px 0; }
  .tk-stats { align-items: center; }
  .tk-stats > div { padding: 14px 8px; }
  .hhero-acts { flex-direction: row; align-items: center; gap: 28px; margin-top: 28px; }
  .hhero-acts .btn { width: auto; }
  .hhero-more, .hhero-more:hover { color: #fff; }
  .hhero-poster { flex: none; width: clamp(240px, 24vw, 340px); max-width: none; margin: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
  .hhero.poster-wide .hhero-poster { width: clamp(320px, 36vw, 520px); max-width: none; }
  .hhero.poster-tall .hhero-pic { display: block; padding: 0; }
  .hhero.poster-tall .hhero-pic-poster { display: none; }
  .hhero.poster-tall .hhero-pic::after { background: linear-gradient(90deg, rgba(14, 12, 40, .9) 0%, rgba(14, 12, 40, .72) 40%, rgba(14, 12, 40, .25) 75%, rgba(14, 12, 40, .15) 100%); }
  .hhero.poster-tall .hhero-in > .hhero-poster { display: block; width: clamp(280px, 26vw, 380px); border-top: 0; border-radius: 4px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
}
@media (min-width: 901px) and (max-width: 1200px) { .hhero-t { font-size: 44px; } }

.h-st-pic { width: 100%; height: auto; aspect-ratio: 3 / 4; margin-bottom: 10px; }  /* афиши этапов вертикальные, как в календаре */
.h-stages .is-poster.is-tall { object-fit: cover !important; object-position: center top; }
.h-stages .cur .h-st-pic { outline: 2px solid var(--blue); outline-offset: -2px; }

/* Переключатель дисциплин в «Участниках» ведёт на #people: блок не прячется под липкой шапкой */
#people { scroll-margin-top: calc(var(--hdr, 80px) + 16px); }

/* Карточка отчёта в ленте: фон вида спорта, плашка «Отчёт», дата турнира на картинке */
.nc-report .nc-media { background: #15123a; }
.nc-report .nc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 18, 58, .88) 0%, rgba(21, 18, 58, .25) 55%, rgba(21, 18, 58, .1) 100%); }
.nc-report .nc-media .nc-photo { object-fit: cover; }
.nc-tag { position: absolute; z-index: 1; left: 0; top: 0; background: var(--red); color: #fff; font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px 7px; }
.nc-when { position: absolute; z-index: 1; left: 14px; bottom: 12px; right: 14px; color: #fff; font: 600 13px/1.3 var(--font); letter-spacing: .07em; text-transform: uppercase; }
.nc-big .nc-when { left: 22px; bottom: 18px; font-size: 14px; }
.nc-big.nc-report .nc-media { aspect-ratio: 2 / 1; }
.nc-sub { margin: 8px 0 0; color: var(--ink2); font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-big .nc-sub { font-size: 17px; -webkit-line-clamp: 3; }
@media (max-width: 600px) {
  .nc-when { font-size: 10px; left: 6px; bottom: 6px; right: 6px; letter-spacing: .05em; }
  .nc-big .nc-when { left: 16px; bottom: 12px; font-size: 12px; }
  .nc-tag { font-size: 10px; padding: 5px 6px 4px; }
  .nc-sub { display: none; }
  .news-side .nc-kind, .news-grid .nc-kind { display: none; }
}

/* Превью отчёта на странице турнира */
.t-report .rteaser + .rteaser { margin-top: 16px; }
.rteaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .15s; }
.rteaser:hover { border-color: var(--ink); color: inherit; }
.rteaser-pic { position: relative; display: block; min-height: 220px; background: #15123a; overflow: hidden; }
.rteaser-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rteaser-txt { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; min-width: 0; }
.rteaser-k { font: 600 12px/1.3 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.rteaser-t { font: 600 clamp(22px, 2.2vw, 28px)/1.15 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.rteaser:hover .rteaser-t { color: var(--blue); }
.rteaser-s { color: var(--ink2); font-size: 16px; line-height: 1.45; }
.rteaser-m { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--ink2); }
.rteaser-go { font-weight: 600; color: var(--ink); border-bottom: 1.5px solid currentColor; font-size: 15px; }
.rteaser-go::after { content: "\2009\2192"; font-weight: 400; }
@media (max-width: 700px) {
  .rteaser { grid-template-columns: minmax(0, 1fr); }
  .rteaser-pic { min-height: 0; aspect-ratio: 16 / 9; }
  .rteaser-txt { padding: 18px 16px 20px; }
}

/* «Отчёты года» на странице «История» */
.hy-reports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hyr { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px 18px 18px; border: 1px solid var(--line); border-top: 4px solid var(--blue); color: inherit; text-decoration: none; transition: border-color .15s; }
.hyr:hover { border-color: var(--ink); border-top-color: var(--blue); color: inherit; }
.hyr-k { display: flex; flex-wrap: wrap; gap: 4px 0; font: 600 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.hyr-k > * + *::before { content: "·"; margin: 0 8px; color: var(--grey); }
.hyr-t { font: 600 19px/1.25 var(--serif); overflow-wrap: anywhere; }
.hyr:hover .hyr-t { color: var(--blue); }
.hyr-s { font-size: 14px; line-height: 1.45; color: var(--ink2); }
.hyr-go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; }
.hyr-go::after { content: "\2009\2192"; font-weight: 400; }
@media (max-width: 1000px) { .hy-reports { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .hy-reports { grid-template-columns: minmax(0, 1fr); gap: 10px; } .hyr-t { font-size: 18px; } }
/* Афиша в списках турниров: целиком (contain) поверх своей размытой копии (thumb_bg), не обрезается */
.is-poster { object-fit: contain !important; background: #15123a center / cover no-repeat; }
/* «Контакты» на «О «ЦРЕ»» — по ссылке из меню шапки не уезжают под неё */
#contacts { scroll-margin-top: calc(var(--hdr, 80px) + 24px); }

/* «Документы»: строки с иконкой, названием, пояснением и кнопками файлов */
.docs-sec { max-width: 920px; }
.docs-sec + .docs-sec { margin-top: 56px; }
.docs-h { margin: 28px 0 10px; font: 600 13px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.docs-sec .sec-head + .docs-h { margin-top: 0; }
.docs-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.docs-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.docs-b { min-width: 0; }
.docs-t { font: 600 18px/1.3 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
a.docs-t, .docs-t a { color: var(--ink); text-decoration: none; }
a.docs-t:hover, .docs-t a:hover { color: var(--blue); }
.docs-s { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink2); }
.docs-k { display: block; margin-bottom: 2px; font: 600 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.docs-go { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.docs-date { display: grid; place-items: center; align-content: center; width: 64px; height: 64px; background: var(--mist); font-size: 12px; line-height: 1.2; color: var(--ink2); text-align: center; }
.docs-date b { font: 600 24px/1 var(--serif); color: var(--ink); }
@media (max-width: 700px) {
  .docs-row { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: start; }
  .docs-go { grid-column: 2; justify-content: flex-start; }
  .docs-legal .docs-row { align-items: center; }
  .docs-t { font-size: 17px; }
  .docs-date { width: 58px; height: 58px; font-size: 11px; }
  .docs-date b { font-size: 20px; }
}

/* «Руководство»: блоки отделов, карточки людей — портрет 4:5 слева, текст справа */
.team-sec + .team-sec { margin-top: 56px; }
.team-head:has(.team-tabs) .container { padding-bottom: 0; }
.page-head .team-tabs { margin: 24px 0 -1px; border-bottom: 0; }
.page-head .team-tabs a { color: var(--ink2); }
.page-head .team-tabs a.on, .page-head .team-tabs a:hover { color: var(--ink); }
.team .team-sec[role="tabpanel"] { margin-top: 0; }
.team-h { margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: clamp(26px, 3vw, 34px); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.leader { display: grid; grid-template-columns: 168px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 20px; padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--blue); background: var(--paper); }
.leader-ph { grid-row: 1 / span 2; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--slot); color: var(--blue); align-self: start; }
.leader-head, .leader-b { grid-column: 2; min-width: 0; }
.leader-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.leader-ini { font: 600 44px/1 var(--serif); letter-spacing: .02em; opacity: .6; }
.leader-name { margin: 0; font: 600 22px/1.2 var(--serif); overflow-wrap: anywhere; }
.leader-pos { margin: 6px 0 0; font-weight: 600; font-size: 15px; color: var(--blue); }
.leader-city { margin: 4px 0 0; font-size: 14px; color: var(--ink2); }
.team-preview { margin-bottom: 32px; }
.team-off { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 8px; border: 1px dashed var(--line); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
.leader.is-hidden { opacity: .7; }
.team-empty { margin: 0; color: var(--ink2); }
.team-edit { margin-left: 8px; font-size: 14px; font-weight: 400; vertical-align: middle; }
.leader-b > :first-child { margin-top: 12px; }
.leader-titles { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; color: var(--ink2); }
.leader-titles li { position: relative; padding-left: 16px; }
.leader-titles li + li { margin-top: 4px; }
.leader-titles li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--red); }
.leader-about { margin-top: 12px; font-size: 15px; line-height: 1.5; }
.leader-about p { margin: 0; }
.leader-about p + p { margin-top: 8px; }
.leader-contacts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14px; }
.leader-contacts a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.leader-contacts a:hover { color: var(--blue); }
.leader-contacts .ico { width: 16px; height: 16px; color: var(--blue); flex: none; }
.team-more { margin: 48px 0 0; color: var(--ink2); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .leader { grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 14px; padding: 16px; }
  .leader-ph { grid-row: 1; }
  .leader-head { align-self: center; }
  .leader-b { grid-column: 1 / -1; }
  .leader-b > :first-child { margin-top: 14px; }
  .leader-ini { font-size: 28px; }
  .leader-name { font-size: 19px; }
}
/* Вторая строка заголовка колонки (например «заявленный» под «Вес, кг») — не слипается с соседней колонкой */
.th-sub { display: block; font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--ink3); text-transform: none; margin-top: 2px; }

/* ---------- Тёмная тема (data-theme="dark", см. app.css): светлые подложки плашек — тёмными оттенками ---------- */
[data-theme="dark"] .meet-note, [data-theme="dark"] .hch-gp .ichip { background: rgba(255, 107, 112, .13); }
[data-theme="dark"] .hch-cup { background: rgba(201, 162, 39, .07); }
[data-theme="dark"] .hch-cup .ichip { background: rgba(201, 162, 39, .18); color: #e8c75a; }
@media (max-width: 900px) { [data-theme="dark"] .hh-mark.logo-dark { display: none; } }
