/* House of Wojo — bubble craps. Dark floor, felt green, brass gold. */
:root {
  --felt: #0b3d24;
  --felt-dark: #072b18;
  --felt-line: #d8c98a;
  --gold: #c9a227;
  --gold-bright: #ffd75e;
  --red: #d03030;
  --ink: #f2ecd8;
  --panel: #12100c;
  --panel-2: #1c1812;
  --win: #58d068;
  --lose: #e0564f;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: radial-gradient(1200px 700px at 50% -10%, #241d10, #0c0a06 60%, #060504); color: var(--ink); font-family: Georgia, 'Times New Roman', serif; user-select: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- top bar ---------- */
#topbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; background: linear-gradient(#211a0e, #14100a); border-bottom: 2px solid var(--gold); }
.brand { font-size: 20px; letter-spacing: 3px; color: var(--gold-bright); text-shadow: 0 2px 6px rgba(0,0,0,.8); }
.brand .of { font-style: italic; color: var(--ink); font-size: 15px; }
.brand .sub { font-size: 11px; letter-spacing: 5px; color: #9b8a55; margin-left: 10px; }
.hud { display: flex; gap: 10px; align-items: center; }
.balance-box { background: #000; border: 1px solid var(--gold); border-radius: 6px; padding: 4px 14px; display: flex; flex-direction: column; align-items: center; min-width: 130px; }
.bal-label { font-size: 9px; letter-spacing: 3px; color: #8f7c42; }
#balance { font-size: 20px; color: #ffe9a0; font-variant-numeric: tabular-nums; }
.hud-btn { background: linear-gradient(#3a2f18, #241c0d); color: var(--gold-bright); border: 1px solid var(--gold); border-radius: 6px; padding: 8px 12px; font-size: 11px; letter-spacing: 1px; }
.hud-btn:hover { background: #4a3c1e; }
.gear { font-size: 15px; padding: 8px 10px; }

/* ---------- tote ---------- */
#toteWrap { display: flex; align-items: center; gap: 14px; padding: 6px 16px; }
#tote { display: flex; gap: 5px; flex: 1; overflow: hidden; justify-content: flex-end; }
.tote-cell { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; background: #101418; border: 1px solid #2e3a44; color: #cfd8de; flex: none; }
.tote-cell.seven { background: #4a1010; border-color: var(--red); color: #ffb3b3; }
.tote-cell.pointmade { background: #0f3d1c; border-color: var(--win); color: #b8f2c3; }
#pointBadge { padding: 8px 18px; border-radius: 20px; font-size: 15px; letter-spacing: 2px; border: 2px solid var(--red); background: #2a0d0d; color: #ff9c9c; min-width: 120px; text-align: center; }
#pointBadge.on { border-color: var(--gold-bright); background: #332405; color: var(--gold-bright); }

/* ---------- dome row ---------- */
#domeWrap { display: grid; grid-template-columns: 220px 1fr 240px; gap: 10px; padding: 4px 12px; align-items: start; }
#domeCenter { display: flex; flex-direction: column; align-items: center; position: relative; }
#dome { width: 100%; max-width: 560px; border-radius: 14px; background: radial-gradient(ellipse at 50% 40%, #10281a, #08130c); box-shadow: inset 0 0 40px rgba(0,0,0,.7), 0 6px 24px rgba(0,0,0,.6); }
#msg { min-height: 22px; margin-top: 6px; font-size: 15px; font-style: italic; color: #e8dcae; text-align: center; }
#timerBar { width: 100%; max-width: 560px; height: 7px; background: #191510; border-radius: 4px; margin-top: 6px; overflow: hidden; border: 1px solid #33291a; }
#timerFill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transition: width .2s linear; }
#controls { display: flex; gap: 8px; margin-top: 8px; }
.big-btn { background: linear-gradient(#b31c1c, #7c0f0f); color: #fff; border: 2px solid #ff8a8a; border-radius: 10px; padding: 12px 30px; font-size: 17px; letter-spacing: 2px; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.big-btn:disabled { opacity: .35; cursor: default; }
.big-btn.alt { background: linear-gradient(#2c2417, #191408); color: var(--gold-bright); border-color: var(--gold); font-size: 13px; padding: 12px 16px; }
#winFeed { position: absolute; top: 6px; right: 6px; width: 175px; max-height: 200px; overflow: hidden; display: flex; flex-direction: column; gap: 3px; pointer-events: none; }
.feed-item { font-size: 11.5px; padding: 3px 8px; border-radius: 4px; background: rgba(0,0,0,.65); animation: fadein .3s; }
.feed-item.win { color: var(--win); } .feed-item.lose { color: var(--lose); } .feed-item.push { color: #d8c98a; }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- side columns ---------- */
.side-col { display: flex; flex-direction: column; gap: 6px; }
.panel { background: linear-gradient(#123a23, #0c2b19); border: 1.5px solid var(--felt-line); border-radius: 8px; padding: 6px; }
.panel h4 { margin: 0 0 4px; font-size: 10.5px; letter-spacing: 2px; color: var(--felt-line); text-align: center; font-weight: normal; }

/* ---------- generic bet zone ---------- */
.zone { position: relative; background: rgba(255,255,255,.03); border: 1.5px solid var(--felt-line); border-radius: 6px; color: var(--ink); text-align: center; padding: 6px 2px; cursor: pointer; transition: background .12s; min-height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.zone:hover { background: rgba(255,235,150,.12); }
.zone.locked { pointer-events: none; opacity: .75; }
.zone .zl { font-size: 11px; letter-spacing: 1px; line-height: 1.1; }
.zone .zp { font-size: 8.5px; color: #b8ab7a; }
.zone.hit { animation: zonewin 1s; }
@keyframes zonewin { 0% { background: rgba(88,208,104,.55); } 100% { background: rgba(255,255,255,.03); } }
.zone.miss { animation: zonelose .7s; }
@keyframes zonelose { 0% { background: rgba(224,86,79,.5); } 100% { background: rgba(255,255,255,.03); } }

.chip { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: bold; color: #fff; border: 3px solid rgba(255,255,255,.95); outline: 2px solid rgba(0,0,0,.55); box-shadow: 0 2px 6px rgba(0,0,0,.8); background: #444; font-family: Arial, sans-serif; text-shadow: 0 1px 2px rgba(0,0,0,.9); letter-spacing: -0.5px; }
.chip.on-zone { position: absolute; bottom: -10px; right: -8px; z-index: 3; }
.chip.c1, .rack-chip.c1 { background: radial-gradient(#f5f1e6, #d8d2c2); color: #222; text-shadow: none; border-color: #8a8478; }
.chip.c5, .rack-chip.c5 { background: radial-gradient(#d84545, #8e1d1d); }
.chip.c25, .rack-chip.c25 { background: radial-gradient(#2c9a4d, #135c2b); }
.chip.c100, .rack-chip.c100 { background: radial-gradient(#3a3a48, #101018); border-color: #cfe8ff; }
.chip.c500, .rack-chip.c500 { background: radial-gradient(#8a44b8, #4a1d6e); }
.chip.big, .rack-chip.big { background: radial-gradient(#e8c250, #96690f); color: #2a1d02; text-shadow: none; }

/* ---------- felt ---------- */
#felt { display: flex; flex-direction: column; gap: 6px; padding: 6px 12px 10px; background: linear-gradient(#0e4429, #0a3520 70%, #083019); border-top: 3px solid var(--gold); margin-top: 6px; }
.felt-row { display: grid; gap: 6px; }
#numbersRow { grid-template-columns: repeat(6, 1fr); }
.numbox { background: rgba(0,0,0,.18); border: 2px solid var(--felt-line); border-radius: 8px; overflow: hidden; }
.numbox .numtitle { font-size: 24px; text-align: center; padding: 2px 0; border-bottom: 1px solid rgba(216,201,138,.5); letter-spacing: 2px; position: relative; }
.numbox.pointed .numtitle { background: rgba(255,215,94,.25); color: var(--gold-bright); }
.numbox .subzones { display: grid; grid-template-columns: 1fr 1fr; }
.numbox .zone { border: none; border-radius: 0; min-height: 40px; }
.numbox .zone + .zone { border-left: 1px dashed rgba(216,201,138,.4); }
.come-marker { position: absolute; top: 2px; right: 4px; font-size: 9px; background: #14202c; color: #9fd0ff; border: 1px solid #3d6a94; border-radius: 4px; padding: 1px 5px; cursor: pointer; z-index: 2; }
#lineRow { grid-template-columns: 2.2fr 1.2fr 1.2fr 1.4fr; }
#comeRow { grid-template-columns: 1.4fr 2fr 1.4fr; }
.zone.bigzone { min-height: 52px; }
.zone.bigzone .zl { font-size: 15px; letter-spacing: 3px; }
.zone.field-zone { background: rgba(20,40,80,.25); }
.zone.field-zone:hover { background: rgba(120,160,255,.18); }

/* props grids */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
.hopgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.hopgrid .zone { min-height: 26px; padding: 2px; }
.hopgrid .zl { font-size: 9.5px; }

/* bonus displays */
.lights { display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; margin-top: 2px; }
.light { width: 19px; height: 19px; border-radius: 50%; background: #221d12; border: 1px solid #4a4028; font-size: 9.5px; display: flex; align-items: center; justify-content: center; color: #6e6247; font-family: Arial, sans-serif; }
.light.lit { background: radial-gradient(#ffe089, #c9861d); color: #3a2503; border-color: #ffd75e; box-shadow: 0 0 8px rgba(255,215,94,.7); }
.rep-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.rep-grid .zone { min-height: 30px; padding: 2px; }
.rep-count { font-size: 8px; color: #9fd0a8; font-family: Arial, sans-serif; }

/* ---------- rack ---------- */
#rack { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; background: linear-gradient(#1a140b, #0e0a06); border-top: 2px solid var(--gold); position: sticky; bottom: 0; }
#chips { display: flex; gap: 10px; }
.rack-chip { width: 50px; height: 50px; border-radius: 50%; font-size: 14px; font-weight: bold; color: #fff; border: 4px solid rgba(255,255,255,.9); outline: 2px solid rgba(0,0,0,.5); box-shadow: 0 3px 8px rgba(0,0,0,.7); font-family: Arial, sans-serif; transition: transform .1s; text-shadow: 0 1px 2px rgba(0,0,0,.8); cursor: pointer; }
.rack-chip.sel { transform: translateY(-8px) scale(1.12); box-shadow: 0 0 14px rgba(255,215,94,.9); }
#rackRight { display: flex; gap: 14px; align-items: center; }
.tool-btn { background: #241c0d; border: 1px solid #6e5a2a; color: #cbb573; border-radius: 6px; padding: 8px 12px; font-size: 11px; }
.tool-btn.active { background: #6b1d1d; border-color: #ff8a8a; color: #ffc9c9; }
.toggle { font-size: 11px; color: #b8ab7a; display: flex; gap: 6px; align-items: center; }

/* ---------- overlays ---------- */
#rollupOverlay { position: fixed; inset: 0; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; z-index: 50; }
#rollupInner { text-align: center; animation: pop .4s; }
#rollupTitle { font-size: 54px; letter-spacing: 8px; color: var(--gold-bright); text-shadow: 0 0 30px rgba(255,215,94,.8), 0 4px 0 #7a5c00; }
#rollupAmt { font-size: 68px; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(255,255,255,.5); margin-top: 10px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.hidden { display: none !important; }

#modalBack { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; z-index: 60; }
#modal { background: linear-gradient(#241e12, #171209); border: 2px solid var(--gold); border-radius: 12px; padding: 20px 24px; width: min(520px, 92vw); max-height: 86vh; overflow-y: auto; }
#modal h3 { margin: 0 0 12px; color: var(--gold-bright); letter-spacing: 3px; font-size: 17px; }
#modal .statrow { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dotted #3a3022; font-size: 14px; }
#modal .statrow b { color: #ffe9a0; font-variant-numeric: tabular-nums; }
#modal label { display: block; font-size: 12px; color: #b8ab7a; margin: 10px 0 3px; }
#modal input[type=range] { width: 100%; }
#modal input[type=number], #modal textarea { width: 100%; background: #0d0b07; color: var(--ink); border: 1px solid #5a4a24; border-radius: 5px; padding: 6px; font-family: monospace; font-size: 12px; }
#modal textarea { height: 160px; }
#modal .btnrow { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
#modal .btnrow button { flex: 1; }

#toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: #3a0f0f; color: #ffc9c9; border: 1px solid var(--red); border-radius: 8px; padding: 10px 22px; font-size: 14px; z-index: 70; animation: fadein .2s; }

/* ---------- odds availability ---------- */
.zone.avail { border-color: var(--gold-bright); box-shadow: 0 0 12px rgba(255,215,94,.45), inset 0 0 18px rgba(255,215,94,.08); }
.zone.avail .zl { color: var(--gold-bright); }

/* ---------- table box ---------- */
.table-box { border-color: #6e5a2a; }
#onTable { font-size: 20px; color: #9fd0a8; font-variant-numeric: tabular-nums; }

/* ---------- stats row ---------- */
#statsRow { display: grid; grid-template-columns: 440px 1fr 250px; gap: 8px; padding: 4px 12px; }
.stat-panel { background: linear-gradient(#141109, #0d0b06); border: 1px solid #3a3022; border-radius: 8px; padding: 6px 8px; overflow: hidden; }
.stat-panel h4 { margin: 0 0 4px; font-size: 10px; letter-spacing: 2px; color: #9b8a55; font-weight: normal; }
#distCanvas { width: 100%; height: 110px; display: block; }
#rollStrip { display: flex; gap: 4px; flex-wrap: wrap; max-height: 108px; overflow-y: auto; align-content: flex-start; }
.rs-cell { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; background: #101418; border: 1px solid #2e3a44; color: #cfd8de; flex: none; font-family: Arial, sans-serif; }
.rs-cell.seven { background: #4a1010; border-color: var(--red); color: #ffb3b3; }
.rs-cell.hard { border-color: var(--gold-bright); color: var(--gold-bright); }
.rs-cell.pointmade { background: #0f3d1c; border-color: var(--win); color: #b8f2c3; box-shadow: 0 0 6px rgba(88,208,104,.5); }
#shooterList { max-height: 108px; overflow-y: auto; font-size: 12px; font-family: Arial, sans-serif; }
.shooter-row { display: flex; justify-content: space-between; padding: 3px 2px; border-bottom: 1px dotted #2a2318; color: #b8ab7a; }
.shooter-row b { font-variant-numeric: tabular-nums; }
.shooter-row.current { color: #ffe9a0; }
.pl-pos { color: var(--win); } .pl-neg { color: var(--lose); }

/* ---------- tooltip ---------- */
#tooltip { position: fixed; z-index: 80; max-width: 280px; background: #1c1710; border: 1.5px solid var(--gold); border-radius: 8px; padding: 10px 12px; font-size: 12.5px; line-height: 1.45; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.8); pointer-events: none; }
#tooltip .tt-name { color: var(--gold-bright); font-size: 13px; letter-spacing: 1px; margin-bottom: 4px; }
#tooltip .tt-pays { color: #9fd0a8; font-size: 11.5px; margin-top: 5px; font-family: Arial, sans-serif; }

#autoBtn.auto-on { background: linear-gradient(#1d5a2e, #12401f); border-color: #58d068; color: #b8f2c3; }

/* ================= ROULETTE ================= */
.lobby-link { color: var(--gold-bright); text-decoration: none; margin-right: 8px; font-size: 22px; }
#rTop { display: grid; grid-template-columns: 360px 1fr 190px; gap: 12px; padding: 8px 14px; align-items: start; }
#wheelWrap { position: relative; }
#wheel { width: 100%; border-radius: 50%; box-shadow: 0 8px 30px rgba(0,0,0,.7); }
#winBig { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 84px; font-weight: bold; font-family: Georgia, serif; text-shadow: 0 0 30px rgba(0,0,0,.9); pointer-events: none; }
#winBig.wb-red { color: #ff6e6e; } #winBig.wb-black { color: #f0f0f0; } #winBig.wb-green { color: #6ee08a; }
#rMid { display: flex; flex-direction: column; gap: 8px; align-items: center; }
#spinHist { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; min-height: 28px; }
.hist-red { background: #a12626 !important; border-color: #ff8a8a !important; color: #fff !important; }
.hist-black { background: #191919 !important; border-color: #777 !important; color: #eee !important; }
.hist-green { background: #0f6e35 !important; border-color: #6ee08a !important; color: #fff !important; }
#callBets { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center; }
#rTop #winFeed { position: static; width: auto; max-height: 330px; }

#feltWrap { padding: 6px 14px; display: flex; flex-direction: column; gap: 8px; align-items: center; overflow-x: auto; }
#rtable { position: relative; background: linear-gradient(#0e4429, #0a3520); border: 2px solid var(--gold); border-radius: 10px; padding: 0; flex: none; }
.rcell { display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--felt-line); border-radius: 4px; cursor: pointer; font-family: Georgia, serif; font-size: 17px; color: #fff; transition: filter .1s; }
.rcell:hover { filter: brightness(1.5); }
.rcell.red { background: #a12626; } .rcell.black { background: #141414; } .rcell.green { background: #0f6e35; }
.rcell.outsidez { background: rgba(0,0,0,.25); font-size: 13px; letter-spacing: 1px; color: var(--ink); }
.rcell.redlbl span { color: #ff8a8a; } .rcell.blacklbl span { color: #ccc; }
.rcell.locked, .izone.locked, .rt-cell.locked { pointer-events: none; opacity: .8; }
.izone { z-index: 5; cursor: pointer; border-radius: 4px; }
.izone:hover { background: rgba(255,235,150,.55); box-shadow: 0 0 6px rgba(255,235,150,.8); }
.izone.dot { border-radius: 50%; }
#rtable .chip.on-zone { z-index: 8; width: 40px; height: 40px; pointer-events: none; }

#racetrack { text-align: center; }
.rt-label { font-size: 9.5px; letter-spacing: 2px; color: #9b8a55; }
#rtStrip { display: flex; gap: 2px; margin-top: 4px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.rt-cell { flex: none; width: 30px; height: 34px; border-radius: 5px; border: 1px solid var(--felt-line); color: #fff; font-size: 12px; font-family: Arial, sans-serif; cursor: pointer; }
.rt-cell.red { background: #a12626; } .rt-cell.black { background: #141414; } .rt-cell.green { background: #0f6e35; }
.rt-cell:hover { filter: brightness(1.6); }

/* dolly + winner + spin net */
#dolly { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(#ffffff, #cfcfcf 60%, #9a9a9a); color: #222; font-family: Arial, sans-serif; font-weight: bold; font-size: 13px; display: flex; align-items: center; justify-content: center; z-index: 12; box-shadow: 0 4px 10px rgba(0,0,0,.8), inset 0 -3px 5px rgba(0,0,0,.3); border: 2px solid #eee; pointer-events: none; }
.rcell.winner-cell { animation: winnerpulse .55s 5 alternate; z-index: 6; }
@keyframes winnerpulse { from { box-shadow: 0 0 4px rgba(255,255,255,.4); filter: brightness(1.1); } to { box-shadow: 0 0 22px 6px rgba(255,235,150,.95); filter: brightness(2); } }
#spinNet { background: #000; border: 1.5px solid var(--gold); border-radius: 10px; padding: 6px 20px; text-align: center; }
#spinNet b { font-size: 24px; font-variant-numeric: tabular-nums; }
#spinNet small { display: block; font-size: 11px; color: #9b8a55; font-family: Arial, sans-serif; }

/* lightning */
.lightning-btn { background: linear-gradient(#3a2f00, #241c00); border-color: #ffd75e; color: #ffe9a0; }
.lightning-btn.armed { background: linear-gradient(#7a5c00, #4a3800); box-shadow: 0 0 12px rgba(255,215,94,.7); }
#lightningFlash { position: fixed; inset: 0; background: radial-gradient(rgba(255,255,255,.85), rgba(180,200,255,.35)); z-index: 45; pointer-events: none; animation: lflash .7s forwards; }
@keyframes lflash { 0% { opacity: 1; } 20% { opacity: .2; } 30% { opacity: .9; } 100% { opacity: 0; } }
.rcell.struck { box-shadow: 0 0 16px 4px rgba(255,215,94,.95), inset 0 0 12px rgba(255,255,255,.5); border-color: #fff; z-index: 6; animation: struckpulse 1s infinite alternate; }
@keyframes struckpulse { from { filter: brightness(1.2); } to { filter: brightness(1.9); } }
.strike-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #ffd75e; color: #3a2503; font-family: Arial, sans-serif; font-weight: bold; font-size: 11px; border-radius: 8px; padding: 1px 6px; z-index: 7; box-shadow: 0 0 8px rgba(255,215,94,.9); }

/* roulette stats */
.hc-row { display: flex; gap: 6px; align-items: center; margin: 4px 0; flex-wrap: wrap; }
.hc-row b { font-size: 10px; letter-spacing: 1px; width: 38px; }
.hotlbl { color: #ff9c3a; } .coldlbl { color: #8fb3e0; }
.hc-num { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-family: Arial, sans-serif; border: 1px solid; }
.hc-row small { color: #9b8a55; margin-right: 6px; }
.hc-note { color: #6e6247; font-size: 12px; padding: 8px 2px; }
.cr-bar { position: relative; height: 18px; background: #0d0b06; border: 1px solid #2a2318; border-radius: 4px; margin: 4px 0; overflow: hidden; }
.cr-bar i { position: absolute; inset: 0 auto 0 0; display: block; }
.cr-bar span { position: relative; font-size: 10px; font-family: Arial, sans-serif; color: #fff; padding-left: 6px; line-height: 18px; text-shadow: 0 1px 2px #000; }
.cr-streak { font-size: 11px; color: #ffe9a0; margin-top: 4px; font-family: Arial, sans-serif; }
#sessionBox .statrow { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; border-bottom: 1px dotted #2a2318; color: #b8ab7a; }
#sessionBox .statrow b { color: #ffe9a0; font-variant-numeric: tabular-nums; }

/* ================= THUNDER HERD ================= */
.slot-body { background: radial-gradient(1200px 700px at 50% -10%, #2a1a0a, #120a04 60%, #080503); }
.slot-body.fs-mode { background: radial-gradient(1200px 700px at 50% -10%, #3a1440, #14081c 60%, #060308); }
#slotMain { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px; }
#cabinet { position: relative; background: linear-gradient(#241505, #140b03); border: 3px solid var(--gold); border-radius: 18px; padding: 14px 18px 18px; box-shadow: 0 12px 50px rgba(0,0,0,.8), inset 0 0 30px rgba(0,0,0,.5); display: flex; flex-direction: column; align-items: center; gap: 10px; }
#slotTitle { font-size: 26px; letter-spacing: 6px; color: #ffb36e; text-shadow: 0 0 20px rgba(255,140,50,.6), 0 3px 0 #5a2c00; }
.fs-mode #slotTitle { color: #d9a0ff; text-shadow: 0 0 20px rgba(190,110,255,.7), 0 3px 0 #3a0a5a; }
#fsBadge { position: absolute; top: 12px; right: 16px; background: #3a0a5a; border: 1.5px solid #d9a0ff; color: #ecd0ff; border-radius: 16px; padding: 5px 14px; font-size: 12px; letter-spacing: 1px; z-index: 5; }
#reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: #0a0603; border: 2px solid #6e5a2a; border-radius: 10px; padding: 8px; }
.reel { display: flex; flex-direction: column; gap: 5px; transition: box-shadow .2s; border-radius: 8px; }
.reel.spinning .scell { filter: blur(1.6px) brightness(.8); }
.reel.anticipate { box-shadow: 0 0 22px 4px rgba(255,215,94,.8); }
.reel.anticipate .scell { filter: blur(1.2px) brightness(1.15); }
.reel.bounce { animation: reelbounce .28s; }
@keyframes reelbounce { 0% { transform: translateY(-10px); } 60% { transform: translateY(4px); } 100% { transform: translateY(0); } }
.scell { position: relative; width: 92px; height: 76px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1.5px solid rgba(216,201,138,.35); background: linear-gradient(#1c1207, #100a04); }
.sy-icon { font-size: 40px; line-height: 1; }
.sy-royal .sy-icon { font-family: Georgia, serif; font-size: 34px; color: #d8c98a; text-shadow: 0 2px 4px #000; }
.sy-bison { background: linear-gradient(#3a2410, #1c0f05); border-color: #b9762a; }
.sy-eagle { background: linear-gradient(#12283a, #0a1520); }
.sy-wolf { background: linear-gradient(#232a33, #12161c); }
.sy-elk { background: linear-gradient(#1c3018, #0e180a); }
.sy-wild { background: linear-gradient(#ff9a3d, #b0421f 70%, #5a1a3a); border-color: #ffd75e; }
.sy-wild .sy-label { font-size: 10px; font-weight: bold; letter-spacing: 2px; color: #fff; text-shadow: 0 1px 2px #000; font-family: Arial, sans-serif; }
.sy-scat { background: radial-gradient(#7a5c14, #3a2a08); border-color: var(--gold-bright); }
.sy-scat .sy-label { font-size: 9px; font-weight: bold; letter-spacing: 2px; color: var(--gold-bright); font-family: Arial, sans-serif; }
.wd-mult { position: absolute; top: 3px; right: 5px; background: #fff; color: #b0421f; font-family: Arial, sans-serif; font-weight: bold; font-size: 12px; border-radius: 8px; padding: 0 5px; }
.scell.win-cell { animation: cellwin .5s 4 alternate; border-color: var(--gold-bright); }
@keyframes cellwin { from { box-shadow: 0 0 4px rgba(255,215,94,.4); } to { box-shadow: 0 0 18px 5px rgba(255,215,94,.95); filter: brightness(1.5); } }
.scell.scat-land { animation: scatland .4s 6 alternate; }
@keyframes scatland { from { box-shadow: 0 0 6px rgba(255,215,94,.5); } to { box-shadow: 0 0 24px 8px rgba(255,215,94,1); } }
#slotMsg { min-height: 20px; font-style: italic; color: #e8dcae; font-size: 15px; }
#meterRow { display: flex; gap: 14px; }
.meter { background: #000; border: 1px solid var(--gold); border-radius: 8px; padding: 4px 22px; display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.meter span:last-child { font-size: 20px; color: #ffe9a0; font-variant-numeric: tabular-nums; }
.win-meter span:last-child { color: var(--win); }
#slotControls { display: flex; gap: 10px; align-items: center; }
#spinBtn { padding: 14px 46px; font-size: 20px; }
#fsOverlay { position: fixed; inset: 0; background: rgba(10,2,20,.85); display: flex; align-items: center; justify-content: center; z-index: 55; }
.fs-title { font-size: 52px; letter-spacing: 6px; color: #d9a0ff; text-shadow: 0 0 30px rgba(190,110,255,.9); text-align: center; animation: pop .4s; }
.fs-sub { text-align: center; color: #e8dcae; margin-top: 10px; font-size: 17px; }
.fs-tap { text-align: center; color: #6e6247; margin-top: 18px; font-size: 11px; letter-spacing: 2px; }

/* ================= MUMMY MOJO ================= */
.mummy-body { background: radial-gradient(1200px 700px at 50% -10%, #1a2a24, #0a1410 60%, #050807); }
.mummy-body.fs-mode { background: radial-gradient(1200px 700px at 50% -10%, #2a1a3a, #120a1c 60%, #060308); }
.mummy-body.hs-mode { background: radial-gradient(1200px 700px at 50% -10%, #3a2a05, #1c1402 60%, #0a0701); }
.mummy-body #slotTitle { color: #6ee0c0; text-shadow: 0 0 20px rgba(60,220,180,.5), 0 3px 0 #0a3a2c; }
.mummy-body.hs-mode #slotTitle { color: #ffd75e; text-shadow: 0 0 24px rgba(255,215,94,.8), 0 3px 0 #5a4200; }
#jackpotRibbon { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.jk { font-family: Arial, sans-serif; font-size: 11px; font-weight: bold; padding: 3px 12px; border-radius: 12px; border: 1.5px solid; letter-spacing: 1px; }
.jk-grand { background: #3a2a00; border-color: #ffd75e; color: #ffe9a0; box-shadow: 0 0 10px rgba(255,215,94,.4); }
.jk-major { background: #2a0a3a; border-color: #d9a0ff; color: #ecd0ff; }
.jk-minor { background: #0a2a3a; border-color: #7ad0ff; color: #c9ecff; }
.jk-mini { background: #0a3a1a; border-color: #6ee08a; color: #c3f2cf; }
#hsBadge { position: absolute; top: 12px; left: 16px; background: #3a2a00; border: 1.5px solid #ffd75e; color: #ffe9a0; border-radius: 16px; padding: 5px 14px; font-size: 12px; letter-spacing: 1px; z-index: 5; font-family: Arial, sans-serif; }
.sy-mummy { background: linear-gradient(#3a3424, #1c1a10); border-color: #d8c98a; }
.sy-eye { background: linear-gradient(#123a3a, #0a1c20); }
.sy-cobra { background: linear-gradient(#2a331a, #141a0c); }
.sy-scarab { background: linear-gradient(#1a2333, #0c1220); }
.sy-ankh { background: linear-gradient(#e0b23d, #8e6a14 70%, #4a3a0a); border-color: #ffd75e; }
.sy-ankh .sy-icon { font-size: 34px; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,.7); }
.sy-ankh .sy-label { font-size: 10px; font-weight: bold; letter-spacing: 2px; color: #fff; font-family: Arial, sans-serif; }
.sy-coin { background: radial-gradient(#8a6a14, #4a3808); border-color: var(--gold-bright); }
.sy-coin .coin-val { font-family: Arial, sans-serif; font-weight: bold; font-size: 13px; color: #ffe9a0; text-shadow: 0 1px 2px #000; }
.sy-coin.coin-jack { background: radial-gradient(#7a1a5a, #3a0a2a); border-color: #ff8ad0; }
.sy-coin.coin-jack .coin-val { color: #ffc9ec; font-size: 11px; }
.sy-chest { background: radial-gradient(#5a3a14, #2a1a08); border-color: #ffb36e; }
.sy-chest .sy-label { font-size: 9px; font-weight: bold; letter-spacing: 2px; color: #ffb36e; font-family: Arial, sans-serif; }
/* CSS-drawn coin: no emoji font needed, values render on the coin like the real cabinet */
.coin-disc { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a0, #e0b23d 45%, #8e6a14 85%, #5a4200);
  border: 2.5px solid #ffd75e; box-shadow: 0 2px 6px rgba(0,0,0,.7), inset 0 -3px 6px rgba(90,66,0,.6), inset 0 2px 4px rgba(255,255,255,.5);
  color: #3a2a02; font-family: Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 11px; text-align: center; line-height: 1; letter-spacing: 0; }
.coin-disc.big { width: 58px; height: 58px; font-size: 13px; }
.coin-disc.dimdisc { opacity: .25; }
.coin-jack .coin-disc { background: radial-gradient(circle at 35% 30%, #ffc9ec, #d05aa8 45%, #6e1a4e 85%, #3a0a2a); border-color: #ff8ad0; color: #fff; font-size: 10px; }
.sy-scat .coin-disc { font-size: 9.5px; }

.scell.hs-empty { background: #0a0805; border-color: #33291a; }
.scell.hs-locked { box-shadow: 0 0 10px rgba(255,215,94,.5); }
.scell .sy-icon.dim { opacity: .25; }
.mummy-reels .scell.row5 { border-color: #6ee0c0; }

/* ================= DIAMOND DOUBLE (stepper) ================= */
.stepper-body { background: radial-gradient(1200px 700px at 50% -10%, #26060a, #12030a 60%, #070204); }
.stepper-body.hl-mode { background: radial-gradient(1200px 700px at 50% -10%, #2a1f02, #171102 60%, #0a0701); }
.dd-title { color: #ff5b6e; text-shadow: 0 0 22px rgba(255,60,90,.6), 0 3px 0 #5a0a14; }
.hl-mode .dd-title { color: #ffd75e; text-shadow: 0 0 24px rgba(255,215,94,.8), 0 3px 0 #5a4200; }
.dd-diamond { color: #ff2d55; }
#tierBadge { font-family: Arial, sans-serif; font-size: 11px; letter-spacing: 2px; color: #b8ab7a; border: 1px solid #5a4a24; border-radius: 12px; padding: 3px 14px; }
#tierBadge.high-limit { color: #ffe9a0; border-color: var(--gold-bright); background: #2a2002; box-shadow: 0 0 10px rgba(255,215,94,.4); }
#stepperWrap { position: relative; padding: 10px; background: linear-gradient(#2a2a2e, #101014); border: 3px solid #6e5a2a; border-radius: 12px; }
#stepReels { display: flex; gap: 10px; }
.streel { display: flex; flex-direction: column; gap: 4px; background: #d8d4c8; border-radius: 8px; padding: 6px; border: 2px solid #8a8478; transition: transform .12s; }
.streel.spinning .stcell > div { filter: blur(2px); }
/* full-cell nudge: the reel visibly steps one position, wind-up then CLUNK */
.streel.nudge-down { animation: nudgedown .7s cubic-bezier(.5, -0.3, .4, 1.3); }
.streel.nudge-up { animation: nudgeup .7s cubic-bezier(.5, -0.3, .4, 1.3); }
@keyframes nudgedown { 0% { transform: translateY(0); } 18% { transform: translateY(-10px); } 100% { transform: translateY(88px); } }
@keyframes nudgeup { 0% { transform: translateY(0); } 18% { transform: translateY(10px); } 100% { transform: translateY(-88px); } }
/* failed nudge (the tease): diamond strains toward the line, stalls, falls back */
.streel.nudge-fail-down { animation: nudgefaildown 1.1s; }
.streel.nudge-fail-up { animation: nudgefailup 1.1s; }
@keyframes nudgefaildown { 0% { transform: translateY(0); } 35% { transform: translateY(46px); } 50% { transform: translateY(52px); } 62% { transform: translateY(48px); } 100% { transform: translateY(0); } }
@keyframes nudgefailup { 0% { transform: translateY(0); } 35% { transform: translateY(-46px); } 50% { transform: translateY(-52px); } 62% { transform: translateY(-48px); } 100% { transform: translateY(0); } }
.streel.nudging { box-shadow: 0 0 20px 4px rgba(255,45,85,.7); z-index: 3; }
.stcell { width: 140px; height: 84px; background: linear-gradient(#f5f2e8, #e0dccc); border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.stcell.offline { opacity: .45; transform: scale(.92); }
.stcell.online { border: 2px solid #b9762a; }
.stcell.st-win { animation: cellwin .5s 5 alternate; }
.stcell.st-sparkle { box-shadow: 0 0 22px 6px rgba(255,45,85,.8), inset 0 0 14px rgba(255,215,94,.6); }
#payline { position: absolute; left: 2px; right: 2px; top: 50%; height: 3px; background: linear-gradient(90deg, transparent, #ff2d55 12%, #ff2d55 88%, transparent); pointer-events: none; box-shadow: 0 0 8px rgba(255,45,85,.8); }
.st-dd { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.st-dmd { font-size: 34px; color: #ff2d55; text-shadow: 1px 2px 0 #7a0a1e, 0 0 10px rgba(255,45,85,.4); letter-spacing: -6px; }
.st-ddtxt { font-family: Arial, sans-serif; font-weight: bold; font-size: 9px; letter-spacing: 1px; color: #2a2a2e; margin-top: 3px; text-align: center; }
.st-seven { font-family: Georgia, serif; font-size: 52px; font-weight: bold; color: #d01a30; text-shadow: 2px 3px 0 #7a0a14; font-style: italic; }
.st-bar { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 0 12px; }
.st-bar i { display: block; background: linear-gradient(#2a2a5e, #14143a); color: #fff; font-family: Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 13px; letter-spacing: 4px; text-align: center; border-radius: 3px; padding: 2px 0; border: 1px solid #4a4a8e; }
.st-bar.b2 i { background: linear-gradient(#1a5e2a, #0a3a16); border-color: #3a8e4e; }
.st-bar.b3 i { background: linear-gradient(#8e1a1a, #5a0a0a); border-color: #c04a4a; font-size: 11px; padding: 1px 0; }
.st-blank { width: 100%; height: 100%; }
#denomRow { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.denom-chip { font-family: Arial, sans-serif; font-weight: bold; font-size: 12px; padding: 8px 12px; border-radius: 16px; background: #241c0d; border: 1.5px solid #6e5a2a; color: #cbb573; cursor: pointer; }
.denom-chip.sel { background: #4a3c1e; border-color: var(--gold-bright); color: #ffe9a0; box-shadow: 0 0 8px rgba(255,215,94,.5); }
.denom-chip.hl { border-color: #ff5b6e; color: #ff9caa; }
.denom-chip.hl.sel { background: #4a0a14; border-color: #ff2d55; color: #ffc9d0; box-shadow: 0 0 10px rgba(255,45,85,.6); }

/* ================= RED HOT 21 ================= */
.rh-body { background: radial-gradient(1200px 700px at 50% -10%, #2e0a02, #170502 60%, #0a0201); }
.rh-title { color: #ff6a2d; text-shadow: 0 0 24px rgba(255,90,20,.7), 0 3px 0 #5a1a02; }
.rh-flame { font-size: 22px; }
.st-seven.st-redhot { color: #ff2d1a; text-shadow: 2px 3px 0 #7a0a02, 0 0 16px rgba(255,80,20,.8); position: relative; animation: rhflicker 1.2s infinite alternate; }
@keyframes rhflicker { from { text-shadow: 2px 3px 0 #7a0a02, 0 0 12px rgba(255,80,20,.6); } to { text-shadow: 2px 3px 0 #7a0a02, 0 0 22px rgba(255,140,30,.95); } }
.rh-tag { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); font-family: Arial, sans-serif; font-style: normal; font-weight: bold; font-size: 8px; letter-spacing: 1px; color: #fff; background: linear-gradient(#ff6a2d, #b01a02); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.st-seven.st-white7 { color: #f0ede2; text-shadow: 2px 3px 0 #8a8478; }
#sumTicker { font-family: Georgia, serif; font-size: 26px; font-weight: bold; color: #ffd75e; background: #000; border: 2px solid #ff6a2d; border-radius: 12px; padding: 2px 26px; text-shadow: 0 0 10px rgba(255,150,50,.7); }
#sumTicker.rh-hot { animation: rhpulse .5s infinite alternate; border-color: #ff2d1a; }
@keyframes rhpulse { from { box-shadow: 0 0 6px rgba(255,60,20,.5); } to { box-shadow: 0 0 22px 6px rgba(255,90,20,.9); } }

/* ================= MONEY MACHINE ================= */
.money-body { background: radial-gradient(1200px 700px at 50% -10%, #06301a, #03170c 60%, #010a05); }
.money-body.hl-mode { background: radial-gradient(1200px 700px at 50% -10%, #2a1f02, #171102 60%, #0a0701); }
.mm-title { color: #6ee08a; text-shadow: 0 0 22px rgba(80,220,120,.6), 0 3px 0 #0a3a1a; font-size: 26px; letter-spacing: 6px; }
.hl-mode .mm-title { color: #ffd75e; text-shadow: 0 0 24px rgba(255,215,94,.8), 0 3px 0 #5a4200; }
.mm-motto { font-family: Arial, sans-serif; font-size: 11px; letter-spacing: 5px; color: #9b8a55; }
#mmWrap { background: linear-gradient(#1c1c20, #0c0c10); border: 3px solid #6e5a2a; border-radius: 12px; padding: 14px; }
#mmReels { display: flex; gap: 12px; }
.mm-reel { width: 150px; height: 130px; border-radius: 10px; background: linear-gradient(#f5f2e8, #ddd8c8); border: 2px solid #8a8478; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 66px; font-weight: bold; color: #143a1e; text-shadow: 1px 2px 0 rgba(0,0,0,.25); transition: box-shadow .2s; }
.mm-reel.mm-spinning { filter: blur(2px); color: #666; }
.mm-reel.mm-locked { border-color: var(--gold-bright); box-shadow: 0 0 18px 4px rgba(255,215,94,.7), inset 0 0 14px rgba(255,215,94,.3); color: #7a5c00; animation: mmpulse 1s infinite alternate; }
@keyframes mmpulse { from { box-shadow: 0 0 10px 2px rgba(255,215,94,.5); } to { box-shadow: 0 0 24px 7px rgba(255,215,94,.9); } }
.mm-reel.mm-zero-land { animation: mmland .35s 2 alternate; }
@keyframes mmland { from { transform: scale(1); } to { transform: scale(1.08); } }
#mmRead { font-family: 'Courier New', monospace; font-size: 34px; font-weight: bold; color: #6ee08a; background: #000; border: 2px solid #1d7a3a; border-radius: 10px; padding: 4px 30px; letter-spacing: 4px; text-shadow: 0 0 12px rgba(80,220,120,.7); min-width: 220px; text-align: center; }
.hl-mode #mmRead { color: #ffe9a0; border-color: var(--gold); text-shadow: 0 0 12px rgba(255,215,94,.7); }
#redFlash { position: fixed; inset: 0; background: radial-gradient(rgba(255,30,30,.55), rgba(120,0,0,.75)); z-index: 45; pointer-events: none; animation: redthrob .45s infinite alternate; }
@keyframes redthrob { from { opacity: .65; } to { opacity: 1; } }

/* ================= KENO LOUNGE ================= */
.keno-body { background: radial-gradient(1200px 700px at 50% -10%, #0a1c2e, #050e18 60%, #02060c); }
.keno-body.kv-cleopatra { background: radial-gradient(1200px 700px at 50% -10%, #2a2005, #171102 60%, #0a0701); }
.keno-body.kv-caveman { background: radial-gradient(1200px 700px at 50% -10%, #1c2a0a, #0e1705 60%, #060a02); }
.keno-body.kv-superball { background: radial-gradient(1200px 700px at 50% -10%, #2a0a1c, #17050e 60%, #0a0206); }
.keno-body.fs-mode { background: radial-gradient(1200px 700px at 50% -10%, #3a2a05, #241a02 60%, #100a01); }
#kenoMain { padding: 8px 14px; }
#variantTabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; align-items: center; }
.ktab { background: #14100a; border: 1.5px solid #5a4a24; color: #cbb573; border-radius: 8px; padding: 8px 16px; font-family: Georgia, serif; font-size: 12px; letter-spacing: 2px; cursor: pointer; }
.ktab.sel { background: #4a3c1e; border-color: var(--gold-bright); color: #ffe9a0; box-shadow: 0 0 8px rgba(255,215,94,.4); }
.ksep { width: 18px; }
#kenoLayout { display: grid; grid-template-columns: 1fr 300px; gap: 12px; }
#kenoLeft { display: flex; flex-direction: column; gap: 8px; align-items: center; }
#kFeature { background: #3a2a00; border: 1.5px solid #ffd75e; color: #ffe9a0; border-radius: 16px; padding: 5px 18px; font-size: 13px; letter-spacing: 1px; }
#kenoBoard { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; background: #0a0805; border: 2px solid var(--gold); border-radius: 12px; padding: 12px; width: 100%; max-width: 620px; }
.kcell { aspect-ratio: 1; border-radius: 50%; background: #1a1610; border: 1.5px solid #3a3022; color: #9b8a55; font-family: Arial, sans-serif; font-size: 15px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .08s; padding: 0; }
.kcell:hover { transform: scale(1.1); border-color: #cbb573; }
.kcell.kpick { background: #2a3a5e; border-color: #7ab0ff; color: #cfe4ff; }
.kcell.kdrawn { background: #33291a; border-color: #8a7440; color: #e8dcae; }
.kcell.khit { background: radial-gradient(#58d068, #1d7a3a); border-color: #b8f2c3; color: #fff; box-shadow: 0 0 12px rgba(88,208,104,.8); animation: khitpop .3s; }
@keyframes khitpop { from { transform: scale(1.5); } }
.kcell.kegg { background: #2a2416; border-color: #d8c98a; font-size: 17px; }
.kcell.khatched { background: radial-gradient(#8ee06a, #3a7a1d); border-color: #d4ff9a; box-shadow: 0 0 14px rgba(140,220,90,.9); animation: khitpop .35s; }
.kcell.ksuper { background: radial-gradient(#ff5b6e, #8e1d2d) !important; border-color: #ffc9d0 !important; color: #fff !important; box-shadow: 0 0 16px rgba(255,90,110,.9) !important; }
#ballStrip { display: flex; gap: 4px; flex-wrap: wrap; min-height: 26px; justify-content: center; max-width: 620px; }
.kball { width: 26px; height: 26px; border-radius: 50%; background: #33291a; border: 1px solid #8a7440; color: #e8dcae; font-family: Arial, sans-serif; font-size: 11.5px; display: inline-flex; align-items: center; justify-content: center; animation: kballin .25s; }
.kball-super { background: radial-gradient(#ff5b6e, #8e1d2d); border-color: #ffc9d0; color: #fff; }
@keyframes kballin { from { transform: scale(0); } }
#kMsg { font-style: italic; color: #e8dcae; min-height: 20px; }
#kControls { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
#kBetRow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
#kenoRight { display: flex; flex-direction: column; gap: 8px; }
.kcard { display: flex; gap: 8px; align-items: center; padding: 5px 8px; border: 1px solid #3a3022; border-radius: 6px; margin-bottom: 4px; cursor: pointer; font-family: Arial, sans-serif; font-size: 12px; color: #b8ab7a; }
.kcard.kcard-active { border-color: var(--gold-bright); background: #241c0d; color: #ffe9a0; }
.kc-catch { color: #8fd0a8; margin-left: auto; }
#cardList { max-height: 300px; overflow-y: auto; }

@media (max-width: 900px) { #kenoLayout { grid-template-columns: 1fr; } }

/* ================= POKER ROOM ================= */
.vp-body { background: radial-gradient(1200px 700px at 50% -10%, #0a2434, #04121c 60%, #02080e); }
.vp-body.reel-mode { background: radial-gradient(1200px 700px at 50% -10%, #26060a, #12030a 60%, #070204); }
#vpMain { padding: 8px 14px; }
#vpTabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
#vpLayout { display: grid; grid-template-columns: 1fr 320px; gap: 12px; }
#vpLeft { display: flex; flex-direction: column; gap: 10px; align-items: center; }
#miniHands { display: flex; flex-direction: column-reverse; gap: 4px; max-height: 300px; overflow-y: auto; }
.mini-row { display: flex; gap: 3px; align-items: center; }
.mini-tag { font-family: Arial, sans-serif; font-size: 11px; margin-left: 8px; color: #b8ab7a; }
#vpResult { min-height: 30px; font-size: 21px; color: #ffe9a0; font-family: Georgia, serif; letter-spacing: 1px; text-align: center; }
#vpResult .vp-dead { color: #6e6247; font-size: 15px; }
.ux-mult { font-style: normal; background: #3a0a5a; border: 1px solid #d9a0ff; color: #ecd0ff; border-radius: 8px; padding: 1px 8px; font-family: Arial, sans-serif; font-size: 13px; font-weight: bold; }
#mainHand { display: flex; gap: 12px; }
.pslot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.pcard { position: relative; width: 104px; height: 146px; border-radius: 10px; background: linear-gradient(#ffffff, #ece8dc); border: 2px solid #8a8478; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #17171c; box-shadow: 0 4px 10px rgba(0,0,0,.5); transition: transform .12s; }
.pcard:hover { transform: translateY(-4px); }
.pcard.pred { color: #c0181c; }
.pcard.mini { width: 34px; height: 48px; border-radius: 4px; border-width: 1px; box-shadow: none; }
.pcard.mini .pc-rank { font-size: 13px; } .pcard.mini .pc-suit { font-size: 14px; }
.pcard.pback { background: repeating-linear-gradient(45deg, #26364e, #26364e 6px, #1a2638 6px, #1a2638 12px); border-color: #4a5a74; }
.pc-rank { font-family: Georgia, serif; font-size: 34px; font-weight: bold; line-height: 1; }
.pc-suit { font-size: 40px; line-height: 1.1; }
.pcard.pjoker { font-size: 44px; }
.pj-label { font-family: Arial, sans-serif; font-size: 9px; font-weight: bold; letter-spacing: 2px; color: #7a3aa0; }
.pcard.pheld { border-color: var(--gold-bright); box-shadow: 0 0 14px rgba(255,215,94,.6), 0 4px 10px rgba(0,0,0,.5); transform: translateY(-8px); }
.held-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--gold-bright); color: #3a2503; font-family: Arial, sans-serif; font-weight: bold; font-size: 10px; letter-spacing: 1px; border-radius: 8px; padding: 1px 8px; }
.pcard.pwin { animation: cellwin .5s 4 alternate; border-color: var(--win); }
#vpControls { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
#vpRight { display: flex; flex-direction: column; gap: 8px; }
.pt-row { display: grid; grid-template-columns: 1.6fr repeat(5, .55fr); gap: 3px; font-size: 11.5px; padding: 3px 2px; border-bottom: 1px dotted #2a2318; color: #b8ab7a; font-family: Arial, sans-serif; }
.pt-row b { text-align: right; color: #cbb573; font-variant-numeric: tabular-nums; }
.pt-row b.pt-col { color: #ffe9a0; background: rgba(255,215,94,.12); border-radius: 3px; }
.pt-row.pt-flash { background: rgba(88,208,104,.18); }
.pt-row.pt-flash span, .pt-row.pt-flash b { color: #b8f2c3; }
/* reel poker dressing */
.reel-poker .pslot-reel { background: linear-gradient(#d8d4c8, #b8b4a8); border: 2px solid #8a8478; border-radius: 10px; padding: 8px 6px 6px; }
.pslot.preel-spin .pcard { filter: blur(2px); }
.hold-btn { font-family: Arial, sans-serif; font-weight: bold; font-size: 11px; letter-spacing: 1px; padding: 5px 14px; border-radius: 6px; background: #241c0d; border: 1.5px solid #6e5a2a; color: #cbb573; cursor: pointer; }
.hold-btn.active { background: #7a1a1a; border-color: #ff8a8a; color: #ffc9c9; box-shadow: 0 0 8px rgba(255,80,80,.5); }
@media (max-width: 900px) { #vpLayout { grid-template-columns: 1fr; } .pcard { width: 62px; height: 88px; } .pc-rank { font-size: 22px; } .pc-suit { font-size: 24px; } }

/* ================= HUFF 'N GRUFF ================= */
.wolf-body { background: radial-gradient(1200px 700px at 50% -10%, #14202e, #0a1018 60%, #04070c); }
.wolf-body.fs-mode { background: radial-gradient(1200px 700px at 50% -10%, #1a1a3e, #0c0c20 60%, #050510); }
.wolf-body.hs-mode { background: radial-gradient(1200px 700px at 50% -10%, #2e1a08, #180d04 60%, #0a0502); }
.wolf-body #slotTitle { color: #9ec7ee; text-shadow: 0 0 20px rgba(120,170,230,.5), 0 3px 0 #14304e; }
.wolf-body.hs-mode #slotTitle { color: #ffb36e; text-shadow: 0 0 22px rgba(255,150,60,.7), 0 3px 0 #5a2c00; }
.wolf-reels .scell { width: 104px; height: 92px; }
.sy-wolf6 { background: linear-gradient(#26323e, #121a22); border-color: #8aa8c4; }
.sy-pig1 { background: linear-gradient(#4a4224, #241f0e); }
.sy-pig2 { background: linear-gradient(#4a3018, #24160a); }
.sy-pig3 { background: linear-gradient(#4a1c14, #240c06); border-color: #c47a6a; }
.pig-tag { font-family: Arial, sans-serif; font-size: 8px; font-weight: bold; letter-spacing: 1px; color: #d8c98a; }
.sy-moon { background: radial-gradient(#3e3a5e, #1a1830); border-color: #b8b0ee; }
.sy-house { background: #101418; border-color: #4a5a6e; padding: 2px; }
.house-disc { width: 96px; height: 84px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; border: 2.5px solid; font-family: Arial, sans-serif; }
.house-straw { background: linear-gradient(#c4a83d, #6e5c14); border-color: #ffe9a0; }
.house-stick { background: linear-gradient(#9a6a34, #4e320f); border-color: #d8ae7a; }
.house-brick { background: linear-gradient(#b04030, #5e1a0e); border-color: #ff9c8a; }
.house-mansion { background: linear-gradient(#7a44b8, #3a1a6e); border-color: #d9a0ff; box-shadow: 0 0 12px rgba(190,110,255,.6); }
.house-val { font-weight: bold; font-size: 15px; color: #fff; text-shadow: 0 1px 2px #000; }
.house-tier { font-size: 7.5px; letter-spacing: 1.5px; color: rgba(255,255,255,.75); font-weight: bold; }
.house-tag .house-val { color: #ffc9ec; font-size: 13px; }
.house-hat { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 16px; z-index: 3; }
.house-hat i { font-style: normal; font-family: Arial, sans-serif; font-size: 9px; font-weight: bold; background: #fff; color: #333; border-radius: 6px; padding: 0 3px; vertical-align: top; }
.house-hat.hat-top { font-size: 20px; }
.house-hat.hat-mega { font-size: 18px; }
.house-disc.upgraded { animation: houseup .6s 2 alternate; }
@keyframes houseup { from { transform: scale(1); filter: brightness(1); } to { transform: scale(1.12); filter: brightness(1.8); } }
#wolfOverlay { position: fixed; inset: 0; background: rgba(10,10,20,.82); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 60; }
.wolf-face { font-size: 130px; animation: wolfbreath 1.6s; }
@keyframes wolfbreath { 0% { transform: scale(.6); } 40% { transform: scale(1.5); } 55% { transform: scale(1.35); } 100% { transform: scale(2.4); opacity: .2; } }
.wolf-text { font-family: Georgia, serif; font-size: 30px; letter-spacing: 4px; color: #ffb36e; text-shadow: 0 0 20px rgba(255,150,60,.8); }
body.shake { animation: bodyshake .5s 3; }
@keyframes bodyshake { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-7px,3px); } 50% { transform: translate(6px,-4px); } 75% { transform: translate(-4px,-3px); } }
.wheel-win { font-size: 34px !important; color: #ffe9a0 !important; font-family: Georgia, serif; letter-spacing: 3px; min-height: 44px; }
.wheel-landed { animation: pop .4s; color: #6ee08a !important; text-shadow: 0 0 20px rgba(88,208,104,.8); }

/* lobby */
#lobby { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 40px 20px; }
#lobby h1 { font-size: 42px; letter-spacing: 6px; color: var(--gold-bright); text-shadow: 0 4px 18px rgba(0,0,0,.8); margin: 10px 0 0; }
#lobby .tagline { color: #9b8a55; letter-spacing: 3px; font-size: 13px; }
.game-cards { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.game-card { width: 260px; background: linear-gradient(#123a23, #0c2b19); border: 2px solid var(--gold); border-radius: 14px; padding: 22px; text-align: center; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.game-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.6); }
.game-card .gc-icon { font-size: 52px; }
.game-card h2 { color: var(--gold-bright); letter-spacing: 3px; font-size: 19px; margin: 10px 0 6px; }
.game-card p { font-size: 12.5px; color: #b8ab7a; line-height: 1.5; margin: 0; }
.game-card.soon { opacity: .45; pointer-events: none; }

@media (max-width: 980px) {
  #statsRow { grid-template-columns: 1fr; }
  #rTop { grid-template-columns: 1fr; }
  #domeWrap { grid-template-columns: 1fr; }
  .side-col { flex-direction: row; flex-wrap: wrap; }
  .side-col .panel { flex: 1; min-width: 150px; }
}
