/* Desktop reading scale. Mobile/tablet rules remain in community.css/editor.css.
   Values come from General theme settings, with readable installation defaults. */
@media (min-width:1024px) {
  body { font-size:var(--pc-font,16px); line-height:1.7; }
  .topic-title-line h2 { font-size:var(--pc-topic,16px); line-height:1.65; }
  .topic-row { min-height:94px; }
  .topic-meta,.topic-numbers,.category-label,.hot-badge { font-size:var(--pc-meta,13px); }
  .category-label { padding:1px 6px; }
  .topic-meta { margin-top:7px; }

  .main-nav .nav-links>a,.main-nav .menu-list>li>a,.login-link,.header-search input,
  .category-nav a,.sort-nav a,.button,.button-small,.notice,
  .account-dropdown>a,.account-menu-heading strong {
    font-size:calc(var(--pc-font,16px) - 2px);
  }
  .header-inner { gap:30px; }
  .main-nav { gap:23px; }
  .header-search input { width:150px; }
  .announcement,.announcement-more,.welcome-copy>p,.hero-link,
  .feature-card small,.section-heading p,.list-caption,.page-numbers,
  .account-menu-heading span { font-size:var(--pc-meta,13px); }
  .feature-card strong { font-size:var(--pc-font,16px); }
  .section-heading h2 { font-size:calc(var(--pc-font,16px) + 4px); }
  .section-heading h1 { font-size:calc(var(--pc-font,16px) + 9px); }
  .section-label,.eyebrow { font-size:12px; }

  .welcome-card h2 { font-size:calc(var(--pc-font,16px) + 2px); }
  .welcome-card p,.welcome-card .button,.checkin-card .button,
  .checkin-title h3,.hot-list a,.tag-cloud a,.sidebar-guideline,
  .card-heading h2,.card-heading h3,.community-stats .card-heading h3 {
    font-size:calc(var(--pc-font,16px) - 2px);
  }
  .welcome-sub,.checkin-title p,.hot-list small,.tag-cloud small,
  .tag-cloud p,.stats-grid span,.community-stats>p,.sidebar-guideline small,
  .tiny-label,.welcome-card .eyebrow { font-size:var(--pc-meta,13px); }
  .hot-list a { line-height:1.7; }
  .stats-grid strong { font-size:calc(var(--pc-font,16px) + 6px); }

  .post-heading h1 { font-size:calc(var(--pc-content,16px) + 10px); line-height:1.55; }
  .prose,.reply-main .prose,.reply-main .ns-comment-text {
    font-size:var(--pc-content,16px); line-height:var(--pc-line-height,1.85);
  }
  .prose h2 { font-size:calc(var(--pc-content,16px) + 6px); }
  .prose h3 { font-size:calc(var(--pc-content,16px) + 3px); }
  .prose code,.prose pre { font-size:max(var(--pc-meta,13px),calc(var(--pc-content,16px) - 2px)); }
  .post-author strong,.reply-list .reply-meta strong { font-size:calc(var(--pc-content,16px) - 1px); }
  .breadcrumb,.post-author .muted,.post-stats,.badge,.pinned-text,.post-edit,
  .post-neighbors small,.post-neighbors a,.replies .card-heading>.muted,
  .count-badge,.ns-comment-date,.ns-comment-signature,.ns-comment-actions,
  .reply-meta .ns-comment-floor,.reply-meta .ns-op-badge,.comment-reply-link,
  .comment-reply-title small,.comment-form .muted,.comment-form-cookies-consent label,
  .ns-reply-context,.closed-comments { font-size:var(--pc-meta,13px); }
  .replies .card-heading h2,.comment-form-wrap .comment-reply-title { font-size:var(--pc-font,16px); }

  .field label,.compose-form label,.comment-form label,.settings-nav,
  .settings-form .muted,.ns-compose-fields,.ns-compose-fields label,
  .ns-compose-fields select,.ns-compose-extra,.ns-compose-extra label,
  .ns-compose-extra input,.ns-editor,.ns-editor button,
  .ns-insert-panel label,.ns-insert-panel input,.ns-emoji-bar button,
  .ns-editor-submit.button,.comment-form .ns-editor-submit {
    font-size:calc(var(--pc-font,16px) - 2px);
  }
  .field>input,.field>textarea,.field>select,.password-input input,
  .ns-editor textarea,.compose-form .ns-editor textarea,.comment-form .ns-editor textarea {
    font-size:var(--pc-content,16px);
  }
  /* Keep the line gutter aligned to the textarea's fixed 24px editing rows. */
  .ns-line-numbers { font-size:var(--pc-meta,13px); line-height:24px; }
  .ns-editor-preview { font-size:var(--pc-content,16px); }
  .ns-editor-title input { font-size:calc(var(--pc-font,16px) + 2px); }
  .ns-formatbar button { font-size:19px; }
  .ns-emoji-picker button { font-size:22px; }
  .ns-emoji-picker[data-group=kaomoji] button { font-size:14px; }
  .field small,.form-between,.checkbox-label,.auth-switch,.auth-foot,
  .auth-form-card>.muted,.auth-intro>p,.ns-markdown-label,.ns-upload-label,
  .ns-editor-status,.ns-editor-message,.ns-insert-panel small,.ns-visibility,
  .ns-compose-extra p { font-size:var(--pc-meta,13px); }

  .profile-bio,.member-card h2 { font-size:calc(var(--pc-font,16px) - 1px); }
  .profile-name p,.profile-bottom,.member-card p,.member-card small,
  .site-footer p,.footer-right nav,.footer-right p { font-size:var(--pc-meta,13px); }
  .member-card p { height:auto; min-height:44px; line-height:1.7; }

  /* Accommodate longer navigation labels when the desktop is narrow. */
  @media (max-width:1200px) {
    .header-inner { gap:20px; }
    .main-nav { gap:16px; }
    .header-search { display:none; }
    .header-actions { gap:9px; }
  }
}
