.prediction-feature-cards {
  margin: 0 0 28px;
  color: #1b2430;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.prediction-feature-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.prediction-feature-card {
  --feature-hue: 152;
  --feature-radial-hue: 150;
  --feature-radial-chroma: .077;
  --feature-count-hue: 150;
  --feature-count-chroma: .059;
  --feature-accent: #0f6e3d;
  --feature-hover: #f3f7f4;
  --feature-fallback-bg: #f3f8f5;
  --feature-fallback-border: #dce5df;
  --feature-fallback-count-border: #cfe2d6;
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--feature-fallback-border);
  border: 1px solid oklch(.885 .02 var(--feature-hue));
  border-radius: 13px;
  color: #1b2430;
  background: var(--feature-fallback-bg);
  background: radial-gradient(62% 130% at 97% -20%, oklch(.90 var(--feature-radial-chroma) var(--feature-radial-hue) / .40) 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(145deg, oklch(.945 .052 var(--feature-hue)) 0%, oklch(.988 .012 var(--feature-hue)) 72%);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.prediction-feature-card:hover,
.prediction-feature-card:focus {
  color: #1b2430;
  box-shadow: 0 14px 26px rgba(16, 24, 40, .14);
  text-decoration: none;
  transform: translateY(-3px);
}

.prediction-feature-card:focus-visible {
  outline: 2px solid var(--feature-accent);
  outline-offset: 2px;
}

.prediction-feature-card--hockey {
  --feature-hue: 238;
  --feature-radial-hue: 236;
  --feature-accent: #2b6cd4;
  --feature-count-hue: 236;
  --feature-hover: #f4f7fd;
  --feature-fallback-bg: #f4f7fd;
  --feature-fallback-border: #dce3f1;
  --feature-fallback-count-border: #ccd9ed;
}

.prediction-feature-card--tennis {
  --feature-hue: 32;
  --feature-radial-hue: 30;
  --feature-radial-chroma: .083;
  --feature-accent: #a5521e;
  --feature-count-hue: 30;
  --feature-count-chroma: .063;
  --feature-hover: #fdf7f2;
  --feature-fallback-bg: #fdf7f2;
  --feature-fallback-border: #eaded6;
  --feature-fallback-count-border: #ead4c5;
}

.prediction-feature-card--basketball {
  --feature-hue: 62;
  --feature-radial-hue: 52;
  --feature-accent: #9c4715;
  --feature-count-hue: 52;
  --feature-hover: #fdf6f1;
  --feature-fallback-bg: #fdf8ed;
  --feature-fallback-border: #e8dfcc;
  --feature-fallback-count-border: #ead4bc;
}

.prediction-feature-card--volleyball {
  --feature-hue: 288;
  --feature-radial-hue: 288;
  --feature-radial-chroma: .083;
  --feature-accent: #0d8291;
  --feature-count-hue: 288;
  --feature-count-chroma: .063;
  --feature-hover: #f3fafb;
  --feature-fallback-bg: #f7f4fc;
  --feature-fallback-border: #e2daeb;
  --feature-fallback-count-border: #ddcfe9;
}

.prediction-feature-card--other {
  --feature-hue: 176;
  --feature-radial-hue: 174;
  --feature-radial-chroma: .066;
  --feature-accent: #5b6a7d;
  --feature-count-hue: 174;
  --feature-count-chroma: .050;
  --feature-hover: #f7f9fa;
  --feature-fallback-bg: #f2faf8;
  --feature-fallback-border: #d8e8e4;
  --feature-fallback-count-border: #cfe3de;
}

.prediction-feature-head {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 0;
}

.prediction-feature-sport {
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--feature-accent);
  background: #fff;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.prediction-feature-league {
  display: block;
  min-width: 0;
  overflow: hidden;
  flex: 0 1 auto;
  color: #566473;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prediction-feature-card--football .prediction-feature-league,
.prediction-feature-card--football .prediction-feature-date > span {
  color: oklch(.50 .02 152);
}

.prediction-feature-date {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 12px 0;
}

.prediction-feature-date > strong {
  color: #1b2430;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.prediction-feature-date > span {
  overflow: hidden;
  color: #566473;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prediction-feature-participants {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.prediction-feature-participant {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.prediction-feature-logo {
  display: flex;
  width: 30px;
  height: 30px;
  overflow: hidden;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cfd6de;
  border-radius: 50%;
  background: #fff;
  font-style: normal;
}

.prediction-feature-logo img {
  display: block;
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
}

.prediction-feature-participant > strong {
  min-width: 0;
  overflow: hidden;
  color: #1b2430;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prediction-feature-odds {
  position: relative;
  display: flex;
  gap: 6px;
  padding: 0 12px 12px;
}

.prediction-feature-odds > span {
  min-width: 0;
  flex: 1;
  padding: 7px 0;
  border-radius: 9px;
  background: #fff;
  color: #1b2430;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.prediction-feature-odds b {
  font-weight: 700;
}

.prediction-feature-count {
  position: relative;
  display: flex;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  margin: auto 12px 12px;
  border: 2px solid var(--feature-fallback-count-border);
  border: 2px solid oklch(.87 var(--feature-count-chroma) var(--feature-count-hue));
  border-radius: 11px;
  color: #1b2430;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: background .15s ease;
}

.prediction-feature-card:hover .prediction-feature-count,
.prediction-feature-card:focus .prediction-feature-count {
  background: var(--feature-hover);
}

.prediction-feature-count strong {
  font-weight: 700;
}

.prediction-feature-count > span:last-child {
  font-size: 15px;
  line-height: 1;
}

.prediction-feature-dots {
  display: none;
}

@media (max-width: 767px) {
  .prediction-feature-cards {
    margin-right: -12px;
    margin-left: -12px;
  }

  .prediction-feature-track {
    display: flex;
    gap: 12px;
    padding: 0 12px 2px;
    overflow-x: auto;
    scroll-padding-left: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .prediction-feature-track::-webkit-scrollbar {
    display: none;
  }

  .prediction-feature-card {
    width: 235px;
    flex: 0 0 235px;
    scroll-snap-align: start;
    box-shadow: none;
  }

  .prediction-feature-card:hover,
  .prediction-feature-card:focus {
    box-shadow: none;
    transform: none;
  }

  .prediction-feature-count {
    height: 44px;
    flex-basis: 44px;
    border-radius: 12px;
    font-size: 13px;
  }

  .prediction-feature-count > span:last-child {
    font-size: 16px;
  }

  .prediction-feature-dots {
    display: flex;
    min-height: 5px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 14px;
  }

  .prediction-feature-dots button {
    display: block;
    width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    outline: 0;
    background: #d0d5dd;
    cursor: pointer;
    transition: width .2s, background .2s;
  }

  .prediction-feature-dots button.active {
    width: 18px;
    background: #101828;
  }
}
