/* One reader/UI font stack. No remote font requests; retain the site's display serif.
   Scope text elements, never icon fonts, code, or Google/ECPay-owned frames. */
:root{--sbr-font-text:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif}
body .entry-content :is(.sb-research,.sbmg-gateway,.sbr-library,.sbr-account,.sbr-research),
body :is(.sbr-reader-nav,.sbr-reading-start,.woocommerce),body.login{
  font-family:var(--sbr-font-text)!important;
}
body .entry-content :is(.sb-research,.sbmg-gateway,.sbr-library,.sbr-account,.sbr-research) :is(h1,h2,h3,h4,p,li,th,td,label,input,select,textarea,button,summary,a,strong,small,time),
body :is(.sbr-reader-nav,.sbr-reading-start,.woocommerce) :is(h1,h2,h3,p,li,th,td,label,input,select,textarea,button,a,strong),
body.single-post .entry-content :is(p,li,th,td,label,input,select,textarea,button,a,strong,em,small,summary),
body.login :is(h1,h2,p,label,input,button,a,.sbr-login-note){font-family:var(--sbr-font-text)!important}
/* Include the existing WP page introduction/terms outside our shortcode wrapper. */
body:is(.page-id-3289,.page-id-3291,.woocommerce-account,.woocommerce-checkout) .entry-content :is(p,li,th,td,label,input,select,textarea,button,a,strong,em,small,summary){font-family:var(--sbr-font-text)!important}
body.page-id-3291 .entry-content>p{font-size:18px!important;line-height:1.85!important}
body.single-post .entry-content :is(p,li),
body .entry-content .sbr-research :is(p,li){font-size:19px!important;line-height:1.85!important}
body .entry-content .sbr-account p,
body .entry-content .sbr-reading-start p,
body .entry-content .woocommerce-MyAccount-content>p{font-size:18px!important;line-height:1.8!important}
body .entry-content .sbr-account :is(.sbr-small,.sbr-kicker),
body .entry-content .sbr-reading-start .sbr-reading-eyebrow{font-size:15px!important;line-height:1.7!important}
body .entry-content .sbr-account .sbr-levels span{font-size:16px}
body .entry-content .sbr-account .sbr-button{font-size:17px;line-height:1.5}
body.login .sbr-login-note{font-size:15px;line-height:1.7;display:block}
@media(max-width:600px){
  body.single-post .entry-content :is(p,li),
  body .entry-content .sbr-research :is(p,li){font-size:18px!important;line-height:1.85!important}
  body .entry-content .sbr-account .sbr-button{min-height:48px}
}
