/* ==========================================================================
   PLIXWIN – Casino / Live casino / Sports pages
   Loaded after every other stylesheet. Uses the existing champagne-gold theme.
   ========================================================================== */
:root {
  --px-bg: #000D14;
  --px-surface: #04151E;
  --px-card: #061A24;
  --px-raise: #081F2B;
  --px-line: #0D2937;
  --px-line-soft: #09202C;
  --px-text: #E6EEF3;
  --px-muted: #89A6B8;
  --px-dim: #5E8AA3;
  --px-gold: #31DBA3;
  --px-gold-deep: #01B276;
  --px-gold-fill: linear-gradient(125deg, #7CEFC6 0%, #31DBA3 45%, #01B276 100%);
  --px-live: #EF4444;
  --px-radius: 18px;
  --px-head-font: 'Sora', 'Plus Jakarta Sans', sans-serif;
  --px-body-font: 'Plus Jakarta Sans', 'Onest', Arial, sans-serif;
}

/* ---------- Header: slightly larger logo, navigation nudged right ---------- */
@media (min-width: 901px) {
  header.top-header .brand-logo-img { width: 104px !important; max-width: 104px !important; height: auto !important; }
  header.top-header .brand-logo-wrap { margin-right: 22px !important; }
  header.top-header .top-nav-tabs { margin-left: 18px !important; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  header.top-header .brand-logo-img { width: 92px !important; max-width: 92px !important; }
  header.top-header .brand-logo-wrap { margin-right: 10px !important; }
  header.top-header .top-nav-tabs { margin-left: 6px !important; }
}
@media (max-width: 900px) {
  header.top-header .brand-logo-img { width: 112px !important; max-width: 112px !important; height: auto !important; }
}
@media (max-width: 420px) {
  header.top-header .brand-logo-img { width: 96px !important; max-width: 96px !important; }
}
@media (max-width: 360px) {
  header.top-header .brand-logo-img { width: 84px !important; max-width: 84px !important; }
}

/* ---------- Page switching ---------- */
#pxPages { display: none; }
body.px-mode #pxPages { display: block; }
body.px-mode .app-shell > :not(#pxPages) { display: none !important; }
.px-view { display: none; }
body[data-px="casino"] .px-view[data-view="casino"],
body[data-px="live"] .px-view[data-view="live"],
body[data-px="sports"] .px-view[data-view="sports"] { display: block; }
body[data-px="sports"] .app-shell { padding: 0 !important; gap: 0 !important; min-height: 0 !important; }

#pxPages, #pxPages button, #pxPages input { font-family: var(--px-body-font); }
#pxPages button { cursor: pointer; }
.px-view { width: 100%; max-width: 1560px; margin: 0 auto; }
.px-stack { display: flex; flex-direction: column; gap: 34px; }
.px-stack[hidden], .px-sec[hidden] { display: none !important; }

/* ---------- Banner ---------- */
.px-hero { position: relative; height: 300px; border-radius: 24px; overflow: hidden; background: var(--px-surface); border: 1px solid var(--px-line-soft); isolation: isolate; }
.px-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.px-slide.is-active { opacity: 1; visibility: visible; }
.px-slide-art { position: absolute; inset: 0; z-index: -2; }
.px-slide-art img { position: absolute; right: 0; top: 0; height: 100%; width: 68%; object-fit: cover; object-position: center; }
.px-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #011017 0%, #011017 30%, rgba(1, 16, 23, .82) 46%, rgba(1, 16, 23, .15) 72%, rgba(1, 16, 23, 0) 100%); }
.px-slide-copy { position: relative; max-width: 480px; padding: 0 0 0 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.px-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--px-gold); }
.px-slide h2 { margin: 0; font-family: var(--px-head-font); font-size: 40px; line-height: 1.04; font-weight: 800; letter-spacing: -.035em; color: var(--px-text); }
.px-slide p { margin: 0; font-size: 14px; line-height: 1.55; color: #B0C6D3; max-width: 380px; }
.px-btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; margin-top: 6px; border: 0; border-radius: 12px; background: var(--px-gold-fill); color: #021119; font-size: 14px; font-weight: 800; box-shadow: 0 10px 26px -12px rgba(49, 219, 163, .7); transition: transform .15s ease, filter .15s ease; }
.px-btn-gold:hover { transform: translateY(-1px); filter: brightness(1.05); }
.px-hero-dots { position: absolute; left: 48px; bottom: 22px; display: flex; gap: 6px; z-index: 3; }
.px-hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(120, 170, 200, .25); transition: width .3s ease, background .3s ease; }
.px-hero-dots button.is-active { width: 26px; background: var(--px-gold); }
.px-hero-arrows { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; z-index: 3; }
.px-hero-arrows button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; border: 1px solid rgba(120, 170, 200, .12); background: rgba(1, 14, 21, .6); color: var(--px-text); backdrop-filter:none; }
.px-hero-arrows button:hover { border-color: var(--px-gold); color: var(--px-gold); }
.px-hero-arrows svg, .px-arrows svg { width: 16px; height: 16px; }

/* Game-art collage (dynamic slides) */
.px-collage { position: absolute; right: 9%; top: 50%; width: 44%; height: 226px; transform: translateY(-50%); z-index: -1; }
.px-collage::before { content: ""; position: absolute; inset: -30% -20%; background: radial-gradient(closest-side, rgba(49, 219, 163, .22), transparent 70%); }
.px-collage.is-live::before { background: radial-gradient(closest-side, rgba(239, 68, 68, .2), rgba(49, 219, 163, .08) 55%, transparent 75%); }
.px-collage figure { position: absolute; top: 50%; margin: 0; width: 34%; aspect-ratio: 168 / 226; border-radius: 16px; overflow: hidden; background: #081E29; border: 1px solid rgba(120, 170, 200, .1); box-shadow: 0 24px 50px -18px rgba(0, 7, 11, .9); }
.px-collage figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.px-collage figure:nth-child(1) { left: 4%; transform: translateY(-46%) rotate(-9deg); }
.px-collage figure:nth-child(2) { left: 33%; transform: translateY(-50%); z-index: 2; width: 36%; }
.px-collage figure:nth-child(3) { left: 64%; transform: translateY(-46%) rotate(9deg); }
.px-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--px-live); box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: pxPulse 1.8s infinite; }
@keyframes pxPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); } 70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

/* ---------- Toolbar: search, providers, chips ---------- */
.px-toolbar { display: flex; flex-direction: column; gap: 14px; }
.px-search-row { display: flex; gap: 10px; }
.px-search { flex: 1; min-width: 0; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px; background: var(--px-surface); border: 1px solid var(--px-line); transition: border-color .15s ease; }
.px-search:focus-within { border-color: rgba(49, 219, 163, .55); }
.px-search svg { width: 18px; height: 18px; color: var(--px-dim); flex-shrink: 0; }
.px-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--px-text); font-size: 14px; }
.px-search input::placeholder { color: var(--px-dim); }
.px-search-clear { display: none; border: 0; background: none; color: var(--px-muted); font-size: 12px; font-weight: 700; padding: 6px; }
.px-search.has-value .px-search-clear { display: block; }
.px-prov-wrap { position: relative; }
.px-prov-btn { height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px; background: var(--px-surface); border: 1px solid var(--px-line); color: var(--px-text); font-size: 14px; font-weight: 700; white-space: nowrap; }
.px-prov-btn:hover, .px-prov-btn[aria-expanded="true"] { border-color: rgba(49, 219, 163, .55); }
.px-prov-btn .px-caret { width: 14px; height: 14px; color: var(--px-muted); transition: transform .2s; }
.px-prov-btn[aria-expanded="true"] .px-caret { transform: rotate(180deg); }
.px-prov-btn .px-mono { width: 24px; height: 24px; border-radius: 7px; font-size: 8px; }
.px-prov-btn > svg:first-child { width: 18px; height: 18px; flex-shrink: 0; --nav-icon-stroke: #CAD9E2; --nav-icon-accent: var(--px-gold-deep); }
.px-prov-wrap { flex: 0 0 auto; }
.px-prov-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 300px; max-height: 420px; overflow-y: auto; padding: 6px; border-radius: 16px; background: #061B25; border: 1px solid #133040; box-shadow: 0 24px 60px -20px #00070B; scrollbar-width: thin; }
.px-prov-menu[hidden] { display: none; }
.px-prov-menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--px-text); font-size: 13px; font-weight: 600; text-align: left; }
.px-prov-menu button:hover, .px-prov-menu button[aria-checked="true"] { background: #0B2532; }
.px-prov-menu button[aria-checked="true"] { color: var(--px-gold); }
.px-prov-menu button span:nth-child(2) { flex: 1; }
.px-prov-menu small { color: var(--px-dim); font-size: 11px; font-weight: 600; }
.px-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.px-chips::-webkit-scrollbar { display: none; }
.px-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--px-line); background: var(--px-surface); color: #CAD9E2; font-size: 14px; font-weight: 700; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.px-chip svg { width: 18px; height: 18px; --nav-icon-stroke: currentColor; --nav-icon-accent: var(--px-gold-deep); }
.px-chip:hover { border-color: #214558; color: var(--px-text); }
.px-chip.is-active { border-color: rgba(49, 219, 163, .6); background: linear-gradient(120deg, rgba(49, 219, 163, .2), rgba(49, 219, 163, .05)); color: var(--px-gold); }
.px-chip .px-chip-live { font-size: 9px; font-weight: 800; letter-spacing: .06em; color: var(--px-live); border: 1px solid rgba(239, 68, 68, .6); border-radius: 5px; padding: 1px 5px; }

/* ---------- Provider monogram icon ---------- */
.px-mono { position: relative; flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(120% 90% at 30% 15%, color-mix(in srgb, var(--px-accent, #31DBA3) 30%, #09222E), #04151E 70%); border: 1px solid color-mix(in srgb, var(--px-accent, #31DBA3) 45%, #112F3E); font-family: var(--px-head-font); font-size: 12px; font-weight: 800; letter-spacing: -.02em; color: var(--px-text); overflow: hidden; }
.px-mono b { background: var(--px-gold-fill); -webkit-background-clip: text; background-clip: text; color: transparent; }
.px-mono img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.px-mono.is-live::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--px-live); }

/* ---------- Sections & rails ---------- */
.px-sec { --px-cols: 7; --px-gap: 16px; min-width: 0; }
.px-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.px-sec-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.px-sec-title h2 { margin: 0; font-family: var(--px-head-font); font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--px-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-sec-title .px-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #061A24; border: 1px solid var(--px-line); color: var(--px-gold); flex-shrink: 0; }
.px-sec-title .px-ic svg { width: 20px; height: 20px; --nav-icon-stroke: #CAD9E2; --nav-icon-accent: var(--px-gold-deep); }
.px-count { flex-shrink: 0; padding: 4px 9px; border-radius: 99px; background: #081E29; border: 1px solid var(--px-line); color: var(--px-muted); font-size: 11px; font-weight: 700; }
.px-sec-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.px-viewall { border: 0; background: none; color: var(--px-muted); font-size: 13px; font-weight: 700; padding: 6px 4px; }
.px-viewall:hover { color: var(--px-gold); }
.px-arrows { display: flex; gap: 6px; }
.px-arrows button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--px-line); background: var(--px-surface); color: var(--px-text); transition: border-color .15s ease, color .15s ease, opacity .15s ease; }
.px-arrows button:hover:not(:disabled) { border-color: var(--px-gold); color: var(--px-gold); }
.px-arrows button:disabled { opacity: .35; cursor: default; }
.px-sec.is-grid .px-arrows { display: none; }

.px-track { display: flex; gap: var(--px-gap); overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 6px; margin: -4px -2px 0; }
.px-track::-webkit-scrollbar { display: none; }
.px-track > .game-card { flex: 0 0 calc((100% - (var(--px-cols) - 1) * var(--px-gap)) / var(--px-cols)) !important; width: calc((100% - (var(--px-cols) - 1) * var(--px-gap)) / var(--px-cols)) !important; min-width: 0 !important; max-width: none !important; scroll-snap-align: start; }
.px-sec.is-grid .px-track { display: grid; grid-template-columns: repeat(var(--px-cols), minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; row-gap: 20px; }
.px-sec.is-grid .px-track > .game-card { width: 100% !important; }
.px-track .game-card:hover { transform: translateY(-4px); }
.px-track .game-card { transition: transform .18s ease; cursor: pointer; }
.px-empty { padding: 26px; border-radius: 16px; border: 1px dashed var(--px-line); color: var(--px-muted); font-size: 14px; text-align: center; width: 100%; }

/* Skeleton cards while loading */
.px-skel { flex: 0 0 calc((100% - (var(--px-cols) - 1) * var(--px-gap)) / var(--px-cols)); min-width: 0; }
.px-skel i { display: block; aspect-ratio: 168 / 226; border-radius: 16px; background: linear-gradient(100deg, #051822 30%, #09212D 50%, #051822 70%); background-size: 300% 100%; animation: pxShimmer 1.4s linear infinite; }
.px-skel b { display: block; height: 10px; width: 70%; margin-top: 12px; border-radius: 6px; background: #061B25; }
@keyframes pxShimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Load more */
.px-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 20px; }
.px-more[hidden] { display: none; }
.px-more-row { width: 100%; display: flex; align-items: center; gap: 16px; }
.px-more-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #12303F 55%, rgba(49, 219, 163, .45)); }
.px-more-line.is-end { background: linear-gradient(270deg, transparent, #12303F 55%, rgba(49, 219, 163, .45)); }
.px-more-btns { display: flex; gap: 8px; }
.px-more-meta { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; color: var(--px-dim); font-weight: 600; }
.px-more-meta b { color: var(--px-text); font-weight: 700; }
.px-more-bar { display: block; width: 160px; height: 3px; border-radius: 99px; background: #0A222F; overflow: hidden; }
.px-more-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--px-gold-fill); transition: width .4s ease; }
.px-more-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 12px; border: 1px solid rgba(49, 219, 163, .45); background: linear-gradient(120deg, rgba(49, 219, 163, .14), rgba(49, 219, 163, .03)); color: var(--px-gold); font-size: 13px; font-weight: 800; letter-spacing: .01em; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.px-more-btn:hover:not(:disabled) { border-color: var(--px-gold); background: linear-gradient(120deg, rgba(49, 219, 163, .24), rgba(49, 219, 163, .06)); transform: translateY(-1px); }
.px-more-btn svg { width: 14px; height: 14px; }
.px-more-btn:disabled { opacity: .6; cursor: progress; }
.px-more-btn.is-loading svg { animation: pxSpin .8s linear infinite; }
.px-less-btn { height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--px-line); background: var(--px-surface); color: var(--px-muted); font-size: 13px; font-weight: 700; }
.px-less-btn:hover { color: var(--px-text); border-color: #214558; }
.px-less-btn[hidden] { display: none; }
@keyframes pxSpin { to { transform: rotate(360deg); } }

/* Results header (filter / search / provider views) */
.px-results-head { display: flex; align-items: center; gap: 12px; }
.px-back { height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--px-line); background: var(--px-surface); color: var(--px-muted); font-size: 13px; font-weight: 700; }
.px-back:hover { color: var(--px-gold); border-color: rgba(49, 219, 163, .5); }
.px-back svg { width: 14px; height: 14px; }

/* ---------- Provider strip ---------- */
.px-prov-strip { display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; cursor: grab; }
.px-prov-strip::-webkit-scrollbar { display: none; }
.px-prov-strip.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.px-prov-tile { flex: 0 0 196px; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--px-line); background: linear-gradient(160deg, #061923, #03141C); color: var(--px-text); text-align: left; transition: border-color .15s ease, transform .15s ease; }
.px-prov-tile:hover { border-color: rgba(49, 219, 163, .55); transform: translateY(-2px); }
.px-prov-tile .px-mono { width: 46px; height: 46px; font-size: 13px; border-radius: 13px; }
.px-prov-tile strong { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-prov-tile small { display: block; margin-top: 3px; font-size: 12px; color: var(--px-dim); font-weight: 600; }
.px-prov-tile > span:last-child { min-width: 0; }

/* ---------- Sports (embedded sportsbook) ---------- */
.px-sports { position: relative; display: flex; flex-direction: column; background: #000D14; }
.px-sports-note { display: flex; align-items: center; gap: 12px; padding: 9px 18px; background: linear-gradient(90deg, rgba(49, 219, 163, .14), rgba(49, 219, 163, .03)); border-bottom: 1px solid #081F2A; color: #CCDAE3; font-size: 13px; }
.px-sports-note[hidden] { display: none; }
.px-sports-note b { color: var(--px-gold); }
.px-sports-note .px-sports-actions { margin-left: auto; display: flex; gap: 8px; }
.px-sports-note button { height: 30px; padding: 0 12px; border-radius: 9px; font-size: 12px; font-weight: 800; }
.px-sports-note .px-note-login { border: 0; background: var(--px-gold-fill); color: #021119; }
.px-sports-note .px-note-close { border: 1px solid #123040; background: transparent; color: #A5BECC; }
.px-sports-stage { position: relative; flex: 1; min-height: 320px; }
.px-sports-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000D14; }
.px-sports-state { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(60% 50% at 50% 40%, rgba(49, 219, 163, .07), transparent 70%), #000D14; z-index: 2; }
.px-sports-state[hidden] { display: none; }
.px-sports-state p { margin: 14px 0 0; color: var(--px-muted); font-size: 14px; }
.px-sports-state .px-btn-gold { margin-top: 16px; }
.px-spinner { width: 42px; height: 42px; margin: 0 auto; border-radius: 50%; border: 3px solid #0D2A38; border-top-color: var(--px-gold); animation: pxSpin .9s linear infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) { .px-sec { --px-cols: 6; } }
@media (max-width: 1150px) { .px-sec { --px-cols: 5; } .px-slide h2 { font-size: 34px; } }
@media (max-width: 900px) {
  .px-sec { --px-cols: 4; --px-gap: 12px; }
  .px-stack { gap: 28px; }
  .px-hero { height: 260px; border-radius: 20px; }
  .px-slide-copy { padding-left: 28px; max-width: 58%; }
  .px-hero-dots { left: 28px; }
  .px-collage { width: 48%; right: 2%; height: 210px; }
}
@media (max-width: 650px) {
  .px-sec { --px-cols: 3; --px-gap: 10px; }
  .px-sec.is-grid .px-track { row-gap: 14px; }
  .px-stack { gap: 24px; }
  .px-hero { height: 214px; border-radius: 18px; }
  .px-slide-copy { padding-left: 20px; max-width: 62%; gap: 8px; }
  .px-slide h2 { font-size: 24px; }
  .px-slide p { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .px-eyebrow { font-size: 9px; letter-spacing: .12em; }
  .px-btn-gold { min-height: 36px; padding: 0 14px; font-size: 12px; margin-top: 2px; }
  .px-slide-art img { width: 78%; }
  .px-slide::before { background: linear-gradient(90deg, #011017 0%, rgba(1, 16, 23, .92) 42%, rgba(1, 16, 23, .35) 70%, rgba(1, 16, 23, .1) 100%); }
  .px-hero-dots { left: 20px; bottom: 14px; }
  .px-hero-arrows { display: none; }
  .px-collage { width: 46%; right: 1%; height: 176px; }
  .px-collage figure { border-radius: 10px; }
  .px-search-row { gap: 8px; }
  .px-search, .px-prov-btn { height: 44px; border-radius: 12px; }
  .px-prov-btn { padding: 0 12px; font-size: 13px; }
  .px-prov-btn .px-prov-label { display: none; }
  .px-prov-menu { width: min(300px, calc(100vw - 32px)); }
  .px-chip { height: 38px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
  .px-sec-head { margin-bottom: 12px; }
  .px-sec-title { gap: 10px; }
  .px-sec-title h2 { font-size: 18px; }
  .px-mono, .px-sec-title .px-ic { width: 34px; height: 34px; border-radius: 10px; font-size: 10px; }
  .px-count { display: none; }
  .px-arrows button { width: 32px; height: 32px; border-radius: 10px; }
  .px-more { margin-top: 14px; } .px-more-row { gap: 10px; }
  .px-more-bar { width: 140px; }
  .px-more-btn { height: 38px; padding: 0 16px; }
  .px-prov-tile { flex-basis: 164px; padding: 12px; gap: 10px; }
  .px-prov-tile .px-mono { width: 40px; height: 40px; }
  .px-prov-tile strong { font-size: 13px; }
  .px-sports-note { padding: 8px 12px; font-size: 12px; flex-wrap: wrap; row-gap: 6px; }
}
@media (max-width: 400px) {
  .px-viewall { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .px-slide, .px-track, .px-prov-strip { transition: none; scroll-behavior: auto; }
  .px-live-dot, .px-skel i { animation: none; }
}

/* ==========================================================================
   v2 – calmer greys, cleaner type, "playing" counts, smooth transitions
   ========================================================================== */
:root {
  --px-ui-font: 'Onest', 'Plus Jakarta Sans', Arial, sans-serif;
  --px-grey-1: #081E29;
  --px-grey-2: #0C2734;
  --px-grey-3: #143242;
  --px-grey-text: #96B2C2;
}
#pxPages, #pxPages button, #pxPages input { font-family: var(--px-ui-font); }

/* Headings: same family as the navigation, no heavy display font */
.px-sec-title h2 { font-family: var(--px-ui-font); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.px-slide h2 { font-family: var(--px-ui-font); font-weight: 700; letter-spacing: -.02em; }
.px-eyebrow { color: var(--px-grey-text); letter-spacing: .14em; }

/* Section icons: neutral tile, grey stroke with a small gold accent */
.px-sec-title .px-ic { background: var(--px-grey-1); border-color: var(--px-line); --px-icon-bg: var(--px-grey-1); }
.px-sec-title .px-ic svg { width: 21px; height: 21px; --nav-icon-stroke: #C4D4DE; --nav-icon-accent: #00AE73; }
.px-mono { background: var(--px-grey-1); border-color: var(--px-line); }
.px-mono b { background: none; -webkit-background-clip: initial; background-clip: initial; color: #D5E1E8; }
.px-mono.is-live::after { display: none; }

/* Chips: grey when active, no gold fill */
.px-chip { font-weight: 600; color: #B0C6D3; --px-icon-bg: var(--px-surface); }
.px-chip svg { --nav-icon-stroke: currentColor; --nav-icon-accent: #89A6B8; }
.px-chip:hover { background: var(--px-grey-1); }
.px-chip.is-active { background: var(--px-grey-2); border-color: var(--px-grey-3); color: #EFF4F7; --px-icon-bg: var(--px-grey-2); }
.px-chip.is-active svg { --nav-icon-accent: #08BA7E; }
.px-chip-live, .px-live-dot { display: none !important; }

/* Toolbar + arrows: grey focus and hover */
.px-search:focus-within, .px-prov-btn:hover, .px-prov-btn[aria-expanded="true"] { border-color: var(--px-grey-3); }
.px-prov-menu button[aria-checked="true"] { color: #EFF4F7; }
.px-arrows button:hover:not(:disabled), .px-hero-arrows button:hover { border-color: var(--px-grey-3); color: #FFFFFF; background: var(--px-grey-1); }
.px-viewall { font-weight: 600; }
.px-viewall:hover { color: #EFF4F7; }
.px-prov-tile:hover { border-color: var(--px-grey-3); }
.px-back:hover { color: #EFF4F7; border-color: var(--px-grey-3); }
.px-hero-dots button.is-active { background: #D5E1E8; }
.px-sports-note { background: var(--px-grey-1); border-bottom-color: var(--px-line); }
.px-sports-note b { color: #EFF4F7; }
.px-collage.is-live::before { background: radial-gradient(closest-side, rgba(49, 219, 163, .12), transparent 72%); }

/* Load more: quiet grey text link between thin lines */
.px-more { flex-direction: row; align-items: center; gap: 18px; margin-top: 18px; }
.px-more-line, .px-more-line.is-end { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--px-grey-2) 40%); }
.px-more-line.is-end { background: linear-gradient(270deg, transparent, var(--px-grey-2) 40%); }
.px-more-btns { gap: 18px; }
.px-more-btn, .px-less-btn { height: auto; padding: 6px 2px; border: 0; border-radius: 0; background: none !important; box-shadow: none; transform: none !important; color: #7493A7; font-size: 13px; font-weight: 600; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease; }
.px-more-btn:hover:not(:disabled), .px-less-btn:hover { color: #E0EAEF; border: 0; }
.px-more-btn svg { width: 14px; height: 14px; transition: transform .2s ease; }
.px-more-btn:hover:not(:disabled) svg { transform: translateY(2px); }
.px-more-btn:disabled { opacity: .7; }

/* Game cards everywhere: artwork + "N playing" only (title kept for screen readers) */
.game-card.px-card-min .game-card-info { gap: 0 !important; padding-top: 8px !important; min-height: 0 !important; }
.game-card.px-card-min .game-card-title { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.game-card .game-card-provider.px-playing { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; font-family: var(--px-ui-font); font-size: 13px; font-weight: 500; line-height: 1.3; color: #7696A9; font-variant-numeric: tabular-nums; }
.px-playing i { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #00C482; box-shadow: 0 0 0 3px rgba(0, 196, 130, .14); }
.px-playing b { color: #E0EAEF; font-weight: 600; }
.px-playing span { white-space: nowrap; }
.app-shell #topHitsRail .game-card.px-card-min::before { bottom: 30px !important; }

/* ---------- Smooth transitions ---------- */
@keyframes pxEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pxCardIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.px-enter { animation: pxEnter .38s cubic-bezier(.22, .8, .24, 1) both; }
.app-shell.px-shell-enter { animation: pxFade .32s ease both; }
.px-track > .game-card.px-card-in { animation: pxCardIn .42s cubic-bezier(.22, .8, .24, 1) backwards; animation-delay: calc(var(--px-i, 0) * 28ms); }
.px-sec, .px-track { transition: opacity .25s ease; }
.px-chip, .px-arrows button, .px-prov-tile, .px-back { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.px-track .game-card { transition: transform .22s cubic-bezier(.22, .8, .24, 1); }

/* Sidebar opens and closes smoothly: only the sidebar itself animates (see sidebar.css).
   Animating --navigation-width on <body> re-laid-out the whole page every frame and caused the lag. */
@media (min-width: 901px) {
  body:not(.nav-compact) .gold-sidebar .sidebar-item span,
  body:not(.nav-compact) .gold-sidebar .gold-label,
  body:not(.nav-compact) .gold-account span,
  body:not(.nav-compact) .gold-daily strong,
  body:not(.nav-compact) .gold-daily small { animation: pxFade .35s ease .08s both; }
}

@media (max-width: 650px) {
  .px-sec-title h2 { font-size: 17px; }
  .game-card .game-card-provider.px-playing { font-size: 11.5px; gap: 5px; }
  .game-card.px-card-min .game-card-info { padding-top: 7px !important; }
  .px-more { gap: 12px; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .px-enter, .app-shell.px-shell-enter, .px-track > .game-card.px-card-in { animation: none; }
}

/* ==========================================================================
   v4 – smaller, denser game grids on desktop (Stake-like), content centred
   ========================================================================== */
@media (min-width: 901px) {
  .app-shell > * { width: 100%; max-width: 1560px; margin-left: auto !important; margin-right: auto !important; }
  .app-footer .footer-inner { max-width: 1560px; margin-left: auto; margin-right: auto; }
}
/* New Casino / Live pages */
.px-sec { --px-cols: 8; }
@media (max-width: 1599px) { .px-sec { --px-cols: 7; } }
@media (max-width: 1299px) { .px-sec { --px-cols: 6; } }
@media (max-width: 1100px) { .px-sec { --px-cols: 5; } }
@media (max-width: 900px)  { .px-sec { --px-cols: 4; --px-gap: 12px; } }
@media (max-width: 650px)  { .px-sec { --px-cols: 3; --px-gap: 10px; } }
@media (min-width: 901px) { .px-sec { --px-gap: 14px; } .px-sec.is-grid .px-track { row-gap: 18px; } }

/* Home rails and the catalog grid */
@media (min-width: 1101px) {
  .app-shell .game-rail-section { --rail-columns: 6; --rail-gap: 14px; }
  .app-shell #sectionTopHits { --rail-columns: 5; }
  .games-grid, #mainGamesGrid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 14px !important; }
  .home-mode #topHitsRail .game-card:nth-child(5) { display: flex !important; }
}
@media (min-width: 1300px) {
  .app-shell .game-rail-section { --rail-columns: 7; }
  .games-grid, #mainGamesGrid { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
}
@media (min-width: 1600px) {
  .app-shell .game-rail-section { --rail-columns: 8; }
  .app-shell #sectionTopHits { --rail-columns: 6; }
  .games-grid, #mainGamesGrid { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; }
  .home-mode #topHitsRail .game-card:nth-child(6) { display: flex !important; }
}
@media (min-width: 901px) {
  .app-shell #topHitsRail .game-card::before { font-size: clamp(70px, 6.4vw, 118px) !important; }
}
/* Rail header icons: same neutral tile as the new pages */
.rail-icon-star { background: #081E29 !important; border: 1px solid #0D2937; color: #C4D4DE !important; }
.rail-icon-star .ui-icon { --nav-icon-stroke: #C4D4DE; --nav-icon-accent: #00AE73; }
/* Sports cards on phones: three per row like the game rails */
@media (max-width: 600px) {
  #sportsGamesRail { gap: 10px !important; }
  #sportsGamesRail .pxs-card { flex: 0 0 calc((100% - 20px) / 3); width: calc((100% - 20px) / 3); border-radius: 12px; padding: 12px 6px 14px !important; }
  #sportsGamesRail.expanded { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px !important; }
  #sportsGamesRail .pxs-icon { width: 38px; height: 38px; }
  #sportsGamesRail .pxs-title b { font-size: 15px; }
  #sportsGamesRail .pxs-title small { font-size: 9px; letter-spacing: .1em; margin-bottom: 2px; }
  #sportsGamesRail .pxs-title::after { width: 16px; margin-top: 6px; }
}

/* ==========================================================================
   v5 – 8 games per row on desktop, gold accent dot on every icon
   ========================================================================== */
@media (min-width: 1200px) {
  .px-sec { --px-cols: 8; }
  .app-shell .game-rail-section { --rail-columns: 8; }
  .app-shell #sectionTopHits { --rail-columns: 6; }
  .games-grid, #mainGamesGrid { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; }
  .home-mode #topHitsRail .game-card:nth-child(-n+6) { display: flex !important; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .px-sec { --px-cols: 6; }
  .app-shell .game-rail-section { --rail-columns: 6; }
  .app-shell #sectionTopHits { --rail-columns: 5; }
  .games-grid, #mainGamesGrid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}
/* Gold accent dot in every icon, like the home page pills */
.px-chip svg, .px-chip.is-active svg,
.px-sec-title .px-ic svg, .px-prov-btn > svg:first-child,
.rail-icon-star .ui-icon { --nav-icon-accent: #00B175 !important; }

/* ==========================================================================
   v6 – grey placeholders while games load, no layout jumps
   ========================================================================== */
@keyframes pxSweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.game-thumb-box { background: #061B25; }
.game-thumb-box:not(.has-image):not(.has-error)::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 25%, rgba(120, 170, 200, .045) 50%, transparent 75%);
  animation: pxSweep 1.4s ease-in-out infinite; will-change: transform;
}
.game-thumb-box.has-image::after { content: none; }
.px-skel-card { pointer-events: none; }
.px-skel-card .game-thumb-box { border-color: #0A2330 !important; }
.px-skel-card .game-card-info { padding-top: 10px !important; }
.px-skel-line { display: block; width: 58%; height: 9px; border-radius: 6px; background: #081F2A; }
.px-track > .px-skel-card, .games-rail-scroll > .px-skel-card { flex-shrink: 0; }
.games-grid > .px-skel-card, #mainGamesGrid > .px-skel-card { width: 100%; }
.game-thumb-img { transition: opacity .25s ease; }
@media (prefers-reduced-motion: reduce) { .game-thumb-box::after { animation: none !important; } }

/* v7 – safety net for card shape and the provider list */
.game-card .game-thumb-box { aspect-ratio: 168 / 226 !important; height: auto !important; min-height: 0 !important; }
.px-prov-wrap { position: relative; z-index: 70; }
.px-prov-empty { padding: 14px 12px; color: var(--px-muted); font-size: 13px; }
/* Scrolled-to blocks stop below the sticky header */
.px-toolbar, .px-sec, #pxLiveSections, #pxProviders, #pxHotGames { scroll-margin-top: 88px; }
@media (max-width: 900px) { .px-toolbar, .px-sec, #pxLiveSections, #pxProviders, #pxHotGames { scroll-margin-top: 76px; } }

/* ==========================================================================
   v8 – provider wordmark tiles, latest bets monitor, site footer
   ========================================================================== */
/* ---------- Provider tiles (casino page + home) ---------- */
.px-home-block { margin-top: 30px; min-width: 0; scroll-margin-top: 88px; }
.px-home-block[hidden] { display: none !important; }
.px-home-block .px-sec-title h2 { font-family: var(--px-ui-font); }
.px-ptiles { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; cursor: grab; }
.px-ptiles::-webkit-scrollbar { display: none; }
.px-ptiles.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.px-ptiles.is-dragging .px-ptile { pointer-events: none; }
.px-ptile {
  flex: 0 0 160px; height: 76px; display: grid; place-items: center; padding: 10px 14px;
  border-radius: 14px; border: 1px solid var(--px-line); background: var(--px-grey-1);
  color: #E4EDF2; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.px-ptile:hover { background: var(--px-grey-2); border-color: var(--px-grey-3); transform: translateY(-2px); }
.px-ptile:focus-visible { outline: 2px solid #00B175; outline-offset: 2px; }
.px-ptile.is-skel { position: relative; overflow: hidden; cursor: default; pointer-events: none; }
.px-ptile.is-skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, rgba(120, 170, 200, .045) 50%, transparent 75%); animation: pxSweep 1.4s ease-in-out infinite; }
.px-wm-img { display: block; width: auto; height: auto; max-width: 120px; max-height: 42px; object-fit: contain; opacity: .88; filter: grayscale(1); transition: opacity .18s ease, transform .18s ease; }
.px-ptile:hover .px-wm-img { opacity: 1; transform: scale(1.03); }
.px-wm {
  display: block; max-width: 132px; font-family: var(--px-ui-font); font-size: 14px; font-weight: 800;
  line-height: 1.08; letter-spacing: .06em; text-transform: uppercase; text-align: center; color: #E4EDF2;
  overflow: hidden; text-overflow: ellipsis; opacity: .92; transition: opacity .18s ease;
}
.px-ptile:hover .px-wm { opacity: 1; }
.px-wm::after { content: ""; display: block; width: 5px; height: 5px; margin: 7px auto 0; border-radius: 50%; background: #00B175; }
.px-wm[data-wm="pg-soft"] { font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.px-wm[data-wm="netent"] { font-size: 21px; font-weight: 800; letter-spacing: -.03em; text-transform: none; }
.px-wm[data-wm="play-n-go"] { font-size: 18px; font-weight: 800; letter-spacing: -.01em; text-transform: none; }
.px-wm[data-wm="evolution"] { font-size: 13px; font-weight: 600; letter-spacing: .24em; }
.px-wm[data-wm="hacksaw-gaming"], .px-wm[data-wm="nolimit-city"], .px-wm[data-wm="spribe"] { font-size: 13px; letter-spacing: .16em; }
.px-wm[data-wm="bgaming"], .px-wm[data-wm="jili"], .px-wm[data-wm="egt"] { font-size: 18px; letter-spacing: .02em; }
.px-wm[data-wm="pragmatic-play"], .px-wm[data-wm="pragmatic-live"] { font-size: 13px; letter-spacing: .1em; }
@media (max-width: 600px) {
  .px-ptile { flex-basis: 128px; height: 64px; border-radius: 12px; }
  .px-wm { font-size: 12px; max-width: 108px; }
  .px-wm[data-wm="pg-soft"], .px-wm[data-wm="netent"], .px-wm[data-wm="play-n-go"] { font-size: 16px; }
}

/* ---------- Latest bets monitor ---------- */
.px-bets-dot { width: 9px; height: 9px; border-radius: 50%; background: #00C482; box-shadow: 0 0 0 0 rgba(0, 196, 130, .5); animation: pxPulse 1.8s ease-out infinite; flex-shrink: 0; margin: 0 2px 0 4px; }
@keyframes pxPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 196, 130, .45); } 100% { box-shadow: 0 0 0 9px rgba(0, 196, 130, 0); } }
.px-bets-table { border-radius: 16px; border: 1px solid var(--px-line); background: #03141C; overflow: hidden; font-family: var(--px-ui-font); }
.px-bets-row {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) 76px minmax(0, 1.1fr) 88px minmax(0, 1.2fr);
  align-items: center; gap: 12px; min-height: 50px; padding: 0 18px; font-size: 13.5px; color: #D5E1E8;
}
.px-bets-row:nth-child(even) { background: #051822; }
.px-bets-row.is-head { min-height: 42px; font-size: 12px; font-weight: 600; color: var(--px-dim); background: #021119; border-bottom: 1px solid var(--px-line-soft); }
.px-bets-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-c-num { text-align: right; font-variant-numeric: tabular-nums; }
.px-c-game { display: flex; align-items: center; gap: 10px; }
.px-c-game i { width: 24px; height: 24px; flex-shrink: 0; border-radius: 7px; background: var(--px-grey-2); position: relative; }
.px-c-game i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 6px; height: 6px; border-radius: 50%; background: #00B175; }
.px-c-game b { font-weight: 600; color: #E9F0F4; overflow: hidden; text-overflow: ellipsis; }
.px-c-player { color: var(--px-grey-text); }
.px-c-time { color: var(--px-dim); }
.px-bets-row .is-win { color: #00C482; font-weight: 600; }
.px-bets-row .is-loss { color: var(--px-dim); }
.px-bets-row.is-new { animation: pxBetIn .5s ease both; }
@keyframes pxBetIn { from { opacity: 0; transform: translateY(-8px); background: #0A222F; } to { opacity: 1; transform: none; } }
.px-bets-row.is-skel { position: relative; overflow: hidden; }
.px-bets-row.is-skel::after { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; height: 10px; margin-top: -5px; border-radius: 6px; background: #081E29; }
.px-bets-empty { padding: 30px 18px; text-align: center; font-size: 13.5px; color: var(--px-muted); }
@media (max-width: 760px) {
  .px-bets-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 10px; padding: 0 12px; font-size: 12.5px; }
  .px-bets-row .px-c-time, .px-bets-row .px-c-mult, .px-bets-row > .px-c-num:nth-child(4) { display: none; }
  .px-c-game i { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { .px-bets-dot, .px-bets-row.is-new, .px-ptile.is-skel::after { animation: none; } }

/* ---------- Footer (all pages) ---------- */
footer.app-footer.px-footer { background: #010F16; border-top: 1px solid #09202C; padding: 46px 40px 30px; margin-top: 56px; font-family: var(--px-ui-font); }
body[data-px="sports"] footer.app-footer.px-footer { margin-top: 0; }
.px-footer .pxf-inner { max-width: 1560px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.px-footer .pxf-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.px-footer .pxf-brand img { height: 24px; width: auto; object-fit: contain; display: block; }
.px-footer .pxf-brand p { margin: 14px 0 16px; max-width: 300px; font-size: 13px; line-height: 1.6; color: var(--px-muted); }
.px-footer .pxf-badges { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--px-dim); }
.px-footer .pxf-18 { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; border: 1px solid var(--px-grey-3); color: #E4EDF2; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.px-footer .pxf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.px-footer .pxf-col h5 { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #E9F0F4; letter-spacing: 0; text-transform: none; }
.px-footer .pxf-col button, .px-footer .pxf-col a { padding: 6px 0; border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--px-muted); text-align: left; text-decoration: none; cursor: pointer; transition: color .15s ease; }
.px-footer .pxf-col button:hover, .px-footer .pxf-col a:hover { color: #FFFFFF; }
.px-footer .pxf-safe { display: flex; align-items: flex-start; gap: 14px; padding: 22px 0; border-top: 1px solid #09202C; border-bottom: 1px solid #09202C; scroll-margin-top: 100px; }
.px-footer .pxf-safe p { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--px-dim); max-width: 980px; }
.px-footer .pxf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--px-dim); }
.px-footer .pxf-cur { display: flex; gap: 8px; }
.px-footer .pxf-cur b { padding: 5px 10px; border-radius: 8px; background: var(--px-grey-1); border: 1px solid var(--px-line); color: var(--px-grey-text); font-weight: 600; }
@media (max-width: 1100px) { .px-footer .pxf-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } .px-footer .pxf-brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { footer.app-footer.px-footer { padding: 36px 20px 100px; } }
@media (max-width: 600px) {
  .px-footer .pxf-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .px-footer .pxf-safe { flex-direction: column; gap: 10px; }
}
/* Home order: game rows first, then providers, then the bets monitor */
#pxHomeProviders { order: 20; }
#pxBets { order: 21; }
#catalogGridSection { order: 30; }
.px-c-game button { min-width: 0; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: #E9F0F4; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.px-c-game button:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #00B175; }

/* ---------- Latest bets: glass (v12) ---------- */
.px-bets-table {
  position: relative;
  background: linear-gradient(160deg, rgba(120, 170, 200, .06), rgba(120, 170, 200, .015) 45%, rgba(120, 170, 200, .03));
  border: 1px solid rgba(120, 170, 200, .09);
  -webkit-backdrop-filter:none; backdrop-filter:none;
  box-shadow: inset 0 1px 0 rgba(120, 170, 200, .07), 0 20px 50px -30px rgba(0, 7, 11, .8);
}
.px-bets-row.is-head { background: rgba(120, 170, 200, .04); border-bottom-color: rgba(120, 170, 200, .07); }
.px-bets-row:nth-child(even) { background: rgba(120, 170, 200, .025); }
.px-bets-row:not(.is-head):hover { background: rgba(120, 170, 200, .05); }
.px-c-game i { background: rgba(120, 170, 200, .08); }
.px-c-game i::after { background: #A4BDCB; }
.px-bets-row.is-skel::after { background: rgba(120, 170, 200, .06); }

/* ---------- Image banners (v16) ----------
   Finished banner artwork shown whole (never cropped or zoomed):
   3:1 on desktop/tablet, 4:5 on phones (<=600px). */
.px-banners { position: relative; min-width: 0; border-radius: 22px; overflow: hidden; isolation: isolate; background: #0B0D12; border: 1px solid rgba(120, 170, 200, .06); }
.px-banners-track { position: relative; aspect-ratio: 3 / 1; }
.px-banner { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.px-banner.is-active { opacity: 1; visibility: visible; z-index: 1; }
.px-banner picture, .px-banner img { display: block; width: 100%; height: 100%; }
.px-banner img { object-fit: cover; object-position: center; }
.px-banner:focus-visible { outline: 2px solid #00AD72; outline-offset: -4px; border-radius: 22px; }
.px-banners-dots { position: absolute; right: 18px; bottom: 16px; z-index: 3; display: flex; gap: 6px; padding: 6px 8px; border-radius: 99px; background: rgba(0, 12, 18, .5); backdrop-filter:none; }
.px-banners-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(120, 170, 200, .3); cursor: pointer; transition: width .3s ease, background .3s ease; }
.px-banners-dots button.is-active { width: 22px; background: #D5E1E8; }
.px-banners-arrows { position: absolute; top: 50%; left: 10px; right: 10px; z-index: 3; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.px-banners:hover .px-banners-arrows, .px-banners:focus-within .px-banners-arrows { opacity: 1; }
.px-banners-arrows button { pointer-events: auto; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border-radius: 99px; border: 1px solid rgba(120, 170, 200, .14); background: rgba(0, 13, 19, .6); color: #F2F6F8; backdrop-filter:none; cursor: pointer; }
.px-banners-arrows button:hover { border-color: rgba(120, 170, 200, .35); }
.px-banners-arrows svg { width: 15px; height: 15px; }

/* ---------- Banner row: banner + two cards (v18) ----------
   Desktop: banner (3:1) with two portrait cards beside it, all the same height.
   Tablet: banner on top, two wide cards under it.
   Phones: short 2:1 banner, then a small 1win-style row: one wide card (text
   left, art right) and one small card (title on top, art below). */
.px-home-hero, .app-shell .hero-two-cards-grid.px-home-hero { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, .75fr) minmax(0, .75fr) !important; gap: 16px; align-items: stretch; height: auto; }
.px-home-hero > .px-banners { align-self: start; }
.px-promo {
  position: relative; display: block; min-width: 0; height: 100%; padding: 0; overflow: hidden; isolation: isolate;
  border-radius: 22px; border: 1px solid rgba(120, 170, 200, .07); color: #F2F6F8; text-align: left; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(120, 170, 200, .06);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.px-promo.is-steel { background: radial-gradient(90% 60% at 50% 52%, rgba(145, 173, 190, .16), transparent 70%), linear-gradient(165deg, #0E2B39 0%, #09202C 48%, #153344 100%); }
.px-promo.is-navy { background: radial-gradient(90% 60% at 50% 52%, rgba(70, 110, 160, .2), transparent 70%), linear-gradient(165deg, #0B1220 0%, #0A1426 48%, #15304D 100%); }
.px-promo:hover { border-color: rgba(18, 199, 139, .35); box-shadow: inset 0 1px 0 rgba(120, 170, 200, .07), 0 18px 40px -24px rgba(0, 7, 11, .9); }
.px-promo:focus-visible { outline: 2px solid #00AD72; outline-offset: 3px; }
.px-promo-art { position: absolute; z-index: 1; left: 7%; right: 7%; top: 25%; bottom: 23%; width: 86%; height: 52%; object-fit: contain; object-position: center; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(0, 7, 11, .45)); }
.px-promo-head { position: absolute; z-index: 2; top: 8%; left: 8px; right: 8px; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.02; letter-spacing: -.02em; font-family: 'Inter', 'Onest', system-ui, sans-serif; font-size: clamp(17px, 1.6vw, 26px); }
.px-promo-head strong { font-weight: 700; color: #DBE6EC; }
.px-promo-head span { font-weight: 400; color: #B4C9D5; }
.px-promo-foot { position: absolute; z-index: 2; left: 10%; right: 10%; bottom: 7%; display: flex; flex-direction: column; gap: 5px; }
.px-promo-foot small { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #B4C9D5; line-height: 1.2; }
.px-promo-foot em { display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-size: 13px; font-weight: 600; color: #12C78B; }
.px-promo-foot em svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.px-promo:hover .px-promo-foot em svg { transform: translateX(3px); }

@media (max-width: 1100px) {
  .px-home-hero, .app-shell .hero-two-cards-grid.px-home-hero { grid-template-columns: 1fr 1fr !important; gap: 14px; }
  .px-home-hero > .px-banners { grid-column: 1 / -1; }
}
/* tablets: wide cards, art on the right, text on the left */
@media (min-width: 601px) and (max-width: 1100px) {
  .px-promo { height: 210px; }
  .px-promo-art { left: auto; right: 5%; top: 10%; bottom: 10%; width: 50%; height: 80%; }
  .px-promo-head { top: 26px; left: 26px; right: auto; align-items: flex-start; text-align: left; font-size: 26px; }
  .px-promo-foot { left: 26px; right: auto; bottom: 24px; }
}
/* phones: short banner + one wide card and one small card, like an app home */
@media (max-width: 600px) {
  .px-banners, .px-banner:focus-visible { border-radius: 16px; }
  .px-banners-track { aspect-ratio: 2 / 1; }
  .px-banners-dots { right: auto; left: 14px; bottom: 10px; padding: 4px 6px; gap: 5px; }
  .px-banners-dots button { width: 6px; height: 6px; }
  .px-banners-dots button.is-active { width: 16px; }
  .px-banners-arrows { display: none; }

  .px-home-hero, .app-shell .hero-two-cards-grid.px-home-hero { grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr) !important; gap: 10px; }
  .px-promo { height: auto; aspect-ratio: auto; min-height: 0; height: clamp(104px, 31vw, 128px); border-radius: 16px; }
  .px-promo-art { filter: drop-shadow(0 8px 12px rgba(0, 7, 11, .5)); }

  /* first card: wide – warm graphite, text left, art right */
  .px-home-hero > .px-promo:nth-child(2) { background: radial-gradient(80% 120% at 85% 50%, rgba(14, 194, 134, .22), transparent 65%), linear-gradient(105deg, #143242 0%, #0B2633 46%, #081F2A 100%); }
  .px-home-hero > .px-promo:nth-child(2) .px-promo-head { top: 14px; left: 14px; right: auto; align-items: flex-start; text-align: left; font-size: 16px; line-height: 1.08; }
  .px-home-hero > .px-promo:nth-child(2) .px-promo-head span { color: #C8D7E0; }
  .px-home-hero > .px-promo:nth-child(2) .px-promo-art { left: auto; right: -2%; top: 8%; bottom: auto; width: 54%; height: 86%; object-position: right center; }
  .px-home-hero > .px-promo:nth-child(2) .px-promo-foot { left: 14px; right: auto; bottom: 12px; gap: 2px; max-width: 48%; }
  .px-home-hero > .px-promo:nth-child(2) .px-promo-foot small { font-size: 10px; letter-spacing: .02em; text-transform: none; color: #BBCED9; }
  .px-home-hero > .px-promo:nth-child(2) .px-promo-foot em { font-size: 11.5px; }

  /* second card: small – cool steel, title on top, the whole machine below (same as desktop) */
  .px-home-hero > .px-promo:nth-child(3) { background: radial-gradient(90% 70% at 50% 85%, rgba(160, 180, 205, .28), transparent 70%), linear-gradient(180deg, #416F87 0%, #163445 55%, #0B2633 100%); }
  .px-home-hero > .px-promo:nth-child(3) .px-promo-head { top: 11px; font-size: 14px; flex-direction: row; justify-content: center; gap: 4px; }
  .px-home-hero > .px-promo:nth-child(3) .px-promo-head span { color: #D4E0E8; }
  .px-home-hero > .px-promo:nth-child(3) .px-promo-art { left: 8%; right: 8%; top: 31%; bottom: 7%; width: 84%; height: 62%; object-fit: contain; object-position: center; }
  .px-home-hero > .px-promo:nth-child(3) .px-promo-foot { display: none; }

  /* Casino and Live casino pages: banner only on phones (the small card row is for Home) */
  .px-page-hero, .app-shell .px-page-hero { grid-template-columns: minmax(0, 1fr) !important; }
  .px-page-hero > .px-promo { display: none; }
}
/* Casino / Live casino: banner + one featured game card */
.px-page-hero.has-feature { grid-template-columns: minmax(0, 3fr) minmax(0, 1.22fr) !important; }
.px-page-hero.no-feature { grid-template-columns: minmax(0, 1fr) !important; }
.px-feature { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 16px 14px; border-radius: 22px; overflow: hidden; isolation: isolate; border: 1px solid rgba(120, 170, 200, .07); box-shadow: inset 0 1px 0 rgba(120, 170, 200, .06); color: #F2F6F8; }
.px-feature.is-navy { background: radial-gradient(60% 55% at 50% 52%, rgba(90, 130, 190, .28), transparent 72%), linear-gradient(180deg, #0F1A2E 0%, #0A1324 55%, #0D1C33 100%); }
.px-feature.is-steel { background: radial-gradient(60% 55% at 50% 52%, rgba(167, 192, 206, .18), transparent 72%), linear-gradient(180deg, #0D2937 0%, #081F2A 55%, #102D3B 100%); }
.px-feature-bg { position: absolute; inset: 0; z-index: -1; background-position: center; background-size: cover; background-repeat: no-repeat; pointer-events: none; }
.px-feature.is-navy .px-feature-bg { background-image: url(/img/cards/feature-navy.webp); }
.px-feature.is-steel .px-feature-bg { background-image: url(/img/cards/feature-steel.webp); }
.px-feature-head { display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 100%; text-align: center; text-shadow: 0 2px 10px rgba(0, 7, 11, .7); }
.px-feature-head strong { font-family: 'Inter', 'Onest', system-ui, sans-serif; font-size: clamp(17px, 1.45vw, 23px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: #EEF3F6; }
.px-feature-prov { display: inline-flex; align-items: center; gap: 3px; padding: 2px 4px; border: 0; background: none; color: #C1D2DC; font-size: 13px; font-weight: 500; cursor: pointer; }
.px-feature-prov:hover { color: #FFFFFF; }
.px-feature-prov svg { width: 13px; height: 13px; }
.px-feature-game { position: relative; flex: 1 1 auto; min-height: 0; height: 0; aspect-ratio: 3 / 4; max-width: 100%; padding: 0; border: 1px solid rgba(120, 170, 200, .14); border-radius: 14px; overflow: hidden; background: #141820; cursor: pointer; box-shadow: 0 18px 34px -16px rgba(0, 7, 11, .85); transition: border-color .2s ease; }
.px-feature-game:hover { border-color: rgba(18, 199, 139, .5); }
.px-feature-game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.px-feature-game.is-skel { background: linear-gradient(110deg, #071C27 30%, #0C2835 50%, #071C27 70%); background-size: 220% 100%; animation: pxFeatSkel 1.4s linear infinite; }
@keyframes pxFeatSkel { to { background-position: -220% 0; } }
.px-feature-play { width: 100%; height: 40px; flex: 0 0 auto; border: 0; border-radius: 12px; background: #E9F0F4; color: #03131B; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.px-feature-play:hover { background: #FFFFFF; }
.px-feature-play:focus-visible, .px-feature-game:focus-visible, .px-feature-prov:focus-visible { outline: 2px solid #00AD72; outline-offset: 2px; }
@media (max-width: 1100px) {
  .px-page-hero.has-feature { grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr) !important; gap: 12px; }
  .px-page-hero.has-feature > .px-banners { grid-column: auto; }
  .px-feature { padding: 12px 12px 10px; gap: 8px; border-radius: 18px; }
  .px-feature-head strong { font-size: 15px; white-space: nowrap; }
  .px-feature-prov { font-size: 12px; }
  .px-feature-play { height: 34px; font-size: 13px; border-radius: 10px; }
}
@media (max-width: 760px) {
  .px-page-hero.has-feature { grid-template-columns: minmax(0, 1fr) !important; }
  .px-feature { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .px-feature-game, .px-feature-play { transition: none; } .px-feature-game.is-skel { animation: none; } }

@media (prefers-reduced-motion: reduce) { .px-banner, .px-promo, .px-promo-foot em svg { transition: none; } }

/* v22 – phones: "Top games right now" uses the same 3-per-row size as the other rails */
@media (max-width: 650px) {
  .home-mode #sectionTopHits, .app-shell #sectionTopHits { --rail-columns: 3 !important; }
  .app-shell #topHitsRail .game-card { padding-left: 16px !important; }
  .app-shell #topHitsRail .game-card::before { font-size: 52px !important; bottom: 44px !important; -webkit-text-stroke-width: 1.2px; }
  .home-mode #topHitsRail .game-card:nth-child(-n+9) { display: flex !important; }
}
