/* Local system fonts only. Keep branding and icon fonts independent. */
:root { --ui-font:"PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif; }
html:lang(ja) { --ui-font:"Hiragino Sans","Yu Gothic UI","Yu Gothic","Noto Sans JP",system-ui,sans-serif; }
html body { font-family:var(--ui-font); color:#30343b; }
html body :is(button,input,textarea,select) { font-family:var(--ui-font); }
html body :is(.memo-body > p,.memo-item > p) {
    font-size:15px;
    font-weight:400;
    line-height:1.75;
    color:#30343b;
    overflow-wrap:anywhere;
}
html body :is(.memo-author,.nickname-name,.category-copy strong) { font-weight:600; }
html body :is(.memo-submit,.submit,.memo-edit-save,.edit-form .save,.reply-toggle,.replies-more,.more,.primary-category,.primary,.subcategory-filter,.cat-filter,.primary-button) { font-weight:500; }
html body :is(.primary-category,.primary) > span:not(.primary-category-icon):not(.primary-icon) { font-weight:500; }
html body :is(.memo-time,.memo-edited,.memo-meta .edited) { font-size:12px; font-weight:400; color:#77818e; }
html body :is(.memo-edit-form,.edit-form) textarea { font-size:15px; line-height:1.75; }
@media (max-width:720px) {
    html body :is(.memo-body > p,.memo-item > p) { font-size:16px; }
    html body :is(.memo-edit-form,.edit-form) textarea { font-size:16px; }
}
