/* "Seen on air" (/on-air): the creator roster, drawn as a page of the site it is on. The same file on both sites; the
   tokens are the sites' own (site.css with ui-refinements: the cool grey page, white surfaces, hairline rules, square
   corners, condensed uppercase heads), and the accent is the site's: Pigskin Lab's red, or HoopVision Lab's orange when
   the page's <html> has class "hoop". Light is the default as on the sites; dark when the visitor chose it (theme.js). */
:root {
  color-scheme: light;
  --bg: #f6f7f9; --surface: #ffffff; --surface-2: #f0f2f5; --text: #17212f; --text-2: #354254; --muted: #586779;
  --border: #d8dee6; --border-strong: #94a0ae; --link: #0b57d0; --focus: #0b57d0;
  --header-bg: #111111; --header-ink: #ffffff; --header-muted: #bdbdbd;
  --ink-btn: #111111; --ink-btn-text: #ffffff;
  --brand: #c8102e; --brand-ink: #c8102e;
  /* The two sites' marks on the sport chips, whichever site this is. */
  --pig: #c8102e; --hoop: #e06a14;
  --font: "Roboto", "Helvetica Neue", Arial, system-ui, sans-serif;
  --display: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, Consolas, monospace;
}
:root.hoop { --brand: #e06a14; --brand-ink: #b4500a; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15171b; --surface: #1d2026; --surface-2: #252a32; --text: #f0f3f7; --text-2: #d1d9e4; --muted: #acb8c8;
  --border: #3b4350; --border-strong: #748194; --link: #8ab4f8; --focus: #8ab4f8;
  --header-bg: #0c0c0c; --header-ink: #ededed; --header-muted: #a8a8a8;
  --ink-btn: #ededed; --ink-btn-text: #111111;
  --brand: #e0443c; --brand-ink: #ff6b61;
  --pig: #f87171; --hoop: #fb923c;
}
:root.hoop[data-theme="dark"] { --brand: #f08a36; --brand-ink: #ff9d4d; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); overflow-wrap: anywhere; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* The site header: black, the site's logo and domain, the accent rule under it. */
.site-header { background: var(--header-bg); color: var(--header-ink); border-bottom: 3px solid var(--brand); }
.site-header .wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; max-width: none; }
.brand { color: var(--header-ink); font: 700 1.27rem/1 var(--display); letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 30px; height: 30px; display: block; flex: none; }
.beta-pill { font: 700 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #f2d27a; border: 1px solid #6b5a2a; padding: 4px 6px; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 1px solid #4a4a4a; border-radius: 7px; background: transparent; color: var(--header-ink); font: 600 12px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.icon-btn:hover { background: #222; text-decoration: none; }
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn .moon { display: none; }
:root:not([data-theme="dark"]) .icon-btn .sun { display: none; }
:root:not([data-theme="dark"]) .icon-btn .moon { display: inline; }

/* The headline, as the site's home page sets its own. */
.hero { padding-top: 34px; padding-bottom: 8px; display: grid; gap: 14px; }
.eyebrow { margin: 0; font: 700 .78rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--brand-ink); }
h1 { margin: 0; font: 700 clamp(1.85rem, 7.4vw, 3.4rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
h1 .line { display: block; }
h1 .accent { color: var(--brand); }
.lede { margin: 0; max-width: 60ch; font-size: 1.06rem; color: var(--text-2); }
/* The counts as the dashboards' number tiles. */
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 720px; margin-top: 6px; }
.tally div { background: var(--surface); border: 1px solid var(--border); padding: 10px 12px; display: grid; gap: 4px; }
.tally small { order: -1; font: 700 11px/1.15 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tally b { font: 700 30px/1 var(--display); font-variant-numeric: tabular-nums; }

/* The lineup. */
.lineup { padding-top: 22px; padding-bottom: 30px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; border-bottom: 2px solid var(--text); padding-bottom: 4px; margin-bottom: 12px; }
.section-head h2 { margin: 0; font: 700 1.25rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.updated { font: 500 12px/1 var(--mono); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--surface); color: var(--text); font: 600 13px/1 var(--font); cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn[aria-pressed="true"], .btn.primary { background: var(--ink-btn); color: var(--ink-btn-text); border-color: var(--ink-btn); }
.btn.primary:hover { opacity: .88; }
.list { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand); padding: 16px 18px; }
.row.no-air { grid-template-columns: 72px minmax(0, 1fr); }
.logo { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; font: 700 26px/1 var(--display); color: var(--muted); border: 1px solid var(--border); }
.who { display: grid; gap: 7px; min-width: 0; }
.who h2 { margin: 0; font: 700 1.5rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.hosts { color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 500 12.8px/1.2 var(--font); padding: 5px 9px; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
a.chip:hover { text-decoration: none; background: var(--surface-2); }
.chip i { width: 9px; height: 9px; display: inline-block; flex: none; }
.chip.football i { background: var(--pig); }
.chip.basketball i { background: var(--hoop); }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
.links a { height: 30px; padding: 0 10px; font-size: 12.5px; }
.air { min-width: 0; }
.air h3 { margin: 0 0 4px; font: 700 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.air ul { list-style: none; margin: 0; padding: 0; display: grid; }
.air li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--border); }
.air li:first-child a { border-top: 0; }
.air time { font: 500 13px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }

.join { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.join .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.join p { margin: 0; max-width: 60ch; }
.join .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.site-footer { background: var(--surface-2); color: var(--muted); font-size: .8rem; }
.site-footer .wrap { padding-top: 14px; padding-bottom: max(18px, env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.site-footer b { color: var(--text); }

@media (max-width: 760px) {
  .row { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .logo { width: 56px; height: 56px; font-size: 22px; }
  .who h2 { font-size: 1.35rem; }
  .row.no-air { grid-template-columns: 56px minmax(0, 1fr); }
  .air { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-header .wrap { min-height: 56px; gap: 10px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand-logo { width: 26px; height: 26px; }
  .beta-pill, .open-site { display: none; }
  .hero { padding-top: 24px; }
  .tally { gap: 6px; }
  .tally div { padding: 8px; }
  .tally b { font-size: 26px; }
  .tally small { font-size: 9.5px; letter-spacing: .04em; }
}
