body {
  margin: 0;
  background: #202923;
  color: #fff;
}

.globe-wallpaper {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  /* Keep the crop stable as the mobile browser toolbar retracts. */
  height: 100vh;
  height: 100lvh;
  transform: translateZ(0);
  object-fit: cover;
  filter: brightness(.57);
  pointer-events: none;
}

.globe {
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(24px, 6vw, 65px) clamp(14px, 4vw, 40px);
}

.globe-place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(36%, 340px) minmax(0, 1fr);
  grid-template-areas: "location search clock";
  gap: 15px 24px;
  align-items: start;
  margin-bottom: clamp(22px, 4vw, 42px);
}

.globe h1 { margin: 0; font-size: clamp(22px, 4vw, 34px); font-weight: 520; overflow-wrap: anywhere; }
.globe h2 { margin: 0; font-size: 16px; font-weight: 600; }
.globe p { margin: 0; }
.globe :is(h1, h2, p, label) { text-shadow: 0 2px 6px #141b18dc; }
#globe-date, #globe-search-status { margin-top: 5px; color: #e1e9e4; font-size: 13px; }
#globe-search-status:empty { display: none; }

.globe-location { grid-area: location; min-width: 0; }
#globe-local-time { font-size: clamp(22px, 4vw, 34px); font-weight: 520; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 2px 6px #141b18dc; }
#globe-search { grid-area: search; width: 100%; }
.globe-search-row { display: flex; gap: 4px; align-items: center; border-bottom: 1px solid #ffffff65; }
#globe-search :is(input, select) {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #ffffff65;
  border-radius: 8px;
  background: #192421;
  color: #fff;
  font: inherit;
}
#globe-search input { background: transparent; border: 0; padding-inline: 0; }
#globe-search input::placeholder { color: #e3e9e5; text-shadow: 0 1px 4px #141b18; }
#globe-search select { margin-top: 6px; }
#globe-search button { flex: 0 0 44px; color: #fff; }
#globe-search button:hover { background: #ffffff20; }
#globe-search :focus-visible { outline: 2px solid #ffe0a2; outline-offset: 2px; }

@media (max-width: 700px) {
  .globe-place {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "location clock"
                         "search search";
  }
  #globe-search { max-width: 340px; }
}




.globe-clock { grid-area: clock; text-align: right; }
#globe-coordinates { margin-top: 4px; font-size: 14px; color: #e1e9e4; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  #globe-coordinates { max-width: 160px; font-size: 13px; }
}
