.welcome.trip-live {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: #121517;
  isolation: isolate;
}
.welcome.trip-live:after {
  display: none;
}
.trip-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px 10px;
  gap: 12px;
}
.trip-heading .eyebrow {
  margin: 0 0 5px;
  font-size: 10px;
}
.trip-heading h1 {
  font:
    600 clamp(16px, 1.7vw, 23px) Montserrat,
    sans-serif;
  margin: 0;
}
.trip-pill {
  border: 1px solid #8c1d1870;
  border-radius: 20px;
  padding: 7px 10px;
  font:
    500 10px Inter,
    sans-serif;
  white-space: nowrap;
  background: #8c1d1820;
}
.trip-pill i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d8b39e;
  margin-right: 6px;
}
.trip-map {
  position: relative;
  flex: 1;
  min-height: 70px;
  overflow: hidden;
  background: radial-gradient(ellipse at 55% 30%, #26282a, #15191b 80%);
}
.trip-map svg {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.trip-district {
  font:
    10px Inter,
    sans-serif;
  fill: #a8aaab;
  letter-spacing: 1.5px;
}
.trip-map-label {
  font:
    10px Inter,
    sans-serif;
  fill: #d7d4d0;
}
.trip-road {
  stroke: #373a3c;
  stroke-width: 2;
  fill: none;
}
.trip-map-note {
  position: absolute;
  bottom: 6px;
  right: 12px;
  font:
    9px Inter,
    sans-serif;
  color: #9a9b9c;
}
.trip-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 22px;
  border-top: 1px solid #ffffff12;
  background: #171a1c;
}
.trip-destination small,
.trip-stat small {
  display: block;
  color: #aaa8a6;
  font:
    10px Inter,
    sans-serif;
  margin-bottom: 5px;
}
.trip-destination b {
  font:
    600 13px Montserrat,
    sans-serif;
}
.trip-stats {
  display: flex;
  gap: 20px;
}
.trip-stat b {
  font:
    600 19px Montserrat,
    sans-serif;
  white-space: nowrap;
}
.trip-stat em {
  font:
    400 10px Inter,
    sans-serif;
  font-style: normal;
  color: #c1bdb9;
  margin-left: 3px;
}
.trip-signal {
  position: absolute;
  top: 8px;
  left: 12px;
  padding: 7px 10px;
  border: 1px solid #8c1d1860;
  border-radius: 8px;
  background: #17191fed;
  font:
    11px Inter,
    sans-serif;
  z-index: 2;
}
.trip-signal[hidden] {
  display: none;
}
#preview-toggle {
  position: fixed;
  bottom: 14px;
  right: 18px;
  z-index: 80;
  background: #171a1c;
  border: 1px solid #8c1d18;
  color: #eee7e2;
  border-radius: 20px;
  padding: 9px 16px;
  font:
    500 11px Inter,
    sans-serif;
  box-shadow: 0 4px 20px #0007;
}
#driver-simulator {
  position: fixed;
  bottom: 58px;
  right: 18px;
  z-index: 81;
  width: 310px;
  max-width: calc(100vw - 36px);
  padding: 24px;
  background: #141719;
  border: 1px solid #8c1d18;
  border-radius: 18px;
  box-shadow: 0 14px 70px #000c;
  font-family: Inter, sans-serif;
}
#driver-simulator[hidden] {
  display: none;
}
#driver-simulator .eyebrow {
  font-size: 10px;
}
#driver-simulator h2 {
  font:
    600 20px Montserrat,
    sans-serif;
  margin: 10px 0;
}
#driver-simulator p {
  font-size: 12px;
  line-height: 1.6;
  color: #c8c3bf;
}
#driver-simulator button {
  width: 100%;
  margin-top: 9px;
  font-size: 12px;
  min-height: 42px;
}
#driver-simulator button:disabled {
  opacity: 0.4;
  cursor: default;
}
#driver-simulator .sim-secondary {
  background: #202426;
  border: 1px solid #ffffff25;
  border-radius: 9px;
}
#sim-status {
  border-top: 1px solid #ffffff15;
  padding-top: 12px;
}
#driver-simulator .sim-note {
  font-size: 10px;
  color: #96918d;
}
@media (max-width: 700px) {
  .trip-heading {
    padding: 12px;
  }
  .trip-bottom {
    padding: 10px 12px;
  }
  .trip-stats {
    gap: 10px;
  }
  .trip-stat b {
    font-size: 15px;
  }
  .trip-destination b {
    font-size: 11px;
  }
  .trip-map-note {
    font-size: 8px;
  }
}
.trip-arrival {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px 45px;
  text-align: center;
  background: linear-gradient(100deg, #111517ed, #111517db);
  z-index: 1;
}
.trip-arrival[hidden] {
  display: none;
}
.arrival-rule {
  width: 36px;
  height: 2px;
  background: #8c1d18;
  margin-bottom: 13px;
}
.trip-arrival p {
  font:
    600 clamp(13px, 1.4vw, 19px) Montserrat,
    sans-serif;
  color: #f6f5f3;
  margin: 0 0 8px;
}
.trip-arrival small {
  font:
    400 clamp(10px, 1.1vw, 13px) Inter,
    sans-serif;
  color: #bcb8b4;
  line-height: 1.6;
  max-width: 480px;
}
.trip-arriving .trip-map-note {
  z-index: 2;
}
.sim-progress {
  display: block;
  font:
    11px Inter,
    sans-serif;
  color: #c8c3bf;
  margin-top: 15px;
}
.sim-progress input {
  width: 100%;
  accent-color: #8c1d18;
  margin-top: 10px;
}
.trip-signal {
  z-index: 3;
}
.hero {
  position: relative;
}
.trip-transition-ghost {
  pointer-events: none !important;
  user-select: none;
}
@media (prefers-reduced-motion: reduce) {
  .trip-transition-ghost {
    display: none !important;
  }
}

.trip-maplibre {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.trip-maplibre .maplibregl-canvas {
  width: 100%;
  height: 100%;
}
.trip-maplibre .maplibregl-ctrl-attrib {
  background: transparent;
  color: #b7b5b2;
  text-shadow: 0 1px 2px #0f1113;
  font:
    8px Inter,
    sans-serif;
  padding: 2px 5px;
}
.trip-maplibre .maplibregl-ctrl-attrib a {
  color: #b7b5b2;
}
.trip-maplibre .maplibregl-control-container {
  position: relative;
  z-index: 2;
}
.trip-dot {
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid #e4c5bd;
  border-radius: 50%;
  background: #8c1d18;
}
.trip-end {
  background: #e4d8cf;
  border: 3px solid #8c1d18;
}
.trip-vehicle {
  width: 25px;
  height: 25px;
  background: #8c1d18;
  border: 2px solid #f6f5f3;
  box-shadow: 0 0 0 7px #8c1d1833;
  border-radius: 50%;
}
.trip-map .trip-vehicle svg {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
}
.trip-map .trip-maplibre {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.trip-maplibre .maplibregl-control-container {
  position: static;
}

.trip-map .trip-maplibre .maplibregl-ctrl-attrib,
.trip-map .trip-maplibre .maplibregl-ctrl-attrib-inner {
  background: transparent;
  box-shadow: none;
  border: 0;
}

.trip-map-attribution {
  position: absolute;
  right: 7px;
  bottom: 3px;
  z-index: 2;
  background: none;
  border: 0;
  box-shadow: none;
  color: #8c1d18;
  font:
    8px Inter,
    sans-serif;
  line-height: 1.4;
  text-shadow: 0 1px 2px #0f1113;
}
.trip-map-attribution a {
  color: inherit;
  text-decoration: none;
}
