/* TronClick game studio: FreeTRON art, with a consistent navy/lime workspace. */
:root {--ft-page:var(--ui-p-142633,#142633);--ft-card:var(--ui-p-192f3f,#192f3f);--ft-ink:var(--ui-p-eef5fa,#eef5fa);--ft-muted:var(--ui-p-9eb4c2,#9eb4c2);--ft-border:var(--ui-p-345064,#345064);--ft-soft:var(--ui-p-243e50,#243e50);--ft-input:var(--ui-p-0f2432,#0f2432);--ft-overlay:var(--ui-p-071723cc,#071723cc);--ft-green:var(--ui-p-b7f76b,#b7f76b);--ft-accent:var(--ui-p-b7f76b,#b7f76b)}
.tc-studio-page {max-width:1240px;margin:auto}
html body .tc-studio-shell {width:100%;border:1px solid var(--ui-p-2d4657,#2d4657);background:var(--ui-p-112736,#112736);border-radius:calc(16px * var(--ui-radius-scale,1));padding:28px;overflow:hidden;font-family:Inter,"Segoe UI",Arial,sans-serif;text-align:left;box-shadow:0 16px 48px var(--ui-p-08141c44,#08141c44)}
.tc-studio-shell * {box-sizing:border-box}
.tc-studio-shell>div {margin-inline:auto;max-width:100%}
html body .tc-studio-shell input,html body .tc-studio-shell select {font-family:Inter,Arial,sans-serif;color:var(--ui-p-edf7fc,#edf7fc);caret-color:var(--ui-p-b7f76b,#b7f76b);font-variant-numeric:tabular-nums}
html body .tc-studio-shell button {font-family:Inter,Arial,sans-serif;border-radius:calc(8px * var(--ui-radius-scale,1));transition:background-color .15s,box-shadow .15s}
.tc-studio-shell button:focus-visible {outline:2px solid var(--ui-p-b7f76b,#b7f76b);outline-offset:3px}
html.ft-dark body .tc-studio-shell [class*="-group"],html.ft-dark body .tc-studio-shell .ft-dice-boxin {background:var(--ui-p-102635,#102635)!important;border-color:var(--ui-p-3a576b,#3a576b)!important;color:var(--ui-p-dcebf4,#dcebf4)!important;border-radius:calc(9px * var(--ui-radius-scale,1))}
html.ft-dark body .tc-studio-shell [class*="-label"] {color:var(--ui-p-a2bac8,#a2bac8)!important;font-size:11px;font-weight:600;letter-spacing:.2px}
html.ft-dark body .tc-studio-shell .ft-cf-main,html.ft-dark body .tc-studio-shell .ft-bj-bet,html.ft-dark body .tc-studio-shell .ft-bc-main,html.ft-dark body .tc-studio-shell .ft-egg-main,html.ft-dark body .tc-studio-shell .ft-gems-main,html.ft-dark body .tc-studio-shell .ft-hl-main,html.ft-dark body .tc-studio-shell .ft-dice-bet,html.ft-dark body .tc-studio-shell .ft-wpro-go,html.ft-dark body .tc-studio-shell .ft-es-go {background:var(--ui-p-b7f76b,#b7f76b)!important;color:var(--ui-p-14291b,#14291b)!important;border-color:var(--ui-p-b7f76b,#b7f76b)!important;box-shadow:none!important}
html.ft-dark body .tc-studio-shell button:not(:disabled):hover {filter:brightness(1.1)}
.tc-studio-footer {display:flex;justify-content:space-between;align-items:center;padding:16px 4px;color:var(--ui-p-89a4b5,#89a4b5);font:500 11px Inter,Arial,sans-serif;gap:12px}
.tc-studio-footer span {display:flex;gap:7px;align-items:center}
.tc-studio-footer a {color:var(--ui-p-bdd0dc,#bdd0dc)}
.tc-session-history {margin-top:20px;border:1px solid var(--ui-p-2e485b,#2e485b);border-radius:calc(12px * var(--ui-radius-scale,1));background:var(--ui-p-142b3b,#142b3b);overflow:hidden}
.tc-session-history>div:first-child {padding:17px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ui-p-2e485b,#2e485b)}
.tc-session-history h2 {margin:0;font:700 14px Inter,Arial,sans-serif;color:var(--ui-p-e4f0f7,#e4f0f7)}
.tc-session-history>div:first-child>span {font:500 11px Inter,Arial,sans-serif;color:var(--ui-p-8da8ba,#8da8ba)}
.tc-round-empty {padding:26px 20px;margin:0;color:var(--ui-p-8da8ba,#8da8ba);text-align:center;font:12px Inter,Arial,sans-serif}
.tc-session-row {display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:12px;padding:14px 20px;border-bottom:1px solid var(--ui-p-294252,#294252);color:var(--ui-p-b9cfdd,#b9cfdd);font:12px Inter,Arial,sans-serif}
.tc-session-row>span:last-child {text-align:right}
/* Real cover art keeps its square proportions and has a separate title. */
html body .game_list .select_game,html body .game_list .select_game .game_image {aspect-ratio:1;height:auto;border-radius:calc(12px * var(--ui-radius-scale,1));padding:0}
html body .game_list .select_game .game_image img {display:block;aspect-ratio:1;object-fit:cover;height:auto;width:100%}
html body .tc-game-card {min-width:0;text-decoration:none;display:block}
html body .tc-game-card[hidden] {display:none!important}
.tc-card-caption {display:flex;flex-direction:column;gap:4px;padding:12px 2px 5px;text-align:left}
.tc-card-caption strong {font:700 14px Inter,Arial,sans-serif;color:var(--ui-p-edf5f9,#edf5f9)}
.tc-card-caption>span {font:500 10px Inter,Arial,sans-serif;color:var(--ui-p-89a6b7,#89a6b7)}
.tc-card-play {display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--ui-p-b7f76b,#b7f76b);color:var(--ui-p-17311c,#17311c);font-size:18px;box-shadow:0 8px 20px var(--ui-p-00000055,#0005)}
html body .game_list .select_game .game_hover {align-items:center;justify-content:center;background:var(--ui-p-06152170,#06152170)}
.tc-lobby-tools {display:flex;gap:16px;justify-content:space-between;align-items:center;margin:14px 0 22px;flex-wrap:wrap}
.tc-game-search {display:flex;align-items:center;gap:10px;border:1px solid var(--ui-p-355367,#355367);border-radius:calc(10px * var(--ui-radius-scale,1));background:var(--ui-p-102635,#102635);color:var(--ui-p-8ca6b7,#8ca6b7);padding:0 14px;height:42px;width:240px}
.tc-game-search input {border:0;outline:0!important;box-shadow:none!important;background:transparent;color:var(--ui-p-e2f0f8,#e2f0f8);width:100%;font:12px Inter,Arial,sans-serif}
.tc-game-filters {display:flex;gap:5px;overflow-x:auto;max-width:100%;padding:4px;border:1px solid var(--ui-p-2d4759,#2d4759);background:var(--ui-p-112836,#112836);border-radius:calc(10px * var(--ui-radius-scale,1))}
.tc-game-filters button {background:transparent;border:0;border-radius:calc(7px * var(--ui-radius-scale,1));color:var(--ui-p-9fb8c8,#9fb8c8);font:600 11px Inter,Arial,sans-serif;padding:9px 12px;white-space:nowrap}
.tc-game-filters button[aria-pressed=true] {background:var(--ui-p-2b465a,#2b465a);color:var(--ui-p-e9f5fc,#e9f5fc)}
.tc-game-filters button:hover {background:var(--ui-p-223e51,#223e51);color:var(--ui-p-c5f89a,#c5f89a)}
.tc-search-empty {text-align:center;padding:40px;color:var(--ui-p-a0b8c8,#a0b8c8)}
.tc-lobby-bets{width:100%!important;max-width:none!important;margin:38px 0 0!important;padding:20px!important;border-radius:calc(14px * var(--ui-radius-scale,1))!important;box-sizing:border-box}
.tc-lobby-bets .bet_history_button_container{margin-bottom:16px!important}
.tc-lobby-bets .bet_history_holder{width:100%;border:1px solid var(--ts-line,#294657)!important;border-radius:calc(10px * var(--ui-radius-scale,1))!important;overflow-x:auto!important}
.tc-lobby-bets .bet_history_table{width:100%!important;min-width:760px!important;table-layout:auto;font-variant-numeric:tabular-nums}
html[data-theme] body .tc-lobby-bets .bet_history_table th{padding:14px 22px!important;text-align:left;white-space:nowrap}
html[data-theme] body .tc-lobby-bets .bet_history_table td{padding:17px 22px!important;text-align:left;white-space:nowrap}
.tc-lobby-bets .bet_history_table th:nth-last-child(-n+3),.tc-lobby-bets .bet_history_table td:nth-last-child(-n+3){text-align:right}
.tc-lobby-bets .bet_history_table th:first-child,.tc-lobby-bets .bet_history_table td:first-child{padding-left:24px!important}
.tc-lobby-bets .bet_history_table th:last-child,.tc-lobby-bets .bet_history_table td:last-child{padding-right:24px!important}
@media(max-width:640px){.tc-lobby-bets{margin-top:26px!important;padding:12px!important}.tc-lobby-bets .bet_history_table{min-width:680px!important}html[data-theme] body .tc-lobby-bets .bet_history_table :is(th,td){padding:13px 14px!important}}
@media(max-width:640px){html body .tc-studio-shell{padding:12px;border-radius:calc(12px * var(--ui-radius-scale,1))}.tc-studio-footer{font-size:10px}.tc-game-search{width:100%}.tc-lobby-tools{gap:10px}.tc-game-filters{width:100%}.tc-game-filters button{padding:9px 10px}.tc-card-caption strong{font-size:12px}.tc-card-caption{padding-top:9px}.tc-session-row{gap:6px;padding:12px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.tc-studio-shell *{animation-duration:.01ms!important;transition:none!important}}
/* Legacy engines use the same compact control panel as the imported boards. */
html body .gamebox_container.tc-game-workspace {display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;gap:0!important;padding:0!important;align-items:stretch}
html body .tc-control-panel {grid-column:1;grid-row:1;padding:22px;background:var(--ui-p-1b3445,#1b3445);display:flex;flex-direction:column;gap:16px;min-width:0;text-align:left;border-right:1px solid var(--ui-p-2e4b60,#2e4b60)}
.tc-control-heading {display:flex;justify-content:space-between;align-items:center;padding-bottom:4px}
.tc-control-heading strong {font:700 13px Inter,Arial,sans-serif;color:var(--ui-p-dcecf6,#dcecf6)}
.tc-control-heading>span {font:700 9px Inter,Arial,sans-serif;letter-spacing:.5px;color:var(--ui-p-b7f76b,#b7f76b);border:1px solid var(--ui-p-3e5b47,#3e5b47);border-radius:calc(5px * var(--ui-radius-scale,1));padding:4px 6px}
.tc-control-label {font:600 11px Inter,Arial,sans-serif;color:var(--ui-p-a6bfce,#a6bfce);margin-bottom:-9px}
html body .tc-control-panel .game_bet_amount_container {width:100%;min-width:0;margin:0!important;overflow:hidden!important;min-height:46px}
html body .tc-control-panel .game_bet_amount_container::before {display:none!important}
html body .tc-control-panel .game_action_bar_2 {margin:0;padding:10px;flex-wrap:wrap;background:var(--ui-p-112a3b,#112a3b);border-color:var(--ui-p-335268,#335268)}
html body .tc-control-panel .game_action_bar_2 .input_wrapper {padding:0 6px}
html body .tc-control-panel .game_action_bar {margin:0;width:100%;gap:8px;display:flex}
html body .tc-control-panel .game_action_bar>div:first-child {flex:1;min-width:0}
html body .tc-control-panel .game_action_bar #play_button {width:100%}
html body .tc-control-panel .game_info_bar {display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:10px;width:100%;font-size:11px}
html body .gamebox_container.tc-game-workspace>[id$="_gameboard"] {grid-column:2;grid-row:1;width:100%;max-width:none!important;margin:0!important;border:0;border-radius:0;padding:28px;align-self:center}
html body .gamebox_container.tc-game-workspace>#dice_gameboard {align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-height:470px;background:radial-gradient(ellipse at 50% 0,var(--ui-p-23465b,#23465b),transparent 70%),var(--ui-p-102938,#102938)}
html body #dice_gameboard .dice_game_outcome {height:190px;margin-bottom:36px}
html body #dice_gameboard .game_action_bar_3 {margin-top:20px}
html body .game_page_header .game_menu_toggle {overflow:hidden;padding:0;border:1px solid var(--ui-p-476174,#476174);width:44px;height:44px}
html body .game_page_header .game_menu_toggle img {width:100%;height:100%;object-fit:cover}
/* Table surfaces must not inherit a light grey placeholder from the source theme. */
html.ft-dark body .tc-studio-shell .ft-bc-board,html.ft-dark body .tc-studio-shell .ft-hl-board {background:var(--ui-board-skin-background,radial-gradient(ellipse at 50% 40%,var(--ui-p-255a50,#255a50),var(--ui-p-102f32,#102f32)))!important;border:1px solid var(--ui-p-39665c,#39665c);border-radius:calc(12px * var(--ui-radius-scale,1));color:var(--ui-p-d4ebe4,#d4ebe4)}
html.ft-dark body .tc-studio-shell .ft-bc-payout {background:var(--ui-p-163932,#163932)!important;color:var(--ui-p-9bc8b7,#9bc8b7)!important;border-color:var(--ui-p-3c6b5d,#3c6b5d)}
html.ft-dark body .tc-studio-shell .ft-bc-summary {background:var(--ui-p-102e2c,#102e2c);color:var(--ui-p-d6f7e4,#d6f7e4)}
html.ft-dark body .tc-studio-shell .ft-bc-back,html.ft-dark body .tc-studio-shell .ft-hl-back {background:repeating-linear-gradient(45deg,var(--ui-p-214252,#214252),var(--ui-p-214252,#214252) 5px,var(--ui-p-1b394a,#1b394a) 5px,var(--ui-p-1b394a,#1b394a) 10px)!important;border:2px solid var(--ui-p-b9d2de,#b9d2de);color:var(--ui-p-b7f76b,#b7f76b)}
html.ft-dark body .tc-studio-shell .ft-bc-front,html.ft-dark body .tc-studio-shell .ft-hl-front {background:var(--ui-p-f4f7f7,#f4f7f7)!important}
html.ft-dark body .tc-studio-shell .ft-gems-table,html.ft-dark body .tc-studio-shell .ft-egg-table {background:var(--ui-board-skin-background,var(--ui-p-102b3a,#102b3a))!important;border:1px solid var(--ui-p-355365,#355365);border-radius:calc(12px * var(--ui-radius-scale,1))}
html.ft-dark body .tc-studio-shell .ft-cf-board {background:var(--ui-board-skin-background,radial-gradient(ellipse,var(--ui-p-2c4b63,#2c4b63),var(--ui-p-112a3b,#112a3b)))!important;border-color:var(--ui-p-355468,#355468)!important}
html.ft-dark body .tc-studio-shell .tc-import-layout {display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;max-width:none;width:100%;background:transparent!important;padding:0;border:0}
html.ft-dark body .tc-studio-shell .tc-import-stage {grid-column:2;grid-row:1;margin:0!important;max-width:100%;min-width:0;align-self:stretch}
html.ft-dark body .tc-studio-shell .tc-import-controls {grid-column:1;grid-row:1;background:var(--ui-p-1b3445,#1b3445);padding:18px;border:1px solid var(--ui-p-335166,#335166);border-radius:calc(12px * var(--ui-radius-scale,1));min-width:0;display:flex;flex-direction:column;gap:14px}
html.ft-dark body .tc-studio-shell .tc-import-controls>div,html.ft-dark body .tc-studio-shell .tc-import-controls>button {max-width:100%;margin-inline:0;width:100%}
html.ft-dark body .tc-studio-shell .ft-blackjack,html.ft-dark body .tc-studio-shell .ft-baccarat,html.ft-dark body .tc-studio-shell .ft-cf,html.ft-dark body .tc-studio-shell .ft-gems,html.ft-dark body .tc-studio-shell .ft-eggs,html.ft-dark body .tc-studio-shell .ft-hilow,html.ft-dark body .tc-studio-shell .ft-poker {max-width:none;width:100%}
html.ft-dark body .tc-studio-shell .ft-cf-panel,html.ft-dark body .tc-studio-shell .ft-bj-amount {order:-2}
html.ft-dark body .tc-studio-shell .ft-bj-actions {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}
html.ft-dark body .tc-studio-shell .ft-bj-act {padding:9px 6px;font-size:11px;background:var(--ui-p-29495d,#29495d);color:var(--ui-p-c8deeb,#c8deeb)}
html.ft-dark body .tc-studio-shell .ft-bj-act:disabled {opacity:.4}
@media(max-width:1050px){html body .gamebox_container.tc-game-workspace{grid-template-columns:240px minmax(0,1fr)!important}html body .tc-control-panel{padding:16px}.tc-studio-shell .tc-import-layout{grid-template-columns:230px minmax(0,1fr)!important}}
@media(max-width:760px){html body .gamebox_container.tc-game-workspace{grid-template-columns:minmax(0,1fr)!important}html body .gamebox_container.tc-game-workspace>[id$="_gameboard"]{grid-column:1;grid-row:1;padding:20px 14px}html body .tc-control-panel{grid-column:1;grid-row:2;border:0;border-top:1px solid var(--ui-p-2e4b60,#2e4b60);gap:12px}html body .gamebox_container.tc-game-workspace>#dice_gameboard{min-height:340px}html body #dice_gameboard .dice_game_outcome{height:120px;margin-bottom:22px}html.ft-dark body .tc-studio-shell .tc-import-layout{grid-template-columns:minmax(0,1fr)!important;gap:14px}html.ft-dark body .tc-studio-shell .tc-import-stage{grid-column:1;grid-row:1}html.ft-dark body .tc-studio-shell .tc-import-controls{grid-column:1;grid-row:2}html.ft-dark body .tc-studio-shell .ft-bc-board{min-height:340px}}
html body #limbo_game_outcome {position:relative;overflow:hidden;background:var(--ui-board-skin-background,linear-gradient(var(--ui-p-10283a66,#10283a66),var(--ui-p-10283a99,#10283a99)),url("../../freetron/games/limbo/main_bg.webp") center/cover)!important}
html body #limbo_game_outcome::before {content:"";position:absolute;left:9%;bottom:12%;width:72px;height:140px;background:url("../../freetron/games/limbo/rocket.webp") center/contain no-repeat;opacity:.8;pointer-events:none}
html body #limbo_game_outcome #multiplier_result {position:relative;z-index:1;text-shadow:0 4px 20px var(--ui-p-07141b,#07141b)}
html body .mines_gamecell_index .fa-coins {mask:none;background:url("../../freetron/games/mines/diamond.webp") center/contain no-repeat;filter:grayscale(1);opacity:.2;width:30px;height:30px}
html body .keno_gamecell.matched .keno_gem {background-image:url("../../freetron/games/keno/keno_diamond.svg")!important}
html body .gamebox_container.tc-game-workspace>#mines_gameboard {max-width:540px!important;justify-self:center;align-self:center}
.tc-crash-pending {margin-top:18px;padding:18px 20px;background:var(--ui-p-1b3546,#1b3546);border:1px solid var(--ui-p-3c5c70,#3c5c70);border-radius:calc(10px * var(--ui-radius-scale,1));color:var(--ui-p-c1d6e4,#c1d6e4);font:12px/1.6 Inter,Arial,sans-serif}
.tc-crash-pending strong {color:var(--ui-p-e2f2fc,#e2f2fc);font-size:14px}
.tc-crash-pending p {margin:6px 0 0;color:var(--ui-p-8caebf,#8caebf)}
html.ft-dark body .tc-studio-shell #ftCrashChart {background:linear-gradient(var(--ui-p-173548aa,#173548aa),var(--ui-p-102533ee,#102533ee)),url("../../freetron/games/limbo/main_bg.webp") center/cover;border-radius:calc(12px * var(--ui-radius-scale,1))}
html body .gamebox_container.tc-game-workspace>[id$="_gameboard"] {grid-row:1!important}
html body .tc-control-panel {height:100%;box-sizing:border-box}
html.ft-dark body .tc-studio-shell .ft-bj-act {background:var(--ui-p-29495d,#29495d)!important;color:var(--ui-p-c8deeb,#c8deeb)!important}
html.ft-dark body .tc-studio-shell .ft-bc-amount>button {background:var(--ui-p-2d4a5c,#2d4a5c)!important;color:var(--ui-p-c6dce8,#c6dce8)!important;border:1px solid var(--ui-p-466278,#466278)}
html.ft-dark body .tc-studio-shell #ftBjBoard:not(:has(#ftBjHands .ft-bc-card))::after {content:"Place a bet to deal your first hand";position:absolute;left:12%;right:12%;top:61%;text-align:center;font:500 12px Inter,Arial,sans-serif;color:var(--ui-p-83b8a5,#83b8a5)}
html.ft-dark {--ft-muted:var(--ui-p-233e50,#233e50);--ft-text:var(--ui-p-a2bac8,#a2bac8);--ft-primary:var(--ui-p-b7f76b,#b7f76b);--ft-primary-ink:var(--ui-p-14291b,#14291b);--ft-brand:var(--ui-p-b7f76b,#b7f76b);--ft-brand-ink:var(--ui-p-14291b,#14291b);--ft-header:var(--ui-p-142b3a,#142b3a);--ft-link:var(--ui-p-b7f76b,#b7f76b);--ft-success:var(--ui-p-b7f76b,#b7f76b);--ft-danger:var(--ui-p-f17f95,#f17f95);--ft-gold:var(--ui-p-ffd17a,#ffd17a);--ft-row-head:var(--ui-p-1b3546,#1b3546);--ft-row-odd:var(--ui-p-142d3e,#142d3e);--ft-row-even:var(--ui-p-1a3546,#1a3546);--ft-roll:var(--ui-p-284b61,#284b61);--ft-balance:var(--ui-p-b7f76b,#b7f76b);--ft-balance-ink:var(--ui-p-14291b,#14291b);--ft-footer:var(--ui-p-102533,#102533);--ft-footer-ink:var(--ui-p-a2bac8,#a2bac8);--ft-wait:var(--ui-p-213c50,#213c50);--ft-wait-chip:var(--ui-p-2e5067,#2e5067);--ft-wait-ink:var(--ui-p-bbd2e0,#bbd2e0);--ft-wait-line:var(--ui-p-3a5b70,#3a5b70);--ft-wait-inset:var(--ui-p-173243,#173243);--ft-claim-box:var(--ui-p-183448,#183448);--ft-claim-line:var(--ui-p-34576e,#34576e);--ft-claim-title:var(--ui-p-d5e8f5,#d5e8f5);--ft-claim-rail:var(--ui-p-284c62,#284c62)}
html.ft-dark body .tc-studio-shell :is(#ftEggBet,#ftEggStart,#ftBjBet,#ftBcBet,#ftCfMain,#ftGemsBet,#ftGemsCash,#ftHlBet,#ftHlCash,#pokerBet,#ftSlotsSpin,#ftWpSpin,#rou_spin,#ftUdBet,#ftEsSpin) {background:var(--ui-p-b7f76b,#b7f76b)!important;color:var(--ui-p-14291b,#14291b)!important;border-color:var(--ui-p-b7f76b,#b7f76b)!important;box-shadow:none!important;border-radius:calc(9px * var(--ui-radius-scale,1));min-height:44px}
html.ft-dark body .tc-studio-shell .ft-egg-slots {background:radial-gradient(ellipse at 50% 25%,var(--ui-p-33596d,#33596d),var(--ui-p-102a3c,#102a3c))!important;border:1px solid var(--ui-p-3b5a70,#3b5a70);border-radius:calc(12px * var(--ui-radius-scale,1));min-height:310px}
html.ft-dark body .tc-studio-shell .ft-egg-stage:not(:has(img[src]))::before {content:"";position:absolute;bottom:7px;left:10%;width:80%;height:100px;background:url("../../freetron/games/eggs/spotty/blue.webp") bottom/contain no-repeat;opacity:.55}
html.ft-dark body .tc-studio-shell .tc-import-controls>.ft-egg-box:not(.ft-egg-stop) {order:-3}
html.ft-dark body .tc-studio-shell .tc-import-controls>.ft-egg-actions {order:-2}
html.ft-dark body .tc-studio-shell .ft-egg-hand,html.ft-dark body .tc-studio-shell .ft-egg-prize {border-radius:calc(5px * var(--ui-radius-scale,1));font-size:10px;padding:6px}
html.ft-dark body .tc-studio-shell #roulette_game .input_label {color:var(--ui-p-a2bdce,#a2bdce)}
html.ft-dark body .tc-studio-shell #roulette_game table.roulette td.text-roulette {background:var(--ui-p-234150,#234150)!important;color:var(--ui-p-bbd3e2,#bbd3e2)!important}
html.ft-dark body .tc-studio-shell #roulette_game {max-width:100%;padding:12px}
html.ft-dark body .tc-studio-shell #ftCrash {background:var(--ui-p-122d3f,#122d3f);border-radius:calc(12px * var(--ui-radius-scale,1));padding:16px}
html.ft-dark body .tc-studio-shell .ft-crash-box {background:var(--ui-p-1c394b,#1c394b);border-color:var(--ui-p-36586d,#36586d)}
/* Keep the auto option and action inside narrow control columns. */
html.ft-dark body .tc-studio-shell .ft-bc-actions{grid-template-columns:auto minmax(0,1fr);gap:8px}
html.ft-dark body .tc-studio-shell .ft-bc-actions>.ft-bc-bet{width:100%;min-width:0}
html.ft-dark body .tc-studio-shell .ft-bc-actions>span:empty{display:none}
/* Studio v2 — shared geometry with Dice, scoped away from the approved Dice page. */
.tc-studio-v2{--gs-panel:var(--ui-p-1b3445,#1b3445);--gs-board:var(--ui-p-102735,#102735);--gs-field:var(--ui-p-102532,#102532);--gs-line:var(--ui-p-365164,#365164);--gs-ink:var(--ui-p-e6f0f5,#e6f0f5);--gs-muted:var(--ui-p-a5bcc9,#a5bcc9);--gs-accent:var(--ui-p-b7f76b,#b7f76b);--gs-accent-ink:var(--ui-p-18341e,#18341e)}
html[data-theme=light] .tc-studio-v2{--gs-panel:var(--ui-p-f1f5f8,#f1f5f8);--gs-board:var(--ui-p-ffffff,#fff);--gs-field:var(--ui-p-ffffff,#fff);--gs-line:var(--ui-p-c7d4dd,#c7d4dd);--gs-ink:var(--ui-p-203b4b,#203b4b);--gs-muted:var(--ui-p-597180,#597180);--gs-accent:var(--ui-p-a7eb57,#a7eb57);--gs-accent-ink:var(--ui-p-18341e,#18341e)}
html body .tc-studio-v2{color:var(--gs-ink);background:var(--gs-board);border:1px solid var(--gs-line);border-radius:calc(16px * var(--ui-radius-scale,1));overflow:hidden}
html body .tc-studio-v2.tc-game-workspace{grid-template-columns:304px minmax(0,1fr)!important}
html body .tc-studio-v2 .tc-control-panel,html body .tc-studio-v2 .tc-import-controls{background:var(--gs-panel)!important;border-color:var(--gs-line)!important;padding:20px;gap:18px}
html body .tc-studio-v2 .tc-control-heading{display:none!important}
html body .tc-studio-v2 .tc-control-heading strong{font-size:14px;color:var(--gs-ink)}
html body .tc-studio-v2 .tc-control-label,html body .tc-studio-v2 .tc-game-select>span{font:600 12px/1.5 Inter,Arial,sans-serif;color:var(--gs-muted)}
html body .tc-studio-v2 .game_bet_amount_container{display:flex!important;align-items:stretch!important;height:48px!important;min-height:48px!important;border:1px solid var(--gs-line)!important;border-radius:calc(9px * var(--ui-radius-scale,1))!important;background:var(--gs-field)!important;padding:0!important;gap:0!important}
html body .tc-studio-v2 .game_bet_amount_input{display:flex!important;flex:1!important;min-width:0!important;align-items:center!important;gap:8px!important;background:transparent!important;border:0!important;padding:0 10px!important;border-radius:0!important}
html body .tc-studio-v2 .game_bet_amount_currency{display:grid!important;place-items:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;margin:0!important;padding:0!important}
html body .tc-studio-v2 .game_bet_amount_currency img{display:block!important;width:22px!important;height:22px!important;position:static!important;transform:none!important}
html body .tc-studio-v2 .game_bet_amount_input_container{min-width:0!important;flex:1!important;width:auto!important;background:transparent!important;padding:0!important;border:0!important}
html body .tc-studio-v2 #bet_amount{width:100%!important;height:46px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;line-height:normal!important;text-align:left!important;color:var(--gs-ink)!important;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
html body .tc-studio-v2 .game_bet_amount_container>button{flex:0 0 42px!important;width:42px!important;min-width:42px!important;margin:0!important;padding:0!important;border:0!important;border-left:1px solid var(--gs-line)!important;border-radius:0!important;background:var(--gs-panel)!important;color:var(--gs-ink)!important;font-size:13px!important;font-weight:700}
html body .tc-studio-v2 .game_action_bar{gap:8px;align-items:stretch;flex-wrap:wrap}
html body .tc-studio-v2 .game_action_bar>[hidden]{display:none!important}
html body .tc-studio-v2 .game_action_bar #play_button{min-height:48px!important;border-radius:calc(9px * var(--ui-radius-scale,1))!important;background:var(--gs-accent)!important;color:var(--gs-accent-ink)!important;font:750 14px/1.4 Inter,Arial,sans-serif!important}
.tc-game-modes{display:flex;gap:4px;padding:4px;background:var(--gs-field);border:1px solid var(--gs-line);border-radius:calc(10px * var(--ui-radius-scale,1))}
.tc-game-modes button{flex:1;min-height:38px;border:0;border-radius:calc(7px * var(--ui-radius-scale,1));background:transparent;color:var(--gs-muted);font:650 13px Inter,Arial,sans-serif;cursor:pointer}
.tc-game-modes button[aria-pressed=true]{background:var(--gs-panel);color:var(--gs-ink);box-shadow:0 1px 4px var(--ui-p-00000022,#0002)}
html body .tc-studio-v2 button:focus-visible{outline:2px solid var(--ui-p-78bc43,#78bc43)!important;outline-offset:2px}
html body .tc-studio-v2 button:not(:disabled):hover{filter:brightness(1.07)}
html body .tc-studio-v2 .tc-game-select{display:flex;flex-direction:column;gap:7px;margin:0;text-align:left;width:100%}
html body .tc-studio-v2 .tc-game-select select{width:100%;min-height:46px;border:1px solid var(--gs-line);border-radius:calc(9px * var(--ui-radius-scale,1));padding:0 12px;background:var(--gs-field)!important;color:var(--gs-ink)!important;font:600 13px Inter,Arial,sans-serif}
html body .tc-studio-v2 .tc-options-source{display:none!important}
html body .tc-studio-v2 .tc-inline-auto[hidden]{display:none!important}
html body .tc-studio-v2 .tc-inline-auto .settings_group{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
html body .tc-studio-v2 .tc-inline-auto .settings_group>li:first-child{display:none}
html body .tc-studio-v2 .tc-inline-auto .tagline{padding:0;margin:0;color:var(--gs-muted);font:600 12px/1.5 Inter,Arial,sans-serif}
html body .tc-studio-v2 .tc-inline-auto .dropdown{display:flex;flex-direction:column;gap:8px;background:transparent;border:0;padding:0;position:static}
html body .tc-studio-v2 .tc-inline-auto .option{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:0;font-size:12px;color:var(--gs-ink)}
html body .tc-studio-v2 .tc-inline-auto .option>div{min-width:0}
html body .tc-studio-v2 .tc-inline-auto .input_group{display:flex;align-items:center;gap:6px;height:42px;background:var(--gs-field)!important;border:1px solid var(--gs-line)!important;border-radius:calc(8px * var(--ui-radius-scale,1));padding:0 9px!important;margin-left:0!important;flex:1;min-width:0}
html body .tc-studio-v2 .tc-inline-auto .input_group input{min-width:0;width:100%!important;height:40px;padding:0!important;border:0!important;background:transparent!important;color:var(--gs-ink)!important;font:600 13px Inter,Arial,sans-serif;box-shadow:none!important}
html body .tc-studio-v2 .tc-inline-auto .crypto_icon{width:18px;height:18px;margin:0}
html body .tc-studio-v2 .tc-inline-auto{display:flex;flex-direction:column;gap:9px}
html body .tc-studio-v2 .tc-auto-count{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;min-height:0!important}
html body .tc-studio-v2 .tc-auto-count>div{width:100%!important;max-width:none!important;margin:0!important}
html body .tc-studio-v2 .tc-auto-preference{border-top:1px solid var(--gs-line)}
html body .tc-studio-v2 .tc-auto-preference>summary{display:flex;align-items:center;justify-content:space-between;min-height:38px;cursor:pointer;list-style:none;color:var(--gs-muted);font:600 12px/18px Inter,Arial,sans-serif}
html body .tc-studio-v2 .tc-auto-preference>summary::-webkit-details-marker{display:none}
html body .tc-studio-v2 .tc-auto-preference>summary::after{content:'+';font-size:16px}
html body .tc-studio-v2 .tc-auto-preference[open]>summary::after{content:'−'}
html body .tc-studio-v2 .tc-auto-options{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
html body .tc-studio-v2 .tc-auto-options>li{list-style:none;margin:0;padding:0}
html body .tc-studio-v2 .tc-auto-options .tagline{display:none}
html body .tc-studio-v2 .tc-auto-options .option{min-height:34px!important}
html body .tc-studio-v2 .tc-auto-options .input_group{max-width:92px;height:38px!important}
html body .tc-studio-v2 .tc-auto-options .input_group input{height:36px!important}
html body .tc-studio-v2 .tc-auto-stop-limits .dropdown{gap:6px!important}
html body .tc-studio-v2 .tc-auto-stop-limits .option{display:grid!important;grid-template-columns:minmax(0,1fr) 112px;gap:7px!important;min-height:38px!important}
html body .tc-studio-v2 .tc-auto-stop-limits .option>div{width:100%!important;max-width:none!important;margin:0!important}
html body .tc-studio-v2 .tc-auto-stop-limits .input_group{height:38px!important}
html body .tc-studio-v2 .tc-auto-stop-limits .input_group input{height:36px!important;font-size:12px!important}
html body .tc-studio-v2 input[type=radio],html body .tc-studio-v2 input[type=checkbox]{accent-color:var(--ui-p-85c44c,#85c44c)}
html body .tc-studio-v2 .tc-game-session{padding:12px!important;border:1px solid var(--gs-line)!important;border-radius:calc(10px * var(--ui-radius-scale,1));background:var(--gs-field)!important;gap:12px}
html body .tc-studio-v2 .tc-game-session>div{min-width:0;flex:1;background:transparent!important}
html body .tc-studio-v2 .tc-game-session .input_wrapper{padding:6px 0 0!important;background:transparent!important;border:0!important;min-width:0!important}
html body .tc-studio-v2 .tc-game-session input{width:100%!important;min-width:0;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--gs-ink)!important;text-align:left!important;font:650 16px/1.5 Inter,Arial,sans-serif}
html body .tc-studio-v2 .tc-game-session .label{color:var(--gs-muted)!important;font-size:11px}
/* Imported forms: uniform 46px fields, 20px icons, no nested input background. */
html body .tc-studio-v2 :is(.ft-dice-boxin,[class$="-group"]):has(>input){display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;min-height:46px!important;padding:0 10px!important;border:1px solid var(--gs-line)!important;border-radius:calc(8px * var(--ui-radius-scale,1))!important;background:var(--gs-field)!important}
html body .tc-studio-v2 :is(.ft-dice-boxin,[class$="-group"])>input:not([type=radio]):not([type=checkbox]){flex:1;min-width:0!important;width:100%!important;padding:0!important;height:44px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--gs-ink)!important;box-shadow:none!important;line-height:normal!important;font-variant-numeric:tabular-nums}
html body .tc-studio-v2 :is(.ft-dice-boxin,[class$="-group"])>img{flex:0 0 20px;width:20px!important;height:20px!important;object-fit:contain}
html body .tc-studio-v2 :is(.ft-dice-combo,[class$="-amount"]):has(>button){display:flex;align-items:stretch;gap:0;min-width:0}
html body .tc-studio-v2 :is(.ft-dice-combo,[class$="-amount"])>button{min-width:38px!important;min-height:46px!important;padding:0 8px!important;background:var(--gs-panel)!important;color:var(--gs-ink)!important;border:1px solid var(--gs-line)!important;border-radius:calc(6px * var(--ui-radius-scale,1))!important;font-size:12px!important}
html body .tc-studio-v2 :is(.ft-dice-label,[class$="-lab"]){color:var(--gs-muted)!important;line-height:1.5}
html body .tc-studio-v2 :is(.ft-dice-split,.ft-dice-grid){gap:14px;min-width:0}
html body .tc-studio-v2 :is(.ft-dice-field,.ft-dice-pct){min-width:0}
html body .tc-studio-v2 .tc-import-layout{grid-template-columns:304px minmax(0,1fr)!important;gap:20px!important}
html body .tc-studio-v2 .tc-import-controls{border-radius:calc(10px * var(--ui-radius-scale,1))!important;min-width:0}
html body .tc-studio-v2 .tc-import-controls :is(.ft-dice-grid,.ft-dice-split){grid-template-columns:minmax(0,1fr)!important}
html body .tc-studio-v2 :is(.ft-wpro-stage,.ft-es-stage,.ft-crash-stage){min-width:0;display:grid;align-content:center;min-height:360px}
html body .tc-studio-v2 :is(canvas,svg){max-width:100%}
html body .tc-studio-v2 .game_action_bar_2 .input_wrapper{background:var(--gs-field)!important;border-color:var(--gs-line)!important;border-radius:calc(8px * var(--ui-radius-scale,1));display:flex;align-items:center;gap:8px;min-width:0}
html body .tc-studio-v2 .game_action_bar_2 input{min-width:0!important;width:100%!important;box-shadow:none!important;background:transparent!important;border:0!important;color:var(--gs-ink)!important}
@media(max-width:900px){html body .tc-studio-v2.tc-game-workspace,html body .tc-studio-v2 .tc-import-layout{grid-template-columns:minmax(0,1fr)!important}html body .tc-studio-v2.tc-game-workspace>[id$="_gameboard"],html body .tc-studio-v2 .tc-import-stage{grid-column:1!important;grid-row:1!important;max-width:100%!important}html body .tc-studio-v2 .tc-control-panel,html body .tc-studio-v2 .tc-import-controls{grid-column:1!important;grid-row:2!important;border:0!important;border-top:1px solid var(--gs-line)!important;padding:18px!important}html body .tc-studio-v2 .tc-import-controls :is(.ft-dice-grid,.ft-dice-split){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){html body .tc-studio-v2{border-radius:calc(12px * var(--ui-radius-scale,1))!important}html body .tc-studio-v2 .tc-import-controls :is(.ft-dice-grid,.ft-dice-split){grid-template-columns:minmax(0,1fr)!important}html body .tc-studio-v2 :is(.ft-wpro-stage,.ft-es-stage,.ft-crash-stage){min-height:260px}html body .tc-studio-v2 .tc-control-panel,html body .tc-studio-v2 .tc-import-controls{padding:14px!important}}
@media(prefers-reduced-motion:reduce){.tc-studio-v2 *{scroll-behavior:auto!important;transition:none!important}}
@media(min-width:901px){html body .tc-studio-v2 .tc-control-panel{max-height:720px;overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin}html body .tc-studio-v2 .tc-control-panel>.game_action_bar{position:static;z-index:2;background:var(--gs-panel);padding:4px 0 8px;margin-top:0!important}html body .tc-studio-v2.tc-game-workspace>[id$="_gameboard"]{align-self:center;min-height:480px;background-color:var(--gs-board)!important}}
html body .tc-studio-v2 .tc-game-session input:disabled{background:transparent!important;color:var(--gs-ink)!important;border:0!important}
html body .tc-chicken-workspace .tc-chicken-stage{grid-column:2;grid-row:1;min-width:0;width:100%;padding:20px;display:flex;align-items:center;background:var(--gs-board)}
html body .tc-chicken-workspace .chicken_road_wrap{width:100%;min-width:0}
html body .tc-chicken-workspace .chicken_stats_bar{display:grid;grid-template-columns:1fr;gap:14px;background:transparent;border:0;padding:0;width:100%}
html body .tc-chicken-workspace .chicken_stat{min-width:0;background:transparent;padding:0}
html body .tc-chicken-workspace .chicken_stat_label{font-size:12px;color:var(--gs-muted);margin-bottom:7px}
html body .tc-chicken-workspace .chicken_stat :is(input,select){width:100%;min-width:0;height:46px;border:1px solid var(--gs-line)!important;border-radius:calc(8px * var(--ui-radius-scale,1));background:var(--gs-field)!important;color:var(--gs-ink)!important;padding:0 12px;font:600 14px Inter,Arial,sans-serif}
html body .tc-chicken-workspace .chicken_bet_actions{display:flex;flex-direction:column;width:100%;gap:8px;padding:0}
html body .tc-chicken-workspace .chicken_bet_actions>button{width:100%;min-height:48px;border-radius:calc(8px * var(--ui-radius-scale,1))}
@media(max-width:900px){html body .tc-chicken-workspace .tc-chicken-stage{grid-column:1;grid-row:1;padding:14px}html body .tc-chicken-workspace .chicken_stats_bar{grid-template-columns:repeat(2,minmax(0,1fr))}}
html body .tc-studio-v2 .tc-mode-source{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
html body .tc-studio-v2 .tc-game-modes button{background:transparent!important;color:var(--gs-muted)!important;border:0!important;min-height:38px}
html body .tc-studio-v2 .tc-game-modes button[aria-pressed=true]{background:var(--gs-field)!important;color:var(--gs-ink)!important}
html body .tc-studio-v2 .tc-game-modes{width:100%;margin-bottom:6px}
html body .tc-studio-v2 :is(.ft-wpro,.ft-es,.ft-crash,.ft-dice-card){box-shadow:none!important;border:0!important;background:transparent!important;border-radius:0!important}
html body .tc-studio-v2 .tc-special-stage{min-height:480px;display:flex;flex-direction:column;justify-content:center;gap:40px;padding:24px;background:var(--gs-board)}
html body .tc-studio-v2 .tc-special-stage .slots__container{width:100%;margin:0!important}
html body .tc-studio-v2 .tc-ultimate-art{width:100px;height:100px;object-fit:contain;margin:0 auto;filter:drop-shadow(0 12px 20px var(--ui-p-00000033,#0003))}
html body .tc-studio-v2 .tc-ultimate-modes{display:flex!important;position:static!important;width:100%!important;height:auto!important;padding:4px!important;background:var(--gs-field)!important;border:1px solid var(--gs-line)!important;border-radius:calc(10px * var(--ui-radius-scale,1))!important}
html body .tc-studio-v2 .tc-ultimate-modes button{position:static!important;flex:1!important;width:auto!important;min-height:38px!important;background:transparent;color:var(--gs-ink)!important;border:0;border-radius:calc(7px * var(--ui-radius-scale,1));font:600 12px Inter,Arial,sans-serif}
html body .tc-studio-v2 .tc-ultimate-modes i,html body .tc-studio-v2 #ftUdMode{display:none!important}
html body .tc-studio-v2 .tc-import-controls :is(.ft-dice-actions,.ft-wpro-actions,.ft-es-actions,.ft-slots-spinrow){display:flex!important;gap:8px;flex-wrap:wrap;padding:0!important}
html body .tc-studio-v2 .tc-import-controls :is(.ft-dice-roll-col,.ft-dice-roll,.ft-wpro-spin,.ft-es-actions>button,.ft-slots-spinrow>button){width:100%!important;min-height:48px!important;flex:1}
html body .tc-studio-v2 :is(.ft-wpro-opt.is-on,.ft-dice-switch button.is-on){border-color:var(--ui-p-79ba45,#79ba45)!important;box-shadow:inset 0 0 0 1px var(--ui-p-79ba45,#79ba45)!important}
html body .tc-studio-v2 .tc-roulette-stage{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
html body .tc-studio-v2 .tc-roulette-stage .roulette-wrap{margin:0 auto!important}
html body .tc-studio-v2 #roulette_game .ft-rou-actions{display:flex!important;flex-wrap:wrap;gap:8px}
html body .tc-studio-v2 #roulette_game .ft-rou-actions>button{min-height:46px;flex:1}
@media(max-width:900px){html body .tc-studio-v2 .tc-special-stage{min-height:300px;padding:20px 8px}html body .tc-studio-v2 .tc-ultimate-art{width:76px;height:76px}}
html body .tc-studio-v2 .tc-ultimate-modes button[aria-pressed=true]{background:var(--gs-panel)!important;box-shadow:0 1px 4px var(--ui-p-00000022,#0002)}
html body .tc-studio-v2 .tc-import-controls .ft-slots-settings{display:grid;grid-template-columns:1fr;gap:14px}
html body .tc-studio-v2 .tc-import-controls .ft-slots-spinrow{order:10}
html body .tc-studio-v2 .ft-slots-lines select{min-height:44px;background:var(--gs-field)!important;color:var(--gs-ink)!important}
html body .tc-studio-v2 :is(.ft-dice-panel,.ft-dice-slider,.ft-udice-pair,.ft-egg-box,.ft-gems-box,.ft-bc-box,.ft-cf-panel,.ft-crash-box,.ft-wpro-panel,.ft-es-box){background:var(--gs-panel)!important;border-color:var(--gs-line)!important;color:var(--gs-ink)!important;box-shadow:none!important}
html body .tc-studio-v2 .tc-import-controls .ft-dice-panel{padding:0!important;border:0!important;margin:0!important}
html body .tc-studio-v2 .tc-import-controls .ft-dice-extra{margin:0!important}
html body .tc-studio-v2 .tc-import-controls .ft-dice-extra[hidden]{display:none!important}
html body .tc-studio-v2 .tc-import-controls .ft-dice-extra:not([hidden]){display:flex;flex-direction:column;gap:16px}
html body .tc-studio-v2 #ftUdRoll{background:var(--gs-accent)!important;color:var(--gs-accent-ink)!important;border:0!important;border-radius:calc(9px * var(--ui-radius-scale,1))!important;font-weight:750}
html body .tc-studio-v2 .ft-dice-radio,html body .tc-studio-v2 .ft-dice-radio-row{color:var(--gs-ink)!important;line-height:1.6;min-height:32px}
html body .tc-studio-v2 .ft-dice-pct{display:flex;align-items:center;gap:8px;background:var(--gs-field)!important;border:1px solid var(--gs-line)!important;padding:0 8px!important;border-radius:calc(8px * var(--ui-radius-scale,1));height:42px}
html body .tc-studio-v2 .ft-dice-pct input{height:40px!important;background:transparent!important;color:var(--gs-ink)!important;border:0!important;min-width:0;width:100%!important}
html body .tc-studio-v2 .ft-dice-half{display:grid;grid-template-columns:1fr;gap:12px}
html body .tc-studio-v2 .tc-import-controls .ft-dice-actions{order:20;margin-top:auto!important}
@media(min-width:901px){html body .tc-studio-v2 .tc-import-controls{max-height:720px;overflow-y:auto;scrollbar-width:thin;scrollbar-gutter:stable}html body .tc-studio-v2 .tc-import-controls .ft-dice-actions{position:sticky;bottom:-20px;background:var(--gs-panel);padding:12px 0 20px!important;z-index:2}}
html body .tc-studio-v2 #limbo_gameboard{display:flex!important;flex-direction:column!important;justify-content:center!important;background:radial-gradient(ellipse at 50% 35%,var(--ui-p-1e4357,#1e4357),var(--ui-p-102735,#102735))!important}
html body .tc-studio-v2 #limbo_game_outcome{width:100%!important;border:0!important;box-shadow:none!important;border-radius:calc(12px * var(--ui-radius-scale,1))!important}
html[data-theme=light] body .tc-studio-v2 #limbo_gameboard{background:var(--ui-p-e9f0f6,#e9f0f6)!important}
html body .tc-studio-v2 .tc-game-session :is(#number_rolls,#profit_loss){background:transparent!important;border:0!important;color:var(--gs-ink)!important;padding:0!important}
/* Tower payouts occupy their own rail instead of overlapping a selectable tile. */
html body .tc-studio-v2 .tower_gameline_container{padding-left:88px;min-height:40px;gap:6px}
html body .tc-studio-v2 .tower_gametopbar{left:0;top:0;bottom:0;width:80px;max-width:80px;justify-self:start;pointer-events:none}
html body .tc-studio-v2 .tower_gametopbar_cover{display:none}
html body .tc-studio-v2 .tower_gametopbar_content{min-width:0;width:80px;max-width:80px;height:auto;min-height:32px;padding:5px 2px;border-radius:calc(6px * var(--ui-radius-scale,1));background:var(--gs-field)!important;color:var(--gs-ink)!important;border:1px solid var(--gs-line);font:600 11px/1.4 Inter,Arial,sans-serif}
html body .tc-studio-v2 .tower_gametopbar_content_text{padding:0;margin:0;opacity:1}
html body .tc-studio-v2 .tower_gametopbar_content_text p{margin:0;color:var(--gs-ink)!important;font-size:11px!important}
html body .tc-studio-v2 .tower_gameline_cover{width:100%;right:0}
html body .tc-studio-v2 .game_info_bar{background:var(--gs-field)!important;border-color:var(--gs-line)!important;color:var(--gs-muted)!important;border-radius:calc(9px * var(--ui-radius-scale,1))}
html body .tc-studio-v2 .game_info_bar #next_multiplier{background:var(--gs-panel)!important;color:var(--gs-ink)!important;border-radius:calc(5px * var(--ui-radius-scale,1));padding:4px 7px}
html body .tc-studio-v2 .ft-dice-mm{color:var(--gs-muted)!important;font-size:12px}
html body .tc-studio-v2 .tc-ultimate-modes button[aria-pressed=true]{background:var(--ui-p-355367,#355367)!important;color:var(--ui-p-f4f9fc,#f4f9fc)!important}
html[data-theme=light] body .tc-studio-v2 .tc-ultimate-modes button[aria-pressed=true]{background:var(--ui-p-dbe7ef,#dbe7ef)!important;color:var(--ui-p-203b4b,#203b4b)!important}
html body .tc-studio-v2 :is(.ft-dice-boxin,[class$="-group"])>select{flex:1;min-width:0;width:100%;height:44px;padding:0;border:0;background:transparent!important;color:var(--gs-ink)!important}
html body .tc-studio-v2 .ft-wpro-disc{margin-inline:auto;max-width:100%}
html body .tc-studio-v2 .ft-wpro-legend>div{background:var(--gs-field)!important;color:var(--gs-ink)!important;border-color:var(--gs-line)!important}
html body .tc-studio-v2 .ft-wpro-opt{border-color:var(--gs-line)!important;background:var(--gs-field)!important;color:var(--gs-ink)!important}
