/* Per-board phone layouts. Preserve engine IDs, drawing coordinates and odds. */
@media(max-width:600px){
 /* One outer gutter, one surface: imported boards no longer lose width twice. */
 html body.tc-mobile-game .page_content{width:100%!important;max-width:none!important;box-sizing:border-box;padding-left:12px!important;padding-right:12px!important}
 html body.tc-mobile-game .tc-game-heading .tc-game-eyebrow{display:none!important}
 html body.tc-mobile-game .tc-game-heading h1{font-size:21px!important;line-height:28px!important}
 html body.tc-mobile-game .tc-studio-shell{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
 html body.tc-mobile-game .tc-studio-shell .tc-import-layout{gap:0!important}
 html body.tc-mobile-game .tc-studio-shell .tc-import-stage{margin:0!important;width:100%!important;max-width:100%!important;border-radius:calc(12px * var(--ui-radius-scale,1))!important}
 html body.tc-mobile-game :is(.tc-control-panel,.tc-import-controls,.tc-dice-controls){gap:12px!important;padding:14px!important}
 html body.tc-mobile-game :is(.tc-control-panel,.tc-import-controls,.tc-dice-controls) :is(input[inputmode=decimal],input[type=text],select){font-size:16px!important;min-width:0}
 html body.tc-mobile-game :is(.tc-game-modes,.tc-dice-modes) button{min-height:44px!important}
 html body.tc-mobile-game :is(.tc-studio-footer,.tc-round-empty){display:none!important}
 html body.tc-mobile-game .tc-session-history:has(.tc-round-empty):not(:has(.tc-session-row)){display:none!important}
 html body.tc-mobile-game .game_page_header_wrap{margin-bottom:10px!important}
 html body.tc-mobile-game .game_page_header{min-height:54px!important;padding:4px 0!important}
 /* Dice: controls retain the three-field row; artwork yields to result/target. */
 html body.tc-game-dice #dice_gameboard.tc-dice-board{padding:14px!important;gap:10px!important}
 html body.tc-game-dice #dice_gameboard .dice_game_outcome{min-height:118px!important}
 html body.tc-game-dice .tc-dice-art{width:40px;height:40px}
 html body.tc-game-dice .tc-dice-board-settings .tc-dice-value{height:48px!important}
 html body.tc-game-dice .tc-dice-stats{padding:14px!important;gap:12px!important}
 /* Tower/Gems: inactive floors are compact, the only selectable floor is 44px. */
 html body #tower_gameboard .tower_gameline.tc-tower-floor{min-height:28px!important}
 html body #tower_gameboard .tower_gamecell{height:28px!important;min-height:28px!important}
 html body #tower_gameboard .current_line .tower_gamecell{height:44px!important;min-height:44px!important}
 html body #tower_gameboard .tower_gamecell_img img{width:22px!important;height:22px!important}
 html body #tower_gameboard .tc-tower-grid{gap:5px}
 html body #ftGemsTable{padding:12px!important;gap:5px!important}
 html body #ftGemsTable .ft-gems-cell{height:28px!important;min-height:28px!important}
 html body #ftGemsTable .ft-gems-row.is-on .ft-gems-cell{height:44px!important;min-height:44px!important}
 html body #ftGemsTable .tc-gems-sprite{width:24px;height:24px}
 /* Mines/Keno: the actual choices, rather than decorative padding, fill width. */
 html body .gamebox_container.tc-game-workspace>#mines_gameboard{padding:10px!important;min-height:0!important}
 html body .gamebox_container.tc-game-workspace>#keno_gameboard{padding:12px!important;min-height:0!important}
 html body #keno_table{gap:6px!important;padding:0!important}
 html body #keno_table .keno_gamecell{min-height:44px!important;height:44px!important;padding:0!important;font-size:13px!important}
 /* Limbo/Wheel/Plinko: keep artwork and canvas aspect ratios. */
 html body .gamebox_container.tc-game-workspace>#limbo_gameboard{min-height:240px!important;padding:16px!important}
 html body .gamebox_container.tc-game-workspace>#wheel_gameboard{padding:10px!important;min-height:0!important}
 html body .gamebox_container.tc-game-workspace>#plinko_gameboard{padding:12px 6px!important;min-height:0!important}
 /* SicBo: 16 totals become four large columns, not miniature eight-column text. */
 html body .gamebox_container.tc-game-workspace>#sicbo_gameboard{padding:12px!important;min-height:0!important}
 html body #sicbo_gameboard .result_wrapper:empty{display:none!important}
 html body #sicbo_gameboard .sicbo_game_outcome{padding:18px 0!important;margin-bottom:10px!important;min-height:100px!important}
 html body #sicbo_gameboard .game_action_bar_3{gap:8px!important}
 html body #sicbo_gameboard .game_action_bar_3 .bet_selection{min-height:48px!important}
 html body #sicbo_gameboard .select_number{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-top:8px!important}
 html body #sicbo_gameboard .select_number .number{width:100%!important;min-height:48px!important;margin:0!important;padding:4px!important;display:flex!important;flex-direction:column;justify-content:center;gap:4px}
 html body #sicbo_gameboard .number_label{font-size:14px!important;line-height:18px!important;padding:0!important}
 html body #sicbo_gameboard .multiplier_label{font-size:10px!important;line-height:14px!important;margin:0!important}
 /* Chuck a Luck: generous bets, compact dice tray, horizontally scrollable chips. */
 html body .gamebox_container.tc-game-workspace>#chuckaluck_gameboard{padding:12px!important;min-height:0!important}
 html body #chuckaluck_gameboard .chuckaluck_game_outcome{padding:14px 6px!important;margin-bottom:8px!important;min-height:100px!important}
 html body #chuckaluck_gameboard .select_dice .bet_place{padding:4px!important;min-height:72px!important}
 html body #chuckaluck_gameboard .select_dice .bet_place .dice_wrapper{margin:4px auto!important}
 html body #chuckaluck_gameboard .container-bet{display:flex!important;justify-content:flex-start!important;overflow-x:auto;gap:8px;padding:8px 2px!important;margin:0!important;scrollbar-width:thin}
 html body #chuckaluck_gameboard .container-bet .chip-container{flex:0 0 44px!important;width:44px!important;height:44px!important;margin:0!important}
 html body #chuckaluck_gameboard .container-bet .chip{width:44px!important;height:44px!important;line-height:44px!important;margin:0!important;font-size:10px!important;transform:none!important}
 html body #chuckaluck_gameboard :is(#undo_bet,#clear_all_bet_chips){display:inline-flex;align-items:center;min-height:44px;padding:0 10px;font-size:12px}
 html body #chuckaluck_gameboard div:has(>#undo_bet){height:44px!important}
 /* Baccarat: two legible hands, compact totals, no duplicate payout decoration. */
 html body #ftBcBoard{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:300px!important;height:auto!important;padding:18px 12px!important}
 html body #ftBcBoard .ft-bc-deck{display:none!important}
 html body #ftBcBoard .ft-bc-row{display:flex!important;align-items:center;height:82px!important;min-height:82px;margin:0!important;justify-content:center}
 html body #ftBcBoard .ft-bc-card{width:52px!important;height:82px!important}
 html body #ftBcBoard .ft-bc-summary{position:static!important;height:22px!important;line-height:22px!important;margin:0!important;font-size:12px!important}
 html body #ftBcBoard .ft-bc-payout{display:none!important}
 html body #ftBaccarat .ft-bc-radios{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html body #ftBaccarat .ft-bc-radio{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0!important}
 /* Blackjack: retain separate dealer/player regions and insurance prompt. */
 html body #ftBjBoard{min-height:300px!important;padding:14px 10px!important}
 html body #ftBjBoard::after{content:none!important}
 html body #ftBjBoard .ft-bc-deck{display:none!important}
 html body #ftBjBoard .ft-bc-payout{height:24px!important;margin:10px auto!important;padding:2px!important;font-size:10px!important}
 html body #ftBjBoard .ft-bc-row{height:95px!important;margin-top:0!important}
 html body #ftBjBoard .ft-bc-summary{margin:6px auto!important}
 /* High-Low: one card is the focal point; rules belong in Rules. */
 html body #ftHlBoard{height:230px!important;min-height:230px!important;align-items:center!important;justify-content:center!important;padding:16px!important}
 html body #ftHlBoard .ft-hl-rules{display:none!important}
 html body #ftHlBoard .ft-hl-deck{margin-top:0!important}
 html body #ftHlList:empty,html body #ftHlList:not(:has(.ft-hl-card)){display:none!important}
 html body .tc-mobile-play-actions :is(#ftHlHigh,#ftHlLow){font-size:11px!important}
 /* Poker: keep five hold targets >=44px and put payout reference in a disclosure. */
 html body #pokerBoard{min-height:210px!important;padding:18px 8px!important}
 html body #pokerBoard .ft-poker-card{min-width:44px}
 /* Reels/Eggs: no tall empty presentation boxes above the actual symbols. */
 html body #ftSlots .tc-special-stage{min-height:240px!important;padding:14px 8px!important}
 html body #ftUdice .tc-special-stage{min-height:220px!important;padding:20px 10px!important;gap:24px!important}
 html body #ftUdice .tc-ultimate-art{width:56px;height:56px}
 html body #ftEggSlots{min-height:210px!important;padding:12px!important}
 html body #ftEgyptian .ft-es-stage{min-height:210px!important;padding:12px 6px!important}
 /* Wheel Pro: all 5 segment choices share a row with proper thumb targets. */
 html body #ftWheelPro .ft-wpro-stage{min-height:0!important;aspect-ratio:1;padding:8px!important}
 html body #ftWheelPro .ft-wpro-opts{display:flex!important;gap:5px!important;flex-wrap:nowrap!important}
 html body #ftWheelPro .ft-wpro-opt{flex:1;min-width:0!important;min-height:44px!important;padding:4px!important}
 /* Coin Flip: remove marketing copy and keep the actual flip statistics. */
 html body #ftCf .ft-cf-strip{display:none!important}
 html body #ftCfBoard{min-height:210px!important;margin:0!important;padding:16px!important}
 /* Chicken: preserve the road canvas scale; shorten only its outer frame. */
 html body .tc-chicken-workspace .tc-chicken-stage{padding:10px!important;min-height:0!important}
 /* Offline Crash stays visibly unavailable, never mistaken for a playing board. */
 html body #ftCrash .tc-crash-pending{margin:0 0 12px!important;padding:12px!important}
 html body #ftCrash .tc-crash-pending p{display:none!important}
 html body #ftCrash .ft-crash-stage{min-height:210px!important}
 /* Roulette gets its own touch grid below; no shrink-to-fit zoom. */
 html body #roulette_game .tc-roulette-stage{padding:10px!important;min-height:0!important}
 html body #roulette_game .container-roulette{width:100%!important;max-width:100%!important;zoom:1!important;margin:10px 0 0!important}
 html body #roulette_game table.roulette{display:grid!important;grid-template-columns:40px repeat(3,minmax(0,1fr)) 40px!important;grid-template-rows:repeat(13,44px);gap:3px;width:100%!important;border-collapse:separate!important}
 html body #roulette_game table.roulette :is(tbody,tr){display:contents!important}
 html body #roulette_game table.roulette td{display:flex!important;position:relative!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;min-height:44px!important;padding:0!important;border-radius:calc(5px * var(--ui-radius-scale,1))!important}
 html body #roulette_game table.roulette td>span:not(.chip){position:static!important;transform:none!important;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px;max-width:100%;font-size:11px!important;line-height:14px!important;height:100%;width:100%}
 html body #roulette_game .zero{height:44px!important;line-height:44px!important;margin:0 43px 4px!important;width:auto!important}
}
@media(max-width:600px){
html body #roulette_game table.roulette td[data-id-number="1"]{grid-column:2;grid-row:1}
html body #roulette_game table.roulette td[data-id-number="2"]{grid-column:3;grid-row:1}
html body #roulette_game table.roulette td[data-id-number="3"]{grid-column:4;grid-row:1}
html body #roulette_game table.roulette td[data-id-number="4"]{grid-column:2;grid-row:2}
html body #roulette_game table.roulette td[data-id-number="5"]{grid-column:3;grid-row:2}
html body #roulette_game table.roulette td[data-id-number="6"]{grid-column:4;grid-row:2}
html body #roulette_game table.roulette td[data-id-number="7"]{grid-column:2;grid-row:3}
html body #roulette_game table.roulette td[data-id-number="8"]{grid-column:3;grid-row:3}
html body #roulette_game table.roulette td[data-id-number="9"]{grid-column:4;grid-row:3}
html body #roulette_game table.roulette td[data-id-number="10"]{grid-column:2;grid-row:4}
html body #roulette_game table.roulette td[data-id-number="11"]{grid-column:3;grid-row:4}
html body #roulette_game table.roulette td[data-id-number="12"]{grid-column:4;grid-row:4}
html body #roulette_game table.roulette td[data-id-number="13"]{grid-column:2;grid-row:5}
html body #roulette_game table.roulette td[data-id-number="14"]{grid-column:3;grid-row:5}
html body #roulette_game table.roulette td[data-id-number="15"]{grid-column:4;grid-row:5}
html body #roulette_game table.roulette td[data-id-number="16"]{grid-column:2;grid-row:6}
html body #roulette_game table.roulette td[data-id-number="17"]{grid-column:3;grid-row:6}
html body #roulette_game table.roulette td[data-id-number="18"]{grid-column:4;grid-row:6}
html body #roulette_game table.roulette td[data-id-number="19"]{grid-column:2;grid-row:7}
html body #roulette_game table.roulette td[data-id-number="20"]{grid-column:3;grid-row:7}
html body #roulette_game table.roulette td[data-id-number="21"]{grid-column:4;grid-row:7}
html body #roulette_game table.roulette td[data-id-number="22"]{grid-column:2;grid-row:8}
html body #roulette_game table.roulette td[data-id-number="23"]{grid-column:3;grid-row:8}
html body #roulette_game table.roulette td[data-id-number="24"]{grid-column:4;grid-row:8}
html body #roulette_game table.roulette td[data-id-number="25"]{grid-column:2;grid-row:9}
html body #roulette_game table.roulette td[data-id-number="26"]{grid-column:3;grid-row:9}
html body #roulette_game table.roulette td[data-id-number="27"]{grid-column:4;grid-row:9}
html body #roulette_game table.roulette td[data-id-number="28"]{grid-column:2;grid-row:10}
html body #roulette_game table.roulette td[data-id-number="29"]{grid-column:3;grid-row:10}
html body #roulette_game table.roulette td[data-id-number="30"]{grid-column:4;grid-row:10}
html body #roulette_game table.roulette td[data-id-number="31"]{grid-column:2;grid-row:11}
html body #roulette_game table.roulette td[data-id-number="32"]{grid-column:3;grid-row:11}
html body #roulette_game table.roulette td[data-id-number="33"]{grid-column:4;grid-row:11}
html body #roulette_game table.roulette td[data-id-number="34"]{grid-column:2;grid-row:12}
html body #roulette_game table.roulette td[data-id-number="35"]{grid-column:3;grid-row:12}
html body #roulette_game table.roulette td[data-id-number="36"]{grid-column:4;grid-row:12}
html body #roulette_game table.roulette td[data-id-number="37"]{grid-column:1;grid-row:1 / span 2}
html body #roulette_game table.roulette td[data-id-number="41"]{grid-column:1;grid-row:3 / span 2}
html body #roulette_game table.roulette td[data-id-number="40"]{grid-column:1;grid-row:5 / span 2}
html body #roulette_game table.roulette td[data-id-number="39"]{grid-column:1;grid-row:7 / span 2}
html body #roulette_game table.roulette td[data-id-number="42"]{grid-column:1;grid-row:9 / span 2}
html body #roulette_game table.roulette td[data-id-number="38"]{grid-column:1;grid-row:11 / span 2}
html body #roulette_game table.roulette td[data-id-number="43"]{grid-column:5;grid-row:1 / span 4}
html body #roulette_game table.roulette td[data-id-number="44"]{grid-column:5;grid-row:5 / span 4}
html body #roulette_game table.roulette td[data-id-number="45"]{grid-column:5;grid-row:9 / span 4}
html body #roulette_game table.roulette td[data-id-number="46"]{grid-column:2;grid-row:13 / span 1}
html body #roulette_game table.roulette td[data-id-number="47"]{grid-column:3;grid-row:13 / span 1}
html body #roulette_game table.roulette td[data-id-number="48"]{grid-column:4;grid-row:13 / span 1}
}
@media(max-width:600px){
 html body .tc-import-controls :is(.ft-bc-actions,.ft-cf-row,.ft-poker-actions,.ft-hl-actions,.ft-egg-actions,.ft-es-actions,.ft-dice-roll-col,.ft-slots-spinrow):not(:has(button)){display:none!important}
 html body .tc-import-controls .tc-mobile-reference{margin:0;padding:0;border:0;border-top:1px solid var(--gs-line,#345064)}
 .tc-mobile-reference>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;cursor:pointer;list-style:none;font:650 13px/20px Inter,Arial,sans-serif;color:var(--gs-text,#dbeaf4)}
 .tc-mobile-reference>summary::after{content:'+';font-size:20px}.tc-mobile-reference[open]>summary::after{content:'−'}
 .tc-mobile-reference>summary::-webkit-details-marker{display:none}
 html body .tc-mobile-play-actions :is(#ftBjSplit,#ftBjDouble,#ftBjSurrender){background:var(--ui-p-355064,#355064)!important;color:var(--ui-p-e7f0f5,#e7f0f5)!important}
}
@media(min-width:601px){.tc-mobile-reference>summary{display:none}.tc-mobile-reference{display:contents}}
@media(max-width:600px){
 html body #roulette_game table.roulette tbody tr:nth-child(n){display:contents!important}
 html body #roulette_game table.roulette td.empty{display:none!important}
 html body #roulette_game table.roulette{grid-template-columns:44px repeat(3,minmax(0,1fr)) 44px!important}
 html body #roulette_game #rou_chips{display:flex!important;justify-content:flex-start!important;gap:8px!important;overflow-x:auto;padding:8px 0!important}
 html body #roulette_game #rou_chips .chip-container{flex:0 0 44px!important;width:44px!important;height:44px!important}
 html body #roulette_game #rou_chips .chip{width:44px!important;height:44px!important;line-height:44px!important;margin:0!important;font-size:10px!important;transform:none!important}
 html body #roulette_game .ft-rou-tools button{min-height:44px!important;flex:1}
 html body #sicbo_gameboard .number_label{margin:0!important}
 html body #sicbo_gameboard .result_wrapper:not(:has(*)){display:none!important}
 html body #ftWheelPro .ft-wpro-disc{width:100%!important;height:auto!important;aspect-ratio:1;max-width:none!important}
 html body #ftWheelPro #ftWpCanvas{display:block;width:100%!important;height:100%!important;aspect-ratio:1;object-fit:contain}
 html body #ftBjBoard .ft-bc-deck{display:block!important;left:auto!important;right:12px!important;top:12px!important;transform:scale(.55);transform-origin:top right}
 html body #ftBjBoard:has(#ftBjDealer .ft-bc-card) .ft-bc-deck{display:none!important}
 html body #ftBcBoard .ft-bc-row:empty::before{content:'';display:block;width:52px;height:82px;border:1px solid var(--ui-p-b9d3bf44,#b9d3bf44);border-radius:calc(5px * var(--ui-radius-scale,1));box-shadow:14px 0 0 -1px var(--ui-p-173d2e,#173d2e),14px 0 0 0 var(--ui-p-b9d3bf22,#b9d3bf22)}
 html body .tc-mobile-play-actions button{touch-action:manipulation}
 html body .tc-import-controls :is(#ftWp2x,#ftWpHalf,#ftCfHalf,#ftCfDouble,#ftCfMax,#ftBcHalf,#ftBcDouble,#pokerHalf,#poker2x,#ftEs2x,#ftEsHalf,#ftEgg2x,#ftEggHalf),html body .tc-control-panel :is(#bet_half,#bet_double){min-width:44px!important;min-height:44px!important}
}
@media(max-width:600px){
 html body .tc-import-result-dock :is(#ftBjResult,#ftCfResult,#ftEggResult){position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;min-height:44px!important;margin:0!important;padding:8px!important;background:transparent!important;box-shadow:none!important;border:0!important}
 html body .tc-import-result-dock :is(#ftBjResult,#ftCfResult,#ftEggResult).is-on{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
 html body .tc-import-result-dock :is(#ftBjResult,#ftCfResult,#ftEggResult)[hidden]{display:none!important}
}
@media(max-width:600px){html body #ftHlBoard{justify-content:space-around!important}html body #ftHlBoard .ft-hl-rules{display:block!important;width:40px!important;min-width:40px!important;padding:0!important;margin:0!important;background:none!important;border:0!important}html body #ftHlBoard .ft-hl-rules p{display:none!important}html body #ftHlBoard .ft-hl-rules h3{font-size:18px!important}}
/* Results remain outside boards on desktop too. */
html body .tc-import-result-dock :is(#ftBjResult,#ftCfResult,#ftEggResult){position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;min-height:44px;margin:0!important;padding:8px!important;background:transparent!important;box-shadow:none!important;border:0!important}
@media(max-width:600px){html body #ftWheelPro .ft-wpro-disc{padding-bottom:0!important}}
@media(max-width:600px){
 html body #roulette_game .tc-roulette-total{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:4px 0!important;padding:4px 0!important}
 html body #roulette_game .tc-roulette-total .input_label{font-size:12px!important;white-space:nowrap;margin:0!important}
 html body #roulette_game .tc-roulette-total input{width:150px!important;max-width:60%;height:36px!important;text-align:right;font:650 14px Inter,Arial,sans-serif!important;background:transparent!important;border:0!important;padding:0!important;color:var(--gs-text,#e0eff8)!important}
 html body #roulette_game #rou_chips{position:sticky;top:64px;z-index:4;background:var(--gs-panel,#193343);border-radius:calc(8px * var(--ui-radius-scale,1))}
 html body #roulette_game #rou_chips .chip.open{outline:2px solid var(--ui-p-b7f76b,#b7f76b);outline-offset:0}
}
/* Card faces are paper surfaces in either theme; theme body text must not wash out ranks. */
html body .tc-studio-shell :is(.ft-bc-front,.ft-hl-front,.ft-poker-face){color:var(--ui-p-172c3b,#172c3b)!important}
html body .tc-studio-shell :is(.ft-bc-inner,.ft-hl-inner):is(.heart,.diamond) :is(.ft-bc-front,.ft-hl-front){color:var(--ui-p-c72f4b,#c72f4b)!important}
html body .tc-studio-shell :is(.ft-bc-front,.ft-hl-front) :is(p,b,strong,em,span){color:inherit!important}
html body .tc-studio-shell :is(.ft-bc-front,.ft-hl-front) svg{color:inherit!important}
@media(max-width:600px){
 html body.tc-mobile-game .tc-studio-shell.tc-studio-v2 .tc-import-controls :is(.ft-bc-actions,.ft-cf-row,.ft-poker-actions,.ft-hl-actions,.ft-egg-actions,.ft-es-actions,.ft-dice-roll-col,.ft-slots-spinrow):not(:has(button)){display:none!important;min-height:0!important;margin:0!important;padding:0!important}
 html body.tc-mobile-game .tc-studio-shell.tc-studio-v2 .tc-import-controls>:is(.ft-bc-box,.ft-cf-panel,.ft-egg-box){padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
}
html body .tc-import-result-dock :is(#ftWpPop,#ftEsResult){position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;min-height:44px;margin:0!important;padding:8px!important;background:transparent!important;box-shadow:none!important;border:0!important}
html body .tc-import-result-dock :is(#ftWpPop,#ftEsResult):not([hidden]){display:flex!important;align-items:center;justify-content:space-between;gap:12px}
html body .tc-import-result-dock :is(#ftWpPop,#ftEsResult)[hidden]{display:none!important}
@media(max-width:900px){
 html body .tc-mobile-settings{flex-basis:94px!important;width:94px!important;min-width:0!important;overflow:hidden}
 html body .tc-mobile-settings .tc-mobile-stake{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:750 12px/18px Inter,Arial,sans-serif;font-variant-numeric:tabular-nums;color:inherit}
 html body .tc-mobile-play-actions{flex:1;min-width:0}
 html body .tc-mobile-play-actions #ftBjActions.is-on button{min-width:60px!important;font-size:11px!important}
 html body.tc-game-dice .tc-dice-board-settings input{font-size:16px!important}
}
@media(max-width:600px){html body .tc-studio-shell[data-game=crash] .tc-crash-pending{margin:0 0 12px!important;padding:12px!important}html body .tc-studio-shell[data-game=crash] .tc-crash-pending p{display:none!important}}
html[data-theme=light] body .tc-import-result-dock :is(#ftBjResult,#ftCfResult,#ftEggResult,#ftWpPop,#ftEsResult){color:var(--ui-p-234255,#234255)!important}
html[data-theme=light] body .tc-import-result-dock :is(#ftBjResult.is-win,#ftCfResult.is-on:not(.is-lose),#ftEggResult.is-win,#ftWpPop,#ftEsResult.win){color:var(--ui-p-477820,#477820)!important}
html[data-theme=light] body .tc-import-result-dock :is(#ftBjResult.is-lose,#ftCfResult.is-lose,#ftEggResult.is-lose,#ftEsResult.lose){color:var(--ui-p-b43c59,#b43c59)!important}
html[data-theme=light] body .tc-import-result-dock :is(#ftBjResult,#ftCfResult,#ftEggResult,#ftWpPop,#ftEsResult) :is(strong,b,em,span){color:inherit!important}
@media(max-width:600px){
 html body :is(#dice-strategy-form,.ft-dice-modal-card) :is(input,select,textarea){font-size:16px!important;min-height:44px!important}
 html body #dice-strategy-form button,html body .ft-dice-modal-card .ft-dice-modal-actions button{min-height:44px!important}
 html body #dice-strategy-form footer{position:sticky;bottom:0;padding:12px 0!important;background:var(--ui-p-193343,#193343);z-index:2}
 html[data-theme=light] body #dice-strategy-form footer{background:var(--ui-p-ffffff,#fff)}
}
@media(max-width:600px){
 html body.tc-mobile-game :is(.tc-control-panel,.tc-import-controls,.tc-dice-controls) input:not([type=checkbox]):not([type=radio]):not([type=range]){font-size:16px!important;min-height:44px}
 html body.tc-mobile-game :is(.tc-control-panel,.tc-import-controls,.tc-dice-controls) input[readonly]{font-size:14px!important}
}
@media(max-width:600px){html body.tc-mobile-game input:is(#number_rolls,#profit_loss){font-size:13px!important;min-height:0!important}}
@media(max-width:600px){
 html body.tc-game-dice #dice_gameboard.tc-dice-board{position:relative}
 html body.tc-game-dice .tc-dice-board-top{display:none!important}
 html body.tc-game-dice .tc-dice-chances button{min-height:44px;min-width:44px}
 html body.tc-game-dice #dice-switch-side{width:44px!important;flex-basis:44px!important;height:44px!important}
 html body.tc-game-dice .tc-dice-field:has(#dice-target) .tc-dice-value{padding:0 4px!important;gap:0!important}
 html body #ftUdice .ft-udice-handle::after{content:'';position:absolute;inset:-10px -7px}
}
@media(max-width:600px){
 html body.tc-mobile-game .Footer_footer__Dhw_9{margin-top:24px!important;padding:0 12px!important}
 html body.tc-mobile-game .Footer_footer__info__LmBvl{padding-top:0!important;padding-bottom:0!important}
 .tc-mobile-site-links>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font:600 12px/20px Inter,Arial,sans-serif;color:var(--ui-p-8ca7b9,#8ca7b9);list-style:none}
 .tc-mobile-site-links>summary::after{content:'+';margin-left:auto;font-size:18px}.tc-mobile-site-links[open]>summary::after{content:'−'}
 .tc-mobile-site-links a{display:inline-flex;align-items:center;min-height:44px}
 .tc-mobile-site-links>summary::-webkit-details-marker{display:none}
 html[data-theme=light] .tc-mobile-site-links>summary{color:var(--ui-p-526e80,#526e80)}
}
@media(min-width:601px){.tc-mobile-site-links{display:contents}.tc-mobile-site-links>summary{display:none}}
html body .tc-import-result-dock #rou_result.is-on{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font:600 11px/18px Inter,Arial,sans-serif;color:var(--ui-p-afc5d2,#afc5d2)}
html body .tc-import-result-dock #rou_result strong{font-size:20px;line-height:26px;color:inherit}
html body .tc-import-result-dock #rou_result b{font-size:12px;color:inherit;text-align:right}
html body .tc-import-result-dock #rou_result.is-win{color:var(--ui-p-b7f76b,#b7f76b)}html body .tc-import-result-dock #rou_result.is-lose{color:var(--ui-p-ed9caf,#ed9caf)}
html body .tc-import-result-dock #rou_result[hidden]{display:none!important}
html[data-theme=light] body .tc-import-result-dock #rou_result{color:var(--ui-p-355365,#355365)}html[data-theme=light] body .tc-import-result-dock #rou_result.is-win{color:var(--ui-p-477820,#477820)}html[data-theme=light] body .tc-import-result-dock #rou_result.is-lose{color:var(--ui-p-b43c59,#b43c59)}

/* Shared numeric alignment for every game, at desktop and mobile sizes. */
html body :is(.tc-dice-controls,.tc-dice-board-settings,.tc-control-panel,.tc-import-controls,.game_action_bar_2) input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=button]):not([type=submit]),
html body #roulette_game #rou_total{
 text-align:center!important;
 font-variant-numeric:tabular-nums;
 text-indent:0!important;
}
/* Units are outside the text flow, keeping the numeric field at the full box width. */
html body.tc-game-dice .tc-dice-value:has(>.tc-dice-unit),
html body.tc-game-dice .tc-dice-value:has(>#dice-switch-side){position:relative;padding-left:0!important;padding-right:0!important;gap:0!important}
html body.tc-game-dice .tc-dice-value>.tc-dice-unit{position:absolute;right:6px;width:16px;text-align:center}
html body.tc-game-dice .tc-dice-value>#dice-switch-side{position:absolute;right:0;width:32px!important;flex-basis:32px!important}
@media(max-width:600px){html body.tc-game-dice .tc-dice-value>#dice-switch-side{right:-6px;width:44px!important;flex-basis:44px!important}}
html body .tc-studio-v2 #bet_amount,
html body .tc-game-workspace input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=button]):not([type=submit]){text-align:center!important;text-indent:0!important;font-variant-numeric:tabular-nums}

/* Native selects need an explicit height: Safari otherwise keeps the compact system control. */
html body :is(.tc-dice-shell,.tc-game-workspace,.tc-control-panel,.tc-import-controls,#dice-strategy-form,.ft-dice-modal-card) select{
 box-sizing:border-box!important;
 width:100%!important;
 max-width:100%;
 min-width:0;
 height:48px!important;
 min-height:48px!important;
 margin:0!important;
 padding:10px 36px 10px 14px!important;
 border-radius:calc(8px * var(--ui-radius-scale,1));
 font-family:Inter,Arial,sans-serif!important;
 font-size:14px!important;
 font-weight:600;
 line-height:24px!important;
 vertical-align:middle;
 cursor:pointer;
}
html body .tc-import-controls :is(.ft-dice-boxin,[class$="-group"]):has(>select){height:auto!important;min-height:50px!important;padding-top:0!important;padding-bottom:0!important}
html body :is(.tc-dice-shell,.tc-game-workspace,.tc-control-panel,.tc-import-controls,#dice-strategy-form,.ft-dice-modal-card) select:disabled{cursor:default}
@media(max-width:600px){html body :is(.tc-dice-shell,.tc-game-workspace,.tc-control-panel,.tc-import-controls,#dice-strategy-form,.ft-dice-modal-card) select{font-size:16px!important}}
/* Mines/Tower Auto uses the same controls and mobile action bar as Manual. */
html body .tc-grid-auto-settings[hidden]{display:none!important}
html body .tc-grid-auto-settings{display:flex;flex-direction:column;gap:12px;min-width:0}
html body .tc-grid-auto-settings input{box-sizing:border-box;width:100%;min-height:48px;border:1px solid var(--gs-line,#345164);border-radius:calc(8px * var(--ui-radius-scale,1));background:var(--gs-field,#102735);color:var(--gs-ink,#e9f3fa);padding:10px 12px;font:600 14px/24px Inter,Arial,sans-serif;text-align:center}
html body .tc-grid-auto-settings small{float:right;font-size:10px;font-weight:400}
html body .tc-grid-auto-plan{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--gs-muted,#a0b7c7);font:600 12px/20px Inter,Arial,sans-serif}
html body #grid-auto-clear{min-height:44px;border:0;background:transparent;color:var(--gs-ink,#e9f3fa);font:600 12px Inter,Arial,sans-serif;padding:8px;cursor:pointer}
html body :is(.tc-grid-auto-help,.tc-grid-auto-status){margin:0;color:var(--gs-muted,#a0b7c7);font:500 12px/20px Inter,Arial,sans-serif;overflow-wrap:anywhere}
html body .tc-auto-planning .mines_gamecell{cursor:pointer;opacity:1!important}
html body :is(.mines_gamecell,.tower_gamecell).tc-auto-picked{position:relative;outline:2px solid var(--ui-p-a8e75b,#a8e75b)!important;outline-offset:-3px;background:var(--ui-p-648c3744,#648c3744)!important}
html body :is(.mines_gamecell,.tower_gamecell).tc-auto-picked::after{content:attr(data-auto-order);position:absolute;top:4px;right:4px;min-width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:var(--ui-p-b7f76b,#b7f76b);color:var(--ui-p-193320,#193320);font:700 10px/17px Inter,Arial,sans-serif;pointer-events:none}
@media(max-width:600px){html body .tc-grid-auto-settings input{font-size:16px}}
html body .tc-grid-auto-mode .game_info_bar{display:none!important}
html body .tc-auto-planning .tc-tower-hint{display:none!important}
html body #tower_gameboard.tc-auto-planning .tower_gameline:has(.tower_gamecell:not(:disabled)) .tower_gamecell{height:44px!important;min-height:44px!important;cursor:pointer;opacity:1!important}
html body #tower_gameboard.tc-auto-planning .tower_gamecell:not(:disabled) .tower_gamecell_img{opacity:1!important}
html body .tc-studio-v2 .tc-grid-auto-modes button{min-height:44px!important}
html body .tc-studio-v2 .tc-grid-auto-modes button[aria-pressed=true]{background:var(--ui-p-2d4b5e,#2d4b5e)!important;color:var(--ui-p-edf7fc,#edf7fc)!important;box-shadow:0 1px 4px var(--ui-p-00000022,#0002)}
html[data-theme=light] body .tc-studio-v2 .tc-grid-auto-modes button[aria-pressed=true]{background:var(--ui-p-ffffff,#fff)!important;color:var(--ui-p-213b4c,#213b4c)!important}
html body #tower_gameboard.tc-auto-planning .tower_gamecell:not(:disabled) .tower_gamecell_img img{opacity:.85!important}

/* A result changes content, never the grid track or the neighbouring action button. */
html body :is(.tc-round-dock,.tc-import-result-dock){box-sizing:border-box;justify-self:stretch!important;width:auto!important;max-width:none!important;height:76px!important;min-height:76px!important;max-height:76px!important;flex-shrink:0;min-width:0!important;overflow:hidden;contain:layout}
html body .tc-import-result-dock{display:flex;align-items:center;justify-content:center}
html body .tc-import-result-dock>*{min-width:0;max-height:100%;max-width:100%;overflow:auto}
html body .tc-round-dock>*{min-width:0}
html body .tc-round-dock>span{flex:1}
html body .tc-round-dock>b{flex:1}
html body .tc-round-dock strong{flex:none;white-space:nowrap}
@media(max-width:760px){html body :is(.tc-round-dock,.tc-import-result-dock){height:76px!important;min-height:76px!important;max-height:76px!important}}
/* Tower keeps ten equal floor tracks while picks move to the next floor. */
html body #tower_gameboard .tower_gameline.tc-tower-floor{min-height:44px!important}
html body .tc-grid-auto-mode #tower_gameboard .tower_gamecell{height:44px!important;min-height:44px!important}
html body .tc-grid-auto-mode #tower_gameboard .tc-tower-hint{display:none!important}
html body .tc-grid-auto-status{box-sizing:border-box;height:60px;min-height:60px;max-height:60px;overflow:auto}
html body #sicbo_gameboard .result_wrapper{height:38px!important;min-height:38px!important;max-height:38px!important}

/* TronLux-style settlement modal: results no longer consume a workspace grid row. */
html body :is(.tc-game-workspace,.tc-dice-shell,.tc-import-layout){position:relative}
html body .tc-round-modal{grid-column:2;grid-row:1;align-self:center;justify-self:center;z-index:30;display:block;box-sizing:border-box;width:min(360px,calc(100% - 32px));padding:0;background:transparent;pointer-events:none}
html body .tc-round-modal[hidden]{display:none!important}
html body .tc-round-modal-card{position:relative;width:100%;overflow:hidden;border:1px solid var(--ui-p-42657a,#42657a);border-radius:calc(14px * var(--ui-radius-scale,1));background:var(--ui-p-132d3d,#132d3d);box-shadow:0 18px 48px var(--ui-p-06131d99,#06131d99),0 0 0 4px var(--ui-p-0a1d293d,#0a1d293d);color:var(--ui-p-eaf4fa,#eaf4fa);pointer-events:auto}
html body .tc-round-modal-head{position:absolute;inset:10px 10px auto;z-index:2;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}
html body .tc-round-modal-head>span{position:absolute;left:50%;top:7px;transform:translateX(-50%);color:var(--ui-p-8faaba,#8faaba);font:700 10px/14px Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
html body .tc-round-modal-close{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:var(--ui-p-284859,#284859);color:var(--ui-p-c7dae5,#c7dae5);font:500 21px/1 Inter,Arial,sans-serif;cursor:pointer;pointer-events:auto}
html body .tc-round-modal-close:hover{background:var(--ui-p-365c72,#365c72);color:var(--ui-p-ffffff,#fff)}
html body .tc-round-modal .tc-round-dock{position:static!important;display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;width:100%!important;max-width:none!important;height:auto!important;min-height:176px!important;max-height:none!important;margin:0!important;padding:46px 24px 28px!important;gap:7px!important;border:0!important;border-radius:0!important;background:radial-gradient(circle at 50% 58%,var(--ui-p-294d5e80,#294d5e80),transparent 58%)!important;text-align:center!important;contain:none!important;overflow:visible!important}
html body .tc-round-modal .tc-round-dock>span{flex:none;color:var(--ui-p-a9c0ce,#a9c0ce);font:600 13px/20px Inter,Arial,sans-serif}
html body .tc-round-modal .tc-round-dock>strong{font:800 42px/50px Inter,Arial,sans-serif;letter-spacing:-1.5px;color:var(--ui-p-eff7fb,#eff7fb)}
html body .tc-round-modal .tc-round-dock>b{flex:none;font:800 20px/28px Inter,Arial,sans-serif;text-align:center;color:var(--ui-p-b7f76b,#b7f76b)}
html body .tc-round-modal .tc-round-dock[data-outcome=loss] b{color:var(--ui-p-f096a8,#f096a8)}
html body .tc-round-modal .tc-round-dock[data-outcome=push] b{color:var(--ui-p-b8cbd7,#b8cbd7)}
html body .tc-round-modal-card:has(.tc-round-dock[data-outcome=win]){border-color:var(--ui-p-75bd52,#75bd52);background:linear-gradient(145deg,var(--ui-p-173d32,#173d32),var(--ui-p-102d2b,#102d2b));box-shadow:0 18px 48px var(--ui-p-061b1499,#061b1499),0 0 0 4px var(--ui-p-75bd5226,#75bd5226)}
html body .tc-round-modal-card:has(.tc-round-dock[data-outcome=loss]){border-color:var(--ui-p-b95368,#b95368);background:linear-gradient(145deg,var(--ui-p-452735,#452735),var(--ui-p-2d1e2a,#2d1e2a));box-shadow:0 18px 48px var(--ui-p-240b1499,#240b1499),0 0 0 4px var(--ui-p-e86f8720,#e86f8720)}
html body .tc-round-modal-card:has(.tc-round-dock[data-outcome=win]) .tc-round-dock{background:radial-gradient(circle at 50% 58%,var(--ui-p-68b94b33,#68b94b33),transparent 60%)!important}
html body .tc-round-modal-card:has(.tc-round-dock[data-outcome=loss]) .tc-round-dock{background:radial-gradient(circle at 50% 58%,var(--ui-p-df617733,#df617733),transparent 60%)!important}
html body .tc-round-modal-card:has(.tc-round-dock[data-outcome=win]) .tc-round-dock>strong{color:var(--ui-p-b7f76b,#b7f76b)}
html body .tc-round-modal-card:has(.tc-round-dock[data-outcome=loss]) .tc-round-dock>strong{color:var(--ui-p-ff91a7,#ff91a7)}
html body .tc-round-modal-card:has(.tc-import-result-dock :is(.is-win,.win)){border-color:var(--ui-p-75bd52,#75bd52);background:linear-gradient(145deg,var(--ui-p-173d32,#173d32),var(--ui-p-102d2b,#102d2b));box-shadow:0 18px 48px var(--ui-p-061b1499,#061b1499),0 0 0 4px var(--ui-p-75bd5226,#75bd5226)}
html body .tc-round-modal-card:has(.tc-import-result-dock :is(.is-lose,.lose)){border-color:var(--ui-p-b95368,#b95368);background:linear-gradient(145deg,var(--ui-p-452735,#452735),var(--ui-p-2d1e2a,#2d1e2a));box-shadow:0 18px 48px var(--ui-p-240b1499,#240b1499),0 0 0 4px var(--ui-p-e86f8720,#e86f8720)}
html body .tc-round-modal .tc-import-result-dock{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;height:auto!important;min-height:176px!important;max-height:none!important;margin:0!important;padding:46px 24px 28px!important;border:0!important;border-radius:0!important;background:radial-gradient(circle at 50% 58%,var(--ui-p-294d5e80,#294d5e80),transparent 58%)!important;contain:none!important;overflow:visible!important;visibility:visible!important}
html body .tc-round-modal .tc-import-result-dock>*{width:100%!important;max-width:100%!important;overflow:visible!important}
html[data-theme=light] body .tc-round-modal-card{background:linear-gradient(155deg,var(--ui-p-ffffff,#fff),var(--ui-p-edf5f9,#edf5f9));border-color:var(--ui-p-bdd3e0,#bdd3e0);color:var(--ui-p-294d63,#294d63);box-shadow:0 28px 80px var(--ui-p-23495c55,#23495c55)}
html[data-theme=light] body .tc-round-modal-close{background:var(--ui-p-d5e6ef,#d5e6ef);color:var(--ui-p-385c72,#385c72)}
html[data-theme=light] body .tc-round-modal .tc-round-dock>strong{color:var(--ui-p-294d63,#294d63)}
html[data-theme=light] body .tc-round-modal .tc-round-dock>span{color:var(--ui-p-668397,#668397)}
html[data-theme=light] body .tc-round-modal .tc-round-dock[data-outcome=win] b{color:var(--ui-p-4d7c2d,#4d7c2d)}
html body .tc-game-workspace>.game_result_wrap,html body .tc-has-round-modal>.game_result_wrap{display:none!important}
body.tc-game-dice :is(.tc-result-caption,#tc-dice-result,#dice-result-status){display:none!important}
html body .tc-round-modal-head>span{display:none}
html body .tc-round-modal .tc-round-dock{min-height:142px!important;padding:25px 22px 22px!important;gap:3px!important}
html body .tc-round-modal .tc-round-dock>span{text-transform:uppercase;letter-spacing:.1em;font-size:11px}
html body .tc-round-modal .tc-round-dock>strong{font-size:38px;line-height:44px}
html body .tc-round-modal .tc-round-dock>b{font-size:17px;line-height:24px}

/* Compact desktop controls: keep primary actions visible without scrolling the page. */
@media(min-width:901px){
 html body .tc-grid-auto-mode>.tc-control-panel{height:clamp(430px,calc(100dvh - 270px),560px);max-height:none;overflow-y:auto;align-self:start}
 html body .tc-grid-auto-mode>.tc-control-panel>.game_action_bar{position:sticky;bottom:0;z-index:5;margin-top:0!important;padding:8px 0!important;background:var(--gs-panel,#1b3445)}
}

/* Mines counts share one row; payout information uses the row below. */
html body .tc-control-panel .game_info_bar .outcomes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px!important}
html body .tc-control-panel .game_info_bar .outcomes>div{justify-content:flex-start;min-width:0}

/* Keno keeps readable numbers and complete payout chips. */
html body .tc-studio-v2 .keno_gamecell:hover .keno_gamecell_index{color:var(--ui-p-ffffff,#fff)!important}
html body .tc-studio-v2 .keno_gamecell:hover .keno_gamecell_index::after{background:var(--ui-p-45687b,#45687b)!important;border-color:var(--ui-p-8fb4c8,#8fb4c8)!important}
html body .tc-studio-v2 .keno_gamecell.selected .keno_gamecell_index{color:var(--ui-p-ffffff,#fff)!important}
html body .tc-studio-v2 .keno_gamecell.selected .keno_gamecell_index::after{background:var(--ui-p-4e7a38,#4e7a38)!important;border-color:var(--ui-p-b7f76b,#b7f76b)!important}
html body #keno_gameboard .keno_cell_selections{width:min(100%,520px)!important;margin:10px 0 0 auto!important;padding:7px!important;overflow:visible!important;background:var(--gs-field,#102532)!important;border:1px solid var(--gs-line,#365164)!important;border-radius:calc(9px * var(--ui-radius-scale,1))!important}
html body #keno_gameboard .keno_cell_selections>div{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;min-height:0}
html body #keno_gameboard .keno_cell_selections .selected_item{height:28px;min-width:0;overflow:visible}
html body #keno_gameboard .keno_cell_selections .selected_item .info{width:100%;height:26px;min-width:0;gap:3px;overflow:visible;font-size:11px}
html body #keno_gameboard .keno_cell_selections .selected_item .info span{width:auto!important;min-width:0;padding:0!important;white-space:nowrap;font-size:11px}
@media(max-width:900px){html body .tc-round-modal{grid-column:1;grid-row:1}}
@media(max-width:600px){html body .tc-round-modal{width:min(330px,calc(100% - 24px))}html body .tc-round-modal :is(.tc-round-dock,.tc-import-result-dock){min-height:160px!important;padding:42px 18px 24px!important}html body .tc-round-modal .tc-round-dock>strong{font-size:36px;line-height:44px}}
html body #sicbo_gameboard .result_wrapper:not(:has(*)){display:block!important;visibility:hidden}

/* Settlement card: restrained surface, clear hierarchy{background:radial-gradient(ellipse at 50% 45%,var(--ui-p-244e5c,#244e5c) 0%,var(--ui-p-132f40,#132f40) 45%,var(--ui-p-0c2130,#0c2130) 100%)!important;border:0!important;min-height:460px;overflow:hidden;position:relative;padding:24px!important} no nested coloured frames. */
/* Wheel studio: vector wedges remain sharp at every phone/desktop size. */
html body .tc-studio-v2 #wheel_gameboard{background:var(--ui-board-skin-background,radial-gradient(ellipse at 50% 45%,var(--ui-p-244e5c,#244e5c) 0%,var(--ui-p-132f40,#132f40) 45%,var(--ui-p-0c2130,#0c2130) 100%))!important;border:0!important;min-height:460px;overflow:hidden;position:relative;padding:24px!important}
html body #wheel_gameboard .spin_area{border:0!important;background:transparent!important;overflow:visible;border-radius:0;isolation:isolate}
html body #wheel_gameboard .spin_area::before{content:'';position:absolute;inset:0;z-index:-1;opacity:.28;background-image:radial-gradient(var(--ui-p-91b4c9,#91b4c9) 1px,transparent 1px);background-size:24px 24px;mask-image:radial-gradient(ellipse,#000,transparent 70%)}
html body #wheel_gameboard .wheel_container{background:transparent!important;border-radius:0!important;padding:22px 0}
html body #wheel_gameboard .wheel_container>.background{display:none}
html body #wheel_gameboard .wheel_container .wrapper{width:min(370px,calc(100% - 36px));height:auto;aspect-ratio:1;margin:0 auto;isolation:isolate;border-radius:50%;box-shadow:0 0 0 7px var(--ui-p-345466,#345466),0 0 0 9px var(--ui-p-7894a34d,#7894a34d),0 0 0 17px var(--ui-p-0c2230,#0c2230),0 22px 45px var(--ui-p-020d1b80,#020d1b80)}
html body #wheel_gameboard .wheel_bg{display:none!important}
html body #wheel_gameboard .wheel{box-shadow:inset 0 0 0 3px var(--ui-p-ffffff12,#ffffff12);animation:none!important;filter:none!important}
html body #wheel_gameboard .wheel .sector{font:700 clamp(11px,1.5vw,16px)/40px Inter,Arial,sans-serif;padding:0 8%;color:var(--ui-p-e4f0f7,#e4f0f7);text-align:left;text-shadow:0 1px 2px var(--ui-p-00000044,#0004)}
html body #wheel_gameboard .wheel .sector.tc-wheel-prize{color:var(--ui-p-173323,#173323);text-shadow:none}
html body #wheel_gameboard .wrapper .triangle{left:-21px;top:calc(50% - 13px);width:32px;height:26px;z-index:4;filter:drop-shadow(3px 2px 3px var(--ui-p-00000066,#0006))}
html body #wheel_gameboard .wrapper .triangle .arrow{margin:0;width:32px;height:26px;background:var(--ui-p-eff8fd,#eff8fd);clip-path:polygon(0 0,100% 50%,0 100%,12% 50%)}
html body #wheel_gameboard .wrapper .button{width:24%;height:24%;padding:5px;z-index:3;background:linear-gradient(145deg,var(--ui-p-658293,#658293),var(--ui-p-183546,#183546));box-shadow:0 4px 12px var(--ui-p-00111e99,#00111e99);cursor:default;pointer-events:none}
html body #wheel_gameboard .wrapper .button>div{border:1px solid var(--ui-p-7897a34d,#7897a34d);background:radial-gradient(circle at 35% 25%,var(--ui-p-294e60,#294e60),var(--ui-p-102b3b,#102b3b));box-shadow:inset 0 0 0 4px var(--ui-p-102632,#102632);color:var(--ui-p-b7f76b,#b7f76b);font-size:24px}
html body #wheel_gameboard .wrapper .button>div::after{display:none}
html[data-theme=light] body .tc-studio-v2 #wheel_gameboard{background:var(--ui-board-skin-background,radial-gradient(ellipse at 50% 45%,var(--ui-p-eaf5f7,#eaf5f7),var(--ui-p-d5e7ed,#d5e7ed) 65%,var(--ui-p-c8dfe7,#c8dfe7)))!important}
@media(max-width:760px){html body .gamebox_container.tc-game-workspace>#wheel_gameboard{padding:18px!important;min-height:0!important}html body #wheel_gameboard .wheel_container{padding:22px 0}html body #wheel_gameboard .wheel .sector{font-size:12px}html body #wheel_gameboard .wrapper .button>div{font-size:20px}}

html body .tc-round-modal{width:min(300px,calc(100% - 32px))}
html body .tc-round-modal-card,
html body .tc-round-modal-card:has(.tc-round-dock),
html body .tc-round-modal-card:has(.tc-import-result-dock){
 --result-accent:var(--ui-p-b7f76b,#b7f76b);
 border:1px solid var(--ui-p-ffffff14,#ffffff14);border-radius:calc(20px * var(--ui-radius-scale,1));
 background:var(--ui-p-122936,#122936);box-shadow:0 16px 48px var(--ui-p-03101880,#03101880);color:var(--ui-p-eef5fa,#eef5fa)
}
html body .tc-round-modal-card:has([data-outcome=loss],.is-lose,.lose){--result-accent:var(--ui-p-f399ad,#f399ad)}
html body .tc-round-modal-card:has([data-outcome=push]){--result-accent:var(--ui-p-a9c4d5,#a9c4d5)}
html body .tc-round-modal-card::before{content:'';position:absolute;inset:0 30% auto;height:3px;border-radius:0 0 calc(4px * var(--ui-radius-scale,1)) calc(4px * var(--ui-radius-scale,1));background:var(--result-accent)}
html body .tc-round-modal-head{inset:10px 10px auto}
html body .tc-round-modal-close{width:28px;height:28px;background:transparent;color:var(--ui-p-89a5b7,#89a5b7);font-size:22px}
html body .tc-round-modal-close:hover{background:var(--ui-p-ffffff0d,#ffffff0d);color:var(--ui-p-ffffff,#fff)}
html body .tc-round-modal .tc-round-dock,
html body .tc-round-modal .tc-import-result-dock{
 min-height:180px!important;padding:30px 24px 26px!important;gap:8px!important;
 background:transparent!important
}
html body .tc-round-modal .tc-round-dock>span{color:var(--ui-p-a9becb,#a9becb);font-size:11px;line-height:18px;letter-spacing:.16em}
html body .tc-round-modal .tc-round-dock>strong{color:var(--result-accent)!important;font-size:44px;line-height:52px;font-variant-numeric:tabular-nums;letter-spacing:-1.5px}
html body .tc-round-modal .tc-round-dock>b{padding:6px 12px;border-radius:calc(8px * var(--ui-radius-scale,1));background:var(--ui-p-ffffff08,#ffffff08);color:var(--result-accent)!important;font-size:15px;line-height:22px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;white-space:normal}
html body .tc-round-modal .tc-import-result-dock>*{text-align:center!important;color:var(--result-accent)!important}
html[data-theme=light] body .tc-round-modal-card,
html[data-theme=light] body .tc-round-modal-card:has(.tc-round-dock),
html[data-theme=light] body .tc-round-modal-card:has(.tc-import-result-dock){--result-accent:var(--ui-p-437b24,#437b24);background:var(--ui-p-ffffff,#fff);border-color:var(--ui-p-dce6ec,#dce6ec);box-shadow:0 16px 48px var(--ui-p-19364b26,#19364b26);color:var(--ui-p-17364a,#17364a)}
html[data-theme=light] body .tc-round-modal-card:has([data-outcome=loss],.is-lose,.lose){--result-accent:var(--ui-p-bd4261,#bd4261)}
html[data-theme=light] body .tc-round-modal-card:has([data-outcome=push]){--result-accent:var(--ui-p-52738a,#52738a)}
html[data-theme=light] body .tc-round-modal .tc-round-dock>span{color:var(--ui-p-607d90,#607d90)}
html[data-theme=light] body .tc-round-modal .tc-round-dock>b{background:var(--ui-p-f0f5f7,#f0f5f7)}
html[data-theme=light] body .tc-round-modal-close{background:transparent;color:var(--ui-p-6c8797,#6c8797)}
html[data-theme=light] body .tc-round-modal-close:hover{background:var(--ui-p-edf3f6,#edf3f6);color:var(--ui-p-17364a,#17364a)}
@media(max-width:600px){html body .tc-round-modal{width:min(280px,calc(100% - 24px))}html body .tc-round-modal :is(.tc-round-dock,.tc-import-result-dock){min-height:166px!important;padding:28px 20px 22px!important}html body .tc-round-modal .tc-round-dock>strong{font-size:38px;line-height:46px}}

/* Shared settlement design for native, card, reel and wheel engines. */
html body .tc-round-modal{width:min(288px,calc(100% - 32px));pointer-events:none}
html body .tc-round-modal-card,
html body .tc-round-modal-card:has(.tc-round-dock),
html body .tc-round-modal-card:has(.tc-import-result-dock){
 border:1px solid color-mix(in srgb,var(--result-accent) 42%,var(--ui-p-203a48,#203a48));
 border-radius:calc(16px * var(--ui-radius-scale,1));background:var(--ui-p-102936,#102936);
 box-shadow:0 20px 55px var(--ui-p-020f1c80,#020f1c80),0 2px 5px var(--ui-p-020f1c40,#020f1c40);
 overflow:hidden
}
html body .tc-round-modal-card::before{
 content:'✓';position:absolute;inset:20px auto auto calc(50% - 18px);
 display:grid;place-items:center;width:36px;height:36px;border-radius:50%;
 background:color-mix(in srgb,var(--result-accent) 12%,transparent);
 color:var(--result-accent);font:700 20px/1 Inter,Arial,sans-serif
}
html body .tc-round-modal-card:has([data-outcome=loss],.is-lose,.lose)::before{content:'×';font-size:26px}
html body .tc-round-modal-card:has([data-outcome=push])::before{content:'='}
html body .tc-round-modal-head{inset:8px 8px auto}
html body .tc-round-modal-close{width:32px;height:32px;border-radius:calc(8px * var(--ui-radius-scale,1))}
html body .tc-round-modal .tc-round-dock,
html body .tc-round-modal .tc-import-result-dock{
 box-sizing:border-box;min-height:218px!important;height:auto!important;
 padding:68px 20px 22px!important;gap:5px!important;
 background:transparent!important;text-align:center!important
}
html body .tc-round-modal .tc-round-dock>span{font-size:10px;line-height:16px;letter-spacing:.16em}
html body .tc-round-modal .tc-round-dock>strong{font-size:40px;line-height:48px;letter-spacing:-1px}
html body .tc-round-modal .tc-round-dock>b{margin-top:6px;border-radius:calc(7px * var(--ui-radius-scale,1));padding:7px 12px;font-size:14px;line-height:20px;background:color-mix(in srgb,var(--result-accent) 8%,transparent)}
html body .tc-round-modal .tc-import-result-dock>:is(div,#rou_result,#ftWpPop,#ftEsResult,#ftBjResult,#ftCfResult,#ftEggResult,#ftGemsResult,#ftBcResult,#ftHlResult){
 position:static!important;inset:auto!important;transform:none!important;
 flex-direction:column!important;align-items:center!important;justify-content:center!important;
 gap:10px!important;padding:0!important;margin:0!important;width:100%!important;
 min-height:0!important;height:auto!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;background:transparent!important;
 color:var(--result-accent)!important;font-style:normal
}
html body .tc-round-modal .tc-import-result-dock>:is(div,#rou_result)>:first-child{
 color:var(--result-accent)!important;font:800 36px/46px Inter,Arial,sans-serif!important;
 letter-spacing:-1px;font-variant-numeric:tabular-nums
}
html body .tc-round-modal .tc-import-result-dock>:is(div,#rou_result)>:last-child:not(:first-child){
 display:block;margin:0!important;padding:7px 12px!important;border-radius:calc(7px * var(--ui-radius-scale,1));
 background:color-mix(in srgb,var(--result-accent) 8%,transparent)!important;
 color:var(--result-accent)!important;font:700 14px/20px Inter,Arial,sans-serif!important;
 overflow-wrap:anywhere;font-variant-numeric:tabular-nums
}
html body .tc-round-modal .tc-import-result-dock #rou_result>span{order:-1;font:600 10px/16px Inter,Arial,sans-serif!important;letter-spacing:.12em;color:var(--ui-p-9bb4c4,#9bb4c4)!important}
html body .tc-round-modal .tc-import-result-dock #rou_result>strong{font:800 36px/46px Inter,Arial,sans-serif!important;color:var(--result-accent)!important}
html body .tc-round-modal .tc-import-result-dock .slots__result-multiplier{display:flex!important;gap:4px!important}
html body .tc-round-modal .tc-import-result-dock .slots__result-multiplier>span{font:700 20px/30px Inter,Arial,sans-serif!important;padding:0!important;background:none!important;color:var(--result-accent)!important}
html[data-theme=light] body .tc-round-modal-card,
html[data-theme=light] body .tc-round-modal-card:has(.tc-round-dock),
html[data-theme=light] body .tc-round-modal-card:has(.tc-import-result-dock){background:var(--ui-p-ffffff,#fff);border-color:color-mix(in srgb,var(--result-accent) 35%,var(--ui-p-dce6ec,#dce6ec));box-shadow:0 20px 55px var(--ui-p-17364a26,#17364a26)}
html[data-theme=light] body .tc-round-modal .tc-round-dock>b{background:color-mix(in srgb,var(--result-accent) 8%,transparent)}
@media(max-width:600px){html body .tc-round-modal{width:min(260px,calc(100% - 32px))}html body .tc-round-modal :is(.tc-round-dock,.tc-import-result-dock){min-height:206px!important;padding:66px 16px 18px!important}html body .tc-round-modal .tc-round-dock>strong{font-size:36px;line-height:44px}}

/* Compact neutral result; outcome colour belongs to the border only. */
html body .tc-round-modal{width:min(224px,calc(100% - 32px))}
html body .tc-round-modal-card,
html body .tc-round-modal-card:has(.tc-round-dock),
html body .tc-round-modal-card:has(.tc-import-result-dock){
 border:1px solid var(--result-accent)!important;border-radius:calc(12px * var(--ui-radius-scale,1));
 background:var(--ui-p-152b38,#152b38)!important;box-shadow:0 10px 28px var(--ui-p-020f1c55,#020f1c55)!important;color:var(--ui-p-e7f0f5,#e7f0f5)
}
html body .tc-round-modal-card::before{display:none}
html body .tc-round-modal-close{width:26px;height:26px;font-size:18px}
html body .tc-round-modal :is(.tc-round-dock,.tc-import-result-dock){
 min-height:128px!important;padding:22px 16px 18px!important;gap:4px!important;
 background:transparent!important
}
html body .tc-round-modal .tc-round-dock>span{color:var(--ui-p-a4b6c2,#a4b6c2)!important;font-size:10px;line-height:16px}
html body .tc-round-modal .tc-round-dock>strong,
html body .tc-round-modal .tc-import-result-dock>:is(div,#rou_result)>:first-child,
html body .tc-round-modal .tc-import-result-dock #rou_result>strong{
 color:var(--ui-p-e7f0f5,#e7f0f5)!important;font:800 30px/38px Inter,Arial,sans-serif!important;letter-spacing:-.7px
}
html body .tc-round-modal .tc-round-dock>b,
html body .tc-round-modal .tc-import-result-dock>:is(div,#rou_result)>:last-child:not(:first-child),
html body .tc-round-modal .tc-import-result-dock .slots__result-multiplier>span{
 color:var(--ui-p-bdcdd8,#bdcdd8)!important;background:transparent!important;padding:0!important;
 margin:0!important;font:600 13px/20px Inter,Arial,sans-serif!important
}
html body .tc-round-modal .tc-import-result-dock>:is(div,#rou_result){color:var(--ui-p-e7f0f5,#e7f0f5)!important;gap:4px!important}
html[data-theme=light] body .tc-round-modal-card,
html[data-theme=light] body .tc-round-modal-card:has(.tc-round-dock),
html[data-theme=light] body .tc-round-modal-card:has(.tc-import-result-dock){background:var(--ui-p-ffffff,#fff)!important;border-color:var(--result-accent);color:var(--ui-p-203b4d,#203b4d);box-shadow:0 10px 28px var(--ui-p-17364a20,#17364a20)!important}
html[data-theme=light] body .tc-round-modal .tc-round-dock>strong,
html[data-theme=light] body .tc-round-modal .tc-import-result-dock>:is(div,#rou_result)>:first-child,
html[data-theme=light] body .tc-round-modal .tc-import-result-dock #rou_result>strong{color:var(--ui-p-203b4d,#203b4d)!important}
html[data-theme=light] body .tc-round-modal .tc-round-dock>b,
html[data-theme=light] body .tc-round-modal .tc-import-result-dock>:is(div,#rou_result)>:last-child:not(:first-child),
html[data-theme=light] body .tc-round-modal .tc-import-result-dock .slots__result-multiplier>span{color:var(--ui-p-546f80,#546f80)!important;background:transparent!important}
@media(max-width:600px){html body .tc-round-modal{width:min(208px,calc(100% - 32px))}}

/* Sic Bo: quiet felt, readable score{background:var(--ui-p-102936,#102936)!important;padding:18px!important;border:0!important} compact touch markets. */
html body #sicbo_gameboard{background:var(--ui-board-skin-background,var(--ui-p-102936,#102936))!important;padding:18px!important;border:0!important}
html body #sicbo_gameboard .result_wrapper{display:flex!important;flex-direction:row-reverse;justify-content:flex-start;gap:6px;align-items:center;border:0!important;background:none!important;margin:0 0 12px!important;padding:0!important}
html body #sicbo_gameboard .result_wrapper .result_holder{position:relative;flex:none;float:none;width:30px;height:28px;margin:0;background:var(--ui-p-203b4b,#203b4b)!important;border:1px solid var(--ui-p-415c6b,#415c6b)!important;border-radius:calc(7px * var(--ui-radius-scale,1));color:var(--ui-p-dbe8ef,#dbe8ef);font-size:12px}
html body #sicbo_gameboard .result_wrapper .result_holder.win{border-color:var(--ui-p-a7da76,#a7da76)!important}
html body #sicbo_gameboard .result_wrapper .result_holder.lose{border-color:var(--ui-p-bc7184,#bc7184)!important}
html body #sicbo_gameboard .sicbo_game_outcome{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:230px!important;padding:22px!important;margin:0 0 18px!important;border:0!important;border-radius:calc(14px * var(--ui-radius-scale,1));background:var(--ui-board-skin-background,radial-gradient(ellipse at 50% 30%,var(--ui-p-24515a,#24515a),var(--ui-p-143943,#143943) 55%,var(--ui-p-102e39,#102e39)))!important;box-shadow:inset 0 0 0 1px var(--ui-p-a0c8d010,#a0c8d010)!important;overflow:hidden}
html body #sicbo_gameboard .sicbo_game_outcome::before{content:'';position:absolute;inset:12px;border:1px solid var(--ui-p-91c1ca12,#91c1ca12);border-radius:100px;pointer-events:none}
html body #sicbo_gameboard .game_result{border:0!important;padding:8px!important;gap:14px;background:none!important;border-radius:0;box-shadow:none!important}
html body #sicbo_gameboard .dice_wrapper{width:64px;height:64px;margin:0;border:1px solid var(--ui-p-c1d4df,#c1d4df);border-radius:calc(13px * var(--ui-radius-scale,1));background:linear-gradient(145deg,var(--ui-p-ffffff,#fff),var(--ui-p-dfeaf0,#dfeaf0));box-shadow:0 5px 0 var(--ui-p-91aebd,#91aebd),0 9px 16px var(--ui-p-001b3266,#001b3266)}
html body #sicbo_gameboard .dice_wrapper i{width:11px;height:11px;background:var(--ui-p-193a4d,#193a4d);box-shadow:inset 0 1px 2px var(--ui-p-00101e44,#00101e44)}
html body #sicbo_gameboard .dice_wrapper :is(.dot_1,.dot_2){top:10px}
html body #sicbo_gameboard .dice_wrapper :is(.dot_6,.dot_7){bottom:10px}
html body #sicbo_gameboard .dice_wrapper :is(.dot_1,.dot_3,.dot_6){left:10px}
html body #sicbo_gameboard .dice_wrapper :is(.dot_2,.dot_5,.dot_7){right:10px}
html body #sicbo_gameboard .dice_wrapper :is(.dot_3,.dot_4,.dot_5){top:26px}
html body #sicbo_gameboard .dice_wrapper .dot_4{left:26px}
html body #sicbo_gameboard .dice_wrapper .dot_8{width:15px;height:15px;left:24px;top:24px;background:var(--ui-p-d34b63,#d34b63);box-shadow:inset 0 1px 2px var(--ui-p-66132944,#66132944)}
html body .tc-sicbo-score{display:flex;align-items:center;gap:10px;color:var(--ui-p-9bbdc6,#9bbdc6);font:600 11px/20px Inter,Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;z-index:1}
html body .tc-sicbo-score strong{font:800 30px/36px Inter,Arial,sans-serif;letter-spacing:-1px;color:var(--ui-p-edf7fa,#edf7fa);min-width:42px;text-align:center;font-variant-numeric:tabular-nums}
html body #sicbo_gameboard .tc-sicbo-market{border:0;padding:0;background:none}
html body #sicbo_gameboard .game_action_bar_3{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0!important}
html body #sicbo_gameboard .bet_selection{box-sizing:border-box;background:var(--ui-p-1d394a,#1d394a)!important;border:1px solid transparent!important;border-radius:calc(9px * var(--ui-radius-scale,1));color:var(--ui-p-e0edf4,#e0edf4)!important;cursor:pointer;transition:background .15s,border-color .15s}
html body #sicbo_gameboard .bet_selection:hover{opacity:1;background:var(--ui-p-2a4a5d,#2a4a5d)!important}
html body #sicbo_gameboard .bet_selection:focus-visible{outline:2px solid var(--ui-p-b7f76b,#b7f76b);outline-offset:2px}
html body #sicbo_gameboard .bet_selection.selected{background:var(--ui-p-284b41,#284b41)!important;border-color:var(--ui-p-b7f76b,#b7f76b)!important;color:var(--ui-p-e9f5ef,#e9f5ef)!important}
html body #sicbo_gameboard .bet_selection.win:not(.selected){border-color:var(--ui-p-6e9a7f,#6e9a7f)!important}
html body #sicbo_gameboard .game_action_bar_3 .bet_selection{width:100%!important;max-width:none!important;height:68px;min-height:68px!important;padding:10px 14px;display:flex;align-items:center;justify-content:space-between}
html body #sicbo_gameboard .game_action_bar_3 .bet_selection>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
html body #sicbo_gameboard .game_action_bar_3 span{font:800 15px/20px Inter,Arial,sans-serif;color:inherit!important}
html body #sicbo_gameboard .game_action_bar_3 small{font:500 11px/15px Inter,Arial,sans-serif;color:var(--ui-p-a4bbc8,#a4bbc8)}
html body #sicbo_gameboard .multiplier_label{color:var(--ui-p-a5bdca,#a5bdca)!important;font:600 11px/16px Inter,Arial,sans-serif!important;margin:0!important;font-style:normal}
html body #sicbo_gameboard .select_number{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px!important;margin-top:10px!important}
html body #sicbo_gameboard .select_number .number{width:100%;height:62px!important;min-height:62px!important;padding:8px 2px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px}
html body #sicbo_gameboard .number_label{font:700 18px/22px Inter,Arial,sans-serif!important;margin:0!important;padding:0!important}
html[data-theme=light] body #sicbo_gameboard{background:var(--ui-board-skin-background,var(--ui-p-eef4f7,#eef4f7))!important}
html[data-theme=light] body #sicbo_gameboard .bet_selection{background:var(--ui-p-ffffff,#fff)!important;color:var(--ui-p-29485c,#29485c)!important}
html[data-theme=light] body #sicbo_gameboard .bet_selection:hover{background:var(--ui-p-e1ecf2,#e1ecf2)!important}
html[data-theme=light] body #sicbo_gameboard .bet_selection.selected{background:var(--ui-p-edf4e7,#edf4e7)!important;border-color:var(--ui-p-689743,#689743)!important;color:var(--ui-p-29485c,#29485c)!important}
html[data-theme=light] body #sicbo_gameboard .bet_selection.selected span{color:inherit!important}
html[data-theme=light] body #sicbo_gameboard :is(.multiplier_label,.game_action_bar_3 small){color:var(--ui-p-627e90,#627e90)!important}
@media(max-width:760px){html body .gamebox_container.tc-game-workspace>#sicbo_gameboard{padding:12px!important}html body #sicbo_gameboard .sicbo_game_outcome{min-height:180px!important;padding:18px 10px!important;gap:8px;margin-bottom:12px!important}html body #sicbo_gameboard .select_number{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}html body #sicbo_gameboard .select_number .number{height:52px!important;min-height:52px!important}html body #sicbo_gameboard .game_action_bar_3 .bet_selection{height:60px;min-height:60px!important;padding:8px 10px}html body #sicbo_gameboard .game_result{gap:10px}}

/* One compact running state for every game's autobet action. */
html body button.tc-auto-running{display:inline-flex!important;align-items:center;justify-content:center;gap:9px}
html body button.tc-auto-running[hidden]{display:none!important}
html body button.tc-auto-running>.tc-auto-spinner{display:inline-block!important;flex:0 0 auto;margin:0!important;font-size:.9em;line-height:1}
html body button.tc-auto-running>img,
html body button.tc-auto-running .fa-hourglass-half{display:none!important}

/* Keno autobet session summary: keep both counters on one compact row. */
html body:has(#keno_gameboard) .tc-control-panel>#profit_loss_box{display:block;height:auto!important;min-height:0!important;max-height:52px;margin:0!important;padding:6px 8px!important;border:1px solid var(--gs-line,#35576a)!important;border-radius:calc(9px * var(--ui-radius-scale,1))!important;background:var(--gs-field,#102b3a)!important}
html body:has(#keno_gameboard) .tc-control-panel>#profit_loss_box>.game_action_bar_2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body:has(#keno_gameboard) .tc-control-panel>#profit_loss_box>.game_action_bar_2>div{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-width:0;min-height:30px!important}
html body:has(#keno_gameboard) .tc-control-panel>#profit_loss_box .label{margin:0!important;font-size:10px!important;line-height:16px!important;white-space:nowrap}
html body:has(#keno_gameboard) .tc-control-panel>#profit_loss_box .input_wrapper{height:30px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0 6px!important;border-radius:calc(6px * var(--ui-radius-scale,1))!important}
html body:has(#keno_gameboard) .tc-control-panel>#profit_loss_box input:is(#number_rolls,#profit_loss){width:100%!important;height:28px!important;min-height:0!important;text-align:right!important;font-size:11px!important;font-variant-numeric:tabular-nums}
html body #keno_gameboard .tc-keno-guide{width:100%;margin-top:10px;text-align:right;color:var(--gs-muted,#9eb5c3);font:500 11px/16px Inter,Arial,sans-serif}
html body #keno_gameboard .keno_cell_selections:empty{display:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
@media(max-width:600px){html body #keno_gameboard .keno_cell_selections>div{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Native autobet session counters stay one compact row in every game. */
html body .tc-control-panel #profit_loss_box.tc-game-session{height:auto!important;min-height:0!important;max-height:52px!important;margin:0!important;padding:6px 8px!important;gap:8px!important;border:1px solid var(--gs-line,#365164)!important;border-radius:calc(9px * var(--ui-radius-scale,1))!important;background:var(--gs-field,#102532)!important}
html body .tc-control-panel #profit_loss_box.tc-game-session>.game_action_bar_2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body .tc-control-panel #profit_loss_box.tc-game-session>div:not(.game_action_bar_2),
html body .tc-control-panel #profit_loss_box.tc-game-session>.game_action_bar_2>div{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-width:0;min-height:30px!important}
html body .tc-control-panel #profit_loss_box.tc-game-session .label{margin:0!important;font-size:10px!important;line-height:16px!important;white-space:nowrap}
html body .tc-control-panel #profit_loss_box.tc-game-session .input_wrapper{height:30px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0 6px!important;border-radius:calc(6px * var(--ui-radius-scale,1))!important;flex:1}
html body .tc-control-panel #profit_loss_box.tc-game-session input:is(#number_rolls,#profit_loss){width:100%!important;height:28px!important;min-height:0!important;padding:0!important;text-align:right!important;font-size:11px!important;font-variant-numeric:tabular-nums}

/* Plinko studio and full-width session readout. */
/* Chicken Road map: fixed viewport, readable safe route and roadside verges. */
html body .tc-chicken-workspace .chicken_road_wrap>.game_result_wrap{display:none!important}
/* Edge-to-edge road: the map itself is the game surface, without a padded green frame. */
html body .tc-chicken-workspace.tc-studio-v2 .chicken_game_container.tc-chicken-stage{padding:0!important;align-self:stretch;align-items:stretch;background:var(--ui-p-263746,#263746)!important;overflow:hidden}
html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage .chicken_road_wrap{border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--ui-board-skin-background,var(--ui-p-263746,#263746))!important;align-self:stretch}
html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage #chicken_road{background:var(--ui-p-263746,#263746)!important}
html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage .chicken_lane{margin:0!important}
html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage .lane_track{background:linear-gradient(90deg,var(--ui-p-263746,#263746),var(--ui-p-304453,#304453) 50%,var(--ui-p-263746,#263746))!important;border-top:1px dashed var(--ui-p-cbd9e044,#cbd9e044)}
html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage .chicken_lane.is_next .lane_track{background:linear-gradient(90deg,var(--ui-p-304b46,#304b46),var(--ui-p-3a584f,#3a584f) 50%,var(--ui-p-304b46,#304b46))!important}
html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage .chicken_lane.is_current .lane_track{background:var(--ui-p-30474b,#30474b)!important}
html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage .chicken_lane.is_death .lane_track{background:var(--ui-p-4a3440,#4a3440)!important}
html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage .chicken_sidewalk{background-color:var(--ui-p-76858c,#76858c);background-image:linear-gradient(var(--ui-p-c4ced638,#c4ced638) 1px,transparent 1px),linear-gradient(90deg,var(--ui-p-c4ced638,#c4ced638) 1px,transparent 1px);border-top:5px solid var(--ui-p-c0cbd0,#c0cbd0);box-shadow:inset 0 -6px var(--ui-p-5b6d77,#5b6d77)}
@media(min-width:901px){html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage #chicken_road{height:524px;max-height:524px}html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage #chicken_road .chicken_road_scroll{min-height:524px}}
/* Six desktop lanes (6 × 64) plus the 76px sidewalk; no half lane at startup. */
@media(min-width:901px){html body .tc-chicken-workspace .chicken_game_container.tc-chicken-stage{padding:12px!important}html body .tc-chicken-workspace #chicken_road{height:460px;max-height:460px}html body .tc-chicken-workspace #chicken_road .chicken_road_scroll{min-height:460px}}
@media(max-width:900px){html body .tc-chicken-workspace #chicken_road{height:316px;max-height:316px}html body .tc-chicken-workspace #chicken_road .chicken_road_scroll{min-height:316px}}
html body .tc-chicken-workspace .chicken_game_container{width:100%;max-width:none!important}
html body .tc-chicken-workspace .tc-chicken-stage .chicken_road_wrap{max-width:none!important;flex:1 1 auto}
@media(max-width:900px){html body .tc-chicken-workspace #chicken_marker .chicken_sprite{width:60px}}
html body .tc-chicken-workspace .tc-chicken-stage{padding:20px!important;background:var(--gs-board,#102936)}
html body .tc-chicken-workspace .chicken_road_wrap{margin:0!important;border:1px solid var(--ui-p-739aa52b,#739aa52b);border-radius:calc(16px * var(--ui-radius-scale,1));background:var(--ui-board-skin-background,var(--ui-p-12383d,#12383d));box-shadow:0 10px 24px var(--ui-p-03131e33,#03131e33);isolation:isolate}
html body .tc-chicken-workspace .chicken_road{height:430px;max-height:430px;background:linear-gradient(90deg,var(--ui-p-16413f,#16413f) 0 14px,var(--ui-p-789692,#789692) 14px 17px,var(--ui-p-263949,#263949) 17px calc(100% - 17px),var(--ui-p-789692,#789692) calc(100% - 17px) calc(100% - 14px),var(--ui-p-16413f,#16413f) calc(100% - 14px));touch-action:pan-y;overscroll-behavior-y:auto}
html body .tc-chicken-workspace .chicken_road_scroll{min-height:430px}
html body .tc-chicken-workspace .chicken_lane{margin:0 17px;background:none!important}
html body .tc-chicken-workspace .chicken_lane .lane_track{height:64px;background:linear-gradient(90deg,var(--ui-p-243644,#243644),var(--ui-p-2c4151,#2c4151) 50%,var(--ui-p-243644,#243644));border-top:1px dashed var(--ui-p-c3d5df29,#c3d5df29);box-shadow:none}
html body .tc-chicken-workspace .chicken_lane:nth-child(even) .lane_track{background:linear-gradient(90deg,var(--ui-p-21323f,#21323f),var(--ui-p-293d4c,#293d4c) 50%,var(--ui-p-21323f,#21323f))}
html body .tc-chicken-workspace .lane_manhole{width:46px;height:46px;margin:-23px 0 0 -23px;background:var(--ui-p-182d3b,#182d3b) url("../../web_assets/img/games/chicken/manhole.svg") center/82% no-repeat;border:1px solid var(--ui-p-8ba7b63b,#8ba7b63b);box-shadow:0 2px 4px var(--ui-p-00000033,#0003);opacity:.7;overflow:visible}
html body .tc-chicken-workspace .lane_manhole_mult{position:absolute;left:calc(100% + 14px);padding:5px 8px;border-radius:calc(7px * var(--ui-radius-scale,1));background:var(--ui-p-152936,#152936);color:var(--ui-p-adc1cf,#adc1cf)!important;font:700 12px/18px Inter,Arial,sans-serif;letter-spacing:0;text-shadow:none;white-space:nowrap;box-shadow:0 1px 2px var(--ui-p-00000022,#0002)}
html body .tc-chicken-workspace .chicken_lane.is_next .lane_track{background:linear-gradient(90deg,var(--ui-p-2e4d48,#2e4d48),var(--ui-p-355b50,#355b50) 50%,var(--ui-p-2e4d48,#2e4d48))!important;box-shadow:inset 3px 0 var(--ui-p-b7f76b,#b7f76b)}
html body .tc-chicken-workspace .chicken_lane.is_next .lane_track::after{content:'↑';position:absolute;left:16px;top:20px;font:700 22px/24px Inter,Arial,sans-serif;color:var(--ui-p-b7f76b,#b7f76b);pointer-events:none}
html body .tc-chicken-workspace .chicken_lane.is_next .lane_manhole{border-color:var(--ui-p-b7f76b,#b7f76b);opacity:1}
html body .tc-chicken-workspace .chicken_lane.is_next .lane_manhole_mult{background:var(--ui-p-b7f76b,#b7f76b);color:var(--ui-p-183525,#183525)!important}
html body .tc-chicken-workspace .chicken_lane.is_cleared .lane_track{background:var(--ui-p-263f43,#263f43)!important}
html body .tc-chicken-workspace .chicken_lane.is_cleared .lane_manhole{border-color:var(--ui-p-74b59b,#74b59b);opacity:1}
html body .tc-chicken-workspace .chicken_lane.is_current .lane_track{background:var(--ui-p-2b484c,#2b484c)!important}
html body .tc-chicken-workspace .chicken_lane.is_death .lane_track{background:var(--ui-p-49313d,#49313d)!important;box-shadow:inset 3px 0 var(--ui-p-d78599,#d78599)}
html body .tc-chicken-workspace .chicken_sidewalk{height:76px;background-color:var(--ui-p-667e86,#667e86);background-image:linear-gradient(var(--ui-p-bdcfd344,#bdcfd344) 1px,transparent 1px),linear-gradient(90deg,var(--ui-p-bdcfd344,#bdcfd344) 1px,transparent 1px);background-size:28px 25px;border-top:5px solid var(--ui-p-a7b9b8,#a7b9b8);box-shadow:inset 0 -10px var(--ui-p-314d4b,#314d4b)}
html body .tc-chicken-workspace .chicken_sidewalk .sidewalk_bush{width:38px;height:38px;filter:drop-shadow(0 2px 2px var(--ui-p-10252666,#10252666))}
html body .tc-chicken-workspace .chicken_marker_global .chicken_sprite{width:64px;filter:drop-shadow(0 4px 3px var(--ui-p-00111e66,#00111e66))}
html body .tc-chicken-workspace .lane_car_img img{filter:drop-shadow(0 4px 2px var(--ui-p-00101a66,#00101a66))}
html[data-theme=light] body .tc-chicken-workspace .chicken_road_wrap{border-color:var(--ui-p-8da8b5,#8da8b5);box-shadow:0 8px 20px var(--ui-p-284b5d1a,#284b5d1a)}
@media(max-width:900px){html body .tc-chicken-workspace .tc-chicken-stage{padding:10px!important}html body .tc-chicken-workspace .chicken_road{height:320px;max-height:320px}html body .tc-chicken-workspace .chicken_road_scroll{min-height:320px}html body .tc-chicken-workspace .chicken_lane .lane_track{height:60px}html body .tc-chicken-workspace .lane_manhole_mult{left:calc(100% + 7px);padding:4px 5px;font-size:11px}html body .tc-chicken-workspace .chicken_marker_global .chicken_sprite{width:44px}html body .tc-chicken-workspace .chicken_lane.is_next .lane_track::after{left:12px;top:18px}}
/* Chuck-a-Luck felt table and resolution-independent casino chips. */
html body #chuckaluck_gameboard{background:var(--ui-board-skin-background,var(--ui-p-102936,#102936))!important;padding:18px!important;border:0!important}
html body #chuckaluck_gameboard .chuckaluck_game_outcome{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:200px!important;padding:24px 16px!important;margin-bottom:16px!important;background:var(--ui-board-skin-background,radial-gradient(ellipse at 50% 20%,var(--ui-p-28505a,#28505a),var(--ui-p-173944,#173944) 65%,var(--ui-p-12303c,#12303c)))!important;border:1px solid var(--ui-p-b3d6df12,#b3d6df12)!important;border-radius:calc(14px * var(--ui-radius-scale,1));box-shadow:inset 0 0 45px var(--ui-p-021b2b30,#021b2b30)!important}
html body #chuckaluck_gameboard .game_result{padding:0!important;gap:16px;border:0!important;background:none!important;box-shadow:none!important}
html body #chuckaluck_gameboard .payout_table{position:static!important;display:flex;align-items:center;justify-content:center;gap:22px;margin:0!important;padding:0!important;background:none;border:0;color:var(--ui-p-bdcfd8,#bdcfd8)}
html body #chuckaluck_gameboard .payout_table>div{display:flex;align-items:center;gap:3px}
html body #chuckaluck_gameboard .payout_table .dot{width:5px;height:5px;margin:0;background:var(--ui-p-52717e,#52717e);border:0}
html body #chuckaluck_gameboard .payout_table .dot.matched{background:var(--ui-p-b7f76b,#b7f76b)}
html body #chuckaluck_gameboard .payout_table span{font:700 12px/18px Inter,Arial,sans-serif;margin:0 0 0 5px}
html body #chuckaluck_gameboard .tc-chuck-market{padding:0;border:0}
html body #chuckaluck_gameboard .select_dice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
html body #chuckaluck_gameboard .select_dice .bet_place{height:98px;min-height:98px!important;padding:12px!important;position:relative;background:var(--ui-p-1d3a4a,#1d3a4a)!important;border:1px solid var(--ui-p-7695a51c,#7695a51c);border-radius:calc(10px * var(--ui-radius-scale,1));cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,border-color .15s}
html body #chuckaluck_gameboard .select_dice .bet_place:hover{background:var(--ui-p-294d5c,#294d5c)!important;border-color:var(--ui-p-85a8b566,#85a8b566)}
html body #chuckaluck_gameboard .select_dice .bet_place.highlighted{border-color:var(--ui-p-b7f76b,#b7f76b);background:var(--ui-p-254b40,#254b40)!important}
html body #chuckaluck_gameboard .dice_matched{position:absolute;top:8px;right:8px;display:flex;gap:3px}
html body #chuckaluck_gameboard .dice_matched .dot{width:5px;height:5px;background:var(--ui-p-b7f76b,#b7f76b);border:0;margin:0}
html body #chuckaluck_gameboard .container-bet{position:relative;top:auto;width:100%;max-width:100%;display:flex!important;justify-content:center!important;gap:9px;margin:18px 0 10px!important;padding:6px 2px!important;overflow-x:auto}
html body #chuckaluck_gameboard .chip-container{flex:0 0 48px!important;width:48px!important;height:48px!important;background:none!important;border-radius:50%}
html body #chuckaluck_gameboard .chip-container .chip{transform:none!important}
html body #chuckaluck_gameboard .chip-container .chip.open{outline:2px solid var(--ui-p-b7f76b,#b7f76b);outline-offset:2px;transform:translateY(-3px)!important}
html body #chuckaluck_gameboard .chip.small{width:34px!important;height:34px!important;font-size:8px!important;inset:auto 8px 8px auto!important;transform:none!important;pointer-events:none;z-index:2}
html body #chuckaluck_gameboard .chip.small:nth-last-child(2){bottom:12px!important}
html body #chuckaluck_gameboard .chip.small:nth-last-child(3){bottom:16px!important}
/* Scale the original sprite sheet with its chip, including its sprite offset. */
html body #chuckaluck_gameboard .chip{--chip-size:36px;--sprite-x:0;width:var(--chip-size)!important;height:var(--chip-size)!important;overflow:hidden;border-radius:50%;background-size:calc(var(--chip-size) * 266 / 36) calc(var(--chip-size) * 134 / 36)!important;background-position:calc(var(--chip-size) * var(--sprite-x) / 36) 0!important;background-repeat:no-repeat!important}
html body #chuckaluck_gameboard .chip[data-coin="1000"]{--sprite-x:-38}
html body #chuckaluck_gameboard .chip[data-coin="10000"]{--sprite-x:-77}
html body #chuckaluck_gameboard .chip[data-coin="100000"]{--sprite-x:-115}
html body #chuckaluck_gameboard .chip[data-coin="1000000"]{--sprite-x:-154}
html body #chuckaluck_gameboard .chip[data-coin="10000000"]{--sprite-x:-192}
html body #chuckaluck_gameboard .chip[data-coin="100000000"]{--sprite-x:-230}
html body #chuckaluck_gameboard .chip.small{--chip-size:36px;width:36px!important;height:36px!important}
@media(max-width:760px){html body #chuckaluck_gameboard .container-bet .chip{--chip-size:44px}}
html body #chuckaluck_gameboard div:has(>#undo_bet){display:flex;justify-content:space-between;height:36px!important}
html body #chuckaluck_gameboard :is(#undo_bet,#clear_all_bet_chips){float:none;display:inline-flex;align-items:center;min-height:36px;padding:0 8px;color:var(--ui-p-abc0ce,#abc0ce);font-size:12px;gap:6px}
html[data-theme=light] body #chuckaluck_gameboard{background:var(--ui-board-skin-background,var(--ui-p-eef4f7,#eef4f7))!important}
html[data-theme=light] body #chuckaluck_gameboard .select_dice .bet_place{background:var(--ui-p-ffffff,#fff)!important;border-color:var(--ui-p-d5e1e9,#d5e1e9)}
html[data-theme=light] body #chuckaluck_gameboard .select_dice .bet_place.highlighted{background:var(--ui-p-e9f3e2,#e9f3e2)!important;border-color:var(--ui-p-75a34e,#75a34e)}
@media(max-width:760px){html body .gamebox_container.tc-game-workspace>#chuckaluck_gameboard{padding:12px!important}html body #chuckaluck_gameboard .chuckaluck_game_outcome{min-height:170px!important;padding:20px 10px!important;margin-bottom:12px!important;gap:18px}html body #chuckaluck_gameboard .select_dice .bet_place{height:86px;min-height:86px!important}html body #chuckaluck_gameboard .container-bet{justify-content:flex-start!important;padding:6px 4px 10px!important;gap:10px}html body #chuckaluck_gameboard .payout_table{gap:14px}html body #chuckaluck_gameboard :is(#undo_bet,#clear_all_bet_chips){min-height:44px}}
html body:has(#plinko_gameboard) .tc-control-panel #profit_loss_box.tc-game-session:not([style*="display: none"]){display:grid!important}
html body:has(#plinko_gameboard) .tc-control-panel #profit_loss_box.tc-game-session>div{width:100%!important;max-width:none!important}
html body .tc-studio-v2 #plinko_gameboard{background:var(--ui-board-skin-background,var(--ui-p-102633,#102633))!important;border:0!important;padding:22px!important;overflow:hidden}
html body #plinko_gameboard #game_plinko_wrapper{background:radial-gradient(ellipse at 50% 30%,var(--ui-p-234655,#234655) 0,var(--ui-p-142f40,#142f40) 55%,var(--ui-p-102633,#102633) 100%)!important;border:1px solid var(--ui-p-a5c8df10,#a5c8df10)!important;border-radius:calc(16px * var(--ui-radius-scale,1));padding:18px 12px 8px;box-shadow:none}
html body #plinko_gameboard #game_plinko_container{position:relative;top:auto!important;width:min(100%,400px)!important;margin:0 auto!important;scale:1!important;transform:none!important}
html body #plinko_gameboard canvas{display:block;width:100%!important;height:auto!important;aspect-ratio:1;background:none!important}
html body #plinko_gameboard .game_plinko_footer{width:95%;margin:0 auto;top:auto;height:30px;grid-template-columns:repeat(11,minmax(0,1fr));gap:3px;transform:translateY(-28px)}
html body #plinko_gameboard .payout_slot{border-radius:calc(5px * var(--ui-radius-scale,1));background:var(--ui-p-345569,#345569)!important;box-shadow:0 3px 0 var(--ui-p-102532,#102532)!important}
html body #plinko_gameboard .payout_slot:nth-child(1),html body #plinko_gameboard .payout_slot:nth-child(11){background:var(--ui-p-b7f76b,#b7f76b)!important}
html body #plinko_gameboard .payout_slot:nth-child(2),html body #plinko_gameboard .payout_slot:nth-child(10){background:var(--ui-p-6ccab1,#6ccab1)!important}
html body #plinko_gameboard .payout_slot:nth-child(3),html body #plinko_gameboard .payout_slot:nth-child(9){background:var(--ui-p-4e9d9b,#4e9d9b)!important}
html body #plinko_gameboard .payout_slot>span{font:700 11px/16px Inter,Arial,sans-serif;color:var(--ui-p-eff7fb,#eff7fb)!important;font-variant-numeric:tabular-nums}
html body #plinko_gameboard .payout_slot:is(:nth-child(1),:nth-child(2),:nth-child(10),:nth-child(11))>span{color:var(--ui-p-15382c,#15382c)!important}
html body:has(#plinko_gameboard) .tc-control-panel #profit_loss_box.tc-game-session{width:100%!important;max-height:none!important;padding:8px!important;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr)!important;gap:8px!important}
html body:has(#plinko_gameboard) .tc-control-panel #profit_loss_box.tc-game-session>div{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px!important}
html body:has(#plinko_gameboard) .tc-control-panel #profit_loss_box.tc-game-session .label{text-align:left;font-size:11px!important}
html body:has(#plinko_gameboard) .tc-control-panel #profit_loss_box.tc-game-session .input_wrapper{width:100%!important;padding:0!important;border:0!important;background:none!important;min-width:0!important}
html body:has(#plinko_gameboard) .tc-control-panel #profit_loss_box.tc-game-session input:is(#number_rolls,#profit_loss){width:100%!important;max-width:none!important;text-align:right!important;font-size:11px!important;color:inherit}
html[data-theme=light] body .tc-studio-v2 #plinko_gameboard{background:var(--ui-board-skin-background,var(--ui-p-eaf1f6,#eaf1f6))!important}
html[data-theme=light] body #plinko_gameboard #game_plinko_wrapper{background:radial-gradient(ellipse at 50% 20%,var(--ui-p-294c60,#294c60),var(--ui-p-152e40,#152e40) 75%)!important}
@media(max-width:760px){html body .gamebox_container.tc-game-workspace>#plinko_gameboard{padding:12px 8px!important}html body #plinko_gameboard #game_plinko_wrapper{padding:12px 4px 0}html body #plinko_gameboard .payout_slot>span{font-size:8px!important}html body #plinko_gameboard .game_plinko_footer{height:24px;gap:2px;transform:translateY(-21px)}}

/* Card ink fix (2026-10-30): imported card faces are painted light (#f4f7f7, tronclick-studio.css),
   but freetron/dark.css forces club/spade ink to var(--ft-ink) (near-white in dark theme) with higher
   specificity than the rule above, so black-suit rank+suit were invisible in Baccarat/Blackjack/High-Low. */
html.ft-dark body .tc-studio-shell .ft-bc-inner:is(.club,.spade) .ft-bc-front,
html.ft-dark body .tc-studio-shell .ft-hl-inner:is(.club,.spade) .ft-hl-front,
html.ft-dark body .tc-studio-shell .ft-hl-inner:is(.club,.spade) .ft-hl-front p{color:var(--ui-p-172c3b,#172c3b)!important;-webkit-text-fill-color:currentColor!important}
html.ft-dark body .tc-studio-shell .ft-bc-inner:is(.heart,.diamond) .ft-bc-front,
html.ft-dark body .tc-studio-shell .ft-hl-inner:is(.heart,.diamond) .ft-hl-front,
html.ft-dark body .tc-studio-shell .ft-hl-inner:is(.heart,.diamond) .ft-hl-front p{color:var(--ui-p-c72f4b,#c72f4b)!important;-webkit-text-fill-color:currentColor!important}