/* Studio 21.2: KoinFlip depth, with a compact mobile layout.
   The stage, game color and artwork carry the experience. */
@font-face {
  font-family: "KoinFlip Sans";
  src: url('/fonts/manrope-studio21.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --c20-ui: "KoinFlip Sans", sans-serif;
  --c20-display: "KoinFlip Sans", sans-serif;
  --bg: #06111d;
  --surface: #101f30;
  --raised: #20394e;
  --text: #f2f7fb;
  --muted: #b1c1d0;
  --result-win: #7df3ca;
  --result-loss: #ff9aaa;
  --accent: #30e6b4;
  --line: #294257;
}
html[data-candy20="true"], html[data-candy20="true"] body { background: var(--bg); }
html[data-candy20="true"] .workspace { background: transparent; }
html[data-candy20="true"] body { font-family: var(--c20-ui); }
html[data-candy20="true"] body::before { display: none; }

/* The actual monogram, lit like an oversized piece of embossed metal.
   Two composited layers; no additional renderer, blur or scroll listener. */
html[data-candy20="true"] .brand-atmosphere {
  display: block; isolation: isolate; contain: paint;
  background: radial-gradient(ellipse at 88% 20%,#0d2834 0,transparent 66%),var(--bg);
}
html[data-candy20="true"] .brand-pattern {
  inset: 4% -7% auto auto; width: clamp(400px,56vw,840px); aspect-ratio: 108 / 112;
  background: linear-gradient(138deg,#51dbc629,#129dd31a 50%,#0c3e6912);
  -webkit-mask: url('/brand/05/mark-mono.svg') center / contain no-repeat;
  mask: url('/brand/05/mark-mono.svg') center / contain no-repeat;
  opacity: 1; transform-origin: 50% 60%; will-change: auto;
  transform: perspective(1100px) rotateY(-19deg) rotateX(5deg) rotateZ(-13deg);
  animation: kf26-monogram-turn 24s ease-in-out infinite;
}
html[data-candy20="true"] .brand-pattern::after {
  content: ''; position: absolute; inset: -15%; pointer-events: none;
  background: linear-gradient(112deg,transparent 37%,#98fff133 47%,#d5ffff4d 50%,#39cfff24 54%,transparent 64%);
  transform: translate3d(-75%,0,0); animation: kf26-monogram-light 16s ease-in-out infinite;
}
html[data-candy20="true"] .brand-spotlight {
  top: auto; right: auto; bottom: -22%; left: -10%; width: clamp(240px,35vw,470px);
  height: auto; aspect-ratio: 108 / 112; background: url('/brand/05/mark.svg') center / contain no-repeat;
  opacity: .035; transform: rotateZ(16deg); animation: none;
}
@keyframes kf26-monogram-turn {
  0%,100% { transform: perspective(1100px) translate3d(0,0,0) rotateY(-19deg) rotateX(5deg) rotateZ(-13deg); }
  50% { transform: perspective(1100px) translate3d(-20px,14px,0) rotateY(9deg) rotateX(-4deg) rotateZ(-7deg); }
}
@keyframes kf26-monogram-light {
  0%,20% { transform: translate3d(-75%,0,0); opacity: 0; }
  36% { opacity: 1; }
  68% { transform: translate3d(75%,0,0); opacity: 1; }
  82%,100% { transform: translate3d(75%,0,0); opacity: 0; }
}
html[data-candy20="true"][data-candy-hidden="true"] .brand-pattern,
html[data-candy20="true"][data-candy-hidden="true"] .brand-pattern::after { animation-play-state: paused; }
html[data-candy20="true"].reduce-motion .brand-pattern,
html[data-candy20="true"].reduce-motion .brand-pattern::after { animation: none; }
html[data-candy20="true"].reduce-motion .brand-pattern::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  html[data-candy20="true"] .brand-pattern,
  html[data-candy20="true"] .brand-pattern::after { animation: none; }
  html[data-candy20="true"] .brand-pattern::after { display: none; }
}
@media (max-width:760px) {
  html[data-candy20="true"] .brand-pattern { top: 22%; right: -23%; width: 112vw; max-width: 560px; }
  html[data-candy20="true"] .brand-spotlight { bottom: -10%; left: -30%; width: 72vw; }
}
html[data-candy20="true"] h1, html[data-candy20="true"] h2,
html[data-candy20="true"] h3 { font-family: var(--c20-ui) !important; font-style: normal !important; font-weight: 800 !important; letter-spacing: -.025em !important; }
html[data-candy20="true"] :is(input,select,button) { font-family: var(--c20-ui); }
html[data-candy20="true"] :is(input,b,.v14-net,.px-flight-value) { font-variant-numeric: tabular-nums; }
html[data-candy20="true"] :is(a,button,input,select):focus-visible { outline: 2px solid #74f9d8; outline-offset: 3px; }
html[data-candy20="true"] ::selection { color: #052b24; background: #86f9d9; }
html[data-candy20="true"] input { caret-color: #5ceccb; }
html[data-candy20="true"] { scrollbar-color: #35536b #06111d; scrollbar-width: thin; }
html[data-candy20="true"] .topbar { background: #0a1826; border-bottom: 1px solid #243e52; backdrop-filter: blur(14px); }
html[data-candy20="true"] .topbar::after { display: none; }
html[data-candy20="true"] .sidebar { background: #0b1927; border-right-color: #213648; }
html[data-candy20="true"] .sidebar nav a.active { background: linear-gradient(100deg,#113b40,#102a36); color: #7effdc; box-shadow: inset 3px 0 #32edc1; }
html[data-candy20="true"] .balance-button { background: linear-gradient(130deg,#163548,#0e2234); border: 1px solid #315567; border-radius: 10px; box-shadow: inset 0 1px #a1e9ff12; }
html[data-candy20="true"] .search-box { background: #0d1e2d; border-color: #2f485e; border-radius: 12px; height: 44px; }
html[data-candy20="true"] .search-box input { font-size: 14px; }
html[data-candy20="true"] .search-box input::placeholder { color: #adbdcc; }
html[data-candy20="true"] .utility-bar { padding-block: 14px 12px; }

/* The dedicated hero stylesheet owns the feature composition. */

/* Clear, dense browsing. Card artwork leads, titles identify the game. */
html[data-candy20="true"] .cinema-categories { gap: 6px; padding-bottom: 16px; }
html[data-candy20="true"] .cinema-categories a { background: #102638; border: 1px solid #253f52; border-radius: 12px; min-height: 40px; padding-inline: 14px; color: #c0d1de; font-size: 12px; box-shadow: none; }
html[data-candy20="true"] .cinema-categories a.active { color: #d6fff7; background: #113e47; border-color: #43d8c899; box-shadow: inset 0 1px #60ffda18; }
html[data-candy20="true"] .cinema-section { margin-bottom: 24px; }
html[data-candy20="true"] .cinema-section-head { margin-bottom: 12px; }
html[data-candy20="true"] .cinema-section-head h2 { font-size: 20px; line-height: 1.3; }
html[data-candy20="true"] .cinema-section-head h2::before { display: none; }
html[data-candy20="true"] .cinema-section-head > a { font-size: 12px; color: #a8efd9; min-height: 32px; }
html[data-candy20="true"] .game-card { transform: none; animation: none; }
html[data-candy20="true"] .game-link { border: 1px solid #29465c; border-radius: 12px; background: #0d2030; box-shadow: none; }
html[data-candy20="true"] .game-link:hover { transform: none; border-color: #69e4e3a6; box-shadow: 0 0 0 1px #1edbc225,0 12px 24px -18px #000; }
html[data-candy20="true"] .game-card .tile-art { aspect-ratio: 1; border-radius: 12px; box-shadow: none; }
html[data-candy20="true"] .approved-poster .poster-art { height: auto; aspect-ratio: 4 / 3; filter: none; transform: none; background-image: none; overflow: hidden; }
html[data-candy20="true"] .poster-image { position: absolute; display: block; width: 400%; height: 400%; max-width: none; max-height: none; object-fit: fill; pointer-events: none; }
html[data-candy20="true"] .approved-poster .tile-art::after { inset: 60% 0 0; background: linear-gradient(transparent, #04111de8); }
html[data-candy20="true"] .approved-poster .tile-title,
html[data-candy20="true"] .popular-games .tile-title { bottom: 14px; font-family: var(--c20-ui) !important; font-size: clamp(14px,1.35vw,21px) !important; font-weight: 800; font-style: normal; letter-spacing: -.035em; text-transform: none; text-align: left; left: 12px; right: 8px; }
html[data-candy20="true"] .poster-caption, html[data-candy20="true"] .card-meta { display: none; }
html[data-candy20="true"] .favorite { border: none; width: 36px; height: 36px; top: 6px; right: 6px; border-radius: 8px; background: #0b1c2bbb; backdrop-filter: none; }
html[data-candy20="true"] .cinema-session { background: #0e2234; border: 1px solid #2a4357; border-radius: 16px; }
html[data-candy20="true"] .site-footer { background: none; color: #afc1d0; }

/* A shared game frame keeps the controls and result readable in every game. */
html[data-candy20="true"] .px-game { border: 1px solid #2b465a !important; border-radius: 14px !important; min-height: 0 !important; background: #071420 !important; box-shadow: 0 16px 44px -30px #000 !important; }
html[data-candy20="true"] .px-game .px-arena { background: radial-gradient(ellipse at 50% 34%,rgba(var(--game-rgb),.12),transparent 66%),#040f1b !important; border: none !important; box-shadow: inset 0 1px #e0faff08 !important; }
html[data-candy20="true"] .px-game .px-arena::before,
html[data-candy20="true"] .px-game .px-world::before,
html[data-candy20="true"] .px-game .px-world::after { opacity: .25; }
html[data-candy20="true"] .px-game .px-arena-head h2 { font-size: 26px !important; line-height: 1.2 !important; text-transform: none; }
html[data-candy20="true"] .px-game .px-arena-head .px-label { display: none !important; }
html[data-candy20="true"] .px-game .px-arena-head > a { background: #102b3a; border: 1px solid #315368; border-radius: 10px; color: #c6d7e4; font-size: 11px; }
html[data-candy20="true"] .px-game .px-controls { background: linear-gradient(135deg,#132a3b,#0a1b2a) !important; border: none !important; padding: 18px !important; min-height: 0 !important; height: auto !important; }
html[data-candy20="true"] .px-game :is(.field-label,.px-settings label,.px-setting label) { font-size: 11px !important; color: #b8cad9; letter-spacing: 0 !important; text-transform: none !important; font-weight: 700; }
html[data-candy20="true"] .px-game :is(.amount-control,input,select) { border-radius: 8px; background: #061421; color: #eff8fd; }
html[data-candy20="true"] .px-game .amount-control { border-color: #3b586c; box-shadow: inset 0 2px 5px #0004; }
html[data-candy20="true"] .px-game .amount-control input { font-size: 18px !important; font-weight: 750; }
html[data-candy20="true"] .px-game .amount-control button { background: #183347; color: #e6f3fc; }
html[data-candy20="true"] .px-game .side-picker button { background: #102434; border: 1px solid #405e72; border-radius: 8px; }
html[data-candy20="true"] .px-game .side-picker button.active { background: #1b4a46; border-color: #55e3c2; box-shadow: none; }
html[data-candy20="true"] .px-game :is(.px-primary,.flip-action,.dice-roll-action,.og-play) { min-height: 48px !important; border: 0 !important; border-radius: 10px !important; background: linear-gradient(110deg,var(--game),color-mix(in srgb,var(--game) 40%,#d3ffec)) !important; color: #04242d !important; box-shadow: inset 0 1px #ffffff4a,0 8px 25px -15px var(--game) !important; font-size: 15px !important; font-weight: 800 !important; }
html[data-candy20="true"] .px-game .px-toolbar { border: none; background: #0b1d2b !important; }
html[data-candy20="true"] .px-game .px-toolbar button { color: #c8dbe6; min-height: 44px !important; }
/* Results own the emphasis; the surrounding chrome stays quiet. */
html[data-candy20="true"] .px-game .px-result {
  background: #152433 !important; border: 1px solid #344c60 !important;
  border-radius: 12px !important; box-shadow: none !important; backdrop-filter: none;
  transform: none !important; opacity: 1 !important; transition: border-color .2s;
}
html[data-candy20="true"] .px-game .px-result.is-win { background: #0c2929 !important; border-color: #3d9d85 !important; }
html[data-candy20="true"] .px-game .px-result.is-loss { background: #251d2b !important; border-color: #845569 !important; }
html[data-candy20="true"] .px-game .px-result.is-push { background: #172737 !important; border-color: #50677c !important; }
html[data-candy20="true"] .px-game .px-result::before,
html[data-candy20="true"] .px-game .px-result::after { display: none !important; }
html[data-candy20="true"] .px-game .px-result-head > span {
  font-size: 12px !important; letter-spacing: .01em !important; font-weight: 800;
  color: #effbfa !important; text-shadow: none !important;
}
html[data-candy20="true"] .px-game .px-result.is-win .px-result-head > span { color: var(--result-win) !important; }
html[data-candy20="true"] .px-game .px-result.is-loss .px-result-head > span { color: var(--result-loss) !important; }
html[data-candy20="true"] .px-game .px-result-head > strong {
  font-family: var(--c20-ui) !important; font-size: 13px !important; font-style: normal !important;
  font-weight: 600; color: #e6edf6; letter-spacing: 0; text-transform: capitalize;
  overflow-wrap: anywhere; white-space: normal !important;
}
html[data-candy20="true"] .px-game .px-result-head > small { display: none !important; }
html[data-candy20="true"] .px-game .px-return span { color: #bdd2d9; font-size: 11px !important; }
html[data-candy20="true"] .px-game .px-return b { font-size: 13px !important; letter-spacing: 0 !important; }
html[data-candy20="true"] .px-game .px-return small { color: #bed0dc !important; font-size: 10px !important; }
html[data-candy20="true"] .px-game .v14-net > span { color: #bed0dc !important; font-size: 12px !important; }
html[data-candy20="true"] .px-game .px-result.is-win .v14-net b { color: var(--result-win) !important; text-shadow: none !important; }
html[data-candy20="true"] .px-game .px-result.is-loss .v14-net b { color: var(--result-loss) !important; text-shadow: none !important; }
html[data-candy20="true"] .px-game .px-result.is-push .v14-net b { color: #ecf3fb !important; }
html[data-candy20="true"] .px-game .px-controls::before,
html[data-candy20="true"] .px-game .v15-control-title,
html[data-candy20="true"] .px-game .px-controls > .muted { display: none !important; }
html[data-candy20="true"] .px-game .px-controls .field-label { margin-top: 12px !important; }
html[data-candy20="true"] .px-game .px-controls .field-label:first-child { margin-top: 0 !important; }
html[data-candy20="true"] .px-game .amount-control { height: 46px !important; }
html[data-candy20="true"] .px-game .amount-control button { min-width: 38px; }
html[data-candy20="true"] .px-game .side-picker { margin-bottom: 10px !important; }
html[data-candy20="true"] .px-game .potential { margin: 12px 0 14px !important; padding-block: 10px !important; }
html[data-candy20="true"] .px-game :is(.text-input,.og-select) { min-height: 44px !important; }
html[data-candy20="true"] .px-game input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
html[data-candy20="true"] .px-game input[type="number"]::-webkit-inner-spin-button,
html[data-candy20="true"] .px-game input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html[data-candy20="true"] .page-heading > .eyebrow { display: none; }
html[data-candy20="true"] .page-heading { margin-bottom: 20px; }
html[data-candy20="true"] .page-heading h1 { font-size: clamp(24px,2.5vw,32px); }
html[data-candy20="true"] .page-heading p { margin-top: 6px; line-height: 1.6; }
html[data-candy20="true"] .cinema-section-head p { display: none; }
html[data-candy20="true"] .cinema-session { padding: 20px 22px; }
html[data-candy20="true"] .cinema-session h2 { font-size: 20px; }
html[data-candy20="true"] .cinema-session p { margin-top: 6px; font-size: 12px; line-height: 1.6; }
html[data-candy20="true"] .cinema-session .eyebrow { display: none; }
html[data-candy20="true"] .cinema-session-actions .button { min-height: 44px; }
html[data-candy20="true"] .game-page-heading { padding-block: 0 12px; }
html[data-candy20="true"] .game-page-heading .quiet-badge { background: transparent; border: none; color: #a9becd; }

/* Transparent accounting belongs beside the wallet, away from game controls. */
html[data-candy20="true"] .pool-panel { margin-top: 20px; padding: 22px; background: #0c1f2e; border: 1px solid #29485b; border-radius: 14px; }
html[data-candy20="true"] .pool-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html[data-candy20="true"] .pool-heading h2 { margin: 0; font-size: 20px; }
html[data-candy20="true"] .pool-heading > span { color: #b2cbd8; font-size: 11px; }
html[data-candy20="true"] .pool-balance { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 16px; }
html[data-candy20="true"] .pool-balance strong { color: #a6ffe5; font-size: 32px; font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
html[data-candy20="true"] .pool-balance small { font-size: 13px; font-weight: 600; letter-spacing: 0; }
html[data-candy20="true"] .pool-balance > span { color: #bed4df; font-size: 12px; }
html[data-candy20="true"] .pool-progress { display: block; width: 100%; height: 4px; margin-top: 14px; border: 0; border-radius: 2px; appearance: none; background: #264252; color: #59e7c5; overflow: hidden; }
html[data-candy20="true"] .pool-progress::-webkit-progress-bar { background: #264252; }
html[data-candy20="true"] .pool-progress::-webkit-progress-value { background: #59e7c5; }
html[data-candy20="true"] .pool-progress::-moz-progress-bar { background: #59e7c5; }
html[data-candy20="true"] .pool-rule { max-width: 68ch; color: #bdd1dc; font-size: 12px; line-height: 1.7; margin: 16px 0; }
html[data-candy20="true"] .pool-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0; padding-block: 16px; border-block: 1px solid #284452; }
html[data-candy20="true"] .pool-metrics dt { color: #bed3df; font-size: 11px; }
html[data-candy20="true"] .pool-metrics dd { margin: 6px 0 0; color: #effbf9; font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
html[data-candy20="true"] .pool-metrics small { color: #bed3df; font-size: 10px; font-weight: 600; }
html[data-candy20="true"] :is(.pool-ledger,.pool-awards) { margin-top: 20px; }
html[data-candy20="true"] :is(.pool-ledger,.pool-awards) h3 { font-size: 13px; margin: 0 0 10px; }
html[data-candy20="true"] .pool-ledger table { table-layout: fixed; width: 100%; font-size: 11px; }
html[data-candy20="true"] .pool-ledger :is(th,td) { padding: 10px 8px; white-space: normal; overflow-wrap: anywhere; border-color: #284452; }
html[data-candy20="true"] .pool-ledger :is(th,td):first-child { padding-left: 0; }
html[data-candy20="true"] .pool-ledger :is(th,td):last-child { padding-right: 0; text-align: right; }
html[data-candy20="true"] .pool-ledger p { color: #bed3df; font-size: 12px; line-height: 1.6; margin: 0; }
html[data-candy20="true"] .pool-awards p { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; color: #bed3df; font-size: 12px; margin: 8px 0; }
html[data-candy20="true"] .pool-awards strong { color: #a6ffe5; }
html[data-candy20="true"] .pool-error { color: #ffb0ba; font-size: 12px; line-height: 1.6; }
@media(max-width:760px) {
  html[data-candy20="true"] .pool-panel { padding: 18px 16px; }
  html[data-candy20="true"] .pool-metrics { gap: 10px; }
  html[data-candy20="true"] .pool-metrics dt { min-height: 30px; }
  html[data-candy20="true"] .pool-metrics dd { font-size: 16px; }
}

@media (max-width:760px) {
  html[data-candy20="true"] { --header: 60px; }
  html[data-candy20="true"] .topbar { padding-inline: 12px; gap: 4px; }
  html[data-candy20="true"] .brand { width: 148px; height: 38px; }
  html[data-candy20="true"] .balance-button { height: 38px; padding-inline: 10px; }
  html[data-candy20="true"] .balance-button b { font-size: 12px; }
  html[data-candy20="true"] .mobile-menu { width: 32px; margin-right: 4px; }
  html[data-candy20="true"] .utility-bar { padding: 14px 16px 12px; }
  html[data-candy20="true"] .search-box { width: 100%; }
  html[data-candy20="true"] .search-box input { font-size: 16px; }
  html[data-candy20="true"] .workspace main { padding: 0 16px 28px; }
  html[data-candy20="true"] .cinema-categories { padding-bottom: 18px; gap: 6px; }
  html[data-candy20="true"] .cinema-categories a { min-height: 38px; font-size: 11px; padding-inline: 12px; }
  html[data-candy20="true"] .cinema-section { margin-bottom: 20px; }
  html[data-candy20="true"] .cinema-section-head h2 { font-size: 17px; }
  html[data-candy20="true"] .cinema-section-head > a { font-size: 11px; }
  html[data-candy20="true"] .cinema-section .game-grid,
  html[data-candy20="true"] .cinema-section.popular-games .game-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; overflow: visible; scroll-snap-type: none; padding: 0; }
  html[data-candy20="true"] .cinema-section .game-card { width: auto; min-width: 0; }
  html[data-candy20="true"] .game-card .tile-art { aspect-ratio: 1; }
  html[data-candy20="true"] .approved-poster .tile-title,
  html[data-candy20="true"] .popular-games .tile-title { font-size: clamp(12px,3.5vw,16px) !important; bottom: 12px; left: 9px; right: 6px; letter-spacing: -.035em; }
  html[data-candy20="true"] .favorite { width: 32px; height: 32px; top: 4px; right: 4px; }
  html[data-candy20="true"] .game-page-heading { display: flex !important; align-items: center; justify-content: space-between; padding-block: 12px; }
  html[data-candy20="true"] .game-page-heading > a { font-size: 12px; }
  html[data-candy20="true"] .game-page-heading .quiet-badge { font-size: 10px; }
  html[data-candy20="true"] .px-game .px-arena-head { min-height: 50px !important; padding: 6px 14px !important; }
  html[data-candy20="true"] .px-game .px-arena-head h2 { font-size: 22px !important; }
  html[data-candy20="true"] .px-game .px-arena-head > a { min-height: 40px !important; padding: 7px 10px !important; font-size: 10px; }
  html[data-candy20="true"] .px-game[data-play13] .px-world { height: clamp(260px,74vw,300px) !important; }
  html[data-candy20="true"] .px-game[data-play13="coinflip"] .px-world { height: clamp(260px,74vw,300px) !important; }
  html[data-candy20="true"] .px-game[data-play13="coinflip"] .px-coin-wrap { transform: scale(1.22); }
  html[data-candy20="true"] .px-game[data-play13="mines"] .px-world,
  html[data-candy20="true"] .px-game[data-play13="plinko"] .px-world { height: auto !important; }
  html[data-candy20="true"] .px-game .px-toolbar { padding-inline: 14px !important; min-height: 44px !important; }
  html[data-candy20="true"] .px-game .px-toolbar button { min-height: 44px !important; font-size: 10px !important; }
  html[data-candy20="true"] .px-game .px-controls { padding: 16px !important; }
  html[data-candy20="true"] .px-game .px-controls .side-picker button { min-height: 44px !important; font-size: 12px !important; }
  html[data-candy20="true"] .px-game .px-result { margin: 0 12px 12px !important; padding: 12px !important; border-radius: 10px !important; }
  html[data-candy20="true"] .px-game .v14-net b { font-size: 42px !important; }
  html[data-candy20="true"] .mobile-nav { background: #0b1927; border-color: #294357; }
  html[data-candy20="true"] .mobile-nav a { color: #b1c3d2; font-size: 10px; }
  html[data-candy20="true"] .mobile-nav a.active { color: #73f6d2; }
  html[data-candy20="true"] .site-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}
@media (max-width:359px) {
  html[data-candy20="true"] .brand { width: 128px; }
  html[data-candy20="true"] .workspace main { padding-inline: 12px; }
  html[data-candy20="true"] .utility-bar { padding-inline: 12px; }
  html[data-candy20="true"] .cinema-section .game-grid { gap: 8px; }
  html[data-candy20="true"] .candy-hero-copy { width: 66%; }
}
@media (prefers-reduced-motion:reduce) { html[data-candy20="true"] .game-link:hover { transform: none; } }
html.reduce-motion .game-link:hover { transform: none; }

/* The legacy stage child selector also matches the Vault canvas. Keep every
   renderer out of layout flow so its pixels and viewport share one rectangle. */
html[data-candy20="true"] .px-game .px-world > :is(.v15-canvas,.v14-canvas,.g18-canvas,.c17-canvas) {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important; margin: 0 !important;
}
html[data-candy20="true"] .px-game .px-world > .v15-canvas { z-index: 4 !important; transform: none !important; }
html[data-candy20="true"] .approved-poster .tile-title { text-shadow: 0 2px 10px #000; }
html[data-candy20="true"] .approved-poster .poster-art { transition: transform .3s ease,filter .3s ease; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 html[data-candy20="true"] .game-link:hover .poster-art { transform: scale(1.035); filter: brightness(1.06); }
}
html[data-candy20="true"] .px-game .px-result.is-idle { background: none !important; border: 0 !important; box-shadow: none !important; }


/* Motion22: model fit, interruption-safe banners and receipts in normal flow. */
html[data-candy20="true"] .candy-hero-slide { transition: opacity .32s ease,transform .56s cubic-bezier(.16,1,.3,1),visibility .56s; transform: translate3d(7%,0,0); transform-style: flat; }
html[data-candy20="true"] .candy-hero-slide.is-active { transform: none; opacity: 1; }
html[data-candy20="true"] .candy-hero-slide.is-leaving { transform: translate3d(-7%,0,0); opacity: 0; }
html[data-candy20="true"] .candy-visual { position: relative; overflow: visible; align-self: stretch; min-width: 0; height: 100%; }
html[data-candy20="true"] .candy-coin-stage { inset: -14% -4%; transform: none; }
html[data-candy20="true"] .candy-coin-stage.vault-active > :not(canvas) { display: none; }
html[data-candy20="true"] .candy-coin-stage > canvas { position:absolute;inset:0; width:100%!important;height:100%!important; }
html[data-candy20="true"] .candy-stack-stage { inset: -12% -10% -16%; transform: scale(.65) rotateX(10deg) rotateY(-12deg); }
html[data-candy20="true"] .candy-play-stage { inset:-10% -5%; transform:scale(.65); }
html[data-candy20="true"] .candy-hero-copy { z-index: 3; }
html[data-candy20="true"] .candy-hero-copy h1 { font-weight:800;letter-spacing:-.035em; }
html[data-candy20="true"] .candy-hero-copy h1 em { font-weight:800; }
html[data-candy20="true"] .game-card .tile-art { overflow:hidden; }
html[data-candy20="true"] .game-card .poster-art { inset:0 0 auto; width:100%; animation: m22-cover-drift 8s ease-in-out infinite alternate; animation-delay:calc(var(--tile-index,0)*-.8s); transform-origin:center; }
html[data-candy20="true"] .approved-poster .tile-title { bottom:9px; line-height:1.1; }
html[data-candy20="true"] .approved-poster .tile-art::after { inset:64% 0 0; background:linear-gradient(transparent,#091827 38%); }
html[data-candy20="true"] .game-card[data-motion-visible="false"] .poster-art,
html[data-candy20="true"][data-candy-hidden="true"] .poster-art { animation-play-state:paused; }
@keyframes m22-cover-drift { from{transform:scale(1.01) translateY(0);}to{transform:scale(1.065) translateY(-1%);} }
html[data-candy20="true"] .px-game .px-arena { display:flex!important;flex-direction:column!important;gap:0; min-height:0!important;height:auto!important;max-height:none!important;padding:0!important; }
html[data-candy20="true"] .px-game .px-arena-head { position:relative!important;inset:auto!important;flex:none!important; min-height:54px!important; padding:10px 18px!important; }
html[data-candy20="true"] .px-game[data-play13] .px-world { position:relative!important;inset:auto!important;flex:none!important;width:100%!important;height:clamp(330px,32vw,430px)!important;min-height:0!important;padding:0!important;overflow:hidden; }
html[data-candy20="true"] .px-game .px-toolbar { position:relative!important;inset:auto!important;width:100%!important;flex:none;min-height:44px!important;padding:0 16px!important;margin-top:0!important;border-top:1px solid #ffffff0d!important; }
html[data-candy20="true"] .px-game .px-result { position:relative!important;inset:auto!important;align-self:stretch!important;width:auto!important;height:auto!important;min-height:0!important;flex:none!important;padding:14px 16px!important;margin:0 14px 14px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px; }
html[data-candy20="true"] .px-game .px-result-head { grid-column:1; margin:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px;align-self:center; }
html[data-candy20="true"] .px-game .px-result-head > strong { max-width:none!important; }
html[data-candy20="true"] .px-game .v14-net { position:static!important;inset:auto!important;grid-column:2;grid-row:1;display:flex!important;align-items:baseline!important;margin:0!important;gap:5px!important; }
html[data-candy20="true"] .px-game .v14-net b { font-family:var(--c20-ui)!important;font-size:48px!important;font-weight:800!important;line-height:1.1!important;font-style:normal!important;letter-spacing:-.02em!important; }
html[data-candy20="true"] .px-game .v14-net > small { display:none; }
html[data-candy20="true"] .px-game .px-return { grid-column:1/-1;display:flex!important;justify-content:space-between!important;flex-wrap:wrap;gap:8px!important;border-top:1px solid #ffffff16;padding-top:10px!important;margin:0!important; }
html[data-candy20="true"] .px-game .px-return > div { display:flex!important;align-items:baseline;gap:7px!important; }
html[data-candy20="true"] .px-game .px-result.is-idle,
html[data-candy20="true"] .px-game .px-result.is-pending { display:flex!important; }
html[data-candy20="true"] .px-game .px-result.is-idle { display:none!important; }
html[data-candy20="true"] .px-game[data-play13="slots"] .g18-canvas { transform:none!important;filter:none; }
html[data-candy20="true"] .px-game[data-play13="mines"] .px-world { height:auto!important;padding:14px!important; }
html[data-candy20="true"] .px-game[data-play13="mines"] .px-mines { position:relative!important;inset:auto!important;transform:none!important;width:min(100%,480px)!important;height:auto!important;aspect-ratio:1;max-height:none!important;margin:0 auto!important;grid-template-rows:repeat(5,minmax(0,1fr))!important; }
html[data-candy20="true"] .px-game .g18-active > .px-tower { opacity:0!important;pointer-events:auto!important;visibility:visible!important; }

html[data-candy20="true"] .px-game .g18-active > :is(.px-keno,.px-cups) { opacity:0!important;pointer-events:auto!important;visibility:visible!important; }

html[data-candy20="true"] .px-game .px-cups { position:absolute!important;inset:0 8%!important;opacity:0!important;display:flex!important;align-items:center;justify-content:center;gap:12px; }
html[data-candy20="true"] .px-game .px-cups > button { flex:1;max-width:24%;height:100%;opacity:0!important; }
html[data-candy20="true"] .px-game .px-cups > button:focus-visible { opacity:.35!important; }
html[data-candy20="true"] .px-game .px-tower { width:min(82%,370px)!important;height:100%!important;padding:12px 0!important;gap:6px!important; }
html[data-candy20="true"] .px-game .px-tower-row { min-height:0!important;flex:1; }
html[data-candy20="true"] .px-game .px-tower-row button { min-height:0!important;transition:background .18s,transform .18s; }
html[data-candy20="true"] .px-game .px-tower-row.current button { animation:m22-tower-light 3s ease-in-out infinite; }
@keyframes m22-tower-light { 0%,100%{box-shadow:inset 0 1px #b5ccff40,0 5px 12px -8px #668eff;}50%{box-shadow:inset 0 1px #cde5ff70,0 5px 16px -6px #668eff;} }
html[data-candy20="true"] .px-game .px-keno { width:min(90%,560px)!important;height:auto!important;aspect-ratio:8/5;gap:8px!important; }
html[data-candy20="true"] .px-game .px-keno button { min-width:0!important;min-height:0!important;font-size:16px!important;border-radius:12px; }
html[data-candy20="true"] .px-game .px-keno button.drawn { animation:m22-ball-land .35s cubic-bezier(.16,1,.3,1) both; }
@keyframes m22-ball-land { from{transform:scale(.8) translateY(-8px);filter:brightness(1.6);}to{transform:none;filter:none;} }
html[data-candy20="true"] .px-game .c17-hud { position:absolute!important;inset:0!important; }
html[data-candy20="true"] .px-game .c17-telemetry,
html[data-candy20="true"] .px-game .c17-axis,
html[data-candy20="true"] .px-game .c17-flight-note { display:none!important; }
html[data-candy20="true"] .px-game .c17-readout { position:absolute!important;left:50%!important;top:8%!important;width:46%!important;transform:none!important;display:flex;flex-direction:column;gap:5px; }
html[data-candy20="true"] .px-game .c17-readout strong { font-family:"KoinFlip Display",sans-serif!important;font-size:clamp(44px,5vw,78px)!important;line-height:1!important; }
@media(max-width:760px){
 html[data-candy20="true"] .px-game[data-play13] .px-world { height:clamp(250px,70vw,284px)!important; }
 html[data-candy20="true"] .px-game[data-play13="mines"] .px-world { height:auto!important;padding:8px 14px 14px!important; }
 html[data-candy20="true"] .px-game[data-play13="mines"] .px-mines { width:min(100%,300px)!important; }
 html[data-candy20="true"] .px-game[data-play13="plinko"] .px-world { height:clamp(250px,70vw,284px)!important; }
 html[data-candy20="true"] .px-game .v14-net b { font-size:38px!important; }
 html[data-candy20="true"] .px-game .px-result { padding:12px 14px!important;margin:0 12px 12px!important;gap:10px; }
 html[data-candy20="true"] .px-game .px-result-head > strong { font-size:12px!important; }
 html[data-candy20="true"] .px-game .px-return span { font-size:9px!important; }
 html[data-candy20="true"] .px-game .px-return b { font-size:12px!important; }
 html[data-candy20="true"] .px-game .c17-readout { left:48%!important;top:12%!important;width:50%!important; }
 html[data-candy20="true"] .px-game .c17-readout strong { font-size:52px!important; }
}
@media(prefers-reduced-motion:reduce){html[data-candy20="true"] .poster-art,html[data-candy20="true"] .px-tower-row.current button,html[data-candy20="true"] .px-keno button.drawn {animation:none!important;} }
html[data-candy20="true"].reduce-motion .poster-art,html[data-candy20="true"].reduce-motion .px-tower-row.current button {animation:none!important;}

html[data-candy20="true"] .px-game .px-arena::before,html[data-candy20="true"] .px-game .px-world::before,html[data-candy20="true"] .px-game .px-world::after { display:none!important; }
html[data-candy20="true"] .px-game[data-play13="tower"] .px-world { height:470px!important; }
html[data-candy20="true"] .px-game .px-keno { position:relative!important;margin:12px auto!important;padding:0!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;grid-template-rows:repeat(5,minmax(0,1fr))!important; }

@media (max-width:760px) {
  html[data-candy20="true"] .cinema-session { padding: 16px; gap: 14px; }
  html[data-candy20="true"] .cinema-session h2 { font-size: 18px; }
  html[data-candy20="true"] .cinema-session-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  html[data-candy20="true"] .cinema-session-actions .button { justify-content: center; }
  html[data-candy20="true"] .px-game .px-result-head > strong { max-width: 160px !important; }
  html[data-candy20="true"] .px-game .px-result-head > span { font-size: 11px !important; }
}
@media (max-width:359px) {
  html[data-candy20="true"] .px-game .v14-net b { font-size: 32px !important; }
  html[data-candy20="true"] .px-game .px-return { gap: 7px !important; }
  html[data-candy20="true"] .px-game .px-return span { font-size: 10px !important; }
}
