.thraid-weather {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 1.35rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(252, 191, 6, .18), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(3, 7, 18, .96));
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
  overflow: hidden;
}

html.light .thraid-weather {
  background:
    radial-gradient(circle at 18% 0%, rgba(252, 191, 6, .18), transparent 34%),
    linear-gradient(135deg, #ffffff, #f8fafc);
  color: #050505;
  border-color: #cbd5e1;
}

.weather-head,
.weather-actions,
.weather-current,
.weather-days {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.weather-head {
  justify-content: space-between;
  margin-bottom: .85rem;
}

.weather-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  color: #facc15;
}

html.light .weather-kicker { color: #a16207; }

.weather-place {
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.1;
}

.weather-note {
  font-size: .72rem;
  color: #a1a1aa;
}

html.light .weather-note { color: #475569; }

.weather-actions {
  margin: .85rem 0 1rem;
}

.weather-input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 999px;
  padding: .68rem .9rem;
  background: rgba(255, 255, 255, .08);
  color: inherit;
  outline: none;
}

html.light .weather-input {
  background: #fff;
  border-color: #cbd5e1;
}

.weather-btn {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(250, 204, 21, .45);
  border-radius: 999px;
  background: #fcbf06;
  color: #050505;
  font-weight: 900;
  cursor: pointer;
}

.weather-ghost {
  background: rgba(255, 255, 255, .08);
  color: inherit;
  border-color: rgba(148, 163, 184, .26);
}

html.light .weather-ghost {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.weather-current {
  justify-content: space-between;
  padding: .9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
}

html.light .weather-current {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.weather-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: #fcbf06;
  color: #050505;
  font-size: 1.65rem;
}

.weather-temp {
  font-size: 2.45rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.02em;
}

.weather-meta {
  margin-top: .65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
}

.weather-chip {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: .85rem;
  padding: .55rem;
  font-size: .72rem;
  color: #d4d4d8;
  background: rgba(0, 0, 0, .16);
}

html.light .weather-chip {
  background: #fff;
  color: #334155;
  border-color: #e2e8f0;
}

.weather-chip strong {
  display: block;
  color: #fff;
  font-size: .86rem;
  margin-top: .15rem;
}

html.light .weather-chip strong { color: #050505; }

.weather-days {
  margin-top: .65rem;
  align-items: stretch;
}

.weather-day {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: .85rem;
  padding: .55rem;
  text-align: center;
  background: rgba(255, 255, 255, .06);
  font-size: .75rem;
}

html.light .weather-day {
  background: #fff;
  border-color: #e2e8f0;
}

.weather-day strong {
  display: block;
  font-size: .9rem;
  margin: .15rem 0;
}

.weather-error {
  margin-top: .7rem;
  border-radius: .85rem;
  padding: .65rem;
  background: rgba(239, 68, 68, .14);
  color: #fecaca;
  font-size: .78rem;
}

html.light .weather-error {
  color: #991b1b;
  background: #fee2e2;
}
