/* The student sees the valley through Benny's windshield. */
.benny-cockpit {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 12px auto 22px;
  border: 8px solid #fff9e8;
  border-radius: 30px;
  box-shadow: 0 0 0 3px #a9764f, 0 12px #9b744f;
  background: #2f7292;
  color: #263f52;
}
.cockpit-windshield {
  position: relative;
  min-height: clamp(300px, 42vw, 480px);
  overflow: hidden;
  background: #9edcc2;
  border: 9px solid #365c75;
  border-bottom: 0;
  border-radius: 18px 18px 4px 4px;
}
.cockpit-scenery {
  position: absolute;
  inset: -5%;
  background: url('/adventures/art/benny-windshield.webp') center / cover;
  transition: transform .7s ease;
}
.benny-cockpit.is-moving .cockpit-scenery { transform: scale(1.12) translateY(2%); }
.benny-cockpit.turn-left.is-moving .cockpit-scenery { transform: scale(1.12) translateX(5%); }
.benny-cockpit.turn-right.is-moving .cockpit-scenery { transform: scale(1.12) translateX(-5%); }
.cockpit-message {
  position: relative;
  z-index: 2;
  width: min(90%, 600px);
  margin: 12px auto 0;
  padding: 10px 18px;
  border: 4px solid #ad8056;
  border-radius: 22px;
  background: #fffaf0ed;
  box-shadow: 0 5px #86634980;
  text-align: center;
  font-size: clamp(15px, 2vw, 22px);
}
.cockpit-directions {
  position: absolute;
  z-index: 3;
  left: 3%;
  right: 3%;
  bottom: 8%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.cockpit-directions[hidden] { display: none; }
.cockpit-direction, .cockpit-action {
  min-height: 50px;
  border: 3px solid #fff9e2;
  border-radius: 18px;
  background: linear-gradient(#ffed9e, #ffc55d);
  color: #253f59;
  box-shadow: 0 5px #a46f38, 0 8px 14px #36506455;
  padding: 8px 13px;
  font-weight: 900;
  cursor: pointer;
}
.cockpit-direction:disabled, .cockpit-action:disabled { opacity: .65; cursor: default; }
.cockpit-direction .arrow { display: block; font-size: clamp(30px, 5vw, 52px); line-height: .9; }
.cockpit-dashboard {
  position: relative;
  min-height: 170px;
  padding: 18px 20px 18px min(34%, 320px);
  background: linear-gradient(#6ac6e8 0%, #3d9bd2 26%, #2477af 100%);
  border-top: 8px solid #1e5a86;
  box-shadow: inset 0 7px #9ee4f5;
}
.cockpit-wheel {
  position: absolute;
  left: 5%;
  top: -30px;
  width: clamp(110px, 18vw, 185px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(12px, 2vw, 21px) solid #34425a;
  background: radial-gradient(circle, #ffd15b 0 27%, #b47742 28% 31%, #81d0e4 32% 40%, transparent 41%),
    linear-gradient(90deg,transparent 44%,#34425a 45% 55%,transparent 56%),
    linear-gradient(transparent 44%,#34425a 45% 55%,transparent 56%);
  box-shadow: 0 5px #20364d, inset 0 0 0 5px #b8dce1;
  transform: rotate(-8deg);
  transition: transform .4s ease;
}
.benny-cockpit.turn-left.is-moving .cockpit-wheel { transform: rotate(-48deg); }
.benny-cockpit.turn-right.is-moving .cockpit-wheel { transform: rotate(32deg); }
.cockpit-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.cockpit-horn { background: linear-gradient(#ffb9a6,#f4785f); }
.cockpit-map-toggle {
  display: block;
  margin: 12px auto 4px;
  color: #fff;
  background: #195d8a;
  border: 2px solid #c4edf3;
  border-radius: 14px;
  padding: 6px 12px;
}
body.cockpit-ready .map[hidden], body.cockpit-ready .drive-pad { display: none; }
body.cockpit-ready .guide { display: none; }
.cockpit-action:focus-visible, .cockpit-direction:focus-visible, .cockpit-map-toggle:focus-visible,
.garage-discovery:focus-visible { outline: 4px solid #ffbf24; outline-offset: 4px; }
.garage-discovery {
  position: absolute;
  z-index: 4;
  min-width: 52px;
  min-height: 52px;
  padding: 4px;
  border: 3px solid #fff8dd;
  border-radius: 50%;
  background: #fff8dbef;
  box-shadow: 0 4px #987349;
  font-size: 30px;
  cursor: pointer;
}
.garage-discovery.bird { top: 30%; left: 3%; }
.garage-discovery.toolbox { top: 65%; left: 6%; }
.garage-discovery.bell { top: 48%; right: 4%; }
.garage-discovery.wiggle { animation: garage-wiggle .5s ease 2; }
@keyframes garage-wiggle { 25% { rotate: -18deg; scale: 1.15; } 75% { rotate: 18deg; scale: 1.15; } }
.garage-world .flower.wiggle { animation: garage-wiggle .5s ease 2; }
@media(max-width: 600px) {
  .cockpit-windshield { min-height: 370px; }
  .cockpit-scenery { background-position: center; }
  .cockpit-dashboard { min-height: 175px; padding: 16px 8px 14px 36%; }
  .cockpit-controls { gap: 8px; }
  .cockpit-action { width: 100%; padding: 7px; }
  .cockpit-direction { min-width: 0; flex: 1; padding: 7px 3px; font-size: 12px; }
  .garage-discovery.bird { top: 32%; }
  .garage-discovery.bell { top: 44%; }
}
@media(prefers-reduced-motion: reduce) {
  .cockpit-scenery, .cockpit-wheel { transition: none; }
  .garage-discovery.wiggle, .garage-world .flower.wiggle { animation: none; }
}

/* Distant scenery gives way to the crossroads as Benny approaches it. */
.benny-cockpit[data-scene="road"] .cockpit-scenery {
  background-image: url('/adventures/art/benny-country-road.webp');
}
.cockpit-passing {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
/* Wildlife stays in the far verges instead of crossing the road. */
.roadside-wildlife {
  position: absolute;
  font-size: clamp(18px, 2.3vw, 28px);
  animation: wildlife-peek 1.8s ease-in-out both;
  filter: drop-shadow(0 2px 2px #29485966);
}
.roadside-wildlife[hidden] { display: none; }
@keyframes wildlife-peek {
  0%, 100% { opacity: 0; transform: translateY(5px); }
  20%, 80% { opacity: 1; transform: translateY(0); }
  50% { transform: translateY(-7px) rotate(8deg); }
}

/* Move continuously toward the horizon, then fade into the junction. */
.benny-cockpit[data-scene="road"] .cockpit-scenery,
.benny-cockpit[data-scene="crossroads"] .cockpit-scenery {
  background-image: url('/adventures/art/benny-country-road.webp');
  transform-origin: 50% 48%;
  transform: scale(var(--road-zoom, 1));
  transition: transform .1s linear;
}
.cockpit-crossroads {
  position: absolute;
  inset: -5%;
  z-index: 1;
  opacity: 0;
  background: url('/adventures/art/benny-windshield.webp') center / cover;
  pointer-events: none;
  transition: opacity 1s ease;
}
.benny-cockpit[data-scene="crossroads"] .cockpit-crossroads { opacity: 1; }
.cockpit-turn-view, .cockpit-passing { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .roadside-wildlife { animation: none; }
  .benny-cockpit[data-scene="road"] .cockpit-scenery,
  .benny-cockpit[data-scene="crossroads"] .cockpit-scenery { transform: none; transition: none; }
  .cockpit-crossroads { transition: none; }
}

/* Tree canopies from the existing scene sway gently at the roadside. */
.cockpit-scenery::before, .cockpit-scenery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  pointer-events: none;
  transform-origin: center 75%;
}
.benny-cockpit[data-scene="road"] .cockpit-scenery::before {
  clip-path: polygon(0 0, 25% 0, 23% 45%, 15% 57%, 0 75%);
  animation: roadside-sway 4.5s ease-in-out infinite alternate;
}
.benny-cockpit[data-scene="road"] .cockpit-scenery::after {
  clip-path: polygon(74% 0, 100% 0, 100% 65%, 88% 55%, 80% 40%);
  animation: roadside-sway 5.2s -2s ease-in-out infinite alternate-reverse;
}
@keyframes roadside-sway {
  from { transform: rotate(-.3deg); }
  to { transform: rotate(.3deg); }
}
/* Blend into a view facing down the selected curved road. */
.cockpit-turn-view {
  position: absolute;
  z-index: 1;
  inset: -5%;
  opacity: 0;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  transition: opacity .55s ease;
}
.turn-left.is-moving .cockpit-turn-view {
  opacity: 1;
  background-image: url('/adventures/art/benny-turn-left.webp');
  animation: view-turn-left 5.7s ease-in-out both;
}
.turn-right.is-moving .cockpit-turn-view {
  opacity: 1;
  background-image: url('/adventures/art/benny-turn-right.webp');
  animation: view-turn-right 5.7s ease-in-out both;
}
@keyframes view-turn-left {
  from { transform: scale(1.13) translateX(-3%); }
  to { transform: scale(1.22) translateX(4%); }
}
@keyframes view-turn-right {
  from { transform: scale(1.13) translateX(3%); }
  to { transform: scale(1.22) translateX(-4%); }
}
@media (prefers-reduced-motion: reduce) {
  .cockpit-scenery::before, .cockpit-scenery::after,
  .turn-left.is-moving .cockpit-turn-view,
  .turn-right.is-moving .cockpit-turn-view { animation: none; }
  .cockpit-turn-view { transition: none; }
}

/* The map opens over the dashboard and keeps its existing route controls. */
.cockpit-map-dialog[hidden] { display: none !important; }
.cockpit-map-dialog {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #193a57c7;
}
.cockpit-map-card {
  width: min(100%, 1040px);
  max-height: 100%;
  overflow: auto;
  border: 5px solid #fff5d7;
  border-radius: 24px;
  background: #fff9e8;
  box-shadow: 0 10px 35px #1d354c99;
}
.cockpit-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
}
.cockpit-map-heading h2 { margin: 0; font-size: clamp(19px, 3vw, 27px); }
.cockpit-map-close {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 3px solid white;
  border-radius: 50%;
  background: #f6ab78;
  color: #304b62;
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
}
.cockpit-map-content { padding: 0 10px 12px; }
.cockpit-map-content .map { margin: 0; }

/* The horn sits in the hub of Benny's wheel. */
.cockpit-wheel .cockpit-horn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 49%;
  height: 49%;
  padding: 0;
  border: 3px solid #fff1b1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff3a9, #ffc95b 65%, #e69a31);
  box-shadow: 0 3px #875b3d;
  font-size: clamp(18px, 3vw, 30px);
  cursor: pointer;
}
.cockpit-wheel .cockpit-horn:active { transform: translate(-50%, -48%); }
.cockpit-horn:focus-visible, .cockpit-map-close:focus-visible,
.stereo-controls button:focus-visible { outline: 4px solid #ffbf24; outline-offset: 3px; }

.cockpit-stereo {
  max-width: 390px;
  margin: 12px auto 0;
  padding: 9px 12px;
  border: 4px solid #e8d29b;
  border-radius: 17px;
  background: linear-gradient(#334f67, #253b52);
  box-shadow: 0 4px #174b70;
}
.stereo-display {
  min-height: 27px;
  padding: 3px 8px;
  border-radius: 7px;
  background: #d5f4dc;
  color: #264b42;
  text-align: center;
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 900;
}
.stereo-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.stereo-controls button {
  min-width: 42px;
  min-height: 39px;
  border: 2px solid #fff5d9;
  border-radius: 10px;
  background: linear-gradient(#fff3c5,#f2bc73);
  color: #31435a;
  font-weight: 900;
  cursor: pointer;
}
.stereo-controls button[aria-pressed="true"] { background: #aee8a3; box-shadow: 0 0 0 3px #6cb96f; }
.stereo-controls .stereo-stop { background: #f3aa95; }
@media (max-width: 600px) {
  .cockpit-map-dialog { padding: 5px; }
  .cockpit-map-heading { padding: 5px 9px; }
  .cockpit-map-content { padding: 0 4px 7px; }
  .cockpit-map-content .map { min-height: 490px; }
  .cockpit-stereo { margin-top: 9px; padding: 6px; }
  .stereo-controls { gap: 4px; }
  .stereo-controls button { min-width: 36px; min-height: 36px; }
}

/* The straight route crosses the wooden bridge from Benny's driver's seat. */
.cockpit-bridge-view {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.bridge-backdrop {
  position: absolute;
  inset: -5%;
  background: url('/adventures/art/benny-bridge-crossing.webp') center / cover;
}
.benny-cockpit.bridge-crossing .cockpit-bridge-view { opacity: 1; }
.benny-cockpit.bridge-crossing.is-moving .bridge-backdrop {
  animation: bridge-forward 5.6s linear both;
}
.benny-cockpit.bridge-crossing.is-moving .cockpit-dashboard {
  animation: bridge-bounce .42s ease-in-out infinite alternate;
}
/* Fish peek out from the water outside the railings, then take turns spraying. */
.bridge-fish-pool { position:absolute; z-index:2; top:30%; width:8%; height:14%; overflow:hidden; pointer-events:none; }
.bridge-pool-left { left:0; }
.bridge-pool-right { right:0; }
.bridge-fish-pool::after { content:""; position:absolute; left:0; right:0; bottom:0; height:22%; border-radius:50%; background:radial-gradient(ellipse, #d9faffcc 0 15%, #62c9eeaa 22%, #27a4d788 48%, transparent 72%); }
.bridge-fish { position:absolute; width:98%; left:0; bottom:5%; filter:drop-shadow(0 4px 3px #265d7066); }
.bridge-fish-right { transform:scaleX(-1); left:auto; right:0; }
.benny-cockpit.bridge-crossing.is-moving .bridge-fish-left { animation:fish-left 5.6s ease-in-out both; }
.benny-cockpit.bridge-crossing.is-moving .bridge-fish-right { animation:fish-right 5.6s ease-in-out both; }
.bridge-sprays { position:absolute; z-index:3; inset:0; width:100%; height:100%; overflow:visible; }
.bridge-spray { fill:none; stroke:url(#water-jet); stroke-width:13; stroke-linecap:round; stroke-dasharray:100; stroke-dashoffset:100; opacity:0; filter:drop-shadow(0 2px 2px #168bc7); }
.benny-cockpit.bridge-crossing.is-moving .bridge-spray-left { animation:water-left 5.6s linear both; }
.benny-cockpit.bridge-crossing.is-moving .bridge-spray-right { animation:water-right 5.6s linear both; }
@keyframes bridge-forward { from { transform:scale(1); } to { transform:scale(1.18); } }
@keyframes bridge-bounce { from { transform:translateY(0) rotate(-.15deg); } to { transform:translateY(4px) rotate(.15deg); } }
@keyframes fish-left { 0%,48%,100% { transform:translateY(80%); } 12%,35% { transform:translateY(0) rotate(-4deg); } }
@keyframes fish-right { 0%,45%,100% { transform:scaleX(-1) translateY(80%); } 58%,85% { transform:scaleX(-1) translateY(0) rotate(-4deg); } }
@keyframes water-left { 0%,9% { opacity:0;stroke-dashoffset:100; } 14% { opacity:1; } 31% { opacity:1;stroke-dashoffset:0; } 43%,100% { opacity:0;stroke-dashoffset:0; } }
@keyframes water-right { 0%,54% { opacity:0;stroke-dashoffset:100; } 59% { opacity:1; } 76% { opacity:1;stroke-dashoffset:0; } 91%,100% { opacity:0;stroke-dashoffset:0; } }
@media (prefers-reduced-motion: reduce) {
  .cockpit-bridge-view { transition: none; }
  .benny-cockpit.bridge-crossing.is-moving .bridge-backdrop,
  .benny-cockpit.bridge-crossing.is-moving .cockpit-dashboard,
  .benny-cockpit.bridge-crossing.is-moving .bridge-fish,
  .benny-cockpit.bridge-crossing.is-moving .bridge-spray { animation: none; }
}

/* Big, clearly labeled footprint pedals for young drivers. */
.cockpit-pedals { display:flex; align-items:center; justify-content:center; gap:12px; }
.cockpit-pedal { position:relative; width:72px; height:108px; border:0; padding:0; background:transparent; color:#fff; cursor:pointer; filter:drop-shadow(0 4px 1px #17436399); }
.cockpit-pedal svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.cockpit-pedal svg path, .cockpit-pedal svg circle { stroke:#fff8dc; stroke-width:3; stroke-linejoin:round; }
.pedal-gas svg { fill:#3dbd61; }
.pedal-brake svg { fill:#e4534d; }
.cockpit-pedal span { position:absolute; left:0; right:0; top:59%; text-align:center; font-size:13px; font-weight:900; text-shadow:0 1px 3px #203b36; pointer-events:none; }
.cockpit-pedal:hover:not(:disabled) { transform:translateY(-3px); }
.cockpit-pedal:active:not(:disabled) { transform:translateY(2px); }
.cockpit-pedal:disabled { opacity:.78; cursor:default; }
.cockpit-pedal:focus-visible { outline:4px solid #ffdf54; outline-offset:3px; border-radius:15px; }
@media(max-width:600px) { .cockpit-pedals { gap:4px; } .cockpit-pedal { width:52px; height:82px; } .cockpit-pedal span { font-size:10px; } }

/* A return trip approaches the crossroads from the road that led to the lesson. */
.cockpit-return-view { position:absolute; inset:-5%; z-index:2; pointer-events:none; opacity:0; background-position:center; background-size:cover; transform:scale(var(--return-zoom,1)); }
.benny-cockpit.returning .cockpit-return-view { opacity:var(--return-fade,1); }
.benny-cockpit.returning .cockpit-crossroads { opacity:var(--return-junction-opacity,0); }
.benny-cockpit[data-return-route="forest"] .cockpit-return-view { background-image:url('/adventures/art/benny-turn-left.webp'); }
.benny-cockpit[data-return-route="town"] .cockpit-return-view { background-image:url('/adventures/art/benny-turn-right.webp'); }
.benny-cockpit[data-return-route="bridge"] .cockpit-return-view { background-image:url('/adventures/art/benny-bridge-crossing.webp'); }
@media (prefers-reduced-motion:reduce) { .cockpit-return-view { transform:none; } }


/* Driver controls: brake on left, accelerator on right, each at the bottom edge. */
.benny-cockpit .cockpit-dashboard {
  min-height: 245px;
  padding: 18px 22px 155px;
}
.benny-cockpit .cockpit-wheel {
  left: 18%;
  top: 12px;
  width: clamp(100px, 14vw, 155px);
  z-index: 4;
}
.benny-cockpit .cockpit-controls { display: contents; }
.benny-cockpit .cockpit-pedals { display: contents; }
.benny-cockpit .cockpit-pedal {
  position: absolute;
  bottom: 13px;
  width: clamp(88px, 12vw, 135px);
  height: clamp(116px, 15vw, 165px);
  z-index: 5;
  touch-action: manipulation;
}
.benny-cockpit .pedal-brake { left: 3%; }
.benny-cockpit .pedal-gas { right: 3%; }
.benny-cockpit .cockpit-pedal span { font-size: clamp(14px, 1.8vw, 21px); }
.benny-cockpit .cockpit-restart { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); }
.benny-cockpit .cockpit-stereo { margin: 0 auto 9px; max-width: 350px; }
.benny-cockpit .cockpit-map-toggle { margin: 10px auto 0; }
.benny-cockpit .cockpit-wiper-switch {
  position: absolute;
  top: 13px;
  right: 3%;
  z-index: 6;
  min-height: 54px;
  padding: 6px 14px;
  border-radius: 14px;
  border: 3px solid #f6e7b8;
  background: linear-gradient(#f2f9ff, #9bbfd1);
  box-shadow: 0 4px #174c70;
  color: #183e58;
  font-weight: 900;
  cursor: pointer;
}
.benny-cockpit .cockpit-wiper-switch span { display: block; }
.benny-cockpit .cockpit-wiper-switch[aria-pressed="true"] { background: linear-gradient(#d9ffd9, #83d58a); }
.benny-cockpit .cockpit-wiper-switch:focus-visible { outline: 4px solid #ffe159; outline-offset: 3px; }

/* Rear-facing illustrated road is clipped to the mirror, rather than duplicating the forward windshield. */
.cockpit-rear-mirror {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 3px;
  transform: translateX(-50%);
  width: clamp(135px, 25vw, 260px);
  height: clamp(64px, 10vw, 108px);
  overflow: hidden;
  border: 7px solid #29465d;
  border-radius: 15px 15px 27px 27px;
  background: #b2dbcf;
  box-shadow: 0 3px 0 #ecf7ff, 0 8px 12px #12394d8a;
  pointer-events: none;
}
.cockpit-rear-mirror::before {
  content: "";
  position: absolute;
  left: 50%; top: -14px;
  width: 12px; height: 18px;
  transform: translateX(-50%);
  background: #29465d;
}
.rear-mirror-landscape {
  position: absolute;
  inset: -12%;
  background: url('/adventures/art/benny-country-road.webp') center 63% / cover;
  transform: scaleX(-1) scale(var(--mirror-scale, 1.03));
  filter: saturate(.8) brightness(.84);
  transition: transform .12s linear;
}
.benny-cockpit.mirror-moving .rear-mirror-landscape {
  background-position: center 72%;
}
.rear-mirror-caption {
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  background: #233e57b8; color: #fff;
  padding: 0 5px; border-radius: 4px; white-space: nowrap;
  font-size: 9px; font-weight: 900; letter-spacing: 1px;
}
/* Two wipers sweeping the glass from the bottom corners. */
.cockpit-wipers { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.cockpit-wipers .wiper {
  position: absolute;
  bottom: -7px;
  width: 37%;
  height: 7px;
  background: #233f53;
  border-radius: 12px;
  box-shadow: 0 -3px #7f9aab;
  transform-origin: 3% 50%;
}
.cockpit-wipers .wiper::after {
  content:""; position:absolute; right:0; top:-2px;
  height:12px; width:7px; background:#142f42; border-radius:4px;
}
.wiper-left { left: 9%; transform: rotate(-6deg); }
.wiper-right { right: 8%; transform-origin: 97% 50% !important; transform: rotate(6deg); }
.wipers-on .wiper-left { animation: benny-wipe-left 1.7s ease-in-out infinite; }
.wipers-on .wiper-right { animation: benny-wipe-right 1.7s ease-in-out infinite; }
@keyframes benny-wipe-left { 0%,100% {transform:rotate(-6deg)} 50% {transform:rotate(-59deg)} }
@keyframes benny-wipe-right { 0%,100% {transform:rotate(6deg)} 50% {transform:rotate(59deg)} }
/* Gentle scenery motion intensifies with speed during the opening drive. */
.benny-cockpit.is-moving[data-scene="road"] .cockpit-scenery::after {
  animation-duration: 1.7s;
}
@media (max-width: 700px) {
  .benny-cockpit .cockpit-dashboard { min-height: 330px; padding: 88px 6px 135px; }
  .benny-cockpit .cockpit-wheel { top: 8px; left: 8%; width: 104px; }
  .benny-cockpit .cockpit-wiper-switch { top: 8px; right: 5%; min-height: 48px; font-size: 12px; }
  .benny-cockpit .cockpit-stereo { max-width: min(100%, 275px); }
  .benny-cockpit .cockpit-pedal { bottom: 10px; width: clamp(72px, 19vw, 100px); height: clamp(100px, 27vw, 134px); }
  .benny-cockpit .pedal-brake { left: 1%; }
  .benny-cockpit .pedal-gas { right: 1%; }
  .benny-cockpit .cockpit-restart { bottom: 19px; width: auto; min-width: 105px; padding: 8px; font-size: 12px; }
  .cockpit-rear-mirror { width: 140px; height: 67px; }
  .cockpit-message { margin-top: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .wipers-on .wiper { animation: none; }
  .rear-mirror-landscape { transition: none; }
}


/* Cockpit refinements: pedals sit inside the edges, leaving comfortable margins. */
.benny-cockpit .pedal-brake { left: clamp(22px, 6%, 75px); }
.benny-cockpit .pedal-gas { right: clamp(22px, 6%, 75px); }

/* Instructions belong beside the mirror, not underneath it. */
.benny-cockpit .cockpit-message {
  position: absolute;
  z-index: 7;
  top: 24px;
  right: 2%;
  left: auto;
  width: min(31%, 325px);
  margin: 0;
  padding: 8px 11px;
  border-width: 3px;
  border-radius: 14px;
  font-size: clamp(12px, 1.45vw, 17px);
  line-height: 1.3;
}

/* Rear-view scene: the real garage illustration starts behind the car, then
   shrinks along the actual junction progress; branch scenery changes per route. */
.benny-cockpit .rear-mirror-landscape {
  inset: -10%;
  background-image: url('/adventures/art/benny-country-road.webp');
  background-position: var(--mirror-road-x, 50%) var(--mirror-road-y, 45%);
  background-size: auto 195%;
  transform: scaleX(-1) scale(var(--mirror-scale, 1.17));
  transition: transform .09s linear, background-position .09s linear;
}
.benny-cockpit .rear-mirror-shop {
  position: absolute;
  inset: 0;
  background: url('/adventures/art/painted-garage.webp') center 63% / cover no-repeat;
  opacity: var(--shop-opacity, 1);
  transform: scaleX(-1) scale(var(--shop-scale, .96));
  transform-origin: center 60%;
  transition: opacity .09s linear, transform .09s linear;
  pointer-events: none;
}
.benny-cockpit .cockpit-rear-mirror[data-route="forest"] .rear-mirror-landscape {
  background-image: url('/adventures/art/benny-turn-left.webp');
}
.benny-cockpit .cockpit-rear-mirror[data-route="town"] .rear-mirror-landscape {
  background-image: url('/adventures/art/benny-turn-right.webp');
}
.benny-cockpit .cockpit-rear-mirror[data-route="bridge"] .rear-mirror-landscape {
  background-image: url('/adventures/art/benny-bridge-crossing.webp');
}
.benny-cockpit .cockpit-rear-mirror[data-route="junction"] .rear-mirror-landscape {
  background-image: url('/adventures/art/benny-country-road.webp');
}
@media (max-width: 700px) {
  .benny-cockpit .pedal-brake { left: clamp(14px, 5%, 36px); }
  .benny-cockpit .pedal-gas { right: clamp(14px, 5%, 36px); }
  .benny-cockpit .cockpit-message {
    top: 86px;
    right: 2%;
    width: min(64%, 275px);
    padding: 7px 9px;
    font-size: clamp(12px, 3vw, 15px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .benny-cockpit .rear-mirror-shop,
  .benny-cockpit .rear-mirror-landscape { transition: none; }
}


/* v3 cockpit corrective layout. Always reserve the central windshield for mirror. */
.benny-cockpit .cockpit-windshield > .cockpit-message {
  position: absolute;
  z-index: 10;
  top: 18px;
  right: 2.1%;
  left: auto;
  bottom: auto;
  width: min(29%, 300px);
  max-width: 300px;
  margin: 0;
  padding: 8px 10px;
  border: 3px solid #ad8056;
  border-radius: 15px;
  line-height: 1.25;
  font-size: clamp(12px, 1.32vw, 16px);
  text-align: center;
  box-sizing: border-box;
}
.benny-cockpit .cockpit-rear-mirror {
  z-index: 9;
}
.benny-cockpit .rear-mirror-landscape {
  inset: -10%;
  background-position: var(--mirror-road-x, 50%) var(--mirror-road-y, 54%);
  background-size: auto 195%;
  transform: scaleX(-1) scale(var(--mirror-scale, 1.12));
  transform-origin: center 55%;
}
.benny-cockpit .rear-mirror-shop {
  inset: 0;
  background-image: url('/adventures/art/painted-garage.webp');
  background-position: center 57%;
  background-size: cover;
  opacity: var(--shop-opacity, 1);
  transform: scale(var(--shop-scale, 1.24));
  transform-origin: 50% 52%;
  /* So the shrinking garage doesn't become a rectangular photo over the road. */
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 52%, #000 35%, transparent 92%);
  mask-image: radial-gradient(ellipse 78% 72% at 50% 52%, #000 35%, transparent 92%);
}
@media (max-width: 700px) {
  .benny-cockpit .cockpit-windshield > .cockpit-message {
    top: 85px;
    right: 2%;
    left: auto;
    width: min(65%, 265px);
    max-width: 265px;
    padding: 7px 9px;
    font-size: clamp(12px, 3.1vw, 14px);
  }
}


/* Driving distance indicator: updated per actual animation frame, not by a timer. */
.benny-cockpit .cockpit-road-progress {
  position: relative;
  z-index: 3;
  width: min(100%, 360px);
  margin: 12px auto 3px;
  padding: 8px 12px 10px;
  background: #e6f7e9;
  border: 3px solid #f8f0bf;
  border-radius: 15px;
  box-shadow: 0 3px #1d6588;
  color: #24425a;
}
.benny-cockpit .road-progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 900;
}
.benny-cockpit .road-progress-percent { font-variant-numeric: tabular-nums; flex: none; }
.benny-cockpit .road-progress-meter {
  display: block;
  width: 100%;
  height: 17px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #39738b;
  border-radius: 12px;
  overflow: hidden;
  background: #d5e1e5;
}
.benny-cockpit .road-progress-meter::-webkit-progress-bar { background: #d5e1e5; }
.benny-cockpit .road-progress-meter::-webkit-progress-value {
  border-radius: 12px;
  background: linear-gradient(90deg, #52b96c, #98d96f);
}
.benny-cockpit .road-progress-meter::-moz-progress-bar {
  border-radius: 12px;
  background: linear-gradient(90deg, #52b96c, #98d96f);
}
@media (max-width: 700px) {
  .benny-cockpit .cockpit-road-progress {
    width: min(100%, 260px);
    margin: 9px auto 3px;
    padding: 7px 9px;
  }
  .benny-cockpit .road-progress-heading { font-size: 12px; }
}


/* The western branch now has a long scenic approach and a second intersection. */
.benny-cockpit[data-scene="woodland-road"] .cockpit-scenery,
.benny-cockpit[data-scene="woodland-junction"] .cockpit-scenery {
  background-image:url('/adventures/art/benny-turn-left.webp');
  background-position:center;
  transform:scale(var(--west-road-scale,1));
  transition:transform .15s linear;
}
.benny-cockpit[data-scene="woodland-road"] .cockpit-crossroads,
.benny-cockpit[data-scene="woodland-junction"] .cockpit-crossroads { opacity:0; }
.cockpit-west-crossroads[hidden], .cockpit-main-return[hidden] { display:none !important; }
.cockpit-west-crossroads {
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:3;
  background:linear-gradient(180deg,transparent 26%,#4a934d40 88%);
}
.cockpit-west-crossroads::before {
  content:"";
  position:absolute;
  left:29%;
  width:42%;
  bottom:-23%;
  height:54%;
  background:linear-gradient(110deg,#fff7d200 25%,#e9d19b88 28% 70%,#fff7d200 73%);
  clip-path:polygon(36% 0,65% 0,100% 100%,0 100%);
}
.cockpit-west-crossroads .west-sign {
  position:absolute;
  left:4%;
  top:28%;
  padding:10px 13px;
  border:4px solid #fff9ca;
  border-radius:15px;
  background:#517a4e;
  color:white;
  font-weight:900;
  font-size:clamp(14px,2.3vw,25px);
  text-shadow:0 2px #254d31;
  box-shadow:0 6px #32533d;
}
.benny-cockpit .cockpit-directions .cockpit-main-return {
  align-self:flex-end;
  flex:0 0 auto;
  min-height:42px;
  background:#eaf8ff;
  color:#234e69;
  border:3px solid #fff6cb;
  border-radius:13px;
  font-weight:900;
  padding:6px 9px;
  cursor:pointer;
}
.benny-cockpit.at-west-junction .cockpit-directions {
  flex-wrap:wrap;
  justify-content:space-between;
}
.benny-cockpit.at-west-junction .cockpit-main-return {
  margin:6px auto 0;
}
@media(max-width:700px){
  .benny-cockpit.at-west-junction .cockpit-direction { flex:1 1 29%; font-size:11px; }
  .cockpit-west-crossroads .west-sign { top:34%; left:3%; padding:6px 8px; font-size:13px; }
  .benny-cockpit.at-west-junction .cockpit-directions { bottom:4%; }
}
@media(prefers-reduced-motion:reduce){
 .benny-cockpit[data-scene="woodland-road"] .cockpit-scenery { transition:none; }
}


/* Three converging roadways at the new junction, visible behind route choices. */
.benny-cockpit.at-west-junction .cockpit-west-crossroads::after {
  content:"";
  position:absolute;
  left:-8%;
  right:-8%;
  top:60%;
  height:18%;
  background:linear-gradient(180deg,#d8c293 0%,#b5a276 35%,#9d895c 60%,#d9c495 100%);
  clip-path:polygon(0 26%,100% 26%,100% 100%,0 100%);
  opacity:.86;
  box-shadow:inset 0 3px #eee3c8;
}
.benny-cockpit.at-west-junction .west-sign { z-index:2; }


/* Long eastern country road and its own Bible Adventure three-way junction. */
.benny-cockpit[data-scene="bible-road"] .cockpit-scenery,
.benny-cockpit[data-scene="bible-junction"] .cockpit-scenery {
 background-image:url('/adventures/art/benny-turn-right.webp');
 background-position:center;
 transform:scale(var(--east-road-scale,1));
 transition:transform .14s linear;
}
.benny-cockpit[data-scene="bible-road"] .cockpit-crossroads,
.benny-cockpit[data-scene="bible-junction"] .cockpit-crossroads {opacity:0}
.cockpit-east-crossroads[hidden]{display:none!important}
.cockpit-east-crossroads {position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(180deg,transparent 30%,#51925b29 85%)}
.cockpit-east-crossroads::before{
 content:"";position:absolute;left:29%;bottom:-20%;width:43%;height:55%;
 background:linear-gradient(100deg,#f0d09d00 18%,#e4cca3cc 27% 74%,#f0d09d00 81%);
 clip-path:polygon(35% 0,65% 0,100% 100%,0 100%);
}
.cockpit-east-crossroads::after{
 content:"";position:absolute;left:-5%;right:-5%;top:64%;height:13%;
 background:linear-gradient(#ead3a5,#ad956d,#ead3a5);
 opacity:.82;
}
.cockpit-east-crossroads .east-sign{
 position:absolute;top:29%;right:3%;z-index:2;max-width:39%;padding:9px 12px;
 border:4px solid #fff5c4;border-radius:16px;
 background:#4b8c71;color:#fff;font-size:clamp(13px,2vw,24px);font-weight:900;
 text-shadow:0 2px #2f624a;box-shadow:0 5px #346d56;
}
.benny-cockpit.at-east-junction .cockpit-directions{flex-wrap:wrap;justify-content:space-between}
.benny-cockpit.at-east-junction .cockpit-main-return{margin:5px auto 0}
@media(max-width:700px){
 .cockpit-east-crossroads .east-sign{font-size:12px;top:35%;padding:6px 8px}
 .benny-cockpit.at-east-junction .cockpit-direction{flex:1 1 29%;font-size:11px}
 .benny-cockpit.at-east-junction .cockpit-directions{bottom:4%}
}
@media(prefers-reduced-motion:reduce){
 .benny-cockpit[data-scene="bible-road"] .cockpit-scenery{transition:none}
}


/* Raised driving pedals: both large touch targets sit comfortably above the
   bottom edge, while the restart button stays centered below them. */
.benny-cockpit .cockpit-pedal {
  bottom: 47px;
}
@media (max-width: 700px) {
  .benny-cockpit .cockpit-pedal {
    bottom: 43px;
  }
}


/* Continuous forward movement on the long left/right roads.
   Travel follows the existing drive-step event, rather than a fixed CSS duration. */
.benny-cockpit.branch-drive .cockpit-scenery {
  transform: translateY(var(--branch-road-shift,0%)) scale(var(--branch-road-zoom,1.03));
  transform-origin: 50% 55%;
  transition: transform .1s linear;
}
.benny-cockpit.branch-drive .cockpit-turn-view,
.benny-cockpit.branch-drive.turn-left.is-moving .cockpit-turn-view,
.benny-cockpit.branch-drive.turn-right.is-moving .cockpit-turn-view {
  animation: none;
  opacity: var(--branch-turn-opacity,0);
  transform: scale(1.03);
  transition: opacity .1s linear;
}
/* Verge posts repeatedly travel from the horizon toward the dashboard,
   so the road looks like Benny is driving, not staring at a static image. */
.benny-cockpit .cockpit-branch-motion {
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  opacity:0;
  overflow:hidden;
}
.benny-cockpit.branch-drive .cockpit-branch-motion { opacity:1; }
.benny-cockpit .passing-post {
  position:absolute;
  top:49%;
  width:7px;
  height:24px;
  border:3px solid #f9f6e6;
  border-bottom:8px solid #b55439;
  border-radius:3px;
  opacity:0;
  filter:drop-shadow(1px 2px 1px #32574c44);
}
.benny-cockpit .post-left { left:45%; }
.benny-cockpit .post-right { right:45%; }
.benny-cockpit.branch-drive.is-moving .post-left {
  animation: benny-post-left 1.8s linear infinite;
}
.benny-cockpit.branch-drive.is-moving .post-right {
  animation: benny-post-right 1.8s linear infinite;
  animation-delay:-.9s;
}
@keyframes benny-post-left {
  0% { opacity:0; transform:translate(-5px,0) scale(.16); }
  18% { opacity:.95; }
  90% { opacity:1; }
  100% { opacity:0; transform:translate(-230px,240px) scale(3.2); }
}
@keyframes benny-post-right {
  0% { opacity:0; transform:translate(5px,0) scale(.16); }
  18% { opacity:.95; }
  90% { opacity:1; }
  100% { opacity:0; transform:translate(230px,240px) scale(3.2); }
}
/* The second intersection approaches from the distance and only becomes
   full-size when the drive has actually finished. */
.benny-cockpit.branch-drive.branch-near-junction .cockpit-west-crossroads,
.benny-cockpit.branch-drive.branch-near-junction .cockpit-east-crossroads {
  opacity:var(--branch-junction-opacity,0);
  transform:scale(var(--branch-junction-scale,.48));
  transform-origin:50% 58%;
}
.benny-cockpit.branch-drive .cockpit-directions[hidden] { display:none; }
@media(max-width:700px) {
  @keyframes benny-post-left {
    0% { opacity:0; transform:translate(-2px,0) scale(.16); }
    18%,90% { opacity:1; }
    100% {opacity:0;transform:translate(-90px,280px) scale(2.5);}
  }
  @keyframes benny-post-right {
    0% { opacity:0; transform:translate(2px,0) scale(.16); }
    18%,90% { opacity:1; }
    100% {opacity:0;transform:translate(90px,280px) scale(2.5);}
  }
}
@media(prefers-reduced-motion:reduce) {
  .benny-cockpit.branch-drive .cockpit-scenery { transform:none; transition:none; }
  .benny-cockpit.branch-drive.is-moving .passing-post { animation:none; }
  .benny-cockpit.branch-drive.branch-near-junction .cockpit-west-crossroads,
  .benny-cockpit.branch-drive.branch-near-junction .cockpit-east-crossroads {
    opacity:1;transform:none;
  }
}


/* True moving-car scene for both long branches. The road graphics come from
   the exact same world map used by the Show Valley Map dashboard control. */
.benny-cockpit .cockpit-road-trip {
  position:absolute;
  inset:0;
  z-index:5;
  background:#a2d9aa;
  opacity:0;
  overflow:hidden;
  pointer-events:none;
  transition:opacity .3s ease;
}
.benny-cockpit.branch-drive .cockpit-road-trip { opacity:1; }
.benny-cockpit .trip-world {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform-origin:0 0;
  will-change:transform;
}
.benny-cockpit .trip-map-svg {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
}
.benny-cockpit .trip-car {
  position:absolute;
  z-index:3;
  width:clamp(55px,10%,108px);
  aspect-ratio:120/82;
  filter:drop-shadow(0 6px 3px #31594666);
  will-change:left,top,transform;
}
.benny-cockpit .trip-car svg {
  width:100%;
  height:100%;
  display:block;
  transform:rotate(-90deg);
}
.benny-cockpit .trip-drive-label {
  position:absolute;
  left:50%;
  bottom:15px;
  transform:translateX(-50%);
  max-width:85%;
  padding:8px 15px;
  border:3px solid #fff6d3;
  border-radius:18px;
  background:#fffbe9ee;
  color:#31526e;
  font-size:clamp(13px,1.8vw,19px);
  font-weight:900;
  white-space:normal;
  text-align:center;
  box-shadow:0 4px #688f78;
}
.benny-cockpit.branch-drive .cockpit-branch-motion { opacity:0; }
.benny-cockpit.branch-drive.branch-near-junction .cockpit-west-crossroads,
.benny-cockpit.branch-drive.branch-near-junction .cockpit-east-crossroads {
  /* The actual crossing is drawn on the same moving SVG, not overlaid. */
  opacity:0;
}
@media (max-width:700px){
 .benny-cockpit .trip-car {width:clamp(45px,12%,80px);}
 .benny-cockpit .trip-drive-label {bottom:9px;padding:5px 9px;font-size:12px;}
}
@media (prefers-reduced-motion:reduce) {
 .benny-cockpit .cockpit-road-trip { transition:none; }
 .benny-cockpit .trip-world {will-change:auto;}
}


/* Compact dashboard — expose more windshield while keeping music and map controls. */
.benny-cockpit .cockpit-dashboard {
  min-height: 205px;
  padding: 9px 16px 16px;
  border-top-width: 6px;
}
.benny-cockpit .cockpit-stereo { margin: 0 auto 5px; }
.benny-cockpit .cockpit-road-progress { margin: 5px auto 4px; padding: 6px 10px; }
.benny-cockpit .cockpit-map-toggle { margin: 4px auto 0; }
.benny-cockpit .cockpit-pedal { bottom: 67px; }
.benny-cockpit .cockpit-wheel { top: 4px; }
.benny-cockpit .cockpit-restart { bottom: 6px; }
.benny-cockpit .cockpit-wiper-switch { top: 8px; }
@media (max-width:700px) {
  .benny-cockpit .cockpit-dashboard {
    min-height: 255px;
    padding: 60px 7px 22px;
  }
  .benny-cockpit .cockpit-pedal {
    bottom: 70px;
    width: clamp(70px,19vw,98px);
    height: clamp(95px,24vw,124px);
  }
  .benny-cockpit .cockpit-wheel {top:4px}
  .benny-cockpit .cockpit-stereo {max-width:min(100%,260px);margin-bottom:5px}
  .benny-cockpit .cockpit-road-progress {margin:5px auto 3px}
  .benny-cockpit .cockpit-map-toggle {margin:3px auto 0}
  .benny-cockpit .cockpit-restart {bottom:5px}
}

/* Stop sign comes into view on the garage-to-main-road approach,
   then stays visible while the driver chooses the next road. */
.benny-cockpit .cockpit-first-stop-sign {
  position:absolute;
  z-index:4;
  right:13%;
  top:34%;
  width:clamp(48px,9vw,100px);
  height:clamp(115px,21vw,205px);
  opacity:0;
  pointer-events:none;
  transform:translate(15%,-12%) scale(.24);
  transform-origin:50% 85%;
  transition:transform .12s linear,opacity .12s linear;
}
.benny-cockpit.approaching-first-stop .cockpit-first-stop-sign,
.benny-cockpit.at-first-stop .cockpit-first-stop-sign {
  opacity:1;
  transform:translate(0,0) scale(calc(.24 + var(--stop-approach,0) * .76));
}
.benny-cockpit .stop-sign-face {
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:1;
  color:white;
  font-size:clamp(14px,2.4vw,29px);
  font-weight:900;
  letter-spacing:1px;
  background:#d74039;
  border:6px solid #fff9e6;
  box-shadow:0 0 0 3px #a3292d,0 4px 5px #27483566;
  clip-path:polygon(29% 1%,71% 1%,99% 29%,99% 71%,71% 99%,29% 99%,1% 71%,1% 29%);
}
.benny-cockpit .stop-sign-post {
  display:block;
  width:8px;
  height:55%;
  margin:-2px auto 0;
  background:linear-gradient(90deg,#6d7881,#d2dee2,#607384);
  box-shadow:1px 2px 2px #345e5a88;
}
.benny-cockpit .cockpit-first-stop-line {
  position:absolute;
  z-index:3;
  left:18%;
  right:18%;
  bottom:9%;
  height:11px;
  background:#fff8e4;
  border-radius:14px;
  box-shadow:0 2px 4px #315f5a55;
  opacity:0;
  transform:scaleX(.25);
  transition:transform .1s linear,opacity .1s linear;
  pointer-events:none;
}
.benny-cockpit.approaching-first-stop .cockpit-first-stop-line,
.benny-cockpit.at-first-stop .cockpit-first-stop-line {
  opacity:var(--stop-approach,1);
  transform:scaleX(calc(.25 + var(--stop-approach,0) * .75));
}
/* Forward-road animated details respond to real throttle speed. */
.benny-cockpit.is-moving[data-scene="road"] .cockpit-scenery::after {
  animation-duration:var(--drive-motion-duration,1.7s);
}
@media(max-width:700px) {
 .benny-cockpit .cockpit-first-stop-sign {right:9%;top:43%;width:58px;height:124px}
 .benny-cockpit .stop-sign-face {font-size:16px;border-width:4px}
 .benny-cockpit .cockpit-first-stop-line {bottom:12%;height:7px}
}
@media(prefers-reduced-motion:reduce) {
 .benny-cockpit .cockpit-first-stop-sign,
 .benny-cockpit .cockpit-first-stop-line {transition:none}
}


/* The first road is clear again: no flowers or bees over the road.
   Dog art is mirrored so its head leads to the right, tail trails behind. */
.benny-cockpit .first-stop-dog {
  position:absolute;
  z-index:7;
  bottom:11%;
  left:-16%;
  width:clamp(94px,14vw,165px);
  opacity:0;
  pointer-events:none;
  transform:translateY(0) scale(.88);
}
.benny-cockpit .first-stop-dog svg {
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
  transform:scaleX(-1);
  transform-origin:center;
}
.benny-cockpit.dog-crossing .first-stop-dog {
  opacity:1;
  animation:benny-dog-pause-smile-cross 4.5s linear both;
}
/* Left pavement -> centreline (pause and smile) -> right pavement. */
@keyframes benny-dog-pause-smile-cross {
  0%   {left:-16%;opacity:0;transform:translateY(0) scale(.88)}
  6%   {opacity:1}
  43%  {left:46%;opacity:1;transform:translateY(-4px) scale(.94)}
  68%  {left:46%;opacity:1;transform:translateY(-4px) scale(.94)}
  94%  {opacity:1}
  100% {left:112%;opacity:0;transform:translateY(0) scale(.90)}
}
/* The dog's smile appears while it is stopped at the midpoint. */
.benny-cockpit .dog-happy-face{opacity:0}
.benny-cockpit.dog-crossing .dog-happy-face {
  animation:dog-midway-smile 4.5s linear both;
}
.benny-cockpit.dog-crossing .dog-mouth-neutral {
  animation:dog-midway-mouth 4.5s linear both;
}
@keyframes dog-midway-smile {
  0%,39%,72%,100%{opacity:0}
  44%,66%{opacity:1}
}
@keyframes dog-midway-mouth {
  0%,39%,72%,100%{opacity:1}
  44%,66%{opacity:0}
}
.benny-cockpit .dog-tail {
  transform-box:fill-box;
  transform-origin:15% 75%;
}
.benny-cockpit.dog-crossing .dog-tail{
  animation:dog-friendly-wag .36s ease-in-out infinite alternate;
}
.benny-cockpit .dog-leg{
  transform-box:fill-box;
  transform-origin:50% 10%;
}
.benny-cockpit.dog-crossing .leg-front{
  animation:dog-midway-step 4.5s ease-in-out both;
}
.benny-cockpit.dog-crossing .leg-back{
  animation:dog-midway-step-back 4.5s ease-in-out both;
}
@keyframes dog-midway-step-back {
  0%,14%,28%,40%,70%,82%,96%,100%{transform:rotate(17deg)}
  7%,21%,35%,75%,89%{transform:rotate(-16deg)}
  43%,68%{transform:rotate(0deg)}
}
@keyframes dog-friendly-wag{
  from{transform:rotate(-15deg)}to{transform:rotate(17deg)}
}
@keyframes dog-midway-step {
  0%,14%,28%,40%,70%,82%,96%,100%{transform:rotate(-16deg)}
  7%,21%,35%,75%,89%{transform:rotate(17deg)}
  43%,68%{transform:rotate(0deg)}
}
@media(max-width:700px){
  .benny-cockpit .first-stop-dog{bottom:13%;width:95px}
}
@media(prefers-reduced-motion:reduce){
  .benny-cockpit.dog-crossing .first-stop-dog{
    animation:benny-dog-cross-reduced .9s linear both;
  }
  .benny-cockpit.dog-crossing .dog-tail,
  .benny-cockpit.dog-crossing .dog-leg{animation:none}
  .benny-cockpit.dog-crossing .dog-happy-face{animation:none;opacity:1}
  .benny-cockpit.dog-crossing .dog-mouth-neutral{animation:none;opacity:0}
  @keyframes benny-dog-cross-reduced {
    0%{left:-16%;opacity:1}
    35%,65%{left:46%;opacity:1}
    100%{left:112%;opacity:0}
  }
}


/* Keep the restart button on the right instead of covering centered
   stereo/progress/map text. The two footer actions occupy opposite edges. */
.benny-cockpit .cockpit-restart {
  position:absolute;
  left:auto;
  right:12px;
  bottom:7px;
  top:auto;
  transform:none;
  z-index:7;
  width:auto;
  min-width:112px;
  max-width:40%;
  margin:0;
}
.benny-cockpit .cockpit-map-toggle {
  display:block;
  margin:4px auto 0 12px;
  max-width:46%;
}
@media(max-width:700px) {
  .benny-cockpit .cockpit-restart {
    left:auto;
    right:7px;
    bottom:5px;
    transform:none;
    min-width:96px;
    max-width:40%;
    padding:7px 8px;
    font-size:12px;
  }
  .benny-cockpit .cockpit-map-toggle {
    margin:4px auto 0 5px;
    max-width:48%;
    padding:7px 6px;
    font-size:12px;
  }
}

/* The first screen is the actual garage, not the middle of the road.
   The garage illustration recedes when the student presses GAS. */
.benny-cockpit .cockpit-garage-departure {
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  background: url('/adventures/art/painted-garage.webp') center 56% / cover no-repeat;
  opacity:var(--garage-departure-opacity,1);
  transform:scale(var(--garage-departure-scale,1));
  transform-origin:50% 58%;
  transition:opacity .1s linear,transform .1s linear;
}
.benny-cockpit[data-scene="garage"] .cockpit-garage-departure {
  opacity:1;
  transform:scale(1);
}
.benny-cockpit:not([data-scene="garage"]) .cockpit-garage-departure {
  opacity:var(--garage-departure-opacity,0);
}
@media(prefers-reduced-motion:reduce) {
  .benny-cockpit .cockpit-garage-departure {transition:none}
}


/* Give the green GAS pedal more space from the right screen edge.
   Preserve pedal dimensions and vertical position on every device. */
.benny-cockpit .pedal-gas { right: clamp(44px, 9%, 105px); }
@media (max-width:700px) {
  .benny-cockpit .pedal-gas { right: clamp(32px, 10%, 65px); }
}


/* Three dog states: approach, wait indefinitely for horn, then cross.
   Keep the walking dog on the right-facing artwork from PR #346. */
.benny-cockpit.dog-crossing:not(.dog-waiting):not(.dog-leaving) .first-stop-dog {
  animation:dog-to-center 1.85s ease-out forwards;
}
@keyframes dog-to-center {
  from {left:-16%;opacity:0;transform:translateY(0) scale(.88)}
  7% {opacity:1}
  to {left:46%;opacity:1;transform:translateY(-4px) scale(.94)}
}
.benny-cockpit.dog-crossing.dog-waiting .first-stop-dog {
  animation:none;
  left:46%;opacity:1;transform:translateY(-4px) scale(.94);
}
.benny-cockpit.dog-crossing.dog-leaving .first-stop-dog {
  animation:dog-to-sidewalk 1.9s ease-in forwards;
}
@keyframes dog-to-sidewalk {
  from {left:46%;opacity:1;transform:translateY(-4px) scale(.94)}
  85% {opacity:1}
  to {left:112%;opacity:0;transform:translateY(0) scale(.9)}
}
/* Smile throughout the wait instead of flashing on a time-based animation. */
.benny-cockpit.dog-crossing .dog-happy-face {animation:none;opacity:0}
.benny-cockpit.dog-crossing .dog-mouth-neutral {animation:none;opacity:1}
.benny-cockpit.dog-crossing.dog-waiting .dog-happy-face {opacity:1}
.benny-cockpit.dog-crossing.dog-waiting .dog-mouth-neutral {opacity:0}
.benny-cockpit.dog-crossing.dog-waiting .dog-leg {animation:none;transform:rotate(0)}
.benny-cockpit.dog-crossing.dog-waiting .dog-tail {animation:dog-friendly-wag .36s ease-in-out infinite alternate}
/* Move legs when the dog leaves without animating during the stationary smile. */
.benny-cockpit.dog-crossing.dog-leaving .leg-front {animation:dog-leg-loop .38s ease-in-out infinite alternate}
.benny-cockpit.dog-crossing.dog-leaving .leg-back {animation:dog-leg-loop .38s ease-in-out infinite alternate-reverse}
@keyframes dog-leg-loop {from{transform:rotate(-16deg)}to{transform:rotate(17deg)}}

/* Purple flower stalks are beside the STOP sign, never on the paved road. */
.benny-cockpit .junction-garden-animation {
  position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;
  transition:opacity .3s ease;
}
.benny-cockpit.approaching-first-stop .junction-garden-animation,
.benny-cockpit.at-first-stop .junction-garden-animation {opacity:1}
.benny-cockpit .junction-purple-flowers {
  position:absolute;right:1.5%;bottom:6%;width:20%;height:27%;
}
.benny-cockpit .junction-mushrooms {
  position:absolute;left:1%;bottom:5%;width:20%;height:20%;
}
.benny-cockpit .purple-flower,.benny-cockpit .mushroom {
  position:absolute;display:block;transform-origin:50% 95%;
  filter:drop-shadow(1px 2px 1px #22544277);
  animation:roadside-sway 2.7s ease-in-out infinite alternate;
}
.benny-cockpit .purple-flower {font-size:clamp(24px,3.2vw,43px)}
.benny-cockpit .mushroom {font-size:clamp(22px,2.8vw,36px);animation-name:mushroom-wiggle;animation-duration:3.3s}
.benny-cockpit .flower-one {right:11%;bottom:9%;animation-delay:-.8s}
.benny-cockpit .flower-two {right:42%;bottom:24%;animation-delay:-1.6s}
.benny-cockpit .flower-three {right:68%;bottom:3%;animation-delay:-.4s}
.benny-cockpit .mushroom-one {left:15%;bottom:2%}
.benny-cockpit .mushroom-two {left:50%;bottom:12%;animation-delay:-1.4s}
@keyframes roadside-sway {from{transform:rotate(-7deg)}to{transform:rotate(8deg) translateY(-3px)}}
@keyframes mushroom-wiggle {from{transform:rotate(-4deg)}to{transform:rotate(5deg) translateY(-2px)}}

/* Flowing water on the LEFT side of the bridge illustration. Keep it behind
   fish and bridge rails so that it reads as a waterfall off the roadside. */
.benny-cockpit .bridge-left-waterfall {
  position:absolute;z-index:1;left:5%;top:18%;width:12%;height:66%;
  overflow:hidden;pointer-events:none;clip-path:polygon(27% 0,82% 0,100% 100%,0 100%);
  opacity:.82;
}
.benny-cockpit .bridge-left-waterfall .fall-stream {
  position:absolute;inset:-65% 0 0;
  background:
    repeating-linear-gradient(180deg,#d6f9ffbb 0 13px,#fffef9cc 13px 16px,#57bfea99 16px 29px,#b8edfcbb 29px 38px),
    linear-gradient(90deg,#5fb9d5,#d5fbff,#57bce0);
  background-size:100% 100%;
  filter:drop-shadow(0 0 4px #c8f8ff);
}
.benny-cockpit .bridge-left-waterfall .fall-splash {
  position:absolute;left:-12%;right:-12%;bottom:1%;height:18%;
  background:radial-gradient(ellipse at 50% 80%,#efffff 0 19%,#96e2f3bb 40%,transparent 72%);
  animation:waterfall-splash 1.3s ease-in-out infinite alternate;
}
.benny-cockpit.bridge-crossing .bridge-left-waterfall .fall-stream {
  animation:waterfall-flow .7s linear infinite;
}
@keyframes waterfall-flow {from{transform:translateY(-30%)}to{transform:translateY(23%)}}
@keyframes waterfall-splash {from{transform:scaleX(.86);opacity:.65}to{transform:scaleX(1.16);opacity:1}}
@media(max-width:700px){
 .benny-cockpit .junction-purple-flowers{right:0;width:23%;bottom:8%}
 .benny-cockpit .junction-mushrooms{left:0;width:23%;bottom:8%}
 .benny-cockpit .purple-flower{font-size:24px}
 .benny-cockpit .mushroom{font-size:22px}
 .benny-cockpit .bridge-left-waterfall{left:3%;width:12%}
}
@media(prefers-reduced-motion:reduce) {
 .benny-cockpit.dog-crossing:not(.dog-waiting):not(.dog-leaving) .first-stop-dog {animation:dog-to-center .65s linear forwards}
 .benny-cockpit.dog-crossing.dog-leaving .first-stop-dog {animation:dog-to-sidewalk .9s linear forwards}
 .benny-cockpit.dog-crossing .dog-leg,
 .benny-cockpit.dog-crossing .dog-tail,
 .benny-cockpit .purple-flower,.benny-cockpit .mushroom,
 .benny-cockpit .bridge-left-waterfall .fall-stream,
 .benny-cockpit .bridge-left-waterfall .fall-splash {animation:none}
}


/* Highlight the horn as the next playful interaction. */
.benny-cockpit.dog-waiting .cockpit-horn {
  outline:4px solid #ffe06e;
  outline-offset:5px;
  box-shadow:0 0 0 8px #fff6d566;
  animation:benny-horn-invite 1.2s ease-in-out infinite alternate;
}
@keyframes benny-horn-invite {
  from{transform:scale(1)}to{transform:scale(1.09)}
}
@media(prefers-reduced-motion:reduce){
  .benny-cockpit.dog-waiting .cockpit-horn{animation:none}
}


/* Visibility correction: the first intersection flowers and mushrooms must
   visibly sway above the still background painting, including while parked. */
.benny-cockpit .cockpit-windshield > .junction-garden-animation {
  z-index:6;
  opacity:0;
  visibility:hidden;
  overflow:visible;
  pointer-events:none;
}
.benny-cockpit.at-first-stop .cockpit-windshield > .junction-garden-animation,
.benny-cockpit.approaching-first-stop .cockpit-windshield > .junction-garden-animation {
  opacity:1;
  visibility:visible;
}
.benny-cockpit .junction-purple-flowers {
  right:2%;
  bottom:14%;
  width:20%;
  height:27%;
}
.benny-cockpit .junction-mushrooms {
  left:1%;
  bottom:12%;
  width:21%;
  height:20%;
}
.benny-cockpit .junction-purple-flowers .purple-flower {
  display:block;
  font-size:clamp(34px,4.4vw,57px);
  transform-origin:50% 90%;
  animation:benny-visible-purple-sway 1.8s ease-in-out infinite alternate;
  will-change:transform;
}
.benny-cockpit .junction-mushrooms .mushroom {
  display:block;
  font-size:clamp(32px,4vw,52px);
  transform-origin:50% 100%;
  animation:benny-visible-mushroom-wiggle 2.1s ease-in-out infinite alternate;
  will-change:transform;
}
.benny-cockpit .junction-purple-flowers .flower-one{bottom:0%;right:4%;animation-delay:-.3s}
.benny-cockpit .junction-purple-flowers .flower-two{bottom:18%;right:36%;animation-delay:-1.2s}
.benny-cockpit .junction-purple-flowers .flower-three{bottom:1%;right:69%;animation-delay:-.7s}
.benny-cockpit .junction-mushrooms .mushroom-one{left:8%;bottom:0%;animation-delay:-.2s}
.benny-cockpit .junction-mushrooms .mushroom-two{left:53%;bottom:16%;animation-delay:-1.2s}
@keyframes benny-visible-purple-sway {
  0%{transform:rotate(-16deg) translate(-5px,2px)}
  50%{transform:rotate(1deg) translate(0,-5px)}
  100%{transform:rotate(16deg) translate(5px,0)}
}
@keyframes benny-visible-mushroom-wiggle {
  0%{transform:rotate(-11deg) translateY(2px)}
  50%{transform:rotate(1deg) translateY(-5px)}
  100%{transform:rotate(11deg) translateY(1px)}
}

/* Flowing waterfall: make a real loop of vertical water streaks, rather than
   sliding a stretched static gradient, which looked stationary in browsers.
   The cascade is layered ABOVE the bridge painting, BELOW fish and rails. */
.benny-cockpit .cockpit-bridge-view > .bridge-left-waterfall {
  z-index:1;
  left:4%;
  top:18%;
  height:67%;
  width:13%;
  opacity:1;
  overflow:hidden;
  isolation:isolate;
  border-radius:25% 20% 36% 28%;
  background:linear-gradient(90deg,#268db9aa,#92e1f6ee 28%,#e4fbff 53%,#50b2dfcc 84%,#1688b7);
  box-shadow:inset 3px 0 5px #d6f8ffb0,inset -3px 0 6px #246a9d88;
}
.benny-cockpit .bridge-left-waterfall .fall-stream {
  inset:0;
  background:
    repeating-linear-gradient(180deg,transparent 0 14px,#ffffffd4 15px 19px,transparent 21px 36px),
    repeating-linear-gradient(183deg,transparent 0 8px,#9ce6ffff 9px 12px,transparent 14px 28px);
  background-size:100% 72px,100% 55px;
  background-position:0 0,0 13px;
  transform:none;
}
.benny-cockpit.bridge-crossing .bridge-left-waterfall .fall-stream {
  animation:benny-water-scroll .68s linear infinite;
}
.benny-cockpit .bridge-left-waterfall .fall-stream::after {
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(90deg,#d4f8ffa3 0 4px,transparent 5px 17px,#fff9 18px 21px,transparent 22px 35px);
  opacity:.7;
}
.benny-cockpit .bridge-left-waterfall .fall-splash {
  z-index:3;
  height:22%;
  bottom:-3%;
  background:
    radial-gradient(ellipse at 25% 70%,#f7ffffee 0 18%,transparent 46%),
    radial-gradient(ellipse at 75% 70%,#d3f8ff 0 22%,transparent 52%),
    radial-gradient(ellipse at 50% 95%,#52bce5dd 0 25%,transparent 72%);
}
.benny-cockpit.bridge-crossing .bridge-left-waterfall .fall-splash {
  animation:benny-water-splash .55s ease-in-out infinite alternate;
}
@keyframes benny-water-scroll {
  from{background-position:0 0,0 13px}
  to{background-position:0 72px,0 68px}
}
@keyframes benny-water-splash {
  from{transform:scaleX(.78) scaleY(.82);opacity:.75}
  to{transform:scaleX(1.2) scaleY(1.16);opacity:1}
}
@media(max-width:700px) {
 .benny-cockpit .junction-purple-flowers {right:0;bottom:16%;width:23%}
 .benny-cockpit .junction-mushrooms {left:0;bottom:14%;width:23%}
 .benny-cockpit .junction-purple-flowers .purple-flower {font-size:clamp(30px,6vw,40px)}
 .benny-cockpit .junction-mushrooms .mushroom {font-size:clamp(27px,6vw,37px)}
 .benny-cockpit .cockpit-bridge-view > .bridge-left-waterfall{left:3%;width:15%;top:20%}
}
@media(prefers-reduced-motion:reduce) {
 .benny-cockpit .junction-purple-flowers .purple-flower,
 .benny-cockpit .junction-mushrooms .mushroom,
 .benny-cockpit.bridge-crossing .bridge-left-waterfall .fall-stream,
 .benny-cockpit.bridge-crossing .bridge-left-waterfall .fall-splash {
   animation:none;
 }
}


/* Driving layout: BRAKE | STEERING WHEEL | GAS.
   Position all three relative to the same dashboard center, rather than the
   screen edges; don't change the pedal click targets or driving behavior. */
.benny-cockpit .cockpit-dashboard {
  min-height: 310px;
  padding: 156px 14px 14px;
}
.benny-cockpit .cockpit-wheel {
  left:50%;
  top:9px;
  width:clamp(105px,14vw,150px);
  transform:translateX(-50%) rotate(-8deg);
  z-index:5;
}
.benny-cockpit.turn-left.is-moving .cockpit-wheel {
  transform:translateX(-50%) rotate(-48deg);
}
.benny-cockpit.turn-right.is-moving .cockpit-wheel {
  transform:translateX(-50%) rotate(32deg);
}
.benny-cockpit .cockpit-pedal {
  position:absolute;
  top:12px;
  bottom:auto;
  width:clamp(75px,10vw,112px);
  height:clamp(104px,12vw,142px);
  z-index:6;
}
.benny-cockpit .pedal-brake {
  left:auto;
  right:calc(50% + clamp(52.5px,7vw,75px) + 14px);
}
.benny-cockpit .pedal-gas {
  right:auto;
  left:calc(50% + clamp(52.5px,7vw,75px) + 14px);
}
.benny-cockpit .cockpit-wiper-switch {
  top:auto;
  right:12px;
  bottom:8px;
}
.benny-cockpit .cockpit-map-toggle {margin:5px auto 0 12px}
@media(max-width:700px) {
  .benny-cockpit .cockpit-dashboard {
    min-height:305px;
    padding:139px 8px 48px;
  }
  .benny-cockpit .cockpit-wheel {
    left:50%;
    top:10px;
    width:clamp(90px,27vw,112px);
  }
  .benny-cockpit .cockpit-pedal {
    top:13px;
    bottom:auto;
    width:clamp(61px,19vw,82px);
    height:clamp(90px,28vw,112px);
  }
  .benny-cockpit .pedal-brake {
    left:auto;
    right:calc(50% + clamp(45px,13.5vw,56px) + 5px);
  }
  .benny-cockpit .pedal-gas {
    right:auto;
    left:calc(50% + clamp(45px,13.5vw,56px) + 5px);
  }
  .benny-cockpit .cockpit-wiper-switch {
    top:auto;
    right:6px;
    bottom:6px;
    min-height:40px;
    font-size:10px;
    padding:3px 8px;
  }
  .benny-cockpit .cockpit-map-toggle {
    margin:5px auto 0 4px;
    max-width:45%;
  }
}


/* Keep the horn invitation centered in the steering-wheel hub.
   Earlier pulse keyframes replaced translate(-50%,-50%) with scale() alone,
   which made the highlighted horn jump down and right of the wheel. */
.benny-cockpit .cockpit-wheel .cockpit-horn {
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  transform-origin:center center;
}
.benny-cockpit.dog-waiting .cockpit-wheel .cockpit-horn {
  animation:benny-horn-centered-pulse 1.2s ease-in-out infinite alternate;
}
@keyframes benny-horn-centered-pulse {
  from{transform:translate(-50%,-50%) scale(1)}
  to{transform:translate(-50%,-50%) scale(1.09)}
}
.benny-cockpit .cockpit-wheel .cockpit-horn:active,
.benny-cockpit.dog-waiting .cockpit-wheel .cockpit-horn:active {
  animation:none;
  transform:translate(-50%,-48%) scale(.97);
}
@media(prefers-reduced-motion:reduce){
  .benny-cockpit.dog-waiting .cockpit-wheel .cockpit-horn{
    animation:none;
    transform:translate(-50%,-50%);
  }
}


/* Route progress drives cornering, so braking never restarts a turn animation. */
@media (prefers-reduced-motion: no-preference) {
 .benny-cockpit.turn-left.is-moving .cockpit-wheel,
 .benny-cockpit.turn-right.is-moving .cockpit-wheel {
  transform:translateX(-50%) rotate(calc(-8deg + var(--steering-angle,0deg)));
  transition:transform .12s linear;
 }
 .benny-cockpit.turn-left.is-moving .cockpit-turn-view,
 .benny-cockpit.turn-right.is-moving .cockpit-turn-view {
  animation:none;
  opacity:var(--turn-opacity,1);
  transform:scale(var(--trip-zoom,1.08)) translateX(var(--turn-pan,0%));
  transition:opacity .15s linear;
 }
 .benny-cockpit:not(.is-moving) .cockpit-dashboard,
 .benny-cockpit:not(.is-moving) .passing-post {animation-play-state:paused;}
}


/* Compact mirror and clean SVG interaction outlines. */
.benny-cockpit .cockpit-rear-mirror{height:clamp(40px,5.5vw,58px);border-width:5px;border-radius:12px}
.benny-cockpit .rear-mirror-caption{font-size:8px}
.benny-cockpit .real-stop-sign{width:100%;height:100%;display:block;overflow:visible}
.benny-cockpit .first-stop-dog .dog-tail{outline:none!important;box-shadow:none!important}
.benny-cockpit .first-stop-dog:focus-visible{outline:3px solid #ffbc37;outline-offset:8px}
.benny-cockpit .wooden-junction-sign{max-width:150px;pointer-events:none;transition:none}
.benny-cockpit .wooden-junction-sign div{padding:3px 5px}
.benny-cockpit .turn-around-road{position:absolute;z-index:12;left:50%;bottom:32%;transform:translateX(-50%);padding:10px 18px;background:#ffdc88;color:#304c63;border:3px solid white;border-radius:16px;font:900 16px Trebuchet MS,sans-serif}
.benny-cockpit .turn-around-road[hidden]{display:none}

.benny-cockpit .wooden-junction-sign div{font-size:inherit;padding:3px 5px;margin:2px -3px}


.benny-cockpit.continuous-driving .cockpit-garage-departure,.benny-cockpit.continuous-driving[data-scene=garage-reverse] .cockpit-garage-departure{display:none!important}.benny-cockpit.continuous-driving[data-scene=garage-reverse] .garage-ground-parallax{display:none!important}

/* Tiny engine-upgrade emblem on Benny's dash, alongside the dashboard decoration. */
.benny-cockpit .cockpit-windshield .benny-motor-upgrade-icon{position:absolute;bottom:10px;left:24%;top:auto;right:auto;z-index:12;display:grid;place-items:center;width:30px;height:30px;box-sizing:border-box;border:2px solid #d7dfe2;border-radius:7px;background:linear-gradient(145deg,#365568,#152c3b);box-shadow:inset 0 1px #ffffff55,0 2px 4px #0006;color:#fff;font-size:17px;line-height:1;pointer-events:none}
.benny-cockpit .cockpit-windshield .benny-motor-upgrade-icon[hidden]{display:none!important}
@media(max-width:700px){.benny-cockpit .cockpit-windshield .benny-motor-upgrade-icon{bottom:8px;left:24%;top:auto;right:auto;width:24px;height:24px;font-size:14px}}
