.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__menu,
.nav__add {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: none; border: none; cursor: pointer;
  color: #fff; opacity: .9;
}
.nav__menu svg { fill: currentColor; }
.nav__add svg { stroke: currentColor; }

.card--editing {
  transform: scale(0.992);
}

.card__remove {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 37, 52, 0.58);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.edit-mode .card:not(.card--editing) {
  opacity: 0.82;
}

.add-panel {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 16px 18px;
  background: rgba(4, 8, 18, 0.14);
}

.add-panel[hidden] {
  display: none;
}

.add-panel__sheet {
  width: min(428px, 100%);
  max-height: min(640px, calc(100vh - 124px));
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(56, 69, 90, 0.74);
  box-shadow: 0 18px 46px rgba(0,0,0,0.30);
  backdrop-filter: blur(26px) saturate(1.18);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
}

.add-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 0;
}

.add-panel__title {
  font-size: 18px;
  font-weight: 700;
}

.add-panel__close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
}

.add-panel__search {
  margin: 12px 14px 10px;
}

.add-list {
  max-height: min(500px, calc(100vh - 236px));
  overflow-y: auto;
  padding: 0 10px 12px;
}

.add-city {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-top: 6px;
  padding: 11px 12px;
  border: 0;
  border-radius: 13px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.add-city__name {
  font-size: 17px;
  font-weight: 650;
}

.add-city__meta {
  color: rgba(235,235,245,0.68);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.add-list__empty {
  padding: 24px 0;
}
