/* Route-specific presentation. Shared typography and components live in style.css. */
.home-page .home-journal {padding-block:48px}
:is(.page-game,.page-workshop) .detail {max-width:1440px;min-height:0;padding-top:56px;padding-bottom:0}
:is(.page-game,.page-workshop) .game-intro {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:40px;padding-bottom:56px}
:is(.page-game,.page-workshop) .game-intro h1 {font-size:clamp(46px,5.5vw,84px);line-height:.92;letter-spacing:-1px}
:is(.page-game,.page-workshop) .game-lead {font-size:18px;line-height:1.65;color:var(--ink)}
:is(.page-game,.page-workshop) .game-copy,:is(.page-game,.page-workshop) .game-feature p:not(.eyebrow),:is(.page-game,.page-workshop) .game-feature li,:is(.page-game,.page-workshop) .game-future p:not(.eyebrow),:is(.page-game,.page-workshop) .game-future dd {color:var(--muted);line-height:1.7}
:is(.page-game,.page-workshop) .game-intro figure {margin:0}
:is(.page-game,.page-workshop) .game-intro img,:is(.page-game,.page-workshop) .game-feature img {display:block;width:100%;max-height:none;aspect-ratio:16/9;object-fit:contain;background:var(--panel);border:1px solid var(--line)}
:is(.page-game,.page-workshop) .game-intro figcaption {font-size:12px;color:var(--muted);margin-top:10px}
:is(.page-game,.page-workshop) .game-feature {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:36px;padding:44px 0;border-top:1px solid var(--line)}
:is(.page-game,.page-workshop) .game-feature:nth-of-type(2) img {order:2}
:is(.page-game,.page-workshop) .game-feature h2,:is(.page-game,.page-workshop) .game-future h2 {font-size:clamp(36px,4vw,56px);margin-bottom:20px}
:is(.page-game,.page-workshop) .game-feature ul {padding-left:20px;margin:0 0 22px}
:is(.page-game,.page-workshop) .game-feature li {margin-bottom:8px}
:is(.page-game,.page-workshop) .game-feature strong {color:var(--ink)}
:is(.page-game,.page-workshop) .game-future {padding:44px 0 12px;border-top:1px solid var(--line)}
:is(.page-game,.page-workshop) .game-future>p:not(.eyebrow) {max-width:780px}
:is(.page-game,.page-workshop) .game-future dl {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:26px 0}
:is(.page-game,.page-workshop) .game-future dl>div {border-top:2px solid var(--lime);padding-top:15px}
:is(.page-game,.page-workshop) .game-future dt {font-weight:700;font-size:18px;margin-bottom:8px}
:is(.page-game,.page-workshop) .game-future dd {margin:0}
@media(max-width:760px) {
  :is(.page-game,.page-workshop) .detail {padding-top:32px}
  :is(.page-game,.page-workshop) .game-intro,:is(.page-game,.page-workshop) .game-feature,:is(.page-game,.page-workshop) .game-future dl {grid-template-columns:1fr;gap:22px}
  :is(.page-game,.page-workshop) .game-intro {padding-bottom:32px}
  :is(.page-game,.page-workshop) .game-feature {padding:32px 0}
  :is(.page-game,.page-workshop) .game-feature:nth-of-type(2) img {order:0}
}
.page-game .showcase {padding-top:36px}
.page-showroom .vehicle {display:flex;flex-direction:column}
.page-showroom .vehicle-copy {flex:1}
.page-showroom .car-stage {position:relative;aspect-ratio:16/10;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#414650,#171b22 65%,#101216)}
.page-showroom .car-stage img,.page-showroom model-viewer {display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
.page-showroom .car-load {position:absolute;bottom:14px;left:14px;min-height:42px;padding:12px 16px;box-shadow:0 2px 16px #0008}
.page-showroom .car-load:disabled {opacity:.7;cursor:wait}
.page-showroom .car-view-status {position:absolute;top:12px;left:12px;right:12px;padding:10px;background:#101216e8;border:1px solid var(--line);font-size:12px}
.page-showroom .car-view-tools {padding:12px 16px;border-block:1px solid var(--line);background:#14171c;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.page-showroom .car-paint,.page-showroom .car-view-actions {display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.page-showroom .car-paint label {display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);margin-right:3px}
.page-showroom .car-paint input {width:30px;height:30px;padding:2px;border:1px solid #747b86;background:#20242c;cursor:pointer}
.page-showroom .paint-chip {background:var(--chip);border:1px solid #747b86;border-radius:50%;width:24px;height:24px;min-width:24px;padding:0}
.page-showroom .car-view-actions {margin-left:auto}
.page-showroom .car-view-actions button {border:1px solid var(--line);background:#232730;color:var(--ink);min-height:30px;padding:4px 10px;font-size:12px}
.page-showroom .car-view-actions button:hover {border-color:#d94750}
.page-showroom .car-view-tools p {flex-basis:100%;margin:0}
@media(max-width:760px){.page-showroom .car-view-actions {margin-left:0}.page-showroom .car-stage {aspect-ratio:4/3}}
.page-competition .competition-layout {align-items:start}
.page-competition .competition-layout>div {background:var(--panel);border:1px solid var(--line);padding:24px}
.page-competition .competition-layout h3:first-child {margin-top:0}
.rankings-panel {padding:24px;background:var(--panel);border:1px solid var(--line)}
.rankings-panel table {width:100%;border-collapse:collapse;table-layout:fixed}
.rankings-panel th,.rankings-panel td {padding:12px 8px;border-bottom:1px solid var(--line);text-align:left;overflow-wrap:anywhere}
.rankings-panel th:first-child,.rankings-panel td:first-child {width:18%}
.rankings-panel th:last-child,.rankings-panel td:last-child {width:24%;text-align:right;font-variant-numeric:tabular-nums}
.competition-feed article {display:grid;grid-template-columns:140px 1fr;gap:20px;border-top:1px solid var(--line);padding:20px 0}
.competition-feed time {color:var(--muted);font-size:.85rem}
.competition-feed h3 {margin:0 0 8px}
.competition-feed p {margin:0;color:var(--muted)}
/* Player manual: keep the reading surface quiet and the racing imagery prominent. */
.page-guide .guide-page {max-width:1480px;padding-top:28px}
.guide-heading {position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:290px;margin-bottom:28px;background:#181c23;border:1px solid var(--line);border-bottom:3px solid #c62832}
.guide-hero-image {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 48%;z-index:-2}
.guide-heading::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#10121655,#101216e6 35%,#101216e6 65%,#10121655),linear-gradient(0deg,#10121699,transparent 70%)}
.guide-heading-copy {padding:clamp(24px,4vw,54px);max-width:600px;min-width:0;text-align:center}
.guide-heading .eyebrow {color:#ff9ca1;letter-spacing:1.4px}
.guide-heading .eyebrow a:hover {color:#fff;text-decoration:underline}
.page-guide .guide-heading h1 {font-size:clamp(52px,6vw,82px);margin:12px 0 16px;line-height:.95;letter-spacing:-.025em;color:#ff6b73}
.guide-heading-copy>p:not(.eyebrow) {max-width:420px;color:#d0d4dc;font-size:16px;line-height:1.65;margin:0 auto 24px}
.guide-heading .actions {justify-content:center}
.guide-heading .button {min-height:44px;align-items:center;padding:12px 18px}
.guide-hero-link {font-size:13px;font-weight:700;color:#fff;padding:12px 0}
.guide-hero-link:hover {text-decoration:underline}
.guide-layout {display:grid;grid-template-columns:minmax(220px,260px) minmax(0,1fr);gap:32px;align-items:start}
.guide-sidebar {position:sticky;top:96px;padding:18px 14px;background:#15181e;border:1px solid var(--line);border-radius:6px;max-height:calc(100vh - 112px);overflow:auto}
.guide-sidebar .search-label {width:100%;font-weight:700;padding:0 4px}
.guide-sidebar input {background:#0e1014;border-radius:4px;font-size:14px;min-height:44px}
.guide-nav {display:grid;gap:2px;width:100%;margin:18px 0;padding-bottom:14px;border-bottom:1px solid var(--line)}
.guide-nav-label {display:block;text-align:center;color:#ff9ca1;font-size:11px;text-transform:uppercase;font-weight:700;letter-spacing:1.15px;margin:14px 10px 5px;padding:8px 4px;background:#2a2026;border-bottom:1px solid #674047;border-radius:3px}
.guide-nav-label:first-child {margin-top:0}
.guide-nav a {display:flex;align-items:center;min-height:36px;padding:8px 10px;font-size:13px;font-weight:500;color:#c4cad4;border-left:2px solid transparent;border-radius:0 3px 3px 0}
.guide-nav a:hover,.guide-nav a:focus-visible {border-left-color:#e83c43;color:#fff;background:#252a33}
.guide-download {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;font-weight:700;font-size:12px;background:#22262e;border:1px solid var(--line);border-radius:4px}
.guide-download:hover {border-color:#e83c43;color:#fff}
.guide-topics {min-width:0;display:grid;gap:0;padding:0 clamp(18px,3.4vw,44px);background:#16191f;border:1px solid var(--line);border-radius:6px}
.guide-topics article {min-width:0;padding:30px 0 34px;border-bottom:1px solid var(--line);scroll-margin-top:12px}
.guide-topics article:last-of-type {border-bottom:0}
.guide-topics article:target h2 {color:#ff9ca1}
.guide-topics h2 {font-size:clamp(30px,3vw,43px);margin:0 0 18px;line-height:1.06;letter-spacing:-.015em;text-transform:none;text-align:center;color:#ff6b73}
.guide-topics h2::after {content:"";display:block;width:48px;height:3px;margin:12px auto 0;background:#e83c43}
.guide-topics h3 {font-size:25px;margin:24px 0 12px;text-align:center;color:#ff9ca1}
.guide-topics p,.guide-topics li,.guide-definitions dd {color:#c0c5ce;line-height:1.75;overflow-wrap:anywhere;font-size:15px}
.guide-topics strong,.guide-definitions dt {color:var(--ink)}
.guide-topics ol {padding-left:22px;margin:16px 0 22px}
.guide-topics li {padding-left:4px;margin:10px 0}
.guide-topics .guide-steps {list-style:none;counter-reset:guide-step;padding-left:0;display:grid;gap:0}
.guide-steps li {counter-increment:guide-step;position:relative;margin:0;padding:13px 0 13px 48px;border-bottom:1px solid #2c313b;min-height:54px}
.guide-steps li:last-child {border-bottom:0}
.guide-steps li::before {content:counter(guide-step,decimal-leading-zero);position:absolute;left:0;top:13px;display:grid;place-items:center;width:32px;height:32px;border:1px solid #4b3940;background:#2a2026;color:#ffadb2;border-radius:4px;font:700 13px 'DM Sans',Arial,sans-serif}
.guide-topics p a {color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.guide-topics p:last-child {margin-bottom:0}
.guide-topics .text-link {display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#ff9ca1;border-color:#674047;line-height:1.5}
.guide-topics .text-link::after {content:"\2192"}
.guide-figure {margin:0 0 22px;border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#0d1014}
.guide-figure a {display:block}
.guide-figure a:focus-visible {outline-offset:-4px}
.guide-image {display:block;width:100%;height:auto;max-height:480px;object-fit:contain;background:#0d1014}
.guide-figure figcaption {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;color:#b1b7c1;font-size:11px;line-height:1.5;background:#1e222a;border-top:1px solid var(--line)}
.guide-figure figcaption span {color:#ffadb2;white-space:nowrap}
.guide-note {background:#22262e;border:1px solid #373e4a;border-left:3px solid #d94b54;border-radius:0 4px 4px 0;padding:15px 18px;margin:20px 0}
.guide-note strong {display:block;margin-bottom:6px}
.guide-definitions {margin:12px 0 20px}
.guide-definitions>div {padding:13px 0;border-bottom:1px solid var(--line)}
.guide-definitions dt {font-weight:700;margin-bottom:4px}
.guide-definitions dd {margin:0}
.guide-mode-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.guide-mode-grid>div {background:#20242c;border:1px solid var(--line);border-top:2px solid #d94b54;border-radius:4px;padding:16px}
.guide-mode-grid dt {font:700 23px 'Barlow Condensed','Arial Narrow',sans-serif;margin-bottom:8px;text-align:center;color:#ff9ca1}
.guide-mode-grid dd {font-size:13px;line-height:1.65}
.guide-rewards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 20px}
.guide-rewards>div {display:grid;gap:5px;padding:14px;background:#20242c;border:1px solid var(--line);border-radius:4px}
.guide-rewards strong {font:700 clamp(28px,3vw,38px)/1 'Barlow Condensed','Arial Narrow',sans-serif;font-variant-numeric:tabular-nums;color:#f4f5f7}
.guide-rewards span {font-size:12px;color:#bfc5cf;line-height:1.4}
.guide-table {width:100%;border-collapse:collapse;table-layout:fixed;margin:16px 0 22px;font-size:14px;border:1px solid var(--line)}
.guide-table th,.guide-table td {border-bottom:1px solid var(--line);text-align:left;padding:13px 14px;overflow-wrap:anywhere;vertical-align:middle}
.guide-table thead {background:#342329;color:#ffadb2;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.guide-table thead th {text-align:center}
.guide-table tbody tr:nth-child(even) {background:#1c2027}
.guide-table tbody th {font-weight:600}
.guide-table kbd {display:inline-block;min-width:28px;text-align:center;background:#0f1217;border:1px solid #505866;border-bottom:3px solid #505866;border-radius:5px;padding:5px 8px;font-size:12px;color:#f4f5f7}
#guide-empty {padding:40px 0;text-align:center;color:var(--muted)}
@media(max-width:1000px){.guide-mode-grid {grid-template-columns:1fr}.guide-layout {gap:20px}}
@media(max-width:760px){
  .page-guide .guide-page {padding-top:18px}
  .guide-heading {min-height:280px;margin-bottom:18px}
  .guide-hero-image {object-position:65% center}
  .guide-heading::before {background:linear-gradient(0deg,#101216e6,#101216c9)}
  .guide-heading-copy {padding:24px}
  .guide-heading-copy>p:not(.eyebrow) {font-size:14px}
  .guide-heading .actions {gap:12px}
  .guide-layout {grid-template-columns:minmax(0,1fr);gap:18px}
  .guide-sidebar {position:static;max-height:none;overflow:visible}
  .guide-nav {grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
  .guide-nav-label {grid-column:1/-1;margin-top:12px}
  .guide-nav a {min-height:44px}
  .guide-topics {padding:0 16px}
  .guide-topics article {padding:24px 0}
  .guide-table th,.guide-table td {padding:10px 6px;font-size:12px}
  .guide-rewards {gap:6px}
  .guide-rewards>div {padding:10px 8px}
  .guide-rewards span {font-size:11px}
  .guide-figure figcaption {flex-wrap:wrap;gap:4px}
}
.page-roadmap .roadmap-grid article {min-height:210px}
.page-news .news {border-top:0}
.page-community .community {border-top:0}
.page-community .paddock {margin-top:24px}
.page-community-story .detail {min-height:0}
.page-profile .driver-profile {min-height:60vh;border-top:0;max-width:1500px;margin:auto;padding:32px 4%;background:transparent}
.page-profile .driver-profile .driver-page-heading {margin-bottom:20px;flex-direction:row;align-items:center}
.page-profile .driver-profile .driver-page-heading h1 {font-size:clamp(30px,4vw,44px);margin:4px 0 0}
.driver-page-heading .eyebrow {margin-bottom:4px}
.page-profile .driver-login {padding:20px;background:var(--panel);border:1px solid var(--line)}
.driver-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1.65fr);align-items:center;gap:22px;padding:22px;background:linear-gradient(110deg,#242029,#191d23 45%,#171a20);border:1px solid #343840;border-top:2px solid #c62832;border-radius:8px}
.driver-identity {display:flex;align-items:center;gap:14px;min-width:0}
.driver-identity>div {min-width:0}
#driver-avatar {display:grid;place-items:center;flex:0 0 78px;height:78px;border:1px solid #9e414a;border-radius:12px;background:linear-gradient(145deg,#69232b,#29232c);color:#fff;font-size:27px;font-weight:800}
.driver-identity h2 {font-size:clamp(24px,2.5vw,36px);text-transform:none;overflow-wrap:anywhere;margin:0 0 9px}
.driver-level-badge {display:inline-block;background:#48252b;color:#ffb1b6;border:1px solid #71333b;border-radius:4px;padding:3px 8px;font-size:11px;font-weight:700}
.driver-progress-heading {display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;margin-bottom:10px}
#driver-progress-label {color:var(--muted);font-variant-numeric:tabular-nums}
#driver-progress {display:block;width:100%;height:9px;border:0;border-radius:6px;overflow:hidden;appearance:none;background:#353940;accent-color:#e34450}
#driver-progress::-webkit-progress-bar {background:#353940;border-radius:6px}
#driver-progress::-webkit-progress-value {background:#e34450;border-radius:6px}
#driver-progress::-moz-progress-bar {background:#e34450;border-radius:6px}
.driver-progression p {margin:9px 0 0}
.driver-profile .driver-metrics {gap:8px;background:none;border:0;margin:0}
.driver-profile .driver-metrics div {min-width:0;background:#171a20;border:1px solid #303640;border-radius:5px;padding:12px}
.driver-profile .driver-metrics dt {font-size:10px;line-height:1.4;overflow-wrap:anywhere;color:#b5bac4}
.driver-profile .driver-metrics dd {font-size:clamp(19px,2vw,28px);margin:5px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.driver-hero-metrics {grid-template-columns:repeat(3,minmax(0,1fr))}
.driver-dashboard {display:grid;grid-template-columns:minmax(0,2.2fr) minmax(245px,1fr);gap:16px;margin:16px 0}
.driver-sidebar {display:grid;gap:16px;align-content:start;min-width:0}
.driver-detail-panel {min-width:0;padding:20px;background:#1a1d23;border:1px solid #303640;border-radius:8px}
.driver-detail-panel h3 {font-size:25px;margin:0 0 8px}
.driver-detail-panel .driver-metrics {grid-template-columns:repeat(2,minmax(0,1fr));margin:14px 0}
.driver-detail-panel p:last-child {margin-bottom:0}
.driver-balance {font-size:32px;font-weight:800;margin:8px 0 20px;overflow-wrap:anywhere}
.driver-detail-panel h4 {margin:16px 0 8px;font-size:13px}
.driver-detail-panel ul {list-style:none;padding:0;margin:0;overflow-wrap:anywhere}
.driver-detail-panel li {padding:9px 0;border-top:1px solid #303640}
#driver-history table {width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;margin-top:18px}
#driver-history th,#driver-history td {padding:12px 10px;border-bottom:1px solid #303640;text-align:left;overflow-wrap:anywhere}
#driver-history th {font-size:11px;text-transform:uppercase;color:#b5bac4;background:#15181d}
#driver-history tbody tr:nth-child(even) {background:#171a20}
#driver-history th:last-child,#driver-history td:last-child {text-align:right;font-variant-numeric:tabular-nums}
#driver-history td[data-outcome="win"] {color:#8ed9a0;font-weight:700}
#driver-history td[data-outcome="loss"] {color:#ff8b91;font-weight:700}
#driver-history-empty {padding:28px 0}
#driver-account {margin-top:16px;padding:16px 20px;background:#1a1d23;border:1px solid #303640;border-radius:8px}
#driver-account .driver-actions {margin:0;gap:8px}
#driver-account .button {padding:10px 14px}
#driver-logout {background:#303640;color:#fff}
.driver-settings {margin-top:14px;border-top:1px solid #303640;padding-top:12px}
.driver-settings summary {cursor:pointer;font-weight:700;font-size:13px}
#driver-message {font-size:12px;margin:14px 0 0}
@media(max-width:1050px) {.driver-hero {grid-template-columns:repeat(2,minmax(0,1fr))}.driver-hero-metrics {grid-column:1/-1}}
@media(max-width:760px) {.driver-hero,.driver-dashboard {grid-template-columns:minmax(0,1fr)}.driver-hero {gap:18px;padding:16px}#driver-avatar {flex-basis:62px;height:62px;font-size:23px}.driver-profile .driver-metrics div {padding:10px}.driver-profile .driver-metrics dd {font-size:20px}#driver-history td,#driver-history th {padding:10px 6px}.driver-page-heading .text-link {white-space:nowrap}}
.page-status .service-status {border-top:0;align-items:flex-start}
.page-status .service-indicators {background:var(--panel);border:1px solid var(--line);padding:18px}
.download-page .detail {min-height:calc(100vh - 200px)}
@media(max-width:760px) {
  .driver-detail-panel {padding:16px}
  .rankings-panel {padding:16px}
  .competition-feed article {grid-template-columns:1fr;gap:8px}
  .home-page .home-journal {padding-block:36px}
  .page-competition .competition-layout>div,.page-profile .driver-login {padding:16px}
  .page-roadmap .roadmap-grid article {min-height:0}
  .page-status .service-indicators {flex-direction:column}
}

.page-workshop .game-future {padding-bottom:48px}
.page-workshop .workshop-tiers {display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.page-workshop .workshop-tiers span {padding:7px 15px;border:1px solid var(--line);font-size:13px;font-weight:700;background:var(--panel)}

.page-competition .leaderboard-page {max-width:1440px;margin:auto;padding-top:44px;min-height:calc(100vh - 180px)}
.leaderboard-heading {display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:32px;flex-wrap:wrap}
.leaderboard-heading h1 {font-size:clamp(48px,7vw,92px);margin:14px 0;line-height:.95;letter-spacing:-1px}
.leaderboard-heading p:last-child {margin-bottom:0}
.leaderboard-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:24px;align-items:start}
.leaderboard-board {min-width:0;border:1px solid var(--line);background:var(--panel)}
.leaderboard-toolbar {display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line)}
.leaderboard-toolbar h2 {font-size:clamp(32px,4vw,46px)}
.leaderboard-toolbar .eyebrow {margin-bottom:6px}
.leaderboard-board .rankings-panel {border:0;padding:0}
.leaderboard-board .rankings-panel th,.leaderboard-board .rankings-panel td {padding:16px 24px}
.leaderboard-board .rankings-panel th {color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.8px}
.leaderboard-board .rankings-panel td:first-child {font-weight:700;color:var(--lime)}
.leaderboard-board .rankings-panel .demo-rankings-heading {text-align:left;background:rgba(255,255,255,.045);border-top:1px solid var(--line);color:var(--muted)}
.leaderboard-board .rankings-panel td:nth-child(2) {font-weight:600}
.leaderboard-board .rankings-panel tr:hover td {background:rgba(255,255,255,.035)}
.leaderboard-board #rankings-message {padding:36px 24px;text-align:center;margin:0;line-height:1.6}
.leaderboard-board .leaderboard-note {font-size:12px;line-height:1.6;color:var(--muted);border-top:1px solid var(--line);margin:0;padding:16px 24px}
.leaderboard-sidebar {background:var(--panel);border:1px solid var(--line)}
.leaderboard-sidebar>div {padding:22px;border-bottom:1px solid var(--line)}
.leaderboard-sidebar>div:last-child {border-bottom:0}
.leaderboard-sidebar h2 {font-size:28px;margin-bottom:12px}
.leaderboard-sidebar p:not(.eyebrow) {color:var(--muted);line-height:1.6;font-size:13px}
.leaderboard-sidebar p:last-child {margin-bottom:0}
.leaderboard-sidebar strong {display:block;font-size:17px;color:var(--lime);margin-bottom:6px}
.ranking-categories {display:grid;gap:6px}
.ranking-categories button {text-align:left;font:inherit;color:var(--ink);background:transparent;border:1px solid var(--line);padding:11px 12px;cursor:pointer}
.ranking-categories button:hover,.ranking-categories button[aria-pressed="true"] {border-color:var(--lime);color:var(--lime);background:rgba(255,255,255,.04)}
.ranking-categories button:focus-visible {outline:2px solid var(--lime);outline-offset:2px}
@media(max-width:760px){.leaderboard-sidebar {order:-1}.ranking-categories {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px) {
  .page-competition .leaderboard-page {padding-top:30px}
  .leaderboard-layout {grid-template-columns:minmax(0,1fr)}
  .leaderboard-toolbar {padding:16px}
  .leaderboard-board .rankings-panel th,.leaderboard-board .rankings-panel td {padding:12px 10px}
  .leaderboard-board .leaderboard-note {padding:16px}
}
