:root{
  --bg:#f5f6f4;
  --surface:#ffffff;
  --surface-soft:#eef1ed;
  --ink:#17211d;
  --muted:#6c7771;
  --line:#dde3df;
  --accent:#163c34;
  --accent-soft:#dfeae5;
  --warn:#9a5d21;
  --shadow:0 18px 50px rgba(24,40,34,.08);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.45}
a{color:inherit}.wrap{width:min(1180px,calc(100% - 32px));margin:auto}
.topbar{padding:34px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}.brandmark{width:42px;height:42px;border-radius:50%;background:var(--accent);position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}.brandmark:before{content:"";position:absolute;left:10px;right:10px;top:20px;height:1px;background:#fff}.brandmark:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#fff;top:10px;left:17px}.brand strong{font-size:18px;letter-spacing:.02em}.brand > span:not(.brandmark){display:block;color:var(--muted);font-size:12px;margin-top:1px}.navlink{font-size:14px;text-decoration:none;color:var(--muted);border-bottom:1px solid transparent}.navlink:hover{color:var(--ink);border-color:var(--ink)}
.hero{background:var(--accent);color:#fff;border-radius:30px;padding:38px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:370px;height:370px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-90px;top:-160px;box-shadow:0 0 0 65px rgba(255,255,255,.025),0 0 0 130px rgba(255,255,255,.02)}.hero-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:32px;position:relative;z-index:1}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:750;opacity:.68}.live-row{display:flex;align-items:center;gap:9px;margin-top:9px;color:rgba(255,255,255,.72);font-size:13px}.live-dot{width:7px;height:7px;border-radius:50%;background:#88d6a8;box-shadow:0 0 0 5px rgba(136,214,168,.12)}.live-dot.stale{background:#efb76b;box-shadow:0 0 0 5px rgba(239,183,107,.12)}.temperature{font-size:clamp(64px,9vw,112px);font-weight:250;letter-spacing:-.07em;line-height:.92;margin:28px 0 10px}.temperature sup{font-size:.3em;vertical-align:top;position:relative;top:.15em;letter-spacing:0}.condition{font-size:20px;font-weight:600;margin-bottom:8px}.subcondition{font-size:14px;color:rgba(255,255,255,.67)}.hero-side{display:flex;align-items:center;justify-content:center}.wind-dial{width:220px;height:220px;border:1px solid rgba(255,255,255,.2);border-radius:50%;position:relative;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.035)}.wind-dial:before,.wind-dial:after{content:"";position:absolute;background:rgba(255,255,255,.16)}.wind-dial:before{width:1px;height:100%}.wind-dial:after{height:1px;width:100%}.cardinal{position:absolute;font-size:11px;font-weight:700;color:rgba(255,255,255,.55)}.cardinal.n{top:10px}.cardinal.s{bottom:10px}.cardinal.e{right:12px}.cardinal.w{left:12px}.wind-arrow{position:absolute;width:2px;height:74px;background:#fff;left:calc(50% - 1px);top:36px;transform-origin:50% 74px;transition:transform .6s cubic-bezier(.2,.75,.3,1)}.wind-arrow:before{content:"";position:absolute;top:-1px;left:-5px;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:11px solid #fff;transform:rotate(180deg)}.wind-center{text-align:center;position:relative;z-index:2;background:var(--accent);border-radius:50%;width:92px;height:92px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 0 0 12px rgba(22,60,52,.84)}.wind-center strong{font-size:24px;font-weight:450}.wind-center span{font-size:11px;color:rgba(255,255,255,.65)}
.section{padding:34px 0 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 16px}.section h2{font-size:24px;letter-spacing:-.03em;margin:0}.section-note{font-size:13px;color:var(--muted)}
.metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.metric{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:18px;min-height:126px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 8px 22px rgba(24,40,34,.035)}.metric-label{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:8px}.metric-icon{width:28px;height:28px;border-radius:9px;background:var(--surface-soft);display:grid;place-items:center}.metric-icon svg{width:15px;height:15px;stroke:var(--accent);fill:none;stroke-width:1.8}.metric-value{font-size:26px;letter-spacing:-.04em;font-weight:520}.metric-value small{font-size:12px;color:var(--muted);font-weight:500;letter-spacing:0}.metric-detail{font-size:11px;color:var(--muted);margin-top:2px}
.today{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:8px 8px;display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 8px 22px rgba(24,40,34,.03)}.today-item{padding:17px 18px;border-right:1px solid var(--line)}.today-item:last-child{border-right:0}.today-item span{font-size:11px;color:var(--muted);display:block;margin-bottom:7px}.today-item strong{font-size:19px;font-weight:540;letter-spacing:-.02em}
.history-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.history-controls{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.pills{display:flex;background:var(--surface-soft);padding:4px;border-radius:12px;gap:2px}.pill{border:0;background:transparent;color:var(--muted);padding:8px 12px;border-radius:9px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.pill.active{background:#fff;color:var(--ink);box-shadow:0 2px 7px rgba(24,40,34,.09)}.metric-tabs{display:flex;gap:14px;flex-wrap:wrap}.metric-tab{border:0;background:none;padding:5px 0;color:var(--muted);font:inherit;font-size:12px;font-weight:650;cursor:pointer;border-bottom:2px solid transparent}.metric-tab.active{color:var(--accent);border-color:var(--accent)}.chart-wrap{position:relative;height:330px;margin-top:24px}.chart{width:100%;height:100%;display:block}.chart-empty{position:absolute;inset:0;display:none;place-items:center;text-align:center;color:var(--muted);font-size:14px}.chart-tooltip{position:absolute;pointer-events:none;background:rgba(23,33,29,.94);color:#fff;padding:8px 10px;border-radius:10px;font-size:11px;transform:translate(-50%,-115%);display:none;white-space:nowrap}
.split{display:grid;grid-template-columns:1fr 1fr;gap:16px}.info-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.info-panel h3{margin:0 0 7px;font-size:18px}.info-panel p{margin:0;color:var(--muted);font-size:13px;max-width:52ch}.info-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border:1px solid var(--line);padding:10px 14px;border-radius:12px;font-size:12px;font-weight:700;background:#fff}.btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.station-meta{margin:35px 0 45px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:11px;border-top:1px solid var(--line);padding-top:18px}.loading{opacity:.45}.error-banner{display:none;margin:14px 0 0;padding:12px 14px;background:#fff3e6;border:1px solid #efd0aa;border-radius:12px;color:#80501f;font-size:12px}
@media(max-width:980px){.metrics{grid-template-columns:repeat(3,1fr)}.hero-grid{grid-template-columns:1fr auto}.wind-dial{width:180px;height:180px}.wind-arrow{height:60px;top:30px;transform-origin:50% 60px}.wind-center{width:78px;height:78px}.today{grid-template-columns:repeat(5,1fr)}}
@media(max-width:720px){.wrap{width:min(100% - 20px,1180px)}.topbar{padding:20px 2px 15px}.brand > span:not(.brandmark){display:none}.hero{padding:26px 20px;border-radius:23px}.hero-grid{grid-template-columns:1fr}.hero-side{justify-content:flex-start}.wind-dial{width:160px;height:160px;margin-top:10px}.temperature{font-size:76px}.metrics{grid-template-columns:repeat(2,1fr)}.today{grid-template-columns:repeat(2,1fr)}.today-item{border-right:0;border-bottom:1px solid var(--line)}.today-item:nth-last-child(-n+2){border-bottom:0}.today-item:last-child{border-bottom:0}.split{grid-template-columns:1fr}.history-card{padding:16px}.chart-wrap{height:280px}.station-meta{align-items:flex-start;flex-direction:column}}
@media(max-width:430px){.metrics{grid-template-columns:1fr 1fr}.metric{padding:15px;min-height:112px}.metric-value{font-size:23px}.today{grid-template-columns:1fr 1fr}.section{padding-top:26px}.hero-side{justify-content:center}.history-controls{align-items:flex-start;flex-direction:column}.pills{width:100%;justify-content:space-between}.pill{flex:1;padding-left:6px;padding-right:6px}}

/* v1.3 unit selector */
.topbar{position:relative}
.top-actions{display:flex;align-items:center;gap:18px}
.units-wrap{position:relative}
.units-trigger{appearance:none;border:1px solid var(--line);background:rgba(255,255,255,.72);color:var(--ink);border-radius:12px;padding:8px 10px 8px 12px;font:inherit;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:7px;cursor:pointer;box-shadow:0 4px 14px rgba(24,40,34,.035);transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.units-trigger:hover,.units-trigger[aria-expanded="true"]{background:#fff;border-color:#cbd5cf;box-shadow:0 7px 20px rgba(24,40,34,.07)}
.units-trigger-summary{color:var(--muted);font-weight:600}
.units-chevron{font-size:13px;color:var(--muted);line-height:1;transform:translateY(-1px)}
.units-trigger[aria-expanded="true"] .units-chevron{transform:translateY(1px) rotate(180deg)}
.units-popover{position:absolute;z-index:30;right:0;top:calc(100% + 10px);width:360px;background:rgba(255,255,255,.98);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 22px 60px rgba(24,40,34,.14);backdrop-filter:blur(14px)}
.units-popover[hidden]{display:none}
.units-popover-head{display:flex;align-items:center;justify-content:space-between;padding:2px 3px 10px;border-bottom:1px solid var(--line);margin-bottom:3px}
.units-popover-head strong{font-size:13px}
.units-reset{appearance:none;border:0;background:none;color:var(--muted);font:inherit;font-size:11px;font-weight:650;padding:4px 2px;cursor:pointer}
.units-reset:hover{color:var(--accent)}
.unit-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 3px 7px}
.unit-row>span{font-size:12px;color:var(--muted);white-space:nowrap}
.segmented{display:flex;align-items:center;background:var(--surface-soft);padding:3px;border-radius:10px;gap:2px}
.segmented button{appearance:none;border:0;background:transparent;color:var(--muted);font:inherit;font-size:11px;font-weight:700;padding:6px 9px;border-radius:8px;cursor:pointer;white-space:nowrap;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.segmented button.active{background:#fff;color:var(--accent);box-shadow:0 2px 7px rgba(24,40,34,.09)}
.segmented button:focus-visible,.units-trigger:focus-visible,.units-reset:focus-visible{outline:2px solid rgba(22,60,52,.35);outline-offset:2px}
.wind-center strong{font-size:26px}

@media(max-width:720px){
  .top-actions{gap:10px}
  .units-trigger{padding:7px 9px}
  .units-trigger-summary{display:none}
  .units-popover{position:fixed;left:10px;right:10px;top:68px;width:auto;max-width:none}
  .navlink{font-size:12px}
}
@media(max-width:430px){
  .top-actions{gap:8px}
  .units-trigger{font-size:11px}
  .unit-row{align-items:flex-start;flex-direction:column;gap:6px;padding-top:9px}
  .segmented{width:100%}
  .segmented button{flex:1}
}

/* v1.4 wind: live + rolling 10-minute vector average */
.wind-module{display:flex;flex-direction:column;align-items:center;gap:14px;min-width:300px}
.wind-dial{overflow:visible}
.wind-arrow-current{z-index:1;background:#fff}
.wind-arrow-average{z-index:1;height:66px;top:44px;transform-origin:50% 66px;background:repeating-linear-gradient(to bottom,#8fd7b6 0 5px,transparent 5px 9px);opacity:.92}
.wind-arrow-average:before{border-bottom-color:#8fd7b6;left:-4px;border-left-width:5px;border-right-width:5px;border-bottom-width:9px}
.wind-center{z-index:3}
.wind-center-label{font-size:8px!important;letter-spacing:.14em;font-weight:800;color:#8fd7b6!important;margin-bottom:0}
.wind-compare{width:100%;display:grid;grid-template-columns:1fr 1.15fr .9fr;gap:6px;padding:7px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);border-radius:14px}
.wind-compare-row{min-width:0;padding:5px 7px;display:grid;grid-template-columns:1fr;align-items:start}
.wind-compare-row+.wind-compare-row{border-left:1px solid rgba(255,255,255,.1)}
.wind-key{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.5);font-weight:800;display:flex;align-items:center;gap:5px;white-space:nowrap}
.wind-key i{width:13px;height:2px;background:#fff;border-radius:2px;display:inline-block}
.wind-compare-row.average .wind-key i{background:repeating-linear-gradient(to right,#8fd7b6 0 4px,transparent 4px 7px)}
.wind-compare-row strong{font-size:13px;font-weight:650;white-space:nowrap;color:#fff;margin-top:2px}
.wind-compare-row small{font-size:9px;color:rgba(255,255,255,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.metric-detail-secondary{color:#47695f;margin-top:4px;font-weight:600}
.metric-wind{min-height:138px}

@media(max-width:980px){
  .wind-module{min-width:250px}
  .wind-arrow-average{height:54px;top:36px;transform-origin:50% 54px}
  .wind-compare{grid-template-columns:1fr 1fr;max-width:260px}
  .wind-compare-row.gust{grid-column:1/-1;border-left:0;border-top:1px solid rgba(255,255,255,.1);grid-template-columns:auto auto 1fr;column-gap:8px;align-items:center}
  .wind-compare-row.gust strong{margin-top:0}
}
@media(max-width:720px){
  .hero-side{justify-content:flex-start}
  .wind-module{align-items:flex-start;min-width:0;width:min(100%,320px)}
  .wind-dial{margin-left:0}
  .wind-arrow-average{height:48px;top:32px;transform-origin:50% 48px}
  .wind-compare{max-width:320px}
}
@media(max-width:430px){
  .hero-side{justify-content:center}
  .wind-module{align-items:center;width:100%}
  .wind-compare{max-width:290px}
}

/* v1.5 WordPress visual integration */
.site-shell-header{
  width:100%;
  background:var(--bg);
  padding:26px 0 18px;
}
.site-shell-inner{
  width:min(1800px,calc(100% - 64px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.site-wordmark{
  flex:0 0 auto;
  color:#1f2421;
  text-decoration:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  font-weight:400;
  letter-spacing:-.01em;
}
.site-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:27px;
  min-width:0;
}
.site-nav a{
  position:relative;
  color:#1f2421;
  text-decoration:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  line-height:1.2;
  white-space:nowrap;
  padding:5px 0;
}
.site-nav a:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-3px;
  height:1px;
  background:transparent;
  transform:scaleX(.35);
  transition:background .16s ease,transform .16s ease;
}
.site-nav a:hover:after,
.site-nav a.active:after{
  background:#45685e;
  transform:scaleX(1);
}
.site-nav a.active{color:#163c34}
.site-menu{display:none;position:relative}
.site-menu summary{
  list-style:none;
  cursor:pointer;
  font-family:Georgia,"Times New Roman",serif;
  font-size:16px;
  color:#1f2421;
}
.site-menu summary::-webkit-details-marker{display:none}
.site-menu nav{
  position:absolute;
  z-index:60;
  right:0;
  top:calc(100% + 12px);
  width:210px;
  padding:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  box-shadow:0 18px 50px rgba(24,40,34,.12);
  display:grid;
  gap:2px;
}
.site-menu nav a{
  text-decoration:none;
  color:var(--ink);
  padding:9px 10px;
  border-radius:9px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
}
.site-menu nav a:hover,
.site-menu nav a.active{background:var(--surface-soft);color:var(--accent)}
.weather-toolbar{
  position:relative;
  padding:18px 2px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.weather-identity{
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
}
.weather-identity-mark{
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--accent);
  position:relative;
  flex:0 0 auto;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);
}
.weather-identity-mark:before{
  content:"";
  position:absolute;
  left:9px;
  right:9px;
  top:18px;
  height:1px;
  background:#fff;
}
.weather-identity-mark:after{
  content:"";
  position:absolute;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fff;
  top:9px;
  left:14.5px;
}
.weather-identity > span:last-child{display:flex;align-items:baseline;gap:3px}
.weather-identity strong{font-size:16px;letter-spacing:.01em}
.weather-identity small{font-size:11px;color:var(--muted)}

/* legacy topbar classes are no longer used on the weather page */
.topbar{display:none}

@media(max-width:1100px){
  .site-nav{gap:18px}
  .site-nav a{font-size:15px}
}
@media(max-width:850px){
  .site-shell-header{padding:20px 0 13px}
  .site-shell-inner{width:calc(100% - 32px)}
  .site-nav{display:none}
  .site-menu{display:block}
  .weather-toolbar{padding-top:12px}
}
@media(max-width:520px){
  .site-shell-inner{width:calc(100% - 24px)}
  .site-wordmark{font-size:17px}
  .weather-toolbar{padding:10px 2px 14px}
  .weather-identity > span:last-child{display:none}
  .weather-identity-mark{width:32px;height:32px}
  .weather-identity-mark:before{top:16px;left:8px;right:8px}
  .weather-identity-mark:after{top:8px;left:12.5px}
}


/* v1.6 Exact WordPress header match */
.site-shell-header{
  width:100%;
  background:#d6d2ce;
  padding:55px 0 45px;
}
.site-shell-inner{
  width:min(1720px,calc(100% - 64px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:48px;
}
.site-wordmark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:82px;
  height:38px;
  flex:0 0 82px;
  color:#282624;
  text-decoration:none;
}
.site-logo{display:block;width:82px;height:38px;overflow:visible}
.site-logo-sun,.site-logo-horizon{fill:none;stroke:currentColor;stroke-width:.75;vector-effect:non-scaling-stroke}
.site-logo-text{fill:currentColor;font-family:Arial,Helvetica,sans-serif;font-size:13.5px;font-weight:300;letter-spacing:5.7px}
.site-nav{gap:30px}
.site-nav a{
  color:#1a1715;
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  font-weight:400;
  letter-spacing:-.015em;
  padding:3px 0 7px;
}
.site-nav a:after{bottom:0;height:1px;background:transparent}
.site-nav a:hover:after,.site-nav a.active:after{background:#45685e}
.site-nav a.active{color:#214d42}

/* slim bridge between the WordPress shell and weather application */
.weather-toolbar{
  min-height:62px;
  padding:13px 2px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.weather-toolbar-title{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.weather-toolbar-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#58aa79;
  box-shadow:0 0 0 4px rgba(88,170,121,.12);
  flex:0 0 auto;
}
.weather-toolbar-title>span:last-child{display:flex;align-items:baseline;gap:7px;min-width:0}
.weather-toolbar-title strong{font-size:13px;font-weight:700;white-space:nowrap}
.weather-toolbar-title small{font-size:11px;color:var(--muted);white-space:nowrap}
.weather-identity{display:none!important}

/* Keep dashboard visually separate while header matches WordPress exactly */
body{background:var(--bg)}
.site-shell-header + .wrap{position:relative}

@media(max-width:1250px){
  .site-shell-inner{width:min(1120px,calc(100% - 48px))}
  .site-nav{gap:21px}
  .site-nav a{font-size:18px}
}
@media(max-width:930px){
  .site-shell-header{padding:34px 0 28px}
  .site-shell-inner{width:calc(100% - 36px)}
  .site-nav{display:none}
  .site-menu{display:block}
  .site-menu summary{font-size:18px}
  .weather-toolbar{min-height:54px;padding:10px 2px 11px}
}
@media(max-width:560px){
  .site-shell-header{padding:26px 0 22px}
  .site-shell-inner{width:calc(100% - 28px)}
  .site-wordmark,.site-logo{width:72px;height:34px}
  .site-wordmark{flex-basis:72px}
  .weather-toolbar-title small{display:none}
  .weather-toolbar-title strong{font-size:12px}
  .weather-toolbar{gap:10px}
}


/* v1.7 Greek wind rose */
.wind-dial{box-shadow:inset 0 0 0 12px rgba(255,255,255,.02)}
.wind-rose-ring{position:absolute;inset:0;pointer-events:none;z-index:0}
.rose-point{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:1px;min-width:70px;text-align:center}
.rose-point b{font-size:11px;line-height:1;color:rgba(255,255,255,.92);font-weight:700;letter-spacing:.02em}
.rose-point span{font-size:7px;line-height:1.1;color:rgba(143,215,182,.95);font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.rose-point.p0{left:50%;top:12%}
.rose-point.p45{left:76%;top:24%}
.rose-point.p90{left:88%;top:50%}
.rose-point.p135{left:76%;top:76%}
.rose-point.p180{left:50%;top:88%}
.rose-point.p225{left:24%;top:76%}
.rose-point.p270{left:12%;top:50%}
.rose-point.p315{left:24%;top:24%}
.cardinal{font-size:10px;color:rgba(255,255,255,.35);font-weight:600}
.cardinal.n{top:28px}.cardinal.e{right:34px}.cardinal.s{bottom:28px}.cardinal.w{left:28px}
.wind-greek-name{font-size:10px!important;color:#8fd7b6!important;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-top:2px}
.wind-center{box-shadow:0 0 0 10px rgba(22,60,52,.88), inset 0 0 0 1px rgba(255,255,255,.05)}
.wind-compare-row small{line-height:1.25;white-space:normal}
@media(max-width:980px){.rose-point{min-width:62px}.rose-point span{font-size:6.5px}.cardinal.n{top:24px}.cardinal.s{bottom:24px}.cardinal.e{right:28px}.cardinal.w{left:24px}}
@media(max-width:720px){.rose-point{min-width:54px}.rose-point span{display:none}.rose-point b{font-size:10px}.cardinal{font-size:9px}.wind-greek-name{font-size:9px!important}}


/* v1.8 wind hierarchy and colour system */
:root{
  --wind-average:#8fd7b6;
  --wind-live:#ffffff;
  --wind-gust:#e7c783;
  --wind-greek:#f0e9dc;
}
.wind-dial{width:246px;height:246px;background:radial-gradient(circle at center,rgba(255,255,255,.045),rgba(255,255,255,.018) 58%,transparent 59%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0 0 18px rgba(255,255,255,.018)}
.wind-dial:before,.wind-dial:after{opacity:.55}
.rose-point{min-width:78px;z-index:1}
.rose-point b{font-size:11px;color:rgba(255,255,255,.88);font-weight:800;letter-spacing:.04em}
.rose-point span{font-size:7px;color:var(--wind-greek);opacity:.8;font-weight:650;letter-spacing:.025em;text-transform:none}
.rose-point.p0{top:10%}.rose-point.p45{left:78%;top:22%}.rose-point.p90{left:90%}.rose-point.p135{left:78%;top:78%}.rose-point.p180{top:90%}.rose-point.p225{left:22%;top:78%}.rose-point.p270{left:10%}.rose-point.p315{left:22%;top:22%}
.degree-label{position:absolute;z-index:1;font-size:9px;font-weight:700;color:rgba(255,255,255,.62);letter-spacing:.02em}
.degree-label.deg0{left:50%;top:27px;transform:translateX(-50%)}
.degree-label.deg90{right:28px;top:50%;transform:translateY(-50%)}
.degree-label.deg180{left:50%;bottom:27px;transform:translateX(-50%)}
.degree-label.deg270{left:27px;top:50%;transform:translateY(-50%)}
.wind-arrow-average{z-index:2;width:3px;height:83px;top:40px;left:calc(50% - 1.5px);transform-origin:50% 83px;background:var(--wind-average);opacity:1;box-shadow:0 0 8px rgba(143,215,182,.18)}
.wind-arrow-average:before{left:-5px;border-left-width:6px;border-right-width:6px;border-bottom-width:11px;border-bottom-color:var(--wind-average)}
.wind-arrow-current{z-index:2;width:2px;height:70px;top:53px;transform-origin:50% 70px;background:repeating-linear-gradient(to bottom,rgba(255,255,255,.95) 0 6px,transparent 6px 10px);opacity:.82}
.wind-arrow-current:before{left:-4px;border-left-width:5px;border-right-width:5px;border-bottom-width:9px;border-bottom-color:var(--wind-live);opacity:.9}
.wind-center{width:104px;height:104px;z-index:4;box-shadow:0 0 0 11px rgba(22,60,52,.9),inset 0 0 0 1px rgba(255,255,255,.07)}
.wind-center-label{color:var(--wind-average)!important;font-size:8px!important;letter-spacing:.14em!important;font-weight:850!important}
.wind-center strong{font-size:25px;color:var(--wind-average)}
.wind-center #windCenterUnit{color:rgba(143,215,182,.8)}
.wind-center-direction{font-size:11px!important;color:var(--wind-average)!important;font-weight:750!important;margin-top:1px}
.wind-greek-name{font-size:9px!important;color:var(--wind-greek)!important;font-weight:650!important;letter-spacing:.03em;text-transform:none;margin-top:2px}
.wind-compare{grid-template-columns:1.12fr 1.22fr .95fr;gap:0;padding:7px 8px}
.wind-compare-row{padding:7px 9px}
.wind-compare-row.average .wind-key,.wind-compare-row.average strong{color:var(--wind-average)}
.wind-compare-row.average .wind-key i{background:var(--wind-average)}
.wind-compare-row.gust .wind-key,.wind-compare-row.gust strong{color:var(--wind-gust)}
.wind-compare-row.gust .wind-key i{width:13px;height:2px;background:var(--wind-gust);border-radius:2px;display:inline-block}
.wind-compare-row.current .wind-key,.wind-compare-row.current strong{color:var(--wind-live)}
.wind-compare-row.current .wind-key i{background:var(--wind-live)}
.wind-compare-row small{color:rgba(255,255,255,.68)}
.wind-compare-row small::first-line{color:inherit}
.metric-wind #windAvgDetail{color:#3f7968;font-weight:700}

@media(max-width:980px){
  .wind-dial{width:205px;height:205px}
  .wind-arrow-average{height:68px;top:34px;transform-origin:50% 68px}
  .wind-arrow-current{height:58px;top:44px;transform-origin:50% 58px}
  .wind-center{width:90px;height:90px}
  .rose-point{min-width:65px}.rose-point span{font-size:6.3px}
  .degree-label.deg0{top:22px}.degree-label.deg180{bottom:22px}.degree-label.deg90{right:23px}.degree-label.deg270{left:23px}
}
@media(max-width:720px){
  .wind-module{align-items:center!important;width:100%;max-width:330px}
  .wind-dial{width:205px;height:205px;margin:10px auto 0}
  .rose-point{min-width:36px}.rose-point span{display:none}.rose-point b{font-size:10px}
  .degree-label{display:none}
  .wind-center{width:92px;height:92px}
  .wind-center strong{font-size:24px}
  .wind-center-direction{font-size:10px!important}
  .wind-greek-name{font-size:9px!important}
  .wind-compare{grid-template-columns:1fr 1fr;max-width:310px;width:100%;gap:0}
  .wind-compare-row.average{grid-column:1/-1;border-left:0;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:9px}
  .wind-compare-row.gust{grid-column:auto;border-left:0;border-top:0;display:grid;grid-template-columns:1fr}
  .wind-compare-row.current{border-left:1px solid rgba(255,255,255,.1)}
  .wind-compare-row strong{font-size:14px}
}
@media(max-width:430px){
  .wind-dial{width:188px;height:188px}
  .wind-arrow-average{height:62px;top:32px;transform-origin:50% 62px}
  .wind-arrow-current{height:52px;top:42px;transform-origin:50% 52px}
  .wind-center{width:86px;height:86px}
  .wind-center strong{font-size:22px}
  .wind-compare{max-width:280px}
  .wind-compare-row{padding:7px}
  .wind-key{font-size:7.5px}
  .wind-compare-row small{font-size:8.5px}
}


/* v1.9 — LIVE-centered wind hierarchy */
.wind-arrow-current{
  z-index:3;
  width:4px;
  height:88px;
  top:35px;
  left:calc(50% - 2px);
  transform-origin:50% 88px;
  background:var(--wind-live);
  opacity:1;
  box-shadow:0 0 12px rgba(255,255,255,.22);
  border-radius:3px;
}
.wind-arrow-current:before{
  left:-7px;
  border-left-width:8px;
  border-right-width:8px;
  border-bottom-width:14px;
  border-bottom-color:var(--wind-live);
  opacity:1;
}
.wind-arrow-average{
  z-index:2;
  width:2px;
  height:72px;
  top:51px;
  left:calc(50% - 1px);
  transform-origin:50% 72px;
  background:repeating-linear-gradient(to bottom,var(--wind-average) 0 6px,transparent 6px 11px);
  opacity:.82;
  box-shadow:none;
}
.wind-arrow-average:before{
  left:-4px;
  border-left-width:5px;
  border-right-width:5px;
  border-bottom-width:9px;
  border-bottom-color:var(--wind-average);
}
.wind-center-label{color:var(--wind-live)!important}
.wind-center strong{color:var(--wind-live)}
.wind-center #windCenterUnit{color:rgba(255,255,255,.78)}
.wind-center-direction{color:var(--wind-live)!important;font-size:12px!important;font-weight:800!important}
.wind-greek-name{color:var(--wind-greek)!important}
.wind-compare{grid-template-columns:1fr 1fr 1.08fr}
.wind-compare-row.current{order:1;border-left:0}
.wind-compare-row.average{order:2;border-left:1px solid rgba(255,255,255,.1)}
.wind-compare-row.gust{order:3;border-left:1px solid rgba(255,255,255,.1)}
.wind-compare-row.gust small{opacity:.9}

@media(max-width:980px){
  .wind-arrow-current{height:72px;top:30px;transform-origin:50% 72px}
  .wind-arrow-average{height:58px;top:44px;transform-origin:50% 58px}
}
@media(max-width:720px){
  .wind-arrow-current{height:68px;top:34px;transform-origin:50% 68px;width:3px;left:calc(50% - 1.5px)}
  .wind-arrow-current:before{left:-6px;border-left-width:7px;border-right-width:7px;border-bottom-width:12px}
  .wind-arrow-average{height:54px;top:48px;transform-origin:50% 54px}
  .wind-compare{grid-template-columns:1fr 1fr;max-width:310px}
  .wind-compare-row.current{grid-column:auto;border-left:0;border-bottom:1px solid rgba(255,255,255,.1)}
  .wind-compare-row.average{grid-column:auto;border-left:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:7px}
  .wind-compare-row.gust{grid-column:1/-1;border-left:0;border-top:0;display:grid;grid-template-columns:auto auto 1fr;column-gap:8px;align-items:center}
  .wind-compare-row.gust strong{margin-top:0}
  .wind-compare-row.gust small{text-align:left}
}
@media(max-width:430px){
  .wind-arrow-current{height:62px;top:32px;transform-origin:50% 62px}
  .wind-arrow-average{height:48px;top:46px;transform-origin:50% 48px}
}


/* v1.9.1 — clearer degree scale, stronger 10-minute direction */
.degree-label{
  z-index:5;
  font-size:11px;
  font-weight:800;
  color:rgba(255,255,255,.96);
  letter-spacing:.01em;
  line-height:1;
  padding:3px 5px;
  border-radius:7px;
  background:rgba(12,43,36,.72);
  box-shadow:0 0 0 1px rgba(255,255,255,.09);
  text-shadow:0 1px 2px rgba(0,0,0,.28);
}
.degree-label.deg0{top:5px}
.degree-label.deg90{right:5px}
.degree-label.deg180{bottom:5px}
.degree-label.deg270{left:5px}

.wind-arrow-average{
  z-index:2;
  width:3px;
  height:78px;
  top:45px;
  left:calc(50% - 1.5px);
  transform-origin:50% 78px;
  background:repeating-linear-gradient(to bottom,var(--wind-average) 0 8px,transparent 8px 12px);
  opacity:.98;
  box-shadow:0 0 10px rgba(143,215,182,.34);
  border-radius:3px;
}
.wind-arrow-average:before{
  left:-6px;
  border-left-width:7px;
  border-right-width:7px;
  border-bottom-width:12px;
  border-bottom-color:var(--wind-average);
  filter:drop-shadow(0 0 3px rgba(143,215,182,.35));
}

@media(max-width:980px){
  .degree-label{font-size:10px;padding:3px 4px}
  .degree-label.deg0{top:4px}.degree-label.deg90{right:4px}.degree-label.deg180{bottom:4px}.degree-label.deg270{left:4px}
  .wind-arrow-average{height:66px;top:36.5px;transform-origin:50% 66px}
}
@media(max-width:720px){
  .degree-label{display:block;font-size:9px;padding:2px 4px;background:rgba(12,43,36,.78)}
  .degree-label.deg0{top:3px}.degree-label.deg90{right:3px}.degree-label.deg180{bottom:3px}.degree-label.deg270{left:3px}
  .wind-arrow-average{height:62px;top:40.5px;transform-origin:50% 62px;width:3px;left:calc(50% - 1.5px)}
}
@media(max-width:430px){
  .degree-label{font-size:8.5px;padding:2px 3px}
  .wind-arrow-average{height:58px;top:36px;transform-origin:50% 58px}
}


/* v1.9.2 — degree labels outside the Greek wind-name ring */
.degree-label{
  z-index:6;
  font-size:10px;
  font-weight:750;
  color:rgba(255,255,255,.78);
  line-height:1;
  padding:2px 4px;
  background:rgba(12,43,36,.48);
  box-shadow:0 0 0 1px rgba(255,255,255,.06);
  text-shadow:0 1px 2px rgba(0,0,0,.24);
  pointer-events:none;
}
.degree-label.deg0{
  top:-12px;
  left:50%;
  right:auto;
  bottom:auto;
  transform:translateX(-50%);
}
.degree-label.deg90{
  right:-16px;
  top:50%;
  left:auto;
  bottom:auto;
  transform:translateY(-50%);
}
.degree-label.deg180{
  bottom:-12px;
  left:50%;
  right:auto;
  top:auto;
  transform:translateX(-50%);
}
.degree-label.deg270{
  left:-16px;
  top:50%;
  right:auto;
  bottom:auto;
  transform:translateY(-50%);
}

/* Keep the Greek names clearly inside the scale */
.rose-point.p0{top:11%}
.rose-point.p90{left:88%}
.rose-point.p180{top:89%}
.rose-point.p270{left:12%}

@media(max-width:980px){
  .degree-label{font-size:9px;padding:2px 4px}
  .degree-label.deg0{top:-11px}
  .degree-label.deg90{right:-14px}
  .degree-label.deg180{bottom:-11px}
  .degree-label.deg270{left:-14px}
}

@media(max-width:720px){
  .degree-label{
    display:block;
    font-size:8.5px;
    padding:2px 3px;
    background:rgba(12,43,36,.52);
  }
  .degree-label.deg0{top:-10px}
  .degree-label.deg90{right:-12px}
  .degree-label.deg180{bottom:-10px}
  .degree-label.deg270{left:-12px}
}

@media(max-width:430px){
  .degree-label{font-size:8px;padding:2px 3px}
  .degree-label.deg0{top:-9px}
  .degree-label.deg90{right:-10px}
  .degree-label.deg180{bottom:-9px}
  .degree-label.deg270{left:-10px}
}


/* v1.9.3 — integrate degree labels into the wind-rose scale */
.degree-label{
  z-index:6;
  font-size:9px;
  font-weight:650;
  line-height:1;
  padding:0;
  background:transparent;
  box-shadow:none;
  border:0;
  border-radius:0;
  color:rgba(255,255,255,.72);
  text-shadow:none;
  letter-spacing:.01em;
  pointer-events:none;
}

.degree-label.deg0{
  top:-8px;
  left:50%;
  right:auto;
  bottom:auto;
  transform:translateX(-50%);
}
.degree-label.deg90{
  right:-11px;
  top:50%;
  left:auto;
  bottom:auto;
  transform:translateY(-50%);
}
.degree-label.deg180{
  bottom:-8px;
  left:50%;
  right:auto;
  top:auto;
  transform:translateX(-50%);
}
.degree-label.deg270{
  left:-11px;
  top:50%;
  right:auto;
  bottom:auto;
  transform:translateY(-50%);
}

/* Keep N/E/S/W as the dominant directional layer */
.rose-point b{
  position:relative;
  z-index:2;
}
.rose-point span{
  position:relative;
  z-index:1;
}

@media(max-width:980px){
  .degree-label{font-size:8.5px;color:rgba(255,255,255,.68)}
  .degree-label.deg0{top:-7px}
  .degree-label.deg90{right:-10px}
  .degree-label.deg180{bottom:-7px}
  .degree-label.deg270{left:-10px}
}

@media(max-width:720px){
  .degree-label{
    display:block;
    font-size:8px;
    color:rgba(255,255,255,.64);
  }
  .degree-label.deg0{top:-6px}
  .degree-label.deg90{right:-9px}
  .degree-label.deg180{bottom:-6px}
  .degree-label.deg270{left:-9px}
}

@media(max-width:430px){
  .degree-label{font-size:7.5px;color:rgba(255,255,255,.62)}
  .degree-label.deg0{top:-5px}
  .degree-label.deg90{right:-8px}
  .degree-label.deg180{bottom:-5px}
  .degree-label.deg270{left:-8px}
}


/* v1.10.1 — safe 30° scale ring; does not mask center, arrows or labels */

/* Dedicated scale ring behind content */
.wind-rose-ring::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:50%;
  pointer-events:none;
  z-index:-1;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255,255,255,.23) 0deg .35deg,
      transparent .35deg 10deg
    ),
    repeating-conic-gradient(
      from 0deg,
      rgba(255,255,255,.50) 0deg .8deg,
      transparent .8deg 30deg
    );
  -webkit-mask:radial-gradient(circle, transparent 0 80%, #000 80.5% 100%);
  mask:radial-gradient(circle, transparent 0 80%, #000 80.5% 100%);
}

/* Ensure all functional content stays above the scale ring */
.wind-arrow,
.wind-center,
.rose-point,
.cardinal,
.degree-label{
  position:absolute;
  z-index:3;
}
.wind-center{z-index:5}
.wind-arrow{z-index:4}

/* Degree labels every 30°, outside the Greek-name ring */
.degree-label{
  font-size:8px;
  font-weight:650;
  line-height:1;
  color:rgba(255,255,255,.67);
  background:transparent;
  padding:0;
  box-shadow:none;
  text-shadow:none;
  pointer-events:none;
  transform:translate(-50%,-50%);
}

.degree-label.deg0{left:50%;top:-2%}
.degree-label.deg30{left:76%;top:5%}
.degree-label.deg60{left:95%;top:24%}
.degree-label.deg90{left:102%;top:50%}
.degree-label.deg120{left:95%;top:76%}
.degree-label.deg150{left:76%;top:95%}
.degree-label.deg180{left:50%;top:102%}
.degree-label.deg210{left:24%;top:95%}
.degree-label.deg240{left:5%;top:76%}
.degree-label.deg270{left:-2%;top:50%}
.degree-label.deg300{left:5%;top:24%}
.degree-label.deg330{left:24%;top:5%}

/* Keep compass letters/names readable and visually above the degree scale */
.rose-point b{
  color:rgba(255,255,255,.96);
}
.rose-point span{
  color:rgba(243,236,218,.92);
}

/* Make the two directional arrows distinct even when they almost overlap */
.wind-arrow-current{
  width:3px;
  opacity:1;
}
.wind-arrow-average{
  width:3px;
  opacity:.82;
  filter:drop-shadow(0 0 3px rgba(143,215,182,.35));
}

@media(max-width:980px){
  .degree-label{font-size:7.5px}
}

@media(max-width:720px){
  .degree-label{font-size:6.8px;color:rgba(255,255,255,.61)}
  .wind-rose-ring::before{
    background:
      repeating-conic-gradient(
        from 0deg,
        rgba(255,255,255,.18) 0deg .3deg,
        transparent .3deg 10deg
      ),
      repeating-conic-gradient(
        from 0deg,
        rgba(255,255,255,.40) 0deg .7deg,
        transparent .7deg 30deg
      );
  }
}

@media(max-width:430px){
  .degree-label{font-size:6.2px}
}


/* v1.10.2 — degree labels on one consistent radius, matching the 90° / 180° placement */
.degree-label{
  transform:translate(-50%,-50%);
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.degree-label.deg0{left:50.0%;top:-2.0%;}
.degree-label.deg30{left:76.0%;top:5.0%;}
.degree-label.deg60{left:95.0%;top:24.0%;}
.degree-label.deg90{left:102.0%;top:50.0%;}
.degree-label.deg120{left:95.0%;top:76.0%;}
.degree-label.deg150{left:76.0%;top:95.0%;}
.degree-label.deg180{left:50.0%;top:102.0%;}
.degree-label.deg210{left:24.0%;top:95.0%;}
.degree-label.deg240{left:5.0%;top:76.0%;}
.degree-label.deg270{left:-2.0%;top:50.0%;}
.degree-label.deg300{left:5.0%;top:24.0%;}
.degree-label.deg330{left:24.0%;top:5.0%;}
@media(max-width:980px){
  .degree-label{font-size:7.8px;}
}
@media(max-width:720px){
  .degree-label{font-size:7.1px;}
}
@media(max-width:430px){
  .degree-label{font-size:6.5px;}
}


/* v1.10.3 — stronger degree-ring separation */
.degree-label{
  position:absolute;
  z-index:8;
  display:block;
  min-width:34px;
  text-align:center;
  transform:translate(-50%,-50%);
  font-size:8.5px;
  font-weight:700;
  line-height:1;
  letter-spacing:0;
  font-variant-numeric:tabular-nums;
  color:rgba(255,255,255,.76);
  white-space:nowrap;
  text-shadow:0 1px 1px rgba(0,0,0,.14);
  opacity:.96;
}
.degree-label.deg0{left:50.0%;top:-6.0%;}
.degree-label.deg30{left:78.0%;top:1.5%;}
.degree-label.deg60{left:98.5%;top:22.0%;}
.degree-label.deg90{left:106.0%;top:50.0%;}
.degree-label.deg120{left:98.5%;top:78.0%;}
.degree-label.deg150{left:78.0%;top:98.5%;}
.degree-label.deg180{left:50.0%;top:106.0%;}
.degree-label.deg210{left:22.0%;top:98.5%;}
.degree-label.deg240{left:1.5%;top:78.0%;}
.degree-label.deg270{left:-6.0%;top:50.0%;}
.degree-label.deg300{left:1.5%;top:22.0%;}
.degree-label.deg330{left:22.0%;top:1.5%;}
.wind-rose-ring{overflow:visible;}
@media(max-width:980px){
  .degree-label{min-width:30px;font-size:8px;}
}
@media(max-width:720px){
  .degree-label{min-width:28px;font-size:7.2px;color:rgba(255,255,255,.72);}
}
@media(max-width:430px){
  .degree-label{min-width:24px;font-size:6.6px;color:rgba(255,255,255,.70);}
}


/* v1.10.4 — cardinal degree-label fix + clearer 10° sub-division ticks */

/* Make the 30° / 10° scale ring a bit more visible */
.wind-rose-ring::before{
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255,255,255,.26) 0deg .42deg,
      transparent .42deg 10deg
    ),
    repeating-conic-gradient(
      from 0deg,
      rgba(255,255,255,.58) 0deg 1.05deg,
      transparent 1.05deg 30deg
    );
  -webkit-mask:radial-gradient(circle, transparent 0 79%, #000 79.4% 100%);
  mask:radial-gradient(circle, transparent 0 79%, #000 79.4% 100%);
}

/* Default degree labels stay on a common outer ring */
.degree-label{
  min-width:28px;
  text-align:center;
  transform:translate(-50%,-50%);
}

/* Fix the cardinal axis labels individually */
.degree-label.deg0{
  left:50%;
  top:0;
  transform:translate(-50%,-14px);
}
.degree-label.deg90{
  left:100%;
  top:50%;
  min-width:auto;
  text-align:left;
  transform:translate(12px,-50%);
}
.degree-label.deg180{
  left:50%;
  top:100%;
  transform:translate(-50%,14px);
}
.degree-label.deg270{
  left:0;
  top:50%;
  min-width:auto;
  text-align:right;
  transform:translate(calc(-100% - 12px),-50%);
}

/* Keep diagonal degree labels on the same radius but slightly crisper */
.degree-label.deg30,
.degree-label.deg60,
.degree-label.deg120,
.degree-label.deg150,
.degree-label.deg210,
.degree-label.deg240,
.degree-label.deg300,
.degree-label.deg330{
  min-width:30px;
}

@media(max-width:980px){
  .degree-label{min-width:26px;}
  .degree-label.deg0{transform:translate(-50%,-12px);}
  .degree-label.deg90{transform:translate(10px,-50%);}
  .degree-label.deg180{transform:translate(-50%,12px);}
  .degree-label.deg270{transform:translate(calc(-100% - 10px),-50%);}
}

@media(max-width:720px){
  .wind-rose-ring::before{
    background:
      repeating-conic-gradient(
        from 0deg,
        rgba(255,255,255,.22) 0deg .36deg,
        transparent .36deg 10deg
      ),
      repeating-conic-gradient(
        from 0deg,
        rgba(255,255,255,.48) 0deg .9deg,
        transparent .9deg 30deg
      );
  }
  .degree-label{min-width:22px;}
  .degree-label.deg0{transform:translate(-50%,-10px);}
  .degree-label.deg90{transform:translate(8px,-50%);}
  .degree-label.deg180{transform:translate(-50%,10px);}
  .degree-label.deg270{transform:translate(calc(-100% - 8px),-50%);}
}

@media(max-width:430px){
  .degree-label{min-width:20px;}
  .degree-label.deg0{transform:translate(-50%,-9px);}
  .degree-label.deg90{transform:translate(6px,-50%);}
  .degree-label.deg180{transform:translate(-50%,9px);}
  .degree-label.deg270{transform:translate(calc(-100% - 6px),-50%);}
}


/* v1.10.5 — dedicated visible 10° / 30° tick ring */
.wind-scale-ticks{
  position:absolute;
  inset:0;
  border-radius:50%;
  z-index:2;
  pointer-events:none;
}

/* minor ticks every 10° */
.wind-scale-ticks::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255,255,255,.48) 0deg .55deg,
      transparent .55deg 10deg
    );
  -webkit-mask:radial-gradient(circle, transparent 0 88%, #000 88.5% 100%);
  mask:radial-gradient(circle, transparent 0 88%, #000 88.5% 100%);
}

/* stronger / longer ticks every 30° */
.wind-scale-ticks::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255,255,255,.84) 0deg 1.05deg,
      transparent 1.05deg 30deg
    );
  -webkit-mask:radial-gradient(circle, transparent 0 83%, #000 83.5% 100%);
  mask:radial-gradient(circle, transparent 0 83%, #000 83.5% 100%);
}

/* Disable the older subtle pseudo tick treatment to avoid double rendering */
.wind-rose-ring::before{
  background:none !important;
  -webkit-mask:none !important;
  mask:none !important;
}

/* Functional wind graphics stay above the scale */
.wind-arrow{z-index:5}
.wind-center{z-index:6}
.rose-point{z-index:4}
.degree-label{z-index:7}

@media(max-width:720px){
  .wind-scale-ticks::before{
    background:
      repeating-conic-gradient(
        from 0deg,
        rgba(255,255,255,.43) 0deg .55deg,
        transparent .55deg 10deg
      );
  }
  .wind-scale-ticks::after{
    background:
      repeating-conic-gradient(
        from 0deg,
        rgba(255,255,255,.76) 0deg 1deg,
        transparent 1deg 30deg
      );
  }
}


/* v1.10.6 — explicit 10° tick marks */
.wind-scale-ticks{
  position:absolute;
  inset:0;
  border-radius:50%;
  z-index:3;
  pointer-events:none;
}
.wind-scale-ticks::before,
.wind-scale-ticks::after{
  content:none !important;
  display:none !important;
}

.wind-tick{
  position:absolute;
  left:50%;
  top:50%;
  width:1px;
  height:7px;
  background:rgba(255,255,255,.50);
  transform-origin:50% 0;
  transform:
    rotate(var(--deg))
    translateY(-108px);
  border-radius:1px;
}

.wind-tick.major{
  width:2px;
  height:13px;
  background:rgba(255,255,255,.88);
  transform:
    rotate(var(--deg))
    translateY(-108px);
}

@media(max-width:980px){
  .wind-tick{
    transform:rotate(var(--deg)) translateY(-88px);
    height:6px;
  }
  .wind-tick.major{
    transform:rotate(var(--deg)) translateY(-88px);
    height:11px;
  }
}

@media(max-width:720px){
  .wind-tick{
    transform:rotate(var(--deg)) translateY(-78px);
    height:5px;
    background:rgba(255,255,255,.46);
  }
  .wind-tick.major{
    transform:rotate(var(--deg)) translateY(-78px);
    height:10px;
    background:rgba(255,255,255,.80);
  }
}

@media(max-width:430px){
  .wind-tick{
    transform:rotate(var(--deg)) translateY(-72px);
    height:5px;
  }
  .wind-tick.major{
    transform:rotate(var(--deg)) translateY(-72px);
    height:9px;
  }
}


/* v1.10.7 — SVG compass ticks, no HTML-transform artifacts */
.wind-scale-ticks,
.wind-tick{
  display:none !important;
}

.wind-scale-svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:3;
  pointer-events:none;
  overflow:visible;
}

.wind-scale-svg line{
  vector-effect:non-scaling-stroke;
  stroke-linecap:round;
}

.wind-scale-svg .tick-minor{
  stroke:rgba(255,255,255,.42);
  stroke-width:1.1;
}

.wind-scale-svg .tick-major{
  stroke:rgba(255,255,255,.78);
  stroke-width:1.8;
}

/* Keep content above the SVG scale */
.rose-point{z-index:4}
.wind-arrow{z-index:5}
.wind-center{z-index:6}
.degree-label{z-index:7}

@media(max-width:720px){
  .wind-scale-svg .tick-minor{
    stroke:rgba(255,255,255,.38);
    stroke-width:1;
  }
  .wind-scale-svg .tick-major{
    stroke:rgba(255,255,255,.70);
    stroke-width:1.6;
  }
}


/* v1.10.8 — center the wind-dial crosshair correctly; removes L-shaped artifact */
.wind-dial::before,
.wind-dial::after{
  content:"";
  position:absolute;
  z-index:1;
  background:rgba(255,255,255,.12);
  pointer-events:none;
}

.wind-dial::before{
  left:50%;
  top:0;
  width:1px;
  height:100%;
  transform:translateX(-50%);
}

.wind-dial::after{
  left:0;
  top:50%;
  width:100%;
  height:1px;
  transform:translateY(-50%);
}


/* v1.11 — dashboard and history polish */
.metric-wind .metric-detail{
  line-height:1.35;
}
.metric-wind #windAvgDetail{
  margin-top:4px;
  font-size:10px;
  white-space:normal;
}
.metric-tabs{
  gap:6px;
  padding:4px;
  border-radius:12px;
  background:var(--surface-soft);
}
.metric-tab{
  padding:7px 10px;
  border-radius:9px;
  border-bottom:0;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.metric-tab.active{
  background:#fff;
  color:var(--accent);
  box-shadow:0 2px 7px rgba(24,40,34,.09);
  border-color:transparent;
}
.history-legend{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:12px;
  color:var(--muted);
  font-size:11px;
}
.history-legend[hidden]{display:none!important}
.history-legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:650;
}
.history-legend small{
  font-size:10px;
  color:var(--muted);
}
.history-key{
  width:18px;
  height:2px;
  border-radius:2px;
  display:inline-block;
  background:var(--accent);
}
.history-key-gust{
  opacity:.42;
  background:repeating-linear-gradient(to right,var(--accent) 0 5px,transparent 5px 9px);
}
.chart-tooltip{
  max-width:min(360px,80vw);
  white-space:normal;
  line-height:1.4;
}
@media(max-width:720px){
  .metric-tabs{gap:2px}
  .metric-tab{padding:7px 8px;font-size:11px}
  .history-legend{gap:10px}
}


/* v1.12 — calendar month history picker */
.history-range-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.month-picker-wrap{
  display:inline-flex;
  align-items:center;
  gap:7px;
  height:36px;
  padding:0 8px 0 11px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  color:var(--muted);
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.month-picker{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  outline:0;
  background:transparent;
  color:var(--ink);
  font:inherit;
  font-size:11px;
  font-weight:700;
  text-transform:none;
  letter-spacing:0;
  cursor:pointer;
  padding:4px 20px 4px 2px;
  background-image:
    linear-gradient(45deg,transparent 50%,var(--muted) 50%),
    linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:
    calc(100% - 8px) 50%,
    calc(100% - 4px) 50%;
  background-size:4px 4px,4px 4px;
  background-repeat:no-repeat;
}
.month-picker:focus-visible{
  box-shadow:0 0 0 3px rgba(22,60,52,.11);
  border-radius:6px;
}
@media(max-width:720px){
  .history-range-row{
    width:100%;
    align-items:stretch;
  }
  .month-picker-wrap{
    flex:1 1 100%;
    justify-content:space-between;
  }
  .month-picker{
    flex:1;
  }
}


/* v1.13 — intro and lower-page cleanup */
.weather-intro{
  margin:8px 0 22px;
}
.weather-intro-copy{
  max-width:850px;
}
.weather-intro-eyebrow{
  color:var(--muted);
  margin-bottom:7px;
}
.weather-intro h1{
  margin:0 0 10px;
  color:var(--ink);
  font-size:clamp(24px,3vw,34px);
  line-height:1.14;
  letter-spacing:-.035em;
  font-weight:700;
}
.weather-intro p{
  margin:0;
  max-width:800px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}
.weather-intro-note{
  margin-top:7px!important;
  font-size:12px!important;
  color:color-mix(in srgb,var(--muted) 86%, transparent)!important;
}

.info-panel-live{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:26px 28px;
}
.info-panel-live > div:first-child{
  max-width:760px;
}
.info-panel-live h3{
  margin-bottom:7px;
}
.info-live-meta{
  margin-top:10px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}
.info-panel-live .info-actions{
  flex:0 0 auto;
  margin:0;
}

@media(max-width:720px){
  .weather-intro{
    margin:4px 2px 18px;
  }
  .weather-intro h1{
    font-size:25px;
  }
  .weather-intro p{
    font-size:13px;
  }
  .info-panel-live{
    align-items:flex-start;
    flex-direction:column;
    gap:16px;
    padding:22px;
  }
}


/* v1.13.1 — move intro to bottom */
.weather-intro{
  display:none!important;
}

.weather-about-section{
  margin-top:18px;
}

.weather-about{
  padding:8px 2px 2px;
  max-width:820px;
}

.weather-about p{
  margin:7px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}

@media(max-width:720px){
  .weather-about{
    padding:4px 2px 0;
  }
  .weather-about p{
    font-size:11.5px;
  }
}


/* v1.14 — Beaufort wind unit */
.segmented[data-unit-group="wind"] button{
  min-width:42px;
}
@media(max-width:520px){
  .segmented[data-unit-group="wind"] button{
    min-width:38px;
    padding-left:7px;
    padding-right:7px;
  }
}


/* v1.14.1 — mmHg pressure unit */
.segmented[data-unit-group="pressure"] button{
  min-width:46px;
}
@media(max-width:520px){
  .segmented[data-unit-group="pressure"] button{
    min-width:42px;
    padding-left:7px;
    padding-right:7px;
  }
}


/* v1.15 — Rain history combo legend */
.history-key-rain-bars{
  height:9px;
  width:14px;
  border-radius:2px 2px 0 0;
  background:var(--accent);
  opacity:.30;
}
.history-key-rain-rate{
  height:2px;
  width:18px;
  background:var(--accent);
  opacity:.95;
}


/* v1.15.2 — clearer rainfall bars */
.history-key-rain-bars{
  opacity:.42;
}
