:root {
  color-scheme: dark;
  font:
    14px -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
body {
  margin: 0;
  overflow: hidden;
  background: #10141b;
  color: #eef4fa;
}
canvas {
  display: block;
  outline: none;
}
#status {
  position: fixed;
  left: 24px;
  top: 22px;
  color: #28323c;
}
body[data-night='true'] #status {
  color: #dce5f1;
}
.settings {
  position: fixed;
  z-index: 2;
  top: 20px;
  right: 24px;
}
.settings summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  border: 1px solid #64717e70;
  border-radius: 9px;
  background: #161d25ed;
  color: #e1e7ed;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 3px 12px #0002;
}
.settings summary::-webkit-details-marker {
  display: none;
}
.settings summary > svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.settings summary .chevron {
  width: 11px;
  height: 11px;
  margin-left: 3px;
}
.settings[open] .chevron {
  transform: rotate(180deg);
}
.settings-panel {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: 252px;
  box-sizing: border-box;
  padding: 17px;
  border: 1px solid #56637180;
  border-radius: 12px;
  background: #141b23f7;
  box-shadow: 0 12px 34px #0004;
  max-height: calc(100dvh - 92px);
  overflow-y: auto;
}
.settings-heading {
  margin: 0 0 11px;
  color: #95a2af;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.simulation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 19px;
}
button {
  padding: 9px 12px;
  border: 1px solid #4a5967;
  border-radius: 6px;
  background: #2c3947;
  color: #eef3f7;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
button:hover {
  background: #3b4b5b;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button[aria-pressed='true'] {
  background: #35495b;
  border-color: #63798e;
}
:focus-visible {
  outline: 2px solid #b5d3ec;
  outline-offset: 4px;
}
.scene-options {
  display: grid;
  gap: 2px;
}
.scene-options label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  cursor: pointer;
  color: #d9e1e8;
  font-size: 12px;
}
.scene-options input {
  accent-color: #a5bfd4;
  width: 14px;
  height: 14px;
  margin: 0 1px 0 12px;
  cursor: pointer;
}
.sound-options {
  margin-top: 15px;
  padding-top: 11px;
  border-top: 1px solid #74859535;
}
.sound-options label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  color: #d9e1e8;
  font-size: 12px;
  cursor: pointer;
}
.sound-options input[type='checkbox'] {
  width: 14px;
  height: 14px;
  margin-right: 1px;
  accent-color: #a5bfd4;
}
.sound-options input[type='range'] {
  width: 126px;
  accent-color: #a5bfd4;
  cursor: pointer;
}
.sound-options .volume-label {
  font-size: 10px;
  color: #a9b7c2;
}
#audio-status {
  margin: 6px 0;
  color: #9cafbd;
  font-size: 10px;
  line-height: 1.4;
}
.sound-options a {
  display: inline-block;
  margin-top: 6px;
  color: #93a7b7;
  font-size: 9px;
  text-decoration: none;
}
.sound-options a:hover {
  color: #d9e7f1;
  text-decoration: underline;
}
.instrument-cluster {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(460px, calc(100vw - 32px));
  pointer-events: none;
  filter: drop-shadow(0 5px 6px #0002);
}
.instrument-cluster svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  /* The European M5 cluster uses semi-bold, slightly narrow sans figures. */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
/* Semi-transparent panel and dial faces keep the scene visible behind. */
.cluster-shell {
  fill: url(#cluster-shell);
  fill-opacity: 0.62;
  stroke: #7a7a7a;
  stroke-opacity: 0.28;
  stroke-width: 1.2;
}
.dial-face {
  fill: url(#dial-face);
  fill-opacity: 0.9;
}
.dial-bezel-shadow {
  fill: none;
  stroke: #000;
  stroke-width: 5;
  stroke-opacity: 0.6;
}
.dial-bezel {
  fill: none;
  stroke: url(#bezel-metal);
  stroke-width: 5.2;
}
.dial-bezel-edge {
  fill: none;
  stroke: #080808;
  stroke-width: 0.9;
}
.major-tick {
  fill: none;
  stroke: #f6f6f2;
  stroke-width: 2.8;
}
.minor-tick {
  fill: none;
  stroke: #e9ebe6;
  stroke-width: 1.8;
}
.dial-number {
  fill: #f6f6f2;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
}
.speed-number {
  font-size: 16px;
  letter-spacing: -0.6px;
}
.rpm-number {
  font-size: 21px;
}
.dial-unit {
  fill: #e6e8e4;
  font-size: 9.5px;
  font-weight: 600;
  text-anchor: middle;
}
.side-icon {
  fill: none;
  stroke: #e6e8e4;
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.rpm-warning {
  fill: none;
  stroke: #b9bcbf;
  stroke-width: 3.4;
}
.rpm-redline {
  fill: none;
  stroke: #e0392d;
  stroke-width: 3.4;
}
.needle-glow {
  fill: #ff3a24;
  opacity: 0.75;
}
.needle-core {
  stroke: #ffd6c8;
  stroke-width: 0.9;
  stroke-linecap: round;
}
.info-arc {
  fill: none;
  stroke: url(#info-blue);
  stroke-width: 2.4;
}
.info-arc-inner {
  fill: none;
  stroke: #2c6fd6;
  stroke-opacity: 0.35;
  stroke-width: 0.8;
}
.info-text {
  fill: #e8eef6;
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
  font-variant-numeric: tabular-nums;
}
.gear-display {
  fill: #f2f6f8;
  font-size: 36px;
  font-weight: 600;
  text-anchor: middle;
}
.transmission-label {
  fill: #9fb0bd;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-anchor: middle;
}
.m-mark {
  fill: #e3e7e6;
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
}
.low-beam-indicator {
  fill: none;
  stroke: #79bd8a;
  stroke-width: 1.6;
}
.high-beam-indicator {
  fill: #2f7cff;
  stroke: #5fa0ff;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 3px #2f7cffaa);
}
.turn-signal {
  fill: #3bd16f;
  filter: drop-shadow(0 0 3px #3bd16f99);
}
.dsc-indicator .dsc-symbol {
  fill: #ffaa1f;
  filter: drop-shadow(0 0 2px #ff9a0080);
}
/* Heading-up road map in the top left corner. */
.minimap {
  position: fixed;
  top: 16px;
  left: 18px;
  width: 120px;
  height: 140px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 78%, #0e141a99, #0e141a55);
  border: 1px solid #9aafbd2e;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  overflow: hidden;
}
.minimap canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.suspension-display {
  position: fixed;
  left: 18px;
  bottom: 20px;
  width: 236px;
  box-sizing: border-box;
  padding: 9px 10px 7px;
  pointer-events: none;
  color: #e3eaef;
  font-size: 10px;
  background: linear-gradient(150deg, #0e141acc, #0e141a99);
  border: 1px solid #9aafbd2e;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
.susp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}
.susp-head h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}
.susp-balance {
  color: #aebfcb;
  font-variant-numeric: tabular-nums;
}
.susp-grid {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  grid-template-rows: auto auto;
  gap: 6px 6px;
}
.susp-grid > [data-corner='FL'] {
  grid-area: 1 / 1;
}
.susp-grid > [data-corner='FR'] {
  grid-area: 1 / 3;
}
.susp-grid > [data-corner='RL'] {
  grid-area: 2 / 1;
}
.susp-grid > [data-corner='RR'] {
  grid-area: 2 / 3;
}
.susp-car {
  grid-area: 1 / 2 / 3 / 3;
  position: relative;
  display: grid;
  place-items: center;
}
.susp-car svg {
  width: 36px;
  height: auto;
  overflow: visible;
}
.susp-body {
  fill: #b7c9d314;
  stroke: #b7c9d366;
  stroke-width: 1.2;
}
.susp-glass {
  fill: none;
  stroke: #b7c9d355;
}
.susp-nose {
  fill: #b7c9d388;
}
.susp-centre {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #ffcf6e;
  box-shadow: 0 0 0 2px #ffcf6e33;
  transition: transform 0.12s linear;
}
.susp-corner {
  position: relative;
  padding: 4px 5px 5px;
  border-radius: 6px;
  background: #ffffff0a;
}
.susp-name {
  color: #9fb2bf;
  font-size: 9px;
  letter-spacing: 0.3px;
}
.susp-load {
  margin: 1px 0 3px;
  color: #aebfcb;
}
.susp-load b {
  color: #f1f5f7;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.susp-loadbar {
  position: relative;
  height: 5px;
  border-radius: 3px;
  background: #a6bdcc26;
  overflow: hidden;
}
.susp-loadbar i {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: 3px;
  background: #7fd0a4;
}
/* Load at rest is half the bar. */
.susp-loadbar span {
  position: absolute;
  left: 50%;
  top: -1px;
  bottom: -1px;
  width: 1.5px;
  background: #f1f5f7aa;
}
.susp-corner.heavy .susp-loadbar i {
  background: #f0b45c;
}
.susp-corner.light .susp-loadbar i {
  background: #8fb7d6;
}
.susp-travel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #c9d6de;
  font-variant-numeric: tabular-nums;
}
.susp-gauge {
  position: relative;
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: #a6bdcc26;
}
/* Zero line in the middle; fill grows up for compression, down for rebound. */
.susp-gauge::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 1px;
  background: #f1f5f7aa;
}
.susp-gauge i {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-radius: 3px;
}
.susp-gauge i[data-direction='up'] {
  bottom: 50%;
  background: #f0b45c;
}
.susp-gauge i[data-direction='down'] {
  top: 50%;
  background: #6fb3e0;
}
.susp-air {
  display: none;
  position: absolute;
  right: 4px;
  top: 3px;
  padding: 0 4px;
  border-radius: 3px;
  color: #10161b;
  background: #ffcf6e;
  font-size: 8px;
  font-weight: 700;
}
.susp-corner.air .susp-air {
  display: block;
}
.susp-corner.air .susp-load b {
  color: #8d9ba5;
}
/* From the driver's seat the car's own cluster is in view. */
body[data-camera-view='driver'] .instrument-cluster,
body[data-camera-view='driver'] .suspension-display,
body[data-capture='true'] .instrument-cluster,
body[data-capture='true'] .minimap,
body[data-capture='true'] .suspension-display,
body[data-capture='true'] .settings,
body[data-capture='true'] .credits {
  display: none;
}
@media (max-width: 760px) {
  .instrument-cluster {
    width: min(410px, calc(100vw - 32px));
  }
  .suspension-display {
    width: 210px;
  }
}
/* Narrow screens keep the view clear: the instruments stay, the suspension
   telemetry is hidden. */
@media (max-width: 620px) {
  .suspension-display {
    display: none;
  }
}
@media (max-width: 520px) {
  .settings {
    top: 16px;
    right: 16px;
  }
  .settings summary {
    padding: 9px 10px;
  }
  .instrument-cluster {
    right: 12px;
    bottom: 12px;
  }
  #status {
    left: 16px;
    top: 18px;
  }
}
@media (max-height: 500px) {
  .instrument-cluster {
    width: min(350px, calc(100vw - 32px));
    bottom: 10px;
    right: 12px;
  }
  .settings {
    top: 12px;
    right: 16px;
  }
}

/* Time of day: top centre. The panel takes the colour of the sky: blue
   by day, warm at sunset, deep blue at night (set from day-bar.js). */
.day-bar {
  --sky-top: #3b78c4;
  --sky-bottom: #6fa7dc;
  --sky-glow: 0;
  --day-progress: 0.5;
  position: fixed;
  z-index: 1;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 12px;
  border: 1px solid #ffffff2e;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff1f, #ffffff00 55%),
    linear-gradient(135deg, var(--sky-top), var(--sky-bottom));
  background-blend-mode: normal;
  box-shadow:
    0 10px 28px #00000040,
    inset 0 1px 0 #ffffff33,
    0 0 calc(var(--sky-glow) * 26px) calc(var(--sky-glow) * 2px) #ff9a4a55;
  backdrop-filter: blur(14px) saturate(1.2);
  color: #fff;
  user-select: none;
  transition: background 0.8s;
}
.day-bar::after {
  /* A dark veil keeps text and icons readable on the brightest sky. */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #0a0f1859;
}
.day-graph {
  width: 120px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  background: #00000033;
  box-shadow: inset 0 0 0 1px #ffffff1a;
}
.day-graph svg {
  display: block;
  width: 100%;
  height: 100%;
}
.day-below {
  fill: #0006;
}
.day-path {
  fill: none;
  stroke: #ffe2a8b0;
  stroke-width: 1.2;
  stroke-dasharray: 2 2.4;
}
.day-horizon {
  stroke: #ffffff70;
  stroke-width: 0.8;
}
.day-now {
  stroke: #ffffff40;
  stroke-width: 0.8;
}
.day-body {
  fill: #ffd27d;
  stroke: #fff4d6;
  stroke-width: 1;
  filter: drop-shadow(0 0 3px #ffbf5a);
}
.day-body.moon {
  fill: #dfe8ff;
  stroke: #ffffff;
  filter: drop-shadow(0 0 3px #9fb8ff);
}
.day-readout {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 8px;
  min-width: 96px;
}
.day-celestial {
  grid-row: span 2;
  width: 26px;
  height: 26px;
}
.day-celestial circle,
.day-celestial path {
  transition: opacity 0.6s;
}
.day-celestial .sun {
  fill: #ffd36b;
  filter: drop-shadow(0 0 5px #ffb43a);
}
.day-celestial .moon {
  fill: #e6edff;
  filter: drop-shadow(0 0 5px #9fb8ff);
}
.day-clock {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px #0006;
}
.day-phase {
  color: #ffffffc4;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.day-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.day-presets {
  display: flex;
  padding: 3px;
  gap: 2px;
  border-radius: 12px;
  background: #00000040;
  box-shadow: inset 0 0 0 1px #ffffff14;
}
.day-buttons button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #ffffffd9;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.day-buttons button:hover {
  background: #ffffff1f;
}
.day-buttons button:focus-visible {
  outline: 2px solid #ffffffcc;
  outline-offset: 1px;
}
.day-presets button[aria-current='true'] {
  background: #ffffff38;
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff40,
    0 2px 6px #0003;
}
.day-rain,
.day-run,
.day-camera,
.day-sound,
.day-restart {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #00000040 !important;
  box-shadow: inset 0 0 0 1px #ffffff1f;
}
.day-rain[aria-pressed='true'] {
  background: #2f7ddb66 !important;
  color: #d6ecff;
  box-shadow:
    inset 0 0 0 1px #9fd0ff88,
    0 0 14px #5fb2ff88;
}
/* The play button's ring shows how far the day has run. */
.day-run {
  background:
    radial-gradient(closest-side, #0d1420d9 78%, transparent 80% 100%),
    conic-gradient(#ffd27d calc(var(--day-progress) * 360deg), #ffffff26 0) !important;
}
.day-run[aria-pressed='true'] {
  color: #ffd27d;
}
.day-camera:not([data-view='chase']) {
  color: #ffd27d;
}
.day-sound[data-state='off'] {
  color: #ffffff8c;
}
/* Sound is on but the browser waits for a click: a soft pulse asks for one. */
.day-sound[data-state='waiting'] {
  animation: sound-waiting 1.6s ease-in-out infinite;
}
@keyframes sound-waiting {
  50% {
    box-shadow:
      inset 0 0 0 1px #ffffff66,
      0 0 12px #ffffff55;
  }
}
@media (prefers-reduced-motion: reduce) {
  .day-sound[data-state='waiting'] {
    animation: none;
  }
}
.day-buttons svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.day-buttons .day-run svg path {
  fill: currentColor;
}
body[data-capture='true'] .day-bar {
  display: none;
}
/* Narrow screens: no sun graph. */
@media (max-width: 760px) {
  .day-graph {
    display: none;
  }
}
/* Narrower still: top right, clock and buttons only. */
@media (max-width: 700px) {
  .day-bar {
    top: 14px;
    left: auto;
    right: 16px;
    transform: none;
    gap: 8px;
    padding: 6px 6px 6px 10px;
  }
  .day-readout {
    min-width: 0;
  }
  .day-celestial {
    width: 20px;
    height: 20px;
  }
  .day-clock {
    font-size: 16px;
  }
  .day-phase {
    display: none;
  }
  .day-buttons button {
    width: 28px;
    height: 28px;
  }
  .day-rain,
  .day-run,
  .day-camera,
  .day-sound,
  .day-restart {
    width: 30px !important;
    height: 30px !important;
  }
}
/* Phones: below the road map. */
@media (max-width: 460px) {
  .day-bar {
    top: 168px;
  }
}
/* Touch driving: a steering track at the bottom left, pedals at the bottom
   right. Shown on touch screens only; the instruments move up above them. */
.touch-controls {
  display: none;
}
body[data-touch-controls='true'] .touch-controls {
  display: block;
}
body[data-touch-controls='true'] .instrument-cluster {
  bottom: 112px;
}
body[data-touch-controls='true'] .suspension-display {
  display: none;
}
.touch-steer {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(46vw, 320px);
  height: 74px;
  touch-action: none;
  z-index: 6;
}
.touch-steer-track {
  position: absolute;
  inset: 12px 0;
  border-radius: 25px;
  background: #0b1018b3;
  box-shadow:
    inset 0 0 0 1px #ffffff26,
    0 6px 18px #0006;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  touch-action: none;
}
.touch-steer-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 2px;
  margin-left: -1px;
  background: #ffffff33;
}
.touch-steer-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 40px;
  margin: -20px 0 0 -31px;
  border-radius: 20px;
  background: linear-gradient(#f1f3f6, #c2c8d0);
  box-shadow: 0 3px 10px #0008;
  transition: transform 0.18s ease-out;
  pointer-events: none;
}
.touch-steer-track:active .touch-steer-knob {
  transition: none;
}
.touch-pedals {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: flex-end;
  gap: 12px;
  z-index: 6;
}
.touch-pedal {
  border: 0;
  border-radius: 14px;
  color: #fff;
  font:
    700 12px/1 system-ui,
    sans-serif;
  letter-spacing: 0.08em;
  background: #0b1018b3;
  box-shadow:
    inset 0 0 0 1px #ffffff2e,
    0 6px 18px #0006;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.touch-brake {
  width: 84px;
  height: 64px;
}
.touch-gas {
  width: 66px;
  height: 96px;
}
.touch-brake.pressed {
  background: #c8323acc;
}
.touch-gas.pressed {
  background: #2c9d58cc;
}
body[data-capture='true'] .touch-controls {
  display: none;
}
/* While the car drives itself: how to take over. Gone once you drive;
   back after Restart. */
.drive-hint {
  position: fixed;
  z-index: 1;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffffe6;
  font:
    500 12.5px/1.2 system-ui,
    sans-serif;
  white-space: nowrap;
  background: #0b1018a6;
  box-shadow: inset 0 0 0 1px #ffffff1f;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  animation: hint-in 0.4s ease-out;
}
body[data-autopilot='true'][data-driving='true'] .drive-hint {
  display: flex;
}
.drive-hint b {
  color: #7fc8ff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}
.drive-hint kbd {
  display: inline-block;
  min-width: 18px;
  margin: 0 1px;
  padding: 1px 4px;
  border-radius: 4px;
  font:
    700 11px/16px system-ui,
    sans-serif;
  text-align: center;
  background: #ffffff26;
  box-shadow: inset 0 -1px 0 #0006;
}
.hint-touch,
body[data-touch-controls='true'] .hint-keys {
  display: none;
}
body[data-touch-controls='true'] .hint-touch {
  display: inline;
}
body[data-capture='true'] .drive-hint {
  display: none !important;
}
@keyframes hint-in {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .drive-hint {
    animation: none;
  }
}
@media (max-width: 700px) {
  .drive-hint {
    top: 64px;
    left: auto;
    right: 16px;
    transform: none;
  }
}
@media (max-width: 460px) {
  .drive-hint {
    top: 218px;
  }
}
