:root {
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px); --sl: env(safe-area-inset-left, 0px); --sr: env(safe-area-inset-right, 0px);
  --panel: rgba(18, 22, 31, 0.86);
  --panel-solid: #141923;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9edf3;
  --muted: #8f9aad;
  --accent: #D96C4F;
  --accent-soft: rgba(217, 108, 79, 0.18);
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --drawer-w: 264px;
  --bar-h: 44px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; background: #0b0e14; color: var(--text); font-family: var(--font); font-size: 14px; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
#map { position: fixed; inset: 0; background: #0b0e14; }

.leaflet-container { font-family: var(--font); background: #0b0e14; }
/* Esri's grey place names are made for a dark basemap; brighten them and add a dark halo so
   they stay readable on top of the weather colours. */
.leaflet-labels-pane { filter: brightness(1.45) drop-shadow(0 0 1px rgba(0, 0, 0, .9)) drop-shadow(0 0 2px rgba(0, 0, 0, .5)); }
.leaflet-bottom.leaflet-right { bottom: calc(80px + var(--sb)); right: 12px; transition: right .25s ease, bottom .25s ease; }
body.menu-open .leaflet-bottom.leaflet-right { right: calc(var(--drawer-w) + 12px); }
body.has-forecast .leaflet-bottom.leaflet-right { bottom: calc(420px + var(--sb)); }
.leaflet-bottom.leaflet-right .leaflet-control { margin: 0; }
.map-download { margin-bottom: 8px !important; }
.leaflet-control-zoom { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; overflow: hidden; box-shadow: var(--shadow); }
.leaflet-control-zoom a { width: var(--bar-h) !important; height: var(--bar-h) !important; line-height: var(--bar-h) !important; font-size: 24px !important; font-weight: 400; background: var(--panel) !important; color: var(--text) !important; border-color: var(--line) !important; backdrop-filter: blur(10px); }
.leaflet-control-zoom a:hover { background: rgba(40, 46, 60, .92) !important; }
.radar-img { image-rendering: auto; }

/* Top bar: logo, info and search (top left) */
.topbar { position: fixed; top: calc(12px + var(--st)); left: calc(12px + var(--sl)); z-index: 1000; display: flex; align-items: center; gap: 8px; }
.search-wrap { position: relative; }
.search-ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); }
#search { width: 280px; height: var(--bar-h); padding: 0 12px 0 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; backdrop-filter: blur(10px); box-shadow: var(--shadow); outline: none; }
#search:focus { border-color: rgba(217, 108, 79, 0.6); }
.search-results { position: absolute; top: 50px; left: 0; width: 320px; max-width: calc(100vw - 24px); background: var(--panel-solid); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.search-results button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 12px; }
.search-results button:hover, .search-results button.active { background: rgba(255, 255, 255, 0.07); }
.sr-ico { color: var(--accent); width: 14px; text-align: center; flex: none; font-size: 11px; }
.sr-text { display: flex; flex-direction: column; min-width: 0; }
.sr-text b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-text small { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-loading { padding: 8px 12px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }

/* Logo + info */
.logo { overflow: hidden; background: #F4EFE8 !important; }
.logo img { display: block; width: 100%; height: 100%; }
.modal-logo { border-radius: 8px; flex: none; }
.logo, .square-btn { flex: none; width: var(--bar-h); height: var(--bar-h); display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.square-btn { color: #cfd6e2; }
.square-btn:hover { color: #fff; background: rgba(40, 46, 60, .92); }

/* Layer drawer (right edge) */
.menu-tab { position: fixed; top: calc(12px + var(--st)); right: 0; z-index: 1000; display: flex; align-items: center; gap: 6px; height: var(--bar-h); max-width: 220px; padding: 0 14px 0 10px; background: var(--panel); border: 1px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); backdrop-filter: blur(10px); box-shadow: var(--shadow); color: var(--text); transition: transform .25s ease, opacity .2s; }
.menu-tab:hover { background: rgba(40, 46, 60, .92); }
.tab-chev { color: var(--muted); flex: none; }
.menu-current { display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.menu-current span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-current svg { color: var(--accent); flex: none; }
body.menu-open .menu-tab { transform: translateX(110%); opacity: 0; pointer-events: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: var(--drawer-w); z-index: 1001; display: flex; flex-direction: column; background: rgba(16, 20, 29, .96); border-left: 1px solid var(--line); box-shadow: -8px 0 28px rgba(0, 0, 0, .45); backdrop-filter: blur(12px); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
body.menu-open .drawer { transform: none; visibility: visible; transition: transform .25s ease; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: calc(14px + var(--st)) calc(10px + var(--sr)) 10px 16px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-title { font-weight: 700; font-size: 15px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px calc(8px + var(--sr)) calc(12px + var(--sb)); scrollbar-width: thin; }
.menu-group + .menu-group, #menu-layers + .menu-group { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 4px; }
.menu-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); padding: 9px 10px 5px; }
.menu-item, .toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border-radius: 8px; text-align: left; color: #cfd6e2; transition: background .15s, color .15s; }
.menu-item:hover, .toggle:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.menu-item.active { background: var(--accent); color: #fff; }
.menu-item svg, .toggle svg { flex: none; opacity: .9; }
.toggle span { flex: 1; }
.toggle i { width: 28px; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.15); position: relative; transition: background .2s; flex: none; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle.on i { background: var(--accent); }
.toggle.on i::after { transform: translateX(12px); }

/* Hidden interface */
body.ui-hidden .topbar, body.ui-hidden .menu-tab, body.ui-hidden .drawer, body.ui-hidden .bottom,
body.ui-hidden .leaflet-control-container, body.ui-hidden .forecast, body.ui-hidden .readout,
body.ui-hidden .busy, body.ui-hidden .toast, body.ui-hidden .search-results { display: none !important; }
.ui-hint { position: fixed; top: calc(16px + var(--st)); left: 50%; transform: translateX(-50%); z-index: 1500; background: rgba(12, 15, 22, .88); border: 1px solid var(--line); padding: 8px 14px; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow); pointer-events: none; }
.ui-restore { display: none; position: fixed; right: 12px; bottom: calc(12px + var(--sb)); z-index: 1500; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: rgba(12, 15, 22, .55); border: 1px solid var(--line); color: #fff; opacity: .7; }
@media (pointer: coarse) { body.ui-hidden .ui-restore { display: grid; } }

/* Export dialog */
.export-card { width: min(980px, 100%); }
.export-title { margin: 0; font-size: 17px; }
.export-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 18px 18px; min-height: 0; overflow: auto; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(255, 255, 255, .05); padding: 4px; border-radius: 10px; }
.seg button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 12px; border-radius: 8px; font-weight: 600; color: #cfd6e2; text-align: left; }
.seg button small { font-weight: 400; font-size: 11px; color: var(--muted); }
.seg button.on { background: var(--accent-soft); color: #fff; box-shadow: inset 0 0 0 1px rgba(217, 108, 79, .6); }
.export-preview { display: grid; place-items: center; background: repeating-conic-gradient(#1a1f2b 0 25%, #151a24 0 50%) 0 0 / 20px 20px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-height: 200px; }
.export-preview img { max-width: 100%; max-height: 58vh; border-radius: 4px; box-shadow: var(--shadow); }
.export-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.export-status { color: var(--muted); font-size: 12px; }
.primary-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; }
.primary-btn:hover { filter: brightness(1.1); }
.primary-btn:disabled { opacity: .5; cursor: default; filter: none; }

/* Info dialog */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(5, 7, 11, .6); backdrop-filter: blur(3px); }
.modal-card { width: min(640px, 100%); max-height: min(86vh, 900px); display: flex; flex-direction: column; background: var(--panel-solid); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 12px 18px; border-bottom: 1px solid var(--line); }
.modal-brand { display: flex; align-items: center; gap: 12px; }
.modal-brand h2 { margin: 0; font-size: 18px; }
.modal-sub { color: var(--muted); font-size: 12px; }
.modal-body { overflow-y: auto; padding: 6px 18px 18px; line-height: 1.5; color: #cfd6e2; scrollbar-width: thin; }
.modal-body h3 { margin: 18px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.modal-body ul { margin: 0; padding-left: 18px; }
.modal-body li { margin: 4px 0; }
.modal-body b { color: #fff; }
.modal-body a { color: #ff8a98; }
.credits li { font-size: 13px; }
.info-status { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; margin: 0; font-size: 13px; }
.info-status dt { color: var(--muted); }
.info-status dd { margin: 0; color: #fff; }
kbd { font: 600 11px var(--font); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 4px; padding: 1px 5px; }
.disclaimer { margin-top: 18px; font-size: 12px; color: var(--muted); }
.imprint-link { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.imprint-link a { color: #cfd6e2; }

/* Bottom bar */
.bottom { position: fixed; left: calc(12px + var(--sl)); right: calc(12px + var(--sr)); bottom: calc(12px + var(--sb)); z-index: 1000; display: flex; align-items: stretch; gap: 10px; pointer-events: none; transition: right .25s ease; }
body.menu-open .bottom { right: calc(var(--drawer-w) + 12px); }
body.no-legend .timeline { flex: 1; width: auto; }
.bottom > * { pointer-events: auto; }
.legend { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.lg-row { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.legend.multi { flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; padding-block: 5px; }
.legend.multi .lg-bar { height: 15px; }
.lg-unit { color: var(--muted); font-size: 11px; min-width: 30px; }
.sat-img { image-rendering: auto; }
.lg-bar { position: relative; flex: 1; min-width: 70px; height: 18px; border-radius: 4px; }
.lg-bar span { position: absolute; top: 50%; transform: translate(-50%, -50%); font-size: 10px; font-weight: 600; color: #fff; text-shadow: 0 0 3px rgba(0, 0, 0, .9), 0 0 2px #000; }
.timeline { flex: none; width: calc(100vw * 2 / 3); display: flex; align-items: stretch; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.play { flex: none; width: 44px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.play:hover { filter: brightness(1.1); }
.tl-track { position: relative; flex: 1; height: 46px; cursor: pointer; touch-action: none; user-select: none; }
.tl-days { position: absolute; inset: 0 0 auto 0; height: 18px; }
.tl-day { position: absolute; top: 0; height: 18px; border-left: 1px solid rgba(255, 255, 255, .14); overflow: hidden; }
.tl-day span { font-size: 11px; color: var(--muted); padding-left: 6px; white-space: nowrap; }
.tl-ticks { position: absolute; left: 0; right: 0; bottom: 4px; height: 22px; }
.tl-ticks i { position: absolute; bottom: 0; width: 1px; height: 5px; background: rgba(255, 255, 255, .2); }
.tl-ticks i.major { height: 9px; background: rgba(255, 255, 255, .45); }
.tl-ticks b { position: absolute; bottom: 10px; left: 0; transform: translateX(-50%); font-size: 10px; font-weight: 500; color: #aab3c2; }
.tl-progress { position: absolute; left: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, rgba(217, 108, 79, .25), var(--accent)); border-radius: 2px; pointer-events: none; }
.tl-now { position: absolute; top: 16px; bottom: 0; width: 2px; background: rgba(255, 255, 255, .5); pointer-events: none; }
.tl-handle { position: absolute; bottom: 0; top: 0; width: 0; pointer-events: none; }
.tl-handle::after { content: ""; position: absolute; bottom: -3px; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--accent); }
.tl-bubble { position: absolute; bottom: 54px; left: 0; transform: translateX(-50%); background: #fff; color: #10141c; font-weight: 600; font-size: 12px; padding: 4px 9px; border-radius: 7px; white-space: nowrap; box-shadow: var(--shadow); }
.tl-range { position: absolute; top: 16px; bottom: 0; background: rgba(217, 108, 79, .16); border-bottom: 3px solid var(--accent); border-radius: 3px 3px 0 0; pointer-events: none; }
.tl-handle.tl-start::before, .tl-handle.tl-end::before { content: ""; position: absolute; top: 16px; bottom: 0; left: -1px; width: 2px; background: var(--accent); }
.tl-range-bubble { bottom: 54px; transform: translateX(-50%); pointer-events: none; }
.tl-bubble::after { content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%) rotate(45deg); width: 8px; height: 8px; background: #fff; }

/* Readout & status */
.readout { position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none; background: rgba(12, 15, 22, .9); border: 1px solid var(--line); border-left: 4px solid var(--sw, #fff); padding: 3px 8px; border-radius: 6px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.ro-dir { color: var(--muted); font-weight: 500; margin-left: 2px; }
.busy { position: fixed; top: calc(70px + var(--st)); left: 50%; transform: translateX(-50%); z-index: 1000; background: var(--panel); border-radius: 20px; padding: 6px 10px; border: 1px solid var(--line); }
.toast { position: fixed; top: calc(70px + var(--st)); left: 50%; transform: translateX(-50%); z-index: 1002; background: #3a1820; border: 1px solid #7a2a3a; padding: 8px 14px; border-radius: 10px; max-width: 90vw; }
.boot { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1002; background: var(--panel-solid); border: 1px solid var(--line); padding: 14px 18px; border-radius: 12px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stations */
.st-icon { background: none; border: 0; }
.st-label { transform: translate(-50%, -50%); background: rgba(12, 15, 22, .78); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 11px; font-weight: 600; padding: 1px 5px; border-radius: 9px; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; cursor: pointer; }
.st-label small { font-weight: 400; color: #b7c0cf; margin-left: 1px; }
.st-label:hover { background: var(--accent); border-color: var(--accent); }
/* Town forecast values sit just below the town, so the place name above stays readable. */
.fv-label { transform: translate(-50%, 9px); background: color-mix(in srgb, var(--sw, #888) 88%, #000); border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 9px; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; cursor: pointer; text-shadow: 0 0 2px rgba(0, 0, 0, .8), 0 0 1px #000; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.fv-label:hover { border-color: #fff; filter: brightness(1.15); }
.st-arrow { display: inline-block; font-size: 11px; line-height: 1; }
.dark-popup .leaflet-popup-content-wrapper, .dark-popup .leaflet-popup-tip { background: var(--panel-solid); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dark-popup .leaflet-popup-content { margin: 12px 14px; }
.dark-popup a.leaflet-popup-close-button { color: var(--muted); }
.st-name { font-weight: 700; font-size: 14px; }
.st-meta { color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.st-pop table { border-collapse: collapse; width: 100%; font-size: 12px; }
.st-pop th { text-align: left; font-weight: 400; color: var(--muted); padding: 2px 10px 2px 0; }
.st-pop td { text-align: right; font-weight: 600; }
.st-fc { margin-top: 10px; width: 100%; padding: 7px; border-radius: 8px; background: var(--accent-soft); color: #fff; font-weight: 600; }
.st-fc:hover { background: var(--accent); }

/* Pin */
.pin { background: none; border: 0; }
.pin-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(217, 108, 79, .3), var(--shadow); }

/* Forecast panel */
.forecast { position: fixed; left: 12px; right: 12px; bottom: calc(82px + var(--sb)); transition: right .25s ease; z-index: 999; background: rgba(16, 20, 29, .95); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(12px); overflow: hidden; }
body.menu-open .forecast { right: calc(var(--drawer-w) + 12px); }
.fc-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 12px 6px 14px; }
.fc-title { font-weight: 700; font-size: 16px; }
.fc-sub { color: var(--muted); font-size: 11px; margin-top: 2px; }
.icon-btn { width: 30px; height: 30px; border-radius: 8px; color: var(--muted); }
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.fc-loading { padding: 18px 14px 22px; color: var(--muted); }
.fc-body { display: flex; }
.fc-labels { flex: none; width: 86px; border-right: 1px solid var(--line); }
.fc-l { height: 26px; display: flex; align-items: center; padding-left: 14px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.fc-l-day { height: 20px; }
.fc-l-temp { height: 82px; }
.fc-l:nth-child(4) { height: 36px; }
.fc-l:nth-child(5) { height: 32px; }
.fc-scroll { overflow-x: auto; flex: 1; scrollbar-width: thin; padding-bottom: 4px; }
.fc-row { display: flex; }
.fc-days { height: 20px; }
.fc-day { border-left: 1px solid rgba(255, 255, 255, .15); font-size: 11px; font-weight: 600; color: #cfd6e2; white-space: nowrap; overflow: hidden; }
.fc-day span { position: sticky; left: 0; padding: 0 8px; display: inline-block; }
.fc-cell { flex: none; width: 44px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 12px; gap: 1px; }
.fc-hour { color: #aab3c2; cursor: pointer; border-radius: 6px; }
.fc-hour:hover { background: rgba(255, 255, 255, .08); }
.fc-hour.is-current { background: var(--accent); color: #fff; font-weight: 700; }
.fc-hour.is-past { opacity: .45; }
.fc-temp { position: relative; }
.fc-svg text { fill: #f5d58a; font-size: 11px; font-weight: 600; }
.fc-rain { height: 36px; flex-direction: column; justify-content: flex-end; position: relative; }
.fc-rain span { font-size: 10px; color: #8cc0ff; position: absolute; top: 0; }
.fc-bar { width: 26px; background: linear-gradient(#5aa6ff, #2f6fd6); border-radius: 2px 2px 0 0; }
.fc-cloud { height: 32px; }
.fc-wind { color: #fff; font-weight: 600; text-shadow: 0 0 2px rgba(0, 0, 0, .7); border-right: 1px solid rgba(0, 0, 0, .12); }
.fc-wind .arrow { display: inline-block; font-size: 11px; margin-right: 1px; }
.fc-gust { font-weight: 600; }
.fc-small { font-size: 11px; color: #b7c0cf; }

@media (max-width: 700px) {
  :root { --drawer-w: min(86vw, 300px); }
  .topbar { right: 64px; }
  .search-wrap { flex: 1; min-width: 0; }
  #search { width: 100%; }
  .menu-tab { padding: 0 10px 0 6px; }
  .menu-current span { display: none; }
  .bottom { flex-direction: column-reverse; gap: 34px; }
  .timeline { width: auto; }
  body.menu-open .bottom { right: 12px; }
  .legend { flex: none; align-self: stretch; }
  .forecast { bottom: calc(150px + var(--sb)); left: 6px; right: 6px; }
  body.has-forecast .legend { display: none; }
  body.has-forecast .forecast { bottom: calc(82px + var(--sb)); }
  body.menu-open .forecast { right: 6px; }
  .tl-bubble { font-size: 11px; }
  .leaflet-control-zoom { display: none; }
  .leaflet-bottom.leaflet-right { bottom: calc(150px + var(--sb)); }
  body.no-legend .leaflet-bottom.leaflet-right { bottom: calc(80px + var(--sb)); }
  body.no-legend .forecast { bottom: calc(82px + var(--sb)); }
  body.has-forecast .leaflet-bottom.leaflet-right { bottom: calc(420px + var(--sb)); }
}
