/**
 * FootballCast — публичная тема: белый фон, красные акценты, компактная типографика
 */
:root {
  --fc-red: #c41e3a;
  --fc-red-dark: #9e1830;
  --fc-red-soft: #fde8ec;
  --fc-text: #1a1a1a;
  --fc-muted: #5c5c5c;
  --fc-border: #e8e8e8;
  --fc-surface: #ffffff;
  --fc-surface-2: #fafafa;
  /* Фон «полотна» страницы (не чисто белый — карточки на нём читаются лучше) */
  --fc-page-bg: #e8eaef;
  --fc-radius: 10px;
  --fc-radius-sm: 6px;
  --fc-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --fc-shadow-hover: 0 4px 14px rgba(196, 30, 58, 0.12);
  --fc-font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fc-fix-away: #2c3e50;
  --fc-fix-away-dark: #1e2b36;
}

/*
 * Светлая тема зафиксирована: Safari на iOS/macOS в тёмном режиме шлёт prefers-color-scheme: dark,
 * из‑за чего сайт выглядел «ломаной» тёмной версией. Ниже старые блоки @media (dark) отключены
 * условием (max-width: 0) — при необходимости вернуть автотему замените на (prefers-color-scheme: dark).
 */
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  :root {
    --fc-text: #e8eaed;
    --fc-muted: #9aa0a6;
    --fc-border: #3c4043;
    --fc-surface: #1e1e1e;
    --fc-surface-2: #121212;
    --fc-red-soft: rgba(196, 30, 58, 0.18);
    --fc-fix-away: #b8c5d0;
    --fc-fix-away-dark: #8a9bab;
  }
}

@media (prefers-color-scheme: dark) and (max-width: 0px) {
  html {
    color-scheme: dark;
  }
  .fc-navbar.navbar-light .nav-link {
    color: rgba(232, 234, 237, 0.88) !important;
  }
  .fc-navbar.navbar-light .nav-link:hover,
  .fc-navbar.navbar-light .nav-link:focus {
    color: #fff !important;
  }
  .fc-navbar .navbar-toggler {
    border-color: var(--fc-border);
  }
}

html {
  color-scheme: light;
  background-color: var(--fc-page-bg);
}

/* Ручная тёмная тема (переключатель + localStorage «fc_color_mode»; не зависит от prefers-color-scheme) */
html[data-bs-theme="dark"] {
  color-scheme: dark;
  --fc-text: #e8eaed;
  --fc-muted: #9aa0a6;
  --fc-border: #2d3238;
  --fc-surface: #1a1d24;
  --fc-surface-2: #13161c;
  --fc-page-bg: #0f1115;
  --fc-red-soft: rgba(196, 30, 58, 0.24);
  --fc-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  --fc-shadow-hover: 0 4px 18px rgba(0, 0, 0, 0.5);
  --fc-fix-away: #b8c5d0;
  --fc-fix-away-dark: #8a9bab;
  background-color: var(--fc-page-bg);
}

html[data-bs-theme="dark"] .fc-navbar.navbar-light .navbar-toggler {
  border-color: var(--fc-border);
}

html[data-bs-theme="dark"] .fc-navbar.navbar-light .navbar-toggler-icon {
  filter: invert(1) brightness(1.05);
}

html[data-bs-theme="dark"] .fc-page-breadcrumb {
  background: rgba(26, 29, 36, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

html[data-bs-theme="dark"] .fc-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: #141820;
  color: var(--fc-muted);
}

html[data-bs-theme="dark"] .fc-footer-brand {
  color: var(--fc-text);
}

html[data-bs-theme="dark"] .fc-footer-tagline,
html[data-bs-theme="dark"] .fc-footer-mail-label {
  color: var(--fc-muted);
}

html[data-bs-theme="dark"] .fc-footer-mail-wrap {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

html[data-bs-theme="dark"] .fc-footer-mail,
html[data-bs-theme="dark"] .fc-footer-links a,
html[data-bs-theme="dark"] .fc-footer-links .btn.btn-link {
  color: var(--fc-muted);
}
html[data-bs-theme="dark"] .fc-footer-links .btn.btn-link:hover,
html[data-bs-theme="dark"] .fc-footer-links .btn.btn-link:focus {
  color: var(--fc-red);
}

html[data-bs-theme="dark"] .fc-footer-minimal-row--bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="dark"] .fc-auth-oauth-btn--google {
  background: var(--fc-surface);
  color: var(--fc-text);
  border-color: var(--fc-border);
}

html[data-bs-theme="dark"] .fc-auth-oauth-btn--google:hover {
  background: var(--fc-surface-2);
  color: var(--fc-text);
  border-color: var(--fc-border);
}

html[data-bs-theme="dark"] body.fc-ui .card.bg-white,
html[data-bs-theme="dark"] body.fc-ui .card-header.bg-white,
html[data-bs-theme="dark"] body.fc-ui .card-footer.bg-white {
  background-color: var(--fc-surface) !important;
  color: var(--fc-text);
}

html[data-bs-theme="dark"] body.fc-ui .card-header.bg-white {
  border-color: var(--fc-border) !important;
}

html[data-bs-theme="dark"] .fc-auth-page {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 30, 58, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(30, 41, 59, 0.45), transparent 50%),
    var(--fc-page-bg);
}

html[data-bs-theme="dark"] .fc-auth-card {
  border-color: var(--fc-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

html[data-bs-theme="dark"] .fc-auth-card__head {
  border-bottom-color: var(--fc-border);
  background: linear-gradient(180deg, var(--fc-surface) 0%, var(--fc-surface-2) 100%);
}

/* Главная и /fixtures: табы + «кокон» табло и шапки лиг (раньше оставались светлыми) */
html[data-bs-theme="dark"] .fc-tabs-shell {
  background: linear-gradient(180deg, var(--fc-surface) 0%, var(--fc-surface-2) 100%);
  border-color: var(--fc-border);
  box-shadow: var(--fc-shadow);
}

@media (max-width: 991.98px) {
  html[data-bs-theme="dark"] .fc-tabs-shell--sticky-mobile {
    background: rgba(22, 25, 32, 0.94);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  }
}

html[data-bs-theme="dark"] .fc-tabs-shell .fc-subnav .nav-link.active {
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-bs-theme="dark"] .fc-home-match-panel {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #161a22 0%, #10141c 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 8px 28px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-bs-theme="dark"] .fc-home-match-panel .fc-scoreboard {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 2px 14px rgba(0, 0, 0, 0.35);
}

html[data-bs-theme="dark"] .fc-home-match-panel .fc-sb-league-head {
  background: linear-gradient(180deg, #1e232e 0%, #171c26 100%);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

html[data-bs-theme="dark"] .fc-sb-league-head {
  background: linear-gradient(180deg, #1e232e 0%, #171c26 100%);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

html[data-bs-theme="dark"] .fc-home-match-panel .fc-sb-row {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

html[data-bs-theme="dark"] .fc-league-filter-label {
  background: rgba(255, 255, 255, 0.04);
}

html[data-bs-theme="dark"] .fc-lf-chip {
  background: rgba(255, 255, 255, 0.07);
  color: var(--fc-muted);
}

html[data-bs-theme="dark"] .fc-lf-chip:hover {
  color: var(--fc-text);
}

html[data-bs-theme="dark"] .fc-fixtures-page.fc-home-match-panel {
  background: linear-gradient(180deg, #161a22 0%, #10141c 100%);
}

html[data-bs-theme="dark"] .fc-fixtures-page.fc-home-match-panel .fc-sb-league {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  background: var(--fc-surface);
}

html[data-bs-theme="dark"] .fc-fixtures-page.fc-home-match-panel .fc-sb-league-head {
  background: linear-gradient(180deg, #1e232e 0%, #171c26 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
  html[data-bs-theme="dark"] .fc-home-date-nav .fc-date-rail-track {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-color: var(--fc-border);
  }

  html[data-bs-theme="dark"] .fc-home-date-nav .fc-date-rail-nav:hover {
    color: var(--fc-text);
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  html[data-bs-theme="dark"] .fc-home-tabs-shell {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(26, 29, 36, 0.98) 0%, rgba(17, 20, 26, 0.98) 100%);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  }

  html[data-bs-theme="dark"] .fc-home-tabs-shell #mainTabs.fc-subnav-main .nav-link {
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--fc-surface);
    color: var(--fc-muted);
  }

  html[data-bs-theme="dark"] .fc-home-tabs-shell #mainTabs.fc-subnav-main .nav-link.active {
    border-color: rgba(255, 255, 255, 0.12);
  }

  html[data-bs-theme="dark"] .fc-home-calendar-fab {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  }
}

.fc-body {
  font-family: var(--fc-font);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--fc-text);
  /* Поверх Bootstrap (data-bs-theme=light даёт белый body) */
  background: var(--fc-page-bg) !important;
  -webkit-font-smoothing: antialiased;
}

/* Навбар */
.fc-navbar {
  position: relative;
  z-index: 1030;
  border-bottom: 1px solid var(--fc-border);
  background: var(--fc-surface) !important;
  min-height: 52px;
}
.fc-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fc-red) !important;
  letter-spacing: -0.02em;
}
.fc-navbar .nav-link {
  padding: 0.4rem 0.65rem !important;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fc-text) !important;
  border-radius: var(--fc-radius-sm);
}
.fc-navbar .nav-link:hover {
  background: var(--fc-red-soft);
  color: var(--fc-red) !important;
}
.fc-navbar .nav-link.active {
  color: var(--fc-red) !important;
  background: var(--fc-red-soft);
  border-bottom: none !important;
}

@media (min-width: 992px) {
  /* На десктопе не переносим подпись пункта меню под иконку */
  .fc-navbar .navbar-nav > .nav-item > .nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.2;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  /* Плотная ширина: слегка ужимаем меню, чтобы не конфликтовало с поиском/профилем */
  .fc-navbar .navbar-nav > .nav-item > .nav-link {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.765rem;
  }
}

/* Мобилка: «Войти»/аккаунт + меню — одна «сегмент»-группа (общая рамка, разделитель) */
.fc-navbar-mobile-auth {
  --fc-mnav-act: 2.5rem;
  --fc-mnav-br: rgba(196, 30, 58, 0.32);
  align-items: center;
}
.fc-navbar-mobile-actions-track {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--fc-mnav-br);
  border-radius: var(--fc-radius);
  /* не hidden — иначе обрезается dropdown меню профиля */
  overflow: visible;
  background: var(--fc-surface);
  box-shadow: var(--fc-shadow);
  position: relative;
}
/* Бейдж непрочитанных уведомлений на аватаре (моб. полоска и десктоп) */
.fc-navbar-avatar-wrap {
  flex-shrink: 0;
}
.fc-navbar-avatar-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 13px;
  min-width: 13px;
  max-width: 28px;
  padding: 0 3px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  background: var(--fc-red);
  border-radius: 999px;
  border: 1px solid var(--fc-surface);
  box-sizing: border-box;
  pointer-events: none;
}

/* Личные сообщения (DM) */
.fc-dm-bubble--mine {
  background: var(--fc-red-soft);
  border: 1px solid rgba(196, 30, 58, 0.22);
  color: var(--fc-text);
}
.fc-dm-bubble--other {
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
  color: var(--fc-text);
}

.fc-navbar-mobile-actions-track .fc-navbar-mobile-profile > .dropdown-toggle::after {
  display: none !important;
}
.fc-navbar-mobile-actions-track .fc-navbar-mobile-profile-dd {
  min-width: 14rem;
  z-index: 1060 !important;
}
.fc-navbar-mobile-actions-track .dropdown.show {
  z-index: 1065;
}
.fc-navbar-mobile-actions-track > .btn.btn-outline-primary.btn-sm {
  min-height: var(--fc-mnav-act);
  padding: 0.3rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  white-space: nowrap;
  font-weight: 600;
  line-height: 1.1;
  color: var(--fc-red) !important;
  background: var(--fc-surface) !important;
}
.fc-navbar-mobile-actions-track > .btn.btn-outline-primary.btn-sm:hover,
.fc-navbar-mobile-actions-track > .btn.btn-outline-primary.btn-sm:focus {
  background: var(--fc-red-soft) !important;
  color: var(--fc-red-dark) !important;
}
.fc-navbar-mobile-actions-track > .btn.btn-outline-primary.btn-sm:focus-visible {
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 2px rgba(196, 30, 58, 0.35) !important;
}
.fc-navbar-mobile-actions-track > .dropdown {
  display: flex;
  align-items: stretch;
}
.fc-navbar-mobile-actions-track > .dropdown > .btn.btn-sm {
  min-height: var(--fc-mnav-act);
  display: inline-flex;
  align-items: center;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  color: var(--fc-text);
  background: var(--fc-surface) !important;
  padding-inline: 0.65rem;
}
.fc-navbar-mobile-actions-track > .dropdown > .btn.btn-sm:hover,
.fc-navbar-mobile-actions-track > .dropdown > .btn.btn-sm:focus {
  background: var(--fc-red-soft) !important;
  color: var(--fc-red) !important;
}
.fc-navbar-mobile-actions-track > .dropdown > .btn.btn-sm:focus-visible {
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 2px rgba(196, 30, 58, 0.28) !important;
}
.fc-navbar-mobile-actions-track > .navbar-toggler.fc-navbar-mobile-menu-btn {
  width: var(--fc-mnav-act);
  min-width: var(--fc-mnav-act);
  min-height: var(--fc-mnav-act);
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-left: 1px solid var(--fc-mnav-br) !important;
  border-radius: 0;
  box-shadow: none !important;
  background: var(--fc-surface) !important;
}
.fc-navbar-mobile-actions-track > .navbar-toggler.fc-navbar-mobile-menu-btn:focus,
.fc-navbar-mobile-actions-track > .navbar-toggler.fc-navbar-mobile-menu-btn:hover {
  background: var(--fc-surface-2) !important;
}
.fc-navbar-mobile-actions-track > .navbar-toggler.fc-navbar-mobile-menu-btn:focus-visible {
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 2px rgba(196, 30, 58, 0.28) !important;
}
.fc-navbar-mobile-actions-track > .navbar-toggler.fc-navbar-mobile-menu-btn .navbar-toggler-icon {
  width: 1.35rem;
  height: 1.35rem;
}
/* Скругления краёв сегментов — правила в конце, иначе перебиваются border-radius: 0 выше */
.fc-navbar-mobile-actions-track > .btn.btn-outline-primary.btn-sm:first-child {
  border-radius: calc(var(--fc-radius) - 1px) 0 0 calc(var(--fc-radius) - 1px) !important;
}
.fc-navbar-mobile-actions-track > .dropdown:first-child > .btn.btn-sm {
  border-radius: calc(var(--fc-radius) - 1px) 0 0 calc(var(--fc-radius) - 1px) !important;
}
.fc-navbar-mobile-actions-track > .navbar-toggler.fc-navbar-mobile-menu-btn:last-child {
  border-radius: 0 calc(var(--fc-radius) - 1px) calc(var(--fc-radius) - 1px) 0 !important;
}
.fc-navbar-mobile-actions-track:focus-within {
  border-color: rgba(196, 30, 58, 0.45);
}

/* Контейнер основной */
.fc-main {
  padding-top: 1rem;
  padding-bottom: 0.75rem;
}
.fc-footer.mt-4 {
  margin-top: 0.5rem !important;
}

/* Безопасные зоны iPhone (вырез, индикатор «домой») + горизонталь в ландшафте */
@supports (padding: max(0px)) {
  .fc-body main.fc-main {
    padding-bottom: max(0.75rem, calc(0.35rem + env(safe-area-inset-bottom, 0px)));
  }
  .fc-body main.fc-main > .container {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
  .fc-body .fc-navbar .container {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
  .fc-body .fc-footer .container {
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }
}

/* Чуть уже стандартного Bootstrap — одна линия с шапкой и футером */
@media (min-width: 576px) {
  .fc-body .fc-navbar .container,
  .fc-body main.fc-main > .container,
  .fc-body .fc-footer .container {
    max-width: 528px;
  }
}
@media (min-width: 768px) {
  .fc-body .fc-navbar .container,
  .fc-body main.fc-main > .container,
  .fc-body .fc-footer .container {
    max-width: 704px;
  }
}
@media (min-width: 992px) {
  .fc-body .fc-navbar .container,
  .fc-body main.fc-main > .container,
  .fc-body .fc-footer .container {
    max-width: 920px;
  }
}
@media (min-width: 1200px) {
  .fc-body .fc-navbar .container,
  .fc-body main.fc-main > .container,
  .fc-body .fc-footer .container {
    max-width: 1080px;
  }
}
@media (min-width: 1400px) {
  .fc-body .fc-navbar .container,
  .fc-body main.fc-main > .container,
  .fc-body .fc-footer .container {
    max-width: 1220px;
  }
}

/* Карточки */
.fc-card {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
  overflow: hidden;
}
.fc-card-header {
  position: relative;
  padding: 0.5rem 0.85rem 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: linear-gradient(180deg, var(--fc-surface) 0%, var(--fc-surface-2) 100%);
  border-bottom: 1px solid var(--fc-border);
  color: var(--fc-text);
}
.fc-card-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--fc-red);
  border-radius: var(--fc-radius) 0 0 0;
}
.fc-card-body {
  padding: 0.75rem 0.85rem;
}

/* LIVE */
.fc-live-banner {
  background: linear-gradient(135deg, var(--fc-red) 0%, var(--fc-red-dark) 100%);
  color: #fff;
  border-radius: var(--fc-radius);
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.35);
}
.fc-live-banner .fc-live-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: fc-pulse 1.4s ease-in-out infinite;
}
@keyframes fc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.92); }
}

.fc-live-card {
  border: 1px solid var(--fc-border);
  border-left: 4px solid var(--fc-red);
  border-radius: var(--fc-radius);
  background: var(--fc-surface);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.fc-live-card:hover {
  box-shadow: var(--fc-shadow-hover);
  border-left-color: var(--fc-red-dark);
}

.fc-badge-live {
  background: var(--fc-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.fc-badge-ft {
  background: #198754;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.fc-badge-ns {
  background: #6c757d;
  color: #fff;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Поднавигация (главная) */
.fc-subnav {
  gap: 0.35rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--fc-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem !important;
}
.fc-subnav .nav-link {
  color: var(--fc-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem !important;
  border-radius: var(--fc-radius-sm);
  border: 1px solid transparent;
}
.fc-subnav .nav-link:hover {
  color: var(--fc-red);
  background: var(--fc-red-soft);
}
.fc-subnav .nav-link.active {
  color: #fff !important;
  background: var(--fc-red) !important;
  border-color: var(--fc-red);
}

/* Рельса дат */
.fc-date-rail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
}
.fc-date-rail a {
  text-decoration: none;
}
.fc-date-rail .fc-date-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: var(--fc-radius-sm);
  border: 1px solid var(--fc-border);
  color: var(--fc-text);
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--fc-surface-2);
}
.fc-date-rail .fc-date-nav:hover {
  border-color: var(--fc-red);
  color: var(--fc-red);
  background: var(--fc-red-soft);
}
.fc-date-rail input[type="date"] {
  font-size: 0.8125rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  max-width: 11rem;
}
.fc-date-rail .btn-fc-primary {
  background: var(--fc-red);
  border-color: var(--fc-red);
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.35rem 0.75rem;
}
.fc-date-rail .btn-fc-primary:hover {
  background: var(--fc-red-dark);
  border-color: var(--fc-red-dark);
  color: #fff;
}

/* Календарь /fixtures: рельса + дата + OK в одной линии без «сползания» кнопки */
.fc-date-rail--fixtures {
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  column-gap: 0.5rem;
}
.fc-fixtures-date-pick-form {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
}
.fc-fixtures-date-input-group {
  width: auto;
  min-width: 9.5rem;
  flex-shrink: 0;
}
.fc-fixtures-date-input-group .form-control[type="date"] {
  min-height: 31px;
  line-height: 1.25;
}
.fc-fixtures-date-input-group .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}
@media (max-width: 575.98px) {
  .fc-date-rail--fixtures .fc-fixtures-date-pick-form {
    width: 100%;
    justify-content: flex-end;
  }
  .fc-date-rail--fixtures .fc-fixtures-date-input-group {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }
}

/* Крошки: общая панель (календарь матчей и др.; страница матча дополняет в fc-fixture.css) */
.fc-page-breadcrumb {
  padding: 0.4rem 0.55rem 0.45rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.fc-page-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  row-gap: 0.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.fc-page-breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.fc-page-breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

.fc-page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  float: none;
  padding: 0 0.4rem 0 0.15rem;
  font-size: 0.95em;
  font-weight: 700;
  color: var(--fc-muted);
  opacity: 0.55;
}

.fc-fixtures-date-page .fc-page-breadcrumb__current {
  font-weight: 700;
  color: var(--fc-text) !important;
}

/* ---------- /fixtures: календарь в шапке карточки (компактно) ---------- */
.fc-fixtures-list-head {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.015) 0%, transparent 100%);
}
.fc-fixtures-date-embed {
  flex: 0 1 auto;
  min-width: 0;
}
@media (max-width: 575.98px) {
  .fc-fixtures-list-head {
    flex-direction: column;
    align-items: stretch !important;
  }
  .fc-fixtures-date-embed {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

/* Компактная рельса (как на главной, но меньше) — только в карточке матчей */
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-home-date-nav-row {
  margin: 0;
  width: auto;
  max-width: 100%;
  gap: 0.28rem;
  justify-content: flex-end;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-home-date-nav {
  justify-content: flex-end;
  width: auto;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-track {
  padding: 1px;
  gap: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-nav {
  padding: 0.1rem 0.28rem 0.1rem 0.24rem;
  border-radius: 7px;
  font-size: 0.62rem;
  gap: 0.18rem;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-nav--next {
  padding: 0.1rem 0.24rem 0.1rem 0.28rem;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-nav i {
  font-size: 0.48rem;
  opacity: 0.55;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-nav-stack {
  line-height: 1.08;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-nav-label {
  font-size: 0.42rem;
  letter-spacing: 0.05em;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-nav-date {
  font-size: 0.62rem;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-nav.fc-date-rail-current {
  min-width: 2.75rem;
  padding: 0.08rem 0.3rem;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.22);
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-nav.fc-date-rail-current .fc-date-rail-nav-date {
  font-size: 0.64rem;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-calendar {
  width: 1.58rem;
  height: 1.58rem;
  border-radius: 7px;
}
.fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-calendar .fa-calendar-alt {
  font-size: 0.65rem;
}

@media (min-width: 992px) {
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-home-date-nav-row {
    justify-content: flex-end;
    width: auto;
    margin: 0;
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-home-date-nav {
    justify-content: flex-end;
    width: auto;
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-track {
    padding: 1px;
    gap: 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.035);
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav {
    padding: 0.1rem 0.26rem;
    font-size: 0.6rem;
    border-radius: 7px;
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav--next {
    padding: 0.1rem 0.26rem;
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav-label {
    font-size: 0.4rem;
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav-date {
    font-size: 0.6rem;
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current {
    min-width: 2.65rem;
    padding: 0.08rem 0.28rem;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.22);
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current .fc-date-rail-nav-date {
    font-size: 0.62rem;
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-date-rail-calendar {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 7px;
  }
  .fc-fixtures-list-card .fc-fixtures-date-compact.fc-home-tabs-shell .fc-date-rail-calendar .fa-calendar-alt {
    font-size: 0.64rem;
  }
}

.fc-fixtures-list-card {
  overflow: hidden;
}
.fc-fix-feed {
  padding: 0.4rem 0.45rem 0.5rem;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(196, 30, 58, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--fc-surface-2) 0%, var(--fc-surface) 100%);
}
.fc-fixtures-date-page .fc-fix-feed {
  padding: 0.5rem 0.55rem 0.6rem;
  background: var(--fc-page-bg);
}
.fc-fixtures-date-page {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Матчи: баннер «ближайший старт», тулбар, липкие заголовки лиг */
.fc-fix-next-banner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(196, 30, 58, 0.22);
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.07) 0%, rgba(255, 255, 255, 0.92) 100%);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.fc-fix-next-banner:hover {
  border-color: rgba(196, 30, 58, 0.4);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.12);
  color: inherit;
}
.fc-fix-next-banner__l {
  flex-shrink: 0;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fc-red);
}
.fc-fix-next-banner__m {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 700;
}
.fc-fix-next-banner__t {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--fc-text);
}
.fc-fix-next-banner__go {
  flex-shrink: 0;
  font-size: 0.55rem;
  opacity: 0.4;
}
.fc-fixtures-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.fc-fixtures-toolbar__tz {
  font-size: 0.62rem;
  white-space: nowrap;
}
.fc-fixtures-toolbar__search {
  position: relative;
  flex: 1 1 140px;
  min-width: 0;
  max-width: 16rem;
}
.fc-fixtures-toolbar__search-ic {
  position: absolute;
  left: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.58rem;
  color: var(--fc-muted);
  pointer-events: none;
  opacity: 0.65;
}
.fc-fixtures-toolbar__input {
  padding-left: 1.65rem !important;
  font-size: 0.8125rem !important;
  border-radius: 8px !important;
}
.fc-fixtures-toolbar__ics {
  flex-shrink: 0;
  font-size: 0.7rem !important;
  border-radius: 8px !important;
}
.fc-fixtures-live-chip {
  flex-shrink: 0;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: var(--fc-surface) !important;
  color: var(--fc-muted) !important;
  display: inline-flex !important;
  align-items: center !important;
}
.fc-fixtures-live-chip .fc-sb-live-dot {
  width: 6px !important;
  height: 6px !important;
  min-height: 0 !important;
  margin: 0 !important;
}
.fc-fixtures-live-chip__n {
  margin-left: 0.15rem;
  font-size: 0.58rem;
  font-weight: 800;
  background: rgba(196, 30, 58, 0.12);
  color: var(--fc-red);
  padding: 0.06rem 0.32rem;
  border-radius: 999px;
}
.fc-fixtures-live-chip.active {
  border-color: rgba(196, 30, 58, 0.45) !important;
  background: rgba(196, 30, 58, 0.08) !important;
  color: var(--fc-red-dark) !important;
}
.fc-fixtures-date-page .fc-fix-group-head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--fc-page-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  cursor: default;
}

.fc-fixtures-date-page .fc-fix-group-head a,
.fc-fixtures-date-page .fc-fix-group-head button {
  cursor: pointer;
}

.fc-fixtures-date-page .fc-fixtures-toolbar__search {
  cursor: default;
}

.fc-fixtures-date-page .fc-fixtures-toolbar__input {
  cursor: text;
}
.fc-fix-row__live-slot {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: 0.55rem;
  flex-shrink: 0;
  min-height: 1em;
}
@media (max-width: 576px) {
  .fc-fixtures-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .fc-fixtures-toolbar__search {
    max-width: none;
  }
  .fc-fixtures-toolbar__ics {
    align-self: flex-start;
  }
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fix-feed {
    background:
      radial-gradient(120% 70% at 100% 0%, rgba(196, 30, 58, 0.1) 0%, transparent 50%),
      linear-gradient(180deg, var(--fc-surface-2) 0%, var(--fc-surface) 100%);
  }
}
.fc-fixtures-date-page .fc-fix-group {
  margin-bottom: 0.55rem;
}
.fc-fixtures-date-page .fc-fix-group:last-child {
  margin-bottom: 0;
}
.fc-fix-group-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.45rem;
  margin-bottom: 0.35rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--fc-red);
}
.fc-fix-group--featured .fc-fix-group-head {
  background: linear-gradient(90deg, rgba(196, 30, 58, 0.08) 0%, rgba(0, 0, 0, 0.02) 42%);
  border-color: rgba(196, 30, 58, 0.15);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fix-group-head {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
  }
  .fc-fix-group--featured .fc-fix-group-head {
    background: linear-gradient(90deg, rgba(196, 30, 58, 0.15) 0%, rgba(255, 255, 255, 0.03) 45%);
  }
}
.fc-fix-group-head__logo {
  flex-shrink: 0;
  border-radius: 5px;
  object-fit: contain;
}
.fc-fix-group-head__name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fc-text);
  text-decoration: none;
}
.fc-fix-group-head__name:hover {
  color: var(--fc-red);
}
.fc-fix-group-head__name--plain {
  display: inline-block;
}
.fc-fix-group-head__sub {
  font-size: 0.58rem;
  line-height: 1.3;
  margin-top: 0.04rem;
}
.fc-fix-group-head__badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--fc-muted);
  background: var(--fc-surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
}
.fc-fix-group__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.fc-fixtures-date-page .fc-fix-date-league-table {
  border-radius: 10px;
}
.fc-fix-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 9px 9px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--fc-surface);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fix-table-wrap {
    border-color: rgba(255, 255, 255, 0.1);
  }
}
.fc-fixtures-grid-table {
  --fc-comp-grid-pad-x: 0.38rem;
}
.fc-fixtures-grid-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--fc-surface-2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fixtures-grid-table thead th {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}
.fc-fixtures-grid-th--meta {
  width: 3.35rem;
}
.fc-fixtures-grid-th--score {
  width: 3.6rem;
}
.fc-fixtures-grid-th--act {
  width: 4.5rem;
}
.fc-fixtures-grid-tr,
.fc-fixtures-grid-anal[data-href] {
  cursor: pointer;
}
.fc-fixtures-grid-tr:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}
.fc-fixtures-grid-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.28rem;
  min-width: 0;
}
.fc-fixtures-grid-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
  min-width: 0;
}
.fc-fixtures-grid-meta-time {
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fc-text);
}
.fc-fixtures-grid-meta-primary {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.fc-fixtures-grid-tr--live .fc-fixtures-grid-meta-primary {
  color: var(--fc-red);
  font-size: 0.62rem;
}
.fc-fixtures-grid-tr--ft .fc-fixtures-grid-meta-primary {
  color: var(--fc-muted);
  font-weight: 700;
}
.fc-fixtures-grid-team {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  width: 100%;
}
.fc-fixtures-grid-td--home .fc-fixtures-grid-team {
  justify-content: flex-start;
}
.fc-fixtures-grid-team__col {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
  /* stretch: иначе при flex-start/flex-end дети не занимают ширину ячейки — text-truncate не срабатывает */
  align-items: stretch;
  min-width: 0;
  flex: 1 1 0;
}
.fc-fixtures-grid-team__col--away {
  text-align: right;
}
.fc-fixtures-grid-team__logo {
  flex-shrink: 0;
  width: 22px !important;
  height: 22px !important;
  border-radius: 4px;
  object-fit: contain;
  background: var(--fc-surface-2);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.fc-fixtures-grid-team__logo-ph {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  font-size: 0.62rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.fc-fixtures-grid-team__name {
  font-size: 0.68rem;
  font-weight: 600;
  min-width: 0;
  line-height: 1.2;
}
@media (min-width: 576px) {
  .fc-fixtures-grid-team__name {
    font-size: 0.72rem;
  }
}
.fc-fixtures-grid-team__name-txt {
  color: var(--fc-text);
  cursor: inherit;
  display: block;
  max-width: 100%;
}
.fc-fixtures-grid-team__formation {
  font-size: 0.52rem;
  color: var(--fc-muted);
  line-height: 1.1;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fc-fixtures-grid-goals {
  font-weight: 800;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--fc-text);
}
.fc-fixtures-grid-goals--pending {
  font-weight: 600;
  font-size: 0.74rem;
  color: var(--fc-muted);
}
.fc-fixtures-grid-goals__sep {
  opacity: 0.45;
  margin: 0 0.06em;
}
.fc-fixtures-grid-pen,
.fc-fixtures-grid-ht {
  font-size: 0.52rem;
  font-weight: 600;
  margin-top: 0.06rem;
}
.fc-fixtures-grid-ctx {
  font-size: 0.58rem;
  line-height: 1.35;
}
.fc-fixtures-grid-ctx__line + .fc-fixtures-grid-ctx__line {
  margin-top: 0.12rem;
}
.fc-fixtures-grid-ctx__warn {
  color: #b45309;
  font-weight: 600;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fixtures-grid-ctx__warn {
    color: #fbbf24;
  }
}
.fc-fixtures-grid-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.15rem 0.22rem;
}
.fc-fixtures-grid-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.12rem;
  margin-right: 0.08rem;
}
.fc-fixtures-grid-chip {
  font-size: 0.5rem;
  font-weight: 800;
  padding: 0.06rem 0.28rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--fc-muted);
  line-height: 1.2;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fixtures-grid-chip {
    background: rgba(255, 255, 255, 0.08);
  }
}
.fc-fixtures-grid-act--modal {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.fc-fixtures-grid-act--modal:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: 2px;
}
.fc-fixtures-grid-anal[data-href]:hover .fc-fixtures-grid-anal-cell {
  background: rgba(196, 30, 58, 0.04) !important;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fixtures-grid-anal[data-href]:hover .fc-fixtures-grid-anal-cell {
    background: rgba(196, 30, 58, 0.1) !important;
  }
}
.fc-fixtures-grid-anal .fc-fixtures-grid-anal-cell {
  padding-top: 0.25rem !important;
  padding-bottom: 0.3rem !important;
  background: rgba(0, 0, 0, 0.02) !important;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fixtures-grid-anal .fc-fixtures-grid-anal-cell {
    background: rgba(255, 255, 255, 0.03) !important;
  }
}
.fc-fixtures-grid-table .fc-sb-row-analytics {
  border: none;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.03);
  padding: 0.25rem 0.35rem;
  margin: 0;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fixtures-grid-table .fc-sb-row-analytics {
    background: rgba(255, 255, 255, 0.04);
  }
}
.fc-fixtures-grid-table .fc-sb-anal-head {
  font-size: 0.5rem;
}
.fc-fixtures-grid-table .fc-form-pip {
  width: 0.68rem;
  height: 0.68rem;
  font-size: 0.44rem;
}
@media (prefers-reduced-motion: reduce) {
  .fc-fixtures-grid-tr,
  .fc-fixtures-grid-anal[data-href] {
    transition: none;
  }
}

/* Календарь «Матчи»: более плотная таблица матчей */
.fc-fixtures-date-page .fc-fixtures-grid-table {
  --fc-comp-grid-pad-x: 0.24rem;
  font-size: 0.64rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-table .fc-comp-grid-th {
  padding: 0.18rem var(--fc-comp-grid-pad-x);
  font-size: 0.44rem;
  letter-spacing: 0.06em;
}
.fc-fixtures-date-page .fc-fixtures-grid-table .fc-comp-grid-td {
  padding: 0.14rem var(--fc-comp-grid-pad-x);
}
.fc-fixtures-date-page .fc-fixtures-grid-th--meta {
  width: 2.75rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-th--score {
  width: 2.95rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-th--act {
  width: 3.55rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-meta {
  gap: 0.18rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-meta-stack {
  gap: 0.02rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-meta-time {
  font-size: 0.64rem;
  line-height: 1.1;
}
.fc-fixtures-date-page .fc-fixtures-grid-meta-primary {
  font-size: 0.5rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-tr--live .fc-fixtures-grid-meta-primary {
  font-size: 0.54rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-team {
  gap: 0.18rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-team__logo {
  width: 18px !important;
  height: 18px !important;
  border-radius: 3px;
}
.fc-fixtures-date-page .fc-fixtures-grid-team__logo-ph {
  width: 18px;
  height: 18px;
  font-size: 0.52rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-team__name {
  font-size: 0.62rem;
  line-height: 1.15;
}
@media (min-width: 576px) {
  .fc-fixtures-date-page .fc-fixtures-grid-team__name {
    font-size: 0.66rem;
  }
}
.fc-fixtures-date-page .fc-fixtures-grid-team__formation {
  font-size: 0.46rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-team__col {
  gap: 0.02rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-goals {
  font-size: 0.7rem;
  line-height: 1.1;
}
.fc-fixtures-date-page .fc-fixtures-grid-goals--pending {
  font-size: 0.64rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-pen,
.fc-fixtures-date-page .fc-fixtures-grid-ht {
  font-size: 0.46rem;
  margin-top: 0.04rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-ctx {
  font-size: 0.52rem;
  line-height: 1.28;
}
.fc-fixtures-date-page .fc-fixtures-grid-ctx__line + .fc-fixtures-grid-ctx__line {
  margin-top: 0.08rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-actions {
  gap: 0.1rem 0.14rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-chips {
  gap: 0.08rem;
  margin-right: 0.04rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-chip {
  font-size: 0.46rem;
  padding: 0.04rem 0.22rem;
  border-radius: 3px;
}
.fc-fixtures-date-page .fc-fixtures-grid-table .fc-comp-grid-act {
  width: 1.42rem;
  height: 1.42rem;
  font-size: 0.58rem;
  border-radius: 5px;
}
.fc-fixtures-date-page .fc-fixtures-grid-anal .fc-fixtures-grid-anal-cell {
  padding-top: 0.16rem !important;
  padding-bottom: 0.18rem !important;
}
.fc-fixtures-date-page .fc-fixtures-grid-table .fc-sb-row-analytics {
  padding: 0.16rem 0.26rem;
  border-radius: 5px;
}
.fc-fixtures-date-page .fc-fixtures-grid-table .fc-sb-anal-head {
  font-size: 0.46rem;
}
.fc-fixtures-date-page .fc-fixtures-grid-table .fc-form-pip {
  width: 0.6rem;
  height: 0.6rem;
  font-size: 0.4rem;
}
.fc-fixtures-date-page .fc-fix-group-head {
  padding: 0.26rem 0.38rem;
  margin-bottom: 0.28rem;
  gap: 0.35rem;
}
.fc-fixtures-date-page .fc-fix-group-head__name {
  font-size: 0.66rem;
}
.fc-fixtures-date-page .fc-fix-group-head__sub {
  font-size: 0.52rem;
}
.fc-fixtures-date-page .fc-fix-group-head__badge {
  font-size: 0.5rem;
  padding: 0.06rem 0.3rem;
}
.fc-fixtures-date-page .fc-fix-feed {
  padding: 0.4rem 0.45rem 0.5rem;
}

/* Календарь /fixtures: плоский список как у live-score */
.fc-fix-league-matches {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--fc-surface);
  overflow: hidden;
}
.fc-fix-row {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
  transition: background 0.12s ease;
  -webkit-tap-highlight-color: rgba(196, 30, 58, 0.12);
  touch-action: manipulation;
}
.fc-fix-row:active {
  background: rgba(196, 30, 58, 0.08);
}
.fc-fix-league-matches .fc-fix-row:last-child {
  border-bottom: 0;
}
.fc-fix-row:hover {
  background: rgba(196, 30, 58, 0.045);
}
.fc-fix-row:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}
.fc-fix-row--live {
  box-shadow: inset 3px 0 0 var(--fc-red);
  background: rgba(196, 30, 58, 0.04);
}
.fc-fix-row--ft {
  opacity: 0.96;
}
.fc-fix-row__inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.36rem 0.45rem 0.34rem;
}
.fc-fix-row__time {
  flex: 0 0 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.18rem;
  min-width: 0;
}
.fc-fix-row__time-stack {
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
  min-width: 0;
}
.fc-fix-row__clock {
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fc-text);
}
.fc-fix-row__state {
  font-size: 0.48rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--fc-muted);
  line-height: 1.1;
}
.fc-fix-row--live .fc-fix-row__state {
  color: var(--fc-red);
  font-size: 0.52rem;
}
.fc-fix-row__match {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.3rem 0.4rem;
  align-items: center;
  min-width: 0;
}
.fc-fix-row__team {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
}
.fc-fix-row__team--home {
  justify-content: flex-start;
}
.fc-fix-row__team--away {
  justify-content: flex-end;
}
.fc-fix-row__logo {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
  background: var(--fc-surface-2);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.fc-fix-row__logo-ph {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  font-size: 0.58rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.fc-fix-row__names {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 0.28rem;
  min-width: 0;
}
.fc-fix-row__names--home {
  justify-content: flex-end;
}
.fc-fix-row__names--away {
  justify-content: flex-end;
}
.fc-fix-row__rk {
  flex-shrink: 0;
  font-size: 0.48rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--fc-muted);
  opacity: 0.85;
}
.fc-fix-row__name {
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fc-text);
  min-width: 0;
}
@media (min-width: 576px) {
  .fc-fix-row__name {
    font-size: 0.72rem;
  }
}
.fc-fix-row__form {
  font-size: 0.46rem;
  color: var(--fc-muted);
  flex-shrink: 0;
}
.fc-fix-row__scorecell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 2.45rem;
  padding: 0 0.15rem;
}
.fc-fix-row__score {
  font-weight: 800;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--fc-text);
}
.fc-fix-row__score--vs {
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--fc-muted);
}
.fc-fix-row__score-dot {
  opacity: 0.4;
  margin: 0 0.05em;
}
.fc-fix-row__sub {
  font-size: 0.44rem;
  font-weight: 600;
  color: var(--fc-muted);
  line-height: 1.15;
  margin-top: 0.04rem;
}
.fc-fix-row__acts {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
}
.fc-fix-row__dots {
  display: inline-flex;
  gap: 3px;
  margin-right: 0.12rem;
}
.fc-fix-row__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
}
.fc-fix-row__dot--ev {
  background: var(--fc-red);
  opacity: 0.65;
}
.fc-fix-row__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.38rem;
  height: 1.38rem;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--fc-muted);
  font-size: 0.56rem;
  cursor: pointer;
  transition:
    color 0.12s ease,
    background 0.12s ease;
}
.fc-fix-row__btn:hover {
  color: var(--fc-red);
  background: rgba(0, 0, 0, 0.04);
}
.fc-fix-row__btn:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: 1px;
}
.fc-fix-row__chev {
  font-size: 0.5rem;
  color: var(--fc-muted);
  opacity: 0.45;
  padding: 0 0.1rem;
  pointer-events: none;
}
.fc-fix-row:hover .fc-fix-row__chev {
  opacity: 0.75;
  color: var(--fc-red);
}

/* /fixtures на мобиле и iPhone: читаемый текст, зоны нажатия ~44pt, меньше шума */
@media (max-width: 576px) {
  .fc-fixtures-date-page .fc-fixtures-list-card {
    border-radius: 10px;
  }
  .fc-fixtures-date-page .fc-fixtures-list-head {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.5rem !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
  }
  .fc-fixtures-date-page .fc-fixtures-date-embed {
    width: 100%;
    max-width: 100%;
  }
  .fc-fixtures-date-page .fc-fix-feed {
    padding: 0.35rem 0.25rem 0.45rem;
  }
  .fc-fixtures-date-page .fc-fix-group-head {
    padding: 0.38rem 0.4rem;
    margin-bottom: 0.32rem;
  }
  .fc-fixtures-date-page .fc-fix-league-matches {
    border-radius: 8px;
  }
  .fc-fixtures-date-page .fc-fix-row__inner {
    min-height: 48px;
    padding: 0.42rem 0.36rem;
    gap: 0.28rem;
    align-items: center;
  }
  .fc-fixtures-date-page .fc-fix-row__time {
    flex: 0 0 2.65rem;
  }
  .fc-fixtures-date-page .fc-fix-row__clock {
    font-size: 0.8125rem;
  }
  .fc-fixtures-date-page .fc-fix-row__state {
    font-size: 0.5625rem;
  }
  .fc-fixtures-date-page .fc-fix-row--live .fc-fix-row__state {
    font-size: 0.625rem;
  }
  .fc-fixtures-date-page .fc-fix-row__name {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
  }
  .fc-fixtures-date-page .fc-fix-row__rk {
    font-size: 0.625rem;
  }
  .fc-fixtures-date-page .fc-fix-row__score {
    font-size: 1rem;
  }
  .fc-fixtures-date-page .fc-fix-row__score--vs {
    font-size: 0.9375rem;
  }
  .fc-fixtures-date-page .fc-fix-row__sub {
    font-size: 0.5625rem;
  }
  .fc-fixtures-date-page .fc-fix-row__logo,
  .fc-fixtures-date-page .fc-fix-row__logo-ph {
    width: 26px;
    height: 26px;
  }
  .fc-fixtures-date-page .fc-fix-row__logo-ph {
    font-size: 0.62rem;
  }
  .fc-fixtures-date-page .fc-fix-row__match {
    gap: 0.2rem 0.32rem;
  }
  .fc-fixtures-date-page .fc-fix-row__scorecell {
    min-width: 2.65rem;
  }
  .fc-fixtures-date-page .fc-fix-row__dots {
    display: none;
  }
  .fc-fixtures-date-page .fc-fix-row__btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 0.65rem;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
  }
  .fc-fixtures-date-page .fc-fix-row__chev {
    display: none;
  }
  .fc-fixtures-date-page .fc-fix-row__acts {
    flex-shrink: 0;
    margin-left: -0.15rem;
  }
  .fc-fixtures-date-page .fc-lf-chip {
    min-height: 40px;
    padding: 0.32rem 0.65rem;
    font-size: 0.7rem;
    -webkit-tap-highlight-color: rgba(196, 30, 58, 0.1);
    touch-action: manipulation;
  }
  .fc-fixtures-date-page .fc-league-filter-label {
    width: 2.45rem;
    min-height: 44px;
  }
  .fc-fixtures-date-page .fc-league-filter-scroll {
    padding: 0.32rem 0.42rem;
  }
}

@media (max-width: 380px) {
  .fc-fixtures-date-page .fc-fix-row__time {
    flex-basis: 2.35rem;
  }
  .fc-fixtures-date-page .fc-fix-row__inner {
    gap: 0.22rem;
    padding-left: 0.28rem;
    padding-right: 0.28rem;
  }
}

@media (max-width: 480px) {
  .fc-fix-row__inner {
    padding: 0.32rem 0.38rem 0.3rem;
    gap: 0.3rem;
  }
  .fc-fix-row__time {
    flex-basis: 2.2rem;
  }
  .fc-fix-row__match {
    gap: 0.22rem 0.28rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fc-fix-row {
    transition: none;
  }
}

@keyframes fc-fix-live-pulse-ring {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.45);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 6px rgba(196, 30, 58, 0);
    opacity: 0.85;
  }
}
@keyframes fc-fix-live-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(196, 30, 58, 0.35),
      0 4px 20px rgba(196, 30, 58, 0.16);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(196, 30, 58, 0.45),
      0 6px 26px rgba(196, 30, 58, 0.24);
  }
}
.fc-fix-tile {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  gap: 0.55rem 0.65rem;
  padding: 0.65rem 0.65rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: var(--fc-surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fix-tile {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
}
.fc-fix-tile:hover {
  border-color: rgba(196, 30, 58, 0.28);
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.1);
}
.fc-fix-tile.fc-sb-row--live {
  border: 2px solid var(--fc-red);
  background: linear-gradient(155deg, rgba(196, 30, 58, 0.12) 0%, var(--fc-surface) 48%, var(--fc-surface) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(196, 30, 58, 0.12),
    0 0 0 1px rgba(196, 30, 58, 0.2),
    0 5px 22px rgba(196, 30, 58, 0.2);
  animation: fc-fix-live-glow 2.4s ease-in-out infinite;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fix-tile.fc-sb-row--live {
    background: linear-gradient(155deg, rgba(196, 30, 58, 0.22) 0%, var(--fc-surface) 55%);
    box-shadow:
      inset 0 0 0 1px rgba(196, 30, 58, 0.2),
      0 0 0 1px rgba(196, 30, 58, 0.25),
      0 6px 28px rgba(0, 0, 0, 0.45);
  }
}
.fc-fix-tile.fc-sb-row--live:hover {
  border-color: var(--fc-red);
  box-shadow:
    inset 0 0 0 1px rgba(196, 30, 58, 0.18),
    0 0 0 2px rgba(196, 30, 58, 0.25),
    0 8px 28px rgba(196, 30, 58, 0.28);
}
.fc-fix-tile:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: 2px;
}
.fc-fix-tile__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28rem;
  text-align: center;
  padding-top: 0.15rem;
}
.fc-fix-tile__live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fc-red);
  flex-shrink: 0;
  animation: fc-fix-live-pulse-ring 1.8s ease-out infinite;
}
.fc-fix-tile__time {
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fc-text);
}
.fc-fix-tile__status {
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.32rem;
  border-radius: 5px;
  line-height: 1.2;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  border: 1px solid rgba(0, 0, 0, 0.07);
}
.fc-fix-tile__status--live {
  background: linear-gradient(180deg, #e02045 0%, var(--fc-red) 100%);
  color: #fff;
  border-color: var(--fc-red-dark);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 6px rgba(196, 30, 58, 0.45);
}
.fc-fix-tile__status--ft {
  color: var(--fc-muted);
}
.fc-fix-tile__status--ns {
  background: var(--fc-surface-2);
}
.fc-fix-tile.fc-sb-row--live .fc-fix-tile__time {
  color: var(--fc-red);
  font-weight: 900;
  font-size: 0.92rem;
}
.fc-fix-tile__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fc-fix-tile__panel + .fc-fix-tile__panel {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.48rem;
  margin-top: 0.38rem;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fix-tile__panel + .fc-fix-tile__panel {
    border-top-color: rgba(255, 255, 255, 0.11);
  }
}
.fc-fix-tile__panel--tools {
  padding-bottom: 0;
  margin-bottom: 0;
}
.fc-fix-tile__eyebrow {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fc-muted);
  margin-bottom: 0.32rem;
  line-height: 1.2;
}
.fc-fix-tile__muted-line {
  font-size: 0.62rem;
  color: var(--fc-muted);
  opacity: 0.85;
}
.fc-fix-tile__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.5rem;
  font-size: 0.65rem;
  color: var(--fc-muted);
  line-height: 1.35;
}
.fc-fix-tile__round {
  max-width: 100%;
  font-weight: 700;
  font-size: 0.68rem;
  color: var(--fc-text);
}
.fc-fix-tile__season {
  font-size: 0.62rem;
  opacity: 0.9;
}
.fc-fix-tile__warn {
  color: #b45309;
  font-weight: 600;
  max-width: 100%;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fix-tile__warn {
    color: #fbbf24;
  }
}
/* Матч: две полноширинные строки команд + счёт по центру (имена не жмутся в узкие колонки) */
.fc-fix-tile__match--stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
  min-width: 0;
}
.fc-fix-tile__team-line {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.48rem;
  min-width: 0;
}
.fc-fix-tile__team-line--home {
  justify-content: flex-start;
}
.fc-fix-tile__team-line--away {
  justify-content: flex-end;
}
.fc-fix-tile__team-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
  flex: 1;
}
.fc-fix-tile__team-block--away {
  align-items: flex-end;
  text-align: right;
}
.fc-fix-tile__team-line-label {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fc-muted);
  line-height: 1.15;
}
.fc-fix-tile__logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: contain;
  background: var(--fc-surface-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
}
.fc-fix-tile__logo-ph {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  font-size: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
}
.fc-fix-tile__team-name {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--fc-text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  align-self: stretch;
}
.fc-fix-tile__team-block--away .fc-fix-tile__team-name {
  text-align: right;
}
@media (min-width: 576px) {
  .fc-fix-tile__team-name {
    font-size: 0.86rem;
    line-height: 1.3;
  }
}
.fc-fix-tile.fc-sb-row--live .fc-fix-tile__score {
  color: var(--fc-red);
}
.fc-fix-tile__formation {
  font-size: 0.58rem;
  color: var(--fc-muted);
  flex-shrink: 0;
}
.fc-fix-tile__scoreblock {
  text-align: center;
  line-height: 1.15;
  min-width: 3.6rem;
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
}
.fc-fix-tile__scoreblock--ribbon {
  align-self: center;
  width: 100%;
  max-width: 11rem;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fix-tile__scoreblock {
    background: rgba(255, 255, 255, 0.05);
  }
}
.fc-fix-tile.fc-sb-row--live .fc-fix-tile__scoreblock {
  background: rgba(196, 30, 58, 0.1);
  box-shadow: inset 0 0 0 1px rgba(196, 30, 58, 0.15);
}
.fc-fix-tile__score {
  font-size: 1.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--fc-text);
}
@media (min-width: 576px) {
  .fc-fix-tile__score {
    font-size: 1.32rem;
  }
}
.fc-fix-tile__score--pending {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fc-muted);
}
.fc-fix-tile__sep {
  opacity: 0.4;
  margin: 0 0.08em;
}
.fc-fix-tile__pen,
.fc-fix-tile__ht {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--fc-muted);
  margin-top: 0.08rem;
}
.fc-fix-tile__venue-row {
  font-size: 0.62rem;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.22rem;
}
.fc-fix-tile__venue-line {
  display: block;
}
.fc-fix-tile__venue-k {
  font-weight: 700;
  color: var(--fc-text);
  margin-right: 0.25rem;
}
.fc-fix-tile__dot {
  opacity: 0.35;
  user-select: none;
}
.fc-fix-tile__context {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem 0.45rem;
  align-items: start;
  padding: 0.38rem 0.42rem;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.035);
  font-size: 0.6rem;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-fix-tile__context {
    background: rgba(255, 255, 255, 0.04);
  }
}
.fc-fix-tile__ctx-col--away {
  text-align: right;
}
.fc-fix-tile__ctx-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.32rem;
  font-weight: 700;
  color: var(--fc-text);
  margin-bottom: 0.08rem;
}
.fc-fix-tile__ctx-head--away {
  justify-content: flex-end;
}
.fc-fix-tile__rk {
  font-variant-numeric: tabular-nums;
  color: var(--fc-muted);
}
.fc-fix-tile__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  margin-bottom: 0.08rem;
}
.fc-fix-tile__form--away {
  justify-content: flex-end;
}
.fc-fix-pip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.78rem;
  height: 0.78rem;
  font-size: 0.48rem;
  font-weight: 800;
  border-radius: 3px;
  color: #fff;
  line-height: 1;
}
.fc-fix-pip--w {
  background: #198754;
}
.fc-fix-pip--d {
  background: #f59f00;
  color: #222;
}
.fc-fix-pip--l {
  background: var(--fc-red);
}
.fc-fix-tile__ctx-sub,
.fc-fix-tile__ctx-sub--away {
  font-size: 0.56rem;
  color: var(--fc-muted);
  line-height: 1.35;
}
.fc-fix-tile__ctx-mid {
  align-self: center;
  text-align: center;
  min-width: 0;
}
.fc-fix-tile__wx {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.58rem;
  line-height: 1.25;
  max-width: 6rem;
}
.fc-fix-tile__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.fc-fix-tile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.26rem;
}
.fc-fix-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.56rem;
  font-weight: 700;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  border: 1px solid rgba(0, 0, 0, 0.07);
}
.fc-fix-chip i {
  font-size: 0.52rem;
  opacity: 0.85;
}
.fc-fix-tile__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}
.fc-fix-tile__btn-modal {
  line-height: 1.2;
  min-height: 1.72rem;
  min-width: 1.72rem;
}
.fc-fix-tile__tools .btn-danger {
  line-height: 1.2;
  min-height: 1.72rem;
  min-width: 1.72rem;
}
@media (max-width: 575.98px) {
  .fc-fix-tile {
    grid-template-columns: 1fr;
    padding: 0.55rem 0.55rem 0.5rem;
  }
  .fc-fix-tile__team-line--away {
    flex-direction: row-reverse;
  }
  .fc-fix-tile__team-block--away {
    align-items: flex-start;
    text-align: left;
  }
  .fc-fix-tile__team-block--away .fc-fix-tile__team-name {
    text-align: left;
  }
  .fc-fix-tile__rail {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0 0 0.35rem;
    margin-bottom: 0.12rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
  }
  .fc-fix-tile__rail .fc-fix-tile__time {
    margin-right: auto;
  }
  .fc-fix-tile__context {
    grid-template-columns: 1fr;
  }
  .fc-fix-tile__ctx-col--away {
    text-align: left;
  }
  .fc-fix-tile__ctx-head--away {
    justify-content: flex-start;
  }
  .fc-fix-tile__form--away {
    justify-content: flex-start;
  }
  .fc-fix-tile__wx {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    padding: 0.2rem 0;
  }
}
.fc-fixtures-filter-card .fc-league-filter {
  border-radius: var(--fc-radius-sm);
}
@media (prefers-reduced-motion: reduce) {
  .fc-fix-tile {
    transition: none;
  }
  .fc-fix-tile.fc-sb-row--live {
    animation: none;
  }
  .fc-fix-tile__live-dot {
    animation: none;
  }
}

/* ---------- /fixtures: список — компактные карточки ---------- */
.fc-fixtures-page.fc-home-match-panel {
  background: linear-gradient(180deg, #e8eaee 0%, #dfe2e7 100%);
  padding: 0.7rem 0.8rem 0.85rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-scoreboard.fc-card {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  border-radius: 0 !important;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-league {
  margin-bottom: 0.65rem;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 1px 5px rgba(0, 0, 0, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  background: var(--fc-surface);
  border-bottom: none;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-league:last-child {
  margin-bottom: 0;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-league-head {
  padding: 0.4rem 0.65rem 0.4rem 0.55rem;
  background: linear-gradient(180deg, #ffffff 0%, #f0f2f5 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 3px solid var(--fc-red);
  font-size: 0.78rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-league-logo {
  width: 18px;
  height: 18px;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-league-titles .fc-sb-league-country {
  font-size: 0.65rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-league-count {
  font-size: 0.65rem;
  padding: 0.1rem 0.38rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-league-body {
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: #eef0f4;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-match-wrap {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-match-wrap:hover {
  border-color: rgba(196, 30, 58, 0.3);
  box-shadow: 0 5px 16px rgba(196, 30, 58, 0.1);
  transform: translateY(-1px);
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-match-wrap:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-row {
  padding: 0.38rem 0.5rem;
  gap: 0.22rem 0.38rem;
  grid-template-columns: 2.35rem minmax(0, 1fr) 2.95rem minmax(0, 1fr) 2rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-row:hover {
  background: rgba(196, 30, 58, 0.07);
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-team {
  font-size: 0.76rem;
  gap: 0.32rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-logo {
  width: 19px;
  height: 19px;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-score {
  min-height: 2rem;
  gap: 0.08rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-goals {
  font-size: 0.84rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-goals--pending {
  font-size: 0.78rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-meta-primary {
  font-size: 0.65rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-row--live .fc-sb-meta-primary {
  font-size: 0.72rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-row-analytics {
  border-top: 1px solid #e2e5ea;
  background: linear-gradient(180deg, #fbfbfc 0%, #f4f5f7 100%);
  padding: 0.28rem 0.45rem 0.32rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-anal-head {
  font-size: 0.58rem;
  gap: 0.2rem 0.32rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-anal-form {
  margin-top: 0.12rem;
  gap: 0.08rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-form-pip {
  width: 0.82rem;
  height: 0.82rem;
  font-size: 0.5rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-anal-sub {
  margin-top: 0.15rem;
  font-size: 0.54rem;
  gap: 0.25rem 0.4rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-anal-weather {
  font-size: 0.62rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-anal-weather-cond {
  font-size: 0.55rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-row-extras {
  border-top: 1px solid #e2e5ea;
  background: #f6f7f9;
  padding: 0.12rem 0.45rem 0.32rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-extras-inner--rich {
  row-gap: 0.22rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-extras-inner {
  font-size: 0.6rem;
  gap: 0.25rem 0.55rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-extra i {
  font-size: 0.58rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-row-chips {
  border-top: 1px solid #e2e5ea;
  background: #fff;
  padding: 0.22rem 0.45rem 0.3rem;
  gap: 0.28rem 0.4rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-chip {
  font-size: 0.58rem;
  padding: 0.08rem 0.35rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-chip i {
  font-size: 0.55rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-extra-link {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 30, 58, 0.35);
  background: rgba(255, 255, 255, 0.98);
  line-height: 1.15;
  font-size: 0.62rem;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-extra-link:hover {
  background: var(--fc-red);
  color: #fff !important;
  border-color: var(--fc-red);
  opacity: 1;
}

.fc-fixtures-page.fc-home-match-panel .fc-sb-empty {
  background: var(--fc-surface);
  border-radius: 11px;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  margin: 0.15rem;
  padding: 1.25rem 1rem !important;
}

@media (max-width: 575.98px) {
  .fc-fixtures-page.fc-home-match-panel {
    padding: 0.55rem 0.45rem 0.65rem;
  }
  .fc-fixtures-page.fc-home-match-panel .fc-sb-league-body {
    padding: 0.35rem;
    gap: 0.38rem;
  }
  .fc-fixtures-page.fc-home-match-panel .fc-sb-row {
    padding: 0.32rem 0.35rem;
    gap: 0.18rem 0.28rem;
    grid-template-columns: 2.2rem minmax(0, 1fr) 2.65rem minmax(0, 1fr) 1.75rem;
  }
  .fc-fixtures-page.fc-home-match-panel .fc-sb-team {
    font-size: 0.68rem;
  }
  .fc-fixtures-page.fc-home-match-panel .fc-sb-logo {
    width: 16px;
    height: 16px;
  }
  .fc-fixtures-page.fc-home-match-panel .fc-sb-goals {
    font-size: 0.78rem;
  }
  .fc-fixtures-page.fc-home-match-panel .fc-sb-match-wrap:hover {
    transform: none;
  }
}

/* Строка матча (компакт) */
.fc-match-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto 1fr 2rem;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--fc-border);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.15s;
}
.fc-match-row:last-child {
  border-bottom: none;
}
.fc-match-row:hover {
  background: var(--fc-red-soft);
}
@media (max-width: 576px) {
  .fc-match-row {
    grid-template-columns: 3rem 1fr 2.5rem 1fr 1.5rem;
    gap: 0.35rem;
    font-size: 0.75rem;
  }
}
.fc-match-time {
  font-variant-numeric: tabular-nums;
  color: var(--fc-muted);
  font-weight: 600;
  font-size: 0.75rem;
}
.fc-match-team {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.fc-match-team span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-match-score {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--fc-text);
}

.fc-team-ico {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.fc-league-ico {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Таблицы */
.fc-table thead th {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fc-muted);
  font-weight: 600;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--fc-border);
  background: var(--fc-surface-2);
}
.fc-table td {
  padding: 0.45rem 0.5rem;
  vertical-align: middle;
  font-size: 0.8125rem;
}

/* Кнопки */
.btn-fc-red {
  background: var(--fc-red);
  border-color: var(--fc-red);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
}
.btn-fc-red:hover {
  background: var(--fc-red-dark);
  border-color: var(--fc-red-dark);
  color: #fff;
}
.btn-outline-fc-red {
  color: var(--fc-red);
  border-color: var(--fc-red);
  font-size: 0.8125rem;
}
.btn-outline-fc-red:hover {
  background: var(--fc-red);
  color: #fff;
}

/* Футер */
.fc-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #f7f8fa;
  padding: 0.85rem 0 0.8rem;
  color: #6b7280;
}
.fc-footer-minimal {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.fc-footer-minimal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.fc-footer-brand {
  display: inline-flex;
  align-items: center;
  color: #1f2937;
  font-size: 0.82rem;
  font-weight: 700;
}
.fc-footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.fc-footer-tagline {
  font-size: 0.7rem;
  color: #6b7280;
  max-width: 74ch;
  line-height: 1.35;
}
.fc-footer-mail-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.72);
}
.fc-footer-mail-label {
  font-size: 0.7rem;
  color: #9ca3af;
}
.fc-footer-mail {
  color: #6b7280;
  font-size: 0.76rem;
  text-decoration: none;
}
.fc-footer-mail:hover {
  color: var(--fc-red-dark);
  text-decoration: underline;
}
.fc-footer-minimal-row--bottom {
  padding-top: 0.45rem;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}
.fc-footer-copy {
  font-size: 0.72rem;
}
.fc-footer-links {
  font-size: 0.72rem;
}
.fc-footer-links a {
  color: #6b7280;
}
.fc-footer-links a:hover {
  color: var(--fc-red-dark);
}
.fc-footer-links .btn.btn-link {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: #6b7280;
  vertical-align: baseline;
}
.fc-footer-links .btn.btn-link:hover,
.fc-footer-links .btn.btn-link:focus {
  color: var(--fc-red-dark);
}
@media (max-width: 767.98px) {
  .fc-footer-minimal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .fc-footer-mail-wrap {
    flex-wrap: wrap;
  }
}

/* Скелетон табло при подгрузке HTML (карточка с .position-relative от Bootstrap) */
.fc-sb-skeleton-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--fc-surface);
  border-radius: var(--fc-radius);
  padding: 0.65rem 0.85rem 0.85rem;
  box-shadow: inset 0 0 0 1px var(--fc-border);
  pointer-events: none;
}
.fc-sb-skeleton-bar {
  height: 0.55rem;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--fc-border) 0%,
    var(--fc-surface-2) 45%,
    var(--fc-border) 90%
  );
  background-size: 220% 100%;
  animation: fc-skel-shimmer 1.15s ease-in-out infinite;
}
.fc-sb-skeleton-bar--wide {
  width: 42%;
  margin-bottom: 0.65rem;
}
.fc-sb-skeleton-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2.85rem minmax(0, 1fr);
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.45rem;
}
.fc-sb-skeleton-bar--time {
  width: 70%;
}
.fc-sb-skeleton-bar--team {
  width: 88%;
}
.fc-sb-skeleton-bar--score {
  width: 55%;
  margin: 0 auto;
}
@keyframes fc-skel-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* Утилиты */
.fc-text-muted { color: var(--fc-muted) !important; }
.fc-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

/* Старые классы сайта — подтянуть под тему */
.live-badge {
  background: linear-gradient(135deg, var(--fc-red), var(--fc-red-dark)) !important;
  color: #fff !important;
  font-size: 0.65rem !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center;
  font-weight: 700;
  animation: fc-pulse 1.5s ease-in-out infinite;
}
.live-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  margin-right: 5px;
}
.card {
  border-color: var(--fc-border);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
}
.card-header.bg-light {
  background: var(--fc-surface-2) !important;
}
.text-primary,
a.text-primary {
  color: var(--fc-red) !important;
}
.btn-primary {
  background-color: var(--fc-red);
  border-color: var(--fc-red);
}
.btn-primary:hover {
  background-color: var(--fc-red-dark);
  border-color: var(--fc-red-dark);
}
.btn-outline-primary {
  color: var(--fc-red);
  border-color: var(--fc-red);
}
.btn-outline-primary:hover {
  background: var(--fc-red);
  border-color: var(--fc-red);
}

/* Совместимость со старыми blade-классами */
.score {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fc-text);
}
.team-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-right: 6px;
}
.league-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 5px;
}
.text-small { font-size: 0.8125rem; }
.text-xsmall { font-size: 0.6875rem; }
.cursor-pointer { cursor: pointer; }
.match-time {
  font-size: 0.6875rem;
  color: var(--fc-muted);
  background: var(--fc-surface-2);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}
.form-badge {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  margin-right: 2px;
}
.form-W { background: #198754; color: #fff; }
.form-D { background: #ffc107; color: #000; }
.form-L { background: var(--fc-red); color: #fff; }
.stat-card {
  text-align: center;
  padding: 0.85rem;
  border-radius: var(--fc-radius);
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fc-red);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.65rem;
  color: var(--fc-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav-tabs .nav-link {
  border-radius: var(--fc-radius-sm) var(--fc-radius-sm) 0 0;
  color: var(--fc-muted);
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
}
.nav-tabs .nav-link:hover {
  color: var(--fc-red);
  border-color: var(--fc-border);
}
.nav-tabs .nav-link.active {
  color: var(--fc-red);
  border-color: var(--fc-border) var(--fc-border) var(--fc-surface);
  border-bottom: 2px solid var(--fc-red);
}
.tab-content {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-top: none;
  border-radius: 0 0 var(--fc-radius) var(--fc-radius);
  padding: 0.85rem;
}
.loading {
  text-align: center;
  padding: 2rem;
  color: var(--fc-muted);
}
.loading i { font-size: 1.75rem; margin-bottom: 0.5rem; }
@media (max-width: 768px) {
  .stat-number { font-size: 1.25rem; }
  .score { font-size: 1rem; }
}

/* —— Соревнования (каталог) —— */
.fc-comp-page {
  margin-bottom: 0.35rem;
}

/* Шапка страницы соревнований: заголовок + компактные ссылки в стиле главной */
.fc-comp-page-heading {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--fc-text);
}
@media (min-width: 576px) {
  .fc-comp-page-heading {
    font-size: 1.2rem;
  }
}
.fc-comp-toolbar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.12rem;
}
.fc-comp-toolbar-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.14rem 0.38rem;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--fc-muted);
  text-decoration: none;
  border-radius: var(--fc-radius-sm);
  border: 1px solid transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.fc-comp-toolbar-nav__link i {
  font-size: 0.58rem;
  opacity: 0.9;
}
.fc-comp-toolbar-nav__link:hover {
  color: var(--fc-red);
  background: var(--fc-red-soft);
  border-color: rgba(196, 30, 58, 0.12);
}
.fc-comp-toolbar-nav__link:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: 2px;
}
.fc-comp-filter-head {
  background: var(--fc-surface-2) !important;
}

/* Сегментированная панель действий под превью таблицы */
.fc-comp-act-bar {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: var(--fc-surface);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-act-bar {
    border-top-color: rgba(255, 255, 255, 0.08);
  }
}
@media (min-width: 480px) {
  .fc-comp-act-bar {
    flex-direction: row;
    align-items: stretch;
    border-radius: 0 0 11px 11px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }
  @media (prefers-color-scheme: dark) and (max-width: 0px) {
    .fc-comp-act-bar {
      box-shadow: none;
    }
  }
}
/* Одна низкая строка: иконка + подписи (на всех ширинах) */
.fc-comp-act-bar__seg {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.32rem;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.25rem 0.4rem;
  text-decoration: none;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    filter 0.15s ease;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-act-bar__seg {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}
@media (min-width: 480px) {
  .fc-comp-act-bar__seg {
    border-bottom: none;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.22rem 0.28rem;
    justify-content: center;
    gap: 0.28rem;
  }
  .fc-comp-act-bar__seg:last-child {
    border-right: none;
  }
  @media (prefers-color-scheme: dark) and (max-width: 0px) {
    .fc-comp-act-bar__seg {
      border-right-color: rgba(255, 255, 255, 0.1);
    }
  }
}
.fc-comp-act-bar__seg:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: -2px;
  z-index: 1;
}
.fc-comp-act-bar__ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.38rem;
  height: 1.38rem;
  border-radius: 50%;
  font-size: 0.62rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.fc-comp-act-bar__seg:hover .fc-comp-act-bar__ring {
  transform: scale(1.05);
}
.fc-comp-act-bar__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  text-align: left;
}
@media (min-width: 480px) {
  .fc-comp-act-bar__copy {
    align-items: flex-start;
    text-align: left;
  }
}
.fc-comp-act-bar__title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.fc-comp-act-bar__sub {
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  opacity: 0.75;
  line-height: 1.1;
  max-width: 100%;
}
.fc-comp-act-bar__badge {
  position: absolute;
  top: 0.12rem;
  right: 0.2rem;
  min-width: 0.85rem;
  height: 0.85rem;
  padding: 0 0.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-weight: 800;
  border-radius: 999px;
  background: var(--fc-red);
  color: #fff;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
@media (min-width: 480px) {
  .fc-comp-act-bar__badge {
    top: 0.1rem;
    right: 0.12rem;
  }
}
/* Центр — главный акцент (таблица) */
.fc-comp-act-bar__seg--overview {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.04));
  color: var(--fc-text);
}
.fc-comp-act-bar__seg--overview .fc-comp-act-bar__ring {
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.fc-comp-act-bar__seg--overview:hover {
  background: var(--fc-red-soft);
  color: var(--fc-red-dark);
}
.fc-comp-act-bar__seg--overview:hover .fc-comp-act-bar__ring {
  color: var(--fc-red);
  box-shadow: inset 0 0 0 1px rgba(196, 30, 58, 0.2);
}
.fc-comp-act-bar__seg--table {
  background: linear-gradient(165deg, var(--fc-red) 0%, var(--fc-red-dark) 100%);
  color: #fff;
}
.fc-comp-act-bar__seg--table .fc-comp-act-bar__ring {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.fc-comp-act-bar__seg--table .fc-comp-act-bar__sub {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}
.fc-comp-act-bar__seg--table:hover {
  filter: brightness(1.06);
}
.fc-comp-act-bar__seg--fixtures {
  background: var(--fc-surface);
  color: var(--fc-text);
}
.fc-comp-act-bar__seg--fixtures .fc-comp-act-bar__ring {
  background: var(--fc-red-soft);
  color: var(--fc-red);
  box-shadow: inset 0 0 0 1px rgba(196, 30, 58, 0.15);
}
.fc-comp-act-bar__seg--fixtures:hover {
  background: rgba(196, 30, 58, 0.06);
  color: var(--fc-red-dark);
}

.fc-comp-page-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fc-text);
  line-height: 1.25;
}
@media (min-width: 576px) {
  .fc-comp-page-title {
    font-size: 1.28rem;
  }
}
.fc-comp-head {
  padding: 0.5rem 0.7rem !important;
}
.fc-comp-filters-body {
  padding-top: 0.45rem !important;
  padding-bottom: 0.55rem !important;
}
.fc-comp-filters-body .row.g-3 {
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0.5rem;
}
.fc-comp-catalog .fc-comp-filters-body .mt-3 {
  margin-top: 0.5rem !important;
}
.fc-comp-page .fc-comp-filters .fc-card-header,
.fc-fixtures-date-page .fc-card-header.fc-comp-filter-head {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}
.fc-comp-page .fc-card-header::before {
  display: none !important;
}
.fc-comp-page .fc-comp-list-card > .fc-card-header,
.fc-fixtures-date-page .fc-fixtures-list-card > .fc-card-header {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}
.fc-comp-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fc-muted);
  margin-bottom: 0.18rem;
}
.fc-comp-search .input-group-text {
  border-color: var(--fc-border);
}
.fc-comp-search .form-control {
  border-color: var(--fc-border);
  font-size: 0.8125rem;
}
.fc-comp-search .form-control:focus {
  box-shadow: none;
  border-color: rgba(196, 30, 58, 0.35);
}
.fc-comp-toolbar {
  padding: 0 0.1rem;
}
.fc-comp-today-switch .form-check-input {
  width: 2rem;
  height: 1rem;
  margin-top: 0.15rem;
}
.fc-comp-today-switch .form-check-input:checked {
  background-color: var(--fc-red);
  border-color: var(--fc-red);
}
.fc-comp-grid-wrap .fc-scoreboard.fc-card {
  border-radius: var(--fc-radius);
}
.fc-comp-table thead th {
  font-size: 0.62rem;
}
.fc-comp-table-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
  padding: 2px;
}
.fc-comp-pagination .pagination {
  margin-bottom: 0;
}
.fc-comp-pagination .page-link {
  font-size: 0.72rem;
  padding: 0.18rem 0.42rem;
  color: var(--fc-red);
  border-color: var(--fc-border);
}
.fc-comp-pagination .page-item.active .page-link {
  background: var(--fc-red);
  border-color: var(--fc-red);
  color: #fff;
}
.fc-comp-pagination .page-item.disabled .page-link {
  color: var(--fc-muted);
}

/* Страница турнирной таблицы (/standings, /standings/{id}) */
.fc-standings-page {
  max-width: 100%;
}
.fc-standings-page--single .fc-standings-league-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(196, 30, 58, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(196, 30, 58, 0.06);
}
.fc-standings-single-head {
  padding: 0.85rem 1rem !important;
}
.fc-standings-single-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--fc-border);
  padding: 4px;
  flex-shrink: 0;
}
.fc-standings-single-logo--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-muted);
  font-size: 1.35rem;
}
.fc-standings-single-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fc-text);
}
@media (min-width: 576px) {
  .fc-standings-single-title {
    font-size: 1.35rem;
  }
}
.fc-standings-table-wrap {
  border-top: 1px solid var(--fc-border);
}
.fc-standings-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, var(--fc-surface-2), var(--fc-surface));
  box-shadow: 0 1px 0 var(--fc-border);
}
.fc-standings-team-ico {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
  padding: 2px;
}
.fc-standings-rank-badge {
  min-width: 1.65rem;
  font-weight: 800;
  font-size: 0.68rem;
}
.fc-standings-rank--1 {
  background: linear-gradient(135deg, #ffd54f, #ffb300) !important;
  color: #3e2723 !important;
  border: 1px solid rgba(184, 134, 11, 0.45);
}
.fc-standings-rank--2 {
  background: linear-gradient(135deg, #e0e0e0, #bdbdbd) !important;
  color: #263238 !important;
  border: 1px solid rgba(120, 120, 120, 0.35);
}
.fc-standings-rank--3 {
  background: linear-gradient(135deg, #deb887, #cd853f) !important;
  color: #3e2723 !important;
  border: 1px solid rgba(160, 82, 45, 0.4);
}
.fc-standings-table .fc-form-pip {
  width: 1.05rem;
  height: 1.05rem;
  font-size: 0.58rem;
  border-radius: 4px;
}

/* Хаб «Таблицы»: современный лендинг + лиги без таблицы */
.fc-standings-hub-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 42%, #243044 100%);
  color: #f1f5f9;
  padding: 1.35rem 1.25rem 1.45rem;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 18px 48px rgba(15, 20, 25, 0.35);
}
@media (min-width: 576px) {
  .fc-standings-hub-hero {
    padding: 1.55rem 1.65rem 1.65rem;
  }
}
.fc-standings-hub-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(196, 30, 58, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 38%);
  pointer-events: none;
}
.fc-standings-hub-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.5;
}
.fc-standings-hub-hero__glow--1 {
  width: 12rem;
  height: 12rem;
  top: -4rem;
  right: -2rem;
  background: rgba(196, 30, 58, 0.35);
}
.fc-standings-hub-hero__glow--2 {
  width: 10rem;
  height: 10rem;
  bottom: -3rem;
  left: 10%;
  background: rgba(96, 165, 250, 0.2);
}
.fc-standings-hub-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}
.fc-standings-hub-hero__eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
  margin: 0;
}
.fc-standings-hub-hero__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: #fff;
}
@media (min-width: 576px) {
  .fc-standings-hub-hero__title {
    font-size: 1.75rem;
  }
}
.fc-standings-hub-hero__lead {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(241, 245, 249, 0.78);
  max-width: 36rem;
  margin-bottom: 0;
}
.fc-standings-hub-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}
.fc-standings-hub-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.fc-standings-hub-stat--pending {
  background: rgba(255, 255, 255, 0.06);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.22);
}
.fc-standings-hub-stat__value {
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.fc-standings-hub-stat__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.72);
  text-transform: lowercase;
}
.fc-standings-hub-hero__cta {
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #0f1419 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.fc-standings-hub-hero__cta:hover {
  background: #fff !important;
  color: var(--fc-red) !important;
}

.fc-standings-pending-details {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, var(--fc-surface-2) 0%, var(--fc-surface) 100%);
  padding: 0.5rem 0.65rem 0.85rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.fc-standings-pending-details__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.35rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
  color: var(--fc-text);
}
.fc-standings-pending-details__summary::-webkit-details-marker {
  display: none;
}
.fc-standings-pending-details__summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.65rem;
  opacity: 0.45;
  margin-left: auto;
  transition: transform 0.2s ease;
}
.fc-standings-pending-details[open] .fc-standings-pending-details__summary::after {
  transform: rotate(180deg);
}
.fc-standings-pending-details__summary-main {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.fc-standings-pending-details__badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--fc-muted);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.fc-standings-pending-details__hint {
  padding: 0 0.35rem;
  line-height: 1.45;
}
.fc-standings-pending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: 0.65rem 0.75rem;
  padding: 0 0.15rem 0.15rem;
}
.fc-standings-pending-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  border: 1px dashed rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.65);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.fc-standings-pending-card:hover {
  border-color: rgba(196, 30, 58, 0.28);
  border-style: solid;
  box-shadow: 0 6px 22px rgba(196, 30, 58, 0.08);
}
.fc-standings-pending-card__top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.fc-standings-pending-card__logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--fc-surface-2);
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  padding: 3px;
}
.fc-standings-pending-card__logo--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-muted);
  font-size: 0.95rem;
}
.fc-standings-pending-card__name {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fc-text);
}
.fc-standings-pending-card__meta {
  color: var(--fc-muted);
}
.fc-standings-pending-card__tag {
  align-self: flex-start;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.2);
}
.fc-standings-pending-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.fc-standings-league-card--modern {
  border-radius: 18px;
  overflow: hidden;
  background: var(--fc-surface);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.fc-standings-league-card--modern:hover {
  border-color: rgba(196, 30, 58, 0.18);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 20px 50px rgba(196, 30, 58, 0.1);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .fc-standings-league-card--modern:hover {
    transform: none;
  }
}
.fc-standings-league-card__head {
  padding: 1rem 1rem 0.85rem;
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.06) 0%, transparent 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.fc-standings-league-card__head-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.fc-standings-league-card__league-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 4px;
  flex-shrink: 0;
}
.fc-standings-league-card__league-logo--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-muted);
  font-size: 1.1rem;
}
.fc-standings-league-card__title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fc-text);
}
.fc-standings-league-card__sub {
  color: var(--fc-muted);
  margin-top: 0.15rem !important;
}
.fc-standings-league-card__pill {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(196, 30, 58, 0.1);
  color: var(--fc-red);
  border: 1px solid rgba(196, 30, 58, 0.2);
}
.fc-standings-league-card__body {
  padding: 0;
}
.fc-standings-table-wrap--modern {
  border-top: none;
  max-height: min(70vh, 28rem);
  overflow: auto;
  border-radius: 0;
}
.fc-standings-table--modern tbody tr {
  transition: background 0.15s ease;
}
.fc-standings-table--modern tbody tr:hover {
  background: rgba(196, 30, 58, 0.04);
}
.fc-standings-table--modern thead th {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--fc-muted);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.fc-standings-league-card__foot {
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, var(--fc-surface-2) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.fc-standings-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
}
.fc-standings-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.58rem;
}
.fc-standings-legend__swatch {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 3px;
  flex-shrink: 0;
}
.fc-standings-legend__swatch--gold {
  background: linear-gradient(135deg, #ffd54f, #ffb300);
}
.fc-standings-legend__swatch--blue {
  background: #0d6efd;
}
.fc-standings-legend__swatch--red {
  background: #dc3545;
}

.fc-standings-empty-slab {
  text-align: center;
  padding: 2rem 1.25rem 2.25rem;
}
.fc-standings-empty-slab__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--fc-surface-2), var(--fc-surface));
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--fc-muted);
  font-size: 1.25rem;
}
.fc-standings-empty-slab__title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--fc-text);
}
.fc-standings-empty-global {
  border-color: rgba(0, 0, 0, 0.1) !important;
  background: var(--fc-surface-2);
}
.fc-standings-empty-global__ico {
  color: var(--fc-muted);
  opacity: 0.85;
}
.fc-standings-empty-global--soft {
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.04) 0%, var(--fc-surface) 100%);
}

.fc-standings-page--single .fc-standings-league-card--modern:hover {
  transform: none;
}

/* Каталог соревнований */
.fc-comp-catalog .fc-comp-sort-hint {
  font-size: 0.65rem;
  line-height: 1.4;
}
.fc-comp-page .fc-comp-page-toolbar {
  margin-bottom: 0.35rem !important;
}
.fc-comp-catalog > .fc-card.mb-3,
.fc-fixtures-date-page > .fc-card.mb-3 {
  margin-bottom: 0.55rem !important;
}
.fc-comp-page .breadcrumb.mb-2,
.fc-fixtures-date-page .breadcrumb.mb-2 {
  margin-bottom: 0.3rem !important;
}
.fc-fixtures-date-page .fc-card-body.py-2 {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}
.fc-fixtures-date-page .fc-card-body.px-3 {
  padding-left: 0.65rem !important;
  padding-right: 0.65rem !important;
}
.fc-comp-list-card {
  overflow: hidden;
  border-radius: var(--fc-radius);
}
.fc-comp-catalog-list {
  padding: 0.35rem 0.3rem 0.45rem;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(196, 30, 58, 0.06) 0%, transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(13, 110, 253, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--fc-surface-2) 0%, var(--fc-surface) 100%);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-catalog-list {
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(196, 30, 58, 0.12) 0%, transparent 55%),
      linear-gradient(180deg, var(--fc-surface-2) 0%, var(--fc-surface) 100%);
  }
}
.fc-comp-section-label {
  list-style: none;
  padding: 0.42rem 0.28rem 0.28rem;
  margin: 0;
}
.fc-comp-section-label__text {
  display: inline-flex;
  align-items: center;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fc-red);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, var(--fc-red-soft) 180%);
  border: 1px solid rgba(196, 30, 58, 0.22);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-section-label__text {
    background: linear-gradient(180deg, var(--fc-surface) 0%, rgba(196, 30, 58, 0.14) 160%);
  }
}
.fc-comp-section-label--rest .fc-comp-section-label__text {
  color: var(--fc-muted);
  background: var(--fc-surface);
  border-color: var(--fc-border);
  box-shadow: none;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-section-label--rest .fc-comp-section-label__text {
    background: var(--fc-surface-2);
  }
}
.fc-comp-catalog-item {
  list-style: none;
  padding: 0.2rem 0.15rem;
  margin: 0;
}

/* Каталог соревнований — таблица */
.fc-comp-grid-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(196, 30, 58, 0.05) 0%, transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(13, 110, 253, 0.035) 0%, transparent 50%),
    linear-gradient(180deg, var(--fc-surface-2) 0%, var(--fc-surface) 100%);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-grid-wrap {
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(196, 30, 58, 0.1) 0%, transparent 55%),
      linear-gradient(180deg, var(--fc-surface-2) 0%, var(--fc-surface) 100%);
  }
}
.fc-comp-grid-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.74rem;
  --fc-comp-grid-pad-x: 0.42rem;
}
.fc-comp-grid-table thead th {
  border-bottom: 1px solid var(--fc-border);
}
.fc-comp-grid-th {
  padding: 0.32rem var(--fc-comp-grid-pad-x);
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fc-muted);
  background: rgba(0, 0, 0, 0.035);
  white-space: nowrap;
  vertical-align: middle;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-grid-th {
    background: rgba(255, 255, 255, 0.04);
  }
}
.fc-comp-grid-th--league {
  min-width: 9rem;
}
.fc-comp-grid-td {
  padding: 0.3rem var(--fc-comp-grid-pad-x);
  vertical-align: middle;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--fc-surface);
}
th.fc-comp-grid-td[scope="row"] {
  font-weight: 400;
  text-align: left;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-grid-td {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: var(--fc-surface);
  }
}
.fc-comp-grid-tr:last-child .fc-comp-grid-td {
  border-bottom: none;
}
.fc-comp-grid-tr:hover .fc-comp-grid-td {
  background: rgba(196, 30, 58, 0.045);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-grid-tr:hover .fc-comp-grid-td {
    background: rgba(196, 30, 58, 0.12);
  }
}
.fc-comp-grid-tr--featured .fc-comp-grid-td {
  background: linear-gradient(90deg, rgba(196, 30, 58, 0.07) 0%, transparent 42%);
}
.fc-comp-grid-tr--featured:hover .fc-comp-grid-td {
  background: linear-gradient(90deg, rgba(196, 30, 58, 0.1) 0%, rgba(196, 30, 58, 0.04) 45%);
}
.fc-comp-grid-section td {
  padding: 0.42rem var(--fc-comp-grid-pad-x) 0.28rem;
  border: none;
  background: transparent;
  vertical-align: middle;
}
.fc-comp-grid-section--rest .fc-comp-section-label__text {
  color: var(--fc-muted);
  background: var(--fc-surface);
  border-color: var(--fc-border);
  box-shadow: none;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-grid-section--rest .fc-comp-section-label__text {
    background: var(--fc-surface-2);
  }
}
.fc-comp-grid-league {
  display: flex;
  align-items: flex-start;
  gap: 0.38rem;
}
.fc-comp-grid-league__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, var(--fc-surface-2) 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-grid-league__mark {
    background: linear-gradient(145deg, #2a2a2a 0%, var(--fc-surface-2) 100%);
    border-color: rgba(255, 255, 255, 0.1);
  }
}
.fc-comp-grid-league__mark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.fc-comp-grid-league__mark-ph {
  color: var(--fc-muted);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.fc-comp-grid-league__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}
.fc-comp-grid-league__name {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fc-text);
  text-decoration: none;
  font-size: 0.76rem;
}
@media (min-width: 576px) {
  .fc-comp-grid-league__name {
    font-size: 0.8rem;
  }
}
.fc-comp-grid-league__name:hover {
  color: var(--fc-red);
}
.fc-comp-grid-league__pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.fc-comp-grid-league__geo {
  margin-top: 0.06rem;
  line-height: 1.3;
  font-size: 0.62rem;
}
.fc-comp-grid-league__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  align-items: center;
  margin-top: 0.18rem;
}
.fc-comp-grid-leader {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  max-width: 100%;
  min-width: 0;
  color: var(--fc-text);
  font-size: 0.68rem;
  font-weight: 600;
}
.fc-comp-grid-leader:hover {
  color: var(--fc-red);
}
.fc-comp-grid-leader__logo {
  width: 15px;
  height: 15px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
}
.fc-comp-grid-leader__name {
  display: inline-block;
  min-width: 0;
  max-width: 8rem;
  vertical-align: middle;
}
.fc-comp-grid-season-dates {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}
.fc-comp-grid-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.18rem;
  flex-wrap: nowrap;
}
.fc-comp-grid-act {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.68rem;
  height: 1.68rem;
  border-radius: 6px;
  font-size: 0.68rem;
  color: var(--fc-muted);
  background: var(--fc-surface-2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    filter 0.15s ease;
}
.fc-comp-grid-act:hover {
  color: var(--fc-red);
  background: var(--fc-red-soft);
  border-color: rgba(196, 30, 58, 0.22);
}
.fc-comp-grid-act:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: 2px;
}
.fc-comp-grid-act--primary {
  background: linear-gradient(180deg, var(--fc-red) 0%, var(--fc-red-dark) 100%);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.06);
}
.fc-comp-grid-act--primary:hover {
  color: #fff;
  filter: brightness(1.06);
  border-color: transparent;
}
.fc-comp-grid-act--pip {
  overflow: visible;
}
.fc-comp-grid-act__badge {
  position: absolute;
  top: -0.28rem;
  right: -0.28rem;
  min-width: 0.82rem;
  height: 0.82rem;
  padding: 0 0.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.42rem;
  font-weight: 800;
  border-radius: 999px;
  background: var(--fc-red);
  color: #fff;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .fc-comp-grid-act {
    transition: none;
  }
}

/* Компактная карточка лиги (каталог соревнований) */
.fc-comp-card--compact {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--fc-surface);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}
.fc-comp-card--compact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fc-red) 0%, rgba(196, 30, 58, 0.35) 42%, transparent 100%);
  opacity: 0.9;
  pointer-events: none;
}
.fc-comp-card--compact:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(196, 30, 58, 0.14);
  border-color: rgba(196, 30, 58, 0.16);
}
.fc-comp-card--compact.fc-comp-card--featured {
  background: linear-gradient(
    145deg,
    rgba(196, 30, 58, 0.07) 0%,
    rgba(255, 255, 255, 0.5) 38%,
    var(--fc-surface) 58%
  );
  border-color: rgba(196, 30, 58, 0.22);
  box-shadow:
    0 2px 6px rgba(196, 30, 58, 0.08),
    0 12px 32px rgba(196, 30, 58, 0.1);
}
.fc-comp-card--compact.fc-comp-card--featured::before {
  height: 4px;
  background: linear-gradient(90deg, var(--fc-red) 0%, #e8a317 55%, rgba(232, 163, 23, 0.2) 100%);
  opacity: 1;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-card--compact {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  }
  .fc-comp-card--compact.fc-comp-card--featured {
    background: linear-gradient(
      145deg,
      rgba(196, 30, 58, 0.18) 0%,
      var(--fc-surface) 55%
    );
  }
  .fc-comp-card--compact:hover {
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(196, 30, 58, 0.25);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fc-comp-card--compact {
    transition: none;
  }
  .fc-comp-card--compact:hover {
    transform: none;
  }
  .fc-comp-card__mark {
    transition: none;
  }
  .fc-comp-card--compact:hover .fc-comp-card__mark {
    transform: none;
  }
}
.fc-comp-card--compact .fc-comp-card__body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem 0.65rem;
}
.fc-comp-card__mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(145deg, #ffffff 0%, var(--fc-surface-2) 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fc-comp-card--compact:hover .fc-comp-card__mark {
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: scale(1.02);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-card__mark {
    background: linear-gradient(145deg, #2a2a2a 0%, var(--fc-surface-2) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }
}
.fc-comp-card__mark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.fc-comp-card__mark-ph {
  color: var(--fc-muted);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: transparent;
}
.fc-comp-card__core {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fc-comp-card__intro {
  padding-bottom: 0.55rem;
  margin-bottom: 0.45rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-card__intro {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}
.fc-comp-card__top {
  display: block;
}
.fc-comp-card__lead {
  min-width: 0;
}
.fc-comp-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.2rem;
}
.fc-comp-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--fc-text);
}
@media (min-width: 576px) {
  .fc-comp-card__title {
    font-size: 1.05rem;
  }
}
.fc-comp-card__pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.fc-comp-card__geo {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--fc-muted);
  line-height: 1.4;
}
.fc-comp-card__geo-ico {
  flex-shrink: 0;
  margin-top: 0.12rem;
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--fc-red);
  opacity: 0.75;
  border-radius: 6px;
  background: var(--fc-red-soft);
}
.fc-comp-card__geo-txt {
  min-width: 0;
}
.fc-comp-card__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  color: var(--fc-muted);
  line-height: 1.35;
  margin-top: 0.4rem !important;
  font-variant-numeric: tabular-nums;
}
.fc-comp-card__facts .fc-comp-fact__sep {
  display: none;
}
.fc-comp-fact {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.5rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
}
.fc-comp-fact strong {
  color: var(--fc-text);
  font-weight: 800;
  margin-right: 0.15rem;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-fact {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
  }
}
.fc-comp-fact__sep {
  margin: 0 0.28rem;
  opacity: 0.45;
}
.fc-comp-fact--dates {
  white-space: nowrap;
}
.fc-comp-card__tagsline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem;
  align-items: center;
  margin-top: 0.28rem !important;
}
.fc-comp-ttl {
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.32rem;
  border-radius: 999px;
  background: var(--fc-surface-2);
  color: var(--fc-text);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
}
.fc-comp-ttl--cup {
  color: #146c43;
  background: rgba(25, 135, 84, 0.09);
  border-color: rgba(25, 135, 84, 0.2);
}
.fc-comp-ttl--tier {
  color: #0a58ca;
  background: rgba(13, 110, 253, 0.08);
  border-color: rgba(13, 110, 253, 0.2);
}
.fc-comp-ttl--muted {
  color: var(--fc-muted);
  font-weight: 600;
  box-shadow: none;
}
.fc-comp-ttl--id {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.5rem;
  font-weight: 600;
}

/* Таблица + нижняя панель действий — единый блок */
.fc-comp-card__stack {
  margin-top: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, var(--fc-surface-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-card__stack {
    background: linear-gradient(180deg, rgba(40, 40, 40, 0.95) 0%, var(--fc-surface) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
}
.fc-comp-card__stack .fc-comp-slim-table-wrap {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: transparent;
  margin: 0;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-card__stack .fc-comp-slim-table-wrap {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}
a.fc-comp-table-preview-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
a.fc-comp-table-preview-link:hover {
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.06) 0%, rgba(196, 30, 58, 0.02) 100%);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  a.fc-comp-table-preview-link:hover {
    background: rgba(196, 30, 58, 0.12);
  }
}
a.fc-comp-table-preview-link:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}
.fc-comp-slim-empty--in-stack {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  margin: 0;
  background: rgba(0, 0, 0, 0.02);
}

.fc-comp-card__foot {
  display: flex;
  align-items: stretch;
  min-height: 2.35rem;
}
.fc-comp-foot-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  text-decoration: none;
  border: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    filter 0.15s ease;
}
.fc-comp-foot-btn i {
  font-size: 0.75rem;
  opacity: 0.95;
}
.fc-comp-foot-btn--table {
  background: linear-gradient(180deg, var(--fc-red) 0%, var(--fc-red-dark) 100%);
  color: #fff;
}
.fc-comp-foot-btn--table:hover {
  color: #fff;
  filter: brightness(1.06);
}
.fc-comp-foot-btn--cal {
  background: rgba(255, 255, 255, 0.98);
  color: var(--fc-red-dark);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.fc-comp-foot-btn--cal:hover {
  background: rgba(196, 30, 58, 0.07);
  color: var(--fc-red-dark);
}
.fc-comp-card--featured .fc-comp-card__stack {
  border-color: rgba(196, 30, 58, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 0 0 1px rgba(196, 30, 58, 0.06);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-card--featured .fc-comp-card__stack {
    border-color: rgba(196, 30, 58, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}

/* Узкая таблица внутри карточки (вне stack — отдельная рамка) */
.fc-comp-slim-table-wrap {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.fc-comp-slim-table {
  width: 100%;
  font-size: 0.66rem;
  border-collapse: collapse;
  margin: 0;
}
.fc-comp-slim-table thead th {
  padding: 0.32rem 0.4rem;
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fc-muted);
  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-slim-table thead th {
    background: rgba(255, 255, 255, 0.04);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}
.fc-comp-slim-table tbody td {
  padding: 0.26rem 0.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.045);
  vertical-align: middle;
  transition: background 0.12s ease;
}
.fc-comp-slim-table tbody tr:hover td {
  background: rgba(196, 30, 58, 0.04);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-slim-table tbody td {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }
  .fc-comp-slim-table tbody tr:hover td {
    background: rgba(196, 30, 58, 0.1);
  }
}
.fc-comp-slim-table tbody tr:last-child td {
  border-bottom: none;
}
.fc-comp-slim-tr--t1 td {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.09), transparent);
}
.fc-comp-slim-tr--t2 td {
  background: linear-gradient(90deg, rgba(140, 150, 160, 0.08), transparent);
}
.fc-comp-slim-tr--t3 td {
  background: linear-gradient(90deg, rgba(184, 115, 51, 0.07), transparent);
}
.fc-comp-slim-rk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  font-size: 0.58rem;
  font-weight: 800;
  border-radius: 4px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
}
.fc-comp-slim-rk.is-g {
  background: linear-gradient(135deg, #ffd54f, #ffb300);
  color: #3e2723;
}
.fc-comp-slim-rk.is-s {
  background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
  color: #263238;
}
.fc-comp-slim-rk.is-b {
  background: linear-gradient(135deg, #deb887, #cd853f);
  color: #3e2723;
}
.fc-comp-slim-team {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
  font-weight: 600;
  color: var(--fc-text);
}
.fc-comp-slim-team img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--fc-surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.fc-comp-slim-form {
  display: inline-flex;
  gap: 0.12rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.fc-comp-slim-pip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.78rem;
  height: 0.78rem;
  font-size: 0.48rem;
  font-weight: 800;
  border-radius: 3px;
  color: #fff;
  line-height: 1;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}
.fc-comp-slim-pip.is-w {
  background: #198754;
}
.fc-comp-slim-pip.is-d {
  background: #f59f00;
  color: #222;
}
.fc-comp-slim-pip.is-l {
  background: var(--fc-red);
}
.fc-comp-slim-empty {
  font-size: 0.68rem;
  color: var(--fc-muted);
  padding: 0.55rem 0.5rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(0, 0, 0, 0.02);
}
a.fc-comp-slim-empty.fc-comp-table-preview-link:hover {
  color: var(--fc-red-dark);
  border-color: rgba(196, 30, 58, 0.25);
}
.fc-comp-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.36rem;
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.fc-comp-pill--hot {
  color: var(--fc-red-dark);
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.12) 0%, rgba(196, 30, 58, 0.06) 100%);
  border-color: rgba(196, 30, 58, 0.28);
}
.fc-comp-pill--live {
  color: #0d4f2f;
  background: linear-gradient(180deg, rgba(25, 135, 84, 0.14) 0%, rgba(25, 135, 84, 0.06) 100%);
  border-color: rgba(25, 135, 84, 0.3);
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .fc-comp-pill--hot {
    color: #ffb4c0;
  }
  .fc-comp-pill--live {
    color: #7dcea8;
  }
}
.fc-comp-live-dot {
  font-size: 0.45rem;
  vertical-align: 0.12em;
  animation: fc-pulse 1.4s ease-in-out infinite;
}

.fc-league-card-pro {
  display: flex;
  flex-direction: column;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  padding: 1rem 1.1rem 1rem;
  min-height: 100%;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: var(--fc-shadow);
}
.fc-league-card-pro:hover {
  box-shadow: var(--fc-shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(196, 30, 58, 0.18);
}
.fc-league-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.fc-league-card-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}
.fc-league-card-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
  padding: 4px;
}
.fc-league-card-logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-muted);
  font-size: 1.25rem;
}
.fc-league-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fc-text);
}
.fc-league-card-meta {
  font-size: 0.75rem;
  color: var(--fc-muted);
  margin-top: 0.2rem;
}
.fc-league-card-pills {
  margin-bottom: 0.65rem;
}
.fc-league-card-middle {
  flex: 1 1 auto;
  min-height: 8.5rem;
}
.fc-league-snippet-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}
.fc-league-standings-empty {
  height: 100%;
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0.75rem;
  background: linear-gradient(180deg, var(--fc-surface-2) 0%, rgba(253, 232, 236, 0.35) 100%);
  border: 1px dashed rgba(196, 30, 58, 0.22);
  border-radius: var(--fc-radius-sm);
  color: var(--fc-muted);
  font-size: 0.8125rem;
}
.fc-league-standings-empty .fw-medium {
  color: var(--fc-text);
  font-size: 0.875rem;
}
.fc-league-card-actions {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--fc-border);
}
.fc-league-logo-lg {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

/* Страница «Матчи по дате» */
.fc-fixtures-league-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.85rem 0.55rem 1rem;
  background: linear-gradient(180deg, var(--fc-surface) 0%, var(--fc-surface-2) 100%);
  border-bottom: 1px solid var(--fc-border);
}
.fc-fixtures-league-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--fc-red);
}
.fc-fixtures-league-ico {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--fc-border);
  padding: 3px;
  flex-shrink: 0;
}
.fc-fixtures-league-ico-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-muted);
  font-size: 0.9rem;
}
.fc-fixtures-league-name {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.fc-fixtures-count-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
}
.fc-fixture-tile {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: var(--fc-radius-sm);
  border: 1px solid var(--fc-border);
  background: var(--fc-surface);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.fc-fixture-tile:hover {
  border-color: rgba(196, 30, 58, 0.28);
  box-shadow: 0 2px 10px rgba(196, 30, 58, 0.08);
  background: #fff;
}
.fc-fixture-tile-live {
  border-color: rgba(196, 30, 58, 0.45);
  background: linear-gradient(90deg, rgba(253, 232, 236, 0.65) 0%, var(--fc-surface) 55%);
}
.fc-fixture-tile-score {
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--fc-text);
}
.fc-badge-live {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: var(--fc-red);
  color: #fff;
  animation: fc-pulse-live 1.6s ease-in-out infinite;
}
@keyframes fc-pulse-live {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.82;
  }
}
.fc-badge-ft {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  border: 1px solid var(--fc-border);
}
.fc-badge-ns {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(25, 135, 84, 0.1);
  color: #146c43;
  border: 1px solid rgba(25, 135, 84, 0.2);
}
.fc-date-input-compact {
  max-width: 11rem;
  min-width: 8.5rem;
  border-radius: var(--fc-radius-sm);
  border-color: var(--fc-border);
  font-size: 0.8125rem;
}
.fc-fixtures-league-block {
  position: relative;
  overflow: hidden;
}

.fc-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--fc-red-soft);
  color: var(--fc-red-dark);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  margin-right: 0.35rem;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(196, 30, 58, 0.15);
}

.fc-standing-snippet {
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  padding: 0.45rem 0.65rem;
  margin-bottom: 0.35rem;
  transition: background 0.15s;
  font-size: 0.8125rem;
}
.fc-standing-snippet:hover {
  background: var(--fc-red-soft);
}

.fc-rank-dot {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}
.fc-rank-1 { background: linear-gradient(145deg, #e6c200, #b8960a); }
.fc-rank-2 { background: linear-gradient(145deg, #b0b0b0, #8a8a8a); }
.fc-rank-3 { background: linear-gradient(145deg, #c67d4e, #9a5c32); }
.fc-rank-mid { background: #198754; }
.fc-rank-rel { background: var(--fc-red); }

/* Страница команды */
.fc-team-hero {
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  background: var(--fc-surface);
  box-shadow: var(--fc-shadow);
}
.fc-team-hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.fc-player-ico {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

/* Модалка деталей матча */
.fc-modal-score {
  background: var(--fc-red-soft);
  border: 1px solid rgba(196, 30, 58, 0.12);
  border-radius: var(--fc-radius);
}

/* ========== Единый UI как на странице матча ========== */
.fc-ui .fc-main .card {
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
  overflow: hidden;
}
.fc-ui .fc-main .card > .card-header {
  position: relative;
  background: linear-gradient(180deg, #fff, var(--fc-surface-2)) !important;
  border-bottom: 1px solid var(--fc-border);
  padding-left: 1rem;
}
.fc-ui .fc-main .card > .card-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--fc-red);
}

/* Герой страницы (как шапка матча, компактно) */
.fc-page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(128deg, var(--fc-red-dark) 0%, var(--fc-red) 48%, #e0435f 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 36px rgba(196, 30, 58, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.fc-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 12% -30%, rgba(255, 255, 255, 0.26), transparent 52%),
    radial-gradient(ellipse 45% 40% at 100% 100%, rgba(0, 0, 0, 0.12), transparent 45%);
  pointer-events: none;
}
.fc-page-hero-inner {
  position: relative;
  z-index: 1;
}
.fc-page-hero-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
@media (min-width: 576px) {
  .fc-page-hero-title {
    font-size: 1.35rem;
  }
}
.fc-page-hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  margin: 0.35rem 0 0;
  max-width: 40rem;
}
.fc-page-hero .btn-light {
  color: var(--fc-red-dark) !important;
  font-weight: 600;
  border: none;
}
.fc-page-hero .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  font-weight: 500;
}
.fc-page-hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Оболочка табов как у матча */
.fc-tabs-shell {
  border-radius: 14px;
  border: 1px solid var(--fc-border);
  padding: 0.6rem 0.7rem;
  background: linear-gradient(180deg, #fff 0%, var(--fc-surface-2) 100%);
  box-shadow: var(--fc-shadow);
  margin-bottom: 1rem;
}
.fc-tabs-shell .fc-subnav {
  margin-bottom: 0 !important;
  padding-bottom: 0;
  border-bottom: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--fc-red) var(--fc-border);
}
.fc-tabs-shell .fc-subnav::-webkit-scrollbar {
  height: 5px;
}
.fc-tabs-shell .fc-subnav::-webkit-scrollbar-thumb {
  background: var(--fc-red);
  border-radius: 4px;
}
.fc-tabs-shell .fc-subnav .nav-link {
  border-radius: 10px;
  padding: 0.45rem 0.85rem !important;
  font-size: 0.8125rem;
  border: 1px solid transparent;
  white-space: nowrap;
}
.fc-tabs-shell .fc-subnav .nav-link:hover {
  background: var(--fc-red-soft);
  color: var(--fc-red);
}
.fc-tabs-shell .fc-subnav .nav-link.active {
  background: linear-gradient(135deg, var(--fc-red), var(--fc-red-dark)) !important;
  color: #fff !important;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 16px rgba(196, 30, 58, 0.32);
}

/* Главная: липкие вкладки на узких экранах */
@media (max-width: 991.98px) {
  .fc-tabs-shell--sticky-mobile {
    position: sticky;
    top: 0;
    z-index: 1020;
    margin-bottom: 1rem !important;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
  .fc-tabs-shell--sticky-mobile {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--fc-surface);
  }
}

/* Главная: одна колонка контента */
.fc-home-layout-inner {
  width: 100%;
}
@media (min-width: 992px) {
  .fc-home-layout-inner {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
  }
}
.fc-home-tabs-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}
@media (max-width: 991.98px) {
  .fc-home-date-toolbar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .fc-home-date-toolbar::-webkit-scrollbar {
    display: none;
  }
}
.fc-home-date-toolbar {
  margin-bottom: 0;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .fc-home-tabs-row {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
  }
  .fc-home-tabs-row .fc-subnav-main {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
  }
  .fc-home-tabs-row .fc-home-date-toolbar {
    order: 2;
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

.fc-home-top-strip {
  border-color: var(--fc-border) !important;
}

/* Главная: рельса дат + календарь (не путать с .fc-date-rail календаря матчей) */
.fc-home-date-nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.fc-date-rail-calendar-form {
  margin: 0;
  flex-shrink: 0;
}
.fc-date-rail-calendar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--fc-border);
  background: rgba(0, 0, 0, 0.035);
  color: var(--fc-muted);
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.fc-date-rail-calendar:hover {
  border-color: rgba(196, 30, 58, 0.35);
  color: var(--fc-red);
  background: var(--fc-red-soft);
}
.fc-date-rail-calendar--picked {
  border-color: rgba(196, 30, 58, 0.42);
  color: var(--fc-red-dark);
  background: var(--fc-red-soft);
  box-shadow: 0 0 0 1px rgba(196, 30, 58, 0.12);
}
.fc-date-rail-calendar-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 1rem;
}
.fc-date-rail-calendar .fa-calendar-alt {
  font-size: 0.82rem;
  pointer-events: none;
}

/* Мобилка и планшет: горизонтальная «пилюля», как раньше, чуть компактнее оригинала */
@media (max-width: 991.98px) {
  .fc-home-date-nav {
    display: flex;
    justify-content: center;
  }
  .fc-home-date-nav .fc-date-rail-track {
    display: inline-flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 1px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--fc-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }
  .fc-home-date-nav .fc-date-rail-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.45rem 0.22rem 0.38rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--fc-muted);
    font-size: 0.72rem;
    font-weight: 600;
    transition: background 0.18s, color 0.18s;
    border: none;
    background: transparent;
    flex: 0 1 auto;
    min-width: 0;
  }
  .fc-home-date-nav .fc-date-rail-nav--next {
    padding: 0.22rem 0.38rem 0.22rem 0.45rem;
  }
  .fc-home-date-nav .fc-date-rail-nav:hover {
    color: var(--fc-red-dark);
    background: rgba(255, 255, 255, 0.92);
  }
  .fc-home-date-nav .fc-date-rail-nav i {
    font-size: 0.6rem;
    opacity: 0.6;
    flex-shrink: 0;
  }
  .fc-home-date-nav .fc-date-rail-nav:hover i {
    opacity: 1;
  }
  .fc-home-date-nav .fc-date-rail-nav-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.12;
    min-width: 0;
  }
  .fc-home-date-nav .fc-date-rail-nav--next .fc-date-rail-nav-stack {
    align-items: flex-end;
  }
  .fc-home-date-nav .fc-date-rail-nav-label {
    font-size: 0.54rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.78;
  }
  .fc-home-date-nav .fc-date-rail-nav-date {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 0.74rem;
    color: var(--fc-text);
  }
  .fc-home-date-nav .fc-date-rail-nav:hover .fc-date-rail-nav-date {
    color: var(--fc-red-dark);
  }
  .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.65rem;
    min-width: 4.35rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--fc-red), var(--fc-red-dark));
    color: #fff;
    box-shadow: 0 3px 12px rgba(196, 30, 58, 0.26);
    cursor: pointer;
  }
  .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current:hover {
    color: #fff;
    background: linear-gradient(145deg, var(--fc-red), var(--fc-red-dark));
    filter: brightness(1.04);
  }
  .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current:hover i {
    opacity: 1;
    color: #fff;
  }
  .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current .fc-date-rail-nav-label {
    color: rgba(255, 255, 255, 0.92);
    opacity: 1;
  }
  .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current .fc-date-rail-nav-date {
    color: #fff;
  }
  .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current:hover .fc-date-rail-nav-date {
    color: #fff;
  }
  .fc-home-date-nav .fc-date-rail-nav--center .fc-date-rail-nav-stack--center {
    align-items: center;
    text-align: center;
  }
}

/* Десктоп: компактная рельса справа в строке с вкладками */
@media (min-width: 992px) {
  .fc-home-tabs-shell .fc-home-date-nav-row {
    justify-content: flex-end;
    margin-left: 0;
    margin-right: 0;
    width: auto;
  }
  .fc-home-tabs-shell .fc-home-date-nav {
    display: flex;
    justify-content: flex-end;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-track {
    display: inline-flex;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
    max-width: 100%;
    padding: 1px;
    gap: 1px;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.045);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    padding: 0.2rem 0.32rem 0.2rem 0.28rem;
    border-radius: 7px;
    text-decoration: none;
    color: var(--fc-muted);
    font-size: 0.68rem;
    font-weight: 600;
    transition: background 0.18s, color 0.18s;
    border: none;
    background: transparent;
    min-width: 0;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav--next {
    padding: 0.2rem 0.28rem 0.2rem 0.32rem;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav:hover {
    color: var(--fc-red-dark);
    background: rgba(255, 255, 255, 0.95);
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav i {
    font-size: 0.55rem;
    opacity: 0.55;
    flex-shrink: 0;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav:hover i {
    opacity: 1;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.08;
    min-width: 0;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav--next .fc-date-rail-nav-stack {
    align-items: flex-end;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav-label {
    font-size: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav-date {
    font-size: 0.66rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--fc-text);
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav:hover .fc-date-rail-nav-date {
    color: var(--fc-red-dark);
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current {
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.42rem;
    min-width: 3.65rem;
    border-radius: 7px;
    background: linear-gradient(145deg, var(--fc-red), var(--fc-red-dark));
    color: #fff;
    box-shadow: 0 2px 10px rgba(196, 30, 58, 0.28);
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current:hover {
    color: #fff;
    background: linear-gradient(145deg, var(--fc-red), var(--fc-red-dark));
    filter: brightness(1.04);
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current:hover i {
    opacity: 1;
    color: #fff;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current .fc-date-rail-nav-label {
    color: rgba(255, 255, 255, 0.92);
    opacity: 1;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current .fc-date-rail-nav-date {
    color: #fff;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav.fc-date-rail-current:hover .fc-date-rail-nav-date {
    color: #fff;
  }
  .fc-home-tabs-shell .fc-home-date-nav .fc-date-rail-nav--center .fc-date-rail-nav-stack--center {
    align-items: center;
    text-align: center;
  }
  .fc-home-tabs-shell .fc-date-rail-calendar {
    width: 1.92rem;
    height: 1.92rem;
    border-radius: 8px;
  }
  .fc-home-tabs-shell .fc-date-rail-calendar .fa-calendar-alt {
    font-size: 0.75rem;
  }
}

/* Фильтр лиг: иконка + горизонтальный скролл */
.fc-league-filter {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 12px;
  border: 1px solid var(--fc-border);
  background: var(--fc-surface);
  overflow: hidden;
}
.fc-league-filter-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  color: var(--fc-muted);
  background: rgba(0, 0, 0, 0.025);
  border-right: 1px solid var(--fc-border);
  font-size: 0.72rem;
}
.fc-league-filter-scroll-outer {
  flex: 1;
  min-width: 0;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 12px,
    #000 calc(100% - 12px),
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 12px,
    #000 calc(100% - 12px),
    transparent
  );
}
.fc-league-filter-scroll {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.22rem;
  padding: 0.22rem 0.38rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.fc-league-filter-scroll::-webkit-scrollbar {
  height: 4px;
}
.fc-league-filter-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.fc-lf-chip {
  flex-shrink: 0;
  border: 1px solid var(--fc-border);
  background: rgba(255, 255, 255, 0.65);
  color: var(--fc-muted);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.14rem 0.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  max-width: 9rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.fc-lf-chip:hover {
  border-color: rgba(196, 30, 58, 0.35);
  color: var(--fc-red-dark);
  background: var(--fc-red-soft);
}
.fc-lf-chip.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--fc-red), var(--fc-red-dark));
  color: #fff;
  box-shadow: 0 2px 10px rgba(196, 30, 58, 0.25);
}
.fc-lf-chip-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}
.fc-lf-chip-text {
  max-width: 8.5rem;
  display: inline-block;
  vertical-align: middle;
}

@media (prefers-reduced-motion: no-preference) {
  .fc-home-tab-content .tab-pane.active .fc-home-match-panel {
    animation: fc-home-pane-in 0.38s ease-out;
  }
}
@keyframes fc-home-pane-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fc-navbar-home {
  border-left: 1px solid var(--fc-border);
  padding-left: 0.75rem !important;
}

.fc-home-live-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--fc-muted);
  white-space: nowrap;
}

.fc-navbar-home .fc-home-live-line {
  font-size: 0.8125rem;
}

.fc-sb-empty-actions .btn {
  min-height: 2.25rem;
}

/* Контент вкладок без «рамки с главной» */
.fc-tab-plain.tab-content {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Главная: уменьшаем хвостовой зазор перед футером (последний матчевый блок имеет mb-3 в шаблоне) */
.fc-home-tab-content .tab-pane > .fc-home-match-panel.mb-3 {
  margin-bottom: 0.25rem !important;
}

.fc-ui .fc-footer h6 .text-primary {
  color: var(--fc-red) !important;
}

/* ========== Главная: табло матчей (FlashScore-style) ========== */
.fc-hero-live-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.15rem;
  vertical-align: middle;
}
.fc-hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fc-red);
  box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.2);
  animation: fc-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.fc-hero-live-sep {
  opacity: 0.75;
  font-weight: 400;
}

/* Главная: один ряд вкладок + панель табло */
.fc-subnav-main.fc-subnav .nav-link {
  padding: 0.4rem 0.7rem !important;
  font-size: 0.78rem;
}

@media (min-width: 768px) {
  .fc-subnav-main.fc-subnav .nav-link {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.8125rem;
  }
}

@media (max-width: 767.98px) {
  .fc-home-tabs-shell #mainTabs.fc-subnav-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    overflow: visible;
    flex-wrap: wrap;
    scrollbar-width: none;
  }

  .fc-home-tabs-shell #mainTabs.fc-subnav-main .nav-item {
    width: 100%;
    min-width: 0;
  }

  .fc-home-tabs-shell #mainTabs.fc-subnav-main .nav-link {
    width: 100%;
    min-height: 2.15rem;
    justify-content: center;
    text-align: center;
    padding: 0.34rem 0.5rem !important;
    white-space: nowrap;
  }
}

.fc-tab-live-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fc-red);
  box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.2);
  animation: fc-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.fc-tab-live-pip--nav {
  width: 6px;
  height: 6px;
  margin-right: 0.2rem;
  margin-top: -1px;
}

.fc-tabs-shell .fc-subnav .nav-link:not(.active) .fc-tab-live-pip--nav {
  opacity: 0.85;
}

.fc-main-nav-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.32rem;
  margin-left: 0.3rem;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}

.fc-main-nav-tab-badge.is-hot {
  background: rgba(255, 255, 255, 0.95);
  color: var(--fc-red-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.fc-tabs-shell .fc-subnav .nav-link.active .fc-main-nav-tab-badge:not(.is-hot) {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.fc-tabs-shell .fc-subnav .nav-link.active .fc-main-nav-tab-badge.is-hot {
  background: #fff;
  color: var(--fc-red-dark);
}

/* Обёртка табло под вкладками «Сегодня» / «Лайв» / «Завершённые» */
.fc-home-match-panel {
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #f3f4f6 0%, #eceef1 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 28px rgba(0, 0, 0, 0.06),
    0 24px 48px rgba(196, 30, 58, 0.04);
}

.fc-home-match-panel .fc-scoreboard {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background: var(--fc-surface);
}

.fc-home-match-panel .fc-sb-league-head {
  padding: 0.55rem 1rem;
  background: linear-gradient(180deg, #fbfbfc 0%, #f4f5f6 100%);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.fc-home-match-panel .fc-sb-league:first-child .fc-sb-league-head {
  border-top: none;
}

.fc-home-match-panel .fc-sb-row {
  padding-left: 1rem;
  padding-right: 1rem;
  border-bottom-color: rgba(0, 0, 0, 0.055);
}

.fc-home-match-panel .fc-sb-row:hover {
  background: rgba(196, 30, 58, 0.06);
}

.fc-home-match-panel .fc-sb-empty {
  padding: 2.5rem 1.25rem;
}

@media (max-width: 575.98px) {
  .fc-home-match-panel {
    padding: 0.85rem 0.75rem 1rem;
  }
}

.fc-scoreboard.fc-card {
  overflow: hidden;
  padding: 0;
  border-radius: var(--fc-radius);
}
.fc-scoreboard > .fc-sb-league:first-child .fc-sb-league-head {
  border-top: none;
}

.fc-sb-empty {
  text-align: center;
  padding: 2rem 1rem;
}

.fc-sb-league {
  border-bottom: 1px solid var(--fc-border);
}
.fc-sb-league:last-child {
  border-bottom: none;
}

.fc-sb-league-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: linear-gradient(180deg, #f3f4f6 0%, var(--fc-surface-2) 100%);
  border-bottom: 1px solid var(--fc-border);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-sb-league-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.fc-sb-league-titles {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.fc-sb-league-name {
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-sb-league-country {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--fc-muted);
}
.fc-sb-league-count {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fc-muted);
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
}

.fc-sb-league-body {
  background: var(--fc-surface);
}

.fc-sb-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 3.25rem minmax(0, 1fr) 2.35rem;
  gap: 0.35rem 0.55rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--fc-border);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  color: inherit;
  outline: none;
}
.fc-sb-row:last-child {
  border-bottom: none;
}
.fc-sb-row:hover {
  background: var(--fc-red-soft);
}
.fc-sb-row:focus-visible {
  box-shadow: inset 0 0 0 2px var(--fc-red);
}
.fc-sb-row--live {
  background: linear-gradient(
    90deg,
    rgba(196, 30, 58, 0.14) 0%,
    rgba(196, 30, 58, 0.05) 38%,
    transparent 72%
  );
  box-shadow:
    inset 3px 0 0 var(--fc-red),
    inset 0 0 0 1px rgba(196, 30, 58, 0.1);
}
.fc-sb-row--live:hover {
  background: linear-gradient(
    90deg,
    rgba(196, 30, 58, 0.18) 0%,
    rgba(196, 30, 58, 0.08) 45%,
    var(--fc-red-soft) 100%
  );
  box-shadow:
    inset 3px 0 0 var(--fc-red),
    inset 0 0 0 1px rgba(196, 30, 58, 0.14);
}
.fc-sb-row--live .fc-sb-goals {
  font-weight: 800;
  color: var(--fc-red-dark);
}
.fc-sb-row--ft .fc-sb-goals {
  color: var(--fc-text);
}

.fc-sb-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-align: center;
  min-width: 0;
}
.fc-sb-meta-primary {
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--fc-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.fc-sb-row--live .fc-sb-meta-primary {
  color: var(--fc-red);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}
.fc-sb-row--ft .fc-sb-meta-primary {
  color: #157347;
  font-size: 0.65rem;
  font-weight: 700;
}

.fc-sb-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fc-red);
  animation: fc-pulse 1.4s ease-in-out infinite;
}

.fc-sb-team {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
}
.fc-sb-team--home {
  justify-content: flex-start;
  flex-direction: row-reverse;
  text-align: right;
}
.fc-sb-team--away {
  justify-content: flex-start;
  text-align: left;
}

.fc-sb-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.fc-sb-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.fc-sb-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  text-align: center;
  min-height: 2.5rem;
}

.fc-sb-goals {
  font-weight: 800;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  line-height: 1;
}
.fc-sb-goals--pending {
  color: #adb5bd;
  font-weight: 600;
  font-size: 0.875rem;
}
.fc-sb-goals.fc-sb-goals--flash {
  animation: fc-sb-score-flash 0.85s ease-out;
}
@keyframes fc-sb-score-flash {
  0% {
    color: var(--fc-red);
    transform: scale(1.06);
  }
  100% {
    color: inherit;
    transform: scale(1);
  }
}
.fc-sb-score-sep {
  margin: 0 0.1rem;
  opacity: 0.88;
  font-weight: 800;
}

.fc-sb-ht {
  font-size: 0.625rem;
  color: var(--fc-muted);
  font-weight: 600;
  line-height: 1;
  max-width: 100%;
  white-space: nowrap;
}

.fc-sb-pen {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fc-red);
  line-height: 1;
  margin-top: 0.12rem;
}

.fc-sb-tools {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-sb-more {
  border: none;
  background: transparent;
  color: var(--fc-muted);
  padding: 0.3rem;
  border-radius: var(--fc-radius-sm);
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.fc-sb-more:hover {
  color: var(--fc-red);
  background: rgba(196, 30, 58, 0.1);
}
.fc-sb-more:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: 1px;
}

@media (max-width: 575.98px) {
  .fc-sb-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.85rem minmax(0, 1fr) 2rem;
    gap: 0.28rem 0.35rem;
    padding: 0.45rem 0.4rem;
  }
  .fc-sb-team {
    font-size: 0.72rem;
    gap: 0.3rem;
  }
  .fc-sb-logo {
    width: 18px;
    height: 18px;
  }
  .fc-sb-goals {
    font-size: 0.8125rem;
  }
  .fc-sb-meta-primary {
    font-size: 0.62rem;
  }
}

.fc-home-updates-chip {
  position: sticky;
  top: calc(var(--fc-topbar-offset, 64px) + 0.35rem);
  z-index: 7;
  margin: 0 auto 0.45rem;
  width: fit-content;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.94);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 7px 22px rgba(25, 135, 84, 0.24);
  transform: translateY(-6px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fc-home-updates-chip.fc-home-updates-chip--show {
  opacity: 1;
  transform: translateY(0);
}

.fc-home-favorites-updates {
  border-color: rgba(255, 193, 7, 0.4) !important;
}


@media (max-width: 991.98px) {
  .fc-tabs-shell--sticky-mobile.fc-home-tabs-shell {
    top: calc(var(--fc-topbar-offset, 64px) + 0.15rem);
    transition: transform 0.22s ease, box-shadow 0.2s ease;
    z-index: 30;
  }

  .fc-tabs-shell--sticky-mobile.fc-home-tabs-shell.fc-tabs-shell--compact {
    transform: translateY(-5px) scale(0.995);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }

  .fc-home-layout.fc-home-exp-compact-live .fc-home-match-panel .fc-sb-row--live {
    grid-template-columns: 2.15rem minmax(0, 1fr) 2.65rem minmax(0, 1fr) 2rem;
    gap: 0.2rem 0.35rem;
    padding-top: 0.44rem;
    padding-bottom: 0.44rem;
  }

  .fc-home-layout.fc-home-exp-compact-live .fc-home-match-panel .fc-sb-row--live .fc-sb-meta-primary {
    font-size: 0.68rem;
  }

  .fc-home-layout.fc-home-exp-compact-live .fc-home-match-panel .fc-sb-row--live .fc-sb-team {
    font-size: 0.76rem;
    gap: 0.32rem;
  }

  .fc-home-layout.fc-home-exp-compact-live .fc-home-match-panel .fc-sb-row--live .fc-sb-logo {
    width: 18px;
    height: 18px;
  }

  .fc-home-layout.fc-home-exp-compact-live .fc-home-match-panel .fc-sb-row--live .fc-sb-goals {
    font-size: 0.86rem;
  }

  .fc-home-layout.fc-home-exp-compact-live .fc-home-match-panel .fc-sb-row--live .fc-sb-tools .fc-sb-more {
    width: 1.72rem;
    height: 1.72rem;
  }
}

/* ---------- Команды: ссылки и страница клуба ---------- */
.fc-team-name {
  color: inherit;
  font-weight: inherit;
}
a.fc-team-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.fc-team-link:hover {
  color: var(--fc-red, #c41e3a);
  border-bottom-color: rgba(196, 30, 58, 0.35);
}
.fc-match-stats-hero a.fc-team-link.text-white {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.22);
}
.fc-match-stats-hero a.fc-team-link.text-white:hover {
  color: #fff !important;
  opacity: 0.92;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.fc-fixture-team-block--link {
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.35rem 0.5rem;
  margin: -0.35rem -0.5rem;
  transition: background 0.18s ease, transform 0.18s ease;
}
.fc-fixture-team-block--link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}
.fc-fixture-team-block--link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.fc-team-page-hero {
  position: relative;
  border-radius: var(--fc-radius, 12px);
}
.fc-team-page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3d2e 0%, #0d2818 45%, #1e4d3a 100%);
  opacity: 1;
}
.fc-team-page-hero__body {
  z-index: 1;
}
.fc-team-page-hero__logo {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* Страница команды (/teams/{id}) — обзор (в духе страницы лиги) */
.fc-team-page {
  max-width: 100%;
}
.fc-team-hero-pro {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(34, 120, 78, 0.35);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.fc-team-hero-pro__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(56, 180, 120, 0.42) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 100%, rgba(12, 55, 38, 0.75) 0%, transparent 52%),
    linear-gradient(158deg, #0a2216 0%, #164d32 38%, #0c1512 100%);
}
.fc-team-hero-pro__inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.35rem 1rem;
}
@media (min-width: 768px) {
  .fc-team-hero-pro__inner {
    padding: 1.5rem 1.75rem 1.15rem;
  }
}
.fc-team-hero-pro__main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}
.fc-team-hero-pro__brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}
.fc-team-hero-pro__logo-ring {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  padding: 4px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.06));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.fc-team-hero-pro__logo-ring--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 2rem;
}
.fc-team-hero-pro__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  display: block;
}
.fc-team-hero-pro__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}
@media (min-width: 576px) {
  .fc-team-hero-pro__title {
    font-size: 1.65rem;
  }
}
.fc-team-hero-pro__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 0.35rem !important;
}
.fc-team-hero-pro__dot {
  margin: 0 0.35rem;
}
.fc-team-hero-pro__coach {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.5rem !important;
}
.fc-team-hero-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.fc-team-hero-pro__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}
.fc-team-hero-pro__btn i {
  font-size: 0.85rem;
}
.fc-team-hero-pro__btn--primary {
  background: #fff;
  color: #0d3d28;
  border-color: rgba(255, 255, 255, 0.35);
}
.fc-team-hero-pro__btn--primary:hover {
  color: var(--fc-red-dark);
  transform: translateY(-1px);
}
.fc-team-hero-pro__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.fc-team-hero-pro__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.fc-team-hero-pro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.fc-team-hero-pro__stat {
  text-align: center;
  padding: 0.45rem 0.35rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 5.75rem;
}
@media (min-width: 768px) {
  .fc-team-hero-pro__stat {
    flex: 1 1 calc(33.333% - 0.35rem);
  }
}
@media (min-width: 1200px) {
  .fc-team-hero-pro__stat {
    flex: 1 1 0;
    min-width: 6.5rem;
  }
  .fc-team-hero-pro__stat--wide {
    flex: 1.85 1 0;
    min-width: 10rem;
  }
}
.fc-team-hero-pro__stat-v {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}
.fc-team-hero-pro__stat-v--sm {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}
.fc-team-hero-pro__stat-l {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.15rem;
  display: block;
  line-height: 1.25;
}

.fc-team-panel {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.fc-team-panel__head {
  background: linear-gradient(180deg, rgba(22, 110, 70, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--fc-border);
}
.fc-team-venue-name {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.fc-team-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: 0.35rem 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--fc-border);
  font-size: 0.78rem;
}
.fc-team-dl__row:last-child {
  border-bottom: 0;
}
.fc-team-dl dt {
  margin: 0;
  font-weight: 700;
  color: var(--fc-muted);
}
.fc-team-dl dd {
  margin: 0;
  color: var(--fc-text);
  font-weight: 600;
}

.fc-team-league-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--fc-border);
  background: var(--fc-surface);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fc-text);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.fc-team-league-chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}
.fc-team-league-chip:hover {
  border-color: rgba(22, 110, 70, 0.4);
  background: rgba(22, 110, 70, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--fc-text);
}

.fc-team-table-scroll {
  max-height: min(70vh, 520px);
  overflow: auto;
}
.fc-team-standings-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fc-muted);
  background: linear-gradient(180deg, var(--fc-surface-2), var(--fc-surface));
  box-shadow: 0 1px 0 var(--fc-border);
  white-space: nowrap;
  padding: 0.5rem 0.45rem;
}
.fc-team-standings-table tbody td {
  padding: 0.45rem 0.45rem;
  font-size: 0.8rem;
  vertical-align: middle;
}
.fc-team-standings-ico {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--fc-border);
  padding: 2px;
}
.fc-team-rk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 6px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
}
.fc-team-form-pip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.55rem;
  font-weight: 800;
  border-radius: 3px;
  color: #fff;
  line-height: 1;
}
.fc-team-form-pip.is-w {
  background: #198754;
}
.fc-team-form-pip.is-d {
  background: #f59f00;
  color: #222;
}
.fc-team-form-pip.is-l {
  background: var(--fc-red);
}

.fc-team-match-list .list-group-item {
  border-color: var(--fc-border);
}
.fc-team-match-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.5rem 0.65rem;
  align-items: center;
  padding: 0.65rem 1rem !important;
  transition: background 0.15s ease;
}
.fc-team-match-row:hover {
  background: rgba(22, 110, 70, 0.04);
}
.fc-team-match-row--done {
  background: rgba(0, 0, 0, 0.015);
}
.fc-team-match-row__time {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fc-muted);
  white-space: nowrap;
}
.fc-team-match-row__lg {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fc-red-dark);
  opacity: 0.85;
}
.fc-team-match-row--done .fc-team-match-row__lg {
  color: var(--fc-muted);
  font-weight: 700;
  opacity: 1;
}
.fc-team-match-row__pair {
  min-width: 0;
}
.fc-team-match-row__go {
  flex-shrink: 0;
}
.fc-team-match-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  margin-right: 0.25rem;
}
.fc-team-match-tag--home {
  background: rgba(22, 110, 70, 0.12);
  color: #146b45;
}
.fc-team-match-tag--live {
  background: rgba(196, 30, 58, 0.15);
  color: var(--fc-red-dark);
  animation: fc-team-pulse 1.4s ease-in-out infinite;
}
@keyframes fc-team-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

.fc-team-squad-block {
  border-bottom: 1px solid var(--fc-border);
}
.fc-team-squad-block:last-child {
  border-bottom: 0;
}
.fc-team-squad-block__head {
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fc-text);
  background: linear-gradient(90deg, rgba(22, 110, 70, 0.12), rgba(22, 110, 70, 0.02));
  border-left: 3px solid #1a7a52;
}
.fc-team-squad-table thead th {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.fc-team-squad-table tbody td {
  font-size: 0.78rem;
  padding: 0.45rem 0.5rem;
  vertical-align: middle;
}
.fc-team-squad-tr:hover td {
  background: rgba(22, 110, 70, 0.05);
}
.fc-team-squad-ph {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--fc-border);
}
.fc-team-pos-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  font-family: ui-monospace, monospace;
  border-radius: 6px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
}

a.fc-player-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.fc-player-link:hover {
  color: var(--fc-red, #c41e3a);
  border-bottom-color: rgba(196, 30, 58, 0.35);
}

/* Страница игрока (/players/{id}) */
.fc-player-page {
  max-width: 100%;
}
.fc-player-hero-pro {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(30, 72, 120, 0.35);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.fc-player-hero-pro__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(66, 133, 244, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 100%, rgba(180, 130, 40, 0.28) 0%, transparent 50%),
    linear-gradient(158deg, #0c1524 0%, #1a2d4a 42%, #0f1118 100%);
}
.fc-player-hero-pro__inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.35rem 1rem;
}
@media (min-width: 768px) {
  .fc-player-hero-pro__inner {
    padding: 1.5rem 1.75rem 1.15rem;
  }
}
.fc-player-hero-pro__main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}
.fc-player-hero-pro__brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}
.fc-player-hero-pro__photo-ring {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  padding: 4px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 200, 120, 0.15));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.fc-player-hero-pro__photo-ring--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 2.5rem;
}
.fc-player-hero-pro__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #1a1a1a;
  display: block;
}
.fc-player-hero-pro__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}
@media (min-width: 576px) {
  .fc-player-hero-pro__title {
    font-size: 1.65rem;
  }
}
.fc-player-hero-pro__legal {
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem !important;
}
.fc-player-hero-pro__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 0.4rem !important;
}
.fc-player-hero-pro__dot {
  margin: 0 0.35rem;
}
.fc-player-hero-pro__pos-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.12rem 0.4rem;
  font-size: 0.58rem;
  font-weight: 800;
  font-family: ui-monospace, monospace;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.fc-player-hero-pro__club {
  font-size: 0.82rem;
  margin-top: 0.55rem !important;
  color: rgba(255, 255, 255, 0.88);
}
.fc-player-hero-pro__club a:hover {
  text-decoration: underline !important;
}
.fc-player-hero-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.fc-player-hero-pro__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}
.fc-player-hero-pro__btn i {
  font-size: 0.85rem;
}
.fc-player-hero-pro__btn--primary {
  background: #fff;
  color: #153a5c;
  border-color: rgba(255, 255, 255, 0.35);
}
.fc-player-hero-pro__btn--primary:hover {
  color: var(--fc-red);
  transform: translateY(-1px);
}
.fc-player-hero-pro__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.fc-player-hero-pro__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.fc-player-hero-pro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.fc-player-hero-pro__stat {
  text-align: center;
  padding: 0.45rem 0.35rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 5.25rem;
}
@media (min-width: 768px) {
  .fc-player-hero-pro__stat {
    flex: 1 1 calc(33.333% - 0.35rem);
  }
}
@media (min-width: 1200px) {
  .fc-player-hero-pro__stat {
    flex: 1 1 0;
    min-width: 5.5rem;
  }
  .fc-player-hero-pro__stat--wide {
    flex: 1.6 1 0;
    min-width: 9rem;
  }
}
.fc-player-hero-pro__stat-v {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}
.fc-player-hero-pro__stat-v--sm {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}
.fc-player-hero-pro__stat-l {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.15rem;
  display: block;
  line-height: 1.25;
}

.fc-player-panel {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.fc-player-panel__head {
  background: linear-gradient(180deg, rgba(30, 80, 140, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--fc-border);
}
.fc-player-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: 0.35rem 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--fc-border);
  font-size: 0.78rem;
}
.fc-player-dl__row:last-child {
  border-bottom: 0;
}
.fc-player-dl dt {
  margin: 0;
  font-weight: 700;
  color: var(--fc-muted);
}
.fc-player-dl dd {
  margin: 0;
  color: var(--fc-text);
  font-weight: 600;
}

.fc-player-club-list__item + .fc-player-club-list__item {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--fc-border);
}
.fc-player-club-link:hover .fw-semibold {
  color: var(--fc-red) !important;
}
.fc-player-club-ico {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--fc-border);
  padding: 3px;
  flex-shrink: 0;
}

.fc-player-match-list .list-group-item {
  border-color: var(--fc-border);
}
.fc-player-match-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.5rem 0.65rem;
  align-items: center;
  padding: 0.65rem 1rem !important;
  transition: background 0.15s ease;
}
.fc-player-match-row:hover {
  background: rgba(30, 80, 140, 0.05);
}
.fc-player-match-row__time {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fc-muted);
  white-space: nowrap;
}
.fc-player-match-row__lg {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fc-red-dark);
  opacity: 0.85;
}
.fc-player-match-row__pair {
  min-width: 0;
}
.fc-player-match-row__go {
  flex-shrink: 0;
}
.fc-player-match-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  margin-right: 0.25rem;
}
.fc-player-match-tag--start {
  background: rgba(30, 80, 140, 0.12);
  color: #1a4d8c;
}
.fc-player-match-tag--team {
  max-width: 9rem;
  background: rgba(0, 0, 0, 0.04);
  vertical-align: bottom;
}

.fc-player-events-table thead th {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 0.5rem 0.65rem;
}
.fc-player-events-table tbody td {
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  vertical-align: middle;
}
.fc-player-ev-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
}
.fc-player-ev-badge--goal {
  background: rgba(25, 135, 84, 0.15);
  color: #146c43;
}
.fc-player-ev-badge--assist {
  background: rgba(30, 80, 140, 0.12);
  color: #1a4d8c;
}

/* Страница лиги (/league/{id}) — обзор */
.fc-league-page {
  max-width: 100%;
}
.fc-league-hero-pro {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(196, 30, 58, 0.2);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.fc-league-hero-pro__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(196, 30, 58, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 100%, rgba(30, 40, 80, 0.35) 0%, transparent 50%),
    linear-gradient(155deg, #1a0a0e 0%, #2d1218 35%, #0f1118 100%);
}
.fc-league-hero-pro__inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.35rem 1rem;
}
@media (min-width: 768px) {
  .fc-league-hero-pro__inner {
    padding: 1.5rem 1.75rem 1.15rem;
  }
}
.fc-league-hero-pro__main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}
.fc-league-hero-pro__brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}
.fc-league-hero-pro__logo-ring {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  padding: 4px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.fc-league-hero-pro__logo-ring--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 2rem;
}
.fc-league-hero-pro__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  display: block;
}
.fc-league-hero-pro__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}
@media (min-width: 576px) {
  .fc-league-hero-pro__title {
    font-size: 1.65rem;
  }
}
.fc-league-hero-pro__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.35rem !important;
}
.fc-league-hero-pro__dot {
  margin: 0 0.35rem;
}
.fc-league-hero-pro__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}
.fc-league-hero-pro__pill {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}
.fc-league-hero-pro__pill--muted {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}
.fc-league-hero-pro__pill--accent {
  background: rgba(196, 30, 58, 0.45);
  border-color: rgba(255, 200, 210, 0.35);
}
.fc-league-hero-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.fc-league-hero-pro__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}
.fc-league-hero-pro__btn i {
  font-size: 0.85rem;
}
.fc-league-hero-pro__btn--primary {
  background: #fff;
  color: var(--fc-red-dark);
  border-color: rgba(255, 255, 255, 0.3);
}
.fc-league-hero-pro__btn--primary:hover {
  color: var(--fc-red);
  transform: translateY(-1px);
}
.fc-league-hero-pro__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.fc-league-hero-pro__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.fc-league-hero-pro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.fc-league-hero-pro__stat {
  text-align: center;
  padding: 0.45rem 0.35rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 5.75rem;
}
@media (min-width: 768px) {
  .fc-league-hero-pro__stat {
    flex: 1 1 calc(33.333% - 0.35rem);
  }
}
@media (min-width: 1200px) {
  .fc-league-hero-pro__stat {
    flex: 1 1 0;
    min-width: 6.5rem;
  }
  .fc-league-hero-pro__stat--wide {
    flex: 1.85 1 0;
    min-width: 10rem;
  }
}
.fc-league-hero-pro__stat-v {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}
.fc-league-hero-pro__stat-v--sm {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}
.fc-league-hero-pro__stat-l {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.15rem;
  display: block;
  line-height: 1.25;
}

.fc-league-section-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
  color: var(--fc-text);
}
.fc-league-insight {
  border: 1px solid rgba(196, 30, 58, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.fc-league-meta-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: 0.35rem 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--fc-border);
  font-size: 0.78rem;
}
.fc-league-meta-dl__row:last-child {
  border-bottom: 0;
}
.fc-league-meta-dl dt {
  margin: 0;
  font-weight: 700;
  color: var(--fc-muted);
  text-transform: capitalize;
}
.fc-league-meta-dl dd {
  margin: 0;
  color: var(--fc-text);
  font-weight: 600;
}

.fc-league-panel {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.fc-league-panel__head {
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--fc-border);
}
.fc-league-page .fc-card-header::before {
  display: none !important;
}
.fc-league-table-scroll {
  max-height: min(70vh, 520px);
  overflow: auto;
}
.fc-league-standings-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fc-muted);
  background: linear-gradient(180deg, var(--fc-surface-2), var(--fc-surface));
  box-shadow: 0 1px 0 var(--fc-border);
  white-space: nowrap;
  padding: 0.5rem 0.45rem;
}
.fc-league-standings-table tbody td {
  padding: 0.45rem 0.45rem;
  font-size: 0.8rem;
  vertical-align: middle;
}
.fc-league-standings-tr--p1 td {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent);
}
.fc-league-standings-tr--p2 td {
  background: linear-gradient(90deg, rgba(140, 150, 160, 0.1), transparent);
}
.fc-league-standings-tr--p3 td {
  background: linear-gradient(90deg, rgba(184, 115, 51, 0.09), transparent);
}
.fc-league-standings-ico {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--fc-border);
  padding: 2px;
}
.fc-league-rk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 6px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
}
.fc-league-rk.is-1 {
  background: linear-gradient(135deg, #ffd54f, #ffb300);
  color: #3e2723;
}
.fc-league-rk.is-2 {
  background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
  color: #263238;
}
.fc-league-rk.is-3 {
  background: linear-gradient(135deg, #deb887, #cd853f);
  color: #3e2723;
}
.fc-league-form-pip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.55rem;
  font-weight: 800;
  border-radius: 3px;
  color: #fff;
  line-height: 1;
}
.fc-league-form-pip.is-w {
  background: #198754;
}
.fc-league-form-pip.is-d {
  background: #f59f00;
  color: #222;
}
.fc-league-form-pip.is-l {
  background: var(--fc-red);
}
.fc-league-team-name-link:hover {
  color: var(--fc-red) !important;
}

.fc-league-outcomes {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fc-league-outcomes__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  background: var(--fc-surface-2);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.fc-league-outcomes__item--total {
  background: rgba(196, 30, 58, 0.07);
  border-color: rgba(196, 30, 58, 0.15);
}
.fc-league-outcomes__lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fc-muted);
}
.fc-league-outcomes__val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--fc-text);
}

.fc-league-match-list .list-group-item {
  border-color: var(--fc-border);
}
.fc-league-match-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.5rem 0.65rem;
  align-items: center;
  padding: 0.65rem 1rem !important;
}
.fc-league-match-row__time {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fc-muted);
  white-space: nowrap;
}
.fc-league-match-row__pair {
  min-width: 0;
}
.fc-league-match-row__go {
  flex-shrink: 0;
}

.fc-league-squad-acc__item {
  border: none !important;
  border-bottom: 1px solid var(--fc-border) !important;
}
.fc-league-squad-acc__btn {
  display: flex !important;
  align-items: center !important;
  width: 100%;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.02) !important;
  box-shadow: none !important;
}
.fc-league-squad-acc__btn:not(.collapsed) {
  background: rgba(196, 30, 58, 0.06) !important;
  color: var(--fc-red-dark);
}
.fc-league-squad-acc__team {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1 1 auto;
  min-width: 0;
}
.fc-league-squad-acc__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--fc-border);
  padding: 3px;
}
.fc-league-squad-acc__logo--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-muted);
  background: var(--fc-surface-2);
}
.fc-league-squad-acc__name {
  flex: 1 1 auto;
  font-weight: 800;
}
.fc-league-squad-acc__count {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(196, 30, 58, 0.12) !important;
  color: var(--fc-red-dark) !important;
}
.fc-league-squad-acc__hint {
  margin-left: auto;
  margin-right: 0.35rem;
  white-space: nowrap;
  font-weight: 600;
}
.fc-league-squad-table thead th {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fc-league-squad-table tbody td {
  font-size: 0.78rem;
  padding: 0.4rem 0.5rem;
}
.fc-league-player-ph {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--fc-border);
}

.fc-league-mini-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
}
.fc-league-team-chip {
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
  border-color: var(--fc-border) !important;
  background: var(--fc-surface);
}
.fc-league-team-chip:hover {
  border-color: rgba(196, 30, 58, 0.35) !important;
  background: rgba(196, 30, 58, 0.04);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.fc-league-team-chip__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--fc-border);
  padding: 3px;
}
.fc-league-team-chip__logo--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-muted);
}

.fc-comp-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: inset 0 -0.08em 0 transparent;
}
.fc-comp-card__title-link:hover {
  color: var(--fc-red);
  box-shadow: inset 0 -0.12em 0 rgba(196, 30, 58, 0.35);
}
.fc-comp-card__title-link:focus-visible {
  outline: 2px solid var(--fc-red);
  outline-offset: 2px;
  border-radius: 2px;
}

.fc-team-info-tile,
.fc-team-matches-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fc-team-info-tile:hover,
.fc-team-matches-card:hover {
  box-shadow: 0 0.35rem 1.1rem rgba(0, 0, 0, 0.08);
}
.fc-team-mini-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.fc-team-tile {
  display: block;
  border-radius: var(--fc-radius, 12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  color: inherit;
}
.fc-team-tile:hover {
  border-color: rgba(196, 30, 58, 0.35);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  color: inherit;
}
.fc-team-tile__inner {
  padding: 1rem 0.75rem;
  text-align: center;
}
.fc-team-tile__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
}
.fc-team-tile__ph {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.5rem;
  border-radius: 10px;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}
.fc-team-tile__name {
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.25;
  display: block;
}
.fc-team-tile__meta {
  font-size: 0.68rem;
  color: var(--fc-muted, #868e96);
  margin-top: 0.2rem;
}
.fc-team-tile:focus-visible {
  outline: 2px solid var(--fc-red, #c41e3a);
  outline-offset: 2px;
}
.fc-team-tile:focus-visible .fc-team-tile__inner {
  border-radius: inherit;
}
.fc-team-tile--compact .fc-team-tile__inner {
  padding: 0.65rem 0.5rem;
}
.fc-team-tile__ph--sm {
  width: 40px;
  height: 40px;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}
.fc-team-tile--compact .fc-team-tile__logo {
  width: 40px;
  height: 40px;
  margin-bottom: 0.35rem;
}
.fc-team-tile--compact .fc-team-tile__name {
  font-size: 0.75rem;
}
.fc-team-tile--compact .fc-team-tile__meta {
  font-size: 0.62rem;
}

/* ---------- Каталог команд (/teams) ---------- */
.fc-teams-catalog-card .fc-card-body {
  padding-bottom: 0.85rem;
}
.fc-teams-hub-hero {
  border: 1px solid rgba(196, 30, 58, 0.12);
  background:
    linear-gradient(145deg, rgba(196, 30, 58, 0.16) 0%, rgba(196, 30, 58, 0.08) 46%, rgba(255, 255, 255, 0.98) 100%);
}
.fc-teams-hub-hero .fc-page-hero-title,
.fc-teams-hub-hero .fc-page-hero-sub {
  text-shadow: none;
}
.fc-teams-hub-hero .fc-page-hero-title {
  color: #92192d !important;
}
.fc-teams-hub-hero .fc-page-hero-sub {
  color: var(--fc-text, #212529) !important;
}
.fc-teams-hub-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}
.fc-teams-hub-kpi {
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: rgba(196, 30, 58, 0.06);
  border: 1px solid rgba(196, 30, 58, 0.12);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fc-teams-hub-kpi__label {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--fc-muted, #6c757d);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.fc-teams-hub-kpi__value {
  margin-top: 0.15rem;
  font-size: 0.98rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: #981a30;
}
.fc-teams-hub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
}
.fc-teams-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 30, 58, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #8f152b;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.fc-teams-hub-link:hover {
  border-color: rgba(196, 30, 58, 0.4);
  color: var(--fc-red, #c41e3a);
}
.fc-teams-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem 0.65rem;
}
.fc-teams-toolbar__search {
  position: relative;
  flex: 1 1 200px;
  min-width: 0;
}
.fc-teams-toolbar__search-ic {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: var(--fc-muted, #868e96);
  pointer-events: none;
  opacity: 0.7;
}
.fc-teams-toolbar__input {
  padding-left: 2rem !important;
  border-radius: 10px !important;
  font-size: 0.875rem !important;
}
.fc-teams-toolbar__country {
  flex: 0 1 200px;
  min-width: 140px;
}
.fc-teams-toolbar__select {
  border-radius: 10px !important;
  font-size: 0.875rem !important;
}
.fc-teams-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.fc-teams-toolbar__btn {
  border-radius: 10px !important;
  font-size: 0.8125rem !important;
  font-weight: 600;
}
.fc-teams-toolbar__meta {
  font-variant-numeric: tabular-nums;
  padding: 0.35rem 0.55rem;
  border-radius: 9px;
  background: rgba(196, 30, 58, 0.06);
  border: 1px solid rgba(196, 30, 58, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.fc-teams-featured {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.04) 0%, rgba(255, 255, 255, 0.5) 100%);
}
.fc-teams-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.fc-teams-active-filters__label {
  font-size: 0.75rem;
  color: var(--fc-muted);
  font-weight: 600;
}
.fc-teams-filter-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--fc-text);
}
.fc-teams-quick-section {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(255, 255, 255, 0.7) 100%);
}
.fc-teams-country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.fc-teams-country-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.11);
  background: #fff;
  color: var(--fc-text, #212529);
  font-size: 0.73rem;
  font-weight: 700;
}
.fc-teams-country-chip:hover {
  border-color: rgba(196, 30, 58, 0.35);
  color: var(--fc-red, #c41e3a);
}
.fc-teams-country-chip__flag {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
}
.fc-teams-leagues-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.fc-teams-league-card {
  border-radius: 11px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 0.55rem;
  min-width: 0;
}
.fc-teams-league-card__top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.fc-teams-league-card__logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}
.fc-teams-league-card__name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--fc-text, #212529);
  line-height: 1.25;
}
.fc-teams-league-card__name:hover {
  color: var(--fc-red, #c41e3a);
}
.fc-teams-league-card__meta {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--fc-muted, #6c757d);
}
.fc-teams-league-card__actions {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.35rem;
}
.fc-teams-league-card__action {
  flex: 1 1 0;
  text-align: center;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.02);
  padding: 0.22rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fc-text, #212529);
  text-decoration: none;
}
.fc-teams-league-card__action:hover {
  border-color: rgba(196, 30, 58, 0.35);
  color: var(--fc-red, #c41e3a);
}

/* ---------- Тренды (/trends) ---------- */
/* Информационный блок как карточка (без красного героя .fc-page-hero) */
.fc-page-hero.fc-trends-hero {
  background: var(--fc-surface);
  color: var(--fc-text);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
  overflow: hidden;
}
.fc-page-hero.fc-trends-hero::before {
  display: none;
}
.fc-page-hero.fc-trends-hero .fc-page-hero-title {
  color: var(--fc-text);
}
.fc-page-hero.fc-trends-hero .fc-page-hero-sub {
  color: var(--fc-muted);
}

/* Лендинг «Тренды» для гостей: ширина как у списка «Матчи», без красного героя */
.fc-trends-teaser-page {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.fc-trends-teaser-bc .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(0, 0, 0, 0.18);
  font-size: 0.8125rem;
}
.fc-trends-teaser-bc .breadcrumb-item a {
  color: var(--fc-muted);
  text-decoration: none;
}
.fc-trends-teaser-bc .breadcrumb-item a:hover {
  color: var(--fc-text);
  text-decoration: underline;
}
.fc-trends-teaser-bc .breadcrumb-item.active {
  color: var(--fc-text);
  font-weight: 600;
}

/* Тизер «Тренды»: одна сетка — текст и скрин одной высоты на десктопе, колонка на мобилке */
.fc-trends-teaser-split__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 992px) {
  .fc-trends-teaser-split__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.fc-trends-teaser-split__copy {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
@media (min-width: 992px) {
  .fc-trends-teaser-split__copy {
    height: 100%;
  }
  .fc-trends-teaser-split__body {
    flex: 1 1 auto;
    min-height: 0;
  }
  .fc-trends-teaser-split__cta {
    margin-top: auto;
    padding-top: 1.25rem;
  }
}
@media (max-width: 991.98px) {
  .fc-trends-teaser-split__cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--fc-border);
  }
}
.fc-trends-teaser-split__btn {
  min-height: 2.75rem;
}
.fc-trends-teaser-split__shot {
  min-height: 0;
}
@media (min-width: 992px) {
  .fc-trends-teaser-split__shot {
    height: 100%;
  }
}
.fc-trends-teaser-split__img-wrap {
  position: relative;
  background: var(--fc-surface-2);
}
.fc-trends-teaser-split__img-hit {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  color: inherit;
  border-radius: 0;
}
.fc-trends-teaser-split__img-hit:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.55);
  outline-offset: 2px;
}
.fc-trends-teaser-split__img-hit:hover .fc-trends-teaser-split__img {
  filter: brightness(0.97);
}
.fc-trends-teaser-split__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  pointer-events: none;
}
@media (min-width: 992px) {
  .fc-trends-teaser-split__img-wrap {
    flex: 1 1 auto;
    min-height: 220px;
  }
  .fc-trends-teaser-split__img-hit {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .fc-trends-teaser-split__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
  }
}

.fc-trends-hero-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--fc-text);
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
}
.fc-trends-hero-disclaimer {
  max-width: 52rem;
  line-height: 1.45;
}
.fc-trends-hero-snapshot {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
}
/* Чипы сводки: свои цвета (Bootstrap 5.3.2 почти без text-bg-*-subtle — текст «пропадал») */
.fc-trends-snapshot-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  border: 1px solid transparent;
  white-space: nowrap;
}
.fc-trends-snapshot-chip--tb {
  color: #6b1828;
  background: rgba(196, 30, 58, 0.14);
  border-color: rgba(196, 30, 58, 0.35);
}
.fc-trends-snapshot-chip--tm {
  color: #1a3a52;
  background: rgba(13, 110, 253, 0.1);
  border-color: rgba(13, 110, 253, 0.28);
}
.fc-trends-snapshot-chip--neutral {
  color: var(--fc-muted);
  background: var(--fc-surface);
  border-color: var(--fc-border);
  font-weight: 500;
}
html[data-bs-theme="dark"] .fc-trends-snapshot-chip--tb {
  color: #ffb3c0;
  background: rgba(220, 53, 69, 0.18);
  border-color: rgba(220, 53, 69, 0.35);
}
html[data-bs-theme="dark"] .fc-trends-snapshot-chip--tm {
  color: #b8d4ff;
  background: rgba(13, 110, 253, 0.2);
  border-color: rgba(13, 110, 253, 0.35);
}
/* Кэфы в строке матча трендов: компактный чип у стороны сигнала */
.fc-trends-slate-odds .fc-trends-slate-odds-chip {
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  font-weight: 650;
}
.fc-trends-slate-odds-chip--pill,
.fc-trends-slate-odds-muted--pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  flex-wrap: nowrap;
}
.fc-trends-slate-odds-pill__side {
  font-weight: 800;
}
.fc-trends-slate-odds-pill__k {
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}
.fc-trends-slate-odds-pill__v {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.fc-trends-slate-odds-muted--pill .fc-trends-slate-odds-pill__side,
.fc-trends-slate-odds-muted--pill .fc-trends-slate-odds-pill__v {
  color: var(--fc-muted);
  font-weight: 650;
}
.fc-trends-slate-odds-muted {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fc-muted);
  white-space: nowrap;
}
.fc-trends-outcome-split {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.fc-trends-outcome-split__main {
  flex: 1 1 auto;
  min-width: 0;
}
.fc-trends-outcome-split__rail {
  padding-top: 0.12rem;
}
.fc-trends-outcome-line--facts {
  display: block;
  margin-top: 0.28rem;
}
.fc-trends-outcome-line--facts:first-of-type {
  margin-top: 0.12rem;
}
.fc-trends-outcome-line--facts .fc-trends-outcome-fact {
  flex: none;
  width: 100%;
  display: block;
}
.fc-trends-outcome-fact__lbl {
  display: inline-block;
  min-width: 2.5rem;
  margin-right: 0.2rem;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  vertical-align: baseline;
}
.fc-trends-verdict-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.38rem;
}
.fc-trends-verdict-rail__cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.14rem;
}
.fc-trends-verdict-rail__tag {
  font-size: 0.58rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  line-height: 1;
}
.fc-trends-verdict-rail--card {
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  border-left: none;
  padding-left: 0;
}
@media (min-width: 768px) {
  .fc-trends-verdict-rail--card {
    margin-top: 0;
    padding-top: 0.12rem;
    border-top: none;
    border-left: 1px solid rgba(15, 23, 42, 0.1);
    padding-left: 0.55rem;
  }
}
html[data-bs-theme="dark"] .fc-trends-verdict-rail--card {
  border-top-color: rgba(148, 163, 184, 0.22);
  border-left-color: rgba(148, 163, 184, 0.28);
}
@media (min-width: 768px) {
  html[data-bs-theme="dark"] .fc-trends-verdict-rail--card {
    border-top-color: transparent;
  }
}
html[data-bs-theme="dark"] .fc-trends-outcome-fact__lbl {
  color: #94a3b8;
}
.fc-trends-toolbar .form-select,
.fc-trends-toolbar .btn {
  border-radius: 10px;
}
.fc-trends-toolbar-date__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.fc-trends-toolbar-date__controls .fc-trends-date-input {
  flex: 1 1 10rem;
  min-width: 0;
  max-width: 11rem;
}
.fc-trends-toolbar-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.fc-trends-toolbar-bottom__scores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
  min-width: 0;
  flex: 1 1 12rem;
}
.fc-trends-toolbar-bottom__view {
  flex: 0 0 auto;
  min-width: 0;
}
.fc-trends-toolbar-view-label {
  display: none;
}
.fc-trends-view-toggle {
  min-height: 2.25rem;
}
.fc-trends-view-toggle > .btn {
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
.fc-trends-toolbar-bottom__submit {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  flex: 0 0 auto;
}
.fc-trends-toolbar-submit,
.fc-trends-toolbar-reset {
  white-space: nowrap;
}
.fc-trends-toolbar-best {
  padding-left: 0.15rem;
}
.fc-trends-score-input {
  width: 86px;
  max-width: 100%;
}
.fc-trends-date-input {
  max-width: 11rem;
}
.fc-trends-quick-scores .btn {
  min-width: 3.05rem;
}
@media (max-width: 767.98px) {
  .fc-trends-toolbar-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .fc-trends-toolbar-bottom__scores {
    flex: 1 1 auto;
    width: 100%;
  }
  .fc-trends-toolbar-bottom__view {
    width: 100%;
  }
  .fc-trends-toolbar-bottom__submit {
    width: 100%;
    justify-content: flex-start;
  }
  .fc-trends-toolbar-view-label {
    display: block;
    width: 100%;
    margin-bottom: 0.25rem;
  }
  .fc-trends-view-toggle {
    width: 100% !important;
    display: flex;
  }
  .fc-trends-view-toggle > .btn {
    flex: 1 1 50%;
  }
  .fc-trends-toolbar-submit,
  .fc-trends-toolbar-reset {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .fc-trends-toolbar-date__controls .fc-trends-date-input {
    max-width: none;
    flex: 1 1 8rem;
  }
}
@media (max-width: 575.98px) {
  .fc-trends-toolbar .fc-card-body {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .fc-trends-toolbar-bottom__scores {
    flex-direction: column;
    align-items: stretch;
  }
  .fc-trends-toolbar-bottom__scores > label {
    width: 100%;
  }
  .fc-trends-score-input {
    width: 100%;
  }
  .fc-trends-quick-scores {
    width: 100%;
    display: flex;
  }
  .fc-trends-quick-scores .btn {
    flex: 1 1 33.33%;
  }
  .fc-trends-toolbar-best {
    width: 100%;
    padding-top: 0.15rem;
    padding-left: 0;
  }
}
html[data-bs-theme="dark"] .fc-trends-toolbar-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}
.fc-trends-surface {
  border-radius: 14px;
}
.fc-trends-chart-card {
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  background: var(--fc-surface);
  padding: 0.6rem 0.65rem;
}
.fc-trends-chart-title {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--fc-text);
}
.fc-trends-bar-row {
  display: grid;
  grid-template-columns: 2.1rem 1fr 2.7rem;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.28rem;
}
.fc-trends-bar-label {
  font-size: 0.68rem;
  color: var(--fc-muted, #6c757d);
  font-weight: 700;
}
.fc-trends-bar-track {
  height: 0.42rem;
  background: color-mix(in srgb, var(--fc-text) 14%, var(--fc-surface));
  border-radius: 999px;
  overflow: hidden;
}
.fc-trends-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #c41e3a 0%, #e05a73 100%);
}
.fc-trends-bar-fill--alt {
  background: linear-gradient(90deg, #495057 0%, #868e96 100%);
}
.fc-trends-bar-val {
  text-align: right;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-trends-mini-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}
.fc-trends-mini-col {
  min-width: 0;
  text-align: center;
}
.fc-trends-mini-bars {
  height: 84px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.2rem;
}
.fc-trends-mini-bar {
  width: 8px;
  border-radius: 8px;
  background: #c41e3a;
}
.fc-trends-mini-bar--alt {
  background: #6c757d;
}
html[data-bs-theme="dark"] .fc-trends-bar-fill--alt {
  background: linear-gradient(90deg, #64748b 0%, #94a3b8 100%);
}
html[data-bs-theme="dark"] .fc-trends-mini-bar--alt {
  background: #64748b;
}
.fc-trends-mini-label {
  margin-top: 0.2rem;
  display: block;
  font-size: 0.62rem;
  color: var(--fc-muted, #6c757d);
}
.fc-trends-match-card {
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  background: var(--fc-surface);
  padding: 0.6rem 0.65rem;
}
.fc-trends-match-card--hot {
  border-color: rgba(196, 30, 58, 0.45);
  box-shadow: 0 0.35rem 1rem rgba(196, 30, 58, 0.12);
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.06) 0%, var(--fc-surface) 52%);
}
html[data-bs-theme="dark"] .fc-trends-match-card--hot {
  box-shadow: 0 0.35rem 1rem rgba(196, 30, 58, 0.22);
}
.fc-best-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #8f152b;
  background: rgba(196, 30, 58, 0.12);
  border: 1px solid rgba(196, 30, 58, 0.25);
}
.fc-best-badge--tm {
  color: #4b5563;
  background: rgba(107, 114, 128, 0.14);
  border-color: rgba(107, 114, 128, 0.28);
}

/* Тренды: таблица — нейтральные строки и разделители (без цветной заливки) */
.fc-trends-table-wrap {
  padding: 0.05rem 0 0.25rem;
}
.fc-trends-slate-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.fc-trends-slate-table > :not(caption) > * > * {
  box-shadow: none;
  border-bottom-width: 0;
}
.fc-trends-slate-thead th {
  padding: 0.45rem 0.55rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 2px solid rgba(15, 23, 42, 0.1) !important;
  background: transparent;
  vertical-align: bottom;
}
.fc-trends-slate-table tbody tr.fc-trends-slate-row > td {
  vertical-align: top;
  background: var(--fc-surface, #fff);
  border-top: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: none;
  border-radius: 0;
}
.fc-trends-slate-table tbody tr.fc-trends-slate-row > td:first-child {
  border-left: none;
  padding-left: 0.5rem;
}
.fc-trends-slate-table tbody tr.fc-trends-slate-row > td:last-child {
  border-right: none;
  padding-right: 0.5rem;
}
.fc-trends-slate-table tbody tr.fc-trends-slate-row > td + td {
  border-left: 1px solid rgba(15, 23, 42, 0.07);
}
.fc-trends-slate-row--hot > td {
  background: var(--fc-surface, #fff) !important;
  border-bottom-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: none;
}
.fc-trends-slate-row--hot > td:first-child {
  box-shadow: inset 3px 0 0 rgba(196, 30, 58, 0.72);
}
.fc-trends-sigodds-merge {
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.fc-trends-probs-compact {
  line-height: 1.35;
}
.fc-trends-sigodds-merge__chip {
  font-size: 0.78rem;
  padding: 0.16rem 0.48rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.fc-trends-signal-cell {
  padding: 0.42rem 0.48rem;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.07);
  min-height: 100%;
}
.fc-trends-signal-cell .fc-trends-slate-odds {
  border-top-color: rgba(15, 23, 42, 0.06);
}
html[data-bs-theme="dark"] .fc-trends-slate-thead th {
  color: #94a3b8;
  border-bottom-color: rgba(148, 163, 184, 0.28) !important;
}
html[data-bs-theme="dark"] .fc-trends-slate-table tbody tr.fc-trends-slate-row > td {
  background: var(--fc-surface, rgba(30, 41, 59, 0.96));
  border-bottom-color: rgba(148, 163, 184, 0.22);
  box-shadow: none;
}
html[data-bs-theme="dark"] .fc-trends-slate-row--hot > td {
  background: var(--fc-surface, rgba(30, 41, 59, 0.96)) !important;
  border-bottom-color: rgba(148, 163, 184, 0.28) !important;
}
html[data-bs-theme="dark"] .fc-trends-slate-row--hot > td:first-child {
  box-shadow: inset 3px 0 0 rgba(248, 113, 113, 0.65);
}
html[data-bs-theme="dark"] .fc-trends-signal-cell {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(148, 163, 184, 0.16);
}
html[data-bs-theme="dark"] .fc-trends-signal-cell .fc-trends-slate-odds {
  border-top-color: rgba(148, 163, 184, 0.15);
}

/* Тренды: колонка «Факт и итог» — выразительные вердикты */
.fc-trends-outcome-cell {
  vertical-align: top;
  min-width: 12.5rem;
  max-width: 17rem;
}
@media (max-width: 575.98px) {
  .fc-trends-outcome-cell {
    min-width: 0;
    max-width: none;
  }
}
.fc-trends-outcome-panel {
  padding: 0.5rem 0.6rem 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.fc-trends-outcome-panel--card {
  padding: 0.55rem 0.65rem 0.5rem;
}
.fc-trends-outcome-score {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  margin-bottom: 0.35rem;
  padding-bottom: 0.32rem;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.12);
}
.fc-trends-outcome-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}
.fc-trends-outcome-line:first-of-type {
  margin-top: 0.12rem;
}
.fc-trends-outcome-fact {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.3;
  flex: 1 1 55%;
  min-width: 0;
}
.fc-trends-outcome-pending {
  display: inline-block;
  font-size: 0.74rem;
  color: #94a3b8;
  font-style: italic;
  padding: 0.15rem 0;
}
.fc-trends-verdict {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.24rem 0.58rem 0.24rem 0.5rem;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.fc-trends-verdict:hover {
  transform: translateY(-1px);
}
.fc-trends-verdict__ico {
  font-size: 0.62rem;
  line-height: 1;
  opacity: 0.95;
}
.fc-trends-verdict__txt {
  position: relative;
  top: 0.5px;
}
.fc-trends-verdict--hit {
  color: #fff;
  background: linear-gradient(135deg, #047857 0%, #10b981 52%, #34d399 100%);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 2px 12px rgba(16, 185, 129, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.fc-trends-verdict__score {
  font-variant-numeric: tabular-nums;
  padding-left: 0.35rem;
  margin-left: 0.15rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 800;
}
.fc-trends-verdict--miss {
  color: #fff;
  background: linear-gradient(135deg, #9f1239 0%, #e11d48 48%, #fb7185 100%);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 2px 12px rgba(225, 29, 72, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.fc-trends-verdict--skip {
  color: #475569;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-color: rgba(100, 116, 139, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-weight: 700;
}
.fc-trends-verdict--nodata {
  color: #475569;
  background: #f1f5f9;
  border: 1px dashed rgba(71, 85, 105, 0.55);
  font-weight: 700;
  box-shadow: none;
}
.fc-trends-verdict--empty {
  color: #cbd5e1;
  font-weight: 600;
  padding: 0;
  border: 0;
  box-shadow: none;
}
html[data-bs-theme="dark"] .fc-trends-outcome-panel {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
html[data-bs-theme="dark"] .fc-trends-outcome-score {
  color: #f1f5f9;
  border-bottom-color: rgba(148, 163, 184, 0.28);
}
html[data-bs-theme="dark"] .fc-trends-outcome-fact {
  color: #94a3b8;
}
html[data-bs-theme="dark"] .fc-trends-outcome-pending {
  color: #64748b;
}
html[data-bs-theme="dark"] .fc-trends-verdict--skip {
  color: #cbd5e1;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html[data-bs-theme="dark"] .fc-trends-verdict--nodata {
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.45);
}

.fc-trends-score-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}
.fc-trends-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}
.fc-trends-active-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.44rem;
  border-radius: 999px;
  border: 1px solid var(--fc-border);
  background: var(--fc-surface-2);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fc-muted);
}
.fc-trends-active-chip--best {
  border-color: rgba(196, 30, 58, 0.35);
  color: #8f152b;
  background: rgba(196, 30, 58, 0.08);
}
html[data-bs-theme="dark"] .fc-trends-active-chip--best {
  color: #f9a8c0;
  background: rgba(196, 30, 58, 0.18);
  border-color: rgba(244, 114, 182, 0.35);
}
.fc-teams-pagination-wrap .pagination {
  margin-bottom: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
}
.fc-teams-pagination-wrap .pagination svg {
  width: 0.95rem;
  height: 0.95rem;
}
.fc-teams-pagination-wrap .page-link {
  min-width: 2rem;
  padding: 0.34rem 0.55rem;
  font-size: 0.8125rem;
  border-radius: 8px;
  text-align: center;
}
.fc-teams-pagination-wrap .page-item.active .page-link {
  font-weight: 700;
}
.fc-teams-pagination-wrap .page-item.disabled .page-link {
  opacity: 0.55;
}
@media (max-width: 576px) {
  .fc-teams-hub-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fc-teams-hub-kpi__label {
    font-size: 0.6rem;
  }
  .fc-teams-hub-kpi__value {
    font-size: 0.88rem;
  }
  .fc-teams-catalog-card {
    border-radius: 12px;
  }
  .fc-teams-toolbar__meta {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .fc-teams-toolbar__actions {
    width: 100%;
  }
  .fc-teams-toolbar__actions .fc-teams-toolbar__btn {
    flex: 1 1 auto;
  }
  .fc-teams-country-chips {
    gap: 0.3rem;
  }
  .fc-teams-country-chip {
    font-size: 0.69rem;
    padding: 0.24rem 0.42rem;
  }
}
@media (max-width: 991.98px) {
  .fc-teams-leagues-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) and (max-width: 1279.98px) {
  .fc-teams-leagues-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Матчи: расширенная строка (стадион, тур, судья) — /fixtures и «Ближайшие» ---------- */
.fc-sb-match-wrap {
  border-bottom: 1px solid var(--fc-border);
}
.fc-sb-match-wrap:last-child {
  border-bottom: none;
}
.fc-sb-match-wrap .fc-sb-row {
  border-bottom: none;
}
.fc-sb-match-wrap--click[data-href] {
  cursor: pointer;
}
.fc-sb-match-wrap--click[data-href]:focus-visible {
  outline: 2px solid var(--fc-red, #c41e3a);
  outline-offset: 2px;
}
.fc-sb-row-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.2rem 0.65rem 0.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, transparent 100%);
  border-top: 1px dashed rgba(0, 0, 0, 0.06);
}
.fc-sb-extras-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  min-width: 0;
  flex: 1 1 12rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--fc-muted);
  line-height: 1.3;
}
.fc-sb-extra {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 100%;
}
.fc-sb-extra i {
  opacity: 0.72;
  flex-shrink: 0;
  font-size: 0.65rem;
}
.fc-sb-extra--warn {
  color: #b45309;
}
.fc-sb-extra-link {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--fc-red);
  letter-spacing: 0.02em;
  padding: 0.1rem 0;
  border-radius: var(--fc-radius-sm);
  transition: color 0.15s ease, opacity 0.15s ease;
}
.fc-sb-extra-link:hover {
  color: var(--fc-red-dark);
  opacity: 0.92;
}

.fc-upcoming-day-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--fc-text);
  letter-spacing: 0.01em;
}

@media (max-width: 575.98px) {
  .fc-sb-row-extras {
    flex-direction: column;
    align-items: stretch;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }
  .fc-sb-extra-link {
    align-self: flex-end;
  }
}

/* ---------- Страница «Матчи»: расширенная карточка ---------- */
.fc-sb-extras-inner--rich {
  row-gap: 0.35rem;
}
.fc-sb-extra--kickoff {
  font-weight: 700;
  color: var(--fc-text);
}
.fc-sb-extra-cap {
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
}
.fc-sb-row-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.35rem 0.55rem 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(0, 0, 0, 0.015);
}
.fc-sb-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--fc-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
}
.fc-sb-chip i {
  font-size: 0.6rem;
  opacity: 0.85;
}

.fc-sb-anal-sub {
  margin-top: 0.28rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--fc-muted);
  line-height: 1.25;
}
.fc-sb-anal-sub--home {
  justify-content: flex-end;
}
.fc-sb-anal-sub--away {
  justify-content: flex-start;
}

.fc-sb-row-analytics {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem 0.65rem;
  align-items: start;
  padding: 0.35rem 0.55rem 0.45rem;
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.06) 0%, rgba(196, 30, 58, 0.02) 100%);
  border-top: 1px dashed rgba(196, 30, 58, 0.15);
}
.fc-sb-anal-side--home {
  text-align: right;
}
.fc-sb-anal-side--away {
  text-align: left;
}
.fc-sb-anal-head {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--fc-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.45rem;
  justify-content: flex-end;
  line-height: 1.2;
}
.fc-sb-anal-side--away .fc-sb-anal-head {
  justify-content: flex-start;
}
.fc-sb-anal-rank {
  color: var(--fc-text);
  font-weight: 800;
}
.fc-sb-anal-pts {
  font-variant-numeric: tabular-nums;
}
.fc-sb-anal-mp {
  opacity: 0.85;
}
.fc-sb-anal-form {
  margin-top: 0.22rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.12rem;
  flex-wrap: wrap;
}
.fc-sb-anal-form--away {
  justify-content: flex-start;
}
.fc-form-pip {
  font-size: 0.55rem;
  font-weight: 800;
  width: 0.95rem;
  height: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #fff;
  line-height: 1;
}
.fc-form-pip--w {
  background: #198754;
}
.fc-form-pip--d {
  background: #f59f00;
  color: #222;
}
.fc-form-pip--l {
  background: var(--fc-red);
}
.fc-sb-anal-center {
  text-align: center;
  align-self: center;
  padding: 0 0.15rem;
  max-width: 11rem;
}
.fc-sb-anal-weather {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
}
.fc-sb-anal-weather-cond {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  margin-top: 0.08rem;
}

@media (max-width: 575.98px) {
  .fc-sb-row-analytics {
    grid-template-columns: 1fr;
  }
  .fc-sb-anal-center {
    order: -1;
    max-width: none;
    padding-bottom: 0.25rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
    margin-bottom: 0.15rem;
  }
  .fc-sb-anal-side--home {
    text-align: left;
  }
  .fc-sb-anal-head {
    justify-content: flex-start;
  }
  .fc-sb-anal-form {
    justify-content: flex-start;
  }
  .fc-sb-anal-sub--home {
    justify-content: flex-start;
  }
}

/* Шапка: умный поиск */
.fc-site-search-dd {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  z-index: 1080;
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  box-shadow: var(--fc-shadow-hover);
}
.fc-site-search-dd__section + .fc-site-search-dd__section {
  border-top: 1px solid var(--fc-border);
}
.fc-site-search-dd__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fc-muted);
  padding: 0.35rem 0.6rem 0.15rem;
}
.fc-site-search-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.55rem;
  text-decoration: none;
  color: var(--fc-text);
  border-radius: 6px;
  margin: 0 0.25rem 0.15rem;
  transition: background 0.12s ease;
}
.fc-site-search-item:hover,
.fc-site-search-item:focus-visible {
  background: var(--fc-red-soft);
  color: var(--fc-text);
  outline: none;
}
.fc-site-search-item__main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}
.fc-site-search-item__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--fc-surface-2);
}
.fc-site-search-item__ph {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--fc-surface-2);
  color: var(--fc-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.fc-site-search-item__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fc-site-search-item__name {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-site-search-item__meta {
  font-size: 0.68rem;
  color: var(--fc-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-site-search-dd__empty,
.fc-site-search-dd__loading {
  margin: 0;
}

/* ——— Личные сообщения (DM) ——— */
.fc-dm-page {
  margin-top: -0.5rem;
}
.fc-dm-hero {
  background: linear-gradient(135deg, var(--fc-red-dark) 0%, var(--fc-red) 48%, #e85a72 100%);
  border-radius: 0 0 var(--fc-radius) var(--fc-radius);
  box-shadow: 0 8px 28px rgba(196, 30, 58, 0.22);
}
.fc-dm-hero--inbox {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
}
.fc-dm-hero--thread {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
}
.fc-dm-inbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fc-dm-inbox-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.fc-dm-inbox-row:hover {
  border-color: rgba(196, 30, 58, 0.28);
  box-shadow: var(--fc-shadow-hover);
  transform: translateY(-1px);
  color: inherit;
}
.fc-dm-inbox-row__avatar {
  flex-shrink: 0;
}
.fc-dm-inbox-row__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.fc-dm-inbox-row__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fc-text);
}
.fc-dm-inbox-row__preview {
  font-size: 0.78rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fc-dm-inbox-row__meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.fc-dm-inbox-row__chev {
  opacity: 0.45;
}
.fc-dm-empty {
  background: var(--fc-surface);
  border: 1px dashed var(--fc-border);
  border-radius: var(--fc-radius);
}
.fc-dm-thread-shell {
  border-radius: var(--fc-radius);
  overflow: hidden;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
}
.fc-dm-thread-head {
  background: var(--fc-surface-2);
}
.fc-dm-thread-messages {
  max-height: min(58vh, 520px);
  overflow-y: auto;
  scroll-behavior: smooth;
  background: linear-gradient(180deg, #f6f7fa 0%, var(--fc-surface) 18%);
}
.fc-dm-bubble {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.fc-dm-bubble--mine {
  background: linear-gradient(145deg, var(--fc-red) 0%, var(--fc-red-dark) 100%);
  color: #fff;
  border-bottom-right-radius: 0.35rem !important;
}
.fc-dm-bubble--mine .text-muted {
  color: rgba(255, 255, 255, 0.78) !important;
}
.fc-dm-bubble--other {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  color: var(--fc-text);
  border-bottom-left-radius: 0.35rem !important;
}
.fc-dm-composer {
  border-radius: var(--fc-radius);
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
}
.fc-dm-composer textarea {
  resize: vertical;
  min-height: 5rem;
}
.fc-dm-live-badge {
  font-size: 0.68rem;
  font-weight: 600;
}
.fc-dm-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 0.35rem;
  animation: fc-dm-pulse 1.6s ease-in-out infinite;
}
@keyframes fc-dm-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.92);
  }
}
@media (max-width: 575.98px) {
  .fc-dm-thread-messages {
    max-height: 50vh;
  }
}

/* ===== Ads ===== */
.fc-ad-slot {
  position: relative;
}
.fc-ad-slot__link {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--fc-border);
  background: #0b1020;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}
.fc-ad-slot__img {
  display: block;
  width: 100%;
  height: auto;
}

.fc-ad-slot__compliance {
  line-height: 1.35;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
}

/* Матч (если слот оставили под старый класс): узкая полоса */
.fc-ad-slot--fixture-hero {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.fc-ad-slot--fixture-hero .fc-ad-slot__link {
  max-width: 100%;
}

.fc-ad-slot--fixture-hero .fc-ad-slot__img,
.fc-ad-slot--fixture-hero video.fc-ad-slot__img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Главная (home_inline) + баннер над чатом матча: одинаковый компактный горизонтальный слот */
.fc-fixture-chat-ad-above {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.fc-ad-slot--fixture-chat-top,
.fc-ad-slot--home-desktop {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  align-self: stretch;
}

/* Компактные слоты: рамка и белая подложка только после загрузки медиа (нет «пустого белого блока») */
.fc-ad-slot--fixture-chat-top .fc-ad-slot__link,
.fc-ad-slot--home-desktop .fc-ad-slot__link {
  display: block;
  margin-inline: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-sizing: border-box;
}

/* Пока медиа не готово — ноль места в вёрстке (нет «промежутка» под баннер) */
.fc-ad-slot--defer-chrome:not(.fc-ad-slot--media-ready) {
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
}

.fc-ad-slot--defer-chrome.fc-ad-slot--media-ready {
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.fc-ad-slot--defer-chrome.fc-ad-slot--media-ready .fc-ad-slot__link {
  background: var(--fc-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

/* Над чатом (десктоп): 80% ширины колонки чата */
.fc-ad-slot--fixture-chat-top .fc-ad-slot__link {
  width: 80%;
  max-width: 80%;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}

/* Узкий экран / стек колонок: компактнее + чуть мягче углы */
@media (max-width: 991.98px) {
  .fc-ad-slot--fixture-chat-top .fc-ad-slot__link {
    width: 56%;
    max-width: 56%;
    border-radius: 14px;
  }
}

/*
 * Главная: не 80% от широкой колонки (получалось «лист»), а фиксированная компактная ширина:
 * 0.8 × clamp(280px, 31vw, 410px).
 */
.fc-ad-slot--home-desktop .fc-ad-slot__link {
  width: calc(0.8 * clamp(280px, 31vw, 410px));
  max-width: 100%;
}

.fc-ad-slot--fixture-chat-top .fc-ad-slot__compliance,
.fc-ad-slot--home-desktop .fc-ad-slot__compliance {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  margin-top: 0.25rem !important;
  margin-bottom: 0 !important;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.fc-ad-slot--fixture-chat-top .fc-ad-slot__compliance .text-break,
.fc-ad-slot--home-desktop .fc-ad-slot__compliance .text-break {
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.fc-ad-slot--fixture-chat-top .fc-ad-slot__img,
.fc-ad-slot--fixture-chat-top video.fc-ad-slot__img,
.fc-ad-slot--fixture-chat-top picture,
.fc-ad-slot--home-desktop .fc-ad-slot__img,
.fc-ad-slot--home-desktop video.fc-ad-slot__img,
.fc-ad-slot--home-desktop picture {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: inherit;
}

/* Главная (home_inline): заметно меньше воздуха над/под баннером */
body:has(.fc-ad-slot--home-desktop) .fc-ad-post-nav {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

body:has(.fc-ad-slot--home-desktop) main.fc-main#fc-main-content,
body:has(.fc-ad-slot--home-desktop) main#fc-main-content.fc-main {
  padding-top: 0.25rem !important;
}

body:has(.fc-ad-slot--home-desktop) .fc-ad-slot--home-desktop {
  margin-top: 0 !important;
}

body:has(.fc-ad-slot--home-desktop) .fc-ad-slot--home-desktop.fc-ad-slot--media-ready {
  margin-bottom: 0.35rem !important;
}

body:has(.fc-ad-slot--home-desktop) .fc-ad-slot--home-desktop:not(.fc-ad-slot--media-ready) {
  margin-bottom: 0 !important;
}

body:has(.fc-ad-slot--home-desktop) .fc-ad-slot--home-desktop .fc-ad-slot__compliance {
  margin-top: 0.15rem !important;
}

.fc-ad-slot--mobile-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1035;
  padding: 0 8px calc(8px + env(safe-area-inset-bottom));
}
.fc-ad-slot--mobile-sticky .fc-ad-slot__link {
  max-width: min(353px, 83vw);
  margin: 0 auto;
  border-radius: 11px;
  overflow: hidden;
  isolation: isolate;
  background: var(--fc-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.fc-ad-slot--mobile-sticky .fc-ad-slot__img,
.fc-ad-slot--mobile-sticky video.fc-ad-slot__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 63px;
  object-fit: contain;
  border-radius: inherit;
  vertical-align: bottom;
}

/* Маркировка под sticky: только десктоп (на мобилке дублирует низ экрана и мешает) */
@media (max-width: 767.98px) {
  .fc-ad-slot--mobile-sticky .fc-ad-slot__compliance {
    display: none !important;
  }

  body.has-mobile-sticky-ad {
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
}

/* Календарь FAB: над нижним sticky-баннером (главная, /fixtures) */
@media (max-width: 768px) {
  body.has-mobile-sticky-ad .fc-home-calendar-fab,
  body.has-mobile-sticky-ad .fc-fixtures-calendar-fab {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

.fc-ad-slot--728x90 .fc-ad-slot__link {
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
}

.fc-ad-slot--970x250 .fc-ad-slot__link {
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
}

.fc-ad-slot--320x100 .fc-ad-slot__link {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.fc-ad-slot--mrec .fc-ad-slot__link {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.fc-ad-slot--336x280 .fc-ad-slot__link {
  max-width: 336px;
  margin-left: auto;
  margin-right: auto;
}

.fc-ad-slot--halfpage .fc-ad-slot__link {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Полноэкранный takeover (<dialog>) */
.fc-ad-fs-dialog {
  width: min(100vw, 100%);
  max-width: 100vw;
  max-height: 100dvh;
  padding: 0;
  margin: auto;
  border: none;
  background: transparent;
}

.fc-ad-fs-dialog::backdrop {
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(2px);
}

.fc-ad-fs-dialog__inner {
  background: #0b1020;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  padding: 10px 10px 12px;
  margin: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
}

.fc-ad-fs-dialog__body {
  padding: 3% 3% 2%;
}

.fc-ad-fs-dialog__link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

.fc-ad-fs-dialog__media {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78dvh, 92vw);
  max-width: min(92vw, 1080px);
  margin: 0 auto;
  object-fit: contain;
}

.fc-ad-fs-close {
  flex-shrink: 0;
}

body.fc-ad-fs-open {
  overflow: hidden;
}

/* ---------- ML Тренды (/trends) ---------- */
.fc-ml-trends-page {
  max-width: 1080px;
}
.fc-ml-trends-card {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: 16px;
  box-shadow: var(--fc-shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  overflow: hidden;
}
.fc-ml-trends-card:hover {
  border-color: rgba(196, 30, 58, 0.35);
  box-shadow: 0 10px 28px rgba(196, 30, 58, 0.12);
  transform: translateY(-2px);
}
.fc-ml-trends-card--hit {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.2),
    0 8px 28px rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--fc-surface) 42%);
}
.fc-ml-trends-card--miss {
  border-color: rgba(225, 29, 72, 0.5);
  box-shadow:
    0 0 0 1px rgba(225, 29, 72, 0.18),
    0 8px 28px rgba(225, 29, 72, 0.14);
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.06) 0%, var(--fc-surface) 42%);
}
.fc-ml-trends-card__verdict {
  border-color: var(--fc-border) !important;
}
.fc-ml-trends-outcome-compare {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
}
.fc-ml-trends-outcome-compare__pred {
  color: var(--fc-muted);
}
.fc-ml-trends-outcome-compare__fact {
  font-weight: 700;
  color: var(--fc-text);
}
.fc-trends-slate-row--hit {
  background: rgba(16, 185, 129, 0.08);
}
.fc-trends-slate-row--hit:hover {
  background: rgba(16, 185, 129, 0.12);
}
.fc-trends-slate-row--miss {
  background: rgba(225, 29, 72, 0.07);
}
.fc-trends-slate-row--miss:hover {
  background: rgba(225, 29, 72, 0.11);
}
.fc-trends-snapshot-chip--hit {
  color: #fff;
  background: linear-gradient(135deg, #047857, #10b981);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
}
.fc-ml-trends-card__meta-left {
  color: var(--fc-muted);
}
.fc-ml-trends-card__league-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.fc-ml-trends-card__time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--fc-text);
  flex-shrink: 0;
}
.fc-ml-trends-card__score-badge {
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
  color: var(--fc-text);
}
.fc-ml-trends-card__meta-right {
  gap: 0.35rem;
}
.fc-ml-trends-card__conf-badge {
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(196, 30, 58, 0.12);
  border: 1px solid rgba(196, 30, 58, 0.28);
  color: var(--fc-red, #c41e3a);
}
.fc-ml-trends-card__match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin-bottom: 0.65rem;
}
.fc-ml-trends-card__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.fc-ml-trends-card__side--home {
  text-align: center;
}
.fc-ml-trends-card__side--away {
  text-align: center;
}
.fc-ml-trends-card__team-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}
.fc-ml-trends-card__team-logo.is-hidden {
  display: none;
}
.fc-ml-trends-card__team-logo-ph {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--fc-surface-2);
  border: 1px dashed var(--fc-border);
  color: var(--fc-muted);
  font-size: 0.95rem;
}
.fc-ml-trends-card__team-name {
  display: block;
  width: 100%;
  max-width: 9.5rem;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fc-text);
}
.fc-ml-trends-card__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.15rem;
}
.fc-ml-trends-card__vs {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fc-muted);
}
/* Ранжированные прогнозы v3 на карточке */
.fc-ml-picks {
  margin-top: 0.15rem;
}
.fc-ml-pick-hero {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--fc-border);
  background: var(--fc-surface-2);
  position: relative;
  overflow: hidden;
}
.fc-ml-pick-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: currentColor;
  opacity: 0.55;
}
.fc-ml-pick-hero--tb {
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.35);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.14) 0%, var(--fc-surface-2) 72%);
}
.fc-ml-pick-hero--tm {
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.35);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, var(--fc-surface-2) 72%);
}
.fc-ml-pick-hero--btts_yes {
  border-color: rgba(225, 29, 72, 0.3);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, var(--fc-surface-2) 70%);
}
.fc-ml-pick-hero--btts_no {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, var(--fc-surface-2) 70%);
}
.fc-ml-pick-hero--high .fc-ml-pick-hero__pct {
  font-size: 1.65rem;
}
.fc-ml-pick-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.fc-ml-pick-hero__badge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fc-muted);
}
.fc-ml-pick-hero__pct {
  font-size: 1.45rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--fc-text);
}
.fc-ml-pick-hero--tb .fc-ml-pick-hero__pct,
.fc-ml-pick-hero--btts_yes .fc-ml-pick-hero__pct {
  color: #e11d48;
}
.fc-ml-pick-hero--tm .fc-ml-pick-hero__pct,
.fc-ml-pick-hero--btts_no .fc-ml-pick-hero__pct {
  color: #3b82f6;
}
.fc-ml-pick-hero__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fc-text);
}
.fc-ml-pick-hero__meter {
  margin-top: 0.5rem;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
html[data-bs-theme="dark"] .fc-ml-pick-hero__meter {
  background: rgba(255, 255, 255, 0.08);
}
.fc-ml-pick-hero__meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}
.fc-ml-pick-hero--tb .fc-ml-pick-hero__meter-fill,
.fc-ml-pick-hero--btts_yes .fc-ml-pick-hero__meter-fill {
  background: linear-gradient(90deg, #b91c1c, #f43f5e);
}
.fc-ml-picks__sub {
  letter-spacing: 0.02em;
}
.fc-ml-pick-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.fc-ml-pick-row {
  display: grid;
  grid-template-columns: 1.35rem 1fr auto;
  gap: 0.45rem 0.55rem;
  align-items: center;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
}
.fc-ml-pick-row--mid {
  border-color: rgba(100, 116, 139, 0.35);
}
.fc-ml-pick-row--high {
  border-color: rgba(16, 185, 129, 0.25);
}
.fc-ml-pick-row__rank {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--fc-muted);
  text-align: center;
}
.fc-ml-pick-row__body {
  min-width: 0;
}
.fc-ml-pick-row__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-ml-pick-row__track {
  display: block;
  height: 3px;
  margin-top: 0.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
html[data-bs-theme="dark"] .fc-ml-pick-row__track {
  background: rgba(255, 255, 255, 0.06);
}
.fc-ml-pick-row--tb .fc-ml-pick-row__fill {
  background: #e11d48;
}
.fc-ml-pick-row--tm .fc-ml-pick-row__fill,
.fc-ml-pick-row--btts_no .fc-ml-pick-row__fill {
  background: #3b82f6;
}
.fc-ml-pick-row--btts_yes .fc-ml-pick-row__fill {
  background: #e11d48;
}
.fc-ml-pick-row__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #94a3b8;
}
.fc-ml-pick-row__pct {
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--fc-muted);
  white-space: nowrap;
}
.fc-ml-pick-row--high .fc-ml-pick-row__pct {
  color: var(--fc-text);
}
.fc-ml-trends-card__conf-badge--high {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #059669;
}
.fc-ml-trends-card__conf-badge--mid {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: #2563eb;
}
.fc-ml-pick-inline {
  display: block;
  font-size: 0.85rem;
}
.fc-ml-pick-inline strong {
  margin-right: 0.35rem;
}

.fc-ml-trends-probs {
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
}
.fc-ml-trends-probs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.fc-ml-trends-probs__title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fc-muted);
}
.fc-ml-trends-probs__fav {
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.fc-ml-trends-probs__fav--home {
  color: #fff;
  background: linear-gradient(135deg, #b91c1c, #e11d48);
  border-color: rgba(255, 255, 255, 0.2);
}
.fc-ml-trends-probs__fav--away {
  color: #fff;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  border-color: rgba(255, 255, 255, 0.2);
}
.fc-ml-trends-probs__fav--draw {
  color: var(--fc-text);
  background: var(--fc-surface);
  border-color: var(--fc-border);
}
.fc-ml-trends-probs__fav--tb {
  color: #fff;
  background: linear-gradient(135deg, #b91c1c, #e11d48);
  border-color: rgba(255, 255, 255, 0.2);
}
.fc-ml-trends-probs__fav--tm {
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  border-color: rgba(255, 255, 255, 0.2);
}
.fc-ml-trends-probs__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}
.fc-ml-trends-probs__grid {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.fc-ml-trends-prob--lead .fc-ml-trends-prob__k {
  color: var(--fc-red, #c41e3a);
  font-weight: 800;
}
.fc-ml-trends-prob--lead .fc-trends-bar-fill:not(.fc-trends-bar-fill--alt) {
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.35);
}
.fc-ml-trends-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.fc-ml-trends-card__verdict {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--fc-border);
}
.fc-ml-trends-card--hit .fc-ml-trends-card__verdict {
  border-top-color: rgba(16, 185, 129, 0.35);
}
.fc-ml-trends-card--miss .fc-ml-trends-card__verdict {
  border-top-color: rgba(225, 29, 72, 0.35);
}
.fc-ml-trends-day-score__ring {
  --fc-hit-pct: 0;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(farthest-side, var(--fc-surface) 68%, transparent 70%),
    conic-gradient(#10b981 calc(var(--fc-hit-pct) * 1%), rgba(148, 163, 184, 0.28) 0);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}
.fc-ml-trends-day-score__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}
.fc-ml-trends-day-score__title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fc-muted);
}
.fc-ml-trends-day-score__note {
  line-height: 1.35;
  max-width: 18rem;
}
.fc-ml-trends-day-score__pct {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fc-text);
  font-variant-numeric: tabular-nums;
}
.fc-ml-trends-card__stamp {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  border: 2px solid transparent;
}
.fc-ml-trends-card__stamp--hit {
  color: #fff;
  background: linear-gradient(135deg, #047857, #10b981);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.45);
}
.fc-ml-trends-card__stamp--miss {
  color: #fff;
  background: linear-gradient(135deg, #9f1239, #e11d48);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.4);
}
.fc-ml-trends-result {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: var(--fc-surface-2);
  border: 1px solid var(--fc-border);
}
.fc-ml-trends-result--hit {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, var(--fc-surface-2) 70%);
}
.fc-ml-trends-result--miss {
  border-color: rgba(225, 29, 72, 0.32);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.08) 0%, var(--fc-surface-2) 70%);
}
.fc-ml-trends-result__top {
  margin-bottom: 0.5rem;
}
.fc-ml-trends-result__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.fc-ml-trends-result__col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.fc-ml-trends-result__k {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fc-muted);
}
.fc-ml-trends-result__v {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fc-text);
  word-break: break-word;
}
.fc-ml-trends-result__v--fact {
  color: #10b981;
}
.fc-ml-trends-result--miss .fc-ml-trends-result__v--fact {
  color: #fb7185;
}
.fc-ml-trends-result__hint {
  line-height: 1.35;
}
.fc-ml-trends-prob {
  display: grid;
  grid-template-columns: 1.25rem 1fr 2.5rem;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.78rem;
}
.fc-ml-trends-prob__k--lead {
  font-weight: 800;
  color: var(--fc-red, #c41e3a);
}
html[data-bs-theme="dark"] .fc-ml-trends-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.fc-ml-trends-stats-panel {
  background: var(--fc-surface-2);
  border-color: var(--fc-border) !important;
}
.fc-ml-trends-actual {
  font-variant-numeric: tabular-nums;
}

/* Pulse — пользовательский бренд ML-прогноза */
.fc-pulse-badge {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fc-pulse-badge--sm {
  font-size: 0.7rem;
  font-weight: 600;
}
.fc-pulse-about__summary {
  cursor: pointer;
  list-style: none;
}
.fc-pulse-about__summary::-webkit-details-marker {
  display: none;
}
.fc-pulse-about__summary::after {
  content: "▾";
  float: right;
  opacity: 0.45;
  transition: transform 0.15s ease;
}
.fc-pulse-about[open] .fc-pulse-about__summary::after {
  transform: rotate(-180deg);
}
.fc-pulse-badge--beta {
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.fc-pulse-promo {
  background: linear-gradient(135deg, var(--fc-surface-2) 0%, var(--fc-surface) 100%);
  border: 1px solid var(--fc-border) !important;
}
.fc-pulse-promo__eyebrow {
  color: var(--fc-accent, #dc3545);
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}
.fc-pulse-promo__title {
  font-weight: 700;
  line-height: 1.25;
}
.fc-pulse-promo__beta {
  font-size: 0.65rem;
  font-weight: 600;
  vertical-align: middle;
  background: rgba(220, 53, 69, 0.12);
  color: var(--fc-accent, #dc3545);
  border: 1px solid rgba(220, 53, 69, 0.25);
}
.fc-pulse-promo__lead {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 52rem;
}
.fc-pulse-promo__body {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 52rem;
}
.fc-pulse-promo__trust-item {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(196, 30, 58, 0.1);
  border: 1px solid rgba(196, 30, 58, 0.22);
  color: var(--fc-text);
  white-space: nowrap;
}
.fc-pulse-hit-rule {
  margin-top: 0.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: var(--fc-surface-2);
  border: 1px dashed var(--fc-border);
}
.fc-pulse-hit-rule__summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fc-text);
  list-style: none;
}
.fc-pulse-hit-rule__summary::-webkit-details-marker {
  display: none;
}
.fc-pulse-hit-rule__summary::after {
  content: " +";
  color: var(--fc-muted);
  font-weight: 600;
}
.fc-pulse-hit-rule[open] .fc-pulse-hit-rule__summary::after {
  content: " −";
}
.fc-ml-trends-page .fc-page-hero {
  border-radius: 16px;
  background: linear-gradient(145deg, var(--fc-surface-2) 0%, var(--fc-surface) 55%);
}

/* ---------- Dark mode: гармонизация таблиц, матчей, /fixtures ---------- */
html[data-bs-theme="dark"] .fc-standings-table thead th,
html[data-bs-theme="dark"] .fc-standings-table--modern thead th,
html[data-bs-theme="dark"] .fc-team-standings-table thead th,
html[data-bs-theme="dark"] .fc-league-standings-table thead th {
  background: linear-gradient(180deg, #1c2330 0%, #141a24 100%);
  color: #94a3b8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

html[data-bs-theme="dark"] .fc-standings-league-card--modern {
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

html[data-bs-theme="dark"] .fc-standings-league-card__head {
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.12) 0%, transparent 100%);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

html[data-bs-theme="dark"] .fc-standings-league-card__foot {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 100%);
  border-top-color: rgba(148, 163, 184, 0.14);
}

html[data-bs-theme="dark"] .fc-standings-league-card__league-logo {
  background: #1a2230;
  border-color: rgba(148, 163, 184, 0.2);
}

html[data-bs-theme="dark"] .fc-standings-table--modern tbody tr:hover {
  background: rgba(196, 30, 58, 0.08);
}

html[data-bs-theme="dark"] .fc-standings-empty-slab__icon {
  background: linear-gradient(145deg, #1a2230, #141a24);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fixtures-breadcrumb .fc-fixtures-breadcrumb__track {
  background: linear-gradient(180deg, #1a1f2a 0%, #141820 100%);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fixtures-breadcrumb .fc-fixtures-breadcrumb__link {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fixtures-breadcrumb .fc-fixtures-breadcrumb__link:hover {
  color: #f1f5f9;
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(148, 163, 184, 0.28);
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fx-topbar,
html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fx-list {
  border-color: rgba(148, 163, 184, 0.18);
  background: var(--fc-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 18px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fx-input,
html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fx-select,
html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fx-btn {
  background: #141a24;
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fx-btn.is-active {
  background: rgba(196, 30, 58, 0.18);
  border-color: rgba(196, 30, 58, 0.45);
  color: #fda4af;
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fx-search-wrap .fa-search {
  color: #94a3b8;
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fixtures-league-scope {
  background: linear-gradient(180deg, #1a1f2a 0%, #141820 100%);
  border-color: rgba(196, 30, 58, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fixtures-league-scope__title {
  color: #f1f5f9;
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fixtures-league-scope__meta {
  color: #94a3b8;
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fixtures-league-scope__logo {
  background: #1a2230;
  border-color: rgba(148, 163, 184, 0.2);
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fixtures-day-group > summary {
  background: linear-gradient(180deg, #1c2330 0%, #171d28 100%);
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

html[data-bs-theme="dark"] .fc-fixtures-date-page .fc-fixtures-day-group__label {
  color: #e2e8f0;
}

html[data-bs-theme="dark"] .fc-fixtures-list-card .fc-fixtures-date-compact .fc-date-rail-track {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-bs-theme="dark"] .fc-fixtures-toolbar {
  border-top-color: rgba(148, 163, 184, 0.12);
}

html[data-bs-theme="dark"] .fc-fixtures-toolbar__input,
html[data-bs-theme="dark"] .fc-fixtures-toolbar .form-select {
  background-color: #141a24 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .fc-fixtures-live-chip {
  background: #141a24 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .fc-fix-next-banner {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.14) 0%, #161b26 100%);
  border-color: rgba(196, 30, 58, 0.32);
}

html[data-bs-theme="dark"] .fc-fixtures-list-head {
  background: transparent;
}

html[data-bs-theme="dark"] .fc-trends-toolbar.card,
html[data-bs-theme="dark"] .fc-pulse-promo.card {
  background: var(--fc-surface);
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-bs-theme="dark"] .fc-ui .fc-main .card > .card-header {
  background: linear-gradient(180deg, #1c2330 0%, #141a24 100%) !important;
  border-bottom-color: rgba(148, 163, 184, 0.16) !important;
  color: var(--fc-text);
}

/* Соревнования (/competitions) */
html[data-bs-theme="dark"] .fc-comp-page .fc-comp-filters,
html[data-bs-theme="dark"] .fc-comp-page .fc-comp-list-card {
  background: var(--fc-surface);
  border-color: rgba(148, 163, 184, 0.16) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .fc-comp-page .fc-comp-filter-head,
html[data-bs-theme="dark"] .fc-comp-page .fc-comp-list-card > .fc-card-header {
  background: linear-gradient(180deg, #1c2330 0%, #141a24 100%) !important;
  border-bottom-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-bs-theme="dark"] .fc-comp-page .fc-comp-filter-head .text-body {
  color: #e2e8f0;
}

html[data-bs-theme="dark"] .fc-comp-page .fc-comp-filters-body {
  background: #121a27;
}

html[data-bs-theme="dark"] .fc-comp-page .form-select,
html[data-bs-theme="dark"] .fc-comp-page .form-control {
  background-color: #141a24;
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

html[data-bs-theme="dark"] .fc-comp-page .form-check-label {
  color: #cbd5e1;
}

html[data-bs-theme="dark"] .fc-comp-page .btn-link.text-muted {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .fc-comp-toolbar-nav__link:hover {
  background: rgba(196, 30, 58, 0.14);
  border-color: rgba(196, 30, 58, 0.28);
}

html[data-bs-theme="dark"] .fc-comp-grid-wrap {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(196, 30, 58, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #161b26 0%, #121a27 100%);
}

html[data-bs-theme="dark"] .fc-comp-grid-table thead th,
html[data-bs-theme="dark"] .fc-comp-grid-th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #1c2330 0%, #141a24 100%);
  color: #94a3b8;
  border-bottom-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-bs-theme="dark"] .fc-comp-grid-td {
  background: #121a27;
  border-bottom-color: rgba(148, 163, 184, 0.1);
  color: #e2e8f0;
}

html[data-bs-theme="dark"] .fc-comp-grid-tr:hover .fc-comp-grid-td {
  background: #1a2230;
}

html[data-bs-theme="dark"] .fc-comp-grid-tr--featured .fc-comp-grid-td {
  background: linear-gradient(90deg, rgba(196, 30, 58, 0.18) 0%, #121a27 48%);
}

html[data-bs-theme="dark"] .fc-comp-grid-tr--featured:hover .fc-comp-grid-td {
  background: linear-gradient(90deg, rgba(196, 30, 58, 0.24) 0%, #1a2230 50%);
}

html[data-bs-theme="dark"] .fc-comp-section-label__text,
html[data-bs-theme="dark"] .fc-comp-grid-section--rest .fc-comp-section-label__text {
  background: linear-gradient(180deg, #1a2230 0%, rgba(196, 30, 58, 0.14) 160%);
  border-color: rgba(196, 30, 58, 0.32);
  color: #fda4af;
  box-shadow: none;
}

html[data-bs-theme="dark"] .fc-comp-grid-section--rest .fc-comp-section-label__text {
  color: #94a3b8;
  background: #1a1f2a;
  border-color: rgba(148, 163, 184, 0.2);
}

html[data-bs-theme="dark"] .fc-comp-grid-league__mark {
  background: linear-gradient(145deg, #1e2636 0%, #141a24 100%);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

html[data-bs-theme="dark"] .fc-comp-grid-act {
  background: #1a2230;
  border-color: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

html[data-bs-theme="dark"] .fc-comp-grid-act:hover {
  background: rgba(196, 30, 58, 0.16);
  border-color: rgba(196, 30, 58, 0.35);
  color: #fda4af;
}

html[data-bs-theme="dark"] .fc-comp-ttl {
  background: #1a2230;
  border-color: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
  box-shadow: none;
}

html[data-bs-theme="dark"] .fc-comp-ttl--cup {
  color: #86efac;
  background: rgba(25, 135, 84, 0.15);
  border-color: rgba(25, 135, 84, 0.28);
}

html[data-bs-theme="dark"] .fc-comp-ttl--tier {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.28);
}

html[data-bs-theme="dark"] .fc-comp-pill--hot {
  color: #fda4af;
  background: rgba(196, 30, 58, 0.18);
  border-color: rgba(196, 30, 58, 0.35);
}

html[data-bs-theme="dark"] .fc-comp-pill--live {
  color: #86efac;
  background: rgba(25, 135, 84, 0.16);
  border-color: rgba(25, 135, 84, 0.32);
}

html[data-bs-theme="dark"] .fc-comp-pagination .page-link {
  background: #141a24;
  border-color: rgba(148, 163, 184, 0.22);
  color: #fda4af;
}

html[data-bs-theme="dark"] .fc-comp-pagination .page-item.active .page-link {
  background: var(--fc-red);
  border-color: var(--fc-red);
  color: #fff;
}

html[data-bs-theme="dark"] .fc-comp-pagination .page-item.disabled .page-link {
  background: #121a27;
  color: #64748b;
}

html[data-bs-theme="dark"] .fc-comp-act-bar {
  background: #121a27;
  border-top-color: rgba(148, 163, 184, 0.12);
  box-shadow: none;
}

html[data-bs-theme="dark"] .fc-comp-act-bar__seg {
  border-color: rgba(148, 163, 184, 0.1);
}

html[data-bs-theme="dark"] .fc-comp-card__stack {
  background: linear-gradient(180deg, #161b26 0%, #121a27 100%);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Pulse / ML: размытие прогнозов для гостей + pop-up входа */
.fc-auth-gate {
  position: relative;
  isolation: isolate;
}

.fc-auth-gate__content {
  filter: blur(7px);
  opacity: 0.42;
  user-select: none;
  pointer-events: none;
  transform: scale(0.995);
}

.fc-auth-gate__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(248, 250, 252, 0.55);
}

.fc-auth-gate__pop {
  width: min(100%, 22rem);
  background: var(--fc-surface, #fff);
  border: 1px solid var(--fc-border, #e8e8e8) !important;
}

.fc-auth-gate__icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(196, 30, 58, 0.1);
  color: var(--fc-red, #c41e3a);
  font-size: 1rem;
}

.fc-trends-page .fc-auth-gate--slate {
  min-height: 18rem;
}

.fc-trends-page .fc-auth-gate--slate .fc-auth-gate__overlay {
  border-radius: 0.75rem;
}

html[data-bs-theme="dark"] .fc-auth-gate__content {
  opacity: 0.35;
}

html[data-bs-theme="dark"] .fc-auth-gate__overlay {
  background: rgba(15, 23, 42, 0.72);
}

html[data-bs-theme="dark"] .fc-auth-gate__pop {
  background: var(--fc-surface, #161b26);
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html[data-bs-theme="dark"] .fc-auth-gate__icon {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
}
