

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

/* =========================================
   LIMBO GAME
   ========================================= */

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

/* ── Left panel ── */
.limbo-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;
}
.limbo-segment { display: flex; flex-direction: column; gap: 6px; }
.limbo-label { font-size: 14px; color: #dbdbdb; font-weight: 400; }
.limbo-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;
}
.limbo-input-icon { color: #acacac; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.limbo-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;
}
.limbo-input-suffix { color: #acacac; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.limbo-chips { display: flex; gap: 4px; flex-shrink: 0; }
.limbo-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;
}
.limbo-chip:hover { background: rgba(255,255,255,0.08); color: #fff; }
.limbo-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;
}
.limbo-btn-place:hover { background: #7c2fcf; }
.limbo-btn-place.win     { background: #09b95b !important; }
.limbo-btn-place.lose    { background: #e84040 !important; }
.limbo-btn-place.disabled { opacity: 0.55; cursor: not-allowed; }

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

/* ── Display area ── */
.limbo-display-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 32px;
    gap: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Cpath d='M0 80 Q100 60 200 80 Q300 100 400 80 Q500 60 600 80 Q700 100 800 80' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3Cpath d='M0 140 Q100 120 200 140 Q300 160 400 140 Q500 120 600 140 Q700 160 800 140' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3Cpath d='M0 200 Q100 180 200 200 Q300 220 400 200 Q500 180 600 200 Q700 220 800 200' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3Cpath d='M0 260 Q100 240 200 260 Q300 280 400 260 Q500 240 600 260 Q700 280 800 260' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3Cpath d='M0 320 Q100 300 200 320 Q300 340 400 320 Q500 300 600 320 Q700 340 800 320' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3Cpath d='M0 380 Q100 360 200 380 Q300 400 400 380 Q500 360 600 380 Q700 400 800 380' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 800px 400px;
    background-repeat: repeat;
}

.limbo-result-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.limbo-big-num {
    color: #fff;
    font-size: 88px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition: color 0.25s;
}
.limbo-big-num-suffix { font-size: 0.5em; font-weight: 700; opacity: 0.6; }
.limbo-big-num.win  { color: #09b95b; }
.limbo-big-num.lose { color: #e84040; }

/* Stats card */
.limbo-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;
}
.limbo-stats-row { display: flex; gap: 8px; }
.limbo-stat { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.limbo-stat-inp {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    width: 100%;
}
.limbo-stat-label { font-size: 12px; color: rgba(255,255,255,0.4); }

/* Override style.css absolute positioning on #limbo_bet */
.limbo-game-layout #limbo_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;
}
.limbo-game-layout #limbo_bet:hover    { background: #7c2fcf !important; }
.limbo-game-layout #limbo_bet.win      { background: #09b95b !important; }
.limbo-game-layout #limbo_bet.lose     { background: #e84040 !important; }
.limbo-game-layout #limbo_bet.disabled { opacity: 0.55; cursor: not-allowed; }

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

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

@media (max-width: 480px) {
    .limbo-big-num { font-size: 42px; }
    .limbo-stat-inp { font-size: 16px !important; }}
.wheel-risk-btn.active { background: #8d3bde; border-color: #8d3bde; color: #fff; }
.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 2026 UI REFRESH
   ========================================= */
.limbo-page { max-width: 1240px; margin: 0 auto; padding: 24px 22px 42px; box-sizing: border-box; text-align: left; }
.limbo-page-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.limbo-page-identity { display: flex; align-items: center; gap: 12px; }
.limbo-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); }
.limbo-page-icon img { width: 25px; height: 25px !important; object-fit: contain; }
.limbo-page-kicker { display: block; margin-bottom: 2px; color: #8d829a; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.limbo-page-identity h1 { margin: 0; color: #fff; font-size: 24px; line-height: 1.1; letter-spacing: -.025em; }
.limbo-page-actions { display: flex; align-items: center; gap: 8px; }
.limbo-how-button,.limbo-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; }
.limbo-how-button { cursor: pointer; }
.limbo-how-button:hover,.limbo-top-fair:hover { border-color: rgba(163,108,255,.32); background: rgba(135,74,232,.1); color: #fff; }
.limbo-top-fair i { color: #f4c95d; }
.limbo-page .limbo-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); }
.limbo-page .limbo-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; }
.limbo-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); }
.limbo-control-head > div span { display: block; margin-bottom: 3px; color: #857b8e; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.limbo-control-head > div strong { color: #f5f1f8; font-size: 15px; }
.limbo-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; }
.limbo-control-balance i,.limbo-page .limbo-input-icon { color: #f4c95d; }
.limbo-page .limbo-label { color: #a79ead; font-size: 11px; font-weight: 700; }
.limbo-page .limbo-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; }
.limbo-page .limbo-input-row:focus-within { border-color: #8952e2; box-shadow: 0 0 0 3px rgba(132,72,226,.12); }
.limbo-page .limbo-input { font-size: 18px; font-weight: 750; }
.limbo-page .limbo-input-suffix { color: #b78aee; }
.limbo-page .limbo-chips { gap: 5px; }
.limbo-page .limbo-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; }
.limbo-page .limbo-chip:hover { border-color: rgba(159,104,248,.38); background: rgba(130,69,226,.14); }
.limbo-page .limbo-game-layout #limbo_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); }
.limbo-page .limbo-game-layout #limbo_bet:hover:not(.disabled) { background: linear-gradient(135deg,#8241e5,#ae61f7) !important; }
.limbo-page .limbo-game-layout #limbo_bet.win { background: linear-gradient(135deg,#12a965,#43d88d) !important; }
.limbo-page .limbo-game-layout #limbo_bet.lose { background: linear-gradient(135deg,#c62f4b,#ff667a) !important; }
.limbo-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; }
.limbo-risk-note i { margin-top: 2px; color: #8e6fc1; }
.limbo-page .limbo-stage { position: relative; background: radial-gradient(circle at 50% 42%,rgba(108,52,180,.2),transparent 39%),linear-gradient(145deg,#100b1b,#0b0813); }
.limbo-page .limbo-stage::before { content: ''; position: absolute; inset: 57px 0 0; pointer-events: none; opacity: .31; 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 72%); mask-image: radial-gradient(circle at center,#000,transparent 72%); }
.limbo-page .limbo-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); }
.limbo-page .limbo-header-icon { width: 22px; height: 22px; }
.limbo-page .limbo-header-title { font-size: 14px; }
.limbo-page .limbo-info-icon { display: none; }
.limbo-round-state { display: inline-flex; align-items: center; gap: 8px; color: #89808f; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.limbo-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); }
.limbo-page .limbo-display-area { position: relative; z-index: 1; padding: 27px 24px 31px; gap: 24px; background: none; }
.limbo-scene-label { display: flex; width: min(100%,620px); align-items: center; justify-content: space-between; color: #776d7e; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.limbo-scene-label span { display: flex; align-items: center; gap: 6px; }
.limbo-scene-label i { color: #a87aeb; }
.limbo-scene-label small { color: #5f5765; font-size: 8px; }
.limbo-page .limbo-result-block { position: relative; display: grid; width: min(76vw,300px); height: min(76vw,300px); place-items: center; margin: -5px 0 0; border: 1px solid rgba(175,126,245,.15); border-radius: 50%; background: radial-gradient(circle,rgba(111,57,182,.16) 0 32%,rgba(39,20,65,.18) 33% 48%,transparent 49%),conic-gradient(from 35deg,rgba(160,98,238,.08),transparent 23%,rgba(244,201,93,.06),transparent 62%,rgba(83,215,149,.06)); box-shadow: inset 0 0 50px rgba(90,43,149,.12),0 0 55px rgba(93,44,155,.1); }
.limbo-page .limbo-result-block::before,.limbo-page .limbo-result-block::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.limbo-page .limbo-result-block::before { inset: 20px; border: 1px dashed rgba(177,126,244,.21); animation: limbo-orbit 22s linear infinite; }
.limbo-page .limbo-result-block::after { inset: 47px; border: 1px solid rgba(244,201,93,.1); box-shadow: 0 -2px 12px rgba(244,201,93,.08); }
.limbo-energy-field,.limbo-particles { position:absolute; inset:0; border-radius:50%; pointer-events:none; }
.limbo-energy-field i { position:absolute; inset:10px; border:1px solid transparent; border-top-color:rgba(190,135,255,.3); border-right-color:rgba(190,135,255,.08); border-radius:50%; opacity:.45; }
.limbo-energy-field i:nth-child(2) { inset:34px; border-top-color:rgba(244,201,93,.23); transform:rotate(135deg); }
.limbo-energy-field i:nth-child(3) { inset:61px; border-top-color:rgba(85,220,160,.22); transform:rotate(245deg); }
.limbo-result-block.is-drawing .limbo-energy-field i { animation:limbo-energy-spin .9s linear infinite; opacity:1; }
.limbo-result-block.is-drawing .limbo-energy-field i:nth-child(2) { animation-direction:reverse; animation-duration:1.25s; }
.limbo-result-block.is-drawing .limbo-energy-field i:nth-child(3) { animation-duration:.7s; }
.limbo-particles i { position:absolute; width:5px; height:5px; left:50%; top:50%; border-radius:50%; background:#c58aff; box-shadow:0 0 9px currentColor; opacity:0; }
.limbo-particles i:nth-child(1){--px:-112px;--py:-67px}.limbo-particles i:nth-child(2){--px:105px;--py:-75px}.limbo-particles i:nth-child(3){--px:126px;--py:30px}.limbo-particles i:nth-child(4){--px:62px;--py:119px}.limbo-particles i:nth-child(5){--px:-92px;--py:104px}.limbo-particles i:nth-child(6){--px:-129px;--py:18px}
.limbo-result-block.is-drawing .limbo-particles i { animation:limbo-particle-drift .9s ease-in-out infinite alternate; }
.limbo-result-block.is-drawing .limbo-particles i:nth-child(2){animation-delay:.08s}.limbo-result-block.is-drawing .limbo-particles i:nth-child(3){animation-delay:.16s}.limbo-result-block.is-drawing .limbo-particles i:nth-child(4){animation-delay:.24s}.limbo-result-block.is-drawing .limbo-particles i:nth-child(5){animation-delay:.32s}.limbo-result-block.is-drawing .limbo-particles i:nth-child(6){animation-delay:.4s}
.limbo-stage.is-win .limbo-display-area { box-shadow:inset 0 0 55px rgba(69,223,152,.14); }
.limbo-stage.is-lose .limbo-display-area { box-shadow:inset 0 0 55px rgba(255,98,119,.13); }
.limbo-result-block.is-win .limbo-particles i { background:#54df9d; animation:limbo-particle-burst .62s ease-out; }
.limbo-result-block.is-lose .limbo-particles i { background:#ff667a; animation:limbo-particle-burst .45s ease-out; }
.limbo-page .limbo-big-num { position: relative; z-index: 2; color: #f4eff9; font-family: "Arial Black",Arial,sans-serif; font-size: clamp(55px,7vw,83px); font-variant-numeric: tabular-nums; font-weight: 900; letter-spacing: -.065em; text-shadow: 0 6px 22px rgba(0,0,0,.6),0 0 38px rgba(155,88,239,.32); transition: color .2s,text-shadow .2s,transform .2s; }
.limbo-page .limbo-big-num-suffix { margin-left: 3px; color: #b58ae7; font-size: .38em; letter-spacing: 0; opacity: 1; }
.limbo-page .limbo-big-num.win { color: #54df9d; text-shadow: 0 6px 22px rgba(0,0,0,.58),0 0 24px rgba(67,216,141,.45),0 0 55px rgba(67,216,141,.2); animation: limbo-win-pulse .42s ease; }
.limbo-page .limbo-big-num.lose { color: #ff667a; text-shadow: 0 6px 22px rgba(0,0,0,.62),0 0 24px rgba(255,82,110,.43),0 0 55px rgba(255,82,110,.18); animation: limbo-lose-shake .34s ease; }
.limbo-result-caption { position:absolute; z-index:3; left:30px; right:30px; bottom:42px; color:#766c7d; font-size:10px; font-weight:800; letter-spacing:.045em; text-align:center; text-transform:uppercase; transition:color .2s,transform .2s; }
.limbo-result-block.is-drawing .limbo-result-caption { color:#b998e7; animation:limbo-caption-pulse .7s ease-in-out infinite alternate; }
.limbo-result-block.is-win .limbo-result-caption { color:#54df9d; transform:translateY(-2px); }
.limbo-result-block.is-lose .limbo-result-caption { color:#ff8292; }
.limbo-flight { --target-position:50%; --result-position:0%; width:min(100%,620px); padding:13px 15px 14px; border:1px solid rgba(255,255,255,.065); border-radius:13px; background:rgba(8,5,14,.42); box-sizing:border-box; }
.limbo-flight-copy { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; color:#756b7d; font-size:9px; font-weight:800; letter-spacing:.055em; text-transform:uppercase; }
.limbo-flight-copy span { display:flex; align-items:center; gap:6px; }
.limbo-flight-copy span i { color:#a871ff; }
.limbo-flight-copy strong { padding:4px 7px; border-radius:6px; background:rgba(168,113,255,.09); color:#ba8ef3; font-size:9px; }
.limbo-flight-track { position:relative; height:7px; border-radius:8px; background:rgba(255,255,255,.065); box-shadow:inset 0 1px 3px rgba(0,0,0,.4); }
.limbo-flight-fill { position:absolute; inset:0 auto 0 0; width:0; border-radius:inherit; background:linear-gradient(90deg,#7640ca,#bd75ff); box-shadow:0 0 13px rgba(174,100,255,.28); transition:width .1s linear,background .2s; }
.limbo-stage.is-drawing .limbo-flight-fill { animation:limbo-track-search 1.18s cubic-bezier(.2,.75,.2,1) forwards; }
.limbo-flight.is-settled .limbo-flight-fill { width:var(--result-position); }
.limbo-stage.is-win .limbo-flight-fill { background:linear-gradient(90deg,#6f42ca,#54df9d); }
.limbo-stage.is-lose .limbo-flight-fill { background:linear-gradient(90deg,#6f42ca,#ff667a); }
.limbo-target-pin,.limbo-result-pin { position:absolute; z-index:2; top:50%; left:var(--target-position); width:13px; height:13px; border:2px solid #c494ff; border-radius:50%; background:#171020; box-shadow:0 0 0 3px rgba(180,123,255,.1); transform:translate(-50%,-50%); }
.limbo-target-pin b { position:absolute; left:50%; bottom:15px; color:#82758c; font:800 7px/1 Arial,sans-serif; letter-spacing:.05em; text-transform:uppercase; transform:translateX(-50%); }
.limbo-result-pin { left:var(--result-position); width:9px; height:9px; border:0; background:#fff; opacity:0; transition:opacity .15s,transform .3s; }
.limbo-flight.is-settled .limbo-result-pin { opacity:1; transform:translate(-50%,-50%) scale(1.2); }
.limbo-stage.is-win .limbo-result-pin { background:#54df9d; box-shadow:0 0 10px #54df9d; }
.limbo-stage.is-lose .limbo-result-pin { background:#ff667a; box-shadow:0 0 10px #ff667a; }
.limbo-page .limbo-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); }
.limbo-page .limbo-stats-row { gap: 0; }
.limbo-page .limbo-stat { min-height: 76px; justify-content: center; padding: 12px 16px; }
.limbo-page .limbo-stat + .limbo-stat { border-left: 1px solid rgba(255,255,255,.06); }
.limbo-page .limbo-stat-inp { color: #f1ebf5; font-size: 19px; font-variant-numeric: tabular-nums; }
.limbo-page .limbo-stat:first-child .limbo-stat-inp { color: #bf94ff; }
.limbo-page .limbo-stat:nth-child(2) .limbo-stat-inp { color: #55dca0; }
.limbo-page .limbo-stat:last-child .limbo-stat-inp { color: #f4c95d; }
.limbo-page .limbo-stat-label { color: #706777; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.limbo-page .limbo-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); }
.limbo-history-title { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid rgba(255,255,255,.055); }
.limbo-history-title span { display: block; margin-bottom: 2px; color: #786f80; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.limbo-history-title h2 { margin: 0; color: #f1edf4; font-size: 14px; }
.limbo-history-title > i { color: #74539f; }
.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); }
@media (max-width: 900px) {
    .limbo-page .limbo-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) {
    .limbo-page { padding: 16px 12px 34px; }
    .limbo-how-button { width: 36px; padding: 0; justify-content: center; font-size: 0; }
    .limbo-how-button i { font-size: 13px; }
    .limbo-page .limbo-game-layout { flex-direction: column; min-height: 0; border-radius: 16px; }
    .limbo-page .limbo-stage { order: 1; }
    .limbo-page .limbo-controls { order: 2; width: 100%; min-width: 0; flex-direction: column; border-top: 1px solid rgba(255,255,255,.07); border-right: 0; }
    .limbo-page .limbo-result-block { width: 230px; height: 230px; }
    .limbo-page .limbo-big-num { font-size: 59px; }}
@media (max-width: 480px) {
    .limbo-page-icon { width: 40px; height: 40px; border-radius: 12px; }
    .limbo-page-identity h1 { font-size: 20px; }
    .limbo-top-fair { width: 36px; padding: 0; justify-content: center; font-size: 0; }
    .limbo-top-fair i { font-size: 13px; }
    .limbo-page .limbo-display-area { padding: 20px 10px; }
    .limbo-page .limbo-result-block { width: 190px; height: 190px; }
    .limbo-page .limbo-big-num { font-size: 48px; }
    .limbo-page .limbo-stats-row { display: grid; grid-template-columns: 1fr 1fr; }
    .limbo-page .limbo-stat:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.06); border-left: 0; }
    .limbo-page .limbo-input-row { flex-wrap: wrap; }
    .limbo-page .limbo-chips { width: 100%; }
    .limbo-page .limbo-chip { flex: 1; }
    .limbo-control-head { align-items: flex-start; }}
@media (prefers-reduced-motion: reduce) {
    .limbo-page .limbo-result-block::before,.limbo-result-block.is-drawing .limbo-energy-field i,.limbo-result-block.is-drawing .limbo-particles i,.limbo-stage.is-drawing .limbo-flight-fill { animation: none; }}
.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}
.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; }}

/* Limbo mobile game scene ------------------------------------------------ */
@media (max-width:768px) and (orientation:portrait) {
    body.is-game-page .limbo-page .limbo-game-layout {
        grid-template-rows:minmax(0,1fr) 142px!important;gap:6px!important;
    }
    body.is-game-page .limbo-page .limbo-stage {
        grid-row:1!important;order:1!important;padding:0!important;display:block!important;overflow:hidden!important;
    }
    body.is-game-page .limbo-page .limbo-header { display:none!important; }
    body.is-game-page .limbo-page .limbo-display-area {
        width:100%!important;height:100%!important;min-height:0!important;padding:6px!important;display:grid!important;
        grid-template-rows:minmax(0,1fr) 42px 48px!important;gap:5px!important;overflow:hidden!important;box-sizing:border-box!important;
    }
    body.is-game-page .limbo-page .limbo-scene-label { display:none!important; }
    body.is-game-page .limbo-page .limbo-result-block {
        grid-row:1!important;width:min(100%,calc(100dvh - 390px))!important;height:auto!important;max-width:270px!important;max-height:100%!important;
        aspect-ratio:1!important;margin:auto!important;align-self:center!important;justify-self:center!important;
    }
    body.is-game-page .limbo-page .limbo-big-num { font-size:clamp(43px,15vw,68px)!important; }
    body.is-game-page .limbo-page .limbo-result-caption { left:15px!important;right:15px!important;bottom:13%!important;font-size:7px!important; }
    body.is-game-page .limbo-page .limbo-result-block::before { inset:14px!important; }
    body.is-game-page .limbo-page .limbo-result-block::after { inset:32px!important; }
    body.is-game-page .limbo-page .limbo-flight {
        grid-row:2!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:5px 8px!important;border-radius:10px!important;box-sizing:border-box!important;
    }
    body.is-game-page .limbo-page .limbo-flight-copy { margin-bottom:5px!important;font-size:7px!important; }
    body.is-game-page .limbo-page .limbo-flight-copy strong { font-size:8px!important; }
    body.is-game-page .limbo-page .limbo-stats-card {
        grid-row:3!important;width:100%!important;height:48px!important;min-height:48px!important;margin:0!important;border-radius:10px!important;
    }
    body.is-game-page .limbo-page .limbo-stats-row { height:48px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important; }
    body.is-game-page .limbo-page .limbo-stat,
    body.is-game-page .limbo-page .limbo-stat:last-child {
        grid-column:auto!important;height:48px!important;min-height:48px!important;padding:4px 3px!important;border-top:0!important;
    }
    body.is-game-page .limbo-page .limbo-stat-inp { font-size:12px!important; }
    body.is-game-page .limbo-page .limbo-stat-label { font-size:6px!important;line-height:1.1!important;text-align:center!important; }

    body.is-game-page .limbo-page .limbo-controls {
        grid-row:2!important;order:2!important;padding:7px!important;display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:56px 67px!important;gap:5px 6px!important;overflow:hidden!important;
    }
    body.is-game-page .limbo-page .limbo-controls #limbo_bet {
        grid-column:1/-1!important;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 .limbo-page .limbo-segment { grid-row:2!important;margin:0!important;gap:3px!important;overflow:hidden!important; }
    body.is-game-page .limbo-page .limbo-bet-segment { grid-column:1!important; }
    body.is-game-page .limbo-page .limbo-target-segment { grid-column:2!important; }
    body.is-game-page .limbo-page .limbo-label { margin:0!important;font-size:8px!important;line-height:1!important;white-space:nowrap!important; }
    body.is-game-page .limbo-page .limbo-input-row {
        width:100%!important;height:56px!important;min-height:56px!important;padding:5px!important;flex-wrap:nowrap!important;gap:3px!important;overflow:hidden!important;
    }
    body.is-game-page .limbo-page .limbo-input-icon { display:none!important; }
    body.is-game-page .limbo-page .limbo-input { min-width:28px!important;font-size:14px!important; }
    body.is-game-page .limbo-page .limbo-input-suffix { font-size:11px!important; }
    body.is-game-page .limbo-page .limbo-chips { width:auto!important;margin:0!important;display:flex!important;flex:0 0 auto!important;gap:2px!important; }
    body.is-game-page .limbo-page .limbo-chip {
        width:31px!important;min-width:31px!important;height:38px!important;min-height:38px!important;padding:0 2px!important;flex:0 0 31px!important;
        border-radius:8px!important;font-size:8px!important;font-weight:850!important;
    }
    body.is-game-page .limbo-page .limbo-bet-segment .limbo-chip { width:37px!important;min-width:37px!important;flex-basis:37px!important; }}

@media (max-width:350px) and (orientation:portrait) {
    body.is-game-page .limbo-page .limbo-game-layout { grid-template-rows:minmax(0,1fr) 136px!important; }
    body.is-game-page .limbo-page .limbo-controls { grid-template-rows:54px 63px!important; }
    body.is-game-page .limbo-page .limbo-controls #limbo_bet { height:54px!important;min-height:54px!important; }
    body.is-game-page .limbo-page .limbo-input-row { height:52px!important;min-height:52px!important; }
    body.is-game-page .limbo-page .limbo-chip { width:28px!important;min-width:28px!important;height:35px!important;min-height:35px!important;flex-basis:28px!important; }
    body.is-game-page .limbo-page .limbo-bet-segment .limbo-chip { width:34px!important;min-width:34px!important;flex-basis:34px!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 .limbo-page .limbo-controls { grid-column:1!important;grid-row:1!important;order:1!important; }
    body.is-game-page .limbo-page .limbo-stage { grid-column:2!important;grid-row:1!important;order:2!important;padding:0!important;overflow:hidden!important; }
    body.is-game-page .limbo-page .limbo-header,
    body.is-game-page .limbo-page .limbo-scene-label { display:none!important; }
    body.is-game-page .limbo-page .limbo-display-area { width:100%!important;height:100%!important;padding:4px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 150px!important;grid-template-rows:minmax(0,1fr) 48px!important;gap:4px!important;overflow:hidden!important; }
    body.is-game-page .limbo-page .limbo-result-block { grid-column:1!important;grid-row:1/3!important;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:1!important;margin:auto!important; }
    body.is-game-page .limbo-page .limbo-flight { grid-column:2!important;grid-row:1!important;align-self:end!important; }
    body.is-game-page .limbo-page .limbo-stats-card { grid-column:2!important;grid-row:2!important;height:48px!important;overflow:hidden!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-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) {
    .limbo-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-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; }