:root {
  --bg: #071026;
  --card: #0b1220;
  --accent: #06b6d4;
  --muted: #9aa4b2;
  --white: #e6eef6;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%;
  margin: 0;
  background: #002252;
  color: var(--white)
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px
}

.card {
  width: min(920px, 96%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.top {
  display: flex;
  gap: 12px;
  align-items: center
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover
}

h1 {
  margin: 0;
  font-size: 20px
}

.lead {
  margin: 2px 0 8px;
  color: var(--muted)
}

.search {
  display: flex;
  gap: 8px;
  margin-top: 14px
}

.search input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: inherit;
  outline: none
}

.btn {
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  background: linear-gradient(90deg, var(--accent), #7c3aed);
  color: white;
  font-weight: 600;
  cursor: pointer
}

.status {
  margin-top: 12px;
  color: var(--muted)
}

.hidden {
  display: none
}

.result {
  margin-top: 14px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03)
}

.row {
  display: flex;
  gap: 18px;
  align-items: flex-start
}

.left {
  flex: 1
}

.right {
  width: 240px
}

.city {
  font-size: 18px
}

.meta {
  color: var(--muted);
  margin-bottom: 8px
}

.temp-row {
  display: flex;
  align-items: center;
  gap: 12px
}

.temp {
  font-family: ui-monospace, monospace;
  font-size: 48px;
  font-weight: 700
}

.icon-wrap img {
  width: 88px;
  height: 88px
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
  color: var(--muted)
}

.map {
  height: 140px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--muted)
}

.small {
  font-size: 13px;
  color: var(--muted)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

@media (max-width:720px) {
  .row {
    flex-direction: column
  }

  .right {
    width: 100%
  }
}