/* ==========================================================================
   LIMEBET — Live+ (страница /live/ и live-полоса на главной)
   Вынесено из base.css в отдельный файл: если этот файл не загрузился,
   страница Live+ останется без оформления, поэтому он подключён явно
   и проверяется самопроверкой страницы.
   ========================================================================== */
/* ---------- live+ ---------- */
.filter-count {
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.filter-tab.active .filter-count {
  background: #000;
  color: var(--accent);
}
.live-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(20, 22, 25, 0.9) 55%, var(--bg-card) 100%);
  border: 1px solid rgba(239, 68, 68, 0.32);
}
.live-strip.empty {
  background: var(--bg-card);
  border-color: var(--border);
}
.live-strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  min-width: 0;
  flex-wrap: wrap;
}
.live-strip-left b {
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.2px;
}
.live-strip-left span b {
  color: var(--danger);
  font-size: 13px;
}
.live-strip-link {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.live-strip-link:hover {
  text-decoration: underline;
}
.live-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 10px var(--danger);
  flex-shrink: 0;
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* live+ page */
.live-page {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 60px;
}
.live-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: radial-gradient(ellipse 70% 120% at 8% 0%, rgba(239, 68, 68, 0.28), transparent 62%),
    linear-gradient(135deg, #1a1113 0%, #14161a 60%, #101214 100%);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.live-hero-title {
  font-size: 1.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.05;
}
.live-hero-title .accent {
  color: var(--accent);
}
.live-hero-sub {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 8px;
  max-width: 520px;
  line-height: 1.5;
}
.live-hero-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.live-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.live-hero-stat b {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.live-hero-stat span {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.live-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-secondary);
  font-weight: 600;
}
.live-group-title {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.live-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.live-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.live-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.live-card-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--danger);
  font-weight: 900;
  white-space: nowrap;
}
.live-card-teams {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.live-card-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.live-card-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}
.live-card-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-card-score {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
  font-family: ui-monospace, Consolas, monospace;
  flex-shrink: 0;
}
.live-card-odds {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.live-odd {
  padding: 9px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-input);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.live-odd span:first-child {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 700;
}
.live-odd span:last-child {
  font-size: 13px;
  font-weight: 900;
  color: var(--text-primary);
}
.live-odd:hover {
  border-color: var(--accent);
}
.live-odd.selected {
  background: var(--accent);
  border-color: var(--accent);
}
.live-odd.selected span {
  color: #000;
}
.live-empty {
  padding: 46px 20px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
@media (max-width: 900px) {
  .live-hero {
    padding: 20px 16px;
  }
  .live-hero-title {
    font-size: 1.4rem;
  }
  .live-grid {
    grid-template-columns: 1fr;
  }
}