.weather-card{margin:1rem 2rem;padding:1rem 1.25rem;border:1px solid #c59a493d;border-radius:20px;background:linear-gradient(130deg,#080a0bd9,#191812bc);box-shadow:0 8px 28px #0003;backdrop-filter:blur(18px);color:#f2eee5}
.weather-card[hidden]{display:none}.weather-heading{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.weather-heading h2{font-size:1.15rem;margin:0 auto 0 0}.weather-heading button{font-size:.9rem;padding:.5rem .75rem}.weather-symbol{font-size:1.6rem;color:#e4b854}.weather-location{margin:.5rem 0;color:#e2c184}.weather-summary{display:flex;gap:.8rem 1.5rem;flex-wrap:wrap}.weather-summary div{display:flex;flex-direction:column;min-width:5rem}.weather-summary span{font-size:.85rem;color:#bebbb3}.weather-summary strong{font-size:1.3rem}.weather-summary p{flex-basis:100%;margin:.3rem 0}.weather-card details{margin-top:.6rem}.weather-card summary{cursor:pointer}.weather-hazard{border-left:3px solid #c69d4c;padding:.65rem .8rem;background:#d5a3430c;border-radius:8px}.weather-hazard[data-severity=Extreme],.weather-hazard[data-severity=Severe]{border-color:#e47468}.weather-hazard p{white-space:pre-wrap}.weather-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1rem}.weather-settings label{display:flex;flex-direction:column;gap:.35rem}.weather-settings input[type=checkbox]{width:1.3rem;height:1.3rem}.weather-settings .fine{grid-column:1/-1}.weather-chooser{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap;margin:.6rem 0}.weather-chooser label{display:flex;flex-direction:column;gap:.25rem}.weather-arrival:not(:empty){border:1px solid #dab65b70;padding:.8rem;border-radius:10px;margin-top:.6rem}.weather-card button:active{box-shadow:0 0 16px #e5af4770}.weather-card button{min-height:44px}.weather-card select{max-width:100%}
@media(max-width:700px){.weather-card{margin:.75rem;padding:.85rem}.weather-settings{grid-template-columns:1fr}.weather-heading{gap:.4rem}.weather-summary{gap:.65rem 1rem}.weather-summary strong{font-size:1.2rem}.weather-card input,.weather-card select{font-size:16px;min-width:0;width:100%}.weather-card .weather-settings input[type=checkbox]{width:1.3rem}.weather-chooser label{flex:1;min-width:0}}

.weather-outlook{order:3;flex:1 1 100%;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;border-top:1px solid #e4b85430;padding-top:.8rem}.weather-outlook .weather-day{min-width:0;gap:.35rem;padding:.5rem;border-radius:12px;background:#ffffff06}.weather-day span{overflow-wrap:anywhere}.weather-job-tools{font-size:.95rem}@media(max-width:500px){.weather-outlook{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact live card: source details and forecast stay available on demand. */
#weather-card{padding:12px 16px;margin-block:12px}
#weather-card .weather-location{margin:4px 0;font-size:14px}
#weather-card .weather-summary{align-items:center;gap:4px 20px}
#weather-card .weather-summary strong{font-size:22px}
#weather-card .weather-summary p{font-size:14px;margin:4px 0;line-height:1.3}
#weather-card>p.fine:empty{display:none}
#weather-card .weather-more{margin-top:2px;font-size:13px}
#weather-card .weather-more>summary{padding:6px 0;min-height:32px}
#weather-card .weather-more-body{display:flex;flex-wrap:wrap;gap:8px 16px;padding-top:6px}
#weather-card .weather-more-body>div:not(.weather-outlook){display:flex;flex-direction:column;font-size:13px}
#weather-card .weather-outlook{padding-top:6px;gap:6px}
@media(max-width:760px){body.mobile-home-active .sidebar>#weather-card{padding:12px 14px;margin-bottom:14px}#weather-card .weather-heading h2{font-size:16px}#weather-card .weather-heading button{font-size:12px;padding:7px 9px}}
