/* ═══════════════════════════════════════════════════════════
   ЕДИНЫЙ ВИД переключателей, фильтров и кнопок (подключается последним).
   Одна концепция на весь сайт:
   1) ВКЛАДКИ (переключают вид раздела) — «сегмент»: светлая дорожка-капсула,
      выбранный пункт — синяя капсула с белым текстом. Вкладки блоков, группы в «Составе»
      и «Статистике», Read & React, галерея сборов, типы материалов в «Обучении».
   2) ФИЛЬТРЫ (сужают список) — отдельные белые капсулы с тонкой рамкой, выбранный — синий.
      Темы обучения, каналы YouTube/Telegram, группы в календаре, стритбол.
   3) Кнопки: главная — синяя, второстепенная — белая с синим текстом.
   Вид одинаковый и в разделе, и когда вкладки прилипли под шапкой.
   ═══════════════════════════════════════════════════════════ */
:root {
  --ui-track: #eef2f8; --ui-track-border: rgba(200, 210, 230, .6);
  --ui-text: #64748b; --ui-text-hover: #1e293b;
  --ui-blue: #2563eb; --ui-blue-shadow: 0 2px 8px rgba(37, 99, 235, .28);
  --ui-chip-border: #dbe3ef;
}

/* ── 1. Вкладки-сегменты ── */
:is(.tabs, .fas-grpswitch, .rr-sub, .cmp-tabs, .lrn-kinds) {
  display: flex; flex-wrap: nowrap; align-items: stretch; gap: 4px; padding: 4px;
  border-radius: 999px; background: var(--ui-track) !important; border: 1px solid var(--ui-track-border) !important;
  box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  width: fit-content; max-width: 100%;
}
.rr-sub { position: relative; top: auto; margin: 18px 0 16px; }
:is(.tabs > .tab-btn, .fas-grpswitch > button, .rr-sub > .rr-sub-b, .cmp-tabs > button, .lrn-kinds > .lrn-kt) {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: 0 0 auto;
  padding: 9px 18px !important; border: 0 !important; border-radius: 999px !important; background: transparent;
  color: var(--ui-text) !important; font: 600 .85rem/1.2 var(--font-body) !important; letter-spacing: 0; white-space: nowrap; text-align: center;
  box-shadow: none; cursor: pointer; transition: color .18s, background-color .18s, box-shadow .18s !important;
}
:is(.fas-grpswitch > button, .lrn-kinds > .lrn-kt) :is(small, i) { font-style: normal; font-size: .72em !important; font-weight: 700; opacity: .7; color: inherit !important; }
@media (hover: hover) {
  :is(.tabs > .tab-btn, .fas-grpswitch > button, .rr-sub > .rr-sub-b, .cmp-tabs > button, .lrn-kinds > .lrn-kt):not(.on):not(.active):hover { color: var(--ui-text-hover) !important; background: rgba(255, 255, 255, .7); }
}
:is(.tabs > .tab-btn.active, .fas-grpswitch > button.on, .rr-sub > .rr-sub-b.on, .cmp-tabs > button.on, .lrn-kinds > .lrn-kt.on) {
  background: var(--ui-blue) !important; color: #fff !important; box-shadow: var(--ui-blue-shadow) !important;
}
/* у вкладок с плавающей синей плашкой (motion.js) фон даёт плашка */
.tabs.m-has-pill > .tab-btn.active { background: transparent !important; box-shadow: none !important; }
.m-tab-pill { background: var(--ui-blue) !important; box-shadow: var(--ui-blue-shadow) !important; }

/* телефон: вкладки на всю ширину, пункты делят её поровну */
@media (max-width: 760px) {
  :is(.tabs, .fas-grpswitch, .rr-sub, .cmp-tabs) { display: flex; width: 100%; }
  :is(.tabs > .tab-btn, .fas-grpswitch > button, .rr-sub > .rr-sub-b, .cmp-tabs > button) { flex: 1 1 0; min-width: 0; padding: 9px 8px !important; font-size: .8rem !important; overflow: hidden; text-overflow: ellipsis; }
  .tabs.pl-tabs > .tab-btn { flex: 1 1 auto; }
  .hub-tabs { gap: 2px; }
  .hub-tabs > .tab-btn { flex: 1 1 auto; padding: 9px 4px !important; font-size: clamp(.66rem, 3vw, .78rem) !important; letter-spacing: -.01em; text-overflow: clip; }
  .lrn-kinds > .lrn-kt { padding: 9px 13px !important; font-size: .8rem !important; }
}

/* ── 2. Фильтры-капсулы ── */
:is(.lrn-chip, .hz-chip, .tgx-chips > button, .lgs-chips > button, .pg-chip, .rl-chip) {
  border: 1px solid var(--ui-chip-border) !important; background: #fff; color: var(--ui-text) !important;
  font-family: var(--font-body); font-weight: 600; border-radius: 999px; box-shadow: none !important; transition: color .18s, background-color .18s, border-color .18s !important;
}
.rl-chip { border-radius: 14px !important; }
@media (hover: hover) {
  :is(.lrn-chip, .hz-chip, .tgx-chips > button, .lgs-chips > button, .pg-chip, .rl-chip):not(.on):not(.active):hover { color: var(--ui-blue) !important; border-color: #bfd3fb !important; background: #f5f8ff; transform: none; }
}
:is(.lrn-chip.on, .hz-chip.on, .tgx-chips > button.on, .lgs-chips > button.on, .pg-chip.active, .rl-chip.on) {
  background: var(--ui-blue) !important; border-color: var(--ui-blue) !important; color: #fff !important; box-shadow: var(--ui-blue-shadow) !important;
}
.rl-chip.on .rl-stars, .lgs-chips > button.on i { color: rgba(255, 255, 255, .85) !important; }
.lgs-chips > button.on i { background: rgba(255, 255, 255, .2) !important; }

/* ── 3. Кнопки: без градиентов, один синий ── */
.btn-primary { background: var(--ui-blue); }
.btn-primary:hover { background: #1d4ed8; }

/* вкладки нажимаются сразу, без двойного касания и серой вспышки */
:is(.tabs > .tab-btn, .fas-grpswitch > button, .rr-sub > .rr-sub-b, .cmp-tabs > button, .lrn-kinds > .lrn-kt, .lrn-chip, .hz-chip, .tgx-chips > button, .lgs-chips > button, .pg-chip) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* ── Фон страницы: один сплошной светлый фон от «цифр» до конца, без стыков и полос между блоками ── */
.hub, #knowledge.hub, #cta { background: #f8fafc !important; }
.hub-panel.section { background: none !important; }
/* полоска вкладок блока: в разделе — без фона и тени (просто вкладки на странице);
   фон и мягкая тень появляются только когда вкладки прилипли под шапкой */
.hub-bar { background: transparent !important; box-shadow: none !important; transition: background-color .15s, box-shadow .15s; }
.hub-bar.is-stuck, .hub-dock > .hub-bar { background: #f8fafc !important; box-shadow: 0 10px 14px -14px rgba(15, 23, 42, .35) !important; }
.hub-dock.has-l2row > .hub-bar { box-shadow: none !important; }
.hub-bar::before, .hub-dock-strip { background: #f8fafc !important; }


/* ═══ Главная новость: наш яркий синий, мягкий свет, без диагоналей и тёмной «вуали»;
   внизу — бегущая строка как светодиодное табло: оранжевые точки света на чёрном, бежит всегда ═══ */
/* фон — как у карточки «Ближайшая игра»: синий градиент, бирюзовый свет слева сверху, оранжевый справа снизу, пульсирующие кольца;
   логотипы команд — на заднем плане, медленно сходятся к центру и расходятся («противостояние»), в момент сближения — вспышка */
.news-featured.nf, .nc { background: radial-gradient(80% 120% at 0% 0%, rgba(45, 212, 191, .38), transparent 60%),
  radial-gradient(70% 100% at 100% 100%, rgba(249, 115, 22, .28), transparent 60%), linear-gradient(140deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%) !important; }
.nc-split, .nc-beam, .nc-big, .nc-svg, .nc-flare { display: none !important; }
.nc { overflow: hidden; }
.nc-rings { position: absolute; inset: 0; pointer-events: none; }
.nc-rings i { position: absolute; left: 50%; top: 42%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .12); transform: translate(-50%, -50%); animation: lgsRing 6s ease-in-out infinite; }
.nc-rings i:nth-child(1) { width: 220px; height: 220px; }
.nc-rings i:nth-child(2) { width: 420px; height: 420px; animation-delay: .8s; }
.nc-rings i:nth-child(3) { width: 680px; height: 680px; animation-delay: 1.6s; border-style: dashed; }
.nc-l { top: 42% !important; width: 46% !important; opacity: .13 !important; mix-blend-mode: normal !important; filter: none !important; will-change: transform; }
.nc-l .nc-logo { background: rgba(255, 255, 255, .95) !important; }
.nc-l.a { left: -12% !important; animation: ncClashA 5s cubic-bezier(.65, 0, .35, 1) infinite alternate !important; }
.nc-l.b { right: -12% !important; animation: ncClashB 5s cubic-bezier(.65, 0, .35, 1) infinite alternate !important; }
.nc-l.solo { display: none !important; }
@keyframes ncClashA { from { transform: translate(-10%, -50%) rotate(-12deg) scale(.96); } to { transform: translate(14%, -50%) rotate(-2deg) scale(1.04); } }
@keyframes ncClashB { from { transform: translate(10%, -50%) rotate(12deg) scale(.96); } to { transform: translate(-14%, -50%) rotate(2deg) scale(1.04); } }
.nc-clash { position: absolute; left: 50%; top: 42%; width: 60%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .35), rgba(249, 115, 22, .18) 30%, rgba(45, 212, 191, .08) 50%, transparent 68%);
  animation: ncFlash 5s cubic-bezier(.65, 0, .35, 1) infinite alternate; }
@keyframes ncFlash { 0%, 55% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@media (max-width: 640px) { .nc-l { width: 64% !important; top: 30% !important; } .nc-l.a { left: -26% !important; } .nc-l.b { right: -26% !important; } .nc-rings i, .nc-clash { top: 30%; } }
.news-featured.nf .nf-shade { background: linear-gradient(to top, rgba(15, 30, 90, .55) 0%, rgba(15, 30, 90, .18) 40%, transparent 65%) !important; }
.news-featured.nf::before { background: linear-gradient(90deg, #2dd4bf, #2563eb 55%, #f97316) !important; }

/* светодиодная бегущая строка */
.nf-crawl { height: 48px !important; background: #070707 !important; border-top: 1px solid rgba(255, 255, 255, .06) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.nf-crawl-h { background: linear-gradient(180deg, #fb923c, #f97316) !important; clip-path: none !important; padding: 0 18px !important; gap: 8px;
  font: 900 .66rem var(--font-body) !important; letter-spacing: .16em !important; box-shadow: 6px 0 18px -4px rgba(249, 115, 22, .55); position: relative; z-index: 1; }
.nf-crawl-h::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: nfLed 1.4s ease-in-out infinite; }
@keyframes nfLed { 50% { opacity: .35; } }
.nf-crawl-w { position: relative;
  background: radial-gradient(circle, rgba(249, 115, 22, .12) 0 .8px, transparent 1.2px) 0 0 / 3px 3px; }     /* «невключённые» точки табло */
.nf-crawl-w::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, transparent 0 1.1px, #070707 1.45px) 0 0 / 3px 3px; }                   /* сетка: текст светится только точками */
.nf-crawl-in { animation-duration: 55s !important; }
.news-featured.nf:hover .nf-crawl-in, .nf-crawl-in { animation-play-state: running !important; }
.nf-crawl-in span { font: 900 1.35rem/1 var(--font-display) !important; letter-spacing: .08em; text-transform: uppercase; color: #ffa24a !important;
  text-shadow: 0 0 4px rgba(249, 115, 22, .95), 0 0 12px rgba(249, 115, 22, .55); }
.nf-crawl-in em { color: #ffd2a8 !important; text-shadow: 0 0 6px rgba(249, 115, 22, .7); }
.nf-crawl-in > i { color: #f97316 !important; text-shadow: 0 0 8px #f97316; }
@media (max-width: 640px) { .nf-crawl { height: 44px !important; } .nf-crawl-in span { font-size: 1.2rem !important; } }

/* ═══ Вкладки внутри раздела (второй ряд): фирменный перелив ═══
   рамка дорожки — тонкий градиент бирюза → синий → оранжевый (как полоса прокрутки сайта),
   выбранный пункт — синяя капсула с мягким переливом в бирюзу */
[data-lb-stick="2"] {
  border: 1px solid transparent !important;
  background: linear-gradient(#eef2f8, #eef2f8) padding-box, linear-gradient(90deg, rgba(45, 212, 191, .7), rgba(37, 99, 235, .55) 55%, rgba(249, 115, 22, .6)) border-box !important;
}
[data-lb-stick="2"][data-lb-stick] > :is(.on, .active), [data-lb-stick="2"][data-lb-stick] > .m-tab-pill {
  background: linear-gradient(110deg, #2563eb 0%, #3b82f6 40%, #22c3c9 75%, #2563eb 100%) !important; background-size: 220% 100% !important;
  animation: lbFlow 4s ease-in-out infinite alternate;
}
[data-lb-stick="2"][data-lb-stick].m-has-pill > .tab-btn.active { background: transparent !important; animation: none; }
@keyframes lbFlow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* подсказка «здесь можно переключать»: по дорожке пару раз пробегает светлый перелив (hubs.js добавляет .l2-hint,
   пока человек ни разу не переключал такие вкладки) */
[data-lb-stick="2"]:not(.is-fixed) { position: relative; }
[data-lb-stick="2"]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .85) 45%, rgba(45, 212, 191, .35) 52%, transparent 66%); background-size: 300% 100%; background-position: 100% 0; }
[data-lb-stick="2"].l2-hint::after { animation: lbHint 2.4s ease-in-out .4s 3; }
@keyframes lbHint { 0% { opacity: 1; background-position: 100% 0; } 70% { opacity: 1; background-position: 0% 0; } 100% { opacity: 0; background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { [data-lb-stick="2"] > *, [data-lb-stick="2"]::after { animation: none !important; } }

/* ═══ Единые иконки: «смотреть» и стрелки — только сам значок, без кругов, обводок и подложек ═══
   Треугольник отцентрован по своему центру (без сдвига), скруглённые углы; читается на любой картинке за счёт мягкой тени. */
:root {
  --ic-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 5.1c0-1.3 1.4-2 2.4-1.4l10.1 6.9c.9.6.9 2 0 2.6L9 20.1c-1 .7-2.4 0-2.4-1.3z'/%3E%3C/svg%3E");
  --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5 16.5 12 9 19.5'/%3E%3C/svg%3E");
}
:is(.video-play-btn, .lrn-play, .tgp-play, .tgx-play, .rv-play) {
  width: 64px !important; height: 64px !important; border-radius: 0 !important; display: grid !important; place-items: center !important; padding: 0 !important;
  background: none !important; border: 0 !important; outline: 0; color: #fff !important; font-size: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)) drop-shadow(0 0 1px rgba(0, 0, 0, .35));
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s !important;
}
:is(.video-play-btn, .lrn-play, .tgp-play, .tgx-play, .rv-play)::before { display: none !important; }
:is(.lrn-play, .tgp-play, .tgx-play, .rv-play) { margin: -32px 0 0 -32px !important; }
:is(.video-play-btn, .lrn-play, .tgp-play, .tgx-play, .rv-play) > svg { display: none !important; }
:is(.video-play-btn, .lrn-play, .tgp-play, .tgx-play, .rv-play)::after {
  content: '' !important; position: static !important; display: block !important; width: 52px !important; height: 52px !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: currentColor !important; box-shadow: none !important; transform: none !important;
  -webkit-mask: var(--ic-play) center / contain no-repeat; mask: var(--ic-play) center / contain no-repeat;
}
:is(.video-card, .lrn-card, .tgx-post, .tgp-vid, .rv-poster):hover :is(.video-play-btn, .lrn-play, .tgp-play, .tgx-play, .rv-play) { transform: scale(1.12); }
/* Треугольник — контуром. Цвет по смыслу: наши игры — оранжевый, другие игры и прочее видео — наш синий,
   YouTube и Telegram — перелив цветов полосы прокрутки (бирюза → синий → оранжевый) */
:root { --ic-play-o: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.25' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6.4 5.2c0-.9 1-1.5 1.8-1l10.4 6.9c.7.5.7 1.5 0 2l-10.4 6.8c-.8.5-1.8 0-1.8-1z'/%3E%3C/svg%3E"); }
:is(.video-play-btn, .lrn-play, .tgp-play, .tgx-play, .rv-play)::after {
  -webkit-mask-image: var(--ic-play-o) !important; mask-image: var(--ic-play-o) !important;
  background: #3b82f6 !important; animation: none; width: 46px !important; height: 46px !important;
}
:is(.video-play-btn, .lrn-play, .tgp-play, .tgx-play, .rv-play) { filter: drop-shadow(0 0 .5px rgba(0, 0, 0, .5)) drop-shadow(0 1px 3px rgba(0, 0, 0, .4)); }
#media .video-play-btn::after, .video-thumb:has(.video-badge.highlight) .video-play-btn::after { background: #f97316 !important; }
:is(#horizon .video-play-btn, #tgmedia .video-play-btn, .tgx-play, .tgp-play)::after {
  background: linear-gradient(90deg, #2dd4bf 22%, #2563eb 52%, #f97316 80%) !important; background-size: 100% 100% !important;
  animation: none !important;
}
.fas-yt .video-play-btn, .fas-yt-live .video-play-btn { animation: none !important; background: none !important; }

/* стрелки: голая скруглённая галочка */
:is(.lb-ph-nav, .kz-arr, .dk-nav, .rl-arrow, .lb-nav, .crt-lb-nav, .tgp-lb-nav, .cal-nav > button) {
  font-size: 0 !important; line-height: 0 !important; display: inline-grid; place-items: center;
  background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; outline: 0;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transition: transform .2s, opacity .2s, color .2s !important;
}
:is(.lb-ph-nav, .kz-arr, .dk-nav, .rl-arrow, .lb-nav, .crt-lb-nav, .tgp-lb-nav, .cal-nav > button)::before {
  content: ''; display: block; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--ic-chev) center / contain no-repeat; mask: var(--ic-chev) center / contain no-repeat;
}
:is(.lb-ph-nav.prev, .kz-arr[data-kz="-1"], .dk-nav[data-dk="prev"], .rl-arrow[aria-label^="Пред"], .lb-nav.p, .crt-lb-nav.prev, .tgp-lb-nav.prev, .cal-nav > button:first-child)::before { transform: scaleX(-1); }
/* на светлом фоне — наш синий, на тёмном (просмотрщики) — белый с тенью */
:is(.kz-arr, .dk-nav, .cal-nav > button) { color: var(--ui-blue, #2563eb) !important; }
:is(.kz-arr, .dk-nav, .cal-nav > button):hover { color: #1d4ed8 !important; background: none !important; transform: scale(1.15); }
:is(.kz-arr, .dk-nav)::before { width: 30px; height: 30px; }
.cal-nav > button::before { width: 20px; height: 20px; }
.cal-nav > button .lbi { display: none !important; }
:is(.lb-ph-nav, .lb-nav, .crt-lb-nav, .tgp-lb-nav, .rl-arrow) { color: #fff !important; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); opacity: .85; }
:is(.lb-ph-nav, .lb-nav, .crt-lb-nav, .tgp-lb-nav, .rl-arrow):hover:not(:disabled) { opacity: 1; background: none !important; transform: scale(1.15); }
:is(.lb-ph-nav, .lb-nav, .crt-lb-nav, .tgp-lb-nav)::before { width: 34px; height: 34px; }
:is(.kz-arr, .dk-nav, .rl-arrow):active, .cal-nav > button:active { transform: scale(.9); }

/* ═══ Обучение: вкладки типов (Все · Видео · Пособия · Упражнения · Статьи · Избранное) — подразделы, как в Read & React;
   поиск — крупное белое поле с понятной иконкой, при вводе — фирменная рамка-перелив ═══ */
.lrn-kinds { margin: 2px 0 16px !important; }
.lrn-search { min-height: 56px; background: #fff !important; border: 1.5px solid #dbe3ef !important; box-shadow: 0 8px 22px -16px rgba(15, 23, 42, .35) !important; }
.lrn-search:focus-within { border-color: transparent !important;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #2dd4bf, #2563eb 55%, #f97316) border-box !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1), 0 8px 22px -16px rgba(15, 23, 42, .35) !important; }
.lrn-search input { font-size: 1rem !important; }
.lrn-search input::placeholder { color: #94a3b8; }
@media (max-width: 760px) { .lrn-search { min-height: 52px; } }

/* ═══ Просмотр фото: просто затемнение с лёгким размытием, белые голые иконки, без цветных полос и обводок ═══ */
.lb-ph { background: rgba(0, 0, 0, .9) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lb-ph::before { display: none !important; }
.lb-ph-count { padding: 0; background: none; color: rgba(255, 255, 255, .75); font: 600 .9rem var(--font-body); letter-spacing: .02em; }
.lb-ph-x { display: grid !important; place-items: center; background: none !important; box-shadow: none !important; border: 0 !important; color: #fff !important; opacity: .85; transition: opacity .2s, transform .2s; }
.lb-ph-x:hover { opacity: 1; transform: scale(1.1); }
.lb-ph-x svg { width: 26px; height: 26px; }
.lb-ph-img { border-radius: 12px !important; box-shadow: none !important; }
.lb-ph-strip button { border-radius: 8px !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; opacity: .4 !important; transition: opacity .2s, transform .2s; }
.lb-ph-strip button:hover { opacity: .75 !important; }
.lb-ph-strip button.on { opacity: 1 !important; transform: scale(1.06); }
@media (max-width: 760px) { .lb-ph-img { border-radius: 0 !important; } }
/* на телефоне в просмотрщиках листаем свайпом — стрелки скрыты, как и раньше */
@media (max-width: 760px) { .lb-ph-nav, .lb-nav { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .nf-crawl-in { animation: nfCrawl 55s linear infinite !important; } }   /* табло бежит всегда */

/* ═══ Просмотр фото в «Сборах»: фото всегда целиком помещается между шапкой и лентой миниатюр; оформление как у основного просмотрщика ═══ */
.cmp-lb { background: rgba(0, 0, 0, .9) !important; -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important; }
.cmp-lb .lb-stage { display: block !important; overflow: hidden; }
.cmp-lb .lb-img { position: absolute; inset: 0; margin: auto; max-width: calc(100% - 128px); max-height: calc(100% - 8px); border-radius: 12px; }
.cmp-lb .lb-x { background: none !important; opacity: .85; font-size: 2rem; transition: opacity .2s, transform .2s; }
.cmp-lb .lb-x:hover { opacity: 1; transform: scale(1.1); }
.cmp-lb .lb-strip button { border: 0 !important; opacity: .4; }
.cmp-lb .lb-strip button.on { opacity: 1; transform: scale(1.06); }
@media (max-width: 760px) { .cmp-lb .lb-img { max-width: calc(100% - 16px); } }

/* активная миниатюра в просмотрщиках — тонкая оранжевая рамка */
.lb-ph-strip button.on, .cmp-lb .lb-strip button.on, .lb-strip button.on { outline: 2px solid #f97316 !important; outline-offset: -2px !important; transform: none !important; opacity: 1 !important; }

/* «Наш Telegram» — заглушка «скоро» */
.tg-soon { position: relative; overflow: hidden; isolation: isolate; max-width: 640px; margin: 8px auto 0; padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px); border-radius: 28px; text-align: center; color: #fff;
  background: radial-gradient(80% 120% at 0% 0%, rgba(45, 212, 191, .38), transparent 60%), radial-gradient(70% 100% at 100% 100%, rgba(249, 115, 22, .28), transparent 60%), linear-gradient(140deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
  box-shadow: 0 30px 60px -28px rgba(13, 42, 107, .7); }
.tg-soon-ic { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 24px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); animation: lgsFloat 4s ease-in-out infinite; }
.tg-soon-ic svg { width: 38px; height: 38px; }
.tg-soon h3 { font: 900 clamp(1.25rem, 3vw, 1.7rem)/1.2 var(--font-display); margin: 0 0 10px; }
.tg-soon p { margin: 0 auto 18px; max-width: 440px; color: rgba(255, 255, 255, .82); font-size: .98rem; line-height: 1.55; }
.tg-soon-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); font: 800 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.tg-soon-chip i { width: 7px; height: 7px; border-radius: 50%; background: #fb923c; box-shadow: 0 0 8px #fb923c; animation: nfLed 1.4s ease-in-out infinite; }

/* ═══ Место игры: кнопка «📍 зал» и модалка с картой ═══ */
.lb-venue { display: inline; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: currentColor; transition: opacity .2s; }
.lb-venue:hover { opacity: .8; text-decoration-style: solid; }
.vn-ov { position: fixed; inset: 0; z-index: 10070; display: grid; place-items: center; padding: 16px; background: rgba(8, 14, 32, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .22s ease; }
.vn-ov.on { opacity: 1; }
.vn-card { width: min(720px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: #fff;
  box-shadow: 0 40px 80px -30px rgba(13, 42, 107, .6); transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.vn-ov.on .vn-card { transform: none; }
.vn-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 16px; color: #fff;
  background: radial-gradient(80% 140% at 0% 0%, rgba(45, 212, 191, .38), transparent 60%), radial-gradient(70% 120% at 100% 100%, rgba(249, 115, 22, .28), transparent 60%), linear-gradient(140deg, #1d4ed8, #2563eb 55%, #3b82f6); }
.vn-k { font: 800 .66rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.vn-head h3 { margin: 4px 0 0; font: 900 clamp(1.15rem, 3vw, 1.45rem)/1.2 var(--font-display); }
.vn-head p { margin: 6px 0 0; font-size: .88rem; color: rgba(255, 255, 255, .82); }
.vn-x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: #fff; cursor: pointer; opacity: .85; transition: opacity .2s, transform .2s; }
.vn-x:hover { opacity: 1; transform: scale(1.1); } .vn-x svg { width: 24px; height: 24px; }
.vn-map { position: relative; height: min(52vh, 420px); background: #e8eef8; }
.vn-load { position: absolute; inset: 0; background: linear-gradient(100deg, #e8eef8 30%, #f4f7fc 50%, #e8eef8 70%) 0 0 / 200% 100%; animation: vnShim 1.2s linear infinite; }
@keyframes vnShim { to { background-position: -200% 0; } }
.vn-fail { position: absolute; inset: 0; display: grid; place-items: center; color: #64748b; font-size: .9rem; }
.vn-act { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 22px 20px; }
.vn-act .btn { flex: 1 1 200px; justify-content: center; }
.vn-ghost { background: #eef4ff !important; color: #1d4ed8 !important; border: 0 !important; }
@media (max-width: 640px) {
  .vn-ov { place-items: end center; padding: 0; }
  .vn-card { width: 100%; border-radius: 24px 24px 0 0; max-height: 92dvh; transform: translateY(40px); padding-bottom: env(safe-area-inset-bottom); }
  .vn-map { height: 46vh; }
}

/* перетекающая подсветка активной вкладки (hubs.js) */
:is(.tabs, .hub-tabs, .fas-grpswitch, .rr-sub, .cmp-tabs, .lrn-kinds) { position: relative; }
:is(.tabs, .hub-tabs, .fas-grpswitch, .rr-sub, .cmp-tabs, .lrn-kinds) > :is(button, .tab-btn) { position: relative; z-index: 1; }
.lb-glide { position: absolute; z-index: 0; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.lb-glide-hide { background: transparent !important; box-shadow: none !important; transition: none !important; }
.lb-glide-hide::before, .lb-glide-hide::after { opacity: 0 !important; }
:is(.tabs, .hub-tabs, .fas-grpswitch, .rr-sub, .cmp-tabs, .lrn-kinds) > :is(button, .tab-btn) { transition: color .16s ease, background-color .16s ease, transform .16s ease !important; }
:is(.tabs, .hub-tabs, .fas-grpswitch, .rr-sub, .cmp-tabs, .lrn-kinds) > :is(button, .tab-btn):active { transform: scale(.96); }
.hub-panel { animation: hubIn2 .24s cubic-bezier(.2, .8, .2, 1) backwards !important; }
@keyframes hubIn2 { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .hub-panel { animation: none !important; } }

/* ═══ Встроенные браузеры (Telegram, WhatsApp, Instagram…): размытие фона в них очень дорогое и даёт лаги —
   отключаем его и делаем подложки плотнее; высота экрана — по «малому» вьюпорту, чтобы ничего не прыгало ═══ */
html.lb-inapp *, html.lb-inapp *::before, html.lb-inapp *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lb-inapp .glass { background: rgba(255, 255, 255, .96) !important; }
html.lb-inapp .glass-strong { background: rgba(255, 255, 255, .98) !important; }
html.lb-inapp .nav.scrolled, html.lb-inapp .hub-dock, html.lb-inapp .hub-bar.is-stuck { background: rgba(255, 255, 255, .97) !important; }
html.lb-inapp .lb-ph, html.lb-inapp .cmp-lb { background: rgba(0, 0, 0, .96) !important; }
html.lb-inapp .vn-ov { background: rgba(8, 14, 32, .7) !important; }
html.lb-inapp #hero { min-height: var(--lb-vh0, 100svh) !important; }
html.lb-inapp .glass, html.lb-inapp .glass-strong { transition: none !important; }
/* полоска «открыть в браузере» */
.lb-ia { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 10080; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 18px;
  background: #0f1d4a; color: #fff; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); font: 600 .84rem/1.35 var(--font-body); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.lb-ia.on { transform: none; }
.lb-ia p { flex: 1; margin: 0; } .lb-ia p b { color: #fdba74; }
.lb-ia a { flex: none; padding: 9px 12px; border-radius: 12px; background: #f97316; color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; }
.lb-ia button { flex: none; width: 32px; height: 32px; border: 0; background: none; color: rgba(255, 255, 255, .7); font-size: 1.3rem; cursor: pointer; }
html.lb-tab .lb-ia { left: 50%; right: auto; width: 480px; margin-left: -240px; }

/* ═══ Главный тренер (окно «Путь и опыт»): цитата видна и на телефоне; путь заполняется, как таймлайн «Истории» ═══ */
@media (max-width: 640px) { .ch-who blockquote { display: block !important; font-size: .9rem; } }
.ch-path { position: relative; border-left-color: rgba(191, 219, 254, .6) !important; }
/* линия и точки — как у таймлайна «Истории» (motion.css: .m-tl-progress, .tl-dot) */
.ch-path-prog { position: absolute; left: -2px; top: 0; width: 2px; height: 100%; border-radius: 2px; pointer-events: none;
  background: linear-gradient(to bottom, var(--blue-500, #3b82f6), var(--cyan-400, #22d3ee)); transform: scaleY(0); transform-origin: 50% 0; will-change: transform; }
.ch-path li::before { background: var(--blue-200, #bfdbfe) !important; border: 0 !important; width: 12px !important; height: 12px !important; transform: scale(.6);
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), box-shadow .6s ease, background-color .4s; }
.ch-path li.on::before { background: var(--blue-600, #2563eb) !important; transform: scale(1);
  box-shadow: 0 0 0 3px var(--blue-200, #bfdbfe), 0 0 0 10px rgba(59, 130, 246, .12), 0 2px 8px rgba(37, 99, 235, .25) !important; }
.ch-path li > * { transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.ch-path li:not(.on) > * { opacity: 0; transform: translateX(32px); }

/* Вкладки: плашка и цвет текста меняются синхронно — одна длительность и одна кривая (0.26 с) */
.m-tab-pill.m-pill-tr { transition: transform .26s cubic-bezier(.33, 1, .68, 1), width .26s cubic-bezier(.33, 1, .68, 1) !important; }
:is(.tabs, .hub-tabs, .fas-grpswitch, .rr-sub, .cmp-tabs, .lrn-kinds) > :is(button, .tab-btn) { transition: color .26s cubic-bezier(.33, 1, .68, 1), background-color .26s cubic-bezier(.33, 1, .68, 1), transform .16s ease !important; }

/* Плавная прокрутка средствами CSS отключена: вместе с пересчётом анимаций (ScrollTrigger) она утаскивала страницу вверх —
   особенно во встроенном браузере Telegram. Плавные переходы к разделам делаются скриптом (behavior: 'smooth') */
html { scroll-behavior: auto !important; }

/* Встроенные браузеры: верхняя панель сайта плотная (без размытия она просвечивала) и закрывает всё, что выше неё —
   под прозрачной шапкой Telegram/Instagram больше не видно прокручивающейся страницы */
html.lb-inapp .nav, html.lb-inapp .nav.scrolled { background: #fff !important; }
html.lb-touch .nav::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 200px; background: inherit; pointer-events: none; }
html.lb-inapp .nav::before { background: #fff; }
html.lb-tab #hero { min-height: var(--lb-vh0, 100svh) !important; }

/* ═══ «Следующие игры» — как карточки «Матчи · обе группы»: стеклянная карточка с мягкой тенью,
   при наведении — выезд, голубая рамка и синяя тень; при появлении — мягкий подъём по очереди ═══ */
.lgs-row { background: var(--glass-bg, rgba(255,255,255,.5)) !important; border: 1.5px solid transparent !important; border-radius: var(--radius-lg, 20px) !important;
  box-shadow: var(--glass-shadow, 0 8px 32px rgba(0,0,0,.06)) !important; -webkit-backdrop-filter: blur(var(--glass-blur, 16px)); backdrop-filter: blur(var(--glass-blur, 16px));
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), border-color .2s, box-shadow .25s, opacity .6s cubic-bezier(.16, 1, .3, 1) !important; }
.lgs-row:hover { transform: translateX(-3px) !important; border-color: var(--blue-200, #bfdbfe) !important; box-shadow: 0 10px 24px -14px rgba(37, 99, 235, .45) !important; }
.lgs-row:active { transform: scale(.985) !important; }
.lgs-row.is-live { border-color: #fecaca !important; box-shadow: inset 4px 0 0 #ef4444, var(--glass-shadow, 0 8px 32px rgba(0,0,0,.06)) !important; }
.lgs-row.lgs-pre { opacity: 0; transform: translateY(18px) !important; }
.lgs-scroll .lgs-row:hover { transform: translateX(-3px) !important; }
html.lb-inapp .lgs-row { background: rgba(255, 255, 255, .96) !important; }

/* ═══ Календарь: игры дня и «Добавить в календарь» — в полноценном окне ═══ */
.cdp.cdp-modal { position: static; z-index: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; transform: none; width: auto; max-height: none; }
.cdp-modal .cdp-head { margin: 0 0 12px; }
.cdp-modal .cdp-g { padding: 16px; border-radius: 20px; }
.cdp-modal .cdp-g + .cdp-g { margin-top: 12px; }
.cdp-modal .cdp-logo { width: 64px; height: 64px; }
.cdp-modal .cdp-t span { font-size: .95rem; }
.cdp-modal .cdp-vs { width: 48px; height: 48px; font-size: 1rem; }
.cdp-modal .cdp-score { font-size: 2rem; }
.cdp-modal .cdp-meta { font-size: .84rem; margin-top: 12px; }
.cdp-modal .cdp-acts { gap: 8px; margin-top: 14px; }
.cdp-modal .cdp-btn { padding: 12px 14px; border-radius: 14px; font-size: .88rem; }
.cdp-modal .cdp-train { padding: 14px 16px; margin-top: 12px; border-radius: 16px; }
.lgs-calm-game { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 14px; border-radius: 18px; background: var(--bg-soft, #f4f7fd); }
.lgs-calm-game b { display: block; font: 800 .98rem/1.25 var(--font-display); }
.lgs-calm-game small { display: block; margin-top: 3px; font-size: .8rem; color: var(--text-muted); }
.lgs-calm-game .cdp-logo { width: 44px; height: 44px; }

/* Протокол матча: вкладки команд всегда помещаются — равные доли, длинное имя обрезается многоточием */
.fas-box-tabs { display: flex !important; width: 100%; }
.fas-box-tabs > .tab-btn { flex: 1 1 0 !important; min-width: 0 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 10px !important; padding-right: 10px !important; }
@media (max-width: 480px) { .fas-box-tabs > .tab-btn { font-size: .86rem !important; } }

/* Карта стритбола: переключатель «Карта / Гибрид» Google — внизу слева над логотипом, компактный, не наезжает на наши кнопки сверху */
.pg-map .gm-style-mtc-bbw { margin: 0 0 4px 10px !important; }
.pg-map .gm-style-mtc button { height: 32px !important; padding: 0 12px !important; font-size: 13px !important; border-radius: 10px !important; }
.pg-map .gm-style-mtc:first-child button { border-radius: 10px 0 0 10px !important; } .pg-map .gm-style-mtc:last-child button { border-radius: 0 10px 10px 0 !important; }

/* Окно тренера: содержимое не ездит влево-вправо при прокрутке на телефоне (выезжающий текст пути больше не выходит за край) */
#modal.ch-modal .modal-body { overflow-x: hidden !important; overscroll-behavior-x: none; touch-action: pan-y; }
.ch, .ch-path { max-width: 100%; overflow-x: clip; }
.ch-path li:not(.on) > * { transform: translateX(16px) !important; }

/* Панель демо «матч идёт сейчас» (fasdemo.js, ?demo=live) */
.lb-demo { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10090; display: flex; align-items: center; gap: 6px;
  max-width: calc(100vw - 16px); padding: 8px 8px 8px 14px; border-radius: 18px; background: #0f1d4a; color: #fff; box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); font: 600 .8rem/1.2 var(--font-body); }
.lb-demo-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.25); animation: nfLed 1.2s ease-in-out infinite; }
.lb-demo-t { min-width: 0; margin-right: 4px; } .lb-demo-t b { display: block; font-size: .78rem; white-space: nowrap; }
.lb-demo-t small { display: block; color: rgba(255,255,255,.7); font-size: .72rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-demo button { flex: none; height: 32px; min-width: 34px; padding: 0 8px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font: 800 .76rem var(--font-body); cursor: pointer; }
.lb-demo button:hover { background: rgba(255,255,255,.22); } .lb-demo button.x { background: #f97316; }
@media (max-width: 759px) { .lb-demo { bottom: calc(96px + env(safe-area-inset-bottom)); gap: 4px; padding-left: 10px; } .lb-demo [data-d="back"], .lb-demo [data-d="go"] { display: none; } .lb-demo-t b { font-size: .72rem; } }

/* ═══ Матч в эфире: карточка горит красно-оранжевым, всё о текущей секунде игры ═══ */
.lv-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; position: relative; }
.lv-clock { text-align: center; line-height: 1; }
.lv-clock small { display: block; font: 700 .66rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.lv-clock b { display: block; margin: 4px 0; font: 900 clamp(2rem, 6vw, 2.8rem)/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: .02em; text-shadow: 0 0 18px rgba(255, 200, 150, .45); }
.lv-shot { display: grid; place-items: center; min-width: 52px; padding: 6px 8px; border-radius: 12px; background: rgba(0, 0, 0, .28); line-height: 1; }
.lv-shot b { font: 900 1.3rem var(--font-display); color: #fde68a; font-variant-numeric: tabular-nums; } .lv-shot small { font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-top: 2px; }
.lv-shot--off { visibility: hidden; }
.lv-qbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 12px 0 16px; position: relative; }
.lv-qbar i { position: relative; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.lv-qbar i.done { background: rgba(255, 255, 255, .75); }
.lv-qbar i u { position: absolute; left: 0; top: 0; bottom: 0; background: #fde68a; border-radius: 3px; transition: width .25s linear; }
.lv-sb { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 10px; position: relative; }
.lv-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; padding: 10px 6px; border-radius: 18px; transition: background .3s; }
.lv-team.att { background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 1.5px rgba(253, 230, 138, .6) inset; }
.lv-team b { font: 800 .95rem/1.2 var(--font-display); }
.lv-att { padding: 3px 9px; border-radius: 99px; background: #fde68a; color: #7c2d12; font: 800 .66rem var(--font-body); animation: lvPulse 1.2s ease-in-out infinite; }
.lv-def { font: 700 .66rem var(--font-body); opacity: .6; text-transform: lowercase; }
@keyframes lvPulse { 50% { transform: scale(1.06); } }
.lv-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .68rem; opacity: .95; }
.lv-meta span { padding: 3px 8px; border-radius: 8px; background: rgba(0, 0, 0, .22); white-space: nowrap; }
.lv-meta b { font-weight: 900; } .lv-meta b.hot { color: #fde68a; }
.lv-bonus { margin-left: 4px; font-style: normal; font-weight: 800; color: #fde68a; text-transform: uppercase; font-size: .58rem; }
.lv-score { text-align: center; padding-top: 18px; }
.lv-score > div { display: flex; align-items: center; justify-content: center; gap: 6px; font: 900 clamp(2.6rem, 8vw, 3.8rem)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.lv-score > div i { font-style: normal; opacity: .4; font-size: .6em; }
.lv-score small { display: block; margin-top: 6px; font: 700 .7rem var(--font-body); opacity: .85; }
.lv-arrow { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .25); font: 800 .64rem var(--font-body); letter-spacing: .04em; white-space: nowrap; }
.lv-qs div { background: rgba(0, 0, 0, .18) !important; } .lv-qs div.now { background: rgba(253, 230, 138, .22) !important; box-shadow: 0 0 0 1px rgba(253, 230, 138, .5) inset; }
.lv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; position: relative; }
.lv-chips span { padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .14); font: 700 .72rem var(--font-body); }
.lv-chips span.o { opacity: .75; } .lv-run.us { background: #fde68a !important; color: #7c2d12; } .lv-run.them { background: rgba(0, 0, 0, .3) !important; }
.lv-court { margin-top: 14px; position: relative; text-align: left; }
.lv-court-h { font: 800 .66rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 6px; }
.lv-court-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lv-court-g > div { padding: 8px; border-radius: 14px; background: rgba(0, 0, 0, .2); min-width: 0; }
.lv-court-g small { display: block; font: 800 .66rem var(--font-body); opacity: .75; margin: 0 0 4px 4px; }
.lv-court ul { list-style: none; margin: 0; padding: 0; }
.lv-court li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 2px 6px; padding: 4px; font-size: .74rem; border-radius: 8px; }
.lv-court li em { font-style: normal; font-weight: 900; opacity: .7; text-align: right; font-variant-numeric: tabular-nums; }
.lv-court li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.lv-court li b { font-weight: 900; font-variant-numeric: tabular-nums; }
.lv-court li .fo { grid-column: 2 / -1; font-style: normal; font-size: .5rem; letter-spacing: 1px; opacity: .55; }
.lv-court li.warn { background: rgba(253, 230, 138, .18); } .lv-court li.warn .fo { color: #fde68a; opacity: 1; }
.lv-feed div { background: rgba(0, 0, 0, .18) !important; } .lv-feed div.us.pts { background: rgba(253, 230, 138, .22) !important; color: #fff; font-weight: 700; }
.lv-act { justify-content: center; }
.lv-btn { border: 0 !important; background: #fff !important; color: #b91c1c !important; font-weight: 800 !important; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5); }
.lv-btn.pri { background: #fde68a !important; color: #7c2d12 !important; }
/* кнопки «Протокол» и прочие в карточке матча всегда видны на тёмном фоне */
.next-game.fas-is-live .btn-outline, .next-game.fas-is-live .lgs-hero-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .7) !important; background: rgba(255, 255, 255, .1) !important; }
@media (max-width: 640px) { .lv-court-g { grid-template-columns: 1fr; } .lv-team b { font-size: .82rem; } .lv-meta { font-size: .62rem; } }
.lv-att, .lv-meta span { white-space: nowrap; }
.lv-court li { grid-template-columns: 22px 1fr auto auto; }
.lv-court li .fo { grid-column: auto; font-size: .46rem; letter-spacing: 0; }
@media (max-width: 640px) { .lv-court-g { grid-template-columns: 1fr 1fr; gap: 6px; } .lv-court li { grid-template-columns: 18px 1fr auto; font-size: .68rem; } .lv-court li .fo { grid-column: 2 / -1; } .lv-court-g > div { padding: 6px 4px; } }

/* Матч в эфире в «Команда → Матчи» — та же красная карточка «Идёт сейчас», что в расписании, плюс подробности игры */
.next-game.fas-is-live.is-hero { background: none !important; box-shadow: none !important; }
.lgs-hero.is-live { animation: lvGlow2 2.4s ease-in-out infinite; }
@keyframes lvGlow2 { 50% { box-shadow: 0 30px 60px -28px rgba(185, 28, 28, .8), 0 0 0 2px rgba(251, 146, 60, .65), 0 0 40px 2px rgba(249, 115, 22, .3) inset; } }
.lgs-lclock { font: 900 1.05em var(--font-display); font-variant-numeric: tabular-nums; color: #fde68a; }
.lvx { position: relative; margin-top: 14px; }
.lvx .lv-qbar { margin: 0 0 12px; }
.lvx-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: start; }
.lvx-side { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 8px; border-radius: 14px; background: rgba(0, 0, 0, .14); min-height: 36px; align-content: center; }
.lvx-side.att { background: rgba(253, 230, 138, .16); box-shadow: 0 0 0 1.5px rgba(253, 230, 138, .55) inset; }
.lvx-m { padding: 3px 8px; border-radius: 8px; background: rgba(0, 0, 0, .2); font-size: .68rem; white-space: nowrap; } .lvx-m b { font-weight: 900; } .lvx-m b.hot { color: #fde68a; }
.lvx-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lgs-hero.is-live .lgs-hero-act .btn { opacity: 1 !important; }
.lgs-hero.is-live .lgs-hero-ghost { color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .75) !important; background: rgba(255, 255, 255, .12) !important; }
.lgs-hero.is-live .btn-primary { background: #fff !important; color: #b91c1c !important; }
@media (max-width: 640px) { .lvx-row { grid-template-columns: 1fr 1fr; } .lvx-mid { grid-column: 1 / -1; grid-row: 1; flex-direction: row; justify-content: center; } }

/* ═══ Матч в эфире — в наших переливающихся цветах (как полоса прокрутки и рамки вкладок): тёмно-синяя карточка,
   бирюзовый, синий и оранжевый свет, рамка-перелив бежит по кругу ═══ */
@property --lvA { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.lgs-hero.is-live { background: radial-gradient(80% 120% at 0% 0%, rgba(45, 212, 191, .32), transparent 60%), radial-gradient(70% 110% at 100% 100%, rgba(249, 115, 22, .32), transparent 60%),
  linear-gradient(150deg, #0b1a3a 0%, #13286b 50%, #1d3fa8 100%) !important; animation: none !important; isolation: isolate; }
.lgs-hero.is-live::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--lvA), #2dd4bf, #2563eb, #f97316, #2dd4bf); animation: lvSpin 4s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@keyframes lvSpin { to { --lvA: 360deg; } }
.lgs-hero.is-live::after { background: linear-gradient(90deg, #2dd4bf, #2563eb 55%, #f97316) !important; }
.lgs-hero.is-live .lgs-hero-kick .fas-dot { background: #f97316; } .lgs-hero.is-live .lgs-hero-kick .fas-dot::after { color: #f97316; }
.lgs-lclock { color: #fdba74 !important; }
.lv-qbar i u { background: linear-gradient(90deg, #2dd4bf, #2563eb, #f97316) !important; }
.lvx-side.att { background: rgba(45, 212, 191, .14) !important; box-shadow: 0 0 0 1.5px rgba(45, 212, 191, .7) inset !important; }
.lv-att { background: linear-gradient(90deg, #2dd4bf, #60a5fa) !important; color: #06213f !important; }
.lvx-m b.hot { color: #fdba74 !important; }
.lv-qs div { background: rgba(255, 255, 255, .07) !important; } .lv-qs div.now { background: rgba(45, 212, 191, .16) !important; box-shadow: 0 0 0 1px rgba(45, 212, 191, .6) inset !important; }
.lv-run.us { background: linear-gradient(90deg, #fb923c, #f97316) !important; color: #fff !important; }
.lv-court-g > div { background: rgba(255, 255, 255, .06) !important; }
.lv-court li.warn { background: rgba(249, 115, 22, .2) !important; } .lv-court li.warn .fo { color: #fdba74 !important; }
.lv-feed div { background: rgba(255, 255, 255, .06) !important; } .lv-feed div.us.pts { background: linear-gradient(90deg, rgba(45, 212, 191, .25), rgba(37, 99, 235, .25)) !important; }
.lgs-hero.is-live .btn-primary { background: linear-gradient(90deg, #2dd4bf, #2563eb 55%, #f97316) !important; background-size: 200% 100% !important; color: #fff !important; animation: lbFlow 4s ease-in-out infinite alternate; border: 0 !important; }
/* скамейка */
.lv-bench-h { margin: 8px 4px 4px; font: 800 .62rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.lv-bench { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.lv-bench::-webkit-scrollbar { display: none; }
.lv-bp { flex: 0 0 auto; min-width: 92px; padding: 6px 8px; border-radius: 12px; background: rgba(0, 0, 0, .22); scroll-snap-align: start; line-height: 1.2; }
.lv-bp em { font-style: normal; font: 900 .7rem var(--font-display); opacity: .7; margin-right: 4px; } .lv-bp span { font: 700 .74rem var(--font-body); }
.lv-bp small { display: block; font-size: .62rem; opacity: .75; margin-top: 2px; white-space: nowrap; } .lv-bp .fo { display: block; font-style: normal; font-size: .44rem; opacity: .55; margin-top: 2px; }
.lv-bp.out { opacity: .45; }
/* анимация забитого мяча */
.sp-layer { position: fixed; inset: 0; z-index: 10050; pointer-events: none; overflow: hidden; }
.sp-ball { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffb26b, #f97316 45%, #c2410c 80%); box-shadow: 0 6px 18px rgba(249, 115, 22, .55), inset -4px -6px 10px rgba(0, 0, 0, .25); }
.sp-ball::before, .sp-ball::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(60, 20, 0, .55); clip-path: inset(0 48% 0 48%); }
.sp-ball::after { clip-path: inset(48% 0 48% 0); }
.sp-ring { position: absolute; width: 90px; height: 90px; border-radius: 50%; padding: 3px; background: conic-gradient(#2dd4bf, #2563eb, #f97316, #2dd4bf);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); }
.sp-lab { position: absolute; text-align: center; white-space: nowrap; }
.sp-lab b { display: block; font: 900 clamp(3rem, 12vw, 5.2rem)/.9 var(--font-display); letter-spacing: -.03em; font-style: italic;
  background: linear-gradient(100deg, #2dd4bf, #60a5fa 45%, #fb923c 75%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(6, 18, 50, .55)) drop-shadow(0 0 18px rgba(96, 165, 250, .55)); -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.sp-lab small { display: inline-block; margin-top: 4px; padding: 4px 12px; border-radius: 99px; background: linear-gradient(90deg, #14b8a6, #2563eb 55%, #f97316); box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); color: #fff; font: 900 .64rem var(--font-body); letter-spacing: .2em; }
.sp-p3 b { font-size: clamp(3.6rem, 15vw, 6.4rem); } .sp-p1 b { font-size: clamp(2.4rem, 9vw, 3.8rem); }
.sp-spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fdba74; box-shadow: 0 0 10px #f97316; }
.sp-spark:nth-child(3n) { background: #5eead4; box-shadow: 0 0 10px #2dd4bf; } .sp-spark:nth-child(3n+1) { background: #93c5fd; box-shadow: 0 0 10px #2563eb; }
.lgs-hero.sp-flash .lgs-hero-bg::after { content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 20%, rgba(45, 212, 191, .35) 40%, rgba(96, 165, 250, .35) 50%, rgba(249, 115, 22, .35) 60%, transparent 80%); background-size: 250% 100%; animation: spSweep 1.2s ease-out both; }
@keyframes spSweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.lgs-hero.sp-flash::before { animation-duration: .9s; }

/* атаки/защиты, штрафные за командные фолы (кольцо), удаление игрока за 5 фолов (свисток) */
.lvx-ad { font-size: .64rem !important; } .lvx-ad b { color: #5eead4; }
.lvx-pen { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 5px; border-radius: 99px; background: linear-gradient(90deg, #f97316, #fb923c); color: #fff; font-size: .64rem; box-shadow: 0 4px 12px -4px rgba(249, 115, 22, .8); }
.lvx-pen svg { width: 15px; height: 15px; } .lvx-pen b { font-weight: 900; letter-spacing: .02em; }
.lvx-side.pen { box-shadow: 0 0 0 1.5px rgba(249, 115, 22, .65) inset !important; }
.lgs-hero-team { position: relative; }
.lv-penb { position: absolute; top: -2px; left: calc(50% + clamp(18px, 3.4vw, 38px)); z-index: 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #fb923c, #f97316); color: #fff; box-shadow: 0 0 0 3px #13286b, 0 6px 14px -4px rgba(249, 115, 22, .9); animation: lvPulse 1.4s ease-in-out infinite; }
.lv-penb svg { width: 18px; height: 18px; }
.lv-court li em, .lv-bp { position: relative; }
.lv-wh { position: absolute; top: -7px; right: -9px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: #ef4444; color: #fff;
  box-shadow: 0 0 0 2px #13286b, 0 0 10px rgba(239, 68, 68, .8); animation: lvPulse 1.2s ease-in-out infinite; }
.lv-wh svg { width: 11px; height: 11px; }
.lv-bp .lv-wh { top: 4px; right: 4px; left: auto; }
.lv-court li.out { opacity: .55; background: rgba(239, 68, 68, .14) !important; } .lv-court li.out span { text-decoration: line-through; text-decoration-color: rgba(239, 68, 68, .8); }
.lv-court li.out .fo { color: #fca5a5 !important; opacity: 1 !important; }
.lv-court li .lv-wh { position: relative; top: auto; right: auto; display: inline-grid; vertical-align: -3px; margin-left: 5px; }
.lv-court li.out { opacity: 1 !important; } .lv-court li.out em, .lv-court li.out b { opacity: .5; } .lv-court li.out span { color: rgba(255,255,255,.6); }
.lv-court li .lv-wh { margin: 0 6px 0 0; vertical-align: -2px; } .lv-court li.out b { opacity: 1; } .lv-court li.out b { color: rgba(255,255,255,.55); }
.lvx-ad small { opacity: .7; font-weight: 600; } .lvx-ad b { color: #fdba74 !important; } .lvx-ad + .lvx-ad b { color: #5eead4 !important; }
@media (max-width: 640px) { .lvx-ad { white-space: normal !important; text-align: center; } }

/* Забил соперник — та же механика, но красная: красные кольца и искры, «+2 · СОПЕРНИК», красная волна по карточке */
.sp-opp .sp-ball { filter: saturate(.6) brightness(.9); }
.sp-opp .sp-ring { background: conic-gradient(#ef4444, #b91c1c, #f87171, #ef4444); }
.sp-opp .sp-lab b { background: linear-gradient(100deg, #fecaca, #f87171 45%, #ef4444 75%, #b91c1c); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 4px 0 rgba(60, 6, 6, .6)) drop-shadow(0 0 16px rgba(239, 68, 68, .6)); font-size: clamp(2.4rem, 9vw, 3.8rem); }
.sp-opp .sp-lab small { background: linear-gradient(90deg, #7f1d1d, #dc2626); }
.sp-opp .sp-spark, .sp-opp .sp-spark:nth-child(3n), .sp-opp .sp-spark:nth-child(3n+1) { background: #fca5a5; box-shadow: 0 0 10px #ef4444; }
.lgs-hero.sp-flash-opp .lgs-hero-bg::after { content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(70% 90% at 50% 40%, rgba(239, 68, 68, .45), transparent 70%); animation: spOpp 1.2s ease-out both; }
@keyframes spOpp { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.lgs-hero.sp-flash-opp::before { background: conic-gradient(from var(--lvA), #ef4444, #b91c1c, #f87171, #ef4444) !important; }

/* Забили наши — карточка игрока: фото с градиентной рамкой, большой номер, имя и фамилия */
.sp-scorer { position: fixed; z-index: 10055; pointer-events: none; display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 22px;
  width: max-content; max-width: calc(100vw - 24px); color: #fff;
  background: linear-gradient(120deg, #0b1a3a, #13286b); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .7), 0 0 0 2px rgba(45, 212, 191, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sp-scorer::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 22px 0 0 22px; background: linear-gradient(180deg, #2dd4bf, #2563eb, #f97316); }
.sp-sc-ava { position: relative; flex: none; width: 74px; height: 74px; border-radius: 50%; padding: 3px; background: conic-gradient(#2dd4bf, #2563eb, #f97316, #2dd4bf); }
.sp-sc-ava img, .sp-sc-ava span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #0b1a3a; font: 900 1.6rem var(--font-display); border: 2px solid #0b1a3a; }
.sp-sc-num { position: absolute; right: -8px; bottom: -4px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center;
  background: linear-gradient(135deg, #fb923c, #f97316); font: 900 .95rem var(--font-display); font-style: normal; box-shadow: 0 0 0 3px #0b1a3a; }
.sp-sc-txt { min-width: 0; line-height: 1.1; }
.sp-sc-txt small { display: inline-block; padding: 2px 8px; border-radius: 99px; background: linear-gradient(90deg, #14b8a6, #2563eb); font: 900 .58rem var(--font-body); letter-spacing: .18em; }
.sp-sc-txt b { display: block; margin: 5px 0 3px; font: 900 clamp(1.15rem, 4.6vw, 1.5rem)/1.05 var(--font-display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-sc-txt em { font-style: normal; font: 800 .8rem var(--font-body); color: #fdba74; }
.lv-shot b.low { color: #f87171 !important; animation: lvPulse .8s ease-in-out infinite; }
.lv-shot small { white-space: nowrap; }
/* время на атаку: секунды + сотые */
.lv-shot { min-width: 96px !important; padding: 6px 12px !important; }
.lv-shot b { font: 900 1.6rem/1 var(--font-display) !important; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.lv-shot b i { font-style: normal; font-size: .58em; opacity: .85; } .lv-shot b u { text-decoration: none; font-size: .5em; margin-left: 3px; opacity: .7; }
.lv-shot small { font-size: .56rem !important; letter-spacing: .06em !important; margin-top: 4px !important; }

/* Время на атаку — мини-табло, как бегущая строка новостей: чёрное поле, оранжевые светодиодные точки */
.lv-shot { position: relative; overflow: hidden; background: #070707 !important; border-radius: 14px !important; padding: 8px 14px 7px !important;
  box-shadow: 0 0 0 1.5px rgba(249, 115, 22, .55), 0 0 18px -4px rgba(249, 115, 22, .6), inset 0 0 14px rgba(0, 0, 0, .9) !important; }
.lv-shot::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(249, 115, 22, .12) 0 .8px, transparent 1.2px) 0 0 / 3px 3px; }
.lv-shot::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2; background: radial-gradient(circle, transparent 0 1.1px, #070707 1.45px) 0 0 / 3px 3px; }
.lv-shot b { position: relative; z-index: 1; color: #ffa24a !important; font: 900 1.9rem/1 'Courier New', ui-monospace, monospace !important; letter-spacing: .02em;
  text-shadow: 0 0 4px rgba(249, 115, 22, .95), 0 0 12px rgba(249, 115, 22, .55); }
.lv-shot b i, .lv-shot b u { color: #ffd2a8; }
.lv-shot b.low { color: #ff5a4a !important; text-shadow: 0 0 5px rgba(239, 68, 68, 1), 0 0 14px rgba(239, 68, 68, .7); }
.lv-shot small { position: relative; z-index: 3; color: #fb923c !important; opacity: .9 !important; font-weight: 800 !important; }
.lv-shot b { font: 900 2.1rem/1 var(--font-display) !important; color: #ffb066 !important; }
.lv-shot::after { background: radial-gradient(circle, transparent 0 1.25px, rgba(7, 7, 7, .92) 1.6px) 0 0 / 3px 3px !important; }

/* ═══ Матч в эфире: счёт и часы — светодиодное табло (как бегущая строка новостей и время на атаку) ═══ */
.lgs-hero.is-live .lgs-hero-score, .lgs-led-clock { position: relative; overflow: hidden; isolation: isolate; background: #070707; color: #ffb066;
  box-shadow: 0 0 0 1.5px rgba(249, 115, 22, .55), 0 0 22px -4px rgba(249, 115, 22, .55), inset 0 0 16px rgba(0, 0, 0, .9);
  text-shadow: 0 0 4px rgba(249, 115, 22, .95), 0 0 14px rgba(249, 115, 22, .55); font-variant-numeric: tabular-nums; }
.lgs-hero.is-live .lgs-hero-score::before, .lgs-led-clock::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(249, 115, 22, .12) 0 .8px, transparent 1.2px) 0 0 / 3px 3px; }
.lgs-hero.is-live .lgs-hero-score::after, .lgs-led-clock::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle, transparent 0 1.25px, rgba(7, 7, 7, .92) 1.6px) 0 0 / 3px 3px; }
.lgs-hero.is-live .lgs-hero-score { padding: 10px 18px 8px; border-radius: 18px; gap: 10px; }
.lgs-hero.is-live .lgs-hero-score i { color: #fb923c; opacity: .8; animation: ledColon 1s steps(1) infinite; }
@keyframes ledColon { 50% { opacity: .25; } }
.lgs-led-clock { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 7px 14px 6px; border-radius: 12px; line-height: 1; }
.lgs-led-q { font: 900 1rem var(--font-display); color: #ffd2a8; letter-spacing: .04em; padding-right: 10px; border-right: 1px solid rgba(249, 115, 22, .4); }
.lgs-led-clock .lgs-lclock { font: 900 1.6rem/1 var(--font-display) !important; color: #ffb066 !important; letter-spacing: .02em; }
.lgs-hero.is-live .lgs-hero-mid > small { display: none; }
@media (max-width: 640px) { .lgs-hero.is-live .lgs-hero-score { padding: 8px 12px 6px; } .lgs-led-clock .lgs-lclock { font-size: 1.3rem !important; } }

/* ═══ Матч в эфире: «в атаке» — наш синий у нас, наш оранжевый у соперника; кнопки — наш синий ═══ */
.lvx-side.att.att-us { background: rgba(37, 99, 235, .22) !important; box-shadow: 0 0 0 1.5px rgba(59, 130, 246, .85) inset, 0 0 22px -6px rgba(37, 99, 235, .8) !important; }
.lvx-side.att.att-us .lv-att { background: linear-gradient(90deg, #2563eb, #3b82f6) !important; color: #fff !important; box-shadow: 0 4px 14px -4px rgba(37, 99, 235, .9); }
.lvx-side.att.att-them { background: rgba(249, 115, 22, .16) !important; box-shadow: 0 0 0 1.5px rgba(249, 115, 22, .8) inset, 0 0 22px -6px rgba(249, 115, 22, .7) !important; }
.lvx-side.att.att-them .lv-att { background: linear-gradient(90deg, #f97316, #fb923c) !important; color: #fff !important; box-shadow: 0 4px 14px -4px rgba(249, 115, 22, .9); }
.lv-qs div.now { background: rgba(37, 99, 235, .25) !important; box-shadow: 0 0 0 1.5px rgba(59, 130, 246, .8) inset !important; }
/* стрелка спорного мяча — наша скруглённая галочка */
.lv-arrow { display: inline-flex !important; align-items: center; gap: 6px; }
.lv-arrow.us { background: rgba(37, 99, 235, .35) !important; box-shadow: 0 0 0 1px rgba(59, 130, 246, .7) inset; }
.lv-arrow.them { background: rgba(249, 115, 22, .25) !important; box-shadow: 0 0 0 1px rgba(249, 115, 22, .7) inset; }
.lv-chev { display: inline-block; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--ic-chev) center / contain no-repeat; mask: var(--ic-chev) center / contain no-repeat; }
.lv-chev.l { transform: scaleX(-1); }
/* кнопки карточки в эфире: главная — синий перелив, «Протокол» — сплошной синий */
.lgs-hero.is-live .btn-primary { background: linear-gradient(90deg, #1d4ed8, #3b82f6 35%, #60a5fa 50%, #3b82f6 65%, #1d4ed8) !important; background-size: 220% 100% !important;
  color: #fff !important; border: 0 !important; box-shadow: 0 12px 26px -12px rgba(37, 99, 235, .9) !important; animation: lbFlow 3s ease-in-out infinite alternate !important; }
.lgs-hero.is-live .lgs-hero-ghost { background: #2563eb !important; color: #fff !important; border: 0 !important; box-shadow: 0 12px 26px -12px rgba(37, 99, 235, .9) !important; }
.lgs-hero.is-live .lgs-hero-ghost:hover { background: #1d4ed8 !important; }
/* парящие логотипы команд: своя графическая подложка — плавно на телефонах, без «рывков» */
.lgs-hero-logo { will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(0); }
@keyframes lgsFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -5px, 0); } }
/* составы на паркете: название команды — первая строка, «на паркете» — вторая; у обеих команд ровно */
.lv-court-g small.lv-ct { display: flex; flex-direction: column; gap: 2px; margin: 0 0 8px 4px; opacity: 1 !important; }
.lv-ct b { font: 800 .8rem/1.2 var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-ct span { font: 800 .58rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
/* анимации забитого мяча живут у табло: слой внутри блока с карточкой матча, едет вместе с ним при прокрутке */
.sp-layer.sp-in { position: absolute; inset: 0; z-index: 30; overflow: visible; }
.sp-scorer { position: absolute !important; z-index: 31; max-width: min(94%, calc(100vw - 24px)); }

/* ═══ Плашка матча в эфире — минималистичная синяя (как была), на телефоне — над нижним меню ═══ */
.fas-dock { white-space: nowrap; max-width: calc(100vw - 24px); }
.fas-dock small { font-variant-numeric: tabular-nums; } .fas-dock small i { font-style: normal; display: inline-block; min-width: 3.4ch; text-align: left; }
.fas-dock-s { display: inline-block; min-width: 2.6em; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 759px) {
  .fas-dock { left: 50% !important; right: auto !important; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)) !important; justify-content: center; }
  @keyframes fas-dock-in { from { transform: translate(-50%, 40px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
  html.has-live-dock .lb-demo { bottom: calc(150px + env(safe-area-inset-bottom)); }
}
html.lb-tab.has-live-dock .lb-demo { bottom: calc(84px + env(safe-area-inset-bottom)); }

/* ═══ Всё, что про эфир и трансляции, — наш оранжевый вместо красного ═══ */
.fas-dot.red, .fas-live-badge .fas-dot, .fas-pill.live .fas-dot, .fas-dock .fas-dot { background: #f97316 !important; }
.fas-dot.red::after, .fas-pill.live .fas-dot::after, .fas-dock .fas-dot::after { color: #f97316 !important; }
.fas-live-badge { background: #f97316 !important; } .fas-live-badge .fas-dot { background: #fff !important; } .fas-live-badge .fas-dot::after { color: #fff !important; }
.fas-dock b { color: #fdba74 !important; }
.fas-pill.live { background: #fff7ed !important; color: #c2410c !important; border-color: #fed7aa !important; }
.lgs-row.is-live { border-color: #fed7aa !important; box-shadow: inset 4px 0 0 #f97316, var(--glass-shadow, 0 8px 32px rgba(0,0,0,.06)) !important; }
.cdp-g.is-live { border-color: #fed7aa !important; background: #fff7ed !important; }
.lb-demo-dot { background: #f97316 !important; box-shadow: 0 0 0 4px rgba(249, 115, 22, .25) !important; }
.lgs-row.is-live .lgs-vs i { background: #ffedd5 !important; color: #c2410c !important; }

/* табло в эфире: ширина не меняется от цифр (логотипы больше не «ездят») */
.lgs-hero.is-live .lgs-hero-mid { flex: none; width: clamp(150px, 30vw, 230px); }
.lgs-hero.is-live .lgs-hero-score span { display: inline-block; min-width: 1.25em; text-align: center; }
.lgs-hero.is-live .lgs-hero-score { justify-content: center; }
.lgs-led-clock { justify-content: center; }
.lgs-led-clock .lgs-lclock { display: inline-block; min-width: 3.3em; text-align: center; }
.lgs-led-q { display: inline-block; min-width: 2.2em; text-align: center; }

/* мяч в анимации забитого — наш эмодзи 🏀: вращается и светится */
.sp-ball { width: 46px !important; height: 46px !important; background: none !important; box-shadow: none !important; border-radius: 0 !important;
  font-size: 40px; line-height: 46px; text-align: center; filter: drop-shadow(0 0 10px rgba(249, 115, 22, .95)) drop-shadow(0 0 22px rgba(253, 186, 116, .65)); }
.sp-ball::before { content: '🏀'; position: static !important; inset: auto !important; border: 0 !important; clip-path: none !important; border-radius: 0 !important; }
.sp-ball::after { display: none !important; }
.sp-opp .sp-ball { filter: drop-shadow(0 0 10px rgba(239, 68, 68, .9)) drop-shadow(0 0 20px rgba(248, 113, 113, .5)) !important; }
html.lb-tab.has-live-dock .lb-demo { bottom: calc(84px + env(safe-area-inset-bottom)); }

/* ═══ Шкала четвертей: один градиент через все 4 четверти — прошедшие окрашены своим отрезком, текущая заполняется ═══ */
.lv-qbar { --qg: linear-gradient(90deg, #2dd4bf, #2563eb 50%, #f97316); }
.lv-qbar i { background: rgba(255, 255, 255, .16) !important; }
.lv-qbar i.done, .lv-qbar i u { background-image: var(--qg) !important; background-size: calc(400% + 12px) 100% !important; background-color: transparent !important; }
.lv-qbar i:nth-child(1).done, .lv-qbar i:nth-child(1) u { background-position: 0% 0 !important; }
.lv-qbar i:nth-child(2).done, .lv-qbar i:nth-child(2) u { background-position: 33.333% 0 !important; }
.lv-qbar i:nth-child(3).done, .lv-qbar i:nth-child(3) u { background-position: 66.667% 0 !important; }
.lv-qbar i:nth-child(4).done, .lv-qbar i:nth-child(4) u { background-position: 100% 0 !important; }
.lv-qbar i u { width: 100% !important; right: 0; clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0 round 3px); transition: clip-path .25s linear !important; }

/* ═══ Карточка матча в эфире — наш синий (светлее), бирюзовый и оранжевый свет по углам ═══ */
.lgs-hero.is-live { background: radial-gradient(80% 120% at 0% 0%, rgba(45, 212, 191, .35), transparent 60%), radial-gradient(70% 110% at 100% 100%, rgba(249, 115, 22, .3), transparent 60%),
  linear-gradient(150deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%) !important; }
.lgs-hero.is-live .lvx-side, .lgs-hero.is-live .lv-court-g > div, .lgs-hero.is-live .lv-qs div, .lgs-hero.is-live .lv-feed div { background: rgba(10, 25, 80, .28) !important; }
.lgs-hero.is-live .lv-qs div.now { background: rgba(10, 25, 80, .45) !important; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7) inset !important; }
.lvx-side.att.att-us { background: rgba(10, 25, 80, .45) !important; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85) inset, 0 0 22px -6px rgba(255, 255, 255, .5) !important; }
.lv-bp { background: rgba(10, 25, 80, .35) !important; }
/* кнопки: одна — наш синий, вторая — белая с синим текстом */
.lgs-hero.is-live .btn-primary { background: linear-gradient(90deg, #1e40af, #1d4ed8 40%, #2563eb 60%, #1e40af) !important; background-size: 220% 100% !important;
  color: #fff !important; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55), 0 12px 26px -12px rgba(10, 25, 80, .9) !important; }
.lgs-hero.is-live .lgs-hero-ghost { background: #fff !important; color: #1d4ed8 !important; box-shadow: 0 12px 26px -12px rgba(10, 25, 80, .7) !important; }
.lgs-hero.is-live .lgs-hero-ghost:hover { background: #eff6ff !important; }


/* табличка забившего — светлее: наш синий градиент, белый текст */
.sp-scorer { background: linear-gradient(120deg, #2563eb, #3b82f6 60%, #60a5fa) !important; box-shadow: 0 24px 50px -16px rgba(13, 42, 107, .65), 0 0 0 2px rgba(255, 255, 255, .7) !important; }
.sp-sc-ava img, .sp-sc-ava span { border-color: #2563eb !important; background: #1d4ed8 !important; }
.sp-sc-num { box-shadow: 0 0 0 3px #2563eb !important; }
.sp-sc-txt em { color: #fff !important; opacity: .95; }
.sp-sc-txt small { background: rgba(255, 255, 255, .22) !important; }
/* путь тренера: линия и точки сдвинуты правее — точки и их свечение не обрезаются краем окна */
.ch-path { margin-left: 22px !important; overflow: visible !important; }
.ch { overflow-x: clip; overflow-y: visible; padding-left: 2px; }
/* «+2» курсивом: градиент заливки шире самих цифр, чтобы правый край наклонной цифры тоже был закрашен */
.sp-lab b { padding: .04em .18em .08em .08em; margin: 0 -.18em 0 -.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* наш значок «плей» — скруглённый треугольник, везде вместо символа ▶ */
.lb-pi { display: inline-block; width: .82em; height: .82em; vertical-align: -.06em; background: currentColor; flex: none;
  -webkit-mask: var(--ic-play) center / contain no-repeat; mask: var(--ic-play) center / contain no-repeat; }
.rv-play .lb-pi { display: none; }
/* кнопка «⟲ Хроника матча» у сыгранных матчей */
.lgs-replay { white-space: nowrap; }

/* Протокол → «Команды»: общие показатели обеих команд */
.fas-tc { display: grid; gap: 2px; margin: 2px 0 6px; }
.fas-tc-head { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: .86rem; color: var(--text-secondary, #64748b); padding: 0 2px 8px; }
.fas-tc-head span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.fas-tc-head .fas-tlogo { width: 22px; height: 22px; }
.fas-tc-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; column-gap: 10px; padding: 8px 2px 9px; border-top: 1px solid rgba(37, 99, 235, .08); }
.fas-tc-row > b { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1rem; color: var(--text-primary, #0f172a); }
.fas-tc-row > b:last-of-type { text-align: right; }
.fas-tc-row > b.win { color: #1d4ed8; }
.fas-tc-row > b small { font-weight: 700; font-size: .74rem; color: #64748b; margin-left: 6px; }
.fas-tc-lab { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: #475569; white-space: nowrap; }
.fas-tc-row.sub { padding-top: 4px; border-top: 0; }
.fas-tc-row.sub > b { font-size: .86rem; font-weight: 700; }
.fas-tc-row.sub .fas-tc-lab { font-size: .74rem; font-weight: 600; color: #94a3b8; }
.fas-tc-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 4px; height: 5px; margin-top: 6px; }
.fas-tc-bar i { display: block; height: 100%; border-radius: 99px; background: #cbd5e1; transition: width .5s ease; }
.fas-tc-bar i.h { margin-right: auto; }
.fas-tc-bar i.us { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.fas-tc-bar i.a.us { background: linear-gradient(270deg, #2563eb, #3b82f6); }
.fas-tc-row.sub .fas-tc-bar { height: 3px; }

/* Панель «Хроника матча» — наш синий градиент вместо тёмно-синего */
.lb-demo { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 60%, #3b82f6 100%) !important; box-shadow: 0 18px 40px -14px rgba(29, 78, 216, .6), inset 0 1px 0 rgba(255,255,255,.18) !important; transition: opacity .25s ease, transform .25s ease; }
.lb-demo.out { opacity: 0; transform: translate(-50%, 12px); }
.lb-demo-t small { color: rgba(255,255,255,.82) !important; }
.lb-demo button { background: rgba(255,255,255,.16) !important; }
.lb-demo button:hover { background: rgba(255,255,255,.28) !important; }
.lb-demo button.x { background: #fff !important; color: #1d4ed8 !important; }
.lb-demo button.x:hover { background: #eff6ff !important; }
.lb-demo-t { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.lb-demo-t b, .lb-demo-t small { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 759px) { .lb-demo-sub { display: none; } .lb-demo { width: calc(100vw - 24px); } .lb-demo button { padding: 0 9px; } }
.mx-ava > img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* Карточки игроков: перелив один раз при появлении (и при касании), в покое — без движения */
.lbc--legend:not(.is-active):not(.lbc-sweep) .lbc-foil { animation: none !important; }
.lbc--legend:not(.is-active):not(.lbc-sweep) .lbc-face::before { animation-play-state: paused; }
.lbc.lbc-sweep .lbc-foil { animation: lbcSweepFoil 1.8s cubic-bezier(.45, 0, .2, 1) both !important; }
.lbc.lbc-sweep .lbc-glare {
  opacity: 1; transition: none;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.7) 48%, rgba(255,255,255,.95) 50%, rgba(255,255,255,.7) 52%, transparent 62% 100%) no-repeat;
  background-size: 300% 300%; animation: lbcSweepGlare 1.8s cubic-bezier(.45, 0, .2, 1) both;
}
@keyframes lbcSweepFoil {
  0% { opacity: var(--foil, .2); background-position: 0% 0%, center; }
  45% { opacity: .62; }
  100% { opacity: var(--foil, .2); background-position: 100% 100%, center; }
}
@keyframes lbcSweepGlare { 0% { background-position: 100% 100%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { background-position: 0% 0%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lbc.lbc-sweep .lbc-foil, .lbc.lbc-sweep .lbc-glare { animation: none !important; } }

/* 🩹 — игрок пропустил игру (болел/травма) */
.player-avatar { position: relative; }
.lb-inj { appearance: none; -webkit-appearance: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit;
  width: 26px; height: 26px; min-width: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 15px; font-style: normal; line-height: 1;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, .35), 0 0 0 2px #fed7aa; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.player-avatar > .lb-inj, .pc-av > .lb-inj { position: absolute !important; left: calc(89% - 13px); top: calc(71% - 13px); right: auto; bottom: auto; z-index: 6; transform: none; }   /* на дуге справа, под номером */
.player-avatar.has-photo > .lb-inj { color: #0f172a; -webkit-text-fill-color: currentColor; }   /* у фото текст аватарки прозрачный (прячет инициалы) — значок 🩺 должен быть виден */
.lb-inj:active { transform: scale(.92); }
.lb-inj.sm { position: static; display: inline-grid; width: 20px; height: 20px; min-width: 20px; font-size: 12px; margin-left: 4px; vertical-align: -3px; box-shadow: 0 0 0 1.5px #fed7aa; }
.lb-inj-pop { position: fixed; z-index: 100000; max-width: min(280px, calc(100vw - 20px)); display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: #fff; color: #0f172a; font: 600 .86rem/1.3 var(--font-body, system-ui); box-shadow: 0 16px 40px -12px rgba(15, 23, 42, .35), 0 0 0 1px #fed7aa;
  opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .18s ease, transform .2s ease; pointer-events: auto; }
.lb-inj-pop.below { transform: translateY(-6px) scale(.96); }
.lb-inj-pop.on { opacity: 1; transform: none; }
.lb-inj-pop i { font-style: normal; font-size: 1.1rem; }
.lb-inj-pop::after { content: ''; position: absolute; left: calc(var(--ax, 50%) - 6px); bottom: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); box-shadow: 1px 1px 0 #fed7aa; }
.lb-inj-pop.below::after { bottom: auto; top: -6px; box-shadow: -1px -1px 0 #fed7aa; }
.fas-abs { display: block; font-size: .7rem; font-weight: 600; color: #c2410c; }
/* лидеры турнира: лучший наш и рекорд за матч */
.mx-ld-our { border-top: 1px dashed rgba(37, 99, 235, .25); margin-top: 2px; }
.mx-ld-our small { color: #3b82f6 !important; }
.mx-ld-rec { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.mx-ld-rec .mx-ld-rec-k { grid-column: 1 / -1; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #c2410c; margin-bottom: 3px; }
.mx-ld-rec b { grid-column: 1 / 3; font-size: .9rem; color: #0f172a; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-ld-rec small { grid-column: 1 / 3; grid-row: 3; font-size: .74rem; color: #64748b; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-ld-rec em { grid-column: 3; grid-row: 2 / 4; font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: #ea580c; }
.mx-ld-rec.us { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.mx-ld-rec.us .mx-ld-rec-k { color: #1d4ed8; } .mx-ld-rec.us b { color: #1d4ed8; } .mx-ld-rec.us em { color: #1d4ed8; }
/* лидеры: последняя карточка без пары (блок-шоты) — на всю ширину */
@media (min-width: 760px) { .mx-ld-grid > .mx-ld:not(.pir):last-child:nth-child(even) { grid-column: 1 / -1; } }
/* лидеры турнира: нажми на игрока — его карточка со всей статистикой */
.mx-ld-top[data-fas="player"], .mx-ld-r[data-fas="player"] { cursor: pointer; transition: background .2s ease, transform .2s ease; border-radius: 14px; }
.mx-ld-r[data-fas="player"]:hover { background: rgba(37, 99, 235, .06); }
.mx-ld-top[data-fas="player"]:hover { transform: translateY(-1px); }
.mx-ld-top[data-fas="player"]:active, .mx-ld-r[data-fas="player"]:active { transform: scale(.985); }
.fas-abs-note { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .82rem; font-weight: 600; color: #c2410c; }
.fas-abs-note .lb-inj.sm { margin: 0; }

/* поле пароля с «глазиком» */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap > input { width: 100%; padding-right: 48px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; padding: 0; border-radius: 10px; background: transparent; color: #64748b; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s, background .2s; }
.pw-eye:hover { color: #1d4ed8; background: rgba(37, 99, 235, .08); }
.pw-eye.on { color: #2563eb; }
.pw-eye:focus-visible { outline: 2px solid #3b82f6; outline-offset: 1px; }
/* окно с формой: клик мимо не закрывает — лёгкое «вздрагивание» */
@keyframes lbShake { 0%, 100% { translate: 0 0; } 20% { translate: -7px 0; } 40% { translate: 6px 0; } 60% { translate: -4px 0; } 80% { translate: 2px 0; } }
.modal.lb-shake { animation: lbShake .38s ease; }

/* плашки команд в эфире: обе колонки строго одинаковой ширины, длинная строка переносится, а не вылезает за край */
.lvx-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important; }
.lvx-side { min-width: 0; }
.lvx-ad { white-space: normal !important; text-align: center; }
@media (max-width: 640px) { .lvx-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
