:root {
  --home-hero-height: clamp(500px,42.85vw,857px);
  --home-hero-media-ratio: 2000 / 857;
  --home-hero-left-edge: clamp(14px,3vw,56px);
  --home-hero-right-edge: clamp(10px,1.45vw,24px);
  --home-hero-nav-size: clamp(40px,3.15vw,52px);
  --home-hero-nav-side-offset: clamp(8px,1.55vw,22px);
  --home-hero-content-nav-gap: clamp(10px,1.25vw,20px);
  --home-hero-desktop-safe-right: calc(var(--home-hero-nav-size)+var(--home-hero-nav-side-offset)+var(--home-hero-content-nav-gap));
  --home-hero-content-width: clamp(420px,49vw,740px);
  --home-hero-content-max: 820px;
  --home-hero-content-gap: clamp(10px,1.22vw,18px);
  --home-hero-title-width: clamp(360px,40vw,760px);
  --home-hero-title-height: clamp(126px,17.5vw,318px);
  --home-hero-lead-image-width: clamp(280px,30vw,580px);
  --home-hero-lead-image-height: clamp(58px,8.4vw,132px);
  --home-hero-mobile-content-width: 450px;
  --home-hero-mobile-title-width: min(88vw,450px);
  --home-hero-mobile-title-height: clamp(94px,31vw,184px);
  --home-hero-mobile-lead-image-width: min(78vw,360px);
  --home-hero-mobile-lead-image-height: clamp(46px,14vw,96px);
  --home-hero-control-bottom: clamp(16px,2.25vw,34px);
}

.rtp-home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: clamp(10px,1.35vw,18px);
  width: 100%;
  height: var(--home-hero-height);
  min-height: 500px;
  max-height: 857px;
  box-sizing: border-box;
  padding-block: clamp(54px,7vw,112px) clamp(64px,8vw,124px);
  padding-left: max(var(--home-hero-left-edge),env(safe-area-inset-left));
  padding-right: max(var(--home-hero-right-edge),env(safe-area-inset-right));
  overflow: hidden;
  color: var(--text);
  background: radial-gradient(circle at 18% 18%,color-mix(in srgb,var(--accent-2,#0ea4eb) 24%,transparent),transparent 34%),radial-gradient(circle at 82% 16%,rgba(255,255,255,.10),transparent 28%),linear-gradient(180deg,var(--theme-bg) 0%,color-mix(in srgb,var(--theme-bg) 72%,#000 28%) 100%);
  contain: layout paint style;
  transition: height .32s cubic-bezier(.22,.61,.36,1),min-height .32s cubic-bezier(.22,.61,.36,1),max-height .32s cubic-bezier(.22,.61,.36,1),padding .32s cubic-bezier(.22,.61,.36,1),gap .24s ease,background .24s ease;
}

.rtp-home-hero::before,.rtp-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.rtp-home-hero::before {
  background: linear-gradient(90deg,rgba(var(--theme-bg-rgb),.48) 0%,rgba(var(--theme-bg-rgb),.30) 28%,rgba(var(--theme-bg-rgb),.07) 62%,rgba(var(--theme-bg-rgb),.24) 100%),linear-gradient(180deg,rgba(var(--theme-bg-rgb),.06) 0%,rgba(var(--theme-bg-rgb),.07) 48%,rgba(var(--theme-bg-rgb),.42) 100%),radial-gradient(ellipse at 52% 116%,rgba(0,85,254,.11),transparent 60%);
}

.rtp-home-hero::after {
  top: auto;
  height: min(24%,170px);
  background: linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--theme-bg) 54%,transparent) 72%,var(--theme-bg) 100%);
}

.rtp-home-hero__poster {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: none;
  transform: translateZ(0);
  transform-origin: center;
  backface-visibility: hidden;
  transition: opacity .46s cubic-bezier(.22,.61,.36,1);
}

.rtp-home-hero__poster.is-active {
  opacity: .82;
}

.rtp-home-hero__poster[hidden],.rtp-home-hero__poster[data-media-empty="true"],.rtp-home-hero__poster:not([src]),.rtp-home-hero__poster[src=""] {
  opacity: 0;
}


.rtp-home-hero.is-media-switching .rtp-home-hero__poster {
  will-change: opacity;
}

.rtp-home-hero__side-fade {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: min(40vw,560px);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg,transparent 0%,rgba(var(--theme-bg-rgb),.08) 28%,rgba(var(--theme-bg-rgb),.28) 62%,rgba(var(--theme-bg-rgb),.48) 100%);
  backdrop-filter: blur(7px) saturate(106%);
  -webkit-backdrop-filter: blur(7px) saturate(106%);
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.20) 26%,#000 62%,#000 100%);
  mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.20) 26%,#000 62%,#000 100%);
  transform: none;
  transition: opacity .24s ease;
}

.rtp-home-hero[data-hero-content-active="true"] .rtp-home-hero__side-fade {
  opacity: .72;
}

.rtp-home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--home-hero-content-gap);
  width: min(var(--home-hero-content-width),100%);
  max-width: min(var(--home-hero-content-max),calc(100% - var(--home-hero-left-edge) - var(--home-hero-right-edge)));
  min-height: clamp(250px,27vw,520px);
  box-sizing: border-box;
  margin-left: auto;
  margin-right: 0;
  padding-right: var(--home-hero-desktop-safe-right);
  color: var(--text);
  text-align: center;
  transform: none;
}

.rtp-home-hero__media-text {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 42px rgba(0,0,0,.34));
  pointer-events: none;
  user-select: none;
}

.rtp-home-hero__title-image {
  width: min(100%,var(--home-hero-title-width));
  max-height: var(--home-hero-title-height);
  margin: 0;
}

.rtp-home-hero__lead-image {
  width: min(100%,var(--home-hero-lead-image-width));
  max-height: var(--home-hero-lead-image-height);
  margin: 0;
}

.rtp-home-hero__title {
  position: relative;
  z-index: 1;
  max-width: min(100%,560px);
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(38px,5.4vw,78px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.066em;
  text-wrap: balance;
  text-align: center;
  text-shadow: 0 18px 44px rgba(0,0,0,.38);
}

.rtp-home-hero__lead {
  position: relative;
  z-index: 1;
  max-width: min(48ch,100%);
  margin: 0 auto;
  color: color-mix(in srgb,var(--text,#fff) 86%,transparent);
  font-size: clamp(14px,1.18vw,18px);
  font-weight: 720;
  line-height: 1.44;
  text-wrap: pretty;
  text-align: center;
  text-shadow: 0 10px 26px rgba(0,0,0,.32);
}

.rtp-home-hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: clamp(2px,.48vw,7px);
}

.rtp-home-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb,var(--rtpx-button-accent,#2eafff) 84%,white 16%);
  border-radius: var(--button-radius,.5rem);
  color: var(--rtpx-button-accent-text,#fff);
  background: var(--rtpx-button-accent,#2eafff);
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .018em;
  line-height: 1.08;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: none;
  outline-color: transparent;
  outline-offset: var(--button-outline-idle,.625rem);
  outline-style: solid;
  outline-width: 0;
  transition: border-color .14s ease,background-color .14s ease,box-shadow .14s ease,color .14s ease,outline-color .14s ease,outline-offset .14s ease,outline-width .14s ease;
}

.rtp-home-hero__button:focus-visible {
  color: var(--rtpx-button-accent-text,#fff);
  border-color: color-mix(in srgb,var(--rtpx-button-accent,#2eafff) 74%,white 26%);
  background: var(--rtpx-button-accent-active,var(--rtpx-button-accent,#2eafff));
  background-image: none;
  outline-color: var(--kdiqx31h,rgba(255,255,255,.35));
  outline-offset: var(--kdiqx353,.1875rem);
  outline-width: var(--kdiqx354,.1875rem);
  outline-style: solid;
  transform: none;
  box-shadow: none;
  filter: none;
}

.rtp-home-hero__button:active {
  transform: none;
  box-shadow: none;
}

.rtp-home-hero__button--primary {
  border-color: color-mix(in srgb,var(--rtpx-button-accent,#2eafff) 84%,white 16%);
  color: var(--rtpx-button-accent-text,#fff);
  background: var(--rtpx-button-accent,#2eafff);
  background-image: none;
}

.rtp-home-hero__button--primary:focus-visible {
  border-color: color-mix(in srgb,var(--rtpx-button-accent,#2eafff) 74%,white 26%);
  color: var(--rtpx-button-accent-text,#fff);
  background: var(--rtpx-button-accent-active,var(--rtpx-button-accent,#2eafff));
  background-image: none;
}

.rtp-home-hero__actions:has(.rtp-home-hero__button[hidden]) {
  gap: 0;
}

.rtp-home-hero__actions:has(.rtp-home-hero__button[hidden]) .rtp-home-hero__button--primary {
  min-width: clamp(156px,13vw,220px);
}

.rtp-home-hero__button[hidden],.rtp-home-hero__lead[hidden] {
  display: none;
}

.rtp-home-hero__title,.rtp-home-hero__lead,.rtp-home-hero__actions,.rtp-home-hero__media-text {
  transition-property: opacity,transform;
  transition-duration: .46s;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}

.rtp-home-hero.is-content-switching .rtp-home-hero__title,.rtp-home-hero.is-content-switching .rtp-home-hero__lead,.rtp-home-hero.is-content-switching .rtp-home-hero__actions,.rtp-home-hero.is-content-switching .rtp-home-hero__media-text {
  opacity: 0;
  transform: translate3d(-18px,0,0);
}

.rtp-home-hero [data-aos] {
  opacity: 0;
  transition-property: transform,opacity;
  transition-timing-function: cubic-bezier(.18,.72,.22,1);
  transition-duration: var(--aos-duration,1150ms);
  transition-delay: var(--aos-delay,0);
  backface-visibility: hidden;
}

.rtp-home-hero [data-aos="fade-right"],.rtp-home-hero [data-aos="fade-slide-right"] {
  transform: translate3d(-34px,0,0);
}

.rtp-home-hero [data-aos="fade-left"],.rtp-home-hero [data-aos="fade-slide-left"] {
  transform: translate3d(38px,0,0);
}

.rtp-home-hero [data-aos="fade-left"],.rtp-home-hero [data-aos="fade-slide-up"] {
  transform: translate3d(0,38%,0);
}

.rtp-home-hero [data-aos="fade-down"],.rtp-home-hero [data-aos="fade-slide-down"] {
  transform: translate3d(0,-38%,0);
}

.rtp-home-hero [data-aos="fade-zoom-in"] {
  transform: scale(.92);
}

.rtp-home-hero [data-aos].aos-animate {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}

.rtp-home-hero[data-autoplay-paused="true"] .rtp-home-hero__dot-progress {
  animation-play-state: paused;
}

.rtp-home-hero__nav.carousel-control.sjyt1d3 {
  --_147h8yx2: var(--home-hero-nav-size);
  --_147h8yx0: transparent;
  --_147h8yx3: var(--carousel-control-bg,rgba(236,237,238,.30));
  --sjyt1d1: var(--carousel-control-bg,rgba(236,237,238,.30));
  --sjyt1d0: var(--kdiqx35s,blur(2rem));
  --_147h8yx4: none;
  position: absolute;
  top: 50%;
  bottom: auto;
  z-index: 7;
  display: flex;
  width: var(--_147h8yx2);
  min-width: var(--_147h8yx2);
  max-width: var(--_147h8yx2);
  height: var(--_147h8yx2);
  min-height: var(--_147h8yx2);
  max-height: var(--_147h8yx2);
  flex: 0 0 var(--_147h8yx2);
  aspect-ratio: 1 / 1;
  border-radius: var(--kdiqx35b,.5rem);
  margin: 0;
  padding: 0;
  transform: translate3d(0,-50%,0);
  translate: none;
  float: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease,visibility .18s ease,outline-color .15s ease,box-shadow .15s ease,background-color .15s ease;
  will-change: auto;
}

@media (pointer:fine) {
  .rtp-home-hero>.rtp-home-hero__nav.carousel-control.sjyt1d3:focus-visible {
    --_147h8yx4: _147h8yx5;
    top: 50%;
    bottom: auto;
    margin: 0;
    outline-color: var(--kdiqx31h,rgba(255,255,255,.35));
    outline-offset: var(--kdiqx353,.1875rem);
    outline-width: var(--kdiqx354,.1875rem);
    outline-style: solid;
    background-color: var(--_147h8yx0);
    box-shadow: 0 0 1rem rgba(0,0,0,.125);
    transform: translate3d(0,-50%,0);
    filter: none;
    translate: none;
  }
}

.rtp-home-hero>.rtp-home-hero__nav--prev.carousel-control.sjyt1d3 {
  left: clamp(10px,1.8vw,28px);
  right: auto;
  inset-inline-start: clamp(10px,1.8vw,28px);
  inset-inline-end: auto;
}

.rtp-home-hero>.rtp-home-hero__nav--next.carousel-control.sjyt1d3 {
  left: auto;
  right: var(--home-hero-nav-side-offset);
  inset-inline-start: auto;
  inset-inline-end: var(--home-hero-nav-side-offset);
}

.rtp-home-hero__nav[hidden],.rtp-home-hero__carousel[hidden],.rtp-home-hero__play[hidden] {
  display: none;
}

.rtp-home-hero__nav:not([hidden]) {
  display: flex;
}

@media (hover:hover) and (pointer:fine) {
  .rtp-home-hero:not([data-hero-count="1"]):not([data-hero-count="0"]):hover .rtp-home-hero__nav:not([hidden]) {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

.rtp-home-hero[data-controls-visible="true"] .rtp-home-hero__nav:not([hidden]),.rtp-home-hero:not([data-hero-count="1"]):focus-within .rtp-home-hero__nav:not([hidden]) {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.rtp-home-hero__nav .carousel-control-icon {
  width: clamp(18px,1.35vw,23px);
  height: clamp(18px,1.35vw,23px);
}

.rtp-home-hero__nav.carousel-control.sjyt1d3>.carousel-control-icon {
  transform: translate3d(0,0,0);
}

@media (prefers-reduced-motion:no-preference) {
  .rtp-home-hero__nav.carousel-control.sjyt1d3>.carousel-control-icon {
    animation: var(--_147h8yx4) .1s linear;
  }
}

.rtp-home-hero__carousel {
  --hero-progress-duration: 3000ms;
  --hero-control-dot-w: clamp(15px,1.05vw,20px);
  --hero-control-dot-h: clamp(4px,.34vw,6px);
  --hero-control-dot-active-w: clamp(58px,4.75vw,84px);
  position: absolute;
  z-index: 8;
  left: 50%;
  right: auto;
  bottom: var(--home-hero-control-bottom);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.44rem,.52vw,.66rem);
  max-width: calc(100% - 32px);
  min-height: clamp(34px,2.55vw,42px);
  margin-inline: auto;
  padding: clamp(.24rem,.32vw,.38rem) clamp(.42rem,.5vw,.58rem) clamp(.24rem,.32vw,.38rem) clamp(.54rem,.64vw,.78rem);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.045));
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(.52rem) saturate(122%);
  -webkit-backdrop-filter: blur(.52rem) saturate(122%);
  transform: translate3d(-50%,0,0);
  transition: opacity .28s cubic-bezier(.22,.61,.36,1),background-color .28s ease,border-color .28s ease;
  isolation: isolate;
  contain: layout paint style;
  backface-visibility: hidden;
}

.rtp-home-hero__carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.025));
  box-shadow: none;
  pointer-events: none;
}

.rtp-home-hero__carousel::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.048);
  box-shadow: none;
  pointer-events: none;
}

.rtp-home-hero__dots {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(.28rem,.36vw,.44rem);
  min-height: clamp(22px,1.55vw,26px);
  max-width: 100%;
  contain: layout paint;
}

.rtp-home-hero__dot {
  position: relative;
  overflow: hidden;
  width: var(--hero-control-dot-w);
  height: var(--hero-control-dot-h);
  min-width: var(--hero-control-dot-w);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.30);
  cursor: pointer;
  transition: width .34s cubic-bezier(.22,.61,.36,1),background-color .28s ease,opacity .28s ease;
  transform: none;
  backface-visibility: hidden;
}

.rtp-home-hero__dot:focus-visible {
  background: rgba(255,255,255,.58);
  outline: none;
}

.rtp-home-hero__dot[aria-current="true"] {
  width: var(--hero-control-dot-active-w);
  background: rgba(255,255,255,.46);
}

.rtp-home-hero__dot-progress {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scale3d(0,1,1);
  background: linear-gradient(90deg,rgba(255,255,255,.88),rgba(255,255,255,.98));
  border-radius: inherit;
  pointer-events: none;
  will-change: transform;
  animation: rtpHeroDotProgress var(--hero-progress-duration,3000ms) linear forwards;
}

@keyframes rtpHeroDotProgress {
  from {
    transform: scale3d(0,1,1);
  }
  to {
    transform: scale3d(1,1,1);
  }
}

.rtp-home-hero__play.carousel-control.sjyt1d3 {
  --_147h8yx2: clamp(1.22rem,1.18vw,1.5rem);
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  transform: none;
  translate: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  margin: 0;
  border-radius: var(--button-radius,.5rem);
  box-shadow: none;
}

.rtp-home-hero__play .carousel-control-icon {
  width: .58rem;
  height: .58rem;
}

.rtp-home-hero__play .carousel-control-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rtp-home-hero__play .carousel-control-icon svg rect,.rtp-home-hero__play .carousel-control-icon svg path {
  fill: currentColor;
}

.rtp-home-hero[data-hero-count="1"] .rtp-home-hero__nav,.rtp-home-hero[data-hero-count="1"] .rtp-home-hero__carousel {
  display: none;
}

@media (min-width:1024px) {
  .rtp-home-hero__content {
    width: min(50vw,var(--home-hero-content-max));
    padding-right: calc(var(--home-hero-desktop-safe-right)+clamp(4px,.45vw,10px));
  }
  .rtp-home-hero__title-image {
    width: min(100%,clamp(460px,42vw,820px));
    max-height: clamp(170px,20vw,350px);
  }
}

@media (max-width:900px) and (orientation:portrait),(max-width:640px) {
  :root {
    --home-hero-height: clamp(480px,149.333vw,1120px);
    --home-hero-control-bottom: 12px;
  }
  .rtp-home-hero {
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 400px;
    max-height: 1120px;
    padding-inline: max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));
    padding-block: 72px 74px;
    padding-block-end: 74px;
    text-align: center;
  }
  .rtp-home-hero::before {
    background: linear-gradient(180deg,rgba(var(--theme-bg-rgb),.05) 0%,rgba(var(--theme-bg-rgb),.18) 42%,rgba(var(--theme-bg-rgb),.62) 100%),radial-gradient(ellipse at 50% 100%,rgba(0,85,254,.10),transparent 62%);
  }
  .rtp-home-hero__poster {
    object-position: center top;
    opacity: 0;
    filter: none;
    transition: opacity .34s cubic-bezier(.22,.61,.36,1);
  }
  .rtp-home-hero__poster.is-active {
    opacity: .90;
  }
  .rtp-home-hero.is-animated .rtp-home-hero__poster {
    transform: scale(1.006);
  }
  .rtp-home-hero__side-fade {
    inset: auto 0 0 0;
    width: 100%;
    height: min(38%,360px);
    background: linear-gradient(180deg,transparent 0%,rgba(var(--theme-bg-rgb),.16) 46%,rgba(var(--theme-bg-rgb),.54) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    -webkit-mask-image: linear-gradient(180deg,transparent 0%,rgba(0,0,0,.18) 34%,#000 72%,#000 100%);
    mask-image: linear-gradient(180deg,transparent 0%,rgba(0,0,0,.18) 34%,#000 72%,#000 100%);
  }
  .rtp-home-hero__content {
    width: min(100%,var(--home-hero-mobile-content-width));
    max-width: calc(100% - 28px);
    min-height: 0;
    margin-inline: auto;
    margin-top: auto;
    padding-right: 0;
    text-align: center;
    transform: none;
  }
  .rtp-home-hero__media-text {
    object-position: center;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,.34));
  }
  .rtp-home-hero__title-image {
    width: var(--home-hero-mobile-title-width);
    max-height: var(--home-hero-mobile-title-height);
  }
  .rtp-home-hero__lead-image {
    width: var(--home-hero-mobile-lead-image-width);
    max-height: var(--home-hero-mobile-lead-image-height);
  }
  .rtp-home-hero__title {
    max-width: min(14ch,100%);
    margin-inline: auto;
    font-size: clamp(28px,10.2vw,46px);
    line-height: .94;
    letter-spacing: -.056em;
  }
  .rtp-home-hero__lead {
    max-width: min(42ch,100%);
    margin-inline: auto;
    font-size: clamp(10.8px,2.85vw,12.8px);
    line-height: 1.34;
    display: block;
    overflow: visible;
  }
  .rtp-home-hero__actions {
    width: auto;
    max-width: min(100%,320px);
    justify-content: center;
    gap: 6px;
    margin: clamp(8px,2.2vw,14px) auto 0;
    transform: translate3d(0,5px,0);
  }
  .rtp-home-hero__actions:has(.rtp-home-hero__button[hidden]) .rtp-home-hero__button--primary {
    min-width: clamp(150px,48vw,220px);
  }
  .rtp-home-hero__button {
    width: auto;
    min-width: clamp(150px,48vw,220px);
    max-width: min(220px,calc(100vw - 44px));
    min-height: 31px;
    padding-inline: 18px;
    font-size: 9.3px;
    border-radius: var(--button-radius,.5rem);
    box-shadow: none;
  }
  .rtp-home-hero__nav.carousel-control.sjyt1d3 {
    --_147h8yx2: 38px;
  }
  .rtp-home-hero>.rtp-home-hero__nav--prev.carousel-control.sjyt1d3 {
    left: 8px;
    inset-inline-start: 8px;
  }
  .rtp-home-hero>.rtp-home-hero__nav--next.carousel-control.sjyt1d3 {
    right: 6px;
    inset-inline-end: 6px;
  }
  .rtp-home-hero__carousel {
    --hero-control-dot-w: 11px;
    --hero-control-dot-h: 4px;
    --hero-control-dot-active-w: 36px;
    bottom: 12px;
    gap: .32rem;
    min-height: 29px;
    max-width: calc(100% - 26px);
    padding: .18rem .32rem .18rem .44rem;
    border-radius: 999px;
    background: linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.045));
    border-color: rgba(255,255,255,.12);
    box-shadow: none;
    backdrop-filter: blur(.46rem) saturate(116%);
    -webkit-backdrop-filter: blur(.46rem) saturate(116%);
  }
  .rtp-home-hero__dots {
    gap: .26rem;
    min-height: 21px;
  }
  .rtp-home-hero__play.carousel-control.sjyt1d3 {
    --_147h8yx2: 1.18rem;
  }
  .rtp-home-hero__play .carousel-control-icon {
    width: .52rem;
    height: .52rem;
  }
}

@media (max-width:420px) {
  :root {
    --home-hero-height: clamp(460px,149.333vw,640px);
    --home-hero-mobile-content-width: 420px;
    --home-hero-mobile-title-width: min(88vw,400px);
    --home-hero-mobile-title-height: clamp(88px,31vw,170px);
    --home-hero-mobile-lead-image-width: min(80vw,330px);
    --home-hero-mobile-lead-image-height: clamp(44px,14vw,88px);
    --home-hero-control-bottom: 10px;
  }
  .rtp-home-hero {
    gap: 7px;
    min-height: 360px;
    max-height: 640px;
    padding-inline: max(14px,env(safe-area-inset-left)) max(14px,env(safe-area-inset-right));
    padding-block: 66px 68px;
    padding-block-end: 68px;
  }
  .rtp-home-hero__content {
    max-width: calc(100% - 24px);
  }
  .rtp-home-hero__title {
    max-width: min(13.5ch,100%);
    font-size: clamp(24px,9.1vw,36px);
    line-height: .95;
    letter-spacing: -.052em;
  }
  .rtp-home-hero__lead {
    max-width: min(39ch,100%);
    font-size: 10.4px;
    line-height: 1.32;
  }
  .rtp-home-hero__nav.carousel-control.sjyt1d3 {
    --_147h8yx2: 34px;
  }
  .rtp-home-hero__nav .carousel-control-icon {
    width: 17px;
    height: 17px;
  }
  .rtp-home-hero__carousel {
    --hero-control-dot-w: 10px;
    --hero-control-dot-h: 3.8px;
    --hero-control-dot-active-w: 30px;
    max-width: calc(100% - 22px);
    min-height: 27px;
    gap: .22rem;
    padding: .16rem .26rem .16rem .36rem;
  }
  .rtp-home-hero__dots {
    gap: .2rem;
    min-height: 19px;
  }
  .rtp-home-hero__play.carousel-control.sjyt1d3 {
    --_147h8yx2: 1.08rem;
  }
}

@media (max-width:380px) {
  :root {
    --home-hero-mobile-content-width: 360px;
    --home-hero-mobile-title-width: min(90vw,352px);
    --home-hero-mobile-title-height: clamp(82px,31vw,154px);
    --home-hero-mobile-lead-image-width: min(82vw,300px);
    --home-hero-mobile-lead-image-height: clamp(42px,14vw,82px);
    --home-hero-control-bottom: 8px;
  }
  .rtp-home-hero {
    min-height: 344px;
    max-height: 568px;
    padding-inline: max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right));
    padding-block: 66px 62px;
    gap: 6px;
  }
  .rtp-home-hero__content {
    max-width: calc(100% - 20px);
  }
  .rtp-home-hero__title {
    max-width: min(100%,29ch);
    font-size: clamp(24px,8.2vw,32px);
    line-height: .98;
    letter-spacing: -.045em;
  }
  .rtp-home-hero__lead {
    max-width: min(100%,40ch);
    font-size: 10px;
    line-height: 1.31;
    display: block;
    overflow: visible;
  }
  .rtp-home-hero__actions {
    width: min(100%,280px);
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
  }
  .rtp-home-hero__button {
    min-height: 31px;
    min-width: 0;
    max-width: 100%;
    padding-inline: 13px;
    border-radius: .48rem;
    font-size: 10px;
    letter-spacing: .012em;
    white-space: nowrap;
  }
  .rtp-home-hero__actions:has(.rtp-home-hero__button[hidden]) .rtp-home-hero__button--primary {
    min-width: min(170px,100%);
  }
  .rtp-home-hero__carousel {
    --hero-control-dot-w: 9px;
    --hero-control-dot-h: 3.4px;
    --hero-control-dot-active-w: 27px;
    min-height: 25px;
    padding: .14rem .23rem .14rem .32rem;
  }
  .rtp-home-hero__play.carousel-control.sjyt1d3 {
    --_147h8yx2: 1.02rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  .rtp-home-hero__poster,.rtp-home-hero__button,.rtp-home-hero [data-aos] {
    transition: none;
    animation: none;
  }
  .rtp-home-hero [data-aos] {
    opacity: 1;
    transform: none;
  }
  .rtp-home-hero__dot-progress {
    animation: none;
    transform: scale3d(1,1,1);
  }
}

.rtp-home-hero:not([data-hero-content-ready="true"]) [data-home-hero-title],.rtp-home-hero:not([data-hero-content-ready="true"]) [data-home-hero-lead],.rtp-home-hero:not([data-hero-content-ready="true"]) [data-home-hero-title-image],.rtp-home-hero:not([data-hero-content-ready="true"]) [data-home-hero-lead-image],.rtp-home-hero:not([data-hero-content-ready="true"]) .rtp-home-hero__actions {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rtp-home-hero [data-home-hero-title-image][hidden],.rtp-home-hero [data-home-hero-lead-image][hidden] {
  display: none;
}

.rtp-home-hero [data-home-hero-primary][hidden],.rtp-home-hero [data-home-hero-secondary][hidden],.rtp-home-hero[data-hero-primary-enabled="false"] [data-home-hero-primary] {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rtp-home-hero[data-hero-primary-enabled="true"] [data-home-hero-primary]:not([hidden]) {
  display: inline-flex;
}


/* Pencarian, filter, dan rail provider — berada setelah Rail Jackpot Terbaru dan tetap terisolasi. */
.home-provider-section {
  position: relative;
  scroll-margin-top: calc(var(--header-h, 72px) + 12px);
  z-index: 3;
  isolation: isolate;
  padding-block: 0 clamp(42px, 6vw, 84px);
  overflow: visible;
  color: var(--text);
}

.home-provider-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - clamp(28px, 5vw, 80px)), 1280px);
  margin-inline: auto;
}

.home-provider-toolbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
}

.home-provider-search {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 50px;
  padding-inline: 15px 10px;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 16px;
  color: color-mix(in srgb, var(--text) 58%, transparent);
  background: color-mix(in srgb, var(--theme-container-bg) 68%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.home-provider-search:focus-within {
  z-index: 7;
  border-color: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 58%, var(--text) 12%);
  color: var(--text);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.home-provider-search > svg {
  width: 20px;
  height: 20px;
}

.home-provider-search input {
  min-width: 0;
  height: 48px;
  padding: 0 11px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.home-provider-search input::placeholder {
  color: color-mix(in srgb, var(--text) 46%, transparent);
  opacity: 1;
}

.home-provider-search input:disabled {
  cursor: wait;
}

.home-provider-search__clear {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: color-mix(in srgb, var(--text) 65%, transparent);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  cursor: pointer;
}

.home-provider-search__clear[hidden] {
  display: none;
}

.home-provider-search__clear svg {
  width: 17px;
  height: 17px;
}

.home-provider-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 50px;
  padding: 0 17px;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 16px;
  color: var(--text);
  background: color-mix(in srgb, var(--theme-container-bg) 68%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.home-provider-filter svg {
  width: 19px;
  height: 19px;
}

.home-provider-filter[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 55%, var(--text) 12%);
  background: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 12%, var(--theme-container-bg));
}

.home-provider-filter:disabled {
  opacity: 0.5;
  cursor: wait;
}

.home-provider-viewport {
  margin-top: 12px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.home-provider-viewport::-webkit-scrollbar {
  display: none;
}

.home-provider-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(120px, 10vw, 128px);
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 2px 1px 5px;
  list-style: none;
}

.home-provider-item {
  min-width: 0;
  scroll-snap-align: start;
}

.home-provider-button {
  display: grid;
  grid-template-rows: 34px 12px;
  place-items: center;
  align-content: center;
  row-gap: 2px;
  width: 100%;
  height: 64px;
  min-height: 64px;
  padding: 6px 8px 5px;
  border: 1px solid color-mix(in srgb, var(--text) 13%, transparent);
  border-radius: 17px;
  color: var(--text);
  background: color-mix(in srgb, var(--theme-container-bg) 70%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  text-align: center;
}

button.home-provider-button {
  font: inherit;
  cursor: pointer;
}

button.home-provider-button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--text) 36%, var(--rtpx-button-accent, #2eafff) 64%);
  background: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 25%, var(--theme-container-bg));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.home-provider-logo {
  display: grid;
  place-items: center;
  width: min(82px, 100%);
  height: 34px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 0;
}

.home-provider-logo img {
  display: block;
  width: 34px;
  height: 34px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
}

.home-provider-logo[data-logo-state="ready"] img {
  opacity: 1;
}

.home-provider-all-icon {
  display: block;
  width: 30px;
  height: 30px;
  color: currentColor;
  background-color: currentColor;
  -webkit-mask: url("../img/provider/semua.svg") center / contain no-repeat;
  mask: url("../img/provider/semua.svg") center / contain no-repeat;
}

.home-provider-item--all .home-provider-logo {
  color: color-mix(in srgb, var(--text) 92%, transparent);
}

.home-provider-logo[data-logo-state="missing"] {
  visibility: hidden;
}

.home-provider-name {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  height: 12px;
  overflow: hidden;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.005em;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-provider-item--skeleton {
  pointer-events: none;
}

.home-provider-item--skeleton .home-provider-button {
  border-color: color-mix(in srgb, var(--text) 7%, transparent);
  background: color-mix(in srgb, var(--theme-container-bg) 52%, transparent);
}

.home-provider-item--skeleton .home-provider-logo {
  width: 58px;
  height: 26px;
  overflow: hidden;
  border-radius: 7px;
}

.home-provider-skeleton-name {
  width: 58%;
  height: 8px;
  border-radius: 999px;
}

.home-filter-dialog {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  pointer-events: none;
}

.home-filter-dialog[hidden] {
  display: none;
}

.home-filter-dialog__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--theme-bg) 62%, rgba(0, 0, 0, 0.48));
  opacity: 0;
  cursor: default;
  pointer-events: auto;
  touch-action: pan-y;
  transition: opacity 180ms ease;
}

.home-filter-dialog.is-open .home-filter-dialog__backdrop {
  opacity: 1;
}

.home-filter-sheet {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  max-height: 86dvh;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  color: var(--text);
  background: color-mix(in srgb, var(--theme-container-bg) 96%, var(--theme-bg) 4%);
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.24);
  transform: translate3d(0, calc(100% + 24px), 0);
  pointer-events: auto;
  transition: transform 220ms cubic-bezier(.2, .72, .24, 1);
}

.home-filter-dialog.is-open .home-filter-sheet {
  transform: translate3d(0, 0, 0);
}

.home-filter-sheet__handle {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 22%, transparent);
  transform: translateX(-50%);
}

.home-filter-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 16px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}

.home-filter-sheet__header p,
.home-filter-sheet__header h2 {
  margin: 0;
}

.home-filter-sheet__header p {
  color: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 78%, var(--text) 22%);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-filter-sheet__header h2 {
  margin-top: 5px;
  color: var(--text);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.home-filter-sheet__close {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: 50%;
  color: var(--text);
  background: color-mix(in srgb, var(--text) 6%, transparent);
  cursor: pointer;
}

.home-filter-sheet__close svg {
  width: 20px;
  height: 20px;
}

.home-filter-sheet__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color:
    color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 68%, var(--text) 18%)
    color-mix(in srgb, var(--theme-surface) 72%, transparent);
  scrollbar-gutter: stable;
}

.home-filter-sheet__body--compact {
  padding: 6px 16px 16px;
}

.home-filter-group--compact {
  padding-top: 16px;
}

.home-filter-group--compact + .home-filter-group--compact {
  margin-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}

.home-filter-group__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.home-filter-group__heading h3,
.home-filter-group__heading p {
  margin: 0;
}

.home-filter-group__heading h3 {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.home-filter-combobox {
  position: relative;
}

.home-filter-combobox__trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 16px;
  color: var(--text);
  background: color-mix(in srgb, var(--theme-surface) 74%, var(--theme-container-bg) 26%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.home-filter-combobox__trigger[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 52%, var(--text) 12%);
  border-radius: 16px 16px 0 0;
  background: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 10%, var(--theme-surface));
}

.home-filter-combobox__trigger svg {
  width: 18px;
  height: 18px;
  color: color-mix(in srgb, var(--text) 52%, transparent);
  transition: transform 180ms ease;
}

.home-filter-combobox__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.home-filter-combobox__value {
  min-width: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--text) 78%, transparent);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-filter-combobox__panel {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 52%, var(--text) 12%);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: color-mix(in srgb, var(--theme-container-bg) 97%, transparent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.home-filter-combobox__panel[hidden] {
  display: none;
}

.home-filter-combobox__panel:not([hidden]) {
  animation: home-filter-dropdown-in 180ms cubic-bezier(.2, .72, .24, 1);
}

.home-filter-combobox__search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  color: color-mix(in srgb, var(--text) 54%, transparent);
}

.home-filter-combobox__search svg {
  width: 16px;
  height: 16px;
}

.home-filter-combobox__search input {
  width: 100%;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.home-provider-search input::-webkit-search-decoration,
.home-provider-search input::-webkit-search-cancel-button,
.home-provider-search input::-webkit-search-results-button,
.home-provider-search input::-webkit-search-results-decoration,
.home-filter-combobox__search input::-webkit-search-decoration,
.home-filter-combobox__search input::-webkit-search-cancel-button,
.home-filter-combobox__search input::-webkit-search-results-button,
.home-filter-combobox__search input::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
}

.home-filter-combobox__search input::placeholder {
  color: color-mix(in srgb, var(--text) 45%, transparent);
  opacity: 1;
}

.home-filter-combobox__options {
  display: grid;
  max-height: min(40dvh, 260px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color:
    color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 72%, var(--text) 16%)
    color-mix(in srgb, var(--theme-surface) 72%, transparent);
  scrollbar-gutter: stable;
}

.home-filter-combobox__options button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--text) 6%, transparent);
  border-radius: 0;
  color: color-mix(in srgb, var(--text) 72%, transparent);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.home-filter-combobox__options button:first-child {
  border-top: 0;
}

.home-filter-combobox__options button span,
.home-filter-combobox__options button strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-filter-combobox__options button svg {
  width: 18px;
  height: 18px;
  color: var(--rtpx-button-accent, #2eafff);
  opacity: 0;
}

.home-filter-combobox__options button[aria-pressed="true"] {
  color: var(--text);
  background: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 12%, transparent);
}

.home-filter-combobox__options button[aria-pressed="true"] svg {
  opacity: 1;
}

.home-filter-combobox__options--category button {
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 4px 10px;
  min-height: 58px;
  padding-block: 10px;
  text-transform: none;
}

.home-filter-combobox__options--category button strong {
  grid-column: 1 / 2;
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.home-filter-combobox__options--category button span {
  grid-column: 1 / 2;
  color: color-mix(in srgb, var(--text) 52%, transparent);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.25;
  white-space: normal;
}

.home-filter-combobox__options--category button svg {
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
  align-self: center;
}

.home-filter-sheet__body::-webkit-scrollbar,
.home-filter-combobox__options::-webkit-scrollbar {
  width: 7px;
}

.home-filter-sheet__body::-webkit-scrollbar-track,
.home-filter-combobox__options::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--theme-surface) 72%, transparent);
}

.home-filter-sheet__body::-webkit-scrollbar-thumb,
.home-filter-combobox__options::-webkit-scrollbar-thumb {
  min-height: 36px;
  border: 2px solid color-mix(in srgb, var(--theme-surface) 72%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 72%, var(--text) 16%);
}

.home-filter-sheet__body::-webkit-scrollbar-thumb:hover,
.home-filter-combobox__options::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 86%, var(--text) 14%);
}

.home-filter-combobox__empty {
  margin: 0;
  padding: 16px 14px;
  color: color-mix(in srgb, var(--text) 56%, transparent);
  font-size: 11px;
  font-weight: 750;
}

.home-filter-sheet__footer {
  display: grid;
  grid-template-columns: minmax(94px, 0.38fr) minmax(0, 1fr);
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  background: color-mix(in srgb, var(--theme-container-bg) 98%, transparent);
}

.home-filter-sheet__reset,
.home-filter-sheet__apply {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 13px;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}

.home-filter-sheet__reset {
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  color: var(--text);
  background: color-mix(in srgb, var(--text) 5%, transparent);
}

.home-filter-sheet__apply {
  border: 1px solid var(--rtpx-button-accent, #2eafff);
  color: var(--rtpx-button-accent-text, #fff);
  background: var(--rtpx-button-accent, #2eafff);
}

.home-provider-empty {
  margin: 12px 0 0;
  color: color-mix(in srgb, var(--text) 58%, transparent);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.home-provider-empty[hidden] {
  display: none;
}

.home-provider-filter:focus-visible,
.home-provider-search__clear:focus-visible,
.home-provider-button:focus-visible,
.home-provider-viewport:focus-visible,
.home-filter-sheet:focus-visible,
.home-filter-sheet button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 70%, transparent);
  outline-offset: 3px;
}

@keyframes home-filter-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .home-provider-filter:not(:disabled):hover,
  .home-provider-search__clear:hover,
  .home-filter-sheet button:hover,
  button.home-provider-button:hover {
    border-color: color-mix(in srgb, var(--rtpx-button-accent, #2eafff) 38%, var(--text) 12%);
  }
}

@media (min-width: 768px) {
  .home-filter-dialog {
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 64px);
  }

  .home-filter-sheet {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(520px, calc(100vw - 64px));
    max-height: min(78dvh, 680px);
    margin: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
    border-radius: 22px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.97);
    transition:
      opacity 200ms ease,
      transform 240ms cubic-bezier(.2, .72, .24, 1);
  }

  .home-filter-dialog.is-open .home-filter-sheet {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .home-filter-sheet__handle {
    display: none;
  }

  .home-filter-sheet__header {
    padding: 22px 20px 14px;
  }

  .home-filter-sheet__body--compact {
    padding: 6px 20px 18px;
  }

  .home-filter-sheet__footer {
    padding: 12px 20px;
  }
}

@media (max-width: 720px) {
  .home-provider-section {
    padding-block: 0 32px;
  }

  .home-provider-shell {
    width: min(calc(100% - 28px), 560px);
  }

  .home-provider-toolbar {
    gap: 8px;
  }

  .home-provider-search,
  .home-provider-filter {
    min-height: 48px;
    border-radius: 15px;
  }

  .home-provider-filter {
    min-width: 48px;
    width: 48px;
    padding: 0;
  }

  .home-provider-filter__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .home-provider-list {
    grid-auto-columns: min(31vw, 122px);
    gap: 8px;
  }

  .home-provider-button {
    height: 64px;
    min-height: 64px;
    padding: 6px 8px 5px;
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .home-provider-list {
    grid-auto-columns: min(34vw, 118px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-provider-search,
  .home-provider-filter,
  .home-provider-button,
  .home-filter-dialog__backdrop,
  .home-filter-sheet,
  .home-filter-combobox__trigger svg {
    transition: none;
  }

  .home-filter-combobox__panel:not([hidden]) {
    animation: none;
  }
}

/* Rail Jackpot Terbaru dipusatkan di assets/css/home-winners-rail.css. */

/* Rail katalog game — kartu pola terhubung API worker */
.home-game-catalog {
  --home-game-accent: var(--rtpx-button-accent);
  --home-game-accent-active: var(--rtpx-button-accent-active);
  --home-game-accent-text: var(--rtpx-button-accent-text);
  --home-game-bg: var(--theme-bg);
  --home-game-wrapper: var(--theme-container-bg);
  --home-game-surface: var(--theme-surface);
  --home-game-text: var(--theme-text);
  --home-game-border: color-mix(in srgb, var(--home-game-text) 10%, transparent);
  --home-game-border-soft: color-mix(in srgb, var(--home-game-text) 7%, transparent);
  --home-game-muted: color-mix(in srgb, var(--home-game-text) 54%, transparent);
  --home-game-wrapper-soft: color-mix(in srgb, var(--home-game-wrapper) 82%, transparent);
  --home-game-surface-soft: color-mix(in srgb, var(--home-game-surface) 88%, var(--home-game-wrapper) 12%);
  --rtpx-skeleton-base: color-mix(in srgb, var(--home-game-surface) 72%, var(--home-game-wrapper) 28%);
  --rtpx-skeleton-highlight: color-mix(in srgb, var(--home-game-text) 8%, transparent);
  --home-game-card-width: 224px;
  --home-game-card-gap: 8px;
  --home-game-card-padding: 8px;
  --home-game-card-radius: 19px;
  --home-game-media-radius: 14px;
  --home-game-media-ratio: 1 / 1;
  --home-game-pattern-row-height: 45px;
  --home-game-action-height: 34px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h, 72px) + 12px);
  padding-block: 6px clamp(44px, 7vw, 92px);
  color: var(--home-game-text);
}

.home-game-catalog__shell {
  width: min(calc(100% - clamp(28px, 5vw, 80px)), 1280px);
  margin-inline: auto;
}

.home-game-rails {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

.home-game-rails[data-layout="grid"] {
  display: block;
}

.home-game-all {
  min-width: 0;
}

.home-game-all__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.home-game-all__copy {
  min-width: 0;
}

.home-game-all__copy h2,
.home-game-all__copy p {
  margin: 0;
}

.home-game-all__copy h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  color: var(--home-game-text);
  font-size: clamp(17px, 1.75vw, 22px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home-game-all__copy p {
  margin-top: 5px;
  color: var(--home-game-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.home-game-all__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

.home-game-all__count {
  flex: 0 0 auto;
  color: var(--home-game-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.home-game-all__back {
  box-sizing: border-box;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  min-width: max-content;
  height: 34px;
  padding: 0 12px;
  overflow: visible;
  border: 1px solid var(--home-game-border);
  border-radius: 999px;
  color: var(--home-game-text);
  background: var(--home-game-wrapper-soft);
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.home-game-all__back svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}

.home-game-all__back span {
  display: block;
  min-width: max-content;
  white-space: nowrap;
}

body[data-home-catalog-view="category-grid"] .home-provider-section {
  display: none;
}

.home-game-all__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  align-items: stretch;
  justify-content: stretch;
  gap: 16px;
  margin: 0;
  padding: 2px 1px 6px;
  list-style: none;
}

.home-game-all__load-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.home-game-all__load-more[hidden] {
  display: none;
}

.home-game-all__load-more-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--home-game-border);
  border-radius: 999px;
  color: var(--home-game-text);
  background: var(--home-game-wrapper-soft);
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, opacity 140ms ease;
}

.home-game-all__load-more-button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.home-game-all__status {
  margin: 12px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--home-game-border);
  border-radius: 14px;
  color: var(--home-game-muted);
  background: var(--home-game-wrapper-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.home-game-all__status[hidden] {
  display: none;
}

.home-game-all[data-state="loading"] .home-game-all__list {
  min-height: clamp(220px, 42vw, 420px);
}

.home-game-rail {
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: 470px;
}

.home-game-rail__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.home-game-rail__copy {
  min-width: 0;
}

.home-game-rail__copy h2,
.home-game-rail__copy p {
  margin: 0;
}

.home-game-rail__copy h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  color: var(--home-game-text);
  font-size: clamp(17px, 1.75vw, 22px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home-game-rail__copy p {
  margin-top: 5px;
  color: var(--home-game-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.home-game-rail__controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.home-game-rail__controls button {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  height: 36px;
  padding: 0;
  overflow: visible;
  border: 1px solid var(--home-game-border);
  color: var(--home-game-text);
  background: var(--home-game-wrapper-soft);
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, opacity 140ms ease;
}

.home-game-rail__nav {
  width: 36px;
  border-radius: 50%;
}

.home-game-rail__controls .home-game-rail__view-all {
  flex: 0 0 auto;
  width: max-content;
  min-width: 76px;
  max-width: none;
  padding: 0 13px;
  border-radius: 999px;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-overflow: clip;
}

.home-game-rail__controls button:disabled {
  opacity: 0.3;
  cursor: default;
}

.home-game-rail__controls svg {
  width: 18px;
  height: 18px;
}

.home-game-rail__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 1px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.home-game-rail__viewport::-webkit-scrollbar {
  display: none;
}

.home-game-rail[data-state="loading"] .home-game-rail__viewport {
  min-height: clamp(220px, 30vw, 300px);
}

.home-game-rail__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--home-game-card-width);
  align-items: stretch;
  gap: 16px;
  margin: 0;
  padding: 2px 1px 6px;
  list-style: none;
}

.home-game-card {
  min-width: 0;
  height: 100%;
  scroll-snap-align: start;
  contain: layout paint style;
}

.home-game-card__surface {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: var(--home-game-card-gap);
  width: 100%;
  height: 100%;
  padding: var(--home-game-card-padding);
  overflow: hidden;
  border: 1px solid var(--home-game-border);
  border-radius: var(--home-game-card-radius);
  color: var(--home-game-text);
  background: var(--home-game-surface);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--home-game-text) 4%, transparent);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.home-game-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: var(--home-game-media-ratio);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--home-game-border-soft);
  border-radius: var(--home-game-media-radius);
  background: color-mix(in srgb, var(--home-game-wrapper) 76%, var(--home-game-surface) 24%);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-game-card__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: scale(1);
  transition: transform 300ms cubic-bezier(.2,.72,.24,1), filter 240ms ease;
}

.home-game-card__media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-content: center;
  gap: 7px;
  padding: 22px;
  text-align: center;
  background: color-mix(in srgb, var(--home-game-wrapper) 72%, var(--home-game-surface) 28%);
}

.home-game-card__media-fallback strong,
.home-game-card__media-fallback span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-game-card__media-fallback strong {
  color: var(--home-game-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
}

.home-game-card__media-fallback span {
  color: var(--home-game-muted);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
}

.home-game-card__media[data-image-state="fallback"] img {
  display: none;
}

.home-game-card__media[data-image-state="fallback"] .home-game-card__media-fallback {
  display: grid;
}

.home-game-card__title-reveal {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  min-height: 56px;
  padding: 20px 11px 9px;
  color: var(--home-game-text);
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--home-game-surface) 96%, transparent) 0%,
    color-mix(in srgb, var(--home-game-wrapper) 82%, transparent) 58%,
    transparent 100%
  );
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 210ms ease, transform 260ms cubic-bezier(.2,.72,.24,1);
  pointer-events: none;
}

.home-game-card__title-reveal strong,
.home-game-card__title-reveal span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-card__title-reveal strong {
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.home-game-card__title-reveal span {
  color: var(--home-game-muted);
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-game-card__media[data-image-state="fallback"] .home-game-card__title-reveal {
  display: none;
}

.home-game-card__online {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 51px;
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--home-game-text) 17%, transparent);
  border-radius: 999px;
  color: var(--home-game-text);
  background: color-mix(in srgb, var(--home-game-surface) 86%, transparent);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.home-game-card__icon {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.home-game-card__icon--online {
  width: 13px;
  height: 13px;
}

.home-game-card__icon--pattern {
  width: 13px;
  height: 13px;
}

.home-game-card__icon[data-card-icon="player-online"] {
  -webkit-mask-image: url("../img/card-icons/player-online.svg");
  mask-image: url("../img/card-icons/player-online.svg");
}

.home-game-card__icon[data-card-icon="spin-turbo"] {
  -webkit-mask-image: url("../img/card-icons/spin-turbo.svg");
  mask-image: url("../img/card-icons/spin-turbo.svg");
}

.home-game-card__icon[data-card-icon="spin-cepat"] {
  -webkit-mask-image: url("../img/card-icons/spin-cepat.svg");
  mask-image: url("../img/card-icons/spin-cepat.svg");
}

.home-game-card__icon[data-card-icon="spin-manual"] {
  -webkit-mask-image: url("../img/card-icons/spin-manual.svg");
  mask-image: url("../img/card-icons/spin-manual.svg");
}

.home-game-card__icon[data-card-icon="double-chance"] {
  -webkit-mask-image: url("../img/card-icons/double-chance.svg");
  mask-image: url("../img/card-icons/double-chance.svg");
}

.home-game-card__icon[data-card-icon="buy-spin"] {
  -webkit-mask-image: url("../img/card-icons/buy-spin.svg");
  mask-image: url("../img/card-icons/buy-spin.svg");
}

.home-game-card__icon[data-card-icon="lewati-layar"] {
  -webkit-mask-image: url("../img/card-icons/lewati-layar.svg");
  mask-image: url("../img/card-icons/lewati-layar.svg");
}

.home-game-card__online.is-loading {
  min-width: 46px;
  color: var(--home-game-muted);
}

.home-game-card__online.is-fallback {
  border-color: var(--home-game-border);
}

.home-game-card__progress {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 21px;
  padding: 3px 5px 3px 4px;
  overflow: hidden;
  border: 1px solid var(--home-game-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--home-game-wrapper) 68%, var(--home-game-surface) 32%);
}

.home-game-card__progress-track {
  position: relative;
  display: block;
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--home-game-text) 9%, transparent);
}

.home-game-card__progress-fill {
  display: block;
  width: var(--home-game-progress, 0%);
  height: 100%;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 720ms cubic-bezier(.22, .78, .24, 1);
  background: linear-gradient(
    90deg,
    var(--rtpx-progress-low, var(--home-game-accent)) 0%,
    var(--rtpx-progress-stable, var(--home-game-accent)) 33%,
    var(--rtpx-progress-medium, var(--home-game-accent)) 66%,
    var(--rtpx-progress-high, var(--home-game-accent)) 100%
  );
  background-size: var(--home-game-progress-bg-size, 100%) 100%;
  background-position: left center;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--home-game-text) 18%, transparent);
}

.home-game-card__progress.is-progress-ready .home-game-card__progress-fill {
  transform: scaleX(1);
}

.home-game-card__progress strong {
  min-width: 29px;
  color: var(--home-game-text);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.home-game-card__patterns {
  display: grid;
  grid-template-rows: repeat(3, minmax(var(--home-game-pattern-row-height), 1fr));
  align-content: stretch;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--home-game-border-soft);
  border-radius: 13px;
  list-style: none;
  background: color-mix(in srgb, var(--home-game-wrapper) 76%, var(--home-game-bg) 24%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--home-game-text) 5%, transparent),
    0 3px 10px color-mix(in srgb, var(--home-game-bg) 18%, transparent);
}

.home-game-pattern {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: var(--home-game-pattern-row-height);
  padding: 6px 8px;
}

.home-game-pattern + .home-game-pattern {
  border-top: 1px solid var(--home-game-border-soft);
}

.home-game-pattern__icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  color: var(--home-game-accent);
  background: color-mix(in srgb, var(--home-game-accent) 10%, transparent);
}



.home-game-pattern__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.home-game-pattern__copy strong,
.home-game-pattern__copy > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-pattern__copy strong {
  color: color-mix(in srgb, var(--home-game-text) 72%, transparent);
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.012em;
}

.home-game-pattern__copy > span {
  color: var(--home-game-text);
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.006em;
}

.home-game-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.home-game-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: var(--home-game-action-height);
  padding: 0 10px;
  border: 1px solid var(--home-game-border);
  border-radius: 10px;
  color: var(--home-game-text);
  text-decoration: none;
  background: var(--home-game-wrapper);
  font-size: 8.5px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.018em;
  transition: border-color 140ms ease, background-color 140ms ease, opacity 140ms ease;
}

.home-game-card__button--main {
  border-color: var(--home-game-accent);
  color: var(--home-game-accent-text);
  background: var(--home-game-accent);
}

.home-game-card__button.is-disabled {
  opacity: 0.42;
  cursor: default;
}

.home-game-rail__status {
  margin: 8px 0 0;
  padding: 18px;
  border: 1px dashed var(--home-game-border);
  border-radius: 16px;
  color: var(--home-game-muted);
  background: var(--home-game-wrapper-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.home-game-rail__status[hidden] {
  display: none;
}

.home-game-rail__controls button:focus-visible,
.home-game-all__back:focus-visible,
.home-game-all__load-more-button:focus-visible,
.home-game-rail__viewport:focus-visible,
.home-game-card__media:focus-visible,
.home-game-card__button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--home-game-accent) 70%, transparent);
  outline-offset: 3px;
}

.home-game-card:is(.is-active, :focus-within) .home-game-card__surface {
  border-color: color-mix(in srgb, var(--home-game-accent) 42%, var(--home-game-text) 10%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--home-game-text) 6%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--home-game-accent) 8%, transparent);
}

.home-game-card:is(.is-active, :focus-within) .home-game-card__media {
  border-color: color-mix(in srgb, var(--home-game-accent) 56%, var(--home-game-text) 8%);
  background: color-mix(in srgb, var(--home-game-wrapper) 70%, var(--home-game-surface) 30%);
  box-shadow:
    0 10px 22px color-mix(in srgb, var(--home-game-bg) 32%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--home-game-accent) 10%, transparent);
}

.home-game-card:is(.is-active, :focus-within) .home-game-card__media img {
  transform: scale(1.055);
  filter: saturate(1.035) contrast(1.015);
}

.home-game-card:is(.is-active, :focus-within) .home-game-card__title-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (hover: hover) and (pointer: fine) {
  .home-game-card:hover .home-game-card__surface {
    border-color: color-mix(in srgb, var(--home-game-accent) 42%, var(--home-game-text) 10%);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, var(--home-game-text) 6%, transparent),
      inset 0 0 0 1px color-mix(in srgb, var(--home-game-accent) 8%, transparent);
  }

  .home-game-card:hover .home-game-card__media {
    border-color: color-mix(in srgb, var(--home-game-accent) 56%, var(--home-game-text) 8%);
    box-shadow:
      0 10px 22px color-mix(in srgb, var(--home-game-bg) 32%, transparent),
      inset 0 0 0 1px color-mix(in srgb, var(--home-game-accent) 10%, transparent);
  }

  .home-game-card:hover .home-game-card__media img {
    transform: scale(1.055);
    filter: saturate(1.035) contrast(1.015);
  }

  .home-game-card:hover .home-game-card__title-reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  .home-game-rail__controls button:not(:disabled):hover,
  .home-game-all__back:hover,
  .home-game-all__load-more-button:not(:disabled):hover,
  .home-game-card__surface:hover,
  .home-game-card__button:not(.is-disabled):hover {
    border-color: color-mix(in srgb, var(--home-game-accent) 44%, var(--home-game-text) 10%);
  }

  .home-game-card__button--main:not(.is-disabled):hover {
    border-color: var(--home-game-accent-active);
    background: var(--home-game-accent-active);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-game-card__surface,
  .home-game-card__media,
  .home-game-card__media img,
  .home-game-card__title-reveal,
  .home-game-card__progress-fill {
    transition: none;
  }

  .home-game-card__progress-fill {
    transform: scaleX(1);
  }
}

@media (min-width: 1024px) {
  .home-game-all__list,
  .home-game-rail__list {
    gap: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-game-catalog__shell {
    width: min(calc(100% - 32px), 960px);
  }

  .home-game-all__list,
  .home-game-rail__list {
    gap: 12px;
  }

  .home-game-all__list {
    grid-template-columns: repeat(auto-fit, minmax(184px, 1fr));
  }
}

@media (max-width: 767px) {
  .home-game-catalog {
    padding-block: 0 48px;
  }

  .home-game-catalog__shell {
    width: min(calc(100% - 24px), 560px);
  }

  .home-game-rails {
    gap: 36px;
  }

  .home-game-rail {
    contain-intrinsic-size: 430px;
  }

  .home-game-rail__heading {
    margin-bottom: 11px;
  }

  .home-game-rail__copy h2 {
    font-size: 16px;
  }

  .home-game-rail__copy p {
    margin-top: 4px;
    font-size: 10px;
  }

  .home-game-rail__controls {
    display: flex;
  }

  .home-game-rail__controls .home-game-rail__nav {
    display: none;
  }

  .home-game-rail__controls .home-game-rail__view-all {
    min-width: 72px;
    height: 32px;
    padding: 0 11px;
    font-size: 10px;
  }

  .home-game-all__heading {
    align-items: flex-start;
    margin-bottom: 11px;
  }

  .home-game-all__actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .home-game-all__back {
    height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  .home-game-all__copy h2 {
    font-size: 16px;
  }

  .home-game-all__copy p {
    margin-top: 4px;
    font-size: 10px;
  }

  .home-game-all__count {
    padding-top: 2px;
    font-size: 9px;
  }

  .home-game-all__load-more {
    margin-top: 14px;
  }

  .home-game-all__load-more-button {
    width: min(100%, 220px);
    min-width: 0;
    height: 38px;
    font-size: 10px;
  }

  .home-game-all__list {
    grid-template-columns: repeat(2, minmax(0, var(--home-game-card-width)));
    justify-content: center;
    gap: 10px;
  }

  .home-game-rail__list {
    grid-auto-columns: min(75vw, var(--home-game-card-width));
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .home-game-rail__list {
    grid-auto-columns: min(75vw, var(--home-game-card-width));
  }
}

@media (max-width: 350px) {
  .home-game-all__list {
    grid-template-columns: minmax(0, var(--home-game-card-width));
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-game-rail__viewport {
    scroll-behavior: auto;
  }

  .home-game-card__surface,
  .home-game-card__button,
  .home-game-rail__controls button,
  .home-game-all__back,
  .home-game-all__load-more-button {
    transition: none;
  }
}
