:root {
  color-scheme: dark;
  font-family: Inter, 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  background: #07151e;
  color: #eaf5f7;
  --ink: #eaf5f7;
  --muted: #91aab5;
  --soft: #66818e;
  --accent: #50d0d7;
  --accent-strong: #2aaebb;
  --surface: rgba(10, 29, 39, .9);
  --surface-raised: rgba(15, 39, 51, .95);
  --stroke: rgba(155, 201, 213, .14);
  --glow: 0 18px 55px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; height: 100dvh; overflow: hidden; background: #07151e; }
#root { width: 100%; height: 100dvh; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.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; }

.topbar {
  position: absolute; z-index: 20; inset: 0 0 auto; height: 72px; display: flex; align-items: center; gap: 34px;
  padding: 0 27px; background: linear-gradient(180deg, rgba(6, 21, 29, .97), rgba(7, 23, 31, .91));
  border-bottom: 1px solid rgba(125, 184, 197, .12); box-shadow: 0 10px 35px rgba(0, 0, 0, .12);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--ink); text-decoration: none; }
.brand img { display: block; width: 37px; height: 37px; object-fit: contain; }
.brand-name { font: 750 22px/1 'Manrope', sans-serif; letter-spacing: -.8px; }
.brand-section { margin-left: 8px; padding-left: 15px; border-left: 1px solid var(--stroke); color: #91b1be; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.primary-controls { display: flex; align-items: center; gap: 10px; min-width: 0; height: 100%; }
#layer-mode, #region {
  appearance: none; width: auto; min-width: 190px; margin: 0; padding: 11px 38px 11px 14px; border: 1px solid rgba(108, 186, 199, .24); border-radius: 11px;
  color: #d9f0f2; background: #102d39; font-size: 12px; font-weight: 600; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238fb8c2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; transition: border-color .18s, background-color .18s;
}
#layer-mode:hover, #region:hover { border-color: rgba(80, 208, 215, .58); background-color: #143643; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #a9c2cb; font-size: 12px; font-weight: 600; transition: .18s ease; }
.icon-button svg, .map-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:hover, .icon-button[aria-expanded="true"] { border-color: var(--stroke); background: rgba(25, 58, 71, .65); color: #e9fdff; }
.header-right { display: flex; align-items: center; margin-left: auto; }
.account-button { padding: 9px 14px; border: 1px solid rgba(114, 168, 182, .25); border-radius: 9px; color: #c4dce2; background: rgba(12, 34, 44, .55); font-size: 11px; font-weight: 600; transition: .18s ease; }
.account-button:hover { color: #fff; border-color: rgba(80, 208, 215, .65); background: rgba(24, 64, 77, .7); }

main { position: relative; width: 100%; height: 100dvh; }
.map-shell { position: absolute; inset: 72px 0 0; overflow: hidden; background: #0b202b; }
#map { position: absolute; inset: 0; }
.wind-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.wind-canvas[hidden] { display: none; }
.maplibregl-canvas { outline: none; }
.maplibregl-ctrl-bottom-right { right: 18px !important; bottom: 132px !important; }
.maplibregl-ctrl-bottom-right .maplibregl-ctrl { margin-right: 0; }
.maplibregl-ctrl-group { overflow: hidden; border: 1px solid rgba(137, 185, 198, .18) !important; border-radius: 12px !important; background: rgba(9, 28, 38, .91) !important; box-shadow: 0 8px 24px rgba(0,0,0,.2) !important; }
.maplibregl-ctrl-group button { width: 38px; height: 38px; filter: invert(.85) sepia(.1) saturate(.7); }
.maplibregl-ctrl-group button + button { border-top: 1px solid rgba(137, 185, 198, .12) !important; }
.map-action { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(137, 185, 198, .2); border-radius: 13px; background: rgba(9, 28, 38, .88); color: #cae5e9; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: .18s ease; }
.map-action:hover { color: white; background: #163947; border-color: rgba(80, 208, 215, .52); transform: translateY(-1px); }
.fullscreen-button { position: absolute; right: 18px; bottom: 222px; z-index: 4; width: 40px; height: 40px; }
.map-tools { position: absolute; right: 18px; bottom: 112px; z-index: 4; }
.sync-stamp { position: absolute; top: 20px; left: 20px; z-index: 3; display: flex; flex-direction: column; gap: 7px; min-width: 142px; padding: 12px 15px; border: 1px solid rgba(149, 195, 207, .14); border-radius: 13px; background: rgba(7, 25, 34, .86); box-shadow: 0 12px 32px rgba(0,0,0,.2); backdrop-filter: blur(16px); }
.live-indicator { display: flex; align-items: center; gap: 8px; color: #8eaeba; font-size: 9px; font-weight: 700; letter-spacing: 1.25px; text-transform: uppercase; }
.live-indicator i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(80,208,215,.1), 0 0 12px rgba(80,208,215,.7); }
.sync-stamp strong { color: #effbfc; font: 650 18px/1 'Manrope', sans-serif; letter-spacing: -.35px; font-variant-numeric: tabular-nums; }
.notice { position: absolute; z-index: 4; top: 20px; right: 126px; max-width: min(440px, calc(100% - 360px)); padding: 9px 13px; border: 1px solid rgba(144, 188, 200, .12); border-radius: 999px; color: #c4e0e6; background: rgba(7, 25, 34, .72); backdrop-filter: blur(12px); font-size: 10px; line-height: 1.4; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.notice:empty { display: none; }
.notice.error { color: #ffc0a5; border-color: rgba(255, 150, 116, .25); background: rgba(54, 29, 28, .86); }
.map-status { position: absolute; right: 22px; bottom: 42px; z-index: 7; padding: 5px 9px; border: 1px solid rgba(165, 204, 212, .13); border-radius: 9px; color: #aec6cd; background: rgba(8, 28, 38, .72); font-size: 10px; backdrop-filter: blur(10px); }
.layer-loading { position: absolute; z-index: 9; right: 22px; bottom: 42px; display: flex; align-items: center; gap: 9px; max-width: calc(100% - 32px); padding: 9px 13px; border: 1px solid rgba(118, 220, 224, .32); border-radius: 12px; color: #e6fbfc; background: rgba(7, 29, 39, .88); box-shadow: 0 10px 30px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .09); backdrop-filter: blur(20px); font-size: 11px; font-weight: 650; white-space: nowrap; pointer-events: none; }
.layer-loading[hidden] { display: none; }
.radar-hover { position: absolute; z-index: 10; display: grid; gap: 3px; width: 210px; max-width: calc(100% - 20px); padding: 10px 12px; border: 1px solid rgba(116, 218, 223, .3); border-radius: 13px; color: #e9fbfc; background: rgba(7, 28, 38, .94); box-shadow: 0 10px 28px rgba(0, 0, 0, .32); backdrop-filter: blur(16px); pointer-events: none; }
.radar-hover[hidden] { display: none; }
.radar-hover strong { font-size: 14px; line-height: 1.2; }
.radar-hover span { overflow: hidden; color: #b5d7de; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.radar-hover small { color: #8eacb6; font-size: 10px; }
.layer-is-loading .map-status { display: none; }
.layer-loading-spinner { width: 16px; height: 16px; flex: none; border: 2px solid rgba(101, 221, 224, .24); border-top-color: #69e3e2; border-right-color: #69e3e2; border-radius: 50%; animation: layer-loading-spin .8s linear infinite; }
@keyframes layer-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .layer-loading-spinner { animation: none; border-color: #69e3e2; } }
.map-coordinate { position: absolute; right: 22px; bottom: 18px; z-index: 3; color: rgba(211, 231, 235, .74); font-size: 9px; font-variant-numeric: tabular-nums; text-shadow: 0 2px 6px #000; }

.control-panel { position: absolute; z-index: 15; top: 88px; left: 20px; width: 338px; max-height: calc(100dvh - 190px); overflow: auto; padding: 20px; border: 1px solid rgba(139, 194, 207, .19); border-radius: 18px; color: var(--ink); background: linear-gradient(155deg, rgba(13, 38, 49, .97), rgba(8, 27, 37, .96)); box-shadow: var(--glow); backdrop-filter: blur(24px); scrollbar-width: thin; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 19px; }
.eyebrow { color: #74a5b3; font-size: 9px; font-weight: 700; letter-spacing: 1.55px; }
.panel-heading h1 { margin: 5px 0 0; color: #effbfc; font: 650 19px/1.2 'Manrope', sans-serif; letter-spacing: -.45px; }
.panel-close, .dialog-close { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(140, 184, 197, .16); border-radius: 9px; background: rgba(255,255,255,.035); color: #a9c6ce; font-size: 20px; line-height: 1; }
.panel-close:hover, .dialog-close:hover { color: #fff; background: rgba(255,255,255,.1); }
.field-label { display: block; margin-bottom: 8px; color: #a9c3cc; font-size: 10px; font-weight: 600; }
.search-field { display: flex; align-items: center; gap: 9px; min-height: 44px; padding-left: 12px; border: 1px solid rgba(126, 177, 191, .2); border-radius: 11px; background: rgba(4, 19, 27, .66); transition: .18s ease; }
.search-field:focus-within { border-color: rgba(80,208,215,.7); box-shadow: 0 0 0 3px rgba(80,208,215,.08); }
.search-field svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: #71939f; stroke-width: 1.8; stroke-linecap: round; }
.search-field input { min-width: 0; width: 100%; padding: 11px 0; border: 0; outline: 0; color: #ecf8f9; background: transparent; font-size: 12px; }
.search-field input::placeholder { color: #69838e; }
.search-field input:focus-visible { outline: 0; }
.search-field button { align-self: stretch; min-width: 48px; margin: 4px; border: 0; border-radius: 8px; color: #06242d; background: linear-gradient(135deg, #69e0df, #37bbc7); font-size: 11px; font-weight: 800; transition: filter .18s; }
.search-field button:hover { filter: brightness(1.08); }
.search-status { margin: 8px 0 0; color: #98b4be; font-size: 10px; line-height: 1.5; }
.search-results { max-height: 200px; overflow: auto; list-style: none; margin: 8px 0 12px; padding: 5px; border: 1px solid var(--stroke); border-radius: 11px; background: rgba(5, 20, 28, .95); }
.search-results button { width: 100%; padding: 10px; border: 0; border-radius: 7px; color: #d9eaed; background: transparent; text-align: left; font-size: 11px; }
.search-results button:hover, .search-results button:focus-visible { background: rgba(80,208,215,.1); }
.control-group { margin-top: 18px; }
#region { display: block; width: 100%; min-width: 0; padding: 10px 36px 10px 12px; border-radius: 10px; font-size: 11px; }
.settings-section { margin-top: 21px; padding-top: 17px; border-top: 1px solid rgba(139, 185, 198, .13); }
.section-heading, .settings-row, .legend-title { display: flex; align-items: center; justify-content: space-between; }
.section-heading h2 { margin: 0; color: #d7e9ec; font-size: 11px; font-weight: 650; }
.section-caption { color: #62818d; font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }
.settings-row { margin-top: 15px; color: #abc3cb; font-size: 10px; }
.settings-row output { color: #cae0e5; font-variant-numeric: tabular-nums; }
#opacity { display: block; width: 100%; height: 4px; margin: 12px 0 3px; accent-color: var(--accent); cursor: pointer; }
.map-legend { position: absolute; z-index: 7; left: 22px; bottom: 25px; width: 340px; padding: 19px 20px 17px; border: 1px solid rgba(169, 225, 231, .27); border-radius: 23px; color: #eefbfc; background: linear-gradient(140deg, rgba(23, 56, 68, .88), rgba(6, 23, 32, .88)); box-shadow: 0 24px 55px rgba(0, 0, 0, .34), inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(26px) saturate(140%); -webkit-backdrop-filter: blur(26px) saturate(140%); }
.legend-heading, .legend-scale-title, .legend-ends { display: flex; align-items: center; justify-content: space-between; }
.legend-heading { margin-bottom: 14px; }
.legend-kicker { color: #83dce1; font-size: 10px; font-weight: 800; letter-spacing: 1.65px; }
.legend-unit { padding: 5px 8px; border: 1px solid rgba(138, 200, 209, .22); border-radius: 8px; color: #c3dbe1; background: rgba(255,255,255,.055); font-size: 11px; font-weight: 700; }
.legend-scale + .legend-scale { margin-top: 17px; }
.legend-scale-title strong { color: #f4fbfc; font-size: 15px; font-weight: 750; }
.legend-scale-title span { color: #aec4cb; font-size: 11px; }
.legend-ramp { height: 13px; margin: 10px 0 8px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.rain-ramp { background: linear-gradient(90deg, #14b94b 0%, #79e500 28%, #f4e52c 53%, #ff9d1f 75%, #ee3935 100%); }
.snow-ramp { background: linear-gradient(90deg, #a4f8f6 0%, #45c9ec 34%, #4287e0 67%, #8453dd 100%); }
.legend-ends { gap: 5px; color: #c5d9de; font-size: 10px; font-weight: 600; }
.legend-ends span:nth-child(2) { text-align: center; }
.legend-ends span:last-child { text-align: right; }
.legend-note { margin: 15px 0 0; padding-top: 12px; border-top: 1px solid rgba(178, 218, 225, .15); color: #a8c2ca; font-size: 10px; line-height: 1.5; }
.legend-colors { display: flex; gap: 2px; height: 13px; overflow: hidden; }
.legend-colors span { flex: 1; height: 100%; }
.legend-colors.continuous { height: 13px; }
.legend-labels { display: flex; justify-content: space-between; gap: 3px; color: #e0eef0; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }

.timeline { position: absolute; z-index: 8; bottom: 25px; left: 50%; width: min(560px, calc(100% - 440px)); min-width: 390px; padding: 17px 21px 15px; transform: translateX(-50%); border: 1px solid transparent; border-radius: 24px; background: linear-gradient(140deg, rgba(18, 49, 62, .78), rgba(7, 25, 35, .76)) padding-box, linear-gradient(135deg, rgba(125, 224, 227, .38), rgba(196, 232, 235, .1) 48%, rgba(80, 208, 215, .2)) border-box; box-shadow: 0 24px 60px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.13), inset 0 -1px rgba(255,255,255,.025); backdrop-filter: blur(30px) saturate(155%); -webkit-backdrop-filter: blur(30px) saturate(155%); }
.timeline-controls { display: grid; grid-template-columns: 38px 48px 38px minmax(30px,1fr); align-items: center; gap: 10px; margin-top: 15px; }
.skip-frame { display: grid; place-items: center; position: relative; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(150, 202, 212, .15); border-radius: 14px; color: #bdd6dc; background: linear-gradient(145deg, rgba(216,244,246,.09), rgba(132,190,200,.035)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 5px 14px rgba(0,0,0,.12); transition: .18s ease; }
.skip-frame:hover { color: #fff; border-color: rgba(104,218,221,.42); background: linear-gradient(145deg, rgba(86,190,197,.2), rgba(132,190,200,.07)); transform: translateY(-1px); }
.skip-frame svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#play { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(159,255,251,.35); border-radius: 17px; color: #05272d; background: linear-gradient(145deg, #78e5e0, #3cbac6); box-shadow: 0 8px 22px rgba(36, 183, 192, .29), inset 0 1px rgba(255,255,255,.42); transition: .18s ease; }
#play:hover:not(:disabled) { transform: translateY(-2px) scale(1.025); filter: brightness(1.07); box-shadow: 0 11px 28px rgba(36, 183, 192, .36), inset 0 1px rgba(255,255,255,.45); }
#play svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
#play .pause-icon { display: none; fill: none; }
#play[aria-label^="Pause"] .play-icon { display: none; }
#play[aria-label^="Pause"] .pause-icon { display: block; }
.slider-wrap { min-width: 0; padding: 0 4px; }
#timeline { display: block; width: 100%; height: 5px; margin: 0; appearance: none; border-radius: 999px; background: linear-gradient(90deg, #70dcdd 0 var(--progress, 0%), rgba(158, 194, 202, .22) var(--progress, 0%) 100%); cursor: pointer; }
#timeline::-webkit-slider-thumb { width: 16px; height: 16px; appearance: none; border: 3px solid rgba(9, 31, 41, .9); border-radius: 50%; background: #7ce5df; box-shadow: 0 0 0 4px rgba(80,208,215,.13), 0 2px 10px rgba(0,0,0,.35); }
#timeline::-moz-range-thumb { width: 11px; height: 11px; border: 3px solid rgba(9, 31, 41, .9); border-radius: 50%; background: #7ce5df; box-shadow: 0 0 0 4px rgba(80,208,215,.13), 0 2px 10px rgba(0,0,0,.35); }
.timeline-labels { display: flex; justify-content: space-between; margin-top: 9px; color: #9ab6bf; font-size: 8px; font-variant-numeric: tabular-nums; }
.attribution { position: absolute; z-index: 7; right: 14px; bottom: 8px; display: flex; align-items: center; gap: 7px; max-width: calc(100% - 28px); padding: 4px 8px; border: 1px solid rgba(145, 185, 196, .1); border-radius: 7px; color: #8da6af; background: rgba(6, 20, 28, .62); font-size: 8px; backdrop-filter: blur(8px); }
.attribution a { color: inherit; text-decoration: none; white-space: nowrap; }
.attribution a:hover { color: #d9f4f5; }

.login-dialog { position: fixed; width: min(520px, calc(100% - 36px)); max-width: none; max-height: min(90dvh, 760px); overflow: auto; padding: 42px; border: 1px solid rgba(112, 199, 210, .34); border-radius: 28px; color: var(--ink); background: radial-gradient(ellipse at 100% 0%, rgba(54, 149, 160, .2), transparent 46%), linear-gradient(145deg, #123541, #091c26 75%); box-shadow: 0 40px 130px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.055); }
.login-dialog:focus { outline: none; }
.login-dialog::backdrop { background: rgba(2, 12, 18, .72); backdrop-filter: blur(9px) saturate(.65); }
.dialog-close { position: absolute; top: 17px; right: 17px; width: 32px; height: 32px; }
.dialog-mark { display: flex; align-items: center; gap: 13px; margin-bottom: 34px; color: #edf9fa; font: 800 16px/1 'Manrope', sans-serif; letter-spacing: .45px; }
.dialog-mark img { width: 48px; height: 48px; object-fit: contain; }
.dialog-mark i { display: block; margin-top: 5px; color: #82aab5; font: 700 8px/1 Inter, 'Segoe UI', sans-serif; letter-spacing: 2.3px; }
.login-dialog h2 { margin: 0 0 11px; color: #f1fbfc; font: 750 36px/1.12 'Manrope', sans-serif; letter-spacing: -1.35px; }
.login-dialog > p { margin: 0; color: #c1d4d9; font-size: 15px; line-height: 1.65; }
.primary { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; margin-top: 27px; padding: 17px 19px; border: 0; border-radius: 13px; color: #04272d; background: linear-gradient(115deg, #82e9e1, #43c2ce); box-shadow: 0 10px 30px rgba(48, 188, 194, .19); font-size: 15px; font-weight: 800; transition: .18s; }
.primary:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.primary span { font-size: 21px; }
.login-dialog > .dialog-footnote { display: flex; align-items: center; gap: 11px; margin-top: 17px; padding: 14px 15px; border: 1px solid rgba(143, 190, 200, .2); border-radius: 11px; color: #d0e0e3; background: rgba(255,255,255,.045); font-size: 13px; font-weight: 550; line-height: 1.45; }
.login-dialog > .dialog-footnote::before { content: ''; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #67ced2; box-shadow: 0 0 10px rgba(103,206,210,.4); }
#start-login:focus-visible { outline: 3px solid rgba(120, 233, 229, .65); outline-offset: 4px; }
#login-error { margin-top: 12px; color: #ffb59d; font-size: 13px; }
.connection-details { margin-top: 20px; padding: 18px; border: 1px solid var(--stroke); border-radius: 14px; background: rgba(2, 15, 22, .45); }
.connection-details p { margin: 0 0 11px; color: #bfd1d6; font-size: 13px; }
.verification-code { display: block; padding: 14px; border-radius: 10px; color: #c9fbf7; background: rgba(80,208,215,.1); font: 700 24px/1.2 'Manrope', sans-serif; letter-spacing: 4px; text-align: center; }
.connection-details a { display: inline-block; margin-top: 13px; color: #75dadd; font-size: 13px; font-weight: 700; text-decoration: none; }

/* The map stays the canvas; the controls read as a small set of floating instruments. */
.topbar { height: 76px; gap: 38px; padding: 0 24px; background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand img { width: 41px; height: 41px; }
.brand-name { font-size: 24px; letter-spacing: -.9px; }
.brand-section { color: #a8c8d1; font-size: 11px; }
.primary-controls { gap: 9px; }
#layer-mode { min-height: 45px; min-width: 235px; padding-left: 17px; border-color: rgba(155, 216, 225, .25); border-radius: 15px; color: #f2fdfe; background-color: rgba(29, 67, 79, .65); font-size: 13px; box-shadow: inset 0 1px rgba(255,255,255,.07); }
.icon-button { min-height: 45px; padding: 0 16px; border-color: rgba(155, 216, 225, .17); border-radius: 14px; color: #d5e9ed; background: rgba(23, 57, 69, .44); font-size: 13px; }
.icon-button:hover, .icon-button[aria-expanded="true"] { border-color: rgba(99, 223, 225, .53); background: rgba(48, 106, 117, .48); }
.account-button { min-height: 42px; padding: 0 16px; border-radius: 13px; font-size: 12px; }
.map-shell { inset: 0; }
.control-panel { top: auto; bottom: 81px; left: 22px; width: 365px; max-height: calc(100dvh - 175px); padding: 24px; border-color: rgba(166, 220, 229, .25); border-radius: 26px; background: radial-gradient(circle at 0 0, rgba(42, 101, 116, .25), transparent 40%), linear-gradient(145deg, rgba(16, 45, 58, .94), rgba(7, 27, 38, .9)); box-shadow: 0 30px 70px rgba(0, 0, 0, .39), inset 0 1px rgba(255,255,255,.1); backdrop-filter: blur(30px) saturate(140%); -webkit-backdrop-filter: blur(30px) saturate(140%); opacity: 0; transform: translateY(13px) scale(.965); transform-origin: bottom left; pointer-events: none; transition: opacity .22s ease, transform .28s cubic-bezier(.2, .75, .2, 1); }
.control-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.panel-heading { margin-bottom: 26px; }
.eyebrow { color: #7ee1e2; font-size: 10px; letter-spacing: 1.7px; }
.panel-heading h1 { margin-top: 9px; font-size: 25px; font-weight: 750; letter-spacing: -.9px; }
.panel-close { width: 34px; height: 34px; border-radius: 12px; font-size: 22px; }
.field-label { margin-bottom: 10px; color: #c7dce1; font-size: 12px; font-weight: 700; }
.search-field { min-height: 52px; border-color: rgba(150, 205, 215, .25); border-radius: 15px; background: rgba(3, 18, 27, .55); }
.search-field input { font-size: 13px; }
.search-field button { min-width: 55px; border-radius: 11px; font-size: 12px; }
.search-status { font-size: 11px; }
.search-results { border-radius: 15px; }
.search-results button { font-size: 12px; }
.control-group { margin-top: 23px; }
#region { min-height: 48px; padding-left: 15px; border-radius: 14px; font-size: 13px; }
.settings-section { margin-top: 24px; padding-top: 22px; border-top-color: rgba(165, 211, 219, .19); }
.section-heading h2 { color: #f0fafb; font-size: 13px; }
.section-caption { color: #91b6c0; font-size: 9px; }
.settings-row { margin-top: 20px; font-size: 12px; }
.settings-row output { color: #dff2f4; }
#opacity { height: 6px; margin-top: 17px; }
.map-footer-nav { position: absolute; z-index: 9; left: 22px; bottom: 24px; display: flex; align-items: center; gap: 10px; }
.map-footer-nav.menu-open { z-index: 16; }
#layer-mode.sr-only { position: absolute; width: 1px; height: 1px; min-width: 0; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.layer-picker { position: relative; width: max-content; max-width: calc(100vw - 155px); flex: 0 0 auto; min-width: 0; }
.layer-trigger { display: flex; align-items: center; gap: 11px; width: auto; min-height: 48px; padding: 0 14px; border: 1px solid rgba(133, 218, 226, .38); border-radius: 17px; color: #f2fcfd; background: linear-gradient(135deg, rgba(24, 65, 77, .96), rgba(9, 34, 45, .94)); box-shadow: 0 12px 32px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(16px); font-size: 13px; font-weight: 700; text-align: left; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.layer-trigger:hover, .layer-trigger[aria-expanded="true"] { border-color: rgba(105, 233, 231, .9); box-shadow: 0 0 0 3px rgba(82, 216, 218, .13), 0 12px 32px rgba(0,0,0,.35); }
.layer-trigger-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 9px; color: #79e5e4; background: rgba(97, 216, 218, .12); }
.layer-picker[data-mode="satellite"] .layer-trigger-icon { color: #a6ddff; background: rgba(91, 154, 229, .15); }
.layer-trigger svg, .layer-option svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.layer-trigger-icon svg { width: 18px; height: 18px; }
.layer-option-icon svg { width: 20px; height: 20px; }
#layer-current { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.layer-chevron { width: 16px !important; height: 16px !important; flex: 0 0 auto; color: #b6d4dc; transition: transform .2s; }
.layer-trigger[aria-expanded="true"] .layer-chevron { transform: rotate(180deg); }
.layer-menu { position: relative; z-index: 50; width: min(330px, calc(100vw - 20px)); padding: 10px; border: 1px solid rgba(145, 218, 226, .36); border-radius: 20px; color: #effafb; background: linear-gradient(145deg, rgba(18, 51, 63, .98), rgba(6, 25, 35, .98)); box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.1); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); }
.layer-menu:not([hidden]) { animation: layer-menu-enter .2s cubic-bezier(.2,.75,.2,1) both; }
@keyframes layer-menu-enter { from { opacity: 0; transform: translateY(9px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.layer-menu-eyebrow { display: block; padding: 7px 11px 10px; color: #8cdde0; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.layer-option { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px; border: 1px solid transparent; border-radius: 13px; color: #dceff2; background: transparent; cursor: pointer; outline: none; text-align: left; transition: background-color .18s, border-color .18s; }
.layer-option:hover, .layer-option:focus-visible { background: rgba(118, 222, 226, .1); }
.layer-option[aria-checked="true"] { border-color: rgba(107, 218, 223, .24); background: rgba(94, 205, 211, .12); }
.layer-option-icon { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 auto; border-radius: 11px; color: #8ce5e5; background: rgba(96, 211, 216, .11); }
.layer-option[data-layer-value="satellite"] .layer-option-icon { color: #a6ddff; background: rgba(91, 154, 229, .15); }
.layer-option-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.layer-option-copy strong { font-size: 13px; }
.layer-option-copy small { color: #a4c2ca; font-size: 11px; }
.layer-check { color: #75e1df; font-size: 17px; font-weight: 800; opacity: 0; }
.layer-option[aria-checked="true"] .layer-check { opacity: 1; }
.footer-controls { position: relative; width: auto; min-height: 48px; padding: 0 17px; border-color: rgba(129, 211, 218, .4); border-radius: 16px; color: #e7f8fa; background: linear-gradient(135deg, rgba(21, 65, 78, .92), rgba(9, 34, 45, .94)); box-shadow: 0 12px 32px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.13); backdrop-filter: blur(16px); }
.footer-controls[aria-expanded="true"] { border-color: rgba(112, 229, 227, .75); background: rgba(35, 96, 107, .9); }
.footer-controls[aria-expanded="true"]::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 13px; background: linear-gradient(0deg, rgba(112,229,227,.75), rgba(112,229,227,.2)); }
.wind-toggle { width: auto; min-height: 48px; padding: 0 15px; border: 1px solid rgba(129, 211, 218, .35); border-radius: 16px; color: #c9e5e8; background: rgba(8, 31, 42, .88); backdrop-filter: blur(16px); font-size: 12px; font-weight: 700; }
.wind-toggle[aria-pressed="true"] { border-color: rgba(112, 229, 227, .8); color: #eaffff; background: rgba(34, 103, 113, .9); box-shadow: 0 0 20px rgba(80, 208, 215, .2); }
.wind-toggle[aria-busy="true"] { opacity: .65; }
.control-panel .map-legend { position: static; width: 100%; margin-top: 22px; padding: 17px; border-color: rgba(156, 215, 223, .2); border-radius: 19px; background: rgba(3, 21, 31, .43); box-shadow: inset 0 1px rgba(255,255,255,.06); backdrop-filter: none; -webkit-backdrop-filter: none; }
.sync-stamp { top: 94px; left: 22px; min-width: 165px; padding: 14px 17px; border-color: rgba(161, 218, 225, .23); border-radius: 18px; background: rgba(9, 31, 43, .78); backdrop-filter: blur(22px); }
.live-indicator { color: #b3ced5; font-size: 10px; }
.sync-stamp strong { font-size: 20px; }
.maplibregl-ctrl-bottom-right { right: 18px !important; bottom: 132px !important; }
.fullscreen-button { right: 18px; bottom: 222px; }
.map-action, .maplibregl-ctrl-group { border-radius: 15px !important; background: rgba(13, 37, 49, .78) !important; backdrop-filter: blur(14px); }
.notice { top: 94px; right: 128px; padding: 11px 15px; border-color: rgba(169, 220, 226, .22); color: #e0f3f5; background: rgba(12, 38, 50, .84); font-size: 12px; }
.timeline { width: 380px; min-width: 0; padding: 11px 14px 12px; border: 1px solid rgba(151, 209, 217, .25); border-radius: 22px; background: linear-gradient(130deg, rgba(8, 28, 37, .92), rgba(5, 19, 27, .93)); box-shadow: 0 18px 55px rgba(0, 0, 0, .48), inset 0 1px rgba(255,255,255,.09); backdrop-filter: blur(28px) saturate(130%); -webkit-backdrop-filter: blur(28px) saturate(130%); }
.timeline::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: radial-gradient(circle at 17% 0%, rgba(76, 226, 224, .18), transparent 42%); pointer-events: none; }
.sync-stamp[data-live="true"] .live-indicator i { animation: live-pulse 2.2s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.5), 0 0 8px rgba(255,255,255,.8); } 50% { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(255,255,255,0), 0 0 13px rgba(255,255,255,1); } }
.timeline-controls { grid-template-columns: 38px 46px 38px minmax(90px,1fr); gap: 7px; margin-top: 0; }
.skip-frame { width: 38px; height: 38px; border-radius: 50%; border-color: rgba(168, 225, 231, .28); color: #e2f4f5; background: radial-gradient(circle at 30% 20%, rgba(124, 207, 214, .18), rgba(255,255,255,.035) 70%); }
.skip-frame svg { width: 20px; height: 20px; stroke-width: 1.8; }
#play { width: 46px; height: 46px; border-radius: 50%; color: #062329; background: radial-gradient(circle at 30% 20%, #a9fff4, #52d9d6 60%, #25afbd); box-shadow: 0 0 0 4px rgba(68, 208, 211, .11), 0 9px 23px rgba(36, 183, 192, .3), inset 0 1px rgba(255,255,255,.62); }
#play svg { width: 21px; height: 21px; }
#play .play-icon { margin-left: 3px; }
.slider-wrap { padding: 0 2px; }
#timeline { height: 4px; }
.timeline-labels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 15px; color: #a8c2c9; font-size: 8px; }
.timeline-labels span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline-labels span:last-child { text-align: right; }
.attribution { color: #b2cbd1; font-size: 9px; }

/* One floating search pill over the map, matching the supplied layout. */
.topbar { gap: 16px; align-items: flex-start; padding: 14px 20px; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.header-search-shell { display: flex; align-items: center; gap: 9px; width: min(560px, calc(100vw - 175px)); height: 60px; padding: 6px 7px 6px 16px; border: 1px solid rgba(92, 175, 191, .13); border-radius: 999px; background: rgba(5, 31, 42, .94); box-shadow: 0 13px 35px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.05); backdrop-filter: blur(18px); }
.header-search-shell .brand { gap: 5px; min-width: 0; color: #49c5d0; }
.header-search-shell .brand img { width: 33px; height: 33px; }
.header-search-shell .brand-name { color: #49c5d0; font-size: 21px; letter-spacing: 0; font-weight:400 }
.topbar .header-right { align-self: center; }
.header-search { position: relative; z-index: 21; min-width: 0; flex: 1 1 auto; }
#location-search { display: flex; align-items: center; height: 43px; padding: 3px 7px 3px 15px; border: 1px solid rgba(99, 169, 185, .16); border-radius: 999px; background: rgba(5, 27, 38, .72); box-shadow: inset 0 1px 3px rgba(0,0,0,.1); transition: border-color .2s, box-shadow .2s; }
#location-search:focus-within { border-color: #50d0d7; box-shadow: 0 0 0 3px rgba(80, 208, 215, .15); }
#location-query { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; color: #eaf7f9; background: transparent; font-size: 13px; }
#location-query::placeholder { color: #91aeb7; }
#location-query::-webkit-search-cancel-button { cursor: pointer; }
#location-query:focus-visible { outline: 0; }
#search-button { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; color: #209eaf; background: transparent; transition: transform .2s, background-color .2s; }
#search-button:hover { transform: scale(1.06); background: rgba(80, 208, 215, .12); }
.header-locate { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; color: #07303a; background: linear-gradient(145deg, #3fc0ce, #23a5b6); box-shadow: 0 5px 14px rgba(48, 188, 194, .22); transition: transform .2s, filter .2s; }
.header-locate:hover { transform: scale(1.05); filter: brightness(1.05); }
.search-popover { position: absolute; top: calc(100% + 10px); left: 0; width: 100%; padding: 10px; border: 1px solid rgba(142, 216, 224, .3); border-radius: 20px; background: linear-gradient(145deg, rgba(16, 47, 60, .98), rgba(6, 24, 34, .98)); box-shadow: 0 22px 55px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(24px); animation: search-enter .18s ease-out both; }
@keyframes search-enter { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.search-popover .search-status { margin: 0; padding: 9px 12px 11px; color: #8edee0; font-size: 11px; font-weight: 800; letter-spacing: .9px; }
.search-popover .search-results { max-height: min(370px, 50dvh); margin: 0; padding: 0 3px 0 0; border: 0; background: transparent; scrollbar-width: thin; scrollbar-color: rgba(118, 202, 212, .5) transparent; }
.search-popover .search-results li + li { border-top: 1px solid rgba(150, 205, 213, .08); }
.search-popover .search-results button { display: block; width: 100%; min-height: 48px; padding: 12px 13px; overflow: hidden; border-radius: 11px; color: #e7f5f7; font-size: 14px; font-weight: 550; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.search-popover .search-results button:hover, .search-popover .search-results button:focus-visible { color: #fff; background: rgba(86, 204, 211, .17); outline: 0; }

@media (max-width: 850px) {
  .topbar { gap: 10px; padding: 12px; }
  .header-search-shell { width: min(560px, calc(100vw - 137px)); }
  .brand-section { display: none; }
  .timeline { left: 20px; width: min(380px, calc(100% - 40px)); min-width: 0; transform: none; }
  .notice { right: 112px; max-width: calc(100% - 330px); }
  .map-footer-nav { bottom: 120px; }
  .control-panel { bottom: 177px; max-height: calc(100dvh - 265px); }
}
@media (max-width: 620px) {
  .topbar { height: 62px; gap: 8px; padding: 9px 8px; }
  .header-search-shell { width: calc(100vw - 116px); height: 47px; gap: 5px; padding: 4px 4px 4px 8px; }
  .header-search-shell .brand img { width: 28px; height: 28px; }
  .header-search-shell .brand-name { font-size: 16px; }
  .header-search { width: auto; flex: 1 1 auto; }
  #location-search { height: 35px; padding-left: 10px; }
  #location-query { font-size: 11px; }
  #search-button { width: 26px; height: 26px; }
  #search-button svg { width: 16px; height: 16px; }
  .header-locate { width: 35px; height: 35px; }
  .header-locate svg { width: 16px; height: 16px; }
  .brand { gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 18px; }
  .primary-controls { gap: 3px; flex: 1; justify-content: flex-end; }
  .icon-button { width: 37px; min-height: 37px; padding: 0; }
  .icon-button span { display: none; }
  .icon-button svg { width: 17px; height: 17px; }
  .account-button { padding: 8px 9px; font-size: 9px; white-space: nowrap; }
  .map-shell { inset: 0; }
  .maplibregl-ctrl-bottom-right { right: 12px !important; bottom: 158px !important; }
  .maplibregl-ctrl-group button { width: 34px; height: 34px; }
  .sync-stamp { top: 73px; left: 12px; min-width: 124px; padding: 9px 11px; border-radius: 11px; }
  .live-indicator { font-size: 8px; }
  .sync-stamp strong { font-size: 15px; }
  .fullscreen-button { right: 12px; bottom: 236px; width: 36px; height: 36px; }
  .map-tools { right: 12px; bottom: 185px; }
  .map-action { width: 36px; height: 36px; border-radius: 11px; }
  .notice { top: 132px; right: auto; left: 12px; max-width: min(260px, calc(100% - 80px)); padding: 7px 10px; font-size: 9px; }
  .control-panel { top: auto; bottom: 178px; left: 10px; width: min(350px, calc(100% - 20px)); max-height: calc(100dvh - 250px); padding: 16px; border-radius: 16px; }
  .panel-heading h1 { font-size: 22px; }
  .map-footer-nav { bottom: 126px; left: 10px; gap: 7px; }
  .layer-picker { width: max-content; max-width: calc(100vw - 155px); flex-basis: auto; }
  .layer-trigger { min-height: 42px; padding: 0 9px; gap: 7px; border-radius: 14px; font-size: 11px; }
  .layer-trigger-icon { width: 24px; height: 24px; border-radius: 7px; }
  .layer-trigger-icon svg { width: 15px; height: 15px; }
  .footer-controls { width: auto; min-height: 42px; padding: 0 12px; border-radius: 14px; }
  .footer-controls span { display: inline; }
  .wind-toggle { min-height: 42px; padding: 0 10px; border-radius: 14px; }
  .wind-toggle span { display: none; }
  .control-panel .map-legend { padding: 13px 15px; border-radius: 18px; }
  .legend-heading { margin-bottom: 8px; }
  .legend-scale + .legend-scale { margin-top: 9px; }
  .legend-ramp { height: 8px; margin: 6px 0 5px; }
  .legend-note { margin-top: 8px; padding-top: 7px; }
  .timeline { right: 10px; bottom: 24px; left: 10px; width: auto; min-width: 0; padding: 10px 12px 11px; border-radius: 19px; }
  .timeline-controls { grid-template-columns: 36px 44px 36px minmax(40px,1fr); gap: 6px; margin-top: 0; }
  .skip-frame { width: 36px; height: 36px; border-radius: 50%; }
  .skip-frame svg { width: 18px; height: 18px; }
  #play { width: 44px; height: 44px; border-radius: 50%; }
  .timeline-labels { margin-top: 15px; font-size: 7px; }
  .map-coordinate { display: none; }
  .attribution { right: 7px; bottom: 5px; gap: 5px; font-size: 7px; }
  .map-status { right: 10px; bottom: 27px; font-size: 9px; }
  .layer-loading { right: 10px; bottom: 27px; font-size: 9px; }
  .login-dialog { padding: 30px 24px; border-radius: 22px; }
  .dialog-mark { margin-bottom: 25px; }
  .login-dialog h2 { font-size: 29px; }
  .login-dialog > p { font-size: 14px; }
  .primary { min-height: 54px; margin-top: 22px; font-size: 14px; }
  .login-dialog > .dialog-footnote { padding: 12px; font-size: 12px; }
}
@media (max-width: 390px) {
  .header-search-shell .brand-name { display: none; }
  .header-search { min-width: 0; }
  .primary-controls { justify-content: flex-start; }
  .layer-picker { max-width: 46vw; }
  .header-right { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* Compact floating radar cards, matching the extension controls. */
.header-search-shell, .sync-stamp, .timeline, .layer-trigger, .wind-toggle, .footer-controls, .control-panel, .map-legend, .layer-menu, .search-popover, .notice, .map-status, .attribution, .map-action, .maplibregl-ctrl-group {
  border: 0 !important;
  background: rgba(0, 0, 0, .38) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.header-search-shell { width: min(455px, calc(100vw - 175px)); height: 46px; gap: 6px; padding: 4px 5px 4px 10px; }
.header-search-shell .brand img { width: 27px; height: 27px; }
.header-search-shell .brand-name { font-size: 17px; }
#location-search { height: 34px; padding-left: 10px; }
#location-query { font-size: 11px; }
.header-locate { width: 34px; height: 34px; }
.sync-stamp { top: 75px; min-width: 125px; padding: 9px 11px; gap: 4px; border-radius: 11px; }
.sync-stamp strong { font-size: 15px; }
.live-indicator { font-size: 8px; }
.map-footer-nav { gap: 6px; bottom: 16px; }
.layer-trigger, .wind-toggle, .footer-controls { min-height: 36px; gap: 6px; padding: 0 10px; border-radius: 10px; font-size: 11px; }
.layer-trigger-icon { width: 23px; height: 23px; border-radius: 6px; }
.layer-trigger-icon svg { width: 15px; height: 15px; }
.wind-toggle[aria-pressed='true'], .footer-controls[aria-expanded='true'] { color: #fff; box-shadow: inset 0 0 0 1px rgba(118,225,225,.38); }
.control-panel { bottom: 62px; width: 300px; max-height: calc(100dvh - 150px); padding: 16px; border-radius: 14px; }
.control-panel .map-legend { margin-top: 14px; padding: 12px; border-radius: 10px; }
.layer-menu { width: min(280px, calc(100vw - 20px)); padding: 7px; border-radius: 12px; }
.layer-option { gap: 8px; padding: 8px; }
.layer-option-icon { width: 30px; height: 30px; }
.timeline { bottom: 16px; width: 290px; padding: 7px 9px; border-radius: 12px; }
.timeline::before { display: none; }
.timeline-controls { grid-template-columns: 28px 32px 28px minmax(65px, 1fr); gap: 5px; }
.skip-frame { width: 28px; height: 28px; border: 0; background: transparent; box-shadow: none; }
.skip-frame svg { width: 16px; height: 16px; }
#play { width: 32px; height: 32px; box-shadow: none; }
#play svg { width: 16px; height: 16px; }
.timeline-labels { margin-top: 8px; }
.map-action { width: 32px; height: 32px; border-radius: 10px !important; }
.maplibregl-ctrl-group { border-radius: 10px !important; }
.maplibregl-ctrl-group button { width: 32px; height: 32px; }
.maplibregl-ctrl-group button + button { border-top: 0 !important; }
.fullscreen-button { bottom: 205px; }
@media (max-width: 850px) {
  .header-search-shell { width: min(455px, calc(100vw - 137px)); }
  .timeline { left: 12px; width: min(290px, calc(100% - 24px)); }
  .map-footer-nav { bottom: 75px; left: 12px; }
  .control-panel { bottom: 120px; max-height: calc(100dvh - 205px); }
}
@media (max-width: 620px) {
  .header-search-shell { width: calc(100vw - 116px); height: 40px; }
  .header-search-shell .brand img { width: 25px; height: 25px; }
  .header-search-shell .brand-name { font-size: 15px; }
  #location-search { height: 31px; }
  .header-locate { width: 30px; height: 30px; }
  .sync-stamp { top: 62px; left: 10px; min-width: 108px; padding: 7px 9px; }
  .timeline { right: 10px; bottom: 15px; left: 10px; width: auto; padding: 7px 9px; }
  .timeline-controls { grid-template-columns: 28px 32px 28px minmax(40px, 1fr); }
  .map-footer-nav { bottom: 74px; left: 10px; }
  .control-panel { bottom: 118px; left: 10px; width: min(300px, calc(100% - 20px)); max-height: calc(100dvh - 190px); }
  .notice { top: 108px; }
}

/* Selected location marker matches the extension radar. */
.radar-selected-location-dot { position: relative; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(255, 243, 226, .98); border-radius: 50%; background: rgba(55, 29, 14, .88); box-shadow: 0 1px 8px #0009, inset 0 0 0 2px rgba(255, 156, 63, .2); pointer-events: none; }
.radar-selected-location-dot::before { content: ''; position: absolute; inset: -5px; border: 1px solid rgba(255, 178, 94, .65); border-radius: 50%; background: rgba(255, 156, 63, .12); box-shadow: 0 0 12px rgba(255, 145, 48, .38); }
.radar-selected-location-dot__core { position: relative; z-index: 1; width: 8px; height: 8px; border: 1px solid #fff; border-radius: 50%; background: #ff983d; box-shadow: 0 0 0 2px rgba(255, 152, 61, .32), 0 0 10px rgba(255, 152, 61, .85); }
.radar-selected-location-dot--loading::after { content: ''; position: absolute; inset: -7px; border: 2px solid #ff983d; border-radius: 50%; animation: radar-marker-pulse 1.6s ease-out infinite; }
@keyframes radar-marker-pulse { 0% { opacity: .85; transform: scale(.65); } 100% { opacity: 0; transform: scale(1.7); } }
@media (prefers-reduced-motion: reduce) { .radar-selected-location-dot--loading::after { animation: none; opacity: .7; } }
.weatherly-location.radar-selected-location-dot { pointer-events: auto; }
.weatherly-location.radar-selected-location-dot:focus-visible { outline: 2px solid #ffb25e; outline-offset: 8px; }
