/* Explicit badge contrast, independent of the new black card body text. */
html body.sgWelcome319 .sgWelcome .sg353Sailor .sg353Portrait>span{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.sgWelcome319 .sgWelcome .sg353Sailor[data-sg-color="black"]{--sg353-accent:#000!important}
html body.sgWelcome319 .sgWelcome .sg353Sailor[data-sg-color="black"] .sg353Portrait>span{background:#000!important;color:#fff!important}
html body.sgWelcome319 .sgWelcome .sg353Sailor[data-sg-color="white"]{--sg353-accent:#fff!important}
html body.sgWelcome319 .sgWelcome .sg353Sailor[data-sg-color="white"] .sg353Portrait>span{background:#fff!important;color:#000!important;-webkit-text-fill-color:#000!important}
html body.sgWelcome319 .sgWelcome .sg353Sailor[data-sg-color="silver"]{--sg353-accent:#c3ddef!important}
html body.sgWelcome319 .sgWelcome .sg353Sailor[data-sg-color="silver"] .sg353Portrait>span{background:#c3ddef!important;color:#000!important;-webkit-text-fill-color:#000!important}
/* Gallery header stays in the visible standalone page, above its white intro. */
html body.sgHeader382-gallery .sgGalleryPage #sg-page-header-382{display:block!important;visibility:visible!important;opacity:1!important;z-index:100004!important}
html body .sgGallerySlider405 .sgGalleryRail406 img{object-fit:cover!important;width:100%!important;max-width:none!important}
/* Current-page test pill stays fixed while the actual quiz CTA grows. */
html body.sgHeader382-quiz #sg-page-header-382 .sgHeaderTest382:is(:hover,:focus-visible){transform:none!important}
html body.sgHeader382-quiz #sg-page-header-382 .sgHeaderWait382{transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important}
html body.sgHeader382-quiz #sg-page-header-382 .sgHeaderWait382:is(:hover,:focus-visible){transform:scale(1.06)!important;filter:brightness(1.3)!important;box-shadow:0 0 18px #fff9!important}
html body.sg-welcome-372 #sg-welcome #welcome-start{transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important}
html body.sg-welcome-372 #sg-welcome #welcome-start:is(:hover,:focus-visible):enabled{transform:scale(1.045)!important;filter:brightness(1.2)!important;box-shadow:0 0 12px #fff,0 0 34px #ff28b5!important}
@media(prefers-reduced-motion:reduce){html body.sg-welcome-372 #sg-welcome #welcome-start,html body.sgHeader382-quiz #sg-page-header-382 .sgHeaderWait382{transition:none!important}}
