/* Original game glyphs with complete source character coverage and native kerning. */
@font-face{font-family:ASR;src:url('assets/game-ui-original-20261110-spacing.woff2') format('woff2'),url('assets/game-ui-original-20261110-spacing.ttf') format('truetype');font-style:normal;font-weight:100 1000;font-display:swap}
@font-face{font-family:ASRSite;src:url('assets/game-ui-original-20261110-spacing.woff2') format('woff2'),url('assets/game-ui-original-20261110-spacing.ttf') format('truetype');font-style:normal;font-weight:100 1000;font-display:swap}
@font-face{font-family:ASRTime;src:url('assets/game-time-original-20261110-spacing.woff2') format('woff2'),url('assets/game-time-original-20261110-spacing.ttf') format('truetype');font-style:normal;font-weight:100 1000;font-display:swap}
:root{--game-font:ASRSite,Arial,sans-serif;--reading-font:Arial,Helvetica,sans-serif}
/* Interface text stays selectable and accessible; no image-based labels. */
body h1,body h2,body h3,body h4,body button,body [role="tab"],body nav a,
body .profile-tabs button,body .profile-section-nav button,body .guide-title,
body .mp-nav a,body .mp-back,body .page-tools a,body .settings-dock a,
body .menu-tile,body .mp-future a,body .site-nav a,
body table thead,body .mp-kicker,body .mp-eyebrow,body .eyebrow{
  font-family:var(--game-font);font-weight:400;font-synthesis:none;
}
body button,body [role="tab"],body nav a{line-height:1.35}
body .profile-title,body #profile-title,body .profile-name,body .licence-name,
body .mp-panel tbody th,body #standings-body td:nth-child(2)>a,
body #standings-body td:nth-child(2)>span:not(.mp-account-names),
body .mp-character strong,body .mp-rank,body .mp-points-cell,
body .mp-snapshot strong,body .mp-points strong{
  font-family:var(--game-font);font-weight:400;font-synthesis:none;
}
/* Keep account aliases and explanatory copy comfortable at small sizes. */
body .mp-account-names,body .guide-copy,body .guide-credit,body .mp-note,
body .profile-note,body .mp-race summary small,body input,body textarea,body select{
  font-family:var(--reading-font);font-synthesis:none;
}
body .run-time,body .record-time,body .mp-result-table td:nth-last-child(2){
  font-family:ASRTime,Consolas,monospace;font-weight:400;font-variant-numeric:tabular-nums;
}
@media(max-width:600px){body .profile-tabs button,body .mp-nav a{line-height:1.45}}

/* Apply source kerning consistently; prevent fabricated bold/italic glyphs. */
body{font-kerning:normal}body h1,body h2,body h3,body h4,body button,body nav a,body [role="tab"]{font-kerning:normal;font-synthesis:none}

/* Original HUD treatments, scoped to results and achievement labels. */
@font-face{font-family:ASRHUDWhite;src:url('assets/game-hud-white-20261110-spacing.woff2') format('woff2');font-style:normal;font-weight:100 1000;font-display:swap}
@font-face{font-family:ASRHUDGold;src:url('assets/game-hud-gold-20261110-spacing.woff2') format('woff2');font-style:normal;font-weight:100 1000;font-display:swap}
body #results td,body #results td :is(a,span,strong),body .mp-race .mp-result-table :is(td,th,a,span,strong),body .profile-mp-results :is(td,th,a,span,strong){font-family:ASRHUDWhite,ASRSite,Arial,sans-serif;font-weight:400;font-kerning:normal;font-synthesis:none;text-shadow:none;letter-spacing:normal}
body #site-achievements-title,body .achievement-content h3,body .secret-achievement-list h3,body .achievement-card h3,body .profile-badges h3,body .profile-badges li,body .achievement-toast{font-family:ASRHUDGold,ASRSite,Arial,sans-serif;font-weight:400;font-kerning:normal;font-synthesis:none;text-shadow:none;text-transform:uppercase;letter-spacing:normal;line-height:1.55;color:#ffe775}
/* Keep browser-selected colours and printed text readable without colour glyphs. */
@media(forced-colors:active){body #results td,body #results td *,body .mp-result-table *,body .profile-mp-results *,body #site-achievements-title,body .achievement-content h3,body .secret-achievement-list h3,body .achievement-card h3,body .profile-badges h3,body .profile-badges li,body .achievement-toast{font-family:ASRSite,Arial,sans-serif!important;color:CanvasText!important}}
@media print{body #results td,body #results td *,body .mp-result-table *,body .profile-mp-results *,body #site-achievements-title,body .achievement-content h3,body .secret-achievement-list h3,body .achievement-card h3,body .profile-badges h3,body .profile-badges li,body .achievement-toast{font-family:Arial,sans-serif!important;color:#000!important;text-shadow:none!important}}

/* Preserve source pair spacing despite older page font shorthands/tracking. */
body :is(h1,h2,h3,h4,button,[role=tab],nav a,.tile-label,.section-title){font-kerning:normal!important;letter-spacing:normal!important;font-synthesis:none!important}



/* Timer glyphs must not be clipped to widths designed for the previous font. */
body .time-digits{display:inline-block!important;white-space:nowrap;font-family:ASRHUDWhite,ASRSite,Arial,sans-serif!important;font-weight:400!important;font-kerning:normal!important;font-synthesis:none!important;letter-spacing:normal!important}
body .time-digits :is(.digit,.separator){display:inline!important;width:auto!important;min-width:0!important;font-family:inherit!important;font-weight:400!important;font-kerning:normal!important;font-synthesis:none!important;letter-spacing:normal!important;background:none!important;filter:none!important;-webkit-text-fill-color:currentColor!important;-webkit-text-stroke:0!important;text-shadow:none!important;color:#fff}
/* Remove legacy profile Arial shorthand from the primary result values only. */
body .profile-mp-results :is(th,td){font-family:ASRHUDWhite,ASRSite,Arial,sans-serif!important;font-weight:400!important;font-kerning:normal!important;font-synthesis:none!important;letter-spacing:normal!important;line-height:1.5!important}
body :is(.mp-eyebrow,.mp-kicker,.mp-panel thead,.mp-race summary,.profile-name,.licence-name){font-kerning:normal!important;letter-spacing:normal!important}
@media(forced-colors:active){body .time-digits,body .time-digits :is(.digit,.separator),body .profile-mp-results :is(th,td){font-family:Arial,sans-serif!important;color:CanvasText!important}}
@media print{body .time-digits,body .time-digits :is(.digit,.separator),body .profile-mp-results :is(th,td){font-family:Arial,sans-serif!important;color:#000!important}}

/* Match game result text: preserve account case and the font's own outline. */
body #results .player-select,body #results .player-name,body .podium-card .podium-player{text-transform:none!important}
body #results .player-name,body .podium-card .podium-player{font-family:ASRHUDWhite,ASRSite,Arial,sans-serif!important;font-weight:400!important;font-kerning:normal!important;font-synthesis:none!important;letter-spacing:normal!important;background:none!important;filter:none!important;-webkit-text-fill-color:currentColor!important;-webkit-text-stroke:0!important;text-shadow:none!important;color:#fff}
@media(forced-colors:active){body #results .player-name,body .podium-card .podium-player{font-family:Arial,sans-serif!important;color:CanvasText!important}}
@media print{body #results .player-name,body .podium-card .podium-player{font-family:Arial,sans-serif!important;color:#000!important}}
