/* Tema peta disamakan dengan halaman data (halaman_data.css): font Inter, navy/biru, kartu putih membulat.
   Dimuat setelah peta.css. Juga gaya fitur: cari cepat, kartu ringkasan, kartu hover pos. */
:root {
    --navy: #0b2a63;
    --biru: #1d6fe0;
    --teks: #1f2a37;
    --redup: #6b7a8c;
    --garis: #e4e9f1;
    --halus: #f5f7fb;
    --kaca: rgba(255, 255, 255, 0.94);
    --bayang: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.14);
}

html,
body {
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
    color: var(--teks);
    -webkit-font-smoothing: antialiased;
}

/* ===== Navbar: sama dengan halaman data ===== */
.navbar {
    height: 56px;
    padding: 0 10px 0 14px;
    border-radius: 16px;
    background: rgba(11, 42, 99, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(11, 42, 99, 0.28);
}

.banner-bmkg {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(183, 28, 28, 0.3);
}

/* ===== Tombol kiri: kartu kaca dengan kotak ikon berwarna (gaya menu) ===== */
.tombol-daftar {
    height: 46px;
    padding: 0 16px 0 6px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    background: var(--kaca);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--teks);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--bayang);
    transition: transform 0.15s, box-shadow 0.15s;
}

.tombol-daftar:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(16, 24, 40, 0.06), 0 12px 28px rgba(16, 24, 40, 0.2);
}

.tombol-daftar svg {
    box-sizing: content-box;
    width: 18px;
    height: 18px;
    padding: 8px;
    border-radius: 10px;
    background: #eaf1ff;
    fill: var(--biru);
}

.tombol-daftar.tombol-unduh svg {
    background: #e7f6ec;
    fill: #1e8e3e;
}

.tombol-daftar.tombol-ringkasan svg {
    background: #f3e8fd;
    fill: #7b1fa2;
}

.tombol-daftar.tombol-instal {
    background: linear-gradient(135deg, var(--biru), var(--navy));
    color: #fff;
    border-color: transparent;
}

.tombol-daftar.tombol-instal svg {
    background: rgba(255, 255, 255, 0.18);
    fill: #fff;
}

.tombol-daftar .jumlah-hujan {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--biru);
    font-size: 11.5px;
    font-weight: 700;
}

.leaflet-touch .leaflet-bar,
.leaflet-bar {
    border: 0 !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: var(--bayang) !important;
}

.leaflet-bar a {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-color: var(--garis) !important;
    color: var(--navy) !important;
}

/* ===== Legenda, panel, popup, modal: kartu putih seperti halaman data ===== */
.legend {
    border-radius: 18px;
    background: var(--kaca);
    box-shadow: var(--bayang);
    color: var(--redup);
}

.legend-kepala {
    color: var(--teks);
}

.legend-seksi {
    color: #98a2b3;
}

.legend-kepala .panah {
    background: var(--halus);
}

.pilih-peta button.aktif {
    border-color: var(--biru) !important;
    color: var(--biru) !important;
}

.sakelar-satelit {
    border-radius: 12px;
}

.panel {
    border-radius: 0 20px 20px 0;
    box-shadow: 8px 0 32px rgba(11, 42, 99, 0.18);
}

.panel-judul h2 {
    color: var(--teks);
    font-weight: 800;
}

.kolom-cari {
    border: 1px solid var(--garis) !important;
    border-radius: 12px !important;
    background: var(--halus) !important;
}

.kolom-cari:focus {
    border-color: var(--biru) !important;
    background: #fff !important;
    outline: 3px solid rgba(29, 111, 224, 0.15);
}

.filter button {
    border-radius: 999px !important;
}

.filter button.aktif {
    background: var(--navy) !important;
    border-color: var(--navy) !important;
    color: #fff !important;
}

.daftar-pos li {
    border-radius: 12px;
}

.daftar-pos li:hover {
    background: #f2f6ff;
}

.leaflet-popup-content-wrapper {
    border-radius: 18px;
    box-shadow: var(--bayang);
}

.modal-kotak {
    border-radius: 20px;
}

.tombol-utama {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--biru), var(--navy));
}

/* ===== Cari pos cepat (kiri atas) ===== */
/* lapisan di atas tombol Daftar Pos / Data Hujan / Ringkasan, supaya daftar hasil tidak tertutup */
.leaflet-control.cari-cepat {
    position: relative;
    z-index: 1001;
    width: 260px;
}

.cari-cepat input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    background: var(--kaca) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7a8c'%3E%3Cpath d='M15.5 14h-.8l-.3-.3A6.5 6.5 0 1 0 9.5 16a6.5 6.5 0 0 0 4.2-1.6l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9z'/%3E%3C/svg%3E") no-repeat 14px center / 18px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--bayang);
    color: var(--teks);
    font: inherit;
    font-size: 14px;
}

.cari-cepat input:focus {
    outline: 3px solid rgba(29, 111, 224, 0.25);
    background-color: #fff;
}

.hasil-cepat {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    max-height: 360px;
    padding: 6px;
    overflow-y: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(11, 42, 99, 0.22);
}

.hasil-cepat.buka {
    display: block;
}

.hasil-cepat button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--teks);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
}

.hasil-cepat button:hover,
.hasil-cepat button.pilih {
    background: #f2f6ff;
}

.hasil-cepat .nama {
    flex: 1;
    min-width: 0;
}

.hasil-cepat .nama b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hasil-cepat .nama small {
    display: block;
    overflow: hidden;
    color: var(--redup);
    font-size: 11.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hasil-cepat .nilai {
    flex: none;
    font-weight: 700;
    font-size: 12.5px;
}

.hasil-cepat .nilai.off {
    color: #98a2b3;
    font-weight: 500;
}

.hasil-cepat .kosong {
    padding: 12px;
    color: var(--redup);
    font-size: 13px;
    text-align: center;
}

/* ===== Kartu ringkasan langsung (di panel Daftar Pos) ===== */
.kpi-peta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0 10px;
}

.kpi-peta button {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 8px 10px 8px 8px;
    border: 1px solid var(--garis);
    border-radius: 14px;
    background: #fff;
    color: var(--teks);
    font: inherit;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.kpi-peta button:hover {
    transform: translateY(-1px);
    border-color: #c9d6ea;
    background: #f8faff;
}

.kpi-peta button.aktif {
    border-color: var(--biru);
    background: #eaf1ff;
}

.kpi-peta button > span:last-child {
    min-width: 0;
}

.kpi-peta .ik {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--w) 14%, #fff);
    font-size: 16px;
}

.kpi-peta b {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
}

.kpi-peta b em {
    color: var(--redup);
    font-size: 11.5px;
    font-style: normal;
    font-weight: 600;
}

.kpi-peta small {
    display: block;
    overflow: hidden;
    color: var(--redup);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpi-peta button.nol {
    opacity: 0.65;
}

/* ===== Kartu info saat kursor di atas pos (desktop) ===== */
.kartu-hover {
    position: fixed;
    z-index: 1200;
    width: 250px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(11, 42, 99, 0.25);
    color: var(--teks);
    font-size: 12.5px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.12s, transform 0.12s;
}

.kartu-hover.tampil {
    opacity: 1;
    transform: none;
}

.kartu-hover .jenis {
    color: #98a2b3;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.kartu-hover .nama {
    margin-top: 1px;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.25;
}

.kartu-hover .lokasi {
    margin-top: 2px;
    color: var(--redup);
    font-size: 11.5px;
}

.kartu-hover .angka {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 8px;
}

.kartu-hover .angka b {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.kartu-hover .angka span {
    color: var(--redup);
    font-weight: 600;
}

.kartu-hover .chip {
    display: inline-block;
    margin: 8px 4px 0 0;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--halus);
    color: var(--redup);
    font-size: 11px;
    font-weight: 700;
}

.kartu-hover .chip.online {
    background: #e7f6ec;
    color: #1e7e34;
}

.kartu-hover .chip.offline {
    background: #fdecec;
    color: #c62828;
}

.kartu-hover .chip.hujan {
    background: #e3efff;
    color: var(--biru);
}

.kartu-hover .chip.manual {
    background: #f3e5f5;
    color: #7b1fa2;
}

.kartu-hover .chip.siaga {
    background: #fff3d6;
    color: #8d5b00;
}

.kartu-hover .waktu {
    margin-top: 8px;
    color: #98a2b3;
    font-size: 11px;
}

/* ===== HP ===== */
@media (max-width: 767px) {
    .navbar {
        height: 42px;
        padding: 0 1px;
        border-radius: 21px;
    }

    .tombol-daftar {
        height: 42px;
        border-radius: 13px;
    }

    .tombol-daftar svg {
        padding: 6px;
    }

    .cari-cepat,
    .kartu-hover {
        display: none;
    }
}

/* ===== Legenda: bagian yang bisa dilipat (akordeon) ===== */
.legend {
    width: 300px;
}

.legend-isi {
    padding: 0 8px 10px;
}

.lg-seksi {
    margin-bottom: 6px;
    border: 1px solid var(--garis);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.15s;
}

.lg-seksi.buka {
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
}

.lg-kepala {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    background: transparent;
    color: var(--teks);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lg-kepala:hover {
    background: var(--halus);
}

.lg-ikon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--halus);
    font-size: 14px;
}

.lg-judul {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-ringkas {
    flex: none;
    color: var(--redup);
    font-size: 11px;
    white-space: nowrap;
}

.lg-ringkas b {
    color: var(--teks);
}

.lg-ringkas b.biru {
    color: var(--biru);
}

.lg-ringkas b.hijau {
    color: #1e8e3e;
}

.lg-ringkas b.merah {
    color: #c62828;
}

.lg-panah {
    flex: none;
    width: 8px;
    height: 8px;
    margin: 0 2px 3px 2px;
    border-right: 2px solid #98a2b3;
    border-bottom: 2px solid #98a2b3;
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.lg-seksi.buka .lg-panah {
    margin-bottom: -2px;
    transform: rotate(-135deg);
}

/* buka/tutup halus: tinggi isi dianimasikan lewat grid-template-rows */
.lg-isi {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.22s ease;
}

.lg-seksi.buka .lg-isi {
    grid-template-rows: 1fr;
}

.lg-isi-dalam {
    min-height: 0;
    padding: 0 8px;
    overflow: hidden;
}

.lg-seksi.buka .lg-isi-dalam {
    padding-bottom: 8px;
}

.lg-isi-dalam .pilih-peta,
.lg-isi-dalam .pilih-mode {
    margin: 2px 0 8px;
}

.lg-isi-dalam .sakelar-satelit {
    margin: 0 0 6px;
}

.lg-isi-dalam .legenda-satelit {
    margin: 0 2px 8px;
}

.lg-petunjuk {
    margin: 6px 4px 0;
    color: #98a2b3;
    font-size: 10.5px;
}

/* baris kategori: ikon mata menandai tampil / disembunyikan */
.legend-baris .mata {
    flex: none;
    width: 16px;
    height: 16px;
    opacity: 0;
    background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2398a2b3'%3E%3Cpath d='M12 4.5C7 4.5 2.7 7.6 1 12c1.7 4.4 6 7.5 11 7.5s9.3-3.1 11-7.5c-1.7-4.4-6-7.5-11-7.5zm0 12.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E");
    transition: opacity 0.15s;
}

.legend-baris:hover .mata {
    opacity: 1;
}

.legend-baris.mati .mata {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c62828'%3E%3Cpath d='M12 7a5 5 0 0 1 5 5c0 .6-.1 1.3-.4 1.8l2.9 2.9c1.5-1.3 2.7-2.9 3.5-4.7-1.7-4.4-6-7.5-11-7.5-1.4 0-2.7.3-4 .7l2.2 2.2c.5-.3 1.2-.4 1.8-.4zM2 4.3l2.3 2.3.5.4A11.8 11.8 0 0 0 1 12c1.7 4.4 6 7.5 11 7.5 1.6 0 3-.3 4.4-.8l.4.4 2.9 2.9 1.3-1.3L3.3 3 2 4.3zm5.5 5.5 1.6 1.6-.1.6a3 3 0 0 0 3 3l.6-.1 1.6 1.6c-.7.3-1.4.5-2.2.5a5 5 0 0 1-5-5c0-.8.2-1.5.5-2.2zm4.3-.8 3.2 3.2V12a3 3 0 0 0-3-3h-.2z'/%3E%3C/svg%3E");
}

.legend-baris.statis {
    cursor: default;
}

.legend-baris.statis:hover {
    background: transparent;
}

.legend-kaki {
    flex-wrap: wrap;
    margin: 4px 2px 0;
    border-top: 0;
}

.legend-kaki .legend-update {
    margin: 0;
}

.legend-kaki .tampil-semua {
    background: #fff3d6;
    color: #8d5b00;
    font-weight: 700;
}

@media (max-width: 767px) {
    .legend {
        width: 280px;
    }
}

.lg-satuan {
    float: right;
    margin: 2px 2px 0 0;
    color: #98a2b3;
    font-size: 10px;
}

/* ===== Batas DAS / WS ===== */
.leaflet-tooltip.tip-batas {
    padding: 4px 9px;
    border: 0;
    border-radius: 8px;
    background: rgba(11, 42, 99, 0.9);
    box-shadow: 0 4px 12px rgba(11, 42, 99, 0.25);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.leaflet-tooltip.tip-batas::before {
    display: none;
}

.popup-batas-wadah .leaflet-popup-content {
    margin: 14px 16px;
}

.popup-batas .pb-jenis {
    color: #98a2b3;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.popup-batas .pb-nama {
    margin-top: 2px;
    color: var(--teks);
    font-size: 16px;
    font-weight: 800;
}

.popup-batas .pb-angka {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 4px;
}

.popup-batas .pb-angka span {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--halus);
    color: var(--redup);
    font-size: 11.5px;
}

.popup-batas .pb-angka b {
    color: var(--teks);
}

.popup-batas .pb-pos {
    max-height: 220px;
    margin: 8px 0 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.popup-batas .pb-pos li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px;
    border-radius: 8px;
    font-size: 12.5px;
    cursor: pointer;
}

.popup-batas .pb-pos li:hover {
    background: #f2f6ff;
}

.popup-batas .pb-pos li span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.popup-batas .pb-pos li b {
    flex: none;
    font-size: 12px;
}

.popup-batas .pb-pos li.lebih {
    color: var(--redup);
    cursor: default;
}

/* ===== Prakiraan Windy ===== */
.modal-kotak.kotak-windy {
    width: min(1100px, calc(100vw - 32px));
    max-width: none;
    height: min(780px, calc(100vh - 40px));
    display: flex;
    flex-direction: column;
}

.pilih-windy {
    flex-wrap: wrap;
}

.pilih-windy.kecil button {
    padding: 5px 12px;
    font-size: 12px;
}

.wadah-windy {
    flex: 1;
    min-height: 300px;
    margin-top: 8px;
    border-radius: 14px;
    overflow: hidden;
    background: #1f2a37;
}

.wadah-windy iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.tombol-buka-windy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 2px 0 6px;
    padding: 9px 12px;
    border: 1px solid #c9d6ea;
    border-radius: 12px;
    background: linear-gradient(135deg, #eaf1ff, #f3e8fd);
    color: var(--navy);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.tombol-buka-windy small {
    color: var(--redup);
    font-size: 11px;
    font-weight: 500;
}

.tombol-buka-windy:hover {
    border-color: var(--biru);
}

.tombol-lihat-data.tombol-windy {
    margin-top: 6px;
    background: #f3e8fd;
    color: #6a1b9a;
}

.tombol-lihat-data.tombol-windy svg {
    fill: #6a1b9a;
}

@media (max-width: 767px) {
    .modal-kotak.kotak-windy {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
}

/* ===== Toggle tema hujan (di bawah tombol Ringkasan) =====
   Ringkas: hanya ikon. Tulisan melebar saat ditunjuk (:hover) atau diketuk (.buka). */
.leaflet-control.tema-hujan {
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    background: var(--kaca);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--bayang);
}

.tema-hujan .tema-judul {
    max-width: 0;
    max-height: 0;
    padding: 0 6px;
    overflow: hidden;
    color: #98a2b3;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 0.22s, max-height 0.2s, opacity 0.2s, padding 0.2s;
}

.tema-hujan button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px 7px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--teks);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.tema-hujan button + button {
    margin-top: 3px;
}

.tema-hujan button:hover {
    background: var(--halus);
}

.tema-hujan button.aktif {
    border-color: var(--biru);
    background: #eaf1ff;
}

.tema-hujan .ti {
    flex: none;
    width: 20px;
    font-size: 17px;
    line-height: 1;
    text-align: center;
}

.tema-hujan b {
    display: block;
    max-width: 0;
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 0.22s ease, opacity 0.18s, margin 0.22s;
}

.tema-hujan:hover b,
.tema-hujan.buka b {
    max-width: 130px;
    margin-left: 8px;
    opacity: 1;
}

.tema-hujan:hover .tema-judul,
.tema-hujan.buka .tema-judul {
    max-width: 160px;
    max-height: 20px;
    padding: 2px 6px 5px;
    opacity: 1;
}

.kartu-berhenti {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #eceff1;
    color: #37474f;
    font-size: 12.5px;
}


/* Ikon pos hujan manual: bulat + gambar penakar + pita "MRG" di bawah; belum diisi = garis putus-putus */
.pos-marker.berpita {
    overflow: visible;
}

.pos-marker.putus {
    border-style: dashed;
}

.pos-marker.putus .glyph {
    opacity: 0.6;
}

.pos-marker .pita-pos {
    position: absolute;
    bottom: -8px;
    left: 50%;
    padding: 1px 4px;
    border: 1.5px solid #fff;
    border-radius: 5px;
    background: var(--bd);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transform: translateX(-50%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.pos-marker.putus .pita-pos {
    background: #ab47bc;
}

.pos-marker.mini .pita-pos {
    bottom: -6px;
    padding: 0 2px;
    border-width: 1px;
    font-size: 6px;
}

.legenda-satelit .pos-marker.mini .pita-pos {
    display: none;
}

/* ===== Lokasi saya ===== */
.leaflet-control.tombol-lokasi {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    background: var(--kaca);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--bayang);
    cursor: pointer;
}

.tombol-lokasi svg {
    width: 22px;
    height: 22px;
    fill: var(--navy);
}

.tombol-lokasi.aktif svg {
    fill: var(--biru);
}

.tombol-lokasi.memuat svg {
    animation: putar-lokasi 1s linear infinite;
}

@keyframes putar-lokasi {
    to { transform: rotate(360deg); }
}

.titik-saya {
    position: relative;
    width: 22px;
    height: 22px;
}

.titik-saya::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(29, 111, 224, 0.35);
    animation: denyut-saya 2s ease-out infinite;
}

.titik-saya span {
    position: absolute;
    inset: 4px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #1d6fe0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

@keyframes denyut-saya {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(2.6); opacity: 0; }
}
