[data-blockfall-view-controls][hidden]{display:none!important}
@media(max-width:700px){
 /* Private practice uses the windowed shell too: keep the same compact toolbar. */
 :root body.gameplay-page.blockfall-large-view:not(.app-game-shell) .game>[data-blockfall-view-controls] .blockfall-view-toggle{font-size:0!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px;padding:0!important}
 body.blockfall-large-view:not(.app-game-shell) .blockfall-view-toggle:before{content:'⛶';font-size:24px;line-height:1}
 :root body.gameplay-page.blockfall-large-view:not(.app-game-shell) .game>[data-blockfall-view-controls] .blockfall-view-details summary{font-size:0!important;width:44px!important;max-width:44px!important;height:44px;box-sizing:border-box;padding:0!important;justify-content:center}
 body.blockfall-large-view:not(.app-game-shell) .blockfall-view-details summary:after{content:'⋯';font-size:24px}
}
[data-blockfall-view-controls]{display:flex;align-items:center;gap:6px}
.blockfall-view-toggle{min-height:44px;padding:8px 12px;border:1px solid #9560e8;border-radius:6px;background:#191326;color:#f5edff;font:600 12px/1.2 system-ui;cursor:pointer}
.blockfall-view-toggle:focus-visible,.blockfall-view-details summary:focus-visible{outline:2px solid #d7bcff;outline-offset:3px}
.game>[data-blockfall-view-controls]{position:fixed;right:12px;top:12px;z-index:10050}
body:not(.app-game-shell):not(.blockfall-large-view) .game>[data-blockfall-view-controls]{top:auto;bottom:12px}
.blockfall-view-details{display:none}
body.has-blockfall-view .game-shell-fullscreen{display:none!important}
body.has-blockfall-view.app-game-shell .game-shell-controls{min-height:44px}
body.has-blockfall-view .game-shell-controls>[data-blockfall-view-controls]{border:0;background:none;box-shadow:none;backdrop-filter:none;width:auto;height:44px;padding:0}
body.has-blockfall-view.app-game-shell .blockfall-view-toggle{max-width:125px;font-size:11px;padding-inline:6px}
body.app-game-shell.blockfall-large-view .game>[data-blockfall-view-controls]{top:calc(env(safe-area-inset-top,0px) + 4px);right:6px}
body.blockfall-large-view .game>[data-blockfall-view-controls]{top:calc(env(safe-area-inset-top,0px) + 4px);right:6px}
body.app-game-shell.blockfall-large-view .game-shell-controls{top:calc(env(safe-area-inset-top,0px) + 4px)!important;align-items:center!important}
body.app-game-shell.blockfall-large-view .game-shell-controls{right:104px!important}
body.app-game-shell .blockfall-view-toggle{font-size:0!important;min-width:44px;max-width:44px!important;width:44px;height:44px;padding:0!important}
body.app-game-shell .blockfall-view-toggle::before{content:'⛶';font-size:24px;line-height:1}
body.app-game-shell.blockfall-large-view .blockfall-view-details summary{font-size:0;width:44px;padding:0;justify-content:center}
body.app-game-shell.blockfall-large-view .blockfall-view-details summary::after{content:'⋯';font-size:24px}
body.has-blockfall-view.app-game-shell [data-game-shell-content]{margin-top:52px;height:calc(100% - 52px)}
body.blockfall-large-view{overflow:hidden!important}
body.blockfall-large-view .nav,body.blockfall-large-view .player-quicknav,body.blockfall-large-view .friend-chat-dock,body.blockfall-large-view .locale-switcher,body.blockfall-large-view .feedback-fab{display:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode]{position:fixed!important;inset:auto!important;top:var(--large-viewport-top,0px)!important;left:var(--large-viewport-left,0px)!important;width:var(--large-viewport-width,100vw)!important;height:var(--large-viewport-height,100dvh)!important;max-width:none!important;min-height:0!important;margin:0!important;padding:var(--large-controls-space,52px) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))!important;box-sizing:border-box!important;display:block!important;background:#070912!important;z-index:10010;overflow:hidden!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .gameplay-touch-zone{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;height:100%!important;max-width:none!important;gap:0!important;overflow:visible!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-panel{order:-1!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:0!important;flex:0 0 auto!important;width:min(100%,560px)!important;min-width:0!important;max-width:560px!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud>#score{grid-column:1!important;grid-row:1!important;align-self:end!important;min-width:0!important;font-size:clamp(12px,8cqw,28px)!important;font-weight:700!important;margin:0!important;padding:0!important;line-height:1.1!important;text-align:left!important;font-variant-numeric:tabular-nums!important;text-shadow:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud>#score+small{grid-column:1!important;grid-row:2!important;align-self:start!important;margin:5px 0 0!important;display:block!important;font:500 9px/1.2 system-ui!important;text-align:left!important;letter-spacing:.04em!important;color:#aeb6c9!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud>.stats{grid-column:3!important;grid-row:1/3!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;gap:5px!important;min-width:0!important;margin:0!important;padding:0!important;font-size:10px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress{grid-column:1/-1!important;grid-row:3!important;width:100%!important;margin:4px 0!important;padding:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-powerups{position:static!important;grid-column:1/-1!important;grid-row:4!important;width:100%!important;margin:0!important;padding:0!important;transform:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-powerups>strong{display:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-powerup-dock{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-powerup{min-height:44px!important;height:44px!important;width:100%!important;padding:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-powerup i{width:30px!important;height:30px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-powerup-message{display:block!important;font-size:11px!important;margin:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud>.next-piece-preview{grid-column:2!important;grid-row:1/3!important;position:relative!important;inset:auto!important;justify-self:center!important;width:100%!important;height:76px!important;margin:0!important;padding:0!important;border:0!important;border-radius:4px!important;background:#1b2030!important;box-shadow:none!important;transform:none!important;animation:none!important;transition:none!important;overflow:hidden!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .next-piece-preview #next{width:64px!important;height:64px!important;min-width:0!important;min-height:0!important;display:block!important;margin:0 auto!important;transform:none!important;animation:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .next-piece-preview small{position:absolute!important;bottom:5px!important;left:0!important;width:100%!important;font-size:10px!important;line-height:1!important;display:block!important;text-align:center!important;letter-spacing:.08em!important;color:#c8c0e2!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .board-shell{width:var(--large-board-width)!important;flex:0 0 auto!important;margin:0!important;padding:0!important;border:0!important;max-width:none!important;transform:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-board-interaction{width:100%!important;height:auto!important;aspect-ratio:1/2;max-height:none!important;margin:0!important;padding:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] canvas#board{display:block!important;width:var(--large-board-width)!important;height:calc(var(--large-board-width)*2)!important;min-width:0!important;max-width:none!important;max-height:none!important;aspect-ratio:1/2!important;box-sizing:content-box!important;border:0!important}
body.blockfall-large-view .mobile-gesture-hint{display:none!important}
body.blockfall-large-view .mobile-controls-toggle{position:static!important;min-height:44px!important;z-index:auto}
body.blockfall-large-view .blockfall-view-details{display:block;position:relative;color:#eee;font:12px/1.4 system-ui}
body.blockfall-large-view .blockfall-view-details summary{min-height:44px;display:flex;align-items:center;padding:0 8px;max-width:130px;cursor:pointer}
body.blockfall-large-view [data-blockfall-view-extra]{position:absolute;top:100%;right:0;width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 110px);overflow:auto;padding:12px;box-sizing:border-box;background:#121421;border:1px solid #725399;border-radius:6px;box-shadow:0 12px 30px #0009}
body.blockfall-large-view [data-blockfall-view-extra]>*{position:static!important;width:auto!important;max-width:100%!important;max-height:none!important}
body.blockfall-large-view [data-blockfall-view-extra] button{min-height:44px!important}
body.blockfall-large-view [data-blockfall-view-extra] .game-shell-fullscreen:not([hidden]){display:flex!important}
/* The fullscreen control is moved here from the toolbar; retain its own box. */
body.blockfall-large-view [data-blockfall-view-extra] .game-shell-fullscreen{width:44px!important;height:44px!important;min-width:44px!important;flex:none;align-items:center;justify-content:center;margin-top:8px;padding:0;border:1px solid #41445b;border-radius:6px;background:#171b29;color:#f3f1fb;box-sizing:border-box}
body.blockfall-large-view .game .overlay{position:absolute!important;inset:0!important;z-index:10040!important;overflow:auto!important}
body.blockfall-large-view .game .overlay .modal{max-height:calc(100% - 24px);overflow:auto!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-panel{position:relative!important;inset:auto!important;transform:none!important;align-self:center!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .gameplay-touch-zone{position:relative!important;inset:auto!important;transform:none!important;padding:0!important;margin:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress{position:relative!important;inset:auto!important;transform:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode]{transform:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-panel{height:auto!important;align-content:start!important;justify-content:normal!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .board-shell{position:relative!important;inset:auto!important;align-self:center!important;float:none!important;height:auto!important;max-height:none!important;min-height:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-panel>.game-abandon-form{grid-column:1/-1!important;grid-row:5!important;margin:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress>strong{display:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress:not(.has-unified-star-rail){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-progress-row{min-height:30px!important;margin:0!important;padding:2px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-progress-row span{font-size:8px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-progress-row b{font-size:9px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .unified-star-rail{padding:0!important;gap:2px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .unified-star-track{margin-block:10px 3px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress.has-unified-star-rail{display:block!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress.has-unified-star-rail>.journey-progress-row{display:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress>.unified-star-rail{display:grid!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .stats>span{display:flex!important;align-items:baseline!important;justify-content:flex-end!important;gap:5px!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;white-space:nowrap!important;color:#aeb6c9!important;letter-spacing:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .stats>span:has(#time){order:-1!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .stats small{font-size:10px!important;line-height:1.2!important;margin:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .stats b{font-size:14px!important;line-height:1.2!important;margin:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .stats b#time{font-size:clamp(16px,7cqw,25px)!important;font-weight:700!important;font-variant-numeric:tabular-nums!important;line-height:1.1!important;color:#f4f5fa!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-panel,:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .gameplay-touch-zone,:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .board-shell{box-sizing:border-box!important;transition:none!important;animation:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode]{overflow:clip!important;animation:none!important;transition:none!important}
:root body.gameplay-page.blockfall-large-view .mobile-controls:not([hidden]){display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:6px!important;right:6px!important;bottom:max(6px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;margin:0!important;z-index:10035!important;gap:5px!important;padding:7px!important;background:#111421!important}
:root body.gameplay-page.blockfall-large-view .mobile-controls button{min-width:0!important;min-height:44px!important}
:root body.gameplay-page.blockfall-large-view .mobile-controls{transform:none!important;top:auto!important;height:auto!important;box-sizing:border-box!important}
:root body.gameplay-page.blockfall-large-view:has(.mobile-controls:not([hidden])) .game[data-game-mode] .board-shell canvas#board{width:var(--large-board-width)!important;height:calc(var(--large-board-width)*2)!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .mobile-controls-toggle{display:inline-flex!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .stats>span{font-size:11px!important;line-height:1.3!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .unified-star-targets,:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .unified-star-rail>small{font-size:10px!important;line-height:1.2!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-abandon-form{position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 4px)!important;left:6px!important;right:auto!important;bottom:auto!important;width:auto!important;max-width:48%!important;margin:0!important;display:flex!important;gap:4px!important;z-index:10030!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-abandon-form[hidden]{display:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-abandon-form .button{min-height:44px!important;width:auto!important;padding:6px 10px!important;font-size:11px!important}
body.blockfall-large-view:not(.app-game-shell) .game>[data-blockfall-view-controls]{right:max(6px,calc((100vw - 560px)/2))}
:root body.gameplay-page.blockfall-large-view:not(.app-game-shell) .game[data-game-mode] .game-abandon-form{left:max(6px,calc((100vw - 560px)/2))!important}


:root body.gameplay-page.blockfall-large-view .game[data-game-mode]:has([data-powerup-sku="tj_future"].active-effect) #next{position:absolute!important;top:4px!important;left:50%!important;width:120px!important;height:120px!important;transform:translateX(-50%) scale(var(--large-future-scale,.8))!important;transform-origin:top center!important}
@media(orientation:landscape) and (max-height:540px){
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode="JOURNEY"] .game-panel{max-width:760px!important;width:min(100%,760px)!important}
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode="JOURNEY"] .journey-powerups{grid-column:1/3!important;grid-row:3!important;margin-top:5px!important}
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode="JOURNEY"] .journey-star-progress{grid-column:3!important;grid-row:3!important}
}

/* One board instrument panel; Journey tools remain separate, touch-sized controls. */
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud{order:3;display:grid;grid-template-columns:minmax(0,1fr) 34% minmax(0,1fr);grid-template-rows:46px 30px;gap:0 8px;width:var(--large-board-width,300px);box-sizing:border-box;container-type:inline-size;container-name:board-hud;padding:10px 12px;background:#121724;border:1px solid #353c50;border-bottom:1px solid #41465b;border-radius:6px 6px 0 0;font-family:system-ui,sans-serif;flex:none}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode]:has([data-powerup-sku="tj_future"].active-effect) .blockfall-board-hud{grid-template-columns:minmax(0,1fr) 44% minmax(0,1fr)}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode]:has([data-powerup-sku="tj_future"].active-effect) .blockfall-board-hud>#score{font-size:clamp(11px,7cqw,24px)!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .board-shell{box-shadow:0 0 0 1px #353c50!important;border-radius:0 0 4px 4px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress{order:1!important;max-width:560px!important;margin:0 0 6px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-powerups{order:2!important;max-width:560px!important;margin:0 0 8px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud .stats>span{flex:none!important;font-size:9px!important;gap:3px!important;flex-wrap:wrap!important;line-height:1.2!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud .stats b:not(#time){font-size:11px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud .stats>span:has(#time){flex-direction:column!important;align-items:flex-end!important;gap:4px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud .stats :is(.blockfall-time-label,.blockfall-time-value){flex:none!important;position:static!important;width:auto!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#aeb6c9!important;font:500 9px/1.2 system-ui!important;letter-spacing:.04em!important;white-space:nowrap!important;text-transform:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud .stats .blockfall-time-label{display:block!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud .stats .blockfall-time-value{display:flex!important;align-items:baseline!important;gap:3px!important;letter-spacing:0!important}
@container board-hud (max-width:230px){
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud .next-piece-preview small{font-size:8px!important;letter-spacing:0!important}
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud #next{--large-future-scale:.55}
}
@media(orientation:landscape) and (max-height:540px){
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-panel{display:grid!important;grid-template-columns:1fr 260px 1fr!important;grid-template-rows:auto!important;column-gap:12px!important;max-width:760px!important;width:min(100%,760px)!important}
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode] .blockfall-board-hud{grid-column:2!important;grid-row:1!important;width:260px}
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-powerups{grid-column:1!important;grid-row:1!important;margin:0!important}
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-powerup-dock{grid-template-columns:repeat(3,minmax(44px,1fr))!important}
 :root body.gameplay-page.blockfall-large-view .game[data-game-mode] .journey-star-progress{grid-column:3!important;grid-row:1!important;margin:0!important}
}
/* Shared top action treatment, including shell-owned Exit and pause/abandon. */
:root body.gameplay-page:is(.blockfall-large-view,.app-game-shell) :is(.game-shell-controls .game-shell-action-form>.game-pause-orb.is-docked,.blockfall-large-view .game-abandon-form>button,.game-shell-exit,.blockfall-view-toggle,.blockfall-view-details>summary){
 flex:0 0 auto!important;width:auto!important;max-width:none!important;position:relative!important;inset:auto!important;transform:none!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:44px!important;height:44px!important;max-height:44px!important;min-width:44px!important;margin:0!important;padding:0 10px!important;border:1px solid #41445b!important;border-radius:6px!important;background:#171b29!important;color:#f3f1fb!important;box-shadow:none!important;backdrop-filter:none!important;text-decoration:none!important;font:600 11px/1.2 system-ui,sans-serif!important;letter-spacing:0!important;text-shadow:none!important;cursor:pointer!important
}
:root body.gameplay-page:is(.blockfall-large-view,.app-game-shell) :is(.game-shell-controls .game-shell-action-form>.game-pause-orb.is-docked,.blockfall-large-view .game-abandon-form>button,.game-shell-exit,.blockfall-view-toggle,.blockfall-view-details>summary):hover{background:#242238!important;border-color:#9674cd!important}
:root body.gameplay-page:is(.blockfall-large-view,.app-game-shell) :is(.game-shell-controls .game-shell-action-form>.game-pause-orb.is-docked,.blockfall-large-view .game-abandon-form>button,.game-shell-exit,.blockfall-view-toggle,.blockfall-view-details>summary):focus-visible{outline:2px solid #cbb1ff!important;outline-offset:2px!important}
:root body.blockfall-large-view .blockfall-view-toggle[aria-pressed=true]{border-color:#9674cd!important;background:#242035!important}
:root body.gameplay-page.app-game-shell.blockfall-large-view .game>[data-blockfall-view-controls] :is(.blockfall-view-toggle,.blockfall-view-details>summary){font-size:0!important;width:44px!important;max-width:44px!important;min-width:44px!important;padding:0!important}
:root body.app-game-shell.blockfall-large-view .game-shell-exit{padding:0 8px!important}
:root body.app-game-shell.blockfall-large-view .game-shell-action-form{background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;height:44px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] :is(canvas#board,.game-board-interaction){border-radius:0 0 4px 4px!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-board-interaction::after{border-radius:0 0 4px 4px!important;border-top:0!important;box-shadow:none!important}
:root body.gameplay-page.blockfall-large-view .game[data-game-mode] .game-panel::before{display:none!important}
:root body.gameplay-page.blockfall-large-view .game-shell-action-form button span,:root body.gameplay-page.blockfall-large-view .game-shell-action-form .game-pause-label{font-size:10px!important}
/* Every shell-docked action shares the toolbar height, including admin practice.
   HUD-owned actions keep their separate narrow-board layout below. */
:root body.gameplay-page.app-game-shell .game-shell-controls .game-shell-action-form{height:44px!important;min-height:44px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important}
:root body.gameplay-page.app-game-shell .game-shell-controls .game-shell-action-form>.button{box-sizing:border-box!important;min-height:44px!important;height:44px!important;max-height:44px!important;border:1px solid #41445b!important;border-radius:6px!important;background:#171b29!important;color:#f3f1fb!important;box-shadow:none!important}
:root body.gameplay-page.app-game-shell .game-shell-controls .game-shell-action-form>.button:hover{background:#242238!important;border-color:#9674cd!important}
:root body.gameplay-page.app-game-shell .game-shell-controls .game-shell-action-form>.button:focus-visible{outline:2px solid #cbb1ff!important;outline-offset:2px!important}
:root body.gameplay-page.app-game-shell.blockfall-large-view:has(.game[data-game-mode="JOURNEY"]) .game-shell-controls .game-shell-action-form{width:auto!important;max-width:none!important;flex:0 0 auto!important;justify-content:flex-start!important}

/* Mobile abandon is a real touch target in both the narrow HUD and large-board
   toolbar. Keep the existing form width/placement; never expand the HUD. */
/* The same compact toolbar belongs to every skin, not only Halloween.
   Accessible names remain; the labelled abandon action is never hidden. */
@media(max-width:600px){
 :root body.gameplay-page.app-game-shell .game-shell-controls #abandon-game-form{width:auto!important;max-width:none!important;flex:0 0 auto!important;justify-content:flex-start!important}
 :root body.gameplay-page.app-game-shell .game-shell-controls .game-pause-label{display:none!important}
 :root body.gameplay-page.app-game-shell .game-shell-controls .tetris-abandon-long{display:none!important}
 :root body.gameplay-page.app-game-shell .game-shell-controls .tetris-abandon-short{display:inline!important}
 :root body.gameplay-page.app-game-shell .blockfall-view-toggle{font-size:0!important;width:44px!important;min-width:44px!important;max-width:44px!important;padding:0!important}
 :root body.gameplay-page.app-game-shell .game-shell-controls .game-pause-orb{width:44px!important;min-width:44px!important;max-width:44px!important;padding:0!important}
 :root body.gameplay-page.app-game-shell .game-shell-exit{width:44px!important;min-width:44px!important;max-width:44px!important;padding:0!important}
 :root body.gameplay-page.app-game-shell .game-shell-exit span{display:none!important}
}
@media(max-width:700px){
 :root body.gameplay-page.app-game-shell .game[data-game-mode] .game-abandon-form>button.button{
  box-sizing:border-box!important;height:44px!important;min-height:44px!important;max-height:44px!important;
  padding:0 4px!important;border:1px solid #41445b!important;border-radius:6px!important;
  background:#171b29!important;color:#f3f1fb!important;box-shadow:none!important;
  font-weight:600!important;font-size:9px!important;line-height:1.2!important;text-shadow:none!important;
  transition:none!important
 }
 :root body.gameplay-page.app-game-shell.blockfall-large-view .game[data-game-mode] .game-abandon-form>button.button{font-size:11px!important;padding:0 10px!important}
 :root body.gameplay-page.app-game-shell .game[data-game-mode] .game-abandon-form>button.button:hover{background:#242238!important;border-color:#9674cd!important}
 :root body.gameplay-page.app-game-shell .game[data-game-mode] .game-abandon-form>button.button:focus-visible{outline:2px solid #cbb1ff!important;outline-offset:2px!important}
}
