@charset "UTF-8";
/* V6: a few suspended decorative layers; reading and original images stay still. */
:root{--road-cycle:6s;--float-ease:cubic-bezier(.42,0,.58,1)}
/* The environment contains the official illustration. Never move this layer. */
.road-stage .road-picture-wrap,.road-stage .road-picture{animation:none!important;transform:none!important;translate:none!important;rotate:none!important;scale:1!important}
.road-driver-rig{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:2;pointer-events:none;direction:ltr;transform-origin:34% 81%;animation:none;contain:layout style}
.road-driver-rig[hidden]{display:none!important}
.road-ready .road-driver-rig{animation:road-suspension var(--road-cycle,6s) var(--float-ease) infinite;will-change:transform}
.road-driver-rig .road-vehicle-picture{position:absolute;display:block;max-width:none;max-height:none;min-width:0;min-height:0;margin:0;padding:0;object-fit:contain;object-position:center;pointer-events:none;filter:none}
.road-driver-rig .road-vehicle-picture>img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:center;filter:none}
.road-driver-rig .driver-portrait{position:absolute;z-index:3;animation:none!important;transform:none!important;translate:none!important;rotate:none!important;scale:1!important;pointer-events:none}
.road-driver-rig .driver-portrait>img,.road-driver-rig .driver-portrait>svg{display:block;width:100%;height:100%;object-fit:cover;animation:none!important;transform:none!important;translate:none!important;filter:none}
/* At most two low-opacity accents, restricted to the lower-left car area. */
.road-ambient-layer,.road-atmosphere{position:absolute;left:0;right:auto;top:auto;bottom:0;width:58%;height:38%;z-index:1;pointer-events:none;overflow:hidden;contain:layout style;direction:ltr}
.road-ambient-layer[hidden],.road-atmosphere[hidden]{display:none!important}
.road-ambient-layer .ambient-orb,.road-atmosphere .ambient-orb{position:absolute;display:block;left:24%;bottom:7%;width:32px;height:32px;border-radius:50%;background:radial-gradient(circle closest-side,color-mix(in srgb,var(--accent,#37e9ff) 48%,transparent),transparent);opacity:.18;pointer-events:none;animation:ambient-lift 8.2s ease-in-out infinite;animation-delay:-2s;will-change:transform,opacity}
.road-ambient-layer .ambient-orb:nth-child(2),.road-atmosphere .ambient-orb:nth-child(2){left:73%;bottom:14%;width:18px;height:18px;opacity:.15;animation-duration:10s;animation-delay:-5s;background:radial-gradient(circle closest-side,color-mix(in srgb,var(--accent-light,#a3f7ff) 45%,transparent),transparent)}
.road-ambient-layer .ambient-orb:nth-child(n+3),.road-atmosphere .ambient-orb:nth-child(n+3){display:none}
/* Home and garage: animate one art layer, never headings or action buttons. */
.page:not([hidden]) .hero-art>.world-scene{animation:hero-suspended 7.6s var(--float-ease) infinite;transform-origin:58% 78%;will-change:transform}
.page:not([hidden]) .hero-city{animation:city-tag-hover 8.5s ease-in-out infinite;animation-delay:-1.5s;will-change:transform}
.page:not([hidden]) .learning-focus-art>img{animation:reward-suspended 6.8s ease-in-out infinite;animation-delay:-1.8s;transform-origin:50% 65%;will-change:transform}
.page:not([hidden]) #results-celebration .result-reward-art{animation:reward-suspended 6.8s ease-in-out infinite;transform-origin:50% 65%;will-change:transform}
.page:not([hidden]) #results-celebration .result-driver{animation:portrait-suspended 7.4s ease-in-out infinite;animation-delay:-2s;transform-origin:50% 72%;will-change:transform}
.page:not([hidden]) .garage-feature-car>img{animation:garage-suspension 7.2s ease-in-out infinite;transform-origin:50% 80%;will-change:transform}
.page:not([hidden]) .car-card.is-equipped .car-render>img{animation:garage-suspension 7.2s ease-in-out infinite;animation-delay:-2.2s;transform-origin:50% 80%;will-change:transform}
.city-card.selected{isolation:isolate}
.city-card.selected::after{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit;border:1px solid color-mix(in srgb,var(--accent-light,#a3f7ff) 55%,transparent);box-shadow:inset 0 0 18px color-mix(in srgb,var(--accent,#37e9ff) 12%,transparent);opacity:.62;pointer-events:none}
.city-card.selected:active::after{opacity:1}
.car-card:hover .car-render>img{transform-origin:50% 80%}
/* No source illustration participates in ambient or reactive motion. */
.source-picture .source-original-button,.source-picture .source-original-button>img,.original-image .original-image-button,.original-image .original-image-button>img,.official-board img,.answer-official-image,.enlarged-image img{animation:none!important;transform:none!important;translate:none!important;rotate:none!important;scale:1!important}
@keyframes road-suspension{0%,100%{transform:translate3d(0,1.5px,0) rotate(-.08deg)}36%{transform:translate3d(0,-3.5px,0) rotate(.09deg)}63%{transform:translate3d(0,-.5px,0) rotate(.015deg)}84%{transform:translate3d(0,2px,0) rotate(-.065deg)}}
@keyframes hero-suspended{0%,100%{transform:translate3d(0,2px,0) rotate(-.12deg)}45%{transform:translate3d(0,-4px,0) rotate(.12deg)}72%{transform:translate3d(0,-1px,0) rotate(.03deg)}}
@keyframes city-tag-hover{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-2px,0)}}
@keyframes reward-suspended{0%,100%{transform:translate3d(0,1px,0) rotate(-1deg)}45%{transform:translate3d(0,-4px,0) rotate(1deg)}75%{transform:translate3d(0,-1px,0) rotate(.25deg)}}
@keyframes portrait-suspended{0%,100%{transform:translate3d(0,1px,0) rotate(.5deg)}50%{transform:translate3d(0,-2px,0) rotate(-.5deg)}}
@keyframes garage-suspension{0%,100%{transform:translate3d(0,1.5px,0) rotate(-.08deg)}42%{transform:translate3d(0,-3px,0) rotate(.09deg)}72%{transform:translate3d(0,-.5px,0) rotate(.015deg)}}
@keyframes ambient-lift{0%,100%{transform:translate3d(-6px,3px,0);opacity:.12}50%{transform:translate3d(7px,-5px,0);opacity:.24}}
/* Pause at the host, individual art, page or document boundary. */
.motion-paused,.motion-paused *,.motion-paused::before,.motion-paused::after,.motion-paused *::before,.motion-paused *::after{animation-play-state:paused!important;will-change:auto!important}
.road-host.motion-paused .road-driver-rig,.road-host.motion-paused .ambient-orb{animation-play-state:paused!important;will-change:auto}
html.is-paused *,html.is-paused *::before,html.is-paused *::after,.is-paused *,.is-paused *::before,.is-paused *::after{animation-play-state:paused!important}
.page[hidden] *,.page[hidden] *::before,.page[hidden] *::after{animation-play-state:paused!important;will-change:auto}
@media(max-width:620px){.road-ambient-layer .ambient-orb,.road-atmosphere .ambient-orb{width:24px;height:24px}.road-ambient-layer .ambient-orb:nth-child(2),.road-atmosphere .ambient-orb:nth-child(2){width:14px;height:14px}.page:not([hidden]) .hero-art>.world-scene{animation-duration:8s}.page:not([hidden]) .hero-city{animation-duration:9s}}
@media(prefers-reduced-motion:reduce){.road-ready .road-driver-rig,.road-ambient-layer .ambient-orb,.road-atmosphere .ambient-orb,.page:not([hidden]) .hero-art>.world-scene,.page:not([hidden]) .hero-city,.page:not([hidden]) .learning-focus-art>img,.page:not([hidden]) #results-celebration .result-reward-art,.page:not([hidden]) #results-celebration .result-driver,.page:not([hidden]) .garage-feature-car>img,.page:not([hidden]) .car-card.is-equipped .car-render>img{animation:none!important;transform:none!important;translate:none!important;rotate:none!important;will-change:auto!important}.road-ambient-layer,.road-atmosphere{display:none!important}.city-card.selected::after{opacity:.6}}
.reduce-motion .road-ready .road-driver-rig,.reduce-motion .road-ambient-layer .ambient-orb,.reduce-motion .road-atmosphere .ambient-orb,.reduce-motion .page:not([hidden]) .hero-art>.world-scene,.reduce-motion .page:not([hidden]) .hero-city,.reduce-motion .page:not([hidden]) .learning-focus-art>img,.reduce-motion .page:not([hidden]) #results-celebration .result-reward-art,.reduce-motion .page:not([hidden]) #results-celebration .result-driver,.reduce-motion .page:not([hidden]) .garage-feature-car>img,.reduce-motion .page:not([hidden]) .car-card.is-equipped .car-render>img{animation:none!important;transform:none!important;translate:none!important;rotate:none!important;will-change:auto!important}
.reduce-motion .road-ambient-layer,.reduce-motion .road-atmosphere{display:none!important}
/* Immediate original-image fallback, independent of the decorative scene request. */
.road-picture-wrap .road-source-fallback{position:absolute;left:auto;right:5%;top:14%;bottom:auto;z-index:1;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(0,1fr);gap:5px;width:42%;height:60%;max-width:42%;max-height:60%;min-width:0;min-height:0;padding:8px;overflow:hidden;border:1px solid #c6d4de;border-radius:8px;background:#fff;box-shadow:0 5px 18px #0003;animation:none!important;transform:none!important;translate:none!important;rotate:none!important;direction:ltr;pointer-events:none}
.road-picture-wrap .road-source-fallback[hidden]{display:none!important}
.road-picture-wrap .road-source-fallback>img{position:static!important;inset:auto!important;display:block;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;margin:0;padding:0;border:0;border-radius:2px;background:#fff;object-fit:contain!important;object-position:center;filter:none!important;animation:none!important;transform:none!important;translate:none!important;rotate:none!important;scale:1!important}
.road-picture-wrap .road-source-fallback:has(>img:nth-child(2)){gap:6px;padding:7px}
.road-picture-wrap .road-source-fallback:has(>img:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
/* Status copy stays next to the mandatory full-size original in the QCM. */
#official-media-status{display:flex;align-items:flex-start;gap:8px;padding:11px 13px;margin:0 0 13px;border:1px solid color-mix(in srgb,var(--accent,#37e9ff) 25%,#3a536b);border-radius:9px;background:color-mix(in srgb,var(--accent,#37e9ff) 5%,#12273b);font-size:.875rem;line-height:1.6;font-weight:400;color:#b8d3e5;overflow-wrap:anywhere}
#official-media-status>svg{width:18px;height:18px;min-width:18px;margin-top:2px;color:var(--accent-light,#a3f7ff)}
#official-media-status .btn,#official-media-status button{min-height:39px;padding:7px 11px;flex:none;font-size:.875rem;line-height:1.4;margin-inline-start:auto}
#official-media-status[data-state=error],#official-media-status.is-error{border-color:#bb8790;background:#3c2a38;color:#ffe4e6}
#official-media-status[data-state=ready],#official-media-status.is-ready{border-color:#447a67;background:#17372e;color:#cae9db}
.official-media-caption{display:block;font-size:.875rem;font-weight:400;line-height:1.6;color:#a8c3d8;padding:0;margin:0 0 11px;overflow-wrap:anywhere}
.official-media-caption strong{font-size:.875rem;font-weight:700;color:#d8eaf7}
#official-media-status[hidden],.official-media-caption[hidden]{display:none!important}
#official-media-status:empty,.official-media-caption:empty{display:none}
.pending-media-reader,.media-reader-pending{position:relative;min-height:100px;padding:16px;border:1px dashed #59758c;border-radius:10px;background:#12293e;font-size:.95rem;line-height:1.65;color:#b6d0e3;animation:none}
.pending-media-reader[hidden],.media-reader-pending[hidden]{display:none!important}
@media(max-width:620px){.road-picture-wrap .road-source-fallback{right:5%;top:14%;width:42%;max-width:42%;height:60%;max-height:60%;padding:5px;border-radius:6px;gap:4px;box-shadow:0 3px 10px #0002}.road-picture-wrap .road-source-fallback:has(>img:nth-child(2)){padding:5px;gap:4px}#official-media-status{gap:7px;padding:10px 11px;margin-bottom:12px;font-size:.875rem;line-height:1.6;flex-wrap:wrap}#official-media-status .btn,#official-media-status button{font-size:.875rem;min-height:39px;padding:7px 10px}.official-media-caption{font-size:.875rem;line-height:1.6;margin-bottom:10px}.pending-media-reader,.media-reader-pending{min-height:95px;padding:14px;font-size:.95rem;line-height:1.65}}

/* Location captions stay legible above the animated car. */
.road-picture-wrap .road-location{z-index:4}
