.wc {
	position: relative; overflow: hidden;
	border-radius: 14px;
	background: #f8fafc; color: #1a1d22;
	box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 6px 18px rgba(15,118,110,.06);
	border: 1px solid #e9ecef;
}
.wc::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
	opacity: .14; z-index: 0; pointer-events: none;
}
.wc.g-clear-day::before   { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fcd34d 100%); opacity:.16; }
.wc.g-clear-night::before { background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%); opacity:.85; }
.wc.g-cloudy::before      { background: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 50%, #e2e8f0 100%); opacity:.45; }
.wc.g-fog::before         { background: linear-gradient(135deg, #9ca3af 0%, #d1d5db 50%, #e5e7eb 100%); opacity:.55; }
.wc.g-rain::before        { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #60a5fa 100%); opacity:.30; }
.wc.g-snow::before        { background: linear-gradient(135deg, #cffafe 0%, #e0f2fe 50%, #f0f9ff 100%); opacity:.85; }
.wc.g-storm::before       { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%); opacity:.50; }

.wc.g-clear-night, .wc.g-storm { color: #fff; }
.wc.g-clear-night .wc-tile,
.wc.g-storm       .wc-tile     { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); color:#fff; }
.wc.g-clear-night .wc-tile .lbl,
.wc.g-storm       .wc-tile .lbl{ color: rgba(255,255,255,.7); }
.wc.g-clear-night .wc-day,
.wc.g-storm       .wc-day      { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.wc.g-clear-night .wc-day .lbl,
.wc.g-storm       .wc-day .lbl,
.wc.g-clear-night .wc-day .lo,
.wc.g-storm       .wc-day .lo  { color: rgba(255,255,255,.7); }
.wc.g-clear-night .wc-feels,
.wc.g-storm       .wc-feels    { color: rgba(255,255,255,.78); }
.wc.g-clear-night .wc-attrib,
.wc.g-storm       .wc-attrib   { color: rgba(255,255,255,.65); }
.wc.g-clear-night .wc-attrib a,
.wc.g-storm       .wc-attrib a { color: #93c5fd; }
.wc.g-clear-night .wc-sun,
.wc.g-storm       .wc-sun      { color: rgba(255,255,255,.85); }

.wc-inner { position: relative; z-index: 1; padding: 1.4rem 1.5rem 1.1rem; }

.wc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.wc-head .wc-loc { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; opacity: .72; font-weight: 700; }
.wc-head .wc-cond-pill {
	display: inline-flex; align-items: center; gap: .35rem;
	background: rgba(255,255,255,.55); border: 1px solid rgba(15,23,42,.08);
	padding: .25rem .6rem; border-radius: 999px;
	font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	backdrop-filter: blur(4px);
}
.wc.g-clear-night .wc-cond-pill,
.wc.g-storm       .wc-cond-pill { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.25); color:#fff; }

.wc-hero { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.1rem; }
.wc-hero .ic   { font-size: 4.2rem; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.15)); }
.wc-hero .temp { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.wc-hero .feels{ font-size: .82rem; opacity: .78; margin-top: .3rem; }
.wc-hero .desc { font-size: 1rem; font-weight: 600; margin-top: .15rem; }

.wc-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
	gap: .55rem; margin-bottom: 1.1rem;
}
.wc-tile {
	background: rgba(255,255,255,.6); border: 1px solid rgba(15,23,42,.08);
	border-radius: 10px; padding: .6rem .75rem; backdrop-filter: blur(4px);
}
.wc-tile i { color: #0f766e; font-size: .92rem; margin-right: .25rem; }
.wc-tile .lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #64748b; font-weight: 700; margin-bottom: .15rem; }
.wc-tile .val { font-size: 1rem; font-weight: 700; }
.wc-tile .val .sub { font-size: .72rem; font-weight: 500; opacity: .7; margin-left: .2rem; }

.wc-forecast {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: .9rem;
}
.wc-day {
	background: rgba(255,255,255,.55); border: 1px solid rgba(15,23,42,.08);
	border-radius: 10px; padding: .55rem .4rem; text-align: center;
	backdrop-filter: blur(4px);
}
.wc-day .lbl   { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: #64748b; font-weight: 700; }
.wc-day .ic    { font-size: 1.55rem; line-height: 1.3; margin: .15rem 0; }
.wc-day .hi    { font-size: 1rem; font-weight: 800; }
.wc-day .lo    { font-size: .82rem; color: #64748b; }
.wc-day .precip{ font-size: .68rem; color: #2563eb; margin-top: .25rem; font-weight: 600; }
.wc-day .precip.dry { color: #94a3b8; }

.wc-sun {
	display: flex; gap: 1.5rem; justify-content: center;
	font-size: .78rem; color: #475569; padding-top: .3rem;
	border-top: 1px solid rgba(15,23,42,.08); margin-top: .2rem;
}
.wc-sun span { display: inline-flex; align-items: center; gap: .35rem; }
.wc-sun i.fa-sun  { color: #f59e0b; }
.wc-sun i.fa-moon { color: #6366f1; }

.wc-attrib { font-size: .68rem; color: #64748b; padding: .55rem 1.5rem 1rem; position: relative; z-index: 1; }
.wc-attrib a { color: #0f766e; text-decoration: none; }

@media (max-width: 480px) {
	.wc-inner   { padding: 1.1rem 1rem .9rem; }
	.wc-hero .temp { font-size: 2.7rem; }
	.wc-hero .ic   { font-size: 3.4rem; }
}
