:root{
  --bg:#ffffff;
  --card:#f8f9fa;
  --muted:#6c757d;
  --text:#212529;
  --brand:#007bff;
  --brand-2:#28a745;
  --ring:rgba(0,123,255,.25);
  --radius:16px;
  --shadow:0 4px 12px rgba(0,0,0,.08);
  --shadow-soft:0 2px 8px rgba(0,0,0,.06);
  --maxw:1000px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text); background:var(--bg);
}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--maxw); margin:0 auto; padding:24px}

.header{position:sticky; top:0; z-index:20; backdrop-filter:saturate(150%) blur(8px);
  background:rgba(255,255,255,.85); border-bottom:1px solid rgba(0,0,0,.06)}
.nav{display:flex; align-items:center; gap:20px; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px; font-weight:700; letter-spacing:.2px}
.brand-link{color:var(--text); text-decoration:none}
.dot{width:12px; height:12px; border-radius:50%; background:linear-gradient(45deg,var(--brand),var(--brand-2))}
.links{margin-left:auto; display:flex; gap:18px}
.links a{color:var(--text); opacity:.85}
.links a:hover{opacity:1}

.hero{padding:36px 0 10px}
.hero h1{margin:0 0 8px; font-size:28px}
.hero p{margin:0; color:var(--muted)}
.panel{margin-top:22px; background:var(--card); border:1px solid rgba(0,0,0,.06);
  border-radius:16px; box-shadow:var(--shadow); padding:18px;}
.controls{display:grid; grid-template-columns:1fr 220px; gap:12px}
@media (max-width:720px){ .controls{grid-template-columns:1fr} }
.search{display:flex; align-items:center; gap:10px; background:#fff; border:1px solid rgba(0,0,0,.1);
  border-radius:12px; padding:12px 14px; box-shadow:var(--shadow-soft);}
.search input{flex:1; background:transparent; border:0; outline:0; color:var(--text); font-size:16px;}
.btn{border-radius:12px; padding:12px 14px; border:1px solid rgba(0,0,0,.1);
  background:linear-gradient(180deg,#ffffff,#f2f3f5); color:var(--text); cursor:pointer;}
.btn:hover{box-shadow:0 0 0 4px var(--ring)}

.grid{margin-top:16px; display:grid; gap:12px; grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1020px){ .grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:720px){ .grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:480px){ .grid{grid-template-columns:1fr} }

.card{display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:12px; padding:14px;
  box-shadow:var(--shadow-soft); transition:transform .12s ease, border-color .12s ease;}
.card:hover{transform:translateY(-1px); border-color:rgba(0,123,255,.35)}
.city-name{font-weight:600}
.muted{color:var(--muted); font-size:13px}
.pill{font-size:12px; padding:6px 10px; border-radius:999px;
  background:rgba(0,123,255,.12); border:1px solid rgba(0,123,255,.35); color:#004a99}

.widgets{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:24px}
@media (max-width:900px){ .widgets{grid-template-columns:1fr} }
.widget{min-height:140px; background:var(--card); border:1px solid rgba(0,0,0,.06);
  border-radius:16px; box-shadow:var(--shadow); padding:16px;}

.site-footer{margin:28px 0 6px; color:var(--muted); font-size:14px}
.notice{margin-top:10px; color:var(--muted); font-size:14px}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
