/* One-page series fixture import (6 November 2026): compact team links, a
   date-grouped match list and a sticky summary with the Import button. */
.cb-series-team-list { display: grid; gap: 8px; margin-top: 16px; }
.cb-series-team { min-width: 0; border: 1px solid #82d6b330; border-radius: 12px; background: #091b1b80; }
.cb-series-team > summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 16px;
  list-style: none; cursor: pointer; font-size: 13px; overflow-wrap: anywhere;
}
.cb-series-team > summary::-webkit-details-marker { display: none; }
.cb-series-team-choice { color: #a9d9c7; }
.cb-series-team > summary .cb-text-link { margin-left: auto; font-size: 12px; }
.cb-series-team-fields { padding: 0 16px 16px; }
.cb-series-import-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cb-series-import-heading h2 { margin-bottom: 4px; }
.cb-series-import-tools { display: flex; gap: 8px; }
.cb-series-day { margin: 22px 0 8px; color: #a9d9c7; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.cb-series-match-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cb-series-match {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid #82d6b326; border-radius: 10px; background: #091b1b80;
}
.cb-series-match:has(input:checked) { border-color: #67edb766; background: #143b3080; }
.cb-series-match.is-unavailable { opacity: .72; }
.cb-series-match input { width: 16px; height: 16px; margin: 0; accent-color: #67edb7; }
.cb-series-match-mark { color: #a9d9c7; text-align: center; }
.cb-series-match-copy { min-width: 0; cursor: pointer; overflow-wrap: anywhere; }
.cb-series-match.is-unavailable .cb-series-match-copy { cursor: default; }
.cb-series-match-line { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; }
.cb-series-match-time { color: #a9d9c7; font-variant-numeric: tabular-nums; }
.cb-series-match-copy small { display: block; margin-top: 3px; color: #9db8aa; font-size: 11px; line-height: 1.5; }
.cb-series-import-footer {
  position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin: 20px -12px -12px; padding: 14px 12px; border-top: 1px solid #82d6b333; background: #0b1d1ef2; backdrop-filter: blur(6px);
}
.cb-series-import-summary { margin: 0; font-size: 13px; }
:root[data-theme="light"] :is(.cb-series-team, .cb-series-match) { background: var(--theme-surface); border-color: var(--theme-border); }
:root[data-theme="light"] .cb-series-match:has(input:checked) { background: #e7f6ee; border-color: #8fcaa9; }
:root[data-theme="light"] :is(.cb-series-team-choice, .cb-series-day, .cb-series-match-time, .cb-series-match-mark) { color: var(--theme-accent); }
:root[data-theme="light"] .cb-series-match-copy small { color: var(--theme-muted); }
:root[data-theme="light"] .cb-series-import-footer { background: #ffffffeb; border-color: var(--theme-border); }
:root[data-theme="light"] .cb-series-match input { accent-color: var(--theme-accent); }
@media (max-width: 600px) {
  .cb-series-match { grid-template-columns: 20px minmax(0, 1fr); }
  .cb-series-match > .cb-status { grid-column: 2; justify-self: start; }
  .cb-series-import-footer .cb-button { width: 100%; }
}
