/* AUREA Slot — page styles (patch #103, video slot #141).
   The cabinet is the hero: a deep navy/purple machine body with
   gold trim, a bulb-framed marquee, an amber LED win display and a
   five-reel, three-row window with 20 paylines. Winning lines are
   traced on an SVG overlay above the glass. Reel motion is
   transform-only (JS-driven velocity profile: accelerate ->
   blurred cruise -> decelerate -> click-stop); win theatre is
   opacity/transform on overlays. The result is always decided
   server-side first — everything here is staging. */

.sl-cardwrap { padding: 18px 16px 20px; }

.sl-machine {
  --sl-cell: 84px;
  position: relative;
  margin: 4px auto 0;
  max-width: 560px;
  padding: 16px 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 215, 0, .45);
  background:
    radial-gradient(ellipse 90% 42% at 50% -6%, rgba(138, 43, 226, .38), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 112%, rgba(255, 215, 0, .10), transparent 70%),
    linear-gradient(180deg, #171233 0%, #0D0B26 46%, #0A0F1E 100%);
  box-shadow:
    0 0 0 1px rgba(138, 43, 226, .35),
    0 0 34px rgba(138, 43, 226, .20),
    0 18px 44px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .07),
    inset 0 0 44px rgba(0, 0, 0, .45);
}
.sl-machine.bump { animation: slBump .13s ease; }
@keyframes slBump {
  0% { transform: translateY(0); }
  35% { transform: translateY(1.6px); }
  100% { transform: translateY(0); }
}
.sl-machine.reach {
  border-color: rgba(255, 215, 0, .85);
  animation: slReachPulse .62s ease-in-out infinite alternate;
}
@keyframes slReachPulse {
  from { box-shadow: 0 0 0 1px rgba(255,215,0,.4), 0 0 26px rgba(255,215,0,.25), 0 18px 44px rgba(0,0,0,.55), inset 0 0 44px rgba(255,215,0,.05); }
  to   { box-shadow: 0 0 0 1px rgba(177,140,255,.65), 0 0 52px rgba(255,215,0,.5), 0 18px 44px rgba(0,0,0,.55), inset 0 0 60px rgba(255,215,0,.12); }
}
.sl-machine.fever {
  animation: slFever .5s ease-in-out infinite alternate;
}
@keyframes slFever {
  from { box-shadow: 0 0 0 1px rgba(255,215,0,.6), 0 0 40px rgba(255,190,0,.4), 0 18px 44px rgba(0,0,0,.55); }
  to   { box-shadow: 0 0 0 2px rgba(255,215,0,.95), 0 0 84px rgba(255,190,0,.75), 0 18px 44px rgba(0,0,0,.55); }
}

/* --- marquee --- */
.sl-marquee {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}
.sl-bulbs {
  flex: 0 0 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3px 0;
}
.sl-bulb {
  width: 9px; height: 9px;
  margin: 0 auto;
  border-radius: 50%;
  background: #4A3B12;
  box-shadow: inset 0 0 2px rgba(0,0,0,.6);
}
.sl-bulb.on {
  background: radial-gradient(circle at 38% 35%, #FFF3B0, #FFD700 62%, #B8860B);
  box-shadow: 0 0 9px rgba(255, 215, 0, .85);
}
.sl-sign {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, .5);
  background: linear-gradient(180deg, rgba(255,215,0,.13), rgba(138,43,226,.16) 60%, rgba(0,0,0,.25));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -8px 18px rgba(0,0,0,.35);
}
.sl-sign-emblem { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.sl-sign-text {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: #FFD700;
  text-shadow: 0 0 16px rgba(255, 215, 0, .65), 0 2px 0 rgba(0,0,0,.45);
  white-space: nowrap;
}
.sl-sign-jp {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 999px;
  color: #0A0F1E;
  background: linear-gradient(90deg, #FFE766, #FFB800);
  box-shadow: 0 0 12px rgba(255, 190, 0, .55);
  white-space: nowrap;
}

/* --- LED win display --- */
.sl-winbar {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0 6px 12px;
  padding: 7px 12px 8px;
  border-radius: 10px;
  background: #05070F;
  border: 1px solid rgba(255, 176, 0, .35);
  box-shadow: inset 0 2px 10px rgba(0,0,0,.9), inset 0 0 22px rgba(255,176,0,.06);
}
.sl-win-k { font-size: .72rem; font-weight: 800; letter-spacing: .3em; color: #B8860B; }
.sl-win-v {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: #FFC933;
  text-shadow: 0 0 14px rgba(255, 176, 0, .75);
  min-width: 3.2ch;
  text-align: right;
}
.sl-win-pt { font-size: .8rem; font-weight: 800; color: #B8860B; }
.sl-winbar.flash { animation: slWinFlash .3s ease 3; }
@keyframes slWinFlash {
  0%, 100% { border-color: rgba(255,176,0,.35); }
  50% { border-color: rgba(255,215,0,.95); box-shadow: inset 0 2px 10px rgba(0,0,0,.9), 0 0 22px rgba(255,190,0,.5); }
}

/* --- reel stage --- */
.sl-stage { position: relative; padding-right: 34px; }
.sl-reelwin {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, .35);
  background: linear-gradient(180deg, #0B0E1D, #12142B 50%, #0B0E1D);
  box-shadow:
    inset 0 10px 22px rgba(0,0,0,.75),
    inset 0 -10px 22px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(0,0,0,.6);
  overflow: hidden;
}
.sl-reel {
  position: relative;
  height: calc(var(--sl-cell) * 3);
  overflow: hidden;
}
.sl-reel + .sl-reel { border-left: 1px solid rgba(255, 215, 0, .16); }
.sl-strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.sl-strip.blur { filter: blur(1.6px) brightness(1.12); }
.sl-cell {
  height: var(--sl-cell);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sl-sym {
  width: calc(var(--sl-cell) * 0.82);
  height: calc(var(--sl-cell) * 0.82);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #2A2154, #141033 68%, #0C0A24);
  border: 2px solid rgba(255, 215, 0, .38);
  box-shadow: 0 3px 10px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.14);
  overflow: hidden;
}
.sl-sym img { width: 88%; height: 88%; object-fit: contain; pointer-events: none; }
.sl-sym.emblem {
  background: radial-gradient(circle at 38% 32%, #FFE766, #C9962E 62%, #7A5410);
  border-color: #FFE766;
}
.sl-sym.emblem img { width: 94%; height: 94%; }
.sl-sym.gem { background: radial-gradient(circle at 35% 30%, #23355E, #101A38 70%, #0A1128); }
.sl-sym.gem svg { width: 74%; height: 74%; }
.sl-cell.win .sl-sym {
  border-color: #FFD700;
  animation: slSymWin .45s ease infinite alternate;
}
@keyframes slSymWin {
  from { box-shadow: 0 0 8px rgba(255,215,0,.45), 0 3px 10px rgba(0,0,0,.55); transform: scale(1); }
  to   { box-shadow: 0 0 26px rgba(255,215,0,.95), 0 3px 10px rgba(0,0,0,.55); transform: scale(1.07); }
}
.sl-payline {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 0;
  border-top: 2px solid rgba(255, 215, 0, .35);
  box-shadow: 0 0 10px rgba(255, 215, 0, .25);
  pointer-events: none;
}
.sl-payline::before, .sl-payline::after {
  content: "";
  position: absolute;
  top: -6px;
  border: 6px solid transparent;
}
.sl-payline::before { left: 2px; border-left-color: rgba(255,215,0,.75); }
.sl-payline::after { right: 2px; border-right-color: rgba(255,215,0,.75); }
.sl-linesvg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 3;
}
.sl-linesvg polyline {
  fill: none;
  stroke: #FFD700;
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: .92;
  filter: drop-shadow(0 0 6px rgba(255, 190, 0, .8));
}
.sl-cell.scatwin .sl-sym {
  border-color: #B18CFF;
  animation: slSymWinFs .45s ease infinite alternate;
}
@keyframes slSymWinFs {
  from { box-shadow: 0 0 8px rgba(138,43,226,.5), 0 3px 10px rgba(0,0,0,.55); transform: scale(1); }
  to   { box-shadow: 0 0 26px rgba(177,140,255,.95), 0 3px 10px rgba(0,0,0,.55); transform: scale(1.07); }
}
.sl-glass {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.015) 34%, transparent 55%);
  pointer-events: none;
}

/* --- lever --- */
.sl-lever {
  position: absolute;
  right: 0; top: 6px;
  width: 30px; height: 120px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.sl-lever:disabled { cursor: default; opacity: .55; }
.sl-lever-rod {
  position: absolute;
  left: 50%; top: 16px;
  width: 6px; height: 74px;
  margin-left: -3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #8A8FA8, #E8EAF2, #8A8FA8);
  transform-origin: 50% 100%;
  transition: transform .18s ease;
}
.sl-lever-knob {
  position: absolute;
  left: 50%; top: -15px;
  width: 26px; height: 26px;
  margin-left: -13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FF9A8A, #E23B3B 58%, #8E1414);
  box-shadow: 0 3px 8px rgba(0,0,0,.55), inset 0 -3px 6px rgba(0,0,0,.35);
}
.sl-lever-base {
  position: absolute;
  left: 50%; bottom: 0;
  width: 22px; height: 26px;
  margin-left: -11px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #3A3F5C, #1B1E33);
  border: 1px solid rgba(255,215,0,.3);
}
.sl-lever.pulled .sl-lever-rod { transform: rotate(38deg); }

/* --- overlays: reach / free spins / shower / cut-in --- */
.sl-reach {
  position: absolute;
  left: 50%; top: 38%;
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 6;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #FFD700;
  text-shadow: 0 0 26px rgba(255,190,0,.9), 0 0 60px rgba(177,140,255,.8), 0 3px 0 rgba(0,0,0,.5);
  animation: slReachText .3s ease infinite alternate;
  pointer-events: none;
  white-space: nowrap;
}
@keyframes slReachText {
  from { transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
  to   { transform: translate(-50%, -50%) rotate(-4deg) scale(1.09); }
}
.sl-fsflag {
  position: absolute;
  right: 40px; top: -8px;
  z-index: 6;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #0A0F1E;
  background: linear-gradient(90deg, #B18CFF, #FFD700);
  box-shadow: 0 0 18px rgba(177, 140, 255, .65);
}
.sl-fsflag b { font-size: 1rem; }
.sl-shower { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 5; }
.sl-coinfx {
  position: absolute;
  top: -46px;
  width: 40px; height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.5));
  animation-name: slCoinFall;
  animation-timing-function: cubic-bezier(.3,.5,.7,1);
  animation-fill-mode: forwards;
}
@keyframes slCoinFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translateY(430px) rotate(560deg); opacity: .92; }
}
.sl-cutin {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(20, 12, 48, .88), rgba(10, 8, 28, .55) 78%, transparent);
  pointer-events: none;
}
.sl-cutin img {
  width: 128px; height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 215, 0, .65));
  animation: slCutinIn .38s cubic-bezier(.2, 1.4, .4, 1);
}
.sl-cutin-text {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: .08em;
  /* Rainbow gradient for the JACKPOT! / BIG WIN! moment (2026-12-01);
     gold edge via drop-shadow — see styles.css .rainbow-text note. */
  background-image: linear-gradient(90deg, #8a6d1f, #FFD700, #FFF3C4, #FFD700, #8a6d1f, #FFD700);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(133, 77, 0, .9)) drop-shadow(0 0 22px rgba(255, 183, 0, .5));
  animation: slCutinIn .38s cubic-bezier(.2, 1.4, .4, 1), aureaRainbowFlow 3.2s linear infinite;
  white-space: nowrap;
}
@keyframes slCutinIn {
  from { transform: translateX(46px) scale(.8); opacity: 0; }
  to   { transform: translateX(0) scale(1); opacity: 1; }
}

/* --- full-screen win theatre: BIG WIN / MEGA WIN / JACKPOT / FS total ---
   Covers the viewport above everything except the toast; slot.js
   drives the tier class, the character and the counting amount.
   A tap anywhere on it is the skip / dismiss gesture. */
.sl-bigwin {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, rgba(24, 14, 54, .88), rgba(6, 5, 18, .94) 78%);
  cursor: pointer;
  animation: slBigwinIn .3s ease;
}
@keyframes slBigwinIn { from { opacity: 0; } to { opacity: 1; } }
.sl-bigwin-inner { text-align: center; padding: 20px; pointer-events: none; }
.sl-bigwin-img {
  width: 168px; height: 168px;
  object-fit: contain;
  filter: drop-shadow(0 0 34px rgba(255, 215, 0, .55));
  animation: slBigwinPop .45s cubic-bezier(.2, 1.5, .4, 1);
}
.sl-bigwin-title {
  margin-top: 6px;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #FFD700;
  text-shadow: 0 0 30px rgba(255, 190, 0, .85), 0 4px 0 rgba(0, 0, 0, .5);
  animation: slBigwinPulse .55s ease-in-out infinite alternate;
  white-space: nowrap;
}
.sl-bigwin.mega .sl-bigwin-title {
  color: #FFE766;
  text-shadow: 0 0 44px rgba(255, 190, 0, 1), 0 0 90px rgba(177, 140, 255, .8), 0 4px 0 rgba(0, 0, 0, .5);
}
.sl-bigwin.jackpot {
  background:
    radial-gradient(ellipse 95% 75% at 50% 42%, rgba(84, 58, 8, .9), rgba(20, 12, 2, .96) 80%);
}
.sl-bigwin.jackpot .sl-bigwin-title {
  background-image: linear-gradient(90deg, #8a6d1f, #FFD700, #FFF3C4, #FFD700, #8a6d1f, #FFD700);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 0 rgba(133, 77, 0, .9)) drop-shadow(0 0 30px rgba(255, 183, 0, .65));
  animation: slBigwinPulse .55s ease-in-out infinite alternate, aureaRainbowFlow 3.2s linear infinite;
}
.sl-bigwin.fs .sl-bigwin-title {
  color: #D9C2FF;
  text-shadow: 0 0 34px rgba(138, 43, 226, .9), 0 4px 0 rgba(0, 0, 0, .5);
}
.sl-bigwin.fs .sl-bigwin-img { filter: drop-shadow(0 0 34px rgba(177, 140, 255, .75)); }
.sl-bigwin-amt {
  margin-top: 10px;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: #FFC933;
  text-shadow: 0 0 26px rgba(255, 176, 0, .85);
}
.sl-bigwin-pt { font-family: Manrope, sans-serif; font-size: 1.3rem; font-weight: 800; color: #B8860B; margin-left: 8px; }
@keyframes slBigwinPop {
  from { transform: scale(.55); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes slBigwinPulse {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
/* the moment the overlay label escalates (BIG -> MEGA -> JACKPOT) */
.sl-bigwin-title.escalate { animation: slBigwinPop .32s cubic-bezier(.2, 1.5, .4, 1), slBigwinPulse .55s ease-in-out .32s infinite alternate; }
/* reach tease: while the third reel crawls, the payline frame
   flashes in pulses (toggled from JS on a timer) */
.sl-reelwin.tease {
  border-color: rgba(255, 215, 0, .95);
  box-shadow:
    inset 0 10px 22px rgba(0,0,0,.75),
    inset 0 -10px 22px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(0,0,0,.6),
    0 0 26px rgba(255, 190, 0, .55);
}
.sl-reelwin.tease .sl-payline { border-top-color: rgba(255, 215, 0, .95); box-shadow: 0 0 18px rgba(255, 215, 0, .8); }
/* the free-spin flag gives a little pop each time the counter drops */
.sl-fsflag.pop { animation: slFsPop .3s ease; }
@keyframes slFsPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
/* chick (free-spin) reach tints the machine purple-gold */
.sl-machine.reach-fs {
  border-color: rgba(177, 140, 255, .9);
  animation: slReachFsPulse .62s ease-in-out infinite alternate;
}
@keyframes slReachFsPulse {
  from { box-shadow: 0 0 0 1px rgba(177,140,255,.45), 0 0 26px rgba(138,43,226,.4), 0 18px 44px rgba(0,0,0,.55), inset 0 0 44px rgba(138,43,226,.08); }
  to   { box-shadow: 0 0 0 1px rgba(255,215,0,.6), 0 0 52px rgba(138,43,226,.65), 0 18px 44px rgba(0,0,0,.55), inset 0 0 60px rgba(177,140,255,.14); }
}
.sl-reach.fs { color: #D9C2FF; text-shadow: 0 0 26px rgba(138,43,226,.95), 0 0 60px rgba(255,215,0,.7), 0 3px 0 rgba(0,0,0,.5); }

@media (max-width: 560px) {
  .sl-bigwin-img { width: 128px; height: 128px; }
  .sl-bigwin-title { font-size: 2.1rem; }
  .sl-bigwin-amt { font-size: 2.5rem; }
}

/* --- meters / bets / spin --- */
.sl-meters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 14px 0 10px;
}
.sl-meter {
  padding: 7px 10px 8px;
  border-radius: 10px;
  background: rgba(5, 7, 15, .72);
  border: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
}
.sl-meter-k { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .16em; color: #8B90A5; }
.sl-meter-v { display: block; margin-top: 2px; font-size: 1.02rem; font-weight: 800; color: #F2F3F8; }
.sl-betrow { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; }
.sl-betbtn {
  flex: 1 1 0;
  max-width: 130px;
  padding: 10px 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, .35);
  background: rgba(255, 255, 255, .04);
  color: #C9CDDD;
  font-family: Manrope, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
}
.sl-betbtn.on {
  color: #0A0F1E;
  background: linear-gradient(180deg, #FFE766, #FFB800);
  border-color: #FFE766;
  box-shadow: 0 0 16px rgba(255, 190, 0, .5);
}
.sl-betbtn:disabled { opacity: .45; cursor: default; }
.sl-spinbtn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 14px;
  font-family: Manrope, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: #0A0F1E;
  background: linear-gradient(180deg, #FFE766, #FFB800);
  box-shadow: 0 0 26px rgba(255, 190, 0, .45), 0 8px 22px rgba(0, 0, 0, .45);
  cursor: pointer;
}
.sl-spinbtn:not(:disabled) { animation: slSpinPulse 1.15s ease-in-out infinite alternate; }
@keyframes slSpinPulse {
  from { box-shadow: 0 0 16px rgba(255,190,0,.32), 0 8px 22px rgba(0,0,0,.45); }
  to   { box-shadow: 0 0 36px rgba(255,190,0,.7), 0 8px 22px rgba(0,0,0,.45); }
}
.sl-spinbtn:active:not(:disabled) { transform: scale(.98); }
.sl-spinbtn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.sl-spinbtn.free {
  background: linear-gradient(180deg, #D9C2FF, #8A2BE2);
  color: #fff;
  box-shadow: 0 0 26px rgba(138, 43, 226, .55), 0 8px 22px rgba(0, 0, 0, .45);
}
.sl-status { min-height: 1.5em; margin: 12px 0 0; text-align: center; font-weight: 700; }
.sl-autorow { display: flex; gap: 8px; justify-content: center; align-items: stretch; margin-top: 12px; }
.sl-autocount {
  flex: 0 1 64px;
  padding: 9px 0;
  border-radius: 999px;
  border: 1px solid rgba(138, 43, 226, .5);
  background: rgba(255, 255, 255, .04);
  color: #C9CDDD;
  font-family: Manrope, sans-serif;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
}
.sl-autocount.on {
  color: #fff;
  background: linear-gradient(180deg, #A678FF, #8A2BE2);
  border-color: #C9A8FF;
  box-shadow: 0 0 14px rgba(138, 43, 226, .55);
}
.sl-autocount:disabled { opacity: .45; cursor: default; }
.sl-autobtn {
  flex: 1 1 auto;
  max-width: 170px;
  padding: 9px 0;
  border-radius: 999px;
  border: 1px solid rgba(138, 43, 226, .65);
  background: rgba(138, 43, 226, .14);
  color: #D9C2FF;
  font-family: Manrope, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .12em;
  cursor: pointer;
}
.sl-autobtn.on {
  color: #fff;
  background: linear-gradient(180deg, #FF7A59, #E23A2E);
  border-color: #FFB3A3;
  box-shadow: 0 0 16px rgba(226, 58, 46, .55);
}
.sl-autobtn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.sl-autostat { min-height: 1.4em; margin: 8px 0 0; text-align: center; font-weight: 700; font-size: .9rem; color: #D9C2FF; }
.sl-status.win { color: #FFD700; text-shadow: 0 0 14px rgba(255, 215, 0, .5); font-size: 1.06rem; }

/* --- paytable / how / history --- */
.sl-table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
.sl-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-weight: 700;
  vertical-align: middle;
}
.sl-table td.sym { width: 52px; }
.sl-table td.mult { text-align: right; color: #FFD700; white-space: nowrap; }
.sl-table td.prob { text-align: right; color: #A7ACC2; font-size: .82rem; white-space: nowrap; }
.sl-table .sl-sym { width: 40px; height: 40px; border-width: 1px; }
.sl-table tr.jackpot td { background: rgba(255, 215, 0, .06); }
.sl-table td.counts { color: #C9CDDD; font-size: .86rem; white-space: nowrap; }
.sl-table td.counts b { color: #FFD700; }
.sl-table tr.scatrow td { background: rgba(138, 43, 226, .08); }
.sl-table .sl-wildtag {
  font-size: .62rem; font-weight: 800; letter-spacing: .08em;
  padding: 2px 6px; border-radius: 999px; margin-left: 6px;
  color: #0A0F1E; background: linear-gradient(90deg, #FFE766, #FFB800);
  vertical-align: middle;
}
.sl-rtp { font-size: .86rem; color: #A7ACC2; margin: 2px 0 16px; }
.sl-rtp b { color: #FFD700; }
.sl-how { margin: 6px 0 18px 20px; padding: 0; }
.sl-how li { margin-bottom: 9px; line-height: 1.55; color: #C9CDDD; }
.sl-history { display: flex; flex-direction: column; gap: 6px; }
.sl-hist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: .84rem;
}
.sl-hist-syms { display: flex; gap: 3px; }
.sl-hist-syms .sl-sym { width: 26px; height: 26px; border-width: 1px; }
.sl-hist-grid {
  display: grid;
  grid-template-columns: repeat(5, 22px);
  gap: 2px;
  flex: 0 0 auto;
}
.sl-hist-grid .sl-sym { width: 22px; height: 22px; border-width: 1px; }
.sl-hist-combo { flex: 1 1 auto; font-weight: 700; color: #C9CDDD; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-hist-bet { color: #8B90A5; white-space: nowrap; }
.sl-hist-pay { font-weight: 800; color: #FFD700; white-space: nowrap; }
.sl-hist-pay.zero { color: #8B90A5; }
.sl-hist-free {
  font-size: .64rem; font-weight: 800; letter-spacing: .06em;
  padding: 2px 6px; border-radius: 999px;
  color: #fff; background: linear-gradient(90deg, #B18CFF, #8A2BE2);
}
.sl-hist-empty { color: #8B90A5; font-size: .88rem; }

@media (max-width: 560px) {
  .sl-machine { --sl-cell: 56px; padding: 12px 10px 14px; }
  .sl-sign-text { font-size: 1.08rem; letter-spacing: .1em; }
  .sl-sign-emblem { width: 32px; height: 32px; }
  .sl-reach { font-size: 1.9rem; }
  .sl-cutin img { width: 96px; height: 96px; }
  .sl-cutin-text { font-size: 1.5rem; }
  .sl-stage { padding-right: 28px; }
  .sl-fsflag { right: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .sl-spinbtn, .sl-machine.reach, .sl-machine.reach-fs, .sl-machine.fever, .sl-reach,
  .sl-cell.win .sl-sym, .sl-winbar.flash { animation: none; }
  .sl-cutin-text { animation: none; }
  .sl-bigwin, .sl-bigwin-img, .sl-bigwin-title, .sl-bigwin.jackpot .sl-bigwin-title,
  .sl-bigwin-title.escalate, .sl-fsflag.pop { animation: none; }
  .sl-strip.blur { filter: none; }
  .sl-jp.live .sl-jp-amount, .sl-ladder-chip.on { animation: none; }
}

/* --- Progressive jackpot banner (patch #231) --- */
.sl-jp {
  margin: 0 0 14px;
  padding: 12px 16px 13px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 183, 0, .10), rgba(138, 43, 226, .10)), #070B18;
  border: 1px solid rgba(255, 183, 0, .55);
  box-shadow: 0 0 18px rgba(255, 183, 0, .18), inset 0 0 24px rgba(255, 183, 0, .05);
}
.sl-jp-head {
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.sl-jp-label {
  font-size: .78rem; font-weight: 800; letter-spacing: .22em; color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 183, 0, .6);
}
.sl-jp-amount {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 2.3rem; font-weight: 700; line-height: 1.15;
  color: #FFC933; text-shadow: 0 0 18px rgba(255, 176, 0, .8);
}
.sl-jp.live .sl-jp-amount { animation: slJpPulse 2.6s ease-in-out infinite; }
@keyframes slJpPulse {
  0%, 100% { text-shadow: 0 0 14px rgba(255, 176, 0, .65); }
  50% { text-shadow: 0 0 26px rgba(255, 176, 0, 1); }
}
.sl-jp-pt { font-size: 1rem; font-weight: 800; color: #B8860B; margin-left: 6px; }
.sl-jp-sub { margin: 4px 0 0; font-size: .82rem; color: #A7ACC2; }
.sl-jp-last { margin: 3px 0 0; font-size: .78rem; font-weight: 700; color: #FFD700; }

/* --- Free-spin multiplier ladder (patch #231) --- */
.sl-ladder {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px;
  margin: 0 6px 12px; padding: 7px 10px;
  border-radius: 10px;
  background: #05070F;
  border: 1px solid rgba(177, 140, 255, .45);
  box-shadow: inset 0 2px 10px rgba(0,0,0,.9), 0 0 14px rgba(138, 43, 226, .25);
}
.sl-ladder-k { font-size: .64rem; font-weight: 800; letter-spacing: .18em; color: #B18CFF; }
.sl-ladder-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.sl-ladder-chip {
  font-size: .74rem; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  color: #8B90A5; border: 1px solid rgba(139, 144, 165, .4);
}
.sl-ladder-chip.done { color: #D9C6FF; border-color: rgba(177, 140, 255, .7); }
.sl-ladder-chip.on {
  color: #0A0F1E; background: linear-gradient(90deg, #B18CFF, #FFD700);
  border-color: #FFD700; box-shadow: 0 0 12px rgba(255, 215, 0, .65);
  animation: slJpPulse 1.6s ease-in-out infinite;
}

/* --- Patch #231 preview block (paytable card) --- */
.sl-soon-block {
  margin-top: 18px; padding: 12px 14px; border-radius: 12px;
  border: 1px dashed rgba(255, 183, 0, .5); background: rgba(255, 183, 0, .04);
}
.sl-soon-block h3 { margin: 0 0 6px; font-size: .95rem; }
.sl-soon-block p { margin: 0; font-size: .85rem; color: #A7ACC2; line-height: 1.55; }
