.masthead-side {
  gap: 6px;
}
.balance {
  gap: 4px;
  min-height: 42px;
  padding: 2px 10px 2px 5px;
  background: #181f2e;
  border-color: #b3c9e936;
}
.balance .point-token {
  width: 35px;
  height: 35px;
}
.balance strong {
  font-size: 16px;
  font-weight: 780;
}
.wheel-access {
  position: relative;
  width: 42px;
  height: 42px;
  background: #212038;
  border-color: #a99cce59;
}
.wheel-access > img {
  width: 35px;
  height: 35px;
}
.wheel-access[data-ready="false"] {
  border-color: #99a9d14a;
}
.wheel-access[data-ready="true"]::after {
  inset: 5px 5px auto auto;
  transform: none;
  background: #aafaec;
  box-shadow: 0 0 8px #8df6db;
}
.navigation a > span > .motion-art {
  width: 23px;
  height: 23px;
}

.city-head {
  margin-bottom: 13px;
}
.city-head h1 {
  margin-top: 4px;
}
.city-hud .hud-art,
.hud-art img {
  display: block;
  width: 18px;
  height: 18px;
}
.city-hud > div {
  gap: 5px;
  min-height: 33px;
  border-color: #a9d0ea2e;
  background: #182633;
}
.city-grid {
  grid-template-columns: minmax(0, 1.95fr) minmax(274px, 1fr);
  gap: 12px;
}
.map-panel,
.city-guide {
  overflow: hidden;
  border: 1px solid #86b1c553;
  background: #152332;
  border-radius: 16px;
  box-shadow:
    inset 0 1px #edf5ff0e,
    0 10px 28px #070d1b6b;
}
.map-topline,
.map-footer {
  background: #182737;
  min-height: 36px;
  padding: 8px 11px;
}
.map-topline .map-title {
  gap: 8px;
}
.map-title i {
  background: #a3fce5;
  box-shadow: 0 0 9px #76e8ccaf;
}
#map-progress {
  text-align: right;
  color: #c7d3df;
}
.map-stage {
  aspect-ratio: 1160 / 744;
  background: #101f33;
}
.map-route-meter {
  height: 2px;
  background: #8ab8c32b;
}
.map-route-meter i {
  background: linear-gradient(90deg, #428897, #a1f9db);
}
.map-portrait-key {
  display: block;
  flex: none;
  width: 19px;
  height: 19px;
  background: #2e4354;
  border: 1px solid #a2e3d8;
  border-radius: 50%;
}
.map-pin {
  isolation: isolate;
  transform: translate(-50%, -100%);
  margin-top: -6px;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 9px;
  background: #142536f5;
  border-color: color-mix(in srgb, var(--place) 63%, #456174);
  box-shadow:
    0 3px 8px #020e1a9e,
    inset 0 1px #e1f2fb26;
}
.map-pin::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 100%;
  left: calc(50% - 4px);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: color-mix(in srgb, var(--place) 67%, #416176);
}
.map-pin .motion-art {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 2px #050d19bc);
}
.map-pin[aria-pressed="true"],
.map-pin[data-current="true"] {
  background: color-mix(in srgb, var(--place) 25%, #192635);
  border-color: var(--place);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--place) 23%, transparent),
    0 3px 9px #020e1ab8;
}
.map-pin[aria-pressed="true"] .motion-art {
  animation: pin-up 0.36s var(--snap);
}

.city-guide {
  --guide-gutter: 12px;
  color: #e9f3fb;
}
.guide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 var(--guide-gutter);
  padding: 12px 0 10px;
}
.guide-heading h2 {
  font:
    750 13px/1.2 Unbounded,
    sans-serif;
  letter-spacing: -0.035em;
}
#guide-status {
  color: #91e3ce;
  font-size: 10px;
  font-weight: 700;
}
.route-focus {
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  margin-inline: var(--guide-gutter);
  padding: 8px;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--place, var(--mint)) 41%, #283947);
  background: linear-gradient(
    115deg,
    color-mix(in srgb, var(--place, var(--mint)) 18%, #182533),
    #182733 84%
  );
}
.route-focus .location-icon {
  width: 44px;
  min-height: 44px;
  box-shadow: none;
  border-color: #b9dded30;
  background: #122332b3;
}
.route-focus .location-icon .motion-art {
  width: 39px;
  height: 39px;
}
.route-focus .location-body h2 {
  color: #f7fbff;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: -0.017em;
}
.route-focus .location-body p {
  color: #c2d1df;
  font-size: 11px;
  line-height: 1.3;
}
.route-focus .location-actions {
  gap: 5px;
}
.route-focus .location-actions button {
  min-height: 36px;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 7px;
}
.route-focus .location-actions button .icon {
  width: 14px;
  height: 14px;
}
#destinations {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 4px var(--guide-gutter);
}
.destination {
  position: relative;
  margin: 0;
  padding: 5px 5px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 16px;
  gap: 7px;
  align-items: center;
  min-height: 49px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  color: #ebf4fb;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.destination + .destination::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 45px;
  right: 4px;
  height: 1px;
  background: #9cc4e21e;
}
.destination-art {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: color-mix(in srgb, var(--place) 12%, #1c2a38);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--place) 25%, #233444);
}
.destination-art img {
  width: 28px;
  height: 28px;
}
.destination-copy {
  min-width: 0;
}
.destination-copy strong,
.destination-copy small {
  display: block;
}
.destination-copy strong {
  font-size: 12px;
  line-height: 1.16;
}
.destination-copy small {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.14;
  color: #b2c5d5;
  font-weight: 570;
}
.destination-status {
  font-size: 10px;
  font-weight: 770;
  color: #b3f6e6;
  white-space: nowrap;
}
.destination .arrow {
  color: #aabfd1;
  width: 14px;
  height: 14px;
}
.destination[aria-pressed="true"] {
  background: color-mix(in srgb, var(--place) 9%, #1d2a36);
  border-color: color-mix(in srgb, var(--place) 39%, #34475c);
}
.destination:hover {
  background: #213447;
  border-color: #87bba878;
}

@media (max-width: 760px) {
  .city-head h1 {
    font-size: clamp(38px, 12vw, 60px);
  }
  .balance {
    min-height: 40px;
    padding: 2px 7px 2px 4px;
  }
  .balance .point-token {
    width: 32px;
    height: 32px;
  }
  .wheel-access {
    width: 40px;
    height: 40px;
  }
  .wheel-access > img {
    width: 33px;
    height: 33px;
  }
  .city-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
  .map-stage {
    aspect-ratio: 1.34;
  }
  .map-pin {
    width: 31px;
    height: 31px;
  }
  .map-pin .motion-art {
    width: 24px;
    height: 24px;
  }
  .map-topline,
  .map-footer {
    min-height: 29px;
    padding: 6px 8px;
  }
  .city-guide {
    --guide-gutter: 9px;
  }
  .guide-heading {
    padding-top: 10px;
  }
}
@media (max-width: 350px) {
  .balance strong {
    font-size: 14px;
  }
  .brand {
    gap: 6px;
  }
  .city-hud > div {
    padding-inline: 4px;
  }
}
