

.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;
}
.wheel-risk-btn.active { background: #8d3bde; border-color: #8d3bde; color: #fff; }
.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); }
.av-speed-btn.active {
    background: rgba(242,181,60,0.16);
    border-color: rgba(242,181,60,0.5);
    color: #f2b53c;
}
.pk-risk-btn.active { background: #8d3bde; color: #fff; }

/* 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-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); }

/* RPS arena refresh */
.rps-page .rps-move small{color:#6f6676;font-size:7px;font-weight:700;white-space:nowrap}.rps-page .rps-stage{overflow:hidden;background:radial-gradient(circle at 50% 43%,rgba(119,64,183,.2),transparent 34%),linear-gradient(145deg,#100b1a,#08060e)!important}.rps-page .rps-stage:before{content:"";position:absolute;inset:57px 0 0;opacity:.5;background:linear-gradient(90deg,transparent 49.85%,rgba(244,201,93,.08) 50%,transparent 50.15%),radial-gradient(circle at center,transparent 0 24%,rgba(174,113,242,.08) 24.3% 24.7%,transparent 25%),radial-gradient(circle at center,transparent 0 43%,rgba(174,113,242,.045) 43.3% 43.6%,transparent 44%);pointer-events:none}.rps-page .rps-move{position:relative;overflow:hidden;min-height:92px!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(31,22,43,.78),rgba(9,7,14,.7))!important}.rps-page .rps-move:before{content:"";position:absolute;inset:auto 15% -30px;height:50px;border-radius:50%;opacity:.16;filter:blur(14px);transition:.2s}.rps-page #rps_move_rock:before{background:#a873ef}.rps-page #rps_move_paper:before{background:#5fd1cf}.rps-page #rps_move_scissors:before{background:#f4c95d}.rps-page .rps-move:hover:before,.rps-page .rps-move.active:before{opacity:.5;transform:scale(1.4)}.rps-page .rps-move i{position:relative;font-size:27px}.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}.rps-page .rps-btn-place{background:linear-gradient(135deg,#7135bd,#a55bea)!important;box-shadow:0 14px 28px rgba(96,44,164,.28),inset 0 1px rgba(255,255,255,.16)!important}.rps-page .rps-btn-place:hover:not(.disabled){background:linear-gradient(135deg,#8142ce,#b66af4)!important}.rps-page .rps-hand-block{position:relative;width:min(42%,250px);min-height:230px!important;border-color:rgba(177,117,235,.13)!important;border-radius:28px!important;background:radial-gradient(circle at 50% 42%,rgba(128,67,183,.18),rgba(8,6,12,.38) 66%)!important;box-shadow:inset 0 1px rgba(255,255,255,.035),0 20px 45px rgba(0,0,0,.2)}.rps-page .rps-hand-block:before{content:"";position:absolute;inset:18px;border:1px solid rgba(255,255,255,.035);border-radius:50%;pointer-events:none}.rps-page .rps-hand{width:120px;height:120px;min-height:120px;border:1px solid rgba(185,126,238,.14);border-radius:50%;background:linear-gradient(145deg,rgba(79,43,112,.45),rgba(12,8,18,.72));box-shadow:inset 0 0 28px rgba(0,0,0,.28),0 13px 30px rgba(0,0,0,.27)}.rps-page .rps-hand i{font-size:58px;color:#eadff0;text-shadow:0 7px 16px rgba(0,0,0,.45)}.rps-page #rps_house_hand{border-color:rgba(244,201,93,.14);background:linear-gradient(145deg,rgba(104,74,28,.3),rgba(12,8,18,.72))}.rps-page #rps_house_hand i{color:#efd382}.rps-page .rps-vs{width:58px;min-width:58px;height:58px;border-color:rgba(244,201,93,.28);background:radial-gradient(circle,#563d1e,#17100b 70%);color:#f4cf70;font-size:11px;box-shadow:0 0 0 8px rgba(244,201,93,.025),0 0 30px rgba(211,157,45,.1)}.rps-page .rps-hand-label{position:relative;z-index:2;border-color:rgba(179,117,238,.12);background:rgba(12,8,18,.7)}.rps-page .rps-hand-label i{color:#a879d0}.rps-page .rps-hint{min-width:min(90%,360px);min-height:38px;display:flex;align-items:center;justify-content:center;border-radius:12px;font-weight:800}.rps-page.is-playing .rps-hand i{animation:rps-hand-ready .28s ease-in-out infinite alternate}.rps-page.is-playing #rps_house_hand i{animation:rps-house-question .42s ease-in-out infinite alternate}.rps-page .rps-hand-block.rps-winner{border-color:rgba(244,201,93,.5)!important;box-shadow:inset 0 0 45px rgba(244,201,93,.1),0 0 34px rgba(225,172,57,.13)!important}.rps-page .rps-hand-block.rps-winner .rps-hand{border-color:rgba(244,201,93,.58);box-shadow:inset 0 0 28px rgba(244,201,93,.08),0 0 30px rgba(244,201,93,.18);animation:rps-winner-pop .45s cubic-bezier(.2,.8,.2,1)}.rps-page.is-requesting .rps-round-state i,.rps-page.is-playing .rps-round-state i{background:#f4c95d;animation:rps-state-pulse .65s ease-in-out infinite alternate}
@media(max-width:480px){.rps-page .rps-hands{flex-direction:row;gap:6px}.rps-page .rps-hand-block{width:calc((100% - 54px)/2);min-height:155px!important;padding:10px 4px}.rps-page .rps-hand{width:78px;height:78px;min-height:78px}.rps-page .rps-hand i{font-size:39px}.rps-page .rps-vs{width:42px;min-width:42px;height:42px}.rps-page .rps-move small{display:none}}
.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); }

/* =========================================
   ROCK PAPER SCISSORS UI
   ========================================= */
.rps-page { max-width: 1240px; margin: 0 auto; padding: 24px 22px 42px; box-sizing: border-box; text-align: left; }
.rps-page-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.rps-page-identity { display: flex; align-items: center; gap: 12px; }
.rps-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); }
.rps-page-icon img { width: 25px; height: 25px; object-fit: contain; }
.rps-page-kicker { display: block; margin-bottom: 2px; color: #8d829a; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rps-page-identity h1 { margin: 0; color: #fff; font-size: 24px; line-height: 1.1; letter-spacing: -.025em; }
.rps-page-actions { display: flex; align-items: center; gap: 8px; }
.rps-how-button,.rps-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; }
.rps-how-button { cursor: pointer; }
.rps-how-button:hover,.rps-top-fair:hover { border-color: rgba(163,108,255,.32); background: rgba(135,74,232,.1); color: #fff; }
.rps-top-fair i { color: #f4c95d; }
.rps-page .rps-game-layout { display: flex; min-height: 590px; margin-bottom: 18px; overflow: hidden; 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); }
.rps-page .rps-controls { display: flex; flex-direction: column; 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; }
.rps-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); }
.rps-control-head > div span { display: block; margin-bottom: 3px; color: #857b8e; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rps-control-head > div strong { color: #f5f1f8; font-size: 15px; }
.rps-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; }
.rps-control-balance i,.rps-page .rps-input-icon { color: #f4c95d; }
.rps-segment { display: flex; flex-direction: column; gap: 6px; }
.rps-page .rps-label { color: #a79ead; font-size: 11px; font-weight: 700; }
.rps-page .rps-input-row { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 8px 10px 8px 14px; border: 1px solid rgba(171,122,255,.24); border-radius: 12px; background: rgba(6,4,12,.43); box-sizing: border-box; transition: border-color .2s,box-shadow .2s; }
.rps-page .rps-input-row:focus-within { border-color: #8952e2; box-shadow: 0 0 0 3px rgba(132,72,226,.12); }
.rps-page .rps-input { background: transparent !important; border: none !important; flex: 1; min-width: 0; outline: none; padding: 0; color: #fff !important; font-size: 18px; font-weight: 750; }
.rps-page .rps-chips { display: flex; gap: 5px; flex-shrink: 0; }
.rps-page .rps-chip { min-width: 34px; height: 31px; padding: 0 7px; border: 1px solid rgba(255,255,255,.075); border-radius: 8px; background: rgba(255,255,255,.045); color: #958b9e; font-size: 10px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s,border-color .15s,color .15s; }
.rps-page .rps-chip:hover { border-color: rgba(159,104,248,.38); background: rgba(130,69,226,.14); color: #fff; }
.rps-page .rps-moves { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.rps-page .rps-move { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; min-height: 78px; padding: 12px 5px; border: 1px solid rgba(255,255,255,.075); border-radius: 11px; background: rgba(7,4,13,.34); color: #fff; box-shadow: inset 0 1px rgba(255,255,255,.025); cursor: pointer; transition: background .15s,border-color .15s; }
.rps-page .rps-move i { font-size: 22px; color: #958b9e; transition: color .15s; }
.rps-page .rps-move:hover { background: rgba(255,255,255,.09); }
.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-move-name { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.rps-page .rps-btn-place { width: 100%; min-height: 52px; height: 52px; border: none; border-radius: 12px; background: linear-gradient(135deg,#189d7d,#28C7A0); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 14px 28px rgba(24,157,125,.24),inset 0 1px rgba(255,255,255,.16); transition: background .2s,transform .2s; flex-shrink: 0; }
.rps-page .rps-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#1cb18e,#33dbb0); }
.rps-page .rps-btn-place.disabled { opacity: .55; cursor: not-allowed; }
.rps-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; }
.rps-risk-note i { margin-top: 2px; color: #37b599; }
.rps-page .rps-stage { flex: 1; position: relative; display: flex; flex-direction: column; min-width: 0; background: radial-gradient(ellipse at 50% 50%,rgba(45,109,98,.2),transparent 48%),linear-gradient(145deg,#0e131a,#08080f); }
.rps-page .rps-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 57px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(20,21,29,.84); flex-shrink: 0; }
.rps-header-left { display: flex; align-items: center; gap: 8px; }
.rps-page .rps-header-icon { width: 22px; height: 22px; object-fit: contain; }
.rps-page .rps-header-title { font-size: 14px; font-weight: 600; color: #fff; }
.rps-page .rps-info-icon { display: none; }
.rps-round-state { display: inline-flex; align-items: center; gap: 8px; color: #89808f; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.rps-round-state i { width: 7px; height: 7px; border-radius: 50%; background: #55dba0; box-shadow: 0 0 0 4px rgba(85,219,160,.09),0 0 12px rgba(85,219,160,.4); }
.rps-page .rps-display-area { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 530px; padding: 25px 24px 27px; gap: 24px; }
.rps-page .rps-hands { display: flex; align-items: center; justify-content: center; width: min(100%,680px); gap: 24px; }
.rps-page .rps-hand-block { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 180px; padding: 18px 10px; border: 1px solid rgba(255,255,255,.055); border-radius: 24px; background: radial-gradient(ellipse at center,rgba(83,109,114,.12),rgba(5,5,10,.22) 70%); box-sizing: border-box; transition: border-color .25s,box-shadow .25s; }
.rps-page .rps-hand-block.rps-winner { border-color: rgba(40,199,160,.55); box-shadow: inset 0 0 40px rgba(24,164,131,.16),0 0 28px rgba(24,164,131,.13); }
.rps-page .rps-hand-label { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.06); border-radius: 7px; background: rgba(5,3,10,.42); color: #8c838f; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rps-page .rps-hand { display: flex; align-items: center; justify-content: center; min-height: 96px; }
.rps-page .rps-hand i { font-size: 64px; color: #f1edf4; }
.rps-page .rps-vs { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid rgba(40,199,160,.23); border-radius: 50%; background: radial-gradient(circle,#1c3d35,#0c1512); color: #28C7A0; font-size: 9px; font-weight: 900; box-shadow: 0 0 24px rgba(40,199,160,.08); flex-shrink: 0; }
.rps-page .rps-hint { min-height: 31px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.055); border-radius: 9px; background: rgba(5,3,10,.3); color: #776e7e; font-size: 11px; text-align: center; }
.rps-page .rps-hint.win { border-color: rgba(67,216,141,.16); background: rgba(67,216,141,.07); color: #54db9d; }
.rps-page .rps-hint.lose { border-color: rgba(255,102,122,.16); background: rgba(255,102,122,.07); color: #ff7385; }
.rps-page .rps-hint.push { border-color: rgba(244,201,93,.16); background: rgba(244,201,93,.07); color: #f4c95d; }
.rps-page .rps-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); }
.rps-history-title { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid rgba(255,255,255,.055); }
.rps-history-title span { display: block; margin-bottom: 2px; color: #786f80; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rps-history-title h2 { margin: 0; color: #f1edf4; font-size: 14px; }
.rps-history-title > i { color: #37b599; }
.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); }
@media (max-width: 900px) {
    .rps-page .rps-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) {
    .rps-page { padding: 16px 12px 34px; }
    .rps-how-button { width: 36px; padding: 0; justify-content: center; font-size: 0; }
    .rps-how-button i { font-size: 13px; }
    .rps-page .rps-game-layout { flex-direction: column; min-height: 0; border-radius: 16px; }
    .rps-page .rps-stage { order: 1; }
    .rps-page .rps-controls { order: 2; width: 100%; min-width: 0; border-top: 1px solid rgba(255,255,255,.07); border-right: 0; }
    .rps-page .rps-display-area { min-height: 420px; }}
@media (max-width: 540px) {
    .rps-page-icon { width: 40px; height: 40px; border-radius: 12px; }
    .rps-page-identity h1 { font-size: 20px; }
    .rps-top-fair { width: 36px; padding: 0; justify-content: center; font-size: 0; }
    .rps-top-fair i { font-size: 13px; }
    .rps-page .rps-display-area { min-height: 460px; padding: 18px 9px; }
    .rps-page .rps-hands { flex-direction: column; gap: 10px; }
    .rps-page .rps-hand-block { width: 100%; min-height: 150px; }
    .rps-page .rps-hand i { font-size: 52px; }
    .rps-page .rps-input-row { flex-wrap: wrap; }
    .rps-page .rps-chips { width: 100%; }
    .rps-page .rps-chip { flex: 1; }
    .rps-control-head { align-items: flex-start; }}

/* RPS refresh final cascade overrides */
.rps-page .rps-hand i{font-size:58px;color:#eadff0;text-shadow:0 7px 16px rgba(0,0,0,.45)}.rps-page #rps_house_hand i{color:#efd382}.rps-page .rps-vs{width:58px;min-width:58px;height:58px;border-color:rgba(244,201,93,.28);background:radial-gradient(circle,#563d1e,#17100b 70%);color:#f4cf70;font-size:11px;box-shadow:0 0 0 8px rgba(244,201,93,.025),0 0 30px rgba(211,157,45,.1)}.rps-page .rps-hint{min-width:min(90%,360px);min-height:38px;display:flex;align-items:center;justify-content:center;border-radius:12px;font-weight:800}.rps-page .rps-risk-note i,.rps-page .rps-history-title>i{color:#9d6fd0}
@media(max-width:540px){.rps-page .rps-display-area{min-height:350px}.rps-page .rps-hands{flex-direction:row;gap:6px}.rps-page .rps-hand-block{width:calc((100% - 54px)/2);min-height:155px!important;padding:10px 4px}.rps-page .rps-hand{width:78px;height:78px;min-height:78px}.rps-page .rps-hand i{font-size:39px}.rps-page .rps-vs{width:42px;min-width:42px;height:42px}.rps-page .rps-move small{display:none}}
.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); }
.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-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); }
.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; }
.ft-public-title-icon > .fa { display: block; width: 1em; height: 1em; margin-top: 12px; font-size: 16px; line-height: 1; text-align: center; }

/* 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-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; }}

/* Rock Paper Scissors mobile scene ------------------------------------- */
@media (max-width:768px) and (orientation:portrait) {
    body.is-game-page .rps-page .rps-game-layout {
        grid-template-rows:minmax(0,1fr) 201px!important;gap:6px!important;
    }
    body.is-game-page .rps-page .rps-stage {
        grid-row:1!important;order:1!important;padding:0!important;display:block!important;overflow:hidden!important;
    }
    body.is-game-page .rps-page .rps-header { display:none!important; }
    body.is-game-page .rps-page .rps-display-area {
        width:100%!important;height:100%!important;min-height:0!important;padding:7px!important;display:grid!important;
        grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) 27px!important;gap:5px!important;overflow:hidden!important;box-sizing:border-box!important;
    }
    body.is-game-page .rps-page .rps-hands {
        grid-row:1!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;display:grid!important;
        grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important;gap:5px!important;align-items:center!important;overflow:hidden!important;
    }
    body.is-game-page .rps-page .rps-hand-block {
        width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:6px 3px!important;gap:5px!important;border-radius:17px!important;overflow:hidden!important;
    }
    body.is-game-page .rps-page .rps-hand-block::before { inset:8px!important; }
    body.is-game-page .rps-page .rps-hand-label { padding:4px 6px!important;gap:4px!important;font-size:7px!important; }
    body.is-game-page .rps-page .rps-hand {
        width:clamp(70px,24vw,98px)!important;height:clamp(70px,24vw,98px)!important;min-height:clamp(70px,24vw,98px)!important;
    }
    body.is-game-page .rps-page .rps-hand i { font-size:clamp(35px,12vw,49px)!important; }
    body.is-game-page .rps-page .rps-vs { width:42px!important;min-width:42px!important;height:42px!important;font-size:8px!important; }
    body.is-game-page .rps-page .rps-hint {
        grid-row:2!important;width:100%!important;min-width:0!important;height:27px!important;min-height:27px!important;margin:0!important;padding:3px 7px!important;
        overflow:hidden!important;border-radius:8px!important;font-size:8px!important;text-overflow:ellipsis!important;white-space:nowrap!important;box-sizing:border-box!important;
    }

    body.is-game-page .rps-page .rps-controls {
        grid-row:2!important;order:2!important;padding:7px!important;display:grid!important;grid-template-columns:1fr!important;
        grid-template-rows:56px 72px 53px!important;gap:5px!important;overflow:hidden!important;
    }
    body.is-game-page .rps-page .rps-control-head,
    body.is-game-page .rps-page .rps-risk-note { display:none!important; }
    body.is-game-page .rps-page #rps_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 .rps-page .rps-moves-segment { grid-row:2!important;margin:0!important;gap:3px!important;overflow:hidden!important; }
    body.is-game-page .rps-page .rps-moves-segment > .rps-label { display:none!important; }
    body.is-game-page .rps-page .rps-moves { width:100%!important;height:72px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important; }
    body.is-game-page .rps-page .rps-move {
        width:100%!important;height:72px!important;min-height:72px!important;padding:5px 2px!important;gap:3px!important;border-radius:11px!important;
    }
    body.is-game-page .rps-page .rps-move i { font-size:23px!important; }
    body.is-game-page .rps-page .rps-move-name { font-size:7px!important; }
    body.is-game-page .rps-page .rps-move small { display:none!important; }
    body.is-game-page .rps-page .rps-bet-segment { grid-row:3!important;margin:0!important;gap:3px!important;overflow:hidden!important; }
    body.is-game-page .rps-page .rps-label { margin:0!important;font-size:8px!important;line-height:1!important; }
    body.is-game-page .rps-page .rps-input-row { height:42px!important;min-height:42px!important;padding:4px 7px!important;flex-wrap:nowrap!important;gap:5px!important;overflow:hidden!important; }
    body.is-game-page .rps-page .rps-input { min-width:52px!important;font-size:16px!important; }
    body.is-game-page .rps-page .rps-chips { width:auto!important;margin:0!important;display:flex!important;flex:0 0 auto!important;gap:4px!important; }
    body.is-game-page .rps-page .rps-chip { width:38px!important;min-width:38px!important;height:32px!important;padding:0 4px!important;flex:0 0 38px!important;border-radius:8px!important;font-size:9px!important; }}

@media (max-width:350px) and (orientation:portrait) {
    body.is-game-page .rps-page .rps-game-layout { grid-template-rows:minmax(0,1fr) 191px!important; }
    body.is-game-page .rps-page .rps-controls { grid-template-rows:54px 66px 51px!important; }
    body.is-game-page .rps-page #rps_bet { height:54px!important;min-height:54px!important; }
    body.is-game-page .rps-page .rps-moves,
    body.is-game-page .rps-page .rps-move { height:66px!important;min-height:66px!important; }
    body.is-game-page .rps-page .rps-input-row { height:40px!important;min-height:40px!important; }
    body.is-game-page .rps-page .rps-chip { width:34px!important;min-width:34px!important;height:30px!important;flex-basis:34px!important; }
    body.is-game-page .rps-page .rps-hands { grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)!important;gap:3px!important; }
    body.is-game-page .rps-page .rps-vs { width:36px!important;min-width:36px!important;height:36px!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 .rps-page .rps-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 64px 50px!important;align-content:center!important;gap:5px!important;overflow:hidden!important;
    }
    body.is-game-page .rps-page .rps-control-head,
    body.is-game-page .rps-page .rps-risk-note { display:none!important; }
    body.is-game-page .rps-page #rps_bet { grid-row:1!important;height:48px!important;min-height:48px!important;margin:0!important;font-size:10px!important; }
    body.is-game-page .rps-page .rps-moves-segment { grid-row:2!important;margin:0!important;overflow:hidden!important; }
    body.is-game-page .rps-page .rps-moves-segment > .rps-label { display:none!important; }
    body.is-game-page .rps-page .rps-moves,
    body.is-game-page .rps-page .rps-move { height:64px!important;min-height:64px!important; }
    body.is-game-page .rps-page .rps-moves { gap:3px!important; }
    body.is-game-page .rps-page .rps-move { padding:4px 1px!important;gap:2px!important; }
    body.is-game-page .rps-page .rps-move i { font-size:19px!important; }
    body.is-game-page .rps-page .rps-move-name { font-size:6px!important; }
    body.is-game-page .rps-page .rps-move small { display:none!important; }
    body.is-game-page .rps-page .rps-bet-segment { grid-row:3!important;margin:0!important;gap:2px!important;overflow:hidden!important; }
    body.is-game-page .rps-page .rps-label { margin:0!important;font-size:7px!important; }
    body.is-game-page .rps-page .rps-input-row { height:40px!important;min-height:40px!important;padding:3px 5px!important;flex-wrap:nowrap!important;overflow:hidden!important; }
    body.is-game-page .rps-page .rps-input { min-width:38px!important;font-size:13px!important; }
    body.is-game-page .rps-page .rps-chips { width:auto!important;gap:2px!important; }
    body.is-game-page .rps-page .rps-chip { min-width:29px!important;height:29px!important;padding:0 2px!important;font-size:7px!important; }
    body.is-game-page .rps-page .rps-stage { grid-column:2!important;grid-row:1!important;order:2!important;padding:0!important;overflow:hidden!important; }
    body.is-game-page .rps-page .rps-header { display:none!important; }
    body.is-game-page .rps-page .rps-display-area { width:100%!important;height:100%!important;min-height:0!important;padding:5px!important;display:grid!important;grid-template-rows:minmax(0,1fr) 23px!important;gap:3px!important;overflow:hidden!important;box-sizing:border-box!important; }
    body.is-game-page .rps-page .rps-hands { width:100%!important;height:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr)!important;gap:4px!important;overflow:hidden!important; }
    body.is-game-page .rps-page .rps-hand-block { width:100%!important;height:100%!important;min-height:0!important;padding:3px!important;gap:2px!important;border-radius:14px!important;overflow:hidden!important; }
    body.is-game-page .rps-page .rps-hand-label { padding:3px 5px!important;font-size:6px!important; }
    body.is-game-page .rps-page .rps-hand { width:68px!important;height:68px!important;min-height:68px!important; }
    body.is-game-page .rps-page .rps-hand i { font-size:35px!important; }
    body.is-game-page .rps-page .rps-vs { width:38px!important;min-width:38px!important;height:38px!important; }
    body.is-game-page .rps-page .rps-hint { width:100%!important;min-width:0!important;height:23px!important;min-height:23px!important;padding:2px 5px!important;overflow:hidden!important;font-size:7px!important;white-space:nowrap!important; }}
.bnz-history .table-container { background: #2b2333; }

/* 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) {
    .rps-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); }
.er-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.er-history .table-header { background: rgba(255,255,255,.025); }
.nv-public-title-icon > .fa { display: block; width: 1em; height: 1em; margin-top: 12px; font-size: 16px; line-height: 1; text-align: center; }
.rv-public-title-icon > .fa { display: block; width: 1em; height: 1em; margin-top: 12px; font-size: 16px; line-height: 1; text-align: center; }
.bd-public-title-icon > .fa { display: block; width: 1em; height: 1em; margin-top: 12px; font-size: 16px; line-height: 1; text-align: center; }