.matches-panel .match-card {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 12px 30px rgba(0,0,0,0.18);
}

.matches-panel .match-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 16px;
  align-items: start;
}

.matches-panel .match-main-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
}

.matches-panel .match-left-col {
  display: grid;
  gap: 12px;
}

.matches-panel .match-alerts-col {
  min-height: 100%;
}

.matches-panel .match-actions {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.matches-panel .match-title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  word-break: break-word;
}

.matches-panel .match-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 9999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgb(229, 231, 235);
}

.matches-panel .match-chip-primary {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
  color: rgb(125, 211, 252);
}

.matches-panel .match-chip-dark {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(255,255,255,0.08);
  color: rgb(209, 213, 219);
}

.matches-panel .match-chip-success {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.28);
  color: rgb(134, 239, 172);
}

.matches-panel .match-chip-warn {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.28);
  color: rgb(253, 224, 71);
}

.matches-panel .match-chip-danger {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.28);
  color: rgb(252, 165, 165);
}

.matches-panel .match-chip-alert {
  background: rgba(217, 70, 239, 0.14);
  border-color: rgba(217, 70, 239, 0.28);
  color: rgb(240, 171, 252);
}

.matches-panel .match-chip-muted {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: rgb(156, 163, 175);
}

.matches-panel .match-inline-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.matches-panel .match-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.10);
  color: rgb(253, 230, 138);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.matches-panel .match-link-btn:hover {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.40);
  transform: translateY(-1px);
}

.matches-panel .match-section {
  min-width: 0;
  border-radius: 16px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 14px;
}

.matches-panel .match-section-title {
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1279px) {
  .matches-panel .match-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .matches-panel .match-card-top {
    grid-template-columns: 1fr;
  }

  .matches-panel .match-actions {
    justify-content: stretch;
  }
}

@keyframes flashNew {
  0%   { background-color: rgba(34, 197, 94, 0.32); }
  100% { background-color: transparent; }
}

@keyframes flashUpdated {
  0%   { background-color: rgba(250, 204, 21, 0.30); }
  100% { background-color: transparent; }
}

.flash-new {
  animation: flashNew 5s ease-out;
}

.flash-updated {
  animation: flashUpdated 5s ease-out;
}

.match-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  height: 18px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  transform: uppercase;
}

.match-badge-new {
  background: rgba(34, 197, 94, 0.18);
  color: rgb(134, 239, 172);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.match-badge-updated {
  background: rgba(250, 204, 21, 0.16);
  color: rgb(253, 224, 71);
  border: 1px solid rgba(250, 204, 21, 0.30);
}

.matches-refresh-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.matches-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgb(229, 231, 235);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.matches-refresh-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.matches-refresh-btn-accent {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.30);
  color: rgb(147, 197, 253);
}

.matches-refresh-btn-accent:hover {
  background: rgba(59, 130, 246, 0.20);
  border-color: rgba(59, 130, 246, 0.40);
}

.matches-refresh-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.10);
  border: 1px solid rgba(250, 204, 21, 0.22);
  color: rgb(253, 224, 71);
  font-size: 12px;
  font-weight: 700;
}

.match-compact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  background: rgba(251, 191, 36, 0.10);
  color: rgb(253, 230, 138);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.match-compact-link:hover {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.36);
  transform: translateY(-1px);
}

.match-compact-link-disabled {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgb(107, 114, 128);
}

.bet-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.10);
  white-space: nowrap;
}

.bet-pill-market {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.28);
  color: rgb(147, 197, 253);
}

.bet-pill-pick {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.28);
  color: rgb(216, 180, 254);
}

.bet-pill-line {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.28);
  color: rgb(125, 211, 252);
}

.bet-pill-odds {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.28);
  color: rgb(253, 224, 71);
}

.bet-pill-novig {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
  color: rgb(134, 239, 172);
}