.city-map-canvas {
  position: relative;
  aspect-ratio: 480 / 360;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
}
.city-map-canvas .city-map-art {
  display: block;
  width: 100%;
  height: 100%;
  stroke: none;
  stroke-width: 1;
}
.city-map-marker {
  position: absolute;
  min-height: 32px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink-2);
  box-shadow: var(--shadow-chip);
  translate: calc(-100% - 5px) -65%;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.city-map-marker::after {
  content: "";
  position: absolute;
  top: 65%;
  right: -9px;
  translate: 0 -50%;
  width: 7px;
  height: 7px;
  border-radius: var(--r-circle);
  background: var(--terra);
}
.city-map-marker[data-map-city=\82ad\63d0\96c5] {
  translate: 5px -20%;
}
.city-map-marker[data-map-city=\82ad\63d0\96c5]::after {
  left: -9px;
  right: auto;
  top: 20%;
}
.city-map-marker[data-map-city=\6e05\83b1] {
  translate: 5px -65%;
}
.city-map-marker[data-map-city=\6e05\83b1]::after {
  left: -9px;
  right: auto;
}
.city-map-marker[aria-pressed=true] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--light);
}
.city-map-selection,
.city-map-controls {
  display: flex;
  align-items: center;
}
.city-map-selection {
  justify-content: space-between;
  margin-top: 8px;
}
.city-map-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}
.city-map-controls button:disabled {
  opacity: .3;
}
#map-position {
  min-width: 4ch;
  color: var(--ink-2);
  font-size: 13px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.city-map-project .card {
  display: grid;
  grid-template-columns: minmax(80px, 26%) minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  padding: 8px;
  box-shadow: none;
}
.city-map-project .photo {
  grid-row: span 3;
}
.city-map-project .card-title,
.city-map-project .card-name,
.city-map-project .card-foot {
  margin: 0;
}
.city-map-project .card-foot {
  padding-top: 4px;
}
.city-map-list {
  display: block;
  margin: 6px auto 0;
  min-height: 40px;
  color: var(--terra);
  font-size: 14px;
  font-weight: 600;
}
