/* Pixel Racers v0.8. Website only; the live overlay keeps its existing renderer. */
:root {
    --pixel-font: 'Lucida Console', 'Courier New', monospace;
    --readable-font: 'Segoe UI', system-ui, sans-serif;
    font-family: var(--readable-font);
    font-size: 17px;
}
body { font-family: var(--readable-font); line-height: 1.5; }
/* Readable body text with classic arcade-style monospace headings. */
button, input, select, textarea, .button { font-family: var(--readable-font); }
:where(h1,h2,h3,h4,h5,h6), .logo, .eyebrow, .commands,
.community-footer strong, .community-table th, .garage-metric strong,
.metric strong, .connection-chip, .practice-result, .number {
    font-family: var(--pixel-font);
    letter-spacing: 0;
}
.logo, .community-nav .logo {
    font-size: clamp(28px,4vw,40px); font-weight: 700; font-style: normal;
    letter-spacing: 0; line-height: 1.15; text-shadow: 2px 2px 0 #674f2d;
    display: inline-block; max-width: 100%;
}
.logo span { text-shadow: 2px 2px 0 #45534d; }
.logo:hover { filter: brightness(1.13); }
.community-nav { padding-top: 24px; gap: 13px; border-bottom: 2px solid var(--line); }
.community-nav nav { gap: 5px 16px; }
.community-nav nav a:not(.button), .community-footer nav a, .rank-nav a { font-size: 16px; }
.community-nav .button { font-size: 15px; }
.community-main h1 { font-size: clamp(34px,5vw,56px); line-height: 1.1; letter-spacing: 0; overflow-wrap: anywhere; }
.community-main h2, .community-main h3, .garage-car-heading h3 { letter-spacing: 0; line-height: 1.2; overflow-wrap: anywhere; }
.community-main h2 { font-size: clamp(23px,3vw,30px); }
.community-main h3 { font-size: 22px; }
.eyebrow, .garage .garage-picker-label { font-size: 14px; letter-spacing: .08em; font-weight: 700; }
.lead { font-size: 19px; }
.article p, .community-card p { font-size: 17px; line-height: 1.65; }
.community-main .small, .small, .mini-label, .garage-combo-option .small { font-size: 14px; line-height: 1.45; }
.community-main label, .statline, .upgrade-row, .community-table, .history { font-size: 16px; }
.community-main button, .community-main .button, .community-card span { font-size: 15px; }
.community-main input:not([type=checkbox]), .community-main select, .community-main textarea { font-family: var(--readable-font); font-size: 16px; }
.garage .garage-combo-field input { font-family: var(--readable-font); font-size: 18px; }
.garage-combo-option strong { font-size: 16px; }
.garage-metric strong { font-family: var(--pixel-font); letter-spacing: 0; }
.garage .garage-stat-upgrade button, .garage-prestige-grid .prestige-rank button { font-size: 14px; }
/* Subtle arcade cabinet edges without interfering with page layout or advertising. */
.panel, .button, button, .table-scroll, .rank-nav, .garage-combo-field,
.garage-combo-results, .garage-metric, .track-art, .catalogue-art, .car-art-preview {
    border-radius: 3px;
}
.panel { box-shadow: 2px 2px 0 #101817; }
.button:not(.secondary), button:not(.secondary) { box-shadow: 2px 2px 0 #795d31; }
.button:active, button:active { box-shadow: none; }
.community-main .progress, .reward-progress, .garage-progress, .prestige-meter { border-radius: 2px; }
.community-footer strong { font-size: 15px; letter-spacing: .04em; }
@media(max-width:720px) {
    .community-nav nav { gap: 4px 13px; }
    .community-nav nav a:not(.button), .community-footer nav a { font-size: 15px; }
    .community-main h1 { font-size: clamp(30px,7vw,44px); }
    .community-main .small, .small { font-size: 13px; }
}
@media(max-width:480px) {
    .garage .garage-stat-upgrade button, .garage-prestige-grid .prestige-rank button { font-size: 12px; }
    .garage-combo-option .small { font-size: 12px; }
    .community-main label, .statline, .upgrade-row { font-size: 15px; }
    .garage-prestige-footer button { flex-shrink: 1; }
    .garage-prestige-grid .prestige-rank .small { white-space: normal; }
}
/* Christmas event and automatic latest-news homepage feature. */
.season-home-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:center}.season-home-grid img{display:block;width:100%;height:auto;border:1px solid #917a4b;border-radius:4px}.festive-news,.christmas-hero{border-color:#8a6d40;background:linear-gradient(125deg,#20392d,#1c2624);margin:20px 0 30px}.christmas-options{margin:20px 0}.christmas-options .panel{border-top:3px solid #bfab74}.christmas-progress{margin:22px 0}.christmas-rewards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:18px 0 26px}.christmas-reward{display:flex;flex-direction:column;align-items:flex-start;min-height:190px;gap:8px}.christmas-reward h3{margin:0;font-size:18px}.christmas-reward .small,.christmas-reward .christmas-earned,.christmas-reward form{margin-top:auto;margin-bottom:0}.christmas-reward.special{border-color:#ceac59;background:linear-gradient(145deg,#34432b,#252925)}.christmas-coin{display:grid;place-items:center;color:#4d3615;background:#efc66b;border:4px solid #aa7d32;box-shadow:2px 2px #131817;width:42px;height:42px;font:700 22px var(--pixel-font);border-radius:12px}.christmas-earned{color:#b5ee83;font-weight:700}.christmas-title{font:700 14px var(--pixel-font);color:#ffd58a}.christmas-reward img{object-fit:contain;image-rendering:pixelated;max-width:100%}.christmas-options button,.christmas-reward button{font-size:14px}@media(max-width:700px){.season-home-grid{grid-template-columns:1fr}.christmas-rewards{grid-template-columns:repeat(2,minmax(0,1fr))}.christmas-reward{padding:12px;min-height:185px}.christmas-reward button{padding:8px;font-size:12px}}
