body.platform { background: #0d151f; }
.platform main {
  width: min(96%, 1380px);
  max-width: none;
  margin: clamp(.75rem, 1.4vw, 1.4rem) auto 0;
  padding: 0 0 clamp(2.25rem, 5vw, 4.25rem);
  color: #f4f0e8;
}
.sources-hero {
  display: flex;
  align-items: center;
  min-height: clamp(11rem, 18vw, 15rem);
  padding: clamp(1.4rem, 3.4vw, 3.4rem);
  border-bottom: 4px solid #79aabd;
  background: linear-gradient(90deg, #101923 0%, #101923ee 28%, #101923a6 44%, transparent 68%), #101923 url("/sources/records-desk.webp") center 54% / cover no-repeat;
}
.sources-hero h1 {
  margin: 0;
  font: 900 clamp(2.2rem, 4.3vw, 3.6rem)/1.02 system-ui, sans-serif;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.sources-hero p { margin: .7rem 0 0; font-weight: 650; font-size: clamp(1rem, 1.4vw, 1.22rem); color: #afd5e5; }
.sources-body {
  max-width: 72rem;
  margin: clamp(1.5rem, 3.4vw, 3rem) auto 0;
  font: 400 1rem/1.6 system-ui, sans-serif;
  color: #dce2e7;
}
.sources-intro { max-width: 79ch; margin: 0; font-size: clamp(1.05rem, 1.35vw, 1.19rem); }
.sources-body h2, .sources-body h3 { color: #f7f4eb; letter-spacing: -.035em; }
.sources-body h2 { margin: 0 0 1rem; font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.16; }
.sources-body h3 { margin: 0; font-size: 1.17rem; line-height: 1.25; }
.sources-body a { color: #b7dce9; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sources-body a:hover { color: #fff0cc; }
.sources-body :where(article, section)[id] { scroll-margin-top: 1rem; }
.sources-jump { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0 clamp(1.65rem, 3vw, 2.55rem); }
.sources-jump a {
  display: inline-flex; align-items: center; padding: .5rem .88rem; min-height: 42px;
  border: 1px solid #435361; border-radius: .35rem;
  background: #18242f; color: #e7edf0; text-decoration: none; font-weight: 700; font-size: .9rem;
}
.sources-jump a:hover { background: #273746; color: white; }
.sources-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.source-card {
  --accent: #9dbdb0;
  display: flex; flex-direction: column; min-width: 0; padding: clamp(1.15rem, 2vw, 1.7rem);
  background: #192330; border: 1px solid #344251; border-top: 3px solid var(--accent); border-radius: .48rem;
}
.source-card#nba { --accent: #df9e73; }
.source-card#mlb { --accent: #d19789; }
.source-card#nhl { --accent: #84b7cb; }
.source-card header { display: flex; align-items: center; gap: .9rem; padding-bottom: .9rem; border-bottom: 1px solid #364350; }
.source-card header img { flex: none; width: 4.3rem; height: 3.7rem; object-fit: contain; }
.source-card header h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 850; }
.source-card header p { margin: .12rem 0 0; color: var(--accent); font-size: .9rem; font-weight: 650; }
.source-card dl { margin: .1rem 0 1.25rem; }
.source-card dt { font-weight: 750; margin: 1.05rem 0 .13rem; color: #f4f0e8; }
.source-card dd { margin: 0; }
.source-notice, .art-note { color: #c1cbd2; font-size: .9rem; }
.source-notice { margin: -.1rem 0 1rem; padding-left: .8rem; border-left: 2px solid #748395; }
.source-card .source-detail {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto;
  padding: .88rem 0 .1rem; border-top: 1px solid #394857; color: #ffc482; font-weight: 700; text-decoration: none;
}
.source-card .source-detail:hover { text-decoration: underline; }
.sources-example, .source-media { margin-top: clamp(2rem, 4vw, 3.4rem); }
.sources-example { background: #162430; border: 1px solid #3d5463; border-left: 4px solid #81adc1; border-radius: .4rem; padding: clamp(1.2rem, 2.6vw, 2rem); }
.sources-example h2 { margin-bottom: .3rem; }
.example-game { margin: 0 0 1.2rem; font-weight: 650; color: #b2cddb; }
.example-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem, 4vw, 3.25rem); }
.example-columns p, .media-notes p { margin: .35rem 0 .6rem; }
.example-columns a, .media-links a { font-weight: 650; }
.example-method { margin: 1.2rem 0 0; padding-top: .9rem; border-top: 1px solid #384858; }
.media-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); overflow: hidden; border: 1px solid #344251; border-radius: .48rem; background: #192330; }
.media-grid figure { margin: 0; align-self: stretch; background: #131e29; }
.media-grid figure img { display: block; width: 100%; height: auto; aspect-ratio: 2.2; object-fit: cover; }
.media-grid figcaption { padding: .8rem 1rem 1rem; color: #c0cbd4; font-size: .875rem; }
.media-grid figcaption strong { display: block; margin-bottom: .15rem; color: #f4f0e8; font-size: 1rem; }
.media-notes { padding: clamp(1rem, 2.35vw, 1.8rem); }
.media-links { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: .4rem 0 1.3rem; }
.media-notes .art-note { margin: 1rem 0 0; }
@media (max-width: 740px) {
  .platform main { width: calc(100% - 1.25rem); }
  .sources-hero { min-height: 10.3rem; padding: 1.05rem; background-position: center, 66% center; background-image: linear-gradient(90deg, #101923f5 0%, #101923dc 38%, #10192390 60%, transparent 80%), url("/sources/records-desk.webp"); }
  .sources-hero > div { max-width: 70%; }
  .sources-hero h1 { font-size: clamp(1.85rem, 7.2vw, 2.8rem); }
  .sources-hero p { font-size: .96rem; line-height: 1.4; }
  .sources-body { padding-inline: .3rem; }
  .sources-grid, .example-columns, .media-grid { grid-template-columns: 1fr; }
  .sources-jump { gap: .35rem; }
  .sources-jump a { min-height: 44px; }
  .media-grid figure img { aspect-ratio: 2.8; }
}
