/* Weather page — Sidi Allal El Bahraoui */
body.is-weather{background:#fff;min-height:100vh}
body.is-weather .tabbar{display:none}
.wx{max-width:1100px;margin:0 auto;padding:1rem 1rem 3rem;box-sizing:border-box}
.wx-hero{display:grid;gap:1.1rem;margin-bottom:1.1rem}
.wx-eyebrow{margin:0 0 .35rem;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#1a73e8;font-weight:700}
.wx h1{margin:0 0 .55rem;font-size:clamp(1.55rem,4vw,2.35rem);line-height:1.15;color:#152536}
.wx-lede{margin:0;color:#4d5f55;font-size:.98rem;line-height:1.55;max-width:42rem}
.wx-langs{display:inline-flex;gap:.35rem;margin-top:.85rem}
.wx-langs a{min-width:2.2rem;height:2rem;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid #d5e0ec;background:#fff;color:#1565c0;text-decoration:none;font-size:.78rem;font-weight:700}
.wx-langs a.is-on{background:#1565c0;color:#fff;border-color:#1565c0}
.wx-now-card{display:flex;gap:1rem;align-items:center;padding:1.1rem 1.2rem;border-radius:22px;background:linear-gradient(145deg,#ffffffee,#eef4fb);border:1px solid #d6e2ef;box-shadow:0 18px 40px -24px #15253655}
.wx-brand-ico{width:72px;height:72px;color:#1565c0;flex:0 0 72px;filter:drop-shadow(0 6px 12px #0002)}
.wx-mini-ico{width:28px;height:28px;margin:.2rem auto;display:block;color:#1565c0}
.wx-day header .wx-mini-ico{margin:.1rem 0 .25rem;width:26px;height:26px}
.wx-city{margin:0;font-weight:700;color:#1565c0}
.wx-temp{margin:.1rem 0;font-size:3rem;line-height:1;font-weight:800;color:#152536}
.wx-temp span{font-size:1.5rem;vertical-align:super}
.wx-label{margin:0;color:#3f5549;font-weight:600}
.wx-updated{margin:.35rem 0 0;font-size:.75rem;color:#7a8a80}
.wx-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin-bottom:1.1rem}
.wx-stats div{background:#fff;border:1px solid #dde5ef;border-radius:16px;padding:.85rem .9rem;box-shadow:0 8px 22px -18px #15253644}
.wx-stats span{display:block;font-size:.72rem;color:#6a7b8c;margin-bottom:.25rem}
.wx-stats strong{font-size:1.05rem;color:#152536}
.wx-grid{display:grid;gap:1rem;margin-bottom:1rem}
.wx-panel{background:#fff;border:1px solid #dde5ef;border-radius:20px;padding:1rem;box-shadow:0 14px 30px -24px #15253655;margin-bottom:1rem}
.wx-panel-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}
.wx-panel-head h2{margin:0;font-size:1.05rem;color:#152536}
.wx-panel-head a{font-size:.82rem;color:#1565c0;font-weight:700;text-decoration:none}
.wx-map{height:260px;border-radius:16px;overflow:hidden;border:1px solid #d6e2ef;background:#e8efe9}
.wx-pin-label{margin:.55rem 0 0;font-size:.82rem;color:#5b6d63}
.wx-compare-form{display:flex;gap:.55rem;flex-wrap:wrap;margin-bottom:1rem}
.wx-compare-form select,.wx-compare-form button{min-height:42px;border-radius:12px;border:1px solid #d5e0ec;font:inherit}
.wx-compare-form select{flex:1;min-width:180px;padding:.55rem .75rem;background:#fff}
.wx-compare-form button{padding:.55rem 1rem;background:#1565c0;color:#fff;border-color:#1565c0;cursor:pointer;font-weight:700}
.wx-vs{display:grid;grid-template-columns:1fr auto 1fr;gap:.75rem;align-items:stretch}
.wx-vs article{background:#f3f7fc;border:1px solid #dde5ef;border-radius:16px;padding:.9rem}
.wx-vs h3{margin:0 0 .35rem;font-size:.95rem}
.wx-vs-temp{margin:0;font-size:2rem;font-weight:800;color:#152536}
.wx-vs p{margin:.2rem 0 .55rem;color:#4d5f55}
.wx-vs ul{margin:0;padding-inline-start:1.1rem;color:#5b6d63;font-size:.88rem}
.wx-vs-badge{align-self:center;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#1565c0;color:#fff;font-size:.72rem;font-weight:800}
.wx-hours{display:flex;gap:.55rem;overflow-x:auto;padding-bottom:.35rem;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.wx-hour{flex:0 0 88px;scroll-snap-align:start;background:#f3f7fc;border:1px solid #dde5ef;border-radius:14px;padding:.7rem .55rem;text-align:center}
.wx-hour span{display:block;font-size:.72rem;color:#6a7b8c}
.wx-hour strong{display:block;margin:.25rem 0;font-size:1.15rem;color:#152536}
.wx-hour em{display:block;font-style:normal;font-size:.68rem;color:#3f5549;line-height:1.25;min-height:2.2em}
.wx-hour small{color:#1a73e8;font-weight:700}
.wx-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.7rem}
.wx-day{background:#f3f7fc;border:1px solid #dde5ef;border-radius:16px;padding:.85rem}
.wx-day header{display:flex;flex-direction:column;gap:.15rem;margin-bottom:.45rem}
.wx-day header span{font-size:.78rem;color:#4d5f55}
.wx-day-temps{display:flex;gap:.75rem;margin:.2rem 0 .55rem;font-weight:700;color:#152536}
.wx-day ul{margin:0;padding-inline-start:1.05rem;font-size:.82rem;color:#5b6d63}
.wx-faq details{border-top:1px solid #e3eaf3;padding:.7rem 0}
.wx-faq summary{cursor:pointer;font-weight:700;color:#152536}
.wx-faq p{margin:.45rem 0 0;color:#4d5f55;line-height:1.5}
.wx-source{margin:0;text-align:center;font-size:.78rem;color:#7a8a80}
.wx-source a{color:#1565c0}
.wx-error{padding:1rem;border-radius:14px;background:#fff4f2;border:1px solid #f0c7bf;color:#8a2f22}
@media(min-width:860px){
  .wx{padding:1.5rem 1.25rem 4rem}
  .wx-hero{grid-template-columns:1.2fr .9fr;align-items:stretch}
  .wx-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
  .wx-grid{grid-template-columns:1.15fr .85fr}
  .wx-map{height:320px}
}
@media(max-width:640px){
  .wx-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wx-vs{grid-template-columns:1fr;gap:.55rem}
  .wx-vs-badge{justify-self:center}
  .wx-now-card{padding:1rem}
  .wx-temp{font-size:2.55rem}
}
