/* Structural extension point, independent of skin and page-specific artwork. */
.tc-nav-group-toggle{display:none}
html[data-ui-layout] body:has(.tc-sidebar) .page_content{max-width:var(--ui-content-max,1240px)}
/* Right controls only change desktop grid placement; mobile dock/board order stays shared. */
@media(min-width:1101px){
 html[data-ui-game-panel=right]{--ui-workspace-columns:minmax(0,1fr) 304px;--ui-control-column:2;--ui-stage-column:1;--ui-control-border-right:0;--ui-control-border-left:1px solid var(--ui-border)}
 html[data-ui-game-panel=right] body :is(.tc-game-workspace.tc-studio-v2,.tc-import-layout,.tc-dice-shell){grid-template-columns:minmax(0,1fr) 304px!important}
 html[data-ui-game-panel=right] body :is(.tc-game-workspace.tc-studio-v2,.tc-import-layout,.tc-dice-shell)>:is(.tc-control-panel,.tc-import-controls,.tc-dice-controls){grid-column:2!important;grid-row:1!important;border-right:0!important;border-left:1px solid var(--ui-border)}
 html[data-ui-game-panel=right] body :is(.tc-game-workspace.tc-studio-v2,.tc-import-layout,.tc-dice-shell)>:is([id$=_gameboard],.chicken_game_container,.tc-import-stage,.tc-dice-board){grid-column:1!important;grid-row:1!important}
}

/* Guest landing/auth content uses the same configured navigation shell. */
html[data-ui-layout] body.stake-home .sk-app{height:100dvh}
html[data-ui-layout] body.stake-home .sk-main.page_container{box-sizing:border-box;height:100dvh;min-height:0;flex:none}
html[data-ui-layout] body.stake-home .sk-scroll.page_content{box-sizing:border-box;width:100%;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden}
html[data-ui-layout] body.stake-home .nav_top .float-right{display:flex;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}
@media(max-width:640px){html[data-ui-layout] body.stake-home .nav_top .float-right a{padding:8px;font-size:12px}}
html[data-ui-layout] body .nav_top .btn-signup{background:var(--ui-accent)!important;color:var(--ui-accent-ink)!important}
