

.table-container.dice-table {
	margin: 40px 0 0;
	/*text-align: center;*/
}

.table-container.dice-table .table-column {
	padding-left: 40px !important;
}

.table-container.dice-table .table-row {
	border-bottom: 0;	
}

.table-container.dice-table .table-body .table-row {
	padding: 10px 0;
}

.table-container.dice-table .table-row i {
	color: #ffc34c;
	margin-left: 3px;
}

.table-container.dice-table .table-row:nth-child(even) {
	/*border-bottom: 0;*/
	background: var(--site-color-bg-dark);
}

.table-container.dice-table .table-header {
	background: var(--site-color-bg-light);
	border: 0;
	color: #596076;
}

.table-container.dice-table .table-body {
	/*x*/
}

.table-container.dice-table .avatar {
	border-width: 2px;
	margin-right: 5px;
}

.mines-game-layout #minesweeper_cashout.hidden { display: none !important; }

/* =========================================
   WHEEL GAME (base layout, shared with LIMBO)
   ========================================= */
.wheel-game-layout {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    min-height: 520px;
    margin-bottom: 24px;
}

/* ── Left panel ── */
.wheel-controls {
    width: clamp(260px, 28vw, 340px);
    min-width: 240px;
    background: #3b274f;
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}
.wheel-segment { display: flex; flex-direction: column; gap: 6px; }
.wheel-label { font-size: 14px; color: #dbdbdb; font-weight: 400; }
.wheel-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 10px 12px;
    box-sizing: border-box;
}
.wheel-input-icon { color: #acacac; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.wheel-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    outline: none;
    padding: 0;
}
.wheel-chips { display: flex; gap: 4px; flex-shrink: 0; }
.wheel-chip {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 4px;
    color: #acacac;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.wheel-chip:hover { background: rgba(255,255,255,0.08); color: #fff; }

.wheel-risk-row { display: flex; gap: 6px; }
.wheel-risk-btn {
    flex: 1;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 6px;
    color: #acacac;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.wheel-risk-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.wheel-risk-btn.active { background: #8d3bde; border-color: #8d3bde; color: #fff; }

.wheel-btn-place {
    width: 100%;
    height: 52px;
    background: #8d3bde;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0;
    flex-shrink: 0;
}
.wheel-btn-place:hover { background: #7c2fcf; }
.wheel-btn-place.win     { background: #09b95b !important; }
.wheel-btn-place.lose    { background: #e84040 !important; }
.wheel-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }

/* ── Right panel ── */
.wheel-stage {
    flex: 1;
    background: #2b2333;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.wheel-header {
    background: #3b274f;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    flex-shrink: 0;
}
.wheel-header-left { display: flex; align-items: center; gap: 8px; }
.wheel-header-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.wheel-header-title { font-size: 15px; font-weight: 600; color: #fff; }
.wheel-info-icon { color: rgba(255,255,255,0.35); font-size: 14px; cursor: default; }

/* ── Display area ── */
.wheel-display-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 32px;
    gap: 28px;
}

/* Dial */
.wheel-dial-outer { position: relative; width: min(70vw,260px); height: min(70vw,260px); }
.wheel-pointer { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 4; color: #09b95b; font-size: 30px; line-height: 1; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.wheel-dial { position: relative; width: 100%; height: 100%; border-radius: 50%; transition: transform 3.2s cubic-bezier(.17,.67,.32,1.02); }
.wheel-dial-face { position: absolute; inset: 0; border-radius: 50%; border: 4px solid rgba(255,255,255,0.14); box-shadow: 0 0 0 6px rgba(0,0,0,.25), inset 0 0 30px rgba(0,0,0,.35); }
.wheel-dial-labels { position: absolute; inset: 0; }
.wheel-dial-labels span { position: absolute; font-size: 12px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); white-space: nowrap; }
.wheel-dial-hub { position: absolute; top: 50%; left: 50%; width: 18%; height: 18%; transform: translate(-50%,-50%); border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.18), 0 4px 10px rgba(0,0,0,.4); }
.wheel-seg-zero { fill: #3a3048; }
.wheel-seg-low  { fill: #8d3bde; }
.wheel-seg-high { fill: #e07be0; }
.wheel-seg-top  { fill: #09b95b; }

.wheel-result-block { display: flex; flex-direction: column; align-items: center; }
.wheel-big-num {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition: color 0.25s;
}
.wheel-big-num.win  { color: #09b95b; }
.wheel-big-num.lose { color: #e84040; }

/* Stats card */
.wheel-stats-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 18px 20px;
    width: 100%;
    max-width: 540px;
    box-sizing: border-box;
}
.wheel-stats-row { display: flex; gap: 8px; }
.wheel-stat { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wheel-stat-inp {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    width: 100%;
}
.wheel-stat-label { font-size: 12px; color: rgba(255,255,255,0.4); }

/* Override style.css absolute positioning on #wheel_bet */
.wheel-game-layout #wheel_bet {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    background: #8d3bde !important;
    background-image: none !important;
    height: 52px !important;
    width: 100% !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    border: none !important;
}
.wheel-game-layout #wheel_bet:hover    { background: #7c2fcf !important; }
.wheel-game-layout #wheel_bet.win      { background: #09b95b !important; }
.wheel-game-layout #wheel_bet.lose     { background: #e84040 !important; }
.wheel-game-layout #wheel_bet.disabled { opacity: 0.55; cursor: not-allowed; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .wheel-controls { width: 280px; min-width: 220px; }}

@media (max-width: 768px), (pointer: coarse) and (max-width: 1199px) and (max-height: 600px) and (orientation: landscape) {
    .wheel-game-layout { flex-direction: column; min-height: unset; }
    .wheel-stage { order: 1; }
    .wheel-controls  { order: 2; width: 100%; min-width: unset; flex-direction: column-reverse; }
    .wheel-display-area { padding: 24px 16px; gap: 20px; }
    .wheel-stats-card { max-width: 100%; }}

@media (max-width: 480px) {
    .wheel-stat-inp { font-size: 16px !important; }}
.hilo-btn-place.hidden,
.hilo-btn-cashout.hidden { display: none; }
.bj-btn-place.hidden { display: none; }
.bj-actions.hidden { display: none; }
.bcr-side.active { border-color: #8d3bde; background: rgba(141,59,222,0.18); }
.dt-page #dt_side_dragon:hover,.dt-page #dt_side_dragon.active { border-color: rgba(255,107,107,.5); background: linear-gradient(145deg,rgba(210,58,58,.24),rgba(75,20,20,.24)); }
.dt-page #dt_side_tie:hover,.dt-page #dt_side_tie.active { border-color: rgba(244,201,93,.5); background: linear-gradient(145deg,rgba(173,126,30,.22),rgba(71,51,15,.24)); }
.dt-page #dt_side_tiger:hover,.dt-page #dt_side_tiger.active { border-color: rgba(244,150,60,.5); background: linear-gradient(145deg,rgba(186,109,45,.22),rgba(74,42,18,.24)); }
.dt-page #dt_side_dragon.active .dt-side-pays { color: #ff8f8f; }
.dt-page #dt_side_tie.active .dt-side-pays { color: #f4c95d; }
.dt-page #dt_side_tiger.active .dt-side-pays { color: #ffb066; }
.dt-page .dt-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.dt-page .dt-history .table-header { background: rgba(255,255,255,.025); }
.ck-btn-place.hidden { display: none; }
.ck-actions.hidden { display: none; }
.cf-btn-place.hidden { display: none; }
.cf-actions.hidden { display: none; }
.av-btn-place.hidden { display: none; }
.av-speed-btn.active {
    background: rgba(242,181,60,0.16);
    border-color: rgba(242,181,60,0.5);
    color: #f2b53c;
}
.av-splash.hidden { display: none; }
.av-celebration.hidden { display: none; }
.av-stall-warning.hidden { display: none; }
.pk-page .hidden { display: none !important; }
.rl-history.hidden { display: none !important; }
.cr-btn-cashout.hidden { display: none !important; }
.cr-btn-next.hidden { display:none !important; }
.tw-btn-cashout.hidden { display: none !important; }
.pk-risk-btn.active { background: #8d3bde; color: #fff; }
.sl-demo-banner.hidden { display: none; }

/* Compact (tablet + mobile) layout. The sidebar collapses to a drawer at
   1024px, so the responsive tables switch to the compact grid here too. */
@media (max-width: 1024px) {

    .dice-history .table-row {
        grid-template-columns: minmax(0, 1.35fr) minmax(68px, 0.75fr) minmax(54px, 0.6fr) minmax(76px, 0.85fr);
    }

    .dice-history .table-row > .table-column:nth-child(4),
    .dice-history .table-row > .table-column:nth-child(5) {
        display: none;
    }}
.hilo-page .hilo-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.hilo-page .hilo-history .table-header { background: rgba(255,255,255,.025); }
.dice-page .dice-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.dice-page .dice-history .table-header { background: rgba(255,255,255,.025); }
.limbo-page .limbo-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.limbo-page .limbo-history .table-header { background: rgba(255,255,255,.025); }

/* =========================================
   WHEEL GAME (polished page wrapper)
   ========================================= */
.wheel-page { max-width: 1240px; margin: 0 auto; padding: 24px 22px 42px; box-sizing: border-box; text-align: left; }
.wheel-page-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.wheel-page-identity { display: flex; align-items: center; gap: 12px; }
.wheel-page-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(171,120,255,.3); border-radius: 14px; background: linear-gradient(145deg,rgba(132,71,234,.26),rgba(43,22,76,.52)); box-shadow: inset 0 1px rgba(255,255,255,.08),0 12px 25px rgba(10,5,22,.24); }
.wheel-page-icon img { width: 25px; height: 25px !important; object-fit: contain; }
.wheel-page-kicker { display: block; margin-bottom: 2px; color: #8d829a; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wheel-page-identity h1 { margin: 0; color: #fff; font-size: 24px; line-height: 1.1; letter-spacing: -.025em; }
.wheel-page-actions { display: flex; align-items: center; gap: 8px; }
.wheel-how-button,.wheel-top-fair { display: inline-flex; height: 36px; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.035); color: #aaa2b4; font: 700 11px/1 Arial,sans-serif; text-decoration: none; box-sizing: border-box; }
.wheel-how-button { cursor: pointer; }
.wheel-how-button:hover,.wheel-top-fair:hover { border-color: rgba(163,108,255,.32); background: rgba(135,74,232,.1); color: #fff; }
.wheel-top-fair i { color: #f4c95d; }
.wheel-page .wheel-game-layout { min-height: 555px; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.075); border-radius: 20px; background: #110d1c; box-shadow: 0 24px 65px rgba(5,2,14,.34),inset 0 1px rgba(255,255,255,.035); }
.wheel-page .wheel-controls { width: clamp(290px,26vw,330px); min-width: 290px; gap: 18px; padding: 22px; border-right: 1px solid rgba(255,255,255,.07); background: radial-gradient(circle at 20% 0,rgba(132,70,224,.15),transparent 34%),linear-gradient(165deg,#21172f,#16101f 72%); box-sizing: border-box; }
.wheel-control-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.065); }
.wheel-control-head > div span { display: block; margin-bottom: 3px; color: #857b8e; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wheel-control-head > div strong { color: #f5f1f8; font-size: 15px; }
.wheel-control-balance { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid rgba(244,201,93,.14); border-radius: 9px; background: rgba(244,201,93,.055); color: #d9ccaa; font-size: 11px; }
.wheel-control-balance i,.wheel-page .wheel-input-icon { color: #f4c95d; }
.wheel-page .wheel-label { color: #a79ead; font-size: 11px; font-weight: 700; }
.wheel-page .wheel-input-row { min-height: 58px; padding: 8px 10px 8px 14px; border-color: rgba(171,122,255,.24); border-radius: 12px; background: rgba(6,4,12,.43); transition: border-color .2s,box-shadow .2s; }
.wheel-page .wheel-input-row:focus-within { border-color: #8952e2; box-shadow: 0 0 0 3px rgba(132,72,226,.12); }
.wheel-page .wheel-input { font-size: 18px; font-weight: 750; }
.wheel-page .wheel-chips { gap: 5px; }
.wheel-page .wheel-chip { min-width: 36px; height: 31px; padding: 0 7px; border-color: rgba(255,255,255,.075); border-radius: 8px; background: rgba(255,255,255,.045); color: #958b9e; font-size: 10px; }
.wheel-page .wheel-chip:hover { border-color: rgba(159,104,248,.38); background: rgba(130,69,226,.14); }
.wheel-page .wheel-risk-btn { height:42px;border-radius:10px;background:rgba(255,255,255,.035); }
.wheel-page[data-wheel-risk="low"] .wheel-risk-btn[data-risk="low"] { border-color:#9b68e6;background:linear-gradient(135deg,#6937a8,#8b52cf);box-shadow:0 8px 18px rgba(112,60,175,.2); }
.wheel-page[data-wheel-risk="medium"] .wheel-risk-btn[data-risk="medium"] { border-color:#e0b957;background:linear-gradient(135deg,#826226,#bd9138);box-shadow:0 8px 18px rgba(180,132,43,.18); }
.wheel-page[data-wheel-risk="high"] .wheel-risk-btn[data-risk="high"] { border-color:#e15b82;background:linear-gradient(135deg,#8f294c,#cb436c);box-shadow:0 8px 18px rgba(185,46,88,.2); }
.wheel-page .wheel-game-layout #wheel_bet { min-height: 52px; height: 52px !important; border-radius: 12px !important; background: linear-gradient(135deg,#7635db,#a254ef) !important; font-size: 14px !important; font-weight: 800; box-shadow: 0 14px 28px rgba(92,40,177,.24),inset 0 1px rgba(255,255,255,.16); }
.wheel-page .wheel-game-layout #wheel_bet:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7) !important; }
.wheel-page .wheel-game-layout #wheel_bet.win { background: linear-gradient(135deg,#12a965,#43d88d) !important; }
.wheel-page .wheel-game-layout #wheel_bet.lose { background: linear-gradient(135deg,#c62f4b,#ff667a) !important; }
.wheel-risk-note { display: flex; align-items: flex-start; gap: 7px; margin: auto 0 0; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.055); color: #756b7d; font-size: 10px; line-height: 1.5; }
.wheel-risk-note i { margin-top: 2px; color: #8e6fc1; }
.wheel-page .wheel-stage { position: relative; background: radial-gradient(circle at 50% 42%,rgba(108,52,180,.2),transparent 39%),linear-gradient(145deg,#100b1b,#0b0813); }
.wheel-page .wheel-header { position: relative; z-index: 2; min-height: 57px; padding: 0 20px; border-bottom-color: rgba(255,255,255,.06); background: rgba(25,18,36,.82); }
.wheel-page .wheel-header-icon { width: 22px; height: 22px; }
.wheel-page .wheel-header-title { font-size: 14px; }
.wheel-page .wheel-info-icon { display: none; }
.wheel-round-state { display: inline-flex; align-items: center; gap: 8px; color: #89808f; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.wheel-round-state i { width: 7px; height: 7px; border-radius: 50%; background: #a871ff; box-shadow: 0 0 0 4px rgba(168,113,255,.1),0 0 12px rgba(168,113,255,.45); }
.wheel-page .wheel-display-area { position: relative; z-index: 1; padding: 27px 24px 31px; gap: 22px; }
.wheel-page .wheel-dial-outer { width: min(58vw,240px); height: min(58vw,240px); }
.wheel-page .wheel-big-num { position: relative; color: #f4eff9; font-family: "Arial Black",Arial,sans-serif; font-size: clamp(28px,4vw,36px); font-variant-numeric: tabular-nums; font-weight: 900; letter-spacing: -.03em; text-shadow: 0 4px 16px rgba(0,0,0,.5); transition: color .2s,text-shadow .2s; }
.wheel-page .wheel-big-num.win { color: #54df9d; text-shadow: 0 4px 16px rgba(0,0,0,.5),0 0 24px rgba(67,216,141,.4); }
.wheel-page .wheel-big-num.lose { color: #ff667a; text-shadow: 0 4px 16px rgba(0,0,0,.5),0 0 24px rgba(255,82,110,.35); }
.wheel-page .wheel-display-area::before { content:'';position:absolute;left:50%;top:44%;width:min(72vw,430px);height:min(72vw,430px);border:1px solid rgba(169,112,255,.07);border-radius:50%;box-shadow:0 0 0 35px rgba(137,77,217,.025),0 0 0 70px rgba(137,77,217,.015);transform:translate(-50%,-50%);pointer-events:none; }
.wheel-page .wheel-dial-outer { width:min(62vw,282px);height:min(62vw,282px);padding:12px;border:1px solid rgba(234,199,116,.22);border-radius:50%;background:linear-gradient(145deg,#2c2138,#0d0914 72%);box-shadow:0 26px 55px rgba(0,0,0,.48),0 0 0 5px rgba(103,59,155,.11),inset 0 1px rgba(255,255,255,.09);box-sizing:border-box; }
.wheel-page .wheel-dial-outer::before { content:'';position:absolute;inset:5px;border:1px dashed rgba(238,201,112,.2);border-radius:50%;pointer-events:none; }
.wheel-page .wheel-pointer { top:-15px;z-index:8;width:42px;height:45px;display:grid;place-items:center;color:#f4c95d;border:1px solid rgba(244,201,93,.34);border-radius:13px 13px 18px 18px;background:linear-gradient(180deg,#332541,#17101f);font-size:27px;text-shadow:0 3px 8px #000;box-shadow:0 10px 24px rgba(0,0,0,.42),0 0 18px rgba(244,201,93,.12); }
.wheel-page .wheel-dial { filter:drop-shadow(0 12px 18px rgba(0,0,0,.38)); }
.wheel-page .wheel-dial-face { border:3px solid rgba(238,218,255,.24);box-shadow:inset 0 0 28px rgba(0,0,0,.48),inset 0 0 0 3px rgba(255,255,255,.035),0 0 0 2px #0c0912; }
.wheel-page .wheel-dial-labels span { color:#fff9ff;font-size:11px;font-weight:900;letter-spacing:-.02em;text-shadow:0 2px 5px rgba(0,0,0,.85); }
.wheel-page .wheel-dial-hub { width:25%;height:25%;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid rgba(244,201,93,.5);background:radial-gradient(circle at 35% 25%,#6f438f,#24162f 58%,#100a17);box-shadow:0 0 0 5px rgba(9,6,13,.5),0 8px 20px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.18); }
.wheel-page .wheel-dial-hub span { color:#f6d77e;font-family:var(--site-font-display);font-size:22px;font-weight:950;line-height:.9;text-shadow:0 3px 8px rgba(0,0,0,.5); }
.wheel-page .wheel-dial-hub small { margin-top:4px;color:#c9b5d4;font-size:6px;font-weight:900;letter-spacing:.13em; }
.wheel-page .wheel-pointer { transform-origin:50% 15%; }
.wheel-page .wheel-pointer.wheel-pointer-hit { animation:wheel-pointer-edge-hit .13s cubic-bezier(.2,.75,.35,1); }
.wheel-page .wheel-result-block { min-width:190px;padding:10px 25px 11px;border:1px solid rgba(255,255,255,.065);border-radius:13px;background:linear-gradient(145deg,rgba(35,24,48,.74),rgba(10,7,15,.65));box-shadow:inset 0 1px rgba(255,255,255,.035); }
.wheel-result-kicker { margin-bottom:4px;color:#756b7e;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase; }
.wheel-page .wheel-result-block small { margin-top:4px;color:#7f7487;font-size:9px;font-weight:700; }
.wheel-page .wheel-big-num.partial { color:#f4c95d;text-shadow:0 0 22px rgba(244,201,93,.35); }
.wheel-page .wheel-big-num.neutral { color:#bf94ff;text-shadow:0 0 22px rgba(177,121,255,.3); }
.wheel-page.is-spinning .wheel-round-state i { background:#f4c95d;animation:wheel-state-pulse .65s ease-in-out infinite alternate; }
.wheel-page .wheel-stats-card { width: min(100%,620px); max-width: none; padding: 0; overflow: hidden; border-color: rgba(255,255,255,.07); border-radius: 15px; background: linear-gradient(145deg,rgba(28,20,40,.78),rgba(10,7,16,.7)); box-shadow: 0 15px 30px rgba(3,1,8,.2),inset 0 1px rgba(255,255,255,.035); }
.wheel-page .wheel-stats-row { gap: 0; }
.wheel-page .wheel-stat { min-height: 76px; justify-content: center; padding: 12px 16px; }
.wheel-page .wheel-stat + .wheel-stat { border-left: 1px solid rgba(255,255,255,.06); }
.wheel-page .wheel-stat-inp { color: #f1ebf5; font-size: 19px; font-variant-numeric: tabular-nums; }
.wheel-page .wheel-stat:first-child .wheel-stat-inp { color: #bf94ff; }
.wheel-page .wheel-stat:nth-child(2) .wheel-stat-inp { color: #55dca0; }
.wheel-page .wheel-stat:last-child .wheel-stat-inp { color: #f4c95d; }
.wheel-page .wheel-stat-label { color: #706777; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.wheel-page .wheel-history { overflow: hidden; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; background: linear-gradient(145deg,rgba(29,21,40,.9),rgba(16,12,24,.94)); box-shadow: 0 15px 35px rgba(5,2,12,.2); }
.wheel-history-title { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid rgba(255,255,255,.055); }
.wheel-history-title span { display: block; margin-bottom: 2px; color: #786f80; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wheel-history-title h2 { margin: 0; color: #f1edf4; font-size: 14px; }
.wheel-history-title > i { color: #74539f; }
.wheel-page .wheel-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.wheel-page .wheel-history .table-header { background: rgba(255,255,255,.025); }
@media (max-width: 900px) {
    .wheel-page .wheel-controls { width: 280px; min-width: 250px; padding: 18px; }}
@media (max-width: 768px), (pointer: coarse) and (max-width: 1199px) and (max-height: 600px) and (orientation: landscape) {
    .wheel-page { padding: 16px 12px 34px; }
    .wheel-how-button { width: 36px; padding: 0; justify-content: center; font-size: 0; }
    .wheel-how-button i { font-size: 13px; }
    .wheel-page .wheel-game-layout { flex-direction: column; min-height: 0; border-radius: 16px; }
    .wheel-page .wheel-stage { order: 1; }
    .wheel-page .wheel-controls { order: 2; width: 100%; min-width: 0; flex-direction: column; border-top: 1px solid rgba(255,255,255,.07); border-right: 0; }
    .wheel-page .wheel-dial-outer { width: 210px; height: 210px; }}
@media (max-width: 480px) {
    .wheel-page-icon { width: 40px; height: 40px; border-radius: 12px; }
    .wheel-page-identity h1 { font-size: 20px; }
    .wheel-top-fair { width: 36px; padding: 0; justify-content: center; font-size: 0; }
    .wheel-top-fair i { font-size: 13px; }
    .wheel-page .wheel-display-area { padding: 20px 10px; }
    .wheel-page .wheel-dial-outer { width: 180px; height: 180px; }
    .wheel-page .wheel-stats-row { display: grid; grid-template-columns: 1fr 1fr; }
    .wheel-page .wheel-stat:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.06); border-left: 0; }
    .wheel-page .wheel-input-row { flex-wrap: wrap; }
    .wheel-page .wheel-chips { width: 100%; }
    .wheel-page .wheel-chip { flex: 1; }
    .wheel-control-head { align-items: flex-start; }}.rps-page .rps-move:hover:before,.rps-page .rps-move.active:before{opacity:.5;transform:scale(1.4)}.rps-page #rps_move_rock.active{border-color:rgba(168,115,239,.62)!important;box-shadow:inset 0 0 22px rgba(139,77,218,.16),0 8px 20px rgba(50,24,84,.2)}.rps-page #rps_move_rock.active i{color:#b989f5}.rps-page #rps_move_paper.active{border-color:rgba(95,209,207,.55)!important;box-shadow:inset 0 0 22px rgba(63,181,179,.13),0 8px 20px rgba(22,77,76,.18)}.rps-page #rps_move_paper.active i{color:#69d9d5}.rps-page #rps_move_scissors.active{border-color:rgba(244,201,93,.55)!important;box-shadow:inset 0 0 22px rgba(214,166,56,.13),0 8px 20px rgba(85,61,18,.18)}.rps-page #rps_move_scissors.active i{color:#f4d171}
.bj-page .bj-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.bj-page .bj-history .table-header { background: rgba(255,255,255,.025); }
.bcr-page #bcr_side_player:hover,.bcr-page #bcr_side_player.active { border-color: rgba(106,148,255,.5); background: linear-gradient(145deg,rgba(50,93,202,.24),rgba(21,36,81,.24)); }
.bcr-page #bcr_side_tie:hover,.bcr-page #bcr_side_tie.active { border-color: rgba(244,201,93,.5); background: linear-gradient(145deg,rgba(173,126,30,.22),rgba(71,51,15,.24)); }
.bcr-page #bcr_side_banker:hover,.bcr-page #bcr_side_banker.active { border-color: rgba(244,92,122,.5); background: linear-gradient(145deg,rgba(186,45,78,.22),rgba(74,18,36,.24)); }
.bcr-page #bcr_side_player.active .bcr-side-pays { color: #82a6ff; }
.bcr-page #bcr_side_tie.active .bcr-side-pays { color: #f4c95d; }
.bcr-page #bcr_side_banker.active .bcr-side-pays { color: #ff7892; }
.bcr-page .bcr-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.bcr-page .bcr-history .table-header { background: rgba(255,255,255,.025); }
.rps-page .rps-move.active { border-color: rgba(40,199,160,.55); background: linear-gradient(145deg,rgba(24,164,131,.24),rgba(12,68,55,.24)); }
.rps-page .rps-move.active i { color: #28C7A0; }
.rps-page .rps-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.rps-page .rps-history .table-header { background: rgba(255,255,255,.025); }
.kn-page .kn-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.kn-page .kn-history .table-header { background: rgba(255,255,255,.025); }
.ck-page .ck-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.ck-page .ck-history .table-header { background: rgba(255,255,255,.025); }
.cf-page .cf-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.cf-page .cf-history .table-header { background: rgba(255,255,255,.025); }
.minesweeper-page .mines-grid-btn.active { background: linear-gradient(135deg,#7134c9,#9a55e5); color: #fff; box-shadow: 0 6px 13px rgba(91,40,167,.22),inset 0 1px rgba(255,255,255,.14); }
.minesweeper-page .minesweeper-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.minesweeper-page .minesweeper-history .table-header { background: rgba(255,255,255,.025); }
.tw-page .tw-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.tw-page .tw-history .table-header { background: rgba(255,255,255,.025); }
.poker-page .pk-away-badge.hidden { display:none!important; }
.pk-share-sheet.hidden { display:none!important; }
.plinko-page .pk-risk-btn[data-color="green"].active { border-color: rgba(69,213,151,.45) !important; background: linear-gradient(145deg,rgba(36,171,111,.32),rgba(25,105,75,.18)); color: #63e1a6; box-shadow: inset 0 0 16px rgba(35,199,126,.08); }
.plinko-page .pk-risk-btn[data-color="orange"].active { border-color: rgba(239,177,75,.45) !important; background: linear-gradient(145deg,rgba(210,133,42,.32),rgba(118,69,23,.18)); color: #ffc66d; box-shadow: inset 0 0 16px rgba(232,154,46,.08); }
.plinko-page .pk-risk-btn[data-color="red"].active { border-color: rgba(237,86,96,.45) !important; background: linear-gradient(145deg,rgba(197,52,64,.34),rgba(110,28,37,.18)); color: #ff7b85; box-shadow: inset 0 0 16px rgba(226,67,79,.08); }
.plinko-page .pk-history .table-tabs { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(255,255,255,.018); }
.plinko-page .pk-history .table-tab-btn { border-radius: 8px; }
.plinko-page .pk-history .table-header { background: rgba(255,255,255,.025); }
.plinko-page .pk-history .table-body .table-row { border-color: rgba(255,255,255,.045); }
.av-page .av-speed-btn.active { border-color:rgba(168,113,255,.45);background:linear-gradient(145deg,rgba(126,61,211,.32),rgba(69,31,118,.24));color:#c99fff;box-shadow:inset 0 0 16px rgba(155,91,235,.08); }
.av-page .av-history .table-tabs { padding:8px 12px;background:rgba(5,3,10,.18); }
.av-page .av-history .table-header { background:rgba(255,255,255,.025); }
.poker-page .pk-preactions,.poker-page .pk-preactions.hidden { min-width:278px;display:flex!important;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:nowrap; }
.poker-page .pk-preaction-btn.hidden { display:inline-flex!important;align-items:center;justify-content:center; }
.poker-page .pk-preaction-btn.active { border-color:#b47aff;background:linear-gradient(135deg,rgba(133,75,219,.7),rgba(82,43,145,.72));color:#fff;box-shadow:0 0 14px rgba(166,105,255,.22); }
.poker-page .pk-run-it-modal.hidden { display:none; }
.dt-page--duel .dt-side.active::after { opacity:.75; }
#dt_side_dragon.active .dt-side-emblem { border-color:rgba(244,178,74,.38); color:#f4ba58; box-shadow:0 0 18px rgba(229,153,48,.15); }
#dt_side_tie.active .dt-side-emblem { border-color:rgba(244,201,93,.35); color:#f4d273; }
#dt_side_tiger.active .dt-side-emblem { border-color:rgba(174,112,255,.42); color:#c99dff; box-shadow:0 0 18px rgba(147,77,235,.17); }
.dt-page--duel #dt_side_dragon:hover,.dt-page--duel #dt_side_dragon.active { border-color:rgba(237,174,65,.48); background:linear-gradient(145deg,rgba(142,87,23,.3),rgba(59,32,11,.28)); }
.dt-page--duel #dt_side_tiger:hover,.dt-page--duel #dt_side_tiger.active { border-color:rgba(164,97,250,.52); background:linear-gradient(145deg,rgba(103,48,174,.3),rgba(43,20,74,.3)); }
.dt-page--duel #dt_side_dragon.active .dt-side-pays { color:#f4c45d; }
.dt-page--duel #dt_side_tiger.active .dt-side-pays { color:#c99dff; }
.cb-page .hidden { display: none !important; }
.ft-page .hidden { display: none !important; }
.ft-public-title-icon > .fa { display: block; width: 1em; height: 1em; margin-top: 12px; font-size: 16px; line-height: 1; text-align: center; }

/* Coin Flip mobile game scene ------------------------------------------- */
@media (max-width:768px) and (orientation:portrait) {
    body.is-game-page .cf-page .cf-actions.hidden { display:none!important; }}

/* Chicken mobile game scene --------------------------------------------- */
@media (max-width:768px) and (orientation:portrait) {
    body.is-game-page .ck-page .ck-actions.hidden { display:none!important; }}

/* Blackjack mobile game scene ------------------------------------------- */
@media (max-width:768px) and (orientation:portrait) {
    body.is-game-page .bj-page .bj-actions.hidden { display:none!important; }}

/* Poker mobile table ---------------------------------------------------- */
@media (max-width:768px), (pointer:coarse) and (max-width:1199px) and (max-height:600px) and (orientation:landscape) {
    body.is-game-page .poker-page .pk-lobby.hidden { display:none!important; }
	body.is-game-page .poker-page .pk-runout-toggle button.active { border-color:rgba(193,137,250,.65)!important;background:linear-gradient(145deg,rgba(144,74,211,.45),rgba(87,42,139,.46))!important;color:#fff!important;box-shadow:0 0 0 1px rgba(193,137,250,.1),0 5px 12px rgba(72,29,111,.22)!important; }
    body.is-game-page .poker-page .pk-bottombar.hidden { display:none!important; }
    body.is-game-page .poker-page .pk-actions.hidden { display:none!important; }}

/* Wheel mobile game scene ---------------------------------------------- */
@media (max-width:768px) and (orientation:portrait) {
    body.is-game-page .wheel-page .wheel-game-layout {
        grid-template-rows:minmax(0,1fr) 176px!important;gap:6px!important;
    }
    body.is-game-page .wheel-page .wheel-stage {
        grid-row:1!important;order:1!important;padding:0!important;display:block!important;overflow:hidden!important;
    }
    body.is-game-page .wheel-page .wheel-header { display:none!important; }
    body.is-game-page .wheel-page .wheel-display-area {
        width:100%!important;height:100%!important;min-height:0!important;padding:8px!important;display:grid!important;
        grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) 42px 38px!important;gap:5px!important;justify-items:center!important;overflow:hidden!important;box-sizing:border-box!important;
    }
    body.is-game-page .wheel-page .wheel-display-area::before {
        top:43%!important;width:min(75vw,280px)!important;height:min(75vw,280px)!important;
    }
    body.is-game-page .wheel-page .wheel-dial-outer {
        grid-row:1!important;width:min(62vw,33dvh,240px)!important;height:min(62vw,33dvh,240px)!important;min-width:150px!important;min-height:150px!important;
        margin:auto!important;padding:8px!important;align-self:center!important;border-radius:50%!important;
    }
    body.is-game-page .wheel-page .wheel-pointer { top:-11px!important;width:34px!important;height:36px!important;border-radius:10px 10px 15px 15px!important;font-size:22px!important; }
    body.is-game-page .wheel-page .wheel-dial-labels span { font-size:clamp(7px,2.6vw,10px)!important; }
    body.is-game-page .wheel-page .wheel-dial-hub span { font-size:17px!important; }
    body.is-game-page .wheel-page .wheel-dial-hub small { margin-top:2px!important;font-size:5px!important; }
    body.is-game-page .wheel-page .wheel-result-block {
        grid-row:2!important;width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;margin:0!important;padding:3px 8px!important;
        display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:5px!important;border-radius:10px!important;box-sizing:border-box!important;
    }
    body.is-game-page .wheel-page .wheel-result-kicker { margin:0!important;font-size:6px!important;text-align:right!important; }
    body.is-game-page .wheel-page .wheel-big-num { font-size:24px!important;line-height:1!important; }
    body.is-game-page .wheel-page .wheel-result-block small { margin:0!important;overflow:hidden!important;font-size:7px!important;text-overflow:ellipsis!important;white-space:nowrap!important; }
    body.is-game-page .wheel-page .wheel-stats-card {
        grid-row:3!important;width:100%!important;height:38px!important;min-height:38px!important;margin:0!important;border-radius:10px!important;overflow:hidden!important;
    }
    body.is-game-page .wheel-page .wheel-stats-row { width:100%!important;height:38px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important; }
    body.is-game-page .wheel-page .wheel-stat,
    body.is-game-page .wheel-page .wheel-stat:last-child {
        grid-column:auto!important;min-height:38px!important;height:38px!important;padding:3px!important;border-top:0!important;border-left:1px solid rgba(255,255,255,.06)!important;
    }
    body.is-game-page .wheel-page .wheel-stat:first-child { border-left:0!important; }
    body.is-game-page .wheel-page .wheel-stat-inp { font-size:10px!important;line-height:1.1!important; }
    body.is-game-page .wheel-page .wheel-stat-inp span { font-size:7px!important; }
    body.is-game-page .wheel-page .wheel-stat-label { font-size:5px!important;line-height:1.1!important;text-align:center!important; }

    body.is-game-page .wheel-page .wheel-controls {
        grid-row:2!important;order:2!important;padding:7px!important;display:grid!important;grid-template-columns:1fr!important;
        grid-template-rows:56px 45px 55px!important;gap:5px!important;overflow:hidden!important;
    }
    body.is-game-page .wheel-page .wheel-control-head,
    body.is-game-page .wheel-page .wheel-risk-note { display:none!important; }
    body.is-game-page .wheel-page .wheel-game-layout #wheel_bet {
        grid-row:1!important;order:0!important;width:100%!important;height:56px!important;min-height:56px!important;margin:0!important;border-radius:12px!important;font-size:13px!important;
    }
    body.is-game-page .wheel-page .wheel-risk-segment { grid-row:2!important;margin:0!important;gap:3px!important;overflow:hidden!important; }
    body.is-game-page .wheel-page .wheel-risk-segment > .wheel-label { display:none!important; }
    body.is-game-page .wheel-page .wheel-risk-row { width:100%!important;height:45px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important; }
    body.is-game-page .wheel-page .wheel-risk-btn { width:100%!important;height:45px!important;min-height:45px!important;padding:0 4px!important;border-radius:10px!important;font-size:9px!important; }
    body.is-game-page .wheel-page .wheel-bet-segment { grid-row:3!important;margin:0!important;gap:3px!important;overflow:hidden!important; }
    body.is-game-page .wheel-page .wheel-label { margin:0!important;font-size:8px!important;line-height:1!important; }
    body.is-game-page .wheel-page .wheel-input-row { height:44px!important;min-height:44px!important;padding:4px 7px!important;flex-wrap:nowrap!important;gap:5px!important;overflow:hidden!important; }
    body.is-game-page .wheel-page .wheel-input { min-width:52px!important;font-size:16px!important; }
    body.is-game-page .wheel-page .wheel-chips { width:auto!important;margin:0!important;display:flex!important;flex:0 0 auto!important;gap:4px!important; }
    body.is-game-page .wheel-page .wheel-chip { width:50px!important;min-width:50px!important;height:34px!important;padding:0 4px!important;flex:0 0 50px!important;border-radius:8px!important;font-size:9px!important; }}

@media (max-width:350px) and (orientation:portrait) {
    body.is-game-page .wheel-page .wheel-game-layout { grid-template-rows:minmax(0,1fr) 168px!important; }
    body.is-game-page .wheel-page .wheel-controls { grid-template-rows:54px 42px 52px!important; }
    body.is-game-page .wheel-page .wheel-game-layout #wheel_bet { height:54px!important;min-height:54px!important; }
    body.is-game-page .wheel-page .wheel-risk-row,
    body.is-game-page .wheel-page .wheel-risk-btn { height:42px!important;min-height:42px!important; }
    body.is-game-page .wheel-page .wheel-input-row { height:41px!important;min-height:41px!important; }
    body.is-game-page .wheel-page .wheel-chip { width:44px!important;min-width:44px!important;height:31px!important;flex-basis:44px!important; }
    body.is-game-page .wheel-page .wheel-dial-outer { min-width:136px!important;min-height:136px!important; }}

@media (max-width:768px) and (orientation:landscape), (pointer:coarse) and (max-width:1199px) and (max-height:600px) and (orientation:landscape) {
    body.is-game-page .wheel-page .wheel-controls {
        grid-column:1!important;grid-row:1!important;order:1!important;padding:6px!important;display:grid!important;grid-template-columns:1fr!important;
        grid-template-rows:48px 42px 50px!important;align-content:center!important;gap:5px!important;overflow:hidden!important;
    }
    body.is-game-page .wheel-page .wheel-control-head,
    body.is-game-page .wheel-page .wheel-risk-note { display:none!important; }
    body.is-game-page .wheel-page .wheel-game-layout #wheel_bet { grid-row:1!important;height:48px!important;min-height:48px!important;margin:0!important;font-size:10px!important; }
    body.is-game-page .wheel-page .wheel-risk-segment { grid-row:2!important;margin:0!important;overflow:hidden!important; }
    body.is-game-page .wheel-page .wheel-risk-segment > .wheel-label { display:none!important; }
    body.is-game-page .wheel-page .wheel-risk-row,
    body.is-game-page .wheel-page .wheel-risk-btn { height:42px!important;min-height:42px!important; }
    body.is-game-page .wheel-page .wheel-risk-row { gap:3px!important; }
    body.is-game-page .wheel-page .wheel-risk-btn { padding:0 2px!important;font-size:7px!important; }
    body.is-game-page .wheel-page .wheel-bet-segment { grid-row:3!important;margin:0!important;gap:2px!important;overflow:hidden!important; }
    body.is-game-page .wheel-page .wheel-label { margin:0!important;font-size:7px!important; }
    body.is-game-page .wheel-page .wheel-input-row { height:40px!important;min-height:40px!important;padding:3px 5px!important;flex-wrap:nowrap!important;overflow:hidden!important; }
    body.is-game-page .wheel-page .wheel-input { min-width:38px!important;font-size:13px!important; }
    body.is-game-page .wheel-page .wheel-chips { width:auto!important;gap:2px!important; }
    body.is-game-page .wheel-page .wheel-chip { min-width:38px!important;height:29px!important;padding:0 2px!important;font-size:7px!important; }
    body.is-game-page .wheel-page .wheel-stage { grid-column:2!important;grid-row:1!important;order:2!important;padding:0!important;overflow:hidden!important; }
    body.is-game-page .wheel-page .wheel-header { display:none!important; }
    body.is-game-page .wheel-page .wheel-display-area { width:100%!important;height:100%!important;min-height:0!important;padding:5px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 130px!important;grid-template-rows:minmax(0,1fr) 38px!important;gap:4px!important;overflow:hidden!important;box-sizing:border-box!important; }
    body.is-game-page .wheel-page .wheel-dial-outer { grid-column:1!important;grid-row:1/3!important;width:min(46vh,220px)!important;height:min(46vh,220px)!important;margin:auto!important;padding:7px!important; }
    body.is-game-page .wheel-page .wheel-result-block { grid-column:2!important;grid-row:1!important;align-self:end!important;min-width:0!important;padding:5px!important; }
    body.is-game-page .wheel-page .wheel-big-num { font-size:23px!important; }
    body.is-game-page .wheel-page .wheel-stats-card { grid-column:2!important;grid-row:2!important;width:100%!important;height:38px!important;overflow:hidden!important; }
    body.is-game-page .wheel-page .wheel-stats-row { height:38px!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important; }
    body.is-game-page .wheel-page .wheel-stat { min-height:38px!important;height:38px!important;padding:2px!important; }
    body.is-game-page .wheel-page .wheel-stat-inp { font-size:8px!important; }
    body.is-game-page .wheel-page .wheel-stat-label { font-size:4px!important; }}

/* Case Battles mobile app ---------------------------------------------- */
@media (max-width:768px), (pointer:coarse) and (max-width:1199px) and (max-height:600px) and (orientation:landscape) {
    body.is-game-page .cb-page .cb-lobby.hidden { display:none!important; }
    body.is-game-page .cb-page .cb-room.hidden { display:none!important; }
    body.is-game-page .cb-page .cb-invite-join.hidden { display:none!important; }}

/* Aviamasters mobile flight scene -------------------------------------- */
@media (max-width:768px) and (orientation:portrait) {

    body.is-game-page .av-page .av-autobet-segment:has(.av-autobet-panel:not(.hidden)) {
        position:fixed!important;z-index:9500!important;right:max(8px,var(--mobile-safe-right,0px))!important;bottom:calc(var(--mobile-tabs-h,64px) + var(--mobile-safe-bottom,0px) + 8px)!important;
        left:max(8px,var(--mobile-safe-left,0px))!important;width:auto!important;height:auto!important;max-height:min(64dvh,470px)!important;padding:10px!important;
        display:flex!important;flex-direction:column!important;gap:8px!important;overflow-y:auto!important;border-color:rgba(178,112,235,.3)!important;border-radius:17px!important;
        background:linear-gradient(155deg,#21172e,#100d18 76%)!important;box-shadow:0 24px 70px rgba(0,0,0,.65)!important;
    }}

@media (max-width:768px) and (orientation:landscape), (pointer:coarse) and (max-width:1199px) and (max-height:600px) and (orientation:landscape) {
    body.is-game-page .av-page .av-autobet-segment:has(.av-autobet-panel:not(.hidden)) {
        position:fixed!important;z-index:9500!important;inset:8px!important;width:auto!important;height:auto!important;max-height:calc(100dvh - 16px)!important;padding:9px!important;
        display:flex!important;flex-direction:column!important;gap:6px!important;overflow-y:auto!important;border-radius:15px!important;background:linear-gradient(155deg,#21172e,#100d18 76%)!important;box-shadow:0 24px 70px rgba(0,0,0,.65)!important;
    }}
.bnz-history .table-container { background: #2b2333; }
.bnz-free-banner:not(.hidden) { animation:bnz-free-aura 1.65s ease-in-out infinite; }

/* Desktop: keep every primary game surface on the left and its controls on
   the right. Mobile layouts continue to stack the surface above the controls
   and retain their route-specific sizing. */
@media (min-width:769px) {
    .wheel-game-layout { flex-direction:row-reverse; }}

/* Selected bet, the total that came up, and the settled outcome. `won`/`lost`
   come straight from the server's multiplier -- the paytable is never
   re-derived here. */
.sc-page .sc-bet.active { border-color: rgba(163,108,255,.62); background: linear-gradient(145deg,rgba(132,71,234,.3),rgba(43,22,76,.4)); box-shadow: 0 0 0 3px rgba(132,72,226,.12),inset 0 1px rgba(255,255,255,.06); }
.sc-page .sc-bet.active .sc-bet-name,.sc-page .sc-bet.active .sc-bet-pays { color: #fff; }
.sc-page .sc-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.sc-page .sc-history .table-header { background: rgba(255,255,255,.025); }

/* ── Wheel ── */
/* The display area is a column flex box, so every child here needs
   flex-shrink:0. Without it the wheel and the felt are squeezed along the main
   axis whenever the column is shorter than its content -- which is exactly what
   the mobile breakpoints do when they drop min-height to 0, and it collapsed
   the felt to an 18px sliver. */
.er-wheel-wrap { display: flex; width: min(100%,760px); flex-shrink: 0; align-items: center; justify-content: center; gap: 26px; }
.er-wheel { width: 216px; height: 216px; flex-shrink: 0; filter: drop-shadow(0 18px 34px rgba(3,1,8,.45)); }
#er_wheel_rotor,#er_wheel_ball { transform-origin: 130px 130px; transition: transform 4.6s cubic-bezier(.16,.72,.13,1); }
.er-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.er-history .table-header { background: rgba(255,255,255,.025); }

@media (max-width: 1100px) {
    .er-wheel-wrap { flex-direction: column; gap: 16px; }}
@media (max-width: 768px), (pointer: coarse) and (max-width: 1199px) and (max-height: 600px) and (orientation: landscape) {
    .er-wheel { width: 176px; height: 176px; }}
@media (max-width: 540px) {
    .er-wheel { width: 148px; height: 148px; }}

/* European Roulette mobile game scene ------------------------------------ */
/* The shared shell (body.is-game-page) locks a game page to one viewport and
   turns -game-layout into a two-track grid, so the felt has to fit the space it
   is given rather than set its own height. The ≤540 rule above lets the felt
   scroll sideways at a 560px minimum -- inside this shell that would put a
   scrollbar in a pane that is not allowed to scroll, so it is unwound here and
   the whole felt scales to the width instead. */
@media (max-width:768px) and (orientation:portrait) {
    body.is-game-page .er-page .er-wheel-wrap {
        grid-row:1!important;width:100%!important;height:100%!important;flex-direction:row!important;gap:12px!important;
    }
    body.is-game-page .er-page .er-wheel { width:92px!important;height:92px!important; }}

@media (max-width:768px) and (orientation:landscape), (pointer:coarse) and (max-width:1199px) and (max-height:600px) and (orientation:landscape) {
    body.is-game-page .er-page .er-wheel-wrap { flex-direction:row!important;gap:10px!important;width:100%!important; }
    body.is-game-page .er-page .er-wheel { width:74px!important;height:74px!important; }}

/* Mobile roulette scenes --------------------------------------------------
   The shared mobile game shell has a deliberately generic 42/58 split. Both
   roulette games need more visual space, while their controls can be made
   much shorter. Keep scrolling inside the relevant panel instead of letting
   the entire app scene move underneath the bottom navigation. */
@media (max-width:768px), (pointer:coarse) and (max-width:1199px) and (max-height:600px) and (orientation:landscape) {
    body.is-game-page .er-page .er-wheel-wrap {
        width:100%!important;
        min-height:108px;
        flex:0 0 108px!important;
        flex-direction:row!important;
        gap:8px!important;
    }
    body.is-game-page .er-page .er-wheel {
        width:108px!important;
        height:108px!important;
    }}

@media (max-width:390px), (max-height:700px) {
    body.is-game-page .er-page .er-wheel-wrap {
        min-height:96px;
        flex-basis:96px!important;
    }
    body.is-game-page .er-page .er-wheel {
        width:94px!important;
        height:94px!important;
    }}

@media (orientation:landscape) and (max-height:600px) and (max-width:950px) {
    body.is-game-page .er-page .er-wheel-wrap {
        min-height:92px;
        flex-basis:92px!important;
    }
    body.is-game-page .er-page .er-wheel {
        width:90px!important;
        height:90px!important;
    }}
.nv-page .hidden { display: none !important; }
.nv-public-title-icon > .fa { display: block; width: 1em; height: 1em; margin-top: 12px; font-size: 16px; line-height: 1; text-align: center; }
.rv-page .hidden { display: none !important; }
.rv-public-title-icon > .fa { display: block; width: 1em; height: 1em; margin-top: 12px; font-size: 16px; line-height: 1; text-align: center; }
.bd-page .hidden { display: none !important; }
.bd-public-title-icon > .fa { display: block; width: 1em; height: 1em; margin-top: 12px; font-size: 16px; line-height: 1; text-align: center; }