:root {
  --rtpx-public-button-hover-lift: -1px;
  --rtpx-public-button-hover-brightness: 1.07;
  --rtpx-public-button-active-scale: .982;
  --rtpx-public-button-focus: color-mix(in srgb,var(--rtpx-button-accent,var(--accent,#12b857)) 72%,white 10%);
  --rtpx-public-button-transition: background-color .14s ease,border-color .14s ease,color .14s ease,opacity .09s ease,transform .09s ease,filter .14s ease;
}

@media (hover:hover) and (pointer:fine) {
  body:not(.admin-page) .game-pola-close:hover {
    border-color: rgba(255,255,255,.18);
    background: transparent;
    filter: none;
    opacity: .88;
  }
}

@media (prefers-reduced-motion:reduce) {
  body:not(.admin-page) :where(button,a,[role="button"]):is(:hover,:active) {
    transform: none;
    filter: none;
  }
}

/* Stable glass paint profile: reflection remains visual while expensive blur is adaptive. */
@media (max-width:1024px),(pointer:coarse) {
  body:not(.admin-page) {
    --rtpx-glass-filter-control: none;
    --rtpx-glass-filter-panel: none;
    --rtpx-glass-filter-compact: none;
    --header-glass-filter-mobile: none;
    --header-menu-filter: none;
    background-attachment: scroll;
  }
}

html.is-mobile-low-end-runtime body:not(.admin-page),
html.is-low-end-runtime body:not(.admin-page),
html.is-save-data-runtime body:not(.admin-page) {
  --rtpx-glass-filter-control: none;
  --rtpx-glass-filter-panel: none;
  --rtpx-glass-filter-compact: none;
  --header-glass-filter: none;
  --header-glass-filter-mobile: none;
  --header-menu-filter: none;
  background-attachment: scroll;
}

html.is-rtpx-vertical-scrolling body:not(.admin-page) :where(.site-header,.global-header,.jackpot-header) {
  will-change: auto;
}

html.is-rtpx-vertical-scrolling body:not(.admin-page) .rtp-home-hero__side-fade {
  will-change: auto;
}
