/* module: game title dropup */

:root {
  --rtpx-dropup-title-text: var(--text);
  --rtpx-dropup-title-bg: color-mix(in srgb,var(--surface) 86%,transparent);
  --rtpx-dropup-title-border: color-mix(in srgb,var(--text) 16%,transparent);
  --rtpx-dropup-title-radius: 10px;
  --rtpx-smart-skeleton-base: color-mix(in srgb,var(--surface,#11131a) 74%,#fff 8%);
  --rtpx-smart-skeleton-line: linear-gradient(90deg,rgba(255,255,255,.045) 0%,rgba(255,255,255,.115) 46%,rgba(255,255,255,.045) 82%);
  --rtpx-smart-focus: color-mix(in srgb,var(--rtpx-button-accent,var(--accent,#12b857)) 72%,transparent);
  --rtpx-smart-progress-track: color-mix(in srgb,var(--text,#fff) 10%,transparent);
  --rtpx-smart-progress-fill: var(--rtpx-button-accent,var(--accent,#12b857));
  --rtpx-smart-progress-height: 2px;
}

/* module: mobile performance */

@media (max-width:820px),(pointer:coarse) {
  html {
    scroll-behavior: auto;
    overscroll-behavior-x: none;
  }
  body {
    background-attachment: scroll;
    overscroll-behavior-y: auto;
  }
  .win-proof-card, .all-wins-card, .game-pola-card {
    contain: layout paint style;
    will-change: auto;
    animation: none;
  }
  .win-proof-card {
    animation: none;
    transform: none;
    will-change: auto;
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  [data-rtpx-lazy-section="loading"]::after,html.is-rtpx-scrolling body:not(.admin-page) [data-rtpx-dropup-title]::after {
    animation: none;
    transition: none;
    will-change: auto;
  }
}

/* module: smart UI */


.rtpx-media-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--rtpx-smart-skeleton-line);
  background-size: 220% 100%;
  animation: rtpxSmartSkeletonShine 1.8s linear infinite;
  animation-play-state: running;
}

[data-rtpx-skeleton-visible="false"]::after {
  animation-play-state: paused;
  opacity: .28;
}

@keyframes rtpxSmartSkeletonShine {
  0% {
    background-position-x: 100%;
  }
  56%,100% {
    background-position-x: -100%;
  }
}

.rtpx-media-loading {
  position: relative;
  overflow: hidden;
  background: var(--rtpx-smart-skeleton-base);
}

.rtpx-media-loading>img,.rtpx-media-loading picture>img {
  opacity: .18;
}

.rtpx-media-ready::after {
  content: none;
}

.rtpx-media-ready>img,.rtpx-media-ready picture>img {
  opacity: 1;
}

[data-rtpx-smart-tab="true"] {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .18s ease,color .18s ease,opacity .16s ease,border-color .18s ease;
}

.rtpx-lazy-section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
  overflow-anchor: none;
}

.rtpx-lazy-section[data-rtpx-lazy-state="pending"],.rtpx-lazy-section[data-rtpx-lazy-state="near"],.rtpx-lazy-section[data-rtpx-lazy-state="ready"] {
  contain: layout style;
}

@media (prefers-reduced-motion:reduce) {
  .rtpx-media-loading::after {
    animation: none;
  }
}

