:root {
  color-scheme: dark;
  --ink: #f2f7f5;
  --muted: #9db0b8;
  --deep: #061924;
  --surface: rgba(12, 39, 52, .78);
  --surface-solid: #0d2b39;
  --line: rgba(181, 218, 224, .13);
  --aqua: #63e6c2;
  --aqua-dark: #1db896;
  --blue: #5aa7ff;
  --yellow: #ffd66b;
  --danger: #ff8295;
  --radius: 24px;
  --shadow: 0 26px 80px rgba(0, 7, 12, .34);
  --pointer-x: 50vw;
  --pointer-y: 25vh;
}

@property --chance {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--deep);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), rgba(99,230,194,.065), transparent 72%);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
.hidden { display: none !important; }

.sky {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 4%, rgba(52, 151, 155, .32), transparent 27rem),
    radial-gradient(circle at 15% 25%, rgba(17, 87, 116, .3), transparent 31rem),
    linear-gradient(160deg, #061924 0%, #071c28 48%, #06151f 100%);
}
.weather-canvas { position: fixed; z-index: -2; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .76; }
.sky span { position: absolute; border-radius: 999px; filter: blur(4px); opacity: .2; }
.sky span:nth-child(1) { width: 44rem; height: 44rem; left: -28rem; top: 20rem; background: #157096; }
.sky span:nth-child(2) { width: 28rem; height: 28rem; right: -17rem; top: 35rem; background: #1fbf98; }
.sky span:nth-child(3) { width: 20rem; height: 20rem; left: 58%; top: -15rem; background: #68dec1; }

.site-header, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 25px 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.system-status { display: inline-flex; align-items: center; gap: 7px; color: #71909a; font-size: 9px; font-weight: 750; letter-spacing: .8px; text-transform: uppercase; }
.system-status i, .weather-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(99,230,194,.5); animation: statusPulse 2s ease-out infinite; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #08242d; background: var(--aqua); font-size: 23px; box-shadow: 0 8px 30px rgba(99, 230, 194, .2); }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-size: 17px; letter-spacing: -.35px; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; }

.ghost-button, .primary-button, .text-button, .example-button, .segmented button {
  position: relative; overflow: hidden; border: 0; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ghost-button { padding: 11px 17px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); }
.ghost-button:hover { border-color: rgba(99,230,194,.42); background: rgba(99,230,194,.08); }
.compact { font-size: 13px; }

.hero { padding: 80px 0 42px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--aqua); font-size: 11px; font-weight: 750; letter-spacing: 1.9px; text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 6px rgba(99,230,194,.1); }
.hero h1 { margin: 0; font-size: clamp(48px, 8vw, 96px); line-height: .94; letter-spacing: clamp(-4px, -.065em, -7px); font-weight: 750; }
.hero h1 > span { display: inline-block; animation: titleReveal .8s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 em { color: var(--aqua); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero h1 em { display: inline-block; animation: titleReveal .9s .12s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy { max-width: 690px; margin: 28px auto 32px; color: #b8c9ce; font-size: clamp(16px, 2vw, 19px); }

.search-card { position: relative; max-width: 850px; margin: 0 auto; padding: 19px 21px 14px; border: 1px solid rgba(145,214,215,.18); border-radius: 23px; background: rgba(10, 35, 46, .88); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.04); text-align: left; backdrop-filter: blur(18px); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.search-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(110deg, transparent 20%, rgba(99,230,194,.2), transparent 80%); opacity: 0; transition: opacity .3s ease; }
.search-card:focus-within { transform: translateY(-2px); border-color: rgba(99,230,194,.4); box-shadow: 0 30px 90px rgba(0,7,12,.42), 0 0 0 5px rgba(99,230,194,.045); }
.search-card:focus-within::before { opacity: 1; }
.search-card label { display: block; margin: 0 0 10px 4px; color: #d8e3e3; font-size: 12px; font-weight: 650; }
.search-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 61px; padding: 7px 7px 7px 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(2,18,27,.68); }
.search-icon { color: var(--aqua); font-size: 25px; }
.search-row input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.search-row input::placeholder { color: #79919b; }
.suggestion-spinner { width: 17px; height: 17px; border: 2px solid rgba(99,230,194,.15); border-top-color: var(--aqua); border-radius: 50%; animation: spin .65s linear infinite; }
.primary-button { display: flex; align-items: center; gap: 19px; min-height: 47px; padding: 0 20px; border-radius: 12px; background: var(--aqua); color: #08242d; font-weight: 750; }
.primary-button::before { content: ""; position: absolute; top: -70%; left: -40%; width: 28%; height: 240%; transform: rotate(24deg); background: rgba(255,255,255,.42); transition: left .55s ease; }
.primary-button:hover { transform: translateY(-2px); background: #81efd2; box-shadow: 0 12px 28px rgba(99,230,194,.18); }
.primary-button:hover::before { left: 125%; }
.primary-button:disabled { cursor: wait; opacity: .65; transform: none; }
.search-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 3px 0; color: #6f8791; font-size: 11px; }
.text-button, .example-button { padding: 3px; background: transparent; color: var(--aqua); }
.example-button { color: #9db0b8; text-decoration: underline; text-decoration-color: rgba(157,176,184,.28); text-underline-offset: 3px; }
.text-button:hover, .example-button:hover { color: #fff; }

.location-results { max-width: 850px; margin: 10px auto 0; overflow: hidden; border: 1px solid rgba(99,230,194,.18); border-radius: 18px; background: rgba(8,35,47,.96); box-shadow: var(--shadow); text-align: left; backdrop-filter: blur(24px); transform-origin: top; animation: dropdownIn .22s ease both; }
.location-results::before { content: attr(data-caption); display: block; padding: 9px 17px 7px; border-bottom: 1px solid var(--line); color: #668791; font-size: 8px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.location-results > p { margin: 0; padding: 16px 18px; color: var(--muted); }
.location-option { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 14px 17px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; text-align: left; }
.location-option:last-child { border-bottom: 0; }
.location-option:hover, .location-option:focus-visible { background: rgba(99,230,194,.075); outline: 0; }
.location-option > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(99,230,194,.09); color: var(--aqua); }
.location-option strong, .location-option small { display: block; }
.location-option strong { margin-bottom: 2px; font-size: 13px; }
.location-option small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.location-option > small { color: #6e8991; }
.location-option { animation: optionIn .3s ease both; }
.location-option:nth-child(2) { animation-delay: .025s; }
.location-option:nth-child(3) { animation-delay: .05s; }
.location-option:nth-child(4) { animation-delay: .075s; }
.location-option:nth-child(5) { animation-delay: .1s; }
.location-option .category { justify-self: end; padding: 4px 7px; border-radius: 999px; background: rgba(99,230,194,.07); color: #7ca29f; font-size: 8px; text-transform: uppercase; }
.source-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; color: #65808b; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.source-ticker { position: relative; max-width: 880px; margin: 31px auto 0; overflow: hidden; color: #63808b; font-size: 9px; font-weight: 800; letter-spacing: 1px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.source-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.source-track span { display: inline-flex; align-items: center; gap: 8px; padding-right: 27px; white-space: nowrap; }
.source-track span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #2a5960; }
.source-ticker:hover .source-track { animation-play-state: paused; }

.status-region { display: grid; place-items: center; min-height: 270px; text-align: center; }
.loader { width: 48px; height: 48px; margin: 0 auto 18px; border: 3px solid rgba(99,230,194,.14); border-top-color: var(--aqua); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-region h2 { margin: 0 0 8px; font-size: 24px; }
.status-region p { max-width: 520px; margin: 0; color: var(--muted); }
.error-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%; background: rgba(255,130,149,.12); color: var(--danger); font-size: 24px; }

.dashboard { padding: 38px 0 60px; }
.location-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.location-heading h2 { margin: 0; max-width: 860px; font-size: clamp(30px, 5vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.location-heading #updatedText { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.weather-state { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; color: #6e918f; font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(15,48,61,.84), rgba(8,31,43,.87)); box-shadow: 0 16px 60px rgba(0,7,12,.15); backdrop-filter: blur(14px); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.dashboard:not(.hidden) .panel { animation: panelIn .65s cubic-bezier(.2,.75,.2,1) both; }
.dashboard:not(.hidden) .summary-grid .panel:nth-child(2) { animation-delay: .06s; }
.dashboard:not(.hidden) .summary-grid .panel:nth-child(3) { animation-delay: .12s; }
.dashboard:not(.hidden) .summary-grid .panel:nth-child(4) { animation-delay: .18s; }
.dashboard:not(.hidden) .forecast-panel { animation-delay: .22s; }
.dashboard:not(.hidden) .daily-panel { animation-delay: .27s; }
.dashboard:not(.hidden) .sources-layout .panel { animation-delay: .32s; }
.panel:hover { border-color: rgba(99,230,194,.19); box-shadow: 0 22px 65px rgba(0,7,12,.22); }
.summary-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 13px; }
.rain-card { display: flex; align-items: center; gap: 20px; min-height: 225px; padding: 27px; }
.probability-ring { --chance: 0; position: relative; display: grid; flex: 0 0 auto; place-items: center; width: 145px; height: 145px; border-radius: 50%; background: conic-gradient(var(--aqua) calc(var(--chance) * 1%), rgba(255,255,255,.07) 0); transition: --chance 1.1s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 18px rgba(99,230,194,.08)); }
.probability-ring::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(99,230,194,.08); border-radius: inherit; animation: orbit 9s linear infinite; }
.probability-ring::before { content: ""; position: absolute; inset: 9px; border-radius: inherit; background: #0b2a38; box-shadow: inset 0 0 25px rgba(0,0,0,.15); }
.probability-ring > div { position: relative; text-align: center; }
.probability-ring strong { display: block; font-size: 35px; line-height: 1; letter-spacing: -2px; }
.probability-ring span { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.2; text-transform: uppercase; }
.card-kicker { margin: 0 0 13px; color: #6f909a; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; }
.rain-copy h3 { margin: 0 0 9px; font-size: 22px; letter-spacing: -.4px; }
.rain-copy > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.metric-card { position: relative; min-height: 225px; overflow: hidden; padding: 25px; }
.metric-card strong { display: block; margin-top: 33px; font-size: 38px; line-height: 1; letter-spacing: -2px; }
.metric-card strong small { color: #66838e; font-size: 17px; letter-spacing: 0; }
.metric-card > span { display: block; max-width: 160px; margin-top: 10px; color: var(--muted); font-size: 11px; }
.metric-art { position: absolute; width: 85px; height: 85px; right: -13px; bottom: -15px; border-radius: 50%; }
.sun-art { background: radial-gradient(circle, rgba(255,214,107,.8) 0 20%, rgba(255,214,107,.08) 22% 55%, transparent 56%); filter: blur(.2px); }
.confidence-meter { position: absolute; left: 25px; right: 25px; bottom: 26px; height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.confidence-meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--yellow), var(--aqua)); transition: width .6s ease; }
.source-dots { position: absolute; display: grid; grid-template-columns: repeat(5, 8px); gap: 7px; right: 24px; bottom: 27px; }
.source-dots i { width: 8px; height: 8px; border-radius: 50%; background: #34515c; }
.source-dots i.active { background: var(--aqua); box-shadow: 0 0 8px rgba(99,230,194,.5); }

.forecast-panel, .daily-panel, .method-panel { margin-top: 14px; padding: 26px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h3, .alerts-panel h3, .method-panel h3 { margin: 0; font-size: 20px; letter-spacing: -.35px; }
.section-note { color: var(--muted); font-size: 11px; }
.chart-caption { position: relative; z-index: 1; height: 0; color: #52717c; font-size: 8px; text-transform: uppercase; letter-spacing: 1px; }
.chart-caption span { position: absolute; left: 0; top: 10px; }
.chart-caption span:last-child { top: 123px; }
.chart-caption strong { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); color: #668a92; font-size: 8px; font-weight: 750; white-space: nowrap; }
.segmented { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.13); }
.segmented button { padding: 6px 11px; border-radius: 7px; background: transparent; color: var(--muted); font-size: 10px; }
.segmented button.active { background: rgba(99,230,194,.13); color: var(--aqua); }
.hour-chart { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 142px; padding: 11px 3px 22px 29px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,.025) 25%); }
.chart-column { position: relative; flex: 1; min-width: 4px; height: 100%; }
.chart-bar { position: absolute; bottom: 0; width: 100%; min-height: 2px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--blue), rgba(90,167,255,.15)); opacity: .38; transform-origin: bottom; animation: barRise .65s cubic-bezier(.2,.8,.2,1) both; }
.chart-column.rain .chart-bar { background: linear-gradient(180deg, var(--aqua), rgba(99,230,194,.12)); opacity: .85; }
.chart-column::before { content: attr(data-hour); position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); color: #55737d; font-size: 7px; }
.chart-column:hover::after { content: attr(data-tip); position: absolute; z-index: 2; left: 50%; bottom: calc(var(--height) + 9px); transform: translateX(-50%); width: max-content; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: #061924; color: #fff; font-size: 9px; pointer-events: none; }
.hourly-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(80px, 1fr); gap: 8px; overflow-x: auto; padding: 18px 0 8px; scrollbar-color: #31515c transparent; scroll-snap-type: x proximity; }
.hour-item { padding: 12px 7px; border: 1px solid transparent; border-radius: 13px; background: rgba(255,255,255,.025); text-align: center; scroll-snap-align: start; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.hour-item:hover { transform: translateY(-4px); border-color: rgba(99,230,194,.14); background: rgba(99,230,194,.055); }
.hour-item time { color: var(--muted); font-size: 10px; }
.weather-glyph { display: block; margin: 9px 0 6px; font-size: 19px; }
.hour-item strong { display: block; font-size: 16px; }
.hour-item small { display: block; color: var(--aqua); font-size: 9px; }
.hour-item .rain-pill { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 48px; margin-top: 5px; padding: 3px 5px; border-radius: 999px; background: rgba(90,167,255,.08); color: #8dc6ff; font-weight: 750; }

.daily-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; }
.day-card { min-width: 0; padding: 16px 12px; border: 1px solid transparent; border-radius: 15px; background: rgba(255,255,255,.027); }
.day-card:first-child { border-color: rgba(99,230,194,.21); background: rgba(99,230,194,.055); }
.day-card time { display: block; color: var(--muted); font-size: 10px; text-transform: capitalize; }
.day-glyph { display: block; margin: 14px 0 8px; font-size: 24px; }
.day-temps { display: flex; gap: 5px; font-size: 13px; }
.day-temps span:last-child { color: #79929b; }
.day-chance { margin-top: 10px; color: var(--aqua); font-size: 10px; }
.day-card > small { display: block; min-height: 30px; margin-top: 6px; color: #839aa3; font-size: 9px; line-height: 1.35; }

.sources-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .82fr); gap: 14px; margin-top: 14px; }
.sources-panel, .alerts-panel { padding: 26px; }
.providers-list { display: grid; gap: 3px; }
.provider-row { display: grid; grid-template-columns: minmax(180px,1.4fr) 1fr 75px 25px; align-items: center; gap: 12px; min-height: 54px; padding: 8px 3px; border-bottom: 1px solid var(--line); text-decoration: none; }
.provider-row:last-child { border-bottom: 0; }
.provider-row { opacity: 0; animation: rowSlide .45s ease forwards; }
.provider-row:nth-child(2) { animation-delay: .025s; }.provider-row:nth-child(3) { animation-delay: .05s; }.provider-row:nth-child(4) { animation-delay: .075s; }.provider-row:nth-child(5) { animation-delay: .1s; }.provider-row:nth-child(6) { animation-delay: .125s; }.provider-row:nth-child(n+7) { animation-delay: .15s; }
.provider-row:hover strong { color: var(--aqua); }
.provider-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.provider-name i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--provider-color); box-shadow: 0 0 8px color-mix(in srgb, var(--provider-color) 50%, transparent); }
.provider-name strong, .provider-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provider-name strong { font-size: 12px; }
.provider-name small, .provider-meta { color: var(--muted); font-size: 9px; }
.provider-bar { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.06); }
.provider-bar i { display: block; width: var(--provider-chance); height: 100%; border-radius: inherit; background: var(--provider-color); }
.provider-chance { color: #dfe9e8; font-size: 12px; text-align: right; }
.provider-arrow { color: #63808b; }
.unavailable { margin-top: 14px; padding: 12px; border-radius: 12px; background: rgba(255,130,149,.06); color: #cfa9b0; font-size: 10px; }
.alerts-panel { background: linear-gradient(150deg, rgba(74,55,27,.32), rgba(11,36,45,.82)); }
.alerts-panel > p:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.alerts-panel a { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px 14px; border: 1px solid rgba(255,214,107,.12); border-radius: 12px; background: rgba(255,214,107,.045); color: #f1deb0; font-size: 11px; text-decoration: none; }
.alerts-panel a:hover { border-color: rgba(255,214,107,.35); }
.method-panel { display: grid; grid-template-columns: .8fr 2fr; gap: 40px; align-items: start; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: method; }
.method-item { counter-increment: method; color: var(--muted); font-size: 10px; }
.method-item::before { content: "0" counter(method); display: block; margin-bottom: 8px; color: var(--aqua); font-size: 10px; font-weight: 800; }
.method-item strong { display: block; margin-bottom: 5px; color: #dfe9e8; font-size: 11px; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 28px 0 45px; border-top: 1px solid var(--line); color: #66808a; font-size: 9px; }
.brand.mini .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
.brand.mini strong { font-size: 12px; }

dialog { width: min(560px, calc(100% - 32px)); padding: 32px; border: 1px solid rgba(99,230,194,.2); border-radius: 24px; background: #0b2937; color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0,10,15,.72); backdrop-filter: blur(5px); }
dialog h2 { margin: 0 0 20px; font-size: 30px; line-height: 1.08; letter-spacing: -1px; }
dialog p:not(.eyebrow) { color: #a9bbc1; font-size: 13px; }
.dialog-close { position: absolute; top: 15px; right: 15px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; font-size: 20px; cursor: pointer; }

@keyframes titleReveal { from { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes statusPulse { 0% { box-shadow: 0 0 0 0 rgba(99,230,194,.55); } 70%,100% { box-shadow: 0 0 0 7px rgba(99,230,194,0); } }
@keyframes dropdownIn { from { opacity: 0; transform: translateY(-8px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes optionIn { from { opacity: 0; transform: translateX(-7px); } to { opacity: 1; transform: none; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes barRise { from { transform: scaleY(0); opacity: 0; } }
@keyframes rowSlide { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes orbit { 50% { transform: rotate(180deg) scale(1.025); border-color: rgba(99,230,194,.16); } to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .summary-grid { grid-template-columns: repeat(3, 1fr); }
  .rain-card { grid-column: 1 / -1; }
  .daily-grid { grid-template-columns: repeat(4, 1fr); }
  .sources-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  .hero { padding-top: 52px; }
  .hero h1 { letter-spacing: -3px; }
  .search-card { padding: 14px; }
  .search-row { grid-template-columns: auto minmax(0,1fr); }
  .primary-button { grid-column: 1 / -1; justify-content: center; width: 100%; }
  .source-strip { gap: 8px 15px; }
  .location-heading { align-items: flex-start; flex-direction: column; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .rain-card { align-items: flex-start; }
  .metric-card { min-height: 190px; }
  .hourly-list { grid-auto-columns: 78px; }
  .daily-grid { display: flex; overflow-x: auto; }
  .day-card { flex: 0 0 125px; }
  .provider-row { grid-template-columns: minmax(150px,1fr) 70px 20px; }
  .provider-bar { display: none; }
  .method-panel { grid-template-columns: 1fr; gap: 20px; }
  .method-grid { grid-template-columns: 1fr; gap: 13px; }
  footer { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 480px) {
  .site-header { padding-top: 16px; }
  .site-header .ghost-button { padding: 8px 10px; font-size: 10px; }
  .system-status { display: none; }
  .hero { padding-top: 35px; }
  .hero-copy { margin-top: 20px; }
  .search-meta > span, .example-button { display: none; }
  .summary-grid { grid-template-columns: 1fr; }
  .rain-card { flex-direction: column; }
  .probability-ring { width: 132px; height: 132px; }
  .metric-card { min-height: 165px; }
  .forecast-panel, .daily-panel, .sources-panel, .alerts-panel, .method-panel { padding: 19px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .weather-canvas { display: none; }
}
