:root{--forest:#08271f;--forest2:#154b3b;--cream:#f4efe5;--paper:#fffdf8;--gold:#d6b36d;--ink:#10241e;--muted:#61716b;--line:rgba(16,36,30,.11)}
*{box-sizing:border-box}[hidden]{display:none!important}.weather-icons{position:absolute;width:0;height:0;overflow:hidden}.weather-nav{position:fixed;z-index:20;top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));display:flex;gap:8px}.weather-nav-button{width:44px;height:44px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(8,39,31,.94);color:#fff;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.22);backdrop-filter:blur(12px)}.weather-nav-button--light{background:rgba(255,253,248,.95);color:#0b3026}.weather-nav-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.weather-nav-button:active{transform:scale(.93)}html{min-height:100%;background:var(--cream)}body{min-width:0;min-height:100%;margin:0;background:radial-gradient(circle at 90% 0,rgba(214,179,109,.28),transparent 32%),linear-gradient(180deg,#e7eee8 0,#f4efe5 42%,#f4efe5 100%);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.weather-shell{width:min(100%,720px);min-height:100vh;margin:auto;padding:clamp(68px,10vw,88px) 16px 28px}.weather-loading,.weather-error{min-height:calc(100vh - 100px);display:grid;place-content:center;justify-items:center;gap:14px;text-align:center;color:var(--forest)}.weather-spinner{width:40px;height:40px;border-radius:50%;border:3px solid rgba(8,39,31,.14);border-top-color:var(--forest);animation:weather-spin .85s linear infinite}.weather-content{animation:weather-in .28s ease-out}.weather-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.weather-place{margin:0 0 4px;color:var(--forest2);font-size:.68rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.weather-heading h1{margin:0;font-family:Georgia,serif;font-size:clamp(1.75rem,7vw,2.65rem);letter-spacing:-.045em}.weather-date{margin:.35rem 0 0;color:var(--muted);font-size:.82rem;font-weight:650}.weather-refresh{width:43px;height:43px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:rgba(255,253,248,.88);color:var(--forest);font-size:1.35rem;cursor:pointer;box-shadow:0 8px 20px rgba(8,39,31,.08)}.weather-refresh:active{transform:scale(.94)}.weather-refresh.is-loading span{animation:weather-spin .8s linear infinite}.weather-now{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:18px;margin:20px 0 13px;padding:clamp(18px,5vw,28px);border:1px solid rgba(255,255,255,.65);border-radius:30px;background:linear-gradient(145deg,rgba(11,48,38,.98),rgba(21,75,59,.93));color:#fff;box-shadow:0 22px 50px rgba(8,39,31,.2)}.weather-main-icon{width:clamp(84px,23vw,120px);height:clamp(84px,23vw,120px);display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.1);font-size:clamp(3.3rem,13vw,5rem);filter:drop-shadow(0 9px 18px rgba(0,0,0,.2))}.weather-condition{margin:0;color:#f6e4b9;font-weight:800}.weather-temperature{display:flex;align-items:flex-start;margin:.18rem 0;line-height:.9}.weather-temperature strong{font-family:Georgia,serif;font-size:clamp(3.25rem,14vw,5.5rem);font-weight:500;letter-spacing:-.08em}.weather-temperature span{margin:.35rem 0 0 .22rem;font-size:1.2rem;font-weight:800}.weather-feels{margin:0;color:rgba(255,255,255,.76);font-size:.78rem}.weather-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.weather-summary article{min-width:0;padding:12px 8px;border:1px solid var(--line);border-radius:17px;background:rgba(255,253,248,.9);text-align:center;box-shadow:0 7px 20px rgba(8,39,31,.055)}.weather-summary span{display:block;color:var(--muted);font-size:.63rem;font-weight:800;text-transform:uppercase}.weather-summary strong{display:block;margin-top:5px;color:var(--forest);font-size:.93rem;white-space:nowrap}.weather-hours{margin-top:23px}.weather-section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 4px 9px}.weather-section-title h2{margin:0;font-family:Georgia,serif;font-size:1.18rem}.weather-section-title span{color:var(--muted);font-size:.64rem;font-weight:800;text-transform:uppercase}.weather-hour-strip{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 11px;scroll-snap-type:x proximity;scrollbar-width:thin}.weather-hour{flex:0 0 77px;scroll-snap-align:start;padding:11px 8px;border:1px solid var(--line);border-radius:19px;background:rgba(255,253,248,.93);text-align:center;box-shadow:0 7px 18px rgba(8,39,31,.05)}.weather-hour.is-now{border-color:rgba(214,179,109,.9);background:#0b3026;color:#fff}.weather-hour time{display:block;font-size:.69rem;font-weight:850}.weather-hour-icon{display:block;margin:7px 0 5px;font-size:1.55rem}.weather-hour-temp{display:block;font-size:.96rem;font-weight:900}.weather-hour-rain{display:block;margin-top:5px;color:#55746a;font-size:.62rem;font-weight:750}.weather-hour.is-now .weather-hour-rain{color:#cfe2d8}.weather-sun{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.weather-sun>div{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 7px;border-radius:17px;background:rgba(214,179,109,.18)}.weather-sun>div>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--paper);color:var(--forest);font-weight:900}.weather-sun p{margin:0}.weather-sun small{display:block;color:var(--muted);font-size:.59rem;font-weight:850;text-transform:uppercase}.weather-sun strong{display:block;margin-top:2px;font-size:.8rem}.weather-source{margin:18px 5px 0;color:var(--muted);font-size:.64rem;line-height:1.5}.weather-source a{color:var(--forest);font-weight:800}.weather-error div{font-size:4rem}.weather-error h2{margin:0;font-family:Georgia,serif;font-size:1.6rem}.weather-error p{margin:0;color:var(--muted)}.weather-error button{border:0;border-radius:999px;padding:.8rem 1.2rem;background:var(--forest);color:#fff;font:inherit;font-weight:850;cursor:pointer}
@media(max-width:460px){.weather-shell{padding-left:12px;padding-right:12px}.weather-now{gap:12px;border-radius:25px}.weather-summary{grid-template-columns:repeat(2,1fr)}.weather-sun{grid-template-columns:1fr}.weather-sun>div{justify-content:flex-start;padding-left:20px}.weather-source{font-size:.61rem}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@keyframes weather-spin{to{transform:rotate(360deg)}}@keyframes weather-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.weather-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.weather-nav-button:focus-visible,.weather-refresh:focus-visible,.weather-error button:focus-visible,.weather-hour-strip:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.weather-hour-strip:focus-visible{border-radius:16px;box-shadow:0 0 0 2px rgba(8,39,31,.12)}
