/* Daily game previews (app/lib/previews.php, Nov 16, 2026): /previews, /previews/<league>, /previews/<date>. Phones first:
   one column of game cards; two from 992px. The game page's link to its day sits under its preview (.pp-gpv-day). */
.pp-gpv { max-width: 1080px; display: flex; flex-direction: column; gap: 14px; }
.pp-gpv > .pp-page-head { margin-bottom: 0; }
.pp-gpv-head h1 { font-size: 1.65rem; line-height: 1.18; margin: .3rem 0 0; }
.pp-gpv-ans { font-size: 1.02rem; line-height: 1.5; color: var(--bs-body-color); margin: .7rem 0 0; max-width: 62rem; }
.pp-gpv-upd { color: var(--pp-dim); font-size: .8rem; margin: .45rem 0 0; }
.pp-gpv-upd i { margin-right: 5px; }

/* the day and league chips */
.pp-gpv-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; margin: 0; }
.pp-gpv-chips::-webkit-scrollbar { display: none; }
.pp-gpv-chips a { flex: none; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--pp-line-2); background: var(--pp-card); color: var(--bs-body-color); text-decoration: none; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.pp-gpv-chips a small { color: var(--pp-dim); font-weight: 600; margin-left: 2px; }
.pp-gpv-chips a.is-on { background: var(--pp-hi); color: var(--pp-bg); border-color: var(--pp-hi); }
.pp-gpv-chips a.is-on small { color: inherit; opacity: .7; }
.pp-gpv-chips.is-sm a { padding: 4px 11px; font-size: .8rem; }

/* the day in numbers */
.pp-gpv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pp-gpv-tiles > span { background: var(--pp-card); border: 1px solid var(--pp-line); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pp-gpv-tiles b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pp-gpv-tiles small { color: var(--pp-dim); font-size: .76rem; }
.pp-gpv-none a { text-decoration: underline; }

/* a league's games */
.pp-gpv-lg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pp-gpv-lh { grid-column: 1 / -1; font: 800 1.15rem/1.2 var(--pp-display, inherit); margin: 8px 0 0; color: var(--pp-hi); }
.pp-gpv-lh a { color: inherit; text-decoration: none; }
.pp-gpv-lh a:hover { text-decoration: underline; }
.pp-gpv-lh small { font: 600 .8rem/1 var(--pp-font, inherit); color: var(--pp-dim); margin-left: 6px; }
@media (min-width: 992px) { .pp-gpv-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* a game */
.pp-gpv-g { border-radius: 18px; border: 1px solid var(--pp-line); background: var(--pp-card); padding: 14px 16px; min-width: 0; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 80px; }
.pp-gpv-gh { display: flex; flex-direction: column; gap: 4px; }
.pp-gpv-teams { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.pp-gpv-teams:hover .pp-gpv-nm b { text-decoration: underline; }
.pp-gpv-tm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pp-gpv-nm { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex: 1; }
.pp-gpv-nm b { font-size: 1.02rem; font-weight: 750; color: var(--pp-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-gpv-tm small { color: var(--pp-dim); font-size: .78rem; white-space: nowrap; }
.pp-gpv-tm em { font-style: normal; font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; color: var(--pp-dim); }
.pp-gpv-tm.is-lead em { color: var(--pp-hi); }
.pp-gpv-tm .pp-gpv-logo { width: 28px; height: 28px; flex: none; margin: 0; font-size: .62rem; }
.pp-gpv-at { display: none; }
.pp-gpv-when { color: var(--pp-dim); font-size: .8rem; font-weight: 600; }
.pp-gpv-live { color: var(--pp-bad-text, #e5484d); display: inline-flex; align-items: center; gap: 6px; }

/* the line: three tiles (after the game, how each went) */
.pp-gpv-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pp-gpv-lines > div { background: var(--pp-card-2); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pp-gpv-lines span { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--pp-dim); font-weight: 650; }
.pp-gpv-lines b { font-size: .95rem; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-gpv-lines b i { font-style: normal; font-weight: 600; font-size: .78rem; color: var(--pp-dim); }
.pp-gpv-lines small { color: var(--pp-dim); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-gpv-lines.is-done b { white-space: normal; font-size: .88rem; line-height: 1.2; }
.pp-gpv-lines.is-done small { white-space: normal; line-height: 1.3; }

/* the write-up */
.pp-gpv-txt h3 { font-size: .98rem; font-weight: 750; margin: 0 0 4px; color: var(--pp-hi); line-height: 1.3; }
.pp-gpv-txt p { margin: 0; font-size: .92rem; line-height: 1.5; }
.pp-gpv-txt small { display: block; margin-top: 6px; color: var(--pp-dim); font-size: .72rem; }
.pp-gpv-txt small i { margin-right: 5px; color: #b59cff; }
.pp-gpv-wait { color: var(--pp-dim); font-size: .82rem; margin: 0; }

/* the props */
.pp-gpv-ph { font-size: .8rem; font-weight: 750; color: var(--pp-hi); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 4px; }
.pp-gpv-ph span { color: var(--pp-dim); font-weight: 600; font-size: .72rem; }
.pp-gpv-props ul { list-style: none; margin: 0; padding: 0; }
.pp-gpv-props li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; padding: 7px 0; border-top: 1px solid var(--pp-line); font-size: .88rem; line-height: 1.3; }
.pp-gpv-props li:first-child { border-top: 0; }
.pp-gpv-pk { grid-column: 1; }
.pp-gpv-pk a { color: inherit; text-decoration: none; }
.pp-gpv-pk a:hover b { text-decoration: underline; }
.pp-gpv-pw { grid-column: 1; color: var(--pp-dim); font-size: .76rem; }
.pp-gpv-res { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: .72rem; font-weight: 750; border-radius: 999px; padding: 2px 9px; background: var(--pp-card-2); color: var(--pp-dim); }
.pp-gpv-res.is-won { background: rgba(var(--pp-ok-rgb), .16); color: var(--pp-ok-text); }
.pp-gpv-res.is-lost { background: rgba(var(--pp-bad-rgb), .14); color: var(--pp-bad-text); }

.pp-gpv-crowd { margin: 0; color: var(--pp-dim); font-size: .8rem; }
.pp-gpv-crowd i { margin-right: 6px; }
.pp-gpv-go { align-self: flex-start; font-size: .84rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pp-gpv-go:hover { text-decoration: underline; }
.pp-gpv-go i { font-size: .7rem; }

.pp-gpv-all { grid-column: 1 / -1; justify-self: start; font-size: .86rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pp-gpv-all:hover { text-decoration: underline; }
.pp-gpv-all i { font-size: .7rem; }
.pp-gpv .pp-as-join { margin: 0; }
.pp-gpv-more ul { list-style: none; margin: 0; padding: 0; }
.pp-gpv-more li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--pp-line); color: inherit; text-decoration: none; font-size: .9rem; }
.pp-gpv-more li:first-child a { border-top: 0; }
.pp-gpv-more li a i { color: var(--pp-dim); font-size: .7rem; }
.pp-gpv-more li a:hover { text-decoration: underline; }
.pp-gpv-fine { color: var(--pp-dim); font-size: .74rem; margin: 0; }

/* a game page's link to its day's previews */
.pp-gpv-day { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 650; text-decoration: none; margin: -4px 0 14px; }
.pp-gpv-day:hover { text-decoration: underline; }
.pp-gpv-day i { font-size: .72rem; }

@media (min-width: 576px) {
  .pp-gpv-teams { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
  .pp-gpv-tm { flex: 1 1 0; }
  .pp-gpv-at { display: inline; color: var(--pp-dim); font-size: .8rem; font-weight: 600; flex: none; }
  .pp-gpv-tiles { max-width: 560px; }
}
@media (max-width: 575.98px) {
  .pp-gpv-head h1 { font-size: 1.4rem; }
  .pp-gpv-ans { font-size: .95rem; }
  .pp-gpv-g { padding: 12px 13px; }
  .pp-gpv-lines { gap: 6px; }
  .pp-gpv-lines > div { padding: 7px 8px; }
  .pp-gpv-lines b { font-size: .88rem; }
  .pp-gpv-lines b i { display: none; }
}
