/* wx.css — the live weather home page (2026-11-26). App look: navy, gold accent, cards. */
:root{--bg:#070b14;--bg2:#0b1222;--ink:#eef3ff;--dim:#94a3bf;--card:#0f1729;--card2:#131d33;--line:rgba(255,255,255,.08);--gold:#ffc83d;--blue:#60a5fa;--red:#f87171;--orange:#fb923c;--yellow:#fbbf24;--green:#34d399}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font:15px/1.5 "Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);overflow-x:hidden;
  background-image:radial-gradient(900px 420px at 50% -120px,rgba(76,110,255,.22),transparent 70%)}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit;color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:6px}
[id]{scroll-margin-top:76px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* nav (same bar as the rest of the site) */
.nav{position:sticky;top:0;z-index:1000;background:rgba(7,11,20,.8);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;height:64px;gap:22px}
.logo{display:flex;gap:10px;align-items:center;font-weight:800;font-size:18px}
.logo img{width:30px;height:30px;border-radius:8px}
.logo::after{content:"\2122";font-size:.5em;font-weight:700;align-self:flex-start;margin-left:-9px;opacity:.75}
.links{margin-left:auto;display:flex;gap:22px;color:var(--dim);font-weight:600;font-size:14px}
.links a:hover{color:var(--ink)}
.btn{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border-radius:999px;font-weight:700;font-size:14px;border:0;cursor:pointer}
.btn.gold{background:var(--gold);color:#111}
@media (max-width:1060px){.links{display:none}.nav .btn.gold{margin-left:auto}}
@media (max-width:420px){.nav .btn.gold{display:none}.nav .wrap{justify-content:space-between}}

/* search */
.find{padding:18px 0 4px}
.find form{position:relative;display:flex;gap:8px}
.qbox{position:relative;flex:1;min-width:0}
.qbox input{width:100%;height:48px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:var(--card);color:var(--ink);padding:0 14px 0 42px;font:600 16px/1 inherit;font-family:inherit}
.qbox input::placeholder{color:#6b7896;font-weight:500}
.qbox input:focus{outline:none;border-color:rgba(255,200,61,.6)}
.qbox svg{position:absolute;left:14px;top:14px;width:20px;height:20px;color:var(--dim)}
.gps{flex:none;height:48px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:var(--card);padding:0 14px;font-weight:700;font-size:14px;display:flex;align-items:center;gap:6px;cursor:pointer}
.gps:hover{border-color:rgba(255,200,61,.5)}
.gps svg{width:18px;height:18px;color:var(--gold)}
@media (max-width:480px){.gps span{display:none}.gps{width:48px;justify-content:center;padding:0}}
.drop{position:absolute;left:0;right:0;top:54px;z-index:1100;background:#101a30;border:1px solid rgba(255,255,255,.14);border-radius:14px;list-style:none;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.5)}
.drop li{padding:12px 14px;cursor:pointer;display:flex;justify-content:space-between;gap:10px;font-weight:600}
.drop li small{color:var(--dim);font-weight:500}
.drop li[aria-selected="true"],.drop li:hover{background:rgba(255,200,61,.12)}
.drop li.note{cursor:default;color:var(--dim);font-weight:500}
.drop li.note:hover{background:none}
.msg{margin-top:8px;color:var(--dim);font-size:14px;min-height:0}
.msg.err{color:#fca5a5}

/* place title */
.place{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:14px 0 12px;flex-wrap:wrap}
.place h1{font-size:clamp(24px,5vw,34px);font-weight:800;letter-spacing:-.02em;line-height:1.1}
.place h1 small{display:block;font-size:13px;font-weight:600;color:var(--gold);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.place .upd{color:var(--dim);font-size:13px}

/* layout: one column on phones (ordered), main + sidebar on desktop */
.layout{display:flex;flex-direction:column;gap:14px;padding-bottom:24px}
.col-main,.col-side{display:contents}
.o1{order:1}.o2{order:2}.o3{order:3}.o4{order:4}.o5{order:5}.o6{order:6}.o7{order:7}.o8{order:8}.o9{order:9}.o10{order:10}.o11{order:11}.o12{order:12}.o13{order:13}.o14{order:14}
@media (min-width:980px){
  .layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}
  .col-main,.col-side{display:flex;flex-direction:column;gap:16px;min-width:0}
  .col-side{position:sticky;top:80px}
}

.card{background:rgba(15,23,42,.55);border:1px solid rgba(148,163,184,.16);border-radius:14px;padding:14px}
.card h2{font-size:15px;font-weight:800;color:#f1f5f9;margin-bottom:10px;display:flex;align-items:center;gap:8px}
.card h2 b{color:var(--gold);font-weight:800}
.dc{padding:0;overflow:hidden}
.dh{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid rgba(148,163,184,.12)}
.dh h2{margin:0;font-size:15px}
.dh svg{flex:none}
.dh-n{font-size:11.5px;color:#64748b;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
b.dh-n{color:#94a3b8;margin-left:auto;font-weight:700}
.dc .radar-box{border-radius:0}
.dc .rbar{padding:0 12px}
.dc .legend{padding:0 14px 12px}
button{font:inherit;color:inherit}

/* alerts */
.alerts{display:flex;flex-direction:column;gap:10px}
.alerts:empty{display:none}
.alert{border-radius:16px;border:1px solid var(--c);background:linear-gradient(90deg,color-mix(in srgb,var(--c) 22%,transparent),color-mix(in srgb,var(--c) 6%,transparent)),var(--card);overflow:hidden}
.alert summary{list-style:none;cursor:pointer;padding:13px 14px;display:flex;gap:12px;align-items:center}
.alert summary::-webkit-details-marker{display:none}
.alert .ai{width:34px;height:34px;flex:none;border-radius:10px;background:var(--c);color:#111;display:grid;place-items:center;font-weight:900;font-size:18px}
.alert .at{flex:1;min-width:0}
.alert .at b{display:block;font-size:16px;line-height:1.25}
.alert .at small{color:#cbd5e1;font-size:13px}
.alert .chev{color:var(--dim);transition:transform .2s;flex:none}
.alert[open] .chev{transform:rotate(180deg)}
.alert .ab{padding:0 14px 14px;color:#dbe3f3;font-size:14px;white-space:pre-line}
.alert .ab h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin:10px 0 4px}
.ac{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:14px;background:rgba(15,23,42,.55);border:1px solid rgba(148,163,184,.16);border-left:3px solid #22c55e}
.ac.wait{border-left-color:#64748b}
.ac.warn{border-left-color:#f59e0b}
.ac-i{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(34,197,94,.15)}
.ac.wait .ac-i{background:rgba(148,163,184,.12)}
.ac.warn .ac-i{background:rgba(245,158,11,.15)}
.ac b{display:block;font-size:15px;font-weight:800;color:#f1f5f9}
.ac small{display:block;font-size:12.5px;color:#94a3b8;margin-top:1px}

/* right now: the app's Home hero card (HeroCard.tsx) */
.hero-card{--glow:#6366f1;position:relative;overflow:hidden;border-radius:20px;border:1px solid color-mix(in srgb,var(--glow) 33%,transparent);
  background:radial-gradient(120% 120% at 100% 0%,color-mix(in srgb,var(--glow) 25%,transparent) 0%,rgba(15,23,42,0) 55%),linear-gradient(160deg,#13203d 0%,#0b1220 70%);
  box-shadow:0 10px 34px color-mix(in srgb,var(--glow) 13%,transparent)}
.hc-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px 0}
.hc-left{min-width:0}
.hc-temp{display:flex;align-items:flex-start}
.hc-temp span:first-child{font-size:clamp(70px,17vw,92px);font-weight:200;line-height:1;color:#f8fafc;letter-spacing:-.04em}
.hc-unit{font-size:26px;font-weight:300;color:#94a3b8;margin-top:10px}
.hc-cond{font-size:19px;font-weight:800;color:#f1f5f9;margin-top:2px;line-height:1.25}
.hc-feels{font-size:14px;color:#cbd5e1;margin-top:2px}
.hc-hilo{font-size:13.5px;color:#94a3b8;margin-top:2px}
.hc-icon{flex:none;filter:drop-shadow(0 0 18px color-mix(in srgb,var(--glow) 53%,transparent))}
.hc-icon svg{display:block}
@media (max-width:400px){.hc-icon svg{width:58px;height:58px}}
.sunbar{display:block;width:100%;padding:12px 18px 4px;background:none;border:0;cursor:pointer;text-align:left}
.sunbar:empty{display:none}
.sb-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#94a3b8;margin-bottom:5px;gap:6px}
.sb-row span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.sb-row b{font-weight:700;text-align:center}
.sb-track{display:block;position:relative;height:6px;border-radius:3px;background:rgba(148,163,184,.18)}
.sb-track i{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:linear-gradient(90deg,#fbbf24,#fb923c)}
.sb-track em{position:absolute;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%}
.sb-track em.day{background:#fde047;box-shadow:0 0 10px #fde047}
.sb-track em.night{background:#c7d2fe;box-shadow:0 0 10px #818cf8}
.hc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px 12px 12px}
.hc-stat{position:relative}
.hc-stat .tap{position:absolute;top:5px;right:5px}
.hc-hint{grid-column:1/-1;text-align:center;font-size:11px;color:#64748b;margin-top:2px}
.hc-stat{display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 4px;border-radius:12px;background:rgba(2,6,23,.45);border:1px solid rgba(148,163,184,.14);text-align:center;min-width:0;cursor:pointer;transition:transform .12s,border-color .12s}
.hc-stat:hover{border-color:rgba(148,163,184,.35)}
.hc-stat:active,.ct:active,.d7:active{transform:scale(.96)}
.hc-stat b{font-size:14.5px;font-weight:800;color:#f8fafc;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.hc-stat small{font-size:10.5px;color:#94a3b8;line-height:1.2}
@media (max-width:400px){.hc-stats{gap:5px;padding:10px 8px 12px}.hc-stat b{font-size:12.5px}.d7{gap:6px;padding:9px 10px}}
.hc-alert{display:flex;align-items:center;gap:8px;width:100%;padding:11px 18px;font-size:15px;font-weight:800}
.hc-alert span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hc-alert em{font-style:normal;padding:0 8px;border-radius:999px;background:rgba(0,0,0,.25);font-size:12px}
.an-pulse{animation:anp 2s ease-in-out infinite}
.an-bob{animation:anb 2.4s ease-in-out infinite}
.an-spin{animation:ans 12s linear infinite}
@keyframes anp{50%{opacity:.55}}
@keyframes anb{50%{transform:translateY(-6px)}}
@keyframes ans{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.an-pulse,.an-bob,.an-spin{animation:none}}

/* hourly (the app's strip) */
.hwrap{position:relative}
.hours{display:flex;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#2a3550 transparent}
.hc{flex:none;width:60px;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:3px}
.hc.now{background:rgba(59,130,246,.12)}
.hc.nt{background:rgba(2,6,23,.3)}
.hc small{font-size:11.5px;color:#94a3b8;font-weight:500;white-space:nowrap}
.hc.now small{color:#93c5fd;font-weight:800}
.hc img{width:24px;height:24px;margin:2px 0}
.hc b{font-size:15px;font-weight:800;color:#f8fafc}
.hc em{font-style:normal;font-size:10.5px;font-weight:700;color:#475569;white-space:nowrap}
.hc em.on{color:#c4b5fd}
.pp{display:inline-flex;align-items:center;gap:1px;font-size:11.5px;font-weight:500;color:#64748b}
.pp.hi{color:#93c5fd;font-weight:800}
.hstrip .hwrap::before,.hstrip .hwrap::after{content:"";position:absolute;top:0;bottom:0;width:64px;pointer-events:none;z-index:1}
.hstrip .hwrap::after{right:0;background:linear-gradient(to left,rgba(11,18,32,.95),rgba(11,18,32,0))}
.hstrip .hwrap::before{left:0;width:36px;background:linear-gradient(to right,rgba(11,18,32,.95),rgba(11,18,32,0))}
.hstrip.at-end .hwrap::after,.hstrip.at-start .hwrap::before{display:none}
.hmore{position:absolute;right:6px;top:50%;transform:translateY(-50%);z-index:2;width:28px;height:28px;border-radius:999px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:rgba(30,41,59,.92);border:1px solid rgba(148,163,184,.3);color:#e2e8f0;box-shadow:0 2px 8px rgba(0,0,0,.4)}
.hstrip.at-end .hmore{display:none}

/* Today card (the app's DashToday) */
.td-top{display:flex;align-items:center;gap:12px;padding:12px 14px;cursor:pointer}
.td-top img{width:44px;height:44px;flex:none}
.td-mid{flex:1;min-width:0}
.td-mid small{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#93c5fd}
.td-mid div{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.td-mid b{font-size:24px;font-weight:900}
.td-mid em{font-style:normal;font-size:12px;color:#94a3b8;font-weight:700}
.td-mid span{font-size:14px;font-weight:700;color:#f1f5f9}
.td-tog{background:none;border:0;cursor:pointer;padding:4px;color:#64748b}
.td-det{padding:0 14px 12px;font-size:14px;line-height:1.6;color:#cbd5e1}
.td-next{display:flex;align-items:baseline;gap:8px;padding:9px 14px;border-top:1px solid rgba(148,163,184,.1);background:rgba(2,6,23,.3);font-size:13px}
.td-then{display:flex;align-items:center;gap:6px;flex:none;white-space:nowrap;color:#94a3b8;font-weight:700}
.td-then img{width:20px;height:20px}
.td-then b{font-weight:900}
.td-next>span:last-child{color:#cbd5e1;min-width:0;line-height:1.4}
.td-iss{padding:0 14px 8px;font-size:10.5px;color:#475569;display:flex;align-items:center;justify-content:space-between;gap:8px}
.td-more{background:none;border:0;cursor:pointer;color:#60a5fa;font-size:12.5px;font-weight:700;display:inline-flex;align-items:center;gap:2px;padding:2px 0}
.td-iss.dk{background:rgba(2,6,23,.3)}

/* radar */
.radar-box{position:relative;border-radius:14px;overflow:hidden;height:min(62vh,440px);min-height:300px;background:#0b1020}
#radar-map{position:absolute;inset:0}
.rbar{display:flex;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.rbtn{height:36px;min-width:36px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:var(--card2);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;font-weight:700;font-size:13px}
.rbtn svg{width:16px;height:16px}
.rtime{font-weight:700;font-variant-numeric:tabular-nums;min-width:74px}
.rdots{display:flex;gap:4px;flex:1;min-width:80px}
.rdots i{flex:1;height:4px;border-radius:2px;background:#26324d}
.rdots i.on{background:var(--gold)}
.legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;color:var(--dim);font-size:12px;margin-top:8px}
.legend span.g{flex:1;max-width:160px;min-width:40px;height:8px;border-radius:4px;background:linear-gradient(90deg,#01b714,#088915,#06430a,#85a007,#ffee07,#f38b08,#df370a,#d3100c,#b80c08)}
.leaflet-container{background:#0b1020;font-family:inherit}
.leaflet-control-attribution{background:rgba(7,11,20,.7)!important;color:#7b879f!important;font-size:10px!important}
.leaflet-control-attribution a{color:#9aa7c0!important}
.leaflet-bar a{background:#131d33!important;color:var(--ink)!important;border-color:#2a3550!important}
.rnote{position:absolute;left:10px;bottom:10px;z-index:500;background:rgba(7,11,20,.8);border-radius:8px;padding:4px 8px;font-size:12px;color:var(--dim);pointer-events:none}
.rmove{position:absolute;right:10px;bottom:22px;z-index:500}

/* 7 day (the app's grid: day, icon, precip, low, range bar, high) */
.d7{width:100%;display:grid;grid-template-columns:50px 28px 46px 32px 1fr 32px 14px;gap:8px;align-items:center;padding:9px 14px;background:transparent;border:0;border-top:1px solid rgba(148,163,184,.08);color:#e2e8f0;cursor:pointer;text-align:left;transition:background .12s}
.d7:hover{background:rgba(59,130,246,.06)}
.d7.first{background:rgba(59,130,246,.08)}
.d7h{cursor:default;padding:6px 14px;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#64748b;background:rgba(2,6,23,.3);border-top:0}
.d7h:hover{background:rgba(2,6,23,.3)}
.d7h .r{text-align:right}
.d7 .dn{font-size:13.5px;font-weight:800;line-height:1.15}
.d7 img{width:26px;height:26px}
.d7 .pp{font-size:12px;font-weight:700}
.d7 .lo{font-size:14px;font-weight:700;color:#93c5fd;text-align:right}
.d7 .hi{font-size:14px;font-weight:900;color:#f8fafc}
.rb{position:relative;height:7px;border-radius:4px;background:rgba(148,163,184,.15)}
.rb i{position:absolute;top:0;bottom:0;border-radius:4px}
.d7f{padding:6px 14px 10px;font-size:10.5px;color:#64748b}
@media (min-width:640px){.d7{grid-template-columns:70px 32px 52px 36px 1fr 36px 16px;padding:10px 16px}}

/* conditions: the app's six tiles */
.cgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:8px;padding:10px}
.ct{--t:#818cf8;display:flex;flex-direction:column;gap:3px;padding:8px 9px 7px;min-width:0;border-radius:12px;cursor:pointer;text-align:left;
  background:radial-gradient(130% 90% at 0% 0%,color-mix(in srgb,var(--t) 15%,transparent) 0%,rgba(30,41,59,0) 65%),rgba(30,41,59,.5);border:1px solid color-mix(in srgb,var(--t) 18%,transparent);transition:transform .12s}
.ct-l{display:flex;align-items:center;gap:5px;font-size:10.5px;color:#94a3b8;font-weight:700;white-space:nowrap}
.ct-l svg:last-child{margin-left:auto;opacity:.6;flex:none}
.ct-v{font-size:15.5px;font-weight:900;color:#f8fafc;line-height:1.1}
.ct-v small{font-size:10px;color:#94a3b8;font-weight:700;margin-left:3px}
.ct-v .ct-sm{font-size:12px;letter-spacing:-.01em}
.ct-v .ct-wait{font-size:12.5px;font-weight:700;color:#94a3b8}
.ct-p{height:22px;display:flex;align-items:center}
.ct-s{font-size:10.5px;color:#94a3b8;line-height:1.25;font-weight:600}
.ct-s span{display:inline-flex;align-items:center;gap:3px}
.ct-bar{position:relative;width:100%;height:6px;border-radius:3px;background:rgba(148,163,184,.16)}
.ct-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:3px}
@media (min-width:640px){.ct-v{font-size:17px}.ct-l,.ct-s{font-size:11.5px}}

/* slide-up detail sheet (the app's Sheet) */
.sh-bg{position:fixed;inset:0;z-index:3000;display:flex;align-items:flex-end;justify-content:center;background:rgba(2,6,23,0);transition:background .2s}
.sh-bg.on{background:rgba(2,6,23,.62)}
.sheet{--tint:#60a5fa;width:100%;max-width:560px;max-height:88vh;overflow-y:auto;overscroll-behavior:contain;padding:0 14px calc(18px + env(safe-area-inset-bottom));
  background:radial-gradient(120% 60% at 0% 0%,color-mix(in srgb,var(--tint) 13%,transparent) 0%,rgba(11,18,34,0) 60%),#0b1222;border:1px solid rgba(148,163,184,.16);border-bottom:0;border-radius:18px 18px 0 0;
  transform:translateY(100%);transition:transform .22s ease-out}
.sh-bg.on .sheet{transform:translateY(0)}
.sh-grab{padding:8px 0;cursor:grab}
.sh-grab i{display:block;width:38px;height:4px;border-radius:2px;background:rgba(148,163,184,.4);margin:0 auto}
.sh-head{display:flex;align-items:center;gap:8px;position:sticky;top:0}
.sh-head b{flex:1;font-size:17px;font-weight:900;color:#f8fafc}
.sh-ic{display:flex}
.sh-x{width:32px;height:32px;border-radius:999px;border:0;background:rgba(148,163,184,.12);display:flex;align-items:center;justify-content:center;cursor:pointer}
.sh-hero{display:flex;align-items:center;gap:14px;margin-top:12px}
.sh-hero>div{min-width:0}
.sh-big{font-size:32px;font-weight:900;color:#f8fafc;line-height:1.05}
.sh-u{font-size:16px;color:#94a3b8}
.sh-word{font-size:14.5px;font-weight:800;margin-top:3px}
.sh-stats{display:flex;gap:8px;margin-top:10px}
.sh-stat{flex:1 1 0;min-width:0;background:rgba(30,41,59,.55);border:1px solid rgba(148,163,184,.16);border-radius:10px;padding:8px 10px}
.sh-stat small{display:block;font-size:10.5px;color:#94a3b8;font-weight:700}
.sh-stat b{display:block;font-size:15px;font-weight:900;color:#f8fafc;margin-top:2px;overflow-wrap:anywhere}
.sh-sec{background:rgba(30,41,59,.55);border:1px solid rgba(148,163,184,.16);border-radius:12px;padding:10px 12px;margin-top:10px}
.sh-sec h3{font-size:11.5px;font-weight:800;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;margin:0 0 6px}
.sh-p{font-size:13px;color:#cbd5e1;line-height:1.45;margin-top:4px}
.sh-sec h3+.sh-p{margin-top:0}
.sh-wait{text-align:center;color:#94a3b8;font-size:13px;padding:12px 0}
.sh-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;border-top:1px solid rgba(148,163,184,.16);font-size:13.5px}
.sh-row>span{color:#cbd5e1;font-weight:600;display:flex;align-items:center;gap:8px}
.sh-row>span small{display:block;font-size:11px;color:#94a3b8;font-weight:600}
.sh-row>b{color:#f8fafc;font-weight:800;white-space:nowrap;flex:none}
.sh-row.on>span{color:#f8fafc;font-weight:800}
.sw{width:10px;height:10px;border-radius:3px;flex:none;display:inline-block}
.chart{display:block;width:100%;height:auto}
.sh-leg{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#94a3b8;margin-top:4px}
.sh-leg span{display:inline-flex;align-items:center;gap:5px}
.sh-arrows{display:flex;justify-content:space-between;margin-top:10px;text-align:center;font-size:10px;color:#94a3b8}
.sh-arrows div{display:flex;flex-direction:column;align-items:center;gap:3px}
.sh-arrows b{color:#f8fafc;font-weight:700}
.sh-bars{display:flex;align-items:flex-end;gap:2px;height:110px;padding-bottom:16px;position:relative}
.sh-bars span{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;position:relative}
.sh-bars i{display:block;border-radius:2px 2px 0 0}
.sh-bars small{position:absolute;bottom:-15px;left:50%;transform:translateX(-50%);font-size:9px;color:#64748b;white-space:nowrap}
.sh-daybar{position:relative;height:14px;border-radius:7px;overflow:hidden;background:#1e293b;margin:4px 0 10px}
.sh-daybar i{position:absolute;top:0;bottom:0}
.sh-daybar em{position:absolute;top:-2px;bottom:-2px;width:2px;background:#f8fafc;box-shadow:0 0 4px #f8fafc}
.sh-hr{display:grid;grid-template-columns:52px 26px 40px minmax(0,1fr) 40px;align-items:center;gap:6px;padding:6px 0;border-top:1px solid rgba(148,163,184,.16);font-size:13px}
.sh-hr>span:first-child{color:#94a3b8;font-weight:700}
.sh-hr>span:nth-child(4){color:#94a3b8;line-height:1.25;overflow-wrap:anywhere}
.sh-hr b{font-weight:900}
.sh-hr em{font-style:normal;text-align:right;color:#64748b;font-weight:700}
.sh-hr em.hi{color:#60a5fa}
.sh-alert{display:flex;align-items:center;gap:8px;margin-top:10px;padding:9px 12px;border-radius:12px;background:rgba(251,191,36,.08);border:1px solid rgba(251,191,36,.3);font-size:13.5px;font-weight:700;color:#fde68a}
.sh-alert span{flex:1}

/* get the app */
.app{background:linear-gradient(135deg,rgba(255,200,61,.14),rgba(96,165,250,.1)),var(--card);border-color:rgba(255,200,61,.3)}
.app .ah{display:flex;gap:12px;align-items:center;margin-bottom:10px}
.app .ah img{width:46px;height:46px;border-radius:12px}
.app .ah b{font-size:17px;display:block;line-height:1.2}
.app .ah small{color:var(--dim)}
.app p{color:#cbd5e1;font-size:14px;margin-bottom:12px}
.badges{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.badges .play img{height:46px;width:auto}
.badges .ms img{height:34px;width:auto}

/* quick picks + guides + about */
.picks{display:flex;flex-wrap:wrap;gap:8px}
.picks a{font-size:13px;font-weight:600;padding:7px 12px;border-radius:999px;background:var(--card2);border:1px solid var(--line)}
.picks a:hover{border-color:rgba(255,200,61,.5);color:var(--gold)}
.guides a{display:block;padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.guides a:first-of-type{border-top:0}
.guides a b{display:block;font-weight:700}
.guides a span{color:var(--dim);font-size:13px}
.guides a:hover b{color:var(--gold)}
.about p{color:#cbd5e1;font-size:14px}
.about p+p{margin-top:10px}
.about dl{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:12px;font-size:14px}
.about dt{font-weight:800;display:flex;align-items:center;gap:8px}
.about dt i{width:10px;height:10px;border-radius:3px;background:var(--c)}
.about dd{color:#cbd5e1}

/* StormCast Now promo, full width under the forecast */
.tvnow{display:grid;grid-template-columns:1fr;gap:16px;align-items:center;margin-bottom:24px;padding:12px;border-color:rgba(255,200,61,.3);background:linear-gradient(135deg,rgba(96,165,250,.12),rgba(255,200,61,.08)),var(--card);transition:border-color .15s}
.tvnow:hover{border-color:rgba(255,200,61,.6)}
.tvnow img{width:100%;height:auto;border-radius:12px;aspect-ratio:16/9;object-fit:cover}
.tvnow .tvtxt{padding:0 6px 6px}
.tvnow .kick{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--gold)}
.tvnow h2{display:block;font-size:24px;font-weight:800;letter-spacing:-.02em;text-transform:none;color:var(--ink);margin:4px 0 8px}
.tvnow p{color:#cbd5e1;font-size:14px;margin-bottom:14px}
.tvnow .beta{display:inline-block;vertical-align:1px;margin-left:8px;font-size:10px;font-weight:800;letter-spacing:.08em;line-height:1;color:var(--gold);border:1px solid rgba(255,200,61,.55);border-radius:999px;padding:3px 7px}
.tvnow p.beta-note{color:var(--dim);font-size:12.5px;margin-top:-6px}
@media (min-width:760px){.tvnow{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);padding:16px}.tvnow h2{font-size:28px}}

/* empty / loading states */
.empty{color:var(--dim);font-size:14px;padding:6px 0}
.skel{background:linear-gradient(90deg,#141e35,#1b2744,#141e35);background-size:200% 100%;animation:sk 1.4s infinite;border-radius:10px;min-height:20px}
@keyframes sk{to{background-position:-200% 0}}
.hidden{display:none!important}
.welcome h2{font-size:22px;color:var(--ink);text-transform:none;letter-spacing:-.01em;font-weight:800}
.welcome p{color:#cbd5e1}

/* ad slots: empty placeholders, kept out of the forecast's way. Hidden until
   ads are approved; add ?adpreview=1 to the address to see where they sit. */
.ad-slot{display:none}
body.adpreview .ad-slot{display:flex;align-items:center;justify-content:center;min-height:250px;border:2px dashed rgba(255,200,61,.45);border-radius:14px;color:rgba(255,200,61,.8);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;background:rgba(255,200,61,.04)}
body.adpreview .ad-slot::before{content:"Ad space · " attr(data-ad-slot)}
body.adpreview .ad-slot.wide{min-height:100px}

footer{border-top:1px solid var(--line);padding:26px 0 40px;color:var(--dim);font-size:13px}
footer .wrap{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
footer a:hover{color:var(--ink)}
footer span{margin-left:auto}
@media (max-width:640px){footer span{margin-left:0;width:100%}}

/* alerts: the app's AlertStrip */
.astrip{border-radius:16px;overflow:hidden;border:1px solid;background:rgba(15,23,42,.85)}
.as-head{width:100%;display:flex;align-items:center;gap:8px;padding:10px 14px;border:0;cursor:pointer;text-align:left}
.as-head span{flex:1;font-weight:900;font-size:15.5px;line-height:1.25}
.as-head em{font-style:normal;font-size:12.5px;font-weight:800;display:flex;align-items:center;gap:2px;flex:none}
.as-row{width:100%;display:flex;align-items:center;gap:12px;padding:10px 14px;background:transparent;border:0;border-top:1px solid rgba(148,163,184,.12);color:#e2e8f0;cursor:pointer;text-align:left}
.as-row:hover{background:rgba(148,163,184,.06)}
.as-bar{width:5px;align-self:stretch;border-radius:3px;flex:none}
.as-mid{flex:1;min-width:0}
.as-mid b{display:block;font-size:16px;font-weight:800;color:#f8fafc}
.as-mid small{display:block;font-size:13px;color:#cbd5e1;margin-top:2px}
.as-mid small span{font-weight:700}
.as-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.as-tags i{font-style:normal;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:999px;color:#e2e8f0;background:rgba(148,163,184,.14)}
.as-tags i.hot{color:#fecaca;background:rgba(239,68,68,.18)}
.as-full h3{margin-top:10px}
.as-full h3:first-child{margin-top:0;font-size:14px;text-transform:none;letter-spacing:0}
.as-full .sh-p{white-space:pre-line}

/* radar: the app's mini radar pills */
.rp{position:absolute;top:8px;z-index:600;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:rgba(15,23,42,.85);border:1px solid rgba(148,163,184,.3);color:#e2e8f0;font-size:12px;font-weight:800;pointer-events:none;max-width:60%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rp b{color:#94a3b8;font-weight:700}
.rp-l{left:8px}
.rp-r{right:8px;border:0;color:#cbd5e1}
.rp-r:empty{display:none}
.rp-r.latest{color:#bfdbfe}
.dc .radar-box{height:min(52vh,380px);min-height:260px}
.dc .rbar{margin-top:8px}
.leaflet-top.leaflet-left{top:36px}

.legend .lsnow{display:contents}
.legend .lsnow[hidden]{display:none}
.legend span.gs{background:linear-gradient(90deg,#efffff,#8fffff,#4fafff,#0f6fff,#002fff)}
.legend .lw{margin-left:auto;white-space:nowrap}

/* Rivers near you */
.rv-pad{padding:12px 14px}
.rv{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid rgba(148,163,184,.1);color:inherit;text-decoration:none}
.rv:hover{background:rgba(148,163,184,.06)}
.rv-n{flex:1;min-width:0}
.rv-n b{display:block;font-size:14px;font-weight:700;color:#e2e8f0;line-height:1.3}
.rv-n small{display:block;font-size:11.5px;color:#64748b;margin-top:2px}
.rv-v{text-align:right;flex:none}
.rv-v b{display:block;font-size:15px;font-weight:800;color:#f8fafc}
.rv-v small{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:#64748b;white-space:nowrap}
.rv-v small i{width:7px;height:7px;border-radius:50%;display:inline-block}
.rv-search{padding:12px 14px 4px}
.rv-search label{display:block;font-size:12px;font-weight:700;color:#94a3b8;margin-bottom:6px}
.rv-search input{width:100%;box-sizing:border-box;background:rgba(2,6,23,.6);border:1px solid rgba(148,163,184,.25);border-radius:10px;padding:9px 12px;color:#e2e8f0;font:inherit;font-size:14px}
.rv-results{list-style:none;margin:0;padding:0 14px;max-height:280px;overflow:auto}
.rv-results:empty{display:none}
.rv-results li a{display:block;padding:8px 0;border-bottom:1px solid rgba(148,163,184,.1);color:#e2e8f0;text-decoration:none;font-size:13.5px}
.rv-results li a small{display:block;color:#64748b;font-size:11.5px}
.rv-results li.none{padding:8px 0 4px;color:#94a3b8;font-size:12px;font-weight:700}
.rv-all{display:block;padding:10px 14px 12px;color:#60a5fa;font-size:12.5px;font-weight:700;text-decoration:none}
.rv-all::after{content:" ›"}
