/* Shared pattern-preview visual rules, centralized from page bundles */

.game-card .game-pola-preview {
  display: block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--game-card-text,#fff);
  background: transparent;
  min-height: var(--pola-preview-stable-height,104px);
  box-shadow: none;
  overflow: visible;
  contain: layout paint style;
}

.game-card .game-pola-preview-head,.game-card .game-pola-preview-badge,.game-card .game-pola-preview-label {
  display: none;
}

.game-card .game-pola-preview-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 2px 0;
  border: 1px solid var(--pola-preview-panel-border,rgba(255,255,255,.14));
  border-radius: var(--pola-preview-panel-radius,16px);
  background: var(--pola-preview-bg,linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04)));
  overflow: hidden;
  box-shadow: none;
}

.game-card .game-pola-preview-item {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1px minmax(0,1fr);
  align-items: center;
  column-gap: 6px;
  min-width: 0;
  min-height: var(--pola-preview-row-min-height,34px);
  margin: 0;
  padding: 6px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.game-card .game-pola-preview-item:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.game-card .game-pola-preview-item::before,.game-card .game-pola-preview-item::after {
  content: "";
  display: block;
}

.game-card .game-pola-preview-item::before {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  width: 15px;
  height: 15px;
  background-color: var(--pola-preview-icon-color,var(--rtpx-button-accent,#fff));
  opacity: .95;
  -webkit-mask: var(--pola-preview-icon)center/contain no-repeat;
  mask: var(--pola-preview-icon)center/contain no-repeat;
}

.game-card .game-pola-preview-item::after {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.14);
}

.game-card .game-pola-preview-item:nth-child(1) {
  --pola-preview-icon: url("https://i.postimg.cc/3NtHLdnJ/thunder.png");
}

.game-card .game-pola-preview-item:nth-child(2) {
  --pola-preview-icon: url("https://i.postimg.cc/1zdnd37Y/replay.png");
}

.game-card .game-pola-preview-item:nth-child(3) {
  --pola-preview-icon: url("https://i.postimg.cc/c45SwtKW/star.png");
}

.game-card .game-pola-preview-copy {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  justify-items: start;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
  text-align: left;
  grid-column: 3;
  grid-row: 1;
}

.game-card .game-pola-preview-item strong,.game-card .game-pola-preview-item small,.game-card .game-pola-preview-spin,.game-card .game-pola-preview-feature {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.game-card .game-pola-preview-item strong,.game-card .game-pola-preview-spin {
  order: 2;
  color: rgba(255,255,255,.96);
  font-size: var(--pola-preview-spin-size,8.8px);
  font-weight: var(--text-weight-strong,900);
  line-height: 1.08;
  letter-spacing: .01em;
  word-spacing: normal;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.game-card .game-pola-preview-item small,.game-card .game-pola-preview-feature {
  order: 1;
  color: rgba(255,255,255,.70);
  font-size: var(--pola-preview-feature-size,7.2px);
  font-weight: var(--text-weight-ui,850);
  line-height: 1.05;
  letter-spacing: .025em;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.game-card .game-pola-preview-empty {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 8px;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: var(--pola-preview-panel-radius,16px);
  color: rgba(255,255,255,.62);
  background: var(--pola-preview-bg,rgba(255,255,255,.035));
  font-size: 10.5px;
  font-weight: var(--text-weight-ui,850);
  text-align: center;
}

@media (max-width:640px) {
  .game-card .game-pola-preview {
    margin-top: 8px;
    min-height: 96px;
  }
}

@media (max-width:640px) {
  .game-card .game-pola-preview-list {
    border-radius: 14px;
  }
}

@media (max-width:640px) {
  .game-card .game-pola-preview-item {
    grid-template-columns: 20px 1px minmax(0,1fr);
    column-gap: 5px;
    min-height: 31px;
    padding: 5px 7px;
  }
}

@media (max-width:640px) {
  .game-card .game-pola-preview-item::before {
    width: 14px;
    height: 14px;
  }
}

@media (max-width:640px) {
  .game-card .game-pola-preview-item::after {
    height: 20px;
  }
}

@media (max-width:640px) {
  .game-card .game-pola-preview-spin {
    font-size: 8.4px;
  }
}

@media (max-width:640px) {
  .game-card .game-pola-preview-feature {
    font-size: 6.9px;
  }
}

:root {
  --rtpx-global-game-card-width: clamp(224px,14.5vw,252px);
  --rtpx-global-game-card-gap: clamp(14px,1.15vw,18px);
  --rtpx-global-game-card-padding: clamp(9px,.72vw,12px);
  --rtpx-global-game-card-radius: clamp(17px,1.15vw,21px);
  --rtpx-global-game-media-radius: clamp(12px,.9vw,16px);
  --rtpx-global-game-media-ratio: 1 / 1;
  --rtpx-global-game-pattern-gap: 9px;
  --rtpx-global-game-pattern-row-min-height: 44px;
  --rtpx-global-game-action-height: 36px;
}

body:not(.admin-page) {
  --rtpx-rail-card-width: var(--rtpx-global-game-card-width);
  --catalog-card-width: var(--rtpx-global-game-card-width);
  --featured-card-width: var(--rtpx-global-game-card-width);
  --game-card-gap: var(--rtpx-global-game-card-gap);
  --catalog-card-gap: var(--rtpx-global-game-card-gap);
  --featured-card-gap: var(--rtpx-global-game-card-gap);
  --game-card-media-ratio: var(--rtpx-global-game-media-ratio);
  --rtpx-home-game-media-ratio: var(--rtpx-global-game-media-ratio);
  --game-card-media-fit: contain;
}

body:not(.admin-page) :is(.content-row-rail,.featured-rail,.game-pola-top20-rail,.jackpot-top20-rail,.jackpot-related-rail,[data-api-rail],[data-top20-rail],[data-jackpot-top20]) {
  gap: var(--rtpx-global-game-card-gap);
  align-items: flex-start;
}

body:not(.admin-page) :is(.content-row-rail,.featured-rail,.game-pola-top20-rail,.jackpot-top20-rail,.jackpot-related-rail,[data-api-rail],[data-top20-rail],[data-jackpot-top20]) > :is(.game-card,.feature-island-card.game-card,.jackpot-rail-card) {
  flex: 0 0 var(--rtpx-global-game-card-width);
  width: var(--rtpx-global-game-card-width);
  min-width: var(--rtpx-global-game-card-width);
  max-width: var(--rtpx-global-game-card-width);
  height: auto;
  min-height: 0;
  max-height: none;
  align-self: flex-start;
  overflow: visible;
}

body:not(.admin-page) :is(.game-card,.feature-island-card.game-card,.jackpot-rail-card) {
  --game-card-media-ratio: var(--rtpx-global-game-media-ratio);
  width: var(--rtpx-global-game-card-width);
  min-width: var(--rtpx-global-game-card-width);
  max-width: var(--rtpx-global-game-card-width);
  height: auto;
  min-height: 0;
  max-height: none;
  contain: layout style;
}

body:not(.admin-page) :is(.game-card,.feature-island-card.game-card) .game-card-shell {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: var(--rtpx-global-game-card-padding);
  border-radius: var(--rtpx-global-game-card-radius);
  overflow: hidden;
}

body:not(.admin-page) :is(.game-card,.feature-island-card.game-card) :is(.game-card-hit,.game-card-media-shell,.feature-card-hit,.game-cover,.game-cover-frame,.feature-cover) {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: var(--rtpx-global-game-media-ratio);
  min-height: 0;
  max-height: none;
  border-radius: var(--rtpx-global-game-media-radius);
  overflow: hidden;
}

body:not(.admin-page) :is(.game-card,.feature-island-card.game-card) :is(.game-card-media-shell>img,.game-cover>img,.game-cover-frame>img,.feature-cover>img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  transition: opacity .12s ease;
  background: var(--game-card-bg-active,var(--theme-container-bg,#363737));
}

body:not(.admin-page) .game-card .game-progress {
  width: 100%;
  margin-top: 9px;
}

body:not(.admin-page) .game-card .game-pola-preview {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin-top: var(--rtpx-global-game-pattern-gap);
  margin-bottom: 0;
  overflow: visible;
  contain: layout style;
}

body:not(.admin-page) .game-card .game-pola-preview-list {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 3px 0;
  overflow: hidden;
}

body:not(.admin-page) .game-card .game-pola-preview-item {
  display: grid;
  grid-template-columns: 24px 1px minmax(0,1fr);
  align-items: center;
  width: 100%;
  height: auto;
  min-height: var(--rtpx-global-game-pattern-row-min-height);
  max-height: none;
  padding: 7px 9px;
  overflow: visible;
}

body:not(.admin-page) .game-card .game-pola-preview-item::after {
  height: 26px;
}

body:not(.admin-page) .game-card :is(.game-pola-preview-copy,.game-pola-preview-item strong,.game-pola-preview-item small,.game-pola-preview-spin,.game-pola-preview-feature) {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: normal;
}

body:not(.admin-page) .game-card .game-pola-preview-copy {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  align-content: center;
  gap: 2px;
}

body:not(.admin-page) .game-card .game-card-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin-top: 9px;
  overflow: visible;
}

body:not(.admin-page) .game-card .game-action-button {
  width: 100%;
  height: var(--rtpx-global-game-action-height);
  min-height: var(--rtpx-global-game-action-height);
  max-height: none;
  padding-inline: 10px;
}

body:not(.admin-page) :is(.content-row.api-content-row,.game-pola-top20-section,.jackpot-top20,.jackpot-related,.content-row-stage,.api-content-stage,.game-pola-top20-stage,.jackpot-top20-stage,.jackpot-related-stage) {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

body[data-page="home"] :is(#section-top20,#section-slots,#section-new,#section-buy-freespin).content-row.api-content-row {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto auto;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

body[data-page="home"] :is(#section-top20,#section-slots,#section-new,#section-buy-freespin) :is(.content-row-stage.api-content-stage,.content-row-rail,.game-card,.feature-island-card.game-card,.game-card-shell) {
  height: auto;
  min-height: 0;
  max-height: none;
}

body[data-page="home"] :is(#section-top20,#section-slots,#section-new,#section-buy-freespin) .game-card .game-pola-preview,
body[data-page="home"] :is(#section-top20,#section-slots,#section-new,#section-buy-freespin) .game-card .game-pola-preview-list,
body[data-page="home"] :is(#section-top20,#section-slots,#section-new,#section-buy-freespin) .game-card .game-pola-preview-item,
body[data-page="home"] :is(#section-top20,#section-slots,#section-new,#section-buy-freespin) .game-card .game-card-actions,
body[data-page="home"] :is(#section-top20,#section-slots,#section-new,#section-buy-freespin) .game-card .game-action-button {
  height: auto;
  min-height: 0;
  max-height: none;
}

body[data-page="home"] :is(#section-top20,#section-slots,#section-new,#section-buy-freespin) .game-card .game-pola-preview-item {
  min-height: var(--rtpx-global-game-pattern-row-min-height);
}

body[data-page="home"] :is(#section-top20,#section-slots,#section-new,#section-buy-freespin) .game-card .game-action-button {
  min-height: var(--rtpx-global-game-action-height);
}

.provider-filter-strip[role="tablist"] {
  isolation: isolate;
}

.provider-filter-strip[role="tablist"] .provider-chip[role="tab"] {
  flex: 0 0 auto;
}

.provider-filter-strip[role="tablist"] .provider-chip[role="tab"][aria-selected="true"] {
  outline: 0;
}

#catalog[role="tabpanel"] {
  min-width: 0;
}

@media (min-width:641px) and (max-width:1024px) {
  :root {
    --rtpx-global-game-card-width: clamp(204px,28vw,232px);
    --rtpx-global-game-card-gap: clamp(12px,1.8vw,17px);
    --rtpx-global-game-card-padding: 10px;
    --rtpx-global-game-pattern-row-min-height: 43px;
  }
}

@media (max-width:640px) {
  :root {
    --rtpx-global-game-card-width: clamp(176px,48vw,204px);
    --rtpx-global-game-card-gap: 11px;
    --rtpx-global-game-card-padding: 8px;
    --rtpx-global-game-card-radius: 16px;
    --rtpx-global-game-media-radius: 12px;
    --rtpx-global-game-pattern-row-min-height: 40px;
    --rtpx-global-game-action-height: 34px;
  }
  body:not(.admin-page) .game-card .game-pola-preview-item {
    grid-template-columns: 21px 1px minmax(0,1fr);
    column-gap: 5px;
    padding: 6px 7px;
  }
  body:not(.admin-page) .game-card .game-pola-preview-item::before {
    width: 14px;
    height: 14px;
  }
  body:not(.admin-page) .game-card .game-pola-preview-item::after {
    height: 23px;
  }
  body:not(.admin-page) .game-card .game-action-button {
    padding-inline: 7px;
  }
}

:is(.game-pola-top20-stage,.jackpot-top20-stage,.jackpot-related-stage) {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

:is(.game-pola-top20-rail,.jackpot-top20-rail,.jackpot-related-rail) {
  height: auto;
  min-height: 0;
  max-height: none;
  align-items: flex-start;
}

:is(.game-pola-top20-rail,.jackpot-top20-rail,.jackpot-related-rail) .game-card-shell {
  height: auto;
  min-height: 0;
  max-height: none;
}

body:not(.admin-page) :is(.content-row-rail[data-api-rail],.content-row-rail,.featured-rail) > :is(.game-card,.feature-island-card) {
  align-self: flex-start;
  height: auto;
  min-height: 0;
  max-height: none;
}

body:not(.admin-page) :is(.content-row-rail[data-api-rail],.content-row-rail,.featured-rail) :is(.game-card-shell,.feature-island-card.game-card .game-card-shell) {
  height: auto;
  min-height: 0;
  max-height: none;
  align-self: flex-start;
  align-content: start;
  grid-auto-rows: auto;
  overflow: hidden;
}

body:not(.admin-page) .news-section.api-spotlight-section.shell {
  --rtpx-winner-section-head-height: var(--rtpx-global-rail-head-height,36px);
  --rtpx-winner-section-head-gap: var(--rtpx-global-rail-head-gap,7px);
  --rtpx-winner-section-pad-y: var(--rtpx-global-rail-pad-y,5px);
  --rtpx-winner-section-pad-bottom: max(var(--rtpx-global-rail-pad-bottom,5px),10px);
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto;
  row-gap: var(--rtpx-winner-section-head-gap);
  height: auto;
  min-height: 0;
  max-height: none;
  margin-block-end: 0;
  overflow: visible;
  overflow-anchor: none;
  contain: layout style;
}

body:not(.admin-page) .news-section.api-spotlight-section.shell :is(.news-carousel-stage.api-spotlight-stage,.news-rail.api-spotlight-rail,.news-rail) {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow-y: visible;
}

body:not(.admin-page) .news-section.api-spotlight-section.shell :is(.news-card.api-spotlight-card.win-proof-card,.jackpot-win-card.news-card.api-spotlight-card.win-proof-card) {
  height: auto;
  min-height: 0;
  max-height: none;
  align-self: flex-start;
}

@media (max-width:768px) {
  :root {
    --rtpx-title-font-size: clamp(19px,4.25vw,24px);
    --rtpx-title-icon-size: clamp(20px,4.65vw,27px);
    --rtpx-title-icon-gap: 7px;
    --rtpx-section-control-gap: 6px;
    --rtpx-rail-header-gap: 9px;
    --rtpx-section-action-height: 32px;
    --rtpx-section-arrow-size: 32px;
    --rtpx-section-arrow-radius: 11px;
    --rtpx-section-action-pad-x: 10px;
    --rtpx-global-rail-head-height: 36px;
    --rtpx-global-rail-head-gap: 8px;
  }
}

@media (max-width:560px) {
  :root {
    --rtpx-title-font-size: clamp(18px,5.05vw,21px);
    --rtpx-title-icon-size: clamp(19px,5.65vw,24px);
    --rtpx-title-icon-gap: 6px;
    --rtpx-section-action-height: 30px;
    --rtpx-section-action-pad-x: 9px;
    --rtpx-section-action-gap: 4px;
    --rtpx-section-arrow-size: 30px;
    --rtpx-section-arrow-radius: 10px;
    --rtpx-section-control-gap: 4px;
    --rtpx-rail-header-gap: 7px;
    --rtpx-global-rail-head-height: 34px;
    --rtpx-global-rail-head-gap: 8px;
  }
  body:not(.admin-page) :is(.content-row-head,.news-head.api-spotlight-head,.game-pola-top20-head,.jackpot-related-head,.jackpot-top20-head).section-head--with-action {
    align-items: center;
    gap: var(--rtpx-rail-header-gap);
    flex-wrap: nowrap;
  }
  body:not(.admin-page) :is(.content-row-head,.news-head.api-spotlight-head,.game-pola-top20-head,.jackpot-related-head,.jackpot-top20-head).section-head--with-action :is(.section-title-link,.section-title-button) {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
  }
  body:not(.admin-page) .section-head--with-action .rtpx-section-control-group {
    flex: 0 0 auto;
    gap: var(--rtpx-section-control-gap);
    min-width: 0;
    max-width: min(58vw,260px);
    margin-left: auto;
  }
  body:not(.admin-page) :is(.content-row-head,.news-head.api-spotlight-head,.game-pola-top20-head,.jackpot-related-head,.jackpot-top20-head).section-head--with-action .rtpx-section-arrows {
    display: none;
  }
  body:not(.admin-page) .section-head--with-action .games-section_middle-3Ztcg.rtpx-section-action {
    min-width: 0;
    max-width: 100%;
  }
  body:not(.admin-page) .section-head--with-action .rtpx-section-action .rtpx-section-action-button {
    min-width: 0;
    max-width: 100%;
    padding-inline: var(--rtpx-section-action-pad-x);
  }
  body:not(.admin-page) .section-head--with-action .rtpx-section-action .rtpx-section-action-button .base_content-iRRwq {
    gap: var(--rtpx-section-action-gap);
    font-size: 9.8px;
  }
  body:not(.admin-page) .section-head--with-action .rtpx-section-action .rtpx-section-action-label {
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
  }
  body:not(.admin-page) .section-head--with-action :is(.rtpx-section-action .button_arrow-LF6DC,.rtpx-section-arrows .icon-base_root-F1flk) {
    width: 13px;
    height: 13px;
  }
}

@media (max-width:380px) {
  :root {
    --rtpx-title-font-size: clamp(17px,5.2vw,19px);
    --rtpx-title-icon-size: clamp(18px,5.9vw,22px);
    --rtpx-title-icon-gap: 5px;
    --rtpx-section-action-height: 28px;
    --rtpx-section-action-pad-x: 7px;
    --rtpx-section-control-gap: 3px;
    --rtpx-rail-header-gap: 6px;
    --rtpx-global-rail-head-height: 33px;
  }
  body:not(.admin-page) .section-head--with-action .rtpx-section-control-group {
    max-width: min(60vw,210px);
  }
  body:not(.admin-page) .section-head--with-action .rtpx-section-action .rtpx-section-action-button .base_content-iRRwq {
    gap: 3px;
    font-size: 9.2px;
    letter-spacing: 0;
  }
  body:not(.admin-page) .section-head--with-action .rtpx-section-action .button_arrow-LF6DC {
    width: 12px;
    height: 12px;
  }
}

@media (prefers-reduced-motion:reduce) {
  body:not(.admin-page) .section-head--with-action :is(.rtpx-section-action .rtpx-section-action-button,.rtpx-section-arrows .rtpx-section-arrow-button,.rtpx-section-action .button_arrow-LF6DC,.rtpx-section-arrows .icon-base_root-F1flk) {
    transition: none;
  }
}

body:not([data-page="home"]):not(.admin-page) :is(.content-row.api-content-row,.game-pola-top20-section,.jackpot-related,.jackpot-top20,.news-section.api-spotlight-section.shell) {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto minmax(0,auto);
  row-gap: var(--rtpx-global-rail-head-gap,9px);
  align-content: start;
}

body:not(.admin-page) :is(.games-section_header-3Ztcg.section-head--with-action,.content-row-head,.news-head.api-spotlight-head,.game-pola-top20-head,.jackpot-related-head,.jackpot-top20-head).section-head--with-action {
  position: relative;
  z-index: 9;
  min-height: max(var(--rtpx-global-rail-head-height,38px),var(--rtpx-section-action-height,34px),calc(var(--rtpx-title-icon-size,24px) + 4px));
  height: auto;
  max-height: none;
  margin-block: 0;
  overflow: visible;
  isolation: isolate;
}

body:not([data-page="home"]):not(.admin-page) :is(.content-row-stage,.api-content-stage,.news-carousel-stage.api-spotlight-stage,.game-pola-top20-stage,.jackpot-related-stage,.jackpot-top20-stage) {
  position: relative;
  z-index: 1;
  align-self: start;
  margin-block: 0;
  padding-block: 0;
  transform: none;
  clear: both;
}

body:not(.admin-page) .section-head--with-action :is(.section-title-link,.section-title-button) {
  align-self: center;
}

body:not(.admin-page) .section-head--with-action .rtpx-section-control-group {
  align-self: center;
}

@media (max-width:700px) {
  body:not(.admin-page) :is(.content-row-head,.news-head.api-spotlight-head,.game-pola-top20-head,.jackpot-related-head,.jackpot-top20-head).section-head--with-action .rtpx-section-arrows {
    display: none;
  }
  body:not(.admin-page) .section-head--with-action .rtpx-section-control-group {
    max-width: min(54vw,230px);
  }
}

body:not(.admin-page) .section-head--with-action :is(.title_root-jwKYQ.title_root-h4-jwKYQ.rtpx-win-title,.title_root-jwKYQ.title_root-h4-jwKYQ.rtpx-game-section-title) {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--rtpx-title-icon-gap,7px);
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 1.04;
  white-space: nowrap;
  overflow: hidden;
}

body:not(.admin-page) :is(.game-pola-top20-section,.jackpot-top20,.jackpot-related) {
  row-gap: clamp(7px,.72vw,10px);
  overflow: visible;
}

body:not(.admin-page) :is(.game-pola-top20-stage,.jackpot-top20-stage,.jackpot-related-stage) {
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  contain: layout style;
  padding-block: 0;
  margin-block: 0;
}

body:not(.admin-page) :is(.game-pola-top20-rail,.jackpot-top20-rail,.jackpot-related-rail) {
  align-items: flex-start;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
  contain: layout style;
  padding-block: clamp(4px,.45vw,7px) clamp(12px,1.05vw,18px);
  margin-block: 0;
}

body:not(.admin-page) :is(.game-pola-top20-rail,.jackpot-top20-rail,.jackpot-related-rail) > :is(.game-card,.feature-island-card,.jackpot-rail-card,.news-card,.api-spotlight-card,.win-proof-card) {
  align-self: flex-start;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  contain: layout style;
}

body:not(.admin-page) :is(.game-pola-top20-rail,.jackpot-top20-rail,.jackpot-related-rail) :is(.game-card-shell,.jackpot-rail-card,.spotlight-card-hit) {
  height: auto;
  max-height: none;
}

body[data-page="jackpot"] .jackpot-top20 {
  margin-top: clamp(14px,2.2vw,28px);
}

body[data-page="jackpot"] .jackpot-related {
  margin-top: clamp(16px,2.45vw,32px);
}

body[data-page="jackpot"] :is(.jackpot-related-head h2,.jackpot-top20-head h2) {
  font-size: var(--rtpx-title-font-size,clamp(22px,1.9vw,31px));
  line-height: 1.04;
}

:root {
  --rtpx-global-rail-section-gap: clamp(24px,2.15vw,36px);
  --rtpx-global-rail-head-content-gap: clamp(10px,.9vw,14px);
  --rtpx-global-rail-content-pad-top: clamp(8px,.7vw,11px);
  --rtpx-global-rail-content-pad-bottom: clamp(18px,1.45vw,24px);
}

body:not(.admin-page) :is(.content-row.api-content-row,.game-pola-top20-section,.jackpot-top20,.jackpot-related) {
  position: relative;
  inset: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  contain: none;
}

body:not(.admin-page) :is(.content-row-stage,.api-content-stage,.game-pola-top20-stage,.jackpot-top20-stage,.jackpot-related-stage) {
  position: relative;
  inset: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  contain: none;
}

body:not(.admin-page) :is(.content-row-rail,.featured-rail,.game-pola-top20-rail,.jackpot-top20-rail,.jackpot-related-rail,[data-api-rail],[data-top20-rail],[data-jackpot-top20]) {
  height: auto;
  min-height: 0;
  max-height: none;
  align-items: flex-start;
  padding-block: var(--rtpx-global-rail-content-pad-top) var(--rtpx-global-rail-content-pad-bottom);
  overflow-x: auto;
  overflow-y: hidden;
  contain: none;
}

body:not(.admin-page) :is(.game-pola-top20-section,.jackpot-top20,.jackpot-related) + :is(.game-pola-top20-section,.jackpot-top20,.jackpot-related) {
  margin-block-start: var(--rtpx-global-rail-section-gap);
}

@media (max-width:820px),(pointer:coarse) {
  :root {
    --rtpx-global-rail-section-gap: clamp(18px,5vw,26px);
    --rtpx-global-rail-head-content-gap: 8px;
    --rtpx-global-rail-content-pad-top: 7px;
    --rtpx-global-rail-content-pad-bottom: 18px;
  }
}

/* Interaction contract: no transform/filter on the scrolling shell; only media opacity may transition. */

body:not(.admin-page) :is(.content-row-rail,.featured-rail,.news-rail,.win-proof-rail,.api-spotlight-rail,.jackpot-top20-rail,.game-pola-top20-rail,.jackpot-related-rail,[data-api-rail],[data-top20-rail],[data-jackpot-top20]) {
  scroll-snap-type: none;
  scroll-behavior: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  overflow-anchor: none;
  touch-action: pan-x pan-y;
  transform: none;
  filter: none;
  will-change: auto;
}

html.is-rtpx-horizontal-scrolling body:not(.admin-page) :is(.game-card,.feature-island-card,.jackpot-rail-card,.news-card,.win-proof-card),
html.is-mobile-low-end-runtime body:not(.admin-page) :is(.game-card,.feature-island-card,.jackpot-rail-card,.news-card,.win-proof-card) {
  transform: none;
  filter: none;
  transition: none;
  box-shadow: none;
}

@media (max-width:820px),(pointer:coarse),(prefers-reduced-motion:reduce) {
  body:not(.admin-page) :is(.content-row-stage,.featured-carousel-stage,.news-carousel-stage,.api-spotlight-stage,.jackpot-top20-stage,.game-pola-top20-stage,.jackpot-related-stage)::before,
  body:not(.admin-page) :is(.content-row-stage,.featured-carousel-stage,.news-carousel-stage,.api-spotlight-stage,.jackpot-top20-stage,.game-pola-top20-stage,.jackpot-related-stage)::after {
    filter: none;
  }
}

html:is([data-rtpx-backend-mode="local"],[data-rtpx-backend-supabase="offline"]) body:not(.admin-page) :is(#news.news-section,.news-section.api-spotlight-section,.news-section.api-spotlight-section.shell,[data-news-stage],[data-news-rail]),
body:not(.admin-page) :is(#news.news-section,.news-section.api-spotlight-section)[hidden],
body:not(.admin-page) [data-rtpx-winner-preview-collapsed="true"] {
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  min-height: 0;
  height: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  content-visibility: hidden;
  contain-intrinsic-size: 0 0;
}

html:is([data-rtpx-backend-mode="local"],[data-rtpx-backend-supabase="offline"]) body:not(.admin-page) :is([data-news-prev],[data-news-next],.news-controls),
body:not(.admin-page) [data-rtpx-winner-preview-collapsed="true"] :is([data-news-prev],[data-news-next],.news-controls) {
  display: none;
  visibility: hidden;
  pointer-events: none;
}

html:is([data-rtpx-backend-mode="local"],[data-rtpx-backend-supabase="offline"]) body[data-page="home"] .news-section.api-spotlight-section.shell + .catalog-control-section.discovery-sections.shell,
body[data-page="home"] .news-section.api-spotlight-section.shell[hidden] + .catalog-control-section.discovery-sections.shell,
body[data-page="home"] [data-rtpx-winner-preview-collapsed="true"] + .catalog-control-section.discovery-sections.shell {
  margin-block-start: 0;
  padding-block-start: clamp(4px,.55vw,8px);
}

body:not(.admin-page) :is(.game-card,.feature-island-card,.api-spotlight-card,.jackpot-rail-card) {
  content-visibility: visible;
  contain: layout style;
}

body:not(.admin-page) :is(.game-card,.feature-island-card,.api-spotlight-card,.jackpot-rail-card) :is(.game-card-actions,.game-action,.game-action-button) {
  pointer-events: auto;
}
