/* =========================================================
   Модуль «Первый экран и оболочка» (shell):
   hero (порядок блоков, сцена-дуотон, табло), полоса сезонов под hero,
   шапка (6 пунктов + «Ещё», компактный режим), нижняя панель (индикатор,
   скрытие при прокрутке) и bottom-sheet «Ещё». Префикс классов — shl-.
   Подключается после css/styles.css и адресно переопределяет базу.
   ========================================================= */

/* ---------- Hero: сцена — командное фото дуотоном «оранжевый/чёрный» ---------- */
.hero__scene {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  isolation: isolate; opacity: .35;
  /* подложка задаёт цвет дуотона: фото отдаёт только яркость (mix-blend-mode: luminosity) */
  background: linear-gradient(105deg, #0a0a0c 0%, #33140a 26%, var(--spot) 56%, var(--jupiter-2) 100%);
}
.hero__scene[hidden] { display: none; }
.hero__scene img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 30%;
  mix-blend-mode: luminosity;
}
/* затухание в фон слева (под текстом) и снизу, чтобы сцена не спорила с заголовком */
.hero__scene::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10,10,12,.92) 38%, rgba(10,10,12,.2) 70%, rgba(10,10,12,.3) 100%),
    linear-gradient(180deg, rgba(10,10,12,.55) 0%, transparent 26%, transparent 52%, rgba(10,10,12,.9) 80%, var(--bg) 92%);
}

/* десктоп: hero ниже, чтобы полоса сезонов и начало дашборда попадали в первый экран */
@media (min-width: 861px) {
  .hero { min-height: clamp(580px, 76vh, 740px); }
}
/* стрелка «вниз» больше не нужна: продолжение страницы видно сразу под hero */
.hero__scroll { display: none; }

/* ---------- Hero: eyebrow и порядок блоков ---------- */
.hero__eyebrow[hidden] { display: none; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.hero__eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-jupiter);
  box-shadow: 0 0 8px rgba(224,96,48,.7); flex: 0 0 auto;
}
.hero__actions { margin-bottom: 30px; }
.shl-sub--short { display: none; }
.hero__inner .countdown { margin: 22px 0 0; }

/* ---------- Hero: компактное табло последнего матча (вместо трёх чисел) ---------- */
#heroStats.shl-board { display: block; max-width: 440px; }
.shl-board__card {
  display: block; padding: 14px 18px 12px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--border); color: var(--text);
  transition: border-color .2s, transform .15s;
}
.shl-board__card:hover { border-color: rgba(242,137,74,.5); transform: translateY(-2px); }
.shl-board__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px;
}
.shl-board__label { color: var(--ice); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.shl-board__label .ico { font-size: 14px; }
.shl-board__date { white-space: nowrap; }
.shl-board__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.shl-board__team { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.shl-board__team--us { color: var(--text); text-align: right; }
.shl-board__score {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.shl-board__score i { font-style: normal; color: var(--muted-2); font-size: 24px; }
.shl-board--w .shl-board__score b:first-child { color: var(--ice-2); }
.shl-board--l .shl-board__score b:first-child { color: var(--lose); }
.shl-board--t .shl-board__score b { color: var(--ice); }
.shl-board__foot {
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px;
  font-size: 12.5px; color: var(--muted);
}
.shl-board__res {
  font-weight: 700; font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted);
}
.shl-board--w .shl-board__res { background: rgba(116,221,155,.16); color: var(--ice-2); }
.shl-board--l .shl-board__res { background: rgba(240,83,59,.16); color: #ff8a76; }
.shl-board--up .shl-board__res { background: rgba(224,96,48,.18); color: var(--jupiter); }
.shl-board__best b { color: var(--text); font-weight: 600; }
.shl-board--up .shl-board__score { font-size: 22px; letter-spacing: 0; }

/* табло рисует матч-центр (HKY_MC.compact) — только ограничиваем ширину */
#heroStats.shl-board--mc > * { width: 100%; }

/* ---------- Полоса сезонов и команд (под hero) ---------- */
.team-strip { position: relative; z-index: 3; margin: -18px 0 8px; }
.team-strip__in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px);
}
.team-strip .seasons {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 6px;
  width: auto; margin-bottom: 0;
}
/* Все пилюли двухстрочные и одной высоты: название + подпись. У невыбранных подпись — метка ядра
   («Старший возраст», «Архив», «2 турнира»), у выбранной метка стоит рядом с названием, а под ними —
   итог сезона. Так шесть пилюль помещаются в один ряд на 1280px. */
.team-strip .season-item {
  display: inline-grid; grid-template-columns: auto; grid-template-rows: auto auto; align-items: center;
  gap: 2px 8px; width: auto; flex: 0 0 auto; margin: 0;
  min-height: 50px; padding: 7px 14px 7px 24px; border-radius: 999px;
  scroll-snap-align: start; animation: none;
}
.team-strip .season-item::before {
  top: 50%; bottom: auto; left: 11px; width: 7px; height: 7px; border-radius: 50%;
  transform: translateY(-50%);
}
.team-strip .season-item:hover { transform: translateY(-1px); }
.team-strip .season-item__title { grid-column: 1; grid-row: 1; font-size: 12.5px; line-height: 1.25; }
.team-strip .season-item__badge {
  grid-column: 1; grid-row: 2; justify-self: start; align-self: center;
  padding: 0; border: 0; border-radius: 0; background: none;
  font-size: 10px; font-weight: 600; letter-spacing: .7px; line-height: 1.3; color: var(--muted);
}
.team-strip .season-item__note { display: none; }
.team-strip .season-item.is-active { grid-template-columns: auto auto; }
.team-strip .season-item.is-active .season-item__badge {
  grid-column: 2; grid-row: 1; padding: 3px 8px; border-radius: 999px;
  font-size: 9px; font-weight: 700; background: var(--grad-jupiter); color: #1a0e05;
}
.team-strip .season-item.is-active .season-item__note {
  display: block; grid-column: 1 / -1; grid-row: 2; font-size: 11px; line-height: 1.3;
}
.team-strip .season-item--team, .team-strip .season-item--child { margin-left: 0; width: auto; }
.team-strip .season-item--child { padding: 7px 14px 7px 24px; }
.team-strip .season-item--child::before { left: 11px; top: 50%; width: 7px; height: 7px; border-radius: 50%; transform: translateY(-50%); opacity: .5; }
.team-strip .season-item--child::after { display: none; }
.team-strip .season-item--child .season-item__title { font-size: 12.5px; }
.team-strip .season-item--folder { grid-template-columns: auto auto; }
.team-strip .season-item__caret { grid-column: 2; grid-row: 1 / span 2; margin-left: 2px; }
.team-strip .season-league {
  flex: 0 0 auto; display: flex; flex-direction: column; gap: 1px; justify-content: center;
  margin: 0 4px 0 0; padding: 0 12px 0 0; border-right: 1px solid var(--border); min-height: 50px;
}
.team-strip .season-league__title { font-size: 11px; letter-spacing: 1px; }
.team-strip .season-league__badge { font-size: 9.5px; }
.team-strip .season-league:not(:first-child) { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--border); }

/* ---------- Шапка: «Ещё» (details) и компактный режим при прокрутке ---------- */
/* без blur (телефон, тач) фон непрозрачный — иначе текст страницы читается сквозь шапку */
.site-header, .site-header.scrolled {
  backdrop-filter: none; -webkit-backdrop-filter: none; background: #0b0b0e;
  transition: background .3s, box-shadow .3s, padding .25s;
}
@media (hover: hover) and (min-width: 861px) {
  .site-header, .site-header.scrolled { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .site-header { background: rgba(10, 10, 12, .6); }
  .site-header.scrolled { background: rgba(10, 10, 12, .92); }
}
.brand { flex: 0 0 auto; }
.brand__name { white-space: nowrap; }
#brandLogo img, .brand__logo-img { transition: width .25s linear, height .25s linear; }
@media (min-width: 861px) {
  /* высота шапки в потоке постоянная (73 = 55 + 18) в каждом кадре перехода, поэтому контент
     при сжатии не прыгает; список transition одинаков в обоих состояниях — иначе рассинхрон */
  .site-header, .site-header.scrolled { transition: background .3s, box-shadow .3s, padding .25s linear, min-height .25s linear, margin-bottom .25s linear; }
  .site-header { min-height: 73px; margin-bottom: 0; }
  .site-header.scrolled { min-height: 55px; margin-bottom: 18px; padding-top: 6px; padding-bottom: 6px; }
  .site-header.scrolled #brandLogo img { width: 34px !important; height: 34px !important; }
  .site-header.scrolled .brand__tag { display: none; }
  .site-header.scrolled .nav a, .site-header.scrolled .nav__more-btn { padding-top: 6px; padding-bottom: 6px; }
}
/* 861–1100px: шесть пунктов + «Ещё» + «Контакты» должны помещаться без обрезки */
@media (min-width: 861px) and (max-width: 1100px) {
  .site-header { gap: 10px; }
  .brand__tag { display: none; }
  .nav { gap: 2px; }
  .nav a, .nav__more-btn { padding-left: 9px; padding-right: 9px; font-size: 14px; }
}
@media (min-width: 861px) and (max-width: 960px) {
  .nav { gap: 0; }
  .nav a, .nav__more-btn { padding-left: 7px; padding-right: 7px; font-size: 13.5px; }
  .nav a.nav__cta { padding-left: 11px; padding-right: 11px; margin-left: 4px; }
}
/* 861–900px: ещё плотнее, иначе «Контакты» выходят за край на пару пикселей */
@media (min-width: 861px) and (max-width: 900px) {
  .site-header { gap: 6px; padding-left: 20px; padding-right: 20px; }
  .nav a, .nav__more-btn { padding-left: 6px; padding-right: 6px; }
  .nav__more-btn { gap: 2px; }
}
/* узкий десктоп: текст hero не должен уходить под логотип справа */
@media (min-width: 861px) and (max-width: 1180px) {
  .hero__inner { max-width: calc(100% - 43vw); }
  .hero__title { font-size: clamp(40px, 5.3vw, 62px); white-space: nowrap; }
}
.nav a, .nav__more-btn { white-space: nowrap; }
.nav a[aria-current="page"]:not(.nav__cta),
.nav__more.has-current:not([open]) .nav__more-btn { box-shadow: inset 0 -2px 0 var(--jupiter); }

.nav__more { position: relative; }
.nav__more-btn {
  list-style: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 500;
  color: var(--muted); cursor: pointer; user-select: none; transition: color .2s, background .2s;
}
.nav__more-btn::-webkit-details-marker { display: none; }
.nav__more-btn::marker { content: ""; }
.nav__more-btn:hover, .nav__more[open] .nav__more-btn, .nav__more.has-current .nav__more-btn { color: var(--text); background: var(--surface); }
.nav__caret { transition: transform .2s; flex: 0 0 auto; }
.nav__more[open] .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; z-index: 60;
  display: grid; gap: 2px; padding: 8px; border-radius: 14px;
  background: rgba(16, 14, 13, .97); border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: shlMenuIn .18s ease-out both;
}
@keyframes shlMenuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav .nav__menu a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px;
  border-radius: 10px; font-size: 15px; color: var(--muted);
}
.nav .nav__menu a:hover, .nav .nav__menu a.is-current { color: var(--text); background: var(--surface-2); }
.nav__menu .ico { font-size: 18px; color: var(--jupiter); }

/* ---------- Нижняя панель: индикатор, подписи, скрытие при прокрутке ---------- */
.tabbar a, .tabbar button, .btn, .chip, .tab { -webkit-tap-highlight-color: transparent; }
@media (max-width: 860px) {
  .tabbar { transition: transform .25s ease; will-change: transform; backdrop-filter: none; -webkit-backdrop-filter: none; background: #0b0b0e; }
  .tabbar.is-hidden { transform: translateY(calc(100% + 14px)); }
  /* сирена прячется вместе с нижней панелью — не закрывает край карточек и плеера */
  .horn { transition: transform .25s ease, opacity .25s ease; }
  .tabbar.is-hidden ~ .horn { transform: translateY(96px); opacity: 0; pointer-events: none; }
  .tabbar a, .tabbar button { color: var(--muted); position: relative; }
  .tabbar b { font-size: 11px; }
  .tabbar .ico { transition: transform .15s cubic-bezier(.3,1.5,.5,1); }
  .tabbar .is-active .ico { transform: translateY(-1px) scale(1.08); }
  .tabbar a:active .ico, .tabbar button:active .ico { transform: scale(.84); }
  .tabbar__pill {
    position: absolute; top: 0; left: 0; width: 20%; height: 3px; pointer-events: none;
    border-radius: 0 0 3px 3px; background: var(--grad-jupiter); box-shadow: 0 0 10px rgba(224,96,48,.6);
    transform: translateX(calc(var(--shl-i, 0) * 100%)) scaleX(.42);
    transition: transform .22s cubic-bezier(.3,1.2,.4,1);
  }
  /* на телефоне список в шапке — плоский (запасной вариант, если <dialog> недоступен) */
  .nav { top: 54px; }
  .nav__more { display: contents; }
  .nav__more-btn { display: none; }
  .nav__menu { position: static; display: contents; animation: none; }
  .nav .nav__menu a { padding: 14px 16px; font-size: 17px; min-height: 0; }
  .site-header { padding: 5px 16px; min-height: 55px; }
  .brand { min-height: 44px; }   /* логотип-ссылка «на главную» — цель касания не меньше 44px */
  #brandLogo img { width: 38px !important; height: 38px !important; }
  .tabbar [data-tab="more"].is-active { color: var(--jupiter); }
  .nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  /* логотип с названием сжимаются, кнопка меню всегда у правого края — без прокрутки страницы вбок (было +28px на 320) */
  .site-header { gap: 10px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand__text { min-width: 0; }
  .brand__name, .brand__tag { overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { flex: 0 0 auto; }
  /* есть bottom-sheet — выпадающее меню ядра на телефоне не используется */
  .shl-has-sheet .nav { display: none; }
}

/* ---------- Bottom-sheet «Ещё» (<dialog>) ---------- */
.shl-sheet {
  position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 88dvh;
  border: 0; border-radius: 22px 22px 0 0; background: #141216; color: var(--text);
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -20px 60px rgba(0,0,0,.55); overflow: auto; overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.22,.9,.3,1), overlay .3s allow-discrete, display .3s allow-discrete;
}
.shl-sheet[open] { transform: none; }
@starting-style { .shl-sheet[open] { transform: translateY(100%); } }
.shl-sheet::backdrop {
  background: rgba(3,3,6,.62); opacity: 1;
  transition: opacity .3s, overlay .3s allow-discrete, display .3s allow-discrete;
}
@starting-style { .shl-sheet[open]::backdrop { opacity: 0; } }
.shl-sheet.is-dragging { transition: none; }
.shl-sheet:not(.shl-sheet--scroll) { touch-action: none; }
.shl-sheet--scroll .shl-sheet__grab, .shl-sheet--scroll .shl-sheet__title { touch-action: none; }
.shl-sheet__label { flex: 1 1 auto; min-width: 0; }
.shl-sheet__item[hidden] { display: none; }
.shl-sheet__item:focus-visible, .shl-sheet__close:focus-visible { outline: 2px solid var(--jupiter); outline-offset: 2px; }
.shl-sheet__grab { width: 42px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); margin: 0 auto 12px; }
.shl-sheet__title { font-family: "Unbounded", sans-serif; font-size: 14px; letter-spacing: -0.01em; margin: 0 0 8px; padding: 0 6px; color: var(--muted); }
.shl-sheet__list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
a.shl-sheet__item { text-decoration: none; }
.shl-sheet__item {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 8px 10px;
  border: 0; border-radius: 14px; background: none; color: var(--text); text-align: left;
  font-family: "Golos Text", sans-serif; font-size: 17px; font-weight: 600; cursor: pointer;
}
.shl-sheet__item .ico {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; font-size: 20px;
  background: rgba(224,96,48,.14); color: var(--jupiter);
}
.shl-sheet__item:active, .shl-sheet__item:hover { background: var(--surface); }
.shl-sheet__item.is-current { background: var(--surface-2); }
.shl-sheet__item.is-current::after { content: ""; flex: 0 0 auto; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-jupiter); }
.shl-sheet__item--install .ico { background: rgba(116,221,155,.14); color: var(--ice-2); }
.shl-sheet__close {
  margin-top: 10px; width: 100%; min-height: 48px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  font: 600 15px "Golos Text", sans-serif; cursor: pointer;
}
html.shl-sheet-open { overflow: hidden; }
/* лист выше экрана (низкий телефон, панели Safari) — внизу мягкое затухание: «листается дальше».
   Долистали до конца (shl-sheet--end, js/mods/shell.js) — затухание не закрывает «Закрыть» */
.shl-sheet--scroll:not(.shl-sheet--end)::after {
  content: ""; position: sticky; bottom: 0; display: block;
  height: 40px; margin: -40px -14px 0; pointer-events: none;
  background: linear-gradient(rgba(20, 18, 22, 0), #141216 80%);
}
/* низкий экран (iPhone SE и меньше): строки плотнее — весь список с «Закрыть» помещается */
@media (max-width: 860px) and (max-height: 620px) {
  .shl-sheet { padding-top: 8px; }
  .shl-sheet__grab { margin-bottom: 8px; }
  .shl-sheet__title { margin-bottom: 4px; }
  .shl-sheet__list { gap: 0; }
  .shl-sheet__item { min-height: 46px; padding: 3px 10px; gap: 12px; font-size: 16px; }
  .shl-sheet__item .ico { width: 36px; height: 36px; font-size: 18px; }
  .shl-sheet__close { margin-top: 6px; min-height: 44px; }
}

/* ---------- Телефон: первый экран 390×812 ---------- */
@media (max-width: 860px) {
  .hero { padding-top: 10px; padding-bottom: 18px; min-height: auto; }
  .hero__scene { opacity: .22; }
  .hero__scene img { object-position: 50% 28%; }
  .hero__scene::after {
    background: linear-gradient(180deg, rgba(10,10,12,.25) 0%, rgba(10,10,12,.6) 42%, var(--bg) 100%);
  }
  .hero__logo-wrap { width: min(150px, 40vw); margin: 0 auto 12px; }
  .hero__eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .6px; padding: 6px 13px 6px 11px; max-width: 100%; text-align: left; }
  .hero__title { font-size: clamp(32px, 10.2vw, 44px); margin-bottom: 8px; }
  .hero__subtitle { font-size: 15px; line-height: 1.45; margin-bottom: 16px; max-width: 360px; }
  .shl-sub--full { display: none; }
  .shl-sub--short { display: inline; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
  .hero__actions .btn { min-height: 48px; justify-content: center; padding: 12px 14px; font-size: 15px; }
  .hero__actions .btn--install { grid-column: 1 / -1; }
  #heroStats.shl-board { max-width: none; text-align: left; }
  .shl-board__card { padding: 12px 14px 10px; }
  .shl-board__score { font-size: 30px; }
  .shl-board__team { font-size: 13px; }
  /* «До матча» — под девизом, до кнопок (переносит HKY_cdPlace): компактно, четыре цифры в один ряд на любой ширине */
  .hero__inner .countdown { margin: 0 auto 14px; max-width: 460px; justify-content: center; gap: 8px; }
  .hero__inner .countdown__label { text-align: center; margin-bottom: 0; }
  .hero__inner .countdown__cell { flex: 1 1 0; min-width: 0; padding: 7px 4px 6px; border-radius: 12px; }
  .hero__inner .countdown__cell b { font-size: 24px; }
  .hero__inner .countdown__cell span { font-size: 10px; letter-spacing: .6px; }
  .hero__inner .countdown__then, .hero__inner .countdown__now { text-align: center; }
  .hero__inner .countdown__label { font-size: 12.5px; letter-spacing: .2px; }

  /* лента сезонов: горизонтальный snap-скролл, не sticky */
  .team-strip { margin: 0 0 6px; }
  .team-strip__in { padding: 0; }
  .team-strip .seasons {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; width: auto;
    gap: 8px; padding: 6px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .team-strip .seasons.shl-fade {
    mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  }
  .team-strip .seasons::-webkit-scrollbar { display: none; }
  .team-strip .season-item { white-space: nowrap; }
  .team-strip .season-item.is-active .season-item__note { white-space: nowrap; }
  .team-strip .season-league { white-space: nowrap; }
  .team-strip .season-league:not(:first-child) { margin-left: 4px; }
}

/* Невысокие телефоны (iPhone SE, 320–375 × до 700 px): пока идёт отсчёт «До матча», логотип меньше и без строки-пояснения
   под заголовком (она повторяет подпись в шапке) — чтобы отсчёт целиком стоял на первом экране и его не закрывала кнопка сирены */
@media (max-width: 860px) and (max-height: 700px) {
  .hero:has(#countdown:not(:empty)) .hero__logo-wrap { width: min(96px, 26vw); margin-bottom: 10px; }
  .hero:has(#countdown:not(:empty)) .hero__subtitle { display: none; }
  .hero:has(#countdown:not(:empty)) .hero__title { margin-bottom: 12px; }
}

/* узкие телефоны: длинный eyebrow («ДХЛ 2026/27 · «Серебро» · 5-е место из 22») держим в одну строку */
@media (max-width: 360px) {
  .hero__eyebrow { font-size: 11px; letter-spacing: .1px; gap: 6px; padding: 6px 10px 6px 9px; }
}
/* уже 360px подпись «детская хоккейная команда» рядом с кнопкой меню не помещается — только название (как на узком компьютере) */
@media (max-width: 359px) {
  .brand__tag { display: none; }
}

/* планшет в портрете и телефон в альбоме: кнопки и табло не растягиваем на всю ширину */
@media (min-width: 600px) and (max-width: 860px) {
  .hero__actions, #heroStats.shl-board { max-width: 460px; margin-left: auto; margin-right: auto; }
}
/* телефон в альбомной ориентации: логотип меньше, чтобы заголовок попадал в первый экран */
@media (max-width: 860px) and (max-height: 480px) {
  .hero__logo-wrap { width: 84px; margin-bottom: 8px; }
  .hero__eyebrow { margin-bottom: 8px; }
}

/* ---------- Меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header.scrolled, #brandLogo img, .brand__logo-img, .nav__caret, .tabbar, .tabbar .ico, .tabbar__pill,
  .shl-sheet, .shl-sheet::backdrop, .shl-board__card, .team-strip .season-item { transition: none; }
  .nav__menu { animation: none; }
}
