/* Lucky Bean Casino — Beanville after dark. Velvet plum, brass and gold, marquee bulbs, neon sign.
   Always the night look (a casino has no daytime), whatever the Beanville theme switch says. */
body.bm-page.lbc-page, body.bm-page.lbc-page[data-theme] {
  color-scheme: dark;
  --bg: #150818; --surface: #241029; --surface-2: #301638; --line: rgba(255,214,140,.16); --edge: #0b0410;
  --text: #FFF3DC; --muted: #CDB2D9; --accent: #FFCF4A; --accent-ink: #2A1300; --accent-soft: rgba(255,207,74,.14);
  --gold: #FFCF4A; --gold-2: #E79B12; --gold-3: #FFF0B3; --brass: #B8862B; --plum: #3A0F45; --plum-2: #5B1868; --ruby: #E0263C; --mint: #3EE6A4;
  --t-common: #CDB2D9; --t-uncommon: #7CC0F5; --t-rare: #4FC1B9; --t-epic: #C39BFF; --t-legendary: #FFCF4A; --t-mythic: #6FD6A5;
  --cell: 92px;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255,120,200,.16), transparent 60%),
    radial-gradient(900px 500px at 50% 110%, rgba(255,190,60,.10), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.018) 0 14px, transparent 14px 28px),
    #150818;
  background-attachment: fixed;
}
.lbc-wrap { max-width: 1180px; }
.lbc-wrap > * { min-width: 0; max-width: 100%; }
.lbc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lbc-hero { padding-bottom: 4px; }
.lbc-wallet { background: rgba(36,16,41,.8); border-color: rgba(255,207,74,.35); }

/* ───────── the cabinet ───────── */
.lbc-cabinet {
  position: relative; margin: 14px 0 18px; padding: 22px 22px 18px; border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 30%),
    radial-gradient(120% 80% at 50% 0%, #4a1655 0%, #2a0c33 55%, #1b0821 100%);
  box-shadow: 0 0 0 3px #0b0410, 0 0 0 9px var(--brass), 0 0 0 12px #6b4a12, 0 24px 60px rgba(0,0,0,.6), 0 0 80px rgba(255,170,60,.12);
  isolation: isolate;
}
.lbc-bulbs { position: absolute; inset: -6px; border-radius: 34px; pointer-events: none; z-index: 0; }
.lbc-bulbs::before, .lbc-bulbs::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 6px;
  background: radial-gradient(circle, #fff6cf 0 2.5px, #ffcf4a 3px 3.6px, transparent 4.2px) 0 0 / 22px 22px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 4px rgba(255,207,74,.9));
}
.lbc-bulbs::after { background-position: 11px 11px; animation: lbc-chase 0.9s steps(2) infinite; opacity: .35; }
@keyframes lbc-chase { 50% { opacity: 1; } }
.lbc-cabinet > *:not(.lbc-bulbs) { position: relative; z-index: 1; }

.lbc-marquee { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-bottom: 12px; }
.lbc-sign { display: grid; line-height: 1; }
.lbc-sign-top { font: 400 18px/1 "Permanent Marker", var(--f-display); color: #ff9bd6; text-shadow: 0 0 8px rgba(255,90,190,.8); letter-spacing: .04em; transform: rotate(-3deg); width: max-content; margin-left: 6px; }
.lbc-sign-main {
  font: 400 clamp(30px, 5.2vw, 58px)/1.02 var(--f-display); color: var(--gold-3); letter-spacing: .01em;
  text-shadow: 0 0 2px #fff, 0 0 10px #ffcf4a, 0 0 24px #ff9f1a, 0 0 46px rgba(255,120,0,.6), 0 4px 0 #6b3a00;
  animation: lbc-flicker 6s infinite;
}
@keyframes lbc-flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .55; } 94% { opacity: 1; } 96% { opacity: .7; } }
.lbc-jackpot {
  min-width: 260px; padding: 10px 16px; border-radius: 16px; text-align: center; display: grid; gap: 2px;
  background: linear-gradient(180deg, #120313, #2b0711); box-shadow: inset 0 0 0 2px #6b1220, inset 0 0 22px rgba(224,38,60,.35), 0 0 0 3px var(--brass);
}
.lbc-jp-label { font: 700 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: #ffb3bd; }
.lbc-jp-amt { font: 700 clamp(26px, 3.6vw, 40px)/1.05 var(--f-mono); color: #ffd84a; text-shadow: 0 0 10px rgba(255,200,40,.9), 0 0 24px rgba(255,80,40,.5); font-variant-numeric: tabular-nums; }
.lbc-jp-sub { font-size: 11px; color: var(--muted); }

.lbc-mode { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.lbc-mode b { color: var(--gold); }
.lbc-mode .lbc-pill { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,207,74,.4); background: rgba(0,0,0,.25); }
.lbc-mode .lbc-pill.practice { border-color: #7CC0F5; color: #bfe3ff; }
.lbc-mode button { all: unset; cursor: pointer; text-decoration: underline; color: var(--gold); }
.lbc-freebar {
  margin: 0 auto 10px; width: max-content; max-width: 100%; padding: 6px 18px; border-radius: 999px; text-align: center;
  font: 400 20px/1.2 var(--f-display); color: #12210a; background: linear-gradient(90deg, #8cff6a, #3ee6a4, #8cff6a); background-size: 200% 100%;
  box-shadow: 0 0 22px rgba(62,230,164,.6); animation: lbc-slide 2s linear infinite;
}
@keyframes lbc-slide { to { background-position: 200% 0; } }

/* stage: meter · reels · host */
.lbc-stage { display: grid; grid-template-columns: 64px minmax(0, 1fr) 170px; gap: 14px; align-items: stretch; }

/* the beanstalk meter */
.lbc-stalk { display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; gap: 6px; padding: 8px 4px; border-radius: 18px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 2px rgba(255,207,74,.25); }
.lbc-stalk-cap { font-size: 22px; filter: drop-shadow(0 0 6px rgba(255,255,255,.5)); }
.lbc-stalk-track { position: relative; width: 26px; min-height: 200px; height: 100%; border-radius: 999px; background: linear-gradient(180deg, #0d2238, #133a2a); box-shadow: inset 0 0 0 2px #0b0410, inset 0 0 12px rgba(0,0,0,.6); overflow: hidden; }
.lbc-stalk-vine { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; border-radius: 999px; background: repeating-linear-gradient(170deg, #2fbf5a 0 10px, #45d873 10px 18px); box-shadow: 0 0 12px rgba(80,255,140,.6); transition: height .7s cubic-bezier(.3,1.4,.5,1); }
.lbc-stalk-leaves { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 7px 4px at 4px 50%, #5df089 98%, transparent) 0 0 / 26px 34px, radial-gradient(ellipse 7px 4px at 22px 50%, #5df089 98%, transparent) 0 17px / 26px 34px; opacity: .0; transition: opacity .4s; }
.lbc-stalk.grow .lbc-stalk-leaves { opacity: .9; }
.lbc-stalk.hot .lbc-stalk-track { box-shadow: inset 0 0 0 2px #0b0410, 0 0 18px rgba(80,255,140,.8); animation: lbc-pulse 1s ease-in-out infinite; }
.lbc-stalk-num { font: 700 18px/1 var(--f-mono); color: #8cff9e; }
.lbc-stalk-lbl { font-size: 10px; line-height: 1.15; text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* the reel window */
.lbc-window {
  position: relative; padding: 10px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #08020a, #1a0820 50%, #08020a); box-shadow: inset 0 0 0 3px var(--brass), inset 0 0 0 6px #0b0410, inset 0 12px 30px rgba(0,0,0,.9), inset 0 -12px 30px rgba(0,0,0,.9);
}
.lbc-reels { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.lbc-reel { position: relative; height: calc(var(--cell) * 4 + 18px); border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #2a0f30, #3c1446 50%, #2a0f30); box-shadow: inset 0 0 0 1px rgba(255,207,74,.18); }
.lbc-reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent 16%, transparent 84%, rgba(0,0,0,.55)); }
.lbc-cell { position: absolute; left: 3px; right: 3px; height: var(--cell); display: grid; place-items: center; will-change: transform; }
.lbc-cell.land { animation: lbc-land .42s cubic-bezier(.25,1.5,.45,1) both; }
@keyframes lbc-land { from { transform: translateY(calc(var(--cell) * -1.1)); } }
.lbc-cell.drop { animation: lbc-drop var(--dur, .45s) cubic-bezier(.3,1.35,.5,1) both; }
@keyframes lbc-drop { from { transform: translateY(var(--from)); } }
.lbc-cell.hit .lbc-sym { animation: lbc-hit .8s ease-in-out infinite; z-index: 2; }
@keyframes lbc-hit { 50% { transform: scale(1.1); filter: brightness(1.35) drop-shadow(0 0 14px #ffe27a); } }
.lbc-cell.gone .lbc-sym { animation: lbc-gone .32s ease-in forwards; }
@keyframes lbc-gone { 30% { transform: scale(1.22); filter: brightness(2) drop-shadow(0 0 18px #fff3b0); } to { transform: scale(0); opacity: 0; } }
.lbc-cell.dim .lbc-sym { filter: brightness(.45) saturate(.6); transition: filter .25s; }

/* spinning strip */
.lbc-strip { position: absolute; left: 3px; right: 3px; top: 0; display: grid; gap: 0; animation: lbc-roll var(--roll, .32s) linear infinite; filter: blur(3px) brightness(1.05); }
.lbc-strip .lbc-cell { position: relative; left: 0; right: 0; }
@keyframes lbc-roll { from { transform: translateY(calc(var(--cell) * -8)); } to { transform: translateY(0); } }
.lbc-reel.tease { box-shadow: inset 0 0 0 2px #ff5cc8, 0 0 22px #ff5cc8, 0 0 44px rgba(255,92,200,.6); animation: lbc-tease .35s ease-in-out infinite alternate; }
@keyframes lbc-tease { to { box-shadow: inset 0 0 0 3px #ffe27a, 0 0 30px #ffe27a, 0 0 60px rgba(255,226,122,.7); } }
.lbc-reel.stop { animation: lbc-bump .22s ease-out; }
@keyframes lbc-bump { 40% { transform: translateY(5px); } }

/* symbols */
.lbc-sym { width: calc(var(--cell) * .94); height: calc(var(--cell) * .94); display: grid; place-items: center; border-radius: 16px; position: relative; transition: filter .2s; }
.lbc-sym > svg, .lbc-sym > img { width: 88% !important; height: 88% !important; max-width: none !important; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0,0,0,.5)); }
.lbc-sym.tier-low { background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.10), transparent 70%); }
.lbc-sym.tier-mid { background: radial-gradient(circle at 50% 40%, rgba(124,192,245,.25), rgba(40,10,60,.0) 72%); box-shadow: inset 0 0 0 2px rgba(124,192,245,.35); }
.lbc-sym.tier-high { background: radial-gradient(circle at 50% 40%, rgba(255,207,74,.4), transparent 72%); box-shadow: inset 0 0 0 2px rgba(255,207,74,.6), 0 0 16px rgba(255,207,74,.35); }
.lbc-sym.tier-wild { background: radial-gradient(circle at 50% 40%, #ff4f8b, #8a0f45 75%); box-shadow: inset 0 0 0 3px #ffcf4a, 0 0 14px rgba(255,79,139,.6); }
.lbc-sym.tier-wild > img { width: 80% !important; height: 80% !important; border-radius: 50%; }
.lbc-sym.tier-wild::after { content: "WILD"; position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 999px; font: 400 calc(var(--cell) * .15)/1.2 var(--f-display); color: #2a1300; background: linear-gradient(180deg, #fff0b3, #ffcf4a); box-shadow: 0 2px 0 #6b3a00; }
.lbc-sym.tier-scatter { background: radial-gradient(circle at 50% 40%, rgba(195,155,255,.55), transparent 72%); box-shadow: inset 0 0 0 2px rgba(195,155,255,.7), 0 0 18px rgba(195,155,255,.5); animation: lbc-twinkle 2.4s ease-in-out infinite; }
@keyframes lbc-twinkle { 50% { box-shadow: inset 0 0 0 2px #fff, 0 0 26px rgba(195,155,255,.9); } }
.lbc-sym .lbc-fallback { font-size: calc(var(--cell) * .5); }

/* paylines */
.lbc-lines { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); pointer-events: none; overflow: visible; }
.lbc-lines polyline { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px currentColor); opacity: .95; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: lbc-draw .5s ease-out forwards; }
@keyframes lbc-draw { to { stroke-dashoffset: 0; } }
.lbc-lines text { font: 700 18px var(--f-mono); fill: #fff; paint-order: stroke; stroke: #000; stroke-width: 4px; }
.lbc-winflash { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(255,240,180,.35), transparent 70%); }
.lbc-winflash.on { animation: lbc-flash .6s ease-out; }
@keyframes lbc-flash { 20% { opacity: 1; } }

/* host */
.lbc-host { display: grid; align-content: start; justify-items: center; gap: 10px; }
.lbc-mayor { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; background: radial-gradient(circle, #ffcf4a, #b8862b); box-shadow: 0 0 0 4px #0b0410, 0 0 0 7px var(--gold), 0 10px 24px rgba(0,0,0,.6); transition: transform .3s; }
.lbc-mayor.cheer { animation: lbc-cheer .6s ease-in-out 3; }
@keyframes lbc-cheer { 30% { transform: translateY(-14px) rotate(-6deg); } 60% { transform: translateY(0) rotate(5deg); } }
body.bm-page main.bm-wrap p.lbc-bubble { color: #2a1300 !important; }
.lbc-bubble { position: relative; margin: 0; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.35; color: #2a1300 !important; background: #fff3dc; box-shadow: 0 4px 0 #0b0410; text-align: center; min-height: 3.6em; }
.lbc-bubble::before { content: ""; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); border: 9px solid transparent; border-top: 0; border-bottom-color: #fff3dc; }

.lbc-ticker { margin: 12px 0 10px; padding: 8px 14px; border-radius: 12px; text-align: center; font: 600 15px/1.3 var(--f-body); color: #ffe9a8; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px rgba(255,207,74,.25); min-height: 1.3em; }
.lbc-ticker b { color: #fff; }

/* the deck */
.lbc-deck { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 10px; align-items: stretch; }
.lbc-led, .lbc-bet { display: grid; align-content: center; justify-items: center; gap: 2px; padding: 8px 6px; border-radius: 14px; background: linear-gradient(180deg, #0c030e, #1d0721); box-shadow: inset 0 0 0 2px #4b1d55, 0 0 0 2px #0b0410; }
.lbc-led > span, .lbc-led-lbl { font: 700 10px/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.lbc-led > b { font: 700 clamp(18px, 2.3vw, 26px)/1.1 var(--f-mono); color: #ffd84a; text-shadow: 0 0 10px rgba(255,200,40,.6); font-variant-numeric: tabular-nums; }
.lbc-led.win > b { color: #8cff9e; text-shadow: 0 0 10px rgba(80,255,140,.7); }
.lbc-bet-ctl { display: flex; align-items: center; gap: 8px; }
.lbc-bet-ctl b { min-width: 2ch; text-align: center; font: 700 24px/1 var(--f-mono); color: #ffd84a; }
.lbc-chip {
  all: unset; box-sizing: border-box; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  font: 700 20px/1 var(--f-body); color: #2a1300; background: radial-gradient(circle at 40% 35%, #fff0b3, #ffcf4a 55%, #b8862b); box-shadow: 0 3px 0 #6b3a00, inset 0 0 0 2px rgba(255,255,255,.4);
}
.lbc-chip:active { transform: translateY(2px); box-shadow: 0 1px 0 #6b3a00; }
.lbc-chip:disabled, .lbc-chip[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.lbc-spinwrap { display: grid; justify-items: center; gap: 4px; }
.lbc-spinwrap small { margin-top: 14px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.lbc-spin {
  all: unset; box-sizing: border-box; cursor: pointer; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 30%, #ff8a8a, #e0263c 45%, #8a0f1e 80%);
  box-shadow: 0 0 0 5px #0b0410, 0 0 0 10px var(--gold), 0 0 0 13px #6b3a00, 0 8px 0 13px #3a1f00, 0 0 40px rgba(224,38,60,.6);
  transition: transform .08s, box-shadow .08s;
}
.lbc-spin span { font: 400 30px/1 var(--f-display); color: #fff; text-shadow: 0 3px 0 #6b0010, 0 0 12px rgba(255,255,255,.5); letter-spacing: .04em; }
.lbc-spin:hover:not(:disabled) { filter: brightness(1.08); }
.lbc-spin:active:not(:disabled) { transform: translateY(5px); box-shadow: 0 0 0 5px #0b0410, 0 0 0 10px var(--gold), 0 0 0 13px #6b3a00, 0 3px 0 13px #3a1f00, 0 0 40px rgba(224,38,60,.6); }
.lbc-spin:disabled { filter: grayscale(.6) brightness(.7); cursor: not-allowed; }
.lbc-spin.busy span { animation: lbc-pulse .6s ease-in-out infinite; }
.lbc-spin:focus-visible, .lbc-chip:focus-visible, .lbc-tool:focus-visible { outline: 3px solid #7CC0F5; outline-offset: 4px; }
@keyframes lbc-pulse { 50% { opacity: .55; } }
.lbc-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.lbc-tool { all: unset; box-sizing: border-box; cursor: pointer; padding: 7px 14px; border-radius: 999px; font: 700 13px/1 var(--f-body); color: var(--text); background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 2px rgba(255,207,74,.45); }
.lbc-tool[aria-pressed="true"] { background: linear-gradient(180deg, #ffcf4a, #e79b12); color: #2a1300; }
.lbc-tool:disabled { opacity: .45; cursor: not-allowed; }

/* the lounge: real BEANs */
.lbc-lounge { margin: 6px 0 12px; min-width: 0; }
.lbc-lounge h2 { font-size: 22px; margin: 0 0 8px; }
.lbc-lounge-row { max-width: 100%; display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.lbc-bean { flex: 0 0 118px; scroll-snap-align: start; border-radius: 16px; padding: 6px; background: linear-gradient(180deg, #2b0f33, #1a0820); box-shadow: inset 0 0 0 2px rgba(255,207,74,.3); text-align: center; }
.lbc-bean img { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; background: #3a1446; display: block; }
.lbc-bean b { display: block; margin-top: 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbc-bean small { font-size: 10px; color: var(--muted); }
.lbc-fine { font-size: 12px; color: var(--muted); text-align: center; }

/* ───────── overlays ───────── */
.lbc-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 50% 40%, rgba(60,10,70,.86), rgba(5,0,8,.94)); }
.lbc-bonus { width: min(760px, 100%); max-height: 92dvh; overflow: auto; padding: 22px; border-radius: 26px; text-align: center; background: radial-gradient(120% 80% at 50% 0%, #4a1655, #1b0821); box-shadow: 0 0 0 4px var(--gold), 0 0 0 8px #0b0410, 0 0 80px rgba(255,207,74,.35); color: var(--text); }
.lbc-bonus h2 { margin: 0 0 6px; font: 400 clamp(30px, 5vw, 46px)/1.05 var(--f-display); color: var(--gold-3); text-shadow: 0 0 18px rgba(255,207,74,.7); }
.lbc-bonus-eye { margin: 0; color: #8cff9e; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.lbc-bonus p { color: var(--text); }
.lbc-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.lbc-door { all: unset; box-sizing: border-box; cursor: pointer; padding: 18px 14px; border-radius: 20px; display: grid; gap: 8px; justify-items: center; background: linear-gradient(180deg, #2b0f33, #12041a); box-shadow: inset 0 0 0 3px rgba(255,207,74,.5); transition: transform .15s, box-shadow .15s; }
.lbc-door:hover, .lbc-door:focus-visible { transform: translateY(-4px); box-shadow: inset 0 0 0 3px #ffcf4a, 0 0 30px rgba(255,207,74,.45); }
.lbc-door .ico { font-size: 54px; }
.lbc-door b { font: 400 22px/1 var(--f-display); color: var(--gold-3); }
.lbc-door small { color: var(--muted); font-size: 13px; }
.lbc-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 8px; }
.lbc-box { all: unset; box-sizing: border-box; cursor: pointer; aspect-ratio: 1 / 1.1; border-radius: 16px; display: grid; place-items: center; position: relative; perspective: 600px; }
.lbc-box .can { position: absolute; inset: 0; border-radius: 16px; display: grid; place-items: center; font-size: clamp(30px, 7vw, 48px); background: linear-gradient(90deg, #8a0f1e, #e0263c 30%, #ff6b6b 45%, #e0263c 60%, #8a0f1e); box-shadow: inset 0 10px 0 rgba(255,255,255,.18), inset 0 -10px 0 rgba(0,0,0,.25), 0 0 0 3px #0b0410, 0 6px 0 3px #3a0008; transition: transform .45s; backface-visibility: hidden; }
.lbc-box .can::after { content: "BEANS"; position: absolute; bottom: 12%; font: 400 12px/1 var(--f-display); color: #fff3dc; letter-spacing: .1em; }
.lbc-box .val { position: absolute; inset: 0; border-radius: 16px; display: grid; place-items: center; font: 700 clamp(16px, 3.4vw, 24px)/1.1 var(--f-mono); color: #2a1300; background: radial-gradient(circle, #fff0b3, #ffcf4a 70%); transform: rotateY(180deg); backface-visibility: hidden; transition: transform .45s; box-shadow: 0 0 0 3px #0b0410; }
.lbc-box.open .can { transform: rotateY(180deg); }
.lbc-box.open .val { transform: rotateY(0); }
.lbc-box.reveal .val { background: radial-gradient(circle, #4b2a55, #2b0f33); color: var(--muted); }
.lbc-box:disabled { cursor: default; }
.lbc-box:hover:not(:disabled) .can { transform: translateY(-4px) rotate(-2deg); }
.lbc-wheelwrap { position: relative; width: min(420px, 86vw); aspect-ratio: 1; margin: 14px auto 6px; }
.lbc-wheel { width: 100%; height: 100%; transition: transform 5.2s cubic-bezier(.12,.8,.12,1); }
.lbc-wheel text { font: 700 15px var(--f-body); fill: #fff; paint-order: stroke; stroke: rgba(0,0,0,.6); stroke-width: 3px; }
.lbc-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border: 18px solid transparent; border-top: 34px solid #ffcf4a; filter: drop-shadow(0 3px 0 #6b3a00); z-index: 2; }
.lbc-bonus .lbc-go { all: unset; cursor: pointer; margin-top: 12px; padding: 12px 28px; border-radius: 999px; font: 400 22px/1 var(--f-display); color: #2a1300; background: linear-gradient(180deg, #fff0b3, #ffcf4a 60%, #e79b12); box-shadow: 0 5px 0 #6b3a00; }
.lbc-bonus .lbc-go:disabled { opacity: .5; cursor: default; }
.lbc-bonus .lbc-total { font: 700 22px/1.2 var(--f-mono); color: #8cff9e; }

.lbc-bigwin { background: radial-gradient(circle at 50% 45%, rgba(80,20,10,.55), rgba(5,0,8,.88)); cursor: pointer; }
.lbc-bigwin::before { content: ""; position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg, rgba(255,207,74,.16) 0 10deg, transparent 10deg 20deg); animation: lbc-rays 14s linear infinite; }
@keyframes lbc-rays { to { transform: rotate(1turn); } }
.lbc-big-in { position: relative; text-align: center; display: grid; justify-items: center; gap: 4px; animation: lbc-zoom .55s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes lbc-zoom { from { transform: scale(.2); opacity: 0; } }
.lbc-big-in img { width: 150px; height: 150px; border-radius: 22px; box-shadow: 0 0 0 5px var(--gold), 0 0 40px rgba(255,207,74,.7); animation: lbc-cheer .7s ease-in-out infinite; }
.lbc-big-title { margin: 6px 0 0; font: 400 clamp(46px, 11vw, 110px)/.95 var(--f-display); color: var(--gold-3); text-shadow: 0 0 4px #fff, 0 0 24px #ffcf4a, 0 0 60px #ff7a00, 0 8px 0 #6b3a00; letter-spacing: .02em; }
.lbc-big-title.jackpot { background: linear-gradient(90deg, #ffcf4a, #ff5cc8, #7CC0F5, #8cff9e, #ffcf4a); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lbc-slide 1.6s linear infinite; text-shadow: none; filter: drop-shadow(0 0 18px rgba(255,207,74,.8)); }
.lbc-big-amt { font: 700 clamp(40px, 8vw, 80px)/1 var(--f-mono); color: #fff; text-shadow: 0 0 18px rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.lbc-big-sub { margin: 0; color: #ffe9a8; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* the paytable */
.lbc-paytable { width: min(860px, 94vw); max-height: 88dvh; border: 0; border-radius: 22px; padding: 20px 22px; color: var(--text); background: radial-gradient(120% 80% at 50% 0%, #3a1145, #170619); box-shadow: 0 0 0 3px var(--gold), 0 30px 80px rgba(0,0,0,.7); }
.lbc-paytable::backdrop { background: rgba(5,0,8,.75); }
.lbc-paytable h2 { margin: 0 0 10px; font: 400 30px/1 var(--f-display); color: var(--gold-3); }
.lbc-paytable h3 { margin: 18px 0 8px; font: 700 15px/1.2 var(--f-body); color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }
.lbc-paytable p, .lbc-paytable li { color: var(--text); font-size: 14px; }
.lbc-x { all: unset; cursor: pointer; float: right; font-size: 28px; line-height: 1; color: var(--gold); }
.lbc-pays { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.lbc-pay { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px rgba(255,207,74,.2); }
.lbc-pay .lbc-sym { width: 64px; height: 64px; --cell: 64px; }
.lbc-pay b { display: block; font-size: 13px; }
.lbc-pay span { display: block; font: 600 12px/1.45 var(--f-mono); color: #ffe9a8; }
.lbc-linegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.lbc-mini { display: grid; gap: 3px; justify-items: center; font: 600 11px var(--f-mono); color: var(--muted); }
.lbc-mini svg { width: 70px; height: 56px; border-radius: 6px; background: rgba(0,0,0,.35); }

/* ───────── phones ───────── */
@media (max-width: 860px) {
  .lbc-stage { grid-template-columns: 40px minmax(0, 1fr); }
  .lbc-host { grid-column: 1 / -1; grid-template-columns: 64px 1fr; align-items: center; justify-items: stretch; order: 3; }
  .lbc-mayor { width: 60px; height: 60px; }
  .lbc-bubble { text-align: left; min-height: 0; }
  .lbc-bubble::before { top: 50%; left: -9px; transform: translateY(-50%); border: 9px solid transparent; border-left: 0; border-right-color: #fff3dc; }
  .lbc-stalk { padding: 6px 2px; }
  .lbc-stalk-track { width: 16px; min-height: 0; }
  .lbc-stalk-lbl, .lbc-stalk-cap { display: none; }
  .lbc-stalk-num { font-size: 12px; }
  .lbc-marquee { grid-template-columns: 1fr; text-align: center; }
  .lbc-sign { justify-items: center; }
  .lbc-jackpot { min-width: 0; }
  .lbc-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbc-bet { grid-column: 1 / -1; }
  .lbc-spinwrap { grid-column: 1 / -1; order: -1; }
  .lbc-cabinet { padding: 16px 12px 14px; }
  .lbc-reels { gap: 4px; }
  .lbc-window { padding: 6px; }
  .lbc-lines { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
  .lbc-choose { grid-template-columns: 1fr; }
  .lbc-boxes { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .lbc-bulbs::after, .lbc-sign-main, .lbc-freebar, .lbc-sym.tier-scatter, .lbc-bigwin::before, .lbc-big-in img, .lbc-reel.tease, .lbc-stalk.hot .lbc-stalk-track { animation: none !important; }
  .lbc-strip { animation-duration: 1.2s; filter: none; }
}
