/* Reserve the result slot even before the first settlement, without placeholder copy. */
html body .tc-round-dock[data-outcome=ready],html body .tc-import-result-dock:not(:has(.is-on,.showing,#ftWpPop:not([hidden]),#ftEsResult:not([hidden]))){visibility:hidden!important}
html body .tc-import-result-dock::before{content:none!important}
.tc-mobile-play{display:none}
@media(max-width:900px){
 html body.tc-mobile-game{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
 html body .tc-mobile-play{display:flex!important;align-items:center;gap:10px;position:fixed;inset:auto 0 0;z-index:990;box-sizing:border-box;margin:0!important;width:100%!important;max-width:none!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px))!important;background:var(--ui-p-172f3e,#172f3e)!important;border-top:1px solid var(--ui-p-365366,#365366);box-shadow:0 -6px 24px var(--ui-p-07152230,#07152230);border-radius:0!important}
 html body .tc-mobile-play.is-editing{display:none!important}
 html body .tc-mobile-settings{flex:0 0 68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0!important;width:68px!important;height:48px!important;padding:0!important;background:transparent!important;border:0!important;color:var(--ui-p-c1d4df,#c1d4df)!important;border-radius:calc(8px * var(--ui-radius-scale,1));font:600 11px/14px Inter,Arial,sans-serif}
 .tc-mobile-settings>span{font-size:21px;line-height:22px}.tc-mobile-settings small{font-size:9px;white-space:nowrap}
 html body .tc-mobile-play-actions{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}
 html body .tc-mobile-play-actions>.game_action_bar,html body .tc-mobile-play-actions>.tc-dice-actions{display:flex;width:100%;margin:0!important;padding:0!important;gap:6px;background:none!important;border:0!important}
 html body .tc-mobile-play-actions>.game_action_bar>div:has([hidden]),html body .tc-mobile-play-actions>.game_action_bar>div[hidden]{display:none!important}
 html body .tc-mobile-play-actions>.game_action_bar>div:has(#play_button){display:block!important;flex:1!important;width:100%!important}
 html body .tc-mobile-play-actions button{flex:1;min-width:70px!important;width:auto!important;min-height:48px!important;height:auto!important;margin:0!important;padding:10px!important;border:0!important;border-radius:calc(8px * var(--ui-radius-scale,1))!important;background:var(--ui-p-b7f76b,#b7f76b)!important;color:var(--ui-p-193322,#193322)!important;font:750 13px/20px Inter,Arial,sans-serif!important;box-sizing:border-box;position:static!important}
 html body .tc-mobile-play-actions :is(button[hidden],[hidden]){display:none!important}
 html body .tc-mobile-play-actions button:disabled{opacity:.45;cursor:default}
 html body .tc-mobile-play-actions button svg{width:14px;height:14px}
 html body .tc-mobile-play-actions #play_button{width:100%!important}
 html body .tc-mobile-play-actions #play_button img{width:24px;height:24px}
 html body .tc-control-heading,html body #tower_gameboard :is(.tc-tower-eyebrow,.tc-tower-hint){display:none!important}
 html body .tc-control-panel,html body .tc-import-controls,html body .tc-dice-controls{scroll-margin-top:78px}
 html body .gamebox_container.tc-studio-v2>#tower_gameboard{min-height:0!important;padding:16px 12px!important}
 #tower_gameboard .tc-tower-heading{margin-bottom:10px}#tower_gameboard .tc-tower-progress{margin-bottom:14px}
 html body #tower_gameboard .tower_gamecell{height:32px!important}html body #tower_gameboard .tower_gameline.tc-tower-floor{min-height:32px}#tower_gameboard .tc-tower-grid{gap:6px}
 html body #ftGemsTable{min-height:0!important;padding:16px!important;gap:6px}html body #ftGemsTable .ft-gems-cell{height:32px}
 html[data-theme=light] body .tc-mobile-play{background:var(--ui-p-f7fafc,#f7fafc)!important;border-color:var(--ui-p-d4e0e8,#d4e0e8)}
 html[data-theme=light] body .tc-mobile-settings{color:var(--ui-p-355163,#355163)!important}
 /* Persistent notices must not cover the thumb action bar. */
 html body.tc-mobile-game .tc-pass-reminder{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:900px){
 html body .tc-mobile-play-actions>.ft-bj-actions{width:100%;gap:6px}
 html body .tc-mobile-play-actions:has(#ftHlBet:not([hidden])) :is(#ftHlHigh,#ftHlLow){display:none!important}
 html body .tc-mobile-play-actions:has(#ftCfMain:not(.is-cashout)) :is(#ftCfHeads:disabled,#ftCfTails:disabled){display:none!important}
 html body #tower_gameboard .tower_gamecell{min-height:36px!important;height:36px!important}
 html body #tower_gameboard .tower_gameline.tc-tower-floor{min-height:36px!important}
 html body .tc-mobile-play-actions>.tc-dice-actions{position:static!important}
}
@media(max-width:900px){html body.tc-mobile-game .tc-pass-reminder{display:none!important}}
@media(max-width:900px){
 html body .tc-mobile-play-actions>.ft-bj-actions:not(.is-on){display:none!important}
 html body .tc-mobile-play-actions>.ft-bj-actions.is-on{display:flex!important;flex-wrap:wrap;grid-template-columns:none!important;margin:0!important;padding:0!important}
 html body.tc-mobile-game{padding-bottom:calc(var(--tc-mobile-action-height,88px) + 14px)!important}
}
@media(max-width:900px){html body #dice-manual-help,html body #dice-feedback[data-quiet=true]{display:none!important}html body :is(#dice_gameboard,.tc-import-stage,[id$="_gameboard"]){scroll-margin-top:78px}}
@media(max-width:900px){
 html body.tc-game-dice #dice_gameboard.tc-dice-board{min-height:0!important;padding:16px!important;gap:12px!important}
 html body.tc-game-dice #dice_gameboard .dice_game_outcome{min-height:138px!important;gap:4px!important}
 html body.tc-game-dice .tc-dice-art{width:46px;height:46px;margin-bottom:2px}
 html body.tc-game-dice .tc-dice-track-wrap{margin-top:24px}
 html body.tc-game-dice #dice-recent:empty{display:none!important}
 html body.tc-game-dice #dice-result-status:empty{display:none!important}
}
