/* ==========================================================================
   PLIXWIN – Home "Sports" row: photo tiles + "View all"
   ========================================================================== */
#sportsGamesRail.pxt-row {
  display: grid !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 7 * 14px) / 8);
  gap: 14px !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 2px 0 6px !important;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
#sportsGamesRail.pxt-row::-webkit-scrollbar { display: none; }

.pxt-tile {
  position: relative; isolation: isolate; display: block; aspect-ratio: 3 / 4; min-width: 0; overflow: hidden;
  border-radius: 12px; background: #061A24; color: #FFFFFF; text-decoration: none; scroll-snap-align: start;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); transition: transform .2s ease, box-shadow .2s ease;
}
.pxt-tile img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pxt-tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(0, 177, 117, .45), 0 14px 28px -16px rgba(0, 177, 117, .55); }
.pxt-tile:hover img { transform: scale(1.04); }
.pxt-tile:focus-visible { outline: 2px solid #00B175; outline-offset: 2px; }
.pxt-name {
  position: absolute; left: 6px; right: 6px; bottom: 13%; text-align: center;
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif; font-weight: 400; font-size: clamp(17px, 1.65vw, 25px); line-height: .98;
  letter-spacing: .01em; text-transform: uppercase; color: #FFFFFF; text-shadow: 0 2px 10px rgba(0, 40, 26, .5);
}

/* last tile: View all */
.pxt-all {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(90% 55% at 50% 100%, rgba(0, 177, 117, .22), transparent 70%), #061A24;
  box-shadow: inset 0 0 0 1px rgba(0, 177, 117, .22);
}
.pxt-all-ic {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #00B175; color: #00140C; transition: transform .2s ease;
}
.pxt-all-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pxt-all:hover .pxt-all-ic { transform: translateX(3px); }
.pxt-all-tx { font-family: 'Anton', Impact, 'Arial Narrow', sans-serif; font-size: clamp(17px, 1.65vw, 25px); line-height: 1; text-transform: uppercase; }
.pxt-all small { font: 600 12px/1 'Manrope', system-ui, sans-serif; color: rgba(255, 255, 255, .55); }

@media (max-width: 1100px) { #sportsGamesRail.pxt-row { grid-auto-columns: calc((100% - 4 * 12px) / 4.6); gap: 12px !important; } }
@media (max-width: 640px) {
  #sportsGamesRail.pxt-row { grid-auto-columns: calc((100% - 2 * 10px) / 2.6); gap: 10px !important; scroll-padding: 0; }
  .pxt-tile { border-radius: 10px; }
  .pxt-name, .pxt-all-tx { font-size: 19px; }
  .pxt-all-ic { width: 44px; height: 44px; }
  .pxt-all-ic svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) { .pxt-tile, .pxt-tile img, .pxt-all-ic { transition: none; } }
