/* v49: mobile behavior repairs. Desktop composition is unchanged. */
#ld-header .ld-mobile-menu[hidden]{display:none!important}
@media(max-width:1090px){
 html{scrollbar-gutter:stable}
 #ld-header.ld-mobile-open{width:var(--ld-mobile-width,100%)!important;right:auto!important}
 #ld-header .ld-mobile-menu.is-open{max-height:calc(100vh - 90px)!important;max-height:calc(100dvh - 90px)!important;overflow-y:auto!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;touch-action:pan-y;padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
 /* Do not compress long accordions into the available viewport height. */
 #ld-header .ld-mobile-menu>*{flex-shrink:0!important}
 #ld-header .ld-mobile-menu details{min-width:0}
 #ld-header .ld-mobile-menu a{overflow-wrap:anywhere;min-height:44px;align-content:center}
 #ld-header .ld-mobile-toggle{touch-action:manipulation;flex-shrink:0}
 #ld-header .ld-mobile-menu a,#ld-header .ld-mobile-menu summary{-webkit-tap-highlight-color:rgba(0,68,255,.16)}
 #ld-header .ld-mobile-menu a:focus-visible,#ld-header .ld-mobile-menu summary:focus-visible,#ld-header .ld-mobile-toggle:focus-visible{outline:2px solid #0044FF!important;outline-offset:2px}
 input,select,textarea{font-size:16px!important;max-width:100%;min-width:0}
}
/* Native emoji glyphs replaced by resolution-independent, single-color masks. */
.ld-page .ld-certificate::before{content:''!important;display:inline-block;width:17px;height:17px;flex:0 0 17px;background:#0044FF;vertical-align:-2px;-webkit-mask:url('assets/ui/certificate-spark.svg') center/contain no-repeat;mask:url('assets/ui/certificate-spark.svg') center/contain no-repeat}
.art-label::before,.cert-badge::before{content:''!important;display:inline-block;width:13px;height:13px;padding:0!important;margin-right:7px;background:#0044FF;vertical-align:-1px;-webkit-mask:url('assets/ui/spark.svg') center/contain no-repeat;mask:url('assets/ui/spark.svg') center/contain no-repeat}
@media(max-width:600px){
 /* Keep all six existing Academy credentials inside narrow phone viewports. */
 #academy .ld18-home-deck.ld45-academy-deck .ld18-home-card{width:24%!important;max-width:78px!important}
 #academy .ld18-home-deck.ld45-academy-deck .ld18-home-card:nth-of-type(1){--ld18-fan-x:-29vw}
 #academy .ld18-home-deck.ld45-academy-deck .ld18-home-card:nth-of-type(2){--ld18-fan-x:-19vw}
 #academy .ld18-home-deck.ld45-academy-deck .ld18-home-card:nth-of-type(3){--ld18-fan-x:-7vw}
 #academy .ld18-home-deck.ld45-academy-deck .ld18-home-card:nth-of-type(4){--ld18-fan-x:7vw}
 #academy .ld18-home-deck.ld45-academy-deck .ld18-home-card:nth-of-type(5){--ld18-fan-x:19vw}
 #academy .ld18-home-deck.ld45-academy-deck .ld18-home-card:nth-of-type(6){--ld18-fan-x:29vw}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
.ld-page .ld-list li::before,.academy li::before,#academy .ld18-home-deck .ld18-deck-prompt::before{content:''!important;display:inline-block;width:14px;height:14px;background:#0044FF;vertical-align:-2px;-webkit-mask:url('assets/ui/arrow-up-right.svg') center/contain no-repeat;mask:url('assets/ui/arrow-up-right.svg') center/contain no-repeat}
.ld-page .ld-list li::before{top:.4em}
#ld-header .ldf-nav-kit span{display:inline-block;width:14px;height:14px;font-size:0!important;vertical-align:middle;background:currentColor;-webkit-mask:url('assets/ui/arrow-up-right.svg') center/contain no-repeat;mask:url('assets/ui/arrow-up-right.svg') center/contain no-repeat}
