:root {
  --acb-rs-red: #d10014;
  --acb-rs-red-dark: #98000f;
  --acb-rs-ink: #15171a;
  --acb-rs-muted: #697079;
  --acb-rs-line: #e2e5e8;
  --acb-rs-soft: #f4f5f6;
  --acb-rs-white: #ffffff;
}

.acb-rs-shell,
.acb-rs-shell * {
  box-sizing: border-box;
}

.acb-rs-shell {
  position: relative;
  width: calc(100% - 30px);
  margin: 26px auto 30px;
  overflow: hidden;
  color: var(--acb-rs-ink);
  border: 1px solid #d8dadd;
  border-radius: 16px;
  background: var(--acb-rs-soft);
  box-shadow: 0 8px 24px rgba(21, 23, 26, 0.08);
  font-family: inherit;
}

.acb-rs-head {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 12px 18px;
  color: var(--acb-rs-white);
  background: var(--acb-rs-red);
}

.acb-rs-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.acb-rs-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.78);
}

.acb-rs-heading {
  min-width: 0;
}

.acb-rs-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.acb-rs-heading p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.acb-rs-controls {
  display: flex;
  margin-left: auto;
  gap: 8px;
}

.acb-rs-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.acb-rs-arrow:hover:not(:disabled),
.acb-rs-arrow:focus-visible:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.acb-rs-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.acb-rs-body {
  position: relative;
  padding: 14px;
}

.acb-rs-track {
  display: grid;
  grid-auto-columns: minmax(280px, 32.5%);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding: 1px 1px 7px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.acb-rs-track::-webkit-scrollbar {
  display: none;
}

.acb-rs-card {
  display: flex;
  min-height: 176px;
  flex-direction: column;
  overflow: hidden;
  color: var(--acb-rs-ink);
  border: 1px solid var(--acb-rs-line);
  border-radius: 13px;
  background: var(--acb-rs-white);
  box-shadow: 0 3px 10px rgba(21, 23, 26, 0.06);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.acb-rs-card:hover,
.acb-rs-card:focus-visible {
  color: var(--acb-rs-ink);
  border-color: rgba(209, 0, 20, 0.38);
  box-shadow: 0 7px 17px rgba(21, 23, 26, 0.12);
  text-decoration: none;
  transform: translateY(-2px);
}

.acb-rs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 8px 11px;
  gap: 8px;
  color: var(--acb-rs-muted);
  border-bottom: 1px solid #eceef0;
  background: #fafafa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.acb-rs-status {
  flex: 0 0 auto;
  padding: 4px 7px;
  color: #fff;
  border-radius: 999px;
  background: #30343a;
  font-size: 9px;
  line-height: 1;
}

.acb-rs-status.is-next {
  background: var(--acb-rs-red);
}

.acb-rs-teams {
  display: grid;
  flex: 1;
  align-content: center;
  gap: 10px;
  padding: 11px 12px 9px;
}

.acb-rs-team {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.acb-rs-badge {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  color: var(--acb-rs-red-dark);
  border: 1px solid #d5d9dd;
  border-radius: 50%;
  background: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.acb-rs-club-logo {
  display: block;
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.acb-rs-badge-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: #f0f1f3;
}

.acb-rs-badge-fallback[hidden] {
  display: none;
}

.acb-rs-team-name {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.13;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acb-rs-score {
  min-width: 28px;
  color: #111318;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.acb-rs-card.is-next .acb-rs-score {
  min-width: 62px;
  color: var(--acb-rs-red);
  font-size: 19px;
}

.acb-rs-card-foot {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  gap: 8px;
  color: #3f454d;
  border-top: 1px solid #eceef0;
  background: #f4f5f6;
  font-size: 10px;
  font-weight: 700;
}

.acb-rs-match-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.1;
}

.acb-rs-match-meta strong {
  font-size: 10px;
  white-space: nowrap;
}

.acb-rs-match-meta small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--acb-rs-muted);
  font-size: 8px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.acb-rs-stats-action {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: var(--acb-rs-red);
  gap: 4px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.acb-rs-stats-action svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.acb-rs-stats-action:hover,
.acb-rs-stats-action:focus-visible {
  color: var(--acb-rs-red-dark);
  text-decoration: underline;
}

.acb-rs-stats-action.is-disabled {
  color: #9ba0a6;
  cursor: default;
}

.acb-rs-stats-action.is-disabled:hover {
  color: #9ba0a6;
  text-decoration: none;
}

.acb-rs-message {
  display: grid;
  min-height: 160px;
  place-items: center;
  padding: 25px;
  color: var(--acb-rs-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.acb-rs-shortcode .acb-rs-shell {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

@media (max-width: 991px) {
  .acb-rs-track {
    grid-auto-columns: minmax(280px, 48%);
  }
}

@media (max-width: 575px) {
  .acb-rs-shell {
    width: calc(100% - 20px);
    margin-top: 18px;
    margin-bottom: 22px;
    border-radius: 13px;
  }

  .acb-rs-head {
    min-height: 66px;
    padding: 10px 12px;
  }

  .acb-rs-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .acb-rs-heading h2 {
    font-size: 16px;
  }

  .acb-rs-heading p {
    font-size: 10px;
  }

  .acb-rs-controls {
    gap: 5px;
  }

  .acb-rs-arrow {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  .acb-rs-body {
    padding: 10px;
  }

  .acb-rs-track {
    grid-auto-columns: 88%;
    gap: 9px;
  }

  .acb-rs-stats-action span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acb-rs-track {
    scroll-behavior: auto;
  }

  .acb-rs-card,
  .acb-rs-arrow {
    transition: none;
  }
}

