/* Shared finish: 4/8 spacing, one type ramp, tap feedback. No logos.
   Barlow Condensed and Newsreader are SIL Open Font License. */
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/stage/fonts/barlow-condensed-700-italic.woff2") format("woff2");
}
@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/stage/fonts/newsreader-500.woff2") format("woff2");
}
@font-face {
  font-family: Newsreader;
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/stage/fonts/newsreader-500-italic.woff2") format("woff2");
}
:root {
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s8: 32px;
  --r-card: 20px;
  --r-chip: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 220ms;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(16, 24, 40, 0.08);
}

.eyebrow, .eb, .k1, .kick, .lab, .tl, .mh, .k {
  letter-spacing: 0.14em;
}

.abbr, .ovr b, .big, .pv b, .pl, .bc, .tt, .pc2, table.t td, .row .tm, .panel h2, .sec .v {
  font-variant-numeric: tabular-nums;
}

/* NBA: condensed italic, no gradient slab. Ratings stay real OVR chips. */
header .eyebrow {
  letter-spacing: 0.16em;
  background: none;
  color: #9a3412;
  -webkit-text-fill-color: #9a3412;
}
header h1 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hub .abbr {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hub .ovr {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

/* Golf: serif event name and a broadcast lower-third chip. */
.intro-copy .eb, .hub .hx .k1 {
  letter-spacing: 0.16em;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.intro-copy .eb { color: #0b6b3a; }
.intro-copy h1, .hub .hx h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.03em;
  text-transform: none;
}
.intro-copy .dt {
  width: max-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}
.hub .hx > div:first-child { position: relative; padding-left: 14px; }
.hub .hx > div:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 6px 0 0 rgba(255, 255, 255, 0.4);
}
.hub .hx h2 { letter-spacing: -0.045em; }
.hub .hx .k1 { letter-spacing: 0.16em; }

/* Hole card reads like a scorecard line. */
.panel { border-radius: var(--r-card); }
.fly .panel h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(11, 107, 58, 0.16);
  letter-spacing: -0.04em;
}
.fly .panel h2 span {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e7f5ee;
  color: #0b6b3a;
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.fly .panel .meta { margin-top: 8px; }
.sec { border-radius: var(--r-chip); padding: 16px; }
.panel .btn, .hnav a, .seg a, .sheet .row, .tabs a, .segm button, .cta, .hbtn, .tile, .pc, .story, .pr-alt, .proj-markets button, .vskip {
  transition: transform 80ms var(--ease), opacity 80ms var(--ease);
  touch-action: manipulation;
}
.panel .btn, .hnav a, .cta, .hbtn { min-height: 44px; }
.sheet .row:active, .tabs a:active, .segm button:active, .cta:active, .hbtn:active, .hnav a:active, .panel .btn:active, .tile:active, .pc:active, .story:active, .pr-alt:active {
  transform: scale(0.98);
  opacity: 0.92;
  transition-duration: 0s;
  will-change: transform;
}
.pc { border-radius: 16px; padding: 12px; }
.pc .pn { max-width: 11rem; overflow: hidden; text-overflow: ellipsis; }
table.t th { letter-spacing: 0.08em; font-size: 11px; }
table.t td:nth-child(n+3), table.t th:nth-child(n+3) { text-align: right; }
.card, .tile { border-radius: var(--r-card); box-shadow: var(--shadow-card); }

@media (max-width: 700px) {
  header { left: 16px; right: 148px; top: 64px; }
  header h1 { font-size: 40px; line-height: 0.9; }
  .intro-copy { left: 20px; right: 20px; }
  .sheet { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .sheet .row { min-height: 52px; }
  .fly .panel { padding-left: 16px; padding-right: 16px; }
  nav { padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
}

.proj-mount { display: none; }
.stage .proj { background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.95); border-radius: 22px; padding: 16px 16px 12px; box-shadow: 0 12px 34px rgba(20,40,90,.08); }
.proj { color: #1d1d1f; }
.proj-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 12px; }
.proj-top h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.proj-top p { flex-basis: 100%; margin: 0; font-size: 13px; color: #6e6e73; }
.proj-filters { display: flex; gap: 8px; }
.proj-filters label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #86868b; }
.proj-filters select { min-height: 44px; width: 100%; border-radius: 12px; border: 1px solid rgba(0,0,0,.1); background: #fff; color: #1d1d1f; font: inherit; font-size: 15px; font-weight: 650; letter-spacing: 0; text-transform: none; padding: 0 10px; }
.proj-markets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; }
.proj-markets button { min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.1); background: #fff; color: #1d1d1f; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.proj-markets button.on { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.pr-head, .pr-row { display: grid; grid-template-columns: 3.1rem 4.4rem 5.4rem 3.2rem minmax(28px, 1fr); align-items: center; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-head { margin: 4px 0 2px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6e6e73; }
.pr-player { padding: 10px 0 6px; border-top: 1px solid rgba(0,0,0,.06); }
.pr-who { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 6px; }
.pr-who .av, .pr-who .av2 { width: 36px; height: 36px; }
.pr-who b { display: block; font-size: 15px; font-weight: 750; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-who span { display: block; font-size: 12px; color: #6e6e73; font-weight: 650; }
.pr-player { content-visibility: auto; contain-intrinsic-size: auto 220px; }
.pr-row { min-height: 32px; font-size: 13px; font-weight: 650; }
.pr-m { font-weight: 800; letter-spacing: 0.02em; }
.pr-line, .pr-proj, .pr-d { text-align: right; }
.pr-d { font-weight: 800; }
.pr-row.is-over .pr-d { color: #0a8f78; }
.pr-row.is-under .pr-d { color: #0071e3; }
.pr-row.is-flat .pr-d { color: #86868b; }
.pr-bar { height: 4px; border-radius: 99px; background: #eef1f5; overflow: hidden; }
.pr-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #c5cdd6; }
.pr-row.is-over .pr-bar i { background: #14b8a6; }
.pr-row.is-under .pr-bar i { background: #0071e3; }
.pr-row.is-alt { opacity: 0.72; }
.pr-alt { min-height: 44px; margin: 0 0 4px; padding: 0; border: 0; background: none; color: #0071e3; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pr-mini { white-space: nowrap; }
.pr-mini b, .pr-mini .r { overflow: hidden; text-overflow: ellipsis; }
.vskip { position: absolute; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 6; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: #1d1d1f; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.skip .vskip, .hub[data-ready]:not(.intro) .vskip { display: none; }
.hub.intro:not(.skip) #vs { pointer-events: auto; }
.hub.skip #vs, .hub[data-ready]:not(.intro) #vs { pointer-events: none; }
@media (max-width: 700px) {
  body.view-props .proj-mount { display: block; }
  table.t td:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet .row:active, .tabs a:active, .cta:active, .tile:active, .pc:active { transform: none; }
  .hub.intro #vs, .hub.intro #vs * { animation: none !important; }
}

/* One scrollport on phones: the parent document. Desktop hubs keep the inner stage. */
@media (max-width: 700px) {
html:has(body.hub),
body.hub {
  height: auto;
  min-height: 100svh;
  overflow: visible;
}
body.hub {
  display: flex;
  flex-direction: column;
}
body.hub .hero {
  order: -1;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  flex: none;
  width: 100%;
  height: calc(var(--hb) - 52px);
  transition: none;
}
body.hub #hub {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  flex: none;
  width: 100%;
  min-height: 0;
  overflow: visible;
}
body.hub .tabs {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  flex: none;
  background: rgba(255, 255, 255, 0.96);
  transition: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
}
body.hub .stage {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  height: auto;
  overflow: visible;
  transition: none;
}
}
body.hub .strip,
.mods,
.tabs {
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
}
/* Hub story photos paint with the card. content-visibility: auto left the frames blank. */
@media (max-width: 700px) {
  html,
  body {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
  body:not(.hub) {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
}
