/* Lucky Bean Casino — UPGRADE PREVIEW additions. Loaded after the live /css/bean-casino.css, which is unchanged. */

/* the deck gains a Lines group in the old "Lines 25" spot */
.lbcu-lines { display: grid; align-content: center; justify-items: center; gap: 4px; 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; }
.lbcu-linechips { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.lbcu-line { all: unset; box-sizing: border-box; cursor: pointer; min-width: 2.4rem; min-height: 2.4rem; padding: 2px 6px; border-radius: 10px; display: grid; place-items: center; font: 700 16px/1 var(--f-mono); color: #ffd84a; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 2px rgba(255,207,74,.45); }
.lbcu-line small { display: block; font: 600 9px/1 var(--f-body); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lbcu-line.on { background: linear-gradient(180deg, #ffcf4a, #e79b12); color: #2a1300; box-shadow: none; }
.lbcu-line.locked { opacity: .5; box-shadow: inset 0 0 0 2px rgba(255,207,74,.25); border: 0; }
.lbcu-line:disabled { cursor: not-allowed; opacity: .45; }
.lbcu-line:focus-visible { outline: 3px solid #7CC0F5; outline-offset: 3px; }
.lbc-deck { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.lbcu-formula { margin: 10px 0 0; text-align: center; font: 600 15px/1.3 var(--f-body); color: var(--text); }
.lbcu-formula b { font-family: var(--f-mono); color: #ffd84a; }
.lbcu-betnote { margin: 4px 0 0; min-height: 1.2em; text-align: center; font-size: 13px; color: #ffb4a8; }
.lbcu-unlock { margin: 4px auto 0; max-width: 46rem; text-align: center; font-size: 12.5px; color: var(--muted); }
.lbcu-unlock b { color: var(--gold-3, #ffcf4a); }
.lbcu-use { all: unset; cursor: pointer; margin-left: 6px; padding: 4px 10px; border-radius: 999px; font: 700 13px/1.2 var(--f-body); color: #2a1300; background: linear-gradient(180deg, #ffcf4a, #e79b12); }
.lbcu-use:focus-visible { outline: 3px solid #7CC0F5; outline-offset: 3px; }

/* active line paths (when the setting changes, or "Show my lines") */
.lbc-lines polyline.path { stroke-width: 3; opacity: .8; animation-duration: .35s; }
.lbc-lines text.pathno { font: 700 13px var(--f-mono); stroke: #000; stroke-width: 3px; paint-order: stroke; }

/* paytable: lines that are off are dimmed; the comparison table */
.lbc-mini.off { opacity: .38; }
.lbc-mini.on svg { box-shadow: 0 0 0 2px rgba(255,207,74,.6); }
.lbcu-cmp { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 12px; }
.lbcu-cmp th, .lbcu-cmp td { padding: 5px 6px; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; }
.lbcu-cmp .n { text-align: right; font-family: var(--f-mono); white-space: nowrap; }
.lbcu-cmp th.me { color: #2a1300; background: #ffcf4a; border-radius: 6px 6px 0 0; }
.lbcu-sim { font-size: 12px; color: #ffe7a8; border: 1px dashed #ffb703; border-radius: 8px; padding: 6px 8px; }
.lbc-paytable { max-width: min(880px, calc(100vw - 24px)); }
@media (max-width: 640px) { .lbcu-cmp { font-size: 11.5px; } .lbcu-cmp th, .lbcu-cmp td { padding: 4px 3px; } }

/* bonus: three doors; Treasure Chests */
.lbcu-choose3 { grid-template-columns: repeat(3, 1fr); }
.lbcu-chestdoor { position: relative; }
.lbcu-chestdoor:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.lbcu-tag { position: absolute; top: 8px; right: 8px; font: 700 10px/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: #2a1300; background: #ffb703; border-radius: 99px; padding: 3px 7px; }
.lbcu-treasure .lbc-bonus { background: radial-gradient(120% 80% at 50% 0%, #3b2a14 0%, #1d140a 60%, #0d0905 100%); box-shadow: 0 0 0 4px #c9922f, 0 0 0 8px #0b0410, 0 0 80px rgba(255,170,60,.35); }
.lbcu-chests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.lbcu-chest { all: unset; box-sizing: border-box; cursor: pointer; min-height: 9rem; border-radius: 18px; padding: 10px; display: grid; place-items: center; gap: 4px; background: radial-gradient(circle at 50% 30%, #8a5a2b, #5a3414); box-shadow: inset 0 0 0 3px #ffcf4a; color: #fff3dc; text-align: center; }
.lbcu-chest svg { width: 4.4rem; height: auto; }
.lbcu-chest b { font: 700 20px/1.1 var(--f-mono); }
.lbcu-chest small { font-size: 11.5px; color: #ffe7c2; }
.lbcu-chest.mine { background: radial-gradient(circle at 50% 30%, #fff0b3, #ffcf4a); color: #2a1300; }
.lbcu-chest.mine small { color: #4a2a00; }
.lbcu-chest.got-trait.mine { background: radial-gradient(circle at 50% 30%, #f3ebff, #a37bff); box-shadow: 0 0 2rem .4rem rgba(190,150,255,.7); }
.lbcu-chest.other { opacity: .8; box-shadow: inset 0 0 0 2px rgba(255,207,74,.5); }
.lbcu-chest:disabled { cursor: default; }
body:not(.lbcu-reduced) .lbcu-chest.opening svg { animation: lbcu-lid .45s ease-in-out infinite alternate; }
@keyframes lbcu-lid { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.lbcu-card { text-align: left; margin: 8px auto; max-width: 28rem; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 2px #a37bff; }
.lbcu-card b { font: 400 22px/1.1 var(--f-display); color: #e2c8ff; }
.lbcu-card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 8px 0 0; font-size: 13.5px; }
.lbcu-card dt { color: var(--muted); } .lbcu-card dd { margin: 0; }
@media (max-width: 640px) { .lbcu-choose3 { grid-template-columns: 1fr; } .lbcu-chest { min-height: 7rem; } .lbcu-chest svg { width: 3.2rem; } }

/* phones: the deck reflows; the Lines group spans the row so the chips stay finger-sized */
@media (max-width: 860px) {
  .lbc-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbcu-lines { grid-column: 1 / -1; }
}

/* the game's own motion switch (as well as the system setting) */
body.lbcu-reduced .lbc-bulbs::after, body.lbcu-reduced .lbc-sign-main, body.lbcu-reduced .lbc-freebar, body.lbcu-reduced .lbc-sym.tier-scatter, body.lbcu-reduced .lbc-bigwin::before, body.lbcu-reduced .lbc-big-in img, body.lbcu-reduced .lbc-reel.tease, body.lbcu-reduced .lbc-stalk.hot .lbc-stalk-track, body.lbcu-reduced .lbc-cell.land, body.lbcu-reduced .lbc-cell.drop, body.lbcu-reduced .lbc-mayor.cheer, body.lbcu-reduced .lbc-lines polyline { animation: none !important; }
body.lbcu-reduced .lbc-lines polyline { stroke-dashoffset: 0; }
body.lbcu-reduced .lbc-strip { animation-duration: 1.2s; filter: none; }
body.lbcu-reduced .lbc-winflash { display: none; }

/* LOCAL PREVIEW strip and test panel */
.pvu { position: sticky; top: 0; z-index: 1100; /* above the bonus overlay, so the test panel works during a bonus */ background: #2a1a00; border-bottom: 2px solid #ffb703; color: #ffe7a8; font: 500 13px/1.35 system-ui, sans-serif; }
.pvu-row { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 8px 12px; }
.pvu-row b { color: #ffd166; }
.pvu-row a { color: #ffd166; }
.pvu button, .pvu select, .pvu input { font: inherit; min-height: 2.1rem; padding: 0 .6rem; border-radius: .45rem; border: 1px solid #ffb703; background: #3a2600; color: #ffe7a8; }
.pvu button.on, .pvu button[aria-pressed="true"] { background: #ffb703; color: #2a1a00; font-weight: 700; }
.pvu-panel { display: grid; gap: 6px; padding: 0 12px 10px; }
.pvu-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pvu-group > span { min-width: 8rem; font-weight: 700; }
.pvu-note { margin: 0; opacity: .85; }

/* v2: lines stepper, prominent total, Max bet confirmation, How to unlock */
.lbcu-lines .lbc-bet-ctl b { min-width: 2ch; text-align: center; font: 700 24px/1 var(--f-mono); color: #ffd84a; }
.lbcu-of { font-size: 10.5px; color: var(--muted); }
.lbcu-total { box-shadow: inset 0 0 0 3px #ffcf4a, 0 0 0 2px #0b0410, 0 0 18px rgba(255,207,74,.35); }
.lbcu-total > b { font-size: clamp(24px, 3.2vw, 34px); }
.lbcu-total > span { color: #ffcf4a; }
.lbcu-formula { font-size: 16px; }
.lbcu-confirm { margin: 8px auto 0; max-width: 40rem; padding: 8px 12px; border-radius: 12px; text-align: center; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 2px #ffcf4a; color: var(--text); }
.lbcu-no { all: unset; cursor: pointer; margin-left: 6px; padding: 4px 10px; border-radius: 999px; font: 700 13px/1.2 var(--f-body); color: var(--text); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.lbcu-how { all: unset; cursor: pointer; padding: 2px 10px; border-radius: 999px; font: 700 12px/1.4 var(--f-body); color: #2a1300; background: #ffcf4a; }
.lbcu-how:focus-visible, .lbcu-no:focus-visible { outline: 3px solid #7CC0F5; outline-offset: 3px; }
.lbcu-xpbar { height: 10px; border-radius: 99px; background: rgba(0,0,0,.4); overflow: hidden; margin: 6px 0 10px; }
.lbcu-xpbar i { display: block; height: 100%; background: linear-gradient(90deg, #5fbf7a, #ffcf4a); }
.lbcu-cmp tr.me td { background: rgba(255,207,74,.15); }
.lbcu-cmpwrap { max-height: 22rem; overflow: auto; border-radius: 8px; }
.lbcu-cmpwrap .lbcu-cmp th { position: sticky; top: 0; background: #2a0f33; }
.lbcu-chain { font-size: .82rem; opacity: .85; margin: .25rem 0 .6rem; border-left: 3px solid #ffcf4a; padding-left: .5rem; }
/* Pinto's Bean Vault (Hold & Respin, LOCAL PREVIEW proposal) */
.lbcu-choose3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }
.lbcu-vwrap { position: relative; }
.lbcu-vault { --vh: clamp(26px, calc((100dvh - 380px) / var(--vrows)), 66px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; max-width: 440px; margin: .35rem auto; padding: 5px; border-radius: 14px; background: linear-gradient(#2a0c33, #160620); box-shadow: inset 0 0 0 3px #ffcf4a, 0 0 22px rgba(255,207,74,.25); cursor: pointer; }
.lbcu-vault .vcell { --cell: var(--vh); height: var(--vh); position: relative; display: grid; place-items: center; border-radius: 8px; }
.lbcu-vault .vcell.open { background: rgba(0,0,0,.38); box-shadow: inset 0 0 0 1px rgba(255,207,74,.22); }
.lbcu-vault .vcell.open.spin { background: linear-gradient(110deg, rgba(0,0,0,.38) 30%, rgba(255,207,74,.18) 50%, rgba(0,0,0,.38) 70%) 0 0 / 300% 100%; animation: vshimmer .45s linear infinite; }
.lbcu-vault .vcell.locked { background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 6px, rgba(255,255,255,.07) 6px 12px); opacity: .5; }
.lbcu-vault .vcell.locked span { font-size: .68rem; white-space: nowrap; color: #c9b3d6; justify-self: start; padding-left: 4px; }
.lbcu-vault .vcell.newrow { animation: vunlock .9s ease-out both; }
.lbcu-vault .vcell .lbc-sym { width: calc(var(--vh) * .84); height: calc(var(--vh) * .84); }
/* readable values: a big, high-contrast chip; colour by size */
.lbcu-vault .vcell .val { position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%); min-width: 62%; text-align: center; border-radius: 999px; padding: 0 .3rem; font: 800 clamp(.7rem, calc(var(--vh) * .34), 1.05rem) Poppins, sans-serif; line-height: 1.25; letter-spacing: -.01em; background: #1d0726; color: #ffe08a; border: 1.5px solid #ffcf4a; box-shadow: 0 2px 4px rgba(0,0,0,.6); }
.lbcu-vault .tier-small .val { color: #f4e3b5; border-color: #c9a64a; }
.lbcu-vault .tier-mid .val { color: #ffe08a; border-color: #ffcf4a; }
.lbcu-vault .tier-big .val { color: #fff; background: #b3132b; border-color: #ffcf4a; }
.lbcu-vault .tier-big .lbc-sym { filter: drop-shadow(0 0 7px #ff7a8a); }
.lbcu-vault .tier-jackpot .val { color: #2a0c33; background: linear-gradient(90deg, #fff6c4, #ffcf4a, #ff9f1c); border-color: #fff; }
.lbcu-vault .tier-jackpot .lbc-sym { filter: drop-shadow(0 0 10px #ffcf4a); transform: scale(1.06); }
/* landings: each bean drops in after the one before, the chip pops, a "+value" floats up */
.lbcu-vault .vcell.land .lbc-sym { animation: vdrop .42s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i) * 110ms); }
.lbcu-vault .vcell.land .val { animation: vpop .35s ease-out both; animation-delay: calc(var(--i) * 110ms + 250ms); }
.lbcu-vault .vcell .plus { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); font: 800 .8rem Poppins, sans-serif; color: #3ee6a4; text-shadow: 0 1px 3px #000; pointer-events: none; opacity: 0; animation: vplus 1s ease-out both; animation-delay: calc(var(--i) * 110ms + 200ms); }
.lbcu-vault .vcell.counted .lbc-sym { filter: brightness(1.25) drop-shadow(0 0 6px #3ee6a4); }
.lbcu-vault .vcell.counted .val { border-color: #3ee6a4; }
@keyframes vdrop { from { transform: translateY(-120%) scale(.6); opacity: 0; } 70% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes vpop { from { transform: translateX(-50%) scale(.3); opacity: 0; } 70% { transform: translateX(-50%) scale(1.25); } to { transform: translateX(-50%) scale(1); opacity: 1; } }
@keyframes vplus { 0% { opacity: 0; transform: translate(-50%, 6px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -22px); } }
@keyframes vshimmer { to { background-position: -300% 0; } }
@keyframes vunlock { 0% { box-shadow: inset 0 0 0 2px #3ee6a4, 0 0 18px #3ee6a4; background: rgba(62,230,164,.35); } 100% { box-shadow: inset 0 0 0 1px rgba(255,207,74,.22); } }
/* the row-unlock banner */
.lbcu-vbanner { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 3; text-align: center; padding: .55rem 1.2rem; border-radius: 14px; background: linear-gradient(135deg, #3ee6a4, #1f8fff); color: #06281a; box-shadow: 0 8px 28px rgba(0,0,0,.6), 0 0 0 3px #fff; pointer-events: none; white-space: nowrap; }
.lbcu-vbanner b { display: block; font: 800 clamp(1.1rem, 6vw, 1.6rem) Poppins, sans-serif; letter-spacing: .02em; }
.lbcu-vbanner small { font-weight: 700; color: #08341f; }
.lbcu-vbanner.go { animation: vbanner 1.2s ease-out both; }
@keyframes vbanner { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 18% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; } 30% { transform: translate(-50%, -50%) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70%) scale(1); } }
.lbcu-vtop { display: flex; justify-content: center; align-items: center; gap: 1rem; }
.lbcu-vdots { display: flex; gap: .35rem; }
.lbcu-vdots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #ffcf4a; background: transparent; transition: background .2s, transform .2s; }
.lbcu-vdots i.on { background: #ffcf4a; box-shadow: 0 0 8px #ffcf4a; }
.lbcu-vheld { font-size: .9rem; color: #c9b3d6; } .lbcu-vheld b { color: #ffcf4a; font: 800 1.25rem Poppins, sans-serif; }
.lbcu-vstat { display: flex; flex-wrap: wrap; gap: .15rem .7rem; justify-content: center; font-size: .76rem; color: #c9b3d6; margin-top: .15rem; }
.lbcu-vstat b { color: #fbefff; }
.lbcu-vnext { position: relative; max-width: 440px; margin: .3rem auto 0; height: 20px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; font-size: .74rem; }
.lbcu-vnext i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #1f8fff, #3ee6a4); transition: width .35s; }
.lbcu-vnext span { position: relative; display: block; text-align: center; line-height: 20px; color: #fff; text-shadow: 0 1px 2px #000; }
.lbcu-vnext.done { background: rgba(62,230,164,.2); }
.lbcu-vnote { text-align: center; min-height: 1.3em; font-size: .86rem; margin: .2rem 0; }
.lbcu-vctl { display: flex; justify-content: center; gap: .4rem; }
.lbcu-vctl .lbc-tool[aria-pressed="true"] { background: #ffcf4a; color: #2a0c33; }
.lbcu-vcount { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: .4rem 0; }
.lbcu-vcount b { font: 800 1.8rem Poppins, sans-serif; color: #3ee6a4; min-width: 5ch; text-align: center; }
.lbcu-vpay { text-align: center; }
.lbcu-vpay .big { font-size: 1.15rem; }
.lbcu-vpay .big b { color: #ffcf4a; font-size: 1.45rem; }
.lbcu-vtest { margin: .25rem auto .35rem; max-width: 460px; padding: .35rem .6rem; border-radius: 10px; font-size: .76rem; text-align: left; }
.lbcu-vtest b { margin-right: .3rem; letter-spacing: .04em; }
.lbcu-vtest.artificial { background: #b3132b; color: #fff; border: 2px dashed #ffcf4a; }
.lbcu-vtest.replay { background: rgba(31,143,255,.22); color: #dbeaff; border: 1px solid #1f8fff; }
.lbcu-vtest.forced { background: rgba(255,159,28,.2); color: #ffe6c2; border: 1px solid #ff9f1c; }
.pvu-artificial { border-color: #b3132b !important; color: #ff8a9a !important; }
body.lbcu-reduced .lbcu-vault .vcell .lbc-sym, body.lbcu-reduced .lbcu-vault .vcell .val, body.lbcu-reduced .lbcu-vault .vcell .plus, body.lbcu-reduced .lbcu-vault .vcell.newrow, body.lbcu-reduced .lbcu-vbanner.go, body.lbcu-reduced .lbcu-vault .vcell.open.spin { animation: none !important; }
body.lbcu-reduced .lbcu-vault .vcell .plus { display: none; }
.lbcu-howcard { display: grid; gap: .35rem; margin: .5rem 0; }
.lbcu-howcard div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .1rem .6rem; align-items: baseline; padding: .4rem .6rem; border-radius: 10px; background: rgba(255,255,255,.05); }
.lbcu-howcard small { grid-row: span 2; color: #c9b3d6; text-transform: uppercase; font-size: .66rem; letter-spacing: .06em; }
.lbcu-howcard b { color: #ffcf4a; }
.lbcu-howcard span { font-size: .8rem; color: #e8d9f0; }
@media (max-width: 480px) { .lbcu-howcard div { grid-template-columns: 1fr; } .lbcu-howcard small { grid-row: auto; } }

/* LOCAL PREVIEW test panel (13 Oct): toasts, active setup, feature table */
.pvu-panel { max-height: 72vh; overflow: auto; overscroll-behavior: contain; }
.pvu-sub { display: contents; }
.pvu-group > small { flex-basis: 100%; opacity: .8; }
.pvu button.locked { opacity: .55; border-style: dashed; }
.pvu button:disabled { opacity: .5; cursor: progress; }
.pvu-toast { margin: 0 12px 8px; padding: 8px 10px; border-radius: .5rem; font-weight: 500; }
.pvu-toast.ok { background: #12391f; border: 1px solid #3ccf6e; color: #c9ffd9; }
.pvu-toast.warn { background: #3a2a00; border: 1px solid #ffd166; color: #fff0c2; }
.pvu-toast.err { background: #4a0d18; border: 1px solid #ff6b81; color: #ffd6dc; }
.pvu-toast b { margin-right: .35rem; }
.pvu-setup table, .pvu-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pvu-setup th { text-align: left; white-space: nowrap; padding: 2px 8px 2px 0; color: #ffd166; vertical-align: top; width: 1%; }
.pvu-setup td, .pvu-table td { padding: 2px 6px 2px 0; vertical-align: top; }
.pvu-setup { background: #1f1400; border: 1px solid #6b4a00; border-radius: .5rem; padding: 6px 8px; }
.pvu-warn { color: #ffb3bf; font-style: normal; }
.pvu-table summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.pvu-table tr { border-top: 1px solid #4a3300; }
.pvu-table td.ok { color: #9dffbc; } .pvu-table td.demo { color: #ffd166; } .pvu-table td.no { color: #ff9aa9; }
.lbcu-testtag { display: inline-block; padding: 0 .4rem; border-radius: .3rem; background: #ffb703; color: #2a1a00; font-weight: 800; font-size: .8em; letter-spacing: .04em; }
.lbcu-vtest.mockup { border: 2px solid #6ec6ff; background: #0d2a44; color: #d4ecff; }
.pvu-last { margin-top: 6px; } .pvu-last th { text-align: left; color: #ffd166; font-weight: 600; padding: 2px 6px 2px 0; } .pvu-last td { padding: 1px 6px 1px 0; } .pvu-last td.neg { color: #ff9aa9; } .pvu-last td.pos { color: #9dffbc; } .pvu-last i { color: #ffb703; font-style: normal; font-size: .85em; }
.pvu-gloss { margin: 0; font-size: 12px; opacity: .9; }
.pvu-levels table th { text-align: left; color: #ffd166; } .pvu-levels p { margin: .3rem 0; }
.pvu button.pvu-mock { border-color: #6ec6ff; color: #d4ecff; }
@media (max-width: 560px) { .pvu-setup table, .pvu-table table { font-size: 11.5px; } .pvu-levels table { display: block; overflow-x: auto; } }
.pvu-table td.tool { color: #ffe7a8; opacity: .8; }

/* ═══ CABINET PASS (12 Oct): SPIN/SKIP, Max bet in the bet box, paylines overlay, free-spin bar, recent strip, entrances ═══ */
.lbc-spin { transition: transform .08s, filter .15s; }
.lbc-spin:not(:disabled):not(.busy):not(.skip) span { animation: lbcu-breathe 2.4s ease-in-out infinite; }
@keyframes lbcu-breathe { 50% { text-shadow: 0 3px 0 #6b0010, 0 0 22px rgba(255,255,255,.85); } }
.lbc-spin.skip { background: radial-gradient(circle at 50% 35%, #ffe28a, #e79b12 60%, #8a4b00); }
.lbc-spin.skip span { color: #2a1300; text-shadow: 0 2px 0 rgba(255,255,255,.5); font-size: 26px; }
.lbcu-maxbtn { all: unset; box-sizing: border-box; cursor: pointer; margin-top: 4px; padding: 4px 10px; border-radius: 999px; font: 700 11px/1.1 var(--f-body); letter-spacing: .04em; color: #ffd84a; box-shadow: inset 0 0 0 2px rgba(255,207,74,.6); white-space: nowrap; }
.lbcu-maxbtn:hover:not(:disabled) { background: rgba(255,207,74,.12); }
.lbcu-maxbtn:disabled { opacity: .4; cursor: not-allowed; }
.lbcu-maxbtn:focus-visible { outline: 3px solid #7CC0F5; outline-offset: 3px; }
#lineBet.bump, #totalBet.bump { animation: lbcu-bump .32s ease-out; }
@keyframes lbcu-bump { 40% { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.6); } } /* neutral: the same blink up or down */
.lbcu-boardinfo { margin: 6px 0 0; text-align: center; font: 600 12px/1.3 var(--f-body); color: var(--muted); letter-spacing: .03em; }
.lbcu-boardinfo b { color: #ffd84a; }
.lbc-window.paths-on::after { content: "All 25 paylines are active on every spin · tap to hide"; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: rgba(11,4,16,.85); color: #ffe7a8; font: 700 11px/1.2 var(--f-body); white-space: nowrap; pointer-events: none; }
.lbc-window.paths-on .lbc-cell { opacity: .55; }
.lbc-freebar { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; }
.lbc-freebar .fb-t { font-weight: 800; letter-spacing: .08em; }
.lbc-freebar .fb-n b { font-size: 1.15em; }
.lbc-freebar .fb-s { opacity: .8; font-size: .9em; }
.lbcu-fbbtn { all: unset; cursor: pointer; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); font: 700 12px/1 var(--f-body); }
.lbcu-fbbtn:focus-visible { outline: 3px solid #7CC0F5; outline-offset: 3px; }
.lbcu-recent { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0 2px; min-height: 22px; font: 600 12px/1 var(--f-mono); }
.lbcu-recent .rc-h { font: 700 10px/22px var(--f-body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.lbcu-recent .rc { padding: 4px 8px; border-radius: 8px; background: rgba(0,0,0,.35); color: #cbbfd0; }
.lbcu-recent .rc.gain { color: #8cff9e; } .lbcu-recent .rc.bonus { color: #ffd84a; } .lbcu-recent .rc.part, .lbcu-recent .rc.zero { color: #e6dcea; } .lbcu-recent .rc.loss { color: #a99bb0; }
/* bonus entrances */
.lbcu-entrance { display: grid; justify-items: center; gap: 6px; padding: 18px 8px 10px; cursor: pointer; animation: lbcu-ein .45s cubic-bezier(.2,1.4,.4,1) both; }
.lbcu-entrance .e-ico { font-size: 56px; line-height: 1; animation: lbcu-epop .7s ease-out both; }
.lbcu-entrance b { font: 400 clamp(24px, 5vw, 34px)/1.1 var(--f-display); color: #ffd84a; text-shadow: 0 3px 0 #6b3a00; }
.lbcu-entrance small { color: #e6dcea; font-weight: 600; }
.lbcu-entrance em { font-style: normal; font-size: 11px; opacity: .6; margin-top: 6px; }
@keyframes lbcu-ein { from { opacity: 0; transform: scale(.7); } }
@keyframes lbcu-epop { 0% { transform: scale(0) rotate(-20deg); } 70% { transform: scale(1.25) rotate(6deg); } }
.e-wheel .e-ico { animation: lbcu-espin 1.2s cubic-bezier(.2,.8,.3,1) both; }
@keyframes lbcu-espin { from { transform: rotate(-720deg) scale(.3); } }
.e-cans { display: grid; grid-template-columns: repeat(6, 28px); gap: 4px; }
.e-cans i { font-style: normal; font-size: 22px; animation: lbcu-edrop .5s ease-out both; animation-delay: calc(var(--i) * 60ms); }
@keyframes lbcu-edrop { from { opacity: 0; transform: translateY(-40px); } }
.e-chests { display: flex; gap: 10px; } .e-chests svg { width: 54px; animation: lbcu-eglow 1.2s ease-in-out both; } .e-chests svg:nth-child(2) { animation-delay: .15s; } .e-chests svg:nth-child(3) { animation-delay: .3s; }
@keyframes lbcu-eglow { 50% { filter: drop-shadow(0 0 12px #ffcf4a); transform: translateY(-6px); } }
.e-door { position: relative; width: 150px; height: 100px; overflow: hidden; border-radius: 10px; background: repeating-linear-gradient(180deg, #2a0c33 0 22px, #3d1448 22px 25px); box-shadow: inset 0 0 0 3px #ffcf4a; }
.e-door i { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(180deg, #8a8f99, #4b4f57); box-shadow: inset 0 0 0 3px #22252b; animation: lbcu-edoor 1.1s .25s ease-in-out both; }
.e-door i:first-child { left: 0; } .e-door i:last-child { right: 0; animation-name: lbcu-edoor2; }
@keyframes lbcu-edoor { to { transform: translateX(-100%); } } @keyframes lbcu-edoor2 { to { transform: translateX(100%); } }
/* the vault opens row by row; respin reset */
.lbcu-vault.intro .vcell { animation: lbcu-vrow .38s ease-out both; animation-delay: calc(var(--r, 0) * 70ms); }
@keyframes lbcu-vrow { from { opacity: 0; transform: translateY(-14px) scaleY(.6); } }
.lbcu-vdots.reset i.on { animation: lbcu-vreset .5s ease-out both; }
.lbcu-vdots.reset::after { content: "RESET"; margin-left: 6px; font: 800 10px/1 var(--f-body); letter-spacing: .1em; color: #8cff9e; animation: lbcu-ein .3s both; }
@keyframes lbcu-vreset { 0% { transform: scale(.3); } 60% { transform: scale(1.4); box-shadow: 0 0 10px #8cff9e; } }
body.lbcu-reduced .lbc-spin span, body.lbcu-reduced .lbcu-entrance, body.lbcu-reduced .lbcu-entrance *, body.lbcu-reduced .lbcu-vault.intro .vcell, body.lbcu-reduced .lbcu-vdots.reset i.on, body.lbcu-reduced #lineBet.bump, body.lbcu-reduced #totalBet.bump { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .lbc-spin span, .lbcu-entrance, .lbcu-entrance *, .lbcu-vault.intro .vcell { animation: none !important; } }

/* XP / tier bar (12 Oct 19:58) */
.lbcu-xpbar2 { position: relative; margin: 6px 0 8px; padding: 8px 12px; border-radius: 14px; background: linear-gradient(180deg, #0c030e, #1d0721); box-shadow: inset 0 0 0 2px #4b1d55; font: 600 12px/1.3 var(--f-body); color: #e6dcea; }
.lbcu-xpbar2 .xp-top, .lbcu-xpbar2 .xp-bot { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.lbcu-xpbar2 .xp-tier { font: 400 16px/1 var(--f-display); color: #ffd84a; }
.lbcu-xpbar2 .xp-num b { font: 700 15px/1 var(--f-mono); color: #fff; }
.lbcu-xpbar2 .xp-next { margin-left: auto; color: #cbbfd0; }
.lbcu-xpbar2 .xp-track { height: 10px; margin: 6px 0; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.lbcu-xpbar2 .xp-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7c4dff, #ffcf4a); transition: width .5s ease; }
.lbcu-xpbar2 .xp-today { margin-left: auto; } .lbcu-xpbar2 .xp-today.capped { color: #ffb3bf; }
.lbcu-xpbar2 .xp-rule { opacity: .7; }
.lbcu-xpbar2 .xp-gain { position: absolute; right: 12px; top: -10px; padding: 2px 8px; border-radius: 999px; background: #7c4dff; color: #fff; font: 800 11px/1.3 var(--f-body); animation: lbcu-xpgain 1.3s ease-out both; pointer-events: none; }
@keyframes lbcu-xpgain { from { opacity: 0; transform: translateY(8px); } 20% { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 560px) { .lbcu-xpbar2 .xp-next, .lbcu-xpbar2 .xp-today { margin-left: 0; } }
/* payline keys 1–25 */
.lbcu-linekeys { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; align-items: center; margin: 8px 0 0; }
.lbcu-linekeys .lk-h { width: 100%; text-align: center; font: 700 10px/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.lbcu-linekeys .lk { all: unset; box-sizing: border-box; cursor: pointer; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 8px; display: inline-grid; place-items: center; font: 700 13px/1 var(--f-mono); color: #fff; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 2px var(--c, #ffcf4a); }
.lbcu-linekeys .lk.all { --c: #ffcf4a; padding: 0 10px; font-family: var(--f-body); }
.lbcu-linekeys .lk.on { background: var(--c, #ffcf4a); color: #0b0410; }
.lbcu-linekeys .lk:focus-visible { outline: 3px solid #7CC0F5; outline-offset: 2px; }
.lbcu-linekeys .lk-say { width: 100%; margin: 4px 0 0; text-align: center; font-size: 12px; color: #e6dcea; }
.lbc-lines polyline.solo { stroke-width: 7; }
body.lbcu-reduced .lbcu-xpbar2 .xp-gain, body.lbcu-reduced .lbcu-xpbar2 .xp-track i { animation: none !important; transition: none !important; }
.lbc-window.paths-on .lbc-cell.hit { opacity: 1; }

/* Casino trait prizes (16 Oct): real art on the chest and the card; the test Locker (LOCAL PREVIEW) */
.lbcu-chestart { width: 64px; height: 64px; object-fit: contain; object-position: center; background: radial-gradient(circle, rgba(163,123,255,.25), transparent 70%); border-radius: 10px; }
.lbcu-cardart { display: block; width: 180px; height: 180px; margin: 0 auto 6px; object-fit: contain; background: radial-gradient(circle, rgba(163,123,255,.3), transparent 70%); border-radius: 14px; }
.lbcu-cardtest { margin: 4px 0 0; font: 800 11px/1.3 var(--f-body); letter-spacing: .06em; color: #ffcf4a; }
.lbcu-cardbtns { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lbcu-locker { max-width: 760px; }
.lbcu-locker .lk-test { font: 800 11px/1 var(--f-body); letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: #ffcf4a; color: #2a1300; vertical-align: middle; }
.lbcu-locker .lk-note { font-size: 13px; color: #e6dcea; }
.lk-wrap { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 14px; align-items: start; }
.lk-bean { position: relative; margin: 0; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #1d0721; box-shadow: inset 0 0 0 2px #4b1d55; }
.lk-bean img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lk-bean figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; font: 600 11px/1.3 var(--f-body); background: rgba(11,4,16,.78); color: #ffe7a8; }
.lk-say { margin: 0 0 8px; font-size: 13.5px; } .lk-err { color: #ffb3bf; }
.lk-ask { padding: 10px; border-radius: 12px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 2px #ffcf4a; margin-bottom: 8px; }
.lk-mock { color: #ffcf4a; font-size: 12.5px; }
.lk-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.lk-item { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 8px; border-radius: 12px; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 2px #4b1d55; text-align: left; }
.lk-item.worn { box-shadow: inset 0 0 0 2px #ffcf4a; }
.lk-item img { width: 72px; height: 72px; object-fit: contain; background: radial-gradient(circle, rgba(163,123,255,.25), transparent 70%); border-radius: 8px; }
.lk-item b { display: block; } .lk-item small { display: block; font-size: 11.5px; color: #cbbfd0; }
.lk-btns { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
@media (max-width: 560px) { .lk-wrap { grid-template-columns: 1fr; } .lk-bean { width: 100%; max-width: 260px; margin: 0 auto; } }
.lk-thumb { width: 72px; height: 72px; border-radius: 8px; background-color: #2a0f30 !important; }
.lbcu-chestart, .lbcu-cardart { background-color: #2a0f30 !important; }
.lbcu-chestart { display: block; margin: 0 auto 4px; }

/* paid auto spin (local prototype) */
.lbcu-autostop { background: linear-gradient(180deg, #ff6b81, #b3132b) !important; color: #fff !important; box-shadow: none !important; }
.lbcu-autostop small { font-weight: 600; opacity: .9; margin-left: 4px; }
.lbcu-autoask { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
.lbcu-autoask small { flex-basis: 100%; text-align: center; color: var(--muted); }
.lk-checknote, .lk-dropnote { position: fixed; z-index: 1200; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(560px, calc(100vw - 32px)); display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px; border-radius: 16px; background: #1f0b22; color: var(--text); box-shadow: 0 0 0 2px #ffcf4a, 0 12px 40px rgba(0,0,0,.6); font-size: 13.5px; }
.lk-dropnote { bottom: auto; top: 16px; box-shadow: 0 0 0 2px #7fe0a0, 0 12px 40px rgba(0,0,0,.6); }
.lk-dropnote p { margin: 4px 0; } .lk-dropnote b { color: #ffd84a; }
.lk-dropnote[hidden] { display: none; }
.lk-checknote p { margin: 4px 0; } .lk-checknote b { color: #ffd84a; }
.lk-ckart { width: 120px; height: 120px; border-radius: 10px; background-color: #2a0f30 !important; }
@media (max-width: 560px) { .lk-checknote, .lk-dropnote { grid-template-columns: 1fr; } .lk-ckart { margin: 0 auto; } }
.lbcu-autonote { margin: 6px auto 0; text-align: center; font-size: 13px; color: #ffe7a8; }

/* exact-amount check line (PROPOSAL) */
.lk-amt { margin: 6px 0; padding: 6px 8px; border-left: 3px solid #8a5cf0; background: rgba(138, 92, 240, .12); border-radius: 6px; }
.lk-kind { font-size: 12.5px; opacity: .9; }

/* More at Mayor Pinto's Casino: the Doodle or Nothing card (its own styles come from the widget) */
.lbc-more { margin: 28px auto 8px; max-width: 420px; }
.lbc-more h2 { font-size: 18px; margin: 0 0 12px; color: #f6d98b; }
