/* Slots (/casino/labrats, /casino/nightshift, /casino/heist). The machine stays dark in both themes, like a cabinet
   (the section carries .force-dark, so the site's tokens inside it are the dark ones); the page around it follows
   the site. --accent is the game's color and --cell the symbol size, which slots.js sets from the room it has. */

.sl [hidden] { display: none !important; }
.sl { --sl-line: rgba(255, 255, 255, .08); --sl-dim: rgba(236, 241, 247, .6); position: relative; border-radius: var(--r-lg); overflow: hidden; background: #06080c; color: #eef2f7; border: 1px solid rgba(0, 0, 0, .5); box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 30px 70px -40px rgba(0, 0, 0, .75); isolation: isolate; }

/* ----- the stage: art, logo, meter, the reels, the line under them */
.sl-stage { position: relative; height: clamp(440px, calc(100vh - 385px), 720px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.sl-bg { position: absolute; inset: -2%; z-index: -2; background-size: cover; background-position: center 40%; transition: filter 1.2s var(--ease), transform 1.2s var(--ease); }
.sl-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 85% at 50% 50%, rgba(4, 6, 9, .2), rgba(4, 6, 9, .74) 78%), linear-gradient(180deg, rgba(4, 6, 9, .4), rgba(4, 6, 9, 0) 26%, rgba(4, 6, 9, 0) 70%, rgba(4, 6, 9, .7)); }
.sl-stage.bonus .sl-bg { filter: saturate(1.35) brightness(1.15); }
/* the scene drifts slowly, and its particles (slots.js ambient) float over it */
.sl-bg { animation: sl-drift 48s ease-in-out infinite alternate; }
@keyframes sl-drift { from { transform: scale(1.03) translate(0, 0); } to { transform: scale(1.1) translate(-1.6%, -1.2%); } }
.sl-amb { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.sl-top { position: relative; display: flex; justify-content: center; align-items: center; padding: 14px 18px 4px; min-height: 74px; }
.sl-logo { height: clamp(46px, 8.5vh, 82px); width: auto; max-width: 62%; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); pointer-events: none; }
.sl-board { position: relative; display: grid; place-items: center; min-height: 0; padding: 2px 16px; }
.sl-frame { position: relative; padding: 6px; border-radius: 18px; border: 2px solid transparent; background: linear-gradient(rgba(5, 8, 12, .7), rgba(5, 8, 12, .7)) padding-box, linear-gradient(160deg, var(--f1), var(--f2) 22%, var(--f3) 46%, var(--f2) 70%, var(--f1)) border-box; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 40px -18px var(--f2); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
/* each game's frame metal: dark edge, its color, a bright highlight */
.sl-labrats { --f1: #1f3d12; --f2: #6fbf3a; --f3: #e2ffc4; }
.sl-nightshift { --f1: #0c3b38; --f2: #2fb5aa; --f3: #d4fffb; }
.sl-heist { --f1: #5b3d0c; --f2: #d39a2c; --f3: #fff2c9; }
.sl-wrapped { --f1: #4a2d0a; --f2: #d08a2e; --f3: #ffe6b3; }
.sl-paws { --f1: #1b2848; --f2: #6189d8; --f3: #eef3ff; }
.sl-stage.bonus .sl-frame { box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent), 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 60px -16px var(--accent); }
.sl-reels { position: relative; display: flex; border-radius: 12px; overflow: hidden; }
.sl-reel { position: relative; width: var(--cell); height: calc(var(--cell) * var(--rows)); overflow: hidden; }
.sl-reel + .sl-reel { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .04); }
.sl-strip { will-change: transform; }
/* spinning: blurred copies of the symbols pass at full speed (slots.js makeSmears); the window's top and bottom are
   shaded like a drum turning away, which also hides the hard edge where symbols enter and leave */
.sl-cell.smear .sl-sym { transform: scaleY(1.06); }
.sl-nightshift .sl-reel::after, .sl-heist .sl-reel::after, .sl-wrapped .sl-reel::after, .sl-paws .sl-reel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(3, 5, 8, .5), rgba(3, 5, 8, 0) 13%, rgba(3, 5, 8, 0) 87%, rgba(3, 5, 8, .5)); }
.sl-reel.tease { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 40%, transparent 60%, color-mix(in srgb, var(--accent) 22%, transparent)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 0 26px color-mix(in srgb, var(--accent) 40%, transparent); }

/* ----- a symbol */
.sl-cell { position: relative; width: var(--cell); height: var(--cell); display: grid; place-items: center; transition: filter .3s var(--ease); }
.sl-sym { width: 88%; height: 88%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 calc(var(--cell) * .045) calc(var(--cell) * .05) rgba(0, 0, 0, .55)); transition: transform .3s var(--ease); }
.sl-reels.dim .sl-cell:not(.hit):not(.hit2) { filter: brightness(.36) saturate(.55); }
/* a light sweeping across a winning symbol, clipped to its own picture */
.sl-shine { position: absolute; inset: 6%; z-index: 2; pointer-events: none; -webkit-mask: var(--sym) center / contain no-repeat; mask: var(--sym) center / contain no-repeat; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, 0) 62%) no-repeat; background-size: 260% 100%; mix-blend-mode: screen; animation: sl-shine 1s ease-out both; }
@keyframes sl-shine { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.sl-plate { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; padding: 10px 24px 12px; border-radius: 16px; background: rgba(5, 8, 12, .84); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 16px 40px -14px rgba(0, 0, 0, .9); pointer-events: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sl-plate span { font: 800 11px/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.sl-plate b { display: flex; align-items: center; gap: 8px; font: 800 30px/1.1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.sl-plate b .coin { width: 22px; height: 22px; }
.sl-plate.nice b i { font-style: normal; font-size: 36px; background: linear-gradient(180deg, #fff6d6, #ffd45c 55%, #e59a1c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-plate b i { font-style: normal; }
.sl-cell.hit::before, .sl-cell.hit2::before { content: ""; position: absolute; inset: 5%; border-radius: 22%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 75%, transparent); }
.sl-cell.hit2::before { background: radial-gradient(circle, rgba(255, 214, 102, .36), transparent 70%); box-shadow: inset 0 0 0 2px rgba(255, 214, 102, .8); }
.sl-cell.hit .sl-sym, .sl-cell.hit2 .sl-sym { animation: sl-throb .6s ease-in-out infinite alternate; filter: drop-shadow(0 0 calc(var(--cell) * .07) color-mix(in srgb, var(--accent) 80%, transparent)) drop-shadow(0 calc(var(--cell) * .04) calc(var(--cell) * .05) rgba(0, 0, 0, .5)); }
@keyframes sl-throb { from { transform: scale(1); } to { transform: scale(1.09); } }

.sl-tag { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); font: 800 max(9px, calc(var(--cell) * .14))/1 var(--font-display); letter-spacing: .07em; text-transform: uppercase; color: #fff; padding: .2em .55em .22em; border-radius: 999px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff), color-mix(in srgb, var(--accent) 72%, #000)); box-shadow: 0 2px 6px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .35); text-shadow: 0 1px 1px rgba(0, 0, 0, .4); white-space: nowrap; }
.sl-mult { position: absolute; top: 5%; right: 4%; font: 800 max(10px, calc(var(--cell) * .19))/1 var(--font-display); letter-spacing: -.02em; color: #fff; padding: .14em .32em .16em; border-radius: .35em; background: linear-gradient(180deg, #ff5a5f, #c81d2a); box-shadow: 0 2px 6px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .3); }

/* Tuition Heist's coins: a value, a jackpot, or the x2 */
.sl-val { position: absolute; inset: 0; display: grid; place-items: center; font: 800 max(10px, calc(var(--cell) * .2))/1 var(--font-display); letter-spacing: -.03em; color: #4b2d00; text-shadow: 0 1px 0 rgba(255, 244, 200, .7); font-variant-numeric: tabular-nums; }
.sl-val.jp { font-size: max(9px, calc(var(--cell) * .15)); letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.sl-val.x2 { font-size: max(12px, calc(var(--cell) * .27)); color: #fff; text-shadow: 0 2px 3px rgba(0, 0, 0, .6); }
.sl-cell.void::after { content: ""; position: absolute; inset: 7%; border-radius: 16%; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.sl-cell.void.rolling::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 214, 102, .2), rgba(255, 255, 255, 0)) 0 0 / 100% 220%; animation: sl-roll .32s linear infinite; }
@keyframes sl-roll { to { background-position: 0 220%; } }
.sl-stage.lock .sl-frame { box-shadow: inset 0 0 0 1px rgba(255, 214, 102, .45), 0 0 0 4px rgba(255, 214, 102, .08), 0 24px 60px -24px rgba(0, 0, 0, .85); }

/* layers over the reels: Night Shift's sticky wilds, pays floating up, Tuition Heist's lines */
.sl-layer { position: absolute; inset: 6px; pointer-events: none; }
.sl-cell.stuck { position: absolute; z-index: 1; }
.sl-cell.stuck::before { content: ""; position: absolute; inset: 4%; border-radius: 18%; background: rgba(4, 7, 10, .55); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 80%, transparent), 0 0 20px -6px var(--accent); }
.sl-cell.stuck .sl-sym { position: relative; }
/* Wrapped Riches: the pyramid's stone corners never spin */
.sl-cell.stone { position: absolute; }
.sl-cell.stone { overflow: hidden; }
.sl-cell.stone .sl-sym { width: 100%; height: 100%; object-fit: cover; filter: brightness(.52) saturate(.7) sepia(.15); }
.sl-cell.stone::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 calc(var(--cell) * .22) rgba(0, 0, 0, .65); }
/* Midnight Paws: a sneaking cat's multiplier badge sits a touch larger */
.sl-paws .sl-cell.stuck .sl-mult { font-size: max(12px, calc(var(--cell) * .22)); }
.sl-cell.stuck.hit .sl-sym { animation: sl-throb .6s ease-in-out infinite alternate; }
.sl-pops { z-index: 3; }
.sl-pop { position: absolute; transform: translate(-50%, -50%); font: 800 max(15px, calc(var(--cell) * .3))/1 var(--font-display); letter-spacing: -.03em; color: #fff; white-space: nowrap; text-shadow: 0 2px 0 rgba(0, 0, 0, .45), 0 0 16px color-mix(in srgb, var(--accent) 80%, transparent); font-variant-numeric: tabular-nums; }
.sl-pop.mult { color: #ffe07a; text-shadow: 0 2px 0 rgba(0, 0, 0, .45), 0 0 16px rgba(255, 196, 64, .8); }
.sl-lines { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); pointer-events: none; overflow: visible; z-index: 2; }
.sl-lines polyline { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .92; filter: drop-shadow(0 0 5px var(--accent)) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }

.sl-msg { min-height: 40px; display: grid; place-items: center; padding: 6px 16px 12px; text-align: center; font-size: 14px; font-weight: 600; color: var(--sl-dim); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.sl-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }

/* ----- the meter beside the reels: Lab Rats' multiplier ladder, free spins, Tuition Heist's jackpots */
.sl-meter { display: grid; gap: 10px; justify-items: start; }
.sl-ladder { display: flex; flex-direction: column-reverse; gap: 4px; padding: 6px; border-radius: 14px; background: rgba(5, 8, 12, .62); box-shadow: inset 0 0 0 1px var(--sl-line); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.sl-ladder span { min-width: 54px; height: 26px; padding: 0 8px; border-radius: 9px; display: grid; place-items: center; font: 800 14px/1 var(--font-display); letter-spacing: -.01em; color: rgba(255, 255, 255, .38); font-variant-numeric: tabular-nums; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--spring); }
.sl-ladder span.past { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.sl-ladder span.on { background: var(--accent); color: #0b1205; transform: scale(1.08); box-shadow: 0 0 22px -4px var(--accent); }
.sl-fs { padding: 8px 12px; border-radius: 12px; background: rgba(5, 8, 12, .7); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); font-size: 13px; font-weight: 600; color: var(--sl-dim); display: flex; gap: 6px; align-items: center; white-space: nowrap; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.sl-fs b { color: #fff; font-family: var(--font-display); font-size: 15px; font-variant-numeric: tabular-nums; }
.sl-fs span { color: rgba(255, 255, 255, .3); }
.sl-chip { padding: 7px 12px; border-radius: 999px; background: rgba(5, 8, 12, .62); box-shadow: inset 0 0 0 1px var(--sl-line); font: 700 12.5px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--sl-dim); }
.sl-jps { display: grid; gap: 5px; }
.sl-jp { min-width: 116px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px 7px 11px; border-radius: 11px; background: rgba(5, 8, 12, .66); box-shadow: inset 0 0 0 1px var(--sl-line), inset 3px 0 0 var(--jc); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.sl-jp span { font: 800 11px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--jc); }
.sl-jp b { font: 800 15px/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.j-mini { --jc: #46d39a; } .j-minor { --jc: #5aa8ff; } .j-major { --jc: #ff6470; } .j-grand { --jc: #ffc94d; }
.sl-pips { display: inline-flex; gap: 5px; margin-left: 4px; }
.sl-pips i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.sl-pips i.on { background: var(--accent); box-shadow: 0 0 10px -2px var(--accent); }

/* ----- overlays: feature intros, banners, big wins */
.sl-over { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center; cursor: pointer; background: radial-gradient(70% 70% at 50% 50%, rgba(3, 5, 8, .55), rgba(3, 5, 8, .88)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sl-over.banner { background: rgba(3, 5, 8, .28); backdrop-filter: none; -webkit-backdrop-filter: none; }
.sl-card { display: grid; justify-items: center; gap: 2px; padding: 24px 36px; }
.sl-kick { font: 700 13px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.sl-huge { font: 800 clamp(72px, 15vh, 136px)/1 var(--font-display); letter-spacing: -.05em; color: #fff; text-shadow: 0 6px 0 rgba(0, 0, 0, .35), 0 0 40px color-mix(in srgb, var(--accent) 55%, transparent); margin-top: 6px; }
.sl-subt { font: 800 22px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.sl-card p { max-width: 36ch; margin-top: 14px; color: var(--sl-dim); font-size: 14.5px; line-height: 1.45; }
.sl-hint { margin-top: 18px; font-size: 12px; color: rgba(255, 255, 255, .4); }
.sl-banner { display: grid; gap: 6px; padding: 18px 30px; border-radius: 18px; background: rgba(6, 9, 13, .86); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent), 0 20px 50px -20px rgba(0, 0, 0, .8); }
.sl-banner b { font: 800 34px/1 var(--font-display); letter-spacing: -.02em; color: #fff; }
.sl-banner span { font-size: 13px; font-weight: 600; color: var(--sl-dim); }
.sl-big { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; }
.sl-over.big { overflow: hidden; }
.sl-over.big::before { content: ""; position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, rgba(255, 214, 92, .16) 0deg 7deg, rgba(255, 214, 92, 0) 7deg 18deg); -webkit-mask: radial-gradient(circle, #000 12%, transparent 58%); mask: radial-gradient(circle, #000 12%, transparent 58%); animation: sl-rays 16s linear infinite; }
@keyframes sl-rays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.sl-big-t { font: 800 clamp(44px, 9vh, 88px)/1 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; background: linear-gradient(180deg, #fff6d6 10%, #ffd45c 50%, #e59a1c 90%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(90, 50, 0, .6)) drop-shadow(0 0 26px rgba(255, 190, 60, .45)); }
.sl-big-n { display: flex; align-items: center; gap: 12px; font: 800 clamp(34px, 6.5vh, 60px)/1 var(--font-display); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.sl-big-n .coin { width: .8em; height: .8em; }
.sl-big-x { font-size: 14px; font-weight: 600; color: var(--sl-dim); font-variant-numeric: tabular-nums; }

/* ----- the splash (logo, loading bar, Play) and the how-to-play guide */
.sl-over.splash { background: radial-gradient(70% 70% at 50% 45%, rgba(3, 5, 8, .35), rgba(3, 5, 8, .9)); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.sl-splash { display: grid; justify-items: center; gap: 20px; padding: 20px; }
.sl-splash-logo { width: min(440px, 72vw); max-height: 220px; object-fit: contain; filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .65)); animation: sl-float 4s ease-in-out infinite; }
@keyframes sl-float { 50% { transform: translateY(-7px); } }
.sl-load { width: 220px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.sl-load i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s var(--ease); }
.sl-splash-play { height: 54px; padding: 0 30px 0 22px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--font-display); letter-spacing: .02em; color: #08110a; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 60%, #fff), var(--accent) 55%, color-mix(in srgb, var(--accent) 72%, #000)); animation: sl-ready 1.4s ease-in-out infinite; transition: transform .15s var(--spring); }
.sl-splash-play:active { transform: scale(.96); }
.sl-splash-play svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sl-over.learn { cursor: default; background: rgba(3, 5, 8, .8); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.sl-learn { width: min(580px, calc(100% - 28px)); max-height: calc(100% - 24px); overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(22, 27, 36, .97), rgba(12, 15, 20, .98)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px -30px rgba(0, 0, 0, .9); text-align: left; }
.sl-learn-top { display: flex; align-items: center; gap: 10px; }
.sl-learn-n { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--sl-dim); }
.sl-learn-x { width: 30px; height: 30px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; font-size: 18px; line-height: 1; }
.sl-learn-x:hover { background: rgba(255, 255, 255, .14); }
.sl-learn-body { display: grid; gap: 10px; }
.sl-learn-art { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 8px 0 2px; min-height: 118px; }
.sl-learn-art span { position: relative; width: 104px; height: 104px; display: grid; place-items: center; animation: sl-bob 2.8s ease-in-out infinite; animation-delay: var(--d); }
.sl-learn-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55)); }
.sl-learn-art .sl-mult { font-size: 17px; }
.sl-learn-art .sl-tag { font-size: 12px; }
@keyframes sl-bob { 50% { transform: translateY(-7px) rotate(-2deg); } }
.sl-learn h3 { font: 800 24px/1.15 var(--font-display); letter-spacing: -.02em; color: #fff; text-align: center; }
.sl-learn p { max-width: 48ch; margin: 0 auto; text-align: center; color: rgba(238, 242, 247, .76); font-size: 14.5px; line-height: 1.55; }
.sl-learn-ladder { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; }
.sl-learn-ladder i { font: 800 13px/1 var(--font-display); font-style: normal; padding: 6px 8px; border-radius: 8px; color: var(--accent); background: rgba(255, 255, 255, .06); }
.sl-learn-ctrl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sl-learn-ctrl > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.sl-learn-ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.sl-learn-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sl-learn-ico .coin { width: 18px; height: 18px; }
.sl-learn-ctrl b { font-size: 14px; color: #fff; }
.sl-learn-ctrl small { font-size: 12.5px; line-height: 1.35; color: var(--sl-dim); }
.sl-learn-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.sl-dots { display: flex; gap: 6px; }
.sl-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .2); transition: width .25s var(--ease), background .25s; }
.sl-dots i.on { width: 20px; background: var(--accent); }
.sl-learn-btns { display: flex; gap: 8px; }
.sl-learn .btn { height: 38px; }
.sl-learn .sl-learn-back { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.sl-learn .sl-learn-next { min-width: 96px; border: 0; background: var(--accent); color: #08110a; font-weight: 700; }
@media (max-width: 720px) {
  .sl-learn-art span { width: 74px; height: 74px; }
  .sl-learn-art { min-height: 84px; gap: 8px; }
  .sl-learn h3 { font-size: 20px; }
  .sl-learn p { font-size: 13.5px; }
  .sl-learn-ctrl { grid-template-columns: 1fr; }
}

/* ----- the bar: buy, balance, win, bet, autoplay, spin, turbo */
.sl-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 16px; background: linear-gradient(180deg, #0d1117, #090c11); border-top: 1px solid var(--sl-line); }
.sl-side { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sl-right { justify-content: flex-end; gap: 10px; }
.sl-stat span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sl-dim); }
.sl-stat b { display: block; font: 700 18px/1.25 var(--font-display); letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-winstat { text-align: center; min-width: 120px; }
.sl-winstat b { font-size: 24px; }
.sl-buy { height: 48px; padding: 0 16px 0 13px; border-radius: 13px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 13%, #0c1016); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s var(--ease), transform .15s var(--spring), opacity .2s; }
.sl-buy span { display: grid; text-align: left; line-height: 1.1; font-size: 11px; color: var(--sl-dim); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.sl-buy span b { font: 800 15px/1.1 var(--font-display); letter-spacing: .02em; color: #fff; }
.sl-buy svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.sl-buy:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 22%, #0c1016); }
.sl-buy:active:not(:disabled) { transform: scale(.97); }
.sl-buy:disabled { opacity: .45; cursor: default; }
.sl-bet { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 13px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--sl-line); }
.sl-bet button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 19px; font-weight: 500; line-height: 1; display: grid; place-items: center; transition: background .15s; }
.sl-bet button:hover:not(:disabled) { background: rgba(255, 255, 255, .14); }
.sl-bet button:disabled { opacity: .3; cursor: default; }
.sl-bet .sl-betval { width: auto; min-width: 76px; height: auto; padding: 2px 6px; background: none; display: block; text-align: center; border-radius: 8px; }
.sl-bet .sl-betval:hover:not(:disabled) { background: rgba(255, 255, 255, .07); }
.sl-bet span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sl-dim); }
.sl-bet b { font: 700 16px/1.2 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.sl-round { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--sl-line); background: rgba(255, 255, 255, .05); color: var(--sl-dim); transition: background .2s, color .2s, transform .15s var(--spring); }
.sl-round:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.sl-round:active { transform: scale(.93); }
.sl-round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sl-round.on { background: var(--accent); border-color: transparent; color: #071006; }
#turbo.on svg { fill: currentColor; }
.sl-round i { position: absolute; top: -5px; right: -6px; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff; color: #0a0d12; font: 700 10.5px/18px var(--font); font-style: normal; text-align: center; }
.sl-round i:empty { display: none; }
.sl-spin { width: 66px; height: 66px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #08110a; background: radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--accent) 60%, #fff), var(--accent) 52%, color-mix(in srgb, var(--accent) 72%, #000)); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06), 0 10px 26px -10px color-mix(in srgb, var(--accent) 80%, transparent), inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .22); transition: transform .18s var(--spring), filter .2s; }
.sl-spin svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--spring); }
.sl-spin:hover svg { transform: rotate(40deg); }
.sl-spin:active { transform: scale(.94); }
.sl-spin.busy { filter: saturate(.7) brightness(.9); }
/* a free spin (or a feature screen) waiting for the player: the button breathes */
.sl-spin.ready { animation: sl-ready 1.3s ease-in-out infinite; }
@keyframes sl-ready { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .06), 0 10px 26px -10px color-mix(in srgb, var(--accent) 80%, transparent), inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .22); }
  50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 28%, transparent), 0 10px 30px -8px color-mix(in srgb, var(--accent) 95%, transparent), inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .22); } }
.sl-fsbar { min-width: 112px; padding: 6px 12px; border-radius: 13px; text-align: center; background: color-mix(in srgb, var(--accent) 14%, rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.sl-fsbar span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 70%, #fff); }
.sl-fsbar b { font: 700 16px/1.2 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-spin.busy svg { fill: currentColor; stroke: none; transform: none; }

.sl-sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 12px; background: #090c11; border-top: 1px solid var(--sl-line); flex-wrap: wrap; }
.sl-sub .cs-gate { margin: 0; }
.sl-tools { display: flex; gap: 4px; margin-left: auto; }
.sl-tools button { height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--sl-dim); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; transition: background .15s, color .15s; }
.sl-tools button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.sl-tools svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ----- dialogs: bonus buys, autoplay, the paytable */
.sl-buys { display: grid; gap: 10px; margin: 16px 0 4px; }
.sl-buyopt { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); text-align: left; color: var(--text); transition: border-color .2s, background .2s, transform .15s var(--spring); }
.sl-buyopt:hover:not(:disabled) { border-color: var(--blue); background: var(--blue-soft); }
.sl-buyopt:active:not(:disabled) { transform: scale(.985); }
.sl-buyopt:disabled { opacity: .55; cursor: default; }
.sl-buyopt img { width: 56px; height: 56px; object-fit: contain; }
.sl-buyopt b { display: block; font: 700 16px/1.2 var(--font-display); }
.sl-buyopt small { display: block; color: var(--text-2); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.sl-price { text-align: right; }
.sl-price b { display: inline-flex; align-items: center; gap: 5px; font-size: 17px; font-variant-numeric: tabular-nums; }
.sl-price em { display: block; font-style: normal; font-size: 12px; color: var(--no-ink); }
.sl-autos { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.sl-bets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.sl-bets button { display: grid; gap: 2px; padding: 10px 8px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); text-align: center; transition: border-color .15s, background .15s, transform .12s var(--spring); }
.sl-bets button b { font: 700 17px/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.sl-bets button small { font-size: 11.5px; color: var(--text-3); }
.sl-bets button:hover:not(:disabled) { border-color: var(--blue); }
.sl-bets button:active:not(:disabled) { transform: scale(.97); }
.sl-bets button.on { border-color: var(--blue); background: var(--blue-soft); }
.sl-bets button:disabled { opacity: .45; cursor: default; }
.sl-autos .btn { min-width: 64px; }
.modal.sl-modal { width: min(560px, calc(100vw - 32px)); max-width: none; }
.sl-pt-wrap { overflow-x: auto; margin: 12px -4px 4px; }
.sl-pt { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.sl-pt th { font-size: 11.5px; font-weight: 700; color: var(--text-3); text-align: right; padding: 4px 6px; }
.sl-pt td { text-align: right; padding: 3px 6px; border-top: 1px solid var(--line); white-space: nowrap; }
.sl-pt td:first-child { text-align: left; width: 48px; }
.sl-pt-img { width: 40px; height: 40px; object-fit: contain; display: block; }
.sl-pt-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 8px; }
.sl-pt-facts div { padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); display: grid; gap: 2px; }
.sl-pt-facts b { font: 700 17px/1.2 var(--font-display); }
.sl-pt-facts span { font-size: 12px; color: var(--text-2); }
.sl-pt-jps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 4px; }
.sl-pt-jps .sl-jp { min-width: 0; background: #0d1117; }

/* the game tabs never wrap a name; on phones the slot's heading stays short so the spin button fits on screen */
.cs-tabs a { white-space: nowrap; }
@media (max-width: 720px) {
  .slot-head { margin-bottom: 12px; }
  .slot-head .sub { display: none; }
  .slot-head .h1 { font-size: 28px; }
  .slot-head .cs-tabs { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
}

/* ----- the home page's showcase for the new slots (js/promo.js, for a while) */
.sp { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: 22px; padding: 22px; margin-bottom: 22px; border-radius: var(--r-lg); background: #07090d; color: #eef2f7; overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); box-shadow: var(--shadow); }
.sp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 140% at 0% 0%, rgba(255, 212, 92, .13), transparent 60%), radial-gradient(60% 140% at 100% 100%, rgba(122, 167, 255, .1), transparent 60%); }
.sp-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.sp-new { font: 800 11px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #1c1404; background: #ffd45c; padding: 6px 10px; border-radius: 999px; }
.sp h2 { font: 800 40px/1.02 var(--font-display); letter-spacing: -.035em; color: #fff; }
.sp p { color: rgba(238, 242, 247, .72); font-size: 14.5px; line-height: 1.5; max-width: 40ch; }
.sp-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.sp .btn.sp-play { height: 42px; padding: 0 20px; border: 0; background: #ffd45c; color: #1c1404; font-size: 15px; font-weight: 700; box-shadow: 0 8px 22px -10px rgba(255, 212, 92, .8); }
.sp .btn.sp-play:hover { background: #ffdf7d; }
.sp .btn.sp-try { height: 42px; padding: 0 16px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.sp-games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; min-height: 240px; }
.sp-game { position: relative; isolation: isolate; display: block; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .35s var(--spring), box-shadow .25s var(--ease); }
.sp-game .art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sp-game::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 6, 9, 0) 30%, rgba(4, 6, 9, .9)); }
.sp-game .logo { position: absolute; left: 8px; right: 8px; bottom: 32px; width: calc(100% - 16px); height: 34%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .65)); transition: transform .4s var(--spring); }
.sp-game span { position: absolute; left: 6px; right: 6px; bottom: 10px; text-align: center; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-game:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--accent), 0 16px 30px -16px var(--accent); }
.sp-game:hover .art { transform: scale(1.07); }
.sp-game:hover .logo { transform: scale(1.05); }
.sp-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border: 0; border-radius: 50%; display: grid; place-items: center; font-size: 18px; line-height: 1; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }
.sp-close:hover { color: #fff; background: rgba(255, 255, 255, .16); }
@media (max-width: 1100px) {
  .sp { grid-template-columns: 1fr; }
  .sp-games { grid-template-columns: repeat(5, 168px); overflow-x: auto; scrollbar-width: none; min-height: 210px; margin: 0 -22px; padding: 0 22px; }
}
@media (max-width: 720px) {
  .sp { padding: 18px 16px; gap: 16px; }
  .sp h2 { font-size: 30px; }
  .sp-games { grid-template-columns: repeat(5, 142px); min-height: 190px; margin: 0 -16px; padding: 0 16px; }
}

/* ----- the lobby's slot tiles */
/* three across, then the newest two wider underneath */
.cs-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 30px; }
.cs-slots > .cs-slot { grid-column: span 2; }
.cs-slots > .cs-slot:nth-child(n+4) { grid-column: span 3; aspect-ratio: 16 / 8.2; }
.cs-new { position: absolute; top: 12px; left: 12px; z-index: 1; font: 800 11px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #1c1404; background: #ffd45c; padding: 6px 9px; border-radius: 999px; }
.cs-slot { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: #06080c; color: #fff; box-shadow: var(--shadow); transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
.cs-slot:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.cs-slot-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cs-slot:hover .cs-slot-art { transform: scale(1.05); }
.cs-slot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 6, 9, 0) 30%, rgba(4, 6, 9, .55) 58%, rgba(4, 6, 9, .92)); }
.cs-slot-logo { position: absolute; left: 16px; bottom: 82px; height: 24%; max-width: 72%; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .65)); transition: transform .5s var(--spring); transform-origin: left bottom; }
.cs-slot:hover .cs-slot-logo { transform: scale(1.04); }
.cs-slot-info { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 4px; }
.cs-slot-info p { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-slot .cs-tile-meta { color: rgba(255, 255, 255, .55); margin: 0; }

/* ----- wide screens: the logo and the meter stand in a column on the left, so the reels get the whole height */
@media (min-width: 1101px) {
  .sl-stage { grid-template-rows: minmax(0, 1fr) auto; }
  .sl-top { position: absolute; z-index: 2; left: 26px; top: 24px; bottom: 24px; width: 216px; padding: 0; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .sl-logo { width: 100%; height: auto; max-width: 216px; max-height: 128px; object-position: left top; }
  .sl-board { padding: 16px 252px 2px; }
}
/* ----- narrower screens: the logo goes on top with the meter in a row under it, the bar takes two rows */
@media (max-width: 1100px) {
  .sl-top { flex-direction: column; gap: 8px; }
  .sl-meter { justify-items: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .sl-ladder { flex-direction: row; }
  .sl-ladder span { min-width: 0; height: 26px; padding: 0 7px; font-size: 12.5px; }
  .sl-jps { grid-auto-flow: column; }
  .sl-jp { min-width: 0; }
}
@media (max-width: 860px) {
  .cs-slots { grid-template-columns: 1fr; }
  .cs-slots > .cs-slot, .cs-slots > .cs-slot:nth-child(n+4) { grid-column: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  .sl { border-radius: 14px; margin: 0 -4px; }
  .sl-stage { height: auto; }
  .sl-top { min-height: 0; padding: 10px 12px 2px; }
  .sl-logo { height: 46px; }
  .sl-board { padding: 2px 6px; }
  .sl-frame { padding: 4px; border-radius: 14px; }
  .sl-layer, .sl-lines { inset: 4px; }
  .sl-lines { width: calc(100% - 8px); height: calc(100% - 8px); }
  .sl-msg { min-height: 34px; font-size: 13px; padding: 6px 10px 10px; }
  .sl-ladder { gap: 2px; padding: 4px; }
  .sl-ladder span { padding: 0 5px; font-size: 11px; height: 22px; border-radius: 7px; }
  .sl-jp { padding: 5px 7px; gap: 6px; }
  .sl-jp span { font-size: 9.5px; }
  .sl-jp b { font-size: 12.5px; }
  .sl-bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "bal win bet" "buy ctl ctl"; row-gap: 12px; padding: 10px 12px 12px; }
  .sl-side, .sl-right { display: contents; }
  .sl-side > .sl-stat { grid-area: bal; }
  .sl-winstat { grid-area: win; min-width: 0; }
  .sl-bet, .sl-fsbar { grid-area: bet; justify-self: end; }
  .sl-buy { grid-area: buy; justify-self: start; height: 44px; }
  #auto { grid-area: ctl; justify-self: center; margin-right: 128px; }
  .sl-spin { grid-area: ctl; justify-self: center; }
  #turbo { grid-area: ctl; justify-self: center; margin-left: 128px; }
  .sl-stat b { font-size: 16px; }
  .sl-winstat b { font-size: 20px; }
  .sl-bet .sl-betval { min-width: 58px; }
  .sl-bet button { width: 30px; height: 30px; }
  .sl-tools span { display: none; }
  .sl-pt-facts { grid-template-columns: 1fr; }
}
