/* The site has two type families: Inter for content/UI, Caslon for editorial headings.
   This final layer deliberately overrides older page-specific font-family rules. */
:root{--font:'Inter','Helvetica Neue',Arial,sans-serif;--serif:'Libre Caslon Display',Georgia,serif;--callout-body-size:14px;--callout-author-size:14px;--callout-label-size:11px;--callout-value-size:24px}
html body,html body *{font-family:var(--font)!important}
html body :is(h1,h2,h3,.brand,.auth-brand,.welcome-brand),html body :is(h1,h2,h3,.brand,.auth-brand,.welcome-brand) *{font-family:var(--serif)!important}
html body :is(code,pre,kbd,samp),html body :is(code,pre,kbd,samp) *{font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important}
/* A callout keeps the same type treatment in every feed and its detail view. */
html body :is(.prediction-card,.history-card,.mag-call,.all-callout-compact,.post-discussion-callout),html body :is(.prediction-card,.history-card,.mag-call,.all-callout-compact,.post-discussion-callout) *{font-family:var(--font)!important}
html body :is(.prediction-card,.history-card) .call-text,
html body .mag-call>p,
html body #discovery-page .explore-all-layout .all-callout-compact .all-social-copy p{font-size:var(--callout-body-size)!important;line-height:1.6!important;font-weight:400;letter-spacing:normal}
html body :is(.prediction-card,.history-card) :is(.author-details>strong,.author-details>a,.person-link strong),
html body .mag-call .mag-author,
html body #discovery-page .explore-all-layout .all-callout-compact .mag-author{font-size:var(--callout-author-size)!important;font-weight:600!important;line-height:1.4;letter-spacing:normal}
html body :is(.prediction-card,.history-card) .history-prices>div:not(.callout-spark)>strong,
html body .mag-call .mag-prices>div>strong{font-size:var(--callout-value-size)!important;font-weight:600!important;line-height:1.25!important;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
html body :is(.prediction-card,.history-card) .history-prices small,
html body .mag-call .mag-prices small{font-size:var(--callout-label-size)!important;font-weight:500!important;letter-spacing:.06em}
html body .all-callout-return strong{font-weight:600!important;font-variant-numeric:tabular-nums}
html body :is(.all-social-footer,.history-prices,.mag-prices,.market-stats,.stat-value){font-variant-numeric:tabular-nums}
html body .prediction-card .stat-value{font-size:var(--callout-value-size)!important;font-weight:600!important;line-height:1.25!important;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
html body .prediction-card .stat-label,html body .history-card .history-prices>div>span{font-size:var(--callout-label-size)!important;font-weight:500!important;letter-spacing:.06em}
html body .login-scene [style*="Libre Caslon Display"]{font-family:var(--serif)!important}
/* Preserve the editorial display face for the main market quote. */
html body #stock-price,html body #stock-price *{font-family:var(--serif)!important;font-weight:400}

/* Native, quieter typography for mobile Explore navigation and filters. */
@media(max-width:700px){
 html[data-theme] body #discovery-page :is(.explore-type-tabs,.explore-toolbar),
 html[data-theme] body #discovery-page :is(.explore-type-tabs,.explore-toolbar) *{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;-webkit-font-smoothing:antialiased}
 html[data-theme] body #discovery-page.tt-has-type-tabs .explore-type-tabs>button{font-size:14px!important;font-weight:400!important;letter-spacing:-.015em;line-height:1.35}
 html[data-theme] body #discovery-page.tt-has-type-tabs .explore-type-tabs>button[aria-selected=true]{font-weight:600!important}
 html[data-theme] body #discovery-page .explore-toolbar :is(summary,select){font-size:12px!important;font-weight:400!important;letter-spacing:-.01em;line-height:1.4}
 html[data-theme] body #discovery-page .mobile-source-menu>summary{font-weight:500!important}
 html[data-theme] body #discovery-page :is(.mobile-filter-menu>div,.profile-ticker-options)>button{font-size:13px!important;font-weight:400!important;letter-spacing:-.01em}
}

/* Mobile navigation follows the heavier, consistent weight of the reference. */
@media(max-width:700px){
 html[data-theme] body #discovery-page.tt-has-type-tabs .explore-type-tabs>button{font-size:15px!important;font-weight:650!important;letter-spacing:-.025em;line-height:1.4;color:color-mix(in srgb,var(--text) 68%,var(--bg))}
 html[data-theme] body #discovery-page.tt-has-type-tabs .explore-type-tabs>button[aria-selected=true]{font-weight:650!important;color:var(--text)}
 html[data-theme] body #discovery-page .explore-toolbar :is(summary,select){font-size:13px!important;font-weight:500!important;letter-spacing:-.02em}
 html[data-theme] body #discovery-page .mobile-source-menu>summary{font-weight:600!important}
}
