/* The table and instant games (public/casino.js): shared controls, then each game's own look.
   Each game has its own identity (the owner's rule): Dice = neon lab, Wheel of Fortune = game-show lights,
   Roulette = Monte Carlo emerald and mahogany, Blackjack = green felt, Baccarat = royal blue salon,
   Dragon Tiger = red lacquer and gold, Towers = ancient stone, Lucky Sevens = chrome Vegas. */

/* ---------- shared ---------- */
.xg-tab { padding-bottom: 12px; }
.xg-panel { margin-top: 12px; padding: 12px; border-radius: 18px; display: grid; gap: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.xg-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.xg-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.xg-stake { display: flex; align-items: center; gap: 6px; }
.xg-stake .xg-label { margin-right: auto; }
.xg-stake button { min-width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07);
  color: inherit; font-weight: 900; font-size: 15px; cursor: pointer; }
.xg-stake button:active { transform: scale(.94); }
.xg-stake b { min-width: 64px; text-align: center; font-size: 19px; font-variant-numeric: tabular-nums; }
.xg-go { height: 54px; border: 0; border-radius: 16px; font-size: 19px; font-weight: 900; letter-spacing: .14em; cursor: pointer; color: #fff; }
.xg-go:disabled { opacity: .5; cursor: default; }
.xg-go:not(:disabled):active { transform: translateY(1px) scale(.99); }
.xg-tools { justify-content: flex-start; }
.xg-tool, .xg-auto button { height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.xg-tool.on { background: rgba(255,214,90,.2); border-color: rgba(255,214,90,.6); }
.xg-auto { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.xg-auto span { font-size: 12px; font-weight: 800; opacity: .7; }
.xg-auto button:disabled { opacity: .45; }
.xg-msg { min-height: 20px; text-align: center; font-size: 13.5px; opacity: .9; }
.xg-hdetail { font-size: 13px; opacity: .85; margin-top: 4px; }
.xg-table table { width: 100%; }

/* ---------- DICE: neon lab ---------- */
body.dice-mode {
  --dc-violet: #9b5cff; --dc-cyan: #22e3ff; --dc-win: #2dffa8; --dc-lose: #ff3d71;
  background:
    radial-gradient(700px 420px at 50% -10%, rgba(155,92,255,.38), transparent 62%),
    radial-gradient(520px 380px at 100% 110%, rgba(34,227,255,.16), transparent 60%),
    linear-gradient(rgba(155,92,255,.06) 1px, transparent 1px) 0 0 / 100% 28px,
    #0b0620;
  background-attachment: fixed;
}
body.dice-mode .topbar { background: rgba(11,6,32,.92); border-bottom-color: rgba(155,92,255,.35); }
body.dice-mode .tabbar { background: rgba(11,6,32,.96); border-top-color: rgba(155,92,255,.35); }
body.dice-mode .game-bar button { border-color: rgba(34,227,255,.3); background: rgba(34,227,255,.06); }
#tab-dice { color: #ece6ff; }
.dc-lab { margin-top: 10px; padding: 14px 14px 12px; border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(155,92,255,.28), transparent 60%), linear-gradient(180deg, #170d40, #0d0726);
  box-shadow: 0 0 0 1.5px rgba(155,92,255,.55), 0 0 30px rgba(155,92,255,.2), inset 0 0 40px rgba(0,0,0,.4); }
.dc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dc-logo { font-weight: 900; font-size: 22px; letter-spacing: .3em; color: #fff;
  text-shadow: 0 0 8px var(--dc-violet), 0 0 18px var(--dc-violet); }
.dc-recent { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.dc-recent span { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.dc-recent .w { background: rgba(45,255,168,.15); color: var(--dc-win); }
.dc-recent .l { background: rgba(255,61,113,.13); color: #ff8aa8; }
.dc-roll { text-align: center; margin: 14px 0 10px; }
.dc-roll b { display: block; font-size: 64px; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; color: #fff;
  text-shadow: 0 0 10px var(--dc-cyan), 0 0 26px rgba(34,227,255,.6); transition: color .2s, text-shadow .2s; }
.dc-roll small { display: block; margin-top: 8px; font-size: 13.5px; color: #c9bcff; }
.dc-roll.spinning b { color: #b9f6ff; filter: blur(.4px); }
.dc-roll.won b { color: var(--dc-win); text-shadow: 0 0 12px var(--dc-win), 0 0 30px rgba(45,255,168,.6); animation: dcPop .35s ease-out; }
.dc-roll.lost b { color: var(--dc-lose); text-shadow: 0 0 12px var(--dc-lose), 0 0 26px rgba(255,61,113,.5); animation: dcShake .35s; }
@keyframes dcPop { 0% { transform: scale(.8); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes dcShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.dc-track { position: relative; height: 54px; margin: 6px 4px 18px; }
.dc-track::before { content: ''; position: absolute; left: 0; right: 0; top: 18px; height: 14px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,61,113,.55), rgba(255,61,113,.35)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.dc-zone { position: absolute; top: 18px; height: 14px; border-radius: 10px; background: linear-gradient(90deg, #12d98a, var(--dc-win));
  box-shadow: 0 0 14px rgba(45,255,168,.7); transition: left .15s, width .15s; }
.dc-marker { position: absolute; top: -2px; width: 0; transition: left .35s cubic-bezier(.2,.9,.3,1.2); }
.dc-marker i { position: absolute; left: -15px; width: 30px; height: 30px; border-radius: 8px; transform: rotate(45deg);
  background: #fff; box-shadow: 0 0 0 3px var(--dc-lose), 0 0 16px var(--dc-lose); }
.dc-marker.won i { box-shadow: 0 0 0 3px var(--dc-win), 0 0 16px var(--dc-win); }
.dc-track input[type=range] { position: absolute; left: -2px; right: -2px; top: 6px; width: calc(100% + 4px); height: 38px; margin: 0;
  background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.dc-track input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 38px; }
.dc-track input[type=range]::-moz-range-track { background: transparent; height: 38px; }
.dc-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 38px; border-radius: 10px; margin-top: 0;
  background: linear-gradient(180deg, #fff, #d9ccff); box-shadow: 0 0 0 2px var(--dc-violet), 0 0 16px var(--dc-violet); }
.dc-track input[type=range]::-moz-range-thumb { width: 30px; height: 38px; border-radius: 10px; border: 0;
  background: linear-gradient(180deg, #fff, #d9ccff); box-shadow: 0 0 0 2px var(--dc-violet), 0 0 16px var(--dc-violet); }
.dc-scale { position: absolute; left: 0; right: 0; top: 44px; display: flex; justify-content: space-between; font-size: 11px; color: #9d90d6; font-variant-numeric: tabular-nums; }
.dc-stats { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; }
.dc-stats > div, .dc-flip { border-radius: 14px; padding: 8px 10px; text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(155,92,255,.35); }
.dc-stats small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #a99ce6; }
.dc-stats b { font-size: 20px; font-variant-numeric: tabular-nums; }
.dc-flip { color: #fff; cursor: pointer; min-width: 106px; position: relative; border-color: rgba(34,227,255,.55); background: rgba(34,227,255,.08); }
.dc-flip i { position: absolute; right: 8px; top: 7px; font-style: normal; color: var(--dc-cyan); font-size: 14px; }
.dc-flip:active { transform: scale(.97); }
.dc-panel { background: rgba(23,13,64,.8); border-color: rgba(155,92,255,.35); }
.dc-wins { font-size: 18px; color: var(--dc-win); font-variant-numeric: tabular-nums; }
.dc-go { background: linear-gradient(180deg, #b48bff, #7a3cff 55%, #5a22d6); box-shadow: 0 6px 22px rgba(122,60,255,.5), inset 0 1px 0 rgba(255,255,255,.4); }
.dc-go.stop { background: linear-gradient(180deg, #ff7aa0, #e0285e); }
.g-dice .g-art { background: #0b0620; }
.ps-dice { background: radial-gradient(120% 120% at 80% 0%, #4a23b5, #120838 70%) !important; }

@media (prefers-reduced-motion: reduce) { .dc-roll.won b, .dc-roll.lost b { animation: none; } }
html.lite .dc-zone, html.lite .dc-logo, html.lite .dc-roll b { box-shadow: none; text-shadow: none; }

/* ---------- table games: cards, chips, bet spots ---------- */
.xc { position: relative; width: 62px; height: 88px; border-radius: 8px; background: linear-gradient(160deg, #ffffff, #f1ece0);
  color: #15151d; box-shadow: 0 6px 14px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.12); display: grid; place-items: center; flex: none; }
.xc.red { color: #c3121c; }
.xc > b { position: absolute; left: 6px; top: 3px; font: 900 17px/1.1 Georgia, 'Times New Roman', serif; }
.xc > b.bt { left: auto; top: auto; right: 6px; bottom: 3px; transform: rotate(180deg); }
.xc > i { font-style: normal; font-size: 30px; line-height: 1; }
.xc.back { background: repeating-linear-gradient(45deg, #7a1d2c 0 6px, #5c1220 6px 12px); box-shadow: 0 6px 14px rgba(0,0,0,.45), inset 0 0 0 3px #f4e2b8, inset 0 0 0 5px #7a1d2c; }
.xc.back > i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #f4e2b8; opacity: .7; }
.xc.ghost { opacity: .18; }
.xc.in { animation: xcIn .35s cubic-bezier(.2,.9,.3,1.1) both; }
.xc.flip { animation: xcFlip .42s ease-out both; }
@keyframes xcIn { from { transform: translate(60px, -60px) rotate(18deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes xcFlip { 0% { transform: rotateY(90deg) scale(1.06); } 100% { transform: none; } }
.xg-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.xchp { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; font: 900 13px/1 system-ui, sans-serif; color: #fff;
  background: radial-gradient(circle at 50% 50%, var(--cc) 0 52%, #fff 52% 58%, var(--cc) 58% 100%);
  box-shadow: 0 3px 0 rgba(0,0,0,.35), inset 0 0 0 3px rgba(255,255,255,.25), 0 0 0 0 transparent; transition: transform .12s; }
.xchp.on { transform: translateY(-4px) scale(1.08); box-shadow: 0 6px 0 rgba(0,0,0,.35), 0 0 0 3px #ffe08a, 0 0 18px rgba(255,224,138,.6); }
.xchp.c0, .xchip.c0 { --cc: #2d7ff9; } .xchp.c1, .xchip.c1 { --cc: #e5332a; } .xchp.c2, .xchip.c2 { --cc: #18a058; }
.xchp.c3, .xchip.c3 { --cc: #2b2b33; } .xchp.c4, .xchip.c4 { --cc: #8a3ffc; } .xchp.c5, .xchip.c5 { --cc: #f08c00; }
.xchip { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); min-width: 30px; height: 30px; padding: 0 3px; border-radius: 50%;
  display: grid; place-items: center; font: 900 10.5px/1 system-ui, sans-serif; color: #fff; pointer-events: none;
  background: radial-gradient(circle, var(--cc) 0 50%, #fff 50% 57%, var(--cc) 57%); box-shadow: 0 3px 6px rgba(0,0,0,.5); animation: xchipIn .18s ease-out; }
@keyframes xchipIn { from { transform: translate(-50%, -90%) scale(1.3); opacity: 0; } }
.xg-tablebtns { justify-content: center; gap: 6px; }
.xg-tablebtns button { height: 32px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: inherit; font-weight: 800; font-size: 12.5px; cursor: pointer; }
.xg-tablebtns button:disabled { opacity: .35; cursor: default; }
.xg-total { margin-left: auto; font-size: 13px; font-weight: 800; opacity: .9; }
.xg-total b { font-size: 16px; font-variant-numeric: tabular-nums; }
.xg-road { display: flex; gap: 4px; flex-wrap: wrap; min-height: 22px; }
.xg-road i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 900 11px/1 system-ui, sans-serif; font-style: normal; color: #fff; }
.xg-tablemsg { text-align: center; min-height: 22px; margin: 8px 0; font-size: 14.5px; }

/* ---------- DRAGON TIGER: red lacquer and gold ---------- */
body.dragontiger-mode {
  background: radial-gradient(700px 420px at 50% -10%, rgba(214,40,40,.45), transparent 62%), radial-gradient(500px 380px at 0% 110%, rgba(255,190,80,.14), transparent 60%), #1c0204;
  background-attachment: fixed;
}
body.dragontiger-mode .topbar { background: rgba(40,3,6,.94); border-bottom-color: rgba(232,184,74,.35); }
body.dragontiger-mode .tabbar { background: rgba(32,2,5,.96); border-top-color: rgba(232,184,74,.35); }
body.dragontiger-mode .game-bar button { border-color: rgba(232,184,74,.35); background: rgba(232,184,74,.07); }
#tab-dragontiger { color: #fff1d6; }
.dt-table { margin-top: 10px; padding: 12px; border-radius: 24px; position: relative;
  background: radial-gradient(110% 80% at 50% 10%, #9b141c, #5a070d 60%, #3a0408); border: 2px solid #e8b84a;
  box-shadow: 0 0 0 4px #5a070d, 0 0 0 5px rgba(232,184,74,.5), 0 18px 36px rgba(0,0,0,.55), inset 0 0 40px rgba(0,0,0,.4); }
.dt-table::before { content: ''; position: absolute; inset: 8px; border-radius: 18px; border: 1px dashed rgba(232,184,74,.35); pointer-events: none; }
.dt-table .xg-road i.dragon { background: #c3121c; box-shadow: 0 0 0 1.5px #ffd36b; }
.dt-table .xg-road i.tiger { background: #1d5fc4; box-shadow: 0 0 0 1.5px #9cc8ff; }
.dt-table .xg-road i.tie { background: #18a058; }
.dt-cards { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin-top: 10px; }
.dt-side { display: grid; justify-items: center; gap: 8px; padding: 10px 6px; border-radius: 16px; transition: background .3s, box-shadow .3s, opacity .3s; }
.dt-side .xc { width: 78px; height: 110px; } .dt-side .xc > i { font-size: 38px; } .dt-side .xc > b { font-size: 20px; }
.dt-name { font: 900 15px/1 Georgia, 'Times New Roman', serif; letter-spacing: .14em; color: #ffd36b; text-shadow: 0 2px 0 rgba(0,0,0,.4); }
.dt-name span { font-size: 18px; margin-left: 2px; }
.dt-side.tiger .dt-name { color: #bfe0ff; }
.dt-side.win { background: rgba(255,211,107,.16); box-shadow: 0 0 0 2px #ffd36b, 0 0 26px rgba(255,211,107,.45); }
.dt-side.lose { opacity: .5; }
.dt-vs { font: 900 22px/1 Georgia, serif; color: #ffd36b; text-shadow: 0 0 12px rgba(255,211,107,.6); }
.dt-spots { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 8px; }
.dt-spot { position: relative; min-height: 76px; border-radius: 16px; cursor: pointer; color: #fff; display: grid; place-content: center; gap: 2px;
  border: 2px solid rgba(255,211,107,.6); background: rgba(0,0,0,.18); font-family: Georgia, 'Times New Roman', serif; }
.dt-spot b { font-size: 15px; letter-spacing: .1em; } .dt-spot small { font: 700 11px/1 system-ui, sans-serif; opacity: .85; }
.dt-spot.dragon { background: linear-gradient(180deg, rgba(195,18,28,.55), rgba(110,6,14,.6)); }
.dt-spot.tiger { background: linear-gradient(180deg, rgba(29,95,196,.55), rgba(10,40,100,.6)); border-color: rgba(156,200,255,.7); }
.dt-spot.tie { background: linear-gradient(180deg, rgba(24,160,88,.5), rgba(8,80,40,.6)); border-color: rgba(140,240,180,.6); }
.dt-spot:active { transform: scale(.98); }
.dt-spot.won { box-shadow: 0 0 0 3px #ffd36b, 0 0 22px rgba(255,211,107,.6); }
.dt-panel { background: rgba(58,4,8,.85); border-color: rgba(232,184,74,.35); }
.dt-go { background: linear-gradient(180deg, #ffe08a, #e8b84a 50%, #b07d1d); color: #3a0408; box-shadow: 0 6px 20px rgba(232,184,74,.35), inset 0 1px 0 rgba(255,255,255,.6); }
.g-dragontiger .g-art { background: #3a0408; }
.ps-dragontiger { background: radial-gradient(120% 120% at 80% 0%, #a3151d, #2a0306 70%) !important; }
.dt-spot > .xchip { left: auto; right: 6px; top: 6px; transform: none; }

/* ---------- BACCARAT: royal blue salon ---------- */
body.baccarat-mode {
  background: radial-gradient(700px 440px at 50% -10%, rgba(43,91,214,.45), transparent 62%), radial-gradient(520px 380px at 100% 110%, rgba(233,196,106,.12), transparent 60%), #050d26;
  background-attachment: fixed;
}
body.baccarat-mode .topbar { background: rgba(5,13,38,.94); border-bottom-color: rgba(233,196,106,.35); }
body.baccarat-mode .tabbar { background: rgba(5,12,34,.96); border-top-color: rgba(233,196,106,.35); }
body.baccarat-mode .game-bar button { border-color: rgba(233,196,106,.35); background: rgba(233,196,106,.07); }
#tab-baccarat { color: #eef3ff; }
.bc-table { margin-top: 10px; padding: 12px; border-radius: 26px 26px 120px 120px / 26px 26px 60px 60px; position: relative;
  background: radial-gradient(120% 90% at 50% 0%, #2a58cf, #13307e 55%, #0a1a4a); border: 2px solid #e9c46a;
  box-shadow: 0 0 0 4px #0a1a4a, 0 0 0 5px rgba(233,196,106,.45), 0 18px 36px rgba(0,0,0,.55), inset 0 0 50px rgba(0,0,0,.35); }
.bc-road i.player { background: #1f5fe0; box-shadow: 0 0 0 1.5px #9cc0ff; }
.bc-road i.banker { background: #c3121c; box-shadow: 0 0 0 1.5px #ffb3b3; }
.bc-road i.tie { background: #18a058; }
.bc-hands { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.bc-hand { border-radius: 16px; padding: 8px 6px 10px; min-height: 140px; transition: background .3s, box-shadow .3s, opacity .3s; }
.bc-hand.player { background: rgba(31,95,224,.18); } .bc-hand.banker { background: rgba(195,18,28,.18); }
.bc-hand.win { box-shadow: 0 0 0 2px #e9c46a, 0 0 24px rgba(233,196,106,.45); }
.bc-hand.lose { opacity: .55; }
.bc-name { display: flex; align-items: center; justify-content: center; gap: 8px; font: 900 13.5px/1 Georgia, 'Times New Roman', serif; letter-spacing: .12em; color: #cfe0ff; }
.bc-hand.banker .bc-name { color: #ffd1d1; }
.bc-name i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 900 16px/1 system-ui, sans-serif; color: #1b1b24;
  background: radial-gradient(circle at 35% 30%, #fff6d9, #e9c46a 60%, #b08a2e); box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.bc-cards { display: flex; justify-content: center; align-items: center; margin-top: 10px; min-height: 92px; }
.bc-cards .xc { width: 52px; height: 74px; margin: 0 -6px; } .bc-cards .xc > i { font-size: 24px; } .bc-cards .xc > b { font-size: 14px; }
.bc-cards .xc.third { transform: rotate(90deg); margin-left: 10px; animation: none; }
.bc-spots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.bc-spot { position: relative; border-radius: 14px; cursor: pointer; color: #fff; display: grid; place-content: center; gap: 2px; font-family: Georgia, 'Times New Roman', serif; border: 2px solid rgba(233,196,106,.6); }
.bc-spot b { font-size: 13px; letter-spacing: .08em; } .bc-spot small { font: 700 11px/1 system-ui, sans-serif; opacity: .85; }
.bc-spot.small { grid-column: span 2; min-height: 54px; background: rgba(0,0,0,.2); }
.bc-spot.tie { background: linear-gradient(180deg, rgba(24,160,88,.5), rgba(8,80,40,.55)); }
.bc-spot.big { grid-column: span 3; min-height: 78px; }
.bc-spot.big b { font-size: 16px; }
.bc-spot.player { background: linear-gradient(180deg, rgba(31,95,224,.7), rgba(12,40,120,.75)); border-color: rgba(156,192,255,.8); }
.bc-spot.banker { background: linear-gradient(180deg, rgba(195,18,28,.7), rgba(100,6,14,.75)); border-color: rgba(255,179,179,.8); }
.bc-spot > .xchip { left: auto; right: 6px; top: 6px; transform: none; }
.bc-spot.won { box-shadow: 0 0 0 3px #e9c46a, 0 0 22px rgba(233,196,106,.6); }
.bc-spot:active { transform: scale(.98); }
.bc-panel { background: rgba(8,22,64,.85); border-color: rgba(233,196,106,.35); }
.bc-go { background: linear-gradient(180deg, #fff1c2, #e9c46a 50%, #b08a2e); color: #0a1a4a; box-shadow: 0 6px 20px rgba(233,196,106,.35), inset 0 1px 0 rgba(255,255,255,.6); }
.g-baccarat .g-art { background: #0a1a4a; }
.ps-baccarat { background: radial-gradient(120% 120% at 80% 0%, #2b5bd6, #081638 70%) !important; }

/* ---------- ROULETTE: Monte Carlo emerald felt, mahogany and brass ---------- */
body.roulette-mode {
  background: radial-gradient(700px 440px at 50% -10%, rgba(18,122,76,.45), transparent 62%), radial-gradient(520px 380px at 0% 110%, rgba(216,178,92,.12), transparent 60%), #03180f;
  background-attachment: fixed;
}
body.roulette-mode .topbar { background: rgba(3,24,15,.94); border-bottom-color: rgba(216,178,92,.35); }
body.roulette-mode .tabbar { background: rgba(3,20,13,.96); border-top-color: rgba(216,178,92,.35); }
body.roulette-mode .game-bar button { border-color: rgba(216,178,92,.35); background: rgba(216,178,92,.07); }
#tab-roulette { color: #f2eedd; }
.rl-top { display: grid; grid-template-columns: 1fr; justify-items: center; margin-top: 8px; }
.rl-wheelbox { position: relative; width: min(78vw, 300px); aspect-ratio: 1; filter: drop-shadow(0 14px 22px rgba(0,0,0,.6)); }
.rl-wheel { width: 100%; height: 100%; overflow: visible; }
.rl-result { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font: 900 28px/1 Georgia, 'Times New Roman', serif; color: #fff; box-shadow: 0 0 0 3px #f3d58a, 0 8px 22px rgba(0,0,0,.6); animation: rlPop .4s cubic-bezier(.2,.9,.3,1.3); }
.rl-result.red { background: #b8101b; } .rl-result.black { background: #141419; } .rl-result.green { background: #12904f; }
@keyframes rlPop { from { transform: translate(-50%, -50%) scale(.3); opacity: 0; } }
.rl-last { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin-top: 8px; min-height: 24px; }
.rl-ball { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 12px; font: 800 12px/1 system-ui, sans-serif; color: #fff; }
.rl-ball.red { background: #b8101b; } .rl-ball.black { background: #141419; box-shadow: inset 0 0 0 1px #555; } .rl-ball.green { background: #12904f; }
.rl-last .rl-ball:first-child { box-shadow: 0 0 0 2px #f3d58a; }
.rl-msg { margin: 6px 0 8px; }
.rl-felt { padding: 10px; border-radius: 20px; background: radial-gradient(120% 80% at 50% 0%, #138a55, #0b5c38 60%, #08432a);
  box-shadow: 0 0 0 3px #5b2a12, 0 0 0 5px #d8b25c, 0 14px 30px rgba(0,0,0,.5), inset 0 0 40px rgba(0,0,0,.3); }
.rl-board { display: grid; gap: 0; }
.rl-board button { font-family: Georgia, 'Times New Roman', serif; }
.rl-n { position: relative; height: 36px; border: 1px solid rgba(243,213,138,.55); background: transparent; color: #fff; cursor: pointer; padding: 0; }
.rl-n > b { display: inline-grid; place-items: center; min-width: 26px; height: 24px; border-radius: 12px; font-size: 14px; pointer-events: none; }
.rl-n.red > b { background: #b8101b; } .rl-n.black > b { background: #141419; } .rl-n.green > b { background: #12904f; }
.rl-zero { height: 40px; border-radius: 18px 18px 0 0; }
.rl-n.hit { background: rgba(243,213,138,.35); box-shadow: inset 0 0 0 2px #f3d58a; animation: rlHit 1s ease-in-out 3; }
@keyframes rlHit { 50% { background: rgba(243,213,138,.6); } }
.rl-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.rl-hz { position: absolute; z-index: 2; cursor: pointer; }
.rl-hz.v { top: 4px; bottom: 4px; right: -8px; width: 16px; }
.rl-hz.h { left: 6px; right: 6px; bottom: -8px; height: 16px; }
.rl-hz.c { right: -9px; bottom: -9px; width: 18px; height: 18px; z-index: 3; }
.rl-hz.st { left: -2px; top: 4px; bottom: 4px; width: 12px; }
.rl-hz.ln { left: -2px; bottom: -9px; width: 14px; height: 18px; z-index: 3; }
.rl-hz.z { left: 6px; right: 6px; top: -8px; height: 16px; }
.rl-hz.zc { right: -9px; top: -9px; width: 18px; height: 18px; z-index: 3; }
.rl-hz.bk { left: -2px; top: -9px; width: 14px; height: 18px; z-index: 3; }
.rl-hz > .xchip { transform: translate(-50%, -50%) scale(.78); }
.rl-n > .xchip { transform: translate(-50%, -50%) scale(.9); }
.rl-cols, .rl-out { display: grid; }
.rl-cols { grid-template-columns: repeat(3, 1fr); }
.rl-out.three { grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.rl-out.six { grid-template-columns: repeat(6, 1fr); }
.rl-cols button, .rl-out button { position: relative; height: 38px; border: 1px solid rgba(243,213,138,.55); background: transparent; color: #fff; font-weight: 800; font-size: 13px; cursor: pointer; }
.rl-out button.red { background: #b8101b; color: #fff; font-size: 0; } .rl-out button.black { background: #141419; color: #fff; font-size: 0; }
.rl-board button:active { background: rgba(255,255,255,.08); }
.rl-panel { background: rgba(3,36,22,.85); border-color: rgba(216,178,92,.35); }
.rl-go { background: linear-gradient(180deg, #f8e3a6, #d8b25c 50%, #9c7426); color: #2e1206; box-shadow: 0 6px 20px rgba(216,178,92,.35), inset 0 1px 0 rgba(255,255,255,.6); }
.g-roulette .g-art { background: #05301d; }
.ps-roulette { background: radial-gradient(120% 120% at 80% 0%, #15895a, #03180f 70%) !important; }
@media (prefers-reduced-motion: reduce) { .rl-n.hit { animation: none; } }

/* ---------- WHEEL OF FORTUNE: game-show stage ---------- */
body.wheel-mode {
  background: radial-gradient(700px 440px at 50% -10%, rgba(180,92,255,.45), transparent 62%), radial-gradient(400px 300px at 0% 60%, rgba(255,79,123,.16), transparent 60%),
    radial-gradient(400px 300px at 100% 60%, rgba(31,181,168,.14), transparent 60%), #12031f;
  background-attachment: fixed;
}
body.wheel-mode .topbar { background: rgba(18,3,31,.94); border-bottom-color: rgba(255,211,107,.35); }
body.wheel-mode .tabbar { background: rgba(16,3,28,.96); border-top-color: rgba(255,211,107,.35); }
body.wheel-mode .game-bar button { border-color: rgba(255,211,107,.35); background: rgba(255,211,107,.07); }
#tab-wheel { color: #fff3dd; }
.wf-stage { margin-top: 10px; padding: 12px 10px; border-radius: 24px; background: radial-gradient(110% 80% at 50% 0%, #3d0f66, #1a0630 70%);
  box-shadow: 0 0 0 2px #ffd36b, 0 0 30px rgba(180,92,255,.3), inset 0 0 40px rgba(0,0,0,.4); }
.wf-marquee { display: flex; justify-content: center; align-items: baseline; gap: 8px; font-family: Georgia, 'Times New Roman', serif; }
.wf-marquee b { font-size: 22px; letter-spacing: .1em; color: #ffd36b; text-shadow: 0 0 10px rgba(255,211,107,.7), 0 2px 0 #7a3a00; }
.wf-marquee span { font-size: 14px; font-style: italic; color: #ffb3d1; }
.wf-box { width: min(82vw, 320px); margin: 6px auto 0; filter: drop-shadow(0 14px 24px rgba(0,0,0,.6)); }
.wf-svg { width: 100%; display: block; overflow: visible; }
.wf-bulb { fill: #fff6c2; }
.wf-box .wf-bulb.b0 { animation: wfBulb 1.2s steps(1) infinite; }
.wf-box .wf-bulb.b1 { animation: wfBulb 1.2s steps(1) infinite .6s; }
.wf-box.spinning .wf-bulb.b0, .wf-box.spinning .wf-bulb.b1 { animation-duration: .3s; }
.wf-box.won .wf-bulb { animation: wfWin .25s steps(1) 10; }
@keyframes wfBulb { 50% { fill: #6b4a00; } }
@keyframes wfWin { 50% { fill: #ff4f7b; } }
.wf-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.wf-legend span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 10px; background: rgba(255,255,255,.06); font-weight: 800; font-size: 12.5px; }
.wf-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.wf-legend small { opacity: .65; font-weight: 700; }
.wf-msg { margin-bottom: 0; }
.wf-seg { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.wf-seg button { height: 34px; min-width: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,211,107,.35); background: rgba(255,255,255,.05); color: inherit; font-weight: 800; cursor: pointer; }
.wf-seg button.on { background: linear-gradient(180deg, #ffe08a, #e6a520); color: #3a1c00; border-color: transparent; }
.wf-panel { background: rgba(26,6,48,.85); border-color: rgba(255,211,107,.3); }
.wf-go { background: linear-gradient(180deg, #ff7aa8, #e0287a 55%, #a3135a); box-shadow: 0 6px 22px rgba(224,40,122,.45), inset 0 1px 0 rgba(255,255,255,.4); }
.wf-go.stop { background: linear-gradient(180deg, #8a8aa0, #4a4a60); }
.g-wheel .g-art { background: #1a0630; }
.ps-wheel { background: radial-gradient(120% 120% at 80% 0%, #6a1fa8, #14031f 70%) !important; }
@media (prefers-reduced-motion: reduce) { .wf-box .wf-bulb { animation: none !important; } }
html.lite .wf-box .wf-bulb { animation: none !important; }

/* ---------- LUCKY SEVENS: chrome Vegas ---------- */
body.sevens-mode {
  background: radial-gradient(700px 440px at 50% -10%, rgba(255,90,214,.35), transparent 62%), radial-gradient(500px 380px at 100% 110%, rgba(255,207,46,.14), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 40px), #12031f;
  background-attachment: fixed;
}
body.sevens-mode .topbar { background: rgba(18,3,31,.94); border-bottom-color: rgba(255,90,214,.35); }
body.sevens-mode .tabbar { background: rgba(16,3,28,.96); border-top-color: rgba(255,90,214,.35); }
body.sevens-mode .game-bar button { border-color: rgba(255,207,46,.35); background: rgba(255,207,46,.07); }
#tab-sevens { color: #fff4fd; }
.sv-machine { margin-top: 10px; padding: 12px; border-radius: 26px; position: relative;
  background: linear-gradient(180deg, #f4f6fb, #a3acbe 18%, #e9ecf3 40%, #8d95a8 70%, #dfe3ec);
  box-shadow: 0 0 0 3px #3a0d5c, 0 0 0 5px #ff5ad6, 0 0 30px rgba(255,90,214,.35), 0 18px 36px rgba(0,0,0,.6); }
.sv-sign { text-align: center; font: 900 21px/1 'Arial Black', Arial, sans-serif; letter-spacing: .12em; color: #fff; padding: 10px 0 12px; border-radius: 16px;
  background: #2a0d4a; text-shadow: 0 0 6px #ff5ad6, 0 0 16px #ff5ad6; box-shadow: inset 0 0 0 2px rgba(255,90,214,.6); }
.sv-sign b { color: #ffcf2e; font-size: 28px; text-shadow: 0 0 6px #ffcf2e, 0 0 18px #ff8a00; margin: 0 4px; }
.sv-reels { --cell: 84px; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; padding: 6px; border-radius: 14px;
  background: #1a1a22; box-shadow: inset 0 4px 12px rgba(0,0,0,.7); }
.sv-reel { height: calc(var(--cell) * 3); overflow: hidden; border-radius: 10px;
  background: linear-gradient(180deg, #c9ccd6, #ffffff 25%, #ffffff 75%, #c9ccd6); box-shadow: inset 0 10px 14px -8px rgba(0,0,0,.5), inset 0 -10px 14px -8px rgba(0,0,0,.5); }
.sv-strip { will-change: transform; }
.sv-cell { height: var(--cell); display: grid; place-items: center; }
.sv-cell svg { width: 66%; height: 66%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.sv-lines { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); pointer-events: none; }
.sv-lines polyline { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: .9; filter: drop-shadow(0 0 4px rgba(0,0,0,.6)); animation: svLine .5s ease-out; vector-effect: non-scaling-stroke; }
@keyframes svLine { from { opacity: 0; } }
.sv-reels.won { box-shadow: inset 0 4px 12px rgba(0,0,0,.7), 0 0 0 3px #ffcf2e, 0 0 24px rgba(255,207,46,.6); }
.sv-win { text-align: center; margin-top: 10px; padding: 9px; border-radius: 12px; background: #2a0d4a; color: #ffe1f7; font-weight: 800; font-size: 15px; min-height: 20px; }
.sv-win b { color: #ffcf2e; font-size: 18px; }
.sv-wheelpop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(10,0,20,.72); }
.sv-wheelcard { width: min(88vw, 340px); padding: 16px; border-radius: 24px; text-align: center; background: radial-gradient(110% 80% at 50% 0%, #4a1478, #1a0630 70%);
  box-shadow: 0 0 0 3px #ffcf2e, 0 0 40px rgba(255,207,46,.5); animation: rlPop .35s ease-out; }
.sv-wheeltitle { font: 900 22px/1 'Arial Black', Arial, sans-serif; letter-spacing: .14em; color: #ffcf2e; text-shadow: 0 0 10px #ff8a00; }
.sv-wheelbox { width: 80%; margin: 12px auto 8px; }
.sv-wheelbox svg { width: 100%; display: block; overflow: visible; }
.sv-wheelmsg { font-size: 17px; font-weight: 800; color: #fff; } .sv-wheelmsg b { color: #ffcf2e; font-size: 24px; }
.sv-panel { background: rgba(42,13,74,.85); border-color: rgba(255,90,214,.35); }
.sv-go { background: linear-gradient(180deg, #ffe680, #ffcf2e 45%, #d68b00); color: #3a1c00; box-shadow: 0 6px 22px rgba(255,207,46,.45), inset 0 1px 0 rgba(255,255,255,.6); }
.sv-go.stop { background: linear-gradient(180deg, #ff7aa8, #e0287a); color: #fff; }
.sv-mini { display: inline-block; width: 22px; height: 22px; vertical-align: middle; } .sv-mini svg { width: 100%; height: 100%; }
.sv-pay td:first-child { white-space: nowrap; }
.g-sevens .g-art { background: #12031f; }
.ps-sevens { background: radial-gradient(120% 120% at 80% 0%, #7a1f9c, #12031f 70%) !important; }
@media (max-width: 360px) { .sv-reels { --cell: 72px; } }
html.lite .sv-sign, html.lite .sv-sign b { text-shadow: none; }

/* ---------- TOWERS: sandstone temple at night, torches and jade ---------- */
body.towers-mode {
  background: radial-gradient(600px 380px at 80% -10%, rgba(255,244,207,.12), transparent 60%), radial-gradient(500px 400px at 50% 120%, rgba(255,140,40,.2), transparent 60%),
    linear-gradient(180deg, #0b1a2e, #1a140e 70%);
  background-attachment: fixed;
}
body.towers-mode .topbar { background: rgba(11,26,46,.94); border-bottom-color: rgba(226,196,141,.35); }
body.towers-mode .tabbar { background: rgba(20,15,10,.96); border-top-color: rgba(226,196,141,.35); }
body.towers-mode .game-bar button { border-color: rgba(226,196,141,.35); background: rgba(226,196,141,.07); }
#tab-towers { color: #f6ead2; }
.tw-temple { margin-top: 10px; padding: 12px; border-radius: 22px; position: relative;
  background: linear-gradient(180deg, rgba(11,26,46,.6), rgba(42,26,16,.75)); box-shadow: 0 0 0 1.5px rgba(226,196,141,.45), 0 16px 34px rgba(0,0,0,.55); }
.tw-head { display: flex; align-items: center; justify-content: space-between; }
.tw-title { font: 900 22px/1 Georgia, 'Times New Roman', serif; letter-spacing: .24em; color: #e2c48d; text-shadow: 0 2px 0 #5c3d14, 0 0 14px rgba(255,176,46,.45); }
.tw-mult { text-align: right; } .tw-mult b { display: block; font-size: 26px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.tw-mult small { font-size: 12px; font-weight: 700; color: #35d29d; }
.tw-tower { display: grid; gap: 5px; margin: 10px auto 0; max-width: 340px; }
.tw-floor { display: grid; grid-template-columns: 1fr 64px; gap: 6px; align-items: center; transition: opacity .2s; }
.tw-floor.locked { opacity: .25; }
.tw-row { display: grid; gap: 5px; } .tw-row.t2 { grid-template-columns: repeat(2, 1fr); } .tw-row.t3 { grid-template-columns: repeat(3, 1fr); } .tw-row.t4 { grid-template-columns: repeat(4, 1fr); }
.tw-tile { height: 40px; border-radius: 6px; border: 0; cursor: pointer; display: grid; place-items: center; padding: 0;
  background: linear-gradient(180deg, #d9b97c, #a7803f); box-shadow: inset 0 -4px 0 rgba(92,61,20,.55), inset 0 2px 0 rgba(255,240,200,.5), 0 2px 4px rgba(0,0,0,.4); }
.tw-floor:not(.cur) .tw-tile { cursor: default; filter: saturate(.6) brightness(.75); }
.tw-floor.cur .tw-tile { animation: twGlow 1.6s ease-in-out infinite; filter: none; }
.tw-floor.cur .tw-tile:active { transform: translateY(2px); }
@keyframes twGlow { 50% { box-shadow: inset 0 -4px 0 rgba(92,61,20,.55), inset 0 2px 0 rgba(255,240,200,.5), 0 0 14px rgba(255,176,46,.75); } }
.tw-tile.picking { animation: twShake .25s infinite; }
@keyframes twShake { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
.tw-tile.safe { background: linear-gradient(180deg, #2b6e57, #154536); filter: none !important; }
.tw-tile.trap { background: linear-gradient(180deg, #7a1a00, #3a0b00); filter: none !important; animation: twBoom .4s; }
@keyframes twBoom { 0% { transform: scale(1.15); } }
.tw-tile.shown-trap { background: linear-gradient(180deg, #4a2a1a, #2a160c); }
.tw-tile.shown-trap .tw-ico { opacity: .55; }
.tw-ico { width: 24px; height: 24px; }
.tw-floor.done .tw-x { color: #35d29d; }
.tw-floor.cur .tw-x { color: #ffcf6b; }
.tw-x { font-size: 13px; font-weight: 900; text-align: right; color: #c9b38b; font-variant-numeric: tabular-nums; }
.tw-panel { background: rgba(26,20,14,.85); border-color: rgba(226,196,141,.3); }
.tw-levels button { min-width: 0; padding: 0 9px; font-size: 12.5px; }
.tw-levels button.on { background: linear-gradient(180deg, #f3dfb0, #c8a257); color: #3a250b; }
.tw-btns { display: grid; }
.tw-go { background: linear-gradient(180deg, #ffd27a, #e08a1e 55%, #a45a0a); box-shadow: 0 6px 22px rgba(224,138,30,.4), inset 0 1px 0 rgba(255,255,255,.4); }
.tw-cash { background: linear-gradient(180deg, #5ee6b6, #1fa77a 55%, #0e6b4d); box-shadow: 0 6px 22px rgba(31,167,122,.4), inset 0 1px 0 rgba(255,255,255,.4); }
.g-towers .g-art { background: #0b1a2e; }
.ps-towers { background: radial-gradient(120% 120% at 80% 0%, #4a3418, #0b1a2e 70%) !important; }
@media (prefers-reduced-motion: reduce) { .tw-floor.cur .tw-tile, .tw-tile.picking { animation: none; } }
html.lite .tw-floor.cur .tw-tile { animation: none; }

/* ---------- BLACKJACK: classic green felt ---------- */
body.blackjack-mode {
  background: radial-gradient(700px 440px at 50% -10%, rgba(31,138,76,.4), transparent 62%), radial-gradient(520px 380px at 100% 110%, rgba(243,228,161,.1), transparent 60%), #04170c;
  background-attachment: fixed;
}
body.blackjack-mode .topbar { background: rgba(4,23,12,.94); border-bottom-color: rgba(243,228,161,.3); }
body.blackjack-mode .tabbar { background: rgba(4,20,11,.96); border-top-color: rgba(243,228,161,.3); }
body.blackjack-mode .game-bar button { border-color: rgba(243,228,161,.3); background: rgba(243,228,161,.06); }
#tab-blackjack { color: #f6f1dc; }
.bj-felt { margin-top: 10px; padding: 14px 12px 12px; border-radius: 30px 30px 160px 160px / 30px 30px 70px 70px; position: relative; min-height: 380px;
  background: radial-gradient(120% 90% at 50% 10%, #22985a, #13703f 55%, #0c4d2b);
  box-shadow: 0 0 0 6px #5b2d12, 0 0 0 8px #c9a85a, 0 18px 36px rgba(0,0,0,.6), inset 0 0 50px rgba(0,0,0,.35); }
.bj-arc { text-align: center; font: 900 14px/1 Georgia, 'Times New Roman', serif; letter-spacing: .16em; color: #f3e4a1; opacity: .9; }
.bj-rule { text-align: center; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #cfe6c9; opacity: .8; margin-top: 4px; }
.bj-zone { margin-top: 10px; text-align: center; }
.bj-label { display: flex; align-items: center; justify-content: center; gap: 6px; font: 800 12.5px/1 system-ui, sans-serif; letter-spacing: .08em; color: #e6f3dd; margin-top: 6px; }
.bj-label i { font-style: normal; min-width: 30px; padding: 4px 8px; border-radius: 12px; background: rgba(0,0,0,.35); color: #fff; font-size: 15px; letter-spacing: 0; }
.bj-label i:empty { display: none; }
.bj-label span { opacity: .75; }
.bj-cards { display: flex; justify-content: center; min-height: 88px; }
.bj-cards .xc { margin: 0 -10px; } .bj-cards .xc:first-child { margin-left: 0; }
.bj-msg { margin: 12px 0 6px; }
.bj-hands { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.bj-hand { padding: 6px 10px 8px; border-radius: 16px; transition: box-shadow .2s, background .2s; }
.bj-hand.cur { background: rgba(243,228,161,.12); box-shadow: 0 0 0 2px #f3e4a1; }
.bj-hand.win, .bj-hand.blackjack { box-shadow: 0 0 0 2px #ffe27a, 0 0 22px rgba(255,226,122,.5); }
.bj-hand.lose, .bj-hand.bust { opacity: .7; }
.bj-res { padding: 3px 8px; border-radius: 10px; font-size: 12px; letter-spacing: .04em; }
.bj-res.win, .bj-res.blackjack { background: #ffe27a; color: #3a2a00; } .bj-res.push { background: #9fb6c8; color: #13202b; }
.bj-res.lose, .bj-res.bust { background: #a3141c; color: #fff; }
.bj-panel { background: rgba(4,30,16,.85); border-color: rgba(243,228,161,.3); }
.bj-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.bj-actions button { height: 52px; border-radius: 14px; border: 0; cursor: pointer; font: 900 14px/1 system-ui, sans-serif; letter-spacing: .06em; color: #fff; }
.bj-actions [data-bj="hit"] { background: linear-gradient(180deg, #3ad07a, #1b8a4b); }
.bj-actions [data-bj="stand"] { background: linear-gradient(180deg, #ff5a5a, #b81c26); }
.bj-actions [data-bj="double"] { background: linear-gradient(180deg, #ffd56a, #d18a12); color: #3a2600; }
.bj-actions [data-bj="split"] { background: linear-gradient(180deg, #6fb0ff, #2a63c9); }
.bj-actions button:disabled { opacity: .3; cursor: default; }
.bj-actions button:not(:disabled):active { transform: translateY(1px); }
#bjBetBox { display: grid; gap: 10px; }
.bj-go { background: linear-gradient(180deg, #fff1b8, #e2c25c 50%, #a8862a); color: #2a1e00; box-shadow: 0 6px 20px rgba(226,194,92,.35), inset 0 1px 0 rgba(255,255,255,.6); }
.g-blackjack .g-art { background: #0a3a20; }
.ps-blackjack { background: radial-gradient(120% 120% at 80% 0%, #1f8a4c, #04170c 70%) !important; }

/* ---------- Home cards of the new games (each in its own colours) ---------- */
.g-dice { background: linear-gradient(135deg, #3b1d8f, #0b0620 70%); border-color: rgba(155,92,255,.55); color: #f1ecff; }
.g-dice .g-status { color: #bfe9ff; } .g-dice .g-play { background: linear-gradient(180deg, #c7a8ff, #7a3cff); color: #fff; }
.g-dragontiger { background: linear-gradient(135deg, #a3151d, #2a0306 70%); border-color: rgba(232,184,74,.55); color: #fff1d6; }
.g-dragontiger .g-status { color: #ffd36b; } .g-dragontiger .g-play { background: linear-gradient(180deg, #ffe08a, #e8b84a); color: #3a0408; }
.g-baccarat { background: linear-gradient(135deg, #2b5bd6, #081638 70%); border-color: rgba(233,196,106,.55); color: #eef3ff; }
.g-baccarat .g-status { color: #e9c46a; } .g-baccarat .g-play { background: linear-gradient(180deg, #fff1c2, #e9c46a); color: #0a1a4a; }
.g-roulette { background: linear-gradient(135deg, #15895a, #03180f 70%); border-color: rgba(216,178,92,.55); color: #f2eedd; }
.g-roulette .g-status { color: #f3d58a; } .g-roulette .g-play { background: linear-gradient(180deg, #f8e3a6, #d8b25c); color: #2e1206; }
.g-wheel { background: linear-gradient(135deg, #6a1fa8, #14031f 70%); border-color: rgba(255,211,107,.55); color: #fff3dd; }
.g-wheel .g-status { color: #ffb3d1; } .g-wheel .g-play { background: linear-gradient(180deg, #ff7aa8, #e0287a); color: #fff; }
.g-sevens { background: linear-gradient(135deg, #7a1f9c, #12031f 70%); border-color: rgba(255,90,214,.55); color: #fff4fd; }
.g-sevens .g-status { color: #ffcf2e; } .g-sevens .g-play { background: linear-gradient(180deg, #ffe680, #ffcf2e); color: #3a1c00; }
.g-towers { background: linear-gradient(135deg, #4a3418, #0b1a2e 70%); border-color: rgba(226,196,141,.55); color: #f6ead2; }
.g-towers .g-status { color: #35d29d; } .g-towers .g-play { background: linear-gradient(180deg, #ffd27a, #e08a1e); color: #2a1600; }
.g-blackjack { background: linear-gradient(135deg, #1f8a4c, #04170c 70%); border-color: rgba(243,228,161,.55); color: #f6f1dc; }
.g-blackjack .g-status { color: #f3e4a1; } .g-blackjack .g-play { background: linear-gradient(180deg, #fff1b8, #e2c25c); color: #2a1e00; }
:is(.g-dice, .g-dragontiger, .g-baccarat, .g-roulette, .g-wheel, .g-sevens, .g-towers, .g-blackjack) .g-info b { color: #fff; }
:is(.g-dice, .g-dragontiger, .g-baccarat, .g-roulette, .g-wheel, .g-sevens, .g-towers, .g-blackjack) .g-art svg { width: 100%; height: 100%; }
.xg-hdetail .rl-ball { min-width: 20px; height: 20px; font-size: 11px; }

/* ---------- DRAGON'S HOARD in the Vortex Arcade design (2026-10-24): navy, a gold-framed machine, 3D symbols ---------- */
body.buna-mode { background: radial-gradient(700px 420px at 50% -10%, rgba(255,184,0,.14), transparent 62%), radial-gradient(500px 400px at 50% 120%, rgba(255,90,31,.12), transparent 60%), #0f1223; background-attachment: fixed; }
body.buna-mode .topbar { background: rgba(15,18,35,.9); border-bottom: 0; }
body.buna-mode .tabbar { background: rgba(10,13,29,.96); border-top-color: var(--line2); }
body.buna-mode .tabbar button.active { color: var(--cyan); }
body.buna-mode .game-bar button { border-color: var(--line2); background: var(--card2); color: var(--text); }
#tab-buna { color: var(--text); }
.bn-jackpot { width: fit-content; margin: 8px 0 0 auto; padding: 7px 14px; border-radius: 999px; border: 1.5px solid rgba(255,184,0,.6); background: var(--card2);
  font: 800 12.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-l); box-shadow: 0 0 14px rgba(255,184,0,.2); }
.bn-jackpot b { font-family: var(--num); font-size: 16px; color: var(--gold); margin-left: 6px; text-shadow: 0 0 8px rgba(255,184,0,.5); }
.bn-machine { margin-top: 10px; padding: 12px 10px 10px; border-radius: 22px; border: 3px solid #f0b21a; background: linear-gradient(180deg, #1b1f30, #12152a);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 0 26px rgba(255,184,0,.25), 0 18px 36px rgba(0,0,0,.5); }
.bn-machine::before, .bn-machine::after { content: none; }
.bn-machine.ceremony { box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 0 40px rgba(255,90,31,.55), 0 18px 36px rgba(0,0,0,.5); border-color: #ff7a1f; }
.bn-head { justify-content: flex-start; gap: 10px; padding: 0 4px; }
.bn-sign { width: 34px; height: 30px; border-radius: 6px; background: #b0121b; color: #fff; font-size: 17px; display: grid; place-items: center; box-shadow: none; border: 0; }
.bn-title { font: 900 22px/1 var(--font); letter-spacing: .04em; background: linear-gradient(180deg, #fff1c2, #ffcf3a 50%, #e09a00); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.bn-ember { margin-left: auto; width: auto; height: auto; display: flex; gap: 6px; }
.bn-ember i { position: static; width: 10px; height: 10px; animation: none; }
.bn-ember i:nth-child(1) { background: var(--gold); box-shadow: 0 0 8px var(--gold); } .bn-ember i:nth-child(2) { background: #ff9fb1; box-shadow: 0 0 8px #ff9fb1; } .bn-ember i:nth-child(3) { display: none; }
.bn-rounds { gap: 8px; margin: 10px 0; }
.bn-rounds span { padding: 7px 4px; border-radius: 12px; background: var(--card3); border: 1px solid var(--line2); opacity: .8; }
.bn-rounds b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-l); }
.bn-rounds b::before { content: "🔥 "; }
.bn-rounds small { font: 700 13px/1.2 var(--num); color: var(--text); }
.bn-rounds span.on { background: linear-gradient(180deg, #ffd56a, #ffb800 55%, #e09a00); border-color: transparent; transform: none; opacity: 1; box-shadow: 0 0 18px rgba(255,184,0,.45); }
.bn-rounds span.on b, .bn-rounds span.on small { color: #3a2400; }
.bn-reels { gap: 6px; padding: 6px; border-radius: 14px; background: #0c0f1e; box-shadow: inset 0 0 18px rgba(0,0,0,.6); border: 0; }
.bn-reel { border-radius: 12px; background: #171b2b; border: 1px solid rgba(255,184,0,.15); box-shadow: none; }
.bn-reel::before, .bn-reel::after { content: none !important; }
.bn-cell { padding: 3px; position: relative; }
.bn-cell > img { display: block; width: 100%; height: calc(100% - 15px); object-fit: contain; margin: 0 auto; border-radius: 10px; background: #1b1f30; box-shadow: inset 0 0 0 1.5px rgba(255,184,0,.45); padding: 2px; }
.bn-cell > small { display: block; margin-top: 1px; text-align: center; font: 800 9.5px/12px var(--font); letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.bn-cell.s7 > img { box-shadow: inset 0 0 0 2px #00f0ff, 0 0 14px rgba(0,240,255,.6); background: radial-gradient(circle, #123a44, #1b1f30 70%); }
.bn-cell.s7::before { content: "WILD"; position: absolute; z-index: 2; top: 1px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 6px; background: #00f0ff; color: #002022; font: 900 8.5px/12px var(--font); letter-spacing: .08em; }
.bn-cell.s8 > img { box-shadow: inset 0 0 0 2px #ff7a1f, 0 0 14px rgba(255,122,31,.6); }
.bn-cell.win > img { box-shadow: inset 0 0 0 2.5px #ffb800, 0 0 18px rgba(255,184,0,.8); }
.bn-cell.win { background: none; }
.bn-winbar { margin-top: 8px; display: flex; align-items: center; gap: 10px; justify-content: center; font: 800 13px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.bn-winbar::before, .bn-winbar::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,184,0,.6)); }
.bn-winbar::after { background: linear-gradient(90deg, rgba(255,184,0,.6), transparent); }
.bn-winbar b { color: var(--gold); font-family: var(--num); }
.bn-trim { display: none; }
.bn-banner { background: rgba(15,18,35,.92); border: 2px solid #f0b21a; border-radius: 16px; }
.bn-table.bn-hoard { height: auto; aspect-ratio: 1.79; margin: 12px 0 0; padding: 0; border-radius: 18px; overflow: hidden; border: 2px solid #f0b21a; box-shadow: 0 0 22px rgba(255,184,0,.2); }
.bn-hoard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .6s; }
.bn-table.bn-hoard[data-stage="0"] .bn-hoard-img { filter: brightness(.7) saturate(.85); }
.bn-table.bn-hoard[data-stage="2"] .bn-hoard-img { filter: brightness(1.1) saturate(1.2); }
.bn-table.bn-hoard[data-stage="3"] .bn-hoard-img { filter: brightness(1.2) saturate(1.4) hue-rotate(-8deg); animation: bnHoardHeat .5s ease-in-out infinite alternate; }
@keyframes bnHoardHeat { to { filter: brightness(1.35) saturate(1.5) hue-rotate(-12deg); } }
.bn-hoard-txt { position: absolute; left: 12px; right: 12px; bottom: 18px; display: grid; gap: 2px; text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.bn-hoard-tag { position: absolute; left: 0; bottom: calc(100% + 42px); padding: 5px 10px; border-radius: 999px; background: rgba(10,13,29,.75); border: 1px solid rgba(255,184,0,.5); color: var(--gold); font: 800 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.bn-hoard-tag b { color: var(--gold-l); }
.bn-hoard-txt > b { font: 900 18px/1.1 var(--font); color: #fff; }
.bn-hoard-txt > small { font: 600 12.5px/1.2 var(--font); color: #ffe7b0; }
.bn-hoard-bar { position: absolute; left: 12px; right: 12px; bottom: 8px; height: 6px; border-radius: 3px; background: rgba(0,0,0,.55); overflow: hidden; }
.bn-hoard-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #ffb800, #00f0ff); box-shadow: 0 0 10px rgba(0,240,255,.7); transition: width .5s; }
.bn-lastwin { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line2); }
.bn-lastwin span { font: 800 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bn-lastwin b { font: 700 24px/1 var(--num); color: var(--gold); text-shadow: 0 0 10px rgba(255,184,0,.5); }
.bn-lastwin b small { font-size: 12px; color: var(--gold-l); }
.bn-panel { margin-top: 10px; padding: 10px; border-radius: 18px; background: var(--card2); border: 1px solid var(--line2); box-shadow: none; }
.bn-step { background: var(--bg2); border-radius: 14px; padding: 4px; }
.bn-step button { width: 40px; min-height: 46px; border-radius: 11px; background: var(--card3); border: 1px solid var(--line2); color: #fff; }
.bn-step b { font-family: var(--num); font-size: 22px; color: #fff; }
.bn-step small { color: var(--muted); }
.bn-spin { flex: 1; min-height: 58px; border-radius: 16px; font: 900 22px/1 var(--font); letter-spacing: .12em; color: #3a2400;
  background: linear-gradient(180deg, #7df4ff 0%, #ffe680 38%, #ffb800 100%); box-shadow: 0 0 22px rgba(255,184,0,.45), inset 0 1px 0 rgba(255,255,255,.6); border: 0; }
.bn-spin::before { content: "▶ "; font-size: 15px; vertical-align: 2px; }
.bn-spin.auto { background: linear-gradient(180deg, #ff7aa8, #e0287a); color: #fff; }
.bn-spin.auto::before { content: none; }
.bn-opts button { min-height: 28px; border-radius: 10px; background: var(--card3); border: 1px solid var(--line2); color: var(--text); }
.bn-opts button.on { background: var(--cyan); color: var(--on-cyan); }
.bn-foot { display: flex; justify-content: space-between; margin: 8px 6px 0; font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bn-foot b { color: var(--cyan); font-family: var(--num); } .bn-foot span:last-child b { color: #fff; }
.bn-pic { background: #1b1f30; } .bn-pic img { width: 100%; height: 100%; object-fit: contain; display: block; } .bn-pic small { display: none; }
.bn-hgrid i { background: #1b1f30; } .bn-hgrid img { width: 24px; height: 24px; display: block; object-fit: contain; } .bn-hgrid small { display: none; }
@media (prefers-reduced-motion: reduce) { .bn-table.bn-hoard[data-stage="3"] .bn-hoard-img { animation: none; } }
html.lite .bn-table.bn-hoard .bn-hoard-img { animation: none; }
.bn-panel { flex-wrap: wrap; }
.bn-step { flex: 1 1 auto; justify-content: space-between; }
.bn-opts { flex-direction: row; flex: 0 0 auto; }
.bn-opts button { min-height: 54px; padding: 0 14px; font-size: 12.5px; }
.bn-spin { flex: 1 1 100%; order: 3; }

/* ---------- PENGUIN FLOE HOP in the Vortex Arcade design: the aurora scene with the floes as markers ---------- */
body.tankwa-mode { background: radial-gradient(700px 420px at 50% -10%, rgba(0,240,255,.14), transparent 62%), #0f1223; background-attachment: fixed; }
body.tankwa-mode .topbar { background: rgba(15,18,35,.9); border-bottom: 0; }
body.tankwa-mode .tabbar { background: rgba(10,13,29,.96); border-top-color: var(--line2); }
body.tankwa-mode .game-bar button { border-color: var(--line2); background: var(--card2); color: var(--text); }
#tab-tankwa .game-bar { align-items: center; }
#tab-tankwa .game-bar .tk-mult { position: static; margin-left: auto; padding: 8px 14px; border-radius: 18px; text-align: right; line-height: 1.05;
  background: var(--card2); border: 1.5px solid rgba(0,240,255,.45); box-shadow: 0 0 16px rgba(0,240,255,.2); }
#tab-tankwa .game-bar .tk-mult b { display: block; font: 700 22px/1 var(--num); color: var(--cyan); text-shadow: 0 0 10px rgba(0,240,255,.6); }
#tab-tankwa .game-bar .tk-mult small { font: 700 10.5px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tk-lake.scene { height: auto; aspect-ratio: .98; padding: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(0,240,255,.25); box-shadow: 0 0 26px rgba(0,240,255,.12); background: #08101e; }
.tk-lake.scene canvas { display: none; }
.tk-scene { position: absolute; inset: 0; }
.tk-scene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transition: filter .4s; }
.tk-scene.lost .tk-scene-img { filter: brightness(.55) saturate(.6) hue-rotate(-20deg); }
.tk-scene.won .tk-scene-img { filter: brightness(1.12) saturate(1.2); }
.tk-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,30,.35), transparent 30%, transparent 65%, rgba(8,12,30,.55)); pointer-events: none; }
.tk-scene.lost::after { background: radial-gradient(circle at 50% 60%, rgba(255,46,99,.35), rgba(8,12,30,.6)); }
.tk-scene-tag, .tk-scene-next { position: absolute; z-index: 3; top: 12px; padding: 7px 12px; border-radius: 999px; font: 800 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tk-scene-tag { left: 12px; background: rgba(60,8,20,.72); border: 1px solid rgba(255,46,99,.6); color: #ffd9e1; }
.tk-scene-next { right: 12px; background: rgba(10,13,29,.72); border: 1px solid rgba(0,240,255,.5); color: var(--cyan-l); }
.tk-scene-next b { font-family: var(--num); color: var(--cyan); }
.tk-marks { position: absolute; inset: 0; z-index: 2; }
.tk-mark { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; transition: left .5s cubic-bezier(.2,.9,.3,1.1), top .5s cubic-bezier(.2,.9,.3,1.1); }
.tk-pill { display: grid; place-items: center; min-width: 58px; height: 34px; padding: 0 12px; border-radius: 999px; font: 800 15px/1 var(--num); color: #fff;
  background: rgba(10,13,29,.72); border: 1.5px solid rgba(255,255,255,.25); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tk-mark small { font: 800 12px/1 var(--num); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.tk-mark.done .tk-pill { background: linear-gradient(180deg, #7df4ff, #00c4d1); color: #002022; border: 0; box-shadow: 0 0 14px rgba(0,240,255,.6); }
.tk-mark.cur .tk-pill { min-width: 96px; height: 50px; font-size: 22px; color: #002022; background: linear-gradient(180deg, #dbfcff, #00f0ff); border: 3px solid #fff; box-shadow: 0 0 24px rgba(0,240,255,.85); }
.tk-mark.cur small { padding: 4px 10px; border-radius: 999px; background: rgba(0,60,70,.85); color: var(--cyan); letter-spacing: .08em; text-transform: uppercase; font-family: var(--font); }
.tk-mark em { font: 900 10px/1 var(--font); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--gold); color: var(--on-gold); margin-bottom: -10px; z-index: 1; }
.tk-mark.next .tk-pill { border: 2px dashed var(--gold); color: var(--gold); background: rgba(40,30,0,.6); animation: tkNext 1.2s ease-in-out infinite; }
.tk-mark.next small { color: var(--gold-l); }
@keyframes tkNext { 50% { transform: translateY(4px); } }
.tk-mark.lock { opacity: .7; } .tk-mark.lock .tk-pill { font-size: 13px; }
.tk-mark.lost .tk-pill { min-width: 70px; height: 46px; font-size: 22px; background: linear-gradient(180deg, #ff6b8b, #ff2e63); border: 3px solid #fff; box-shadow: 0 0 24px rgba(255,46,99,.9); animation: tkShake .4s; }
@keyframes tkShake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.tk-scene.hopping .tk-mark.cur .tk-pill { animation: tkLand .5s cubic-bezier(.2,.9,.3,1.4); }
@keyframes tkLand { 0% { transform: translateY(-26px) scale(.8); } 70% { transform: translateY(3px) scale(1.06); } }
.tk-scene-hit { position: absolute; z-index: 4; left: 50%; top: 40%; transform: translate(-50%, -50%) scale(.6); opacity: 0; font: 900 46px/1 var(--font); letter-spacing: .04em; color: #fff;
  text-shadow: 0 0 18px #ff2e63, 0 0 40px #ff2e63, 0 4px 0 #6b0020; pointer-events: none; transition: opacity .25s, transform .35s cubic-bezier(.2,.9,.3,1.4); }
.tk-scene-hit.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tk-panel { margin-top: 12px; padding: 12px; border-radius: 20px; background: var(--card2); border: 1px solid var(--line2); }
.tk-msg { order: -1; margin: 0 0 10px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line2); text-align: left; font: 600 14px/1.35 var(--font); color: var(--text); }
.tk-msg b { color: var(--gold); font-family: var(--num); }
.tk-msg.lost { border-color: rgba(255,46,99,.5); } .tk-msg.win { border-color: rgba(255,184,0,.6); }
.tk-panel { display: flex; flex-direction: column; }
.tk-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tk-levels button { padding: 9px 4px; border-radius: 12px; background: var(--card3); border: 1px solid var(--line2); color: var(--text); text-align: center; }
.tk-levels button b { display: block; font: 800 13px/1.15 var(--font); }
.tk-levels button small { font: 600 10.5px/1.2 var(--num); color: var(--muted); }
.tk-levels button.on { background: var(--cyan); border-color: transparent; color: var(--on-cyan); box-shadow: 0 0 14px rgba(0,240,255,.4); }
.tk-levels button.on small { color: #00454c; }
.tk-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 10px; }
.tk-step { background: var(--bg2); border-radius: 14px; padding: 4px; display: flex; align-items: center; gap: 4px; }
.tk-step button { width: 40px; height: 46px; border-radius: 11px; background: var(--card3); border: 1px solid var(--line2); color: #fff; font-size: 20px; }
.tk-step b { font: 700 20px/1 var(--num); color: #fff; } .tk-step small { color: var(--muted); }
.tk-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.tk-presets button { border-radius: 11px; background: var(--card3); border: 1px solid var(--line2); color: var(--text); font: 700 13px/1 var(--num); }
.tk-presets button.on { background: #1e3b4a; border-color: rgba(0,240,255,.5); color: var(--cyan); }
.tk-step.hidden + .tk-presets { display: none; }
.tk-go, .tk-cash { min-height: 62px; border-radius: 16px; border: 0; font: 900 17px/1.1 var(--font); letter-spacing: .08em; cursor: pointer; }
.tk-go { grid-column: 1 / -1; background: linear-gradient(180deg, #dbfcff, #00f0ff 60%, #00c4d1); color: #002022; box-shadow: 0 0 22px rgba(0,240,255,.4); }
.tk-go.paddle { grid-column: auto; }
.tk-go small, .tk-cash small { display: block; font: 700 11.5px/1.2 var(--font); letter-spacing: .04em; opacity: .8; }
.tk-cash { background: linear-gradient(180deg, #ffe7a8, #ffb800 60%, #e09a00); color: #3a2400; box-shadow: 0 0 22px rgba(255,184,0,.4); }
.tk-cash b { display: block; font: 800 15px/1.2 var(--num); }
.tk-actions:has(.tk-go.paddle) { grid-template-columns: 1fr 1fr; }
.tk-actions:has(.tk-go.paddle) .tk-cash.hidden { display: none; }
.tk-actions:has(.tk-go.paddle) .tk-go:only-of-type { grid-column: 1 / -1; }

/* ---------- GUMBALL DROP in the Vortex Arcade design: neon board, the 3D dispenser ---------- */
body.plinko-mode.pk-neon { background: radial-gradient(700px 420px at 50% -10%, rgba(255,79,216,.18), transparent 62%), radial-gradient(500px 400px at 50% 110%, rgba(0,240,255,.12), transparent 60%), #0f1223; background-attachment: fixed; color: var(--text); }
body.plinko-mode.pk-neon .topbar { background: rgba(15,18,35,.9); border-bottom: 0; }
body.plinko-mode.pk-neon .tabbar { background: rgba(10,13,29,.96); border-top-color: var(--line2); }
body.plinko-mode.pk-neon .game-bar button { background: var(--card2); border-color: var(--line2); color: var(--text); }
body.plinko-mode.pk-neon .paused-note { color: var(--text); }
.pk-neon .pk-machine { background: linear-gradient(180deg, #1b1f30, #12152a); border: 1px solid rgba(255,79,216,.35); box-shadow: 0 0 30px rgba(255,79,216,.18), 0 18px 36px rgba(0,0,0,.5); }
.pk-neon .pk-logo { font: 900 22px/1 var(--font); letter-spacing: .04em; background: linear-gradient(90deg, #ff4fd8, #7df4ff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.pk-neon .pk-logo span { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 6px; background: #ff2e63; color: #fff; -webkit-text-fill-color: #fff; font-size: 11px; letter-spacing: .14em; vertical-align: 3px; }
.pk-pot { display: none; }
.pk-neon .pk-pot { display: block; margin-top: 5px; font: 700 10.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; -webkit-text-fill-color: var(--gold); color: var(--gold); }
.pk-neon .pk-recent span, .pk-neon .pk-pill { background: var(--card3); color: #fff; border: 1px solid var(--line2); }
.pk-neon .pk-board { background-color: #0a0d1d; background-size: cover; background-position: center; border: 1px solid rgba(0,240,255,.25); box-shadow: inset 0 0 40px rgba(0,0,0,.6); }
.pk-neon .pk-panel { background: var(--card2); border: 1px solid var(--line2); box-shadow: none; color: var(--text); }
.pk-neon .pk-label { color: var(--muted); }
.pk-neon .pk-seg { background: var(--bg2); }
.pk-neon .pk-seg button { background: transparent; color: var(--muted); }
.pk-neon .pk-seg button.on { background: #1e3b4a; color: var(--cyan); box-shadow: 0 0 12px rgba(0,240,255,.35); }
.pk-neon .pk-step button { background: var(--card3); color: #fff; border: 1px solid var(--line2); }
.pk-neon .pk-step b { color: #fff; font-family: var(--num); }
.pk-neon .pk-drop { min-height: 62px; border-radius: 18px; font: 900 21px/1 var(--font); letter-spacing: .1em; color: #2a0012;
  background: linear-gradient(90deg, #ff4fd8, #ff7aa8 45%, #ffd56a); box-shadow: 0 0 26px rgba(255,79,216,.45), inset 0 1px 0 rgba(255,255,255,.5); border: 0; }
.pk-neon .pk-drop:active { transform: translateY(2px); }
.pk-neon .pk-drop.stop { background: linear-gradient(180deg, #7df4ff, #00c4d1); color: #002022; box-shadow: 0 0 22px rgba(0,240,255,.45); }
.pk-neon .pk-tool, .pk-neon .pk-auto button { background: var(--card3); color: var(--text); border: 1px solid var(--line2); }
.pk-neon .pk-tool.on, .pk-neon .pk-auto button.on { background: var(--cyan); color: var(--on-cyan); }
.pk-neon .pk-auto span { color: var(--muted); }
.pk-neon .pk-msg { color: var(--text); } .pk-neon .pk-msg b { color: var(--gold); }
.pk-neon .g-plinko .g-play { background: linear-gradient(90deg, #ff4fd8, #ffd56a); color: #2a0012; }
