.city-scale {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  max-width: 28rem;
  margin: .85rem 0 0;
  padding: .45rem 0 0;
  border-top: 1px solid #374655;
  line-height: 1.25;
}
.city-scale dt {
  color: #ffbf7a;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.city-scale dd {
  margin: .12rem 0 0;
  color: #bdcbd6;
  font-size: .875rem;
}
.city-scale > div:nth-child(2) { text-align: center; }
.city-scale > div:last-child { text-align: right; }

@media (max-width: 48rem) {
  .compare-page .intro { padding: .375rem 0 .75rem; }
  .compare-page .intro h1 { margin: 0; }
  .compare-page .intro p { margin-top: .5rem; }
}

#compact-cities {
  font-variant-numeric: tabular-nums;
}
.metro-hint {
  margin: -.4rem 0 .8rem;
  color: #bdcbd6;
  font-size: .9rem;
}
.metro-columns {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr) 4.5rem 3.75rem;
  align-items: center;
  gap: .5rem;
  padding: .5rem .65rem;
  line-height: 1.25;
}
.metro-head {
  background: #223341;
  font-size: .875rem;
  font-weight: 700;
}
#metro-list, .metro-teams {
  list-style: none;
  margin: 0;
  padding: 0;
}
#metro-list > li, #metro-empty {
  background: #172431;
  border-bottom: 1px solid #374655;
}
#metro-list summary {
  min-height: 2.875rem;
  cursor: pointer;
  list-style: none;
}
#metro-list summary::-webkit-details-marker { display: none; }
#metro-list summary:focus-visible {
  outline: 2px solid #ffbf7a;
  outline-offset: -2px;
}
#metro-list summary strong { overflow-wrap: anywhere; }
#metro-list .score { display: grid; gap: .2rem; }
.metro-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metro-count::after {
  content: "";
  width: .4rem;
  height: .4rem;
  margin: 0 .2rem .15rem 0;
  border: solid #bdcbd6;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
#metro-list details[open] .metro-count::after { transform: rotate(225deg); }
#metro-list details[open] > summary { background: #20303e; }
.metro-teams {
  padding: .15rem .8rem .35rem;
  background: #141f2a;
}
.metro-teams li {
  padding: .42rem 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.metro-teams li + li { border-top: 1px solid #30404e; }
.metro-teams small, .metro-teams li span { color: #bdcbd6; }
.metro-teams a { text-underline-offset: .18em; }
#metro-empty { margin: 0; padding: .8rem; }
@media (max-width: 23rem) {
  .metro-columns { grid-template-columns: 2rem minmax(0, 1fr) 3.2rem 3.5rem; gap: .35rem; padding-inline: .45rem; }
}

.city-scale > div:first-child dt { color: var(--points-positive); }
.city-scale > div:nth-child(2) dt { color: #e3bc77; }
.city-scale > div:last-child dt { color: var(--points-negative); }
