/*
 * Live Match Analysis Modal Fixes — 20260610
 * Bu dosya yalnızca #liveAnalysisModal ve .live-analysis-btn kapsamını hedefler.
 * Amaç: mevcut Tailwind/dark-mode sınıflarıyla çakışmadan modal yüksekliği,
 * mobil bottom-sheet davranışı ve okunabilir renk kontrastını garanti etmek.
 */

:root {
  --lam-20260610-bg: #ffffff;
  --lam-20260610-bg-soft: #f8fafc;
  --lam-20260610-card: #ffffff;
  --lam-20260610-card-soft: #fff7ed;
  --lam-20260610-border: rgba(15, 23, 42, 0.10);
  --lam-20260610-border-strong: rgba(15, 23, 42, 0.16);
  --lam-20260610-text: #0f172a;
  --lam-20260610-text-soft: #334155;
  --lam-20260610-text-muted: #64748b;
  --lam-20260610-accent: #dc2626;
  --lam-20260610-accent-2: #e11d48;
  --lam-20260610-gold: #f59e0b;
  --lam-20260610-blue: #2563eb;
  --lam-20260610-green: #10b981;
  --lam-20260610-shadow: 0 28px 90px rgba(2, 6, 23, 0.32), 0 12px 32px rgba(2, 6, 23, 0.18);
}

/* Analiz butonu: mevcut kart temalarından bağımsız okunur kontrast. */
.live-analysis-btn {
  background: linear-gradient(135deg, #dc2626 0%, #e11d48 52%, #a855f7 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 10px 26px rgba(220, 38, 38, 0.24) !important;
  text-shadow: none !important;
  isolation: isolate;
}

.live-analysis-btn,
.live-analysis-btn * {
  color: #ffffff !important;
}

.live-analysis-btn:hover {
  filter: brightness(1.05) saturate(1.05);
  transform: translateY(-1px);
}

.live-analysis-btn:focus-visible {
  outline: 3px solid rgba(248, 113, 113, 0.42) !important;
  outline-offset: 3px !important;
}

/* Backdrop daha kontrollü; sayfadaki karışık renkleri modal arkasında yumuşatır. */
#liveAnalysisBackdrop {
  background: rgba(2, 6, 23, 0.68) !important;
  backdrop-filter: blur(12px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.04) !important;
}

/* Masaüstü modal: viewport içinde kalır, gövde kendi içinde scroll olur. */
#liveAnalysisModal {
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: min(90vw, 560px) !important;
  height: auto !important;
  max-height: min(66dvh, 620px) !important;
  transform: translate(-50%, -50%) scale(0.98) !important;
  border-radius: 26px !important;
  background: var(--lam-20260610-bg) !important;
  border: 1px solid var(--lam-20260610-border-strong) !important;
  box-shadow: var(--lam-20260610-shadow) !important;
  color: var(--lam-20260610-text) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  font-feature-settings: 'tnum', 'cv01', 'cv02';
}

#liveAnalysisModal:not(.opacity-0) {
  transform: translate(-50%, -50%) scale(1) !important;
}

/* Başlık alanı: açık, okunur ve sabit. */
#liveAnalysisModal > .relative:first-child {
  flex: 0 0 auto !important;
  padding: 15px 18px 13px !important;
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.18), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #fff7ed 52%, #fdf2f8 100%) !important;
  border-bottom: 1px solid var(--lam-20260610-border) !important;
}

#liveAnalysisModal > .relative:first-child::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.20), transparent);
}

#liveAnalysisTitle {
  color: var(--lam-20260610-text) !important;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#liveAnalysisSubtitle {
  color: var(--lam-20260610-text-muted) !important;
  max-width: 100%;
}

#liveAnalysisCloseBtn {
  background: rgba(15, 23, 42, 0.06) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: var(--lam-20260610-text-soft) !important;
}

#liveAnalysisCloseBtn:hover {
  background: rgba(220, 38, 38, 0.10) !important;
  color: var(--lam-20260610-accent) !important;
}

#liveAnalysisCloseBtn,
#liveAnalysisCloseBtn * {
  color: inherit !important;
}

/* Gövde: modal yüksekliğine göre scroll alanı. */
#liveAnalysisBody {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px 18px !important;
  background: var(--lam-20260610-bg-soft) !important;
  color: var(--lam-20260610-text-soft) !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(220, 38, 38, 0.45) rgba(15, 23, 42, 0.06);
}

#liveAnalysisBody::-webkit-scrollbar {
  width: 8px;
}

#liveAnalysisBody::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
}

#liveAnalysisBody::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.45);
  border-radius: 999px;
}

/* Tailwind dark-mode renklerinin modal içinde açık zeminde okunmaz olmasını engelle. */
#liveAnalysisModal h1,
#liveAnalysisModal h2,
#liveAnalysisModal h3,
#liveAnalysisModal h4,
#liveAnalysisModal h5,
#liveAnalysisModal h6 {
  color: var(--lam-20260610-text) !important;
}

#liveAnalysisModal p,
#liveAnalysisModal li,
#liveAnalysisModal span,
#liveAnalysisModal div {
  text-shadow: none !important;
}

#liveAnalysisBody p,
#liveAnalysisBody li,
#liveAnalysisBody .text-surface-500,
#liveAnalysisBody .text-surface-600,
#liveAnalysisBody .dark\:text-surface-300,
#liveAnalysisBody .dark\:text-surface-400,
#liveAnalysisBody .dark\:text-white,
#liveAnalysisBody .text-white {
  color: var(--lam-20260610-text-soft) !important;
}

#liveAnalysisBody .text-surface-900,
#liveAnalysisBody .font-black,
#liveAnalysisBody strong {
  color: var(--lam-20260610-text) !important;
}

#liveAnalysisModal .text-red-500,
#liveAnalysisModal .dark\:text-red-300 {
  color: var(--lam-20260610-accent) !important;
}

#liveAnalysisModal .text-primary-500,
#liveAnalysisModal .text-primary-400 {
  color: var(--lam-20260610-blue) !important;
}

/* İç kartlar: açık yüzey, net ayrım ve okunur metin. */
#liveAnalysisBody article,
#liveAnalysisBody section,
#liveAnalysisBody .rounded-2xl {
  border-color: var(--lam-20260610-border) !important;
}

#liveAnalysisBody article,
#liveAnalysisBody section.rounded-2xl,
#liveAnalysisBody div.rounded-2xl {
  background: var(--lam-20260610-card) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

#liveAnalysisBody > .space-y-4 > section:first-child,
#liveAnalysisBody section.bg-gradient-to-br {
  background:
    radial-gradient(circle at top right, rgba(225, 29, 72, 0.13), transparent 42%),
    linear-gradient(135deg, #fff7ed 0%, #ffffff 58%, #fdf2f8 100%) !important;
  border-color: rgba(220, 38, 38, 0.16) !important;
}

#liveAnalysisBody .rounded-full {
  color: var(--lam-20260610-text-soft) !important;
}

#liveAnalysisBody .bg-surface-100,
#liveAnalysisBody .dark\:bg-white\/\[0\.06\] {
  background-color: rgba(15, 23, 42, 0.08) !important;
}

#liveAnalysisBody .bg-amber-50\/80,
#liveAnalysisBody .dark\:bg-amber-500\/\[0\.06\] {
  background: #fffbeb !important;
  border-color: rgba(245, 158, 11, 0.34) !important;
}

#liveAnalysisBody .text-amber-800,
#liveAnalysisBody .dark\:text-amber-200 {
  color: #92400e !important;
}

#liveAnalysisBody .text-amber-500 {
  color: var(--lam-20260610-gold) !important;
}

/* Skor barları ve animasyonlar mevcut mantığı korur; yalnızca zeminleri okunur yapar. */
#liveAnalysisBody .h-2.rounded-full {
  background-color: rgba(15, 23, 42, 0.09) !important;
}

#liveAnalysisBody .bg-orange-500,
#liveAnalysisBody .bg-amber-500 {
  background-color: var(--lam-20260610-gold) !important;
}

#liveAnalysisBody .bg-emerald-500 {
  background-color: var(--lam-20260610-green) !important;
}

#liveAnalysisBody .bg-primary-500,
#liveAnalysisBody .bg-blue-500 {
  background-color: var(--lam-20260610-blue) !important;
}

/* Loading state: modalda yüksek kontrastlı spinner ve skeleton. */
#liveAnalysisBody .animate-spin {
  border-color: rgba(220, 38, 38, 0.18) !important;
  border-top-color: var(--lam-20260610-accent) !important;
}

#liveAnalysisBody .animate-pulse {
  background: #ffffff !important;
}

/* Özet ikon alanı: açık zemin üzerinde parlamayı azaltır, içerik oranını dengeler. */
#liveAnalysisBody section:first-child .w-12,
#liveAnalysisBody section:first-child .h-12 {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
}

#liveAnalysisBody section:first-child .bg-white\/80,
#liveAnalysisBody section:first-child .dark\:bg-white\/10 {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
}

/* Masaüstü dar ekranlarda modalı biraz kompaktlaştır. */
@media (max-height: 760px) and (min-width: 641px) {
  #liveAnalysisModal {
    max-height: calc(100dvh - 48px) !important;
    width: min(90vw, 560px) !important;
  }

  #liveAnalysisModal > .relative:first-child {
    padding: 14px 18px 12px !important;
  }

  #liveAnalysisBody {
    padding: 14px 18px 18px !important;
  }
}

/* Mobil: gerçek bottom-sheet davranışı, güvenli alan ve viewport içinde scroll. */
@media (max-width: 640px) {
  #liveAnalysisBackdrop {
    background: rgba(2, 6, 23, 0.72) !important;
  }

  #liveAnalysisModal {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: min(82dvh, 680px) !important;
    border-radius: 22px 22px 0 0 !important;
    transform: translateY(22px) scale(1) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }

  #liveAnalysisModal:not(.opacity-0) {
    transform: translateY(0) scale(1) !important;
  }

  #liveAnalysisModal > .relative:first-child {
    padding: 13px 14px 10px !important;
  }

  #liveAnalysisModal > .relative:first-child::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
    transform: translateX(-50%);
  }

  #liveAnalysisModal > .relative:first-child > .flex {
    padding-top: 8px;
  }

  #liveAnalysisTitle {
    font-size: 0.95rem !important;
    line-height: 1.18rem !important;
  }

  #liveAnalysisSubtitle {
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  #liveAnalysisBody {
    padding: 11px 12px calc(15px + env(safe-area-inset-bottom)) !important;
  }

  #liveAnalysisBody .grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #liveAnalysisBody article,
  #liveAnalysisBody section.rounded-2xl,
  #liveAnalysisBody div.rounded-2xl {
    border-radius: 17px !important;
    padding: 12px !important;
  }

  .live-analysis-btn {
    min-height: 40px;
    border-radius: 14px !important;
  }
}

@media (max-width: 380px) {
  #liveAnalysisModal {
    max-height: 90dvh !important;
  }

  #liveAnalysisBody {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Final polish: özet kartındaki radar ikonunun açık zeminde kaybolmasını engelle. */
#liveAnalysisBody section:first-child .w-10.h-10,
#liveAnalysisBody section:first-child div[class*="bg-red-500"] {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.14), rgba(225, 29, 72, 0.10)) !important;
  border: 1px solid rgba(220, 38, 38, 0.18) !important;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.10) !important;
}

#liveAnalysisBody section:first-child .w-10.h-10 svg,
#liveAnalysisBody section:first-child .w-10.h-10 i,
#liveAnalysisBody section:first-child i[data-lucide="radar"] {
  color: var(--lam-20260610-accent) !important;
  stroke: var(--lam-20260610-accent) !important;
}

@media (max-width: 640px) {
  #liveAnalysisBody section:first-child .w-10.h-10 {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 14px !important;
  }

  #liveAnalysisBody section:first-child .w-10.h-10 svg,
  #liveAnalysisBody section:first-child .w-10.h-10 i {
    width: 18px !important;
    height: 18px !important;
  }
}

/* 20260610b — Lottie analysis action near favorite star. Kept at file end to override older button rules above. */
.live-analysis-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  flex-shrink: 0 !important;
  min-height: unset !important;
  border: 1px solid rgba(244, 63, 94, 0.38) !important;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.20), rgba(225, 29, 72, 0.16), rgba(217, 70, 239, 0.16)) !important;
  color: #fff1f2 !important;
  box-shadow: 0 8px 22px rgba(127, 29, 29, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  overflow: hidden !important;
  text-shadow: none !important;
  filter: none !important;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease !important;
}

.live-analysis-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.28), transparent 38%);
  pointer-events: none;
  opacity: 0.75;
}

.live-analysis-btn:hover,
.live-analysis-btn:focus-visible {
  transform: translateY(-1px) !important;
  border-color: rgba(251, 113, 133, 0.72) !important;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.32), rgba(225, 29, 72, 0.22), rgba(217, 70, 239, 0.26)) !important;
  box-shadow: 0 12px 28px rgba(127, 29, 29, 0.25), 0 0 0 3px rgba(244, 63, 94, 0.11) !important;
}

.live-analysis-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

.live-analysis-btn--card {
  min-height: 2rem !important;
  padding: 0.28rem 0.55rem !important;
  border-radius: 0.85rem !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
}

.live-analysis-btn--compact {
  width: 1.9rem !important;
  min-width: 1.9rem !important;
  height: 1.9rem !important;
  padding: 0 !important;
  border-radius: 0.72rem !important;
}

.live-analysis-btn-label {
  position: relative !important;
  z-index: 1 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  color: #fff1f2 !important;
}

.analysis-lottie-wrap {
  position: relative !important;
  z-index: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.12rem !important;
  height: 1.12rem !important;
  color: currentColor !important;
}

.analysis-lottie-icon {
  width: 1.28rem !important;
  height: 1.28rem !important;
  display: block !important;
  pointer-events: none !important;
}

.analysis-lottie-fallback {
  position: absolute !important;
  inset: 50% auto auto 50% !important;
  transform: translate(-50%, -50%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  color: #fff1f2 !important;
  stroke: #fff1f2 !important;
}

.live-analysis-btn .analysis-lottie-icon:not(:defined) + .analysis-lottie-fallback {
  opacity: 1 !important;
}

.live-analysis-btn--compact .analysis-lottie-wrap {
  width: 1rem !important;
  height: 1rem !important;
}

.live-analysis-btn--compact .analysis-lottie-icon {
  width: 1.16rem !important;
  height: 1.16rem !important;
}

.live-stat-card {
  min-width: 0;
}

.dark .live-analysis-btn {
  color: #fff1f2 !important;
  border-color: rgba(248, 113, 113, 0.38) !important;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.24), rgba(127, 29, 29, 0.34), rgba(190, 24, 93, 0.20)) !important;
}

@media (max-width: 640px) {
  .live-analysis-btn--card {
    width: 2rem !important;
    min-width: 2rem !important;
    height: 2rem !important;
    min-height: 2rem !important;
    padding: 0 !important;
    border-radius: 0.85rem !important;
  }

  .live-analysis-btn--compact {
    width: 1.75rem !important;
    min-width: 1.75rem !important;
    height: 1.75rem !important;
    min-height: 1.75rem !important;
    border-radius: 0.68rem !important;
  }
}


/* 20260610c — Favorite + analysis action hit-area harmonization for desktop, compact and mobile cards. */
.live-match-card .fav-star-btn {
  width: 2.05rem !important;
  min-width: 2.05rem !important;
  height: 2.05rem !important;
  min-height: 2.05rem !important;
  border-radius: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(245, 166, 35, 0.25) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.live-match-card .fav-star-btn svg {
  width: 0.95rem !important;
  height: 0.95rem !important;
}

.live-match-card .fav-star-btn:hover,
.live-match-card .fav-star-btn:focus-visible,
.live-match-card .fav-star-btn.active {
  background: rgba(245, 166, 35, 0.18) !important;
  border-color: rgba(245, 166, 35, 0.55) !important;
}

.live-analysis-btn--card {
  min-height: 2.05rem !important;
}

.live-analysis-btn--compact {
  width: 2.05rem !important;
  min-width: 2.05rem !important;
  height: 2.05rem !important;
  min-height: 2.05rem !important;
}

@media (max-width: 640px) {
  .live-match-card .fav-star-btn,
  .live-analysis-btn--card,
  .live-analysis-btn--compact {
    width: 2.15rem !important;
    min-width: 2.15rem !important;
    height: 2.15rem !important;
    min-height: 2.15rem !important;
  }

  .live-match-card .fav-star-btn svg {
    width: 1rem !important;
    height: 1rem !important;
  }
}

/* 20260610d — Icon-only analysis action + calmer website-aligned modal palette. */
:root {
  --lam-20260610-accent: #2563eb;
  --lam-20260610-accent-2: #7c3aed;
  --lam-20260610-accent-soft: rgba(37, 99, 235, 0.12);
  --lam-20260610-accent-border: rgba(37, 99, 235, 0.20);
  --lam-20260610-bg-soft: #f8fafc;
  --lam-20260610-card-soft: #eff6ff;
}

.live-analysis-btn--card,
.live-analysis-btn--compact {
  width: 2.05rem !important;
  min-width: 2.05rem !important;
  height: 2.05rem !important;
  min-height: 2.05rem !important;
  padding: 0 !important;
}

.live-analysis-btn-label {
  display: none !important;
}

.live-analysis-btn {
  border-color: rgba(96, 165, 250, 0.42) !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(79, 70, 229, 0.20), rgba(124, 58, 237, 0.18)) !important;
  color: #eff6ff !important;
  box-shadow: 0 8px 22px rgba(30, 64, 175, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

.live-analysis-btn:hover,
.live-analysis-btn:focus-visible {
  border-color: rgba(147, 197, 253, 0.72) !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.34), rgba(79, 70, 229, 0.26), rgba(124, 58, 237, 0.24)) !important;
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.26), 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.dark .live-analysis-btn {
  border-color: rgba(96, 165, 250, 0.40) !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(30, 41, 59, 0.46), rgba(124, 58, 237, 0.22)) !important;
}

.analysis-lottie-wrap {
  width: 1.2rem !important;
  height: 1.2rem !important;
}

.analysis-lottie-icon {
  width: 1.34rem !important;
  height: 1.34rem !important;
}

.analysis-lottie-fallback {
  color: #eff6ff !important;
  stroke: #eff6ff !important;
}

#liveAnalysisModal > .relative:first-child {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 38%),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.10), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #eef2ff 100%) !important;
}

#liveAnalysisModal > .relative:first-child::after {
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.22), transparent) !important;
}

#liveAnalysisCloseBtn:hover {
  background: rgba(37, 99, 235, 0.10) !important;
  color: var(--lam-20260610-accent) !important;
}

#liveAnalysisBody {
  scrollbar-color: rgba(37, 99, 235, 0.45) rgba(15, 23, 42, 0.06) !important;
}

#liveAnalysisBody::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.45) !important;
}

#liveAnalysisModal .text-red-500,
#liveAnalysisModal .dark\:text-red-300,
#liveAnalysisModal .live-analysis-radar-icon {
  color: var(--lam-20260610-accent) !important;
  stroke: var(--lam-20260610-accent) !important;
}

#liveAnalysisBody > .space-y-4 > section:first-child,
#liveAnalysisBody section.bg-gradient-to-br {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.13), transparent 42%),
    radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.09), transparent 42%),
    linear-gradient(135deg, #eff6ff 0%, #ffffff 56%, #f5f3ff 100%) !important;
  border-color: var(--lam-20260610-accent-border) !important;
}

#liveAnalysisBody .live-analysis-summary-icon,
#liveAnalysisBody section:first-child .w-10.h-10,
#liveAnalysisBody section:first-child div[class*="bg-red-500"] {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(124, 58, 237, 0.10)) !important;
  border: 1px solid rgba(37, 99, 235, 0.20) !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.10) !important;
}

#liveAnalysisBody .bg-red-50,
#liveAnalysisBody .dark\:bg-red-500\/10 {
  background: rgba(37, 99, 235, 0.08) !important;
}

#liveAnalysisBody .bg-fuchsia-50,
#liveAnalysisBody .dark\:bg-fuchsia-500\/10 {
  background: rgba(124, 58, 237, 0.08) !important;
}

#liveAnalysisBody .animate-spin {
  border-color: rgba(37, 99, 235, 0.18) !important;
  border-top-color: var(--lam-20260610-accent) !important;
}

#liveAnalysisBody .border-t-red-500,
#liveAnalysisBody .border-r-fuchsia-500 {
  border-top-color: var(--lam-20260610-accent) !important;
  border-right-color: var(--lam-20260610-accent-2) !important;
}

#liveAnalysisBody .bg-red-500\/10,
#liveAnalysisBody .dark\:bg-red-400\/10 {
  background-color: rgba(37, 99, 235, 0.10) !important;
}

@media (max-width: 640px) {
  .live-analysis-btn--card,
  .live-analysis-btn--compact,
  .live-match-card .fav-star-btn {
    width: 2.15rem !important;
    min-width: 2.15rem !important;
    height: 2.15rem !important;
    min-height: 2.15rem !important;
  }

  #liveAnalysisModal {
    max-height: min(86dvh, 700px) !important;
  }

  #liveAnalysisBody > .space-y-4 > section:first-child {
    padding: 13px !important;
  }
}
