/* Release 273: price gaps (sports arbitrage), Insiders only. Receipt rows: outcome, book, odds, price time. */
.pg { --pg-ink: #18181b; --pg-muted: #52525b; --pg-faint: #63636b; --pg-line: #e4e4e7; --pg-surface: #ffffff; --pg-chip: #f4f4f5;
      --pg-live: #1f7d73; --pg-live-tint: #e9f5f3; --pg-old: #6b4e0b; --pg-old-tint: #fbf5e4; --pg-accent: #2563eb;
      margin: 14px 0 6px; padding: 16px 16px 12px; border: 1px solid var(--pg-line); border-radius: 12px; background: var(--pg-surface); color: var(--pg-ink); }
html[data-theme="dark"] .pg, html[data-theme="dark"] .pg-chip, html[data-theme="dark"] .pg-badge {
      --pg-ink: #f4f4f5; --pg-muted: #a1a1aa; --pg-faint: #8b8b94; --pg-line: #3f3f46; --pg-surface: #18181b; --pg-chip: #27272a;
      --pg-live: #5eead4; --pg-live-tint: #10302c; --pg-old: #fcd34d; --pg-old-tint: #33290d; --pg-accent: #7aa2ff; }
.pg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 4px; }
.pg-head h2 { margin: 0; font-size: 1.0625rem; font-weight: 650; line-height: 1.3; }
.pg-tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border: 1px solid var(--pg-line); border-radius: 6px;
          font-size: .75rem; font-weight: 600; white-space: nowrap; color: var(--pg-muted); background: var(--pg-chip); }
.pg-tag.is-live { color: var(--pg-live); background: var(--pg-live-tint); border-color: currentColor; }
.pg-tag.is-old { color: var(--pg-old); background: var(--pg-old-tint); border-style: dashed; border-color: currentColor; }
.pg-tag.is-muted { border-style: dashed; }
.pg-tag.is-preview { color: #3030ff; background: #eef0ff; border-color: currentColor; }   /* release 279 */
html[data-theme="dark"] .pg-tag.is-preview { color: #a5b4fc; background: #1e1b4b; }
.pg-insider { margin-left: auto; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pg-faint); }
.pg-books { margin: 0 0 10px; font-size: .8125rem; color: var(--pg-muted); }
.pg-msg { margin: 6px 0; font-size: .9375rem; font-weight: 600; }
.pg-roi { margin: 4px 0 8px; font-size: .9375rem; color: var(--pg-muted); }
.pg-roi b { font-size: 1.375rem; font-weight: 650; color: var(--pg-ink); font-variant-numeric: tabular-nums; margin-left: 4px; }
.pg-scroll { overflow-x: auto; }
.pg .pg-tbl { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.pg .pg-tbl th, .pg .pg-tbl td { padding: 8px 6px; border: 0 !important; border-bottom: 1px solid var(--pg-line) !important; text-align: left; vertical-align: baseline; }
.pg .pg-tbl thead th { font-size: .75rem; font-weight: 600; color: var(--pg-faint); }
.pg .pg-tbl tbody th { font-weight: 600; color: var(--pg-ink) !important; }   /* the page's own table rules are stronger */
.pg .pg-tbl .pg-num { text-align: right; white-space: nowrap; }
.pg .pg-tbl small { color: var(--pg-faint); font-size: .75rem; }
.pg-snap, .pg-note { margin: 8px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--pg-muted); }
.pg-note { color: var(--pg-faint); }
.pg-more { margin-top: 10px; font-size: .8125rem; color: var(--pg-muted); }
.pg-more summary { cursor: pointer; }
.pg-more p { margin: 6px 0 0; line-height: 1.55; }
.pg-sub { margin: 14px 0 4px; font-size: .8125rem; font-weight: 600; color: var(--pg-muted); }
.pg-rows { list-style: none; margin: 6px 0 0; padding: 0; }
.pg-row a { display: grid; grid-template-columns: 1fr auto auto; gap: 2px 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--pg-line);
            color: inherit; text-decoration: none; }
.pg-row a:hover .pg-game, .pg-row a:focus-visible .pg-game { text-decoration: underline; text-underline-offset: 2px; }
.pg-game { font-weight: 600; }
.pg-pct { font-variant-numeric: tabular-nums; }
.pg-legs { grid-column: 1 / -1; font-size: .8125rem; color: var(--pg-muted); font-variant-numeric: tabular-nums; }
.pg-legs small { color: var(--pg-faint); }
.pg-age { grid-column: 1 / -1; font-size: .75rem; color: var(--pg-faint); }
.pg-chip { --pg-ink: #18181b; --pg-line: #e4e4e7; --pg-surface: #ffffff; --pg-faint: #63636b;
           display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--pg-line); border-radius: 999px;
           background: var(--pg-surface); color: var(--pg-ink); font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer; }
.pg-chip[aria-pressed="true"] { background: var(--pg-ink); border-color: var(--pg-ink); color: var(--pg-surface); }
.pg-chip .pg-insider { margin: 0; color: inherit; opacity: .7; }
.pg-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #1f7d73; color: #fff; font-size: .6875rem; }
.pg-badge { --pg-live: #1f7d73; --pg-live-tint: #e9f5f3; --pg-old: #6b4e0b; --pg-old-tint: #fbf5e4;
            display: inline-flex; align-items: center; height: 1.375rem; padding: 0 .5rem; border: 1px solid var(--pg-live); border-radius: .375rem;
            background: var(--pg-live-tint); color: var(--pg-live); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.pg-badge.is-old { border: 1px dashed var(--pg-old); background: var(--pg-old-tint); color: var(--pg-old); }
.bt-list.pg-only { display: none; }                         /* the filter shows the gap list above instead of the cards */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 520px) {
  .pg { padding: 14px 12px 10px; }
  .pg .pg-tbl thead { display: none; }                           /* phone: one receipt block per outcome */
  .pg .pg-tbl tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--pg-line); }
  .pg .pg-tbl th, .pg .pg-tbl td { padding: 0; border: 0 !important; }
  .pg .pg-tbl td:nth-of-type(1) { grid-row: 2; color: var(--pg-muted); }
  .pg .pg-tbl td:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .pg .pg-tbl td:nth-of-type(3) { grid-column: 2; grid-row: 2; font-size: .75rem; color: var(--pg-faint); }
  .pg-row a { grid-template-columns: 1fr auto; }
  .pg-row .pg-tag { grid-column: 1 / -1; justify-self: start; grid-row: 2; }
}
/* Home page band (release 274): compact, directly below the hero; the limits sit beside the one number. */
.pgh { padding-top: 40px; padding-bottom: 40px; }
.pgh-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.pgh .sx-h2 { margin-bottom: 12px; }
.pgh-copy .sx-md { margin: 0; }
.pgh .pgh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; padding-top: 28px; }   /* padding: the home page resets p margins */
.pgh-fact { padding: 20px 22px; border: 1px solid rgba(15, 23, 42, .1); border-radius: 14px; background: rgba(255, 255, 255, .72); }
.pgh .pgh-stat { margin: 0; font-size: 1rem; line-height: 1.5; }
.pgh-stat b { font-size: 1.125rem; }
.pgh-stat a { white-space: nowrap; }
.pgh .pgh-limits { margin: 0; padding-top: 10px; font-size: .875rem; line-height: 1.5; color: #52525b; }
@media (max-width: 860px) { .pgh-grid { grid-template-columns: 1fr; } .pgh .pgh-actions { padding-top: 24px; } }
/* Games page "Price gaps" tab (release 275) */
.bt-pro-tag.pg-insider-tag { background: #1f7d73; }
.pg-pane { margin-top: 12px; }
.pg-lead { margin: 6px 0 8px; font-size: .9375rem; line-height: 1.55; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.pg-items, .pg-nears { list-style: none; margin: 8px 0 0; padding: 0; }
.pg-item { padding: 12px 0; border-bottom: 1px solid var(--pg-line); }
.pg-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pg-item-head a, .pg-near a { font-weight: 600; color: inherit; }
.pg-item-head .pg-pct { margin-left: auto; font-size: 1.0625rem; }
.pg-legs-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.pg-legs-list li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; font-size: .875rem; font-variant-numeric: tabular-nums; }
.pg-legs-list b { text-align: right; }
.pg-legs-list small { color: var(--pg-faint); font-size: .75rem; }
.pg-check { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--pg-chip); font-size: .8125rem; line-height: 1.5; }
.pg-near { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--pg-line); }
.pg-near .pg-legs { grid-column: 1 / -1; }
.pg-pct.is-neg { color: var(--pg-muted); font-variant-numeric: tabular-nums; }
.pg-sub small { font-weight: 500; color: var(--pg-faint); margin-left: 4px; }
@media (max-width: 520px) {
  .pg-legs-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .pg-legs-list li span:nth-child(2) { grid-column: 1; grid-row: 2; color: var(--pg-muted); font-size: .8125rem; }
  .pg-legs-list li small { grid-column: 2; grid-row: 2; text-align: right; }
}
/* three view tabs in one row (the page's own rules size the row for two) */
.bt .bt-views[data-bt-views], .bt-page .dw-view-heading .bt-views[data-bt-views] { grid-template-columns: repeat(3, minmax(0, auto)); }
.bt-views [data-pg-tab] { white-space: nowrap; }
.bt.pg-gaps-on [data-bt-dates], .bt.pg-gaps-on .bt-how { display: none !important; }
@media (max-width: 640px) {
  .bt .bt-views[data-bt-views], .bt-page .dw-view-heading .bt-views[data-bt-views] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bt-page .dw-view-heading { flex-wrap: wrap; row-gap: 8px; }
  .bt-page .dw-view-heading .bt-views[data-bt-views] { flex: 1 1 100%; width: 100%; box-sizing: border-box; }
  .bt-views[data-bt-views] button { white-space: normal; line-height: 1.25; padding: 6px 4px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .bt-views [data-pg-tab] .pg-insider-tag { padding: 0 4px; }
}
