:root {
    --ws-ink: #10202d;
    --ws-ink-strong: #07131d;
    --ws-muted: #627383;
    --ws-line: rgba(16, 32, 45, 0.12);
    --ws-panel: rgba(251, 254, 255, 0.88);
    --ws-panel-soft: rgba(255, 255, 255, 0.68);
    --ws-panel-strong: rgba(255, 255, 255, 0.96);
    --ws-cyan: #0079b8;
    --ws-sky: #29b8ec;
    --ws-green: #19a974;
    --ws-shadow: 0 18px 42px rgba(8, 26, 42, 0.16), 0 4px 16px rgba(8, 26, 42, 0.12);
    --ws-shadow-soft: 0 10px 26px rgba(8, 26, 42, 0.12);
    --ws-blur: blur(16px) saturate(1.12);
    --ws-radius-xl: 24px;
    --ws-radius-lg: 18px;
    --ws-radius-md: 14px;
}

* { box-sizing: border-box; }

html,
body,
#map {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #dbeef6;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--ws-ink);
}

body.ws-clean-map {
    overflow: hidden;
}

.leaflet-container {
    background: #dbeef6;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.leaflet-control-zoom {
    display: none !important;
}

.leaflet-div-icon {
    background: transparent !important;
    border: none !important;
}

.clean-panel-head span,
.clean-section-label {
    color: var(--ws-cyan);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.1;
    text-transform: uppercase;
}

.clean-search-wrap {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1004;
    width: min(338px, calc(100vw - 36px));
}

#btn-search {
    display: none;
}

.searchbox {
    position: relative;
    width: 100%;
    color: var(--ws-ink);
    background: var(--ws-panel-strong);
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: 999px;
    box-shadow: var(--ws-shadow-soft);
    backdrop-filter: var(--ws-blur);
    -webkit-backdrop-filter: var(--ws-blur);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: border-radius .18s ease, box-shadow .18s ease;
}

.searchbox.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.searchbox .row {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
}

.searchbox svg {
    flex: 0 0 18px;
    color: var(--ws-cyan);
}

#search-input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ws-ink);
    font-size: 14px;
    font-weight: 700;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

#search-input::placeholder {
    color: rgba(98,115,131,0.82);
}

#search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    max-height: 310px;
    overflow: auto;
    padding: 7px;
    color: var(--ws-ink);
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(16,32,45,0.1);
    border-radius: 18px;
    box-shadow: var(--ws-shadow);
}

#search-results::-webkit-scrollbar,
.controls.glass::-webkit-scrollbar {
    width: 7px;
}

#search-results::-webkit-scrollbar-track,
.controls.glass::-webkit-scrollbar-track {
    background: transparent;
}

#search-results::-webkit-scrollbar-thumb,
.controls.glass::-webkit-scrollbar-thumb {
    background: rgba(16,32,45,0.18);
    border-radius: 999px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border-radius: 13px;
    color: var(--ws-ink);
    cursor: pointer;
    line-height: 1.25;
    transition: background .15s ease, color .15s ease;
}

.search-item:hover,
.search-item.active {
    background: rgba(0,121,184,0.09);
}

.search-badge {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 999px;
    color: var(--ws-cyan);
    background: rgba(0,121,184,0.09);
    border: 1px solid rgba(0,121,184,0.16);
    font-size: 11px;
    font-weight: 800;
}

.clean-tool-rail {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1004;
    display: grid;
    gap: 9px;
    padding: 7px;
    border-radius: 22px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.76);
    box-shadow: var(--ws-shadow-soft);
    backdrop-filter: var(--ws-blur);
    -webkit-backdrop-filter: var(--ws-blur);
}

#btn-show-panel,
#btn-locate,
#btn-fullscreen,
#btn-hide-panel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16,32,45,0.1);
    color: var(--ws-ink);
    background: rgba(255,255,255,0.88);
    box-shadow: 0 6px 16px rgba(8, 26, 42, 0.1);
    cursor: pointer;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    transition: transform .15s ease, color .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

#btn-show-panel,
#btn-locate,
#btn-fullscreen {
    position: static;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    font-size: 18px;
}

#btn-show-panel:hover,
#btn-locate:hover,
#btn-fullscreen:hover,
#btn-hide-panel:hover {
    transform: translateY(-1px);
    color: var(--ws-cyan);
    border-color: rgba(0,121,184,0.24);
    box-shadow: 0 10px 22px rgba(8, 26, 42, 0.16);
}

#btn-locate.is-loading {
    color: var(--ws-cyan);
    box-shadow: 0 0 0 4px rgba(0,121,184,0.08), 0 10px 22px rgba(8, 26, 42, 0.16);
}

#btn-show-panel:focus-visible,
#btn-locate:focus-visible,
#btn-fullscreen:focus-visible,
#btn-hide-panel:focus-visible,
#search-input:focus-visible,
.controls select:focus-visible,
.controls input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(0,121,184,0.65);
    outline-offset: 3px;
}

.controls.glass {
    position: absolute;
    top: 18px;
    right: 80px;
    z-index: 1003;
    display: none;
    width: 318px;
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 18px;
    color: var(--ws-ink);
    background: var(--ws-panel-strong);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 24px;
    box-shadow: var(--ws-shadow);
    backdrop-filter: var(--ws-blur);
    -webkit-backdrop-filter: var(--ws-blur);
}

#btn-hide-panel {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 12px;
}

.clean-panel-head {
    margin: 0 42px 16px 0;
}

.controls h4 {
    margin: 4px 0 0;
    color: var(--ws-ink-strong);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.controls .form-group {
    margin: 0 0 16px;
}

.clean-param {
    padding: 12px;
    border-radius: 18px;
    background: rgba(0,121,184,0.06);
    border: 1px solid rgba(0,121,184,0.1);
}

.controls .form-group:not(.checkbox-group) > label,
.clean-section-label {
    display: block;
    margin-bottom: 8px;
}

.controls .form-group:not(.checkbox-group) > label {
    color: var(--ws-cyan);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.controls select {
    width: 100%;
    min-height: 43px;
    padding: 0 36px 0 12px;
    border: 1px solid rgba(16,32,45,0.12);
    border-radius: 14px;
    outline: none;
    color: var(--ws-ink);
    background-color: #fff;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ws-ink) 50%),
        linear-gradient(135deg, var(--ws-ink) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    appearance: none;
    -webkit-appearance: none;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-size: 14px;
    font-weight: 800;
}

.controls select:focus {
    border-color: rgba(0,121,184,0.34);
    box-shadow: 0 0 0 4px rgba(0,121,184,0.1);
}

.controls select option {
    background: #fff;
    color: var(--ws-ink);
    font-weight: 700;
}

.checkbox-group {
    display: grid;
    gap: 7px;
}

.checkbox-group label {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 6px;
    color: var(--ws-ink);
    border-radius: 14px;
    background: rgba(16,32,45,0.035);
    border: 1px solid rgba(16,32,45,0.055);
    cursor: pointer;
    user-select: none;
    transition: background .15s ease, border-color .15s ease;
}

.checkbox-group label:hover {
    background: rgba(0,121,184,0.065);
    border-color: rgba(0,121,184,0.11);
}

.checkbox-group label:has(input:disabled) {
    opacity: .48;
    cursor: not-allowed;
}

.checkbox-group label span {
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.controls input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 38px;
    height: 22px;
    margin: 0;
    position: relative;
    border-radius: 999px;
    border: 1px solid rgba(16,32,45,0.14);
    background: rgba(16,32,45,0.12);
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.controls input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(8,26,42,0.18);
    transition: transform .2s ease;
}

.controls input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--ws-sky), var(--ws-green));
    border-color: rgba(0,121,184,0.18);
    box-shadow: 0 0 0 3px rgba(0,121,184,0.08);
}

.controls input[type="checkbox"]:checked::after {
    transform: translateX(16px);
}

.type-filter-spacer {
    height: 5px;
}

.map-logo {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1001;
    width: 92px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 15px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 8px 20px rgba(8,26,42,0.1);
    backdrop-filter: var(--ws-blur);
    -webkit-backdrop-filter: var(--ws-blur);
}

.map-logo img {
    max-width: 76px;
    height: auto;
    display: block;
}

.leaflet-tooltip {
    padding: 6px 8px;
    color: var(--ws-ink);
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(16,32,45,0.1);
    border-radius: 11px;
    box-shadow: var(--ws-shadow-soft);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-size: 12px;
    font-weight: 800;
}

.leaflet-tooltip.ws-station-tooltip-shell {
    padding: 0;
    color: var(--ws-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.leaflet-tooltip.ws-station-tooltip-shell::before {
    border-top-color: rgba(255,255,255,0.94);
}

.ws-station-tooltip {
    width: min(240px, calc(100vw - 44px));
    padding: 11px 12px 12px;
    color: var(--ws-ink);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,251,254,0.94));
    border: 1px solid rgba(255,255,255,0.88);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(8,26,42,0.18), 0 3px 10px rgba(8,26,42,0.1);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.ws-station-tooltip__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.ws-station-tooltip__badge,
.ws-station-tooltip__time {
    min-width: 0;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.ws-station-tooltip__badge {
    max-width: 126px;
    overflow: hidden;
    color: var(--ws-cyan);
    background: rgba(0,121,184,0.1);
    border: 1px solid rgba(0,121,184,0.16);
    text-overflow: ellipsis;
}

.ws-station-tooltip__time {
    flex: 0 0 auto;
    color: var(--ws-muted);
    background: rgba(16,32,45,0.055);
}

.ws-station-tooltip__name {
    margin-bottom: 8px;
    color: var(--ws-ink-strong);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
}

.ws-station-tooltip__value {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.ws-station-tooltip__value strong {
    color: var(--ws-ink-strong);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.ws-station-tooltip__value span {
    min-width: 0;
    color: var(--ws-muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.leaflet-control-scale {
    padding: 3px 7px;
    color: var(--ws-ink);
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(8,26,42,0.1);
    backdrop-filter: var(--ws-blur);
    -webkit-backdrop-filter: var(--ws-blur);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.leaflet-popup-content {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.leaflet-popup-content-wrapper {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(16,32,45,0.1);
    box-shadow: 0 18px 44px rgba(8,26,42,0.2);
}

.leaflet-popup-tip {
    box-shadow: 0 8px 18px rgba(8,26,42,0.14);
}

.leaflet-popup-close-button {
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 10px;
    color: var(--ws-ink-strong) !important;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(16,32,45,0.12) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 26px !important;
    text-align: center !important;
    text-decoration: none !important;
    opacity: 1 !important;
    box-shadow: 0 8px 18px rgba(8,26,42,0.14);
}

.leaflet-popup-close-button span {
    display: block !important;
    transform: translateY(-1px);
}

.ws-station-card {
    width: min(410px, calc(100vw - 34px));
    max-height: min(72vh, 620px);
    overflow: auto;
    padding: 14px;
    color: var(--ws-ink);
    background:
        radial-gradient(360px 170px at 18% 0%, rgba(41,184,236,0.16), transparent 66%),
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(247,252,255,0.985));
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.ws-station-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.ws-station-card__badge,
.ws-station-card__time {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.ws-station-card__badge {
    max-width: 180px;
    overflow: hidden;
    color: var(--ws-cyan);
    background: rgba(0,121,184,0.09);
    border: 1px solid rgba(0,121,184,0.14);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ws-station-card__time {
    flex: 0 0 auto;
    color: var(--ws-muted);
    background: rgba(16,32,45,0.045);
    margin-right: 28px;
    white-space: nowrap;
}

.ws-station-card h3 {
    margin: 8px 0 0;
    color: var(--ws-ink-strong);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.12;
}

.ws-station-card__hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 18px;
    color: var(--station-hero-text, var(--ws-ink-strong));
    background:
        radial-gradient(140px 80px at 18% 0%, rgba(255,255,255,0.34), transparent 64%),
        linear-gradient(145deg, var(--station-hero, #29b8ec), var(--station-hero-dark, #0079b8));
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 10px 24px rgba(8,26,42,0.14);
}

.ws-station-card__value {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.ws-station-card__value strong {
    color: currentColor;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-size: 38px;
    font-weight: 800;
    line-height: .95;
    letter-spacing: 0;
}

.ws-station-card__value span {
    color: currentColor;
    opacity: .78;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.ws-station-card__hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ws-station-card__hero-meta span {
    padding: 4px 7px;
    border-radius: 999px;
    color: currentColor;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.ws-station-card__section {
    padding: 11px 0;
    border-top: 1px solid rgba(16,32,45,0.075);
}

.ws-station-card__section h4 {
    margin: 0 0 7px;
    color: var(--ws-muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.ws-station-card__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
}

.ws-station-card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    padding: 7px 0;
}

.ws-station-card__row + .ws-station-card__row {
    border-top: 1px solid rgba(16,32,45,0.055);
}

.ws-station-card__row dt {
    min-width: 0;
    margin: 0;
    color: var(--ws-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.ws-station-card__row dd {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    color: var(--ws-ink);
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}

.ws-station-card__row dd strong {
    color: var(--ws-ink-strong);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.ws-station-card__row dd span {
    color: var(--ws-muted);
    font-size: 10px;
    font-weight: 800;
}

.ws-station-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    border-radius: 13px;
    color: #fff;
    background: var(--ws-cyan);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    opacity: 1;
    visibility: visible;
    text-indent: 0;
    white-space: nowrap;
    margin-top: 6px;
    box-shadow: 0 10px 22px rgba(0,121,184,0.18);
}

.leaflet-container .ws-station-card__link,
.ws-station-card__link:visited,
.ws-station-card__link:hover,
.ws-station-card__link:focus {
    color: #fff !important;
    text-decoration: none !important;
}

.leaflet-container .ws-station-card__link:hover,
.leaflet-container .ws-station-card__link:focus {
    background: #006fa8;
}

.ws-webcam-popup .leaflet-popup-content-wrapper {
    padding: 0 !important;
    border-radius: 18px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.ws-webcam-popup .leaflet-popup-content,
.ws-webcam-popup .leaflet-popup-tip {
    margin: 0 !important;
    padding: 0 !important;
}

.ws-webcam-popup .leaflet-popup-tip {
    display: none;
}

.svg-num {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-weight: 800;
    text-rendering: geometricPrecision;
}

.ws-station-canvas {
    pointer-events: none;
}

.ws-marker {
    transform-origin: center;
    transition: none;
    filter: none;
}

.ws-boe-marker {
    filter: none;
}

body.ws-zoom-low .leaflet-marker-icon .ws-marker {
    transform: scale(.82);
    opacity: .9;
}

body.ws-zoom-mid .leaflet-marker-icon .ws-marker {
    transform: scale(.92);
}

.leaflet-marker-icon:hover .ws-marker,
body.ws-zoom-low .leaflet-marker-icon:hover .ws-marker,
body.ws-zoom-mid .leaflet-marker-icon:hover .ws-marker {
    transform: translateY(-2px) scale(1.04);
    opacity: 1;
}

.map-is-moving .ws-marker,
.map-is-moving .leaflet-marker-icon:hover .ws-marker {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

.map-is-moving .searchbox,
.map-is-moving .clean-tool-rail,
.map-is-moving .controls.glass,
.map-is-moving .map-logo,
.map-is-moving .leaflet-control-scale {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 5px 14px rgba(8,26,42,0.08) !important;
}

.map-is-moving *,
.map-is-moving *::before,
.map-is-moving *::after {
    transition-duration: 0s !important;
}

#loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(780px 460px at 50% 46%, rgba(41,184,236,0.16), transparent 62%),
        rgba(236, 247, 252, 0.94);
    transition: opacity .28s ease, visibility .28s ease;
}

#loading-overlay.hide {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 4px solid rgba(0,121,184,0.12);
    border-top-color: var(--ws-cyan);
    animation: wsSpin .9s linear infinite;
}

@keyframes wsSpin {
    to { transform: rotate(360deg); }
}

.wind-arrow {
    width: 24px;
    height: 24px;
    transform-origin: center center;
    opacity: .9;
    transition: transform .3s;
}

.wind-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

path {
    transition: transform .3s ease-in-out;
}

@media (max-width: 820px) {
    .clean-search-wrap {
        top: 10px;
        left: 10px;
        width: min(310px, calc(100vw - 74px));
    }

    .clean-tool-rail {
        top: 10px;
        right: 10px;
        gap: 7px;
        padding: 6px;
        border-radius: 18px;
    }

    #btn-show-panel,
    #btn-locate,
    #btn-fullscreen {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        font-size: 16px;
    }

    .controls.glass {
        top: auto;
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        max-height: min(70vh, 620px);
        padding: 17px 15px 15px;
        border-radius: 24px 24px 18px 18px;
        overscroll-behavior: contain;
    }

    #btn-hide-panel {
        position: sticky;
        top: 0;
        right: auto;
        z-index: 5;
        float: right;
        margin: 0 0 -32px auto;
        background: rgba(255,255,255,0.96);
    }

    .map-logo {
        display: flex;
        left: 10px;
        right: auto;
        bottom: 10px;
        width: 78px;
        height: 32px;
        padding: 5px 7px;
        border-radius: 13px;
    }

    .map-logo img {
        max-width: 64px;
    }
}

@media (max-width: 520px) {
    .clean-search-wrap {
        width: calc(100vw - 74px);
    }

    #search-input {
        font-size: 13px;
    }

    .checkbox-group label {
        grid-template-columns: 40px 1fr;
        min-height: 36px;
    }
}
