/* VatanApp 4.2.18 — Consistent typography for light/dark.
   Light-mode font metrics are the baseline. Shared text sizes are one pixel smaller than 4.2.17 (not SVG/icons/images).
   CSS deliberately shared across modes; color changes are separate. */
:root{
  --ba-text-boost:-.5px;
  --font-size-xs:calc(.75rem + var(--ba-text-boost));
  --font-size-sm:calc(.8125rem + var(--ba-text-boost));
  --font-size-md:calc(1rem + var(--ba-text-boost));
  --font-size-lg:calc(1.125rem + var(--ba-text-boost));
  --font-size-xl:calc(1.375rem + var(--ba-text-boost));
  --font-size-2xl:calc(1.75rem + var(--ba-text-boost));
}
html{font-size:var(--apkt-font-size-base,16px)}
body:not(.wp-admin),body.dark-mode:not(.wp-admin){font-size:var(--apkt-font-size-base,16px)!important}
/* Common top-level text and controls. Larger text inherits sensible layout constraints. */
body :is(.post-content,.single-content,.entry-content,.page-content,.article-content) :is(p,li,blockquote){font-size:calc(1rem + var(--ba-text-boost));line-height:1.9}
body :is(.post-content,.single-content,.entry-content,.page-content,.article-content) :is(h2,h3,h4){line-height:1.6}
body :is(.post-content,.single-content,.entry-content,.page-content,.article-content) h2{font-size:calc(1.5rem + var(--ba-text-boost))}
body :is(.post-content,.single-content,.entry-content,.page-content,.article-content) h3{font-size:calc(1.25rem + var(--ba-text-boost))}
body :is(.post-content,.single-content,.entry-content,.page-content,.article-content) h4{font-size:calc(1.1rem + var(--ba-text-boost))}
body .download-box .download-box-title{font-size:calc(.94rem + var(--ba-text-boost))!important}
body :is(.apkt-install-guide .ig-title,.app-info-panel-heading,.baziandroid-related-head h2){font-size:calc(.94rem + var(--ba-text-boost))!important}
body :is(.apkt-install-guide .ig-subtitle,.apkt-install-guide .ig-item-copy small,.app-info-stat-label){font-size:calc(.72rem + var(--ba-text-boost))!important}
body :is(.app-info-panel .app-info-fact-copy small,.app-info-panel .app-info-modline small){font-size:10.5px!important}
body :is(.app-info-panel .app-info-fact-copy strong,.app-info-panel .app-info-modline strong){font-size:12.5px!important}
body :is(.baziandroid-related-section .baziandroid-related-kicker,.baziandroid-related-section .baziandroid-related-note){font-size:10.5px!important}
body .baziandroid-related-section .baziandroid-related-copy>strong{font-size:12.5px!important}
body .baziandroid-related-section .baziandroid-related-meta em{font-size:10.5px!important}
body .baziandroid-related-section .baziandroid-related-rank{font-size:11.5px!important}
body .baziandroid-rating-pro .rating-votes{font-size:10px!important}
body .baziandroid-rating-pro .rating-kicker{font-size:9px!important}
body .baziandroid-rating-pro .rating-source-label{font-size:8.5px!important}
body .baziandroid-rating-pro .rating-explain{font-size:9.5px!important}
body :is(.ba-comments .comment-reply-link,.ba-comments .ba-comment-actions .ba-report-open,.ba-comments .ba-comment-actions .ba-vote){font-size:11.5px!important}
body :is(.ba-comments .ba-comment-date,.ba-comments .ba-comment-device,.ba-comments .ba-comment-person time){font-size:10.5px!important}
body :is(.baziandroid-trending-hero>p,.baziandroid-trending-note p){font-size:11px!important}
body :is(.baziandroid-trending-methods b,.baziandroid-trending-kicker){font-size:10px!important}
body .baziandroid-trending-methods small{font-size:9px!important}

/* Shared light/dark typography: one-pixel reduction from previous release. */
body .mobile-bottom-nav-label{font-size:calc(.58rem - .5px)!important}
body :is(.baziandroid-nav-label,.baziandroid-drawer-title){font-size:calc(.875rem - .5px)!important}
body .baziandroid-footer-stats .baziandroid-stat span{font-size:9.5px!important}
body .baziandroid-footer-stats .baziandroid-stat strong{font-size:15.5px!important}
body :is(.archive-thumb-status .thumb-status-label,.hc-card-image-status-label,.hc-card-badge,.baziandroid-search-status-label,.baziandroid-search-result-views,.baziandroid-dev-product-badge){font-size:8.5px!important}
body :is(.baziandroid-search-result-meta,.baziandroid-dev-product-meta,.hc-scroller .hc-card-meta-item){font-size:9px!important}
body :is(.app-main-meta-label,.app-info-label,.app-category-title,.app-view-stat-label){font-size:9.5px!important}
body :is(.app-main-meta-value,.app-info-value,.app-mod-value){font-size:10.5px!important}
body :is(.app-google-label,.app-google-action){font-size:9.5px!important}
body :is(.app-google-subtitle,.app-google-id){font-size:8.5px!important}
body .app-description-box{font-size:11.5px!important}
body :is(.app-overview-kicker,.app-info-fact-label){font-size:10.5px!important}
@media(max-width:600px){body .mobile-bottom-nav-label{font-size:calc(.54rem - .5px)!important}}
@media(max-width:360px){body .mobile-bottom-nav-label{font-size:calc(.49rem - .5px)!important}}

/* Compact author: single name/role line, two-line summary, one About button. */
body .ba-author-card.ba-author-mini{
  display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;
  align-items:start!important;gap:12px!important;margin:15px 0!important;
  padding:15px!important;overflow:visible!important;
  border:1px solid var(--border-color,rgba(20,35,50,.1))!important;
  border-radius:16px!important;background:var(--bg-card,#fff)!important;
  box-shadow:0 5px 19px rgba(15,23,42,.035)!important;color:var(--text-primary,#212936)!important;
  direction:rtl;text-align:right;
}
body .ba-author-mini .ba-author-media,body .ba-author-mini .ba-author-avatar-ring{
  display:block!important;width:64px!important;height:64px!important;flex:none!important;
}
body .ba-author-mini .ba-author-avatar-ring{padding:2px!important;border:1px solid var(--border-color,rgba(10,20,30,.1));border-radius:14px;overflow:hidden}
body .ba-author-mini :is(.ba-author-avatar,.ba-author-fallback){width:100%!important;height:100%!important;object-fit:cover;border-radius:11px!important}
body .ba-author-mini .ba-author-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;width:100%;}
body .ba-author-mini .ba-author-identity{display:flex!important;align-items:baseline!important;gap:9px;flex-wrap:nowrap;min-width:0;max-width:100%;}
body .ba-author-mini h2{margin:0!important;font-size:15.5px!important;line-height:1.45!important;font-weight:850;color:var(--text-primary,#202936)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body .ba-author-mini .ba-author-role{display:inline-flex!important;align-items:center;flex:0 0 auto;
  padding:2px 8px;border-radius:8px;margin:0!important;
  font-size:10.5px!important;font-weight:780;line-height:1.65!important;
  color:var(--va-brand-700)!important;background:var(--va-brand-50)!important;border:1px solid var(--va-brand-100)!important;white-space:nowrap;}
body .ba-author-mini .ba-author-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;max-width:100%;margin:0!important;font-size:12.5px!important;line-height:1.7!important;
  font-weight:450;color:var(--text-secondary,#556275)!important;overflow-wrap:anywhere;}
body .ba-author-mini .ba-author-more{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
  margin:3px 0 0!important;padding:5px 11px!important;min-height:31px!important;border-radius:9px!important;
  background:var(--va-brand-50)!important;border:1px solid var(--va-brand-100)!important;color:var(--va-brand-700)!important;
  font-size:11.5px!important;font-weight:800!important;text-decoration:none!important;}
body .ba-author-mini .ba-author-more:is(:hover,:focus-visible){background:var(--va-brand-100)!important;color:var(--va-brand-800)!important;border-color:var(--va-brand-300)!important;}
body .ba-author-mini .ba-author-more:focus-visible{outline:2px solid var(--va-brand-600);outline-offset:2px;}
body.dark-mode .ba-author-card.ba-author-mini{
  background:#19232e!important;border-color:#344454!important;color:#f0f4f9!important;box-shadow:none!important;
}
body.dark-mode .ba-author-mini h2{color:#f4f7fb!important}
body.dark-mode .ba-author-mini .ba-author-summary{color:#c2cddb!important}
body.dark-mode .ba-author-mini .ba-author-role{background:var(--va-brand-700)!important;border-color:var(--va-brand-500)!important;color:var(--va-brand-50)!important}
body.dark-mode .ba-author-mini .ba-author-more{background:var(--va-brand-700)!important;border-color:var(--va-brand-500)!important;color:var(--va-brand-50)!important}
body.dark-mode .ba-author-mini .ba-author-more:is(:hover,:focus-visible){background:var(--va-brand-600)!important;border-color:var(--va-brand-200)!important;color:#fff!important}
@media(max-width:520px){
 body .ba-author-card.ba-author-mini{grid-template-columns:54px minmax(0,1fr)!important;gap:10px!important;padding:12px!important;}
 body .ba-author-mini .ba-author-media,body .ba-author-mini .ba-author-avatar-ring{width:54px!important;height:54px!important}
 body .ba-author-mini h2{font-size:14.5px!important}
 body .ba-author-mini .ba-author-summary{font-size:11.5px!important}
 body .ba-author-mini .ba-author-role{font-size:9.5px!important}
 body .ba-author-mini .ba-author-more{font-size:10.5px!important}
}
