/* Consistent mobile logo and account controls across public pages. */
@media(max-width:900px){
header.site-header{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;padding-left:12px!important;padding-right:12px!important}
header.site-header>a.brand{flex:1 1 180px!important;max-width:180px!important;min-width:0!important;margin-right:auto!important}
header.site-header>a.brand img{display:block!important;width:100%!important;max-width:180px!important;height:auto!important;max-height:54px!important;transform:translateY(5px)!important;object-fit:contain!important}
header.site-header>a.member-login-link{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:31px!important;margin:0!important;padding:6px 8px!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;font-family:"Malgun Gothic","맑은 고딕",Arial,sans-serif!important}
header.site-header>a.support-link{display:inline-flex!important;flex:0 0 84px!important;width:84px!important;min-width:0!important;max-width:84px!important;min-height:36px!important;padding:6px 5px!important;margin:0!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-size:11px!important;line-height:1.25!important;white-space:normal!important;font-family:"Malgun Gothic","맑은 고딕",Arial,sans-serif!important}
header.site-header>.menu-btn{flex:0 0 30px!important;width:30px!important;min-width:0!important;margin:0!important;padding:0!important;font-size:23px!important}
header.site-header:has(>a.member-login-link[href$="#account"])>a.brand{flex:1 1 180px!important;max-width:180px!important}
header.site-header:has(>a.member-login-link[href$="#account"])>a.member-login-link{font-size:10px!important;padding:6px 5px!important}
header.site-header:has(>a.member-login-link[href$="#account"])>a.support-link{flex-basis:76px!important;width:76px!important;max-width:76px!important}
}

/* Preview only: keep mobile signed-in logo legible without shrinking controls. */
@media(max-width:900px){
header.site-header:has(>a.member-login-link[href$="#account"]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.25fr)!important;grid-template-rows:40px 36px!important;align-content:start!important;align-items:center!important;column-gap:6px!important;row-gap:4px!important;height:152px!important;min-height:152px!important;box-sizing:border-box!important;padding:8px 12px 60px!important}
header.site-header:has(>a.member-login-link[href$="#account"])>a.brand{grid-column:1/-1!important;grid-row:1!important;justify-self:start!important;flex:none!important;width:180px!important;min-width:180px!important;max-width:180px!important;margin:0!important}
header.site-header:has(>a.member-login-link[href$="#account"])>a.brand img{width:180px!important;max-width:180px!important;height:auto!important;max-height:40px!important;transform:none!important}
header.site-header:has(>a.member-login-link[href$="#account"])>a.member-login-link,header.site-header:has(>a.member-login-link[href$="#account"])>a.support-link{grid-row:2!important;box-sizing:border-box!important;flex:none!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:34px!important;height:34px!important;margin:0!important;padding:5px 3px!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;text-align:center!important;justify-content:center!important}
header.site-header:has(>a.member-login-link[href$="#account"])>a.support-link .support-desktop-prefix{display:none!important}
header.site-header:has(>a.member-login-link[href$="#account"])>.menu-btn{position:absolute!important;right:12px!important;top:6px!important;width:40px!important;min-width:40px!important;height:44px!important;margin:0!important}
header.site-header:has(>a.member-login-link[href$="#account"]) .main-nav{top:104px!important}
body:has(header.site-header>a.member-login-link[href$="#account"]) main{padding-top:152px!important}
body:has(header.site-header>a.member-login-link[href$="#account"]) .mobile-panel{top:152px!important;max-height:calc(100dvh - 152px)!important}
}

