:root {
--bg: #0b0f1a;
--surface: #141b2d;
--surface-hi: #1f2b49;
--border: #2e3d6b;
--ink: #edf1f8;
--muted: #9aa6c2;
--white: #ffffff;
--primary: #c43025;
--primary-dark: #9c2219;
--tier-coral: #ff7e72;
--accent: #f2b632;
--sign-green: #1f7a44;
--tier-orange: #e8892c;
--tier-blue: #4d88e8;
--tier-green: #6fd465;
}
:root {
--rg-bg: var(--bg);
--rg-surface: var(--surface);
--rg-surface-2: var(--surface-hi);
--rg-border: var(--border);
--rg-text: var(--ink);
--rg-muted: var(--muted);
--rg-primary: var(--primary);
--rg-primary-hover: var(--primary-dark);
--rg-accent: var(--accent);
--rg-sign: var(--sign-green);
--rg-radius: 12px;
--rg-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
--rg-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.36);
--rg-font-head: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
--rg-font-body: "Inter", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body.rg-site-body {
margin: 0;
background: var(--rg-bg);
color: var(--rg-text);
font-family: var(--rg-font-body);
font-size: 16px;
line-height: 1.6;
overflow-x: hidden;
}
img {
max-width: 100%;
height: auto;
display: block;
}
a {
color: var(--rg-accent);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
:focus-visible {
outline: 2px solid var(--rg-accent);
outline-offset: 2px;
}
.rg-wrap {
width: 100%;
max-width: 1120px;
margin: 0 auto;
padding: 0 20px;
}
.rg-header {
position: sticky;
top: 0;
z-index: 40;
background: rgba(11, 15, 26, 0.94);
backdrop-filter: blur(8px);
border-bottom: 1px solid var(--rg-border);
}
.rg-header-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 60px;
}
.rg-brand {
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--rg-text);
font-family: var(--rg-font-head);
font-weight: 700;
font-size: 20px;
letter-spacing: -0.01em;
}
.rg-brand:hover {
text-decoration: none;
}
.rg-brand-icon {
width: 34px;
height: 34px;
border-radius: 8px;
}
.rg-nav {
display: flex;
align-items: center;
gap: 20px;
}
.rg-nav-link {
color: var(--rg-muted);
font-size: 14px;
font-weight: 600;
padding: 6px 2px;
transition: color 0.15s ease;
}
.rg-nav-link:hover,
.rg-nav-link.is-active {
color: var(--rg-text);
text-decoration: none;
}
.rg-main {
padding-bottom: 64px;
}
.rg-hero {
padding: 20px 0 32px;
}
.rg-hero-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 14px;
flex-wrap: wrap;
}
.rg-h1-group {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.rg-h1 {
margin: 0;
font-family: var(--rg-font-head);
font-size: 36px;
line-height: 1.15;
font-weight: 700;
color: var(--rg-text);
letter-spacing: -0.02em;
}
.rg-sign-badge {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--rg-sign);
color: var(--white);
border: 2px solid var(--ink);
border-radius: 6px;
padding: 3px 10px;
font-family: var(--rg-font-head);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.04em;
box-shadow: var(--rg-shadow-sm);
}
.rg-milestone-strip {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: var(--rg-muted);
}
.rg-ms-pip {
width: 10px;
height: 14px;
border-radius: 4px 4px 2px 2px;
background: var(--rg-surface-2);
border: 1px solid var(--rg-border);
}
.rg-ms-pip.p1 { background: var(--surface-hi); }
.rg-ms-pip.p2 { background: var(--primary); }
.rg-ms-pip.p3 { background: var(--tier-orange); }
.rg-ms-pip.p4 { background: var(--sign-green); }
.rg-ms-pip.p5 { background: var(--tier-blue); }
.rg-stage-area {
position: relative;
}
.rg-stage-shell {
background: var(--rg-surface);
border: 1px solid var(--rg-border);
border-radius: var(--rg-radius);
box-shadow: var(--rg-shadow-lg);
overflow: hidden;
}
.rg-ad-slot {
margin-top: 20px;
width: 100%;
display: flex;
justify-content: center;
align-items: flex-start;
overflow: hidden;
}
.rg-ad-slot > div {
max-width: 100%;
}
@media (min-width: 1560px) {
.rg-ad-slot {
position: absolute;
top: 0;
left: calc(100% + 20px);
width: min(300px, calc((100vw - 1120px) / 2 - 36px));
margin-top: 0;
min-height: 250px;
}
}
.rg-stage {
position: relative;
width: 100%;
aspect-ratio: 16 / 10;
min-height: 540px;
max-height: 76vh;
background: var(--bg);
overflow: hidden;
}
.rg-stage iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: 0;
display: block;
}
.rg-stage[data-gf-fs="1"] {
width: 100vw;
height: 100vh;
max-height: none;
border-radius: 0;
}
[hidden] {
display: none !important;
}
.rg-cover {
position: absolute;
inset: 0;
z-index: 3;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
}
.rg-stage[data-gf-state="loading"] .rg-cover,
.rg-stage[data-gf-state="playing"] .rg-cover,
.rg-stage[data-gf-state="playing"] .rg-loader {
display: none !important;
}
.rg-cover-img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.rg-cover-panel {
position: relative;
z-index: 2;
background: rgba(11, 15, 26, 0.88);
border: 1px solid var(--border);
border-radius: var(--rg-radius);
padding: 24px 32px;
text-align: center;
max-width: 460px;
width: calc(100% - 32px);
box-shadow: var(--rg-shadow-lg);
}
.rg-cover-kicker {
font-family: var(--rg-font-head);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.1em;
color: var(--rg-accent);
text-transform: uppercase;
margin-bottom: 6px;
}
.rg-cover-lead {
margin: 0 0 18px;
font-size: 16px;
color: var(--rg-text);
}
.rg-btn-play {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 48px;
padding: 12px 28px;
background: var(--rg-primary);
color: var(--white);
border: 0;
border-radius: 10px;
font-family: var(--rg-font-head);
font-size: 18px;
font-weight: 700;
letter-spacing: 0.03em;
cursor: pointer;
box-shadow: 0 4px 0 var(--primary-dark), var(--rg-shadow-sm);
transition: background 0.15s ease, transform 0.1s ease;
}
.rg-btn-play:hover {
background: var(--rg-primary-hover);
}
.rg-btn-play:active {
transform: translateY(2px);
}
.rg-cover-meta {
margin-top: 12px;
font-size: 13px;
color: var(--rg-muted);
}
.rg-loader {
position: absolute;
inset: 0;
z-index: 4;
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
background: var(--bg);
color: var(--rg-text);
}
.rg-stage[data-gf-state="loading"] .rg-loader {
display: flex;
}
.rg-loader-road {
width: 220px;
height: 12px;
border-radius: 6px;
background: var(--surface-hi);
border: 1px solid var(--border);
overflow: hidden;
position: relative;
}
.rg-loader-dashes {
position: absolute;
inset: 3px -60px 3px 0;
background: repeating-linear-gradient(
to right,
var(--rg-accent) 0 18px,
transparent 18px 34px
);
animation: rgHighwayScroll 0.65s linear infinite;
}
@keyframes rgHighwayScroll {
from { transform: translateX(0); }
to { transform: translateX(-34px); }
}
.rg-loader-text {
font-family: var(--rg-font-head);
font-size: 18px;
font-weight: 700;
color: var(--rg-accent);
letter-spacing: 0.04em;
}
.rg-exit-fs {
position: absolute;
top: 12px;
right: 12px;
z-index: 20;
min-height: 40px;
padding: 8px 14px;
background: rgba(11, 15, 26, 0.9);
color: var(--white);
border: 1px solid var(--rg-border);
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
}
.rg-action-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 16px;
background: var(--rg-surface-2);
border-top: 1px solid var(--rg-border);
flex-wrap: wrap;
}
.rg-action-group {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.rg-btn-tool {
display: inline-flex;
align-items: center;
gap: 7px;
min-height: 44px;
padding: 8px 14px;
background: var(--rg-surface);
color: var(--rg-text);
border: 1px solid var(--rg-border);
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease;
}
.rg-btn-tool:hover {
border-color: var(--rg-accent);
background: var(--surface-hi);
text-decoration: none;
}
.rg-btn-tool[data-gf-liked],
.rg-btn-tool[aria-pressed="true"] {
border-color: var(--rg-primary);
background: rgba(196, 48, 37, 0.2);
color: var(--tier-coral);
}
.rg-btn-fs {
background: var(--rg-primary);
border-color: var(--rg-primary);
color: var(--white);
}
.rg-btn-fs:hover {
background: var(--rg-primary-hover);
border-color: var(--rg-primary-hover);
}
.rg-share-msg {
font-size: 13px;
color: var(--rg-accent);
min-height: 18px;
}
.rg-section {
padding: 48px 0 0;
}
.rg-sec-head {
margin-bottom: 24px;
}
.rg-sec-kicker {
display: inline-block;
font-family: var(--rg-font-head);
font-size: 12px;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--rg-accent);
margin-bottom: 6px;
}
.rg-h2 {
margin: 0;
font-family: var(--rg-font-head);
font-size: 28px;
line-height: 1.2;
font-weight: 700;
color: var(--rg-text);
}
.rg-prose p {
margin: 0 0 16px;
max-width: 70ch;
color: var(--rg-muted);
font-size: 16px;
}
.rg-prose strong {
color: var(--rg-text);
}
.rg-split-grid {
display: grid;
grid-template-columns: 1fr 1.15fr;
gap: 32px;
align-items: center;
}
.rg-figure {
margin: 0;
background: var(--rg-surface);
border: 1px solid var(--rg-border);
border-radius: var(--rg-radius);
padding: 12px;
box-shadow: var(--rg-shadow-sm);
}
.rg-figure figcaption {
margin-top: 10px;
font-size: 13px;
color: var(--rg-muted);
}
.rg-howto-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 28px;
align-items: start;
}
.rg-steps {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 16px;
}
.rg-step {
display: grid;
grid-template-columns: 40px 1fr;
gap: 14px;
padding: 16px;
background: var(--rg-surface);
border: 1px solid var(--rg-border);
border-radius: var(--rg-radius);
}
.rg-step-num {
width: 40px;
height: 40px;
border-radius: 10px;
background: var(--rg-surface-2);
border: 1px solid var(--rg-border);
color: var(--rg-accent);
font-family: var(--rg-font-head);
font-size: 18px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
}
.rg-step h3 {
margin: 0 0 4px;
font-family: var(--rg-font-head);
font-size: 18px;
line-height: 1.25;
color: var(--rg-text);
}
.rg-step p {
margin: 0;
font-size: 15px;
color: var(--rg-muted);
}
.rg-table-card {
background: var(--rg-surface);
border: 1px solid var(--rg-border);
border-radius: var(--rg-radius);
padding: 20px;
box-shadow: var(--rg-shadow-sm);
}
.rg-table-card h3 {
margin: 0 0 12px;
font-family: var(--rg-font-head);
font-size: 18px;
color: var(--rg-text);
}
.rg-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
.rg-table th,
.rg-table td {
padding: 10px 8px;
text-align: left;
border-bottom: 1px solid var(--rg-border);
}
.rg-table th {
color: var(--rg-muted);
font-weight: 600;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.rg-table tr:last-child td {
border-bottom: 0;
}
.rg-tier-tag {
display: inline-block;
padding: 3px 9px;
border-radius: 6px;
color: var(--white);
font-family: var(--rg-font-head);
font-size: 12px;
font-weight: 700;
}
.rg-tier-tag.t5 { background: var(--tier-blue); }
.rg-tier-tag.t4 { background: var(--sign-green); }
.rg-tier-tag.t3 { background: var(--tier-orange); }
.rg-tier-tag.t2 { background: var(--primary); }
.rg-tier-tag.t1 { background: var(--surface-hi); }
.rg-tier-tag.t0 { background: var(--surface-hi); color: var(--muted); }
.rg-controls-note {
margin: 14px 0 0;
padding-top: 12px;
border-top: 1px solid var(--rg-border);
font-size: 14px;
color: var(--rg-muted);
}
.rg-bento-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.rg-bento-card {
background: var(--rg-surface);
border: 1px solid var(--rg-border);
border-radius: var(--rg-radius);
padding: 20px 22px;
box-shadow: var(--rg-shadow-sm);
}
.rg-bento-card h3 {
margin: 0 0 8px;
font-family: var(--rg-font-head);
font-size: 19px;
color: var(--rg-text);
}
.rg-bento-card p {
margin: 0;
font-size: 15px;
color: var(--rg-muted);
}
.rg-faq-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.rg-faq-item {
background: var(--rg-surface);
border: 1px solid var(--rg-border);
border-radius: var(--rg-radius);
overflow: hidden;
}
.rg-faq-item summary {
padding: 16px 20px;
font-family: var(--rg-font-head);
font-size: 17px;
font-weight: 700;
color: var(--rg-text);
cursor: pointer;
list-style: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.rg-faq-item summary::-webkit-details-marker {
display: none;
}
.rg-faq-item summary::after {
content: "+";
color: var(--rg-accent);
font-size: 22px;
line-height: 1;
}
.rg-faq-item[open] summary::after {
content: "−";
}
.rg-faq-body {
padding: 0 20px 18px;
color: var(--rg-muted);
font-size: 15px;
max-width: 72ch;
}
.rg-comments-box {
background: var(--rg-surface);
border: 1px solid var(--rg-border);
border-radius: var(--rg-radius);
padding: 24px;
}
.rg-comment-form {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 24px;
}
.rg-reply-bar {
display: none;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
background: var(--rg-surface-2);
border-radius: 8px;
font-size: 13px;
color: var(--rg-accent);
}
.rg-comment-form[data-gf-replying] .rg-reply-bar {
display: flex;
}
.rg-input,
.rg-textarea {
width: 100%;
background: var(--bg);
color: var(--rg-text);
border: 1px solid var(--rg-border);
border-radius: 8px;
padding: 12px 14px;
font-family: var(--rg-font-body);
font-size: 15px;
}
.rg-textarea {
min-height: 92px;
resize: vertical;
}
.rg-comment-submit-row {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.rg-btn-submit {
min-height: 44px;
padding: 10px 22px;
background: var(--rg-primary);
color: var(--white);
border: 0;
border-radius: 8px;
font-family: var(--rg-font-head);
font-size: 15px;
font-weight: 700;
cursor: pointer;
}
.rg-btn-submit:hover {
background: var(--rg-primary-hover);
}
.rg-comment-msg {
font-size: 14px;
color: var(--rg-accent);
}
.rg-comments-list {
display: flex;
flex-direction: column;
gap: 14px;
}
.rg-comments-list[data-gf-empty]::before {
content: "No road trip notes yet — share your best mileage or rarest Open Road answer above!";
display: block;
padding: 18px;
text-align: center;
color: var(--rg-muted);
background: var(--bg);
border: 1px dashed var(--rg-border);
border-radius: 8px;
font-size: 15px;
}
.rg-comment-item {
padding: 14px 16px;
background: var(--bg);
border: 1px solid var(--rg-border);
border-radius: 10px;
}
.rg-comment-item[data-gf-owner] {
border-color: var(--rg-accent);
background: rgba(242, 182, 50, 0.06);
}
.rg-comment-head {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 6px;
flex-wrap: wrap;
}
.rg-c-name {
font-weight: 700;
color: var(--rg-text);
font-size: 15px;
}
.rg-c-owner {
font-size: 12px;
font-weight: 700;
padding: 2px 8px;
border-radius: 99px;
background: var(--rg-accent);
color: var(--surface);
}
.rg-c-time {
font-size: 12px;
color: var(--rg-muted);
}
.rg-c-to {
font-size: 13px;
color: var(--rg-accent);
margin-right: 6px;
}
.rg-c-text {
margin: 0 0 8px;
font-size: 15px;
color: var(--rg-text);
white-space: pre-wrap;
word-break: break-word;
}
.rg-c-reply-btn,
.rg-reply-cancel {
background: transparent;
border: 1px solid var(--rg-border);
color: var(--rg-muted);
border-radius: 6px;
padding: 4px 10px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
}
.rg-c-reply-btn:hover,
.rg-reply-cancel:hover {
color: var(--rg-text);
border-color: var(--rg-accent);
}


.rg-c-replies {
margin-top: 12px;
padding-left: 16px;
border-left: 2px solid var(--rg-border);
display: flex;
flex-direction: column;
gap: 10px;
}
.rg-page-wrap {
padding: 36px 0 48px;
}
.rg-breadcrumb {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
color: var(--rg-muted);
margin-bottom: 16px;
}
.rg-article {
background: var(--rg-surface);
border: 1px solid var(--rg-border);
border-radius: var(--rg-radius);
padding: 32px;
}
.rg-article h1 {
margin: 0 0 18px;
font-family: var(--rg-font-head);
font-size: 34px;
line-height: 1.2;
}
.rg-article h2 {
margin: 28px 0 10px;
font-family: var(--rg-font-head);
font-size: 22px;
color: var(--rg-text);
}
.rg-article p,
.rg-article li {
color: var(--rg-muted);
max-width: 72ch;
}
.rg-article strong {
color: var(--rg-text);
}
.rg-footer {
border-top: 1px solid var(--rg-border);
background: var(--bg);
padding: 32px 0 28px;
}
.rg-footer-top {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
flex-wrap: wrap;
margin-bottom: 20px;
}
.rg-footer-brand {
font-family: var(--rg-font-head);
font-size: 18px;
font-weight: 700;
color: var(--rg-text);
margin-bottom: 6px;
}
.rg-footer-desc {
margin: 0;
max-width: 48ch;
font-size: 14px;
color: var(--rg-muted);
}
.rg-footer-nav {
display: flex;
gap: 18px;
flex-wrap: wrap;
font-size: 14px;
}
.rg-footer-bottom {
padding-top: 16px;
border-top: 1px solid rgba(38, 51, 84, 0.6);
display: flex;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
font-size: 13px;
color: var(--rg-muted);
}
@media (max-width: 860px) {
.rg-split-grid,
.rg-howto-grid,
.rg-bento-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.rg-wrap {
padding: 0 14px;
}
.rg-header-inner {
min-height: 54px;
}
.rg-nav {
gap: 12px;
}
.rg-nav-link {
font-size: 13px;
}
.rg-h1 {
font-size: 28px;
}
.rg-stage {
aspect-ratio: 4 / 5;
min-height: 500px;
max-height: 78vh;
}
.rg-cover-panel {
padding: 20px 18px;
}
.rg-btn-play,
.rg-btn-fs {
width: 100%;
justify-content: center;
}
.rg-action-bar {
flex-direction: column;
align-items: stretch;
}
.rg-article {
padding: 22px 18px;
}
}
:root {
--panel: var(--surface);
--panel-2: var(--surface-hi);
--line: var(--border);
--text: var(--ink);
--red: var(--primary);
--red-dark: var(--primary-dark);
--gold: var(--accent);
--blue: var(--tier-blue);
--green-sign: var(--sign-green);
--t0: var(--muted);
--t1: var(--surface-hi);
--t2: var(--primary);
--t3: var(--tier-orange);
--t4: var(--sign-green);
--t5: var(--tier-blue);
--font-pixel: "VT323", "Courier New", ui-monospace, Menlo, monospace;
}
body.rd-embed-body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: var(--bg);
color: var(--text);
font-family: var(--font-pixel);
-webkit-font-smoothing: none;
user-select: none;
}
body.rd-embed-body button, body.rd-embed-body input {
font-family: var(--font-pixel);
}
.is-hidden {
display: none !important;
}
.app {
position: relative;
width: 100vw;
height: 100dvh;
overflow: hidden;
background: var(--bg);
}
.road-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
.crt-scanlines {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 2;
background: repeating-linear-gradient(
to bottom,
rgba(0, 0, 0, 0) 0px,
rgba(0, 0, 0, 0) 2px,
rgba(10, 14, 30, 0.08) 3px,
rgba(10, 14, 30, 0.08) 4px
);
}
.low-fuel-vignette {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 3;
opacity: 0;
box-shadow: inset 0 0 90px rgba(196, 48, 37, 0.72);
transition: opacity 0.2s ease;
}
.low-fuel-vignette.is-active {
animation: pulseReserve 0.75s ease-in-out infinite;
}
@keyframes pulseReserve {
0%, 100% { opacity: 0.28; }
50% { opacity: 0.92; }
}
.hud {
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
width: min(500px, calc(100vw - 16px));
z-index: 10;
display: flex;
flex-direction: column;
gap: 8px;
pointer-events: none;
}
.hud-top {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 10px;
}
.odometer {
display: inline-flex;
align-items: baseline;
gap: 4px;
background: var(--bg);
border: 2px solid var(--surface-hi);
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45), inset 0 2px 6px rgba(0, 0, 0, 0.8);
padding: 5px 8px 4px;
border-radius: 3px;
}
.odo-digits {
display: flex;
gap: 3px;
}
.odo-digit {
display: inline-flex;
align-items: center;
justify-content: center;
width: 17px;
height: 26px;
background: linear-gradient(180deg, var(--surface) 0%, var(--surface-hi) 50%, var(--surface) 100%);
border: 1px solid var(--border);
color: var(--ink);
font-size: 24px;
line-height: 1;
text-shadow: 0 1px 0 var(--bg);
}
.odo-unit {
font-size: 15px;
color: var(--muted);
text-transform: lowercase;
}
.milestones {
display: flex;
justify-content: center;
align-items: flex-end;
gap: 5px;
}
.borne {
width: 22px;
height: 30px;
display: flex;
flex-direction: column;
align-items: center;
background: var(--muted);
border: 2px solid var(--surface);
border-radius: 9px 9px 2px 2px;
overflow: hidden;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
transition: transform 0.18s ease, background 0.2s ease;
}
.borne-cap {
width: 100%;
height: 9px;
background: var(--muted);
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
.borne-num {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
color: var(--surface);
font-size: 16px;
line-height: 1;
}
.borne.is-current {
background: var(--ink);
transform: translateY(-2px) scale(1.08);
box-shadow: 0 0 0 2px var(--gold), 0 3px 0 rgba(0, 0, 0, 0.5);
}
.borne.is-current .borne-cap {
background: var(--red);
}
.borne.tier-0 { background: var(--muted); }
.borne.tier-0 .borne-cap { background: var(--surface-hi); }
.borne.tier-1 .borne-cap { background: var(--t1); }
.borne.tier-2 .borne-cap { background: var(--t2); }
.borne.tier-3 .borne-cap { background: var(--t3); }
.borne.tier-4 .borne-cap { background: var(--t4); }
.borne.tier-5 .borne-cap { background: var(--t5); }
.borne.tier-1, .borne.tier-2, .borne.tier-3, .borne.tier-4, .borne.tier-5 {
background: var(--ink);
}
.highway-sign {
background: var(--green-sign);
border: 2px solid var(--ink);
outline: 2px solid var(--sign-green);
border-radius: 3px;
padding: 3px 9px 2px;
text-align: right;
min-width: 106px;
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.42);
}
.sign-dest {
font-size: 13px;
letter-spacing: 0.06em;
color: var(--ink);
line-height: 1;
white-space: nowrap;
}
.sign-dist {
font-size: 25px;
line-height: 1;
color: var(--white);
letter-spacing: 0.02em;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.hud-subrow {
display: grid;
grid-template-columns: 34px 1fr 34px;
align-items: center;
gap: 8px;
pointer-events: auto;
}
.hud-btn {
width: 34px;
height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(28, 36, 71, 0.92);
color: var(--text);
border: 2px solid var(--line);
border-radius: 3px;
font-size: 18px;
cursor: pointer;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
transition: background 0.15s ease, transform 0.1s ease;
}
.hud-btn:hover {
background: var(--surface-hi);
}
.hud-btn:active {
transform: translateY(1px);
}
.route-strip {
height: 30px;
display: flex;
align-items: center;
gap: 8px;
padding: 0 10px;
background: rgba(20, 26, 51, 0.88);
border: 2px solid var(--line);
border-radius: 3px;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.strip-code {
font-size: 15px;
letter-spacing: 0.06em;
color: var(--ink);
white-space: nowrap;
}
.strip-track {
position: relative;
flex: 1;
height: 16px;
display: flex;
align-items: center;
}
.strip-track::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 2px;
transform: translateY(-50%);
background: repeating-linear-gradient(
to right,
rgba(243, 239, 228, 0.55) 0 4px,
transparent 4px 8px
);
}
.strip-dots {
position: absolute;
inset: 0;
}
.strip-dot {
position: absolute;
top: 50%;
width: 6px;
height: 6px;
transform: translate(-50%, -50%);
background: var(--muted);
border: 1px solid var(--surface);
}
.strip-dot.is-passed {
background: var(--red);
}
.strip-car {
position: absolute;
top: 50%;
left: 0%;
transform: translate(-50%, -54%);
width: 24px;
height: 14px;
z-index: 2;
transition: left 0.12s linear;
}
.strip-car canvas {
width: 24px;
height: 14px;
image-rendering: pixelated;
display: block;
}
.city-toast {
position: absolute;
top: 162px;
left: 50%;
transform: translate(-50%, -10px);
z-index: 12;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 4px 14px;
background: var(--ink);
color: var(--surface);
border: 3px solid var(--primary);
outline: 2px solid var(--surface);
font-size: 20px;
letter-spacing: 0.04em;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease, transform 0.25s ease;
white-space: nowrap;
max-width: calc(100vw - 24px);
overflow: hidden;
text-overflow: ellipsis;
}
.city-toast.is-visible {
opacity: 1;
transform: translate(-50%, 0);
}
.city-toast-name {
font-weight: 700;
text-transform: uppercase;
}
.city-toast-tag {
color: var(--border);
font-size: 18px;
}
.stage-layer {
position: relative;
z-index: 8;
width: 100%;
height: 100%;
pointer-events: none;
}
.pixel-card {
pointer-events: auto;
background: rgba(20, 26, 51, 0.95);
border: 2px solid var(--line);
box-shadow: 0 10px 28px rgba(4, 7, 18, 0.65), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
clip-path: polygon(
4px 0, calc(100% - 4px) 0,
100% 4px, 100% calc(100% - 4px),
calc(100% - 4px) 100%, 4px 100%,
0 calc(100% - 4px), 0 4px
);
}
.kicker {
color: var(--red);
font-size: 17px;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.gold {
color: var(--gold);
}
.garage-card {
position: absolute;
left: 50%;
bottom: max(22px, 5vh);
transform: translateX(-50%);
width: min(470px, calc(100vw - 20px));
padding: 20px 22px 16px;
text-align: center;
}
.brand-logo {
margin: 2px 0 0;
font-size: 64px;
line-height: 0.9;
letter-spacing: 0.08em;
color: var(--gold);
text-shadow: 0 4px 0 var(--tier-orange), 4px 4px 0 var(--bg);
}
.brand-edition {
margin-top: 2px;
font-size: 21px;
letter-spacing: 0.24em;
color: var(--red);
}
.route-title {
margin-top: 4px;
font-size: 24px;
color: var(--text);
}
.route-sub {
font-size: 17px;
color: var(--muted);
margin-top: 1px;
}
.tagline {
margin: 8px 0 12px;
font-size: 22px;
color: var(--text);
}
.car-picker-label {
font-size: 15px;
letter-spacing: 0.16em;
color: var(--muted);
margin-bottom: 8px;
}
.car-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
margin-bottom: 14px;
}
.car-option {
background: rgba(28, 36, 71, 0.72);
border: 2px solid var(--line);
padding: 8px 4px 6px;
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
cursor: pointer;
color: var(--muted);
transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.car-option:hover {
background: rgba(45, 58, 110, 0.65);
color: var(--text);
}
.car-option.is-selected {
border-color: var(--gold);
background: rgba(242, 182, 50, 0.12);
color: var(--text);
box-shadow: inset 0 0 0 1px var(--gold);
}
.car-option canvas {
width: 64px;
height: 36px;
image-rendering: pixelated;
display: block;
}
.car-option-name {
font-size: 15px;
line-height: 1.05;
text-align: center;
}
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
background: var(--red);
color: var(--white);
border: none;
padding: 11px 20px 13px;
font-size: 26px;
letter-spacing: 0.14em;
text-transform: uppercase;
cursor: pointer;
box-shadow: inset 0 -4px 0 var(--red-dark), 0 4px 0 rgba(0, 0, 0, 0.4);
clip-path: polygon(
4px 0, calc(100% - 4px) 0,
100% 4px, 100% calc(100% - 4px),
calc(100% - 4px) 100%, 4px 100%,
0 calc(100% - 4px), 0 4px
);
transition: filter 0.12s ease, transform 0.08s ease;
}
.btn-primary:hover:not(:disabled) {
filter: brightness(1.08);
}
.btn-primary:active:not(:disabled) {
transform: translateY(2px);
box-shadow: inset 0 -2px 0 var(--red-dark);
}
.btn-primary:disabled {
background: var(--surface-hi);
color: var(--ink);
box-shadow: inset 0 -4px 0 var(--surface);
cursor: default;
}
.btn-ignition, .btn-share, .btn-next, .btn-full {
width: 100%;
}
.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
background: var(--panel-2);
color: var(--text);
border: 2px solid var(--line);
padding: 9px 12px;
font-size: 20px;
letter-spacing: 0.08em;
text-transform: uppercase;
cursor: pointer;
box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3);
}
.btn-secondary:hover {
background: var(--surface-hi);
border-color: var(--border);
}
.btn-ghost {
background: transparent;
color: var(--muted);
border: 1px solid var(--line);
padding: 7px 12px;
font-size: 18px;
letter-spacing: 0.08em;
text-transform: uppercase;
cursor: pointer;
}
.btn-ghost:hover {
color: var(--text);
border-color: var(--muted);
}
.garage-links {
margin-top: 12px;
display: flex;
justify-content: center;
gap: 18px;
flex-wrap: wrap;
}
.link-btn {
background: none;
border: none;
color: var(--muted);
font-size: 19px;
cursor: pointer;
padding: 2px 4px;
}
.link-btn:hover {
color: var(--text);
text-decoration: underline;
}
.link-gold {
color: var(--gold);
}


.question-card {
position: absolute;
top: 98px;
left: 50%;
transform: translateX(-50%);
width: min(470px, calc(100vw - 20px));
padding: 14px 18px;
transition: padding 0.2s ease;
}
.question-card.is-compact {
padding: 10px 18px;
}
.q-kicker-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 4px;
}
.q-cat {
font-size: 15px;
letter-spacing: 0.12em;
color: var(--muted);
}
.q-prompt {
margin: 0;
font-size: 29px;
line-height: 1.08;
font-weight: 400;
color: var(--white);
}
.q-feedback {
margin-top: 8px;
min-height: 22px;
font-size: 19px;
color: var(--tier-coral);
}
.q-answer-row {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
margin-top: 10px;
}
.question-card.is-compact .q-answer-row {
margin-top: 0;
}
.q-your-answer {
font-size: 31px;
line-height: 1;
color: var(--gold);
}
.q-your-answer.tier-0 { color: var(--t0); }
.q-your-answer.tier-1 { color: var(--muted); }
.q-your-answer.tier-2 { color: var(--tier-coral); }
.q-your-answer.tier-3 { color: var(--tier-orange); }
.q-your-answer.tier-4 { color: var(--tier-green); }
.q-your-answer.tier-5 { color: var(--tier-blue); }
.q-earned {
font-size: 28px;
color: var(--gold);
white-space: nowrap;
}
.q-examples {
margin-top: 10px;
padding-top: 9px;
border-top: 1px solid rgba(154, 163, 199, 0.22);
display: flex;
flex-direction: column;
gap: 4px;
font-size: 19px;
line-height: 1.15;
}
.ex-label {
color: var(--muted);
}
.ex-values {
color: var(--text);
}
.ex-rare {
color: var(--tier-blue);
}
.drive-stamp {
position: absolute;
left: 50%;
top: 56%;
transform: translate(-50%, -50%);
z-index: 9;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
pointer-events: none;
animation: stampPop 0.34s cubic-bezier(0.22, 1.4, 0.36, 1);
}
@keyframes stampPop {
0% { opacity: 0; transform: translate(-50%, -50%) scale(1.45) rotate(-8deg); }
100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}
.stamp-badge {
background: var(--t5);
color: var(--white);
font-size: 40px;
line-height: 1;
letter-spacing: 0.08em;
padding: 5px 18px 6px;
transform: rotate(-3.5deg);
border: 2px solid rgba(255, 255, 255, 0.25);
box-shadow: 0 5px 0 rgba(0, 0, 0, 0.45);
text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.stamp-badge.tier-0 { background: var(--surface-hi); }
.stamp-badge.tier-1 { background: var(--t1); }
.stamp-badge.tier-2 { background: var(--t2); }
.stamp-badge.tier-3 { background: var(--t3); }
.stamp-badge.tier-4 { background: var(--t4); }
.stamp-badge.tier-5 { background: var(--t5); }
.stamp-bars {
display: flex;
align-items: flex-end;
gap: 4px;
padding: 3px 6px;
background: rgba(14, 18, 38, 0.82);
border: 1px solid var(--line);
}
.sbar {
width: 18px;
background: var(--surface-hi);
border: 1px solid var(--border);
}
.sbar:nth-child(1) { height: 8px; }
.sbar:nth-child(2) { height: 12px; }
.sbar:nth-child(3) { height: 16px; }
.sbar:nth-child(4) { height: 20px; }
.sbar:nth-child(5) { height: 24px; }
.sbar.is-lit.t1 { background: var(--t1); border-color: var(--muted); }
.sbar.is-lit.t2 { background: var(--t2); border-color: var(--tier-coral); }
.sbar.is-lit.t3 { background: var(--t3); border-color: var(--tier-orange); }
.sbar.is-lit.t4 { background: var(--t4); border-color: var(--tier-green); }
.sbar.is-lit.t5 { background: var(--t5); border-color: var(--tier-blue); }
.stamp-sub {
background: rgba(14, 18, 38, 0.9);
color: var(--text);
padding: 3px 12px;
font-size: 19px;
letter-spacing: 0.03em;
border: 1px solid rgba(255, 255, 255, 0.14);
}
.bottom-controls {
position: absolute;
left: 50%;
bottom: max(18px, 3vh);
transform: translateX(-50%);
width: min(470px, calc(100vw - 20px));
z-index: 10;
pointer-events: auto;
}
.input-cluster {
display: flex;
flex-direction: column;
gap: 8px;
}
.fuel-bar {
display: flex;
align-items: center;
gap: 8px;
background: rgba(14, 18, 38, 0.94);
border: 2px solid var(--line);
padding: 5px 10px;
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}
.fuel-icon {
font-size: 18px;
line-height: 1;
}
.fuel-cells {
flex: 1;
display: grid;
grid-template-columns: repeat(20, 1fr);
gap: 3px;
}
.fuel-cell {
height: 14px;
background: var(--gold);
box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28);
transition: opacity 0.15s ease, background 0.15s ease;
}
.fuel-cell.is-reserve {
background: var(--red);
}
.fuel-cell.is-empty {
background: var(--surface-hi);
opacity: 0.55;
box-shadow: none;
}
.fuel-seconds {
min-width: 24px;
text-align: right;
font-size: 22px;
color: var(--text);
}
.fuel-bar.is-low .fuel-seconds {
color: var(--tier-coral);
}
.answer-form {
display: grid;
grid-template-columns: 1fr auto;
gap: 8px;
}
.answer-input {
width: 100%;
background: rgba(14, 18, 38, 0.96);
color: var(--white);
border: 2px solid var(--tier-blue);
padding: 10px 14px;
font-size: 26px;
outline: none;
box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.65);
}
.answer-input::placeholder {
color: var(--muted);
}
.answer-input:focus {
border-color: var(--gold);
}
.answer-input.is-shaking {
border-color: var(--red);
animation: shake 0.34s ease;
}
@keyframes shake {
0%, 100% { transform: translateX(0); }
20% { transform: translateX(-7px); }
40% { transform: translateX(7px); }
60% { transform: translateX(-5px); }
80% { transform: translateX(5px); }
}
.btn-drive {
min-width: 112px;
padding: 10px 18px 12px;
}
.done-card {
position: absolute;
top: 98px;
bottom: 14px;
left: 50%;
transform: translateX(-50%);
width: min(470px, calc(100vw - 20px));
display: flex;
flex-direction: column;
z-index: 20;
}
.done-scroll {
overflow-y: auto;
padding: 18px 20px 20px;
text-align: center;
scrollbar-width: thin;
scrollbar-color: var(--line) var(--ink);
}
.done-title {
margin: 2px 0 0;
font-size: 54px;
line-height: 0.92;
letter-spacing: 0.08em;
color: var(--gold);
text-shadow: 0 3px 0 var(--tier-orange);
}
.done-title.is-arrival {
color: var(--tier-green);
text-shadow: 0 3px 0 var(--sign-green);
}
.done-score {
margin-top: 6px;
font-size: 38px;
line-height: 1;
}
.done-score-num {
color: var(--gold);
}
.done-score-den {
color: var(--muted);
font-size: 26px;
}
.done-summary {
margin: 8px 0 14px;
font-size: 20px;
line-height: 1.2;
color: var(--text);
}
.vs-box {
background: rgba(14, 18, 38, 0.72);
border: 1px solid var(--line);
padding: 12px 14px 10px;
margin-bottom: 12px;
}
.vs-kicker {
font-size: 14px;
letter-spacing: 0.16em;
color: var(--muted);
}
.vs-headline {
margin-top: 4px;
font-size: 24px;
line-height: 1.1;
color: var(--gold);
}
.vs-sub {
margin-top: 2px;
font-size: 17px;
color: var(--muted);
}
.histogram {
margin-top: 12px;
height: 76px;
display: grid;
grid-template-columns: repeat(6, 1fr);
align-items: end;
gap: 5px;
border-bottom: 1px solid var(--line);
padding: 18px 2px 0;
}
.hist-bar {
position: relative;
background: var(--border);
min-height: 4px;
transition: height 0.45s ease;
}
.hist-bar.is-you {
background: var(--gold);
border: 1px solid var(--ink);
}
.hist-bar.is-you::before {
content: "you";
position: absolute;
bottom: calc(100% + 2px);
left: 50%;
transform: translateX(-50%);
color: var(--gold);
font-size: 15px;
line-height: 1;
}
.hist-axis {
display: flex;
justify-content: space-between;
margin-top: 4px;
font-size: 14px;
color: var(--muted);
}
.map-box {
margin: 4px 0 10px;
display: flex;
justify-content: center;
}
.usa-map-svg {
width: 248px;
height: auto;
display: block;
}
.map-land {
fill: var(--surface-hi);
stroke: var(--border);
stroke-width: 1.5;
}
.map-grid {
fill: none;
stroke: rgba(154, 163, 199, 0.14);
stroke-width: 1;
}
.breakdown-list {
display: flex;
flex-direction: column;
margin: 6px 0 14px;
text-align: left;
}
.bd-row {
display: grid;
grid-template-columns: 20px 1fr auto 46px;
align-items: center;
gap: 8px;
padding: 6px 2px;
border-bottom: 1px dashed rgba(154, 163, 199, 0.22);
font-size: 19px;
}
.bd-tile {
width: 15px;
height: 15px;
border-radius: 2px;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.bd-tile.tier-0 { background: var(--t0); }
.bd-tile.tier-1 { background: var(--t1); }
.bd-tile.tier-2 { background: var(--t2); }
.bd-tile.tier-3 { background: var(--t3); }
.bd-tile.tier-4 { background: var(--t4); }
.bd-tile.tier-5 { background: var(--t5); }
.bd-label {
color: var(--muted);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.bd-ans {
color: var(--text);
text-align: right;
max-width: 185px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.bd-mi {
color: var(--gold);
text-align: right;
}
.done-secondary-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-top: 8px;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
margin-top: 14px;
padding-top: 12px;
border-top: 1px solid var(--line);
}
.stat-cell {
display: flex;
flex-direction: column;
align-items: center;
}
.stat-cell strong {
font-size: 32px;
line-height: 1;
color: var(--white);
font-weight: 400;
}
.stat-cell span {
font-size: 14px;
letter-spacing: 0.08em;
color: var(--muted);
}
.next-countdown {
margin-top: 12px;
font-size: 18px;
color: var(--muted);
}
.modal-overlay {
position: absolute;
inset: 0;
z-index: 30;
background: rgba(8, 11, 24, 0.72);
display: flex;
align-items: center;
justify-content: center;
padding: 14px;
}
.menu-card {
width: min(460px, 100%);
max-height: calc(100dvh - 36px);
display: flex;
flex-direction: column;
padding: 16px 18px 18px;
}
.menu-tabs {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 14px;
}
.menu-tab {
background: rgba(28, 36, 71, 0.65);
color: var(--muted);
border: 2px solid var(--line);
padding: 7px 10px;
font-size: 22px;
cursor: pointer;
}
.menu-tab.is-active {
color: var(--gold);
border-color: var(--gold);
background: rgba(242, 182, 50, 0.1);
}
.menu-pane {
overflow-y: auto;
}
.rules-list {
list-style: none;
padding: 0;
margin: 0 0 14px;
display: flex;
flex-direction: column;
gap: 10px;
font-size: 21px;
line-height: 1.18;
}
.rules-list li {
position: relative;
padding-left: 18px;
}
.rules-list li::before {
content: "▸";
position: absolute;
left: 0;
color: var(--red);
}
.tier-legend {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px;
margin-bottom: 16px;
}
.tier-pill {
padding: 3px 9px;
font-size: 17px;
color: var(--white);
border-radius: 2px;
}
.tier-pill.t1 { background: var(--t1); }
.tier-pill.t2 { background: var(--t2); }
.tier-pill.t3 { background: var(--t3); }
.tier-pill.t4 { background: var(--t4); }
.tier-pill.t5 { background: var(--t5); }
.history-list {
display: flex;
flex-direction: column;
gap: 6px;
max-height: 310px;
overflow-y: auto;
margin-bottom: 12px;
padding-right: 2px;
}
.history-item {
display: grid;
grid-template-columns: 54px 1fr auto;
align-items: center;
gap: 8px;
width: 100%;
text-align: left;
background: rgba(28, 36, 71, 0.72);
border: 1px solid var(--line);
padding: 8px 10px;
color: var(--text);
cursor: pointer;
}
.history-item:hover {
border-color: var(--gold);
background: rgba(45, 58, 110, 0.8);
}
.history-item.is-active {
border-color: var(--gold);
}
.hist-num {
color: var(--gold);
font-size: 21px;
}
.hist-route {
font-size: 19px;
line-height: 1.05;
}
.hist-sub {
display: block;
font-size: 15px;
color: var(--muted);
}
.hist-status {
font-size: 17px;
color: var(--muted);
text-align: right;
}
.hist-status.is-done {
color: var(--tier-green);
}
.history-footer {
display: flex;
flex-direction: column;
gap: 8px;
}
@media (max-width: 480px) {
.brand-logo { font-size: 54px; }
.q-prompt { font-size: 24px; }
.odometer { padding: 4px 6px 3px; }
.odo-digit { width: 14px; height: 22px; font-size: 20px; }
.borne { width: 19px; height: 26px; }
.borne-num { font-size: 14px; }
.highway-sign { min-width: 88px; padding: 2px 7px; }
.sign-dist { font-size: 21px; }
.car-grid { gap: 5px; }
.car-option canvas { width: 52px; height: 30px; }
.car-option-name { font-size: 13px; }
.done-secondary-row { grid-template-columns: 1fr; }
}

/* ===== 2026-11-25 设计审稿修订（按 design_review 意见） ===== */
/* 1) 首屏：标题条与游戏框之间留出呼吸 */
.rg-hero-bar {
margin-bottom: 24px;
}
/* 2) 介绍区：两栏顶端对齐，右侧图注不再被拉到中间留白 */
.rg-split-grid {
align-items: start;
}
/* 3) Modes 卡片：统一 1000px 居中轴线，左右不再等宽失衡 */
.rg-bento-grid {
max-width: 1000px;
margin-inline: auto;
}
@media (max-width: 820px) {
/* 4) 手机 / 平板导航：品牌不换行，导航单行横滚不挤压 */
.rg-header-inner {
gap: 10px;
min-height: 56px;
}
.rg-brand {
font-size: 17px;
white-space: nowrap;
flex: 0 0 auto;
}
.rg-brand-icon {
width: 28px;
height: 28px;
border-radius: 7px;
}
.rg-nav {
flex: 1 1 auto;
min-width: 0;
flex-wrap: nowrap;
justify-content: flex-end;
gap: 14px;
overflow-x: auto;
padding: 4px 0;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.rg-nav::-webkit-scrollbar {
display: none;
}
.rg-nav-link {
white-space: nowrap;
font-size: 13px;
}
}
@media (max-width: 640px) {
/* 5) 手机首屏与游戏框 */
.rg-h1 {
font-size: 28px;
}
.rg-sign-badge {
font-size: 12px;
}
.rg-stage-shell {
border-radius: 10px;
}
.rg-cover-panel {
padding: 20px 18px;
}
.rg-cover-kicker {
font-size: 12px;
letter-spacing: 0.06em;
}
.rg-cover-lead {
font-size: 14px;
margin-bottom: 14px;
}
.rg-btn-play {
font-size: 16px;
padding: 12px 20px;
}
/* 6) 游戏框底部操作区：社交一组占一行，全屏按钮整行跟在下面 */
.rg-action-bar {
padding: 10px 12px;
gap: 8px;
}
.rg-action-group {
flex: 1 1 100%;
}
.rg-btn-tool {
min-height: 40px;
padding: 7px 12px;
font-size: 13px;
}
.rg-btn-fs {
width: 100%;
justify-content: center;
}
.rg-prose p {
font-size: 15px;
}
}

/* ===== 2026-11-25 设计审稿修订 2（第二轮 7.0 分意见） ===== */
/* 7) 手机导航改两行：品牌一行居中、导航一行平铺，不再裁切出半截文字 */
@media (max-width: 720px) {
.rg-header-inner {
flex-wrap: wrap;
justify-content: center;
row-gap: 2px;
min-height: 0;
padding: 8px 0 6px;
}
.rg-brand {
flex: 1 1 100%;
justify-content: center;
white-space: nowrap;
}
.rg-nav {
flex: 1 1 100%;
justify-content: center;
flex-wrap: wrap;
overflow: visible;
gap: 6px 16px;
padding: 0;
}
.rg-nav-link {
font-size: 13px;
}
}
/* 8) 游戏框底部操作区：社交五个按钮一排均铺，全屏改紧凑靠右不拉通栏 */
@media (max-width: 640px) {
.rg-action-bar {
flex-wrap: wrap;
justify-content: space-between;
padding: 10px 12px;
gap: 8px;
}
.rg-action-group {
flex: 1 1 auto;
}
.rg-action-group:first-of-type {
flex: 1 1 100%;
justify-content: space-between;
}
.rg-btn-fs {
width: auto;
margin-left: auto;
}
}
/* 9) 首屏标题区与游戏框再拉开一档 */
.rg-hero-bar {
margin-bottom: 32px;
}
.rg-stage-shell {
margin-top: 8px;
}
/* 10) 介绍区右栏卡片伸到与左栏等高、内容垂直居中，消除下方空块 */
.rg-split-grid {
align-items: stretch;
}
.rg-split-grid > .rg-figure {
align-self: stretch;
display: flex;
flex-direction: column;
justify-content: center;
}
/* 11) 长文行宽收窄到 65ch、段落有节奏，不再文字墙 */
.rg-prose p,
.rg-prose li {
max-width: 65ch;
}
.rg-prose > p + p {
margin-top: 14px;
}

/* 12) 手机端社交按钮做成等宽 3+2 擺好，不再大小不一 */
@media (max-width: 640px) {
.rg-action-group:first-of-type {
flex-wrap: wrap;
gap: 6px;
}
.rg-action-group:first-of-type .rg-btn-tool {
flex: 1 1 30%;
min-width: 0;
justify-content: center;
white-space: nowrap;
}
.rg-action-group:first-of-type .rg-share-msg {
width: 100%;
font-size: 12px;
}
}

/* ===== 2026-11-25 设计审稿修订 3（第三轮 7.5 分意见） ===== */
/* 13) 游戏框：裁切溢出，不留下白 / 灰碎片 */
.rg-stage-shell,
.rg-stage,
.rg-cover {
overflow: hidden;
max-width: 100%;
}
.rg-stage iframe,
.rg-stage canvas,
.rg-cover iframe,
.rg-cover canvas {
width: 100%;
max-width: 100%;
display: block;
}
/* 14) 长文卡片堆：拉开间距，不再密成一片 */
.rg-ladder {
gap: 26px;
}
.rg-bento-grid {
gap: 28px;
}
/* 15) 手机首屏：标题收小、图例让位，游戏框提到首屏里 */
@media (max-width: 640px) {
.rg-h1 {
font-size: 26px;
letter-spacing: -0.01em;
}
.rg-milestone-strip {
display: none;
}
.rg-hero-bar {
margin-bottom: 18px;
}
}
/* 16) 手机社交按钮：3+2 等宽栅格，后两个居中 */
@media (max-width: 640px) {
.rg-action-group:first-of-type {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 6px;
}
.rg-action-group:first-of-type .rg-btn-tool {
grid-column: span 2;
justify-content: center;
white-space: nowrap;
min-width: 0;
}
.rg-action-group:first-of-type .rg-btn-tool:nth-child(4) {
grid-column: 2 / span 2;
}
.rg-action-group:first-of-type .rg-btn-tool:nth-child(5) {
grid-column: 4 / span 2;
}
.rg-action-group:first-of-type .rg-share-msg {
grid-column: 1 / -1;
font-size: 12px;
}
}

/* ===== 2026-11-25 设计审稿修订 4（8 分后的最后三处） ===== */
/* 17) 手机社交按钮改单行，放不下时可横滚，不再折成两排 */
@media (max-width: 640px) {
.rg-action-group:first-of-type {
display: flex;
flex-wrap: nowrap;
gap: 4px;
overflow-x: auto;
scrollbar-width: none;
}
.rg-action-group:first-of-type::-webkit-scrollbar {
display: none;
}
.rg-action-group:first-of-type .rg-btn-tool {
flex: 0 0 auto;
grid-column: auto;
font-size: 12px;
min-height: 36px;
padding: 6px 8px;
}
.rg-action-group:first-of-type .rg-share-msg {
flex: 0 0 auto;
font-size: 12px;
}
}
/* 18) 正文行高放宽到 1.75，卡片里的段落有呼吸 */
.rg-prose p {
line-height: 1.75;
}
@media (min-width: 900px) {
.rg-prose p {
font-size: 17px;
}
}
/* 19) 手机首屏：绿色标签放不下时自动换到标题下方 */
@media (max-width: 640px) {
.rg-h1-group {
flex-wrap: wrap;
row-gap: 6px;
}
.rg-sign-badge {
font-size: 12px;
letter-spacing: 0.08em;
}
}


.rg-ans-box {
margin: 18px 0 28px;
}
.rg-ans-head {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 8px;
padding: 12px 16px;
background: var(--bg);
border: 1px solid var(--rg-border);
border-radius: 10px;
margin-bottom: 14px;
color: var(--rg-text);
}
.rg-ans-head span {
color: var(--rg-accent);
font-size: 14px;
font-weight: 600;
}
.rg-ans-grid {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
}
.rg-ans-card {
padding: 14px 16px;
background: var(--bg);
border: 1px solid var(--rg-border);
border-radius: 10px;
}
.rg-ans-meta {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.08em;
color: var(--rg-accent);
margin-bottom: 4px;
}
.rg-ans-prompt {
font-size: 16px;
font-weight: 600;
color: var(--rg-text);
margin-bottom: 10px;
}
.rg-ans-spoiler {
margin-top: 6px;
padding: 8px 12px;
background: var(--rg-surface);
border: 1px solid var(--rg-border);
border-radius: 8px;
}
.rg-ans-spoiler summary {
cursor: pointer;
font-size: 14px;
font-weight: 600;
color: var(--rg-muted);
}
.rg-ans-spoiler.is-rare summary {
color: var(--tier-green);
}
.rg-ans-spoiler p {
margin: 8px 0 0;
font-size: 14px;
color: var(--rg-text);
}
.rg-ans-loading {
margin: 0;
color: var(--rg-muted);
}
