/* Whole-page review: readability, responsive rank geometry and motion controls. */
.ticker-cycle{display:flex;align-items:center;gap:35px}
.ticker:hover #ticker-track,.ticker:focus-within #ticker-track{animation-play-state:paused}
.hero.is-offscreen .hero-ticket,.hero.is-offscreen .campus-art{animation-play-state:paused}
/* Donor ranking gives the selected metric visual emphasis. */
.leaderboard[data-metric="donors"] .row-donors{font-size:23px;font-weight:700;color:#13386e}
.leaderboard[data-metric="donors"] .row-value strong{font-size:19px;font-weight:500}
@media(min-width:681px) and (max-width:980px){
 .board-labels,.board-row{grid-template-columns:24px minmax(0,1fr) 112px 43px}
 .foundation-name .name{font-size:13px}
}
@media(max-width:680px){
 .foundation-name .greek{font-size:24px;min-width:34px}
 .foundation-name{gap:7px}
 .foundation-name .name{font-size:12px;line-height:1.25}
 .board-row .name small{font-size:10px}
 .board-labels{font-size:9px}
 .leaderboard[data-metric="donors"] .row-donors{font-size:17px}
 .leaderboard[data-metric="donors"] .row-value strong{font-size:16px}
 .footer-center nav a,.footer-center nav button,.footer-tools button{min-height:44px;display:inline-flex;align-items:center}
 .footer-tools #open-lab,.footer-center #motion-toggle{font-size:11px;min-height:44px}
 .dialog-note{font-size:12px;line-height:1.5}
 .gift-dialog label{font-size:12px}
}
@media(max-width:370px){
 .foundation-name .name{font-size:11px}
 .foundation-name .greek{font-size:21px;min-width:30px}
 .foundation-name{gap:5px}
}
/* Include pseudo-elements and the root scroll container. */
html.motion-off{scroll-behavior:auto!important}
.motion-off *, .motion-off *::before,.motion-off *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media(max-width:680px){
 .community-stats{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:21px 18px}
 .total-stat strong{font-size:clamp(32px,10.7vw,42px)}
 .total-donors strong{font-size:clamp(30px,9.8vw,39px)}
}
@media(max-width:370px){
 .foundation-name .greek{display:none}
 .foundation-name .name{font-size:12px}
 .board-row .name small{font-size:10px}
}
/* Floating navigation must not cover the interaction lab controls. */
body:has(.demo-dock:not([hidden])) .back-to-standings,
body:has(dialog[open]) .back-to-standings{display:none}

.ticker-label{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#2f83a344}.ticker-label:hover{text-decoration-color:currentColor}
#latest-gift{scroll-margin-top:24px}
.dialog-note,.form-foot{color:#536981}
.about-dialog>p{font-size:14px;color:#536981}
@media(min-width:681px){.footer-attribution{align-self:start;padding-top:8px}}

.footer-tools[hidden]{display:none}
