/* Sportsbooks band (#books): dark, compact, with a big count and two rows of chips gliding in opposite directions.
   books.js counts 0 -> 17 when the band comes into view and briefly lights up one chip at a time ("a price checked").
   Hover pauses the rows. Reduced motion or no JS: still rows of chips that wrap. */
.ob .ob-bk { position: relative; overflow: clip; padding-block: 56px 60px; background:
  radial-gradient(60% 120% at 50% 0%, rgba(169, 198, 255, .16), rgba(169, 198, 255, 0) 70%), var(--deep); color: #FFFFFF; }
.ob-bk-head { display: flex; justify-content: center; }
.ob .ob-bk-count { display: flex; align-items: center; gap: 16px; margin: 0; max-width: none; text-align: left; }
.ob-bk-count b { flex: none; font: 900 76px/.8 var(--f-head); color: var(--lime); letter-spacing: -.01em; font-variant-numeric: tabular-nums; min-width: 1.15em; text-align: right; }
.ob-bk-count span { max-width: 20ch; font: 800 19px/1.25 var(--f-body); color: #FFFFFF; }

.ob-bk-rows { display: grid; gap: 12px; margin-top: 32px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ob-bk-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; width: max-content; animation: ob-bk-glide 70s linear infinite; }
.ob-bk-rev { animation-direction: reverse; animation-duration: 60s; }
.ob-bk-rows:hover .ob-bk-row { animation-play-state: paused; }
.ob-bk-row li { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  background: rgba(255, 255, 255, .06); font: 800 17px/1 var(--f-body); color: #FFFFFF; white-space: nowrap;
  transition: background-color .35s, border-color .35s, box-shadow .35s, transform .35s; }
.ob-bk-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c, var(--lime)); color: var(--deep);
  font: 900 13px/1 var(--f-head); letter-spacing: .02em; }
/* books.js: one chip at a time "checks a price". */
.ob-bk-row li.is-hit { background: rgba(169, 198, 255, .2); border-color: var(--lime); box-shadow: 0 0 0 4px rgba(169, 198, 255, .14), 0 10px 28px -12px rgba(169, 198, 255, .7); transform: translateY(-2px); }
/* Each row holds its list 4 times; moving it by half loops without a jump (half = 2 lists + their gaps). */
@keyframes ob-bk-glide { to { transform: translateX(calc(-50% - 6px)); } }

@media (min-width: 980px) {
  .ob .ob-bk { padding-block: 72px 76px; }
  .ob-bk-count b { font-size: 104px; }
  .ob-bk-count span { font-size: 24px; }
  .ob-bk-rows { gap: 14px; margin-top: 40px; }
  .ob-bk-row { gap: 14px; }
  .ob-bk-row li { padding: 10px 22px 10px 10px; font-size: 19px; }
  .ob-bk-mark { width: 38px; height: 38px; font-size: 14px; }
  @keyframes ob-bk-glide { to { transform: translateX(calc(-50% - 7px)); } }
}
@media (max-width: 699px) {
  .ob .ob-bk { padding-block: 44px 48px; }
  .ob-bk-count b { font-size: 64px; }
  .ob-bk-count span { font-size: 17px; }
  .ob-bk-rows { margin-top: 26px; gap: 10px; }
  .ob-bk-row { gap: 10px; animation-duration: 55s; }
  .ob-bk-rev { animation-duration: 48s; }
  .ob-bk-row li { padding: 6px 14px 6px 6px; font-size: 15px; }
  .ob-bk-mark { width: 30px; height: 30px; font-size: 12px; }
  @keyframes ob-bk-glide { to { transform: translateX(calc(-50% - 5px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .ob-bk-rows { -webkit-mask-image: none; mask-image: none; padding-inline: 16px; }
  .ob-bk-row { width: auto; flex-wrap: wrap; justify-content: center; animation: none; }
  .ob-bk-row li[aria-hidden="true"] { display: none; }
  .ob-bk-row li { transition: none; }
}
