:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #183048;
  background: #eef6ff;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, .95), transparent 30%),
    linear-gradient(145deg, #e7f5ff 0%, #f9fcff 48%, #fff4e5 100%);
}

.card {
  width: min(100%, 560px);
  padding: clamp(26px, 6vw, 48px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 32px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 24px 80px rgba(49, 86, 118, .14);
  backdrop-filter: blur(18px);
}

.topline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #55738d;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #52b788;
  box-shadow: 0 0 0 5px rgba(82, 183, 136, .12);
}

.place {
  margin: 24px 0 2px;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 680;
  letter-spacing: -.02em;
}

.weather-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.temperature {
  margin: 4px 0 0;
  font-size: clamp(64px, 17vw, 100px);
  font-weight: 630;
  line-height: 1;
  letter-spacing: -.08em;
}

.temperature sup {
  margin-left: 8px;
  color: #5e7890;
  font-size: .28em;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: top;
}

.condition { margin: 9px 0 0; color: #5e7890; font-size: 17px; }
.symbol { font-size: clamp(56px, 14vw, 84px); filter: drop-shadow(0 12px 18px rgba(244, 162, 62, .18)); }

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.details div {
  padding: 15px 12px;
  border-radius: 18px;
  background: rgba(231, 243, 253, .62);
}

.details span, .details strong { display: block; }
.details span { color: #71889c; font-size: 12px; }
.details strong { margin-top: 6px; font-size: 15px; }
.updated { margin: 18px 2px 0; color: #8ba0b2; font-size: 12px; }

@media (max-width: 460px) {
  .details { grid-template-columns: 1fr; }
  .details div { display: flex; align-items: center; justify-content: space-between; }
  .details strong { margin-top: 0; }
}
