/* Native BetSidekick layout: inherited PBM type, palette and control patterns. */
@layer betsidekick-stats-odds {
  :where(.pbm-sd-dashboard.sd-native) {
    --_dash-blue: var(--wp--preset--color--primary, #155eef);
    --_dash-navy: var(--wp--preset--color--secondary, #172b4d);
    --_dash-green: var(--wp--preset--color--accent, #36b37e);
    padding: clamp(1rem, 2cqi, 1.5rem);
    border-radius: 1.25rem;
    background: linear-gradient(140deg, #155eef03, #36b37e04);
    box-shadow: none;
  }
  :where(.pbm-sd-dashboard.sd-native .sd-hero) { display: none; }
  :where(.pbm-sd-dashboard.sd-native .sd-toolbar) { margin-bottom: 1rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-titleblock h2) { font-size: clamp(1.25rem, 2.4cqi, 1.6rem); }
  :where(.pbm-sd-dashboard.sd-native .sd-ticker) { margin-bottom: .75rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-ticker-card) { flex-basis: 9rem; padding: .7rem .8rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-metrics) { gap: .75rem; margin-bottom: 1rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-metric) { padding: .9rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-metric strong) { font-size: 1.65rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-workspace) { gap: 1rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-main, .pbm-sd-dashboard.sd-native .sd-sidebar) { gap: 1rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-panel) { padding: clamp(1rem, 1.7cqi, 1.25rem); border-radius: 1rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-panel-heading) { margin-bottom: .85rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-games) { gap: .75rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-game) { padding: .9rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-game-bottom) { margin-top: .8rem; padding-top: .7rem; }
  :where(.pbm-sd-dashboard.sd-native .sd-education-card > summary > img) { aspect-ratio: 16 / 7; }
  :where(.pbm-sd-dashboard.sd-native .sd-section-nav) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--_dash-line, #dce4f0);
  }
  :where(.pbm-sd-dashboard.sd-native .sd-section-nav a) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 2.5rem;
    padding: .55rem .9rem;
    border: 1px solid var(--_dash-line, #dce4f0);
    border-radius: .65rem;
    background: var(--_dash-paper, #fff);
    color: var(--_dash-blue);
    font: inherit;
    font-size: .875rem;
    font-weight: 650;
    transition: border-color .2s, background .2s;
  }
  :where(.pbm-sd-dashboard.sd-native .sd-section-nav a:hover) { border-color: var(--_dash-blue); background: #155eef07; }
  :where(.pbm-sd-dashboard.sd-native [id]) { scroll-margin-top: 6rem; }
  @container sports-dashboard (max-width: 600px) {
    :where(.pbm-sd-dashboard.sd-native) { padding: 1rem; }
    :where(.pbm-sd-dashboard.sd-native .sd-section-nav) { gap: .4rem; }
    :where(.pbm-sd-dashboard.sd-native .sd-section-nav a) { flex: 1 1 calc(50% - .4rem); padding: .55rem .65rem; }
    :where(.pbm-sd-dashboard.sd-native .sd-metric) { padding: .75rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    :where(.pbm-sd-dashboard.sd-native .sd-section-nav a) { transition: none; }
  }
}

/* Native controls retain their affordance against the theme's global link rule. */
.bso-stats-odds-page .wpn-main > .wp-block-group > .wp-block-post-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bso-stats-odds-page .wpn-main > .wp-block-group > .wp-block-post-title + .wp-block-post-content {
  margin-block-start: 0;
}

.pbm-sd-dashboard.sd-native .sd-section-nav a,
.pbm-sd-dashboard.sd-native .sd-league,
.pbm-sd-dashboard.sd-native .sd-date-strip a {
  text-decoration: none;
}
