
.cr-page #crash_bet:hover:not(.disabled) { background: linear-gradient(135deg, #8241e5, #ae61f7); }

.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; }

.mines-game-layout .minesweeper-grid .bomb:hover:not(.disabled) {
    background: #5d3580;
    transform: scale(1.03);
    border-color: transparent;
    box-shadow: none;
}

.mines-game-layout .minesweeper-grid .bomb.disabled:not(.success):not(.danger) {
    cursor: default;
}

.mines-game-layout .minesweeper-grid .bomb.disabled:not(.success):not(.danger):hover {
    background: #4c2b6c;
    transform: none;
}
.dice-game-layout #dice_bet.disabled { opacity: 0.55; cursor: not-allowed; }
.limbo-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }
.limbo-game-layout #limbo_bet.disabled { opacity: 0.55; cursor: not-allowed; }
.wheel-risk-btn.active { background: #8d3bde; border-color: #8d3bde; color: #fff; }
.wheel-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }
.wheel-game-layout #wheel_bet.disabled { opacity: 0.55; cursor: not-allowed; }

/* =========================================
   HILO GAME
   ========================================= */

.hilo-game-layout {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    min-height: 520px;
    margin-bottom: 24px;
}

/* ── Left panel ── */
.hilo-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;
}
.hilo-segment { display: flex; flex-direction: column; gap: 6px; }
.hilo-label { font-size: 14px; color: #dbdbdb; font-weight: 400; }
.hilo-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;
}
.hilo-input-icon { color: #acacac; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.hilo-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;
}
.hilo-chips { display: flex; gap: 4px; flex-shrink: 0; }
.hilo-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;
}
.hilo-chip:hover { background: rgba(255,255,255,0.08); color: #fff; }

.hilo-stats-mini {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px 14px;
}
.hilo-stat-mini { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hilo-stat-mini-value { color: #fff; font-size: 18px; font-weight: 700; }
.hilo-stat-mini-label { font-size: 11px; color: rgba(255,255,255,0.4); }

.hilo-btn-place,
.hilo-btn-cashout {
    width: 100%;
    height: 52px;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.hilo-btn-place { background: #8d3bde; }
.hilo-btn-place:hover { background: #7c2fcf; }
.hilo-btn-cashout { background: #09b95b; }
.hilo-btn-cashout:hover { background: #08a751; }
.hilo-btn-place.disabled,
.hilo-btn-cashout.disabled { opacity: 0.55; cursor: not-allowed; }
.hilo-btn-place.hidden,
.hilo-btn-cashout.hidden { display: none; }

/* ── Right panel ── */
.hilo-stage {
    flex: 1;
    background: #2b2333;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.hilo-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;
}
.hilo-header-left { display: flex; align-items: center; gap: 8px; }
.hilo-header-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.hilo-header-title { font-size: 15px; font-weight: 600; color: #fff; }
.hilo-info-icon { color: rgba(255,255,255,0.35); font-size: 14px; cursor: default; }
.hilo-fair-link {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.55) !important;
    text-decoration: none !important;
    transition: color 0.15s;
}
.hilo-fair-link:hover { color: #fff !important; }

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

/* Previous cards strip */
.hilo-prev-cards {
    display: flex;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px;
    min-height: 66px;
    scrollbar-width: thin;
}

/* Cards */
.hilo-card {
    background: #f7f5fa;
    border-radius: 10px;
    color: #241a30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    user-select: none;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.hilo-card.red { color: #d92c3f; }
.hilo-card-rank { font-weight: 800; line-height: 1; }
.hilo-card-suit { line-height: 1; }

.hilo-card-small { width: 42px; height: 58px; border-radius: 6px; opacity: 0.75; }
.hilo-card-small .hilo-card-rank { font-size: 16px; }
.hilo-card-small .hilo-card-suit { font-size: 14px; }

.hilo-card-current { width: 120px; height: 168px; }
.hilo-card-current .hilo-card-rank { font-size: 52px; }
.hilo-card-current .hilo-card-suit { font-size: 40px; }
.hilo-card-current .hilo-card-back { font-size: 56px; font-weight: 800; color: rgba(36,26,48,0.35); }
.hilo-card-current.win  { box-shadow: 0 0 0 3px #09b95b, 0 4px 14px rgba(0,0,0,0.35); }
.hilo-card-current.lose { box-shadow: 0 0 0 3px #e84040, 0 4px 14px rgba(0,0,0,0.35); }
.hilo-card-current.flip { animation: hilo-deal 0.28s ease-out; }

/* Current card + guess buttons row */
.hilo-table-row {
    display: flex;
    align-items: center;
    gap: 28px;
}
.hilo-guess {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 18px;
    width: 150px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.hilo-guess:hover { background: rgba(255,255,255,0.09); }
.hilo-guess:active { transform: scale(0.97); }
.hilo-guess.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: auto; }
.hilo-guess.disabled:hover { background: rgba(255,255,255,0.05); }
.hilo-guess-arrow { font-size: 22px; line-height: 1; }
.hilo-guess-hi .hilo-guess-arrow { color: #09b95b; }
.hilo-guess-lo .hilo-guess-arrow { color: #e84040; }
.hilo-guess-name { font-size: 12px; color: rgba(255,255,255,0.6); }
.hilo-guess-mult { font-size: 20px; font-weight: 800; }

.hilo-hint {
    min-height: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    text-align: center;
}
.hilo-hint.win  { color: #09b95b; font-weight: 600; }
.hilo-hint.lose { color: #e84040; font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hilo-controls { width: 280px; min-width: 220px; }
    .hilo-table-row { gap: 14px; }
    .hilo-guess { width: 120px; padding: 12px 10px; }}

@media (max-width: 768px), (pointer: coarse) and (max-width: 1199px) and (max-height: 600px) and (orientation: landscape) {
    .hilo-game-layout { flex-direction: column; min-height: unset; }
    .hilo-stage { order: 1; }
    .hilo-controls  { order: 2; width: 100%; min-width: unset; }
    .hilo-display-area { padding: 20px 12px; gap: 16px; }
    .hilo-card-current { width: 96px; height: 134px; }
    .hilo-card-current .hilo-card-rank { font-size: 40px; }
    .hilo-card-current .hilo-card-suit { font-size: 30px; }}

@media (max-width: 480px) {
    .hilo-table-row { flex-direction: column; }
    .hilo-guess { width: 100%; flex-direction: row; justify-content: space-between; }}
.bj-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }
.bj-btn-place.hidden { display: none; }
.bj-actions.hidden { display: none; }
.bj-btn-action.disabled { opacity: 0.45; cursor: not-allowed; }
.bcr-side.active { border-color: #8d3bde; background: rgba(141,59,222,0.18); }
.bcr-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }
.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-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.dt-page .dt-btn-place.disabled { opacity: .55; cursor: not-allowed; }
.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); }
.kn-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }
.ck-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }
.ck-btn-place.hidden { display: none; }
.ck-actions.hidden { display: none; }
.ck-btn-pump.disabled,
.ck-btn-cashout.disabled { opacity: 0.45; cursor: not-allowed; }
.cf-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }
.cf-btn-place.hidden { display: none; }
.cf-actions.hidden { display: none; }
.cf-btn-guess.disabled { opacity: 0.45; cursor: not-allowed; }
.cf-btn-cashout.disabled { opacity: 0.45; cursor: not-allowed; }
.av-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }
.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-bet-btn.disabled { opacity: 0.5; cursor: not-allowed; filter: none; }
.rl-history.hidden { display: none !important; }
.cr-btn-place.disabled { opacity: 0.5; cursor: not-allowed; }
.cr-btn-cashout.hidden { display: none !important; }
.cr-btn-next:hover:not(.disabled) { border-color:rgba(180,130,255,.65); background:rgba(137,76,224,.22); color:#fff; }
.cr-btn-next.disabled { opacity:.55; cursor:not-allowed; }
.cr-btn-next.hidden { display:none !important; }
.tw-btn-place.disabled { opacity: 0.5; cursor: not-allowed; }
.tw-btn-cashout.hidden { display: none !important; }
.tw-btn-cashout.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.pk-risk-btn.active { background: #8d3bde; color: #fff; }
.sl-btn-place.disabled { opacity: 0.5; cursor: default; pointer-events: none; }
.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 2026 UI REFRESH
   ========================================= */
.hilo-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 22px 42px;
    box-sizing: border-box;
    text-align: left;
}
.hilo-page-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.hilo-page-identity { display: flex; align-items: center; gap: 12px; }
.hilo-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); }
.hilo-page-icon img { width: 25px; height: 25px !important; object-fit: contain; }
.hilo-page-kicker { display: block; margin-bottom: 2px; color: #8d829a; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hilo-page-identity h1 { margin: 0; color: #fff; font-size: 24px; line-height: 1.1; letter-spacing: -.025em; }
.hilo-page-actions { display: flex; align-items: center; gap: 8px; }
.hilo-how-button,.hilo-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; }
.hilo-how-button { cursor: pointer; }
.hilo-how-button:hover,.hilo-top-fair:hover { border-color: rgba(163,108,255,.32); background: rgba(135,74,232,.1); color: #fff; }
.hilo-top-fair i { color: #f4c95d; }

.hilo-page .hilo-game-layout { min-height: 540px; 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); }
.hilo-page .hilo-controls { width: clamp(280px,25vw,320px); min-width: 280px; 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; }
.hilo-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); }
.hilo-control-head > div span { display: block; margin-bottom: 3px; color: #857b8e; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hilo-control-head > div strong { color: #f5f1f8; font-size: 15px; }
.hilo-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; }
.hilo-control-balance i,.hilo-page .hilo-input-icon { color: #f4c95d; }
.hilo-page .hilo-label { color: #a79ead; font-size: 11px; font-weight: 700; }
.hilo-page .hilo-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; }
.hilo-page .hilo-input-row:focus-within { border-color: #8952e2; box-shadow: 0 0 0 3px rgba(132,72,226,.12); }
.hilo-page .hilo-input { font-size: 18px; font-weight: 750; }
.hilo-page .hilo-chips { gap: 5px; }
.hilo-page .hilo-chip { min-width: 34px; 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; }
.hilo-page .hilo-chip:hover { border-color: rgba(159,104,248,.38); background: rgba(130,69,226,.14); }
.hilo-page .hilo-stats-mini { gap: 0; padding: 0; overflow: hidden; border-color: rgba(255,255,255,.07); border-radius: 12px; background: rgba(6,4,12,.33); }
.hilo-page .hilo-stat-mini { padding: 13px 14px; }
.hilo-page .hilo-stat-mini + .hilo-stat-mini { border-left: 1px solid rgba(255,255,255,.065); }
.hilo-page .hilo-stat-mini-value { margin-bottom: 3px; color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }
.hilo-page .hilo-stat-mini:first-child .hilo-stat-mini-value { color: #c6a2ff; }
.hilo-page .hilo-stat-mini:last-child .hilo-stat-mini-value { color: #f4c95d; }
.hilo-page .hilo-stat-mini-label { color: #746b7d; font-size: 9px; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.hilo-page .hilo-btn-place,.hilo-page .hilo-btn-cashout { min-height: 52px; height: 52px; border-radius: 12px; font-size: 14px; font-weight: 800; box-shadow: 0 14px 28px rgba(92,40,177,.24),inset 0 1px rgba(255,255,255,.16); }
.hilo-page .hilo-btn-place { background: linear-gradient(135deg,#7635db,#a254ef); }
.hilo-page .hilo-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.hilo-page .hilo-btn-cashout { background: linear-gradient(135deg,#12a965,#43d88d); box-shadow: 0 14px 28px rgba(24,176,106,.2),inset 0 1px rgba(255,255,255,.18); }
.hilo-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; }
.hilo-risk-note i { margin-top: 2px; color: #8e6fc1; }

.hilo-page .hilo-stage { position: relative; background: radial-gradient(circle at 50% 45%,rgba(107,50,180,.16),transparent 34%),linear-gradient(145deg,#100b1b,#0b0813); }
.hilo-page .hilo-stage::before { content: ''; position: absolute; inset: 57px 0 0; pointer-events: none; opacity: .33; background: repeating-linear-gradient(90deg,transparent 0 69px,rgba(166,122,241,.035) 70px),repeating-linear-gradient(0deg,transparent 0 54px,rgba(166,122,241,.03) 55px); -webkit-mask-image: radial-gradient(circle at center,#000,transparent 70%); mask-image: radial-gradient(circle at center,#000,transparent 70%); }
.hilo-page .hilo-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); }
.hilo-page .hilo-header-icon { width: 22px; height: 22px; }
.hilo-page .hilo-header-title { font-size: 14px; }
.hilo-page .hilo-info-icon { display: none; }
.hilo-round-state { display: inline-flex; align-items: center; gap: 8px; color: #89808f; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hilo-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); }
.hilo-page .hilo-display-area { position: relative; z-index: 1; padding: 28px 24px 30px; gap: 23px; }
.hilo-card-trail { width: min(100%,560px); min-height: 74px; }
.hilo-trail-label { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #73697b; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hilo-page .hilo-prev-cards { min-height: 60px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.055); border-radius: 11px; background: rgba(5,3,10,.25); }
.hilo-page .hilo-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.8); background: linear-gradient(145deg,#fff,#eee9f2 64%,#cfc5d5); color: #24142f; box-shadow: 0 16px 28px rgba(3,1,8,.35),inset 0 1px #fff; }
.hilo-page .hilo-card::after { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(91,47,126,.13); border-radius: inherit; pointer-events: none; }
.hilo-page .hilo-card.red { color: #d33655; }
.hilo-page .hilo-card-current { width: 142px; height: 198px; border-radius: 15px; transform: perspective(600px) rotateY(-2deg); }
.hilo-page .hilo-card-current .hilo-card-rank { position: absolute; top: 17px; left: 18px; font: 900 41px/1 Arial,sans-serif; letter-spacing: -.06em; }
.hilo-page .hilo-card-current .hilo-card-suit { font-size: 61px; filter: drop-shadow(0 3px 2px rgba(35,17,44,.14)); }
.hilo-page .hilo-card-small { width: 44px; height: 59px; opacity: .82; border-radius: 7px; }
.hilo-page .hilo-card-small .hilo-card-rank { font-size: 15px; }
.hilo-page .hilo-card-small .hilo-card-suit { font-size: 17px; }
.hilo-page .hilo-card-back { display:grid;position:absolute;inset:8px;place-items:center;overflow:hidden;border:2px solid rgba(244,201,93,.72);border-radius:10px;background:radial-gradient(circle at center,rgba(244,201,93,.2) 0 2px,transparent 3px),conic-gradient(from 45deg at 25% 25%,transparent 0 25%,rgba(255,255,255,.065) 0 50%,transparent 0 75%,rgba(244,201,93,.07) 0) 0 0/18px 18px,radial-gradient(ellipse at center,#8e4add 0,#5b2692 46%,#28123f 100%);color:transparent!important;box-shadow:inset 0 0 0 4px #4c2079,inset 0 0 28px rgba(8,3,17,.65); }
.hilo-page .hilo-card-back::before { content:'Z';display:grid;width:72px;height:72px;place-items:center;border:1px solid rgba(255,222,137,.7);border-radius:50%;background:radial-gradient(circle,rgba(28,10,49,.82),rgba(70,25,112,.72));color:#f5cf70;font:900 27px/1 Georgia,serif;text-shadow:0 2px 8px rgba(0,0,0,.65),0 0 10px rgba(244,201,93,.2);box-shadow:0 0 0 4px rgba(43,15,69,.72),0 0 0 5px rgba(244,201,93,.25),inset 0 1px rgba(255,255,255,.11); }
.hilo-page .hilo-card-back::after { content:'✦';position:absolute;left:50%;top:calc(50% + 21px);transform:translate(-50%,-50%);color:rgba(245,207,112,.9);font-size:9px; }
.hilo-page .hilo-card-current.win { box-shadow: 0 0 0 3px #43d88d,0 0 35px rgba(67,216,141,.3),0 18px 30px rgba(3,1,8,.4); }
.hilo-page .hilo-card-current.lose { box-shadow: 0 0 0 3px #ff667a,0 0 35px rgba(255,78,105,.3),0 18px 30px rgba(3,1,8,.4); animation: hilo-lose-shake .32s ease; }
.hilo-page .hilo-card-current.flip { animation: hilo-deal-2026 .38s cubic-bezier(.2,.8,.2,1); }

.hilo-page .hilo-table-row { gap: clamp(20px,4vw,46px); }
.hilo-page .hilo-guess { position: relative; width: 164px; min-height: 148px; justify-content: center; gap: 5px; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,.035); transition: transform .16s,border-color .16s,background .16s,box-shadow .16s; }
.hilo-page .hilo-guess::before { content: ''; position: absolute; inset: 0; opacity: .08; pointer-events: none; }
.hilo-page .hilo-guess-hi { border-color: rgba(67,216,141,.2); }
.hilo-page .hilo-guess-lo { border-color: rgba(255,102,122,.2); }
.hilo-page .hilo-guess-hi::before { background: linear-gradient(to top,#43d88d,transparent 65%); }
.hilo-page .hilo-guess-lo::before { background: linear-gradient(to bottom,#ff667a,transparent 65%); }
.hilo-page .hilo-guess:hover:not(.disabled) { transform: translateY(-3px); background: rgba(255,255,255,.055); }
.hilo-page .hilo-guess-hi:hover:not(.disabled) { border-color: rgba(67,216,141,.55); box-shadow: 0 14px 28px rgba(30,171,105,.12); }
.hilo-page .hilo-guess-lo:hover:not(.disabled) { border-color: rgba(255,102,122,.55); box-shadow: 0 14px 28px rgba(207,50,77,.12); }
.hilo-page .hilo-guess-arrow { font-size: 27px; }
.hilo-page .hilo-guess-hi .hilo-guess-arrow { color: #43d88d; text-shadow: 0 0 18px rgba(67,216,141,.35); }
.hilo-page .hilo-guess-lo .hilo-guess-arrow { color: #ff667a; text-shadow: 0 0 18px rgba(255,102,122,.35); }
.hilo-page .hilo-guess-name { color: #a79dac; font-size: 11px; font-weight: 700; }
.hilo-page .hilo-guess-mult { color: #fff; font-size: 23px; font-variant-numeric: tabular-nums; }
.hilo-page .hilo-guess.disabled { opacity: .34; filter: grayscale(.25); }
.hilo-page .hilo-hint { min-height: 22px; color: #83798b; font-size: 12px; }
.hilo-page .hilo-hint.win { color: #43d88d; }
.hilo-page .hilo-hint.lose { color: #ff667a; }

.hilo-page .hilo-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); }
.hilo-history-title { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid rgba(255,255,255,.055); }
.hilo-history-title span { display: block; margin-bottom: 2px; color: #786f80; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hilo-history-title h2 { margin: 0; color: #f1edf4; font-size: 14px; }
.hilo-history-title > i { color: #74539f; }
.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); }

@media (max-width: 900px) {
    .hilo-page .hilo-controls { width: 270px; min-width: 250px; padding: 18px; }
    .hilo-page .hilo-table-row { gap: 15px; }
    .hilo-page .hilo-guess { width: 125px; }}
@media (max-width: 768px), (pointer: coarse) and (max-width: 1199px) and (max-height: 600px) and (orientation: landscape) {
    .hilo-page { padding: 16px 12px 34px; }
    .hilo-page-actions .hilo-how-button { width: 36px; padding: 0; justify-content: center; font-size: 0; }
    .hilo-page-actions .hilo-how-button i { font-size: 13px; }
    .hilo-page .hilo-game-layout { flex-direction: column; min-height: 0; border-radius: 16px; }
    .hilo-page .hilo-stage { order: 1; }
    .hilo-page .hilo-controls { order: 2; width: 100%; min-width: 0; border-top: 1px solid rgba(255,255,255,.07); border-right: 0; }
    .hilo-page .hilo-card-current { width: 116px; height: 162px; }
    .hilo-page .hilo-card-current .hilo-card-rank { top: 14px; left: 15px; font-size: 33px; }
    .hilo-page .hilo-card-current .hilo-card-suit { font-size: 48px; }}
@media (max-width: 480px) {
    .hilo-page-icon { width: 40px; height: 40px; border-radius: 12px; }
    .hilo-page-identity h1 { font-size: 20px; }
    .hilo-top-fair { width: 36px; padding: 0; justify-content: center; font-size: 0; }
    .hilo-top-fair i { font-size: 13px; }
    .hilo-page .hilo-display-area { padding: 20px 12px; }
    .hilo-page .hilo-table-row { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hilo-page .hilo-card-current { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
    .hilo-page .hilo-guess { width: 100%; min-height: 94px; padding: 10px; }
    .hilo-page .hilo-guess-hi { grid-column: 1; grid-row: 2; }
    .hilo-page .hilo-guess-lo { grid-column: 2; grid-row: 2; }
    .hilo-page .hilo-guess { flex-direction: column; justify-content: center; }
    .hilo-page .hilo-input-row { flex-wrap: wrap; }
    .hilo-page .hilo-chips { width: 100%; }
    .hilo-page .hilo-chip { flex: 1; }
    .hilo-control-head { align-items: flex-start; }}
.rl-page .rl-bet-btn:hover:not(.disabled) { transform: none; filter: none; }
.rl-page .rl-bet-btn:hover:not(.disabled)::after { box-shadow: inset 0 0 0 100vmax rgba(0,0,0,.2); }
.dice-page .dice-game-layout #dice_bet:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7) !important; }
.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-game-layout #limbo_bet:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7) !important; }
.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-game-layout #wheel_bet:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7) !important; }
.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-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}.rps-page .rps-btn-place:hover:not(.disabled){background:linear-gradient(135deg,#8142ce,#b66af4)!important}
.bj-page .bj-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.bj-page .bj-btn-action:hover:not(.disabled) { transform: translateY(-1px); filter: brightness(1.07); }
.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-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.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-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#1cb18e,#33dbb0); }
.rps-page .rps-btn-place.disabled { opacity: .55; cursor: not-allowed; }
.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-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.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-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.ck-page .ck-btn-pump:hover:not(.disabled),.ck-page .ck-btn-cashout:hover:not(.disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.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-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.cf-page .cf-btn-guess:hover:not(.disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.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 .mines-game-layout .minesweeper-grid .bomb:hover:not(.disabled) { border-color: rgba(191,139,255,.5); background: linear-gradient(145deg,rgba(135,75,205,.78),rgba(67,33,105,.82)); box-shadow: 0 9px 18px rgba(70,30,123,.25),inset 0 1px rgba(255,255,255,.1); transform: translateY(-2px) scale(1.02); }
.minesweeper-page .mines-game-layout .minesweeper-grid .bomb.disabled:not(.success):not(.danger) { opacity: .58; background: linear-gradient(145deg,rgba(81,49,116,.52),rgba(40,24,61,.6)); }
.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-btn-place:hover:not(.disabled) { filter: brightness(1.07); }
.tw-page .tw-btn-cashout:hover:not(.disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.tw-page .tower-grid .tile.disabled:not(.success):not(.danger):not(.checked) { opacity: .45; cursor: default; }
.tw-page .tower-grid .tile:not(.disabled):hover { border-color: rgba(193,139,255,.6); background: linear-gradient(145deg,rgba(137,78,203,.78),rgba(65,33,101,.86)); color: #fff; box-shadow: 0 10px 20px rgba(72,31,124,.28),inset 0 1px rgba(255,255,255,.11); transform: translateY(-2px) scale(1.015); }
.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-btn-place.disabled { opacity: .5; cursor: not-allowed; transform: none; }
.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-btn-place:hover:not(.disabled) { background:linear-gradient(135deg,#8241e5,#ae61f7); }
.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; }}

/* HiLo mobile game scene ------------------------------------------------- */
@media (max-width:768px) and (orientation:portrait) {
    body.is-game-page .hilo-page .hilo-game-layout {
        grid-template-rows:minmax(0,1fr) 180px!important;gap:6px!important;
    }
    body.is-game-page .hilo-page .hilo-stage {
        grid-row:1!important;order:1!important;padding:0!important;display:block!important;overflow:hidden!important;
    }
    body.is-game-page .hilo-page .hilo-header { display:none!important; }
    body.is-game-page .hilo-page .hilo-display-area {
        width:100%!important;height:100%!important;min-height:0!important;padding:6px!important;display:grid!important;
        grid-template-rows:42px minmax(0,1fr) 24px!important;gap:5px!important;overflow:hidden!important;box-sizing:border-box!important;
    }
    body.is-game-page .hilo-page .hilo-card-trail {
        grid-row:1!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;display:flex!important;align-items:center!important;gap:6px!important;overflow:hidden!important;
    }
    body.is-game-page .hilo-page .hilo-trail-label { flex:0 0 auto!important;font-size:7px!important; }
    body.is-game-page .hilo-page .hilo-prev-cards {
        height:42px!important;min-height:42px!important;padding:3px 5px!important;display:flex!important;align-items:center!important;gap:3px!important;flex:1!important;overflow:hidden!important;
    }
    body.is-game-page .hilo-page .hilo-card-small { width:27px!important;height:36px!important;flex:0 0 27px!important;border-radius:5px!important; }
    body.is-game-page .hilo-page .hilo-card-small .hilo-card-rank { font-size:10px!important; }
    body.is-game-page .hilo-page .hilo-card-small .hilo-card-suit { font-size:10px!important; }
    body.is-game-page .hilo-page .hilo-table-row {
        grid-row:2!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;display:grid!important;
        grid-template-columns:minmax(0,1fr) minmax(96px,31vw) minmax(0,1fr)!important;grid-template-rows:1fr!important;align-items:center!important;gap:6px!important;overflow:hidden!important;
    }
    body.is-game-page .hilo-page .hilo-card-current {
        grid-column:2!important;grid-row:1!important;width:min(31vw,122px)!important;height:auto!important;max-height:100%!important;aspect-ratio:5/7!important;justify-self:center!important;border-radius:13px!important;
    }
    body.is-game-page .hilo-page .hilo-card-current .hilo-card-rank { top:11px!important;left:12px!important;font-size:30px!important; }
    body.is-game-page .hilo-page .hilo-card-current .hilo-card-suit { font-size:43px!important; }
    body.is-game-page .hilo-page .hilo-card-back::before { width:48px!important;height:48px!important;font-size:18px!important; }
    body.is-game-page .hilo-page .hilo-guess {
        width:100%!important;height:min(72%,150px)!important;min-height:116px!important;padding:7px 3px!important;display:flex!important;flex-direction:column!important;
        align-items:center!important;justify-content:center!important;gap:4px!important;border-radius:12px!important;overflow:hidden!important;
    }
    body.is-game-page .hilo-page .hilo-guess-hi { grid-column:1!important;grid-row:1!important; }
    body.is-game-page .hilo-page .hilo-guess-lo { grid-column:3!important;grid-row:1!important; }
    body.is-game-page .hilo-page .hilo-guess-arrow { font-size:22px!important; }
    body.is-game-page .hilo-page .hilo-guess-name { font-size:8px!important;line-height:1.2!important;text-align:center!important; }
    body.is-game-page .hilo-page .hilo-guess-mult { font-size:17px!important; }
    body.is-game-page .hilo-page .hilo-hint {
        grid-row:3!important;min-height:24px!important;height:24px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
        overflow:hidden!important;font-size:9px!important;text-align:center!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    }

    body.is-game-page .hilo-page .hilo-controls {
        grid-row:2!important;order:2!important;padding:7px!important;display:grid!important;
        grid-template-columns:1fr!important;grid-template-rows:56px 55px 45px!important;gap:5px!important;overflow:hidden!important;
    }
    body.is-game-page .hilo-page .hilo-controls #hilo_bet,
    body.is-game-page .hilo-page .hilo-controls #hilo_cashout {
        grid-row:1!important;order:0!important;width:100%!important;height:56px!important;min-height:56px!important;margin:0!important;flex:none!important;
    }
    body.is-game-page .hilo-page .hilo-bet-segment { grid-row:2!important;margin:0!important;gap:3px!important;overflow:hidden!important; }
    body.is-game-page .hilo-page .hilo-label { margin:0!important;font-size:8px!important;line-height:1!important; }
    body.is-game-page .hilo-page .hilo-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 .hilo-page .hilo-input { min-width:52px!important;font-size:16px!important; }
    body.is-game-page .hilo-page .hilo-chips { width:auto!important;margin:0!important;display:flex!important;flex:0 0 auto!important;gap:4px!important; }
    body.is-game-page .hilo-page .hilo-chip {
        width:38px!important;min-width:38px!important;height:34px!important;min-height:34px!important;padding:0 4px!important;flex:0 0 38px!important;
        border-radius:8px!important;font-size:9px!important;font-weight:850!important;
    }
    body.is-game-page .hilo-page .hilo-stats-segment { grid-row:3!important;margin:0!important;overflow:hidden!important; }
    body.is-game-page .hilo-page .hilo-stats-mini { width:100%!important;height:45px!important;padding:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;border-radius:10px!important; }
    body.is-game-page .hilo-page .hilo-stat-mini { height:45px!important;min-height:45px!important;padding:4px!important; }
    body.is-game-page .hilo-page .hilo-stat-mini-value { margin:0!important;font-size:12px!important;text-align:center!important; }
    body.is-game-page .hilo-page .hilo-stat-mini-label { font-size:6px!important;line-height:1.1!important;text-align:center!important; }}

@media (max-width:350px) and (orientation:portrait) {
    body.is-game-page .hilo-page .hilo-game-layout { grid-template-rows:minmax(0,1fr) 172px!important; }
    body.is-game-page .hilo-page .hilo-controls { grid-template-rows:54px 51px 43px!important; }
    body.is-game-page .hilo-page .hilo-controls #hilo_bet,
    body.is-game-page .hilo-page .hilo-controls #hilo_cashout { height:54px!important;min-height:54px!important; }
    body.is-game-page .hilo-page .hilo-input-row { height:40px!important;min-height:40px!important; }
    body.is-game-page .hilo-page .hilo-chip { width:34px!important;min-width:34px!important;height:32px!important;min-height:32px!important;flex-basis:34px!important; }
    body.is-game-page .hilo-page .hilo-stats-mini,
    body.is-game-page .hilo-page .hilo-stat-mini { height:43px!important;min-height:43px!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 .hilo-page .hilo-controls { grid-column:1!important;grid-row:1!important;order:1!important; }
    body.is-game-page .hilo-page .hilo-stage { grid-column:2!important;grid-row:1!important;order:2!important;padding:0!important;overflow:hidden!important; }
    body.is-game-page .hilo-page .hilo-header { display:none!important; }
    body.is-game-page .hilo-page .hilo-display-area { width:100%!important;height:100%!important;padding:4px!important;display:grid!important;grid-template-rows:34px minmax(0,1fr) 20px!important;gap:3px!important;overflow:hidden!important; }
    body.is-game-page .hilo-page .hilo-card-trail { min-height:34px!important;height:34px!important;overflow:hidden!important; }
    body.is-game-page .hilo-page .hilo-table-row { width:100%!important;height:100%!important;display:grid!important;grid-template-columns:1fr minmax(82px,25%) 1fr!important;grid-template-rows:1fr!important;gap:4px!important; }
    body.is-game-page .hilo-page .hilo-card-current { grid-column:2!important;grid-row:1!important;width:auto!important;height:100%!important;max-width:100%!important;aspect-ratio:5/7!important;justify-self:center!important; }
    body.is-game-page .hilo-page .hilo-guess { width:100%!important;height:80%!important;min-height:90px!important; }
    body.is-game-page .hilo-page .hilo-guess-hi { grid-column:1!important;grid-row:1!important; }
    body.is-game-page .hilo-page .hilo-guess-lo { grid-column:3!important;grid-row:1!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; }}

/* 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-btn-place.disabled { opacity: .5; cursor: default; pointer-events: none; }
.bnz-history .table-container { background: #2b2333; }
.bnz-btn-place.disabled,.bnz-btn-place:disabled {
    opacity:.48;
    cursor:not-allowed;
    pointer-events:none;
    transform:none;
    filter:saturate(.7);
    box-shadow:inset 0 1px rgba(255,255,255,.1);
}
.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) {
    .hilo-game-layout { flex-direction:row-reverse; }}
.sc-page .sc-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.sc-page .sc-btn-place.disabled { opacity: .55; cursor: not-allowed; }

/* 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-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.er-btn-place.disabled { opacity: .55; cursor: not-allowed; }
.er-history .table-tabs { padding: 8px 12px; background: rgba(5,3,10,.18); }
.er-history .table-header { background: rgba(255,255,255,.025); }
.co-page .co-btn-place:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7); }
.co-page .co-btn-place.disabled { opacity: .55; cursor: not-allowed; }
.hw-btn-place.disabled { opacity:.5;cursor:default;pointer-events:none; }
.mw-btn-place.disabled { opacity:.5;cursor:default;pointer-events:none; }
.bk-btn-place.disabled { opacity:.5;cursor:default;pointer-events:none; }
.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; }