/* MIWS Weather Center dashboard redesign
   Inspired by the compact, card-first feel the owner liked, while keeping MIWS branding and original automation. */
:root{
  --dash-bg:#e9eff5;
  --dash-card:#ffffff;
  --dash-card-dark:#0a1d31;
  --dash-card-dark-2:#102b47;
  --dash-border:#d6e0e9;
  --dash-muted:#62768a;
  --dash-shadow:0 10px 28px rgba(11,33,58,.10);
  --dash-radius:16px;
}
body.wxpulse-inspired{background:var(--dash-bg);color:#122033}
body.wxpulse-inspired .wrap{width:min(1320px,calc(100% - 28px))}
body.wxpulse-inspired .topline{background:#061521;border-bottom:1px solid rgba(255,255,255,.08)}
body.wxpulse-inspired .topline .wrap{height:30px}
body.wxpulse-inspired .masthead{background:linear-gradient(135deg,#081b2e 0%,#0d2b49 72%,#12395e 100%);border-bottom:0;color:#fff}
body.wxpulse-inspired .masthead .wrap{min-height:86px}
body.wxpulse-inspired .logo{border-radius:9px;box-shadow:0 8px 22px rgba(0,0,0,.22),inset 0 -5px 0 rgba(0,0,0,.1)}
body.wxpulse-inspired .brandtext b{color:#fff;font-size:26px}
body.wxpulse-inspired .brandtext span{color:#b8cad9}
body.wxpulse-inspired .hwx span{color:#9fb4c7}
body.wxpulse-inspired .hwx strong{color:#fff}
body.wxpulse-inspired .radar-btn{border-radius:9px;padding:12px 18px;box-shadow:0 5px 14px rgba(197,29,45,.28)}
body.wxpulse-inspired .navbar{position:sticky;top:0;z-index:1200;background:#0a223a;box-shadow:0 6px 18px rgba(7,24,42,.16)}
body.wxpulse-inspired .navlinks{gap:4px;padding:7px 0}
body.wxpulse-inspired .navlinks a{border:0!important;border-radius:8px;padding:10px 13px;color:#dbe6ee}
body.wxpulse-inspired .navlinks a.active,body.wxpulse-inspired .navlinks a:hover{background:var(--red);color:#fff}
body.wxpulse-inspired .alertbar{background:#fff8df;border-bottom:1px solid #ead38a}
body.wxpulse-inspired .alertbar .wrap{min-height:42px}

/* Dashboard hero */
body.wxpulse-inspired .hero{padding:28px 0;background:linear-gradient(180deg,#0b2239 0,#123856 52%,var(--dash-bg) 52%,var(--dash-bg) 100%);border:0}
body.wxpulse-inspired .hero-grid{grid-template-columns:minmax(0,1.22fr) minmax(360px,.78fr);gap:18px;align-items:stretch}
body.wxpulse-inspired .panel{border:1px solid var(--dash-border);border-radius:var(--dash-radius);box-shadow:var(--dash-shadow);overflow:hidden}
body.wxpulse-inspired .hero-grid>.panel:first-child{background:linear-gradient(145deg,#081a2c,#102f4e);border-color:#24445f;color:#fff}
body.wxpulse-inspired .hero-grid>.panel:first-child .panel-head{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.1)}
body.wxpulse-inspired .hero-grid>.panel:first-child .panel-head h2,
body.wxpulse-inspired .hero-grid>.panel:first-child .location-line h1,
body.wxpulse-inspired .hero-grid>.panel:first-child .big-temp,
body.wxpulse-inspired .hero-grid>.panel:first-child .condition strong,
body.wxpulse-inspired .hero-grid>.panel:first-child .metric b{color:#fff}
body.wxpulse-inspired .hero-grid>.panel:first-child .panel-head span,
body.wxpulse-inspired .hero-grid>.panel:first-child .location-line p,
body.wxpulse-inspired .hero-grid>.panel:first-child .obs-time,
body.wxpulse-inspired .hero-grid>.panel:first-child .condition span,
body.wxpulse-inspired .hero-grid>.panel:first-child .metric span,
body.wxpulse-inspired .hero-grid>.panel:first-child .status-note{color:#aebfd0}
body.wxpulse-inspired .hero-grid>.panel:first-child .current-row{border-color:rgba(255,255,255,.13)}
body.wxpulse-inspired .hero-grid>.panel:first-child .metrics{border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.035);border-radius:10px;overflow:hidden}
body.wxpulse-inspired .hero-grid>.panel:first-child .metric{border-color:rgba(255,255,255,.13)}
body.wxpulse-inspired .big-temp{font-size:86px;letter-spacing:-6px}
body.wxpulse-inspired .current-icon{width:132px;height:132px}
body.wxpulse-inspired .current-icon .wx-animated-icon{filter:drop-shadow(0 7px 14px rgba(0,0,0,.24))}
body.wxpulse-inspired .hero-grid>.panel:nth-child(2){background:#fff}
body.wxpulse-inspired .panel-head{background:#f7f9fb}
body.wxpulse-inspired .search-form{border:1px solid #c4d0dc;border-radius:10px;overflow:hidden;box-shadow:inset 0 1px 2px rgba(10,34,58,.04)}
body.wxpulse-inspired .search-form input{padding:14px 15px}
body.wxpulse-inspired .search-form button{border-radius:0;background:#1769aa;padding:0 22px}
body.wxpulse-inspired .search-result{border-top:0;border-left:4px solid var(--red);border-radius:10px;background:#eef3f7}

/* All major content becomes clean dashboard cards */
body.wxpulse-inspired .section{padding:12px 0;background:transparent!important;border:0!important}
body.wxpulse-inspired .section>.wrap{background:var(--dash-card);border:1px solid var(--dash-border);border-radius:var(--dash-radius);box-shadow:var(--dash-shadow);padding:22px}
body.wxpulse-inspired .section-title{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e3e9ef}
body.wxpulse-inspired .section-title h2{font-size:23px}
body.wxpulse-inspired .section-title a{background:#edf4fa;border-radius:8px;padding:8px 11px}

/* Forecast cards instead of a connected table */
body.wxpulse-inspired .forecast-table{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;border:0;background:transparent;box-shadow:none}
body.wxpulse-inspired .day{min-height:166px;border:1px solid #dce4eb!important;border-radius:12px;background:linear-gradient(180deg,#fbfcfd,#f4f7fa);padding:14px 9px;box-shadow:0 3px 10px rgba(11,33,58,.05)}
body.wxpulse-inspired .day .name{font-size:11px}
body.wxpulse-inspired .day .temps{font-size:25px}

/* Horizontal hourly strip */
body.wxpulse-inspired .hourly{gap:8px;border:0;background:transparent;box-shadow:none;padding:2px 1px 6px}
body.wxpulse-inspired .hour{border:1px solid #dce4eb!important;border-radius:11px;background:#f8fafc;min-width:102px;padding:12px 9px}
body.wxpulse-inspired .hour:first-child{background:#0e2c49;color:#fff;border-color:#0e2c49!important}
body.wxpulse-inspired .hour:first-child b,body.wxpulse-inspired .hour:first-child small{color:#c8d8e5}
body.wxpulse-inspired .hour:first-child .t{color:#fff}

/* Radar is intentionally moved high on the homepage */
body.wxpulse-inspired #radar>.wrap{padding:0;overflow:hidden}
body.wxpulse-inspired #radar .section-title{padding:20px 22px 14px;margin:0}
body.wxpulse-inspired .baron-radar-shell{border:0;box-shadow:none;border-radius:0 0 var(--dash-radius) var(--dash-radius)}
body.wxpulse-inspired .baron-radar-frame-wrap{height:580px}

body.wxpulse-inspired .today-grid{gap:14px}
body.wxpulse-inspired .period{border-radius:12px;border-color:#dce4eb;box-shadow:0 3px 12px rgba(11,33,58,.05)}
body.wxpulse-inspired .tools{gap:12px}
body.wxpulse-inspired .tool{border-radius:12px;box-shadow:0 3px 12px rgba(11,33,58,.05)}
body.wxpulse-inspired .miws-feature-shell,
body.wxpulse-inspired .camera-shell,
body.wxpulse-inspired .river-shell{border-radius:12px;overflow:hidden}
body.wxpulse-inspired .camera-filter,body.wxpulse-inspired .camera-refresh{border-radius:8px}
body.wxpulse-inspired .camera-card{border-radius:11px;overflow:hidden}
body.wxpulse-inspired .app-store-card{border-radius:13px}
body.wxpulse-inspired .sponsor-card{border-radius:12px;overflow:hidden}
body.wxpulse-inspired .footer{margin-top:26px}

/* Give major live graphics a slightly tighter app-like frame */
body.wxpulse-inspired .miws-feature-frame-wrap,
body.wxpulse-inspired .river-frame-wrap{background:#07182a}

@media(max-width:1050px){
  body.wxpulse-inspired .hero-grid{grid-template-columns:1fr}
  body.wxpulse-inspired .forecast-table{grid-template-columns:repeat(4,1fr)}
  body.wxpulse-inspired .baron-radar-frame-wrap{height:520px}
}
@media(max-width:700px){
  body.wxpulse-inspired .current-icon{width:92px;height:92px}
  body.wxpulse-inspired .wrap{width:min(100% - 18px,1320px)}
  body.wxpulse-inspired .topline{display:none}
  body.wxpulse-inspired .masthead .wrap{min-height:70px}
  body.wxpulse-inspired .brandtext b{font-size:20px}
  body.wxpulse-inspired .navbar{position:sticky;top:0}
  body.wxpulse-inspired .navlinks{padding:0;gap:0}
  body.wxpulse-inspired .navlinks a{border-radius:0}
  body.wxpulse-inspired .hero{padding:14px 0;background:linear-gradient(180deg,#0b2239 0,#123856 38%,var(--dash-bg) 38%)}
  body.wxpulse-inspired .hero-grid{gap:12px}
  body.wxpulse-inspired .panel{border-radius:13px}
  body.wxpulse-inspired .now-body,body.wxpulse-inspired .search-body{padding:17px}
  body.wxpulse-inspired .location-line{align-items:flex-start}
  body.wxpulse-inspired .big-temp{font-size:66px}
  body.wxpulse-inspired .metrics{grid-template-columns:1fr 1fr}
  body.wxpulse-inspired .section{padding:7px 0}
  body.wxpulse-inspired .section>.wrap{border-radius:13px;padding:15px}
  body.wxpulse-inspired .section-title{margin-bottom:12px;padding-bottom:10px}
  body.wxpulse-inspired .forecast-table{grid-template-columns:repeat(2,1fr);gap:8px}
  body.wxpulse-inspired .day{min-height:155px}
  body.wxpulse-inspired .baron-radar-frame-wrap{height:470px}
  body.wxpulse-inspired #radar .section-title{padding:16px 15px 12px}
}
