/* Bounded UI enhancement: preserve the existing KK8 layout and palette. */
:root{--sticky-space:88px;--ease-soft:cubic-bezier(.22,.68,.25,1)}
.hero-top .edition{display:inline-flex;align-items:center;opacity:1;flex-shrink:0}
.edition .singapore-flag{display:block;width:36px;height:24px;object-fit:contain;border-radius:2px;box-shadow:0 0 0 1px var(--line)}
.nav-cta{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.button,.nav-cta,.mobile-bar a{transition:transform .22s var(--ease-soft),box-shadow .22s var(--ease-soft)}
.text-link{min-height:44px}.hero .fine{font-size:11px;line-height:1.8}
.terms-trigger{min-height:44px;padding:8px 0!important}.hero-art{animation:none!important}
.hero-particles{position:absolute;inset:0;overflow:clip;pointer-events:none;z-index:0;contain:paint}
.hero-particles i{position:absolute;width:3px;height:3px;border-radius:50%;background:var(--gold);opacity:.18;animation:gold-drift 14s ease-in-out infinite alternate}
.hero-particles i:nth-child(1){left:3%;top:27%}.hero-particles i:nth-child(2){left:93%;top:15%;animation-delay:-5s}.hero-particles i:nth-child(3){left:57%;top:75%;animation-delay:-9s}.hero-particles i:nth-child(4){left:97%;top:67%;animation-delay:-3s}.hero-particles i:nth-child(5){left:6%;top:87%;animation-delay:-7s}
.hero-particles.paused i{animation-play-state:paused}.hero-grid,.hero-top,.hero-bottom{position:relative}.hero-top,.hero-bottom{z-index:2}
@keyframes gold-drift{from{transform:translate3d(0,10px,0);opacity:.12}to{transform:translate3d(7px,-20px,0);opacity:.28}}
@keyframes number-enter{from{transform:translateY(18px);opacity:.3}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:no-preference){.mega .digit,.mega sup{animation:number-enter .8s var(--ease-soft) both}.mega .digit:nth-child(2){animation-delay:.1s}.mega .digit:nth-child(3){animation-delay:.2s}.mega sup{animation-delay:.3s}}
.reveal-ready{opacity:0;transform:translateY(12px)}.reveal-ready.is-revealed{opacity:1;transform:none;transition:opacity .55s var(--ease-soft),transform .55s var(--ease-soft);transition-delay:var(--reveal-delay,0ms)}
.result{position:relative;isolation:isolate}.result::before{content:'';position:absolute;inset:-12px;border-radius:8px;background:var(--gold);opacity:0;z-index:-1;pointer-events:none}
@keyframes result-highlight{0%,100%{opacity:0;transform:scale(.96)}45%{opacity:.23;transform:scale(1)}}
.result.highlight-once::before{animation:result-highlight 1.1s var(--ease-soft) .35s both}
.game{position:relative;isolation:isolate;transition:transform .25s var(--ease-soft)}.game::after{content:'';position:absolute;inset:0;border:1px solid var(--gold);border-radius:inherit;box-shadow:inset 0 0 16px rgb(255 206 97 / .1);opacity:0;pointer-events:none;transition:opacity .25s var(--ease-soft)}
@media(hover:hover) and (pointer:fine){.game:hover{transform:translateY(-4px)}.game:hover::after,.game:focus-visible::after{opacity:.6}.button:hover,.nav-cta:hover,.mobile-bar a:hover{transform:translateY(-2px);box-shadow:0 6px 18px var(--shadow)}}
@media(hover:none){.game:hover,.button:hover{transform:none;box-shadow:none}}
.button:active,.nav-cta:active,.mobile-bar a:active{transform:translateY(1px)}
details.is-animating{overflow:clip}summary{min-height:48px}summary span{transition:transform .24s var(--ease-soft)}details p{margin:0}
.motion-simple .hero-particles{display:none}.motion-simple .digit,.motion-simple .mega sup{animation:none!important}.motion-simple .reveal-ready{opacity:1;transform:none;transition:none}.motion-simple .result::before{animation:none}
@media(max-width:768px){.hero-art{height:265px;margin-top:0}.reward{height:112%;top:-12px}.art-label{bottom:7px}.lead{margin-top:8px}.description{margin-top:9px}.actions{margin-top:16px}.hero-copy>.fine{margin-top:9px;font-size:10px;max-width:320px}.hero .fine br{display:none}.hero-grid{padding-bottom:14px}.hero-bottom{gap:10px}.mobile-bar{min-height:72px}.has-js .mobile-bar{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(100%);transition:opacity .2s var(--ease-soft),transform .25s var(--ease-soft),visibility .25s}.has-js .mobile-bar.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:none}footer{padding-bottom:calc(var(--sticky-space) + env(safe-area-inset-bottom) + 24px)}.footer-top>div{font-size:11px}.balance-note,.games-note{font-size:11px}}
@media(max-width:768px){.lead{font-size:11px;gap:5px;flex-wrap:nowrap}.lead strong{font-size:23px;white-space:nowrap}.lead>span{font-size:22px;margin:0 3px}.game img{aspect-ratio:1.07}.hero .fine{max-width:100%}}
/* A flattened illustration stays intact: one lighting cue, no raster warping. */
.machine-halo{position:absolute;inset:8% 8% 4%;border-radius:50%;background:radial-gradient(ellipse at 50% 56%,rgb(255 206 97 / .2),rgb(255 206 97 / .055) 43%,transparent 70%);opacity:.75;pointer-events:none}
.reel-lights{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.reel-light{fill:var(--gold);opacity:0}
@keyframes reel-settle-light{0%{opacity:0}30%{opacity:.16}100%{opacity:0}}
@keyframes machine-warmth{0%{opacity:.4}65%{opacity:1}100%{opacity:.75}}
@media(prefers-reduced-motion:no-preference){.machine-awake .reel-light{animation:reel-settle-light .65s var(--ease-soft) both}.machine-awake .reel-light:nth-child(1){animation-delay:.18s}.machine-awake .reel-light:nth-child(2){animation-delay:.46s}.machine-awake .reel-light:nth-child(3){animation-delay:.74s}.machine-awake .machine-halo{animation:machine-warmth 1.65s var(--ease-soft) both}}
@media(max-width:768px){.hero-art{width:min(100%,390px);margin-inline:auto}.reward,.reel-lights{width:296.8px;height:296.8px;left:50%;top:-12px;transform:translateX(-50%)}.hero-particles i:nth-child(n+3){display:none}.art-circle{inset:28px 40px}.orbit-mark{width:85%;left:6%}.art-label{right:0}}
.motion-simple .reel-light{animation:none!important;opacity:0}.motion-simple .machine-halo{animation:none!important;opacity:.75}
@media(prefers-reduced-motion:reduce){.hero-particles{display:none}.reveal-ready{opacity:1;transform:none}.result::before{animation:none}.mega .digit,.mega sup{animation:none!important;opacity:1;transform:none}.has-js .mobile-bar{transition:none}.reel-light{animation:none!important;opacity:0}.machine-halo{animation:none!important;opacity:.75}*,*::before,*::after{scroll-behavior:auto!important}}
