/* One type scale for Home, every page, menus and dialogs. Icons keep their own geometry. */
:root{--type-title:17px;--type-section:15px;--type-body:14px;--type-control:12px;--type-caption:11px;--type-input:17px}
body{font-size:var(--type-body);line-height:1.45;-webkit-text-size-adjust:100%;text-size-adjust:100%}
button,input,textarea,select{font-family:inherit}
.page,.modal-card,.notification-panel,.header-dropdown{font-size:var(--type-body);line-height:1.45}
.page h1,.page h2,.modal-card h1,.modal-card h2,#socialDialogTitle{font-size:var(--type-title)!important;line-height:1.35;font-weight:750;letter-spacing:-.015em}
.page h3,.page h4,.modal-card h3,.header-dropdown h3,.notification-panel h3{font-size:var(--type-section)!important;line-height:1.4;font-weight:700;letter-spacing:-.01em}
.page p,.post-body,.chat-message-text,.modal-card p,.news-preview p,.profile-bio{font-size:var(--type-body);line-height:1.5}
button,.btn,.chip,.wallet-choice,.feed-sort-menu button,.profile-session-actions>button,.page summary,.modal-card summary,.image-upload-button,.launch-links>a{font-size:var(--type-control);line-height:1.4}
.composer-action-row>.chip,.composer-action-row>#postBtn,.composer-tools[aria-label=Feed]>.chip,#feedSortButton,.chart-settings .chip,.chart-ranges .chip,#settingsButton,#profileSignOut,#joinOfficialSpace,#checkBtn,#clearChartSearch,#createLaunch{font-size:var(--type-control)!important}
.page label,.modal-card label,.setting-label,.calendar-head,.mini-token-name,.market-heading,.alert-controls,.watch-stepper,.reward-choice span,.post-options-menu button{font-size:var(--type-control);line-height:1.45}
input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select,.input,#postText,.topbar .search input{font-size:var(--type-input)!important;line-height:1.45}
.chart-settings select,.chart-settings .input,.chart-ranges select{font-size:var(--type-control)!important}
.small,small,time,.muted.small,.tag,.notice,.error,.market-facts,.chart-scrubber,.market-source,.market-date,.news-preview-label,.legal-links,.profile-policy-links,.password-note,.mention-help,.auth-divider,.post-gif figcaption,.launch-date,.launch-x,.promotion-delivery,.transient-feedback,.recent-own-reply,.reward-explanation,.holding-card small{font-size:var(--type-caption);line-height:1.45}
.page p.small,.modal-card p.small,.thread-reply p,.chat-quote,.news-credit{font-size:var(--type-caption)}
.author-link,#composerName,.space-post-identity,.my-space-link b,.market-card strong{font-size:var(--type-body)!important;line-height:1.4}
.space-post-identity small,.space-post-identity time,.post-head .small,.chat-message time,.profile-stats-grid span,.vote-stats span{font-size:var(--type-caption)!important}
.market-label,.market-card .market-label,.market-ranges .chip,.profile-dropdown .wallet-choice,.news-filters .chip,.launch-countdown,.pulse #pulseText,.repost-preview>b{font-size:var(--type-control)}
#pulseCount,.repost-preview .original-post-link,.sponsored-label,.promoted-label,.publisher-badge,.calendar-grid small,.gif-choice span{font-size:var(--type-caption)}
.profile-stats-grid b,.vote-stats b,.signal-card b{font-size:20px;line-height:1.2}
.space-card,.community-card,.market-open,.my-space-link,.profile-stats-grid>button{font-size:var(--type-body)}
.post-actions button,.social-reward,.reward-badge,.reward-strip button,.post-emoji,.poll-choice span,.reward-tier h3{font-size:var(--type-control)}
.header-dropdown p,.notification-panel p,.notification-item p{font-size:var(--type-body)}
.auth-progress,.caught-up,.news-switch,.launch-card>small:first-child{font-size:var(--type-caption)}
/* Home and Space cards share the same secondary text size. */
.space-card p,.space-summary p,.community-controls p,#page-news .news-page-heading p,.launch-card p,.repost-preview p{font-size:var(--type-body)}
@media(max-width:700px){.market-card strong{font-size:var(--type-control)!important}.market-card .market-label,.market-card .market-date{font-size:var(--type-caption)}.bottomnav button{font-size:10px}}

.standalone-page{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:var(--type-body)}.standalone-page h1,.standalone-page h2{font-size:var(--type-title);line-height:1.35}.standalone-page h3{font-size:var(--type-section);line-height:1.4}.standalone-page p,.standalone-page li{font-size:var(--type-body)}.standalone-page nav,.standalone-page nav a{font-size:var(--type-control)}

/* The Home headline strip keeps its original compact type. */
.headline-ticker{font-size:12px}
.ticker-label{font-size:9px;line-height:1.4}
.ticker-track{min-width:0;flex:1;align-items:center}
.ticker-track a{font-size:11px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.8em;overflow:hidden}
.official-spaces-prompt{display:block;border:0;background:none;color:var(--muted);font-size:var(--type-control);padding:0;margin:-4px 0 14px;text-align:left;cursor:pointer;box-shadow:none}
.official-spaces-prompt:hover{color:var(--purple)}
.official-spaces-prompt:focus-visible{outline:2px solid var(--purple);outline-offset:5px;border-radius:3px}
