/* CS2 and tennis focus cards use the existing theme tokens. */
.tour-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.tour-filters a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.tour-filters a.on {
  color: var(--accent-ink);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.tour-filters a span { font-size: 10px; font-variant-numeric: tabular-nums; }
.tour-day .overview-stats { margin: 14px 0 20px; }
.tour-focus .section-label { margin-top: 22px; }
.tour-start-time { display: block; font-size: 9px; color: var(--muted); margin-top: 4px; }
.tour-row .cs-score-options { min-width: 0; }
.tour-day .sport-feed-note { font-size: 11px; line-height: 1.7; }
.tour-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 24px;
}
.tour-match {
  --tour-edge: var(--accent);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--tour-edge);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft), transparent 55%), var(--surface);
  box-shadow: 0 4px 20px rgba(25, 14, 48, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tour-match:nth-child(even) { --tour-edge: #239c96; }
.tour-match-live {
  --tour-edge: #239c96;
  background: linear-gradient(135deg, rgba(35, 156, 150, .12), transparent 55%), var(--surface);
}
.tour-match-top,
.tour-match-bottom,
.tour-score-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tour-match-top { padding: 13px 16px 8px; }
.tour-tournament {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .025em;
}
.tour-state {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.tour-state-live { color: var(--text); background: rgba(35, 156, 150, .12); border-color: rgba(35, 156, 150, .38); }
.tour-state-live i { width: 6px; height: 6px; border-radius: 50%; background: #239c96; box-shadow: 0 0 0 3px rgba(35, 156, 150, .13); }
.tour-match-main { display: block; padding: 8px 16px 12px; color: var(--text); text-decoration: none; }
.tour-competitors { display: grid; gap: 10px; }
.tour-competitor { display: grid; grid-template-columns: 38px minmax(0, 1fr) 36px; align-items: center; gap: 10px; min-width: 0; }
.tour-competitor .crest-tour { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.tour-competitor .crest-tour img { width: 28px; height: 28px; object-fit: contain; }
.tour-team-name { min-width: 0; font-size: 16px; line-height: 1.35; font-weight: 750; overflow-wrap: anywhere; }
.tour-team-score { display: grid; place-items: center; min-height: 34px; border-radius: 8px; background: var(--surface-2); font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.tour-score-caption { margin-top: 12px; color: var(--muted); font-size: 10px; }
.tour-score-caption time { white-space: nowrap; }
.tour-forecast { min-height: 42px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.tour-forecast-label { margin-bottom: 8px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.tour-win-chances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tour-win-chances > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; }
.tour-win-chances small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; color: var(--muted); font-size: 10px; }
.tour-win-chances b { color: var(--text); font-size: 15px; font-variant-numeric: tabular-nums; }
.tour-win-chances > .tour-favored { border-color: var(--accent); background: var(--accent-soft); }
.tour-win-chances .tour-favored b { color: var(--accent-ink); }
.tour-score-forecast { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; margin-top: 10px; color: var(--muted); font-size: 10px; }
.tour-score-forecast > b { color: var(--text); font-size: 15px; font-variant-numeric: tabular-nums; }
.tour-score-forecast > small { font-size: 11px; }
.tour-score-forecast .tour-alternative { margin-left: auto; }
.tour-alternative b { color: var(--text); }
.tour-locked { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-height: 20px; color: var(--muted); font-size: 11px; }
.tour-locked a { margin-left: auto; color: var(--accent-ink); font-weight: 700; }
.tour-pending { color: var(--muted); font-size: 11px; line-height: 20px; }
.tour-match-bottom { padding: 9px 16px; border-top: 1px solid var(--line); }
.tour-receipt { min-width: 0; color: var(--muted); font-size: 9px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.tour-saved { display: inline-block; margin-left: 4px; }
.tour-details { flex: 0 0 auto; color: var(--accent-ink); font-size: 11px; font-weight: 700; }
.tour-match:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.tour-schedule .group { margin-bottom: 14px; overflow: hidden; }
.tour-schedule .ghead { border-left: 3px solid var(--accent); }
.tour-schedule .group:nth-of-type(even) .ghead { border-left-color: #239c96; }
.tour-schedule .row:nth-of-type(even) { background: var(--surface-2); }
.tour-schedule .row.is-live { background: rgba(35, 156, 150, .08); }
.tour-schedule .row.is-live .st { color: var(--text); font-weight: 700; }
.tour-schedule .row .teams .nm { line-height: 1.45; }
.tour-schedule .row .sc .score-pair { font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .tour-match:hover { transform: translateY(-2px); border-color: var(--tour-edge); box-shadow: 0 8px 24px rgba(25, 14, 48, .12); }
  .tour-match-main:hover .tour-team-name { color: var(--accent-ink); }
}
@media (min-width: 1300px) {
  .tour-cards:has(.tour-match:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tour-cards:has(.tour-match:nth-child(4)) .tour-team-name { font-size: 14px; }
  .tour-cards:has(.tour-match:nth-child(4)) .tour-win-chances { grid-template-columns: 1fr; }
}
@media (min-width: 721px) {
  .tour-schedule .sp-series { grid-template-columns: 40px 40px 38px 124px 78px 62px; }
  .tour-schedule .colhead .ex { white-space: normal; line-height: 1.4; }
}
@media (max-width: 620px) {
  .tour-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tour-match-top { padding: 12px 14px 6px; }
  .tour-match-main { padding: 8px 14px 12px; }
  .tour-team-name { font-size: 16px; }
  .tour-forecast { padding: 11px 14px; }
  .tour-match-bottom { padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-match { transition: none; }
  .tour-match:hover { transform: none; }
}
