.tm-explore-city-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
}

.tm-explore-city-overlay.is-open {
  display: flex;
}

body.tm-explore-city-lock {
  overflow: hidden;
}

.tm-explore-city {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 26px 24px 22px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.97), rgba(30, 27, 75, 0.92));
  color: #e2e8f0;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6);
}

.tm-explore-city__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 8px;
}

.tm-explore-city__close:hover {
  color: #f1f5f9;
  background: rgba(148, 163, 184, 0.12);
}

.tm-explore-city__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tm-explore-city__lede {
  margin: 0 0 8px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94a3b8;
}

.tm-explore-city__hint {
  margin: 0 0 18px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}

.tm-explore-city__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.tm-explore-city__wrap {
  position: relative;
  margin-bottom: 12px;
}

.tm-explore-city__input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  font: inherit;
}

.tm-explore-city__input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.tm-explore-city__wrap .tm-city-suggest-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 220px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.tm-explore-city__wrap .tm-city-suggest-list.is-hidden {
  display: none;
}

.tm-explore-city__wrap .tm-city-suggest-list__btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #e2e8f0;
  font: inherit;
  cursor: pointer;
}

.tm-explore-city__wrap .tm-city-suggest-list__btn:hover,
.tm-explore-city__wrap .tm-city-suggest-list__btn:focus-visible {
  background: rgba(56, 189, 248, 0.12);
  outline: none;
}

.tm-explore-city__msg {
  min-height: 1.2em;
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.tm-explore-city__msg.is-error {
  color: #fca5a5;
}

.tm-explore-city__submit {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  color: #0b1220;
  background: linear-gradient(135deg, #38bdf8, #a78bfa 52%, #f472b6);
  box-shadow: 0 12px 40px rgba(167, 139, 250, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.2s ease, opacity 0.2s ease;
}

.tm-explore-city__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 16px 48px rgba(56, 189, 248, 0.35);
}

.tm-explore-city__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
