/* ==========================================================================
   Home: the iOS app's Home tab on the site (templates/app/home.html,
   js/app-home.js). Drawn from the app's own views: HomeOfferBanner and the
   offer screens, HomeFeaturedGame, HomeScoresRail, HomeMatchupBlock,
   DailyLinkRow, NFLStandingsSection, HomeRankingsPager, HomeProPromo and the
   wire (SiteWire). Flat on the page, split by hairlines, as the app is.
   Builds on css/pages/app-kit.css. Colours come from tl/tokens.css.
   ========================================================================== */

/* A phone: sections run edge to edge with the app's 18px gutter inside.
   Wider: they keep to the column. --ah-in insets what does not bleed. */
.ah-page { --ah-bleed: 0px; --ah-g: 0px; --ah-in: 0px; }
@media (max-width: 720px) {
  .ah-page { --ah-bleed: 14px; --ah-g: 18px; --ah-in: 4px; padding-top: 0; }
}
.ah-page .ak-rail { --ah-bleed: 0px; --ah-g: 0px; --ah-in: 0px; }
/* The rail holds a long table: it scrolls with the page. */
@media (min-width: 1100px) {
  .ah-page .ak-cols.has-rail .ak-rail { position: static; }
}
.ah-page .ak-rail > .ak-box { margin-top: 0; }
.ah-page .ak-rail > .ak-box:not([hidden]) ~ .ak-box { margin-top: 14px; }

.ah-page button { margin: 0; box-shadow: none; }
.ah-games { margin: 0; }

/* ---- The wire (SiteWire): a 36px tape, one track copy every 120 s ---- */
.ah-wire {
  height: 36px; margin: 0 calc(-1 * var(--ah-bleed)) 14px; overflow: hidden;
  border-top: 1px solid var(--tl-line-08); border-bottom: 1px solid var(--tl-line-08);
}
@media (max-width: 720px) { .ah-wire { margin-bottom: 0; border-top: 0; } }
.ah-wire-track { display: flex; width: max-content; height: 100%; animation: ah-tick 120s linear infinite; }
.ah-wire:hover .ah-wire-track, .ah-wire:focus-within .ah-wire-track { animation-play-state: paused; }
.ah-wire-item {
  flex: none; display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 16px;
  font: 400 10.5px/1 var(--tl-mono); color: var(--tl-ink-62); text-decoration: none; white-space: nowrap;
}
.ah-wire-item:hover { color: var(--tl-ink-62); }
.ah-wire-item img { width: 13px; height: 13px; object-fit: contain; }
.ah-wire-item b { font-weight: 700; color: var(--tl-ink); }
@keyframes ah-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ah-wire { overflow-x: auto; scrollbar-width: none; }
  .ah-wire::-webkit-scrollbar { display: none; }
  .ah-wire-track { animation: none; }
}

/* ---- The offer banner (NovigOfferStep, ProphetXOfferStep) ---- */
.ah-offer { margin: 12px var(--ah-in) 4px; }
.ah-offer-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px;
  border: 1px solid rgba(var(--tl-ink-rgb), 0.16); border-radius: 14px; background: transparent;
  color: var(--tl-ink); text-align: left; cursor: pointer; transition: opacity 0.35s ease-in-out;
}
.ah-offer-row.is-out { opacity: 0; }
.ah-offer-row:hover { border-color: var(--tl-ink-45); }
.ah-offer-row:focus-visible { outline: 2px solid var(--tl-ink); outline-offset: 2px; }
.ah-offer-row > img { flex: none; width: 34px; height: 34px; border-radius: 8px; }
.ah-offer-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ah-offer-text small { font: 600 9.5px/1.2 var(--tl-mono); letter-spacing: 1px; color: var(--tl-ink-50); }
.ah-offer-text b { font: 700 15px/1.25 var(--tl-font); color: var(--tl-ink); }
.ah-offer-text span { font: 500 12.5px/1.3 var(--tl-font); color: var(--tl-ink-62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-claim {
  flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--tl-ink); font: 650 13.5px/1 var(--tl-font); color: var(--tl-on-ink);
}

/* ---- The offer, opened (NovigOfferScreen, ProphetXOfferScreen): the whole
   screen on a phone, a sheet in the middle of a wide one ---- */
html.ah-sheet-open { overflow: hidden; }
.ah-sheet-scrim {
  position: fixed; z-index: 1000; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}
.ah-sheet {
  display: flex; flex-direction: column; width: 100%; max-width: 440px; max-height: min(92vh, 780px);
  border-radius: 20px; border: 1px solid var(--tl-line-12); background: var(--tl-page); color: var(--tl-ink); overflow: hidden;
}
.ah-sheet-body { flex: 1; min-height: 0; overflow-y: auto; padding: 36px 22px 20px; text-align: center; scrollbar-width: none; }
.ah-sheet-body::-webkit-scrollbar { display: none; }
.ah-sheet-logo { width: 56px; height: 56px; border-radius: 13px; }
.ah-sheet h2 { margin: 18px 0 0; font: 800 40px/1.08 var(--tl-font); letter-spacing: -0.8px; color: var(--tl-ink); white-space: pre-line; }
.ah-sheet-lead { margin: 10px 30px 0; font: 500 15.5px/1.4 var(--tl-font); color: var(--tl-ink-70); }
.ah-code {
  display: flex; align-items: center; gap: 12px; width: 100%; margin: 26px 0 0; padding: 14px 18px;
  border: 1px solid var(--tl-line-20); border-radius: 16px; background: transparent; box-shadow: none; color: var(--tl-ink); text-align: left; cursor: pointer;
}
.ah-code:focus-visible { outline: 2px solid var(--tl-ink); outline-offset: 2px; }
.ah-code-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ah-code-text small { font: 600 9.5px/1.2 var(--tl-mono); letter-spacing: 1px; color: var(--tl-ink-50); }
.ah-code-text b { font: 700 22px/1.15 var(--tl-mono); letter-spacing: 1.2px; color: var(--tl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-code-copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--tl-line-08); font: 650 14px/1 var(--tl-font); color: var(--tl-ink);
}
.ah-code-copy svg { width: 14px; height: 14px; }
.ah-code.is-copied .ah-code-copy { color: var(--tl-up); }
.ah-steps { margin: 22px 0 0; padding: 0; list-style: none; text-align: left; }
.ah-steps li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; font: 500 15px/1.4 var(--tl-font); color: rgba(var(--tl-ink-rgb), 0.86); }
.ah-steps li > i {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--tl-line-20);
  font: 700 12px/1 var(--tl-mono); font-style: normal; color: var(--tl-ink-55);
}
.ah-quote { display: flex; align-items: center; gap: 12px; margin: 22px 2px 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--tl-pro); text-align: left; }
.ah-quote svg { flex: none; width: 24px; height: 24px; color: var(--tl-pro); }
.ah-quote b { display: block; font: 700 14.5px/1.3 var(--tl-font); color: var(--tl-ink); }
.ah-quote span { display: block; margin-top: 2px; font: 500 13px/1.4 var(--tl-font); color: rgba(var(--tl-ink-rgb), 0.72); }
.ah-fine { margin: 18px 8px 0; font: 500 11.5px/1.4 var(--tl-font); color: var(--tl-ink-45); }
.ah-sheet-foot { flex: none; padding: 10px 22px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--tl-line-07); }
.ah-sheet-cta { display: flex; align-items: center; gap: 10px; }
.ah-sheet-cta .ak-btn.is-fill { flex: 1; min-height: 48px; font-size: 15px; }
.ah-sheet-close { flex: none; }
.ah-sheet-ask {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 40px; margin: 4px 0 0; padding: 0 8px;
  border: 0; background: transparent; box-shadow: none; font: 600 13.5px/1.2 var(--tl-font); color: var(--tl-ink-60);
}
button.ah-sheet-ask { cursor: pointer; }
button.ah-sheet-ask:hover { color: var(--tl-ink); }
.ah-sheet-ask > span { flex: 1; text-align: left; font-weight: 500; color: var(--tl-ink-70); }
.ah-small {
  flex: none; width: auto; height: 34px; margin: 0; padding: 0 14px; border: 0; border-radius: 999px; background: var(--tl-line-08); box-shadow: none;
  font: 650 13.5px/1 var(--tl-font); color: var(--tl-ink); cursor: pointer;
}
.ah-small.is-strong { background: var(--tl-ink); color: var(--tl-on-ink); }
@media (max-width: 720px) {
  .ah-sheet-scrim { align-items: stretch; background: var(--tl-page); }
  .ah-sheet { max-width: none; max-height: none; border: 0; border-radius: 0; }
  .ah-sheet-body { padding-top: calc(36px + env(safe-area-inset-top)); }
}

/* ---- First load (HomeSkeleton) ---- */
.ah-skel { padding-top: 18px; animation: ak-pulse 0.8s ease-in-out infinite alternate; }
.ah-skel i, .ah-story-ph i { display: block; border-radius: 3px; background: var(--tl-fill-07); }
.ah-skel-top { display: flex; align-items: center; justify-content: space-between; padding: 0 calc(40px - var(--ah-bleed)); }
.ah-skel-tile { width: 52px; height: 52px; border-radius: 14px !important; }
.ah-skel-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ah-skel-bar { margin-left: var(--ah-in); margin-right: var(--ah-in); border-radius: 2px !important; }
.ah-skel .ah-story-ph { padding: 0 var(--ah-in); }
.ah-skel-rail {
  display: flex; margin: 0 calc(-1 * var(--ah-bleed)); overflow: hidden;
  border-top: 1px solid var(--tl-line-08); border-bottom: 1px solid var(--tl-line-07);
}
.ah-skel-rail > span { flex: none; display: flex; flex-direction: column; gap: 7px; width: 116px; padding: 12px; border-right: 1px solid var(--tl-line-06); }
.ah-skel-rows { margin: 20px calc(-1 * var(--ah-bleed)) 0; }
.ah-skel-rows > span { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 var(--ah-g); border-bottom: 1px solid var(--tl-line-05); }
@media (prefers-reduced-motion: reduce) { .ah-skel { animation: none; } }

/* The room a game's story takes while it is read (HomeStoryPlaceholder). */
.ah-story-ph { display: flex; flex-direction: column; gap: 9px; padding-top: 2px; animation: ak-pulse 0.8s ease-in-out infinite alternate; }
.ah-story-ph i { width: 100%; height: 10px; max-width: 100%; }
.ah-story-ph i:first-child { margin: 3px 0 0; }
.ah-skel .ah-story-ph { animation: none; }
@media (prefers-reduced-motion: reduce) { .ah-story-ph { animation: none; } }

/* ---- Featured game (HomeFeaturedGame) ---- */
.ah-feat {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  margin: 0 calc(-1 * var(--ah-bleed)); padding: 16px var(--ah-g) 18px;
  border-bottom: 1px solid var(--tl-line-08); color: var(--tl-ink); text-decoration: none;
}
a.ah-feat:hover { color: var(--tl-ink); }
.ah-feat:focus-visible { outline: 2px solid var(--tl-ink); outline-offset: -2px; }
/* The top-edge sheen: a centred hairline that fades out. */
.ah-feat::before {
  content: ''; position: absolute; top: -1px; left: 86px; right: 86px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--tl-ink-rgb), 0.28), transparent);
}
.ah-feat-top { display: flex; align-items: center; gap: 8px; }
.ah-team { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ah-team > img, .ah-team > i { width: 66px; height: 66px; padding: 4px; object-fit: contain; }
.ah-team-name { font: 650 18px/1.2 var(--tl-font); color: var(--tl-ink); overflow-wrap: anywhere; }
.ah-team-name i { margin-right: 4px; font: 600 12px/1 var(--tl-mono); font-style: normal; color: var(--tl-ink-50); }
.ah-team small { font: 400 11px/1 var(--tl-mono); color: var(--tl-ink-45); }
.ah-center { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.ah-center.is-pre { gap: 4px; }
.ah-kick { font: 300 20px/1.2 var(--tl-font); letter-spacing: -0.4px; color: var(--tl-ink); white-space: nowrap; }
.ah-kick-sub { font: 400 10.5px/1.2 var(--tl-mono); letter-spacing: 0.5px; color: var(--tl-ink-50); white-space: nowrap; }
.ah-score { display: flex; align-items: baseline; gap: 7px; font: 400 34px/1.1 var(--tl-font); letter-spacing: -1px; font-variant-numeric: tabular-nums; color: var(--tl-ink-45); }
.ah-score b { font-weight: 400; }
.ah-score b.is-lead { font-weight: 650; }
.ah-score b.is-up { color: var(--tl-ink); }
.ah-score i { font: 300 22px/1 var(--tl-font); font-style: normal; color: rgba(var(--tl-ink-rgb), 0.3); }
.ah-live { display: flex; align-items: center; gap: 6px; font: 600 9px/1.2 var(--tl-mono); letter-spacing: 0.3px; color: var(--tl-up); white-space: nowrap; }
.ah-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--tl-live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tl-live) 18%, transparent); animation: ak-pulse 1.1s ease-in-out infinite alternate; }
.ah-final { font: 600 9.5px/1.2 var(--tl-mono); letter-spacing: 0.5px; color: var(--tl-ink-50); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .ah-dot { animation: none; } }

.ah-win { display: flex; flex-direction: column; gap: 6px; }
.ah-win-head { display: flex; align-items: center; gap: 5px; }
.ah-win-head img { width: 12px; height: 12px; object-fit: contain; }
.ah-win-head b { font: 600 10px/1 var(--tl-mono); color: var(--tl-ink); }
.ah-win-head span { margin-left: auto; font: 400 10px/1 var(--tl-mono); letter-spacing: 0.3px; color: var(--tl-ink-50); }
.ah-win-bar { height: 4px; border-radius: 4px; background: var(--tl-line-08); overflow: hidden; }
.ah-win-bar i { display: block; height: 100%; background: var(--tl-ink); transition: width 0.9s var(--tl-ease); }
.ah-win-bar.is-in i { animation: ah-grow 0.9s var(--tl-ease) both; transform-origin: left center; }
@keyframes ah-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .ah-win-bar i { transition: none; } .ah-win-bar.is-in i { animation: none; } }

.ah-story { display: flex; flex-direction: column; gap: 5px; padding-top: 2px; }
.ah-story b { font: 650 15px/1.33 var(--tl-font); letter-spacing: -0.2px; color: var(--tl-ink); }
.ah-story span {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
  font: 400 13px/1.42 var(--tl-font); color: var(--tl-ink-60);
}

/* ---- Scores rail (HomeScoresRail): pick a game to feature it ---- */
.ah-scores {
  position: relative; display: flex; align-items: stretch; margin: 0 calc(-1 * var(--ah-bleed));
  overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--tl-line-07);
}
.ah-scores::-webkit-scrollbar { display: none; }
.ah-cell {
  flex: none; display: flex; flex-direction: column; gap: 5px; min-width: 116px; width: auto; padding: 9px 14px 8px 12px;
  border: 0; border-right: 1px solid var(--tl-line-06); border-bottom: 2px solid transparent; border-radius: 0;
  background: transparent; color: var(--tl-ink); text-align: left; cursor: pointer; transition: background-color 0.2s ease-out;
}
.ah-cell:hover { background: var(--tl-fill-03); }
.ah-cell[aria-pressed="true"] { background: var(--tl-raised); border-bottom-color: var(--tl-ink); }
.ah-cell:focus-visible { outline: 2px solid var(--tl-ink); outline-offset: -2px; }
.ah-cell-when { display: flex; align-items: center; gap: 4px; font: 400 9px/1.2 var(--tl-mono); letter-spacing: 0.5px; color: rgba(var(--tl-ink-rgb), 0.48); white-space: nowrap; }
.ah-cell[aria-pressed="true"] .ah-cell-when { color: var(--tl-ink); }
.ah-cell .ah-cell-when.is-live { font-weight: 600; color: var(--tl-up); }
.ah-cell-when i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--tl-live); }
.ah-cell-line { display: flex; align-items: center; gap: 6px; font: 600 12.5px/1.2 var(--tl-font); color: var(--tl-ink); white-space: nowrap; }
.ah-cell-line img, .ah-cell-line > i { flex: none; width: 15px; height: 15px; object-fit: contain; }
.ah-cell-line small { flex: none; width: 13px; font: 400 9px/1 var(--tl-mono); color: rgba(var(--tl-ink-rgb), 0.42); }
.ah-cell-line b { margin-left: auto; padding-left: 8px; font: 600 12px/1 var(--tl-mono); }
.ah-cell-line.is-lose { font-weight: 500; color: var(--tl-ink-50); }
.ah-cell-line.is-lose b { font-weight: 500; }
.ah-all {
  flex: none; display: flex; align-items: center; justify-content: center; width: 92px;
  font: 600 12px/1 var(--tl-font); color: var(--tl-ink-60); text-decoration: none; white-space: nowrap;
}
.ah-all:hover { color: var(--tl-ink); }

/* ---- Matchup leaders (HomeMatchupBlock): a page a game ---- */
.ah-matchup { margin: 0 calc(-1 * var(--ah-bleed)); border-bottom: 1px solid var(--tl-line-05); }
.ah-vs { display: flex; align-items: center; gap: 12px; padding: 24px var(--ah-g) 8px; }
.ah-vs::before, .ah-vs::after { content: ''; flex: 1; height: 1px; background: var(--tl-line-08); }
.ah-vs-mid { display: flex; align-items: center; gap: 6px; font: 400 10px/1 var(--tl-mono); letter-spacing: 0.6px; color: var(--tl-ink-55); white-space: nowrap; }
.ah-vs-mid img { width: 15px; height: 15px; object-fit: contain; }
.ah-vs-mid i { font-style: normal; color: rgba(var(--tl-ink-rgb), 0.3); }
.ah-pager { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ah-pager::-webkit-scrollbar { display: none; }
.ah-pager > * { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.ah-mrow { display: flex; flex-direction: column; gap: 9px; padding: 12px var(--ah-g) 13px; border-bottom: 1px solid var(--tl-line-05); }
.ah-mrow:last-child { border-bottom: 0; }
.ah-mrow-who { display: flex; gap: 14px; }
.ah-player { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 9px; color: var(--tl-ink); text-decoration: none; }
a.ah-player:hover { color: var(--tl-ink); }
.ah-player.is-right { flex-direction: row-reverse; text-align: right; }
.ah-player-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ah-player-text b {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  font: 650 13px/1.25 var(--tl-font); color: var(--tl-ink);
}
.ah-player-text small { font: 400 9.5px/1.2 var(--tl-mono); color: var(--tl-ink-45); }
.ah-player.is-none .ah-player-text b { color: rgba(var(--tl-ink-rgb), 0.3); }
.ah-player.is-none .ah-player-text small { letter-spacing: 0.4px; color: var(--tl-ink-40); }
.ah-face {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--tl-line-08); background: var(--tl-logo-chip);
}
.ah-face img { width: 100%; height: 100%; object-fit: cover; }
.ah-face img.is-logo { width: 22px; height: 22px; object-fit: contain; }
.ah-player.is-none .ah-face img { opacity: 0.35; }
.ah-mrow-stat { display: flex; align-items: center; gap: 10px; }
.ah-val { flex: none; min-width: 48px; font: 400 18px/1.1 var(--tl-font); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; color: var(--tl-ink); }
.ah-val.is-win { font-weight: 650; }
.ah-val.is-right { text-align: right; }
.ah-val.is-none { color: rgba(var(--tl-ink-rgb), 0.3); }
.ah-split { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.ah-split small { font: 400 9px/1 var(--tl-mono); letter-spacing: 0.8px; color: var(--tl-ink-45); white-space: nowrap; }
.ah-split-bar { display: flex; justify-content: space-between; gap: 2px; width: 100%; height: 4px; border-radius: 4px; background: var(--tl-fill-04); }
.ah-split-bar i { display: block; height: 100%; background: var(--tl-line-18); }
.ah-split-bar i:first-child { border-radius: 4px 0 0 4px; }
.ah-split-bar i:last-child { border-radius: 0 4px 4px 0; }
.ah-split-bar i.is-on { background: var(--tl-ink); }
.ah-mrow.is-ph .ah-face { border-color: transparent; background: var(--tl-fill-06); }
.ah-mrow.is-ph .ah-ph-line { width: 90px; height: 10px; border-radius: 3px; background: var(--tl-fill-06); }
.ah-mrow.is-ph .ah-ph-bar { height: 18px; border-radius: 3px; background: var(--tl-fill-04); }
.ah-mrow.is-ph .ah-mrow-who { align-items: center; justify-content: space-between; }
.ah-mrow.is-ph .ah-mrow-who > span { display: flex; align-items: center; gap: 8px; }

/* Paging dots (HomePagerDots): 6 high, the current one 18 wide. */
.ah-dots { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 3px 0 6px; }
.ah-dots button {
  display: grid; place-items: center; width: auto; height: 24px; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer;
}
.ah-dots button::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--tl-line-18); transition: width 0.25s ease-out, background-color 0.25s ease-out; }
.ah-dots button[aria-current="true"]::before { width: 18px; background: var(--tl-ink); }
.ah-dots button:focus-visible { outline: 2px solid var(--tl-ink); outline-offset: 1px; }

/* ---- The Daily line (DailyLinkRow) ---- */
.ah-daily { margin: 18px 0 0; padding: 0 var(--ah-in); }
.ak-rail .ah-daily { margin-top: 0; padding: 14px; }
.ah-daily-row { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--tl-ink); text-decoration: none; }
a.ah-daily-row:hover { color: var(--tl-ink); }
.ah-daily-row > img { flex: none; width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: var(--tl-fill-06); }
.ah-daily-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ah-eyebrow { display: flex; align-items: center; gap: 6px; font: 600 10px/1.2 var(--tl-mono); letter-spacing: 0.6px; color: var(--tl-ink-55); white-space: nowrap; overflow: hidden; }
.ah-eyebrow img { flex: none; width: 14px; height: 14px; border-radius: 3.5px; }
.ah-daily-text b { font: 650 14px/1.3 var(--tl-font); letter-spacing: -0.2px; color: var(--tl-ink); }
.ah-daily-row > span { flex: none; font: 600 12px/1 var(--tl-mono); color: var(--tl-ink-55); }

/* ---- The table: a section label, then standings or the rankings pager ---- */
.ah-table { margin: 0 calc(-1 * var(--ah-bleed)); }
.ah-pills { margin: 18px 0 0; padding: 0 var(--ah-g); gap: 6px; }
.ak-rail .ah-pills { margin-top: 0; }
.ah-pills .ak-pill { height: 30px; padding: 0 12px; border-radius: 8px; border-color: var(--tl-line-10); font: 500 13px/1 var(--tl-font); color: var(--tl-ink-62); }
.ah-pills .ak-pill[aria-selected="true"] { font-weight: 650; color: var(--tl-ink); background: var(--tl-raised); border-color: var(--tl-ink); }
.ah-label { display: flex; align-items: center; gap: 12px; padding: 26px var(--ah-g) 4px; font: 600 10px/1 var(--tl-mono); letter-spacing: 0.8px; text-transform: uppercase; color: var(--tl-ink); white-space: nowrap; }
.ah-label::after { content: ''; flex: 1; height: 1px; background: var(--tl-line-08); }
.ak-rail .ah-label { padding-top: 16px; }

/* Standings (NFLStandingsSection). */
.ah-st-head { display: flex; align-items: center; padding: 10px var(--ah-g); font: 500 10px/1.2 var(--tl-mono); color: var(--tl-ink-55); }
.ah-st-head span:first-child { flex: 1; min-width: 0; }
.ah-st-head span + span, .ah-st-row span { flex: none; text-align: right; }
.ah-st-row {
  display: flex; align-items: center; gap: 8px; padding: 14px var(--ah-g); border-bottom: 1px solid var(--tl-line-05);
  color: var(--tl-ink); text-decoration: none;
}
a.ah-st-row:hover { color: var(--tl-ink); background: var(--tl-fill-03); }
.ah-st-row img, .ah-st-row > i { flex: none; width: 30px; height: 30px; object-fit: contain; }
.ah-st-row b { flex: 1; min-width: 0; font: 600 16px/1.25 var(--tl-font); }
.ah-st-row span { font: 400 14px/1 var(--tl-mono); }
.ah-w-rec { width: 64px; }
.ah-w-pct { width: 48px; }
.ak-rail .ah-st-row { padding-top: 10px; padding-bottom: 10px; }
.ak-rail .ah-st-row b { font-size: 14.5px; }
.ak-rail .ah-st-row img, .ak-rail .ah-st-row > i { width: 24px; height: 24px; }
.ak-rail .ah-st-row span { font-size: 12.5px; }
.ah-st-empty { margin: 0; padding: 18px var(--ah-g); font: 400 13px/1.4 var(--tl-font); color: var(--tl-ink); }

/* Rankings (HomeRankingsPager). */
.ah-rk-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px var(--ah-g) 4px; }
.ak-rail .ah-rk-head { padding-top: 0; }
.ah-rk-head::after { content: ''; order: 1; flex: 1; height: 1px; background: var(--tl-line-08); }
.ah-rk-scope {
  order: 0; flex: none; display: inline-flex; align-items: center; gap: 5px; width: auto; min-height: 30px; padding: 0; border: 0; border-radius: 0;
  background: transparent; font: 600 10px/1 var(--tl-mono); letter-spacing: 0.8px; text-transform: uppercase; color: var(--tl-ink); white-space: nowrap; cursor: pointer;
}
.ah-rk-scope svg { width: 9px; height: 9px; color: var(--tl-ink-50); transition: transform 0.18s ease-out; }
.ah-rk-scope[aria-expanded="true"] svg { transform: rotate(180deg); }
.ah-rk-scope:focus-visible { outline: 2px solid var(--tl-ink); outline-offset: 3px; }
.ah-rk-meta { order: 2; flex: none; font: 400 9.5px/1 var(--tl-mono); letter-spacing: 0.5px; color: var(--tl-ink-45); white-space: nowrap; }
.ah-menu {
  position: absolute; z-index: 20; top: calc(100% - 2px); left: var(--ah-g); min-width: 200px; max-height: 320px; margin: 0; padding: 6px; overflow-y: auto;
  list-style: none; border: 1px solid var(--tl-line-12); border-radius: 12px; background: var(--tl-card); box-shadow: var(--tl-float-shadow);
}
.ah-menu li { margin: 0; padding: 0; list-style: none; }
.ah-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 38px; padding: 0 10px; border: 0; border-radius: 8px;
  background: transparent; font: 500 14px/1.2 var(--tl-font); color: var(--tl-ink); text-align: left; cursor: pointer;
}
.ah-menu button:hover, .ah-menu button:focus-visible { background: var(--tl-fill-05); outline: 0; }
.ah-menu button[aria-selected="true"] { font-weight: 650; }
.ah-menu button svg { flex: none; width: 14px; height: 14px; }
.ah-rk-page { display: flex; flex-direction: column; }
.ah-rk-row {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 var(--ah-g); border-bottom: 1px solid var(--tl-line-05);
  color: var(--tl-ink); text-decoration: none;
}
a.ah-rk-row:hover { color: var(--tl-ink); background: var(--tl-fill-03); }
.ah-rk-row > i:first-child { flex: none; width: 22px; font: 600 12px/1 var(--tl-mono); font-style: normal; color: var(--tl-ink); }
.ah-rk-row img, .ah-rk-row > i.is-logo { flex: none; width: 22px; height: 22px; margin: 0 1px; object-fit: contain; }
.ah-rk-row b { flex: 1; min-width: 0; font: 600 14.5px/1.2 var(--tl-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-rk-row small { flex: none; font: 400 11px/1 var(--tl-mono); color: var(--tl-ink-50); }
.ah-rk-row small.is-votes { font-size: 10px; letter-spacing: 0.2px; color: var(--tl-ink-45); }
.ah-move { flex: none; width: 34px; font: 400 10.5px/1 var(--tl-mono); text-align: right; color: rgba(var(--tl-ink-rgb), 0.3); }
.ah-move.is-up { color: var(--tl-up); }
.ah-move.is-down { color: var(--tl-down); }
.ah-rk-empty { display: grid; place-items: center; min-height: 80px; margin: 0; font: 400 13px/1.4 var(--tl-font); color: var(--tl-ink-50); }
.ah-more { display: flex; align-items: center; justify-content: center; min-height: 30px; font: 500 12px/1 var(--tl-font); color: var(--tl-ink-55); text-decoration: none; }
.ah-more:hover { color: var(--tl-ink); }

/* ---- The Pro block (HomeProPromo), on the pixel field ---- */
.ah-promo {
  position: relative; margin: 30px calc(-1 * var(--ah-bleed)) 0; padding: 44px 22px 52px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; border-top: 1px solid var(--tl-line-07);
}
/* A phone: the field runs on under the floating bar to the foot of the
   page (HomePromoFoot), through the page's and the shell's bottom room. */
@media (max-width: 720px) {
  .ah-promo { margin-bottom: calc(-110px - env(safe-area-inset-bottom)); padding-bottom: calc(138px + env(safe-area-inset-bottom)); }
}
.ah-promo > canvas { position: absolute; left: 0; top: 0; opacity: var(--tl-field-opacity-edges); pointer-events: none; }
.ah-promo > :not(canvas) { position: relative; }
.ah-promo-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; margin-bottom: 16px; padding: 0 6px 0 7px;
  border-radius: 999px; border: 1px solid var(--tl-line-08); background: var(--tl-raised);
}
.ah-promo-pill img { width: 18px; height: 18px; border-radius: 4.5px; }
.ah-promo-pill b { margin-left: 1px; font: italic 750 14px/1 var(--tl-font); letter-spacing: -0.4px; color: var(--tl-ink); }
.ah-promo-pill i {
  padding: 2px 6px; border-radius: 999px; border: 1px solid var(--tl-pro-line); background: color-mix(in srgb, var(--tl-pro-ring) 6%, transparent);
  font: 600 9px/1.2 var(--tl-mono); font-style: normal; color: var(--tl-pro);
}
.ah-promo h2 { margin: 0 0 12px; font: 750 34px/1.02 var(--tl-font); letter-spacing: -1.4px; color: var(--tl-ink); white-space: pre-line; }
.ah-promo p { max-width: 290px; margin: 0 0 24px; font: 400 14px/1.5 var(--tl-font); color: var(--tl-ink-60); }
.ah-promo .ak-btn { width: 100%; max-width: 420px; min-height: 48px; font: 600 15px/1 var(--tl-font); }
