/* Homepage city map: scoped to the approved hero component. */
.hero h1 { font-size: 64px; letter-spacing: 0; }
.city-visual { min-width: 0; min-height: 0; }
.city-panel { background: #fff; border: 1px solid #d2e0ee; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 45px rgba(23, 35, 59, .09); }
.city-panel-head { height: 60px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.city-panel-title { display: flex; align-items: center; gap: 9px; min-width: 0; }
.city-panel-title img { width: 28px; height: 28px; border-radius: 7px; }
.city-panel-title h2 { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 700; color: var(--ink); }
#city-date { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.city-map-stage { position: relative; height: 310px; background: #f4fbff; }
#city-map { width: 100%; height: 100%; }
.city-map-message { position: absolute; bottom: 14px; left: 12px; right: 12px; margin: 0; color: var(--muted); font-size: 12px; text-align: center; pointer-events: none; }
.city-map-message[hidden] { display: none; }
.city-islands { position: absolute; font-size: 10px; line-height: 1; color: #71889f; right: 27%; bottom: 17px; pointer-events: none; }
.city-panel-foot { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 7px 12px 7px 17px; gap: 8px; border-top: 1px solid var(--line); }
.city-caption { display: flex; align-items: center; min-width: 0; gap: 7px; font-size: 12px; color: var(--ink); }
.city-legend-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #e6f6ee; }
#city-selection { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.city-sync { display: flex; gap: 4px; align-items: center; flex: 0 0 auto; }
#city-updated { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
#city-refresh { display: grid; place-items: center; border: 0; background: transparent; color: var(--blue); width: 32px; height: 36px; border-radius: 4px; cursor: pointer; padding: 0; }
#city-refresh:hover { background: #edf6fe; }
#city-refresh:disabled { cursor: wait; opacity: .5; }
#city-refresh svg { width: 15px; height: 15px; }
.city-explanation { color: #677c91; font-size: 11px; margin: 10px 0 0; line-height: 1.6; text-align: center; }
.city-tip { padding: 8px 11px; background: #fff; border: 1px solid #dce7f3; color: #17233b; border-radius: 4px; box-shadow: 0 3px 14px #17233b12; font: 12px/1.7 "Microsoft YaHei", sans-serif; }
.city-tip strong { font-size: 13px; color: #1677d2; }
.city-unavailable .city-legend-dot { background: #a5b3c1; box-shadow: none; }
@media (max-width: 900px) {
  .hero h1 { font-size: 52px; }
  .hero-inner { gap: 28px; }
  .city-visual { width: min(100%, 520px); margin: 0 auto; }
  .city-map-stage { height: 340px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 42px; }
  .hero-inner { padding-top: 28px; padding-bottom: 28px; }
  .city-map-stage { height: 292px; }
  .city-panel-head { padding: 0 13px; height: 54px; }
  .city-panel-foot { padding-left: 13px; padding-right: 7px; }
  #city-refresh { width: 38px; height: 40px; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 38px; }
  .city-panel-title h2 { font-size: 14px; }
  .city-panel-title img { width: 24px; height: 24px; }
  .city-map-stage { height: 270px; }
}
