/* Originals: instant games inside the Play screen of /me and the shop machines (public/js/og.js).
   The choices use the app's own pieces; only the game picture is a dark stage with the clay pieces. */
.ogx { container-type: inline-size; --stage: #0b0f0d; --mint: #06d47f; --mint-ink: #04a867; --yel: #ffdf50; --red: #ff5a4f; }
/* the game row, the game, and its total bar: built from the app's own pieces (sp-pill, card, field, chips, seg, sellbar) */
.ogx, .og > *, .og-g > *, .og-game > * { min-width: 0; }
.og { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.og-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.og-tv { overflow: hidden; text-overflow: ellipsis; }
.sellbar .grow { min-width: 0; }
.og-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: 2px; box-shadow: 0 0 0 3px rgba(6, 212, 127, .2); }
.og-panel { gap: 14px; }
.og-panel .seg { width: 100%; } .og-panel .seg button { flex: 1; }
.og-sides button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; }
.og-sides button img { width: 30px; height: 30px; }
.og-sides button small { font-size: 11px; font-weight: 600; opacity: .7; margin-left: 2px; }
.og-switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.og-locked { opacity: .5; pointer-events: none; }
.og-tv { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.og-tv .crl { font-size: 12px; font-weight: 600; color: var(--muted); }
.og-cta { display: flex; gap: 8px; flex: none; }
.og-cta .btn { min-width: 120px; }
.og-cta .btn[hidden] { display: none; }
@media (max-width: 420px) { .og-cta .btn { min-width: 0; padding: 0 14px; } .og-tv { font-size: 18px; } }
.og-closed { text-align: center; }
.og-game { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
/* ---- the bet bar: the game and its controls are one piece; the bar is in the site's light theme ---- */
.og-game.bb { gap: 0; border-radius: 26px; background: #fff; box-shadow: 0 22px 44px -26px rgba(4, 40, 26, .45), 0 0 0 1px rgba(14, 22, 48, .06); overflow: clip; }
.og-game.bb > .og-stage { border-radius: 26px 26px 0 0; box-shadow: none; }
.og-dock { color: var(--ink); background: #fff; padding: 0 14px 14px; display: grid; gap: 12px; }
.bb-row { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 -14px; padding: 12px 14px; background: #fff; box-shadow: 0 1px 0 rgba(14, 22, 48, .07); }
.bb-slot:empty { display: none; }
.bb-a { display: flex; align-items: center; gap: 6px; }
.bb-pm { width: 42px; height: 44px; flex: none; border: 0; background: url(/img/og/g4-rkey.webp) center / 100% 100% no-repeat; color: #26302c; font: 900 22px/1 var(--font); padding: 0 0 4px; cursor: pointer; transition: transform .08s; -webkit-tap-highlight-color: transparent; } .bb-pm:active { transform: translateY(2px) scale(.96); }
.bb-val { min-width: 112px; height: 60px; padding: 0 16px 2px; border: 0; background: url(/img/og/g4-well.webp) center / 100% 100% no-repeat; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; gap: 2px; cursor: pointer; font-variant-numeric: tabular-nums; }
.bb-rep { width: 42px; height: 44px; flex: none; margin-left: 2px; border: 0; padding: 0 0 4px; background: url(/img/og/g4-rkey.webp) center / 100% 100% no-repeat; color: #26302c; display: grid; place-items: center; align-content: center; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; } .bb-rep svg { width: 19px; height: 19px; }
.bb-rep.on { background-image: url(/img/og/g4-rkey-m.webp); color: #06281a; } .bb-rep b { font: 900 14px var(--font); } .bb-rep small { font: 800 7.5px var(--font); letter-spacing: .04em; text-transform: uppercase; } .bb-rep:active { transform: translateY(2px) scale(.96); }
.bb-sheet .bb-p input { height: 44px; text-align: center; min-width: 0; padding: 0 6px; }
.bb-val b { font: 900 19px/1 var(--font); } .bb-val small { font: 700 9.5px/1 var(--font); color: #6b7773; } /* both lines sit on the well's floor, inside its rim */
.bb-tot { flex: 1 0 auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; gap: 3px; } .bb-tot span { font: 700 10.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bb-tot .og-tv { font-size: 19px; color: var(--ink); }
/* the action keys are drawn clay keys (one picture each, stretched between its round ends); the mint one is the same in every game: the word only */
.bb-row .og-cta { flex: 1 1 100%; gap: 8px; }
.bb-row .og-cta .btn { --kh: 58px; position: relative; flex: 1; min-width: 0; height: var(--kh); padding: 0 18px 5px; border: 0 solid transparent; border-radius: 0; background: none; box-shadow: none; border-image: url(/img/og/g4-key2.webp) 0 131 fill / 0 calc(var(--kh) / 2) / 0 stretch; color: #1c2622; font: 900 16.5px var(--font); filter: drop-shadow(0 5px 6px rgba(14, 22, 48, .16)); transition: transform .08s, filter .15s; }
.bb-row .og-cta .btn.accent { border-image-source: url(/img/og/g4-keym.webp); color: #06281a; filter: drop-shadow(0 7px 9px rgba(6, 180, 110, .35)); gap: 9px; }
.bb-row .og-cta .btn:active { transform: translateY(3px); filter: drop-shadow(0 2px 2px rgba(14, 22, 48, .2)); }
.bb-row .og-cta .btn:not(.accent) { flex: 0 1 36%; } .bb-row .og-cta .btn:disabled { opacity: .5; filter: saturate(.6); }
.og-dock .og-panel { gap: 12px; padding-top: 2px; } .og-dock .og-panel:empty { display: none; }
.og-dock .og-msg { min-height: 0; } .og-dock .og-msg:empty { display: none; }
.bb-sheet { display: grid; gap: 12px; } .bb-sheet h2 { margin: 0; } .bb-in { position: relative; } .bb-in input { width: 100%; text-align: center; } .bb-in span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); }
.bb-q, .bb-p { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .bb-q button, .bb-p button { height: 44px; border: 1px solid var(--line-2, rgba(14, 22, 48, .12)); border-radius: 12px; background: var(--glass-strong, #fff); font: 800 14px var(--font); color: var(--ink); cursor: pointer; }
.bb-q button { background: var(--ink); color: #fff; border-color: var(--ink); } .bb-p button.on { background: var(--green); color: #0a0a0a; border-color: transparent; }
.og-stage { position: relative; border-radius: 26px; background: var(--stage); color: #fff; overflow: hidden; aspect-ratio: 1 / 1.05; container-type: size; box-shadow: 0 22px 44px -26px rgba(4, 40, 24, .75); isolation: isolate; }
.og-hud { position: absolute; left: 0; right: 0; top: 14px; text-align: center; pointer-events: none; z-index: 3; }
.og-hud .m { font-size: clamp(34px, 9vw, 52px); font-weight: 900; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; transition: color .2s; }
.og-hud .m.win { color: var(--mint); } .og-hud .m.lose { color: var(--red); }
.og-hud .s { margin-top: 5px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .62); }
.og-banner { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 16px); opacity: 0; z-index: 5; padding: 9px 16px; border-radius: 999px; background: var(--mint); color: #05281a; font-weight: 800; font-size: 14px; white-space: nowrap; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), opacity .2s; pointer-events: none; }
.og-banner.show { transform: translate(-50%, 0); opacity: 1; } .og-banner.bad { background: var(--red); color: #fff; }
.og-stage.shake { animation: ogshake .38s; }
@keyframes ogshake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.og-rain { position: fixed; inset: 0; z-index: 80; pointer-events: none; }

.og-locked { opacity: .5; pointer-events: none; }
.og-msg { margin: 0; min-height: 20px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-align: center; }
.og-msg.win { color: var(--mint-ink); } .og-msg.lose { color: var(--bad); }
.og-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.og-facts button { border: 0; background: none; padding: 0; font: 700 12px var(--font); color: var(--mint-ink); cursor: pointer; }
.og-panel.has-menu .og-facts { display: none; } /* shown in the game's settings sheet instead */
.og-ml { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; } .og-ml li { padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font: 600 13px var(--font); color: rgba(255, 255, 255, .88); }
.og-stage > .og-sheet { z-index: 90; } .og-stage > .og-menu { z-index: 80; }
.og-sheet .sc-sh-r { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }

/* coin */
.cn-wrap { position: absolute; left: 50%; top: 56%; width: min(44%, 190px); aspect-ratio: 1; transform: translate(-50%, -50%); perspective: 900px; }
.cn { position: absolute; inset: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; will-change: transform; }
.cn img { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(1px); }
.cn img.b { transform: rotateX(180deg) translateZ(1px); }
.cn-sh { position: absolute; left: 50%; top: 86%; width: 34%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); transform: translateX(-50%); will-change: transform, opacity; }
.cn-hist { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.cn-hist img { width: 24px; height: 24px; opacity: .9; } .cn-hist img:nth-child(n+8) { opacity: .45; }

/* every game's picture is the same size (switching games doesn't move the page); mines and tower fit in it */
.og-stage.tall .og-hud { top: 10px; } .og-stage.tall .og-hud .m { font-size: 26px; } .og-stage.tall .og-hud .s { margin-top: 2px; font-size: 11.5px; }
.og-stage.tall .mn-grid { top: 64px; bottom: auto; transform: translateX(-50%); width: min(86cqw, calc(100cqh - 76px), 400px); }
/* mines */
.mn-grid { position: absolute; left: 50%; top: 53%; transform: translate(-50%, -50%); width: min(82%, 380px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
@keyframes ogpop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }

/* tower */
.tw { position: absolute; left: 50%; top: 64px; bottom: 12px; transform: translateX(-50%); width: min(70%, 340px); display: grid; grid-template-rows: repeat(8, minmax(0, 1fr)); gap: 5px; }
.tw-row > div { height: 100%; } .tw-row button { height: 100% !important; }
/* the stones sit in the middle of the picture; each floor's multiplier hangs just to the right, outside the stones */
.tw-row { position: relative; display: grid; grid-template-columns: 1fr; align-items: center; }
.tw-row > div { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; }
.tw-row i { position: absolute; left: calc(100% + 7px); top: 50%; transform: translateY(-50%); left: calc(100% + 6px); padding: 4px 6px; border-radius: 999px; background: rgba(5, 8, 7, .62); font: 800 clamp(9.5px, 2.8cqw, 12px) / 1 var(--font); font-style: normal; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.tw-row.now i { color: var(--yel); }
.tw-row.done i { color: var(--mint); }
.tw-row.far { opacity: .55; }

/* penalties */
.pn-goal button { border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.pn-goal button:disabled { cursor: default; }
.pn-dots { display: flex; justify-content: center; gap: 7px; margin-top: 8px; } /* inside the top text, under it, so it never covers it at any size */
.pn-dots i { width: 13px; height: 13px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.pn-dots i.g { background: var(--mint); } .pn-dots i.x { background: var(--red); }

/* crash */
.cr-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cr-hud { top: 30%; }
.cr-hud .m { font-size: clamp(46px, 13vw, 76px); }
.cr-hist { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 6px; overflow: hidden; z-index: 3; }
.cr-hist i { flex: none; font: 800 11.5px var(--font); font-style: normal; font-variant-numeric: tabular-nums; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .7); }
.cr-hist i.hi { background: rgba(6, 212, 127, .2); color: var(--mint); } .cr-hist i.top { background: rgba(255, 223, 80, .2); color: var(--yel); }

/* fair play sheet */
.fp h2 { margin: 0 0 4px; font-size: 20px; } .fp p { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; }
.fp dl { margin: 0 0 12px; display: grid; gap: 10px; }
.fp dt { font-size: 11.5px; font-weight: 700; color: var(--muted); } .fp dd { margin: 2px 0 0; font: 600 12px/1.4 var(--mono); word-break: break-all; }
.fp .ok { color: var(--mint-ink); font-weight: 800; } .fp .no { color: var(--bad); font-weight: 800; }
.fp-list { display: grid; gap: 6px; max-height: 240px; overflow: auto; margin-bottom: 12px; }
.fp-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 600 13px var(--font); color: var(--ink); text-align: left; }
.fp-list button b { margin-left: auto; font-variant-numeric: tabular-nums; } .fp-list button b.w { color: var(--mint-ink); }
.fp-list button.on { border-color: var(--ink); }

@container (min-width: 520px) {
}
@container (min-width: 720px) {
  .og-g .sellbar { position: static; margin-top: 0; }
  .og-game { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: start; }
  .og-game.bb { align-items: stretch; } .og-game.bb > .og-stage { border-radius: 26px 0 0 26px; } .og-game.bb .og-dock { padding-top: 0; align-content: start; } .og-game.bb .bb-row { position: static; }
  .og-stage { aspect-ratio: 1 / .8; }
}
@media (prefers-reduced-motion: reduce) { .og-stage.shake, .og-bal .delta { animation: none; } }


/* ---------- the art: B1N0 clay scenes (public/img/og, made with Higgsfield) ---------- */
.og-stage { background: #0b0f0d center / cover no-repeat; }
.og-stage.g-mines { background-image: url(/img/og/mines-bg.webp); }
.og-stage.g-coin { background-image: url(/img/og/ff-coin-bg.webp); }
.og-stage.g-tower { background-image: url(/img/og/tower-bg.webp); }
.og-stage.g-pens { background-image: url(/img/og/pens-bg.webp); background-position: center 30%; }
/* the multiplier stays readable over any scene */
.og-stage::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(rgba(5, 8, 7, .62), rgba(5, 8, 7, 0) 34%); }
.og-stage.g-crash::before { display: none; }
.og-amb { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.og-hud .m { text-shadow: 0 3px 18px rgba(0, 0, 0, .55); } .og-hud .s { text-shadow: 0 1px 8px rgba(0, 0, 0, .7); color: rgba(255, 255, 255, .8); }
.mn-grid, .tw, .pn-net, .pn-keeper, .cn-wrap, .cn-sh, .cn-hist, .tw-cat { z-index: 1; }
.pn-keeper { z-index: 2; } .pn-goal { z-index: 3; } .pn-ball { z-index: 3; }
.og-pop { position: absolute; z-index: 4; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.og-burst { position: absolute; left: 50%; top: 50%; width: 92%; z-index: 2; pointer-events: none; transform: translate(-50%, -50%); animation: ogburst 2.6s cubic-bezier(.2, .8, .3, 1) forwards; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); }
@keyframes ogburst { 0% { transform: translate(-50%, -50%) scale(.2) rotate(-40deg); opacity: 0; } 18% { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.1) rotate(25deg); opacity: 0; } }
.og-banner { z-index: 5; }

/* mines: clay tiles; a revealed one sinks back and shows its gem or bomb */
.mn-grid button { position: relative; aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; transition: transform .15s; }
.mn-grid button::before { content: ''; position: absolute; inset: 0; background: url(/img/og/tile.webp) center / contain no-repeat; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .45)); transition: opacity .25s, transform .25s; }
.mn-grid button:not(:disabled):hover { transform: translateY(-3px); }
.mn-grid button:not(:disabled):active { transform: scale(.94); }
.mn-grid button:disabled { cursor: default; }
.mn-grid button img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; animation: ogpop .32s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); }
.mn-grid button.gem::before, .mn-grid button.boom::before, .mn-grid button.dim::before { opacity: .3; transform: scale(.9); }
.mn-grid button.gem { filter: drop-shadow(0 0 10px rgba(6, 212, 127, .65)); }
.mn-grid button.boom { filter: drop-shadow(0 0 12px rgba(255, 223, 80, .8)); }
.mn-grid button.dim img { opacity: .55; filter: grayscale(.3); animation: none; }
.mn-grid button.wait { animation: ogwait .45s ease-in-out infinite alternate; }
@keyframes ogwait { to { transform: scale(.92) rotate(-3deg); } }

/* tower: clay stones on the pyramid; the jaguar climbs them */
.tw-row button { position: relative; height: 100%; border: 0; padding: 0; cursor: pointer; background: url(/img/og/stone.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)) brightness(.62) saturate(.7); transition: filter .2s, transform .15s; }
.tw-row button:disabled { cursor: default; }
.tw-row.now button { filter: drop-shadow(0 0 10px rgba(6, 212, 127, .85)) brightness(1.08); animation: twfloat 2.4s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.6s); }
.tw-row.now button:hover { transform: translateY(-2px); }
.tw-row.done button, .tw-row button.safe { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)) brightness(.85); }
.tw-row button.safe { filter: drop-shadow(0 0 7px rgba(6, 212, 127, .8)) brightness(1.1); }
.tw-row button.trap { background-image: url(/img/og/trap.webp?v=2); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)) brightness(.8); }
.tw-row button.trap.hit { filter: drop-shadow(0 0 12px rgba(255, 223, 80, .95)) brightness(1.12); animation: twcrack .8s cubic-bezier(.3, .7, .4, 1) both; }
.tw-row button.wait { animation: ogwait .4s ease-in-out infinite alternate; }
@keyframes ogstone { to { transform: translateY(-2px) scale(1.03); } }
@keyframes ogcrack { 30% { transform: translateY(3px) rotate(-3deg); } 60% { transform: translateY(1px) rotate(2deg); } }
/* tower motion: the floor you are on floats gently (each stone a little out of step); a stone dips and springs back when the
   jaguar lands; a trap flashes, shakes and sinks as it cracks; when the round ends the other traps flip over one by one */
@keyframes twfloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.025); } }
@keyframes twland { 0% { transform: none; } 30% { transform: translateY(5px) scale(1.05, .88); } 65% { transform: translateY(-2px) scale(.98, 1.03); } 100% { transform: none; } }
@keyframes twcrack { 0% { transform: scale(1); } 12% { transform: scale(1.12) rotate(-3deg); } 24% { transform: scale(1.06) rotate(3deg); } 36% { transform: scale(1.04) rotate(-2deg); } 100% { transform: translateY(5px) scale(.97) rotate(1.5deg); } }
@keyframes twflip { 0% { transform: perspective(300px) rotateX(85deg) scale(.9); opacity: .2; } 100% { transform: none; opacity: 1; } }
.tw-row button.land { animation: twland .5s cubic-bezier(.3, .8, .4, 1); }
.tw-row button.trap:not(.hit).flip { animation: twflip .45s cubic-bezier(.3, 1.3, .5, 1) both; animation-delay: calc(var(--k2, 0) * 45ms); }
.tw-row i { text-shadow: none; }
.tw-cat { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; will-change: transform; transform-origin: 50% 100%; }
.tw-cat img { position: absolute; left: 0; top: 0; width: 100%; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .55)); opacity: 0; transition: opacity .1s; }
.tw-cat img.on { opacity: 1; }

/* penalties: the clay goal in front of the stadium, the toucan in goal */
.pn-net { position: absolute; left: 8%; right: 8%; top: 25%; height: 46%; background: url(/img/og/goal.webp) center bottom / 100% 100% no-repeat; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); pointer-events: none; }
.pn-goal { position: absolute; left: 8%; right: 8%; top: 25%; height: 46%; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6% 7% 2%; }
.pn-goal button { border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.pn-goal button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 3px dashed rgba(255, 223, 80, 0); transition: border-color .2s, transform .2s; }
.pn-goal.live button::after { border-color: rgba(255, 223, 80, .9); animation: ogaim 1.2s ease-in-out infinite alternate; }
.pn-goal.live button:hover::after { transform: scale(1.2); border-color: var(--yel); }
@keyframes ogaim { to { transform: scale(1.12); } }
.pn-keeper { position: absolute; left: 50%; top: auto; bottom: 29.5%; width: 36%; max-width: 190px; transform: translateX(-50%); transform-origin: 50% 100%; pointer-events: none; will-change: transform; }
.pn-keeper img { width: 100%; display: block; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); }
.pn-keeper img + img { position: absolute; left: 0; top: auto; bottom: 0; }
.pn-keeper img { opacity: 0; } .pn-keeper img.on { opacity: 1; }
.pn-ball { position: absolute; left: 50%; bottom: 6%; width: 14%; max-width: 64px; transform: translateX(-50%); pointer-events: none; will-change: transform; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .45)); }

/* crash: the sky is drawn on the canvas */
.cr-canvas { z-index: 0; }
.cr-hist, .cr-hud { z-index: 2; }

/* blackjack: the clay table; cards are placed by transform (og.js), 3D only for the flip */
.og-stage.g-bj { background-image: url(/img/og/tb-bj.webp); background-position: center top; }
.og-stage.g-bj::before { background: linear-gradient(rgba(5, 8, 7, .35), rgba(5, 8, 7, 0) 22%); }
.bj-hud { z-index: 3; }
.bj-card { position: absolute; left: 0; top: 0; width: var(--cw); aspect-ratio: 2 / 3; perspective: 700px; will-change: transform; transition: transform .38s cubic-bezier(.25, .8, .3, 1), opacity .35s; }
.bj-card.still { transition: none; } .bj-card.still .bj-in { transition: none; }
.bj-card::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -7%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); z-index: -1; }
.bj-in { position: absolute; inset: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transform: rotateY(180deg); transition: transform .42s cubic-bezier(.3, .7, .3, 1); }
.bj-card.up .bj-in { transform: rotateY(0deg); }
.bj-face, .bj-b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bj-face { transform: translateZ(1px); } .bj-b { transform: rotateY(180deg) translateZ(1px); background: url(/img/deck/m/back.webp?v=4) center / 100% 100% no-repeat; }
.bj-fi { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-user-drag: none; user-select: none; } /* a whole drawn card */
:root[data-cards="c"] .bj-b { background-image: url(/img/deck/c/back.webp?v=4); } :root[data-cards="f"] .bj-b { background-image: url(/img/deck/f/back.webp?v=4); }
.bj-card.dim { opacity: .5; }
.bj-tot { position: absolute; left: 0; top: 0; z-index: 30; padding: 4px 10px; border-radius: 999px; background: rgba(11, 15, 13, .78); color: #fff; font-weight: 800; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.bj-tot .lab::before { content: '·'; margin: 0 6px; opacity: .6; }
.bj-tot.on { background: var(--mint); color: #05281a; } .bj-tot.w { background: var(--mint); color: #05281a; } .bj-tot.pu { background: var(--yel); color: #2a2205; } .bj-tot.l { background: rgba(11, 15, 13, .78); color: #ff8a80; }
.bj-bet { position: absolute; left: 0; top: 0; z-index: 30; display: flex; align-items: center; gap: 5px; padding: 3px 9px 3px 3px; border-radius: 999px; background: rgba(11, 15, 13, .6); color: #fff; font-weight: 700; font-size: 12px; white-space: nowrap; }
.bj-bet img { width: 20px; height: 20px; }
.bj-mid { position: absolute; left: 0; right: 0; top: 47%; z-index: 40; display: flex; justify-content: center; gap: 8px; transform: translateY(-50%); }
/* one drawn button for every game: a navy enamel pill with a gold rim, stretched from one picture (its round ends keep their shape) */
.bj-act { --bh: 38px; display: inline-flex; align-items: center; gap: 6px; height: var(--bh); padding: 0 18px; border: 0 solid transparent; border-image: url(/img/og/g2-btn.webp) 0 80 fill / 0 calc(var(--bh) / 2) / 0 stretch; background: none; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .45)); color: #fff; font: 800 13px var(--font); cursor: pointer; animation: ogpop .3s cubic-bezier(.3, 1.6, .5, 1); }
.bj-act img { width: 26px; height: 26px; } .bj-act small { font-weight: 600; opacity: .75; font-size: 11px; }
.bj-act:active { transform: scale(.95); } .bj-act:disabled { opacity: .5; }
.bj-q { --bh: 34px; height: var(--bh); display: inline-flex; align-items: center; padding: 0 16px; border: 0 solid transparent; border-image: url(/img/og/g2-btn.webp) 0 80 fill / 0 calc(var(--bh) / 2) / 0 stretch; background: none; color: #fff; font-weight: 800; font-size: 13px; }

/* keno: a board of 40 clay buttons; drawn numbers turn into balls */
.og-stage.g-keno { background-image: url(/img/og/ff-kn-bg.webp); background-size: cover; background-position: center 30%; }
@media (max-width: 700px) { .og-stage.g-keno { aspect-ratio: 1 / 1.3; background-size: cover; } } /* taller on a phone, so the picture cards are big enough to read */
.kn-grid { position: absolute; left: 50%; top: 30.5%; transform: translateX(-50%); width: min(93cqw, calc(46cqh / 4 * 10 * .658), 620px); display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; z-index: 1; }
.og-stage.g-keno .og-hud { top: 8px; left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: 78%; padding: 5px 16px 6px; border-radius: 16px; background: rgba(8, 22, 17, .78); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
/* the caller holds up each card as it comes out */
.kn-call { position: absolute; right: 6%; bottom: 2.5%; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 3px; animation: ogpop .3s cubic-bezier(.3, 1.6, .5, 1); } .kn-call[hidden] { display: none; }
.kn-call i { position: relative; display: block; height: 15cqh; aspect-ratio: 158 / 240; background: url(/img/og/ff-kn-tile.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .55)); transform: rotate(4deg); }
.kn-call i img { position: absolute; left: 14%; top: 22%; width: 72%; height: 62%; object-fit: contain; } .kn-call i b { position: absolute; left: 14%; top: 8%; font: 900 2.4cqh var(--font); color: #1d2b33; }
.kn-call span { padding: 2px 10px; border-radius: 999px; background: rgba(8, 22, 17, .82); color: #fff; font: 800 12px var(--font); white-space: nowrap; } .kn-call.hit i { filter: drop-shadow(0 0 8px #ffdf50) drop-shadow(0 5px 6px rgba(0, 0, 0, .55)); } .kn-call.hit span { background: #ffdf50; color: #2a2205; }
/* a picture-lottery card: its sign, with its number in the corner */
.kn-grid button { position: relative; aspect-ratio: 158 / 240; border: 0; padding: 0; cursor: pointer; background: url(/img/og/ff-kn-tile.webp) center / 100% 100% no-repeat; transition: transform .15s, filter .2s, opacity .25s; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); container-type: size; -webkit-tap-highlight-color: transparent; }
.kn-grid button .sg { position: absolute; left: 14%; top: 24%; width: 72%; height: 62%; object-fit: contain; pointer-events: none; }
.kn-grid button span { position: absolute; left: 15%; top: 8%; z-index: 1; font: 900 24cqw var(--font); line-height: 1; color: #1d2b33; }
.kn-grid button:active { transform: scale(.92); }
.kn-grid button.on { transform: translateY(-2px) scale(1.06); z-index: 2; filter: drop-shadow(0 0 0 #ffd23f) drop-shadow(0 0 5px rgba(255, 210, 63, .95)) drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
.kn-grid button.on::before { content: ''; position: absolute; inset: 3%; border-radius: 12%; box-shadow: inset 0 0 0 2.5px #ffc41f; pointer-events: none; z-index: 2; }
.kn-grid button .bl { position: absolute; right: 2%; bottom: 2%; width: 34%; z-index: 3; animation: ogpop .3s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); pointer-events: none; }
.og-stage.drew .kn-grid button:not(.drawn) { opacity: .5; } .kn-grid button.drawn:not(.hit) { filter: saturate(.55) drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); }
.kn-grid button.hit { transform: translateY(-3px) scale(1.1); z-index: 3; filter: drop-shadow(0 0 7px rgba(255, 223, 80, 1)) drop-shadow(0 0 2px #ffdf50); animation: knhit .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes knhit { 0% { transform: scale(.9); } 50% { transform: translateY(-5px) scale(1.2) rotate(-3deg); } }
.kn-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.kn-pay span { padding: 5px 10px; border-radius: 999px; background: var(--bg2, rgba(0, 0, 0, .05)); font-size: 12px; }
.kn-pay span:empty { display: none; }
.kn-pay b { font-weight: 800; } .kn-pay i { font-style: normal; font-weight: 800; color: var(--mint-ink); margin-left: 3px; }
.kn-pay span.hit { background: var(--mint); color: #05281a; } .kn-pay span.hit i { color: #05281a; }

/* scratch cards: the clay ticket, nine spots, a gold coating that comes off under a finger */
.og-stage.g-scratch { background-image: url(/img/og/scratch-bg.webp); }
.sc-card { position: absolute; left: 50%; top: 54%; width: min(92cqw, calc(80cqh * 820 / 631), 520px); aspect-ratio: 820 / 631; transform: translate(-50%, -50%); background: url(/img/og/scratch-card.webp) center / 100% 100% no-repeat; z-index: 1; }
.sc-grid, .sc-foil { position: absolute; left: 14%; top: 14.5%; width: 72%; height: 65%; } /* centred in the card's window */
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 2%; }
.sc-grid i { position: relative; min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.sc-grid i img { height: 62%; max-width: 80%; object-fit: contain; }
.sc-grid i small { font: 800 clamp(9px, 2.6cqw, 13px) var(--font); color: rgba(255, 255, 255, .8); font-style: normal; }
/* a win: no boxes; the matching symbols jump one after another with a soft golden light behind them, then bob, with a glint */
.sc-grid i.glow { background: radial-gradient(circle at 50% 42%, rgba(255, 223, 80, .38), rgba(255, 223, 80, 0) 62%); }
.sc-grid i.glow img { filter: drop-shadow(0 0 10px rgba(255, 223, 80, .85)); animation: scwin .9s cubic-bezier(.3, 1.5, .5, 1) both, scbob 1.5s ease-in-out infinite alternate; animation-delay: calc(var(--k, 0) * .16s), calc(.9s + var(--k, 0) * .16s); }
.sc-grid i.glow small { color: #ffdf50; }
.sc-grid i.glow::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%) -160% 0 / 250% 100% no-repeat; animation: mnglint 2.2s ease-in-out infinite; animation-delay: calc(var(--k, 0) * .16s); }
@keyframes scwin { 0% { scale: 1; rotate: 0deg; } 35% { scale: 1.38; rotate: -8deg; } 60% { scale: .96; rotate: 4deg; } 100% { scale: 1.12; rotate: 0deg; } }
@keyframes scbob { from { translate: 0 0; } to { translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) { .sc-grid i.glow img, .sc-grid i.glow::after { animation: none; } }
.sc-foil { border-radius: 10px; touch-action: none; cursor: grab; transition: opacity .45s; }
.sc-foil.gone { opacity: 0 !important; pointer-events: none; }
.sc-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sc-legend span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; background: var(--bg2, rgba(0, 0, 0, .05)); font-size: 11.5px; font-weight: 800; }
.sc-legend img { width: 30px; height: 30px; object-fit: contain; }

/* plinko: pegs and slots on a canvas; the toucan drops the balls */
.og-stage.g-plinko { background-image: url(/img/og/ff-pk-bg.webp); }
.pl-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.pl-toucan { position: absolute; left: 50%; top: 4%; width: 15%; max-width: 86px; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.pl-hud { top: 10px; left: 0; right: 0; } .pl-hud .m { font-size: clamp(22px, 6vw, 34px); position: absolute; left: 14px; top: 0; } .pl-hud .s { position: absolute; right: 50px; top: 6px; max-width: 34%; text-align: right; font-size: 11px; }
.pl-hist { position: absolute; left: 10px; top: 50px; display: flex; flex-direction: column; gap: 4px; z-index: 3; }
.pl-hist i { font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: rgba(11, 15, 13, .7); color: #c9d1cd; text-align: center; }
.pl-hist i.w { background: var(--mint); color: #05281a; }

/* hi-lo: one big card in the middle; guesses on the table, cards played go to the row below */
.og-stage.g-hilo { background-image: url(/img/og/tb-hilo.webp); }
.hl-deck { position: absolute; right: 6%; top: 27%; z-index: 1; opacity: .9; }
.hl-deck .bj-card { position: relative; width: calc(var(--cw) * .62); transform: rotate(8deg); }
.hl-card { left: calc(50% - var(--cw) / 2) !important; top: 31% !important; z-index: 5; transform: none; }
.hl-card.from { transition: none; transform: translate3d(calc(var(--cw) * 1.4), -20px, 0) rotate(12deg) scale(.62); }
.hl-acts { position: absolute; left: 2%; top: 31%; width: 34%; height: calc(var(--cw) * 1.5); z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
/* the arrows lie on the cloth: squashed to the table's angle, with a shadow under them (no plates, no frames) */
.hl-go { width: 100%; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; color: #fff; font: 800 11.5px var(--font); white-space: nowrap; cursor: pointer; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); animation: ogpop .3s cubic-bezier(.3, 1.6, .5, 1); -webkit-tap-highlight-color: transparent; }
.hl-go img { height: calc(var(--cw) * .54); width: auto; margin-bottom: 2px; transform: perspective(300px) rotateX(38deg); filter: drop-shadow(0 9px 5px rgba(0, 0, 0, .55)); transition: transform .14s, filter .14s; pointer-events: none; }
.hl-go:active img, .hl-go.go img { transform: perspective(300px) rotateX(38deg) translateY(4px) scale(.94); filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .6)) brightness(1.15); }
.hl-go span { font-weight: 700; font-size: 10px; color: #ffd76a; }
.hl-go:disabled { opacity: .55; }
.hl-hist { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 5px; z-index: 4; overflow: hidden; }
.hl-h { position: relative; flex: none; width: 34px; }
.hl-mini { position: relative; width: 34px; aspect-ratio: 2 / 3; --cw: 34px; }
.hl-mini .bj-f b.br, .hl-mini .bj-f i { display: none; }
.hl-h > b { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; background: #1d2421; color: #fff; }
.hl-h.ok > b { background: var(--mint); color: #05281a; } .hl-h.no > b { background: var(--red); }

/* ======================= table games: video poker, baccarat, roulette, casino hold'em ======================= */
/* a card in a row (same faces and flip as blackjack) */
.tc { position: relative; flex: none; width: var(--cw); aspect-ratio: 2 / 3; perspective: 700px; }
.tc::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -7%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); z-index: -1; }
.tc.up .bj-in { transform: rotateY(0deg); }
.tc.in { animation: tcin .44s cubic-bezier(.22, .8, .3, 1) both; }
/* cards come from the shoe at the top right of the table: a long arc, a spin, lifted (bigger shadow) while flying */
@keyframes tcin { 0% { transform: translate3d(42cqw, -42cqh, 0) rotate(-32deg) scale(.7); opacity: 0; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .45)); } 15% { opacity: 1; } 70% { transform: translate3d(-2px, 3px, 0) rotate(2deg) scale(1.04); filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .4)); } 100% { transform: none; opacity: 1; filter: none; } }
.tc.squeeze .bj-in { transform: rotateY(168deg) rotateX(-8deg); transition-duration: .65s; }
.tc.squeeze.up .bj-in { transform: rotateY(0deg); transition-duration: .55s; }
.bj-hud, .bac-hud, .rl-hud, .ch-hud, .vp-hud { left: 3%; right: 3%; }
.bj-hud .m, .bac-hud .m, .rl-hud .m, .ch-hud .m, .vp-hud .m { font-size: clamp(24px, 6.6vw, 34px); }
.tz-chip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px 2px 2px; border-radius: 999px; background: rgba(11, 15, 13, .82); color: #fff; font: 800 11px var(--font); box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.tz-chip img { width: 18px; height: 18px; }

/* video poker */
/* video poker: the arcade machine picture; title on its screen, the cards dealt on top of the machine */
.og-stage.g-vp { background-image: url(/img/og/vp-bg.webp?v=3); background-size: 172% auto; background-position: 50% 57%; } /* zoomed in: the machine's screen fills the game, so the cards are big */
.vp-row { --cw: min(9.4cqw, 14cqh, 64px); position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); display: flex; gap: min(1.8cqw, 10px); z-index: 2; }
.vp-slot { position: relative; width: var(--cw); flex: none; padding: 0; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .18s; -webkit-tap-highlight-color: transparent; }
.vp-slot:disabled { cursor: default; }
.vp-slot.held { transform: translateY(-9px); }
.vp-slot.held .tc { filter: drop-shadow(0 0 0 #06d47f) drop-shadow(0 0 10px rgba(6, 212, 127, .75)); }
.vp-hold { width: calc(var(--cw) * .6); aspect-ratio: 1; background: url(/img/og/g2-vp-hold.webp) center / contain no-repeat; transition: transform .12s; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); } /* the cabinet's hold button under each card: lit when the card is held */
.vp-slot.held .vp-hold { background-image: url(/img/og/g2-vp-hold-on.webp); transform: translateY(1px) scale(.94); filter: drop-shadow(0 0 6px rgba(255, 230, 90, .9)); }
.vp-pay { display: grid; gap: 2px; }
.vp-pay span { display: grid; grid-template-columns: 1fr auto 72px; gap: 8px; align-items: center; padding: 4px 10px; border-radius: 10px; font-size: 12.5px; }
.vp-pay b { font-weight: 700; } .vp-pay i { font-style: normal; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; } .vp-pay em { font-style: normal; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.vp-pay span.now { background: rgba(6, 212, 127, .12); }
.vp-pay span.hit { background: #06d47f; color: #05281a; } .vp-pay span.hit i { color: #05281a; }
.ch-pay span { grid-template-columns: 1fr auto; }

/* baccarat */
.og-stage.g-bac { background-image: url(/img/og/tb-bac3.webp); }
.bac-h { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .3s; }
.bac-hands { --cw: min(12cqw, 15cqh, 76px); position: absolute; left: 5%; right: 5%; top: 42.5%; display: grid; grid-template-columns: 1fr 1fr; gap: 4%; z-index: 2; }
.bac-lab { padding: 0; background: none; color: rgba(255, 233, 180, .92); font: 800 12px var(--font); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); } /* lettered on the felt, inside its box */
.bac-lab b { margin-left: 4px; color: var(--yel); font-variant-numeric: tabular-nums; }
.bac-cards { display: flex; min-height: calc(var(--cw) * 1.5); }
.bac-cards .tc + .tc { margin-left: calc(var(--cw) * -.3); }
.bac-h.win .bac-lab { color: #7dffc4; } .bac-lab b { font-size: 15px; letter-spacing: 0; }
.bac-h.lose .bac-cards { opacity: .55; }
.bac-zones { position: absolute; left: 4%; right: 4%; bottom: 5%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 8px; z-index: 3; }
.tz { --bh: 36px; position: relative; grid-column: span 2; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; height: var(--bh); padding: 0 10px; border: 0 solid transparent; border-image: url(/img/og/g2-btn.webp) 0 80 fill / 0 calc(var(--bh) / 2) / 0 stretch; background: none; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .45)); color: #fff; font: 800 12px var(--font); white-space: nowrap; cursor: pointer; transition: transform .12s, opacity .3s; -webkit-tap-highlight-color: transparent; }
.tz:active { transform: scale(.95); } .tz:disabled { cursor: default; }
.tz.z-p, .tz.z-b { --bh: 44px; grid-column: span 3; font-size: 14px; padding: 0 16px; }
.tz > img { width: 26px; height: 26px; flex: none; }
.bac-zones.np .z-t { grid-column: 2 / span 4; }
.tz-n { overflow: hidden; text-overflow: ellipsis; } .tz-p { font-weight: 600; font-size: 10.5px; opacity: .72; }
.tz.z-pp, .tz.z-t, .tz.z-bp { --bh: 40px; flex-direction: column; gap: 0; padding: 0 6px; font-size: 11.5px; line-height: 1.1; } .tz.z-pp .tz-p, .tz.z-t .tz-p, .tz.z-bp .tz-p { font-size: 9.5px; }
.tz.z-p .tz-p, .tz.z-b .tz-p { font-size: 11.5px; }
.tz-a { position: absolute; left: 50%; top: -21px; z-index: 2; transform: translateX(-50%); pointer-events: none; }
.tz.win { border-image-source: url(/img/og/g2-btn-go.webp); border-image-slice: 0 121 fill; color: #2a1500; filter: drop-shadow(0 0 10px rgba(255, 215, 106, .8)); } .tz.win .tz-p { opacity: .85; }
.tz.lose { opacity: .45; }

/* roulette */
.og-stage.g-rl { background-image: url(/img/og/rl-bg.webp?v=2); }
.rl-wheel { --ws: min(84cqw, 82cqh); position: absolute; left: 50%; top: 52%; width: var(--ws); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 2; border-radius: 50%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55)); }
.rl-spin, .rl-bw { position: absolute; inset: 0; border-radius: 50%; will-change: transform; }
.rl-spin canvas, .rl-bowl { width: 100%; height: 100%; display: block; border-radius: 50%; }
.rl-bowl { position: absolute; inset: 0; }
.rl-tur { position: absolute; left: 50%; top: 50%; width: 36%; transform: translate(-50%, -50%); pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); }
.rl-bw { pointer-events: none; z-index: 3; }
.rl-ball { position: absolute; left: 50%; top: 12.8%; width: 4.4%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, 0); background: radial-gradient(circle at 35% 30%, #fff, #eef0ec 45%, #a3aca7); box-shadow: 0 2px 5px rgba(0, 0, 0, .55); }
.rl-hist { position: absolute; left: 3%; bottom: 3%; display: flex; flex-direction: column; gap: 4px; z-index: 3; }
.rl-hist span, .rl-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 8px; color: #fff; font: 900 12px var(--font); box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.rl-hist span:first-child { outline: 2px solid var(--yel); }
.rl-hist .r, .rl-n.r { background: #d8463c; } .rl-hist .k, .rl-n.k { background: #141a18; } .rl-hist .g, .rl-n.g { background: #06b36b; }
.rl-n { min-width: 56px; height: 52px; border-radius: 16px; font-size: 30px; }
.rl-board { display: grid; grid-template-columns: 1.15fr repeat(12, 1fr) 1.3fr; grid-template-rows: repeat(6, 15px) 30px 30px; gap: 2px; }
.rl-c { position: relative; min-width: 0; height: auto; border: 0; border-radius: 6px; padding: 0; color: #fff; font: 800 11.5px var(--font); letter-spacing: -.02em; white-space: nowrap; cursor: pointer; transition: transform .12s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.rl-c:active { transform: scale(.92); } .rl-c:disabled { cursor: default; }
.rl-c.r { background: #d8463c; } .rl-c.k { background: #1a2120; } .rl-c.g { background: #06b36b; font-size: 13px; }
.rl-c.o { background: rgba(14, 22, 48, .07); color: var(--ink); font-size: 11.5px; }
.rl-c.o.r { background: #d8463c; } .rl-c.o.k { background: #1a2120; }
.rl-c i { position: absolute; right: -3px; top: -5px; z-index: 3; font-style: normal; pointer-events: none; }
.rl-c i b { display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 999px; background: #ffdf50; color: #2a2205; font: 900 8.5px var(--font); border: 1.5px solid #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .3); }
.rl-c.bet { box-shadow: inset 0 0 0 2px #ffdf50; z-index: 2; }
.rl-c.hit { box-shadow: 0 0 0 3px #06d47f, 0 0 14px rgba(6, 212, 127, .7); z-index: 2; }

/* casino hold'em */
.og-stage.g-ch { background-image: url(/img/og/tb-ch.webp); }
.og-stage.g-ch::before { background: radial-gradient(ellipse 38% 30% at 50% 47%, rgba(5, 8, 7, .32), rgba(5, 8, 7, 0) 72%), linear-gradient(rgba(5, 8, 7, .6), rgba(5, 8, 7, 0) 26%); }
/* hold'em: every row centred; the names sit above (dealer) and below (you) the cards */
.ch-row { --cw: min(12.4cqw, 14.5cqh, 74px); position: absolute; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; z-index: 2; transform: translateY(-50%); transition: opacity .3s; }
.ch-d { top: 32%; } .ch-b { top: 57%; } .ch-p { top: 82%; } .ch-p .ch-lab { order: 2; }
.ch-cards { display: flex; gap: 6px; min-height: calc(var(--cw) * 1.5); }
.ch-b .ch-cards { gap: 6px; }
.ch-slot { width: var(--cw); height: calc(var(--cw) * 1.5); } /* invisible fixed spots: the board never shifts */
.ch-slot > .tc { margin: 0; }
.ch-lab { padding: 4px 11px; border-radius: 999px; background: rgba(11, 15, 13, .8); color: #fff; font: 800 12.5px var(--font); white-space: nowrap; }
.ch-lab b { margin-left: 4px; color: var(--yel); font-weight: 800; }
.ch-row.win .ch-lab { background: var(--mint); color: #05281a; } .ch-row.win .ch-lab b { color: #05281a; }
.ch-row.lose .ch-cards { opacity: .55; }
.ch-aa { padding: 10px 12px; border-radius: 14px; background: rgba(14, 22, 48, .04); }
@media (max-width: 420px) { .ch-lab { font-size: 11px; padding: 3px 8px; } }
.og-hud.vp-hud { top: 9%; left: 8%; right: 8%; } .vp-hud .s { font-size: 12px; margin-top: 3px; } .vp-hud .m { font-size: clamp(22px, 7cqw, 34px); } .og-stage.g-vp .vp-row { --cw: min(15.6cqw, 21cqh, 96px); top: 55%; gap: 1.4cqw; }
.og-stage.g-vp .vp-slot { gap: 7px; } .og-stage.g-vp .vp-slot.held { transform: translateY(-9px); }
.vp-strip { position: absolute; left: 50%; top: 27.5%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 14px; border-radius: 8px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(6, 212, 127, .35); color: #9fb3aa; font: 800 12.5px var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: background .15s, color .15s; } .vp-strip:empty { opacity: 0; }
.vp-strip i { font-style: normal; color: #ffdf50; } .vp-strip.on { color: #fff; box-shadow: inset 0 0 0 1.5px #06d47f, 0 0 14px rgba(6, 212, 127, .55); animation: ogpop .3s cubic-bezier(.3, 1.6, .5, 1); } .vp-strip.paid { background: #06d47f; color: #05281a; } .vp-strip.paid i { color: #05281a; }

/* roulette hub: the winning number, in its colour, in the middle of the wheel */
.rl-hub { position: absolute; left: 50%; top: 50%; width: 33%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; display: grid; place-items: center; z-index: 4; color: #fff; font: 900 calc(var(--ws) * .13) / 1 var(--font); letter-spacing: -.04em; opacity: 0; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), opacity .2s; pointer-events: none; }
.rl-hub.on { opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 10px 26px rgba(0, 0, 0, .5); }
.rl-hub.r { background: #d63a30; } .rl-hub.k { background: #0f1412; } .rl-hub.g { background: #06d47f; color: #05281a; }
.rl-hud .m { display: none; }
.rl-hist span.r, .rl-c.r, .rl-c.o.r { background: #d63a30; } .rl-hist span.k, .rl-c.k, .rl-c.o.k { background: #0f1412; } .rl-hist span.g, .rl-c.g { background: #06d47f; color: #05281a; }

/* video poker: the nine marquee bulbs light up in a chase; on a win they all flash */
.vp-lights { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.vp-lights i { position: absolute; width: 5.2%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 246, 200, .95) 0 22%, rgba(255, 223, 80, .7) 40%, rgba(255, 223, 80, 0) 70%); will-change: opacity; opacity: .15; animation: vpbulb 1.8s linear infinite; animation-delay: calc(var(--i) * .2s); }
@keyframes vpbulb { 0%, 100% { opacity: .15; } 8% { opacity: 1; } 22% { opacity: .9; } 34% { opacity: .15; } }
.og-stage.g-vp.flash .vp-lights i { animation: vpflash .26s steps(2, jump-none) infinite; animation-delay: 0s; }
@keyframes vpflash { 0% { opacity: 1; } 100% { opacity: .1; } }
@media (prefers-reduced-motion: reduce) { .vp-lights i { animation: none; opacity: .6; } }
.og-msg:empty { display: none; }

/* motion shared by every game */
.og-flychip { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); will-change: transform; }
.og-bump { animation: ogbump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ogbump { 40% { transform: scale(1.16); color: var(--mint-ink, #04875a); } }
.og-cheer { position: absolute; left: 50%; bottom: 0; width: 58%; max-width: 300px; z-index: 6; pointer-events: none; transform: translate(-50%, 110%); animation: ogcheer 2.8s cubic-bezier(.3, 1.3, .5, 1) forwards; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
@keyframes ogcheer { 0% { transform: translate(-50%, 110%) rotate(-6deg); } 18% { transform: translate(-50%, 8%) rotate(3deg); } 26% { transform: translate(-50%, 14%) rotate(-2deg); } 34%, 46%, 58%, 70% { transform: translate(-50%, 10%) rotate(2deg); } 40%, 52%, 64% { transform: translate(-50%, 2%) rotate(-2deg); } 82% { transform: translate(-50%, 12%); } 100% { transform: translate(-50%, 115%); } }
@media (prefers-reduced-motion: reduce) { .og-cheer, .og-bump { animation: none; } }

/* living backgrounds */
.og-lay { position: absolute; z-index: 1; pointer-events: none; transform-origin: 50% 100%; will-change: rotate; }
.og-lay.flip { scale: -1 1; }
.og-lay.sway { animation: ogsway 6.5s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes ogsway { 0% { rotate: -2.2deg; } 50% { rotate: 1.2deg; } 100% { rotate: 2.6deg; } }
.og-stage.g-tower .og-lay { z-index: 0; opacity: .92; }
.og-flood { position: absolute; z-index: 1; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 246, 205, .75) 0 12%, rgba(255, 223, 80, .32) 38%, rgba(255, 223, 80, 0) 70%); will-change: opacity; animation: ogflood 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.og-flood[style*="right"] { transform: translate(50%, -50%); }
.og-flood.sm { width: 14%; }
@keyframes ogflood { 0%, 100% { opacity: .55; } 47% { opacity: .9; } 50% { opacity: .35; } 53% { opacity: .95; } 75% { opacity: .7; } }
.og-sheen { position: absolute; top: 0; bottom: 0; left: -50%; width: 200%; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 22% 35% at 50% 55%, rgba(255, 255, 230, .07), rgba(255, 255, 230, 0) 70%); will-change: transform; animation: ogsheen 11s ease-in-out infinite alternate; }
@keyframes ogsheen { from { transform: translateX(-14%); } to { transform: translateX(14%); } }
@media (prefers-reduced-motion: reduce) { .og-lay, .og-flood, .og-sheen { animation: none; } }

/* roulette: the ball's trail and the winning pocket */
.rl-bw.gh { z-index: 2; opacity: 0; } .rl-bw.gh .rl-ball { box-shadow: none; filter: blur(.6px); }
.rl-pk { position: absolute; inset: 0; pointer-events: none; }
.rl-pk i { position: absolute; left: 50%; top: 19.4%; width: 5.4%; height: 11.6%; transform: translateX(-50%); border-radius: 6px; box-shadow: 0 0 0 2px #ffdf50, 0 0 16px 4px rgba(255, 223, 80, .8); animation: rlpk 1s ease-in-out infinite alternate; }
@keyframes rlpk { from { opacity: .55; } to { opacity: 1; } }
/* hold'em: the winning five */
.tc.best { transform: translateY(-8px); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.tc.best .bj-face { box-shadow: 0 0 0 2px #06d47f, 0 0 16px rgba(6, 212, 127, .75); border-radius: 8px; }
.tc.dimc { opacity: .45; transition: opacity .3s; }
/* baccarat: the deciding cards peel open slowly */
.tc.squeeze .bj-in { transform: rotateY(150deg) rotateX(-18deg) scale(1.06); transition-duration: .8s; }
.tc.squeeze { filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .45)); }
.bac-road { display: flex; align-items: center; gap: 10px; min-height: 0; }
.bac-road:empty { display: none; }
.bac-road > div { display: flex; flex-wrap: wrap; gap: 4px; }
.bac-road i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 900 10px / 1 var(--font); font-style: normal; color: #fff; }
.bac-road i.p { background: #06b36b; } .bac-road i.b { background: #d63a30; } .bac-road i.t { background: #e0b520; color: #2a2205; }
.bac-road i.new { animation: ogpop .45s cubic-bezier(.3, 1.6, .5, 1); box-shadow: 0 0 0 2px var(--ink); }
/* video poker: the machine's bet / win readout and the winning row blinking */
.vp-led { position: absolute; left: 12%; right: 12%; top: 86%; z-index: 2; display: flex; justify-content: space-between; padding: 4px 9px; border-radius: 6px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(6, 212, 127, .35); font: 800 clamp(8px, 2.3cqw, 11px) / 1 var(--mono, monospace); color: rgba(6, 212, 127, .75); letter-spacing: .06em; }
.vp-led b { color: #ffdf50; font-weight: 900; text-shadow: 0 0 6px rgba(255, 223, 80, .7); }
.vp-pay span.hit { animation: vphit .5s steps(2, jump-none) 6; }
@keyframes vphit { 0% { background: #06d47f; } 100% { background: rgba(6, 212, 127, .25); } }

/* tower: warm light from the top that grows as you climb */
.tw-sky { position: absolute; left: 0; right: 0; top: 0; height: 60%; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 230, 140, .45), rgba(255, 223, 80, 0) 70%); mix-blend-mode: screen; transition: opacity 1.2s ease; }

/* keno: the tumbler stands on the studio floor under the board; the bulbs chase, faster during a draw */
.kn-tum { position: absolute; left: 5%; bottom: 1.5%; height: 21%; z-index: 2; pointer-events: none; transform-origin: 50% 95%; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); }
.kn-tum.spin { animation: kntum .2s ease-in-out infinite alternate; }
@keyframes kntum { from { rotate: -3.5deg; } to { rotate: 3.5deg; } }
.kn-lights i { width: 6%; animation-duration: 2.4s; animation-delay: calc(var(--i) * .2s); }
.og-stage.drawing .kn-lights i { animation-duration: .9s; animation-delay: calc(var(--i) * .075s); }

/* mines: the rest of the board turns over tile by tile when the round ends; found gems glint */
.mn-grid button.dim { animation: twflip .4s cubic-bezier(.3, 1.3, .5, 1) both; animation-delay: calc(var(--k, 0) * 28ms); }
.mn-grid button.gem::after { content: ''; position: absolute; inset: 12%; border-radius: 30%; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; mix-blend-mode: overlay; animation: mnglint 2.6s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 90ms); }
@keyframes mnglint { 0%, 60% { background-position: -150% 0; } 100% { background-position: 150% 0; } }
@media (prefers-reduced-motion: reduce) { .mn-grid button.dim, .mn-grid button.gem::after { animation: none; } }

/* baccarat: the winning hand's cards jump one after another; the losing side sinks a little */
.bac-h.win .tc { animation: bacwin .55s cubic-bezier(.3, 1.6, .5, 1) both; }
.bac-h.win .tc:nth-child(2) { animation-delay: .09s; } .bac-h.win .tc:nth-child(3) { animation-delay: .18s; }
@keyframes bacwin { 40% { transform: translateY(-12px); } 100% { transform: translateY(-4px); } }
.bac-h.win .tc .bj-face { box-shadow: 0 0 0 2px #06d47f, 0 0 14px rgba(6, 212, 127, .6); border-radius: 8px; }
.bac-h.lose .bac-cards { transform: translateY(5px); transition: transform .5s, opacity .5s; }
@media (prefers-reduced-motion: reduce) { .bac-h.win .tc { animation: none; } }

/* hold'em: the pot on the table, the dealer's cards lifting before they turn, a hand name that pops */
.ch-pot { position: absolute; right: 9%; top: 32%; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(5, 8, 7, .78); box-shadow: 0 6px 14px rgba(0, 0, 0, .35), inset 0 0 0 1.5px rgba(255, 223, 80, .55); color: #fff; transform: translateY(-50%); }
.ch-pot img { width: 30px; height: 30px; }
.ch-pot span { display: flex; flex-direction: column; line-height: 1.05; }
.ch-pot small { font: 700 9.5px var(--font); color: rgba(255, 255, 255, .6); letter-spacing: .06em; text-transform: uppercase; }
.ch-pot b { font: 900 14px var(--font); color: #ffdf50; font-variant-numeric: tabular-nums; }
.ch-pot.bump { animation: ogbump .5s cubic-bezier(.3, 1.6, .5, 1); }
.ch-d .tc.lift { transform: translateY(-9px) scale(1.07); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .45)); }
.ch-d .tc { transition: transform .3s; }
.ch-lab.pop { animation: chpop .45s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes chpop { 40% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .ch-lab.pop, .ch-pot.bump { animation: none; } }
.ch-pot[hidden] { display: none; }

/* ===================== Slots ===================== */
.og-stage.sl-stage { background: #120a1a; }
.og-stage.sl-pickst { background: radial-gradient(120% 90% at 50% 0%, #26304a, #0c1020 70%); }
.sl-pick { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 12px; gap: 10px; }
.sl-pick-h { display: flex; align-items: baseline; gap: 10px; padding: 2px 4px; }
.sl-pick-h b { font-size: 20px; font-weight: 900; letter-spacing: -.02em; } .sl-pick-h span { font-size: 12.5px; color: rgba(255, 255, 255, .6); font-weight: 600; }
.sl-tiles { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 10px; }
.sl-tile { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: 18px; background: var(--bg); cursor: pointer; color: #fff; text-align: left; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .08); transition: transform .18s; font-family: var(--font); }
.sl-tile:hover { transform: translateY(-2px); } .sl-tile:active { transform: scale(.98); }
.sl-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sl-tile:hover img { transform: scale(1.05); }
.sl-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .78)); }
.sl-tile-in { position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 1; display: flex; flex-direction: column; gap: 1px; }
.sl-tile-in b { font-size: clamp(14px, 4.4cqw, 19px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.sl-tile-in span { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.sl-tile-in i { align-self: flex-start; margin-top: 4px; font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--acc); color: #1a0d05; }
.sl-tile strong { position: absolute; top: 8px; right: 8px; z-index: 1; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); }
.sl-tile em { position: absolute; top: 8px; left: 8px; z-index: 1; font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: #fff; color: #111; }
.sl-tile.last { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8), inset 0 0 0 3px var(--acc); }

.sl { --cell: min(17.2cqw, 20cqh); position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.sl-bg { position: absolute; inset: -3%; background: center / cover no-repeat; filter: saturate(1.05); animation: slbg 24s ease-in-out infinite alternate; }
.sl-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 70%, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)); }
@keyframes slbg { from { transform: scale(1); } to { transform: scale(1.06) translateX(-1.5%); } }
.sl-top { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; z-index: 6; }
.sl-name { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px 0 12px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); color: #fff; font: 800 13px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.sl-name svg { width: 16px; height: 16px; }
.sl-lad { display: flex; gap: 4px; }
.sl-lad i { font-style: normal; font-size: 12px; font-weight: 900; padding: 4px 8px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: rgba(255, 255, 255, .55); transition: all .2s; }
.sl-lad i.on { background: var(--acc); color: #1a0d05; transform: scale(1.12); box-shadow: 0 0 16px rgba(var(--glow), .8); }
.sl-lad i.reset { animation: slpop .35s; }
.sl.fs .sl-lad i.on { background: #fff; }
.sl-char { position: absolute; left: 1%; bottom: calc(3 * var(--cell) + 4cqh + 2px); height: min(34cqh, 38cqw); z-index: 2; transform-origin: 50% 100%; animation: slbob 2.6s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); pointer-events: none; }
.sl-char[class*=' p-'] { animation: slact .6s cubic-bezier(.3, 1.6, .5, 1); height: min(40cqh, 44cqw); }
@keyframes slbob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-4%) rotate(1.5deg); } }
@keyframes slact { from { transform: scale(.6) translateY(10%); } to { transform: none; } }
.sl-win { position: absolute; left: 30%; right: 3%; bottom: calc(3 * var(--cell) + 6cqh); z-index: 5; text-align: center; pointer-events: none; min-height: 1px; }
.sl-win b { display: block; font-size: clamp(22px, 8.6cqw, 46px); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 24px rgba(var(--glow), .9); font-variant-numeric: tabular-nums; }
.sl-win span { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 900; padding: 3px 10px; border-radius: 999px; background: var(--acc); color: #1a0d05; }
.sl-win.pop b { animation: slpop .35s cubic-bezier(.3, 1.8, .5, 1); }
.sl-win[data-fs]::before { content: attr(data-fs); display: block; font-size: 11.5px; font-weight: 800; color: rgba(255, 255, 255, .8); margin-bottom: 3px; }
@keyframes slpop { from { transform: scale(.55); } to { transform: none; } }

.sl-box { position: absolute; left: 50%; bottom: 3cqh; transform: translateX(-50%); padding: 1.3cqw; border-radius: 3.6cqw; z-index: 3;
  background: linear-gradient(180deg, var(--frame2), var(--frame)); box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 0 0 5px rgba(var(--glow), .5), 0 18px 30px -12px rgba(0, 0, 0, .8), inset 0 2px 0 rgba(255, 255, 255, .25); }
.sl.fs .sl-box { animation: slfs 1.4s ease-in-out infinite; }
@keyframes slfs { 50% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .3), 0 0 0 7px rgba(var(--glow), .95), 0 0 40px rgba(var(--glow), .7), inset 0 2px 0 rgba(255, 255, 255, .25); } }
.sl-reels { display: flex; gap: .7cqw; }
.sl-reel { position: relative; width: var(--cell); height: calc(3 * var(--cell)); overflow: hidden; border-radius: 2.2cqw; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .3) 50%, rgba(0, 0, 0, .55)); box-shadow: inset 0 0 12px rgba(0, 0, 0, .6); }
.sl-reel.tease { box-shadow: inset 0 0 12px rgba(0, 0, 0, .6), 0 0 0 2px var(--acc), 0 0 22px rgba(var(--glow), .9); animation: sltease .5s ease-in-out infinite alternate; }
@keyframes sltease { to { box-shadow: inset 0 0 18px rgba(var(--glow), .6), 0 0 0 3px #fff, 0 0 34px rgba(var(--glow), 1); } }
.sl-reel.bump { animation: slbump .22s ease-out; }
@keyframes slbump { 40% { transform: translateY(1.2%); } }
.sl-strip { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.sl-strip.blur .sl-c img { filter: blur(1.4px) brightness(1.05); }
.sl-c { position: absolute; left: 0; top: calc(var(--y) * var(--cell)); width: var(--cell); height: var(--cell); display: grid; place-items: center; }
.sl-c img { width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); pointer-events: none; user-select: none; }
.sl-c.s9 img, .sl-c.s10 img, .sl-c.wild img { width: 92%; height: 92%; }
.sl-c.gold::before { content: ''; position: absolute; inset: 5%; border-radius: 18%; background: linear-gradient(135deg, #fff6c2, #f5c542 40%, #b8821c 70%, #ffe27a); box-shadow: 0 0 10px rgba(255, 210, 80, .8); z-index: -1; animation: slshine 2.2s linear infinite; }
@keyframes slshine { 50% { filter: brightness(1.25); } }
.sl-tag { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); font-size: clamp(8px, 2.6cqw, 13px); font-weight: 900; letter-spacing: .04em; padding: 1px 6px; border-radius: 6px; background: var(--acc); color: #1a0d05; box-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.sl-val { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); white-space: nowrap; font-size: clamp(9px, 3cqw, 15px); font-weight: 900; padding: 1px 7px; border-radius: 999px; background: rgba(0, 0, 0, .72); color: #fff; box-shadow: inset 0 0 0 1.5px var(--acc); font-variant-numeric: tabular-nums; }
.sl-val.jp { background: linear-gradient(180deg, #ffe680, #f2a91c); color: #3a1d00; box-shadow: 0 0 10px rgba(255, 200, 60, .9); }
.sl-val.jp.minor { background: linear-gradient(180deg, #a9f5ff, #29a6d8); color: #00263a; } .sl-val.jp.major { background: linear-gradient(180deg, #ff9ad5, #d8247e); color: #fff; }
.sl-val.col { background: var(--acc); color: #1a0d05; font-size: clamp(10px, 3.4cqw, 17px); }
.sl-c.hit { animation: slhit .65s ease-in-out 2; z-index: 2; }
.sl-c.hit img { filter: drop-shadow(0 0 8px rgba(var(--glow), 1)) drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); }
@keyframes slhit { 35% { transform: scale(1.16) rotate(-3deg); } 70% { transform: scale(1.05) rotate(2deg); } }
.sl-c.boom { animation: slboom .32s ease-in forwards; z-index: 3; }
@keyframes slboom { 40% { transform: scale(1.3); opacity: 1; filter: brightness(2); } to { transform: scale(.2); opacity: 0; } }
.sl-c.to-wild { animation: slflip .35s ease-in-out; }
.sl-c.flip { animation: slflip .45s ease-in-out; }
@keyframes slflip { 50% { transform: scaleX(0) scale(1.15); filter: brightness(2); } }
.sl-c.pop-in { animation: slpopin .38s cubic-bezier(.3, 1.7, .5, 1); z-index: 2; }
@keyframes slpopin { from { transform: scale(.2); opacity: 0; } }
.sl-c.empty { background: rgba(0, 0, 0, .35); border-radius: 14%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.sl-c.roll { background: rgba(var(--glow), .14); animation: slroll .12s linear infinite; }
@keyframes slroll { 50% { background: rgba(var(--glow), .3); } }
.sl.hold .sl-c:not(.empty) { animation: slglow 1.6s ease-in-out infinite; }
@keyframes slglow { 50% { filter: drop-shadow(0 0 10px rgba(var(--glow), .9)); } }
.sl-lines { position: absolute; left: 1.3cqw; top: 1.3cqw; width: calc(5 * var(--cell) + 2.8cqw); height: calc(3 * var(--cell)); pointer-events: none; z-index: 4; overflow: visible; }
.sl-lines polyline { fill: none; stroke: var(--acc); stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; opacity: .9; filter: drop-shadow(0 0 4px rgba(var(--glow), 1)); vector-effect: non-scaling-stroke; stroke-dasharray: 1600; animation: slline .5s ease-out; }
@keyframes slline { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
.sl-fx { position: absolute; left: 1.3cqw; top: 1.3cqw; width: 0; height: 0; z-index: 5; pointer-events: none; }
.sl-spark { position: absolute; left: calc((var(--x) + .5) * (var(--cell) + .7cqw)); top: calc((var(--y) + .5) * var(--cell)); width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); animation: slspark .7s ease-out forwards; }
@keyframes slspark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.sl-note { position: fixed; z-index: 90; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ffd43b 50%, #c98a00); box-shadow: 0 0 12px rgba(255, 212, 59, .9); pointer-events: none; }
.sl-banner { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, .35)); text-align: center; padding: 0 16px; pointer-events: none; }
.sl-banner[hidden] { display: none; }
.sl-banner img { width: 26cqw; max-width: 140px; filter: drop-shadow(0 0 20px rgba(var(--glow), .9)); }
.sl-banner b { font-size: clamp(26px, 10cqw, 54px); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .4), 0 0 30px rgba(var(--glow), 1); }
.sl-banner b.grand { background: linear-gradient(180deg, #fff5b8, #ffc21c 60%, #c57a00); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(40px, 16cqw, 84px); }
.sl-banner span { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.sl-banner.in > * { animation: slpop .45s cubic-bezier(.3, 1.7, .5, 1) both; } .sl-banner.in > *:nth-child(2) { animation-delay: .08s; } .sl-banner.in > *:nth-child(3) { animation-delay: .16s; }
.sl-big { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: radial-gradient(closest-side, rgba(var(--glow), .45), rgba(0, 0, 0, .82)); cursor: pointer; animation: slfade .25s; }
.sl-big.out { opacity: 0; transition: opacity .25s; }
@keyframes slfade { from { opacity: 0; } }
.sl-big img:not(.sl-rain) { height: 40cqh; animation: slact .6s cubic-bezier(.3, 1.6, .5, 1), slbob 2s ease-in-out .6s infinite; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); z-index: 1; }
.sl-big b { z-index: 1; font-size: clamp(30px, 12cqw, 66px); font-weight: 900; letter-spacing: -.03em; line-height: 1; background: linear-gradient(180deg, #fff7c4, #ffd23f 55%, #e08a00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .45)); animation: slpop .5s cubic-bezier(.3, 1.8, .5, 1), slpulse 1s ease-in-out .5s infinite; }
@keyframes slpulse { 50% { transform: scale(1.06); } }
.sl-big strong { z-index: 1; font-size: clamp(24px, 8cqw, 44px); font-weight: 900; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); font-variant-numeric: tabular-nums; }
.sl-big span { z-index: 1; font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.sl-rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.og-stage.sl-stage.shake { animation: ogshake .38s; }
/* light mode for weak machines: fewer effects */
.sl-lite .sl-bg { animation: none; } .sl-lite .sl-char { animation: none; } .sl-lite .sl-c.gold::before { animation: none; } .sl-lite .sl.hold .sl-c:not(.empty) { animation: none; }
.sl-lite .sl-name, .sl-lite .sl-tile strong { backdrop-filter: none; }
/* slot controls */
.sl-ctl { display: flex; gap: 8px; flex-wrap: wrap; }
.sl-ctl .seg { flex: 1; min-width: 0; }
.sl-auto-on { background: var(--ink) !important; color: #fff !important; }
@media (prefers-reduced-motion: reduce) { .sl-bg, .sl-char, .sl-c.gold::before, .sl.hold .sl-c:not(.empty), .sl.fs .sl-box, .sl-big b { animation: none !important; } }
.sl-win.low b { font-size: clamp(16px, 5cqw, 24px); text-shadow: 0 2px 0 rgba(0, 0, 0, .35); color: rgba(255, 255, 255, .85); }
.sl-win em { display: block; font-style: normal; font-size: 11.5px; font-weight: 800; color: rgba(255, 255, 255, .85); margin-bottom: 3px; }
.sl-win { display: flex; flex-direction: column; align-items: center; }

/* ---- slots: the marquee, the host, the air ---- */
@font-face { font-family: 'sl-lilita'; src: url(/fonts/slots/lilita-tab.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'sl-bungee-shade'; src: url(/fonts/slots/bungee-shade-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'sl-bungee'; src: url(/fonts/slots/bungee-tab.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'sl-alfa'; src: url(/fonts/slots/alfa-slab-one-tab.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'sl-rye'; src: url(/fonts/slots/rye-tab.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'sl-shrikhand'; src: url(/fonts/slots/shrikhand-latin-400-normal.woff2) format('woff2'); font-display: swap; }
.sl { --cell: min(16.4cqw, 18.6cqh); --boxh: calc(3 * var(--cell) + 2.6cqw + 3cqh); }
.sl-amb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.sl-name { position: absolute; left: 8px; top: 8px; z-index: 7; height: 26px; padding: 0 10px 0 6px; font-size: 12px; }
.sl-name svg { width: 15px; height: 15px; }
/* the host stands on the reels, left of the marquee */
.sl-host { position: absolute; left: 0; width: 36%; bottom: calc(var(--boxh) - 2.5cqh); top: 36px; z-index: 4; pointer-events: none; display: flex; align-items: flex-end; justify-content: center; }
.sl-host img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); max-height: 100%; max-width: 118%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); transform-origin: 50% 100%; }
.sl-host img.still { animation: slbob2 2.6s ease-in-out infinite; }
.sl-host.a-win img.still, .sl-host.a-feat img.still { animation: slact2 .6s cubic-bezier(.3, 1.6, .5, 1); }
.sl-host.a-tease img.still { animation: sltense .18s linear infinite; }
.sl-host.a-doze img.still { animation: sldoze 3s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)) saturate(.85); }
@keyframes slbob2 { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(-3%) rotate(1.5deg); } }
@keyframes slact2 { from { transform: translateX(-50%) scale(.6) translateY(10%); } to { transform: translateX(-50%); } }
@keyframes sltense { 50% { transform: translateX(calc(-50% + 1.5px)); } }
@keyframes sldoze { 50% { transform: translateX(-50%) rotate(-5deg) translateY(2%); } }
/* the marquee */
.sl-mq { position: absolute; left: 35%; right: 2.5%; top: 8px; bottom: calc(var(--boxh) + 6px); z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 2px; padding: 9px 12px 7px;
  border-radius: 16px; background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .58)), var(--frame); box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), 0 0 0 4px var(--frame2), 0 0 26px rgba(var(--glow), .35), 0 12px 24px -10px rgba(0, 0, 0, .7), inset 0 0 24px rgba(var(--glow), .18);
  animation: slbeat var(--beat) ease-out infinite; overflow: hidden; }
@keyframes slbeat { 0% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 0 0 4px var(--frame2), 0 0 34px rgba(var(--glow), .6), 0 12px 24px -10px rgba(0, 0, 0, .7), inset 0 0 30px rgba(var(--glow), .3); } 60%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), 0 0 0 4px var(--frame2), 0 0 20px rgba(var(--glow), .25), 0 12px 24px -10px rgba(0, 0, 0, .7), inset 0 0 18px rgba(var(--glow), .12); } }
.sl-mq.flash { animation: slflash .9s ease-out, slbeat var(--beat) ease-out infinite; }
@keyframes slflash { 0%, 40% { background: linear-gradient(180deg, rgba(var(--glow), .55), rgba(0, 0, 0, .5)), var(--frame); } }
/* chasing bulbs on the four edges */
.sl-bulbs { position: absolute; pointer-events: none; --bc: rgba(var(--glow), 1); --off: rgba(255, 255, 255, .18); }
.sl-bulbs.t, .sl-bulbs.b { left: 6px; right: 6px; height: 6px; background: radial-gradient(circle, var(--bc) 0 2.2px, transparent 2.8px) 0 0 / 14px 6px repeat-x, radial-gradient(circle, var(--off) 0 2px, transparent 2.6px) 7px 0 / 14px 6px repeat-x; animation: slchase 1.2s steps(2) infinite; }
.sl-bulbs.l, .sl-bulbs.r { top: 6px; bottom: 6px; width: 6px; background: radial-gradient(circle, var(--bc) 0 2.2px, transparent 2.8px) 0 0 / 6px 14px repeat-y, radial-gradient(circle, var(--off) 0 2px, transparent 2.6px) 0 7px / 6px 14px repeat-y; animation: slchasev 1.2s steps(2) infinite; }
.sl-bulbs.t { top: 2px; } .sl-bulbs.b { bottom: 2px; animation-direction: reverse; } .sl-bulbs.l { left: 2px; animation-direction: reverse; } .sl-bulbs.r { right: 2px; }
@keyframes slchase { to { background-position: 14px 0, 21px 0; } }
@keyframes slchasev { to { background-position: 0 14px, 0 21px; } }
.sl-mq.spinning .sl-bulbs { animation-duration: .3s; }
.sl-mq.flash .sl-bulbs { --bc: #fff; animation-duration: .15s; }
.sl-logo { display: flex; align-items: baseline; gap: 6px; line-height: 1; white-space: nowrap; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .5), 0 0 14px rgba(var(--glow), .9); }
.sl-logo b { font-weight: 400; font-size: clamp(15px, 6.2cqw, 30px); color: var(--acc); }
.sl-logo small { font-size: clamp(11px, 4.2cqw, 20px); }
.sl-lilita { font-family: 'sl-lilita', var(--font); } .sl-bungee-shade { font-family: 'sl-bungee-shade', var(--font); } .sl-bungee-shade small { font-family: 'sl-bungee', var(--font); }
.sl-rye { font-family: 'sl-rye', serif; } .sl-shrikhand { font-family: 'sl-shrikhand', var(--font); }
.sl-odo-w { display: flex; align-items: center; gap: 6px; }
.sl-odo-l { font-size: 9.5px; font-weight: 900; letter-spacing: .08em; color: rgba(255, 255, 255, .7); text-transform: uppercase; max-width: 70px; line-height: 1.1; text-align: right; }
.sl-odo-cr { font-size: 10px; font-weight: 900; color: rgba(255, 255, 255, .6); }
.sl-odo { display: flex; font-size: clamp(22px, 8.4cqw, 42px); font-weight: 900; line-height: 1; height: 1em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(var(--glow), .9); padding: 2px 8px; border-radius: 8px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 6px 10px rgba(0, 0, 0, .5); box-sizing: content-box; }
.od { display: inline-block; height: 1em; overflow: hidden; width: .62em; text-align: center; }
.ods { display: flex; flex-direction: column; transition: transform .55s cubic-bezier(.3, 1.3, .5, 1); }
.ods i { font-style: normal; height: 1em; line-height: 1em; }
.odx { display: inline-block; width: .3em; text-align: center; }
.sl-mq-row { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; width: 100%; }
.sl-mq .sl-lad i { padding: 2px 7px; font-size: 10.5px; }
.sl-jp { display: flex; gap: 4px; }
.sl-jp i { font-style: normal; display: flex; flex-direction: column; align-items: center; padding: 2px 6px; border-radius: 7px; font-size: 8.5px; font-weight: 900; letter-spacing: .05em; line-height: 1.1; background: rgba(0, 0, 0, .45); color: rgba(255, 255, 255, .75); }
.sl-jp i b { font-size: 10.5px; color: #fff; }
.sl-jp .mini b { color: #ffd86b; } .sl-jp .minor b { color: #8be7ff; } .sl-jp .major b { color: #ff8fd0; } .sl-jp .grand { background: linear-gradient(180deg, #ffe680, #e69b10); color: #4a2600; } .sl-jp .grand b { color: #3a1d00; }
.sl-jp .fs b { color: var(--acc); font-size: 11px; }
.sl.hold .sl-jp i { animation: sljp 1s ease-in-out infinite; } .sl.hold .sl-jp i:nth-child(2) { animation-delay: .25s; } .sl.hold .sl-jp i:nth-child(3) { animation-delay: .5s; } .sl.hold .sl-jp i:nth-child(4) { animation-delay: .75s; }
@keyframes sljp { 50% { transform: scale(1.08); box-shadow: 0 0 12px rgba(var(--glow), .8); } }
.sl-tick { width: 100%; overflow: hidden; height: 15px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sl-tick-in { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, .8); animation: sltick var(--tdur, 30s) linear infinite; }
.sl-tick-in span { display: inline-flex; align-items: center; gap: 4px; } .sl-tick-in b { color: var(--acc); }
.sl-tick-in em { font-style: normal; color: rgba(var(--glow), .8); font-size: 8px; }
.sl-tick-in .flimg { width: 13px; height: 9px; border-radius: 2px; } .sl-tick-in img.m { width: 14px; height: 14px; object-fit: contain; }
@keyframes sltick { to { transform: translateX(-50%); } }
/* the vaquero's marquee is a wooden saloon sign that swings */
.sl-mq.sign { background: repeating-linear-gradient(180deg, #6b4423 0 14px, #5a381c 14px 16px), #6b4423; transform-origin: 50% -30px; animation: slswing 3.6s ease-in-out infinite; top: 18px; }
.sl-mq.sign::before, .sl-mq.sign::after { content: ''; }
.sl-mq.sign .sl-odo { background: rgba(30, 16, 6, .75); }
@keyframes slswing { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
/* bunting over the pupuseria */
.sl-bunt { position: absolute; left: -2%; right: -2%; top: 0; height: 24px; z-index: 2; display: flex; justify-content: space-between; pointer-events: none; }
.sl-bunt i { width: 7%; height: 22px; clip-path: polygon(0 0, 100% 0, 50% 100%); background: #2f6fd1; transform-origin: 50% 0; animation: slflap 2.4s ease-in-out infinite; }
.sl-bunt i:nth-child(even) { background: #f4f1ea; animation-delay: -.8s; } .sl-bunt i:nth-child(3n) { animation-delay: -1.5s; }
@keyframes slflap { 50% { transform: rotate(6deg) scaleY(.9); } }
/* win popups over the reels */
.sl-win { position: absolute; left: 0; right: 0; bottom: calc(var(--boxh) * .45); z-index: 8; height: 0; display: block; pointer-events: none; }
.sl-pop { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; font-size: clamp(22px, 8cqw, 40px); font-weight: 900; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .45), 0 0 18px rgba(var(--glow), 1); animation: slrise 1.4s ease-out forwards; white-space: nowrap; }
.sl-pop i { font-style: normal; font-size: .5em; padding: 2px 8px; border-radius: 999px; background: var(--acc); color: #1a0d05; text-shadow: none; }
.sl-pop.low { font-size: clamp(14px, 4.6cqw, 20px); text-shadow: 0 2px 0 rgba(0, 0, 0, .45); color: rgba(255, 255, 255, .9); }
@keyframes slrise { 0% { opacity: 0; transform: translate(-50%, 20px) scale(.6); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.1); } 30% { transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -60px); } }
.sl-lite .sl-mq, .sl-lite .sl-bulbs, .sl-lite .sl-bunt i, .sl-lite .sl-tick-in { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sl-mq, .sl-bulbs, .sl-bunt i, .sl-host img { animation: none !important; } }
/* ---- slots polish: titles, rays, glass, idle life ---- */
.sl-title { position: relative; display: block; z-index: 1; }
.sl-title img { display: block; width: min(84cqw, 460px); max-height: 30cqh; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); animation: sltitle .55s cubic-bezier(.3, 1.6, .5, 1) both, slpulse 1.1s ease-in-out .6s infinite; }
.sl-title b { display: none; }
.sl-title.txt img { display: none; } .sl-title.txt b { display: block; font-size: clamp(28px, 11cqw, 58px); font-weight: 900; letter-spacing: -.03em; line-height: 1; background: linear-gradient(180deg, #fff7c4, #ffd23f 55%, #e08a00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .45)); }
.sl-title.grand img { width: min(70cqw, 380px); }
@keyframes sltitle { from { transform: scale(.2) rotate(-6deg); opacity: 0; } }
.sl-banner b.n { font-size: clamp(40px, 16cqw, 84px); line-height: .9; color: #fff; text-shadow: 0 5px 0 rgba(0, 0, 0, .45), 0 0 30px rgba(var(--glow), 1); }
.sl-rays { position: absolute; left: 50%; top: 50%; width: 170cqmax; height: 170cqmax; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, rgba(var(--glow), .22) 0 8deg, transparent 8deg 20deg); -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 70%); mask-image: radial-gradient(closest-side, #000 15%, transparent 70%); animation: slrays 14s linear infinite; pointer-events: none; z-index: 0; }
@keyframes slrays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.sl-banner > *, .sl-big > * { position: relative; z-index: 1; } .sl-banner .sl-rays, .sl-big .sl-rays { position: absolute; z-index: 0; }
.sl-big img.host { height: 34cqh; }
.sl-big.t-mega { background: radial-gradient(closest-side, rgba(170, 80, 255, .45), rgba(0, 0, 0, .85)); } .sl-big.t-epic { background: radial-gradient(closest-side, rgba(60, 170, 255, .5), rgba(0, 0, 0, .88)); }
.sl-big > b { display: none; }
/* the logo art in the marquee */
.sl-logo img { height: clamp(24px, 9.6cqh, 52px); max-width: 100%; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); animation: sllogo 3.2s ease-in-out infinite; }
.sl-logo b, .sl-logo small { display: none; } .sl-logo.txt img { display: none; } .sl-logo.txt b, .sl-logo.txt small { display: inline; }
@keyframes sllogo { 50% { transform: scale(1.04); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)) brightness(1.12); } }
/* glass over the reels, a gold rim, a shine that sweeps wilds and gold symbols */
.sl-box::after { content: ''; position: absolute; inset: 1.3cqw; border-radius: 2.4cqw; pointer-events: none; z-index: 6; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 80%, rgba(0, 0, 0, .25)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sl-box::before { content: ''; position: absolute; inset: -3px; border-radius: calc(3.6cqw + 3px); pointer-events: none; background: linear-gradient(135deg, rgba(255, 240, 190, .9), rgba(var(--glow), .5) 30%, rgba(255, 255, 255, 0) 50%, rgba(var(--glow), .5) 70%, rgba(255, 240, 190, .9)); z-index: -1; filter: blur(.5px); }
.sl-c.wild::after, .sl-c.gold::after { content: ''; position: absolute; inset: 6%; border-radius: 16%; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: slsweep 2.8s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes slsweep { 60%, 100% { background-position: 150% 0; } }
.sl-c.wig img { animation: slwig .7s ease-in-out; }
@keyframes slwig { 25% { transform: rotate(-7deg) scale(1.06); } 50% { transform: rotate(6deg) scale(1.08); } 75% { transform: rotate(-3deg); } }
.sl-c.s9 img { animation: slcoin 2.4s ease-in-out infinite; } .sl.hold .sl-c.s9 img { animation: none; }
@keyframes slcoin { 50% { filter: drop-shadow(0 0 8px rgba(var(--glow), .9)) drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); transform: scale(1.04); } }
.sl.spinning .sl-bg { filter: saturate(1.15) brightness(1.05); transition: filter .4s; }
.sl-lite .sl-c.wild::after, .sl-lite .sl-c.gold::after, .sl-lite .sl-c.s9 img, .sl-lite .sl-rays, .sl-lite .sl-logo img { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sl-rays, .sl-c.wild::after, .sl-c.gold::after, .sl-c.s9 img, .sl-logo img, .sl-title img { animation: none !important; } }
.sl-tile img.sl-tile-logo { position: absolute; inset: auto 6% 34px 6%; width: 88%; height: 38%; object-fit: contain; object-position: center bottom; z-index: 1; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); transition: transform .3s; }
.sl-tile:hover img.sl-tile-logo { transform: scale(1.06) rotate(-1deg); }
.sl-tile-in { flex-direction: row; align-items: center; justify-content: space-between; }
.sl-tile-in i { margin-top: 0; }
/* marquee proportions: the logo takes the room that's left, the ticker clears the bulbs */
.sl-mq { padding: 8px 12px 10px; gap: 3px; }
.sl-logo { flex: 1 1 auto; min-height: 0; width: 100%; justify-content: center; align-items: center; }
.sl-logo img { height: 100%; max-height: 64px; min-height: 26px; width: auto; }
.sl-odo { font-size: clamp(20px, 7.4cqw, 38px); }
.sl-tick { margin-bottom: 2px; flex: none; }
.sl-mq-row, .sl-odo-w { flex: none; }
.sl-tile-in > span { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sl-c.land img { animation: slland .38s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes slland { 0% { transform: scaleY(.78) scaleX(1.12) translateY(8%); } 60% { transform: scaleY(1.06) scaleX(.96); } }
.sl-logo img { max-height: min(24cqh, 130px); }
.sl-mq-row { gap: 4px; }

/* ===================== Slots v2: logo + plaques on top, framed reels, win plate ===================== */
.sl.v2 { --cell: min(16.6cqw, 17cqh); --rw: calc(5 * var(--cell)); --rh: calc(3 * var(--cell)); --rb: 20cqh; }
.sl.v2 .sl-bg { inset: -6%; filter: blur(3px) brightness(.55) saturate(1.15); }
.sl.v2 .sl-bg::after { background: radial-gradient(75% 60% at 50% 58%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6)), linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .5)); }
/* the head: logo, then the four plaques */
.sl.v2 .sl-head { position: absolute; left: 22%; right: 2%; top: 1.5cqh; height: calc(100cqh - var(--rb) - var(--rh) - 7cqh); z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .6cqh; pointer-events: none; }
.sl.v2 .sl-logo { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.sl.v2 .sl-logo img { height: 100%; max-height: none; min-height: 0; max-width: 92%; width: auto; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.sl-jps { display: flex; gap: 1.4cqw; justify-content: center; width: 100%; flex: none; }
.sl-jps .jp { position: relative; width: 18.5cqw; max-width: 120px; aspect-ratio: 16 / 7.4; display: flex; flex-direction: column; align-items: center; justify-content: center; font-style: normal; line-height: 1; color: #fff; transition: transform .2s, filter .2s; }
.sl-jps .jp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; z-index: 0; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .5)); }
.sl-jps .jp span, .sl-jps .jp b { position: relative; z-index: 1; text-shadow: 0 1px 0 rgba(0, 0, 0, .7); }
.sl-jps .jp span { font-size: clamp(6.5px, 1.9cqw, 10px); font-weight: 900; letter-spacing: .06em; opacity: .85; }
.sl-jps .jp b { font-size: clamp(9px, 2.9cqw, 15px); font-weight: 900; font-variant-numeric: tabular-nums; }
.sl-jps .jp:not(:has(img)) { border-radius: 8px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.sl-jps .mini b { color: #ffd9a0; } .sl-jps .minor b { color: #bdf2ff; } .sl-jps .major b { color: #ffd0ec; } .sl-jps .grand b { color: #fff3b0; }
.sl.v2:not(.hold) .sl-jps .jp:not(.on) { filter: brightness(.6) saturate(.7); } .sl-hold .sl-jps .jp { filter: none; }
.sl-jps .jp.on { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(var(--glow), .9)); }
.sl.v2.hold .sl-jps .jp { animation: sljp 1s ease-in-out infinite; } .sl.v2.hold .sl-jps .jp:nth-child(2) { animation-delay: .25s; } .sl.v2.hold .sl-jps .jp:nth-child(3) { animation-delay: .5s; } .sl.v2.hold .sl-jps .jp:nth-child(4) { animation-delay: .75s; }
/* the reels: one window, thin dividers; the frame art sits around them */
.sl.v2 .sl-box { bottom: var(--rb); padding: 0; border-radius: 1.4cqw; background: linear-gradient(180deg, rgba(10, 6, 4, .82), rgba(20, 12, 8, .68) 50%, rgba(10, 6, 4, .82)); box-shadow: 0 0 0 2px rgba(0, 0, 0, .4), 0 18px 34px -10px rgba(0, 0, 0, .8); }
.sl.v2.framed .sl-box { box-shadow: none; }
.sl.v2 .sl-box::before { display: none; }
.sl.v2 .sl-box::after { inset: 0; border-radius: 1.4cqw; }
.sl.v2 .sl-reels { gap: 0; }
.sl.v2 .sl-reel { border-radius: 0; background: none; box-shadow: none; }
.sl.v2 .sl-reel + .sl-reel { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .09), inset 2px 0 0 rgba(0, 0, 0, .35); }
.sl.v2 .sl-reel.tease { box-shadow: inset 0 0 0 2px var(--acc), inset 0 0 26px rgba(var(--glow), .7); }
.sl.v2 .sl-lines { left: 0; top: 0; width: var(--rw); }
.sl.v2 .sl-fx { left: 0; top: 0; }
.sl.v2 .sl-spark { left: calc((var(--x) + .5) * var(--cell)); }
.sl-frame { position: absolute; z-index: 5; pointer-events: none; max-width: none; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .65)); }
/* symbol hierarchy: the four high symbols sit on the machine's tile */
.sl.v2 .sl-c.s4::before, .sl.v2 .sl-c.s5::before, .sl.v2 .sl-c.s6::before, .sl.v2 .sl-c.s7::before { content: ''; position: absolute; inset: 4%; background: var(--tile) center / contain no-repeat; z-index: -1; opacity: .95; }
.sl.v2 .sl-c.s4 img, .sl.v2 .sl-c.s5 img, .sl.v2 .sl-c.s6 img, .sl.v2 .sl-c.s7 img { width: 74%; height: 74%; }
.sl.v2 .sl-c.s0 img, .sl.v2 .sl-c.s1 img, .sl.v2 .sl-c.s2 img, .sl.v2 .sl-c.s3 img { width: 72%; height: 72%; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)) saturate(.95); }
.sl.v2 .sl-c.wild img, .sl.v2 .sl-c.s9 img, .sl.v2 .sl-c.s10 img { width: 94%; height: 94%; filter: drop-shadow(0 0 8px rgba(var(--glow), .8)) drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
/* the win plate across the bottom edge of the frame */
.sl-plate { position: absolute; left: 50%; bottom: calc(-1 * var(--cell) * .42); transform: translateX(-50%); width: min(60cqw, 340px); aspect-ratio: 16 / 4.6; z-index: 7; display: flex; align-items: center; justify-content: center; }
.sl-plate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.sl-plate:not(:has(> img)) { border-radius: 14px; background: linear-gradient(180deg, var(--frame2), var(--frame)); box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 8px 16px rgba(0, 0, 0, .5); }
.sl-plate-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 2cqw; }
.sl.v2 .sl-odo { font-size: clamp(18px, 6.6cqw, 34px); background: rgba(0, 0, 0, .45); }
.sl.v2 .sl-odo-l { font-size: clamp(7px, 2.1cqw, 10.5px); max-width: 16cqw; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
.sl.v2 .sl-lad:empty { display: none; }
.sl.v2 .sl-lad i { font-style: normal; font-size: clamp(8px, 2.3cqw, 11px); font-weight: 900; padding: 3px 7px; border-radius: 999px; background: var(--acc); color: #1a0d05; }
.sl-plate.flash { animation: slpflash .8s ease-out; }
@keyframes slpflash { 0%, 30% { transform: translateX(-50%) scale(1.08); filter: brightness(1.4) drop-shadow(0 0 18px rgba(var(--glow), 1)); } }
/* the host sits on the frame's top corner */
.sl.v2 .sl-host { left: -1%; width: 30%; top: 2cqh; bottom: calc(var(--rb) + var(--rh) - 3cqh); z-index: 6; }
/* foreground props in the bottom corners, in front of everything but the overlays */
.sl-prop { position: absolute; bottom: -3%; width: 22cqw; max-width: 150px; z-index: 7; pointer-events: none; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .6)); }
.sl-prop.l { left: -5%; } .sl-prop.r { right: -5%; }
.sl.v2 .sl-win { bottom: calc(var(--rb) + var(--rh) * .55); }
/* the catalog ticker */
.sl-pick .sl-tick { flex: none; height: 18px; } .sl-pick .sl-tick-in { font-size: 11.5px; }
.sl-lite .sl-prop { display: none; }
/* slots get a taller picture so the frame, the plate and the head all have room */
.og-stage.sl-stage { aspect-ratio: 1 / 1.22; }
@media (min-width: 900px) { .og-stage.sl-stage { aspect-ratio: 1 / .92; } }
.sl.v2 { --rb: 17cqh; --cell: min(16.6cqw, 15.4cqh); }
.sl-plate { top: calc(100% + .4cqh); bottom: auto; width: min(54cqw, 300px); aspect-ratio: 16 / 4.2; }
.sl-plate.flash { animation: slpflash .8s ease-out; }
.sl-prop { bottom: -2%; width: 21cqw; }
.og-stage.sl-pickst { aspect-ratio: 1 / 1.22; }
@media (min-width: 900px) { .og-stage.sl-pickst { aspect-ratio: 1 / .92; } }
/* the host stands on the frame's top edge, on its own side; the logo and plaques take the other side */
.sl.v2 { --ftk: .3; }
.sl.v2 .sl-host { top: 1cqh; bottom: calc(var(--rb) + var(--rh) * (1 + var(--ftk) * .55)); width: 34%; }
.sl.v2.host-l .sl-host { left: -2%; right: auto; }
.sl.v2.host-r .sl-host { right: -2%; left: auto; }
.sl.v2.host-l .sl-head { left: 27%; right: 1%; }
.sl.v2.host-r .sl-head { left: 1%; right: 27%; }
.sl.v2.host-r .sl-name { left: 8px; }
.sl.v2 .sl-host img { max-width: 125%; }

/* ===================== Slots v3: a tall machine with its own controls (like real slots) ===================== */
#oggame.sl-mode .og-dock { display: none; }
#oggame.sl-mode .og-game { grid-template-columns: minmax(0, 1fr); justify-items: center; }
#oggame.sl-mode .og-stage { width: 100%; max-width: 480px; aspect-ratio: 1 / 1.62; }
#oggame.sl-mode .og-stage.sl-pickst { aspect-ratio: 1 / 1.25; }
.sl.v2 { --cell: min(17.6cqw, 10.9cqh); --rb: 33cqh; }
.sl.v2 .sl-head { top: 1cqh; height: calc(100cqh - var(--rb) - var(--rh) - var(--rh) * var(--ftk) - 1.5cqh); }
/* the hint strip across the frame's top bar */
.sl-hint { position: absolute; left: 6%; right: 6%; top: -4.6cqh; height: 3.9cqh; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .6)); box-shadow: inset 0 0 0 1px rgba(var(--glow), .5), 0 2px 8px rgba(0, 0, 0, .5); color: #fff; font-size: clamp(9px, 2.9cqw, 13px); font-weight: 900; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.sl-hint [data-hint] { color: var(--acc); text-shadow: 0 0 8px rgba(var(--glow), .7); }
.sl-hint [data-hint].in { animation: slhint .45s ease-out; }
@keyframes slhint { from { opacity: 0; transform: translateY(60%); } }
.sl-hint .sl-lad:empty { display: none; }
.sl.v2 .sl-hint .sl-lad i { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--acc); color: #1a0d05; font-size: .9em; }
/* balance · bet · win */
.sl-info { position: absolute; left: 3%; right: 3%; bottom: 19.5cqh; height: 6.4cqh; z-index: 8; display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 1.6cqw; }
.sl-info > div { display: flex; align-items: center; justify-content: center; gap: 1.4cqw; padding: 0 2cqw; border-radius: 12px; background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .55)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 4px 10px rgba(0, 0, 0, .45); color: #fff; min-width: 0; }
.sl-info svg { width: clamp(13px, 4.2cqw, 20px); height: clamp(13px, 4.2cqw, 20px); color: var(--acc); flex: none; }
.sl-info b { font-size: clamp(11px, 3.7cqw, 17px); font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-info .w { box-shadow: inset 0 0 0 1.5px rgba(var(--glow), .7), 0 0 14px rgba(var(--glow), .35); }
.sl.v2 .sl-info .sl-odo-l { display: none; }
.sl.v2 .sl-info .sl-odo { font-size: clamp(14px, 5cqw, 24px); background: none; box-shadow: none; padding: 0; text-shadow: 0 0 10px rgba(var(--glow), .9); }
.sl-info .w.flash { animation: slwflash .8s ease-out; }
@keyframes slwflash { 0%, 30% { background: rgba(var(--glow), .55); transform: scale(1.05); } }
/* the control bar */
.sl-ctl { position: absolute; left: 0; right: 0; bottom: 1.2cqh; height: 17cqh; z-index: 8; display: flex; align-items: center; justify-content: center; gap: 3.2cqw; padding: 0 3cqw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 35%); }
.sl-b { position: relative; width: 12.5cqw; height: 12.5cqw; max-width: 60px; max-height: 60px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--frame2), var(--frame) 70%); box-shadow: 0 0 0 2.5px rgba(var(--glow), .85), 0 0 0 5px rgba(0, 0, 0, .35), 0 6px 12px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .25); transition: transform .12s, filter .2s; }
.sl-b svg { width: 46%; height: 46%; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5)); }
.sl-b.sm { width: 10.5cqw; height: 10.5cqw; max-width: 50px; max-height: 50px; }
.sl-b small { position: absolute; bottom: -2.6cqh; left: 50%; transform: translateX(-50%); font-size: clamp(7px, 2.1cqw, 10px); font-weight: 900; letter-spacing: .06em; color: rgba(255, 255, 255, .8); }
.sl-b:active, .sl-spin:active { transform: scale(.92); }
.sl-b:disabled { filter: grayscale(.7) brightness(.6); cursor: default; }
.sl.turbo .sl-b[data-c="turbo"] { background: radial-gradient(circle at 35% 30%, #fff6c2, var(--acc) 70%); color: #1a0d05; }
.sl.autoing .sl-b[data-c="auto"] { background: radial-gradient(circle at 35% 30%, #ffb3b3, #d8323a 70%); }
.sl-spin { position: relative; width: 25cqw; height: 25cqw; max-width: 120px; max-height: 120px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, #fff6c2, var(--acc) 55%, var(--frame) 100%); box-shadow: 0 0 0 3px rgba(255, 255, 255, .6), 0 0 0 7px rgba(var(--glow), .6), 0 0 28px rgba(var(--glow), .7), 0 10px 18px rgba(0, 0, 0, .55); transition: transform .12s; animation: slspinpulse 2.4s ease-in-out infinite; }
.sl-spin img { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: contain; }
.sl-spin .arr { width: 46%; height: 46%; color: #1a0d05; position: relative; }
.sl-spin:has(img) .arr { display: none; }
.sl-spin b { position: absolute; z-index: 1; font-size: clamp(16px, 6cqw, 28px); font-weight: 900; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .7), 0 0 10px rgba(0, 0, 0, .8); }
.sl.busy .sl-spin img, .sl.busy .sl-spin .arr { animation: slrot .9s linear infinite; }
.sl.busy .sl-spin { animation: none; filter: brightness(.9); }
@keyframes slrot { to { transform: rotate(360deg); } }
@keyframes slspinpulse { 50% { box-shadow: 0 0 0 3px rgba(255, 255, 255, .8), 0 0 0 9px rgba(var(--glow), .45), 0 0 40px rgba(var(--glow), .9), 0 10px 18px rgba(0, 0, 0, .55); } }
.sl-gear { position: absolute; right: 2cqw; top: 1.4cqh; width: 9cqw; height: 9cqw; max-width: 40px; max-height: 40px; border: 0; border-radius: 50%; display: none; }
.sl-ctl .sl-gear { display: grid; place-items: center; position: static; width: 8.5cqw; height: 8.5cqw; background: rgba(0, 0, 0, .55); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); cursor: pointer; margin-left: -1cqw; }
.sl-ctl .sl-gear svg { width: 55%; height: 55%; }
/* the auto-spin menu and the settings sheet */
.sl-pop-menu { position: absolute; right: 12cqw; bottom: 19cqh; z-index: 12; padding: 10px; border-radius: 14px; background: rgba(12, 10, 16, .94); box-shadow: 0 0 0 1px rgba(var(--glow), .5), 0 12px 30px rgba(0, 0, 0, .6); color: #fff; text-align: center; }
.sl-pop-menu[hidden] { display: none; }
.sl-pop-menu b { font-size: 12px; } .sl-pop-menu span { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .6); margin-top: 6px; }
.sl-pop-menu div { display: flex; gap: 6px; margin-top: 8px; }
.sl-pop-menu button { width: 44px; height: 36px; border: 0; border-radius: 10px; background: var(--frame2); color: #fff; font: 900 14px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(var(--glow), .6); }
.sl-sheet { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .6); animation: slfade .2s; }
.sl-sheet-in { position: relative; width: 100%; max-height: 86%; overflow: auto; padding: 18px 16px 20px; border-radius: 20px 20px 0 0; background: linear-gradient(180deg, #1b1622, #120f17); color: #fff; box-shadow: 0 -2px 0 rgba(var(--glow), .7); animation: slsheet .28s cubic-bezier(.3, 1.2, .5, 1); }
@keyframes slsheet { from { transform: translateY(40%); opacity: 0; } }
.sl-sheet h3 { margin: 0 0 10px; font-size: 17px; }
.sl-x { position: absolute; right: 12px; top: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; cursor: pointer; }
.sl-row { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 4px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); background: none; color: #fff; font: 700 14px var(--font); cursor: pointer; text-align: left; }
.sl-row i { width: 40px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .2); position: relative; transition: background .2s; }
.sl-row i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.sl-row i.on { background: var(--acc); } .sl-row i.on::after { transform: translateX(16px); }
.sl-row em { font-style: normal; font-size: 20px; color: rgba(255, 255, 255, .5); }
.sl-fine { margin: 12px 0 0; font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.sl-pts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.sl-pt { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.sl-pt img { width: 44px; height: 44px; object-fit: contain; } .sl-pt span { font-size: 11.5px; line-height: 1.45; } .sl-pt b { color: var(--acc); }
.sl-sheet p { font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .8); margin: 8px 0; } .sl-sheet p b { color: #fff; }
/* the frame's props stay clear of the controls */
.sl.v2 .sl-prop { bottom: 24cqh; width: 17cqw; }
.sl.v2 .sl-win { bottom: calc(var(--rb) + var(--rh) * .55); }
#oggame.sl-mode .og-stage { aspect-ratio: 1 / 1.5; }
.sl.v2 { --cell: min(17.6cqw, 11.7cqh); --rb: 32.5cqh; }
.sl-info { bottom: 19cqh; height: 6.6cqh; }
.sl-ctl { height: 17cqh; }
.sl-gear { display: grid !important; place-items: center; position: absolute; right: 8px; top: 8px; z-index: 9; width: 30px; height: 30px; max-width: none; max-height: none; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); cursor: pointer; backdrop-filter: blur(6px); }
.sl-gear svg { width: 15px; height: 15px; }
.sl-hint { font-size: clamp(8.5px, 2.6cqw, 12px); }
.sl-hint [data-hint] { overflow: hidden; text-overflow: ellipsis; }
#oggame.sl-mode .og-stage { max-width: min(480px, calc((100vh - 150px) / 1.5)); max-width: min(480px, calc((100dvh - 150px) / 1.5)); min-width: min(100%, 320px); }

/* ---- the slots catalog, light ---- */
.og-stage.sl-pickst, #oggame.sl-mode .og-stage.sl-pickst { aspect-ratio: auto; container-type: inline-size; background: linear-gradient(180deg, #f2fbf6, #fbf8ef); box-shadow: 0 14px 30px -20px rgba(6, 60, 36, .35), inset 0 0 0 1px rgba(10, 40, 25, .06); color: var(--ink, #10231a); }
.sl-pick.light { position: relative; inset: auto; padding: 12px; gap: 12px; color: var(--ink, #10231a); }
.sl-hero { position: relative; overflow: hidden; border-radius: 18px; min-height: 104px; display: flex; align-items: center; padding: 14px 16px; background: linear-gradient(120deg, #dff7ea, #fff4c9); }
.sl-hero img { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); height: 128%; width: auto; max-width: 78%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.sl-hero div { position: relative; display: flex; flex-direction: column; gap: 2px; max-width: 55%; }
.sl-hero b { font-size: clamp(24px, 8cqw, 34px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.sl-hero span { font-size: 12.5px; font-weight: 600; color: rgba(16, 35, 26, .65); }
.sl-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sl-chips button { flex: none; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(16, 35, 26, .12); background: #fff; color: inherit; font: 700 13px var(--font); cursor: pointer; }
.sl-chips button.on { background: var(--ink, #10231a); color: #fff; border-color: transparent; }
.sl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sl-card { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #fff; color: inherit; text-align: left; cursor: pointer; font-family: var(--font);
  box-shadow: 0 1px 0 rgba(16, 35, 26, .05), 0 10px 22px -14px rgba(16, 35, 26, .35), inset 0 0 0 1px rgba(16, 35, 26, .06); transition: transform .18s, box-shadow .18s; }
.sl-card[hidden] { display: none; }
.sl-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(16, 35, 26, .05), 0 18px 30px -16px rgba(16, 35, 26, .45), inset 0 0 0 1px rgba(16, 35, 26, .06); }
.sl-card:active { transform: scale(.98); }
.sl-card.last { box-shadow: 0 0 0 2.5px var(--acc), 0 10px 22px -14px rgba(16, 35, 26, .35); }
.sl-card-art { position: relative; display: block; aspect-ratio: 1 / .92; overflow: hidden; background: var(--bg); }
.sl-card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sl-card-art img.lg { inset: auto 6% 4% 6%; width: 88%; height: 46%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .55)); }
.sl-card:hover .sl-card-art img:not(.lg) { transform: scale(1.06); }
.sl-card-art::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45)); pointer-events: none; }
.sl-card-art img.lg { z-index: 1; }
.sl-card-art em, .sl-card-art strong { position: absolute; top: 8px; z-index: 2; font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.sl-card-art em { left: 8px; background: #fff; color: #111; } .sl-card-art strong { right: 8px; background: rgba(0, 0, 0, .55); color: #fff; }
.sl-card-in { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; }
.sl-card-in b { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.sl-card-in .where { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: rgba(16, 35, 26, .6); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-card-in .where .flimg { width: 15px; height: 11px; border-radius: 2px; flex: none; }
.sl-card-in .row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; }
.sl-card-in i { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 22%, #fff); color: #3a2400; }
.sl-card-in u { text-decoration: none; font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px; background: var(--ink, #10231a); color: #fff; }
.sl-pick.light .sl-tick { height: 20px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(16, 35, 26, .06); }
.sl-pick.light .sl-tick-in { color: rgba(16, 35, 26, .75); padding-top: 3px; } .sl-pick.light .sl-tick-in b { color: #0a8a4e; } .sl-pick.light .sl-tick-in em { color: rgba(16, 35, 26, .3); }
/* the host stands on a small themed platform with a contact shadow; its feet line up with the platform's top */
.sl.v2 .sl-host { --foot: .98; overflow: visible; }
.sl.v2 .sl-host img:not(.sl-ped) { bottom: 9%; transform: translateX(-50%) translateY(calc((1 - var(--foot)) * 100%)); max-height: 92%; z-index: 2; }
.sl.v2 .sl-host img.still { animation: slbob3 2.6s ease-in-out infinite; }
@keyframes slbob3 { 0%, 100% { transform: translateX(-50%) translateY(calc((1 - var(--foot)) * 100%)) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(calc((1 - var(--foot)) * 100% - 3%)) rotate(1.5deg); } }
.sl-ped { position: absolute; left: 50%; bottom: -2%; width: 74%; max-width: 160px; transform: translateX(-50%); z-index: 1; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); pointer-events: none; }
.sl-shadow { position: absolute; left: 50%; bottom: 8%; width: 46%; height: 6%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); z-index: 1; animation: slshadow 2.6s ease-in-out infinite; }
@keyframes slshadow { 50% { transform: translateX(-50%) scaleX(.88); opacity: .8; } }
.sl-host.a-win .sl-shadow, .sl-host.a-feat .sl-shadow { animation: slshadow .5s ease-in-out infinite; }
.sl-lite .sl-shadow { animation: none; }
/* centred head: logo, then the plaques, across the middle; the host stays small on its own side */
.sl.v2 .sl-head, .sl.v2.host-l .sl-head, .sl.v2.host-r .sl-head { left: 0; right: 0; }
.sl.v2 .sl-logo img { max-width: 58cqw; }
.sl-jps { gap: 1.2cqw; }
.sl-jps .jp { width: 14.2cqw; max-width: 92px; aspect-ratio: 16 / 8; }
.sl-jps .jp b { font-size: clamp(8.5px, 2.6cqw, 14px); } .sl-jps .jp span { font-size: clamp(6px, 1.7cqw, 9px); }
.sl.v2 .sl-host { width: 23%; top: 3cqh; }
.sl.v2.host-l .sl-host { left: -2.5%; } .sl.v2.host-r .sl-host { right: -2.5%; }
.sl.v2 .sl-host img:not(.sl-ped) { max-width: 140%; }
/* balance, bet and win in the machine's own holders */
.sl-info > div { background: var(--hold-info) center / 100% 100% no-repeat; box-shadow: none; border-radius: 0; padding: 0 3.4cqw; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.sl-info > div.w { background-image: var(--hold-win); box-shadow: none; }
.sl-info { height: 7.6cqh; bottom: 18.6cqh; gap: .6cqw; left: 1.5%; right: 1.5%; grid-template-columns: 1fr 1fr 1.3fr; }
.sl-info b { text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
.sl-info svg { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.sl-info .w.flash { animation: slwflash2 .8s ease-out; }
@keyframes slwflash2 { 0%, 30% { filter: brightness(1.5) drop-shadow(0 0 14px rgba(var(--glow), 1)); transform: scale(1.06); } }
.sl-ped { width: 62%; bottom: 0; }
.sl.v2.sl-ca .sl-host { width: 30%; } .sl.v2.sl-ca .sl-ped { width: 46%; }
.sl.v2.sl-ir .sl-ped { width: 56%; }

/* ---- fine details: text that always sits inside its frame ---- */
.og-stage.sl-pickst::before { display: none; }
.sl-card-in { gap: 2px; padding: 10px 12px 12px; }
.sl-card-art { aspect-ratio: 1 / 1; }
/* plaques: label and value sized from the plaque itself, kept inside its dark panel */
.sl-jps .jp { container-type: inline-size; padding: 0 15%; box-sizing: border-box; overflow: visible; }
.sl-jps .jp span, .sl-jps .jp b { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: clip; line-height: 1.05; }
.sl-jps .jp span { font-size: 11.5cqi; font-weight: 800; letter-spacing: .05em; color: rgba(255, 255, 255, .82); margin-bottom: 1px; }
.sl-jps .jp b { font-size: 19cqi; font-weight: 900; letter-spacing: -.01em; }
.sl-jps .jp b.long { font-size: 15.5cqi; }
.sl-jps .jp span, .sl-jps .jp b { text-shadow: 0 1px 1px rgba(0, 0, 0, .8); }
.sl.v2 .sl-jps .jp { filter: none; }
.sl.v2.ways .sl-jps .jp:not(.on) { filter: brightness(.55) saturate(.6); }
.sl.v2.ways .sl-jps .jp.on { filter: drop-shadow(0 0 8px rgba(var(--glow), .9)); }
.sl.v2.ways .sl-jps .jp b { font-size: 24cqi; }
/* balance, bet and win: text inside the holder's dark panel, no glow boxes around the digits */
.sl-info > div { padding: 0 6.5cqw; gap: 1.6cqw; container-type: inline-size; }
.sl-info > div.w { padding: 0 9cqw; }
.sl-info svg { width: 13cqi; height: 13cqi; max-width: 20px; max-height: 20px; }
.sl-info b { font-size: min(15cqi, 17px); }
.sl.v2 .sl-info .sl-odo { font-size: min(17cqi, 24px); text-shadow: none; filter: drop-shadow(0 0 6px rgba(var(--glow), .8)); }
.sl.v2 .sl-info .sl-odo .ods i { text-shadow: 0 1px 1px rgba(0, 0, 0, .7); }
.sl-ir .sl-info > div:not(.w) { padding: 0 9cqw; }
/* (sizes from the machine's width, not from each plaque: steadier across browsers) */
.sl-jps .jp { container-type: normal; width: 15.6cqw; max-width: 100px; padding: 0 2.4cqw; }
.sl-jps .jp span { font-size: min(1.8cqw, 11px); }
.sl-jps .jp b { font-size: min(3.1cqw, 18px); }
.sl-jps .jp b.long { font-size: min(2.45cqw, 14px); }
.sl.v2.ways .sl-jps .jp b { font-size: min(3.8cqw, 22px); }
.sl-info > div { container-type: normal; padding: 0 5cqw; gap: 1.6cqw; }
.sl-info > div.w { padding: 0 8.5cqw; }
.sl-ir .sl-info > div:not(.w) { padding: 0 7cqw; }
.sl-info svg { width: 4cqw; height: 4cqw; }
.sl-info b { font-size: min(3.7cqw, 17px); }
.sl.v2 .sl-info .sl-odo { font-size: min(5cqw, 24px); }
.sl-info { grid-template-columns: 1.32fr .82fr 1.2fr; }
.sl-info > div { padding: 0 3.6cqw; } .sl-info > div.w { padding: 0 7.5cqw; } .sl-ir .sl-info > div:not(.w) { padding: 0 5.4cqw; }
.sl-info b { font-size: min(3.5cqw, 16px); letter-spacing: -.01em; text-overflow: clip; }
.sl-info svg { width: 3.6cqw; height: 3.6cqw; }
.sl-jps .jp b.long { font-size: min(2.15cqw, 13px); }
.sl.v2 .sl-head { z-index: 7; }
/* ---- numbers that look part of the frame: the game's font, a metal fill, a pressed-in edge ---- */
.sl-pu { --nf: 'sl-lilita'; } .sl-ca { --nf: 'sl-bungee'; } .sl-vq { --nf: 'sl-rye'; } .sl-ir { --nf: 'sl-lilita'; }
.sl.v2 .sl-jps .jp b, .sl.v2 .sl-info b, .sl.v2 .sl-info .sl-odo, .sl.v2 .sl-jps .jp span, .sl.v2 .sl-hint { font-family: var(--nf), var(--font); font-weight: 400; }
.sl.v2 .sl-jps .jp b, .sl.v2 .sl-info b, .sl.v2 .sl-info .ods i, .sl.v2 .sl-info .odx {
  background: linear-gradient(180deg, #fff8d6 0%, #ffe07a 42%, #e9a521 62%, #b8700c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.sl.v2 .sl-jps .jp b, .sl.v2 .sl-info > div { filter: drop-shadow(0 1.5px 0 rgba(0, 0, 0, .85)) drop-shadow(0 0 1px rgba(0, 0, 0, .6)); }
.sl.v2 .sl-info > div { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.sl.v2 .sl-info b, .sl.v2 .sl-info .sl-odo { filter: drop-shadow(0 1.5px 0 rgba(0, 0, 0, .9)); }
.sl.v2 .sl-jps .mini b { background-image: linear-gradient(180deg, #ffeedb, #f2b27a 50%, #a85d25); }
.sl.v2 .sl-jps .minor b { background-image: linear-gradient(180deg, #f2fdff, #9fe3f7 50%, #3f97c2); }
.sl.v2 .sl-jps .major b { background-image: linear-gradient(180deg, #fff0f8, #ff9ad0 50%, #c42b7c); }
.sl.v2 .sl-jps .jp span { color: rgba(255, 244, 214, .78); text-shadow: 0 -1px 0 rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .12); letter-spacing: .08em; }
.sl.v2 .sl-info .sl-odo { filter: drop-shadow(0 1.5px 0 rgba(0, 0, 0, .9)) drop-shadow(0 0 8px rgba(var(--glow), .55)); }
.sl.v2 .sl-hint [data-hint] { letter-spacing: .04em; }
.sl-vq.v2 .sl-jps .jp b, .sl-vq.v2 .sl-info b, .sl-vq.v2 .sl-info .sl-odo { letter-spacing: .02em; }
/* the rolling digits: room for each font's full height, so neighbouring digits never peek in */
.sl.v2 .sl-info .sl-odo { height: 1.2em; line-height: 1.2em; padding: 0; }
.sl.v2 .sl-info .od { height: 1.2em; } .sl.v2 .sl-info .ods i { height: 1.2em; line-height: 1.2em; }
.sl.v2 .sl-info .odx { line-height: 1.2em; }

/* ---- catalog: cover only; a clean Continue badge ---- */
.sl-card { border-radius: 20px; }
.sl-card-art { aspect-ratio: 1 / 1.04; border-radius: 20px; }
.sl-card.last { box-shadow: 0 10px 22px -14px rgba(16, 35, 26, .35), inset 0 0 0 1px rgba(16, 35, 26, .06); }
.sl-card-art em { left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px 5px 8px; font-size: 11.5px; font-weight: 800; background: rgba(255, 255, 255, .94); color: #10231a; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); backdrop-filter: blur(6px); }
.sl-card-art em svg { width: 11px; height: 11px; color: #06a865; }
/* ---- plaques: label and value both inside the dark panel ---- */
.sl-jps .jp { justify-content: center; gap: 0; padding: 0 2.6cqw; }
.sl-jps .jp span { font-size: min(1.5cqw, 9px); line-height: 1; margin: 0 0 1px; opacity: 1; }
.sl-jps .jp b { font-size: min(2.7cqw, 16px); line-height: 1; }
.sl-jps .jp b.long { font-size: min(2.1cqw, 12.5px); }
.sl.v2.ways .sl-jps .jp b { font-size: min(3.4cqw, 20px); }
.sl-jps .jp.grand, .sl-ir .sl-jps .jp { padding-top: 1.1cqw; }
.sl-pu .sl-jps .jp.grand { padding-top: 1.5cqw; }
/* the win number as bright as balance and bet */
.sl.v2 .sl-info .ods i, .sl.v2 .sl-info .odx { background-image: linear-gradient(180deg, #ffffff 0%, #fff0a8 40%, #ffc93a 70%, #e89a12 100%); }
/* Irie: the host's platform clear of the plaques */
.sl.v2.sl-ir .sl-host { width: 21%; left: -3%; }
.sl.v2.sl-ir .sl-jps { padding-left: 13cqw; box-sizing: border-box; }
.sl.v2 .sl-info .ods i, .sl.v2 .sl-info .odx { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #ffe9a0; text-shadow: 0 1px 0 #a8650a; }

/* ---- the slots catalog as Predicts-style game cards ---- */
.og-stage.sl-pickst, #oggame.sl-mode .og-stage.sl-pickst { background: none; box-shadow: none; border-radius: 0; overflow: visible; max-width: none; isolation: auto; }
.sl-pick.pv { position: relative; inset: auto; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.sl-pick.pv .lhead { margin: 0; }
.sl-pick.pv .lic .ic3d { width: 22px; height: 22px; }
.sl-gc { cursor: pointer; text-align: left; transition: transform .16s, box-shadow .16s; color: var(--ink); }
.sl-gc:hover { transform: translateY(-2px); } .sl-gc:active { transform: scale(.99); }
.sl-gc .gmtop { margin-bottom: 10px; }
.sl-gc-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); min-width: 0; white-space: nowrap; }
.sl-gc-meta .flimg { width: 16px; height: 11px; border-radius: 2px; } .sl-gc-meta i { font-style: normal; opacity: .5; }
.sl-gc-cont { flex: none; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--mint) 22%, #fff); color: var(--mint-ink); }
.sl-gc .mkhead { align-items: flex-start; gap: 12px; margin: 0 0 12px; }
.sl-gc-cover { position: relative; flex: none; width: 92px; height: 92px; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 14px -8px rgba(16, 35, 26, .5); }
.sl-gc-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl-gc-cover img.lg { inset: auto 5% 4% 5%; width: 90%; height: 50%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.sl-gc .mkt-q { font-size: 17px; margin: 2px 0 4px; }
.sl-gc-desc { margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted); font-weight: 500; }
.sl-gc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 8px; align-items: stretch; }
.sl-gc-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 46px; padding: 4px 6px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.sl-gc-stat small { font-size: 10.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.sl-gc-stat b { font-size: 14px; font-weight: 800; white-space: nowrap; letter-spacing: -.01em; }
.sl-gc-play { height: auto; min-height: 46px; padding: 0 20px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; border: 0; }
.sl-pick.pv .sl-tick { height: 22px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sl-pick.pv .sl-tick-in { color: var(--muted); padding-top: 4px; font-size: 11.5px; } .sl-pick.pv .sl-tick-in b { color: var(--mint-ink); } .sl-pick.pv .sl-tick-in em { opacity: .4; }
@media (max-width: 400px) { .sl-gc-cover { width: 80px; height: 80px; } .sl-gc-play { padding: 0 14px; } .sl-gc-stat b { font-size: 13px; } }
.sl-row { cursor: default; } button.sl-row { cursor: pointer; }
.sl-trk { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); gap: 2px; }
.sl-trk button { height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .7); font: 700 12.5px var(--font); cursor: pointer; }
.sl-trk button.on { background: var(--acc); color: #1a0d05; }

/* ---- the slots catalog in Lottery's layout: the filter box, then a "Slots" card with the game cards ---- */
.sl-pick.lf { position: relative; inset: auto; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.sl-chipsrow { align-items: stretch; }
.draw-chip.sl-chip { display: flex; flex-direction: column; gap: 0; padding: 8px; width: 168px; flex: none; text-align: left; border-radius: 20px; }
.sl-chip-cover { position: relative; display: block; width: 100%; aspect-ratio: 1 / .86; border-radius: 14px; overflow: hidden; }
.sl-chip-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl-chip-cover img.lg { inset: auto 6% 4% 6%; width: 88%; height: 48%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); }
.sl-chip-in { display: flex; flex-direction: column; gap: 1px; padding: 9px 6px 4px; min-width: 0; }
.sl-chip-in .d0 { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-chip-in .d1 { font-size: 13.5px; font-weight: 700; }
.sl-chip-in .d2 { font-size: 12.5px; opacity: .65; font-weight: 600; white-space: nowrap; }
.sl-pick.lf .sl-tick { height: 22px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sl-pick.lf .sl-tick-in { color: var(--muted); padding-top: 4px; font-size: 11.5px; } .sl-pick.lf .sl-tick-in b { color: var(--mint-ink); } .sl-pick.lf .sl-tick-in em { opacity: .4; }
@media (min-width: 760px) { .draw-chip.sl-chip { width: 190px; } }
/* the game cards: the cover and nothing else */
.sl-chip { flex: none; width: 168px; padding: 0; border: 0; background: none; border-radius: 18px; cursor: pointer; transition: transform .16s; }
.sl-chip:hover { transform: translateY(-2px); } .sl-chip:active { transform: scale(.98); }
.sl-chip .sl-chip-cover { aspect-ratio: 1 / 1; border-radius: 18px; box-shadow: 0 8px 18px -10px rgba(16, 35, 26, .5); }
@media (min-width: 760px) { .sl-chip { width: 190px; } }
.sl-chipsrow { gap: 12px; padding-bottom: 6px; }
/* ================= slots v3: measured panels, the character only in moments, the build-up =================
   Every plaque and holder is a picture with a dark panel. frames.json says where that panel is; the text box (.in) is
   placed exactly on it and the text is sized from the box and from how many letters it holds, so nothing spills. */
.sl.v3 .sl-head, .sl.v3.sl-ir .sl-head { left: 0; right: 0; top: 1cqh; gap: .9cqh; padding-bottom: .9cqh; box-sizing: border-box; justify-content: flex-end; }
.sl.v3 .sl-logo img { max-width: 62cqw; }
.sl-pqs { display: flex; align-items: center; justify-content: center; gap: 1.4cqw; width: 100%; flex: none; }
.sl-pu { --pqw: 21; } .sl-ca { --pqw: 21; } .sl-vq { --pqw: 17; } .sl-ir { --pqw: 17.5; }
.pq { position: relative; flex: none; width: calc(var(--pqw, 19) * 1cqw); max-width: calc(var(--pqw, 19) * 6.2px); aspect-ratio: var(--pq-ar, 2); font-style: normal; transition: transform .2s, filter .2s; }
.pq.grand { width: calc(var(--pqw, 19) * 1.09cqw); max-width: calc(var(--pqw, 19) * 6.8px); }
.pq img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55)); }
.pq:not(:has(img)) { border-radius: 8px; background: rgba(0, 0, 0, .6); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.pq .in { container-type: size; }
.pq .in, .hd .in { position: absolute; display: flex; align-items: center; justify-content: center; line-height: 1; white-space: nowrap; font-family: var(--nf), var(--font); font-weight: 400; }
.pq .in { inset: var(--pq-in, 22% 20% 22% 20%); flex-direction: column; }
.pq small { margin-bottom: 5cqh; }
.pq small { font-size: min(26cqh, calc(140cqw / var(--m))); letter-spacing: .06em; color: rgba(255, 246, 222, .8); text-shadow: 0 1px 0 rgba(0, 0, 0, .9); }
.pq b { font-size: min(50cqh, calc(150cqw / var(--n))); font-weight: 400; font-variant-numeric: tabular-nums; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .9)); }
.pq .in:not(:has(small)) b { font-size: min(74cqh, calc(150cqw / var(--n))); }
.pq.mini b { background-image: linear-gradient(180deg, #fff1e0, #f4b780 50%, #b8672a); }
.pq.minor b { background-image: linear-gradient(180deg, #ffffff, #cfe3f2 50%, #7f9bb5); }
.pq.major b { background-image: linear-gradient(180deg, #fff0f8, #ff9ad0 50%, #d1348a); }
.pq.grand b { background-image: linear-gradient(180deg, #fffbe0, #ffd95a 50%, #d98e0a); }
.sl.v3.ways .pq:not(.on) { filter: brightness(.5) saturate(.55); }
.sl.v3.ways .pq.on { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(var(--glow), .95)); z-index: 1; }
.sl.v3.hold .pq { animation: sljp 1s ease-in-out infinite; } .sl.v3.hold .pq:nth-child(2) { animation-delay: .25s; } .sl.v3.hold .pq:nth-child(3) { animation-delay: .5s; } .sl.v3.hold .pq:nth-child(4) { animation-delay: .75s; }
/* the hint strip sits on the frame's top bar; on Carnival, whose frame has a crown there, it is its own row under the plaques */
.sl.v3 .sl-hint { position: absolute; top: auto; right: auto; left: 50%; transform: translateX(-50%); bottom: calc(-1 * var(--rh) * var(--ftk) - .8cqh); width: 78cqw; max-width: 470px; height: 3.7cqh; min-height: 17px; font-family: var(--nf), var(--font); font-weight: 400; font-size: clamp(8.5px, 2.6cqw, 12.5px); letter-spacing: .04em; background: linear-gradient(180deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .62)); box-shadow: inset 0 0 0 1px rgba(var(--glow), .55), 0 2px 6px rgba(0, 0, 0, .5); }
.sl-ca.v3 .sl-hint { position: static; transform: none; flex: none; height: 3.3cqh; }
/* balance, bet and win: three holders of the same height on one line */
.sl-hud { position: absolute; left: 1.5%; right: 1.5%; bottom: 18.6cqh; height: 7.6cqh; z-index: 8; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .8cqw; align-items: stretch; font-size: 14px; }
.hd { position: relative; min-width: 0; background: var(--hd-i) center / 100% 100% no-repeat; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.hd.w { background-image: var(--hd-w); }
.hd.i .in { inset: var(--hi-in, 22% 16% 24% 16%); } .hd.w .in { inset: var(--hw-in, 22% 16% 24% 16%); }
.hd .in { color: #fff; }
.hd b, .sl.v3 .hd .sl-odo { font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: 0; font-size: 1em; }
.hd b { background: linear-gradient(180deg, #fff8d6 0%, #ffe07a 45%, #e9a521 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .9)); }
.sl.v3 .hd .sl-odo { display: flex; height: 1.2em; line-height: 1.2em; padding: 0; background: none; box-shadow: none; border-radius: 0; color: #ffe9a0; text-shadow: 0 1px 0 #a8650a; filter: drop-shadow(0 0 6px rgba(var(--glow), .6)); }
.sl.v3 .hd .od { height: 1.2em; width: .6em; } .sl.v3 .hd .ods i { height: 1.2em; line-height: 1.2em; } .sl.v3 .hd .odx { line-height: 1.2em; width: .28em; }
.sl-ca.v3 .pq b { font-size: min(46cqh, calc(122cqw / var(--n))); } .sl-ca.v3 .pq .in:not(:has(small)) b { font-size: min(66cqh, calc(122cqw / var(--n))); }
.sl-vq.v3 .pq b { font-size: min(48cqh, calc(136cqw / var(--n))); } .sl-vq.v3 .pq .in:not(:has(small)) b { font-size: min(70cqh, calc(136cqw / var(--n))); }
.hd.w.flash { animation: slwflash2 .8s ease-out; }
/* the two buttons at the top: the same size and look, above everything on the machine */
.sl.v3 .sl-name, .sl.v3 .sl-gear { position: absolute; top: 8px; z-index: 12; height: 32px; min-width: 32px; margin: 0; border: 0; border-radius: 999px; display: inline-flex !important; align-items: center; justify-content: center; gap: 3px;
  background: rgba(12, 10, 14, .82); color: #fff; font: 800 12.5px var(--font); line-height: 1; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28), 0 3px 8px rgba(0, 0, 0, .45); backdrop-filter: none; cursor: pointer; }
.sl.v3 .sl-name { left: 8px; padding: 0 12px 0 7px; } .sl.v3 .sl-gear { right: 8px; width: 32px; padding: 0; }
.sl.v3 .sl-name svg, .sl.v3 .sl-gear svg { width: 16px; height: 16px; flex: none; }
.sl.v3 .sl-name:active, .sl.v3 .sl-gear:active { transform: scale(.94); }
/* the character steps in: large, over the reels, for a moment */
.sl-moment { position: absolute; left: 50%; bottom: calc(var(--rb) - 1cqh); width: 0; height: 0; z-index: 9; pointer-events: none; }
.sl-moment[hidden] { display: none; }
.sl-moment img { position: absolute; left: 0; bottom: 0; height: min(42cqh, 86cqw); transform: translateX(-50%); transform-origin: 50% 100%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .6)); }
.sl-moment .sl-rays { position: absolute; left: 0; top: auto; bottom: 0; width: 120cqw; height: 120cqw; transform: translate(-50%, 30%); opacity: .8; border-radius: 50%; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); }
.sl-moment.in img { animation: slmomin .38s cubic-bezier(.3, 1.6, .5, 1) both; } .sl-moment.in .sl-rays { animation: slfade .3s both, slrays 9s linear infinite; }
.sl-moment.out { opacity: 0; transition: opacity .2s; }
@keyframes slmomin { from { transform: translateX(-50%) translateY(30%) scale(.5); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
.sl.v3 .sl-banner { z-index: 10; background: radial-gradient(closest-side, rgba(0, 0, 0, .82), rgba(0, 0, 0, .6)); gap: 2px; }
.sl.v3 .sl-banner .sl-title img { max-height: 20cqh; } .sl.v3 .sl-banner b.n { font-size: clamp(34px, 13cqw, 68px); }
.sl-banner img.host { width: auto; height: 21cqh; max-width: 70cqw; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .6)); }
.sl-big img.host { height: 32cqh; }
/* the build-up: the bonus is one reel away */
.sl.sus .sl-reel:not(.tease) .sl-c:not(.s9) { filter: brightness(.38) saturate(.6); transition: filter .3s; }
.sl.sus .sl-c.s9 { animation: slkey .42s ease-in-out infinite alternate; z-index: 3; }
.sl.sus .sl-reel.tease { animation: sltease2 .36s ease-in-out infinite alternate; }
.sl.sus .sl-box { animation: slheart .5s ease-in-out infinite; }
.sl.sus .sl-bg { filter: blur(3px) brightness(.32) saturate(1.3); transition: filter .4s; }
.sl.sus .sl-head, .sl.sus .sl-hud, .sl.sus .sl-ctl { filter: brightness(.6); transition: filter .3s; }
.sl.sus .sl-fx::before, .sl.sus-last .sl-fx::before { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 9cqw 2cqw rgba(var(--glow), .55); animation: slvig .5s ease-in-out infinite alternate; }
.sl-c.key-in { animation: slkeyin .65s cubic-bezier(.3, 1.6, .5, 1); z-index: 4; }
.sl-c.key-in::before { content: ''; position: absolute; inset: 4%; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 22px 6px rgba(var(--glow), 1); animation: slring .65s ease-out forwards; pointer-events: none; }
.sl.sus-hit .sl-box::after { animation: slflashw .65s ease-out; }
.sl.sus-last .sl-c.empty, .sl.sus-last .sl-c.roll { animation: slroll2 .22s linear infinite; }
.sl.sus-last .sl-box { animation: slheart .42s ease-in-out infinite; }
.sl.sus-last .sl-hint .sl-lad i { animation: slkey .3s ease-in-out infinite alternate; background: #ff4d4d; color: #fff; }
@keyframes slkey { from { transform: scale(1); filter: brightness(1.05) drop-shadow(0 0 4px rgba(var(--glow), .8)); } to { transform: scale(1.13); filter: brightness(1.4) drop-shadow(0 0 14px rgba(var(--glow), 1)); } }
@keyframes sltease2 { from { box-shadow: inset 0 0 0 2px var(--acc), inset 0 0 22px rgba(var(--glow), .55); } to { box-shadow: inset 0 0 0 3px #fff, inset 0 0 44px rgba(var(--glow), 1); } }
@keyframes slheart { 0%, 100% { transform: translateX(-50%) scale(1); } 18% { transform: translateX(-50%) scale(1.018); } 36% { transform: translateX(-50%) scale(1); } 54% { transform: translateX(-50%) scale(1.012); } }
@keyframes slvig { from { opacity: .45; } to { opacity: 1; } }
@keyframes slkeyin { 0% { transform: scale(1.5); filter: brightness(2.2); } 60% { transform: scale(.94); } 100% { transform: none; filter: none; } }
@keyframes slring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
@keyframes slflashw { 0% { background: rgba(255, 255, 255, .85); } 100% { background: rgba(255, 255, 255, 0); } }
@keyframes slroll2 { 0% { background: rgba(var(--glow), .05); } 50% { background: rgba(var(--glow), .32); } 100% { background: rgba(var(--glow), .05); } }
.sl-lite .sl.sus .sl-box, .sl-lite .sl.sus-last .sl-box, .sl-lite .sl-moment .sl-rays { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sl.sus .sl-box, .sl.sus-last .sl-box, .sl.sus .sl-c.s9, .sl-moment img, .sl-c.key-in { animation: none !important; } }
/* the preview (test site only) */
.sl.pv::after { content: 'Preview · no credits used'; position: absolute; left: 50%; top: auto; bottom: 4px; transform: translateX(-50%); z-index: 13; padding: 5px 12px; border-radius: 999px; background: #ffd23f; color: #201400; font: 800 11px var(--font); white-space: nowrap; box-shadow: 0 3px 8px rgba(0, 0, 0, .4); pointer-events: none; }
.sl-pvs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sl-pvs button { padding: 13px 8px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font: 700 13.5px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.sl-pvs button:active { background: rgba(255, 255, 255, .2); }
.sl-row small { display: block; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .5); margin-top: 2px; }
/* the coin rain sits behind the big win, it does not take room in it */
.sl-big .sl-rain { position: absolute; inset: 0; z-index: 0; }
/* the corner props crowded the holders */
.sl.v3 .sl-prop { display: none; }

/* ---- slots: the classic 3-reel machines (Jaguar Temple, Caye Catch) ----
   Same frame and layout as the others. Each reel is a third of the window wide and its symbols are that big, so the
   window shows the symbol on the line in full and a part of the ones above and below. */
.sl-jt { --nf: 'sl-rye'; --pqw: 19; } .sl-cc { --nf: 'sl-lilita'; --pqw: 19; }
.sl.classic .sl-reels { --cell: calc(var(--rw) / 3); }
.sl.classic .sl-reel { width: calc(var(--rw) / 3); height: var(--rh); }
.sl.classic .sl-strip { top: calc((var(--rh) - var(--rw)) / 2); }
.sl.classic .sl-c img { width: 76%; height: 76%; }
.sl.classic .sl-c::before { content: ''; position: absolute; inset: 6%; background: var(--tile) center / contain no-repeat; z-index: -1; opacity: .92; }
.sl.classic .sl-c.wild::before { filter: sepia(1) saturate(3.2) hue-rotate(-12deg) brightness(1.05); }
.sl.classic .sl-tag { font-size: clamp(10px, 3.4cqw, 17px); bottom: 8%; padding: 2px 9px; }
.sl.classic .sl-lines { height: var(--rh); }
/* above and below the line: dimmed, so the eye stays on the line */
.sl.classic .sl-box::after { background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .28) 21%, rgba(0, 0, 0, 0) 27%, rgba(0, 0, 0, 0) 73%, rgba(0, 0, 0, .28) 79%, rgba(0, 0, 0, .72)); }
.sl-payline { position: absolute; left: -1.6cqw; right: -1.6cqw; top: 50%; height: 0; z-index: 7; pointer-events: none; }
.sl-payline::before, .sl-payline::after { content: ''; position: absolute; top: -2.2cqw; border: 2.2cqw solid transparent; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
.sl-payline::before { left: 0; border-left-color: var(--acc); } .sl-payline::after { right: 0; border-right-color: var(--acc); }
.sl-xm { position: absolute; right: 2%; top: 2%; min-width: 2.1em; padding: .18em .3em; border-radius: 999px; background: #fff; color: #1a0d05; font: 900 clamp(11px, 3.6cqw, 18px) var(--nf), var(--font); text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .5), 0 0 14px rgba(var(--glow), .9); animation: slpop .35s cubic-bezier(.3, 1.8, .5, 1); z-index: 3; }
.sl.classic .sl-spark { left: calc((var(--x) + .5) * var(--rw) / 3); top: 50%; }
/* the four prizes on top: three small symbols over the value */
/* (the symbols sit on the plaque's top edge, outside the measured panel; the value has the whole panel) */
.sl.classic .sl-pqs { margin-top: 4.4cqw; }
.pq .tri3 { position: absolute; left: 50%; bottom: 74%; transform: translateX(-50%); display: flex; z-index: 2; pointer-events: none; }
.pq .tri3 img { position: static; width: 5.6cqw; height: 5.6cqw; max-width: 30px; max-height: 30px; object-fit: contain; margin: 0 -.5cqw; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .75)); }
/* paytable */
.sl-pts3 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.sl-pt3 { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 9px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.sl-pt3 span { display: flex; align-items: center; gap: 1px; flex-wrap: wrap; } .sl-pt3 img { width: 23px; height: 23px; object-fit: contain; } .sl-pt3 small { flex-basis: 100%; margin-left: 0 !important; } .sl-pt3 small { font-size: 10.5px; color: rgba(255, 255, 255, .6); margin-left: 3px; } .sl-pt3 b { color: var(--acc); font-size: 13px; font-variant-numeric: tabular-nums; }
.sl-sheet p img { width: 22px; height: 22px; object-fit: contain; vertical-align: -5px; }

/* ================= slots v4: whole frames, one layout for every machine, depth, a floor =================
   The frames are drawn slim and are sized to the machine's width, so none is cut at the sides.
   The hint is its own row under the prizes; nothing covers the frame's top beam. */
.sl.v3 .sl-hint, .sl-ca.v3 .sl-hint { position: static; transform: none; flex: none; bottom: auto; height: 3.3cqh; width: 78cqw; }
.sl.v3 .sl-head, .sl.v3.sl-ir .sl-head { height: calc(100cqh - var(--rb) - var(--rh) - var(--rh) * var(--ftk) - 1.2cqh); gap: .7cqh; padding-bottom: .5cqh; }
.sl.v3 .sl-logo img { max-width: 58cqw; }
/* depth: the frame throws a shadow on the scene and on the floor; the reels sit back inside it */
.sl-frame { filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .7)) drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.sl.v2 .sl-box::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 12px 16px -8px rgba(0, 0, 0, .9), inset 0 -10px 14px -8px rgba(0, 0, 0, .75), inset 10px 0 14px -10px rgba(0, 0, 0, .8), inset -10px 0 14px -10px rgba(0, 0, 0, .8); }
.sl.v3 .sl-box::before { display: block; content: ''; position: absolute; left: -14%; right: -14%; top: auto; bottom: calc(-1 * var(--rh) * var(--fbk, .15) - 2.2cqh); height: 5cqh; inset-block-start: auto; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); filter: none; z-index: -1; }
/* the floor: each machine stands on its own ground instead of fading to black */
.sl-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 31cqh; z-index: 0; pointer-events: none; background: center 30% / cover no-repeat; filter: brightness(.62) saturate(1.05);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 30%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 30%); }
.sl-floor::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55)); }
.sl.sus .sl-floor { filter: brightness(.36) saturate(1.2); transition: filter .4s; }
/* the frame's bottom ledge stays clear of the balance, bet and win holders: the reels move up a little when the ledge is deep */
.sl.v3.fit { --rb: clamp(32.5cqh, calc(26.6cqh + var(--rh) * var(--fbk, .15)), 34cqh); }

/* ================= slots v5: the piece at the top =================
   No row of four boxes. Each machine shows its prizes (or its multiplier) on one object of its own that moves with the
   game: a comal, a steel pan, a wagon wheel, a speaker wall, a stone jaguar, buoys. The logo opens the machine, large,
   and then leaves the room to that piece. */
.sl.v3 .sl-logo { position: absolute; left: 50%; top: 34cqh; width: 88cqw; height: 26cqh; flex: none; z-index: 11; pointer-events: none; transform: translate(-50%, -50%); animation: slintro 2.2s cubic-bezier(.2, .9, .3, 1) both; }
.sl.v3 .sl-logo img { max-width: 100%; height: 100%; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .85)) drop-shadow(0 0 22px rgba(var(--glow), .6)); }
@keyframes slintro { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.35); } 16% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 26%, 74% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -120%) scale(.45); } }
.sl.v3.intro-done .sl-logo { display: none; }
.sl-lite .sl.v3 .sl-logo { animation: slintrolite .9s ease-in both; }
@keyframes slintrolite { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }
.sl.v3 .sl-head, .sl.v3.sl-ir .sl-head { top: .6cqh; height: calc(100cqh - var(--rb) - var(--rh) - var(--rh) * var(--ftk) - .8cqh); gap: .6cqh; }
.sl-pqs.slx, .sl.classic .sl-pqs.slx { position: relative; display: block; flex: 1 1 auto; min-height: 0; width: 100cqw; margin: 0; container-type: size; }
.mx-in { position: absolute; left: 50%; bottom: 0; height: min(100cqh, calc(100cqw / var(--A, 3))); aspect-ratio: var(--A, 3); transform: translateX(-50%); container-type: size; }
.mx-vq .mx-in, .mx-cc .mx-in { left: 0; right: 0; top: 0; bottom: 0; height: auto; aspect-ratio: auto; transform: none; }
.mx-clip { position: absolute; inset: 0; overflow: hidden; }
.mx-it { position: absolute; font-style: normal; }
.mx-base { display: block; max-width: none; }
.mx-tag { position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; line-height: 1; white-space: nowrap; font-family: var(--nf), var(--font); padding: .22em .5em .2em; border-radius: 999px; background: rgba(10, 6, 4, .86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 2px 5px rgba(0, 0, 0, .55); z-index: 2; }
.mx-tag small { font-size: .46em; letter-spacing: .08em; color: rgba(255, 246, 222, .85); margin-bottom: .1em; }
.mx-tag small[hidden] { display: none; }
.mx-tag b { font-weight: 400; font-variant-numeric: tabular-nums; -webkit-background-clip: text; background-clip: text; color: transparent; background-image: linear-gradient(180deg, #fffbe0, #ffd95a 50%, #d98e0a); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .9)); }
.mx-it.mini .mx-tag b { background-image: linear-gradient(180deg, #fff1e0, #f4b780 50%, #b8672a); } .mx-it.minor .mx-tag b { background-image: linear-gradient(180deg, #ffffff, #cfe3f2 50%, #7f9bb5); } .mx-it.major .mx-tag b { background-image: linear-gradient(180deg, #fff0f8, #ff9ad0 50%, #d1348a); }
.mx-it.mx-hit .mx-tag { animation: mxtag 1.5s ease-out; }
@keyframes mxtag { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 2px 5px rgba(0, 0, 0, .55); } 12%, 70% { box-shadow: inset 0 0 0 1.5px #fff, 0 0 18px 4px rgba(var(--glow), 1); transform: translateX(-50%) scale(1.25); } }
@keyframes mxpop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Pupusa Maker: four pupusas on the comal, each one a prize; they sizzle, jump when won and all flip with the cook */
@keyframes mxsiz { 0%, 100% { transform: translateY(0) rotate(-1.6deg); } 50% { transform: translateY(-3.5%) rotate(1.6deg); } }
@keyframes mxflip { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-55%) scale(1.25) rotateX(200deg); } 75% { transform: translateY(4%) scale(1.08) rotateX(360deg); } 100% { transform: translateY(0) scale(1) rotateX(360deg); } }
@keyframes mxflare { 30% { filter: brightness(1.5) saturate(1.3) drop-shadow(0 0 2cqw rgba(255, 140, 20, .9)); } }

/* Zacapa Vaquero: a wagon wheel; it turns the current multiplier up into the horseshoe */
.mx-ptr { position: absolute; left: 50%; top: .3cqw; width: 0; height: 0; margin-left: -2.6cqw; border: 2.6cqw solid transparent; border-top: 3.6cqw solid #ffd76a; border-bottom: 0; filter: drop-shadow(0 .4cqw .3cqw rgba(0, 0, 0, .8)) drop-shadow(0 0 1cqw rgba(var(--glow), .9)); z-index: 3; }
.mx-vq .mx-clip { z-index: 1; bottom: -21cqw; }
/* the wheel is mounted behind the saloon front: it runs down behind the hint and the frame instead of ending in mid air */
.sl-vq.v3 .sl-head { z-index: 2; }
.mx-wheel { position: absolute; left: 50%; top: 7.4cqw; width: 78cqw; height: 78cqw; margin-left: -39cqw; transform: rotate(calc(var(--on, 0) * -38deg)); transition: transform .7s cubic-bezier(.3, 1.45, .5, 1); }
.mx-wheel .mx-base { width: 100%; height: 100%; filter: drop-shadow(0 0 1.4cqw rgba(0, 0, 0, .7)); }
.mx-vq .mx-it { left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--i) * 38deg)) translateY(-36.4cqw); }
.mx-up { position: absolute; left: 0; top: 0; width: 14.5cqw; height: 14.5cqw; margin: -7.25cqw 0 0 -7.25cqw; border-radius: 50%; display: grid; place-items: center; font-size: calc(17cqw / var(--n, 3)); transform: rotate(calc((var(--on, 0) - var(--i)) * 38deg)); transition: transform .7s cubic-bezier(.3, 1.45, .5, 1), filter .3s;
  background: radial-gradient(circle at 35% 28%, #fff0bd, #e8ab3a 52%, #8f5a14); box-shadow: 0 0 0 .7cqw #3a2212, 0 0 0 1.2cqw #d39a35, 0 .9cqw 1.3cqw rgba(0, 0, 0, .65), inset 0 -.6cqw 1cqw rgba(90, 50, 0, .5); filter: brightness(.62) saturate(.8); }
.mx-vq .mx-tag { position: static; transform: none; padding: 0; background: none; box-shadow: none; }
.mx-vq .mx-tag b { background-image: none; color: #2b1505; filter: drop-shadow(0 1px 0 rgba(255, 240, 190, .8)); }
.mx-vq .mx-it.mx-on .mx-up { filter: none; box-shadow: 0 0 0 .7cqw #3a2212, 0 0 0 1.2cqw #ffd76a, 0 0 3.4cqw 1cqw rgba(var(--glow), .95), inset 0 -.6cqw 1cqw rgba(90, 50, 0, .5); }
.mx-vq.mx-strike .mx-ptr { animation: mxclank .6s ease-out; }
.mx-vq.mx-go .mx-ptr { animation: mxclank .45s ease-out; }
@keyframes mxclank { 30% { transform: translateY(1.2cqw) scale(1.25); filter: brightness(1.4) drop-shadow(0 0 1.8cqw rgba(var(--glow), 1)); } }
.sl.fs .mx-vq .mx-up { background: radial-gradient(circle at 35% 28%, #e6fffb, #25b8aa 52%, #0c5a55); }

/* Caye Catch: four marker buoys out on the water, a prize on each; they bob on the swell and leap when won */
.mx-cc .mx-it { left: calc(30.2cqw + var(--i) * 16.5cqw); top: .8cqw; width: 14.5cqw; aspect-ratio: 205 / 353; margin-left: -7.25cqw; transform-origin: 50% 80%; animation: mxbob 3.1s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); filter: drop-shadow(0 .6cqw .8cqw rgba(0, 0, 0, .5)); }
@keyframes mxbob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(1.3cqw) rotate(3deg); } }
.mx-cc .mx-base { width: 100%; height: 100%; }
.mx-sign { position: absolute; left: 12%; right: 12%; top: 13.7%; height: 32.7%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3%; font-size: min(3.3cqw, calc(15.5cqw / var(--n, 5))); }
.mx-sy { display: flex; line-height: 0; } .mx-sy img { width: 3.2cqw; height: 3.2cqw; object-fit: contain; margin: 0 -.15cqw; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
.mx-cc .mx-tag { position: static; transform: none; padding: 0; background: none; box-shadow: none; }
.mx-cc .mx-it.mx-hit { animation: mxleap 1.3s cubic-bezier(.3, 1.3, .5, 1); z-index: 3; }
@keyframes mxleap { 0% { transform: translateY(1cqw) scale(1); } 22% { transform: translateY(-1cqw) scale(1.3) rotate(-6deg); } 45% { transform: translateY(1.6cqw) scale(1.22) rotate(5deg); } 100% { transform: translateY(0) scale(1); } }
.mx-cc.mx-go .mx-it { animation-duration: .7s; }
.mx-sea { position: absolute; left: -20%; width: 140%; bottom: -.6cqw; height: 4.2cqw; z-index: 4; opacity: .96; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M0 14 Q15 0 30 14 T60 14 T90 14 T120 14 V40 H0Z' fill='%2317a9c4'/%3E%3Cpath d='M0 14 Q15 0 30 14 T60 14 T90 14 T120 14' fill='none' stroke='%23dffaff' stroke-width='3'/%3E%3C/svg%3E") 0 0 / 14cqw 100% repeat-x; animation: mxsea 3.4s linear infinite; }
.mx-sea.b { bottom: 1cqw; z-index: 0; opacity: .6; background-size: 19cqw 100%; animation-duration: 5.2s; animation-direction: reverse; filter: brightness(.75); }
@keyframes mxsea { to { background-position-x: 14cqw; } }
.mx-sea.b { animation-name: mxseab; } @keyframes mxseab { to { background-position-x: 19cqw; } }

/* light effects, or "reduce motion": the pieces stand still; a prize still lights up */
.sl-lite .mx-obj, .sl-lite .mx-cc .mx-it, .sl-lite .mx-sea, .sl-lite .mx-ring, .sl-lite .mx-head .e { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .mx-obj, .mx-cc .mx-it, .mx-sea, .mx-ring, .mx-head .e, .mx-mallet, .mx-ptr, .mx-head { animation: none !important; } .mx-wheel, .mx-up { transition: none; } }
/* the multipliers as drawn numbers */
.mx-tag.pic b { visibility: hidden; position: absolute; }
.mx-tag.pic img { display: block; height: auto; max-width: none; }
.mx-vq .mx-tag.pic img { width: 11.4cqw; filter: drop-shadow(0 .3cqw 0 rgba(255, 240, 190, .55)); }

/* ================= slots v6: each machine's own message board, and room around the spin button =================
   The hint is a sign that belongs to the machine (a painted plank, a ribbon, a saloon board, a radio display, a stone
   lintel, driftwood). Its two ends keep their shape and the middle stretches, so any width works. */
.sl.v3 .sl-hint, .sl-ca.v3 .sl-hint { --hh: max(7.8cqw, 27px); --kl: .8; --kr: .8; --sl: 16%; --sr: 16%; --cy: 0;
  height: var(--hh); min-height: 0; width: 90cqw; max-width: none; box-sizing: border-box; border-radius: 0; background: none; box-shadow: none; overflow: visible;
  border-style: solid; border-color: transparent; border-width: 0 calc(var(--hh) * var(--kr)) 0 calc(var(--hh) * var(--kl));
  border-image: var(--hb) 0 var(--sr) 0 var(--sl) fill / 0 calc(var(--hh) * var(--kr)) 0 calc(var(--hh) * var(--kl)) stretch;
  filter: drop-shadow(0 .8cqw .8cqw rgba(0, 0, 0, .6)); font-size: clamp(9px, 2.9cqw, 14px); }
.sl.v3 .sl-hint > * { position: relative; top: calc(var(--hh) * var(--cy)); }
.sl-vq .sl-hint { --sl: 12%; --sr: 12.5%; --kl: .362; --kr: .378; --cy: -.02; }
.sl-jt .sl-hint { --sl: 18.5%; --sr: 17.5%; --kl: .916; --kr: .866; --cy: -.017; }
.sl-cc .sl-hint { --sl: 16.5%; --sr: 17.5%; --kl: .538; --kr: .57; --cy: -.053; }
/* each board has its own way of showing a new line */
.sl-vq .sl-hint { transform-origin: 50% -40%; } .sl-vq .sl-hint:has([data-hint].in) { animation: hbswing .9s ease-out; } .sl-vq .sl-hint [data-hint] { color: #ffd98a; }
.sl-jt .sl-hint [data-hint] { color: #ffe08a; } .sl-jt .sl-hint [data-hint].in { animation: hbglow .8s ease-out; }
.sl-cc .sl-hint [data-hint] { color: #fff3c4; } .sl-cc .sl-hint:has([data-hint].in) { animation: hbbob .8s ease-out; }
@keyframes hbpop { from { opacity: 0; transform: scale(.6); } }
@keyframes hbshine { 0% { opacity: 0; letter-spacing: .3em; filter: brightness(3); } 100% { opacity: 1; filter: none; } }
@keyframes hbswing { 0% { transform: rotate(0); } 25% { transform: rotate(2.2deg); } 55% { transform: rotate(-1.4deg); } 80% { transform: rotate(.6deg); } 100% { transform: rotate(0); } }
@keyframes hbled { 0% { opacity: 0; clip-path: inset(0 100% 0 0); } 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hbglow { 0% { opacity: 0; text-shadow: 0 0 18px #fff, 0 0 30px rgba(var(--glow), 1); } 100% { opacity: 1; } }
@keyframes hbbob { 0% { transform: translateY(0) rotate(0); } 30% { transform: translateY(.7cqw) rotate(-1deg); } 65% { transform: translateY(-.3cqw) rotate(.6deg); } 100% { transform: none; } }
.sl-lite .sl-hint, .sl-lite .sl-hint [data-hint] { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sl-hint, .sl-hint [data-hint] { animation: none !important; } }
/* balance, bet and win: a little lower in height and clear of the spin button, which is a little smaller */
.sl.v3 .sl-hud { bottom: 19.8cqh; height: 6.1cqh; left: 3%; right: 3%; gap: 1.4cqw; }
.sl.v3 .sl-ctl { bottom: .5cqh; height: 17cqh; }
.sl.v3 .sl-spin { width: 21.5cqw; height: 21.5cqw; max-width: 104px; max-height: 104px; }
/* Irie: the three holders sit a little lower, clear of the speaker cabinet */
.sl-ir.v3 .sl-hud { bottom: 18.1cqh; }
/* Vaquero: only the current multiplier and the next one show on the wheel */
.mx-vq .mx-it.mx-far .mx-up { opacity: 0; } .mx-vq .mx-up { transition: transform .7s cubic-bezier(.3, 1.45, .5, 1), filter .3s, opacity .35s; }
/* a frame that carries its own sign: the hint is lettered straight onto it */
.sl.v3.signed .sl-hint { position: absolute; z-index: 6; margin: 0; min-height: 0; max-width: none; border: 0; border-image: none; background: none; box-shadow: none; filter: none; transform: none; animation: none !important; overflow: hidden; container-type: size; padding: 0 2%; box-sizing: border-box; font-size: clamp(8px, 2.7cqw, 13px); }
.sl.v3.signed .sl-hint > * { top: 0; } .sl.v3.signed .sl-hint [data-hint] { font-size: min(58cqh, calc(150cqw / var(--hn, 30))); letter-spacing: .02em; overflow: visible; text-overflow: clip; }
.sl.v3.signed .sl-hint .sl-lad { font-size: min(50cqh, 3.6cqw); }
/* ================= slots v7: Carnival, Irie and Jaguar Temple each get ONE drawn object on top, and the message on the frame's own sign =================
   These three sit a little behind the frame, so the object's foot tucks in behind the sign. */
.sl-ca.v3 .sl-head, .sl-ir.v3 .sl-head, .sl-jt.v3 .sl-head { z-index: 2; }

/* Carnival Party: a steel pan in its stand with a fan of feathers; the mallet strikes the note of the current multiplier */
.mx-ring { position: absolute; inset: -6%; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(255, 79, 174, .95), rgba(162, 75, 255, .75) 70%, rgba(162, 75, 255, 0) 100%); box-shadow: 0 0 0 .5cqw #ffd23f, 0 0 2.4cqw .8cqw rgba(255, 79, 174, .9); transition: opacity .2s; }
.mx-it.mx-on .mx-ring { opacity: 1; animation: mxring 1.1s ease-in-out infinite; }
@keyframes mxring { 50% { box-shadow: 0 0 0 .5cqw #ffd23f, 0 0 4cqw 1.6cqw rgba(255, 79, 174, 1); } }
.mx-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: .5cqw solid #fff; opacity: 0; }
@keyframes mxripple { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.1); } }
.mx-mallet { position: absolute; width: 8.5%; left: calc(37.6% + var(--on, 0) * 10.9%); top: 27%; transform-origin: 92% 8%; transform: rotate(-16deg); transition: left .22s cubic-bezier(.3, 1.3, .5, 1); z-index: 3; filter: drop-shadow(0 .8cqw .6cqw rgba(0, 0, 0, .55)); }
@keyframes mxstrike { 0% { transform: rotate(-34deg); } 38% { transform: rotate(14deg) translateY(10%); } 100% { transform: rotate(-16deg); } }
@keyframes mxtwirl { 40% { transform: rotate(-28deg) translateY(-6%); } }
@keyframes mxsway { 0%, 100% { transform: rotate(-.6deg); } 50% { transform: rotate(.6deg); } }

/* Irie Summer: one sound system wall; four speakers that grow with the prize and pump on the beat */
@keyframes mxpump { 0% { scale: 1.07; } 30% { scale: 1; } 50% { scale: 1.035; } 80%, 100% { scale: 1; } }
@keyframes mxthump { 50% { transform: translateY(-2.5%) rotate(-.6deg); } }
@keyframes mxblast { 0% { scale: 1.26; } 100% { scale: 1; } }

/* Jaguar Temple: one carved temple crest; the four prizes are cut into its walls, and the jaguar watches */
.mx-jt .mx-in { --W: 93cqw; --A: 2.594; bottom: -6.4cqw; }
.mx-jt .mx-it { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%; font-size: min(3.3cqw, calc(16.5cqw / var(--n, 5))); }
.mx-jt .i0 { left: 20.3%; top: 29.6%; width: 11.1%; height: 16.8%; } .mx-jt .i1 { left: 20.3%; top: 58.4%; width: 11.1%; height: 19.4%; } .mx-jt .i2 { left: 69%; top: 29.6%; width: 11%; height: 16.6%; } .mx-jt .i3 { left: 69%; top: 58.2%; width: 11%; height: 19.6%; }
.mx-jt .mx-sy { display: flex; line-height: 0; } .mx-jt .mx-sy img { width: 2.9cqw; height: 2.9cqw; object-fit: contain; margin: 0 -.1cqw; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8)); }
.mx-jt .mx-tag { position: static; transform: none; padding: 0; background: none; box-shadow: none; }
.mx-jt .e { position: absolute; top: 31.7%; width: 6.6%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, #fff7c8 0, #ffb52e 30%, rgba(255, 110, 0, .55) 55%, rgba(255, 110, 0, 0) 72%); animation: mxeye 3.2s ease-in-out infinite; }
.mx-jt .e.l { left: 41.9%; } .mx-jt .e.r { left: 58.1%; }
@keyframes mxeye { 0%, 100% { opacity: .55; scale: .85; } 50% { opacity: 1; scale: 1.05; } }
.sl.sus .mx-jt .e, .sl.sus-last .mx-jt .e { background: radial-gradient(circle, #ffffff 0, #5dffb0 30%, rgba(20, 220, 130, .7) 55%, rgba(20, 220, 130, 0) 75%); animation-duration: .42s; width: 9.5%; }
.mx-jt.mx-go .e { animation: mxblink .5s ease-out; }
@keyframes mxblink { 0% { scale: 1.6; opacity: 1; } 100% { scale: 1; } }
.mx-jt.mx-won .mx-base { animation: mxroar 1.1s cubic-bezier(.3, 1.4, .5, 1); transform-origin: 50% 100%; } .mx-jt.mx-won .e { background: radial-gradient(circle, #fff 0, #fff3a0 40%, rgba(255, 200, 0, 0) 78%); width: 11%; animation: none; }
@keyframes mxroar { 0% { transform: scale(1); } 18% { transform: scale(1.06) rotate(-1deg); } 34% { transform: scale(1.06) rotate(1deg); } 50% { transform: scale(1.04) rotate(-.6deg); } 100% { transform: scale(1); } }
.mx-jt .mx-it.mx-hit { animation: mxpanel 1.4s ease-out; border-radius: .6cqw; }
@keyframes mxpanel { 0%, 100% { box-shadow: none; } 15%, 70% { box-shadow: 0 0 0 .5cqw #ffe08a, 0 0 4cqw 1.2cqw rgba(var(--glow), 1), inset 0 0 2cqw rgba(var(--glow), .7); } }
.sl-lite .mx-ca .mx-base, .sl-lite .mx-jt .e { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .mx-ca .mx-base, .mx-jt .e, .mx-jt .mx-base, .mx-ir .mx-base { animation: none !important; } }

/* ================= Scratch cards: six themed cards, one per country =================
   The card fills the same tall space as a slot machine. Each spot has a cover (a flyer, a clam, a door, a lily pad, a
   gold pan, a crate) and each card has its own way of taking the cover off. */
.sc { position: absolute; inset: 0; overflow: hidden; color: #fff; --frame: #23232c; --frame2: #4a4a58; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.sc-bg { position: absolute; inset: -5%; background: var(--bg) center / cover no-repeat; filter: blur(2px) brightness(.62) saturate(1.15); animation: slbg 26s ease-in-out infinite alternate; }
.sc-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 45%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55)), linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 68%, rgba(0, 0, 0, .7)); }
.sc-btn { position: absolute; top: 8px; z-index: 12; height: 32px; min-width: 32px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; background: rgba(12, 10, 14, .82); color: #fff; font: 800 12.5px var(--font); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28), 0 3px 8px rgba(0, 0, 0, .45); cursor: pointer; }
.sc-back { left: 8px; padding: 0 12px 0 7px; } .sc-menu { right: 8px; width: 32px; padding: 0; } .sc-btn svg { width: 16px; height: 16px; flex: none; }
.sc-logo { position: absolute; left: 50%; top: .8cqh; height: 12.4cqh; max-width: 70cqw; object-fit: contain; transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .7)) drop-shadow(0 0 16px rgba(var(--glow), .45)); animation: sclogo 3.4s ease-in-out infinite; }
@keyframes sclogo { 0%, 100% { transform: translateX(-50%) rotate(-1.2deg) scale(1); } 50% { transform: translateX(-50%) rotate(1.2deg) scale(1.035); } }
/* the kit: every holder, plaque, button and spot is a drawn picture with its text set inside the picture's dark panel */
.sc-top, .sc-hd, .sc-wn, .sc-spot, .sc-buy i { background: center / 100% 100% no-repeat; }
.sc-top > span, .sc-hd > span, .sc-wn > span { position: absolute; display: flex; align-items: center; justify-content: center; min-width: 0; }
.sc-top { position: absolute; left: 50%; top: 12.4cqh; width: min(76cqw, calc(9.3cqh * var(--top-ar, 4.6))); aspect-ratio: var(--top-ar, 4.6); transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); animation: sctop 2.6s ease-in-out infinite; container-type: size; }
.sc-top > span { gap: 3cqw; white-space: nowrap; align-items: center; --f: min(40cqh, calc(88cqw / (var(--n, 6) * .56 + 5.4))); } /* sized by the length of the amount, so it stays inside the plaque */
.sc-top small { font: 900 calc(var(--f) * .4) var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .9; }
.sc-top b { font: 400 var(--f) 'sl-lilita', var(--font); letter-spacing: .02em; line-height: 1; background: linear-gradient(180deg, #fff6c2 8%, #ffd23f 48%, #f29a0b 92%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .06em 0 #5a2c00) drop-shadow(0 0 .25em rgba(255, 190, 60, .45)); }
@keyframes sctop { 50% { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)) brightness(1.14); } }
.sc-board { position: absolute; left: 50%; top: 20.6cqh; width: min(88cqw, 50.5cqh); aspect-ratio: 1; transform: translateX(-50%); z-index: 2; touch-action: none; }
.sc-frame { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .7)); pointer-events: none; }
.sc-grid { position: absolute; left: var(--bl); top: var(--bt); width: var(--bw); height: var(--bh); display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 2.5%; padding: 2.5%; box-sizing: border-box; container-type: size; }
.sc.k-nums .sc-grid, .sc.k-multi .sc-grid { display: flex; flex-direction: column; gap: 2.5%; }
.sc.k-match .sc-your { display: contents; }
.sc-wn { position: relative; flex: 0 0 34%; } .sc-wn.lucky { flex-basis: 23%; }
.sc-wn > span { flex-direction: row; gap: 3%; } .sc-wn.lucky > span { flex-direction: row; gap: 2.5cqw; }
.sc-wn small { font: 900 2.7cqw var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); flex: none; line-height: 1.15; } .sc.k-nums .sc-wn small { width: 25%; font-size: 2.4cqw; white-space: normal; text-align: center; }
.sc-wn.lucky > span { container-type: size; gap: 0; justify-content: space-evenly; } .sc-wn.lucky u { text-decoration: none; display: flex; align-items: center; gap: 1.6cqw; height: 100%; } .sc-wn.lucky s { width: 2px; height: 56cqh; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.sc-wn.lucky img { height: 88cqh; max-width: 11cqw; flex: none; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
.sc-wn.lucky em { font-style: normal; display: flex; flex-direction: column; gap: 7cqh; line-height: 1; text-align: left; } .sc-wn.lucky small { font: 900 min(21cqh, 4.3cqw) var(--font); letter-spacing: .12em; } .sc-wn.lucky b { font: 400 min(54cqh, 6.4cqw) 'sl-lilita', var(--font); color: #fff; white-space: nowrap; letter-spacing: .02em; }
.sc-wn > span > div { flex: none; height: 90%; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 2.5cqw; } .sc-spot.wn { height: 100%; aspect-ratio: 1; flex: none; } .sc-spot.wn .sc-cov { left: 0; top: 0; width: 100%; height: 100%; }
.sc-your { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3%; } .sc.k-multi .sc-your { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 2.5%; }
.sc-spot { container-type: size; position: relative; min-width: 0; min-height: 0; border: 0; padding: 0; margin: 0; background-color: transparent; perspective: 500px; cursor: pointer; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.sc-spot.wn { background: none; }
.sc-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2%; opacity: 0; transform: scale(.5); pointer-events: none; }
.sc-in > img { width: 78%; height: 60%; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .6)); } .sc.k-multi .sc-in { flex-direction: row; gap: 3%; } .sc.k-multi .sc-in > img { width: 46%; height: 96%; }
.sc-spot.dud .sc-in > img { filter: grayscale(.55) brightness(.8) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); } .sc-spot.dud .sc-in small { opacity: .55; filter: grayscale(1); }
.sc-in small { font: 400 min(26cqh, calc(62cqw / (var(--n, 5) * .56))) 'sl-lilita', var(--font); line-height: 1; white-space: nowrap; background: linear-gradient(180deg, #fffbe0, #ffd95a 55%, #e09a14); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .95)); } /* --n: how many characters, so any amount fits its spot */
.sc.k-nums .sc-in small { font-size: min(24cqh, calc(60cqw / (var(--n, 5) * .56))); } .sc.k-multi .sc-in small { font-size: min(46cqh, calc(34cqw / (var(--n, 5) * .56))); } .sc-in small.x { background-image: linear-gradient(180deg, #fff, #9fe8ff 55%, #2aa6d8); }
.sc-num { height: 52%; display: flex; align-items: center; justify-content: center; gap: 2%; max-width: 92%; } .sc-num img { height: 100%; min-width: 0; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.sc-spot.wn .sc-num { height: 92%; max-width: 100%; } .sc-pa .sc-num { height: 58%; gap: 0; padding: 0 6%; background: url(/img/scratch/pa-tok.webp) center / contain no-repeat; aspect-ratio: 1; box-sizing: border-box; } .sc-pa .sc-num img { height: 52%; margin: 0 -4%; } .sc-pa .sc-spot.wn .sc-num { height: 100%; } .sc-pa .sc-wn > span > div { height: 100%; gap: 1cqw; } 
/* scratch cards: what is on the card is there from the start, under the foil */
.sc-foil { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); } .sc-foil.in { animation: scfoil .45s ease-out; } @keyframes scfoil { 0% { opacity: 0; transform: scale(1.06); } }
.sc.m-scratch.playing .sc-in { opacity: 1; transform: none; } .sc.m-scratch .sc-board { cursor: grab; } .sc.m-scratch:not(.playing) .sc-foil { animation: scfoilidle 2.8s ease-in-out infinite; } @keyframes scfoilidle { 50% { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)) brightness(1.18); } }
.sc-spot.done .sc-in { opacity: 1; transform: none; transition: opacity .2s .12s, transform .34s cubic-bezier(.3, 1.7, .5, 1) .12s; }
.sc-cov { position: absolute; left: -5%; top: -5%; width: 110%; height: 110%; object-fit: contain; z-index: 2; pointer-events: none; transform-origin: 50% 50%; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55)); animation: scidle 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
@keyframes scidle { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-3%) rotate(1.5deg); } }
.sc.playing .sc-spot:not(.done) .sc-cov { animation: scask 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -.13s); }
@keyframes scask { 0%, 100% { transform: scale(1) rotate(-2deg); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55)); } 50% { transform: scale(1.06) rotate(2deg); filter: drop-shadow(0 0 8px rgba(var(--glow), .9)); } }
.sc-spot.deal { animation: scdeal .55s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes scdeal { from { transform: translateY(-140%) rotate(-14deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
/* six ways of taking a cover off */
.sc-spot.done .sc-cov { animation: none; }
.a-tear .sc-spot.done .sc-cov { animation: sctear .55s cubic-bezier(.5, 0, .8, .4) forwards; transform-origin: 20% 0; }
@keyframes sctear { 0% { transform: rotate(0); } 25% { transform: rotate(-14deg) translateY(4%); } 100% { transform: rotate(38deg) translate(30%, 170%); opacity: 0; } }
.a-open .sc-spot.done .sc-cov { animation: scopen .5s cubic-bezier(.3, 1.3, .5, 1) forwards; transform-origin: 50% 8%; }
@keyframes scopen { 0% { transform: rotateX(0); } 60% { transform: rotateX(-118deg) translateY(-12%); opacity: 1; } 100% { transform: rotateX(-118deg) translateY(-30%); opacity: 0; } }
.a-door .sc-spot.done .sc-cov { animation: scdoor .55s cubic-bezier(.4, 0, .3, 1) forwards; transform-origin: 4% 50%; }
@keyframes scdoor { 0% { transform: rotateY(0); } 70% { transform: rotateY(-104deg); opacity: 1; } 100% { transform: rotateY(-112deg); opacity: 0; } }
.a-lily .sc-spot.done .sc-cov { animation: sclily .6s cubic-bezier(.3, 1.2, .5, 1) forwards; }
@keyframes sclily { 0% { transform: rotateX(0) scale(1); } 45% { transform: rotateX(180deg) scale(1.12) translateY(-18%); opacity: 1; } 100% { transform: rotateX(360deg) scale(.3) translateY(60%); opacity: 0; } }
.a-pan .sc-spot.done .sc-cov { animation: scpan .7s cubic-bezier(.3, 0, .2, 1) forwards; }
@keyframes scpan { 0% { transform: rotate(0) translate(0, 0); } 25% { transform: rotate(120deg) translate(6%, -4%); } 50% { transform: rotate(260deg) translate(-6%, 4%); } 75% { transform: rotate(400deg) scale(.9); opacity: 1; } 100% { transform: rotate(560deg) scale(.1); opacity: 0; } }
.a-crate .sc-spot.done .sc-cov { animation: sccrate .5s cubic-bezier(.3, 1.5, .5, 1) forwards; }
@keyframes sccrate { 0% { transform: none; } 35% { transform: translateY(-34%) rotate(-10deg) scale(1.12); opacity: 1; } 100% { transform: translateY(-90%) rotate(-28deg) scale(.7); opacity: 0; } }


.sc-spot.hit { animation: schit .7s cubic-bezier(.3, 1.6, .5, 1); z-index: 3; filter: drop-shadow(0 0 2.2cqw rgba(255, 226, 122, .95)) brightness(1.18); }
.sc-spot.hit .sc-in img, .sc-spot.hit .sc-tok { animation: schop .9s ease-in-out infinite; }
@keyframes schit { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes schop { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-9%) scale(1.08); } }
.sc-spot.dud .sc-in { opacity: .8; }
.sc-say { position: absolute; left: 4%; right: 4%; top: calc(20.6cqh + min(88cqw, 50.5cqh) + .5cqh); height: 3.2cqh; z-index: 3; display: flex; align-items: center; justify-content: center; text-align: center; font: 800 clamp(9px, 2.9cqw, 13px) var(--font); color: rgba(255, 255, 255, .88); text-shadow: 0 1px 2px rgba(0, 0, 0, .9); line-height: 1.15; overflow: hidden; }
.sc-say.win { color: #ffe27a; font-size: clamp(11px, 3.6cqw, 16px); animation: slpop .4s cubic-bezier(.3, 1.8, .5, 1); }
.sc-hud { position: absolute; left: 3%; right: 3%; bottom: 17.6cqh; height: 6.4cqh; z-index: 5; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.6cqw; }
.sc-hd { position: relative; min-width: 0; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .55)); container-type: size; } .sc-hd > span { flex-direction: column; line-height: 1; gap: 5%; container-type: size; }
.sc-hd small { font: 800 clamp(6px, 23cqh, 10px) var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .66); white-space: nowrap; }
.sc-hd b { font: 400 min(62cqh, calc(92cqw / (var(--n, 6) * .54))) 'sl-lilita', var(--font); letter-spacing: .02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; background: linear-gradient(180deg, #fff6c2 8%, #ffd23f 50%, #f29a0b 94%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .06em 0 #4a2400); } .sc-hd:not(.w) b { background-image: linear-gradient(180deg, #ffffff 10%, #f3efe2 55%, #cfc7ae 96%); } /* sized by its length so any amount stays inside the holder; win is gold, the other two are white */
.sc-hd.flash { animation: slwflash2 .7s ease-out; }
.sc-ctl { position: absolute; left: 0; right: 0; bottom: 1.2cqh; height: 15.4cqh; z-index: 6; display: flex; align-items: flex-start; justify-content: center; gap: 7cqw; } .sc-ctl .sl-b { margin-top: 1.2cqh; }
.sc-buy { position: relative; width: 12.6cqh; height: 12.6cqh; max-width: 27cqw; max-height: 27cqw; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; transition: transform .12s; animation: scbuy 1.8s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.sc-buy i { position: absolute; inset: -4%; filter: drop-shadow(0 .8cqh .6cqh rgba(0, 0, 0, .6)); } .sc-buy img { position: absolute; left: 27%; top: 27%; width: 46%; height: 46%; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .45)); pointer-events: none; } .sc-buy .g-eye, .sc.playing .sc-buy .g-buy { display: none; } .sc.playing .sc-buy .g-eye { display: block; }
.sc-buy b { position: absolute; left: 50%; top: 101%; transform: translateX(-50%); font: 900 clamp(9px, 2cqh, 14px) var(--font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
@keyframes scbuy { 50% { transform: scale(1.045); filter: brightness(1.12) drop-shadow(0 0 2.4cqw rgba(255, 220, 110, .8)); } }
.sc-ctl .sl-b { width: 11cqh; height: 11cqh; max-width: 17cqw; max-height: 17cqw; border: 0; border-radius: 50%; background: center / 100% 100% no-repeat; background-image: var(--rnd); box-shadow: none; color: #2a1500; filter: drop-shadow(0 .6cqh .5cqh rgba(0, 0, 0, .6)); } .sc-ctl .sl-b svg { width: 46%; height: 46%; } .sc-ctl .sl-b:disabled { filter: saturate(.2) brightness(.75); opacity: .8; }
.sc-buy:active { transform: scale(.93); }
.sl-chip-cover.sc-cv img.lg { inset: 14% 5%; width: 90%; height: 72%; object-position: center; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .7)); }
.sc.busy .sc-buy { filter: brightness(.8); animation: none; } .sc.busy .sc-buy i { animation: slrot .9s linear infinite; }
.sc.won .sc-board { animation: scwon .5s ease-in-out 3; } @keyframes scwon { 50% { transform: translateX(-50%) scale(1.025) rotate(.6deg); filter: brightness(1.15); } }
.sc-win { position: absolute; inset: 0; z-index: 15; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqh; background: radial-gradient(closest-side, rgba(0, 0, 0, .82), rgba(0, 0, 0, .7)); animation: slfade .2s; cursor: pointer; overflow: hidden; }
.sc-win[hidden] { display: none; } .sc-win .sl-rays { position: absolute; left: 50%; top: 42%; width: 150cqw; height: 150cqw; transform: translate(-50%, -50%); }
.sc-win .h { position: relative; max-width: 80cqw; max-height: 22cqh; object-fit: contain; animation: slpop .5s cubic-bezier(.3, 1.8, .5, 1) both; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .7)); }
.sc-win .t { position: relative; width: 78cqw; aspect-ratio: var(--top-ar, 4.6); background: center / 100% 100% no-repeat; animation: slpop .5s cubic-bezier(.3, 1.8, .5, 1) both .15s; container-type: size; } .sc-win .t em { position: absolute; display: flex; align-items: center; justify-content: center; font: 900 30cqh var(--font); font-style: normal; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: linear-gradient(180deg, #fffbe0, #ffd95a 50%, #d98e0a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-win b { position: relative; font: 900 clamp(26px, 11cqw, 56px) var(--font); background: linear-gradient(180deg, #fffbe0, #ffd95a 50%, #d98e0a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .9)); animation: slpop .5s cubic-bezier(.3, 1.8, .5, 1) both .3s; }
.sc-win small { position: relative; font: 700 12px var(--font); color: rgba(255, 255, 255, .7); }
.sc-sheet { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; background: rgba(0, 0, 0, .6); animation: slfade .2s; } .sc-sheet[hidden] { display: none; }
.sc-sh { width: 100%; max-height: 82%; overflow: auto; box-sizing: border-box; padding: 16px 16px 20px; border-radius: 22px 22px 0 0; background: #15131b; box-shadow: 0 -8px 30px rgba(0, 0, 0, .6); font: 500 13px/1.45 var(--font); color: rgba(255, 255, 255, .86); }
.sc-sh-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; } .sc-sh-h b { font: 900 17px var(--font); color: #fff; } .sc-sh-h button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; cursor: pointer; }
.sc-sh p { margin: 6px 0; } .sc-sh .tiny { font-size: 11px; color: rgba(255, 255, 255, .55); }
.sc-pt { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0; } .sc-pt span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.sc-pt i { font-style: normal; display: flex; align-items: center; gap: 5px; font-size: 12px; } .sc-pt img { width: 26px; height: 26px; object-fit: contain; } .sc-pt b { color: #ffd95a; font-variant-numeric: tabular-nums; }
.sc-sh-r { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; } .sc-sh-r button { padding: 12px 6px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font: 700 12.5px var(--font); cursor: pointer; }
.sl-lite .sc-cov, .sl-lite .sc-logo, .sl-lite .sc-foil, .sl-lite .sc-buy, .sl-lite .sc-top, .sl-lite .sc-bg { animation: none !important; }
.sl-lite .sc-spot.done .sc-cov { opacity: 0; transition: opacity .15s; }
@media (prefers-reduced-motion: reduce) { .sc-cov, .sc-logo, .sc-buy, .sc-top, .sc-bg, .sc-spot.hit .sc-in img { animation: none !important; } .sc-spot.done .sc-cov { opacity: 0; } }
/* Calle Colonial: the house numbers are flat painted tiles, so the number reads at a glance */

/* slots and scratch cards fill their own dark stage: no white card showing at the sides on wide screens */
#oggame.sl-mode .og-game.bb { background: none; box-shadow: none; overflow: visible; }
#oggame.sl-mode .og-game.bb > .og-stage { border-radius: 26px; box-shadow: 0 22px 44px -26px rgba(4, 40, 26, .55); }

/* ---- one top line for every Originals game: the same plaque, the same place, the same sizes ---- */
.og-stage .og-hud, .og-stage.tall .og-hud, .og-stage.g-keno .og-hud, .og-stage .og-hud.vp-hud, .og-stage .pl-hud, .og-stage .cr-hud {
  top: 10px; left: 50%; right: auto; bottom: auto; transform: translateX(-50%); width: max-content; max-width: calc(100% - 116px); padding: 6px 16px 7px; border-radius: 18px; text-align: center;
  background: rgba(6, 14, 11, .66); box-shadow: 0 4px 12px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .08); z-index: 4; }
.og-stage .og-hud .m, .og-stage.tall .og-hud .m, .og-stage .pl-hud .m, .og-stage .cr-hud .m, .og-stage .vp-hud .m, .og-stage .rl-hud .m { display: block; position: static; font-size: 26px; line-height: 1; letter-spacing: -.03em; white-space: nowrap; text-shadow: none; }
.og-stage .og-hud .s, .og-stage.tall .og-hud .s, .og-stage .pl-hud .s, .og-stage .vp-hud .s { position: static; max-width: none; margin-top: 3px; font-size: 11.5px; line-height: 1.25; text-align: center; color: rgba(255, 255, 255, .82); text-shadow: none; }
.og-stage .og-hud .m:empty { display: none; } .og-stage .og-hud .s:empty { display: none; }
/* crash: the same plaque at rest; while the rocket is up the number grows, because it is the game */
.og-stage .cr-hud { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); transform-origin: 50% 0; } .og-stage .cr-hud.live { transform: translateX(-50%) scale(1.7); }
@media (prefers-reduced-motion: reduce) { .og-stage .cr-hud { transition: none; } }

/* ---- B1N0 roulette: mint and yellow instead of red and black, the zero in black ---- */
.rl-hist span.r, .rl-n.r, .rl-c.r, .rl-c.o.r, .rl-hub.r { background: #19d98b; color: #06281a; }
.rl-hist span.k, .rl-n.k, .rl-c.k, .rl-c.o.k, .rl-hub.k { background: #ffd23f; color: #3f2e00; }
.rl-hist span.g, .rl-n.g, .rl-c.g, .rl-hub.g { background: #0f1412; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.rl-hist span:first-child { outline-color: #fff; }
.rl-pk i { box-shadow: 0 0 0 2px #fff, 0 0 16px 4px rgba(255, 255, 255, .85); }

/* ---- Tower: a temple you climb. The view follows the jaguar up a wall of stone doors to the gold room ---- */
.og-stage.tw2 { background: #06211a; }
.tw-view { position: absolute; inset: 0; overflow: hidden; z-index: 1; container-type: size; }
.tw-cam { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.3, .8, .3, 1); will-change: transform; }
.tw-top, .tw-ground { display: block; width: 100%; height: auto; }
.tw-ground { height: 38cqw; object-fit: cover; object-position: 50% 100%; }
.tw-rows { background: #0b3a30 url(/img/og/g6-tw-wall.webp) top center / 100% auto repeat-y; padding: 2cqw 0 0; box-shadow: inset 0 3cqw 4cqw -2cqw rgba(0, 0, 0, .6); }
.tw2 .tw-row { --dw: min(21cqw, calc(80cqw / var(--n))); position: relative; display: block; padding-top: 3cqw; }
.tw-doors { display: flex; justify-content: center; align-items: flex-end; gap: calc((84cqw - var(--n) * var(--dw)) / (var(--n) + 1) + 1cqw); }
.tw2 .tw-d { position: relative; flex: none; width: var(--dw); height: auto !important; aspect-ratio: 315 / 420; padding: 0; border: 0; cursor: pointer; background: url(/img/og/g6-tw-frame.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 .8cqw 1cqw rgba(0, 0, 0, .55)) brightness(.7) saturate(.85); transition: filter .25s; animation: none; transform: none; -webkit-tap-highlight-color: transparent; }
.tw2 .tw-d:disabled { cursor: default; }
.tw-d .op { position: absolute; left: 30.4%; top: 30.6%; width: 39.2%; height: 58.2%; overflow: hidden; border-radius: 3%; }
.tw-d .sl { position: absolute; inset: -1%; background: url(/img/og/g6-tw-slab.webp) center / 100% 100% no-repeat; transition: transform .32s cubic-bezier(.5, 0, .3, 1); }
.tw-d .rb { position: absolute; left: -12%; right: -12%; bottom: -4%; height: 62%; background: url(/img/og/g6-tw-rubble.webp) center bottom / contain no-repeat; opacity: 0; }
.tw2 .tw-row.now .tw-d { filter: drop-shadow(0 0 2.2cqw rgba(255, 223, 80, .7)) brightness(1.06); }
.tw2 .tw-row.now .tw-d .sl { animation: twcall 1.6s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.4s); }
@keyframes twcall { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }
.tw2 .tw-row.now .tw-d:active .sl { transform: translateY(3%) scale(.97); }
.tw2 .tw-d.wait .sl { animation: twshake .28s linear infinite; }
@keyframes twshake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3%); } 75% { transform: translateX(3%); } }
.tw2 .tw-d.open { filter: drop-shadow(0 0 2cqw rgba(255, 205, 46, .8)) brightness(1.08); }
.tw2 .tw-d.open .sl { transform: translateY(-104%); animation: none; }
.tw2 .tw-row.done .tw-d:not(.open):not(.trap) { filter: drop-shadow(0 .8cqw 1cqw rgba(0, 0, 0, .55)) brightness(.6) saturate(.7); }
.tw2 .tw-d.trap { filter: drop-shadow(0 .8cqw 1cqw rgba(0, 0, 0, .55)) brightness(.85); }
.tw2 .tw-d.trap .op { background: linear-gradient(180deg, #05110d, #0c241c); }
.tw2 .tw-d.trap .sl { opacity: 0; animation: none; } .tw2 .tw-d.trap .rb { opacity: 1; }
.tw2 .tw-d.trap.hit { filter: drop-shadow(0 0 2.4cqw rgba(255, 90, 70, .85)) brightness(1.05); }
.tw2 .tw-d.trap.hit .sl { opacity: 1; animation: twcrumble .5s cubic-bezier(.5, 0, .9, .6) forwards; }
@keyframes twcrumble { 0% { transform: none; opacity: 1; } 30% { transform: rotate(-5deg) translateY(4%); opacity: 1; } 100% { transform: rotate(14deg) translateY(110%); opacity: 0; } }
.tw2 .tw-d.trap.hit .rb { animation: twrubble .45s .2s cubic-bezier(.3, 1.5, .5, 1) backwards; }
.tw2 .tw-d.trap.flip .rb { animation: twrubble .4s cubic-bezier(.3, 1.5, .5, 1) backwards; animation-delay: calc(var(--k2, 0) * 35ms); }
@keyframes twrubble { from { transform: translateY(60%) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
/* the ledge under each row of doors, with what that floor pays carved on its front */
.tw-ledge { position: relative; height: 8.4cqw; margin: -1.2cqw 3cqw 0; border: 0 solid transparent; border-width: 0 6cqw; border-image: url(/img/og/g6-tw-ledge.webp) 0 90 fill / 0 6cqw stretch; display: grid; place-items: center; filter: drop-shadow(0 1.2cqw 1.2cqw rgba(0, 0, 0, .5)); z-index: 1; }
.tw-ledge b { margin-top: .6cqw; padding: .7cqw 2.6cqw .8cqw; border-radius: 99px; background: rgba(4, 20, 15, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font: 900 3.5cqw/1 var(--font); letter-spacing: -.02em; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.tw-row.now .tw-ledge b { color: #ffdf50; box-shadow: inset 0 0 0 1px rgba(255, 223, 80, .5), 0 0 2cqw rgba(255, 223, 80, .35); }
.tw-row.done .tw-ledge b { color: #5df0b4; }
.tw2 .tw-cat { z-index: 3; } .tw2 .tw-cat img { filter: drop-shadow(0 1.2cqw 1cqw rgba(0, 0, 0, .55)); }
@media (prefers-reduced-motion: reduce) { .tw-cam, .tw-d .sl { transition: none; } .tw2 .tw-row.now .tw-d .sl { animation: none; } }
.tw2 .tw-row i.sl, .tw2 .tw-row i.rb { top: auto; padding: 0; border-radius: 0; font-size: 0; transform: none; }
.tw2 .tw-row i.sl { inset: -1%; } .tw2 .tw-row i.rb { left: -12%; right: -12%; top: auto; bottom: -4%; }
.tw2 .tw-d.open .sl { transform: translateY(-104%) !important; }
.tw2 .tw-row .tw-d, .tw2 .tw-row .tw-d.trap { background-image: url(/img/og/g6-tw-frame.webp); }
.tw2 .tw-row.now .tw-d:active .sl { transform: translateY(3%) scale(.97); }
.tw2 .tw-row .tw-d.trap.flip, .tw2 .tw-row .tw-d.land, .tw2 .tw-row .tw-d.wait { animation: none; }

/* ---- Coin flip: the coin is yours to flick, your side sits on the stage, and the run fills with the coins you won ---- */
.cn-wrap { top: 52%; width: min(40%, 176px); touch-action: none; cursor: grab; z-index: 2; }
.cn-sh { top: 80%; }
.cn-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255, 223, 110, .5), rgba(255, 223, 80, 0) 70%); mix-blend-mode: screen; transition: opacity .6s; }
.cn-side { position: absolute; bottom: 15%; z-index: 3; width: 17%; max-width: 76px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; justify-items: center; gap: 3px; -webkit-tap-highlight-color: transparent; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), filter .2s; filter: brightness(.6) saturate(.7) drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
.cn-side.h { left: 5%; } .cn-side.t { right: 5%; }
.cn-side img { width: 100%; aspect-ratio: 1; border-radius: 50%; }
.cn-side small { font: 800 10.5px/1 var(--font); color: #fff; padding: 3px 7px; border-radius: 99px; background: rgba(6, 14, 11, .66); white-space: nowrap; }
.cn-side.on { transform: scale(1.14); filter: drop-shadow(0 0 10px rgba(6, 212, 127, .9)) drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
.cn-side.on img { box-shadow: 0 0 0 3px #19d98b; } .cn-side.on small { background: #19d98b; color: #06281a; }
.cn-side:disabled { cursor: default; }
.cn-run { position: absolute; left: 50%; bottom: 3.5%; transform: translateX(-50%); z-index: 3; display: flex; gap: 1.3cqw; padding: 1.2cqw 2.2cqw; border-radius: 99px; background: rgba(6, 14, 11, .66); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cn-run i { width: 6.2cqw; height: 6.2cqw; max-width: 28px; max-height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); display: block; }
.cn-run i img { width: 100%; height: 100%; display: block; }
.cn-run i.new img { animation: cndrop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes cndrop { from { transform: translateY(-260%) scale(1.8); opacity: 0; } to { transform: none; opacity: 1; } }
.cn-run.lost { animation: cnlost .5s ease-out; } @keyframes cnlost { 0% { box-shadow: 0 0 0 3px rgba(255, 90, 70, .9); transform: translateX(-50%) translateX(-4px); } 30% { transform: translateX(-50%) translateX(4px); } 60% { transform: translateX(-50%) translateX(-2px); } 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transform: translateX(-50%); } }

/* ---- Penalties: drawn targets, the next prize on the grass, balls for the score, a trophy for all five ---- */
.pn-goal button::after { width: 46px; height: 46px; margin: -23px; border: 0; border-radius: 0; background: url(/img/og/g7-pn-target.webp) center / contain no-repeat; opacity: 0; transition: opacity .2s, transform .2s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); animation: none; }
.pn-goal.live button::after { opacity: .95; border: 0; animation: pnaim 1.3s ease-in-out infinite alternate; } .pn-goal.live button:nth-child(2)::after { animation-delay: -.4s; } .pn-goal.live button:nth-child(3)::after { animation-delay: -.8s; }
@keyframes pnaim { from { transform: scale(.92); } to { transform: scale(1.08); } }
.pn-goal.live button:hover::after, .pn-goal.live button:active::after { transform: scale(1.25); animation: none; }
.pn-dots { gap: 5px; margin-top: 6px; } .pn-dots i { width: 15px; height: 15px; background: none; filter: grayscale(1) brightness(.5); opacity: .7; } .pn-dots i img { width: 100%; height: 100%; display: block; }
.pn-dots i.g { filter: drop-shadow(0 0 4px rgba(6, 212, 127, .9)); opacity: 1; background: none; } .pn-dots i.x { filter: sepia(1) saturate(6) hue-rotate(-50deg) brightness(.85); opacity: 1; background: none; }
.pn-next { position: absolute; left: 50%; bottom: 1.6%; transform: translateX(-50%); z-index: 4; padding: 3px 10px 4px; border-radius: 99px; background: rgba(4, 20, 15, .82); color: #ffdf50; font: 900 13px/1 var(--font); letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(255, 223, 80, .5), 0 0 10px rgba(255, 223, 80, .3); pointer-events: none; font-variant-numeric: tabular-nums; }
.pn-next[hidden] { display: none; }
.pn-ball { bottom: 9%; }
.pn-trophy { position: absolute; left: 50%; top: 30%; width: 44%; max-width: 200px; transform: translateX(-50%); z-index: 6; pointer-events: none; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .55)); animation: pntrophy .7s cubic-bezier(.3, 1.6, .5, 1); }
.pn-trophy[hidden] { display: none; } @keyframes pntrophy { from { transform: translateX(-50%) translateY(60%) scale(.3); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pn-goal.live button::after, .cn-run i.new img, .cn-run.lost, .pn-trophy { animation: none; } }
.cn-wrap img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.og-stage.g-pens, .og-stage.g-coin, .og-stage.tw2 { user-select: none; -webkit-user-select: none; }
.cn-side { width: 15%; }

/* ---- table bets are printed on the felt: gold lines and lettering lying in the table's own perspective ---- */
.bac-zones { bottom: 2.5%; left: 5%; right: 5%; gap: 10px 8px; transform: perspective(520px) rotateX(34deg); transform-origin: 50% 100%; transform-style: preserve-3d; }
.tz, .tz.z-p, .tz.z-b, .tz.z-pp, .tz.z-t, .tz.z-bp { --bh: 50px; border: 2px solid rgba(238, 200, 112, .9); border-image: none; border-radius: 14px; background: rgba(238, 200, 112, .07); filter: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28), 0 1px 0 rgba(0, 0, 0, .3);
  color: #f7e2ab; font: 800 13px/1.05 var(--font); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 1px rgba(0, 0, 0, .55); flex-direction: column; gap: 2px; padding: 0 6px; transform-style: preserve-3d; transition: background .2s, box-shadow .2s, opacity .3s; }
.tz.z-p, .tz.z-b { --bh: 60px; font-size: 17px; }
.tz .tz-p, .tz.z-p .tz-p, .tz.z-b .tz-p, .tz.z-pp .tz-p, .tz.z-t .tz-p, .tz.z-bp .tz-p { font-size: 11px; font-weight: 700; letter-spacing: .04em; opacity: .8; }
.tz:active { transform: none; background: rgba(238, 200, 112, .22); }
.tz:has(.tz-chip) { background: rgba(238, 200, 112, .18); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28), 0 0 14px rgba(238, 200, 112, .35); }
.tz.win { border-image: none; border-color: #ffe08a; background: rgba(255, 215, 106, .38); color: #fff; filter: none; box-shadow: 0 0 18px rgba(255, 215, 106, .75), inset 0 0 0 1px rgba(255, 255, 255, .35); }
.tz.lose { opacity: .4; }
/* the chip you put down stands on the felt, upright, facing you */
/* the chip you put down sits inside its own box, in place of the odds, so nothing overlaps another bet */
.tz-a { position: static; transform: none; display: block; line-height: 0; } .tz-a:empty { display: none; }
.tz:has(.tz-chip) .tz-p { display: none; }
.tz .tz-chip { padding: 2px 9px 2px 2px; font-size: 12px; letter-spacing: 0; text-transform: none; text-shadow: none; } .tz .tz-chip img { width: 20px; height: 20px; }
/* blackjack: Double and Split, lettered on the felt in front of your hand */
.bj-mid { transform: translateY(-50%) perspective(520px) rotateX(34deg); gap: 12px; }
.bj-act { --bh: 46px; border: 2px solid rgba(238, 200, 112, .9); border-image: none; border-radius: 14px; background: rgba(238, 200, 112, .1); filter: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28), 0 0 12px rgba(238, 200, 112, .25); color: #f7e2ab; font: 800 14px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 1px rgba(0, 0, 0, .55); padding: 0 18px; }
.bj-act small { letter-spacing: .02em; text-transform: none; opacity: .85; }
.bj-act:active { transform: none; background: rgba(238, 200, 112, .28); }

/* ---- Mines: a dig site seen from above. Plots of ground you dig up; a gem or a bomb waits in each hole ---- */
.og-stage.g-mines.mn2 { background: #0b1a12 url(/img/og/g8-mn-bg.webp) center / cover no-repeat; }
.og-stage.tall.mn2 .mn-grid { top: 70px; width: min(80cqw, calc(100cqh - 132px), 380px); gap: 3px; }
.mn2 .mn-grid button::before { background-image: url(/img/og/g8-mn-tile.webp); transform: rotate(calc(var(--rot, 0) * 90deg)); opacity: 1; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), filter .2s; }
.mn2 .mn-grid button:disabled:not(.gem):not(.boom):not(.dim)::before { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)) brightness(.72) saturate(.8); }
.mn2 .mn-grid button:not(:disabled):hover { transform: none; } .mn2 .mn-grid button:not(:disabled):hover::before { transform: rotate(calc(var(--rot, 0) * 90deg)) scale(1.05); }
.mn2 .mn-grid button:not(:disabled):active { transform: scale(.92); }
.mn2 .mn-grid button.wait { animation: mndig .16s linear infinite; } @keyframes mndig { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-2px, 1px) rotate(-3deg); } 75% { transform: translate(2px, -1px) rotate(3deg); } }
.mn2 .mn-grid button.gem::before, .mn2 .mn-grid button.boom::before, .mn2 .mn-grid button.dim::before { background-image: url(/img/og/g8-mn-hole.webp); opacity: 1; transform: none; }
.mn2 .mn-grid button.dim::before { filter: brightness(.7) saturate(.8); }
.mn2 .mn-grid button img { inset: 14%; width: 72%; height: 72%; animation: mnup .42s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes mnup { 0% { transform: translateY(30%) scale(.2); opacity: 0; } 60% { transform: translateY(-14%) scale(1.12); opacity: 1; } 100% { transform: none; } }
.mn2 .mn-grid button.dim img { animation: none; }
.mn2 .mn-grid button.gem { filter: drop-shadow(0 0 8px rgba(6, 212, 127, .7)); } .mn2 .mn-grid button.boom { filter: drop-shadow(0 0 12px rgba(255, 110, 70, .9)); }
.mn-bag { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 6px; padding: 4px 14px 4px 8px; border-radius: 99px; background: rgba(6, 14, 11, .72); box-shadow: inset 0 0 0 1px rgba(125, 255, 196, .35); color: #7dffc4; font: 900 15px/1 var(--font); pointer-events: none; }
.mn-bag[hidden] { display: none; } .mn-bag img { width: 26px; height: 26px; object-fit: contain; }
.mn-bag.bump { animation: mnbump .35s cubic-bezier(.3, 1.8, .5, 1); } @keyframes mnbump { 0% { transform: translateX(-50%) scale(1.25); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mn2 .mn-grid button.wait, .mn2 .mn-grid button img, .mn-bag.bump { animation: none; } }
/* Double and Split sit on clear felt below your cards, away from the table's gold line */
.bj-mid { top: auto; bottom: 3.5%; transform: perspective(520px) rotateX(34deg); transform-origin: 50% 100%; }

/* ---------- Mister Mayor / Señor Alcalde: its own look ---------- */
.sl-alfa { font-family: 'sl-alfa', var(--font); }
.sl-al { --nf: 'sl-alfa'; --pqw: 18; }
.sl-al .sl-hint { --sl: 9%; --sr: 9%; --kl: .5; --kr: .5; --cy: -.02; } .sl-al .sl-hint [data-hint] { color: #fff3c4; letter-spacing: .03em; }
.sl-al .sl-hint [data-hint].in { animation: albulb .8s steps(2, end); }
@keyframes albulb { 0%, 50% { filter: brightness(1.9) drop-shadow(0 0 .8cqw rgba(255, 220, 120, .9)); } 25%, 75% { filter: brightness(1); } 100% { filter: none; } }
/* the top of the machine: the mayor on his balcony between four star piñatas */
.mx-al .mx-in { left: 0; right: 0; top: 0; bottom: 0; height: auto; aspect-ratio: auto; transform: none; }
.mx-al .mx-base { position: absolute; left: 50%; bottom: -4.6cqw; width: 54cqw; transform: translateX(-50%); z-index: 2; filter: drop-shadow(0 1cqw 1.2cqw rgba(0, 0, 0, .55)); }
.mx-al .mx-host { position: absolute; left: 50%; bottom: 3.2cqw; height: min(30cqw, 82cqh); aspect-ratio: 374 / 640; transform: translateX(-50%); z-index: 1; transform-origin: 50% 100%; animation: alnod 3.6s ease-in-out infinite; }
.mx-al .mx-host img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); opacity: 0; transition: opacity .12s; filter: drop-shadow(0 .6cqw .8cqw rgba(0, 0, 0, .5)); }
.mx-al .mx-host .p-i { opacity: 1; }
.mx-al.mx-feat .mx-host .p-i, .mx-al.mx-won .mx-host .p-i { opacity: 0; } .mx-al.mx-feat .mx-host .p-d { opacity: 1; } .mx-al.mx-won:not(.mx-feat) .mx-host .p-w { opacity: 1; }
.mx-al.mx-feat .mx-host, .mx-al.mx-won .mx-host { animation: alhop .5s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes alnod { 0%, 100% { transform: translateX(-50%) rotate(-1.2deg); } 50% { transform: translateX(-50%) rotate(1.2deg) translateY(-.4cqw); } }
@keyframes alhop { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.12) translateY(-1.6cqw); } 100% { transform: translateX(-50%) scale(1.05); } }
.mx-al .mx-it { top: 1cqw; width: 14cqw; aspect-ratio: 1 / 1.08; margin-left: -7cqw; z-index: 3; transform-origin: 50% -70cqw; animation: alswing 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.85s); display: grid; place-items: center; transition: filter .3s, scale .35s cubic-bezier(.3, 1.5, .5, 1); filter: saturate(.75) brightness(.8) drop-shadow(0 .6cqw .7cqw rgba(0, 0, 0, .5)); scale: .9; }
.mx-al .mx-it.i0 { left: 8cqw; top: auto; bottom: 9cqw; } .mx-al .mx-it.i1 { left: 21.5cqw; top: auto; bottom: 1.5cqw; } .mx-al .mx-it.i2 { left: 78.5cqw; top: auto; bottom: 9cqw; } .mx-al .mx-it.i3 { left: 92cqw; top: auto; bottom: 1.5cqw; }
.mx-al .mx-obj { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mx-al .mx-it.mx-on { filter: drop-shadow(0 0 1.6cqw rgba(var(--glow), .95)) drop-shadow(0 .6cqw .7cqw rgba(0, 0, 0, .5)); scale: 1.12; z-index: 4; }
.mx-al .mx-tag { position: relative; left: auto; top: 4%; transform: none; padding: 0; background: none; box-shadow: none; }
.mx-al .mx-tag b { background-image: none; color: #fff7dc; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .8)); }
.mx-al .mx-tag.pic img { width: 8.6cqw; filter: drop-shadow(0 .3cqw .3cqw rgba(0, 0, 0, .55)); }
.mx-al .mx-it.mx-hit { animation: alwhack .9s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes alswing { 0%, 100% { rotate: -1.6deg; } 50% { rotate: 1.6deg; } }
@keyframes alwhack { 0% { rotate: 0deg; } 20% { rotate: 7deg; } 45% { rotate: -5deg; } 70% { rotate: 3deg; } 100% { rotate: 0deg; } }
.sl-lite .mx-al .mx-it, .sl-lite .mx-al .mx-host { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .mx-al .mx-it, .mx-al .mx-host { animation: none !important; } }
/* each piñata hangs on a cord that runs up out of the picture, and swings from up there */
.mx-al .mx-it::before { content: ''; position: absolute; left: 50%; bottom: 93%; width: .34cqw; height: 80cqw; margin-left: -.17cqw; border-radius: 1cqw; background: linear-gradient(90deg, #8a6a3a, #e6cf9a 45%, #8a6a3a); box-shadow: 0 0 .3cqw rgba(0, 0, 0, .45); z-index: -1; }
.mx-al .mx-it.i0 { bottom: 10cqw; } .mx-al .mx-it.i1 { bottom: 2cqw; } .mx-al .mx-it.i2 { bottom: 12cqw; } .mx-al .mx-it.i3 { bottom: 4cqw; }
/* the words sit in the middle of the marquee's dark panel (this typeface rides low) */
.sl-al.v3.signed .sl-hint { padding: 0 4%; } .sl-al.v3.signed .sl-hint [data-hint] { position: relative; top: 7cqh; line-height: 1; } .sl-al.v3.signed .sl-hint .sl-lad { position: relative; top: 6cqh; } /* the balcony's ledge covers the top of the panel, so the middle of what shows is a little lower */
/* the three number panels. This typeface is wide: every digit is the same width (set in the font file), so a number that is
   counting does not shake, and the win counter's rolling digits get cells wide and tall enough to show them whole */
.sl-al.v3 .hd .sl-odo { height: 1.3em; line-height: 1.3em; color: transparent; text-shadow: none; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .9)); }
.sl.sl-al.v3 .hd .sl-odo .od { width: .74em; height: 1.3em; } .sl.sl-al.v3 .hd .sl-odo .ods i { display: block; width: .74em; text-align: center; height: 1.3em; line-height: 1.3em; background: linear-gradient(180deg, #fff8d6 0%, #ffe07a 45%, #e9a521 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl.sl-al.v3 .hd .sl-odo .odx { width: .26em; background: linear-gradient(180deg, #fff8d6 0%, #ffe07a 45%, #e9a521 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-al .hd b, .sl-al.v3 .hd .sl-odo { position: relative; top: .04em; }
.sl-al .hd { background: none; border-style: solid; border-color: transparent; border-width: 0 3.86cqh; border-image: var(--hd-i) 0 30% 0 30% fill / 0 3.86cqh stretch; }
.sl-al .hd.w { border-image-source: var(--hd-w); }
.sl-al .hd.i .in { inset: 18.2% -1.45cqh 20.7% -1.56cqh; } .sl-al .hd.w .in { inset: 15.2% -2.4cqh 18.8% -2.36cqh; }

/* ---------- audit pass: every slot ---------- */
/* Each machine's typeface now has digits of one width (the -tab font files), so a number that is counting does not shake.
   The win counter's rolling digits sit in cells as wide as that typeface's digits, so none is cut at the sides. */
.sl-pu, .sl-ir, .sl-cc { --dw: 0.64em; } .sl-ca { --dw: 0.73em; } .sl-vq, .sl-jt { --dw: 0.72em; }
.sl.v3:not(.sl-al) .hd .od { width: var(--dw, .62em); } .sl.v3:not(.sl-al) .hd .ods i { display: block; width: var(--dw, .62em); text-align: center; }
/* labels that were too small to read on a phone */
.sl-b small { font-size: clamp(8.5px, 2.3cqw, 10.5px); }
.mx-tag small { font-size: max(.5em, 7px); }
.vp-led { font-size: clamp(9px, 2.5cqw, 11.5px); }
.kn-grid button span { font-size: max(24cqw, 8.5px); }
.sc-top small { font-size: max(calc(var(--f) * .46), 7.5px); }
.sc-wn small { font-size: max(2.7cqw, 7px); } .sc.k-nums .sc-wn small { width: 30%; font-size: max(2.4cqw, 6.5px); letter-spacing: .02em; }
/* a game with nothing to say under its main button shows no empty strip there */
.og-dock .og-panel.has-menu:not(:has(> :not(.og-msg:empty):not(.og-facts))) { display: none; }
/* audit 2: the free-spins counter pill never drops under a readable size */
.sl.v3.signed .sl-hint .sl-lad { font-size: max(min(50cqh, 3.6cqw), 10px); }
.sl.v2 .sl-hint .sl-lad i { font-size: max(.9em, 9px); }
/* audit 2, machines: a tall game (slots, scratch cards) fits whole under the game strip on a 768-high screen */
body.kiosk #oggame.sl-mode .og-stage:not(.sl-pickst) { max-width: min(480px, calc((100dvh - 160px) / 1.12 / 1.5)); scroll-margin-top: 110px; }
/* audit 2, machines: a tall game (slots, scratch cards) fits whole under the game strip on a 768-high screen */
body.kiosk #oggame.sl-mode .og-stage:not(.sl-pickst) { max-width: min(480px, calc((100dvh - 160px) / 1.12 / 1.5)); }
/* audit 2, wide screens: with a long side panel the stage grew wider than its column and covered the panel (Hold'em on machines) */
@container (min-width: 720px) { .og-game.bb > .og-stage { max-width: 100%; min-width: 0; } }
/* audit 2: the two pair bets carry the longest names (Spanish "Par Jugador"); a step smaller so they sit inside their plates */
.bac-zones .z-pp .tz-n, .bac-zones .z-bp .tz-n { font-size: .82em; letter-spacing: .02em; }
/* ===== a machine's own win screens (pilot: Señor Alcalde). Three different scenes, not one screen with three words =====
   Big: the title pops over the machine, which stays visible. Mega: the game's own place fills the screen and the
   character celebrates standing on its ground. Epic: a short film fills the screen, title and amount in its dark lower half. */
.sl-big.own { gap: 0; padding: 9cqh 0 8cqh; }
.sl-big.own .sl-title img { width: min(86cqw, 470px); max-height: 30cqh; height: auto; animation: sltitle .55s cubic-bezier(.3, 1.6, .5, 1) both, slpulse 1.4s ease-in-out .6s infinite; }
.sl-big.own strong { margin-top: 1.4cqh; text-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .6); }
.sl-big.own > span { color: rgba(255, 255, 255, .78); text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.sl-big.own img.sl-scene, .sl-big.own .sl-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; animation: slfade .35s both; filter: none; }
.sl-big.own .sl-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sl-big.own.t-big { background: radial-gradient(closest-side, rgba(0, 0, 0, .3), rgba(0, 0, 0, .74)); justify-content: center; padding: 0; }
.sl-big.own.t-big .sl-title img { max-height: 34cqh; }
.sl-big.own.t-mega { background: #0b1030; justify-content: flex-start; }
.sl-big.own.t-mega .sl-shade { background: linear-gradient(rgba(6, 8, 26, .38), rgba(6, 8, 26, 0) 30%, rgba(6, 8, 26, 0) 62%, rgba(6, 8, 26, .82)); }
.sl-big.own.t-mega .sl-title img { max-height: 25cqh; }
.sl-big.own.t-mega img.host { height: 33cqh; margin-top: auto; animation: slact .5s cubic-bezier(.3, 1.6, .5, 1) both; filter: drop-shadow(0 1.2cqh .6cqh rgba(0, 0, 0, .55)); }
.sl-big.own.t-mega strong { margin-top: .4cqh; }
.sl-big.own.t-epic { background: #070a20; justify-content: flex-end; padding-bottom: 5cqh; }
.sl-big.own.t-epic .sl-shade { background: linear-gradient(rgba(5, 7, 22, 0) 46%, rgba(5, 7, 22, .78) 72%, rgba(5, 7, 22, .9)); }
.sl-big.own.t-epic .sl-title img { max-height: 19.5cqh; } .sl-big.own.t-epic strong { margin-top: .6cqh; }
@media (prefers-reduced-motion: reduce) { .sl-big.own .sl-title img, .sl-big.own img.host { animation: none !important; } }
/* The piñatas move on their own, all the time, and a spin no longer changes their speed (that made them jump). Each one
   hangs on its own rhythm: a slow swing from the cord, and a smaller turn of the piñata itself under the cord, so no
   two are ever in step. A hit is added on top of the swing instead of replacing it, and lighting up eases in. */
@keyframes alswing { 0%, 100% { rotate: -2.3deg; } 50% { rotate: 2.3deg; } }
@keyframes altwist { 0%, 100% { rotate: 3.2deg; } 50% { rotate: -3.2deg; } }
@keyframes alwhack { 0% { transform: rotate(0deg); } 18% { transform: rotate(8deg); } 42% { transform: rotate(-5.5deg); } 64% { transform: rotate(3deg); } 84% { transform: rotate(-1.2deg); } 100% { transform: rotate(0deg); } }
.mx-al .mx-it { animation: alswing var(--sw, 4.2s) cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: calc(var(--i) * -1.37s); transition: filter .6s ease, scale .7s cubic-bezier(.3, 1.25, .5, 1); will-change: rotate; }
.mx-al .mx-it.i0 { --sw: 4.4s; --tw: 3.1s; } .mx-al .mx-it.i1 { --sw: 5.3s; --tw: 2.6s; } .mx-al .mx-it.i2 { --sw: 4.8s; --tw: 3.4s; } .mx-al .mx-it.i3 { --sw: 5.9s; --tw: 2.9s; }
.mx-al .mx-it .mx-obj, .mx-al .mx-it .mx-tag { transform-origin: 50% 2%; animation: altwist var(--tw, 3s) cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: calc(var(--i) * -.9s); }
.mx-al .mx-it.mx-hit { animation: alswing var(--sw, 4.2s) cubic-bezier(.45, 0, .55, 1) infinite, alwhack 1.1s cubic-bezier(.3, 1.2, .5, 1); animation-delay: calc(var(--i) * -1.37s), 0s; }
.sl-lite .mx-al .mx-it .mx-obj, .sl-lite .mx-al .mx-it .mx-tag { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .mx-al .mx-it .mx-obj, .mx-al .mx-it .mx-tag { animation: none !important; } }
.mx-al .mx-it.mx-hit .mx-tag { animation: altwist var(--tw, 3s) cubic-bezier(.45, 0, .55, 1) infinite, mxtag 1.5s ease-out; animation-delay: calc(var(--i) * -.9s), 0s; }

/* ===================== La Pupusería: Mamá behind her stand, four order tickets hanging on cords for the four prizes ===================== */
.sl-pu .sl-hint { --sl: 9%; --sr: 9%; --kl: .5; --kr: .5; --cy: -.02; } .sl-pu .sl-hint [data-hint] { color: #fff6dc; letter-spacing: .02em; }
.sl-pu .sl-hint [data-hint].in { animation: hbpop .45s cubic-bezier(.3, 1.6, .5, 1); }
.mx-pu .mx-in { left: 0; right: 0; top: 0; bottom: 0; height: auto; aspect-ratio: auto; transform: none; }
.mx-pu .mx-base { position: absolute; left: 50%; bottom: -3.4cqw; width: 50cqw; transform: translateX(-50%); z-index: 2; filter: drop-shadow(0 1cqw 1.2cqw rgba(0, 0, 0, .5)); }
.mx-pu .mx-host { position: absolute; left: 50%; bottom: -9.5cqw; height: 41cqw; aspect-ratio: 390 / 640; clip-path: inset(-20% -40% 34% -40%); /* she stands on the ground behind her counter: the counter hides her from the waist down, and nothing of her shows under it */ transform: translateX(-50%); z-index: 1; transform-origin: 50% 100%; }
.mx-pu .mx-host img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); opacity: 0; transition: opacity .12s; filter: drop-shadow(0 .6cqw .8cqw rgba(0, 0, 0, .45)); }
.mx-pu .mx-host .p-i { opacity: 1; }
.mx-pu.mx-feat .mx-host .p-i, .mx-pu.mx-won .mx-host .p-i { opacity: 0; } .mx-pu.mx-feat .mx-host .p-d { opacity: 1; } .mx-pu.mx-won:not(.mx-feat) .mx-host .p-w { opacity: 1; }
.mx-pu.mx-go .mx-base, .mx-pu.mx-won .mx-base { animation: mxflare .5s ease-out; }
.mx-pu .mx-it { width: 17cqw; aspect-ratio: 360 / 270; margin-left: -8.5cqw; z-index: 3; transform-origin: 50% -70cqw; animation: alswing var(--sw, 4.6s) cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: calc(var(--i) * -1.37s); display: grid; place-items: center; transition: filter .6s ease, scale .7s cubic-bezier(.3, 1.25, .5, 1); filter: saturate(.85) brightness(.88) drop-shadow(0 .6cqw .7cqw rgba(0, 0, 0, .45)); scale: .92; font-size: min(3.5cqw, calc(17cqw * 1.25 / var(--n, 5))); }
.mx-pu .mx-it.i0 { left: 10cqw; bottom: 11cqw; --sw: 4.6s; } .mx-pu .mx-it.i1 { left: 24.5cqw; bottom: 1.6cqw; --sw: 5.4s; } .mx-pu .mx-it.i2 { left: 75.5cqw; bottom: 11cqw; --sw: 5s; } .mx-pu .mx-it.i3 { left: 90cqw; bottom: 1.6cqw; --sw: 5.8s; }
.mx-pu .mx-it::before { content: ''; position: absolute; left: 50%; bottom: 96%; width: .3cqw; height: 80cqw; margin-left: -.15cqw; border-radius: 1cqw; background: linear-gradient(90deg, #7c8088, #e8eaee 45%, #7c8088); box-shadow: 0 0 .3cqw rgba(0, 0, 0, .4); z-index: -1; }
.mx-pu .mx-obj { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mx-pu .mx-tag { position: relative; left: auto; top: 9%; bottom: auto; transform: none; padding: 0; background: none; box-shadow: none; }
.mx-pu .mx-tag b { background-image: none; color: #fff7dc; -webkit-text-fill-color: #fff7dc; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .8)); }
.mx-pu .mx-tag small { color: rgba(255, 246, 222, .82); }
.mx-pu .mx-it.mx-on { filter: drop-shadow(0 0 1.6cqw rgba(var(--glow), .95)) drop-shadow(0 .6cqw .7cqw rgba(0, 0, 0, .5)); scale: 1.1; z-index: 4; }
.mx-pu .mx-it.mx-hit { animation: alswing var(--sw, 4.6s) cubic-bezier(.45, 0, .55, 1) infinite, alwhack 1.1s cubic-bezier(.3, 1.2, .5, 1); animation-delay: calc(var(--i) * -1.37s), 0s; }
.sl-lite .mx-pu .mx-it { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .mx-pu .mx-it { animation: none !important; } }
/* win screens that are films (La Pupusería: every tier is a little scene at the stand) */
.sl-big.own.film { background: #1a0f0a; justify-content: flex-end; padding-bottom: 5cqh; }
.sl-big.own.film .sl-shade { background: linear-gradient(rgba(20, 10, 6, 0) 50%, rgba(20, 10, 6, .72) 72%, rgba(20, 10, 6, .88)); }
.sl-big.own.film .sl-title img { max-height: 21cqh; } .sl-big.own.film strong { margin-top: .6cqh; }
.sl-big.own.film.t-grand .sl-title img { max-height: 16cqh; }
/* Big tier: the machine dims further and the title gets a warm glow, so dark lettering (carved stone, driftwood) still reads at a glance */
.sl-big.own.t-big { background: radial-gradient(closest-side, rgba(0, 0, 0, .58), rgba(0, 0, 0, .88)); }
.sl-big.own.t-big .sl-title img { filter: drop-shadow(0 0 2.4cqw rgba(255, 226, 140, .6)) drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.sl-big.own.own-jt.t-big .sl-title img { filter: brightness(1.3) saturate(1.15) drop-shadow(0 0 2.4cqw rgba(140, 255, 190, .55)) drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.sl-big.own.own-cc.t-big .sl-title img { filter: brightness(1.12) drop-shadow(0 0 2.4cqw rgba(120, 230, 255, .55)) drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }

/* ===================== Dancehall Queen: the queen behind the selector's booth, four speaker boxes hanging on chains for the four prizes ===================== */
.sl-ir .sl-hint { --sl: 9%; --sr: 9%; --kl: .5; --kr: .5; --cy: -.02; } .sl-ir .sl-hint [data-hint] { color: #b9ffc8; text-shadow: 0 0 6px rgba(60, 255, 120, .7); letter-spacing: .02em; }
.sl-ir .sl-hint [data-hint].in { animation: hbpop .45s cubic-bezier(.3, 1.6, .5, 1); }
.mx-ir .mx-in { left: 0; right: 0; top: 0; bottom: 0; width: auto; height: auto; aspect-ratio: auto; transform: none; }
.mx-ir .mx-base { position: absolute; inset: auto; left: 50%; bottom: -3.2cqw; width: 46cqw; height: auto; transform: translateX(-50%); z-index: 2; filter: drop-shadow(0 1cqw 1.2cqw rgba(0, 0, 0, .55)); animation: none; }
.mx-ir .mx-host { position: absolute; left: 50%; bottom: -17cqw; height: 60cqw; aspect-ratio: 306 / 640; transform: translateX(-50%); z-index: 1; clip-path: inset(-20% -60% 38% -60%); /* she stands on the ground behind the booth, which hides her from the hips down */ }
.mx-ir .mx-host img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); opacity: 0; transition: opacity .12s; filter: drop-shadow(0 .6cqw .8cqw rgba(0, 0, 0, .5)); }
.mx-ir .mx-host .p-i { opacity: 1; }
.mx-ir.mx-feat .mx-host .p-i, .mx-ir.mx-won .mx-host .p-i { opacity: 0; } .mx-ir.mx-feat .mx-host .p-d { opacity: 1; } .mx-ir.mx-won:not(.mx-feat) .mx-host .p-w { opacity: 1; }
.mx-ir.mx-feat .mx-base, .mx-ir.mx-won .mx-base { animation: mxthump .27s linear 4; }
.mx-ir .mx-it { top: auto; width: 18cqw; aspect-ratio: 360 / 190; margin-left: -9cqw; transform: none; z-index: 3; transform-origin: 50% -70cqw; animation: alswing var(--sw, 4.6s) cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: calc(var(--i) * -1.37s); display: grid; place-items: center; transition: filter .6s ease, scale .7s cubic-bezier(.3, 1.25, .5, 1); filter: saturate(.85) brightness(.88) drop-shadow(0 .6cqw .7cqw rgba(0, 0, 0, .5)); scale: .92; font-size: min(3.3cqw, calc(18cqw * 1.1 / var(--n, 5))); }
.mx-ir .mx-it.i0 { left: 10.5cqw; bottom: 12cqw; --sw: 4.6s; } .mx-ir .mx-it.i1 { left: 25cqw; bottom: 2cqw; --sw: 5.4s; } .mx-ir .mx-it.i2 { left: 75cqw; bottom: 12cqw; --sw: 5s; } .mx-ir .mx-it.i3 { left: 89.5cqw; bottom: 2cqw; --sw: 5.8s; }
.mx-ir .mx-it::before { content: ''; position: absolute; left: 50%; bottom: 94%; width: .34cqw; height: 80cqw; margin-left: -.17cqw; border-radius: 1cqw; background: repeating-linear-gradient(0deg, #6d6f76 0 .5cqw, #d9dbe0 .5cqw 1cqw); box-shadow: 0 0 .3cqw rgba(0, 0, 0, .4); z-index: -1; }
.mx-ir .mx-obj { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: none; }
.mx-ir .mx-tag { position: relative; left: auto; top: 12%; bottom: auto; transform: none; padding: 0; background: none; box-shadow: none; }
.mx-ir .mx-tag b { background-image: none; color: #eaffd8; -webkit-text-fill-color: #eaffd8; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .8)); }
.mx-ir .mx-tag small { color: rgba(220, 255, 210, .8); }
.mx-ir .mx-it.mx-on { filter: drop-shadow(0 0 1.6cqw rgba(var(--glow), .95)) drop-shadow(0 .6cqw .7cqw rgba(0, 0, 0, .5)); scale: 1.1; z-index: 4; }
.mx-ir .mx-it.mx-hit { animation: alswing var(--sw, 4.6s) cubic-bezier(.45, 0, .55, 1) infinite, alwhack 1.1s cubic-bezier(.3, 1.2, .5, 1); animation-delay: calc(var(--i) * -1.37s), 0s; }
.sl-lite .mx-ir .mx-it { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .mx-ir .mx-it { animation: none !important; } }

/* ===================== Carnival Party: the queen on the float, four steel pans hanging on ribbons with the multipliers ===================== */
.sl-ca .sl-hint { --sl: 9%; --sr: 9%; --kl: .5; --kr: .5; --cy: -.02; } .sl-ca .sl-hint [data-hint] { color: #ffe9a8; letter-spacing: .02em; }
.sl-ca .sl-hint [data-hint].in { animation: hbshine .7s ease-out; }
/* Jaguar Temple's stone head: these two rules were shared with two machines that were rebuilt, and went out with them by mistake */
.mx-jt .mx-in { height: auto; width: var(--W); left: 50%; transform: translateX(-50%); }
.mx-jt .mx-base { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 1.4cqw 1.6cqw rgba(0, 0, 0, .6)); }

/* ===================== Carnival Party: the front of the carnival truck, built into the machine like the temple's stone head ===================== */
.mx-ca .mx-in { --W: 52cqw; --A: 1.226; height: auto; width: var(--W); left: 50%; right: auto; top: auto; bottom: -7.2cqw; aspect-ratio: var(--A); transform: translateX(-50%); }
.mx-ca .mx-base { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 1.4cqw 1.6cqw rgba(0, 0, 0, .6)); animation: none; }
.mx-ca .mx-it { position: absolute; display: grid; place-items: center; margin: 0; transform: none; animation: none; filter: saturate(.55) brightness(.62); scale: 1; transition: filter .4s ease, scale .4s cubic-bezier(.3, 1.3, .5, 1); border-radius: .6cqw; }
.mx-ca .i0 { left: 6.3%; top: 29.3%; width: 15.5%; height: 16.5%; } .mx-ca .i1 { left: 5.8%; top: 53.5%; width: 16%; height: 20.3%; } .mx-ca .i2 { left: 78.7%; top: 29.3%; width: 15.5%; height: 16.5%; } .mx-ca .i3 { left: 78.7%; top: 53.5%; width: 15.5%; height: 20.4%; }
.mx-ca .mx-it::before { content: none; }
.mx-ca .mx-tag { position: static; transform: none; padding: 0; background: none; box-shadow: none; animation: none; }
.mx-ca .mx-tag.pic img { width: 6.4cqw; filter: drop-shadow(0 .3cqw .3cqw rgba(0, 0, 0, .6)); }
.mx-ca .mx-it.mx-on { filter: drop-shadow(0 0 1.2cqw rgba(var(--glow), .95)); scale: 1.16; background: radial-gradient(closest-side, rgba(var(--glow), .35), rgba(var(--glow), 0)); }
.mx-ca .mx-it.mx-hit { animation: mxpanel 1.4s ease-out; }
.mx-ca .e { position: absolute; top: 68.6%; width: 7.5%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, #fffbe0 0, #ffd95e 32%, rgba(255, 190, 40, .5) 56%, rgba(255, 190, 40, 0) 74%); animation: mxeye 3.2s ease-in-out infinite; pointer-events: none; }
.mx-ca .e.l { left: 31.9%; } .mx-ca .e.r { left: 68.1%; }
.mx-ca.mx-go .e { animation: mxblink .5s ease-out; }
.mx-ca.mx-won .mx-base { animation: mxroar 1.1s cubic-bezier(.3, 1.4, .5, 1); transform-origin: 50% 100%; } .mx-ca.mx-won .e { width: 12%; animation: none; background: radial-gradient(circle, #fff 0, #fff3a0 40%, rgba(255, 200, 0, 0) 78%); }
.sl-lite .mx-ca .e { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .mx-ca .e, .mx-ca .mx-base { animation: none !important; } }
/* film screens: a smaller title sitting lower, so it covers as little of the scene as possible */
.sl-big.own.film { padding-bottom: 3.4cqh; }
.sl-big.own.film .sl-title img, .sl-big.own.film.t-mega .sl-title img { max-height: 14.5cqh; }
.sl-big.own.film strong { font-size: 7.4cqw; margin-top: .2cqh; }
.sl-big.own.film .sl-shade { background: linear-gradient(rgba(10, 8, 12, 0) 60%, rgba(10, 8, 12, .7) 78%, rgba(10, 8, 12, .9)); }

/* the characters on top of a machine fade from their loop into a reaction and back, never a hard swap */
.mx-al .mx-host img, .mx-ir .mx-host img, .mx-pu .mx-host img { transition: opacity .28s ease; }
.mx-al .mx-host, .mx-al.mx-feat .mx-host, .mx-al.mx-won .mx-host { animation: none; } /* the mayor's own animation carries the motion now; the extra nod and hop on top of it made it jitter */

/* the Grand is the top prize: the biggest title and amount of all the win screens */
.sl-big.own.film.t-grand .sl-title img { max-height: 19cqh; }
.sl-big.own.film.t-grand strong { font-size: 9.6cqw; color: #ffe27a; text-shadow: 0 3px 0 rgba(0, 0, 0, .6), 0 0 22px rgba(255, 200, 60, .7); }
.sl-big.own.film.t-grand .sl-shade { background: linear-gradient(rgba(10, 8, 4, 0) 54%, rgba(10, 8, 4, .72) 74%, rgba(10, 8, 4, .92)); }
/* ===== scratch cards, pilot (Gold Rush Falls): the last spot's suspense, and win scenes as films ===== */
.sc-sus { position: absolute; z-index: 6; border-radius: 14%; pointer-events: none; box-shadow: 0 0 0 2px rgba(var(--glow), .95), 0 0 18px 6px rgba(var(--glow), .7), inset 0 0 14px rgba(var(--glow), .5); animation: scsus .7s ease-in-out infinite; }
.sc-sus[hidden] { display: none; }
@keyframes scsus { 50% { transform: scale(1.07); box-shadow: 0 0 0 3px #fff, 0 0 30px 12px rgba(var(--glow), .9), inset 0 0 18px rgba(var(--glow), .7); } }
.sc.sus .sc-bg { filter: brightness(.6); transition: filter .4s; } .sc .sc-bg { transition: filter .4s; }
.sc-win.own { justify-content: flex-end; gap: .4cqh; padding-bottom: 4cqh; background: #0a0806; overflow: hidden; }
.sc-win.own .f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slfade .35s both; }
.sc-win.own .sh { position: absolute; inset: 0; background: linear-gradient(rgba(10, 8, 6, 0) 56%, rgba(10, 8, 6, .72) 76%, rgba(10, 8, 6, .92)); pointer-events: none; }
.sc-win.own .tt { position: relative; width: auto; max-width: 84cqw; max-height: 17cqh; object-fit: contain; animation: slpop .5s cubic-bezier(.3, 1.8, .5, 1) both; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .7)); }
.sc-win.own.t-epic .tt { max-height: 20cqh; }
.sc-win.own b { font-size: clamp(24px, 9.5cqw, 50px); }
.sc-sh-g { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font: 700 13px var(--font); color: #fff; }
.sc-sh-g small { display: block; font: 500 11px var(--font); color: rgba(255, 255, 255, .6); }
.sc-win.own .f.drift { animation: slfade .35s both, scdrift 9s ease-in-out infinite alternate; transform-origin: 50% 35%; }
@keyframes scdrift { from { transform: scale(1); } to { transform: scale(1.12) translateY(-1.5%); } }

/* Scratch cards: a Big win lands over the card itself (the card stays in view, dimmed), with nuggets raining through it. */
.sc-win.own.over { justify-content: center; gap: .6cqh; padding-bottom: 0; background: radial-gradient(closest-side, rgba(10, 8, 6, .42), rgba(10, 8, 6, .82)); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); }
.sc-win.own.over .sl-rays { --glow: 255, 205, 80; top: 46%; width: 190cqw; height: 190cqw; }
.sc-win.own.over .tt { max-width: 78cqw; max-height: 30cqh; animation: scslam .6s cubic-bezier(.2, 1.9, .4, 1) both, scbob 2.2s ease-in-out .6s infinite alternate; }
.sc-win.own.over b { font-size: clamp(30px, 13cqw, 64px); }
.sc-win.own .ng { position: absolute; top: -14%; height: auto; pointer-events: none; animation: scrain 2.4s linear infinite both; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .55)); }
@keyframes scrain { from { transform: translateY(0) rotate(-25deg); } to { transform: translateY(125cqh) rotate(200deg); } }
@keyframes scslam { from { transform: scale(2.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes scbob { from { transform: scale(1) rotate(-1.2deg); } to { transform: scale(1.05) rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce) { .sc-win.own.over .ng, .sc-win.own.over .tt { animation: none; } .sc-win.own.over .ng { display: none; } }
/* Gold Rush Falls: clean spots. Picture on top, amount under it at one size; nothing is greyed out, a win is told by its gold and glow. */
.sc-cl.k-multi .sc-in { flex-direction: column; gap: 1%; }
.sc-cl.k-multi .sc-in > img { width: 74%; height: 56%; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.sc-cl.k-multi .sc-in small { font-size: min(36cqh, calc(84cqw / (max(var(--n, 3), 3) * .56))); background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff6dc; -webkit-text-stroke: .16em #17100a; paint-order: stroke fill; filter: none; letter-spacing: .01em; }
.sc-cl .sc-spot.dud .sc-in { opacity: 1; } .sc-cl .sc-spot.dud .sc-in > img { filter: saturate(.85) brightness(.9) drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); } .sc-cl .sc-spot.dud .sc-in small { opacity: 1; filter: none; color: #e6dcc4; }
.sc-cl .sc-spot.hit .sc-in small { color: #ffd84a; } .sc-cl.k-multi .sc-in small.x { background: none; color: #9fe8ff; }
/* Win tiers step up in size: Big is the title over the machine, Epic is a film in a framed window over the machine, Mega is the film on the whole screen. */
.sl-big.own.t-big .sl-title img { max-height: 27cqh; }
.sl-big.own.film.mid { background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, .9)); justify-content: center; padding: 0; }
.sl-big.own.film.mid .sl-film, .sl-big.own.film.mid img.sl-scene { position: relative; inset: auto; width: auto; height: 58cqh; max-width: 80cqw; aspect-ratio: 2 / 3; border-radius: 4.5cqw; box-shadow: 0 0 0 .9cqw #ffd766, 0 0 0 1.5cqw #7a4a06, 0 0 9cqw rgba(255, 205, 90, .55), 0 3cqh 5cqh rgba(0, 0, 0, .6); animation: slmid .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.sl-big.own.film.mid .sl-shade { display: none; }
.sl-big.own.film.mid .sl-title { margin-top: -8cqh; } .sl-big.own.film.mid .sl-title img { max-height: 16.5cqh; }
.sl-big.own.film.mid strong { font-size: 8cqw; margin-top: .3cqh; }
.sl-big.own.film:not(.mid) .sl-title img, .sl-big.own.film.t-mega:not(.mid) .sl-title img { max-height: 17.5cqh; } .sl-big.own.film.t-mega:not(.mid) strong { font-size: 9cqw; }
@keyframes slmid { from { transform: scale(.6); opacity: 0; } }

/* The clean spot style on the other two kinds of card: the picture (or the number) on top, the amount under it at one size. */
.sc-cl.k-match .sc-in { gap: 1%; } .sc-cl.k-match .sc-in > img { width: 76%; height: 58%; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.sc-cl.k-match .sc-in small, .sc-cl.k-nums .sc-in small { font-size: min(34cqh, calc(84cqw / (max(var(--n, 3), 3) * .56))); background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff6dc; -webkit-text-stroke: .16em #17100a; paint-order: stroke fill; filter: none; letter-spacing: .01em; }
.sc-cl.k-nums .sc-in { gap: 2%; } .sc-cl.k-nums .sc-num { height: 50%; } .sc-cl.k-nums .sc-spot.wn .sc-num { height: 86%; }
.sc-cl.k-nums .sc-spot:not(.hit).done .sc-in small { color: #e6dcc4; }
/* a win scene one size down: Epic sits in a framed window over the card, Mega takes the whole screen */
.sc-win.own.mid { justify-content: center; padding-bottom: 0; background: radial-gradient(closest-side, rgba(10, 8, 6, .55), rgba(10, 8, 6, .9)); }
.sc-win.own.mid .f { position: relative; inset: auto; width: auto; height: 56cqh; max-width: 80cqw; aspect-ratio: 2 / 3; border-radius: 4.5cqw; box-shadow: 0 0 0 .9cqw #ffd766, 0 0 0 1.5cqw #7a4a06, 0 0 9cqw rgba(255, 205, 90, .55), 0 3cqh 5cqh rgba(0, 0, 0, .6); animation: slmid .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.sc-win.own.mid .f.drift { animation: slmid .5s cubic-bezier(.3, 1.5, .5, 1) both; } .sc-win.own.mid .sh { display: none; }
.sc-win.own.mid .tt { margin-top: -8cqh; max-height: 16cqh; }
/* La Pupusera: the pupusa is flipped off the comal with a spatula. El Canal: the crane lifts the container away. */
.a-flipp .sc-spot.done .sc-cov { animation: scflipp .6s cubic-bezier(.3, 1.2, .5, 1) forwards; transform-origin: 50% 80%; }
@keyframes scflipp { 0% { transform: none; } 30% { transform: translateY(-26%) rotateX(70deg) scale(1.1); opacity: 1; } 65% { transform: translateY(-46%) rotateX(250deg) scale(1.05); opacity: 1; } 100% { transform: translateY(-20%) rotateX(360deg) scale(.4); opacity: 0; } }
.a-lift .sc-spot.done .sc-cov { animation: sclift .65s cubic-bezier(.5, 0, .7, .4) forwards; transform-origin: 50% 0; }
@keyframes sclift { 0% { transform: none; } 18% { transform: translateY(3%) rotate(0); } 45% { transform: translateY(-40%) rotate(-4deg); opacity: 1; } 75% { transform: translateY(-110%) rotate(3deg); opacity: 1; } 100% { transform: translateY(-190%) rotate(-2deg); opacity: 0; } }

/* Gold Mine: the timber frame is thick, so the whole board is drawn a size up to keep the spots as big as on the other cards */
.sc-gm .sc-board { width: min(96cqw, 55cqh); top: 18.2cqh; }
.sc-cn .sc-top > span { --f: min(36cqh, calc(58cqw / (var(--n, 6) * .56 + 5.4))); gap: 2cqw; }
.sc-cl.k-nums .sc-wn > span > div { gap: 3.5cqw; } .sc-cl.k-nums .sc-spot.wn { aspect-ratio: 1.3; } .sc-cl.k-nums .sc-spot.wn .sc-num { height: 74%; } .sc-cl.k-nums .sc-spot.wn .sc-cov { object-fit: contain; }
.sc.sc-cl.k-nums .sc-wn small { font-size: max(3cqw, 8px); line-height: 1.1; width: 27%; }
.sc-gm .sc-win.own.over .tt { filter: brightness(1.55) saturate(1.2) drop-shadow(0 0 2.4cqw rgba(255, 205, 80, .7)) drop-shadow(0 6px 10px rgba(0, 0, 0, .7)); }

/* Icon-only cards (La Pupusera, El Canal, Gold Mine): no "win up to" plaque, a bigger board, only the picture on each spot, and a win puts its amount on a small gold plate */
.sc-ic .sc-top { display: none; }
.sc-ic .sc-board { top: 14.2cqh; width: min(93cqw, 56cqh); } .sc-ic .sc-say { top: calc(14.2cqh + min(93cqw, 56cqh) + .4cqh); }
.sc-ic.sc-gm .sc-board { top: 12.2cqh; width: min(100cqw, 59.5cqh); } .sc-ic.sc-gm .sc-say { top: calc(12.2cqh + min(100cqw, 59.5cqh) - 1.2cqh); }
.sc-ic.k-match .sc-in > img, .sc-ic.k-multi .sc-in > img { width: 88%; height: 86%; }
.sc-ic .sc-spot.dud .sc-in > img { filter: saturate(.7) brightness(.72) drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.sc-ic .sc-spot.hit .sc-in > img, .sc-ic .sc-spot.hit .sc-num { transform: translateY(-9%) scale(.9); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 0 6px rgba(var(--glow, 255, 205, 80), .9)) drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.sc-tg { position: absolute; left: 50%; bottom: -5%; width: 96%; height: 38%; transform: translateX(-50%); background: center / 100% 100% no-repeat; display: flex; align-items: center; justify-content: center; font-style: normal; z-index: 2; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .7)) drop-shadow(0 0 5px rgba(255, 205, 80, .55)); animation: sctg .45s cubic-bezier(.3, 1.9, .5, 1) both; }
.sc-tg b { font: 400 min(26cqh, calc(62cqw / (max(var(--n, 2), 2) * .56))) 'sl-lilita', var(--font); line-height: 1; letter-spacing: .02em; background: linear-gradient(180deg, #fff6c2 8%, #ffd23f 50%, #f29a0b 94%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .06em 0 #4a2400); }
@keyframes sctg { from { transform: translateX(-50%) scale(.2); opacity: 0; } }
.sc-ic .sc-in small.x { font-size: min(30cqh, 30cqw); }
.sc-tp { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 10px 0 0; padding: 9px 12px; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 210, 63, .2), rgba(255, 210, 63, .08)); border: 1px solid rgba(255, 210, 63, .45); } .sc-tp small { font: 800 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); } .sc-tp b { font: 400 20px 'sl-lilita', var(--font); color: #ffd95a; }

.sc-pt.k-multi { grid-template-columns: 1fr; } .sc-pt.k-multi b { white-space: nowrap; }
.sc-pt.k-nums { grid-template-columns: repeat(4, 1fr); } .sc-pt.k-nums .wide { grid-column: 1 / -1; background: none; padding: 0 2px; } .sc-pt.k-nums .chip { justify-content: center; }

/* Icon-only lucky-number cards: the three winning numbers are a row of gold-rimmed cells, the same size as the eight below; every number is drawn at one size */
.sc-ic.k-nums .sc-grid { gap: 3%; } .sc-ic.k-nums .sc-wn3 { flex: 1; min-height: 0; display: flex; justify-content: center; gap: 3%; } .sc-ic.k-nums .sc-wn3 .sc-spot { flex: 0 0 calc((100% - 9%) / 4); aspect-ratio: auto; height: 100%; } .sc-ic.k-nums .sc-your { flex: 2; }
.sc-ic.k-nums .sc-spot.wn { border-radius: 12%; box-shadow: 0 0 0 .7cqw #ffd766, 0 0 3.2cqw rgba(255, 205, 90, .65); }
.sc-ic.k-nums .sc-spot .sc-num, .sc-ic.k-nums .sc-spot.wn .sc-num, .sc-ic.sc-pa .sc-num, .sc-ic.sc-pa .sc-spot.wn .sc-num { height: 46%; max-width: 96%; gap: 0; padding: 0; background: none; aspect-ratio: auto; } .sc-ic.k-nums .sc-num img, .sc-ic.sc-pa .sc-num img { height: 100%; margin: 0 -3%; flex: none; }
.sc-ic.k-nums .sc-spot.wn .sc-cov { object-fit: contain; }
.sc-ic.k-multi .sc-your { flex: 1; }
.sc-ic.k-nums .sc-spot.wn { background-position: center; background-size: 100% 100%; background-repeat: no-repeat; } .sc-ic.k-nums .sc-spot.wn .sc-cov { left: -5%; top: -5%; width: 110%; height: 110%; }

/* thick frames: the board is drawn a size up so the spots stay as big as on the other cards */
.sc-ic.sc-hn .sc-board { top: 11.4cqh; width: min(100cqw, 60.5cqh); } .sc-ic.sc-hn .sc-say { top: calc(11.4cqh + min(100cqw, 60.5cqh) - 1.4cqh); }
.sc-ic.sc-ni .sc-board { top: 12cqh; width: min(99cqw, 59.5cqh); } .sc-ic.sc-ni .sc-say { top: calc(12cqh + min(99cqw, 59.5cqh) - 1cqh); }
.sc-ic.sc-pa .sc-board, .sc-ic.sc-do .sc-board { top: 13cqh; width: min(96cqw, 58cqh); } .sc-ic.sc-pa .sc-say, .sc-ic.sc-do .sc-say { top: calc(13cqh + min(96cqw, 58cqh) - .4cqh); }
.sc-ic.sc-ni .sc-num img { filter: brightness(1.22) saturate(1.1) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }

/* Winning numbers on their own gold cells (each card's own shape), a little taller than the rest, with a slow shine before they are opened */
.sc-gw.k-nums .sc-wn3 { flex: 1.22; align-items: flex-end; } .sc-gw.k-nums .sc-wn3 .sc-spot { flex-basis: calc((100% - 9%) / 3.55); }
.sc-gw.k-nums .sc-spot.wn { box-shadow: none; border-radius: 0; filter: drop-shadow(0 0 2.2cqw rgba(255, 205, 90, .6)); animation: scwnp 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes scwnp { 50% { filter: drop-shadow(0 0 4.2cqw rgba(255, 215, 110, .95)) brightness(1.12); } }
.sc-gw.k-nums .sc-spot.wn.hit { animation: scwnh .7s cubic-bezier(.3, 1.7, .5, 1); filter: drop-shadow(0 0 5cqw rgba(255, 225, 120, 1)) brightness(1.18); } @keyframes scwnh { 40% { transform: scale(1.14); } }
.sc-gw.k-nums .sc-spot.wn .sc-num { height: 50%; } .sc-gw.k-nums .sc-spot.wn .sc-cov { left: 6%; top: 16%; width: 88%; height: 80%; }
.sc-ic.k-nums .sc-in { align-items: center; justify-content: center; } .sc-ic.sc-pa .sc-spot .sc-num { height: 44%; max-width: 88%; } .sc-ic.sc-pa .sc-num img { margin: 0 -5%; }
.sc .sc-say { font-size: clamp(10px, 3.3cqw, 15px); padding: 0 2%; }
@media (prefers-reduced-motion: reduce) { .sc-gw.k-nums .sc-spot.wn { animation: none; } }

/* ===== Win screens, slots and scratch cards alike: hold a breath, land with a flash, count up, land the amount ===== */
.wfx.wpre { background: rgba(0, 0, 0, .62) !important; } .wfx.wpre > * { visibility: hidden !important; }
.wfx video { transition: opacity .35s; } .wfx video.wait { opacity: 0; }
.w-flash { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .95), rgba(var(--glow, 255, 205, 80), .55) 38%, rgba(var(--glow, 255, 205, 80), 0) 72%); animation: wflash .7s ease-out both; }
.wt-big .w-flash { opacity: .7; } @keyframes wflash { from { opacity: 1; transform: scale(.6); } 30% { opacity: .85; } to { opacity: 0; transform: scale(1.5); } }
.wshake { animation: wshake .42s ease-out; } .wshake.ws-mega, .wshake.ws-grand { animation: wshake2 .6s ease-out; }
@keyframes wshake { 20% { transform: translate(-2px, 2px); } 45% { transform: translate(2px, -1px); } 70% { transform: translate(-1px, 1px); } }
@keyframes wshake2 { 12% { transform: translate(-4px, 3px) rotate(-.3deg); } 30% { transform: translate(4px, -3px) rotate(.3deg); } 50% { transform: translate(-3px, 2px); } 72% { transform: translate(2px, -1px); } }
.w-amt { scale: var(--ws, 1); transform-origin: 50% 60%; } .w-amt.land { animation: wland .55s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes wland { 0% { scale: 1; } 35% { scale: 1.2; filter: brightness(1.7) drop-shadow(0 0 18px rgba(255, 220, 120, .9)); } 100% { scale: 1; } }
.w-x { position: relative; z-index: 3; margin-top: .5cqh; padding: .25em .8em; border-radius: 99px; font: 900 clamp(11px, 3.6cqw, 17px) var(--font); font-style: normal; letter-spacing: .02em; color: #2a1500; background: linear-gradient(180deg, #fff3b0, #ffc93a 55%, #f09a0c); box-shadow: 0 2px 0 #7a4a06, 0 0 12px rgba(255, 200, 70, .55); animation: slpop .45s cubic-bezier(.3, 1.8, .5, 1) .5s both; }
.sc-win .w-x { order: 0; }
/* each game's lettering has its own way in */
.sl-big.wfx.wgo .sl-title img, .sc-win.wfx.wgo .tt { animation: we-slam .55s cubic-bezier(.2, 1.7, .4, 1) both, wbob 2.4s ease-in-out .6s infinite alternate; }
.sl-big.wfx.we-drop.wgo .sl-title img, .sc-win.wfx.we-drop.wgo .tt { animation-name: we-drop, wbob; animation-duration: .7s, 2.4s; animation-timing-function: cubic-bezier(.3, 1.5, .5, 1), ease-in-out; }
.sl-big.wfx.we-rise.wgo .sl-title img, .sc-win.wfx.we-rise.wgo .tt { animation-name: we-rise, wbob; animation-duration: .7s, 2.4s; }
.sl-big.wfx.we-swing.wgo .sl-title img, .sc-win.wfx.we-swing.wgo .tt { animation-name: we-swing, wsway; animation-duration: .9s, 2.6s; transform-origin: 50% 0; }
.sl-big.wfx.we-flip.wgo .sl-title img, .sc-win.wfx.we-flip.wgo .tt { animation-name: we-flip, wbob; animation-duration: .75s, 2.4s; }
.sl-big.wfx.we-pump.wgo .sl-title img, .sc-win.wfx.we-pump.wgo .tt { animation-name: we-slam, wpump; animation-duration: .5s, .62s; animation-direction: normal, normal; animation-timing-function: cubic-bezier(.2, 1.7, .4, 1), ease-out; }
@keyframes we-slam { from { transform: scale(2.8); opacity: 0; } 60% { opacity: 1; } to { transform: scale(1); } }
@keyframes we-drop { from { transform: translateY(-70cqh) rotate(-6deg); } 62% { transform: translateY(1.5cqh) rotate(1.5deg) scaleY(.92); } to { transform: none; } }
@keyframes we-rise { from { transform: translateY(40cqh) scale(.5); opacity: 0; } 60% { opacity: 1; } to { transform: none; } }
@keyframes we-swing { from { transform: translateY(-50cqh) rotate(-22deg); } 45% { transform: rotate(11deg); } 70% { transform: rotate(-5deg); } to { transform: none; } }
@keyframes we-flip { from { transform: perspective(600px) rotateX(-270deg) scale(.4); opacity: 0; } 55% { opacity: 1; } to { transform: perspective(600px) rotateX(0) scale(1); } }
@keyframes wbob { from { transform: scale(1) rotate(-1deg); } to { transform: scale(1.045) rotate(1deg); } }
@keyframes wsway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@keyframes wpump { 0% { transform: scale(1); } 14% { transform: scale(1.08); } 100% { transform: scale(1); } }
.wfx.wpre .sl-title img, .wfx.wpre .tt { animation: none !important; }
/* rain falls in front of a film and behind the lettering */
.sl-big.film .sl-rain { z-index: 1; } .sl-big.film .sl-title, .sl-big.film strong, .sl-big.film > span, .sl-big .w-x { z-index: 2; position: relative; }
.sc-win.own .tt, .sc-win.own b, .sc-win.own small { z-index: 2; } .sc-win.own .ng { z-index: 1; }
.sl-lite .w-x { animation: none; }
@media (prefers-reduced-motion: reduce) { .w-flash, .wshake, .wshake.ws-mega { animation: none; } .w-flash { display: none; } .sl-big.wfx.wgo .sl-title img, .sc-win.wfx.wgo .tt { animation: none; } }
.sl-big.own.film:not(.mid) { padding-bottom: 10.5cqh; }

/* ===== Win layout: the lettering stays where it was drawn to sit; the amount under it; the multiple rides on the amount's corner; the hint is pinned at the bottom ===== */
.w-row { position: relative; z-index: 3; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.w-row .w-x, .sc-win .w-row .w-x { position: absolute; left: 100%; top: -.55em; margin: 0 0 0 -1.1em; rotate: 9deg; white-space: nowrap; font-size: clamp(10px, 3.3cqw, 16px); padding: .22em .7em; animation: wtag .45s cubic-bezier(.3, 1.9, .5, 1) .45s both; }
@keyframes wtag { from { scale: 0; opacity: 0; } }
.sl-big.wfx > span:not(.sl-title):not(.w-row), .sc-win.wfx > small { position: absolute; left: 0; right: 0; bottom: 1.7cqh; text-align: center; z-index: 3; font-size: clamp(9px, 2.7cqw, 12px); opacity: .62; margin: 0; }
.sl-big.own.film:not(.mid) { padding-bottom: 6.5cqh; } .sc-win.own:not(.over):not(.mid) { padding-bottom: 6.5cqh; }
.sc-win.own.mid { background: radial-gradient(closest-side, rgba(10, 8, 6, .86), rgba(10, 8, 6, .95)); }
.w-share { position: absolute; right: 3cqw; top: 2.4cqh; z-index: 6; display: inline-flex; align-items: center; gap: .4em; padding: .5em .9em; border: 0; border-radius: 99px; font: 800 clamp(11px, 3.2cqw, 14px) var(--font); color: #2a1500; background: linear-gradient(180deg, #fff3b0, #ffc93a 55%, #f09a0c); box-shadow: 0 2px 0 #7a4a06, 0 4px 10px rgba(0, 0, 0, .5); cursor: pointer; animation: slfade .4s 1s both; } .w-share svg { width: 1.2em; height: 1.2em; } .w-share:disabled { opacity: .6; }
/* the level sliders and the vibration switch in the menus */
.sl-row.lv { cursor: default; gap: 14px; } .sl-row.lv input[type=range], .sc-lv input[type=range] { flex: 0 1 52%; min-width: 110px; accent-color: var(--acc, #ffd23f); height: 28px; }
.sc-lv { margin: 8px 0 2px; } .sc-lv .sl-row { padding: 9px 2px; font-size: 13px; }
/* small labels that were under 8px */
.pq small { font-size: max(8px, min(26cqh, calc(140cqw / var(--m)))); }
.sl-big .w-share { top: 9.6cqh; }

/* Carnival Party is a daytime street: its background and floor stay brighter than the night games */
.sl.v2.sl-ca .sl-bg { filter: blur(2px) brightness(.82) saturate(1.15); } .sl.v2.sl-ca .sl-bg::after { background: radial-gradient(75% 60% at 50% 58%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .42)); }
.sl-ca .sl-floor { filter: brightness(.82) saturate(1.1); } .sl-ca.sus .sl-bg { filter: blur(3px) brightness(.4) saturate(1.3); }
/* Slots and Scratch cards: three per row, a little smaller */
html body .chips.sl-chipsrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; overflow: visible; padding-bottom: 2px; }
html body .chips.sl-chipsrow .sl-chip { width: auto; min-width: 0; }
html body .chips.sl-chipsrow .sl-chip[hidden] { display: none; }
html body .chips.sl-chipsrow .sl-chip .sl-chip-cover { border-radius: 14px; }

/* Originals groups (1352): a chip row of groups, the group's games under it while playing, and tiles in sections */
.ogcats { display: flex; flex-direction: column; gap: 8px; }
.ogcats .ogpick[hidden] { display: none; }
.ogcats .ogpick .sp-pill { height: 30px; font-size: 13px; }
.ogcats .sp-pill .og-dot { margin-left: 0; }
/* 1353: game covers like the slot machines and scratch cards. "All" is a set of rows that slide sideways, one per group */
.ogrow { padding: 14px 0 12px; margin-bottom: 14px; overflow: hidden; }
.ogrow-h { display: flex; align-items: center; gap: 10px; padding: 0 16px 10px; }
.ogrow-h img { width: 32px; height: 32px; object-fit: contain; flex: none; filter: drop-shadow(0 1px 2px rgba(14,22,48,.2)); }
.ogrow-h b { display: block; font-size: 16px; line-height: 1.2; }
.ogrow-h small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.ogrow-all { flex: none; border: 0; background: rgba(14,22,48,.06); border-radius: 999px; height: 32px; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.ogrow-all:hover { background: rgba(14,22,48,.1); }
.ogrow-all .muted { font-weight: 600; margin-left: 2px; }
.ogrow-s { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 10px; scroll-padding: 0 16px; scrollbar-width: none; }
.ogrow-s::-webkit-scrollbar { display: none; }
.ogrow-s .sl-chip { width: 132px; scroll-snap-align: start; position: relative; }
@media (min-width: 760px) { .ogrow-s .sl-chip { width: 150px; } }
.ogrow-line { margin: -4px 0 10px; }
.sl-chip .og-dot { position: absolute; top: 8px; right: 8px; margin: 0; z-index: 2; }
.sl-chipsrow .sl-chip { position: relative; }
/* the title on our own covers: chunky yellow letters with a dark edge, like the machines' title art */
.ogcv { background: #0b0f0d; }
.ogcv::after { content: ''; position: absolute; inset: 45% 0 0 0; background: linear-gradient(180deg, transparent, rgba(5,10,8,.82)); pointer-events: none; }
.ogcv-t { position: absolute; left: 8px; right: 8px; bottom: 9px; z-index: 1; text-align: center; font-family: 'sl-lilita', var(--font); font-weight: 400; font-size: 20px; line-height: 1.02; letter-spacing: .3px;
  color: #ffdf50; -webkit-text-stroke: 1.2px #3a2400; paint-order: stroke fill; text-shadow: 0 2px 0 #7a4c00, 0 4px 8px rgba(0,0,0,.55); text-transform: uppercase; overflow-wrap: anywhere; }
@media (min-width: 760px) { .ogcv-t { font-size: 21px; } }

/* ===================== Live Hold'em (1354): lobby, table, tournaments ===================== */
.lv-lobby, .lv-table, .lv-tp { display: flex; flex-direction: column; gap: 12px; }
.lv-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 3px rgba(255,77,77,.2); margin-right: 6px; vertical-align: 1px; animation: lvpulse 1.6s ease-in-out infinite; }
@keyframes lvpulse { 50% { box-shadow: 0 0 0 6px rgba(255,77,77,.08); } }
@media (prefers-reduced-motion: reduce) { .lv-dot { animation: none; } }
.lv-hero { display: flex; gap: 14px; align-items: center; padding: 12px; overflow: hidden; }
.lv-hero > img { width: 88px; height: 88px; border-radius: 18px; object-fit: cover; flex: none; box-shadow: 0 8px 18px -10px rgba(16,35,26,.6); }
.lv-hero-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lv-hero-t b { font-family: 'sl-lilita', var(--font); font-weight: 400; font-size: 24px; letter-spacing: .3px; }
.lv-hero-t span { font-size: 13px; font-weight: 700; }
.lv-hero-t small { color: var(--muted); font-size: 12.5px; }
.lv-tabs { align-self: stretch; }
.lv-levels { display: flex; flex-direction: column; gap: 10px; }
.lv-level { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.lv-level > img { width: 56px; height: 56px; object-fit: contain; flex: none; filter: drop-shadow(0 2px 3px rgba(14,22,48,.2)); }
.lv-level-t { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.lv-level-t > b { font-size: 17px; }
.lv-level-t span { font-size: 13px; }
.lv-level-t small { color: var(--muted); font-size: 12px; }
.lv-level-t .lv-busy { color: var(--ink); font-weight: 600; }
.lv-level .btn { flex: none; }
.lv-note { padding: 0 4px; line-height: 1.45; }
.lv-mine { padding: 10px 12px; }
.lv-mine .eyebrow { margin: 2px 2px 6px; }
.lv-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 2px; border: 0; background: none; font: inherit; color: inherit; text-align: left; border-top: 1px solid var(--line-2); cursor: pointer; }
.lv-row:first-of-type { border-top: 0; }
.lv-row > img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.lv-row > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lv-row small { color: var(--muted); font-size: 12px; }
.lv-tour { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px 14px; text-align: left; font: inherit; color: inherit; border: 1px solid var(--line-2); cursor: pointer; margin-bottom: 10px; }
.lv-tour > img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.lv-tour-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lv-tour-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.lv-tour-top small { color: var(--muted); font-weight: 700; font-size: 12px; }
.lv-tour-t > b { font-size: 16px; }
.lv-tour-f { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); }
.lv-tour-f b { color: var(--ink); }
.lv-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px; }
.lv-empty img { width: 72px; height: 72px; object-fit: contain; }
.lv-fr-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lv-fr { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; text-align: left; font: inherit; color: inherit; border: 1px solid var(--line-2); cursor: pointer; }
.lv-fr img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 4px; }
.lv-fr b { font-size: 15.5px; } .lv-fr small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.lv-buy-ic { width: 52px; height: 52px; object-fit: contain; }
.lv-made { align-items: center; text-align: center; }
.lv-made img { width: 84px; height: 84px; object-fit: contain; }
.lv-code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 800; font-size: 30px; letter-spacing: .14em; padding: 8px 16px; border-radius: 14px; background: rgba(14,22,48,.06); }
/* the table */
.lv-top { display: flex; align-items: center; gap: 10px; }
.lv-back, .lv-menu { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card, #fff); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.lv-top-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lv-top-t b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-top-t small { color: var(--muted); font-size: 12.5px; }
.lv-felt { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 3 / 3.7; max-height: max(400px, calc(100dvh - 420px)); border-radius: 28px; background: #0b0f0d url(/img/lv/felt.webp) center / 100% 100% no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 18px 40px -24px rgba(0,0,0,.7); container-type: size; }
@media (min-width: 760px) { .lv-felt { aspect-ratio: 4 / 3.4; max-height: 70vh; background-size: 100% 100%; } }
.lv-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: 76%; }
.lv-board { display: flex; gap: 4px; justify-content: center; }
.lv-c { position: relative; display: inline-block; width: 10cqw; max-width: 50px; aspect-ratio: 5 / 7; border-radius: 6px; overflow: hidden; box-shadow: 0 3px 6px -2px rgba(0,0,0,.6); }
.lv-c img { width: 100%; height: 100%; display: block; }
.lv-c.slot { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1); }
.lv-c.deal { animation: lvdeal .35s ease-out both; }
@keyframes lvdeal { from { transform: translateY(-14px) scale(.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lv-c.deal { animation: none; } }
.lv-c.sm { width: 30px; }
.lv-pot { color: #f3f4f1; font-size: 13px; background: rgba(0,0,0,.42); padding: 3px 12px; border-radius: 99px; min-height: 0; }
.lv-pot:empty { display: none; }
.lv-pot b { color: #ffdf50; }
.lv-msg { color: #f3f4f1; font-size: 13px; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.lv-msg b { color: #06d47f; font-size: 15px; }
.lv-msg .btn { margin-top: 6px; }
.lv-seat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; width: 21cqw; max-width: 104px; z-index: 2; }
.lv-seat.empty { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.28); background: rgba(0,0,0,.25); color: #f3f4f1; font: inherit; font-size: 12px; font-weight: 700; justify-content: center; cursor: pointer; }
.lv-seat.empty.off { border-color: rgba(255,255,255,.1); background: none; cursor: default; }
.lv-av { position: relative; --p: 1; border-radius: 50%; padding: 3px; background: rgba(0,0,0,.35); }
.lv-seat.turn .lv-av { background: conic-gradient(#06d47f calc(var(--p) * 360deg), rgba(255,255,255,.14) 0); }
.lv-seat.turn .lv-av.low { background: conic-gradient(#ff5a5a calc(var(--p) * 360deg), rgba(255,255,255,.14) 0); }
.lv-av .avatar { display: block; }
.lv-btn { position: absolute; right: -10px; bottom: -4px; width: 24px; height: 24px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.lv-nm { display: flex; flex-direction: column; align-items: center; background: rgba(5,10,8,.78); color: #f3f4f1; border-radius: 10px; padding: 2px 8px; margin-top: -6px; max-width: 100%; z-index: 1; }
.lv-nm b { font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22cqw; }
.lv-nm small { font-size: 12px; font-weight: 800; color: #ffdf50; }
.lv-seat.me .lv-nm { background: #06d47f; color: #0b0f0d; } .lv-seat.me .lv-nm small { color: #0b0f0d; }
.lv-seat.folded { opacity: .55; }
.lv-seat.win .lv-av { box-shadow: 0 0 0 3px #ffdf50, 0 0 22px rgba(255,223,80,.7); }
.lv-cards { display: flex; gap: 2px; margin-bottom: -10px; z-index: 0; }
.lv-cards .lv-c { width: 7.5cqw; max-width: 34px; }
.lv-cards.mine .lv-c { width: 11cqw; max-width: 50px; }
.lv-cards .lv-c:nth-child(1) { transform: rotate(-6deg); } .lv-cards .lv-c:nth-child(2) { transform: rotate(6deg); }
.lv-tag, .lv-hand { font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.9); color: #0b0f0d; white-space: nowrap; }
.lv-tag.act { background: #ffdf50; }
.lv-hand { background: #06d47f; }
.lv-won { position: absolute; top: -14px; font-weight: 900; color: #ffdf50; font-size: 15px; text-shadow: 0 2px 3px rgba(0,0,0,.6); animation: lvwon 1.8s ease-out both; }
@keyframes lvwon { from { transform: translateY(8px); opacity: 0; } 20% { opacity: 1; } }
.lv-bet { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 3px; background: rgba(0,0,0,.5); border-radius: 99px; padding: 2px 8px 2px 2px; z-index: 1; }
.lv-bet img { width: 18px; height: 18px; }
.lv-bet b { color: #f3f4f1; font-size: 11.5px; }
/* the action bar under the table */
.lv-bar { min-height: 56px; }
.lv-wait { display: flex; justify-content: center; align-items: center; min-height: 52px; }
.lv-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lv-acts.three { grid-template-columns: 1fr 1.3fr 1fr; }
.lv-acts .btn { height: 52px; font-size: 15.5px; font-weight: 800; }
.lv-fold { background: #fff; color: #c0392b; }
.lv-raise { display: flex; flex-direction: column; gap: 8px; background: var(--card, #fff); border: 1px solid var(--line-2); border-radius: 18px; padding: 12px; }
.lv-raise-top { display: flex; justify-content: space-between; align-items: baseline; }
.lv-raise-top b { font-size: 22px; }
.lv-raise input[type=range] { width: 100%; accent-color: #06d47f; }
.lv-pre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lv-pre button { height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(14,22,48,.04); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--ink); }
.lv-hh { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); color: inherit; text-decoration: none; }
.lv-hh-c { display: flex; gap: 2px; flex: none; }
.lv-hh-t { flex: 1; display: flex; flex-direction: column; min-width: 0; } .lv-hh-t small { color: var(--muted); }
.lv-hh .up { color: #04a867; } .lv-hh .down { color: #c0392b; }
/* a tournament */
.lv-tp-head { display: flex; align-items: center; gap: 12px; padding: 14px; }
.lv-tp-head > img { width: 60px; height: 60px; object-fit: contain; }
.lv-tp-head > div { flex: 1; }
.lv-tp-pool { font-family: 'sl-lilita', var(--font); font-size: 30px; line-height: 1; }
.lv-tp-head small { color: var(--muted); }
.lv-tp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 14px; }
.lv-tp-facts span { display: flex; flex-direction: column; } .lv-tp-facts small { color: var(--muted); font-size: 11.5px; } .lv-tp-facts b { font-size: 14.5px; }
.lv-pays { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 8px; }
.lv-pays span { display: flex; flex-direction: column; align-items: center; padding: 8px 12px; border-radius: 12px; background: rgba(14,22,48,.05); min-width: 70px; }
.lv-pays i { font-style: normal; color: var(--muted); font-size: 12px; } .lv-pays em { font-style: normal; font-weight: 800; }
.lv-ents { display: flex; flex-direction: column; }
.lv-ent { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-2); }
.lv-ent:first-child { border-top: 0; } .lv-ent b { flex: 1; font-size: 13.5px; } .lv-ent span { font-weight: 700; font-size: 13px; }
.lv-ent.me b { color: #04a867; }
.lv-blinds summary { cursor: pointer; font-weight: 700; }
.lv-bl { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; margin-top: 10px; }
.lv-bl span { font-size: 12.5px; padding: 5px 8px; border-radius: 8px; background: rgba(14,22,48,.04); } .lv-bl span.on { background: #06d47f; color: #0b0f0d; font-weight: 800; }
.lv-bl i { font-style: normal; color: var(--muted); margin-right: 6px; }
.lv-wt { display: flex; flex-wrap: wrap; gap: 6px; }
/* Live lobby: the same gap between everything under the tabs */
#lvtab { display: flex; flex-direction: column; gap: 12px; }
#lvtab .lv-tour { margin-bottom: 0; }
#lvtab .lv-note { margin-top: -2px; }
/* ---- Live table: dealing, turning, the reveal (1356) ---- */
.lv-c.dealt { animation: lvdealt .42s cubic-bezier(.2,.8,.3,1) both; animation-delay: var(--dd, 0ms); }
@keyframes lvdealt { from { transform: translate(0, -60px) rotate(-14deg) scale(.55); opacity: 0; } 60% { opacity: 1; } }
.lv-c.flip { animation: lvflip .46s cubic-bezier(.3,.7,.3,1) both; animation-delay: var(--dd, 0ms); transform-origin: 50% 50%; }
@keyframes lvflip { 0% { transform: perspective(400px) rotateY(90deg) scale(1.08); filter: brightness(1.4); } 70% { transform: perspective(400px) rotateY(-8deg) scale(1.04) rotate(var(--r, 0deg)); } 100% { transform: rotate(var(--r, 0deg)); filter: none; } }
.lv-cards .lv-c.flip:nth-child(1), .lv-cards .lv-c.dealt:nth-child(1) { --r: -6deg; } .lv-cards .lv-c.flip:nth-child(2), .lv-cards .lv-c.dealt:nth-child(2) { --r: 6deg; }
.lv-board.sus .lv-c.slot.sus { box-shadow: inset 0 0 0 2px rgba(255,223,80,.8), 0 0 22px rgba(255,223,80,.55); animation: lvsus .55s ease-in-out infinite alternate; }
@keyframes lvsus { to { box-shadow: inset 0 0 0 2px rgba(255,223,80,.35), 0 0 6px rgba(255,223,80,.2); transform: scale(1.04); } }
.lv-sus-t { display: inline-block; font-weight: 800; color: #ffdf50; letter-spacing: .4px; animation: lvsust .9s ease-in-out infinite alternate; }
@keyframes lvsust { to { opacity: .45; transform: scale(.97); } }
.lv-pot.won { animation: lvpot .7s ease-out; }
@keyframes lvpot { 30% { transform: scale(1.18); background: rgba(255,223,80,.35); } }
.lv-seat.lost { opacity: .6; filter: saturate(.6); }
.lv-seat.win .lv-nm { background: #ffdf50; color: #0b0f0d; } .lv-seat.win .lv-nm small { color: #0b0f0d; }
.lv-tag.str { background: rgba(6,212,127,.18); color: #06d47f; box-shadow: inset 0 0 0 1px rgba(6,212,127,.6); }
.lv-seat.me .lv-tag.str { background: rgba(5,10,8,.75); }
/* a player across the table: cards below the name, so nothing leaves the table (their win too) */
.lv-seat.top .lv-cards { order: 5; margin: -4px 0 0; }
.lv-seat.top .lv-tag, .lv-seat.top .lv-hand { order: 6; }
.lv-seat.top .lv-won { top: auto; bottom: -22px; }
.lv-seat .lv-won { z-index: 6; }
@media (prefers-reduced-motion: reduce) { .lv-c.dealt, .lv-c.flip, .lv-board.sus .lv-c.slot.sus, .lv-sus-t, .lv-pot.won { animation: none; } }
/* the table's settings */
.lv-top .lv-menu svg { width: 20px; height: 20px; display: block; margin: auto; }
.lv-set-g { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.lv-set-g > * { border-top: 1px solid var(--line-2); }
.lv-set-g > :first-child { border-top: 0; }
.lv-set-r, .lv-set-g .sl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 8px 14px; background: var(--card, #fff); border: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.lv-set-r span, .lv-set-g .sl-row span { display: flex; flex-direction: column; font-weight: 700; font-size: 14.5px; }
.lv-set-r small { font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 1px; }
.lv-set-r i, .lv-set-g .sl-row i { position: relative; flex: none; width: 42px; height: 24px; border-radius: 99px; background: #d4d7d0; transition: background .15s; }
.lv-set-r i::after, .lv-set-g .sl-row i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.lv-set-r i.on, .lv-set-g .sl-row i.on { background: var(--green, #06d47f); }
.lv-set-r i.on::after, .lv-set-g .sl-row i.on::after { transform: translateX(18px); }
.lv-set-g .sl-row.lv input[type=range] { flex: 0 0 46%; accent-color: #06d47f; }
.lv-set #lv-dk button { display: inline-flex; align-items: center; gap: 6px; } .lv-set #lv-dk img { width: 16px; border-radius: 2px; }
.lv-rsl { display: flex; align-items: center; gap: 8px; }
.lv-rsl input { flex: 1; }
.lv-st { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(14,22,48,.04); font: inherit; font-size: 20px; font-weight: 800; color: var(--ink); cursor: pointer; }
.lv-stepn { margin-top: -2px; }
.lv-steps { flex-wrap: wrap; } .lv-steps button { flex: 1 0 auto; }
/* buy-in presets: three equal buttons, centred */
.lv-pa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lv-pa button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 48px; padding: 6px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2, rgba(255,255,255,.04)); color: inherit; font: inherit; text-align: center; cursor: pointer; }
.lv-pa button b { font-size: 13px; } .lv-pa button small { font-size: 11.5px; opacity: .7; font-variant-numeric: tabular-nums; }
.lv-pa button.on, .lv-pa button:active { border-color: var(--accent); }
.lv-buy > .small.muted { text-align: center; }
/* ---- Live 1357: badges, best five, banner, chips that fly, early moves, time bank ---- */
.lv-dot.off { background: #8a918d; box-shadow: 0 0 0 3px rgba(138,145,141,.2); animation: none; }
.lv-cards.mine { position: relative; }
.lv-cards.mine .lv-c { width: 13cqw; max-width: 60px; }
.lv-str { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 3; font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: rgba(5,10,8,.82); color: #06d47f; box-shadow: inset 0 0 0 1px rgba(6,212,127,.6); white-space: nowrap; pointer-events: none; }
.lv-tag.fold { background: rgba(20,22,21,.85); color: #c9cdca; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.lv-tag.allin { background: #ff4d4d; color: #fff; letter-spacing: .02em; box-shadow: 0 0 12px rgba(255,77,77,.55); }
.lv-tag.wait { background: rgba(20,22,21,.85); color: #ffdf50; box-shadow: inset 0 0 0 1px rgba(255,223,80,.45); white-space: normal; text-align: center; max-width: 100%; line-height: 1.2; }
.lv-tag.bank { background: #ffdf50; color: #0b0f0d; animation: lvpulse 1s ease-in-out infinite; }
.lv-seat.banking .lv-av { background: conic-gradient(#ffdf50 calc(var(--p) * 360deg), rgba(255,255,255,.14) 0) !important; }
.lv-c.hi { box-shadow: 0 0 0 2px #ffdf50, 0 0 14px rgba(255,223,80,.75); z-index: 2; }
.lv-c.lo { filter: brightness(.42) saturate(.6); }
.lv-banner { display: inline-flex; flex-direction: row; align-items: baseline; gap: 6px; max-width: 64cqw; padding: 4px 12px 5px; border-radius: 99px; background: rgba(5,10,8,.72); box-shadow: inset 0 0 0 1.5px rgba(255,223,80,.7), 0 6px 20px rgba(0,0,0,.4); animation: lvban .45s cubic-bezier(.2,.9,.3,1.3) both; }
.lv-banner small { font-size: 10px; font-weight: 800; color: #ffdf50; }
.lv-banner b { color: #fff !important; font-size: 13px !important; max-width: 30cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-banner i { font-style: normal; white-space: nowrap; font-size: 12px; font-weight: 700; color: #06d47f; }
@keyframes lvban { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lv-fly { position: absolute; z-index: 7; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none; animation: lvfly .7s cubic-bezier(.45,.05,.3,1) both; }
.lv-fly img { position: absolute; width: 22px; height: 22px; left: 0; top: 0; filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
.lv-fly img:nth-child(2) { top: -3px; } .lv-fly img:nth-child(3) { top: -6px; }
.lv-fly.out { animation-duration: .9s; }
@keyframes lvfly { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
.lv-early { display: flex; flex-direction: column; gap: 4px; }
.lv-early .tiny { text-align: center; }
.lv-pre-b { opacity: .8; font-size: 13px; }
.lv-pre-b.on { opacity: 1; background: rgba(6,212,127,.16); box-shadow: inset 0 0 0 2px #06d47f; color: inherit; }
.lv-wait.col { flex-direction: column; gap: 8px; text-align: center; padding: 4px 0; }
.lv-tb { text-align: center; margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .lv-fly, .lv-banner, .lv-tag.bank { animation: none; } .lv-fly { display: none; } }
.lv-pot:empty { display: none; }
.lv-seat .lv-won { top: -26px; }
.lv-seat.me .lv-cards.mine { margin-bottom: -16px; }
.lv-center { top: 46%; }
/* private game sheet: title stacked on the left like the other setup sheets; choices share the row evenly */
.pl-setup.lv-mk .cu-step { flex-direction: column; align-items: flex-start; gap: 2px; padding-right: 44px; }
.lv-mk .seg.sm { display: flex; }
.lv-mk .seg.sm > button { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; white-space: normal; line-height: 1.15; padding-left: 4px; padding-right: 4px; }

/* =================== Live Hold'em (1365): the lobby in B1N0's own look; the table is the dark game screen, like the other Originals =================== */
.lv-app { position: relative; }
.lv-app.full { position: fixed; inset: 0; z-index: 45; margin: 0; border-radius: 0 !important; overflow-y: auto; overscroll-behavior: contain; background: var(--bg, #f3f4f1); padding: calc(10px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.lv-app.full > * { width: 100%; max-width: 620px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
@media (min-width: 760px) { .lv-app.full > .lv-table { max-width: 900px; } .lv-app.full .lv-felt { max-width: 860px; max-height: calc(100dvh - 230px); } }
html.lv-full-on body { overflow: hidden; }
html.lv-full-on .tabbar { display: none; }
.lv-load { padding: 8px; opacity: .5; }
/* round corner buttons (back, settings), as on the other games */
.lv-ib { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font: 800 18px/1 var(--font); -webkit-tap-highlight-color: transparent; }
.lv-ib svg { width: 20px; height: 20px; }
.lv-ib.sm { width: 34px; height: 34px; font-size: 20px; }
.lv-ib.lt { background: rgba(255,255,255,.92); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(14,22,48,.08), 0 6px 14px -8px rgba(14,22,48,.35); }
.lv-ib:active { transform: scale(.94); }
/* lobby: the top card */
.lv-head { position: relative; overflow: hidden; padding: 0 !important; min-height: 236px; display: flex; flex-direction: column; }
.lv-head-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 40%; }
.lv-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,248,242,.92) 0%, rgba(250,248,242,.6) 46%, rgba(250,248,242,0) 70%); pointer-events: none; }
.lv-head > :not(img) { position: relative; z-index: 1; }
.lv-head-top { display: flex; align-items: center; gap: 8px; padding: 12px 12px 0 14px; }
.lv-live { flex: 1; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.lv-head-t { padding: 14px 16px 0; max-width: 62%; }
.lv-head-t h2 { margin: 0; font-size: 26px; line-height: 1.05; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.lv-head-t small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.lv-head-b { margin: auto 12px 12px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px rgba(14,22,48,.06), 0 10px 20px -14px rgba(14,22,48,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lv-head-b .avatar { flex: none; width: 36px; height: 36px; overflow: hidden; } .lv-head-b .avatar img { width: 100%; height: 100%; object-fit: cover; }
.lv-head-b > span:not(.avatar) { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
.lv-head-b small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.lv-head-b b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
/* the tables, side by side: swipe */
.lv-car { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding: 0 16px; }
.lv-car::-webkit-scrollbar { display: none; }
.lv-tc { flex: 0 0 min(86%, 340px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 14px !important; box-sizing: border-box; }
.lv-car .lv-tc:only-child { flex-basis: 100%; }
.lv-tc-h { display: flex; align-items: center; gap: 10px; }
.lv-tc-h img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.lv-tc-h > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
.lv-tc-h b { font-size: 17px; font-weight: 800; } .lv-tc-h small { font-size: 12.5px; color: var(--muted); }
.lv-tc-h .pill { display: inline-flex; align-items: center; white-space: nowrap; }
.lv-tc-f { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.lv-tc-f b { color: var(--ink); font-variant-numeric: tabular-nums; }
.lv-dots { display: flex; justify-content: center; gap: 6px; margin-top: -4px; }
.lv-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(14,22,48,.2); transition: width .2s, background .2s; cursor: pointer; }
.lv-dots i.on { width: 18px; background: var(--ink); }
/* the table: back on the left, the name, settings on the right */
.lv-app .lv-table { gap: 10px; position: relative; }
.lv-app .lv-top { padding: 0 2px; }
.lv-app .lv-back { width: 40px; height: 40px; border-radius: 50%; }
@media (max-width: 759px) { .lv-app.full .lv-felt { aspect-ratio: 3 / 4.6; max-height: calc(100dvh - 240px); } }
/* empty chairs; the one picked shines */
/* the buy-in, over the felt */
@keyframes lvup { from { transform: translateY(30px); opacity: 0; } }
/* waiting for players: the dealer shuffles */
.lv-shuf { display: block; width: 88px; height: 88px; object-fit: contain; margin: 0 auto 4px; animation: lvbob 1.6s ease-in-out infinite; }
@keyframes lvbob { 50% { transform: translateY(-4px) rotate(-2deg); } }
.lv-ell i { font-style: normal; animation: lvell 1.2s infinite; } .lv-ell i:nth-child(2) { animation-delay: .2s; } .lv-ell i:nth-child(3) { animation-delay: .4s; }
@keyframes lvell { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
#lv-inv { display: flex; align-items: center; justify-content: center; gap: 8px; }
#lv-inv svg { width: 20px; height: 20px; }
/* your turn */
@keyframes lvbuzz { 20% { transform: translateX(-2px) rotate(-4deg); } 40% { transform: translateX(2px) rotate(4deg); } 60% { transform: translateX(-2px) rotate(-4deg); } 80% { transform: translateX(2px) rotate(4deg); } }
/* the site's one button look, recoloured for the dark table */
/* the table growing out of the card */
/* settings and buy-in sheets: dark like the other games' menus */
/* Back to table: follows you round the app while you're seated */
.lv-pill { position: fixed; z-index: 41; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(14,22,48,.08), 0 14px 30px -10px rgba(14,22,48,.45); cursor: pointer; animation: lvpill .3s cubic-bezier(.2,.8,.2,1) both; font: inherit; text-align: left; }
@keyframes lvpill { from { transform: translate(-50%, 20px); opacity: 0; } }
.lv-pill img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.lv-pill span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.lv-pill b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-pill small { font-size: 12px; color: #04a867; font-weight: 700; font-variant-numeric: tabular-nums; }
.lv-pill i { font-style: normal; font-size: 20px; color: var(--muted); margin-left: 2px; }
.lv-pill.turn { background: #ffdf50; color: #2a1d00; box-shadow: 0 0 0 4px rgba(255,223,80,.3), 0 14px 30px -10px rgba(0,0,0,.4); }
.lv-pill.turn small, .lv-pill.turn i { color: #2a1d00; }
@media (prefers-reduced-motion: reduce) { .lv-shuf, .lv-ell i, .lv-yt-i { animation: none; } }

/* ---- 1367: the table in the app's own look (clean, light), the felt the one green thing; cards and chips that move ---- */
.lv-app:has(> .lv-table) { background: rgba(255,255,255,.72); border-radius: 28px; padding: 12px; box-shadow: inset 0 0 0 1px rgba(14,22,48,.06), 0 18px 40px -28px rgba(14,22,48,.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lv-app.full:has(> .lv-table) { background: var(--bg, #f3f4f1); }
.lv-app .lv-table .lv-top-t { align-items: center; text-align: center; }
.lv-app .lv-table .lv-top-t b { font-size: 17px; font-weight: 800; color: var(--ink); }
.lv-app .lv-table .lv-top-t small { color: var(--muted); }
.lv-app .lv-table .lv-ib { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(14,22,48,.08), 0 6px 14px -8px rgba(14,22,48,.35); }
/* the felt: drawn, never stretched; a colour per table */
.lv-app .lv-felt { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.lv-oval { position: absolute; inset: 9% 9% 10%; border-radius: 999px; background: radial-gradient(120% 80% at 50% 42%, var(--f1) 0%, var(--f2) 70%, var(--f3) 100%); box-shadow: inset 0 0 0 1.5px var(--fl), 0 0 0 9px var(--rim), 0 0 0 10px rgba(255,255,255,.12), 0 22px 40px -16px rgba(14,22,48,.55); pointer-events: none; }
[data-lvl=lo] { --f1: #3fd598; --f2: #1fa56c; --f3: #168a59; --rim: #12382a; --fl: rgba(255,255,255,.28); }
[data-lvl=mid] { --f1: #2f8a5e; --f2: #1a6544; --f3: #134d34; --rim: #101a15; --fl: rgba(229,185,60,.55); }
[data-lvl=hi] { --f1: #2a3b34; --f2: #16211c; --f3: #0e1512; --rim: #0a0a0a; --fl: rgba(229,185,60,.85); }
@media (min-width: 760px) { .lv-oval { inset: 10% 7% 11%; } }
.lv-center { z-index: 1; }
/* board: big, clean cards */
.lv-board .lv-c { width: 12.5cqw; max-width: 62px; border-radius: 8px; box-shadow: 0 6px 12px -6px rgba(0,0,0,.6); }
.lv-board .lv-c.slot { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18); }
.lv-pot { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; background: rgba(0,0,0,.35); color: #fff; font-size: 13px; }
.lv-pot img { width: 24px; height: 24px; object-fit: contain; }
.lv-pot:not(:has(img)) { padding-left: 12px; }
/* seats: a clean round picture, name and chips on a white tag */
.lv-app .lv-seat { width: 24cqw; max-width: 110px; }
.lv-app .lv-av { padding: 3px; background: #fff; box-shadow: 0 6px 14px -6px rgba(14,22,48,.5); }
.lv-app .lv-av .avatar { width: 48px; height: 48px; }
.lv-app .lv-nm { margin-top: -8px; background: #fff; color: var(--ink); border-radius: 12px; padding: 3px 10px 2px; box-shadow: 0 6px 14px -8px rgba(14,22,48,.5); }
.lv-app .lv-nm b { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.lv-app .lv-nm small { font-size: 13px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.lv-app .lv-seat.me .lv-nm { background: var(--ink); } .lv-app .lv-seat.me .lv-nm b { color: rgba(255,255,255,.7); } .lv-app .lv-seat.me .lv-nm small { color: #06d47f; }
.lv-app .lv-seat.win .lv-nm { background: #ffdf50; } .lv-app .lv-seat.win .lv-nm small, .lv-app .lv-seat.win .lv-nm b { color: #2a1d00; }
.lv-app .lv-seat.turn .lv-av { background: conic-gradient(#06d47f calc(var(--p) * 360deg), rgba(14,22,48,.12) 0); padding: 4px; }
.lv-app .lv-seat.turn .lv-av.low { background: conic-gradient(#ff5a5a calc(var(--p) * 360deg), rgba(14,22,48,.12) 0); }
/* everyone else's two cards, tucked beside their picture */
.lv-app .lv-seat .lv-cards[class*=side-] { position: absolute; top: 2px; margin: 0; z-index: 2; gap: 0; transition: transform .35s ease, opacity .35s ease; }
.lv-app .lv-cards.side-r { left: calc(50% + 14px); } .lv-app .lv-cards.side-l { right: calc(50% + 14px); }
.lv-app .lv-seat .lv-cards[class*=side-] .lv-c { width: 22px; max-width: 22px; border-radius: 4px; }
.lv-app .lv-seat .lv-cards[class*=side-] .lv-c + .lv-c { margin-left: -10px; }
.lv-app .lv-seat.folded .lv-cards[class*=side-] { opacity: 0; transform: translateY(-8px) scale(.8); }
.lv-app .lv-seat.folded { opacity: .55; }
/* a hand shown at the end: the cards come out bigger */
.lv-app .lv-seat:not(.folded) .lv-cards[class*=side-]:has(.lv-c img:not([src*="back"])) .lv-c { width: 30px; max-width: 30px; }
/* my hand: big, under the felt */
.lv-myhand { display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 0; height: 0; margin-top: -6px; position: relative; transition: height .3s ease; }
.lv-myhand.on { height: 92px; }
.lv-myhand .lv-cards { display: flex; margin: 0; }
.lv-myhand .lv-cards .lv-c { width: 66px; max-width: 66px; border-radius: 9px; box-shadow: 0 10px 20px -8px rgba(14,22,48,.55); }
.lv-myhand .lv-cards .lv-c:nth-child(1) { transform: rotate(-6deg) translateX(6px); } .lv-myhand .lv-cards .lv-c:nth-child(2) { transform: rotate(6deg) translateX(-6px) translateY(2px); }
.lv-myhand .lv-cards .lv-c.dealt { animation: lvhand .45s cubic-bezier(.2,.8,.3,1) both; animation-delay: var(--dd, 0ms); }
@keyframes lvhand { from { transform: translateY(-140px) scale(.5) rotate(-20deg); opacity: 0; } 60% { opacity: 1; } }
.lv-myhand .lv-str { position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 99px; background: var(--ink); color: #06d47f; }
.lv-myhand.folded .lv-c { filter: grayscale(.8) brightness(.8); opacity: .6; transform: translateY(8px); transition: all .3s; }
/* empty seats */
.lv-app .lv-seat.empty:not(.off) { width: 48px; height: 48px; border: 2px dashed rgba(14,22,48,.25); background: rgba(255,255,255,.85); color: var(--ink); border-radius: 50%; box-shadow: 0 6px 14px -8px rgba(14,22,48,.4); gap: 0; }
.lv-app .lv-seat.empty span { font: 800 20px/1 var(--font); color: #04a867; }
.lv-app .lv-seat.empty small { position: absolute; top: calc(100% + 3px); font-size: 11px; font-weight: 800; color: var(--ink); white-space: nowrap; background: #fff; padding: 1px 7px; border-radius: 8px; }
.lv-app .lv-seat.empty.pick { border: 0; background: #06d47f; box-shadow: 0 0 0 4px rgba(6,212,127,.3); } .lv-app .lv-seat.empty.pick span { color: #04301d; }
.lv-app .lv-seat.empty.off { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.06); }
/* the buy-in over the felt: an app card */
.lv-buyp { position: absolute; z-index: 8; left: -4px; right: -4px; bottom: -4px; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.06), 0 -18px 40px -14px rgba(14,22,48,.45); animation: lvup .28s cubic-bezier(.2,.8,.2,1) both; color: var(--ink); }
.lv-buyp-h { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--muted); }
.lv-buyp-h .lv-ib { background: rgba(14,22,48,.06); color: var(--ink); box-shadow: none; }
.lv-buyp-a { display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.lv-buyp-a b { font-size: 40px; font-weight: 900; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.lv-buyp-a i { font-style: normal; font-weight: 800; color: var(--muted); font-size: 16px; }
.lv-buyp input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 8px 0; border-radius: 4px; background: linear-gradient(90deg, #06d47f var(--p, 50%), rgba(14,22,48,.1) var(--p, 50%)); }
.lv-buyp input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 2px #06d47f, 0 4px 10px rgba(14,22,48,.3); cursor: pointer; }
.lv-buyp input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #06d47f; cursor: pointer; }
.lv-buyp-m { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: -6px; font-variant-numeric: tabular-nums; }
.lv-buyp .lv-pa button.on { border-color: #06d47f; background: rgba(6,212,127,.1); }
/* waiting */
.lv-w-t { display: block; font-size: 16px !important; font-weight: 800; color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.lv-w-s { display: block; margin-top: 3px; font-size: 12px; color: rgba(255,255,255,.85); }
.lv-inv { display: flex; align-items: center; gap: 12px; padding: 4px 4px 10px; }
.lv-inv img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.lv-inv span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); line-height: 1.35; }
.lv-inv b { color: var(--ink); font-size: 15px; }
.lv-app .lv-table .lv-wait .small, .lv-app .lv-bar > .small, .lv-app .lv-table .tiny.muted { color: var(--muted); text-align: center; }
/* your turn */
.lv-yt { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 8px 14px 8px 8px; border-radius: 16px; background: #ffdf50; color: #2a1d00; animation: lvup .25s ease-out both; }
.lv-yt.bank { background: #ff9e5a; }
.lv-yt-i { width: 38px; height: 38px; object-fit: contain; flex: none; animation: lvbuzz .5s ease-in-out 3; }
@keyframes lvbuzz { 20% { transform: translateX(-2px) rotate(-4deg); } 40% { transform: translateX(2px) rotate(4deg); } 60% { transform: translateX(-2px) rotate(-4deg); } 80% { transform: translateX(2px) rotate(4deg); } }
.lv-yt-t { flex: 1; display: flex; flex-direction: column; line-height: 1.2; } .lv-yt-t b { font-size: 16px; } .lv-yt-t small { font-size: 12px; opacity: .8; }
.lv-yt em { font-style: normal; font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; } .lv-yt em.low { color: #c4202e; }
.lv-app .lv-acts .btn { height: 56px; }
.lv-app .lv-fold { color: #c0392b; }
/* bets in front of the players; chips flying */
.lv-app .lv-bet { background: #fff; padding: 2px 9px 2px 2px; box-shadow: 0 4px 10px -6px rgba(14,22,48,.5); }
.lv-app .lv-bet b { color: var(--ink); }
/* lobby: the same drawn table, small */
.lv-mini { position: relative; height: 0; padding-bottom: 56%; margin: 4px 6px 6px; }
.lv-mini .lv-oval { inset: 13% 9%; box-shadow: inset 0 0 0 1px var(--fl), 0 0 0 6px var(--rim), 0 14px 24px -12px rgba(14,22,48,.5); }
.lv-mini-b { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font-size: 15px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.3); font-variant-numeric: tabular-nums; }
.lv-mini-p { position: absolute; left: 50%; top: 62%; transform: translate(-50%, -50%); font-style: normal; font-size: 11.5px; font-weight: 800; color: #2a1d00; background: #ffdf50; padding: 2px 9px; border-radius: 9px; white-space: nowrap; }
.lv-ms { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.lv-ms .avatar { width: 34px; height: 34px; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 6px 10px -4px rgba(14,22,48,.4); }
.lv-ms .avatar img { width: 100%; height: 100%; object-fit: cover; }
.lv-ms.me .avatar { box-shadow: 0 0 0 3px #06d47f, 0 6px 10px -4px rgba(14,22,48,.4); }
.lv-ms.open { background: #fff; border: 2px dashed rgba(14,22,48,.22); box-sizing: border-box; font: 800 16px/1 var(--font); color: #04a867; }
/* the card growing into the table */
.lv-zoom { position: fixed; z-index: 47; pointer-events: none; background: var(--bg, #f3f4f1); box-shadow: 0 30px 60px -20px rgba(14,22,48,.45); overflow: hidden; }
.lv-zoom .lv-oval { inset: 12% 10%; }
/* the settings sheet: the app's own sheet */
.lv-set-h { display: flex; align-items: center; gap: 12px; } .lv-set-h h2 { margin: 0; font-size: 20px; }
.lv-set-h img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.lv-set-h small { color: var(--muted); font-size: 12.5px; }
.lv-set-a { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.lv-set-a button { min-height: 46px; padding: 8px 10px; border: 0; border-radius: 12px; background: rgba(14,22,48,.05); color: var(--ink); font: 700 13px var(--font); cursor: pointer; }
.lv-rules { display: grid; gap: 8px; }
.lv-rules > div { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(14,22,48,.04); }
.lv-rules i { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 12.5px var(--font); font-style: normal; background: rgba(6,212,127,.14); color: #04a867; }
.lv-rules span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.45; color: var(--muted); }
.lv-rules b { color: var(--ink); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .lv-yt-i, .lv-myhand .lv-c.dealt { animation: none; } }
.lv-oval { border-radius: 50%; }
/* settings: the choices in even rows */
.lv-set .seg.lv-steps, .lv-set #lv-dk { display: grid; gap: 4px; padding: 4px; }
.lv-set .seg.lv-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lv-set #lv-dk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lv-set .seg.lv-steps > button, .lv-set #lv-dk > button { min-width: 0; justify-content: center; text-align: center; padding-left: 4px; padding-right: 4px; white-space: nowrap; }
.lv-set .pl-lbl { margin-top: 4px; }
/* 1368: the tables are pictures again (Higgsfield), filling the space; the card spots sit on the felt like printed lines */
.lv-app .lv-felt { aspect-ratio: 3 / 4.6; max-height: max(420px, calc(100dvh - 360px)); }
.lv-felt .lv-oval, .lv-zoom .lv-oval { inset: 0; border-radius: 0; box-shadow: none; background: center / 100% 100% no-repeat; filter: drop-shadow(0 18px 24px rgba(14,22,48,.35)); }
.lv-zoom .lv-oval { inset: 6% 10%; }
.lv-felt[data-lvl=lo] .lv-oval, .lv-zoom[data-lvl=lo] .lv-oval { background-image: url(/img/lv/table-lo.svg); }
.lv-felt[data-lvl=mid] .lv-oval, .lv-zoom[data-lvl=mid] .lv-oval { background-image: url(/img/lv/table-mid.svg); }
.lv-felt[data-lvl=hi] .lv-oval, .lv-zoom[data-lvl=hi] .lv-oval { background-image: url(/img/lv/table-hi.svg); }
.lv-app .lv-board .lv-c.slot { background: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); border-radius: 7px; }
@media (min-width: 760px) { /* full screen on a computer: the wide table */
  .lv-app.full .lv-felt { aspect-ratio: 16 / 9; max-height: calc(100dvh - 260px); }
  .lv-app.full .lv-felt[data-lvl=lo] .lv-oval { background-image: url(/img/lv/table-low.svg); }
  .lv-app.full .lv-felt[data-lvl=mid] .lv-oval { background-image: url(/img/lv/table-midw.svg); }
  .lv-app.full .lv-felt[data-lvl=hi] .lv-oval { background-image: url(/img/lv/table-hiw.svg); }
}
@media (min-width: 760px) { .lv-app:not(.full) .lv-felt { aspect-ratio: 3 / 4.6; max-height: max(460px, calc(100dvh - 330px)); } }
.lv-mini { padding-bottom: 54%; }
.lv-mini .lv-oval { inset: 0; border-radius: 0; box-shadow: none; background: center / 100% 100% no-repeat; filter: drop-shadow(0 10px 14px rgba(14,22,48,.3)); }
.lv-mini[data-lvl=lo] .lv-oval { background-image: url(/img/lv/table-low.svg); } .lv-mini[data-lvl=mid] .lv-oval { background-image: url(/img/lv/table-midw.svg); } .lv-mini[data-lvl=hi] .lv-oval { background-image: url(/img/lv/table-hiw.svg); }
.lv-mini-b { top: 32%; font-size: 14px; }
.lv-mini-p { top: 72%; }
.lv-app .lv-seat.empty.off { visibility: hidden; }
/* 1370: cards always on the felt, seats inside the rim */
.lv-app .lv-center { width: 72%; }
.lv-app .lv-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3%; width: min(80%, 300px); }
.lv-app .lv-board .lv-c { width: auto; max-width: none; aspect-ratio: 5 / 7; }
.lv-app .lv-center:has(.lv-shuf) .lv-board { display: none; }
.lv-app .lv-shuf { width: 72px; height: 72px; }
.lv-app .lv-seat.low { flex-direction: column-reverse; }
.lv-app .lv-seat.low .lv-nm { margin: 0 0 -8px; }
.lv-app .lv-seat.low .lv-av { z-index: 1; }
.lv-app .lv-seat.low .lv-cards[class*=side-] { top: auto; bottom: 2px; }
/* the table box always has the drawing's own shape, so seats land exactly on it */
.lv-app .lv-felt { --fh: max(420px, calc(100dvh - 360px)); width: min(100%, calc(var(--fh) * 300 / 460)); max-width: none; max-height: none; aspect-ratio: 300 / 460; margin: 0 auto; }
@media (max-width: 759px) { .lv-app.full .lv-felt { --fh: calc(100dvh - 240px); aspect-ratio: 300 / 460; max-height: none; } }
@media (min-width: 760px) {
  .lv-app:not(.full) .lv-felt { --fh: max(460px, calc(100dvh - 330px)); aspect-ratio: 300 / 460; max-height: none; }
  .lv-app.full .lv-felt { --fh: calc(100dvh - 260px); width: min(100%, calc(var(--fh) * 480 / 270)); aspect-ratio: 480 / 270; max-height: none; max-width: none; }
}
/* each seat is placed by the centre of its picture, so pictures sit evenly inside the rim */
.lv-app .lv-seat { transform: translate(-50%, -27px); }
.lv-app .lv-seat.low { transform: translate(-50%, calc(-100% + 27px)); }
.lv-app .lv-seat.empty { transform: translate(-50%, -50%); }
/* 1371: a clean round "+" for an open seat */
.lv-app .lv-felt .lv-seat.empty:not(.off) { box-sizing: border-box; padding: 0 !important; width: 50px !important; height: 50px !important; min-height: 0 !important; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.28), 0 10px 18px -8px rgba(14,22,48,.55); }
.lv-app .lv-felt .lv-seat.empty span { font: 800 22px/1 var(--font); color: #06b36c; }
.lv-app .lv-felt .lv-seat.empty small { top: calc(100% + 6px); background: rgba(0,0,0,.4); color: #fff; padding: 1px 8px; }
.lv-app .lv-felt .lv-seat.empty.pick { background: #06d47f; box-shadow: 0 0 0 4px rgba(6,212,127,.35), 0 10px 18px -8px rgba(14,22,48,.55); }
.lv-app .lv-felt .lv-seat.empty.pick span { color: #04301d; }
.lv-mini-b { top: 50%; }
/* 1373: the small table flies straight onto the real one */
.lv-zoom { position: fixed; z-index: 47; pointer-events: none; background: none !important; box-shadow: none !important; overflow: visible; }
.lv-zoom .lv-oval { inset: 0 !important; }
.lv-felt.zooming { visibility: hidden; }
/* 1375: the lobby's table cards */
.lv-tc { gap: 12px; }
.lv-tc-h { gap: 10px; }
.lv-tc-h > b { flex: 1; font-size: 18px; font-weight: 800; }
.lv-tc-h .pill { font-size: 12px; }
.lv-mini { margin: 6px 10% 8px; padding-bottom: 50%; }
.lv-md { position: absolute; transform: translate(-50%, -50%); width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); background: rgba(255,255,255,.12); }
.lv-ms { width: 28px; height: 28px; } .lv-ms .avatar { width: 28px; height: 28px; box-shadow: 0 0 0 2px #fff, 0 4px 8px -3px rgba(14,22,48,.45); }
.lv-ms.me .avatar { box-shadow: 0 0 0 2px #06d47f, 0 4px 8px -3px rgba(14,22,48,.45); }
.lv-tc-s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 4px; border-radius: 14px; background: rgba(14,22,48,.035); }
.lv-tc-s span { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.2; min-width: 0; }
.lv-tc-s small { font-size: 11px; font-weight: 600; color: var(--muted); }
.lv-tc-s b { font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-tc .btn.block { height: 48px; font-size: 15.5px; }
/* each level its own touch */
.lv-tc-h img { width: 38px; height: 38px; padding: 3px; border-radius: 12px; box-sizing: border-box; }
.lv-tc-lo .lv-tc-h img { background: linear-gradient(180deg, #f6e3c3, #e6c48f); }
.lv-tc-mid .lv-tc-h img { background: linear-gradient(180deg, #2b2b2b, #0e0e0e); box-shadow: inset 0 0 0 1.5px #d9b45a; }
.lv-tc-hi .lv-tc-h img { background: linear-gradient(180deg, #f3d98d, #cfa64a); }
.card.lv-tc-hi { box-shadow: inset 0 0 0 1.5px rgba(207,166,74,.75), 0 18px 34px -24px rgba(120,90,20,.55) !important; }
.lv-mini-p { top: 50%; }
/* 1377: the level icons stand on their own (no badge behind) */
.lv-tc .lv-tc-h img, .lv-tc-lo .lv-tc-h img, .lv-tc-mid .lv-tc-h img, .lv-tc-hi .lv-tc-h img { width: 40px; height: 40px; padding: 0; background: none; box-shadow: none; border-radius: 0; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(14,22,48,.18)); }
.lv-mini[data-lvl=lo] .lv-oval { background-image: url(/img/lv/table-lol.svg); } .lv-mini[data-lvl=mid] .lv-oval { background-image: url(/img/lv/table-midl.svg); } .lv-mini[data-lvl=hi] .lv-oval { background-image: url(/img/lv/table-hil.svg); }
/* a hand on: the pot takes the middle, no logo behind it */
.lv-mini[data-lvl=lo]:has(.lv-mini-p) .lv-oval { background-image: url(/img/lv/table-lon.svg); } .lv-mini[data-lvl=mid]:has(.lv-mini-p) .lv-oval { background-image: url(/img/lv/table-midn.svg); } .lv-mini[data-lvl=hi]:has(.lv-mini-p) .lv-oval { background-image: url(/img/lv/table-hin.svg); }
/* =================== Live Dominoes (1380): the same lobby and table, tiles instead of cards =================== */
.lv-games { margin: 0; padding: 2px 0; }
.lv-sec { display: flex; flex-direction: column; gap: 8px; }
.lv-sec + .lv-sec { margin-top: 10px; }
.lv-sec-h { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
.lv-sec-h img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(14,22,48,.18)); }
.lv-sec-h b { flex: 1; font-size: 17px; font-weight: 800; }
/* a tile */
.dm-t { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 2px rgba(0,0,0,.28)); }
.dm-t .dm-f { fill: #fbf8ef; stroke: rgba(14,22,48,.2); stroke-width: 2; }
.dm-t .dm-d { stroke: rgba(14,22,48,.34); stroke-width: 3; stroke-linecap: round; }
.dm-t .dm-k { fill: #c9a24a; }
.dm-t .dm-p circle { fill: #141a2e; }
.dm-t.back .dm-f { fill: #17251e; stroke: rgba(255,255,255,.3); } .dm-t.back .dm-d { stroke: rgba(201,162,74,.75); }
/* the felt: no logo under the tiles */
.lv-app .lv-felt.dm[data-lvl=lo] .lv-oval { background-image: url(/img/lv/table-lod.svg); }
.lv-app .lv-felt.dm[data-lvl=mid] .lv-oval { background-image: url(/img/lv/table-midd.svg); }
.lv-app .lv-felt.dm[data-lvl=hi] .lv-oval { background-image: url(/img/lv/table-hid.svg); }
@media (min-width: 760px) {
  .lv-app.full .lv-felt.dm[data-lvl=lo] .lv-oval { background-image: url(/img/lv/table-lon.svg); }
  .lv-app.full .lv-felt.dm[data-lvl=mid] .lv-oval { background-image: url(/img/lv/table-midn.svg); }
  .lv-app.full .lv-felt.dm[data-lvl=hi] .lv-oval { background-image: url(/img/lv/table-hin.svg); }
  .lv-app.full .dm-line { left: 16%; right: 16%; top: 24%; bottom: 26%; }
}
.dm-line { position: absolute; left: 12%; right: 12%; top: 23%; bottom: 25%; z-index: 1; }
.lv-felt.dm.n4 .dm-line { left: 21%; right: 21%; }
.dm-at { position: absolute; transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease; }
.dm-at .dm-t.new { animation: dmin .42s cubic-bezier(.2,.9,.3,1.25) both; }
@keyframes dmin { from { transform: scale(1.5) translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.dm-at[data-end] { cursor: pointer; z-index: 2; }
.dm-at[data-end]::after { content: ''; position: absolute; inset: -4px; border-radius: 9px; box-shadow: 0 0 0 3px #06d47f, 0 0 16px rgba(6,212,127,.6); animation: dmglow 1s ease-in-out infinite; }
@keyframes dmglow { 50% { opacity: .4; } }
.dm-endb { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); font-style: normal; font-size: 10.5px; font-weight: 800; background: #06d47f; color: #04301d; padding: 1px 8px; border-radius: 99px; white-space: nowrap; }
/* the middle */
.dm-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78%; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; z-index: 3; pointer-events: none; color: #f3f4f1; font-size: 13px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.dm-mid .lv-w-t { color: #fff; font-size: 15px; }
.dm-mid .lv-w-s { color: rgba(255,255,255,.8); }
.dm-shuf { width: 64px !important; height: 64px !important; object-fit: contain; }
.dm-first { background: rgba(5,10,8,.62); padding: 5px 12px; border-radius: 99px; font-weight: 700; font-size: 12.5px; text-shadow: none; }
.dm-mid .lv-banner { background: rgba(5,10,8,.9); flex-direction: column; align-items: center; gap: 2px; border-radius: 18px; padding: 9px 18px 10px; max-width: 86%; text-shadow: none; }
.dm-mid .lv-banner b { max-width: none; font-size: 17px !important; white-space: normal; }
.dm-mid .lv-banner small { font-size: 11px; }
.dm-mid .dm-gb.won { box-shadow: inset 0 0 0 2px #ffdf50, 0 0 34px rgba(255,223,80,.55); }
/* the players */
.lv-app .dm-seat { transform: translate(-50%, -50%); width: auto; max-width: 46%; }
.lv-app .dm-seat .lv-av .avatar { width: 44px; height: 44px; }
.lv-app .dm-seat.dm-pb { flex-direction: column-reverse; }
.lv-app .dm-seat.dm-pb .lv-nm { margin: 0 0 -8px; } .lv-app .dm-seat.dm-pb .lv-av { z-index: 1; }
.lv-app .dm-seat.dm-pt { transform: translate(-50%, -30px); }
.dm-seat .dm-backs, .dm-seat .dm-shown { order: 5; margin-top: 4px; }
.dm-seat .lv-tag { order: 6; margin-top: 3px; }
.dm-backs { display: flex; gap: 2px; align-items: center; }
.dm-backs .dm-t { width: 10px; height: 20px; }
.dm-backs b { font-size: 10px; color: #fff; margin-left: 2px; }
.dm-shown { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; max-width: 150px; animation: lvup .3s ease-out both; }
.dm-shown .dm-t { width: 13px; height: 26px; }
.dm-pl .dm-backs, .dm-pr .dm-backs { display: none; }
.dm-pl .dm-shown, .dm-pr .dm-shown { display: grid; grid-template-columns: repeat(2, 13px); }
.dm-tm { position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; }
.dm-tm.us { background: #06d47f; } .dm-tm.them { background: #ff6a4a; }
/* the pile (1 vs 1) */
.dm-pile { position: absolute; left: 13%; bottom: 13%; display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 2; }
.dm-pile:empty { display: none; }
.dm-pst { position: relative; width: 28px; height: 42px; }
.dm-pst .dm-t { position: absolute; left: 0; top: 0; width: 20px; height: 40px; }
.dm-pst .dm-t:nth-child(2) { left: 4px; top: -3px; } .dm-pst .dm-t:nth-child(3) { left: 8px; top: -6px; }
.dm-pile small { font-size: 10.5px; font-weight: 800; color: #fff; background: rgba(5,10,8,.6); padding: 1px 7px; border-radius: 99px; white-space: nowrap; }
/* the score, above the table */
.dm-score { display: flex; align-items: center; gap: 8px; margin: 4px auto 6px; width: 100%; max-width: 440px; }
.dm-score:empty { display: none; }
.dm-sc { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 10px; padding: 7px 11px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 16px -12px rgba(14,22,48,.5); }
.dm-sc small { grid-column: 1; font-size: 11.5px; font-weight: 700; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-sc i { grid-column: 1; grid-row: 2; height: 5px; border-radius: 9px; background: rgba(14,22,48,.08); position: relative; overflow: hidden; }
.dm-sc i::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: #06d47f; border-radius: inherit; transition: width .6s ease; }
.dm-sc.them i::after { background: #ff7a59; }
.dm-sc b { grid-column: 2; grid-row: 1 / 3; font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--ink); }
.dm-score em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--muted); white-space: nowrap; }
/* my tiles: the ones that fit stand up */
.dm-hand { display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 0; overflow: visible; margin-top: -2px; transition: height .3s ease; padding: 0 4px; }
.dm-hand.on { height: 84px; }
.lv-app .dm-hand .dm-my { box-sizing: border-box; flex: 0 1 36px; min-width: 16px; max-width: 36px; aspect-ratio: 1 / 2; height: auto !important; min-height: 0 !important; padding: 0 !important; margin: 0; border: 0; background: none !important; box-shadow: none !important; border-radius: 0; cursor: default; transition: transform .2s ease, opacity .2s ease, filter .2s ease; }
.lv-app .dm-hand .dm-my.ok { transform: translateY(-12px); cursor: pointer; }
.lv-app .dm-hand .dm-my.ok .dm-f { stroke: #06d47f; stroke-width: 7; }
.lv-app .dm-hand .dm-my.no { opacity: .5; filter: saturate(.5); }
.lv-app .dm-hand .dm-my.pick { transform: translateY(-18px); } .lv-app .dm-hand .dm-my.pick .dm-f { stroke: #f0b400; stroke-width: 9; }
.lv-app .dm-hand .dm-my.dealt { animation: lvhand .45s cubic-bezier(.2,.8,.3,1) both; animation-delay: var(--dd, 0ms); }
.dm-hand .dm-t { filter: drop-shadow(0 8px 10px rgba(14,22,48,.35)); }
/* after a game */
.dm-again { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dm-again .btn { flex: 1; }
.dm-again small { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 30px; text-align: right; }
/* the entry sheet */
.dm-jr { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 16px; background: rgba(14,22,48,.04); }
.dm-jr span { display: flex; flex-direction: column; }
.dm-jr small { font-size: 12px; color: var(--muted); }
.dm-jr b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.dm-jr span:last-child { text-align: right; } .dm-jr span:last-child b { color: #04844f; }
.dm-jr i { font-style: normal; color: var(--muted); font-size: 20px; }
.dm-hh .dm-t { width: 18px; height: 36px; }
@media (prefers-reduced-motion: reduce) { .dm-at .dm-t.new, .dm-at[data-end]::after, .dm-shown, .lv-app .dm-hand .dm-my.dealt { animation: none; } }
.lv-felt.dm.n4 .dm-line { top: 27%; bottom: 24%; }
.lv-felt.dm.n4 .dm-pt .dm-backs { display: none; }
/* =================== Play › Originals, cleaner (1381) =================== */
.ogcats { position: sticky; top: 8px; z-index: 6; }
.ogrow.flat { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0; margin: 0 0 22px; overflow: visible; }
.ogrow.flat .ogrow-h { padding: 0 4px 10px; }
.ogrow.flat .ogrow-s { margin: 0 -16px; padding: 2px 16px 8px; }
.ogrow-s .sl-chip .sl-chip-cover { aspect-ratio: 1 / 1; border-radius: 18px; box-shadow: 0 8px 18px -10px rgba(16,35,26,.5); }
.og-lvn { position: absolute; left: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: rgba(5,10,8,.62); padding: 3px 8px; border-radius: 99px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.og-lvn b { width: 7px; height: 7px; border-radius: 50%; background: #06d47f; box-shadow: 0 0 0 3px rgba(6,212,127,.25); }
.og-g { padding-bottom: 8px; }
.ogcats { background: rgba(246,247,243,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
/* =================== Dominoes, smoother (1381) =================== */
.dm-at { transition: left .38s cubic-bezier(.2,.8,.2,1), top .38s cubic-bezier(.2,.8,.2,1), width .38s ease, height .38s ease; will-change: left, top; }
.dm-at .dm-t.new, .dm-at[data-end]::after { animation: none; }
.dm-at.new .dm-t { filter: drop-shadow(0 0 7px rgba(255,223,80,.95)) drop-shadow(0 2px 2px rgba(0,0,0,.28)); transition: filter .6s ease; }
.dm-gh { position: absolute; z-index: 2; cursor: pointer; opacity: .55; transition: opacity .15s ease, transform .15s ease; }
.dm-gh .dm-t { filter: none; }
.dm-gh .dm-f { fill: rgba(255,255,255,.18); stroke: #06d47f; stroke-width: 6; stroke-dasharray: 16 10; }
.dm-gh .dm-d, .dm-gh .dm-k { opacity: .3; } .dm-gh .dm-p circle { fill: rgba(255,255,255,.55); }
.dm-gh.hot { opacity: 1; transform: scale(1.06); } .dm-gh.hot .dm-f { fill: rgba(6,212,127,.3); stroke-dasharray: none; }
.dm-gh i { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); font-style: normal; font-size: 10.5px; font-weight: 800; background: #06d47f; color: #04301d; padding: 1px 8px; border-radius: 99px; white-space: nowrap; }
.dm-gh:not(.hot) { animation: dmglow 1.2s ease-in-out infinite; }
.dm-drag { position: fixed; z-index: 80; pointer-events: none; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(var(--sc, 1)); transition: transform .16s ease; filter: drop-shadow(0 16px 18px rgba(0,0,0,.35)); }
.dm-drag .dm-t { width: 100%; height: 100%; }
.dm-drag.snap { transition: left .12s ease, top .12s ease, transform .16s ease; }
.dm-drag.back { transition: left .25s ease, top .25s ease, transform .25s ease; }
.lv-app .dm-hand .dm-my.ok { touch-action: none; }
.lv-app .dm-hand .dm-my.away { opacity: .2; transform: none; }
.lv-app .dm-hand .dm-my { transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s ease, filter .2s ease; }
/* the round's result: under the score, not over the tiles */
.dm-note { display: flex; justify-content: center; min-height: 0; margin: -2px 0 4px; }
.dm-note span { font-size: 12.5px; padding: 4px 12px; border-radius: 99px; background: rgba(14,22,48,.06); color: var(--ink); animation: lvup .3s ease-out both; }
.dm-note span.us { background: rgba(6,212,127,.16); color: #04603a; } .dm-note span.them { background: rgba(255,122,89,.16); color: #8a2c12; }
.dm-fly { position: fixed; z-index: 70; pointer-events: none; transform: translate(-50%, -50%); font-size: 28px; font-weight: 900; color: #04844f; text-shadow: 0 2px 10px rgba(255,255,255,.9); }
.dm-fly.them { color: #d4502c; }
/* the end of a game: one card on the table */
.dm-end { position: absolute; inset: 0; z-index: 8; display: none; align-items: center; justify-content: center; border-radius: 50% / 34%; background: rgba(8,20,14,.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: lvfade .3s ease both; overflow: visible; }
.dm-end.on { display: flex; }
@keyframes lvfade { from { opacity: 0; } }
.dm-e-card { position: relative; z-index: 2; width: min(82%, 300px); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 18px 16px; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); text-align: center; }
.dm-e-card.won { box-shadow: 0 0 0 3px #ffdf50, 0 30px 60px -20px rgba(0,0,0,.55), 0 0 60px rgba(255,223,80,.45); }
.dm-e-i { width: 64px; height: 64px; object-fit: contain; margin: -50px 0 2px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.dm-e-t { font-size: 24px; font-weight: 900; color: var(--ink); line-height: 1.1; }
.dm-e-sc { font-size: 15px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.dm-e-amt { font-size: 32px; font-weight: 900; color: #04844f; font-variant-numeric: tabular-nums; line-height: 1.1; margin-top: 4px; }
.dm-e-s { font-size: 12.5px; color: var(--muted); }
.dm-e-a { width: 100%; display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.dm-e-l { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted); padding: 6px; cursor: pointer; }
.dm-e-l span { font-variant-numeric: tabular-nums; margin-left: 4px; }
.dm-e-w { font-size: 13.5px; font-weight: 700; color: var(--ink); padding: 8px 0; }
.dm-e-w .lv-ell { color: #06d47f; }
.dm-coin { position: absolute; z-index: 1; width: 26px; height: 26px; object-fit: contain; pointer-events: none; }
/* the pile: on the felt */
.dm-pile { left: 18%; bottom: 17%; }
.lv-felt.dm.n4 .dm-pile { display: none; }
@media (prefers-reduced-motion: reduce) { .dm-at, .dm-drag, .dm-gh { transition: none; animation: none; } }

.dm-line { left: 7%; right: 7%; top: 21%; bottom: 23%; }
.lv-felt.dm.n4 .dm-line { left: 19%; right: 19%; top: 26%; }

/* 1383: game cards are full scenes with the title drawn in */
.ogcv.baked { background: #0b0f0d; }
.ogcv.baked::after { display: none; }

/* Quick games (1385): each screen wears its card. Title over the screen, the card's colours on the action key, one quiet light in the room */
.og-ttl { display: flex; justify-content: center; margin: -4px 0 6px; pointer-events: none; }
.og-ttl img { height: clamp(52px, 11vw, 84px); width: auto; filter: drop-shadow(0 6px 10px rgba(10, 6, 20, .35)); }
#oggame[data-g="coin"] .bb-row .og-cta .btn.accent { filter: hue-rotate(-105deg) saturate(1.25) drop-shadow(0 7px 9px rgba(214, 160, 40, .4)); }
#oggame[data-g="keno"] .bb-row .og-cta .btn.accent { filter: hue-rotate(125deg) saturate(1.1) drop-shadow(0 7px 9px rgba(120, 60, 200, .4)); color: #fff; }
#oggame[data-g="plinko"] .bb-row .og-cta .btn.accent { filter: hue-rotate(25deg) saturate(1.1) drop-shadow(0 7px 9px rgba(20, 170, 160, .4)); }
.kn-grid button span { color: #3a1d5c; }
.kn-grid button.on::before { box-shadow: inset 0 0 0 2.5px #b27cff; }
.og-stage.g-coin::after, .og-stage.g-keno::after, .og-stage.g-plinko::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; }
.og-stage.g-coin::after { background: radial-gradient(ellipse 30% 22% at 12% 18%, rgba(255, 180, 70, .28), transparent 70%), radial-gradient(ellipse 30% 22% at 88% 16%, rgba(255, 180, 70, .24), transparent 70%); animation: fflamp 3.2s ease-in-out infinite alternate; }
.og-stage.g-keno::after { background: radial-gradient(ellipse 26% 20% at 8% 70%, rgba(255, 170, 80, .3), transparent 70%), radial-gradient(ellipse 26% 20% at 92% 66%, rgba(255, 170, 80, .26), transparent 70%), radial-gradient(ellipse 40% 30% at 50% 40%, rgba(160, 90, 255, .12), transparent 70%); animation: fflamp 1.7s ease-in-out infinite alternate; }
.og-stage.g-plinko::after { background: linear-gradient(105deg, transparent 30%, rgba(120, 255, 230, .10) 45%, transparent 60%) 0 0 / 260% 100%, radial-gradient(ellipse 60% 25% at 50% 100%, rgba(60, 220, 200, .16), transparent 70%); animation: ffwater 7s linear infinite; }
@keyframes fflamp { 0% { opacity: .75; } 40% { opacity: 1; } 55% { opacity: .82; } 100% { opacity: .95; } }
@keyframes ffwater { from { background-position: 130% 0, 0 0; } to { background-position: -130% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .og-stage.g-coin::after, .og-stage.g-keno::after, .og-stage.g-plinko::after { animation: none; } }
#oggame.sl-mode .og-ttl { display: none; }

/* ======================= Tómbola: Madame Mira's table (1387) ======================= */
.og-stage.tb-on { background: #1a0a22; }
.og-stage.tb-on::before, .og-stage.tb-on::after { display: none; }
.og-tb { position: absolute; inset: 0; overflow: hidden; color: #fff; font-family: var(--font); -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.tb-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.tb-motes, .tb-fly { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }
.tb-motes { z-index: 1; }
/* candles at the table's ends, their flames breathing */
.tb-cand { position: absolute; bottom: 25.2cqh; height: 33cqh; z-index: 2; pointer-events: none; filter: drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .5)); }
.tb-cand.l { left: -1.5cqw; } .tb-cand.r { right: -1.5cqw; transform: scaleX(-1); }
.tb-flame { position: absolute; bottom: calc(25.2cqh + 27cqh); width: 22cqw; height: 16cqh; z-index: 2; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(closest-side, rgba(255, 196, 110, .55), rgba(255, 150, 60, .18) 55%, rgba(255, 150, 60, 0)); animation: tbflame 2.6s ease-in-out infinite alternate; }
.tb-flame.l { left: -4cqw; } .tb-flame.r { right: -4cqw; animation-delay: -1.3s; }
@keyframes tbflame { 0% { opacity: .7; transform: scale(.96); } 30% { opacity: 1; transform: scale(1.04); } 55% { opacity: .78; } 80% { opacity: .95; transform: scale(1); } 100% { opacity: .85; } }
/* the pay ladder: a gold-rimmed velvet bar, centred at the top. A gold marker glides to the step the hits have reached */
.tb-lad { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: min(74cqw, calc(100% - 96px)); height: 32px; z-index: 5; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; overflow: hidden;
  border: 1.5px solid transparent; background: linear-gradient(180deg, #34103f, #1a0624 70%, #12041a) padding-box, linear-gradient(90deg, #7a4a10, #f6d98a 22%, #a8721c 50%, #f6d98a 78%, #7a4a10) border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 230, 170, .18), inset 0 -6px 10px rgba(0, 0, 0, .35); }
.tb-lad::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none; background: linear-gradient(100deg, rgba(255, 230, 160, 0), rgba(255, 230, 160, .16), rgba(255, 230, 160, 0)); animation: tbsheen 5.5s ease-in-out infinite; }
@keyframes tbsheen { 0%, 55% { transform: translateX(0); } 100% { transform: translateX(480%); } }
.tb-lad.nudge { animation: tbnudge2 .4s; }
@keyframes tbnudge2 { 25% { transform: translateX(calc(-50% - 5px)); } 75% { transform: translateX(calc(-50% + 5px)); } }
@keyframes tbnudge { 25% { transform: translateX(-1.2cqw); } 75% { transform: translateX(1.2cqw); } }
.tb-say { position: relative; z-index: 1; font-weight: 800; font-size: 12px; color: #f0dcb0; letter-spacing: .01em; white-space: nowrap; }
.tb-steps { position: relative; z-index: 1; display: flex; width: 100%; height: 22px; justify-content: space-evenly; align-items: center; }
.tb-steps .mk { position: absolute; left: 0; top: 0; height: 22px; width: 0; border-radius: 999px; opacity: 0; background: linear-gradient(180deg, rgba(255, 214, 110, .28), rgba(255, 190, 60, .12)); box-shadow: inset 0 0 0 1px rgba(255, 220, 130, .9), 0 0 10px rgba(255, 200, 80, .45);
  transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), width .35s cubic-bezier(.3, 1.3, .5, 1), opacity .2s; }
.tb-steps .mk.in { opacity: 1; }
.tb-steps .st { position: relative; display: flex; align-items: baseline; gap: 3px; height: 22px; line-height: 22px; padding: 0 7px; font-weight: 800; font-size: 11.5px; color: #e4cff3; white-space: nowrap; font-variant-numeric: tabular-nums; animation: tbstin .35s ease-out both; animation-delay: var(--d, 0ms); transition: color .25s; }
@keyframes tbstin { from { opacity: 0; transform: translateY(4px); } }
.tb-steps .st i { font-style: normal; font-weight: 700; font-size: 9px; color: #9d7bb8; }
.tb-steps .st + .st::before { content: ''; position: absolute; left: -2px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: rgba(230, 190, 110, .45); }
.tb-steps .st.past { color: #d9b866; } .tb-steps .st.past i { color: #b8964f; }
.tb-steps .st.on { color: #ffe6a0; } .tb-steps .st.on i { color: #f0cf7a; }
.tb-steps .st.up { animation: tbstup .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tbstup { 40% { transform: scale(1.18); } }
@container (max-width: 360px) { .tb-steps .st { padding: 0 4px; font-size: 10.5px; } .tb-steps .st i { font-size: 8.5px; } }
.og-tb.still .tb-lad::after { animation: none; display: none; }
@media (prefers-reduced-motion: reduce) { .tb-lad::after { display: none; } }
/* the board: 40 cards on the velvet */
.tb-grid { position: absolute; left: 14cqw; right: 14cqw; top: 11.4cqh; height: 41.5cqh; z-index: 3; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(5, 1fr); gap: 1cqh 1.3cqw; }
.tbc { position: relative; height: 100%; aspect-ratio: 2 / 3; justify-self: center; border: 0; padding: 0; background: none; cursor: pointer; perspective: 60cqw; container-type: size; transition: transform .18s cubic-bezier(.3, 1.5, .5, 1); }
.tbc .in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.3, 1.35, .5, 1); }
.tbc .f, .tbc .k { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 7%; background: url(/img/og/tb-card.webp?a=1) center / 100% 100% no-repeat; box-shadow: 0 3cqh 4cqh rgba(0, 0, 0, .45); }
.tbc .k { background-image: url(/img/og/tb-gold.webp?a=1); transform: rotateY(180deg); box-shadow: 0 0 22cqw rgba(255, 214, 100, .95), 0 3cqh 4cqh rgba(0, 0, 0, .45); }
.tbc img { position: absolute; left: 13%; top: 22%; width: 74%; height: 66%; object-fit: contain; pointer-events: none; }
.tbc em { position: absolute; left: 0; right: 0; top: 3.2%; text-align: center; font: 900 17cqh/1 var(--font); font-style: normal; color: #4a2470; }
.tbc .k em { color: #5a3300; }
.tbc:active { transform: scale(.93); }
.tbc.on { transform: translateY(-.6cqh) scale(1.08); z-index: 2; }
.tbc.on .f { box-shadow: 0 0 0 6cqw #c79bff, 0 0 26cqw rgba(190, 130, 255, .95), 0 3cqh 4cqh rgba(0, 0, 0, .5); animation: tbpick 2.4s ease-in-out infinite; }
@keyframes tbpick { 50% { box-shadow: 0 0 0 6cqw #e2c6ff, 0 0 40cqw rgba(210, 160, 255, 1), 0 3cqh 4cqh rgba(0, 0, 0, .5); } }
.tbc.pk { animation: tbpk .32s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tbpk { 0% { transform: scale(.85); } 100% { transform: translateY(-.6cqh) scale(1.08); } }
.tbc.no { animation: tbnudge .35s; }
.tbc.hit { z-index: 3; } .tbc.hit .in { transform: rotateY(180deg) scale(1.1); }
.tbc.dr:not(.hit) .f { filter: saturate(.55) brightness(.8); }
.tbc .bead { position: absolute; right: -8%; bottom: -5%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffbe0, #ffd45a 35%, #c07a12 75%, #7a4306); box-shadow: 0 0 0 4cqw rgba(170, 110, 240, .55); z-index: 2; pointer-events: none; animation: tbbead .3s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 2cqh 2cqh rgba(0, 0, 0, .6)); }
@keyframes tbbead { from { transform: scale(1.8); opacity: .3; } }
.og-tb.done .tbc:not(.dr):not(.on) { opacity: .5; }
.og-tb.done .tbc.on:not(.hit) .f { animation: none; box-shadow: 0 0 0 6cqw rgba(199, 155, 255, .6), 0 3cqh 4cqh rgba(0, 0, 0, .45); }
.og-tb.busy .tbc, .og-tb.autoing .tbc { cursor: default; }
/* her crystal ball, on the table */
.tb-orbx { position: absolute; left: 50%; bottom: 27.4cqh; width: 25cqw; aspect-ratio: 300 / 384; transform: translateX(-50%); z-index: 4; pointer-events: none; }
.tb-globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; filter: drop-shadow(0 1.2cqh 1.2cqh rgba(0, 0, 0, .55)); }
.tb-mist { position: absolute; left: 4%; top: 3%; width: 92%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; z-index: 3; mix-blend-mode: multiply; opacity: .55; transition: opacity .4s; }
.tb-mist i { position: absolute; inset: -20%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(180, 110, 255, 0), rgba(180, 110, 255, .7), rgba(255, 210, 120, .45), rgba(180, 110, 255, 0) 60%, rgba(120, 80, 255, .55), rgba(180, 110, 255, 0)); filter: blur(3cqw); animation: tbswirl 9s linear infinite; }
.tb-mist i + i { animation-duration: 13s; animation-direction: reverse; opacity: .7; }
@keyframes tbswirl { to { transform: rotate(360deg); } }
.tb-orbx.charge .tb-mist { opacity: .95; } .tb-orbx.charge .tb-mist i { animation-duration: 1.4s; } .tb-orbx.charge .tb-mist i + i { animation-duration: 2s; }
.tb-orbx.charge .tb-globe { filter: drop-shadow(0 0 3cqw rgba(190, 130, 255, .85)) drop-shadow(0 1.2cqh 1.2cqh rgba(0, 0, 0, .55)); }
.tb-orbx.tense { animation: tbtense .38s ease-in-out; }
@keyframes tbtense { 50% { transform: translateX(-50%) scale(1.06); } }
.tb-vis { position: absolute; left: 4%; top: 3%; width: 92%; aspect-ratio: 1; border-radius: 50%; z-index: 4; display: grid; place-items: center; font: 900 8.4cqw/1 var(--font); color: #fff; text-shadow: 0 .25cqw 0 rgba(40, 8, 70, .7); opacity: 0; isolation: isolate; }
.tb-vis::before { content: ''; position: absolute; inset: 16%; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(58, 18, 96, .92), rgba(58, 18, 96, .75) 55%, rgba(58, 18, 96, 0)); }
.tb-vis.in { animation: tbvis .3s ease-out forwards; }
.tb-vis.win { color: #ffd970; font-size: 5.6cqw; text-shadow: 0 .25cqw 0 rgba(60, 20, 0, .8); }
.tb-vis.win::before { background: radial-gradient(closest-side, rgba(52, 14, 80, .94), rgba(52, 14, 80, .78) 55%, rgba(52, 14, 80, 0)); }
.tb-vis.lose { color: #eadcf5; font-size: 4.4cqw; }
@keyframes tbvis { from { opacity: 0; transform: scale(.6); filter: blur(1cqw); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
.tb-ob { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffbe0, #ffd45a 35%, #c07a12 75%, #7a4306); box-shadow: 0 0 0 .35cqw rgba(190, 130, 255, .7), 0 0 2.4cqw rgba(255, 210, 110, .95); will-change: transform; }
.tb-spark { position: absolute; left: -1cqw; top: -1cqw; width: 2cqw; height: 2cqw; border-radius: 50%; background: radial-gradient(#fff6c8, #ffc83d 60%, rgba(255, 200, 61, 0)); pointer-events: none; }
/* left of the ball: how many picked and Clear. Right of it: the last few rounds */
.tb-side { position: absolute; bottom: 29cqh; width: 25cqw; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: .7cqh; }
.tb-side.l { left: 13cqw; opacity: 0; transition: opacity .25s; } .tb-side.l.has { opacity: 1; }
.tb-side.r { right: 13cqw; }
.tb-cnt { font-weight: 900; font-size: clamp(10px, 3.4cqw, 15px); color: #ffe7a6; text-shadow: 0 1px 0 #000; }
.tb-clr { border: 0; border-radius: 99px; padding: .5cqh 2.6cqw; font: 800 clamp(9px, 2.8cqw, 13px) var(--font); color: #f3dcff; background: rgba(30, 8, 40, .7); box-shadow: inset 0 0 0 1px rgba(230, 190, 120, .55); cursor: pointer; }
.tb-clr:disabled { opacity: .4; }
.tb-side.r span { display: block; min-width: 13cqw; text-align: center; padding: .3cqh 1.6cqw; border-radius: 99px; font-weight: 800; font-size: clamp(8px, 2.35cqw, 11px); color: #d9c3ea; background: rgba(30, 8, 40, .65); box-shadow: inset 0 0 0 1px rgba(200, 160, 255, .3); }
.tb-side.r span.w { color: #ffe08a; background: rgba(30, 8, 40, .75); box-shadow: inset 0 0 0 1px rgba(255, 214, 110, .8); }
.tb-side.r span:first-child { animation: tbpk2 .3s ease-out; }
@keyframes tbpk2 { from { transform: translateY(-1cqh); opacity: 0; } }
/* balance, bet, win: velvet panels in a gold rim */
.tb-hud { position: absolute; left: 3cqw; right: 3cqw; bottom: 19.4cqh; height: 7cqh; z-index: 5; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.6cqw; }
.tb-hud .h { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 99px; background: linear-gradient(#2d0f3d, #170620); box-shadow: inset 0 0 0 .4cqw #d9a84a, inset 0 0 0 .7cqw #6b3f10, inset 0 .8cqh 1.4cqh rgba(0, 0, 0, .5), 0 .6cqh 1cqh rgba(0, 0, 0, .45); }
.tb-hud small { font-size: clamp(7px, 2.1cqw, 10px); font-weight: 800; letter-spacing: .05em; color: #c9a2e8; line-height: 1.1; }
.tb-hud b { font-size: clamp(11px, 3.9cqw, 18px); font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff8d6 0%, #ffe07a 45%, #e9a521 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tb-hud .w.flash { animation: tbwflash .9s ease-out; }
@keyframes tbwflash { 0% { box-shadow: inset 0 0 0 .4cqw #fff2b0, 0 0 4cqw rgba(255, 210, 90, 1); } 100% { box-shadow: inset 0 0 0 .4cqw #d9a84a, inset 0 0 0 .7cqw #6b3f10, inset 0 .8cqh 1.4cqh rgba(0, 0, 0, .5), 0 .6cqh 1cqh rgba(0, 0, 0, .45); } }
/* the controls, like the slots */
.tb-ctl { position: absolute; left: 0; right: 0; bottom: .6cqh; height: 17cqh; z-index: 7; display: flex; align-items: center; justify-content: center; gap: 3.4cqw; }
.tb-b { position: relative; width: 12.5cqw; height: 12.5cqw; max-width: 60px; max-height: 60px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #ffe7a6;
  background: url(/img/og/tb-btn.webp?a=1) center / 100% 100% no-repeat; filter: drop-shadow(0 .6cqh .6cqh rgba(0, 0, 0, .55)); transition: transform .1s, filter .2s; }
.tb-b.sm { width: 10.5cqw; height: 10.5cqw; max-width: 50px; max-height: 50px; }
.tb-b svg { width: 46%; height: 46%; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.tb-b small { position: absolute; bottom: -2.5cqh; left: 50%; transform: translateX(-50%); font-size: clamp(8px, 2.3cqw, 10.5px); font-weight: 900; letter-spacing: .06em; color: rgba(255, 231, 166, .85); }
.tb-b:active, .tb-play:active { transform: scale(.92); }
.tb-b:disabled { filter: saturate(.3) brightness(.6); cursor: default; }
.tb-play { position: relative; width: 22cqw; height: 22cqw; max-width: 108px; max-height: 108px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: url(/img/og/tb-spin.webp?a=1) center / 112% 112% no-repeat; filter: drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); transition: transform .1s, filter .2s; animation: tbbreathe 2.4s ease-in-out infinite; }
.tb-play b { font: 900 clamp(11px, 3.6cqw, 17px)/1 var(--font); color: #fff; letter-spacing: .04em; text-shadow: 0 1px 0 #000, 0 0 1.4cqw rgba(0, 0, 0, .9); transform: translateY(7.4cqw); }
.og-tb.autoing .tb-play b { transform: none; font-size: clamp(16px, 6cqw, 28px); }
.tb-play.dead { filter: saturate(.4) brightness(.7) drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); animation: none; }
.og-tb.busy .tb-play { animation: none; filter: brightness(.85) drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); }
@keyframes tbbreathe { 50% { filter: drop-shadow(0 0 2.6cqw rgba(200, 140, 255, .85)) drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); } }
.tb-pop { position: absolute; right: 4cqw; bottom: 18cqh; z-index: 9; padding: 1.4cqh 3cqw; border-radius: 14px; background: rgba(24, 6, 32, .95); box-shadow: inset 0 0 0 1px rgba(230, 190, 120, .5), 0 10px 24px rgba(0, 0, 0, .5); color: #f3dcff; text-align: center; font-size: 13px; }
.tb-pop div { display: flex; gap: 8px; margin: 8px 0 6px; } .tb-pop button { border: 0; border-radius: 10px; padding: 8px 12px; font: 900 14px var(--font); color: #2a1200; background: linear-gradient(#ffe9a0, #e3a52a); cursor: pointer; }
.tb-pop span { font-size: 11px; color: #bba0cc; }
.tb-sheet { position: absolute; inset: 0; z-index: 20; background: rgba(10, 2, 16, .6); display: grid; place-items: center; }
.tb-sheet .in { position: relative; width: 84%; max-width: 360px; padding: 18px 18px 14px; border-radius: 18px; background: linear-gradient(#2a0d38, #16051f); box-shadow: inset 0 0 0 1.5px #c99a42, 0 18px 40px rgba(0, 0, 0, .6); color: #f3dcff; }
.tb-sheet h3 { margin: 0 0 10px; font-size: 18px; color: #ffe08a; }
.tb-sheet .row { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 11px 2px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); background: none; color: inherit; font: 700 15px var(--font); cursor: pointer; }
.tb-sheet .row i { width: 40px; height: 22px; border-radius: 99px; background: rgba(255, 255, 255, .18); position: relative; transition: background .2s; }
.tb-sheet .row i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.tb-sheet .row i.on { background: #c08a2a; } .tb-sheet .row i.on::after { transform: translateX(18px); }
.tb-sheet p { margin: 10px 0 4px; font-size: 13px; line-height: 1.45; color: #cdb6dc; }
.tb-sheet .x { position: absolute; right: 8px; top: 6px; width: 34px; height: 34px; border: 0; background: none; color: #f3dcff; font-size: 24px; cursor: pointer; }
.og-tb.still .tb-flame, .og-tb.still .tb-mist i, .og-tb.still .tb-play, .og-tb.still .tbc.on .f { animation: none; }
@media (prefers-reduced-motion: reduce) { .tb-flame, .tb-mist i, .tb-play, .tbc.on .f { animation: none !important; } }

/* ======================= Fortuna Flip: the plaza at sunset (1390) ======================= */
.og-stage.fl-on { background: #2a1420; }
.og-stage.fl-on::before, .og-stage.fl-on::after { display: none; }
.og-fl { --warm: 0; position: absolute; inset: 0; overflow: hidden; color: #fff; font-family: var(--font); -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.og-fl.shake { animation: ogshake .38s; }
.fl-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.fl-sun { position: absolute; left: 50%; top: 64%; width: 70cqw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen; z-index: 1;
  background: radial-gradient(closest-side, rgba(255, 210, 120, calc(.35 + var(--warm) * .35)), rgba(255, 140, 60, calc(.12 + var(--warm) * .2)) 55%, rgba(255, 120, 40, 0)); animation: flsun 5s ease-in-out infinite alternate; transition: background .6s; }
@keyframes flsun { from { transform: translate(-50%, -50%) scale(.94); } to { transform: translate(-50%, -50%) scale(1.04); } }
.fl-motes, .fl-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
/* the lantern string, one lantern per step of the streak */
.fl-wire { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.fl-wire path { fill: none; stroke: rgba(30, 14, 10, .75); stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.fl-lants { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fl-lant { position: absolute; width: 5.2cqw; transform: translateX(-50%); transform-origin: 50% 0; animation: flsway 3.6s ease-in-out infinite alternate; animation-delay: var(--dl); }
.fl-lant img { display: block; width: 100%; filter: brightness(.5) saturate(.55); transition: filter .35s; }
.fl-lant b { position: absolute; left: 50%; top: 68%; width: 320%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; opacity: 0; mix-blend-mode: screen; background: radial-gradient(closest-side, rgba(255, 200, 110, .8), rgba(255, 150, 60, .25) 50%, rgba(255, 150, 60, 0)); transition: opacity .35s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.fl-lant.on img { filter: brightness(1.18) saturate(1.1) drop-shadow(0 0 1.2cqw rgba(255, 190, 90, .9)); }
.fl-lant.on b { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: flglow 1.8s ease-in-out infinite alternate; }
.fl-lant.out img { animation: flout .6s; }
@keyframes flsway { from { transform: translateX(-50%) rotate(-2.4deg); } to { transform: translateX(-50%) rotate(2.4deg); } }
@keyframes flglow { from { opacity: .8; } to { opacity: 1; } }
@keyframes flout { 0% { filter: brightness(1.2); } 30% { filter: brightness(.4); } 50% { filter: brightness(.9); } 100% { filter: brightness(.5) saturate(.55); } }
/* the streak bar: the same build as Tómbola's, in plaza colours; the track slides to keep the next step in view */
.fl-bar { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: min(74cqw, calc(100% - 96px)); height: 32px; z-index: 6; box-sizing: border-box; padding: 0 6px; border-radius: 999px; overflow: hidden;
  border: 1.5px solid transparent; background: linear-gradient(180deg, #3a1a22, #200c14 70%, #170810) padding-box, linear-gradient(90deg, #7a4a10, #f6d98a 22%, #a8721c 50%, #f6d98a 78%, #7a4a10) border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 230, 170, .18), inset 0 -6px 10px rgba(0, 0, 0, .35); }
.fl-win { position: relative; height: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
.fl-bar::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none; background: linear-gradient(100deg, rgba(255, 230, 160, 0), rgba(255, 230, 160, .16), rgba(255, 230, 160, 0)); animation: tbsheen 5.5s ease-in-out infinite; }
.fl-track { position: relative; display: flex; align-items: center; height: 100%; width: max-content; padding: 0 10px; transition: transform .45s cubic-bezier(.3, 1.1, .5, 1); }
.fl-track .mk { position: absolute; left: 0; top: 50%; height: 22px; margin-top: -11px; width: 0; border-radius: 999px; opacity: 0; background: linear-gradient(180deg, rgba(255, 214, 110, .28), rgba(255, 190, 60, .12)); box-shadow: inset 0 0 0 1px rgba(255, 220, 130, .9), 0 0 10px rgba(255, 200, 80, .45);
  transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), width .35s cubic-bezier(.3, 1.3, .5, 1), opacity .2s; }
.fl-track .mk.in { opacity: 1; }
.fl-track .st { position: relative; display: flex; align-items: baseline; gap: 3px; height: 22px; line-height: 22px; padding: 0 8px; font-weight: 800; font-size: 11.5px; color: #e9d3c8; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .25s; }
.fl-track .st i { font-style: normal; font-weight: 700; font-size: 9px; color: #b08a7c; }
.fl-track .st + .st::before { content: ''; position: absolute; left: -2px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: rgba(230, 190, 110, .45); }
.fl-track .st.past { color: #d9b866; } .fl-track .st.past i { color: #b8964f; }
.fl-track .st.on { color: #ffe6a0; } .fl-track .st.on i { color: #f0cf7a; }
.fl-track .st.next { color: #fff; }
.fl-track .st.up { animation: tbstup .4s cubic-bezier(.3, 1.6, .5, 1); }
@container (max-width: 360px) { .fl-track .st { padding: 0 5px; font-size: 10.5px; } }
/* the coin hovers over the plaza, its shadow on the stones */
.fl-csh { position: absolute; left: 50%; bottom: 31.2cqh; width: 22cqw; height: 3.4cqw; transform: translateX(-50%); z-index: 3; pointer-events: none; animation: flshb 3s ease-in-out infinite alternate; }
.fl-csh i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 14, 6, .6), rgba(40, 14, 6, 0)); }
@keyframes flshb { from { transform: translateX(-50%) scale(1); opacity: 1; } to { transform: translateX(-50%) scale(.86); opacity: .8; } }
.fl-coinw { position: absolute; left: 50%; bottom: 35.5cqh; width: 27cqw; aspect-ratio: 1; transform: translateX(-50%); z-index: 5; perspective: 140cqw; pointer-events: none; animation: flhover 3s ease-in-out infinite alternate; }
@keyframes flhover { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-50%) translateY(-1.2cqh); } }
.fl-coin { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.fl-coin img, .fl-coin .e { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fl-coin .f { transform: translateZ(.7cqw); filter: drop-shadow(0 0 1.4cqw rgba(255, 200, 90, calc(.25 + var(--warm) * .6))); }
.fl-coin .b { transform: rotateX(180deg) translateZ(.7cqw); }
.fl-coin .e { backface-visibility: visible; -webkit-backface-visibility: visible; background: radial-gradient(closest-side, #8a5a12 92%, #5a3a08); }
.fl-coin .e:nth-of-type(-n + 3) { background: radial-gradient(closest-side, #8d939c 92%, #50555d); }
.fl-coin .e:nth-of-type(1) { transform: translateZ(-.6cqw); } .fl-coin .e:nth-of-type(2) { transform: translateZ(-.36cqw); } .fl-coin .e:nth-of-type(3) { transform: translateZ(-.12cqw); }
.fl-coin .e:nth-of-type(4) { transform: translateZ(.12cqw); } .fl-coin .e:nth-of-type(5) { transform: translateZ(.36cqw); } .fl-coin .e:nth-of-type(6) { transform: translateZ(.6cqw); }
.fl-glint { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; z-index: 2; pointer-events: none; }
.fl-glint::after { content: ''; position: absolute; top: -10%; bottom: -10%; left: -60%; width: 40%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 250, 220, .75), rgba(255, 255, 255, 0)); transform: skewX(-15deg); animation: flglint .65s ease-out forwards; }
@keyframes flglint { to { left: 130%; } }
.fl-call { position: absolute; left: 50%; top: 30%; transform: translateX(-50%); z-index: 6; pointer-events: none; font: 900 clamp(18px, 7.6cqw, 34px)/1 var(--font); letter-spacing: .02em; color: #fff; text-shadow: 0 .3cqw 0 rgba(60, 20, 0, .8), 0 0 2cqw rgba(0, 0, 0, .5); opacity: 0; }
.fl-call.in { animation: flcall 1s ease-out forwards; }
.fl-call.win { color: #ffe08a; } .fl-call.cash { color: #ffe08a; } .fl-call.lose { color: #f3e3dc; font-size: clamp(15px, 6cqw, 28px); }
@keyframes flcall { 0% { opacity: 0; transform: translate(-50%, 1.4cqh) scale(.8); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -1.4cqh); } }
/* Sol and Luna: tap one to call it and flip */
.fl-pick { position: absolute; bottom: 36cqh; width: 23cqw; z-index: 6; border: 0; padding: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .5cqh; color: #fff; transition: transform .15s, filter .2s; }
.fl-pick.h { left: 4cqw; } .fl-pick.t { right: 4cqw; }
.fl-pick img { width: 21cqw; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 .7cqw rgba(60, 24, 10, .75), 0 0 0 1.1cqw rgba(246, 217, 138, .9), 0 1.4cqh 2cqh rgba(0, 0, 0, .5); animation: flbob 3.2s ease-in-out infinite alternate; }
.fl-pick.t img { animation-delay: -1.6s; }
@keyframes flbob { from { transform: translateY(-.5cqh); } to { transform: translateY(.5cqh); } }
.fl-pick b { font: 900 clamp(12px, 4.2cqw, 19px)/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #ffe7b0; text-shadow: 0 1px 0 #3a1408, 0 0 1.4cqw rgba(0, 0, 0, .6); margin-top: .6cqh; }
.fl-pick small { font-size: clamp(8.5px, 2.5cqw, 11.5px); font-weight: 800; color: #f2d6c4; background: rgba(40, 14, 10, .62); padding: .2cqh 1.6cqw; border-radius: 99px; }
.fl-pick.last img { box-shadow: 0 0 0 .7cqw rgba(60, 24, 10, .75), 0 0 0 1.1cqw #ffe9a8, 0 0 3.6cqw rgba(255, 210, 110, .85), 0 1.4cqh 2cqh rgba(0, 0, 0, .5); }
.fl-pick:active { transform: scale(.94); }
.fl-pick.tap img { animation: fltap .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes fltap { 0% { transform: scale(.88); } 100% { transform: scale(1); } }
.og-fl.busy .fl-pick, .fl-pick:disabled { filter: brightness(.82); cursor: default; }
.og-fl.live:not(.busy) .fl-pick img { animation: flcallme 1.4s ease-in-out infinite; }
@keyframes flcallme { 50% { box-shadow: 0 0 0 .7cqw rgba(60, 24, 10, .75), 0 0 0 1.1cqw #ffe9a8, 0 0 4.4cqw rgba(255, 210, 110, .95), 0 1.4cqh 2cqh rgba(0, 0, 0, .5); } }
.fl-recent { position: absolute; left: 50%; bottom: 27.2cqh; transform: translateX(-50%); z-index: 4; display: flex; gap: 1cqw; pointer-events: none; }
.fl-recent img { width: 5cqw; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 .4cqh .6cqh rgba(0, 0, 0, .5); opacity: .92; }
.fl-recent img:first-child { animation: tbpk2 .3s ease-out; }
.fl-recent img:nth-child(n + 4) { opacity: .6; }
/* balance, bet, win */
.fl-hud { position: absolute; left: 3cqw; right: 3cqw; bottom: 19.4cqh; height: 7cqh; z-index: 6; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.6cqw; }
.fl-hud .h { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 99px; background: linear-gradient(#3e1a1c, #1f0b0e); box-shadow: inset 0 0 0 .4cqw #d9a84a, inset 0 0 0 .7cqw #6b3f10, inset 0 .8cqh 1.4cqh rgba(0, 0, 0, .5), 0 .6cqh 1cqh rgba(0, 0, 0, .45); }
.fl-hud small { font-size: clamp(7px, 2.1cqw, 10px); font-weight: 800; letter-spacing: .05em; color: #e0b8a0; line-height: 1.1; }
.fl-hud b { font-size: clamp(11px, 3.9cqw, 18px); font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff8d6 0%, #ffe07a 45%, #e9a521 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fl-hud .w.flash { animation: tbwflash .9s ease-out; }
/* controls */
.fl-ctl { position: absolute; left: 0; right: 0; bottom: .6cqh; height: 17cqh; z-index: 7; display: flex; align-items: center; justify-content: center; gap: 3.4cqw; }
.fl-b { position: relative; width: 12.5cqw; height: 12.5cqw; max-width: 60px; max-height: 60px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #ffe7c0;
  background: url(/img/og/fl-btn.webp?a=1) center / 100% 100% no-repeat; filter: drop-shadow(0 .6cqh .6cqh rgba(0, 0, 0, .55)); transition: transform .1s, filter .2s; }
.fl-b.sm { width: 10.5cqw; height: 10.5cqw; max-width: 50px; max-height: 50px; }
.fl-b svg { width: 46%; height: 46%; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.fl-b small { position: absolute; bottom: -2.5cqh; left: 50%; transform: translateX(-50%); font-size: clamp(8px, 2.3cqw, 10.5px); font-weight: 900; letter-spacing: .06em; color: rgba(255, 231, 200, .85); }
.fl-b.on { filter: drop-shadow(0 0 1.6cqw rgba(255, 210, 110, .9)); color: #ffe08a; }
.fl-b:active, .fl-main:active { transform: scale(.92); }
.fl-b:disabled { filter: saturate(.3) brightness(.6); cursor: default; }
.fl-main { position: relative; width: 23cqw; height: 23cqw; max-width: 112px; max-height: 112px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3cqh;
  background: url(/img/og/fl-big.webp?a=1) center / 100% 100% no-repeat; filter: drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); transition: transform .1s, filter .2s; }
.fl-main b { font: 900 clamp(11px, 3.7cqw, 17px)/1 var(--font); color: #fff; letter-spacing: .04em; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
.fl-main small { font: 800 clamp(9px, 2.8cqw, 13px)/1 var(--font); color: #ffe3b0; }
.fl-main.cash { animation: flcash 1.3s ease-in-out infinite; }
.fl-main.cash b { font-size: clamp(10px, 3.2cqw, 15px); }
@keyframes flcash { 50% { filter: drop-shadow(0 0 2.8cqw rgba(255, 210, 110, .95)) drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); } }
.fl-main:disabled { filter: brightness(.85) drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); cursor: default; }
.og-fl.autoing .fl-main b { font-size: clamp(16px, 6cqw, 28px); }
.fl-pop { position: absolute; right: 4cqw; bottom: 18cqh; z-index: 9; width: min(78cqw, 300px); box-sizing: border-box; padding: 12px 14px; border-radius: 14px; background: rgba(36, 12, 14, .96); box-shadow: inset 0 0 0 1px rgba(230, 190, 120, .5), 0 10px 24px rgba(0, 0, 0, .5); color: #f5e2d6; font-size: 13px; }
.fl-pop .lb { display: block; margin-top: 8px; font-size: 11px; font-weight: 800; color: #c9a08a; }
.fl-pop div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; } .fl-pop div button { flex: 1; border: 0; border-radius: 9px; padding: 7px 6px; font: 800 12.5px var(--font); color: #f5e2d6; background: rgba(255, 255, 255, .08); cursor: pointer; }
.fl-pop div button.on { color: #2a1200; background: linear-gradient(#ffe9a0, #e3a52a); }
.fl-pop .go { display: block; width: 100%; margin-top: 10px; border: 0; border-radius: 10px; padding: 9px; font: 900 14px var(--font); color: #2a1200; background: linear-gradient(#ffe9a0, #e3a52a); cursor: pointer; }
.fl-pop .nt { display: block; margin-top: 6px; font-size: 11px; color: #b99484; text-align: center; }
.og-fl.still .fl-coinw, .og-fl.still .fl-csh, .og-fl.still .fl-sun, .og-fl.still .fl-lant, .og-fl.still .fl-pick img, .og-fl.still .fl-bar::after, .og-fl.still .fl-main.cash { animation: none; }
@media (prefers-reduced-motion: reduce) { .fl-coinw, .fl-csh, .fl-sun, .fl-lant, .fl-pick img, .fl-bar::after, .fl-main.cash { animation: none !important; } }

/* ======================= Cascada: Madame Mira's grotto (1393) ======================= */
.og-stage.cs-on { background: #04201f; }
.og-stage.cs-on::before, .og-stage.cs-on::after { display: none; }
.og-cs { position: absolute; inset: 0; overflow: hidden; color: #fff; font-family: var(--font); -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.cs-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.cs-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
/* the waterfall shimmers; the lantern flickers */
.cs-fall { position: absolute; left: 50%; top: 4%; width: 5cqw; height: 64%; transform: translateX(-50%); z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .7;
  background: repeating-linear-gradient(180deg, rgba(190, 255, 245, 0) 0, rgba(190, 255, 245, .55) 3%, rgba(190, 255, 245, 0) 7%) 0 0 / 100% 40%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); animation: csfall .9s linear infinite; }
@keyframes csfall { to { background-position: 0 100%; } }
.cs-lamp { position: absolute; left: 7.5%; top: 63%; width: 26cqw; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; mix-blend-mode: screen; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 200, 110, .5), rgba(255, 160, 60, .14) 55%, rgba(255, 160, 60, 0)); animation: tbflame 2.2s ease-in-out infinite alternate; }
/* the top bar: the last results, newest sliding in at the left */
.cs-bar { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: min(74cqw, calc(100% - 96px)); height: 32px; z-index: 6; box-sizing: border-box; padding: 0 6px; border-radius: 999px; overflow: hidden;
  border: 1.5px solid transparent; background: linear-gradient(180deg, #0f3436, #082022 70%, #051617) padding-box, linear-gradient(90deg, #7a4a10, #f6d98a 22%, #a8721c 50%, #f6d98a 78%, #7a4a10) border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(200, 255, 245, .15), inset 0 -6px 10px rgba(0, 0, 0, .35); }
.cs-bar::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none; background: linear-gradient(100deg, rgba(200, 255, 240, 0), rgba(200, 255, 240, .14), rgba(200, 255, 240, 0)); animation: tbsheen 5.5s ease-in-out infinite; }
.cs-win { position: relative; display: flex; align-items: center; gap: 4px; height: 100%; overflow: hidden; padding-left: 4px; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%); }
.cs-say { width: 100%; text-align: center; font-weight: 800; font-size: 12px; color: #bfeee6; white-space: nowrap; }
.cs-r { flex: none; height: 20px; line-height: 20px; padding: 0 7px; border-radius: 999px; font-weight: 800; font-size: 11px; color: #bfe3dc; background: rgba(255, 255, 255, .06); font-variant-numeric: tabular-nums; }
.cs-r.w { color: #ffe08a; background: rgba(255, 200, 80, .12); box-shadow: inset 0 0 0 1px rgba(255, 214, 110, .7); }
.cs-r:first-child { animation: csin .35s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes csin { from { margin-left: -40px; opacity: 0; transform: scale(.7); } }
/* balance, bet, win */
.cs-hud { position: absolute; left: 3cqw; right: 3cqw; bottom: 19.4cqh; height: 7cqh; z-index: 6; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.6cqw; }
.cs-hud .h { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 99px; background: linear-gradient(#0f3a3a, #06201f); box-shadow: inset 0 0 0 .4cqw #d9a84a, inset 0 0 0 .7cqw #6b3f10, inset 0 .8cqh 1.4cqh rgba(0, 0, 0, .5), 0 .6cqh 1cqh rgba(0, 0, 0, .45); }
.cs-hud small { font-size: clamp(7px, 2.1cqw, 10px); font-weight: 800; letter-spacing: .05em; color: #9fd8cf; line-height: 1.1; }
.cs-hud b { font-size: clamp(11px, 3.9cqw, 18px); font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff8d6 0%, #ffe07a 45%, #e9a521 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-hud .w.flash { animation: tbwflash .9s ease-out; }
/* controls */
.cs-ctl { position: absolute; left: 0; right: 0; bottom: .6cqh; height: 17cqh; z-index: 7; display: flex; align-items: center; justify-content: center; gap: 3.4cqw; }
.cs-b { position: relative; width: 12.5cqw; height: 12.5cqw; max-width: 60px; max-height: 60px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #d8fff6;
  background: url(/img/og/cs-btn.webp?a=1) center / 100% 100% no-repeat; filter: drop-shadow(0 .6cqh .6cqh rgba(0, 0, 0, .55)); transition: transform .1s, filter .2s; }
.cs-b.sm { width: 10.5cqw; height: 10.5cqw; max-width: 50px; max-height: 50px; }
.cs-b svg { width: 46%; height: 46%; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.cs-b small { position: absolute; bottom: -2.5cqh; left: 50%; transform: translateX(-50%); font-size: clamp(8px, 2.3cqw, 10.5px); font-weight: 900; letter-spacing: .06em; color: rgba(216, 255, 246, .85); white-space: nowrap; }
.cs-b:active, .cs-main:active { transform: scale(.92); }
.cs-b:disabled { filter: saturate(.3) brightness(.6); cursor: default; }
.cs-main { position: relative; width: 23cqw; height: 23cqw; max-width: 112px; max-height: 112px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4cqh; touch-action: none;
  background: url(/img/og/cs-big.webp?a=1) center / 100% 100% no-repeat; filter: drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); transition: transform .1s, filter .2s; animation: csbreathe 2.6s ease-in-out infinite; }
.cs-main b { font: 900 clamp(12px, 4.2cqw, 19px)/1 var(--font); color: #fff; letter-spacing: .05em; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
.cs-main small { font: 700 clamp(7.5px, 2.2cqw, 10px)/1 var(--font); color: #c6f3ea; }
.og-cs.autoing .cs-main b { font-size: clamp(16px, 6cqw, 28px); }
@keyframes csbreathe { 50% { filter: drop-shadow(0 0 2.6cqw rgba(110, 240, 220, .8)) drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); } }
.cs-pop { position: absolute; right: 4cqw; bottom: 18cqh; z-index: 9; padding: 1.4cqh 3cqw; border-radius: 14px; background: rgba(4, 28, 28, .96); box-shadow: inset 0 0 0 1px rgba(230, 190, 120, .5), 0 10px 24px rgba(0, 0, 0, .5); color: #d8fff6; text-align: center; font-size: 13px; }
.cs-pop div { display: flex; gap: 8px; margin: 8px 0 6px; } .cs-pop button { border: 0; border-radius: 10px; padding: 8px 12px; font: 900 14px var(--font); color: #2a1200; background: linear-gradient(#ffe9a0, #e3a52a); cursor: pointer; }
.cs-pop span { font-size: 11px; color: #8fc4bb; }
.og-cs.still .cs-fall, .og-cs.still .cs-lamp, .og-cs.still .cs-bar::after, .og-cs.still .cs-main { animation: none; }
@media (prefers-reduced-motion: reduce) { .cs-fall, .cs-lamp, .cs-bar::after, .cs-main { animation: none !important; } }

/* 1394: icons instead of words on the big buttons; Fortuna Flip's chosen side stands out */
.fl-main .ic, .cs-main .ic { width: 44%; height: 44%; color: #fff3d6; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .55)); }
.cs-main .ic { color: #e9fff9; width: 46%; height: 46%; }
.fl-main .i-cash { display: none; } .fl-main.cash .i-flip { display: none; } .fl-main.cash .i-cash { display: block; width: 38%; height: 38%; color: #ffe9a8; }
.fl-main small:empty, .fl-main b:empty, .cs-main b:empty { display: none; }
.fl-main small { margin-top: .2cqh; font-size: clamp(9px, 2.9cqw, 13.5px); font-weight: 900; color: #ffe9a8; }
.og-fl.autoing .fl-main .ic, .og-cs.autoing .cs-main .ic { display: none; }
.fl-pick { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), filter .25s, opacity .25s; }
.fl-pick:not(.last) { opacity: .78; filter: saturate(.75) brightness(.9); transform: scale(.93); }
.fl-pick.last { transform: scale(1.06); }
.fl-pick.last img { box-shadow: 0 0 0 .7cqw rgba(60, 24, 10, .8), 0 0 0 1.5cqw #ffe39a, 0 0 0 2cqw rgba(255, 200, 90, .45), 0 0 6cqw rgba(255, 205, 100, .95), 0 1.4cqh 2cqh rgba(0, 0, 0, .5); animation: flchosen 1.8s ease-in-out infinite; }
.fl-pick.t.last img { box-shadow: 0 0 0 .7cqw rgba(30, 34, 44, .8), 0 0 0 1.5cqw #eef3fb, 0 0 0 2cqw rgba(210, 225, 245, .45), 0 0 6cqw rgba(215, 230, 255, .95), 0 1.4cqh 2cqh rgba(0, 0, 0, .5); }
.fl-pick.last b { color: #fff4cc; text-shadow: 0 1px 0 #3a1408, 0 0 2cqw rgba(255, 210, 110, .9); }
.fl-pick.t.last b { color: #f4f8ff; text-shadow: 0 1px 0 #1c2230, 0 0 2cqw rgba(220, 235, 255, .9); }
.fl-pick.last::before { content: ''; position: absolute; top: -3.2cqh; left: 50%; width: 3.4cqw; height: 2.2cqw; transform: translateX(-50%); background: #ffe39a; clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 0 1cqw rgba(255, 210, 110, .9)); animation: flchev 1.2s ease-in-out infinite alternate; }
.fl-pick.t.last::before { background: #eef3fb; }
@keyframes flchosen { 50% { filter: brightness(1.12); } }
@keyframes flchev { to { transform: translate(-50%, .8cqh); } }
.og-fl.live:not(.busy) .fl-pick img { animation: none; }
.og-fl.live:not(.busy) .fl-pick.last img { animation: flchosen 1.8s ease-in-out infinite; }
.og-fl.still .fl-pick.last img, .og-fl.still .fl-pick.last::before { animation: none; }
@media (prefers-reduced-motion: reduce) { .fl-pick.last img, .fl-pick.last::before { animation: none !important; } }
.fl-pick.last::before { top: -4.6cqh; z-index: 2; }
/* the Quick games' covers move a little (1394): Flip's coin glints, Tómbola's ball swirls, Cascada's waterfall runs; stars twinkle */
.cvfx { position: absolute; left: 0; right: 0; top: 50%; aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; z-index: 1; }
.cvfx i { position: absolute; display: block; }
.cvfx-coin .g { left: 24.4%; top: 31.6%; width: 13%; height: 13%; border-radius: 50%; overflow: hidden; }
.cvfx-coin .g::before { content: ''; position: absolute; top: -20%; bottom: -20%; left: -50%; width: 38%; background: linear-gradient(100deg, rgba(255, 250, 220, 0), rgba(255, 250, 220, .75), rgba(255, 250, 220, 0)); animation: cvglint 3.4s ease-in-out infinite; }
@keyframes cvglint { 0%, 55% { transform: translateX(0); } 100% { transform: translateX(420%); } }
.cvfx-keno .m { left: 26.5%; top: 25.5%; width: 47%; height: 47%; border-radius: 50%; overflow: hidden; mix-blend-mode: screen; opacity: .45; }
.cvfx-keno .m::before { content: ''; position: absolute; inset: -25%; border-radius: 50%; background: conic-gradient(rgba(180, 110, 255, 0), rgba(190, 120, 255, .8), rgba(255, 210, 130, .45), rgba(180, 110, 255, 0) 55%, rgba(120, 80, 255, .6), rgba(180, 110, 255, 0)); filter: blur(5px); animation: tbswirl 5s linear infinite; }
.cvfx-plinko .w { left: 37%; width: 26%; top: 0; height: 22%; overflow: hidden; mix-blend-mode: screen; opacity: .8; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.cvfx-plinko .w::before { content: ''; position: absolute; left: 0; right: 0; top: -100%; height: 200%; background: repeating-linear-gradient(180deg, rgba(210, 255, 248, 0) 0, rgba(210, 255, 248, .7) 2.5%, rgba(210, 255, 248, 0) 6%); animation: cvfall 1.1s linear infinite; }
@keyframes cvfall { to { transform: translateY(50%); } }
.cvfx .tw { width: 3.2%; aspect-ratio: 1; background: radial-gradient(closest-side, #fff8dc, rgba(255, 230, 160, .6) 40%, rgba(255, 230, 160, 0)); border-radius: 50%; opacity: 0; animation: cvtw 2.8s ease-in-out infinite; }
.cvfx .t1 { left: 12%; top: 14%; } .cvfx .t2 { left: 84%; top: 46%; animation-delay: -1s; } .cvfx .t3 { left: 60%; top: 8%; animation-delay: -1.9s; }
.cvfx-plinko .tw { background: radial-gradient(closest-side, #eafffb, rgba(150, 255, 235, .6) 40%, rgba(150, 255, 235, 0)); }
.cvfx-keno .t1 { left: 20%; top: 26%; } .cvfx-keno .t2 { left: 78%; top: 30%; }
@keyframes cvtw { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .cvfx { display: none; } }
/* 1395: Flip and Cascada get gold medallion buttons like Tómbola's; the art is the button, no icon or word on it */
.fl-main { background: url(/img/og/fl-big.webp?a=2) center / 100% 100% no-repeat; width: 22cqw; height: 22cqw; max-width: 108px; max-height: 108px; }
.cs-main { background: url(/img/og/cs-big.webp?a=2) center / 100% 100% no-repeat; width: 22cqw; height: 22cqw; max-width: 108px; max-height: 108px; }
.fl-b { background-image: url(/img/og/fl-btn.webp?a=2); } .cs-b { background-image: url(/img/og/cs-btn.webp?a=2); }
.fl-main b, .cs-main b { font-size: clamp(16px, 6cqw, 28px); text-shadow: 0 2px 0 rgba(0, 0, 0, .75), 0 0 10px rgba(0, 0, 0, .8); }
.fl-main small { position: absolute; left: 50%; bottom: -1.6cqh; transform: translateX(-50%); margin: 0; padding: .3cqh 2.2cqw; border-radius: 999px; white-space: nowrap; background: linear-gradient(#3a1408, #200a04); box-shadow: inset 0 0 0 1.5px #e9c070, 0 2px 6px rgba(0, 0, 0, .5); color: #ffe9a8; font-size: clamp(10px, 3cqw, 14px); }
.fl-main.cash { animation: flcash 1.1s ease-in-out infinite; }
.og-fl.autoing .fl-main, .og-cs.autoing .cs-main { filter: brightness(.8) drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); }
/* 1396: bet, win and balance as plain text along the bottom edge (bet left, win centre, balance right); the five buttons sit just above */
.qg-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 6.4cqh; z-index: 8; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 4cqw; box-sizing: border-box; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .7)); }
.qg-strip span { display: flex; align-items: baseline; gap: 1.4cqw; white-space: nowrap; }
.qg-strip .l { justify-self: start; } .qg-strip .r { justify-self: end; } .qg-strip .c { justify-self: center; }
.qg-strip small { font: 800 clamp(8px, 2.5cqw, 11.5px)/1 var(--font); letter-spacing: .08em; color: rgba(255, 255, 255, .72); }
.qg-strip b { font: 900 clamp(11px, 3.6cqw, 17px)/1 var(--font); color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.qg-strip .c b { color: #ffe08a; }
.qg-strip .c.flash b { animation: qgwin .9s ease-out; }
@keyframes qgwin { 0% { text-shadow: 0 0 14px rgba(255, 214, 110, 1), 0 1px 2px rgba(0, 0, 0, .8); transform: scale(1.18); } 100% { text-shadow: 0 1px 2px rgba(0, 0, 0, .8); transform: scale(1); } }
.qg-strip .c b { display: inline-block; }
.tb-ctl, .fl-ctl, .cs-ctl { bottom: 7.2cqh; height: 15cqh; }
.tb-pop, .fl-pop, .cs-pop { bottom: 23cqh; }
/* the space the panels used goes back to the game */
.tb-grid { height: 43.5cqh; }
.tb-orbx { bottom: 24cqh; } .tb-side { bottom: 25.6cqh; } .tb-cand { bottom: 22cqh; } .tb-flame { bottom: calc(22cqh + 27cqh); }
.fl-coinw { bottom: 31.5cqh; } .fl-pick { bottom: 32cqh; } .fl-recent { bottom: 24cqh; }
/* 1398: label and amount the same size, a little smaller */
.qg-strip small, .qg-strip b { font-size: clamp(9.5px, 2.9cqw, 13px); line-height: 1; }
.qg-strip small { font-weight: 800; letter-spacing: .06em; }
.qg-strip span { gap: 1.2cqw; }
/* 1399: the flipped coin is the hero: bigger, tilted to show its two-tone rim, lit from behind, a trail and a flash when it lands */
.fl-coinw { width: 36cqw; bottom: 30cqh; perspective: 120cqw; }
.fl-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-8deg); animation: fltilt 4.2s ease-in-out infinite alternate; z-index: 1; }
@keyframes fltilt { from { transform: rotateX(16deg) rotateY(-10deg); } to { transform: rotateX(10deg) rotateY(10deg); } }
.og-fl.tossing .fl-tilt { animation: none; transform: rotateX(8deg); transition: transform .2s; }
.fl-coin .f { transform: translateZ(1cqw); filter: drop-shadow(0 0 1.6cqw rgba(255, 205, 100, .55)); }
.fl-coin .b { transform: rotateX(180deg) translateZ(1cqw); filter: drop-shadow(0 0 1.6cqw rgba(215, 230, 255, .55)); }
.fl-coin .e:nth-of-type(1) { transform: translateZ(-.9cqw); } .fl-coin .e:nth-of-type(2) { transform: translateZ(-.54cqw); } .fl-coin .e:nth-of-type(3) { transform: translateZ(-.18cqw); }
.fl-coin .e:nth-of-type(4) { transform: translateZ(.18cqw); } .fl-coin .e:nth-of-type(5) { transform: translateZ(.54cqw); } .fl-coin .e:nth-of-type(6) { transform: translateZ(.9cqw); }
.fl-halo { position: absolute; left: 50%; top: 50%; width: 175%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: 0; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 214, 120, .75), rgba(255, 170, 60, .3) 45%, rgba(255, 150, 60, 0)); animation: flhalo 3s ease-in-out infinite alternate; transition: background .5s; }
.og-fl.up-t .fl-halo { background: radial-gradient(closest-side, rgba(225, 238, 255, .75), rgba(170, 195, 255, .3) 45%, rgba(170, 195, 255, 0)); }
@keyframes flhalo { from { opacity: .75; transform: translate(-50%, -50%) scale(.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
.fl-burst { position: absolute; left: 50%; top: 50%; width: 240%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.3); border-radius: 50%; pointer-events: none; opacity: 0; z-index: 0; mix-blend-mode: screen;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 130, .55) 0deg 6deg, rgba(255, 220, 130, 0) 6deg 20deg); -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 70%); mask-image: radial-gradient(closest-side, #000 20%, transparent 70%); }
.og-fl.up-t .fl-burst { background: repeating-conic-gradient(from 0deg, rgba(225, 238, 255, .6) 0deg 6deg, rgba(225, 238, 255, 0) 6deg 20deg); }
.fl-burst.go { animation: flburst .7s ease-out; }
@keyframes flburst { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.35) rotate(0deg); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1) rotate(25deg); } }
.fl-ghost { position: absolute; inset: 4%; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle at 40% 35%, #fff6d0, #e6b94a 45%, #9aa3b5 100%); filter: blur(.6cqw); }
.fl-glint { z-index: 3; }
/* Sol and Luna read as buttons now: a little smaller, framed */
.fl-pick { width: 20cqw; bottom: 34cqh; }
.fl-pick.h { left: 3cqw; } .fl-pick.t { right: 3cqw; }
.fl-pick img { width: 17cqw; }
.fl-pick:not(.last) { opacity: .7; filter: saturate(.65) brightness(.82); }
.og-fl.still .fl-tilt, .og-fl.still .fl-halo { animation: none; }
@media (prefers-reduced-motion: reduce) { .fl-tilt, .fl-halo { animation: none !important; } }
/* 1400: slots and scratch cards like the Quick games: bet, win and balance as text along the bottom, buttons raised, no back button (the machines are pills above the game) */
.og-stage .sl-name[data-back], .og-stage .sc-back { display: none !important; }
.og-stage .sl-hud, .og-stage .sl.v3 .sl-hud, .og-stage .sc-hud { left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; height: 6.4cqh !important; z-index: 9; display: grid !important; grid-template-columns: 1fr auto 1fr !important; gap: 0 !important; align-items: center; padding: 0 4cqw; box-sizing: border-box; pointer-events: none;
  font-size: clamp(9.5px, 2.9cqw, 13px) !important; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .7)); }
.og-stage .sl-hud .hd, .og-stage .sc-hud .sc-hd { position: static !important; background: none !important; border: 0 !important; border-image: none !important; filter: none !important; box-shadow: none !important; min-width: 0; height: auto !important; width: auto !important; animation: none !important; }
.og-stage .sl-hud .hd:nth-child(1), .og-stage .sc-hud .sc-hd:nth-child(1) { justify-self: start; } .og-stage .sl-hud .hd:nth-child(2), .og-stage .sc-hud .sc-hd:nth-child(2) { justify-self: center; } .og-stage .sl-hud .hd:nth-child(3), .og-stage .sc-hud .sc-hd:nth-child(3) { justify-self: end; }
.og-stage .sl-hud .hd .in, .og-stage .sc-hud .sc-hd > span { position: static !important; inset: auto !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; display: flex !important; align-items: center; gap: 1.2cqw; white-space: nowrap; transform: none !important; }
.og-stage .qgl { font: 800 1em/1 var(--font) !important; letter-spacing: .06em; color: rgba(255, 255, 255, .72) !important; -webkit-text-fill-color: currentColor; background: none !important; text-shadow: none !important; }
.og-stage .sl-hud .hd b, .og-stage .sc-hud .sc-hd b { font: 900 1em/1 var(--font) !important; color: #fff !important; -webkit-text-fill-color: #fff; background: none !important; filter: none !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .8) !important; font-variant-numeric: tabular-nums; top: 0 !important; }
.og-stage .sc-hud .sc-hd.w b { color: #ffe08a !important; -webkit-text-fill-color: #ffe08a; }
.og-stage .sl-hud .sl-odo-l { display: none !important; }
.og-stage .sl-hud .sl-odo, .og-stage .sl.v3 .hd .sl-odo, .og-stage .sl.sl-al.v3 .hd .sl-odo { font-size: 1em !important; height: 1.2em !important; line-height: 1.2em !important; color: #ffe08a !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .8) !important; filter: none !important; top: 0 !important; }
.og-stage .sl.sl-al.v3 .hd .sl-odo .ods i, .og-stage .sl.sl-al.v3 .hd .sl-odo .odx { background: none !important; -webkit-text-fill-color: #ffe08a; color: #ffe08a !important; }
.og-stage .sl-ctl, .og-stage .sl.v3 .sl-ctl { bottom: 7cqh !important; height: 15cqh !important; }
.og-stage .sc-ctl { bottom: 7cqh !important; height: 14cqh !important; }
.og-stage .sc-hud .sc-hd, .og-stage .sc-hud .sc-hd > span, .og-stage .sl-hud .hd, .og-stage .sl-hud .hd .in { container-type: normal !important; flex-direction: row !important; overflow: visible !important; }
.og-stage .sc-hud .sc-hd > span, .og-stage .sl-hud .hd .in { align-items: baseline !important; }
.og-stage .sl-hud .sl-odo { align-self: center; }
.og-stage .sl-hud .sl-odo, .og-stage .sl-hud .sl-odo * { font-size: 1em !important; font-weight: 900 !important; font-family: var(--font) !important; }
.og-stage .sl-hud .sl-odo { position: relative; top: 0 !important; }
/* 1401: no words on the scratch card's main button (its picture shows buy or reveal; the words stay for screen readers) */
.og-stage .sc-buy b[data-buylab] { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; padding: 0 !important; margin: -1px !important; border: 0 !important; }

/* 1402: slot buttons in the Quick games' style: an ornate gold medallion with the machine's enamel colour, a clean white icon */
.og-stage .sl-ctl { gap: 3.4cqw !important; }
.og-stage .sl-spin { width: 22cqw !important; height: 22cqw !important; max-width: 108px !important; max-height: 108px !important; background: center / 100% 100% no-repeat !important; border: 0 !important; box-shadow: none !important; filter: drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); animation: none; transition: transform .1s, filter .2s; }
.og-stage .sl-spin img { display: none !important; }
.og-stage .sl-spin .arr { display: block !important; width: 40% !important; height: 40% !important; color: #fff !important; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.og-stage .sl.autoing .sl-spin .arr { display: none !important; }
.og-stage .sl-spin b { font-size: clamp(16px, 6cqw, 28px); }
.og-stage .sl-spin:active { transform: scale(.93); }
.og-stage .sl.busy .sl-spin { filter: brightness(.85) drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); }
.og-stage .sl:not(.busy) .sl-spin { animation: slmbreathe 2.6s ease-in-out infinite; }
@keyframes slmbreathe { 50% { filter: drop-shadow(0 0 2.4cqw rgba(var(--glow), .75)) drop-shadow(0 1cqh 1cqh rgba(0, 0, 0, .55)); } }
.og-stage .sl-b { background: center / 100% 100% no-repeat !important; border: 0 !important; box-shadow: none !important; color: #fff !important; filter: drop-shadow(0 .6cqh .6cqh rgba(0, 0, 0, .55)); }
.og-stage .sl-b svg { width: 44% !important; height: 44% !important; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
.og-stage .sl-b small { color: rgba(255, 255, 255, .85) !important; }
.og-stage .sl.turbo .sl-b[data-c="turbo"], .og-stage .sl.autoing .sl-b[data-c="auto"] { filter: drop-shadow(0 0 2cqw rgba(var(--glow), .95)) drop-shadow(0 .6cqh .6cqh rgba(0, 0, 0, .55)); }
.og-stage .sl-b:disabled { filter: saturate(.3) brightness(.6); }
@media (prefers-reduced-motion: reduce) { .og-stage .sl .sl-spin { animation: none !important; } }
.og-stage .sl.sl-al .sl-spin { background-image: url(/img/slots/sb-al.webp?a=1) !important; } .og-stage .sl.sl-al .sl-b { background-image: url(/img/slots/ss-al.webp?a=1) !important; }
.og-stage .sl.sl-pu .sl-spin { background-image: url(/img/slots/sb-pu.webp?a=1) !important; } .og-stage .sl.sl-pu .sl-b { background-image: url(/img/slots/ss-pu.webp?a=1) !important; }
.og-stage .sl.sl-ca .sl-spin { background-image: url(/img/slots/sb-ca.webp?a=1) !important; } .og-stage .sl.sl-ca .sl-b { background-image: url(/img/slots/ss-ca.webp?a=1) !important; }
.og-stage .sl.sl-vq .sl-spin { background-image: url(/img/slots/sb-vq.webp?a=1) !important; } .og-stage .sl.sl-vq .sl-b { background-image: url(/img/slots/ss-vq.webp?a=1) !important; }
.og-stage .sl.sl-ir .sl-spin { background-image: url(/img/slots/sb-ir.webp?a=1) !important; } .og-stage .sl.sl-ir .sl-b { background-image: url(/img/slots/ss-ir.webp?a=1) !important; }
.og-stage .sl.sl-jt .sl-spin { background-image: url(/img/slots/sb-jt.webp?a=1) !important; } .og-stage .sl.sl-jt .sl-b { background-image: url(/img/slots/ss-jt.webp?a=1) !important; }
.og-stage .sl.sl-cc .sl-spin { background-image: url(/img/slots/sb-cc.webp?a=1) !important; } .og-stage .sl.sl-cc .sl-b { background-image: url(/img/slots/ss-cc.webp?a=1) !important; }

/* ======================= La Sala B1N0: the table games (1405, blackjack first) ======================= */
.og-stage.ts-on { background: radial-gradient(120% 75% at 50% 38%, #0d3d29 0%, #072518 45%, #03110b 100%) !important; }
.og-stage.ts-on::before, .og-stage.ts-on::after { display: none !important; }
.ts-felt { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ts-felt::before { content: ''; position: absolute; inset: 0; opacity: .5; background: repeating-radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .012) 0 2px, rgba(0, 0, 0, .02) 2px 4px); }
.ts-felt::after { content: ''; position: absolute; left: -10%; right: -10%; top: 70%; height: 60%; border-radius: 50% 50% 0 0; border-top: .5cqw solid rgba(220, 180, 90, .35); box-shadow: 0 -1cqh 3cqh rgba(0, 0, 0, .35) inset; }
.ts-mark { position: absolute; left: 50%; top: 45.5%; width: 34cqw; transform: translate(-50%, -50%); opacity: .085; }
.ts-arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.ts-arc text { font-family: var(--font); font-weight: 900; letter-spacing: .14em; }
.ts-arc .t1 { font-size: 15px; fill: #e9c46a; opacity: .82; }
.ts-arc .t2 { font-size: 10.5px; fill: #7fe6bd; opacity: .7; letter-spacing: .2em; }
.ts-arc .ln { fill: none; stroke: rgba(233, 196, 106, .45); stroke-width: 1.2; stroke-dasharray: 2 5; }
.ts-bar { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: min(74cqw, calc(100% - 96px)); height: 32px; z-index: 6; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid transparent; background: linear-gradient(180deg, #0f2c20, #08180f 70%, #050f0a) padding-box, linear-gradient(90deg, #7a4a10, #f6d98a 22%, #a8721c 50%, #f6d98a 78%, #7a4a10) border-box; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.ts-bar span { font-weight: 800; font-size: 12px; color: #e8f6ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 360px) { .ts-bar span { font-size: 11px; } }
.og-stage.ts-on .bj-b { background-image: url(/img/og/ts-back.webp?a=1) !important; }
/* the moves: gold medallions in B1N0 green, a white icon, a small word under each */
.ts-ctl { position: absolute; left: 0; right: 0; bottom: 7.2cqh; height: 15cqh; z-index: 7; display: flex; align-items: center; justify-content: center; gap: 4cqw; }
.ts-b { position: relative; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #fff; background: url(/img/og/ts-btn.webp?a=1) center / 100% 100% no-repeat; filter: drop-shadow(0 .7cqh .7cqh rgba(0, 0, 0, .55)); transition: transform .1s, filter .2s, opacity .2s; }
.ts-b.sm { width: 12cqw; height: 12cqw; max-width: 58px; max-height: 58px; }
.ts-b.med { width: 17cqw; height: 17cqw; max-width: 82px; max-height: 82px; background-image: url(/img/og/ts-big.webp?a=1); }
.ts-b.big { width: 22cqw; height: 22cqw; max-width: 108px; max-height: 108px; background-image: url(/img/og/ts-big.webp?a=1); animation: tsbreathe 2.6s ease-in-out infinite; }
.ts-b svg { width: 44%; height: 44%; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
.ts-b.big svg { width: 40%; height: 40%; }
.ts-b small { position: absolute; top: calc(100% + .6cqh); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: clamp(8px, 2.3cqw, 10.5px); font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.ts-b:active { transform: scale(.92); }
.ts-b:disabled { opacity: .35; filter: saturate(.3); cursor: default; }
.ts-b.wait { filter: brightness(.75) drop-shadow(0 .7cqh .7cqh rgba(0, 0, 0, .55)); pointer-events: none; animation: none; }
@keyframes tsbreathe { 50% { filter: drop-shadow(0 0 2.6cqw rgba(110, 240, 180, .7)) drop-shadow(0 .7cqh .7cqh rgba(0, 0, 0, .55)); } }
@media (prefers-reduced-motion: reduce) { .ts-b.big { animation: none; } }
/* the totals and the bet chip, cleaner on the dark felt */
.og-stage.ts-on .bj-tot:not(.w):not(.pu):not(.on):not(.l) { background: rgba(4, 16, 10, .85); color: #fff; box-shadow: inset 0 0 0 1px rgba(110, 240, 180, .35); }
.og-stage.ts-on .bj-tot.w { background: linear-gradient(#18c47c, #0a8f58); box-shadow: none; } .og-stage.ts-on .bj-tot.on { box-shadow: inset 0 0 0 1.5px #ffdf50; }
.og-stage.ts-on .bj-bet { background: rgba(4, 16, 10, .8); color: #ffdf50; }
/* roulette on the B1N0 table (1406): the wheel up top, the table under it, chips and moves at the bottom */
.og-stage.ts-rl .ts-mark { top: 26%; width: 30cqw; opacity: .05; }
.og-stage.ts-rl .rl-wheel { --ws: 52cqw; top: 26.5%; width: var(--ws); }
.ts-hist { display: flex; gap: 4px; align-items: center; overflow: hidden; max-width: 100%; }
.ts-hist em { font-style: normal; font-weight: 800; font-size: 12px; color: #e8f6ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-hist span { flex: none; display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 4px; border-radius: 6px; font: 900 11px var(--font); }
.ts-hist span:first-child { outline: 1.5px solid #fff; outline-offset: 1px; animation: tbpk2 .3s ease-out; }
.ts-hist span:nth-child(n + 6) { opacity: .7; }
.ts-hist span.r { background: #19d98b; color: #06281a; } .ts-hist span.k { background: #ffd23f; color: #3f2e00; } .ts-hist span.g { background: #0f1412; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
/* the table: numbers in B1N0 mint and yellow, the outside bets on the felt in gold lines */
.og-stage .ts-board { position: absolute; left: 3cqw; right: 3cqw; top: 45cqh; height: 24.5cqh; z-index: 4; grid-template-rows: repeat(6, 1fr) 1.5fr 1.5fr; gap: .5cqw; }
.ts-board .rl-c { border-radius: 1.2cqw; font-size: clamp(9px, 2.9cqw, 13px); }
.ts-board .rl-c.o { background: rgba(4, 16, 10, .55); color: #e8f6ee; box-shadow: inset 0 0 0 1px rgba(233, 196, 106, .5); font-size: clamp(8.5px, 2.6cqw, 12px); }
.ts-board .rl-c.o.r { background: #19d98b; box-shadow: none; } .ts-board .rl-c.o.k { background: #ffd23f; box-shadow: none; }
.ts-board .rl-c.bet { box-shadow: inset 0 0 0 2px #fff; }
.ts-board .rl-c.hit { box-shadow: 0 0 0 2px #fff, 0 0 14px rgba(255, 255, 255, .7); }
.ts-board .rl-c i b { min-width: 15px; height: 15px; font-size: 8px; }
/* the chips to bet with */
.ts-chips { position: absolute; left: 0; right: 0; bottom: 23cqh; height: 6.6cqh; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 2.4cqw; }
.ts-chips .ck { width: 9.4cqw; height: 9.4cqw; max-width: 44px; max-height: 44px; transition: transform .15s; }
.ts-chips .ck.on { transform: translateY(-.8cqh) scale(1.12); filter: drop-shadow(0 0 1.6cqw rgba(255, 223, 80, .9)); }
.ts-chips.off { opacity: .5; pointer-events: none; }
/* 1407: roulette cleaned up for La Sala B1N0: no leaves, a flat B1N0 wheel, a printed felt table, B1N0 chips */
.og-stage.ts-on .og-lay, .og-stage.ts-on .og-amb, .og-stage.ts-on .og-sheen { display: none !important; }
.og-stage.ts-rl .rl-wheel { --ws: 48cqw; top: 25%; filter: drop-shadow(0 2cqh 3cqh rgba(0, 0, 0, .55)); }
.og-stage.ts-rl .rl-hub { background: #08170f; color: #fff; }
.og-stage.ts-rl .rl-hub.on.r { background: #19d98b; color: #06281a; } .og-stage.ts-rl .rl-hub.on.k { background: #ffd23f; color: #3f2e00; } .og-stage.ts-rl .rl-hub.on.g { background: #0f1412; color: #fff; }
.og-stage.ts-rl .rl-hub.on { box-shadow: 0 0 0 2px #d9b25a, 0 8px 20px rgba(0, 0, 0, .5); }
/* the table: dark felt cells divided by fine gold lines, numbers printed in mint or yellow */
.og-stage .ts-board { top: 46cqh; height: 23cqh; gap: 1px !important; padding: 1px; border-radius: 1.6cqw; background: rgba(217, 178, 90, .55); box-shadow: 0 1cqh 2cqh rgba(0, 0, 0, .35); }
.og-stage .ts-board .rl-c, .og-stage .ts-board .rl-c.r, .og-stage .ts-board .rl-c.k, .og-stage .ts-board .rl-c.g, .og-stage .ts-board .rl-c.o { background: #0a2219 !important; border-radius: 0; box-shadow: none; font-weight: 900; }
.og-stage .ts-board .rl-c.r { color: #2be39a !important; } .og-stage .ts-board .rl-c.k { color: #ffd23f !important; } .og-stage .ts-board .rl-c.g { color: #fff !important; }
.og-stage .ts-board .rl-c.o { color: #e8f6ee !important; font-weight: 800; }
.og-stage .ts-board .rl-c:first-child { border-radius: 1.4cqw 0 0 1.4cqw; }
.og-stage .ts-board .rl-c.o.r::before, .og-stage .ts-board .rl-c.o.k::before { content: ''; position: absolute; left: 50%; top: 50%; width: 3.6cqw; height: 3.6cqw; transform: translate(-50%, -50%) rotate(45deg); border-radius: .4cqw; background: #19d98b; }
.og-stage .ts-board .rl-c.o.k::before { background: #ffd23f; }
.og-stage .ts-board .rl-c:not(:disabled):hover { background: #0f2e22 !important; }
.og-stage .ts-board .rl-c.bet { background: #0f2e22 !important; }
.og-stage .ts-board .rl-c.hit { background: #17453a !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 12px rgba(255, 255, 255, .35) !important; z-index: 2; }
/* a bet on a spot: a small B1N0 chip with the amount */
.og-stage .ts-board .rl-c i { right: 50%; top: 50%; transform: translate(50%, -50%); }
.og-stage .ts-board .rl-c i b { min-width: 0; width: 5.2cqw; height: 5.2cqw; padding: 0; border: 0; border-radius: 50%; background: url(/img/og/tsk-c3.webp?a=1) center / 100% 100% no-repeat; color: #fff; font: 900 1.9cqw/1 var(--font); box-shadow: 0 .3cqh .6cqh rgba(0, 0, 0, .5); }
.og-stage .ts-board .rl-c i b.c1 { background-image: url(/img/og/tsk-c1.webp?a=1); } .og-stage .ts-board .rl-c i b.c2 { background-image: url(/img/og/tsk-c2.webp?a=1); } .og-stage .ts-board .rl-c i b.c4 { background-image: url(/img/og/tsk-c4.webp?a=1); }
.og-stage .ts-board .rl-c i b.c5 { background-image: url(/img/og/tsk-c5.webp?a=1); } .og-stage .ts-board .rl-c i b.c6 { background-image: url(/img/og/tsk-c6.webp?a=1); } .og-stage .ts-board .rl-c i b.c7 { background-image: url(/img/og/tsk-c7.webp?a=1); }
/* the chips to bet with: the B1N0 set, the amount on the black centre */
.ts-chips { bottom: 23.4cqh; gap: 2.6cqw; }
.tsk { position: relative; width: 10cqw; height: 10cqw; max-width: 48px; max-height: 48px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: center / 100% 100% no-repeat; filter: drop-shadow(0 .5cqh .6cqh rgba(0, 0, 0, .5)); transition: transform .15s cubic-bezier(.3, 1.5, .5, 1), filter .2s; }
.tsk span { font: 900 clamp(9px, 2.8cqw, 13px)/1 var(--font); color: #fff; letter-spacing: -.02em; }
.tsk.c1 { background-image: url(/img/og/tsk-c1.webp?a=1); } .tsk.c2 { background-image: url(/img/og/tsk-c2.webp?a=1); } .tsk.c3 { background-image: url(/img/og/tsk-c3.webp?a=1); } .tsk.c4 { background-image: url(/img/og/tsk-c4.webp?a=1); }
.tsk.c5 { background-image: url(/img/og/tsk-c5.webp?a=1); } .tsk.c6 { background-image: url(/img/og/tsk-c6.webp?a=1); } .tsk.c7 { background-image: url(/img/og/tsk-c7.webp?a=1); }
.tsk.on { transform: translateY(-1cqh) scale(1.14); filter: drop-shadow(0 0 0 #d9b25a) drop-shadow(0 0 1.4cqw rgba(255, 214, 110, .9)); }
.tsk.on::after { content: ''; position: absolute; inset: -.7cqw; border-radius: 50%; box-shadow: 0 0 0 1.5px #e9c46a; }
.tsk:active { transform: scale(.92); }
.og-stage .ts-board { top: 44.5cqh; background: transparent; box-shadow: none; padding: 0; }
.og-stage .ts-board .rl-c { box-shadow: 0 0 0 .5px rgba(217, 178, 90, .6) !important; }
.og-stage .ts-board .rl-c.hit { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 12px rgba(255, 255, 255, .35) !important; }
.og-stage.ts-rl .rl-wheel { --ws: 47cqw; top: 24.5%; }
/* 1408: a long chip amount (0.50) fits the chip's centre; the last numbers as clean round chips */
.tsk span.sm { font-size: clamp(7.5px, 2.15cqw, 10px); letter-spacing: -.04em; }
.ts-hist { gap: 6px; padding: 0 2px; }
.ts-hist span { width: 22px; min-width: 0; height: 22px; padding: 0; border-radius: 50%; font: 800 10.5px/1 var(--font); box-shadow: none; outline: 0 !important; animation: none; }
.ts-hist span.r { background: #14b877; color: #04251a; } .ts-hist span.k { background: #e6bd2e; color: #3a2a00; } .ts-hist span.g { background: #0d1512; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.ts-hist span:first-child { width: 24px; height: 24px; font-size: 11.5px; box-shadow: 0 0 0 1.5px #0a1a12, 0 0 0 3px #e9c46a; animation: tbpk2 .3s ease-out; }
.ts-hist span:nth-child(n + 2) { opacity: .85; } .ts-hist span:nth-child(n + 5) { opacity: .6; } .ts-hist span:nth-child(n + 8) { opacity: .4; }
.ts-hist { padding: 4px 4px; }

/* ======================= La Sala B1N0: baccarat (1409) ======================= */
.ts-say { position: absolute; left: 4cqw; right: 4cqw; z-index: 5; text-align: center; pointer-events: none; font: 900 clamp(11px, 3.4cqw, 15px)/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #f7e2ab; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); min-height: 1.2em; }
.tsm { display: grid; place-items: center; width: 7.4cqw; height: 7.4cqw; max-width: 36px; max-height: 36px; border-radius: 50%; background: url(/img/og/tsk-c3.webp?a=1) center / 100% 100% no-repeat; color: #fff; font: 900 clamp(7.5px, 2.2cqw, 10.5px)/1 var(--font); letter-spacing: -.03em; text-transform: none; text-shadow: none; filter: drop-shadow(0 .4cqh .5cqh rgba(0, 0, 0, .55)); animation: tsmin .25s cubic-bezier(.3, 1.6, .5, 1); }
.tsm.c1 { background-image: url(/img/og/tsk-c1.webp?a=1); } .tsm.c2 { background-image: url(/img/og/tsk-c2.webp?a=1); } .tsm.c4 { background-image: url(/img/og/tsk-c4.webp?a=1); }
.tsm.c5 { background-image: url(/img/og/tsk-c5.webp?a=1); } .tsm.c6 { background-image: url(/img/og/tsk-c6.webp?a=1); } .tsm.c7 { background-image: url(/img/og/tsk-c7.webp?a=1); }
@keyframes tsmin { from { transform: scale(.4); opacity: 0; } }
.og-stage.ts-bac .ts-mark { top: 27%; width: 30cqw; opacity: .06; }
.og-stage.ts-bac .bac-hands { --cw: min(14cqw, 70px); left: 3cqw; right: 3cqw; top: 12.5cqh; height: 26cqh; gap: 4cqw; align-items: start; }
.og-stage.ts-bac .bac-h { gap: 1.4cqh; height: 100%; justify-content: flex-start; }
.og-stage.ts-bac .bac-lab { display: flex; align-items: center; gap: 2cqw; font: 900 clamp(11px, 3.4cqw, 15px)/1 var(--font); letter-spacing: .16em; color: #f7e2ab; }
.og-stage.ts-bac [data-h="p"] .bac-lab { color: #2be39a; } .og-stage.ts-bac [data-h="b"] .bac-lab { color: #ffd23f; }
.og-stage.ts-bac .bac-lab b { margin: 0; display: grid; place-items: center; min-width: 7.6cqw; height: 7.6cqw; max-width: 36px; max-height: 36px; border-radius: 50%; font: 900 clamp(12px, 3.8cqw, 17px)/1 var(--font); letter-spacing: 0; color: #fff; background: rgba(4, 16, 10, .85); box-shadow: inset 0 0 0 1.5px rgba(233, 196, 106, .7); }
.og-stage.ts-bac .bac-lab b:empty { visibility: hidden; }
.og-stage.ts-bac .bac-h.win .bac-lab b { background: linear-gradient(#18c47c, #0a8f58); box-shadow: 0 0 0 2px #fff, 0 0 14px rgba(110, 240, 180, .7); }
.og-stage.ts-bac [data-h="b"].win .bac-lab b { background: linear-gradient(#ffe066, #e0a800); color: #3a2a00; box-shadow: 0 0 0 2px #fff, 0 0 14px rgba(255, 214, 80, .7); }
.og-stage.ts-bac .bac-cards { justify-content: center; align-items: center; min-height: calc(var(--cw) * 1.55); }
.og-stage.ts-bac .bac-cards .tc + .tc { margin-left: calc(var(--cw) * -.42); }
.og-stage.ts-bac .bac-cards .tc.side { rotate: 90deg; margin-left: calc(var(--cw) * -.02); z-index: 2; transition: rotate .35s cubic-bezier(.3, 1.4, .5, 1); }
.og-stage.ts-bac .bac-h.lose .bac-cards { opacity: .5; transform: none; }
.og-stage.ts-bac .ts-say { top: 38.6cqh; }
.og-stage.ts-bac .bac-zones, .og-stage.ts-bac .bac-zones.np { position: absolute; left: 4cqw; right: 4cqw; top: 44cqh; bottom: auto; height: 24cqh; transform: none; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr 1.6fr; gap: 1.4cqh 2cqw; }
.og-stage.ts-bac .tz { --bh: auto; height: auto; grid-column: span 2; border: 1.5px solid rgba(233, 196, 106, .75); border-radius: 2.6cqw; background: rgba(4, 18, 11, .45); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); transform: none; filter: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5cqh; padding: 0 1cqw; color: #f7e2ab; font: 900 clamp(10px, 3cqw, 14px)/1 var(--font); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 1px rgba(0, 0, 0, .6); transition: background .2s, box-shadow .25s, opacity .3s; }
.og-stage.ts-bac .tz.z-p, .og-stage.ts-bac .tz.z-b { grid-column: span 3; font-size: clamp(15px, 5cqw, 24px); letter-spacing: .14em; }
.og-stage.ts-bac .bac-zones.np .z-t { grid-column: 1 / -1; }
.og-stage.ts-bac .tz.z-p { color: #2be39a; border-color: rgba(43, 227, 154, .85); background: rgba(25, 217, 139, .08); }
.og-stage.ts-bac .tz.z-b { color: #ffd23f; border-color: rgba(255, 210, 63, .85); background: rgba(255, 210, 63, .07); }
.og-stage.ts-bac .tz .tz-p, .og-stage.ts-bac .tz.z-p .tz-p, .og-stage.ts-bac .tz.z-b .tz-p { display: block; font: 800 clamp(9px, 2.5cqw, 12px)/1 var(--font); letter-spacing: .06em; color: #e9c46a; opacity: .9; }
.og-stage.ts-bac .tz-a { position: absolute; right: 1.6cqw; top: 50%; left: auto; transform: translateY(-50%); display: block; line-height: 0; z-index: 2; }
.og-stage.ts-bac .tz.z-pp .tz-a .tsm, .og-stage.ts-bac .tz.z-t .tz-a .tsm, .og-stage.ts-bac .tz.z-bp .tz-a .tsm { width: 6.2cqw; height: 6.2cqw; }
.og-stage.ts-bac .tz:not(:disabled):hover { background: rgba(233, 196, 106, .12); }
.og-stage.ts-bac .tz:active { transform: none; background: rgba(233, 196, 106, .2); }
.og-stage.ts-bac .tz.bet { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), 0 0 10px rgba(233, 196, 106, .3); }
.og-stage.ts-bac .tz.win { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; box-shadow: 0 0 0 1px #fff, 0 0 18px rgba(255, 230, 150, .75); animation: tzwin 1s ease-in-out 2; }
.og-stage.ts-bac .tz.z-p.win { background: rgba(25, 217, 139, .3); } .og-stage.ts-bac .tz.z-b.win { background: rgba(255, 210, 63, .28); }
.og-stage.ts-bac .tz.lose { opacity: .45; }
@keyframes tzwin { 50% { box-shadow: 0 0 0 1px #fff, 0 0 30px rgba(255, 230, 150, 1); } }
.og-stage.ts-bac .tz:disabled { cursor: default; }
@media (prefers-reduced-motion: reduce) { .og-stage.ts-bac .tz.win, .tsm { animation: none; } }

/* ======================= La Sala B1N0: video poker (1409) ======================= */
.og-stage.ts-vp { background-image: none; }
.og-stage.ts-vp .ts-mark { top: 66%; width: 28cqw; opacity: .05; }
.og-stage.ts-vp .ts-bar span { font-size: clamp(11px, 3.4cqw, 14px); letter-spacing: .08em; text-transform: uppercase; color: #f7e2ab; transition: color .2s; }
.og-stage.ts-vp .ts-bar span.now { color: #2be39a; } .og-stage.ts-vp .ts-bar span.win { color: #ffdf50; } .og-stage.ts-vp .ts-bar span.lose { color: rgba(232, 246, 238, .6); }
.vp-pt { position: absolute; left: 4cqw; right: 4cqw; top: 10.5cqh; z-index: 3; display: grid; grid-template-rows: repeat(5, 1fr); grid-auto-flow: column; grid-template-columns: 1fr 1fr; column-gap: 3cqw; row-gap: .3cqh; padding: 1.6cqw 2.4cqw;
  border-radius: 3.4cqw; background: linear-gradient(180deg, rgba(10, 30, 21, .82), rgba(3, 12, 8, .9)); box-shadow: inset 0 0 0 1px rgba(233, 196, 106, .45), inset 0 1px 0 rgba(255, 255, 255, .06), 0 1.2cqh 2.6cqh rgba(0, 0, 0, .45); backdrop-filter: blur(4px); }
.vp-pt span { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: .55cqh 2cqw; border-radius: 1.6cqw; font: 800 clamp(9.5px, 2.85cqw, 13px)/1.15 var(--font); color: rgba(232, 246, 238, .82); white-space: nowrap; transition: background .2s, color .2s; }
.vp-pt span b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.vp-pt span i { font-style: normal; font-weight: 900; color: #e9c46a; font-variant-numeric: tabular-nums; }
.vp-pt span:first-child { color: #fff; } .vp-pt span:first-child i { color: #ffdf50; }
.vp-pt span.now { background: rgba(25, 217, 139, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(43, 227, 154, .55); } .vp-pt span.now i { color: #2be39a; }
.vp-pt span.hit { background: linear-gradient(#ffe066, #e0a800); color: #3a2a00; box-shadow: 0 0 12px rgba(255, 214, 80, .6); animation: vphit .5s steps(2, jump-none) 6; } .vp-pt span.hit i { color: #3a2a00; }
.og-stage.ts-vp .vp-row { --cw: min(17.8cqw, 92px); left: 50%; top: 41.5cqh; transform: translateX(-50%); gap: 1.6cqw; }
.og-stage.ts-vp .vp-slot { gap: 0; transition: transform .2s cubic-bezier(.3, 1.5, .5, 1); }
.og-stage.ts-vp .vp-slot.held { transform: translateY(-2.2cqh); }
.og-stage.ts-vp .vp-slot.held .tc { filter: drop-shadow(0 0 0 #e9c46a) drop-shadow(0 0 1.6cqw rgba(255, 214, 110, .75)); }
.og-stage.ts-vp .vp-slot.held .tc .bj-face { box-shadow: 0 0 0 2px #e9c46a; border-radius: 8px; }
.vp-held { position: absolute; left: 50%; top: calc(100% + 1.2cqh); transform: translateX(-50%) scale(.6); opacity: 0; padding: .5cqh 2cqw; border-radius: 999px; background: linear-gradient(180deg, #f6d98a, #c4932b); color: #2a1a00; font: 900 clamp(8.5px, 2.5cqw, 11px)/1 var(--font); letter-spacing: .12em; box-shadow: 0 .4cqh .8cqh rgba(0, 0, 0, .45); transition: opacity .15s, transform .2s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.og-stage.ts-vp .vp-slot.held .vp-held { opacity: 1; transform: translateX(-50%) scale(1); }
.og-stage.ts-vp .ts-say { top: 68cqh; }

/* ======================= La Sala B1N0: hold'em (1409) ======================= */
.og-stage.ts-ch .ts-mark { top: 31%; width: 26cqw; opacity: .05; }
.og-stage.ts-ch .ts-bar span { font-size: clamp(11px, 3.4cqw, 14px); letter-spacing: .08em; text-transform: uppercase; color: #f7e2ab; }
.og-stage.ts-ch .ts-bar span.now { color: #2be39a; } .og-stage.ts-ch .ts-bar span.win { color: #ffdf50; } .og-stage.ts-ch .ts-bar span.lose { color: rgba(232, 246, 238, .6); }
.og-stage.ts-ch .ch-row { --cw: min(13.4cqw, 66px); top: auto; transform: none; flex-direction: row; gap: 3cqw; }
.og-stage.ts-ch .ch-d { top: 9.6cqh; } .og-stage.ts-ch .ch-b { top: 25cqh; } .og-stage.ts-ch .ch-p { top: 62.4cqh; }
.og-stage.ts-ch .ch-b { --cw: min(15cqw, 74px); } .og-stage.ts-ch .ch-p { --cw: min(14cqw, 70px); }
.og-stage.ts-ch .ch-cards { gap: 1.6cqw; min-height: calc(var(--cw) * 1.5); }
.og-stage.ts-ch .ch-d .ch-cards, .og-stage.ts-ch .ch-p .ch-cards { min-width: calc(var(--cw) * 2 + 1.6cqw); }
.og-stage.ts-ch .ch-b .ch-slot { border-radius: 1.4cqw; box-shadow: inset 0 0 0 1px rgba(233, 196, 106, .28); }
.og-stage.ts-ch .ch-b .ch-slot:has(.tc) { box-shadow: none; }
.og-stage.ts-ch .ch-p .ch-lab { order: 0; }
.og-stage.ts-ch .ch-lab { display: flex; flex-direction: column; align-items: flex-start; gap: .7cqh; width: 24cqw; padding: 0; background: none; font: 900 clamp(10px, 3cqw, 13px)/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #f7e2ab; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.og-stage.ts-ch .ch-d .ch-lab { order: 2; align-items: flex-start; }
.og-stage.ts-ch .ch-p .ch-lab { align-items: flex-end; text-align: right; }
.og-stage.ts-ch .ch-d::before, .og-stage.ts-ch .ch-p::after { content: ''; width: 24cqw; } /* keeps the cards in the middle */
.og-stage.ts-ch .ch-d::before { order: 0; } .og-stage.ts-ch .ch-d .ch-cards { order: 1; }
.og-stage.ts-ch .ch-lab b { margin: 0; max-width: 100%; padding: .6cqh 2cqw; border-radius: 999px; background: rgba(4, 16, 10, .85); box-shadow: inset 0 0 0 1px rgba(233, 196, 106, .55); color: #fff; font: 800 clamp(9px, 2.6cqw, 12px)/1.1 var(--font); letter-spacing: 0; text-transform: none; white-space: normal; }
.og-stage.ts-ch .ch-lab b:empty { display: none; }
.og-stage.ts-ch .ch-row.win .ch-lab { background: none; color: #2be39a; } .og-stage.ts-ch .ch-row.win .ch-lab b { background: linear-gradient(#18c47c, #0a8f58); color: #fff; box-shadow: 0 0 12px rgba(110, 240, 180, .55); }
.og-stage.ts-ch .ch-row.lose .ch-cards { opacity: .55; }
.ch-spots { position: absolute; left: 6cqw; right: 6cqw; top: 48.6cqh; height: 10.4cqh; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 7cqw; }
.ch-spot { position: relative; width: 15cqw; height: 15cqw; max-width: 74px; max-height: 74px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(233, 196, 106, .8); background: radial-gradient(circle, rgba(233, 196, 106, .1), rgba(4, 18, 11, .4) 70%); box-shadow: inset 0 0 0 3px rgba(4, 18, 11, .55), inset 0 0 0 4px rgba(233, 196, 106, .28); transition: box-shadow .25s, opacity .3s, border-color .25s; }
.ch-spot > span { position: absolute; left: 50%; top: calc(100% + .5cqh); transform: translateX(-50%); white-space: nowrap; font: 900 clamp(8px, 2.3cqw, 10.5px)/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #e9c46a; }
.ch-spot.s-aa { border-color: rgba(43, 227, 154, .7); } .ch-spot.s-aa > span { color: #2be39a; }
.ch-spot i { font-style: normal; line-height: 0; } .ch-spot .tsm { width: 9.4cqw; height: 9.4cqw; max-width: 46px; max-height: 46px; font-size: clamp(8.5px, 2.5cqw, 12px); }
.ch-spot.win { border-color: #fff; box-shadow: 0 0 0 1px #fff, 0 0 18px rgba(255, 230, 150, .75); }
.ch-spot.lose { opacity: .5; }
.og-stage.ts-ch .ts-say { top: 41cqh; }
.og-stage.ts-ch .ts-arc .t1 { font-size: 11.5px; letter-spacing: .16em; }
.og-stage.ts-ch .ts-b.med small { max-width: none; }
.ts-b.on { filter: drop-shadow(0 0 0 #e9c46a) drop-shadow(0 0 1.6cqw rgba(110, 240, 180, .85)); color: #2be39a; }
.ts-b.on small { color: #2be39a; }
.ts-b.on::after { content: ''; position: absolute; right: 4%; top: 4%; width: 22%; height: 22%; border-radius: 50%; background: #19d98b; box-shadow: 0 0 0 1.5px #06281a; }
.ch-sheet { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; background: rgba(2, 10, 6, .72); backdrop-filter: blur(3px); cursor: pointer; animation: chsh .2s ease-out; }
.ch-sheet[hidden] { display: none; }
@keyframes chsh { from { opacity: 0; } }
.ch-sh { width: min(78cqw, 340px); max-height: 80cqh; overflow: auto; padding: 3cqw 4.4cqw; border-radius: 4cqw; background: linear-gradient(180deg, #0f2c20, #06140d); box-shadow: inset 0 0 0 1.5px rgba(233, 196, 106, .6), 0 2cqh 4cqh rgba(0, 0, 0, .6); color: #e8f6ee; }
.ch-sh h4 { margin: 1cqh 0 .8cqh; font: 900 clamp(10px, 3cqw, 13px)/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #e9c46a; }
.ch-sh p { margin: 0; display: flex; justify-content: space-between; gap: 3cqw; padding: .55cqh 0; border-bottom: 1px solid rgba(233, 196, 106, .14); font: 700 clamp(10.5px, 3.1cqw, 13.5px)/1.2 var(--font); }
.ch-sh p i { font-style: normal; font-weight: 900; color: #ffdf50; white-space: nowrap; }
.ch-sh small { display: block; margin: .8cqh 0 .4cqh; font: 600 clamp(9px, 2.6cqw, 11.5px)/1.35 var(--font); color: rgba(232, 246, 238, .65); }

/* ======================= El Reto B1N0: the multiplier games (1410) ======================= */
.og-stage.rt-on { --gold: #f2cf7a; --mint: #2be39a; background-color: #071510; }
.og-stage.rt-on .og-lay, .og-stage.rt-on .og-amb, .og-stage.rt-on .og-sheen, .og-stage.rt-on > .og-hud { display: none !important; }
.rt-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(3, 10, 7, .78) 0, rgba(3, 10, 7, 0) 13cqh, rgba(3, 10, 7, 0) 62cqh, rgba(3, 10, 7, .62) 74cqh, rgba(3, 10, 7, .94) 100%); }
.og-stage.rt-on .ts-bar.rt-bar { gap: 2.6cqw; justify-content: center; }
.rt-m { font: 900 clamp(14px, 4.4cqw, 19px)/1 var(--font); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .01em; transition: color .2s; }
.rt-m.up { color: var(--gold); text-shadow: 0 0 10px rgba(242, 207, 122, .45); } .rt-m.win { color: #ffdf50; } .rt-m.lose { color: #ff7a6b; }
.rt-n { font: 800 clamp(10px, 3cqw, 13px)/1 var(--font); font-style: normal; color: var(--mint); white-space: nowrap; }
.rt-n:empty { display: none; }
.rt-lad { position: absolute; right: 2.6cqw; top: 12.5cqh; width: 15.5cqw; height: 50cqh; z-index: 4; display: flex; flex-direction: column-reverse; justify-content: flex-start; gap: .9cqh; pointer-events: none; }
.rt-lad span { position: relative; flex: 0 0 6.2cqh; display: grid; place-items: center; border-radius: 2.2cqw; background: rgba(3, 14, 9, .72); box-shadow: inset 0 0 0 1px rgba(242, 207, 122, .32); backdrop-filter: blur(3px); transition: background .25s, box-shadow .25s, transform .25s; }
.rt-lad b { font: 900 clamp(9px, 2.8cqw, 12.5px)/1 var(--font); color: rgba(247, 226, 171, .75); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.rt-lad span.top::before { content: '★'; position: absolute; top: -.7cqh; right: -.6cqw; font-size: clamp(9px, 2.6cqw, 12px); color: var(--gold); text-shadow: 0 0 6px rgba(242, 207, 122, .8); }
.rt-lad span.on { background: linear-gradient(180deg, rgba(242, 207, 122, .32), rgba(150, 105, 30, .38)); box-shadow: inset 0 0 0 1px rgba(242, 207, 122, .7); } .rt-lad span.on b { color: #fff3cf; }
.rt-lad span.now { background: linear-gradient(180deg, #ffe08a, #c99a2e); box-shadow: 0 0 0 1.5px #fff6d6, 0 0 14px rgba(255, 214, 110, .7); transform: scale(1.06); } .rt-lad span.now b { color: #2c1c00; }
.rt-lad span.next { box-shadow: inset 0 0 0 1.5px var(--mint); animation: rtnext 1.3s ease-in-out infinite; } .rt-lad span.next b { color: var(--mint); }
@keyframes rtnext { 50% { box-shadow: inset 0 0 0 1.5px var(--mint), 0 0 12px rgba(43, 227, 154, .55); } }
.rt-lad.rush span { animation: rtrush .5s ease-out both; animation-delay: calc(var(--j) * 70ms); }
@keyframes rtrush { 0% { filter: none; } 40% { filter: brightness(2.2) drop-shadow(0 0 8px #ffd66e); transform: scale(1.12); } 100% { filter: none; } }
.rt-lad.crack { animation: rtcrack .45s; } .rt-lad.crack span { background: rgba(60, 10, 8, .7); box-shadow: inset 0 0 0 1px rgba(255, 110, 90, .55); transition: background .15s; } .rt-lad.crack b { color: #ffb0a5; }
@keyframes rtcrack { 20% { transform: translateX(-4px) rotate(-1deg); } 45% { transform: translateX(4px) rotate(1deg); } 70% { transform: translateX(-2px); } }
.og-stage.rt-on .rt-say { top: 70.4cqh; font-size: clamp(10.5px, 3.2cqw, 14px); }
.rt-val span { font: 900 clamp(13px, 4.6cqw, 21px)/1 var(--font); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.rt-go .rt-amt { display: none; }
.rt-go.cash { animation: rtcash 1.6s ease-in-out infinite; }
.rt-go.cash::before { content: ''; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff1b8, #f2c64e 45%, #b9841c); box-shadow: inset 0 -.6cqw 1cqw rgba(110, 70, 0, .55), 0 0 2.4cqw rgba(255, 214, 110, .65); }
.rt-go.cash svg { display: none; }
.rt-go.cash .rt-amt { position: relative; display: block; font: 900 clamp(12px, 4.3cqw, 20px)/1 var(--font); color: #2c1c00; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
@keyframes rtcash { 50% { transform: scale(1.05); filter: drop-shadow(0 0 2.4cqw rgba(255, 214, 110, .7)); } }
.og-stage.rt-flash::after { content: ''; position: absolute; inset: 0; z-index: 9; pointer-events: none; background: radial-gradient(circle, rgba(255, 120, 60, .45), rgba(120, 10, 0, .35)); animation: rtflash .5s ease-out forwards; }
@keyframes rtflash { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rt-lad span.next, .rt-lad.rush span, .rt-lad.crack, .rt-go.cash { animation: none; } }
/* mines */
.og-stage.rt-mines .mn-grid { position: absolute; left: 4cqw; top: 13cqh; transform: none; width: 75cqw; max-width: none; gap: .8cqw; z-index: 3; }
.og-stage.rt-mines .mn-bag { position: absolute; left: auto; right: 2.6cqw; top: 64.2cqh; bottom: auto; transform: none; width: 15.5cqw; padding: .4cqh 0; justify-content: center; gap: .6cqw; z-index: 4; border-radius: 2.2cqw; background: rgba(3, 14, 9, .8); box-shadow: inset 0 0 0 1px rgba(43, 227, 154, .5); }
.og-stage.rt-mines .mn-bag img { width: 5.4cqw; height: 5.4cqw; }
.og-stage.rt-mines .mn-bag b { font: 900 clamp(10px, 3cqw, 13px)/1 var(--font); color: #fff; }
.og-stage.rt-mines .mn-bag.empty { opacity: .55; }
.og-stage.rt-mines .mn-bag.bump { animation: rtbag .38s cubic-bezier(.3, 1.8, .5, 1); } @keyframes rtbag { 0% { transform: scale(1.3); } 100% { transform: none; } }
.og-stage.rt-mines .mn-bag.r1 { animation: rtw1 1.6s ease-in-out infinite; }
.og-stage.rt-mines .mn-bag.r2 { animation: rtw2 .9s ease-in-out infinite; box-shadow: inset 0 0 0 1px rgba(255, 200, 80, .7); }
.og-stage.rt-mines .mn-bag.r3 { animation: rtw3 .32s linear infinite; box-shadow: inset 0 0 0 1.5px rgba(255, 110, 80, .9), 0 0 12px rgba(255, 90, 60, .5); }
@keyframes rtw1 { 50% { transform: rotate(-2deg); } } @keyframes rtw2 { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } } @keyframes rtw3 { 25% { transform: translate(-1px, 0) rotate(-5deg); } 75% { transform: translate(1px, 0) rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .og-stage.rt-mines .mn-bag { animation: none !important; } }
/* tower */
.og-stage.rt-tower { background: #06211a; }
.og-stage.rt-tower .tw-view { inset: 0 19cqw 25cqh 0; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); border-right: 1px solid rgba(242, 207, 122, .25); box-shadow: 1cqw 0 3cqw rgba(0, 0, 0, .5); }
.og-stage.rt-tower .tw-top { filter: brightness(calc(.75 + var(--tp, 0) * .55)) saturate(calc(.9 + var(--tp, 0) * .4)); transition: filter .8s; }
.og-stage.rt-tower .rt-lad { right: 1.8cqw; }
.og-stage.rt-tower .rt-val span { font-size: clamp(8.5px, 2.7cqw, 12px); letter-spacing: -.02em; }
/* torches on the ledge of every floor you clear */
.og-stage.rt-tower .tw-row.done .tw-ledge::before, .og-stage.rt-tower .tw-row.done .tw-ledge::after { content: ''; position: absolute; bottom: 70%; width: 3.4cqw; height: 6cqw; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%; background: radial-gradient(ellipse at 50% 72%, #fff6c8 0, #ffd24a 30%, #ff8a1f 62%, rgba(255, 80, 20, 0) 76%); filter: drop-shadow(0 0 2cqw rgba(255, 170, 60, .9)); animation: rtfire .5s ease-in-out infinite alternate; transform-origin: 50% 100%; pointer-events: none; }
.og-stage.rt-tower .tw-row.done .tw-ledge::before { left: -2.6cqw; } .og-stage.rt-tower .tw-row.done .tw-ledge::after { right: -2.6cqw; animation-delay: -.25s; }
@keyframes rtfire { 0% { transform: scale(1, 1) rotate(-3deg); opacity: .9; } 100% { transform: scale(.88, 1.12) rotate(3deg); opacity: 1; } }
.og-stage.rt-tower .tw-row.done { box-shadow: inset 0 -6cqw 8cqw -4cqw rgba(255, 160, 60, .22); }
@media (prefers-reduced-motion: reduce) { .og-stage.rt-tower .tw-row.done .tw-ledge::before, .og-stage.rt-tower .tw-row.done .tw-ledge::after { animation: none; } }
/* penalties */
.og-stage.rt-pens { background: #06140e url(/img/og/rt-pn-bg.webp?a=1) center bottom / 160% auto no-repeat; }
.og-stage.rt-pens .pn-net, .og-stage.rt-pens .pn-next { display: none; }
.og-stage.rt-pens .pn-goal { left: 22%; right: 22%; top: 34%; height: 18%; padding: 0; z-index: 4; }
.og-stage.rt-pens .pn-goal button::after { width: 11cqw; height: 11cqw; margin: -5.5cqw; }
.og-stage.rt-pens .pn-keeper { bottom: 47.6%; width: 21%; z-index: 3; }
.og-stage.rt-pens .pn-keeper.sway img.on { animation: rtsway 1.8s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes rtsway { 0%, 100% { transform: translateX(-9%) rotate(-3deg); } 50% { transform: translateX(9%) rotate(3deg); } }
.og-stage.rt-pens .pn-ball { left: 52%; bottom: 31%; width: 10%; z-index: 5; }
.rt-st { position: absolute; left: 25%; bottom: 23%; height: 23%; z-index: 4; pointer-events: none; filter: drop-shadow(0 1.4cqh 1.2cqh rgba(0, 0, 0, .55)); transform-origin: 50% 100%; }
.og-stage.rt-pens .rt-say { top: 12.2cqh; }
.og-stage.rt-pens .pn-dots { display: inline-flex; gap: 1cqw; margin: 0; }
.og-stage.rt-pens .pn-dots i { width: 3.6cqw; height: 3.6cqw; max-width: 15px; max-height: 15px; }
.og-stage.rt-pens .ts-bar .rt-n:empty + .pn-dots { margin-left: 0; }
.og-stage.rt-pens .pn-trophy { top: 22%; width: 34%; }
/* the crowd: twinkling lights over the stands, more of them with every goal */
.rt-crowd { position: absolute; left: 0; right: 0; top: 14%; height: 22%; z-index: 1; pointer-events: none; opacity: calc(.2 + var(--cn, 0) * .16);
  background-image: radial-gradient(circle, rgba(255, 240, 200, .95) 0 1px, transparent 1.6px), radial-gradient(circle, rgba(255, 220, 150, .9) 0 1px, transparent 1.6px); background-size: 23px 17px, 31px 23px; background-position: 0 0, 11px 7px; animation: rtcrowd 1.2s steps(3) infinite; mix-blend-mode: screen; }
.rt-crowd[data-lv="1"] { --cn: 1; } .rt-crowd[data-lv="2"] { --cn: 2; animation-duration: .9s; } .rt-crowd[data-lv="3"] { --cn: 3; animation-duration: .7s; } .rt-crowd[data-lv="4"] { --cn: 4; animation-duration: .5s; } .rt-crowd[data-lv="5"] { --cn: 5; animation-duration: .35s; }
@keyframes rtcrowd { 33% { background-position: 7px 3px, 3px 12px; } 66% { background-position: 14px 9px, 17px 2px; } }
.rt-crowd.roar { animation: rtcrowd .2s steps(3) infinite, rtroar 1.1s ease-out; }
@keyframes rtroar { 0% { opacity: 1; filter: brightness(2); } }
.rt-netfx { position: absolute; z-index: 4; width: 22cqw; height: 22cqw; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(255, 255, 255, .9), rgba(255, 240, 180, .35) 45%, transparent 70%); }
.og-stage.rt-slow { filter: saturate(.75) contrast(1.08); }
.og-stage.rt-slow::before { content: ''; position: absolute; inset: 0; z-index: 8; pointer-events: none; box-shadow: inset 0 0 18cqw rgba(0, 0, 0, .7); }
@media (prefers-reduced-motion: reduce) { .og-stage.rt-pens .pn-keeper.sway img.on, .rt-crowd { animation: none; } }
/* crash: the toucan */
.og-stage.rt-crash { background: #06140e; }
.og-stage.rt-crash .cr-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.rt-tc { position: absolute; left: 0; top: 0; z-index: 3; aspect-ratio: 1; pointer-events: none; will-change: transform; transform-origin: 50% 50%; }
.rt-tc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; filter: drop-shadow(0 1.4cqh 1.4cqh rgba(0, 0, 0, .45)); }
.rt-tc img.on { opacity: 1; }
.rt-hist { position: absolute; left: 4cqw; right: 20cqw; top: 11.6cqh; z-index: 5; display: flex; gap: 1.4cqw; overflow: hidden; pointer-events: none; }
.rt-hist i { flex: none; padding: .6cqh 2cqw; border-radius: 999px; font: 900 clamp(8.5px, 2.5cqw, 11px)/1 var(--font); font-style: normal; color: #e8f6ee; background: rgba(3, 14, 9, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-variant-numeric: tabular-nums; }
.rt-hist i.lo { color: #ff9c8f; } .rt-hist i.hi { color: var(--mint); box-shadow: inset 0 0 0 1px rgba(43, 227, 154, .4); } .rt-hist i.top { color: #2c1c00; background: linear-gradient(#ffe08a, #c99a2e); box-shadow: none; }
.rt-hist i.new { animation: rthist .4s cubic-bezier(.3, 1.6, .5, 1); } @keyframes rthist { from { transform: scale(.4); opacity: 0; } }
.og-stage.rt-crash .rt-say { top: 70.4cqh; }
.ts-b.rt-val.on span { color: var(--mint, #2be39a); }
/* hi-lo: the temple altar */
.og-stage.rt-hilo { background: #050d09 url(/img/og/rt-hl-bg.webp?a=1) center top -16cqh / 100% auto no-repeat; }
.og-stage.rt-hilo .bj-b { background-image: url(/img/og/ts-back.webp?a=1) !important; }
.og-stage.rt-hilo .hl-card { left: calc(41% - var(--cw) / 2) !important; top: 30cqh !important; z-index: 5; filter: drop-shadow(0 1.6cqh 1.6cqh rgba(0, 0, 0, .6)); }
.og-stage.rt-hilo .hl-card.from { transform: translate3d(calc(var(--cw) * -1.1), -4cqh, 0) rotate(-10deg) scale(.6); }
.og-stage.rt-hilo .hl-card.dim { filter: grayscale(.6) brightness(.6) drop-shadow(0 1.6cqh 1.6cqh rgba(0, 0, 0, .6)); transition: filter .4s; }
.og-stage.rt-hilo .hl-deck { left: 3cqw; right: auto; top: 33cqh; z-index: 4; }
.og-stage.rt-hilo .hl-deck .bj-card { width: calc(var(--cw) * .5); transform: rotate(-8deg); }
.og-stage.rt-hilo .hl-hist { left: 4cqw; right: 20cqw; top: 61.5cqh; bottom: auto; justify-content: center; gap: 1.2cqw; z-index: 4; }
.og-stage.rt-hilo .hl-h, .og-stage.rt-hilo .hl-mini { width: 8.4cqw; --cw: 8.4cqw; }
.og-stage.rt-hilo .hl-h { animation: rthist .4s cubic-bezier(.3, 1.6, .5, 1); }
.og-stage.rt-hilo .hl-h > b { width: 4.2cqw; height: 4.2cqw; font-size: clamp(7px, 2.2cqw, 10px); }
.og-stage.rt-hilo .hl-h.sk > b { background: #3a4540; }
.og-stage.rt-hilo .rt-say { top: 12cqh; }
.rt-crk { position: absolute; left: 14%; width: 56%; top: 58cqh; height: 6cqh; z-index: 6; pointer-events: none; fill: none; stroke: #1a0b05; stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 0 1px rgba(255, 140, 90, .8)); stroke-dasharray: 260; stroke-dashoffset: 260; opacity: 0; }
.og-stage.crk .rt-crk { opacity: 1; animation: rtcrk .35s cubic-bezier(.3, .8, .4, 1) forwards; }
@keyframes rtcrk { to { stroke-dashoffset: 0; } }
.ts-b.rt-hl small { color: #f7e2ab; }
.ts-b.rt-hl.hi:not(:disabled) svg { color: var(--mint, #2be39a); } .ts-b.rt-hl.lo:not(:disabled) svg { color: #ffb36b; }
.ts-b.rt-hl.lit { animation: rthl .7s ease-out; }
@keyframes rthl { 0% { filter: brightness(2.2) drop-shadow(0 0 3cqw rgba(110, 240, 180, .95)); transform: scale(1.12); } 100% { filter: none; transform: none; } }

/* ======================= El Reto, round two (1411) ======================= */
/* the centred strip: five slots, where you are in the middle */
.rt-lad.h { left: 6cqw; right: 6cqw; top: 11.4cqh; width: auto; height: 6.4cqh; flex-direction: row; align-items: center; justify-content: center; gap: 1.6cqw; }
.rt-lad.h span { flex: 1 1 0; height: 4.8cqh; border-radius: 999px; }
.rt-lad.h span.gap { background: none; box-shadow: none; backdrop-filter: none; }
.rt-lad.h span.now { flex: 1.35 1 0; height: 6.2cqh; transform: none; }
.rt-lad.h span.now b { font-size: clamp(11px, 3.6cqw, 16px); }
.rt-lad.h span:not(.now):not(.next) b { opacity: .85; }
.rt-lad.h span.top::before { top: -1cqh; right: 1cqw; }
.rt-lad.h.rush span { animation-delay: calc(var(--j) * 60ms); }
/* the slim meter on the side (crash, hi-lo): a gold line with ticks, no boxes */
.rt-lad.v { right: 3cqw; width: 13cqw; top: 14cqh; height: 52cqh; gap: 0; justify-content: space-between; }
.rt-lad.v::before { content: ''; position: absolute; right: 0; top: 2%; bottom: 2%; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(242, 207, 122, .05), rgba(242, 207, 122, .4)); }
.rt-lad.v span { flex: none; height: auto; display: flex; justify-content: flex-end; align-items: center; gap: 1.4cqw; padding: .5cqh 3cqw .5cqh 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; transform: none; }
.rt-lad.v span::after { content: ''; position: absolute; right: -2px; top: 50%; width: 2.4cqw; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(242, 207, 122, .45); }
.rt-lad.v b { font-size: clamp(8.5px, 2.5cqw, 11px); color: rgba(232, 246, 238, .55); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.rt-lad.v span.on b { color: #f2cf7a; } .rt-lad.v span.on::after { background: #f2cf7a; width: 3cqw; }
.rt-lad.v span.now { background: none; box-shadow: none; transform: none; }
.rt-lad.v span.now b { padding: .4cqh 1.6cqw; border-radius: 999px; background: linear-gradient(180deg, #ffe08a, #c99a2e); color: #2c1c00; font-size: clamp(9.5px, 2.8cqw, 12.5px); text-shadow: none; box-shadow: 0 0 10px rgba(255, 214, 110, .55); }
.rt-lad.v span.now::after { width: 4cqw; background: #fff1c2; box-shadow: 0 0 6px #ffd66e; }
.rt-lad.v span.next { animation: none; box-shadow: none; } .rt-lad.v span.next b { color: var(--mint); animation: rtnextv 1.3s ease-in-out infinite; } .rt-lad.v span.next::after { background: var(--mint); }
@keyframes rtnextv { 50% { text-shadow: 0 0 8px rgba(43, 227, 154, .8); } }
.rt-lad.v span.top::before { top: -.4cqh; right: 3.4cqw; font-size: clamp(7px, 2cqw, 9px); }
.rt-lad.v.crack span { background: none; box-shadow: none; } .rt-lad.v.crack::before { background: rgba(255, 110, 90, .6); }
/* the value buttons: always fit, a mint ring when on (no dot) */
.rt-val span { font-size: clamp(10px, 3.5cqw, 16px); letter-spacing: -.03em; max-width: 80%; overflow: hidden; white-space: nowrap; }
.ts-b.rt-val.on::after, .og-stage.rt-on .ts-b.on::after { display: none; }
.og-stage.rt-on .ts-b.on { filter: drop-shadow(0 0 1.4cqw rgba(43, 227, 154, .55)); }
.og-stage.rt-on .ts-b.on::before { content: ''; position: absolute; inset: 4%; border-radius: 50%; box-shadow: 0 0 0 2px var(--mint, #2be39a); pointer-events: none; }
.og-stage.rt-on .ts-ctl { gap: 3.4cqw; }
/* mines: the field in the middle, the bag under it */
.og-stage.rt-mines .mn-grid { left: 50%; transform: translateX(-50%); top: 19.4cqh; width: 74cqw; }
.og-stage.rt-mines .mn-bag { left: 50%; right: auto; transform: translateX(-50%); top: 69.6cqh; width: auto; padding: .5cqh 3cqw; }
.og-stage.rt-mines .mn-bag.bump { animation: rtbagc .38s cubic-bezier(.3, 1.8, .5, 1); } @keyframes rtbagc { 0% { transform: translateX(-50%) scale(1.3); } 100% { transform: translateX(-50%); } }
@keyframes rtw1c { 50% { transform: translateX(-50%) rotate(-2deg); } } @keyframes rtw2c { 25% { transform: translateX(-50%) rotate(-4deg); } 75% { transform: translateX(-50%) rotate(4deg); } } @keyframes rtw3c { 25% { transform: translateX(calc(-50% - 1px)) rotate(-5deg); } 75% { transform: translateX(calc(-50% + 1px)) rotate(5deg); } }
.og-stage.rt-mines .mn-bag.r1 { animation-name: rtw1c; } .og-stage.rt-mines .mn-bag.r2 { animation-name: rtw2c; } .og-stage.rt-mines .mn-bag.r3 { animation-name: rtw3c; }
.og-stage.rt-mines .rt-say { display: none; }
/* tower: the whole width again */
.og-stage.rt-tower .tw-view { right: 0; border-right: 0; box-shadow: none; }
.og-stage.rt-tower .tw-ledge b { display: none; }
/* penalties: the striker in two pieces */
.rt-st { position: absolute; left: 24%; bottom: 23%; height: auto; width: 25%; aspect-ratio: 400 / 437; z-index: 4; pointer-events: none; transform-origin: 50% 100%; }
.rt-st img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 1.2cqh 1cqh rgba(0, 0, 0, .5)); }
.rt-st .lg { transform-origin: 62.6% 64.1%; transform: rotate(70deg); }
.og-stage.rt-pens .rt-say { top: 19.4cqh; }
/* the crowd: soft light moving across the stands, camera flashes popping, a flare on a goal */
.og-stage.rt-pens .rt-crowd { top: 11%; height: 27%; opacity: 1; background: none; animation: none; mix-blend-mode: screen; overflow: hidden; }
.og-stage.rt-pens .rt-crowd::before { content: ''; position: absolute; inset: -10% -60%; background: radial-gradient(ellipse 30% 60% at 30% 50%, rgba(255, 214, 140, .28), transparent 70%), radial-gradient(ellipse 25% 55% at 75% 45%, rgba(255, 230, 170, .22), transparent 70%); opacity: calc(.25 + var(--cn, 0) * .15); animation: rtwave 5s ease-in-out infinite alternate; }
@keyframes rtwave { from { transform: translateX(-18%); } to { transform: translateX(18%); } }
.og-stage.rt-pens .rt-crowd[data-lv="2"]::before { animation-duration: 3.6s; } .og-stage.rt-pens .rt-crowd[data-lv="3"]::before { animation-duration: 2.6s; } .og-stage.rt-pens .rt-crowd[data-lv="4"]::before, .og-stage.rt-pens .rt-crowd[data-lv="5"]::before { animation-duration: 1.8s; }
.og-stage.rt-pens .rt-crowd i { position: absolute; width: calc(2.2cqw * var(--z, 1)); height: calc(2.2cqw * var(--z, 1)); margin: calc(-1.1cqw * var(--z, 1)); border-radius: 50%; background: radial-gradient(circle, #fff 0 18%, rgba(255, 240, 200, .8) 30%, rgba(255, 220, 150, 0) 70%); animation: rtflashp .6s ease-out forwards; }
@keyframes rtflashp { 0% { transform: scale(.2); opacity: 0; } 15% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(.6); opacity: 0; } }
.og-stage.rt-pens .rt-crowd.roar { animation: rtflare 1.2s ease-out; }
@keyframes rtflare { 0% { background: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(255, 236, 180, .55), transparent 75%); } 100% { background: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(255, 236, 180, 0), transparent 75%); } }
/* crash: the toucan in three pieces */
.rt-tc { aspect-ratio: 420 / 431; }
.rt-tc img { opacity: 1; will-change: transform; }
.rt-tc .wn { transform-origin: 62.2% 53.8%; } .rt-tc .wf { transform-origin: 39.3% 53.8%; }
.rt-tc .wf, .rt-tc .bd { filter: none; } .rt-tc .wf { filter: brightness(.8); }
.og-stage.rt-crash .rt-hist { top: 11.4cqh; left: 4cqw; right: 4cqw; justify-content: center; }
.og-stage.rt-crash .rt-hist[hidden] { display: none; }
/* hi-lo: the card in the middle, skip on the stone */
.og-stage.rt-hilo .hl-card { left: calc(50% - var(--cw) / 2) !important; }
.og-stage.rt-hilo .hl-hist { left: 6cqw; right: 6cqw; }
.rt-skip { position: absolute; left: 50%; top: 66.4cqh; transform: translateX(calc(var(--cw) * .5 + 6cqw)); z-index: 6; display: none; align-items: center; gap: 1cqw; padding: .7cqh 2.6cqw; border: 0; border-radius: 999px; background: rgba(3, 14, 9, .82); box-shadow: inset 0 0 0 1px rgba(242, 207, 122, .55); color: #f7e2ab; font: 800 clamp(9px, 2.7cqw, 12px)/1 var(--font); cursor: pointer; }
.rt-skip svg { width: 3.2cqw; height: 3.2cqw; }
.rt-skip:not(:disabled) { display: flex; }
.rt-skip:active { transform: translateX(calc(var(--cw) * .5 + 6cqw)) scale(.94); }
.og-stage.rt-hilo .hl-hist { top: 64.2cqh; }
.rt-skip { top: 44cqh; transform: translateX(calc(var(--cw) * .5 + 3cqw)); }
.rt-skip:active { transform: translateX(calc(var(--cw) * .5 + 3cqw)) scale(.94); }
.rt-st { width: 28%; left: 22%; }
/* (1411b) crash: the altitude meter; the tape scrolls, where he is now stays in the middle */
.og-stage.rt-crash .rt-lad { display: none; }
.rt-alt { position: absolute; right: 1.6cqw; top: 12cqh; height: 52cqh; width: 19cqw; z-index: 4; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
.rt-alt::before { content: ''; position: absolute; right: 3cqw; top: 0; bottom: 0; width: 2px; background: rgba(242, 207, 122, .35); }
.rt-tape { position: absolute; left: 0; right: 0; top: 50%; height: 0; transform: translateY(calc(var(--a, 0) * 30cqh)); will-change: transform; }
.rt-tape i { position: absolute; right: 3cqw; top: calc(var(--l) * -30cqh); transform: translateY(-50%); display: flex; align-items: center; gap: 1.2cqw; font-style: normal; }
.rt-tape i::after { content: ''; width: 2.4cqw; height: 2px; border-radius: 2px; background: rgba(242, 207, 122, .5); margin-right: -1px; }
.rt-tape b { font: 900 clamp(8.5px, 2.5cqw, 11px)/1 var(--font); color: rgba(232, 246, 238, .55); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); font-variant-numeric: tabular-nums; }
.rt-tape i.on b { color: #f2cf7a; } .rt-tape i.on::after { background: #f2cf7a; width: 3cqw; }
.rt-tape i.next b { color: var(--mint); animation: rtnextv 1.3s ease-in-out infinite; } .rt-tape i.next::after { background: var(--mint); width: 3cqw; }
.rt-now { position: absolute; right: 1.6cqw; top: 50%; transform: translateY(-50%); z-index: 2; padding: .7cqh 2.2cqw; border-radius: 999px; background: linear-gradient(180deg, #ffe08a, #c99a2e); color: #2c1c00; font: 900 clamp(10.5px, 3.2cqw, 14px)/1 var(--font); font-variant-numeric: tabular-nums; box-shadow: 0 0 0 1.5px #fff6d6, 0 0 12px rgba(255, 214, 110, .6); }
.rt-now::after { content: ''; position: absolute; right: -1.6cqw; top: 50%; width: 1.6cqw; height: 2px; margin-top: -1px; background: #fff1c2; }
.rt-alt.bust .rt-now { background: linear-gradient(180deg, #ff9c8f, #c0392b); color: #fff; box-shadow: 0 0 0 1.5px #ffd5cf, 0 0 12px rgba(255, 90, 70, .6); }
.rt-alt.bust::before { background: rgba(255, 110, 90, .5); }
.rt-alt.won .rt-now { animation: rtwonp .9s ease-out; } @keyframes rtwonp { 30% { transform: translateY(-50%) scale(1.25); filter: brightness(1.4); } }
/* the go buttons: each game's own medallion, no drawn icon */
.og-stage.rt-on .rt-go { background-image: url(/img/og/rt-go-mines.webp?a=1); }
.og-stage.rt-tower .rt-go { background-image: url(/img/og/rt-go-tower.webp?a=1); }
.og-stage.rt-pens .rt-go { background-image: url(/img/og/rt-go-pens.webp?a=1); }
.og-stage.rt-crash .rt-go { background-image: url(/img/og/rt-go-crash.webp?a=1); }
.og-stage.rt-hilo .rt-go { background-image: url(/img/og/rt-go-hilo.webp?a=1); }
.og-stage.rt-on .rt-go.cash::before { inset: 11%; }
/* penalties: just the ball on the spot */
.og-stage.rt-pens .pn-ball { left: 50%; bottom: 30%; width: 11%; }
/* (1413) the strip: five pills the same size, yours always in the middle */
.og-stage .rt-lad.h { left: 50%; right: auto; width: calc(5 * 16cqw + 4 * 1.6cqw); transform: translateX(-50%); gap: 1.6cqw; justify-content: center; }
.og-stage .rt-lad.h span, .og-stage .rt-lad.h span.now { flex: 0 0 16cqw; width: 16cqw; height: 5.4cqh; transform: none; }
.og-stage .rt-lad.h span.gap { visibility: hidden; }
.og-stage .rt-lad.h span b, .og-stage .rt-lad.h span.now b { font-size: clamp(9.5px, 3cqw, 13px); opacity: 1; }
.og-stage .rt-lad.h span.on:not(.now) b { color: #f2cf7a; }
/* the side tape (crash and hi-lo): evenly spaced marks, yours in the middle */
.og-stage .rt-alt { position: absolute; display: block; right: 1.6cqw; left: auto; top: 12cqh; height: 52cqh; width: 19cqw; gap: 0; z-index: 4; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.og-stage .rt-alt::before { content: ''; position: absolute; right: 3cqw; top: 0; bottom: 0; left: auto; width: 2px; border-radius: 0; background: rgba(242, 207, 122, .35); }
.og-stage .rt-alt .rt-tape { transform: translateY(calc(var(--p, 0) * 7.4cqh)); }
.og-stage .rt-alt .rt-tape.glide { transition: transform .5s cubic-bezier(.25, .9, .3, 1); }
.og-stage .rt-alt .rt-tape i { top: calc(var(--i) * -7.4cqh); }
.og-stage .rt-alt .rt-tape b { font-size: clamp(9px, 2.7cqw, 12px); }
.og-stage .rt-alt.bust::before { background: rgba(255, 110, 90, .5); }
/* hi-lo: the temple reaches the bottom again */
.og-stage.rt-hilo { background: #050d09 url(/img/og/rt-hl-bg.webp?a=1) center top -16cqh / 118% auto no-repeat; }
.og-stage .rt-alt b.rt-now { position: absolute; right: 1.6cqw; top: 50%; transform: translateY(-50%); z-index: 2; padding: .7cqh 2.2cqw; border-radius: 999px; background: linear-gradient(180deg, #ffe08a, #c99a2e); color: #2c1c00; opacity: 1; text-shadow: none; font: 900 clamp(10.5px, 3.2cqw, 14px)/1 var(--font); font-variant-numeric: tabular-nums; box-shadow: 0 0 0 1.5px #fff6d6, 0 0 12px rgba(255, 214, 110, .6); }
.og-stage .rt-alt.bust b.rt-now { background: linear-gradient(180deg, #ff9c8f, #c0392b); color: #fff; box-shadow: 0 0 0 1.5px #ffd5cf, 0 0 12px rgba(255, 90, 70, .6); }
.og-stage .rt-alt .rt-tape i.on b { color: #f2cf7a; } .og-stage .rt-alt .rt-tape i.next b { color: var(--mint, #2be39a); }
.og-stage .rt-alt .rt-tape i b { color: rgba(232, 246, 238, .6); }

/* ======================= Live lobby, for regulars (1417) ======================= */
.lv-top2 { padding: 12px !important; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(135deg, #0f2a1f, #0a1c15) !important; color: #e8f6ee; box-shadow: 0 14px 30px -18px rgba(6, 30, 20, .6), inset 0 0 0 1px rgba(242, 207, 122, .18) !important; }
.lv-top2-a { display: flex; align-items: center; gap: 10px; }
.lv-top2-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lv-top2-t > b { font-size: 19px; font-weight: 900; letter-spacing: -.01em; color: #fff; }
.lv-top2-s { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: rgba(232, 246, 238, .7); white-space: nowrap; }
.lv-top2-s b { color: #fff; font-variant-numeric: tabular-nums; }
.lv-top2 .lv-dot { width: 8px; height: 8px; border-radius: 50%; background: #2be39a; box-shadow: 0 0 0 0 rgba(43, 227, 154, .6); animation: lvpulse 1.8s ease-out infinite; }
.lv-top2 .lv-dot.off { background: #9fb3aa; animation: none; }
@keyframes lvpulse { 0% { box-shadow: 0 0 0 0 rgba(43, 227, 154, .55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(43, 227, 154, 0); } }
.lv-top2 .lv-ib.lt { background: rgba(255, 255, 255, .08); color: #fff; }
.lv-top2-b { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.lv-top2-b .avatar { flex: none; width: 34px; height: 34px; overflow: hidden; } .lv-top2-b .avatar img { width: 100%; height: 100%; object-fit: cover; }
.lv-top2-bal { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.lv-top2-bal small { font-size: 11px; color: rgba(232, 246, 238, .65); font-weight: 600; } .lv-top2-bal b { font-size: 15px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-top2-b > .btn.sm { background: rgba(255, 255, 255, .12); color: #fff; border: 0; }
.lv-qs { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px !important; min-height: 44px; border-radius: 14px !important; text-align: left; position: relative; overflow: hidden; }
.lv-qs svg { width: 18px; height: 18px; flex: none; }
.lv-qs span { display: flex; flex-direction: column; line-height: 1.1; } .lv-qs b { font-size: 14px; font-weight: 800; } .lv-qs small { font-size: 11px; font-weight: 600; opacity: .8; white-space: nowrap; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; }
.lv-qs::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); animation: lvshine 4.5s ease-in-out infinite; }
@keyframes lvshine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
/* the rows */
.lv-sort { display: flex; align-items: center; gap: 6px; margin: 2px 2px 8px; font-size: 12px; color: var(--muted); }
.lv-sort > span { font-weight: 700; margin-right: 2px; }
.lv-sort button { border: 0; padding: 6px 11px; border-radius: 999px; background: rgba(14, 22, 48, .06); color: var(--ink); font: 700 12px/1 var(--font); cursor: pointer; transition: background .15s, color .15s; }
.lv-sort button.on { background: var(--ink); color: #fff; }
.lv-rows { display: flex; flex-direction: column; gap: 8px; }
.lv-r { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 10px 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 22, 48, .07), 0 8px 18px -14px rgba(14, 22, 48, .35); overflow: hidden; }
.lv-r::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: #19c27f; }
.lv-r-mid::before { background: linear-gradient(#f2cf7a, #c99a2e); } .lv-r-hi::before { background: linear-gradient(#2a2a2a, #c99a2e); }
.lv-r.live { box-shadow: inset 0 0 0 1px rgba(25, 194, 127, .35), 0 8px 18px -14px rgba(14, 22, 48, .35); }
.lv-r.live::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(43, 227, 154, .09) 50%, transparent 70%); background-size: 250% 100%; animation: lvsweep 3.2s linear infinite; }
@keyframes lvsweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.lv-r-a { display: flex; align-items: center; gap: 10px; }
.lv-r-a > img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.lv-r-n { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.lv-r-n b { font-size: 15.5px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-r-n b em { font-style: normal; font-weight: 800; color: #0e9a63; margin-left: 4px; font-variant-numeric: tabular-nums; }
.lv-r-n small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.lv-r-go { flex: none; min-width: 64px; transition: transform .12s; } .lv-r-go:active { transform: scale(.94); }
.lv-fav { flex: none; width: 28px; height: 28px; margin: 0 -4px 0 -4px; border: 0; padding: 4px; background: none; color: rgba(14, 22, 48, .2); cursor: pointer; transition: color .15s, transform .15s; }
.lv-fav svg { width: 100%; height: 100%; } .lv-fav:active { transform: scale(.85); }
.lv-r.fav .lv-fav { color: #e8b22e; filter: drop-shadow(0 1px 2px rgba(200, 140, 20, .4)); }
.lv-r-b { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-left: 2px; }
.lv-r-b .pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; white-space: nowrap; }
.lv-r-b .pill .lv-dot { width: 7px; height: 7px; border-radius: 50%; background: #19c27f; animation: lvpulse 1.8s ease-out infinite; }
.lv-sd { display: inline-flex; align-items: center; gap: 3px; } .lv-sd i { width: 8px; height: 8px; border-radius: 50%; background: rgba(14, 22, 48, .14); transition: background .3s; }
.lv-sd i.on { background: #19c27f; } .lv-sd i.me { background: #e8b22e; box-shadow: 0 0 0 2px rgba(232, 178, 46, .3); }
.lv-sd small { margin-left: 4px; font-size: 12px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.lv-r-x { display: inline-flex; align-items: baseline; gap: 4px; margin-left: auto; } .lv-r-x + .lv-r-x { margin-left: 0; }
.lv-r-x small { font-size: 11px; color: var(--muted); } .lv-r-x b { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); border-radius: 4px; }
.lv-r-x b.chg { animation: lvchg 1.2s ease-out; } @keyframes lvchg { 0% { background: rgba(43, 227, 154, .45); } 100% { background: transparent; } }
.lv-sec .lv-rows { margin-top: 6px; }
/* at the table: this sitting, and the keyboard line */
.lv-sess { display: inline-flex; gap: 6px; margin-left: 8px; } .lv-sess i { font-style: normal; padding: 1px 7px; border-radius: 999px; background: rgba(127, 127, 127, .18); font-weight: 700; font-variant-numeric: tabular-nums; }
.lv-sess i.up { color: #2be39a; } .lv-sess i.dn { color: #ff9c8f; }
.lv-keys { margin: -2px 2px 4px; line-height: 1.6; } .lv-keys b { display: inline-block; min-width: 16px; padding: 0 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); text-align: center; }
@media (prefers-reduced-motion: reduce) { .lv-top2 .lv-dot, .lv-qs::after, .lv-r.live::after, .lv-r-b .pill .lv-dot { animation: none; } }
.lv-r-b { flex-wrap: nowrap; gap: 8px; min-width: 0; }
.lv-r-b .pill { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 11px; padding: 4px 8px; }
.lv-sd { flex: none; } .lv-sd i { width: 7px; height: 7px; }
.lv-r-x { flex: none; white-space: nowrap; } .lv-r-x small { font-size: 10.5px; }
.lv-top2-bal small, .lv-top2-bal b { white-space: nowrap; }
.lv-top2-b { flex-wrap: wrap; } .lv-top2-b > .btn.sm { margin-left: auto; }
.lv-qs { flex: 1 0 100%; margin-left: 0; justify-content: center; }
.lv-qs small { max-width: 60vw; }
.lv-nm small { white-space: nowrap; }

/* b1419: lobby search, favourite stars, cover → game */
.og-q { position: relative; display: flex; align-items: center; margin: 0 0 12px; }
.og-q input { width: 100%; height: 44px; padding: 0 42px 0 40px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card, #fff); font: 600 15px var(--font); color: var(--ink); box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.og-q input::-webkit-search-cancel-button { display: none; }
.og-q input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(6, 212, 127, .25); }
.og-q-i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; pointer-events: none; }
.og-q-x { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(14, 22, 48, .07); color: var(--ink); cursor: pointer; }
.og-q-x[hidden] { display: none; }
#ogres:empty { display: none; } #ogres { margin-bottom: 12px; }
.sl-chip { position: relative; }
.og-star { position: absolute; left: 6px; top: 6px; z-index: 3; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(10, 8, 16, .45); color: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); cursor: pointer; transition: transform .15s; }
.og-star svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; } .og-star svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.og-star.on { color: #ffd23f; background: rgba(10, 8, 16, .6); } .og-star.on svg path { fill: currentColor; }
.og-star:active { transform: scale(.85); }
@media (hover: hover) { .sl-chip:not(:hover) .og-star:not(.on) { opacity: 0; } }
.og-grow { position: fixed; z-index: 60; object-fit: cover; pointer-events: none; transform-origin: center; will-change: transform, opacity; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.og-bw:not(:empty) { margin: 0 0 12px; }
/* b1419: reactions at a live table */
.lv-rxt { display: flex; justify-content: center; gap: 4px; margin: 6px auto 0; padding: 5px; width: max-content; max-width: 100%; border-radius: 999px; background: var(--card, #fff); box-shadow: 0 8px 24px rgba(14, 22, 48, .18); position: relative; z-index: 6; }
.lv-rxt[hidden] { display: none; }
.lv-rxt button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; cursor: pointer; transition: transform .12s; }
.lv-rxt button:active { transform: scale(1.3); }
.lv-rx { position: fixed; z-index: 70; font-size: 34px; line-height: 1; pointer-events: none; transform: translate(-50%, -30%); animation: lvrx 2.2s cubic-bezier(.2, .9, .3, 1) forwards; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
@keyframes lvrx { 0% { transform: translate(-50%, 10%) scale(.3); opacity: 0; } 15% { transform: translate(-50%, -60%) scale(1.2); opacity: 1; } 30% { transform: translate(-50%, -70%) scale(1); } 80% { opacity: 1; } 100% { transform: translate(-50%, -190%) scale(.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lv-rx { animation-duration: 1.4s; } }
.gfx-low .cvfx, .gfx-low .og-cheer { display: none !important; }
.gfx-low .emp-ic, .gfx-low .playtiles > button img, .gfx-low .ogrow-s .sl-chip img { animation: none !important; }
/* b1421: more than one table — the pill's count and the switcher strip */
.lv-pill-n { flex: none; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(14, 22, 48, .08); font: 800 12px/22px var(--font); font-style: normal; text-align: center; color: var(--ink); box-sizing: border-box; }
.lv-pill-n.turn { background: #ffdf50; color: #2a1d00; animation: lvswp 1.2s ease-in-out infinite; }
.lv-sw { display: flex; gap: 6px; margin: 8px 0 2px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.lv-sw::-webkit-scrollbar { display: none; }
.lv-sw-b { flex: 1 1 0; min-width: 0; max-width: 220px; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px 0 4px; border: 0; border-radius: 999px; background: rgba(14, 22, 48, .06); color: var(--ink); font: 700 12.5px var(--font); cursor: pointer; position: relative; }
.lv-sw-b img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; opacity: .75; }
.lv-sw-b span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.lv-sw-b b { flex: none; font-variant-numeric: tabular-nums; font-size: 12px; }
.lv-sw-b.on { background: var(--ink, #0a0a0a); color: #fff; } .lv-sw-b.on img { opacity: 1; }
.lv-sw-b.turn:not(.on) { background: #ffdf50; color: #2a1d00; box-shadow: 0 0 0 3px rgba(255, 223, 80, .35); animation: lvswp 1.2s ease-in-out infinite; }
.lv-sw-b.turn.on b { color: #ffdf50; }
@keyframes lvswp { 50% { box-shadow: 0 0 0 6px rgba(255, 223, 80, .15); } }
.lv-app.full .lv-sw { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .lv-sw-b.turn, .lv-pill-n.turn { animation: none; } }
/* b1424: covers in grids instead of sideways rows (a computer, and the shop machines) */
@media (min-width: 1100px) {
  body:not(.kiosk) .ogrow.flat .ogrow-s { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; margin: 0; padding: 2px 0 6px; scroll-snap-type: none; }
  body:not(.kiosk) .ogrow-s .sl-chip { width: auto !important; }
  body:not(.kiosk) .og-game { width: 100%; max-width: 840px; margin-left: auto; margin-right: auto; }
  body:not(.kiosk) .lv-app:not(.full) { width: 100%; max-width: 960px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
  body:not(.kiosk) .og-q { max-width: 560px; }
  /* b1429: a single group (Table games, Multipliers...) uses the same cover size as the rows on All */
  html body:not(.kiosk) .chips.sl-chipsrow { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  body:not(.kiosk) .ogrow-s .sl-chip[hidden] { display: none; } /* "Most played" keeps to one row (og.js) */
}
body.kiosk .ogrow.flat .ogrow-s { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; margin: 0; padding: 2px 0 6px; }
body.kiosk .ogrow-s .sl-chip { width: auto !important; }
/* b1424: the wide table on a computer screen and in a side-by-side tile (live.js sets html.lv-wide) */
html.lv-wide .lv-app .lv-felt { --fh: min(540px, calc(100dvh - 300px)); width: min(100%, calc(var(--fh) * 480 / 270)); aspect-ratio: 480 / 270; max-height: none; max-width: none; }
html.lv-wide .lv-app .lv-felt[data-lvl=lo] .lv-oval { background-image: url(/img/lv/table-low.svg); }
html.lv-wide .lv-app .lv-felt[data-lvl=mid] .lv-oval { background-image: url(/img/lv/table-midw.svg); }
html.lv-wide .lv-app .lv-felt[data-lvl=hi] .lv-oval { background-image: url(/img/lv/table-hiw.svg); }
html.lv-embed.lv-wide .lv-app .lv-felt { --fh: calc(100dvh - 150px); }
html.lv-embed .lvemb { padding: 4px 6px; } html.lv-embed .lv-app .lv-top { padding-top: 0; }
