#startupBackdrop{position:fixed;inset:0;z-index:1000;background:#07141d;pointer-events:auto}#startupBackdrop img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}#startupBackdrop[hidden]{display:none!important}
/* Background alpha belongs to surfaces, never to text or their parent opacity. */
.app{background:rgba(19,18,16,.8)!important}
.app :is(.card,.last,.block,.tutorial-row,.learn-detail,.account-section,.resource-card,.sharepanel,.pro-module,.pro-beta-note),.app #builder .block,#reactionPage :is(.rt-block,.rt-set,.rt-metric,.rt-start-dock),#motionPage .mp-block{background:rgba(24,18,15,.5)!important}
.app .bottomnav{background:rgba(24,18,15,.5)!important}
.pro-dialog,.rt-set-menu{background:rgba(24,18,15,.5)!important}
#installApp::after{display:none}

@media(max-width:600px){body{background-position:right center}#startupBackdrop img{object-position:right center}}

/* Keep phone branding clear of the centered front camera in either language. */
@media(max-width:600px){.app>header,.app:has(#home:not([hidden]))>header,.app:has(#builder:not([hidden]))>header{grid-template-areas:"controls create brand";grid-template-columns:minmax(110px,1fr) minmax(0,1fr) 66px}.app>header .brand{justify-self:end}.app>header #add{justify-self:center}}
@media(max-width:359px){.app>header,.app:has(#home:not([hidden]))>header,.app:has(#builder:not([hidden]))>header{grid-template-columns:minmax(94px,1fr) minmax(0,1fr) 60px}}

/* Compact base set list; keep the start action beside the bottom navigation. */
.app:has(#home:not([hidden])) #home{flex:1 1 0;padding-top:2px}
#home>.sectionhead{flex:0 0 34px;min-height:34px;margin-bottom:0}
#home>.listcolumns{flex-basis:25px;padding-bottom:3px}
#home #sets{flex:1 1 0;padding-bottom:2px}
#home .setrow{min-height:50px;padding:2px 0}
#home .rowinfo{min-height:44px;gap:2px}
#home .homebottom{padding:4px 0 2px}
#home .homebottom .manage{margin:0;padding:0}
#home .homebottom .manage summary{min-height:28px;line-height:28px}
.app:has(#home:not([hidden]))>.bottomnav{margin-top:0}
