/* Horizontal artwork carries one full symbol-height of protected clear space.
   Scale the complete lockup uniformly; never stretch the symbol or wordmark. */
:root{--cs-blue:#17426e;--cs-teal:#007d7f;--cs-purple:#792583;--cs-green:#4f8636}
.cs-brand-logo.cs-brand-logo{--cs-symbol:52px;display:block!important;width:calc(var(--cs-symbol)*6)!important;height:calc(var(--cs-symbol)*3)!important;max-width:none!important;object-fit:contain!important;flex:none!important;filter:none!important;box-shadow:none!important;transform:none!important;opacity:1!important;border:0!important;border-radius:0!important}
.brand,.rush-mini-brand{gap:0!important}
.brand .portal-button{margin-left:auto;flex-shrink:0}
.welcome-active .brand{top:0!important;left:0!important;right:24px!important;align-items:center}
.welcome-active #home-view{margin-top:0}
#start .rush-topline{top:0!important;right:0!important;left:24px!important;gap:0;margin:0}
.rush-mini-brand{margin-left:auto;min-width:0}
.studio-header{padding-top:0;padding-bottom:0;gap:0}
.studio-brand{gap:0!important;max-width:100%}
.studio-brand>div{min-width:0}
.studio-brand .cs-brand-logo{--cs-symbol:44px}
.lockup .cs-brand-logo{--cs-symbol:48px}
.lockup .chip-l{padding:0!important;gap:0!important;background:transparent!important}
.lockup .cs{gap:0}
.lockup .join{margin-right:16px}
.missing-video-poster .cs-brand-logo{--cs-symbol:40px}
@media(min-width:900px){
 .leaderboard-active[data-surface="booth"] .brand{position:absolute;top:0;left:0;min-height:0;height:auto;z-index:1}
 .leaderboard-active[data-surface="booth"] .brand .cs-brand-logo{--cs-symbol:clamp(48px,5.4vh,64px)}
 .leaderboard-active[data-surface="booth"] .question-header{min-height:calc(clamp(48px,5.4vh,64px)*3 - 18px);padding-left:calc(clamp(48px,5.4vh,64px)*6);display:flex;flex-direction:column;justify-content:center}
 .leaderboard-active[data-surface="booth"] #board-rule{max-width:72ch}
}
@media(min-width:900px) and (max-height:800px){
 .welcome-active .brand .cs-brand-logo,.rush-mini-brand .cs-brand-logo{--cs-symbol:44px}
}
@media(max-width:899px){
 .brand .cs-brand-logo,.rush-mini-brand .cs-brand-logo{--cs-symbol:42px}
 .brand{margin:-12px -20px 0;align-items:center}
 .brand .portal-button{margin-right:20px}
 .welcome-active .brand{margin:0}
 .studio-header{flex-wrap:wrap;padding-left:0;padding-right:20px}
 .studio-header .site-links{margin:0 0 16px 20px}
}
@media(max-width:600px){
 .top .bar{flex-wrap:wrap;gap:0;justify-content:space-between}
 .top .bar .lockup{min-width:0;flex-shrink:1}
 .top .bar .tools{margin-left:auto;gap:0}
 .lockup .cs-brand-logo{--cs-symbol:36px}
 .lockup .uls{max-width:90px;height:auto}
 .lockup .join{margin-right:8px}
 .studio-brand{width:100%}
 .studio-brand .cs-brand-logo{--cs-symbol:28px}
 .studio-brand h1{font-size:22px}
 .studio-brand p{font-size:12px}
}
@media(max-width:380px){
 .top .wrap{padding-left:4px;padding-right:4px}
 .lockup .cs-brand-logo{--cs-symbol:32px}
 .lockup .uls{max-width:70px;height:auto}
 .lockup .join{margin-right:4px;flex-shrink:0}
}
@media(max-width:360px){
 .welcome-active .brand .cs-brand-logo,.rush-mini-brand .cs-brand-logo{--cs-symbol:34px}
}
