:root { color-scheme: dark; --text: #f1f5f9; --muted: #bdc9d6; --link: #acd3ff; --primary: #396fae; --panel: rgba(16,25,37,.86); --border: rgba(221,235,255,.17); }
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: #171d25; color: var(--text); font: 16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(rgba(9,21,35,.46),rgba(9,17,29,.84)),url('/img/probackground.jpeg') center/cover no-repeat; }
a { color: var(--link); text-underline-offset: 4px; } a:hover { color: #fff; }
button,input { font: inherit; } button,a,input { touch-action: manipulation; }
button { cursor: pointer; color: inherit; border: 0; } button:disabled { opacity: .6; cursor: wait; }
button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible { outline: 2px solid #7da9d7; outline-offset: 2px; }
button:focus:not(:focus-visible),a:focus:not(:focus-visible),[tabindex]:focus:not(:focus-visible) { outline: none; }
h1,h2,h3,h4,p,figure { margin: 0; } h1,h2,h3 { font-weight: 500; } h2 { font-size: 1.12rem; }
[hidden] { display: none !important; }
.site-shell { width: min(1140px,calc(100% - 48px)); margin: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 22px; }
.brand { display: block; line-height: 0; flex-shrink: 0; } .brand img { display: block; width: 64px; height: 64px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 26px; }
.site-header nav { align-items: center; font-size: .94rem; } .site-header nav a { color: var(--text); text-decoration: none; } .site-header nav a:not(.button):hover { text-decoration: underline; }
.site-header nav .button { color: #fff; white-space: nowrap; }
.glass-panel { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; }
.muted { color: var(--muted); }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: 5px; background: var(--primary); color: #fff; text-decoration: none; font-weight: 500; text-align: center; }
.button:hover { background: #305f94; } .button-ghost { background: rgba(20,34,50,.74); border-color: var(--border); font-size: .94rem; } .button-ghost:hover { background: #293d53; } .button-ghost>span { font-size: 1.5rem; line-height: 1; }
.site-header nav .site-install-button { min-height: 48px; padding: 10px 18px; border: 1px solid #b9ddff; border-radius: 10px; background: linear-gradient(120deg,#c2eaff,#83baff); color: #10243d; font-weight: 650; box-shadow: 0 4px 18px rgba(74,153,255,.24),inset 0 1px 0 rgba(255,255,255,.5); transition: box-shadow .18s ease,transform .18s ease; }
.site-header nav .site-install-button:hover { background: linear-gradient(120deg,#daf3ff,#a0ccff); color: #10243d; box-shadow: 0 6px 24px rgba(74,153,255,.38); transform: translateY(-1px); }
.site-header nav .site-install-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.site-install-button img { flex-shrink: 0; }
.site-install-arrow { font-size: 1.25rem; line-height: 1; }
@media(prefers-reduced-motion:reduce) { .site-header nav .site-install-button { transition: none; } .site-header nav .site-install-button:hover { transform: none; } }
.weather-tools { display: flex; align-items: stretch; gap: 12px; }
.weather-tools .button-icon { flex: 0 0 50px; padding: 10px; }
.weather-tools .button-icon svg { display: block; width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.location-search { position: relative; flex: 1; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; background: rgba(17,30,45,.9); }
.location-search:focus-within { border-color: #7da9d7; }
.location-search input { width: 100%; min-width: 0; padding: 12px 8px 12px 44px; border: 0; background: transparent; color: var(--text); } input::placeholder { color: var(--muted); }
/* The rounded search bar provides the input's focus indicator. */
.location-search input:focus { outline: none; }
.search-icon { position: absolute; left: 14px; width: 19px; stroke: var(--muted); fill: none; stroke-width: 1.8; }
.search-submit { background: transparent; padding: 8px 14px; border-left: 1px solid var(--border); color: var(--link); font-size: .875rem; }
.search-submit-icon { display: none; }
.unit-switch { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--panel); }
.unit-switch button { min-width: 45px; padding: 8px; background: transparent; } .unit-switch button[aria-pressed=true] { background: #e6effa; color: #162b43; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #172638; border: 1px solid #53677d; border-radius: 6px; padding: 6px; z-index: 5; box-shadow: 0 12px 30px #0008; max-height: 360px; overflow: auto; }
.search-results button,.search-results a { display: block; width: 100%; text-align: left; background: transparent; border-radius: 4px; padding: 10px 12px; }
.search-results button:hover,.search-results button:focus,.search-results a:hover,.search-results a:focus { background: #2d4560; }
.search-results strong,.search-results span { display: block; } .search-results strong { font-size: 1rem; font-weight: 500; }
.search-results span,.search-results p { font-size: .875rem; color: var(--muted); } .search-results p { padding: 10px; }
.status-row { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 8px 2px; font-size: .875rem; color: var(--muted); }
.status-row button { background: none; color: var(--link); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.status-row.is-error { color: #ffdcad; }
html.location-modal-open,html.location-modal-open body { overflow: hidden; }
.location-dialog { width: min(460px,calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); color: var(--text); box-shadow: 0 24px 80px #0008; overflow: auto; }
.location-dialog::backdrop { background: #07111dcc; backdrop-filter: blur(4px); }
.location-dialog h2 { margin-bottom: 12px; font-size: 1.5rem; line-height: 1.25; font-weight: 600; }
.location-dialog p { color: var(--muted); }
.location-dialog-hint { margin-top: 12px; font-size: .875rem; }
.location-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.location-dialog-actions .button { flex: 1 1 auto; }
.weather-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 18px; }
.forecast-panel { padding: 24px 26px 0; min-width: 0; container-type: inline-size; }
.location-heading { --location-heading-size: 1.9rem; --location-heading-leading: 1.2; --location-heading-line: calc(var(--location-heading-size) * var(--location-heading-leading)); --location-heading-offset: 6px; --location-heading-reserve: calc(.75rem * 1.55 + var(--location-heading-line) * 2 + var(--location-heading-offset) * 2 + .875rem * 1.55); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 16px; min-height: var(--location-heading-reserve); }
/* Reserve two heading lines on the whole row rather than between the name and its detail, so a longer name never shifts the panel, the detail line stays attached to the name, and the heading box stays the size of its text for the saved-location dropdown to align to. */
.location-heading>div { display: grid; align-items: start; min-width: 0; overflow-wrap: anywhere; }
.location-heading h1 { font-size: var(--location-heading-size); line-height: var(--location-heading-leading); margin: var(--location-heading-offset) 0; } .location-heading .muted { font-size: .875rem; min-height: 1.55em; }
.location-time { font-size: .875rem; color: var(--muted); text-align: right; white-space: nowrap; padding-top: 4px; }
.current-weather { display: flex; align-items: center; gap: 24px; min-height: 166px; padding: 16px 0; }
.temperature-block { display: flex; gap: 12px; align-items: center; flex-shrink: 0; } .current-temp { width: 3ch; font-size: 5.2rem; font-weight: 300; line-height: 1.1; letter-spacing: -4px; font-variant-numeric: tabular-nums; }
.current-weather .weather-icon { width: 72px; height: 72px; } .current-summary { font-size: 1.1rem; margin-bottom: 4px; } .current-details { font-size: .875rem; color: var(--muted); line-height: 1.8; }
.weather-icon { width: 36px; height: 36px; flex-shrink: 0; }
.forecast-brief { min-height: calc(2.9em + 16px); padding-bottom: 16px; font-size: .9375rem; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.forecast-brief .skeleton-block { width: 80%; height: .875rem; }
.forecast-divider { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.forecast-divider h2 { font-size: .94rem; } .forecast-divider>span { font-size: .75rem; }
.hourly-weather { display: flex; overflow-x: auto; gap: 22px; padding: 0 0 20px; scrollbar-width: thin; scrollbar-color: #5d738d transparent; min-height: calc(80px + 3.875rem); }
.hour { flex: 0 0 45px; display: grid; grid-template-rows: 1.1625rem 36px 1.55rem 1.1625rem; align-items: center; justify-items: center; align-content: start; gap: 8px; }
.hour time { font-size: .75rem; color: var(--muted); white-space: nowrap; } .hour strong { font-size: 1rem; font-weight: 500; } .hour .rain { font-size: .75rem; color: var(--link); white-space: nowrap; }
.loading-copy { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.skeleton-block { display: block; border-radius: 5px; background: #abc9e0; opacity: .16; animation: forecast-skeleton-pulse 1.8s ease-in-out infinite; }
.skeleton-label { display: inline-block; width: 2rem; max-width: 100%; height: .65rem; vertical-align: middle; }
.current-skeleton { display: flex; align-items: center; gap: inherit; width: 100%; }
.current-skeleton .weather-icon { border-radius: 18px; }
.skeleton-temperature { width: 3ch; height: 1.1em; font-size: 5.2rem; font-weight: 300; letter-spacing: -4px; }
.skeleton-details { flex: 1; min-width: 0; max-width: 160px; }
.skeleton-details .skeleton-block { height: .875rem; margin: 12px 0; }
.skeleton-details .skeleton-block:nth-child(2) { width: 70%; }
.skeleton-details .skeleton-block:nth-child(3) { width: 85%; }
.day time .skeleton-label { width: 4rem; }
@keyframes forecast-skeleton-pulse { 50% { opacity: .3; } }
@media(prefers-reduced-motion:reduce) { .skeleton-block { animation: none; } }
.weather-spinner { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 72px; height: 42px; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 999px; background: #0b1220; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.weather-spinner__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--link); opacity: .32; animation: weather-spinner-pulse 1s ease-in-out infinite; }
.weather-spinner__dot:nth-child(2) { animation-delay: .14s; } .weather-spinner__dot:nth-child(3) { animation-delay: .28s; }
@keyframes weather-spinner-pulse { 0%,60%,100% { opacity: .32; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-5px); } }
@media(prefers-reduced-motion:reduce) { .weather-spinner__dot { animation: none; opacity: .7; } .weather-spinner__dot:nth-child(2) { opacity: 1; } }
.radar-panel { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.radar-fullscreen { position: absolute; z-index: 1; top: 14px; right: 14px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; border: 1px solid #52616a; border-radius: 10px; background: rgba(16,30,43,.93); color: #eef5fc; box-shadow: 0 4px 15px #0003; }
.radar-fullscreen:hover { background: #294257; } .radar-fullscreen svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.radar-map { position: relative; flex: 1; min-height: 300px; background: #182e40; container-type: inline-size; }
.radar-map iframe { position: absolute; inset: 0; border: 0; width: 100%; height: 100%; background: #182e40; }
@container (max-width:400px) { .radar-fullscreen { top: 10px; right: 10px; } }
html.radar-modal-open,html.radar-modal-open body { overflow: hidden; }
.radar-dialog { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #182e40; color: var(--text); overflow: hidden; }
.radar-dialog[open] { display: flex; flex-direction: column; }
.radar-dialog::backdrop { background: #101925; }
.radar-dialog-heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left)); padding-top: max(12px,env(safe-area-inset-top)); background: #101925; border-bottom: 1px solid var(--border); }
.radar-dialog-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border-radius: 8px; background: transparent; }
.radar-dialog-close:hover { background: var(--hover-bg, #7da9d71a); }
.radar-dialog-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.radar-dialog iframe { flex: 1; width: 100%; min-height: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); }
.daily-panel { margin-top: 18px; padding: 0 24px 20px; } .daily-panel .forecast-divider { border: 0; }
.daily-weather { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 0; }
.day { text-align: center; padding: 8px 12px; min-width: 0; } .day+.day { border-left: 1px solid var(--border); }
.day time { display: block; min-height: 3.1em; font-size: .875rem; color: var(--muted); margin-bottom: 10px; } .day .weather-icon { display: block; width: 40px; height: 40px; margin: 0 auto; }
.day-range { display: flex; align-items: center; justify-content: center; min-height: 1.55em; gap: 12px; margin-top: 7px; } .day-range strong { font-weight: 500; } .day-range span { color: var(--muted); }
/* Each day's low-to-high span on one scale for the whole week, so warmer and cooler days stand out at a glance. */
.day-range { flex-wrap: wrap; row-gap: 10px; }
/* A reserved line under the icon keeps temperatures aligned whether or not a day shows its chance of precipitation. */
.day-rain { display: block; min-height: 1.25rem; margin-top: 2px; font-size: .8rem; line-height: 1.25rem; font-weight: 600; color: #8ccaff; font-variant-numeric: tabular-nums; }
[data-extension-mode=light] .day-rain { color: #1477b5; }
.day-bar { position: relative; display: block; flex: 0 0 100%; max-width: 96px; height: 4px; border-radius: 2px; background: var(--border); }
.day-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #8ccaff, #ffd27a); clip-path: inset(0 calc((1 - var(--day-high, 1)) * 100%) 0 calc(var(--day-low, 0) * 100%) round 2px); }
[dir=rtl] .day-bar::after { background: linear-gradient(270deg, #8ccaff, #ffd27a); clip-path: inset(0 calc(var(--day-low, 0) * 100%) 0 calc((1 - var(--day-high, 1)) * 100%) round 2px); }
.day-bar.skeleton-block { background: #abc9e0; }
/* Placeholder temperatures fill a full text line so the range bar sits where it will after loading. */
.day-range > .skeleton-label { margin-block: calc((1.55em - .65rem) / 2); }
.day-bar.skeleton-block::after { display: none; }
[data-extension-mode=light] .day-bar::after { background: linear-gradient(90deg, #2f86d6, #e09a1a); }
[dir=rtl][data-extension-mode=light] .day-bar::after { background: linear-gradient(270deg, #2f86d6, #e09a1a); }
/* Fade the edge a scrolling forecast row continues past, and drop the fade once the row reaches that end. */
@property --scroll-fade-start { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --scroll-fade-end { syntax: '<length>'; inherits: false; initial-value: 0px; }
@keyframes forecast-scroll-fade { from { --scroll-fade-start: 0px; --scroll-fade-end: 40px; } 10% { --scroll-fade-start: 40px; } 90% { --scroll-fade-end: 40px; } to { --scroll-fade-start: 40px; --scroll-fade-end: 0px; } }
@supports (animation-timeline: scroll(self inline)) {
    .hourly-weather, .daily-weather { mask-image: linear-gradient(to right, transparent, #000 var(--scroll-fade-start), #000 calc(100% - var(--scroll-fade-end)), transparent); animation: forecast-scroll-fade linear both; animation-timeline: scroll(self inline); }
    [dir=rtl] .hourly-weather, [dir=rtl] .daily-weather { mask-image: linear-gradient(to left, transparent, #000 var(--scroll-fade-start), #000 calc(100% - var(--scroll-fade-end)), transparent); }
}
.extension-strip { display: flex; align-items: center; gap: 24px; margin-top: 30px; padding: 22px 26px; background: rgba(34,56,83,.92); }
.toolbar-badge { position: relative; width: 48px; min-width: 48px; height: 50px; display: flex; align-items: center; justify-content: center; background: #16273a; border: 1px solid #7894b3; border-radius: 8px; }
.toolbar-badge>span { font-size: 1.9rem; color: #f9cb71; } .toolbar-badge b { position: absolute; bottom: -5px; right: -6px; font-size: .875rem; background: #3a79bb; padding: 0 3px; border-radius: 3px; line-height: 1.35; font-weight: 600; color: #fff; }
.extension-strip-copy { flex: 1; } .extension-strip-copy h2 { font-size: 1.2rem; margin-bottom: 4px; } .extension-strip-copy p { font-size: .875rem; color: var(--muted); max-width: 465px; }
.extension-strip-action { text-align: center; display: flex; flex-direction: column; gap: 7px; } .extension-strip-action>span { font-size: .75rem; color: var(--muted); }
.extension-details { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 60px 20px 32px; }
.extension-details h2 { font-size: 2rem; line-height: 1.25; margin: 12px 0 16px; } .extension-details p:not(.eyebrow) { color: var(--muted); }
.browser-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; max-width: 440px; margin-top: 24px; }
.browser-links a { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 64px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: rgba(24,39,57,.78); color: var(--text); font-size: .875rem; font-weight: 500; text-decoration: none; }
.browser-links a:hover,.browser-links a:focus-visible { background: #263e59; border-color: #7da9d7; color: #fff; }
.browser-links img { display: block; width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; }
.browser-links span { overflow-wrap: anywhere; }
.product-preview img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 5px; } .product-preview figcaption { text-align: center; color: var(--muted); font-size: .75rem; margin-top: 8px; }
.pro-section { padding: 30px 0 36px; } .section-heading { margin-bottom: 24px; } .section-heading h2 { font-size: 1.65rem; } .section-heading p { color: var(--muted); margin-top: 8px; }
.pro-examples { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-bottom: 20px; }
.pro-example { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 24px; color: var(--text); text-decoration: none; }
.pro-example:hover,.pro-example:focus-visible { border-color: var(--link); background: #192b40; color: var(--text); }
.pro-example h3 { font-size: 1.12rem; }
.pro-example-copy p { margin-top: 6px; color: var(--muted); font-size: .94rem; }
.pro-brief-examples { display: grid; align-content: center; gap: 12px; flex: 1; min-width: 0; }
.pro-example-image { display: flex; align-items: center; flex: 1; width: 100%; min-width: 0; padding: 0; border-radius: 8px; }
.pro-example-image img { display: block; width: 100%; height: auto; border-radius: 8px; }
.pro-example-action { display: flex; align-items: center; gap: 10px; color: var(--link); font-size: .94rem; font-weight: 500; }
.pro-example:hover .pro-example-action,.pro-example:focus-visible .pro-example-action { text-decoration: underline; }
.plan-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 20px; align-items: stretch; } .plan { display: flex; flex-direction: column; padding: 26px; }
.plan-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; min-height: 31px; margin-bottom: 16px; }
.plan h3 { font-size: 1.25rem; }
.plan-label { padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; background: rgba(221,235,255,.05); font-size: .75rem; color: var(--muted); }
.plan p { color: var(--muted); font-size: .94rem; }
.plan-features { list-style: none; padding: 0; margin: 0; font-size: .94rem; }
.plan-features li+li { border-top: 1px solid var(--border); }
.free-features { display: flex; flex-direction: column; flex: 1; }
.free-features li { display: flex; align-items: center; gap: 14px; flex: 1; padding: 16px 0; }
.free-features li::before { content: ""; flex: 0 0 6px; height: 11px; margin: 0 3px 3px; border: solid var(--link); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pro-plan { border-top: 3px solid #609ddf; padding-top: 24px; }
.pro-plan-brand { display: flex; align-items: center; gap: 12px; }
.pro-plan-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid #75643d; border-radius: 12px; background: #332d20; color: #f7d387; }
.pro-plan-note { display: block; margin-top: 3px; color: var(--muted); font-size: .75rem; }
.pro-plan-price { margin-left: auto; text-align: right; }
.pro-plan-price strong { display: block; font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.pro-plan-price span { color: var(--muted); font-size: .75rem; }
.plan-start { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.plan-start p { font-size: .875rem; }
.plan-start strong { color: var(--text); font-weight: 500; }
.plan-start .button { width: 100%; font-size: .875rem; }
.pro-features { margin-top: 20px; }
.pro-features li { padding: 14px 0; } .pro-features li:first-child { padding-top: 0; } .pro-features li:last-child { padding-bottom: 0; }
.pro-features strong,.pro-features span { display: block; } .pro-features strong { font-weight: 500; } .pro-features span { color: var(--muted); margin-top: 4px; font-size: .875rem; }
.install-modal-open { overflow: hidden; }
.install-dialog { width: min(500px,calc(100% - 32px)); padding: 32px; border: 1px solid #64788d; border-top: 3px solid #9dcaff; border-radius: 16px; background: radial-gradient(ellipse at top right,#28486a,transparent 65%),#16283d; color: var(--text); box-shadow: 0 24px 100px #0009; max-height: calc(100dvh - 40px); overflow: auto; }
.install-dialog[open] { animation: install-appear .22s ease-out; }
.install-dialog::backdrop { background: #07111dcc; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 12px; top: 12px; background: transparent; border-radius: 50%; font-size: 1.8rem; width: 44px; height: 44px; line-height: 1; }
.dialog-close:hover { background: #ffffff15; }
.install-heading { display: flex; align-items: center; gap: 12px; margin: 0 32px 20px 0; }
.install-heading img { flex-shrink: 0; } .install-heading .eyebrow { color: #c5dfff; }
.toolbar-preview { margin: 24px 0 20px; border: 1px solid #688098; background: #263b53; border-radius: 9px; overflow: hidden; }
.fake-titlebar { display: flex; align-items: center; gap: 14px; padding: 9px 12px 0; background: #18293d; }
.fake-window-controls { display: flex; flex-shrink: 0; gap: 6px; padding-bottom: 9px; }
.fake-window-controls span { width: 10px; height: 10px; border-radius: 50%; background: #ff6058; box-shadow: inset 0 0 0 1px #0002; }
.fake-window-controls span:nth-child(2) { background: #febc2e; } .fake-window-controls span:nth-child(3) { background: #28c840; }
.fake-tab { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 1; min-width: 0; max-width: 220px; font-size: .75rem; padding: 7px 11px; background: #263b53; border-radius: 7px 7px 0 0; }
.fake-tab>span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fake-tab svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--muted); }
.fake-toolbar { display: flex; align-items: center; gap: 12px; padding: 14px 12px; }
.fake-navigation { display: flex; flex-shrink: 0; gap: 9px; color: #b3c1d0; } .fake-navigation svg { width: 14px; height: 14px; } .fake-navigation svg:nth-child(2) { opacity: .4; }
.fake-address { flex: 1; min-width: 0; background: #17293c; border-radius: 18px; font-size: .75rem; color: var(--muted); padding: 8px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fake-toolbar .toolbar-badge { width: 37px; min-width: 37px; height: 37px; box-shadow: 0 0 0 6px #acd3ff18; } .fake-toolbar .toolbar-badge>span { font-size: 1.4rem; }
.toolbar-caption { padding: 9px 14px; border-top: 1px solid var(--border); color: #d4e6fb; text-align: center; font-size: .75rem; }
.install-dialog h2 { font-size: 2.5rem; font-weight: 600; letter-spacing: -.9px; line-height: 1.1; margin-bottom: 14px; } .install-dialog #install-description { color: var(--muted); }
.install-benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0 0 16px; list-style: none; font-size: .875rem; font-weight: 500; }
.install-benefits li::before { content: "✓"; color: #9fe0bf; margin-right: 7px; }
.install-dialog .button { width: 100%; min-height: 52px; background: #acd3ff; color: #10263e; font-weight: 650; border-radius: 7px; } .install-dialog .button:hover { background: #c9e3ff; }
.install-dialog .button img { flex-shrink: 0; }
.install-note { text-align: center; color: var(--muted); font-size: .75rem; margin: 12px 0 0; }
@keyframes install-appear { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media(prefers-reduced-motion:reduce) { .install-dialog[open] { animation: none; } }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 10; background: #111; padding: 12px; } .skip-link:not(:focus-visible) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
.skip-link:focus-visible { top: 12px; }
.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; } .noscript { padding: 16px; margin: 16px 0; }
@media(max-width:950px) {
    .pro-plan .plan-heading { row-gap: 16px; }
    .pro-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; flex-basis: 100%; margin-left: 0; text-align: left; }
    .skeleton-temperature { font-size: 4rem; }
    .weather-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); } .forecast-panel { padding: 20px 20px 0; } .current-weather { gap: 15px; } .current-temp { font-size: 4rem; } .current-weather .weather-icon { width: 50px; height: 50px; }
    .extension-strip { gap: 18px; padding: 20px; } .extension-details { gap: 35px; padding-left: 0; padding-right: 0; } .day { padding: 8px 5px; } .day-range { gap: 7px; }
}
@media(max-width:720px) {
    .pro-examples { grid-template-columns: 1fr; } .pro-example { padding: 20px; gap: 16px; }
    .status-row { min-height: 0; }
    .status-row.is-empty { height: 18px; padding: 0; }
    .skeleton-temperature { font-size: 4.7rem; }
    .site-shell { width: calc(100% - 32px); }
    .weather-tools { gap: 8px; }
    .weather-tools .location-search { flex: 1; min-width: 0; }
    .weather-tools .button-icon { flex: 0 0 44px; padding: 10px; }
    .weather-tools .unit-switch { display: none; }
    .location-search > .search-icon { display: none; }
    .location-search input, [dir=rtl] .location-search input { padding: 12px 10px; }
    .search-submit { flex: 0 0 44px; min-height: 44px; padding: 10px; }
    .search-submit span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .search-submit-icon { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
    .button-ghost { flex: 1; } .weather-grid { grid-template-columns: 1fr; } .current-temp { font-size: 4.7rem; } .current-weather .weather-icon { width: 65px; height: 65px; } .current-weather { gap: 28px; min-height: 154px; } .radar-map { min-height: 400px; }
    .hourly-weather { gap: 10px; }
    /* On phones the week reads as a list, one row per day, instead of a sideways scroller. */
    .daily-panel { padding: 0 18px 8px; }
    .daily-weather { display: flex; flex-direction: column; }
    .day { display: grid; grid-template-columns: minmax(3.5rem, .8fr) 36px 2.4rem minmax(0, 3fr); align-items: center; gap: 10px; padding: 10px 6px; text-align: start; }
    .day-rain { min-height: 0; margin: 0; }
    .day+.day { border-left: 0; border-top: 1px solid var(--border); }
    .day time { min-height: 0; margin: 0; font-size: .94rem; color: var(--text); }
    .day .weather-icon { width: 36px; height: 36px; margin: 0; }
    .day-range { flex-wrap: nowrap; justify-content: flex-end; gap: 12px; margin: 0; }
    .day-range span { order: 1; min-width: 2.6ch; text-align: end; }
    .day-range .day-bar { order: 2; flex: 1 1 auto; max-width: 140px; }
    .day-range strong { order: 3; min-width: 2.6ch; text-align: end; }
    .extension-strip { flex-wrap: wrap; gap: 18px; } .extension-strip-copy { flex-basis: calc(100% - 80px); } .extension-strip-action,.extension-strip-action .button { width: 100%; }
    .extension-details,.plan-grid { grid-template-columns: 1fr; } .extension-details { padding-top: 42px; gap: 28px; } .product-preview { max-width: 460px; margin: auto; } .plan { padding: 22px; } .daily-panel .forecast-divider { flex-wrap: wrap; } .install-dialog { padding: 24px; } .install-dialog h2 { font-size: 2rem; }
}
@media(max-width:380px) {
    .skeleton-temperature { font-size: 4rem; }
    .current-weather { gap: 14px; } .current-temp { font-size: 4rem; } .current-weather .weather-icon { width: 50px; height: 50px; } .site-header nav { gap: 10px; } .forecast-panel { padding: 18px 16px 0; }
}

.extension-install-copy { display: grid; gap: 2px; text-align: left; line-height: 1.25; }
.extension-install-copy small { font-size: 11px; font-weight: 400; opacity: .85; }
.js-install-link > img { flex-shrink: 0; }
.browser-links small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }

.radar-map[data-loading=true] .radar-fullscreen{display:none}
.radar-map[data-loading=false]>.radar-loading{display:none}

/* Reserve the same observation rows before and after the forecast arrives. */
.current-observations, .skeleton-details { min-height: calc(1.705rem + 4px + 4.725rem); }
.skeleton-details { display: grid; grid-template-rows: calc(1.705rem + 4px) repeat(3, 1.575rem); align-items: center; }
.skeleton-details .skeleton-block { margin: 0; }
@container (max-width: 520px) {
    .location-heading { grid-template-columns: minmax(0, 1fr); row-gap: 4px; min-height: calc(var(--location-heading-reserve) + 4px + .875rem * 1.55); }
    /* Stacked under the place name, the local time reads as part of the heading. */
    .forecast-panel .location-heading .location-time { min-height: calc(1.55em); padding-top: 0; text-align: start; }
}
@container (max-width: 360px) {
    .current-weather, .current-skeleton { flex-direction: column; align-items: flex-start; gap: 12px; }
    .current-observations, .skeleton-details { width: 100%; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(calc(1.705rem + 4px), auto) repeat(2, minmax(1.575rem, auto)); min-height: calc(1.705rem + 4px + 3.15rem); column-gap: 8px; }
    .current-summary, .skeleton-details > :first-child { grid-column: 1 / -1; }
    .current-observations > :nth-child(4), .skeleton-details > :nth-child(4) { grid-column: 1 / -1; }
    .skeleton-details .skeleton-block { max-width: 160px; }
}

.search-results a { text-decoration: none; color: inherit; }
