/* City typeahead (frontend/components/CitySelect.php, js/city-select.js). Mobile first: rows are 48px high. */
.city-select { position: relative; display: block; }
.city-select-list {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin: 2px 0 0; padding: 0; list-style: none;
  max-height: min(60vh, 26rem); overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg, #fff); color: var(--fg, #111); border: 1px solid var(--line, #ccc); border-radius: var(--radius, 8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.city-select-list[hidden] { display: none; }
.city-select-list li {
  display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: .45rem .8rem;
  cursor: pointer; font-weight: 400; border-top: 1px solid var(--line, #ddd); touch-action: manipulation;
}
.city-select-list li:first-child { border-top: 0; }
.city-select-list li[aria-selected="true"], .city-select-list li:hover { background: var(--bg-alt, #f1f3f5); }
.city-select-list .cs-name { font-weight: 600; }
.city-select-list .cs-hint { color: var(--muted, #666); font-size: .85rem; }
.city-select-list .cs-last { color: var(--muted, #666); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; }
.city-select-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
