/* The same desktop header frame on /welcome/ and /the-test/. */
@media(min-width:761px){
 html body.sg-welcome-372 #sg-welcome .welcome-nav,
 html body.sgWelcome319 .sgWelcome .sgWelcomeHeader{
 position:relative!important;display:block!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;
 width:calc(100% - 2 * clamp(16px,2.8vw,48px))!important;max-width:1440px!important;
 height:clamp(160px,22vw,220px)!important;min-height:0!important;padding:0!important;margin:14px auto 0!important;
 }
 /* Test header overlays the scene; its content and photograph do not move. */
 html body.sg-welcome-372 #sg-welcome .welcome-nav{position:absolute!important;top:14px!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important}
 html body.sgWelcome319 .sgWelcome{padding-top:0!important}
 html body.sg-welcome-372 #sg-welcome .welcome-logo,
 html body.sgWelcome319 .sgWelcome .sgWelcomeHeader .sgWelcomeLogo{
 position:absolute!important;top:50%!important;left:var(--sg-logo-center-377,50%)!important;right:auto!important;
 transform:translate(-50%,-50%)!important;width:min(650px,52vw)!important;max-width:650px!important;min-width:0!important;height:auto!important;margin:0!important;
 }
 html body.sg-welcome-372 #sg-welcome .welcome-logo img,
 html body.sgWelcome319 .sgWelcome .sgWelcomeHeader .sgWelcomeLogo img{width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important}
 html body.sg-welcome-372 #sg-welcome #welcome-menu-button,
 html body.sgWelcome319 .sgWelcome .sgWelcomeHeader .sgMeetMenuButton{
 position:absolute!important;top:50%!important;left:0!important;right:auto!important;transform:translateY(-50%)!important;width:42px!important;min-width:42px!important;height:42px!important;margin:0!important;
 }
 html body.sgWelcome319 .sgWelcome .sgWelcomeHeader .sgWelcomeRight{position:absolute!important;top:50%!important;right:0!important;left:auto!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;margin:0!important}
 html body.sg-welcome-372 #sg-welcome .welcome-waitlist{
 position:absolute!important;top:50%!important;right:0!important;transform:translateY(-50%)!important;
 }
 html body.sg-welcome-372 #sg-welcome .welcome-waitlist,
 html body.sgWelcome319 .sgWelcome .sgWelcomeHeader .sgWelcomeWaitlist{width:150px!important;min-width:150px!important;max-width:150px!important;box-sizing:border-box!important;height:54px!important;min-height:54px!important;max-height:54px!important;padding:0 12px!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;white-space:nowrap!important;font-size:14px!important}
 html body.sgWelcome319 .sgWelcome .sgWelcomeHeader .sgWelcomeLeft{display:none!important}
}

/* v378: contain header spacing inside the welcome background, preventing margin collapse. */
html body.sgWelcome319{margin:0!important;padding:0!important}
html body.sgWelcome319 .sgWelcome{display:flow-root;border-top:0!important;margin-top:0!important}
@media(min-width:761px){
 html body.sgWelcome319 .sgWelcome .sgWelcomeMobileStage{padding-top:14px;display:flow-root}
 html body.sgWelcome319 .sgWelcome .sgWelcomeHeader{margin-top:0!important}
}
/* Restore the editable quiz heading on the coloured-Sailor panel. */
html body.sgWelcome319 .sgWelcome .sgWelcomeGrid>.sgWelcomeTile-meet .sgWelcomeTileCopy{display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;top:24px!important;bottom:auto!important;left:22px!important;right:22px!important;z-index:3!important;transform:none!important}
html body.sgWelcome319 .sgWelcome .sgWelcomeGrid>.sgWelcomeTile-meet .sgWelcomeTileCopy h2{display:block!important;visibility:visible!important;opacity:1!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-family:SGWelcomeAnton343,Impact,'Arial Black',sans-serif!important;font-size:clamp(28px,3vw,56px)!important;line-height:1.05!important;text-shadow:0 2px 5px #000,0 0 12px #000b!important}
html body.sgWelcome319 .sgWelcome .sgWelcomeGrid>.sgWelcomeTile-meet .sgWelcomeTileCopy p{display:block!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 2px 5px #000!important}
html body.sgWelcome319 .sgWelcome .sgWelcomeGrid>.sgWelcomeTile-meet .sgWelcomeTileCopy .sgWelcomeDesktopLabel{display:inline!important}
html body.sgWelcome319 .sgWelcome .sgWelcomeGrid>.sgWelcomeTile-meet .sgWelcomeTileCopy .sgWelcomeMobileLabel{display:none!important}
@media(max-width:760px){html body.sgWelcome319 .sgWelcome .sgWelcomeGrid>.sgWelcomeTile-meet .sgWelcomeTileCopy .sgWelcomeDesktopLabel{display:none!important}html body.sgWelcome319 .sgWelcome .sgWelcomeGrid>.sgWelcomeTile-meet .sgWelcomeTileCopy .sgWelcomeMobileLabel{display:inline!important}}
@media(orientation:landscape) and (max-height:550px) and (max-width:1100px){
 html body.sg-welcome-372 #sg-welcome .welcome-nav{position:absolute!important;top:6px!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;height:106px!important;min-height:0!important;width:94%!important;display:block!important}
 html body.sg-welcome-372 #sg-welcome .welcome-logo{position:absolute!important;left:var(--sg-logo-center-377,50%)!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(38vw,320px)!important;max-width:320px!important;height:auto!important;margin:0!important}
 html body.sg-welcome-372 #sg-welcome #welcome-menu-button{position:absolute!important;left:0!important;top:50%!important;transform:translateY(-50%)!important;width:32px!important;min-width:32px!important;height:32px!important}
 html body.sg-welcome-372 #sg-welcome .welcome-waitlist{position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;min-width:112px!important;width:112px!important;max-width:112px!important;height:40px!important;min-height:40px!important;max-height:40px!important;font-size:11px!important;padding:0 8px!important;gap:6px}
}

/* v380: authoritative live text layer, independent of legacy tile-copy visibility. */
html body.sgWelcome319 .sgWelcome .sgWelcomeGrid:not(.sgWelcomeGridSecondary)>.sgWelcomeTile-meet{position:relative!important;isolation:isolate}
html body.sgWelcome319 .sgWelcome .sgWelcomeGrid:not(.sgWelcomeGridSecondary)>.sgWelcomeTile-meet>.sgWelcomeTileCopy{display:none!important}
html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380{
 display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;
 top:24px!important;left:22px!important;right:22px!important;bottom:auto!important;z-index:10!important;
 margin:0!important;padding:14px 18px!important;border-radius:12px;background:linear-gradient(90deg,#061b43c9,#061b4366)!important;
 pointer-events:none;
}
html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 h2,
html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 h2 span{
 display:block!important;visibility:visible!important;opacity:1!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 font-family:SGWelcomeAnton343,Impact,'Arial Black',sans-serif!important;font-weight:400!important;
 font-size:clamp(28px,2.8vw,52px)!important;line-height:1.08!important;text-transform:uppercase;
 margin:0!important;text-shadow:0 2px 5px #0009!important;
}
html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 .sgSecondMobile380{display:none!important}
@media(max-width:760px){
 html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380{top:12px!important;left:12px!important;right:12px!important;padding:10px 12px!important}
 html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 .sgSecondDesktop380{display:none!important}
 html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 .sgSecondMobile380{display:block!important}
 html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 h2,html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 h2 span{font-size:clamp(22px,5vw,32px)!important}
}

/* v381: identical type and black backing for the two primary welcome headings. */
html body.sgWelcome319 .sgWelcome .sgWelcomeGrid:not(.sgWelcomeGridSecondary)>.sgWelcomeTile-experience>.sgWelcomeTileCopy h1{display:none!important}
html body.sgWelcome319 .sgWelcome .sgWelcomeFirstHeading381,
html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380{
 display:block!important;position:absolute!important;left:22px!important;right:auto!important;
 width:max-content!important;max-width:calc(100% - 44px)!important;padding:14px 18px!important;
 background:#000c!important;border-radius:4px!important;box-sizing:border-box!important;
 z-index:10!important;opacity:1!important;visibility:visible!important;pointer-events:none;
}
html body.sgWelcome319 .sgWelcome .sgWelcomeFirstHeading381{top:24px!important;bottom:auto!important}
html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380{top:auto!important;bottom:24px!important}
html body.sgWelcome319 .sgWelcome .sgWelcomeFirstHeading381 h1,
html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 h2,
html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 h2 span{
 font-family:SGWelcomeAnton343,Impact,'Arial Black',sans-serif!important;
 font-size:clamp(28px,2.8vw,52px)!important;font-weight:400!important;line-height:1.08!important;
 letter-spacing:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 background:none!important;margin:0!important;text-transform:uppercase!important;text-shadow:none!important;
}
@media(max-width:760px){
 html body.sgWelcome319 .sgWelcome .sgWelcomeFirstHeading381,
 html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380{left:12px!important;right:auto!important;max-width:calc(100% - 24px)!important;padding:10px 12px!important}
 html body.sgWelcome319 .sgWelcome .sgWelcomeFirstHeading381{top:12px!important;bottom:auto!important}
 html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380{top:auto!important;bottom:12px!important}
 html body.sgWelcome319 .sgWelcome .sgWelcomeFirstHeading381 h1,
 html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 h2,
 html body.sgWelcome319 .sgWelcome .sgWelcomeSecondHeading380 h2 span{font-size:clamp(22px,5vw,32px)!important}
}
