/* RC48 phone layout, 320–767px: touch targets, inline menu, no sideways scrolling. */
body #site-header .ast-primary-navigation.is-open{max-height:calc(100dvh - 72px);overflow-y:auto;overscroll-behavior:contain;padding:8px 12px max(16px,env(safe-area-inset-bottom))}
body #site-header .ast-header-inner{gap:6px;min-width:0;width:calc(100% - 20px)}
body #site-header .ast-brand img{width:clamp(100px,28vw,130px);height:auto}
body #site-header .ast-nav-toggle{min-width:44px;min-height:44px;padding:0 9px}
body #site-header .ast-header-actions{gap:4px;min-width:0}
body #site-header .ast-header-actions .ast-icon-button{min-width:44px;min-height:44px}
#site-header .ast-smart-mega{width:100%;max-height:none;overflow:visible;box-shadow:none;margin:0 0 8px}
#site-header .ast-smart-mega-head{padding:12px;gap:6px}#site-header .ast-smart-mega-head strong{font-size:20px}#site-header .ast-mega-count{display:none}#site-header .ast-mega-close{min-width:44px;min-height:44px}
#site-header .ast-mega-body,#site-header .ast-mega-body.ast-mega-single{display:block;grid-template-columns:none}
#site-header .ast-mega-tabs{grid-template-columns:1fr;max-height:270px;border-right:0;border-bottom:1px solid #2e3039;padding:8px;gap:4px}
#site-header .ast-mega-row .ast-mega-tab b{font-size:14px}#site-header .ast-mega-row .ast-mega-tab small{font-size:12px}#site-header .ast-mega-tab-icon{width:32px;height:32px}#site-header .ast-mega-preview{width:48px;min-width:48px}
#site-header .ast-mega-panels{padding:12px}#site-header .ast-smart-mega .ast-mega-feature{min-height:145px!important;padding:15px!important}#site-header .ast-mega-feature-text b{font-size:24px}#site-header .ast-mega-subgrid{grid-template-columns:1fr}
#site-header .ast-mega-footer{padding:10px 12px;flex-wrap:wrap}#site-header .ast-smart-mega .ast-mega-footer a{min-height:44px!important}
body .ast-v6-photo-directory .sig-directory-copy{width:100%;max-width:none;padding:24px 18px!important}
body .ast-v6-photo-directory .sig-directory-copy h1{font-size:clamp(30px,8vw,44px)!important}body .ast-v6-photo-directory .sig-directory-copy p{font-size:15px!important}body .ast-v6-photo-directory .sig-directory-copy .ast-v4-kicker{font-size:12px!important}
body .ast-v6-photo-directory .sig-directory-art:after{background:linear-gradient(90deg,#08090be8,#08090bbf),linear-gradient(0deg,#08090b90,transparent 50%)!important}
body .ast-v6-photo-directory .sig-directory-copy:before{background:#08090b35;inset:8px 0}
body .ast-smart-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body .ast-smart-card-label{font-size:14px;padding:9px}
body .ast-v6-guide-shell{width:calc(100% - 28px);padding-top:18px}body .ast-v6-article-grid{grid-template-columns:minmax(0,1fr)}body .ast-v6-contents nav{grid-template-columns:1fr}body .ast-v6-contents nav a{min-height:44px;font-size:14px}body .ast-v6-guide-cards{grid-template-columns:1fr}body .ast-v6-download-panel{flex-direction:column;padding:18px}body .ast-v6-download-link{width:100%;min-height:48px;text-align:center;white-space:normal}
body .ast-v4-pagination{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}body .ast-v4-pagination .page-numbers{flex-wrap:wrap}body .ast-v4-pagination a{min-height:44px;min-width:44px}
