:root {
    --bg:#07101f;
    --bg2:#0b1629;
    --panel:#0f1d33;
    --panel2:#132541;
    --border:#243954;
    --text:#f5f8fc;
    --muted:#9eb0c8;
    --accent:#45b8ff;
    --accent2:#67d4ff;
    --good:#60d394;
    --warning:#ffd166;
    --shadow:0 18px 48px rgba(0,0,0,.24);
}

* {
    box-sizing:border-box;
}

html {
    min-height:100%;
    background:var(--bg);
}

body {
    margin:0;
    min-height:100%;
    color:var(--text);
    background:
        radial-gradient(circle at 5% 0%, rgba(49,130,206,.15), transparent 28rem),
        radial-gradient(circle at 95% 15%, rgba(45,212,191,.09), transparent 30rem),
        linear-gradient(180deg,var(--bg),var(--bg2));
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input {
    font:inherit;
}

button {
    cursor:pointer;
}

a {
    color:var(--accent2);
}

.topbar {
    min-height:78px;
    border-bottom:1px solid rgba(255,255,255,.07);
    background:rgba(7,16,31,.86);
    backdrop-filter:blur(16px);
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:14px max(20px,calc((100vw - 1440px) / 2));
}

.brand {
    display:flex;
    align-items:center;
    gap:12px;
}

.brand-icon {
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:linear-gradient(145deg,#17406a,#0d2948);
    border:1px solid rgba(255,255,255,.10);
    font-size:26px;
}

.brand-name {
    font-weight:800;
    letter-spacing:.01em;
    font-size:18px;
}

.brand-subtitle {
    color:var(--muted);
    font-size:12px;
    margin-top:2px;
}

.status-pill {
    border:1px solid var(--border);
    background:var(--panel);
    color:var(--muted);
    border-radius:999px;
    padding:8px 13px;
    font-size:12px;
    white-space:nowrap;
}

.status-pill.ok {
    color:#bbf7d0;
    border-color:rgba(96,211,148,.35);
    background:rgba(96,211,148,.08);
}

.status-pill.error {
    color:#fecaca;
    border-color:rgba(248,113,113,.35);
    background:rgba(248,113,113,.08);
}

.page {
    width:min(1440px,calc(100% - 34px));
    margin:28px auto 50px;
}

.search-panel {
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:18px;
}

.search-wrap {
    flex:1;
    position:relative;
    z-index:800;
}

#searchForm {
    display:flex;
    gap:9px;
}

#searchInput {
    width:100%;
    min-height:48px;
    border-radius:13px;
    border:1px solid var(--border);
    outline:none;
    background:rgba(15,29,51,.92);
    color:var(--text);
    padding:0 16px;
    transition:.2s ease;
}

#searchInput:focus {
    border-color:var(--accent);
    box-shadow:0 0 0 3px rgba(69,184,255,.10);
}

#searchForm button,
.secondary-button,
.small-button {
    border:1px solid var(--border);
    color:var(--text);
    background:var(--panel2);
    border-radius:12px;
    transition:.18s ease;
}

#searchForm button {
    min-width:105px;
    padding:0 18px;
    background:linear-gradient(145deg,#1976b8,#0f5f96);
    border-color:#297cb3;
}

.secondary-button {
    min-height:48px;
    padding:0 18px;
    white-space:nowrap;
}

.small-button {
    min-height:36px;
    padding:0 12px;
    font-size:12px;
}

#searchForm button:hover,
.secondary-button:hover,
.small-button:hover {
    filter:brightness(1.12);
    transform:translateY(-1px);
}

.search-results {
    display:none;
    position:absolute;
    top:55px;
    left:0;
    right:114px;
    border:1px solid var(--border);
    background:#0d1a2e;
    border-radius:13px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.search-results.visible {
    display:block;
}

.search-result {
    display:block;
    width:100%;
    text-align:left;
    border:0;
    border-bottom:1px solid rgba(255,255,255,.06);
    background:transparent;
    color:var(--text);
    padding:12px 14px;
}

.search-result:last-child {
    border-bottom:0;
}

.search-result:hover {
    background:rgba(69,184,255,.09);
}

.search-result strong {
    display:block;
    font-size:14px;
}

.search-result span {
    display:block;
    color:var(--muted);
    font-size:12px;
    margin-top:3px;
}

.card {
    background:
        linear-gradient(145deg,rgba(18,35,61,.97),rgba(12,25,44,.97));
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:var(--shadow);
}

.current-grid {
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(280px,.78fr);
    gap:18px;
    margin-bottom:18px;
}

.current-main {
    padding:25px;
}

.location-row {
    display:flex;
    justify-content:space-between;
    gap:18px;
}

.section-label {
    color:var(--accent2);
    font-size:11px;
    font-weight:800;
    letter-spacing:.13em;
    margin-bottom:6px;
}

h1,
h2,
h3,
p {
    margin-top:0;
}

h1 {
    font-size:clamp(24px,3vw,36px);
    margin-bottom:4px;
}

h2 {
    font-size:19px;
    margin-bottom:0;
}

h3 {
    font-size:17px;
}

.muted {
    color:var(--muted);
}

.weather-icon {
    font-size:54px;
    line-height:1;
}

.temperature-row {
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:18px;
}

.temperature {
    font-size:clamp(58px,8vw,92px);
    line-height:.9;
    font-weight:800;
    letter-spacing:-.06em;
}

.condition {
    font-size:19px;
    font-weight:750;
    margin-bottom:5px;
}

.current-stats {
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:10px;
    margin-top:26px;
}

.stat {
    min-width:0;
    border:1px solid rgba(255,255,255,.07);
    background:rgba(255,255,255,.025);
    border-radius:13px;
    padding:12px;
}

.stat span {
    display:block;
    color:var(--muted);
    font-size:11px;
    margin-bottom:5px;
}

.stat strong {
    display:block;
    font-size:14px;
    overflow:hidden;
    text-overflow:ellipsis;
}

.rain-summary {
    padding:22px;
}

.rain-big {
    min-height:122px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    border-radius:15px;
    background:
        radial-gradient(circle at 50% 10%,rgba(69,184,255,.22),transparent 60%),
        rgba(69,184,255,.055);
    margin:12px 0 13px;
}

.rain-big span {
    font-size:43px;
    font-weight:800;
}

.rain-big small {
    color:var(--muted);
}

.rain-detail {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:9px 1px;
    border-bottom:1px solid rgba(255,255,255,.06);
    font-size:13px;
}

.rain-detail:last-child {
    border-bottom:0;
}

.rain-detail span {
    color:var(--muted);
}

.map-card {
    overflow:hidden;
    margin-bottom:18px;
}

.section-header {
    padding:18px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
}

.map-tools {
    display:flex;
    align-items:center;
    gap:10px;
}

.switch-label {
    display:flex;
    align-items:center;
    gap:7px;
    color:var(--muted);
    font-size:12px;
}

.switch-label input {
    accent-color:#45b8ff;
}

#map {
    height:clamp(400px,58vh,680px);
    width:100%;
    background:#07101f;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}

.map-footer {
    min-height:44px;
    padding:9px 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    color:var(--muted);
    font-size:11px;
}

.hourly-scroll {
    padding:0 18px 20px;
    display:flex;
    gap:10px;
    overflow-x:auto;
    scrollbar-width:thin;
}

.hour {
    min-width:118px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:14px;
    background:rgba(255,255,255,.025);
    padding:13px 11px;
    text-align:center;
}

.hour .time {
    color:var(--muted);
    font-size:11px;
}

.hour .icon {
    font-size:28px;
    margin:7px 0;
}

.hour .temp {
    font-size:20px;
    font-weight:800;
}

.hour .chance {
    color:#76d5ff;
    font-size:11px;
    margin-top:6px;
}

.daily-grid {
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:10px;
    padding:0 18px 20px;
}

.day {
    border:1px solid rgba(255,255,255,.07);
    border-radius:14px;
    padding:13px;
    text-align:center;
    background:rgba(255,255,255,.025);
}

.day-name {
    color:var(--muted);
    font-size:11px;
}

.day-icon {
    font-size:31px;
    margin:8px 0 5px;
}

.day-temp {
    font-size:15px;
    font-weight:750;
}

.day-temp span {
    color:var(--muted);
    font-weight:500;
}

.day-rain {
    margin-top:6px;
    color:#76d5ff;
    font-size:11px;
}

.information-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-top:18px;
}

.info-card {
    padding:20px;
}

.info-card p {
    margin-bottom:0;
    color:var(--muted);
    line-height:1.6;
    font-size:13px;
}

.footer {
    width:min(1440px,calc(100% - 34px));
    margin:0 auto 28px;
    padding-top:19px;
    border-top:1px solid rgba(255,255,255,.07);
    color:var(--muted);
    display:flex;
    justify-content:space-between;
    gap:16px;
    font-size:11px;
}

.leaflet-container {
    font-family:inherit;
}

.leaflet-control-attribution {
    font-size:9px;
}

@media (max-width:1050px) {
    .current-stats {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .daily-grid {
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media (max-width:760px) {
    .topbar {
        min-height:68px;
        padding:10px 14px;
    }

    .brand-subtitle {
        display:none;
    }

    .status-pill {
        max-width:125px;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .page {
        width:min(100% - 20px,1440px);
        margin-top:15px;
    }

    .search-panel {
        flex-direction:column;
    }

    .search-wrap,
    .secondary-button {
        width:100%;
    }

    .search-results {
        right:0;
    }

    .current-grid {
        grid-template-columns:1fr;
        gap:12px;
    }

    .current-main {
        padding:18px;
    }

    .current-stats {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .temperature-row {
        align-items:flex-end;
    }

    .section-header {
        align-items:flex-start;
        flex-direction:column;
    }

    .map-tools {
        width:100%;
        justify-content:space-between;
    }

    #map {
        height:55vh;
        min-height:390px;
    }

    .daily-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .information-grid {
        grid-template-columns:1fr;
        gap:12px;
    }

    .footer,
    .map-footer {
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (max-width:430px) {
    #searchForm {
        display:grid;
        grid-template-columns:1fr auto;
    }

    #searchForm button {
        min-width:auto;
    }

    .weather-icon {
        font-size:42px;
    }

    .temperature {
        font-size:59px;
    }

    .daily-grid {
        grid-template-columns:1fr 1fr;
        padding:0 12px 14px;
    }

    .hourly-scroll {
        padding:0 12px 14px;
    }
}


/* ZAPWEATHER PAGASA START */

.pagasa-card {
    margin-bottom:18px;
    overflow:hidden;
}

.pagasa-link {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 13px;
    border-radius:11px;
    border:1px solid rgba(69,184,255,.25);
    background:rgba(69,184,255,.08);
    color:#9ddfff;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
}

.pagasa-link:hover {
    background:rgba(69,184,255,.14);
}

.official-notice {
    margin:0 20px 17px;
    padding:11px 13px;
    border:1px solid rgba(255,209,102,.22);
    border-radius:12px;
    background:rgba(255,209,102,.055);
    color:#d9cda7;
    font-size:12px;
    line-height:1.5;
}

.pagasa-status-bar {
    margin:0 20px 17px;
    padding:13px 15px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:13px;
    background:rgba(255,255,255,.025);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
}

.pagasa-label {
    display:block;
    color:var(--muted);
    font-size:10px;
    margin-bottom:3px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.pagasa-status-bar strong {
    font-size:13px;
}

.pagasa-badge {
    border-radius:999px;
    padding:7px 11px;
    font-size:10px;
    font-weight:850;
    letter-spacing:.04em;
    white-space:nowrap;
}

.pagasa-badge.loading {
    color:var(--muted);
    background:rgba(255,255,255,.04);
    border:1px solid var(--border);
}

.pagasa-badge.good {
    color:#bbf7d0;
    background:rgba(96,211,148,.09);
    border:1px solid rgba(96,211,148,.32);
}

.pagasa-badge.danger {
    color:#fecaca;
    background:rgba(248,113,113,.10);
    border:1px solid rgba(248,113,113,.34);
}

.pagasa-badge.warning {
    color:#fde68a;
    background:rgba(251,191,36,.09);
    border:1px solid rgba(251,191,36,.32);
}

.pagasa-content-grid {
    display:grid;
    grid-template-columns:
        minmax(0,1.1fr)
        minmax(0,.9fr);
    gap:14px;
    padding:0 20px 18px;
}

.pagasa-block {
    min-width:0;
    padding:17px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.07);
    background:rgba(255,255,255,.025);
}

.pagasa-block p {
    margin:0;
    color:#dbe7f5;
    line-height:1.65;
    font-size:13px;
}

.cyclone-block {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(69,184,255,.08),
            transparent 15rem
        ),
        rgba(255,255,255,.025);
}

.cyclone-title {
    font-weight:850;
    font-size:17px;
    line-height:1.35;
    margin-bottom:7px;
}

.cyclone-headline {
    color:#dbe7f5;
    font-size:12px;
    line-height:1.55;
    margin-bottom:8px;
}

#pagasaTcInfo {
    margin:0 0 11px;
    white-space:pre-wrap;
    word-wrap:break-word;
    color:var(--muted);
    font-family:inherit;
    font-size:11px;
    line-height:1.55;
    max-height:190px;
    overflow:auto;
}

.official-small-link {
    color:#77d6ff;
    text-decoration:none;
    font-size:11px;
}

.pagasa-subsection {
    padding:0 20px 19px;
}

.pagasa-forecast-grid {
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:10px;
}

.pagasa-forecast-item {
    border:1px solid rgba(255,255,255,.07);
    border-radius:13px;
    background:rgba(255,255,255,.025);
    padding:14px;
}

.pagasa-forecast-area {
    color:#f5f8fc;
    font-size:13px;
    font-weight:800;
    line-height:1.4;
    margin-bottom:7px;
}

.pagasa-condition {
    color:#81d8ff;
    font-size:12px;
    font-weight:700;
    margin-bottom:5px;
}

.pagasa-cause {
    color:#b7c5d7;
    font-size:11px;
    margin-bottom:6px;
}

.pagasa-impact {
    color:var(--muted);
    font-size:11px;
    line-height:1.5;
}

.pagasa-wind-grid {
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:10px;
}

.pagasa-wind-item {
    border:1px solid rgba(255,255,255,.07);
    border-radius:13px;
    background:rgba(255,255,255,.025);
    padding:13px;
}

.pagasa-wind-item strong {
    display:block;
    font-size:12px;
    margin-bottom:8px;
}

.pagasa-wind-row {
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:4px 0;
    font-size:10px;
}

.pagasa-wind-row span:first-child {
    color:var(--muted);
}

.pagasa-wind-row span:last-child {
    text-align:right;
}

.pagasa-loading {
    color:var(--muted);
    font-size:12px;
    padding:10px 0;
}

.pagasa-footer {
    min-height:43px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:10px 20px;
    border-top:1px solid rgba(255,255,255,.06);
    color:var(--muted);
    font-size:10px;
}

@media (max-width:900px) {

    .pagasa-content-grid {
        grid-template-columns:1fr;
    }

    .pagasa-wind-grid {
        grid-template-columns:1fr;
    }

}

@media (max-width:650px) {

    .pagasa-status-bar {
        align-items:flex-start;
        flex-direction:column;
    }

    .pagasa-forecast-grid {
        grid-template-columns:1fr;
    }

    .pagasa-content-grid,
    .pagasa-subsection {
        padding-left:12px;
        padding-right:12px;
    }

    .official-notice,
    .pagasa-status-bar {
        margin-left:12px;
        margin-right:12px;
    }

    .pagasa-footer {
        flex-direction:column;
        align-items:flex-start;
        padding-left:12px;
        padding-right:12px;
    }

}

/* ZAPWEATHER PAGASA END */


/* ZAPWEATHER MAP4 START */

.map-tools {
    flex-wrap:wrap;
    justify-content:flex-end;
}

.radar-control-panel {
    padding:12px 15px;
    border-bottom:1px solid var(--border);
    background:rgba(255,255,255,.018);
}

.radar-timeline-row {
    display:grid;
    grid-template-columns:auto minmax(180px,1fr) auto;
    gap:12px;
    align-items:center;
}

.radar-timeline-title {
    color:#d9e7f5;
    font-size:11px;
    font-weight:800;
}

#radarFrameSlider {
    width:100%;
    accent-color:#45b8ff;
}

.radar-frame-label {
    min-width:150px;
    text-align:right;
    color:var(--muted);
    font-size:10px;
}

.map-monitor-row {
    margin-top:10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.rain-legend {
    display:flex;
    align-items:center;
    gap:7px;
    color:var(--muted);
    font-size:9px;
}

.legend-gradient {
    width:120px;
    height:8px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.12);
    background:
        linear-gradient(
            90deg,
            #92ddff,
            #53adff,
            #2765dd,
            #8040c9,
            #d42979
        );
}

.storm-map-status {
    color:var(--muted);
    font-size:10px;
    text-align:right;
}

.storm-map-status.active {
    color:#fca5a5;
    font-weight:750;
}

.storm-map-status.exited {
    color:#a7f3d0;
}

.radar-history-note {
    margin-top:8px;
    color:#8194aa;
    font-size:9px;
}

@media (max-width:760px) {
    .radar-timeline-row {
        grid-template-columns:1fr;
    }

    .radar-frame-label {
        min-width:0;
        text-align:left;
    }

    .map-monitor-row {
        flex-direction:column;
        align-items:flex-start;
    }
}

/* ZAPWEATHER MAP4 END */


/* ZAPWEATHER STEP5 START */

.location-risk-card,
.city-watch-card {
    margin-bottom:18px;
    overflow:hidden;
}

.location-risk-badge {
    min-width:95px;
    text-align:center;
    border-radius:999px;
    padding:8px 13px;
    font-size:10px;
    font-weight:900;
    letter-spacing:.07em;
}

.risk-low {
    color:#bbf7d0;
    border:1px solid rgba(96,211,148,.32);
    background:rgba(96,211,148,.09);
}

.risk-watch {
    color:#bae6fd;
    border:1px solid rgba(56,189,248,.32);
    background:rgba(56,189,248,.09);
}

.risk-elevated {
    color:#fde68a;
    border:1px solid rgba(251,191,36,.34);
    background:rgba(251,191,36,.09);
}

.risk-high {
    color:#fecaca;
    border:1px solid rgba(248,113,113,.36);
    background:rgba(248,113,113,.10);
}

.risk-guidance-notice {
    margin:0 20px 15px;
    padding:10px 13px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.07);
    background:rgba(255,255,255,.025);
    color:var(--muted);
    font-size:11px;
    line-height:1.5;
}

.risk-stat-grid {
    display:grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap:10px;
    padding:0 20px 15px;
}

.risk-stat {
    border:1px solid rgba(255,255,255,.07);
    border-radius:13px;
    background:rgba(255,255,255,.025);
    padding:12px;
}

.risk-stat span {
    display:block;
    color:var(--muted);
    font-size:10px;
    margin-bottom:5px;
}

.risk-stat strong {
    font-size:14px;
}

.location-risk-advice {
    margin:0 20px 19px;
    padding:12px 14px;
    border-left:3px solid var(--accent);
    background:rgba(69,184,255,.045);
    border-radius:0 10px 10px 0;
    color:#d6e5f4;
    font-size:12px;
    line-height:1.55;
}

.city-watch-updated {
    color:var(--muted);
    font-size:10px;
}

.city-watch-note {
    margin:0 20px 15px;
    color:var(--muted);
    font-size:11px;
}

.city-watch-grid {
    display:grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap:10px;
    padding:0 20px 20px;
}

.city-watch-item {
    width:100%;
    min-width:0;
    text-align:left;
    color:var(--text);
    border:1px solid rgba(255,255,255,.07);
    background:rgba(255,255,255,.025);
    border-radius:14px;
    padding:13px;
    cursor:pointer;
    transition:.18s ease;
}

.city-watch-item:hover {
    border-color:rgba(69,184,255,.40);
    background:rgba(69,184,255,.06);
    transform:translateY(-2px);
}

.city-watch-top {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
}

.city-watch-name {
    font-size:13px;
    font-weight:800;
}

.city-watch-region {
    color:var(--muted);
    font-size:9px;
    margin-top:2px;
}

.city-watch-icon {
    font-size:26px;
}

.city-watch-temp {
    margin-top:10px;
    font-size:27px;
    font-weight:850;
    letter-spacing:-.04em;
}

.city-watch-condition {
    color:#bcd0e5;
    font-size:10px;
    min-height:29px;
    margin-top:3px;
}

.city-watch-details {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin-top:10px;
}

.city-watch-detail {
    color:var(--muted);
    font-size:9px;
}

.city-watch-detail strong {
    display:block;
    color:#dce8f5;
    font-size:10px;
    margin-top:2px;
}

.city-risk {
    display:inline-block;
    margin-top:10px;
    padding:5px 8px;
    border-radius:999px;
    font-size:8px;
    font-weight:900;
    letter-spacing:.06em;
}

.city-watch-loading {
    color:var(--muted);
    font-size:12px;
    padding:12px 0;
}

@media (max-width:1050px) {

    .city-watch-grid {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

}

@media (max-width:760px) {

    .risk-stat-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
        padding-left:12px;
        padding-right:12px;
    }

    .risk-guidance-notice,
    .location-risk-advice {
        margin-left:12px;
        margin-right:12px;
    }

    .city-watch-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
        padding-left:12px;
        padding-right:12px;
    }

    .city-watch-note {
        margin-left:12px;
        margin-right:12px;
    }

}

@media (max-width:430px) {

    .city-watch-grid {
        grid-template-columns:1fr;
    }

}

/* ZAPWEATHER STEP5 END */


/* ZAPWEATHER STEP6 START */

.topbar-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:9px;
}

.install-app-button {
    min-height:36px;
    padding:0 13px;
    border-radius:999px;
    border:1px solid rgba(69,184,255,.34);
    background:rgba(69,184,255,.10);
    color:#bce8ff;
    font-size:11px;
    font-weight:750;
}

.install-app-button:hover {
    background:rgba(69,184,255,.17);
}

.install-app-button[hidden] {
    display:none;
}

.system-health-footer {
    white-space:nowrap;
    font-size:10px;
    color:var(--muted);
}

.system-health-footer.healthy {
    color:#86efac;
}

.system-health-footer.degraded {
    color:#fde68a;
}

@media (max-width:600px) {

    .topbar-actions {
        gap:6px;
    }

    .install-app-button {
        min-height:33px;
        padding:0 9px;
        font-size:9px;
    }

    .footer {
        align-items:flex-start;
    }

}

/* ZAPWEATHER STEP6 END */


/* ZAPWEATHER STEP7 START */

#map {
    position:relative;
}

.zap-wind-canvas {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:450;
}

.wind-motion-monitor {
    margin-top:10px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    border-top:1px solid rgba(255,255,255,.05);
    padding-top:10px;
}

.wind-monitor {
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
    color:var(--muted);
    font-size:9px;
}

.wind-monitor-title {
    color:#dceaf7;
    font-weight:800;
}

.wind-speed-gradient {
    width:115px;
    height:8px;
    border-radius:999px;
    background:
        linear-gradient(
            90deg,
            #9be7ff 0%,
            #48b9ff 30%,
            #52d273 55%,
            #f2cd5c 75%,
            #f27a5c 100%
        );
}

.wind-flow-status {
    margin-left:5px;
    color:#9fb3c8;
    white-space:nowrap;
}

.storm-motion-status {
    color:#9fb3c8;
    font-size:9px;
    line-height:1.4;
    text-align:right;
    max-width:370px;
}

.storm-motion-status.official {
    color:#bfe5ff;
}

.storm-motion-status.preview {
    color:#fde68a;
}

.zap-storm-motion-wrap {
    background:transparent !important;
    border:none !important;
}

.zap-storm-motion-icon {
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:25px;
    filter:
        drop-shadow(
            0 0 6px
            rgba(255,255,255,.65)
        );
    animation:
        zapStormRotate 1.9s linear infinite,
        zapStormPulse 1.25s ease-in-out infinite alternate;
}

@keyframes zapStormRotate {

    from {
        transform:rotate(0deg);
    }

    to {
        transform:rotate(360deg);
    }

}

@keyframes zapStormPulse {

    from {
        opacity:.70;
        scale:.90;
    }

    to {
        opacity:1;
        scale:1.12;
    }

}

.zap-storm-track-label {
    padding:4px 7px;
    border-radius:7px;
    background:rgba(5,15,30,.88);
    border:1px solid rgba(255,255,255,.10);
    color:#e7eef7;
    font-size:9px;
}

@media (max-width:760px) {

    .wind-motion-monitor {
        align-items:flex-start;
        flex-direction:column;
    }

    .wind-monitor {
        flex-wrap:wrap;
    }

    .storm-motion-status {
        text-align:left;
        max-width:none;
    }

    .wind-speed-gradient {
        width:85px;
    }

}

/* ZAPWEATHER STEP7 END */

/* ZAPWEATHER STEP7B START */

.storm-size-status {
    color:#b5c8da;
    font-size:9px;
    line-height:1.45;
    text-align:right;
    max-width:420px;
}

.storm-size-status.available {
    color:#fed7aa;
    font-weight:700;
}

.storm-size-status.unavailable {
    color:#94a3b8;
}

.zap-storm-size-circle {
    animation:
        zapStormSizePulse
        2.3s ease-in-out infinite;
}

@keyframes zapStormSizePulse {

    0% {
        opacity:.42;
    }

    50% {
        opacity:.95;
    }

    100% {
        opacity:.42;
    }

}

.zap-storm-size-label {
    padding:6px 9px;
    border-radius:9px;
    background:rgba(9,18,32,.90);
    border:1px solid rgba(251,146,60,.45);
    color:#fed7aa;
    font-size:9px;
    line-height:1.35;
    white-space:nowrap;
    box-shadow:
        0 5px 18px
        rgba(0,0,0,.22);
}

@media (max-width:760px) {

    .storm-size-status {
        text-align:left;
        max-width:none;
    }

}

/* ZAPWEATHER STEP7B END */


/* ZAPWEATHER STEP8 START */

.zap-weather-color-canvas {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:425;
    opacity:.82;
}

.weather-timeline-panel {
    margin-top:11px;
    padding:13px 14px;
    border-radius:13px;
    border:1px solid rgba(255,255,255,.075);
    background:
        linear-gradient(
            180deg,
            rgba(5,15,30,.90),
            rgba(8,20,38,.78)
        );
}

.weather-timeline-header {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
}

.weather-timeline-kicker {
    color:#7f98b3;
    font-size:8px;
    font-weight:850;
    letter-spacing:.12em;
}

.weather-time-label {
    margin-top:3px;
    color:#f8fbff;
    font-size:17px;
    font-weight:850;
    letter-spacing:-.02em;
}

.weather-layer-status {
    color:#a9bfd4;
    font-size:9px;
    line-height:1.4;
    text-align:right;
}

.weather-time-controls {
    margin-top:12px;
    display:grid;
    grid-template-columns:
        auto
        auto
        minmax(160px,1fr)
        auto;
    align-items:center;
    gap:8px;
}

.weather-time-button,
.weather-play-button {
    min-height:32px;
    border-radius:9px;
    border:1px solid rgba(69,184,255,.22);
    background:rgba(69,184,255,.08);
    color:#d8efff;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}

.weather-time-button {
    min-width:34px;
}

.weather-play-button {
    min-width:68px;
    padding:0 10px;
}

.weather-time-button:hover,
.weather-play-button:hover {
    background:rgba(69,184,255,.16);
}

.weather-time-slider {
    width:100%;
    accent-color:#45b8ff;
    cursor:pointer;
}

.weather-time-slider:disabled {
    cursor:wait;
    opacity:.6;
}

.weather-day-row {
    margin-top:6px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#9fb3c8;
    font-size:9px;
    letter-spacing:.04em;
}

.weather-day-row strong {
    color:#d8e6f4;
}

.weather-day-arrow {
    opacity:.5;
}

.weather-color-legend {
    margin-top:10px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
    color:#8fa7bd;
    font-size:8px;
}

.weather-legend-title {
    color:#d9e6f3;
    font-weight:850;
    margin-right:3px;
}

.weather-swatch {
    width:17px;
    height:8px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
}

.weather-blue {
    background:#3b63ff;
}

.weather-cyan {
    background:#14b8d4;
}

.weather-green {
    background:#22c55e;
}

.weather-yellow {
    background:#facc15;
}

.weather-orange {
    background:#fb923c;
}

.weather-red {
    background:#ef4444;
}

.weather-purple {
    background:
        linear-gradient(
            90deg,
            #a855f7,
            #f02a8a
        );
}

.weather-timeline-note {
    margin-top:9px;
    color:#7f94a9;
    font-size:8px;
    line-height:1.45;
}

@media (max-width:760px) {

    .weather-timeline-header {
        flex-direction:column;
        gap:5px;
    }

    .weather-layer-status {
        text-align:left;
    }

    .weather-time-controls {
        grid-template-columns:
            auto
            auto
            minmax(80px,1fr)
            auto;
    }

    .weather-time-label {
        font-size:15px;
    }

}

@media (max-width:430px) {

    .weather-play-button {
        min-width:53px;
        padding:0 6px;
    }

}

/* ZAPWEATHER STEP8 END */


/* ZAPWEATHER STEP8B WINDY COLORS START */

.zap-weather-color-canvas {
    opacity:.94;
}

.weather-color-legend {
    display:block;
    margin-top:11px;
}

.weather-legend-title {
    display:block;
    margin-bottom:5px;
    color:#dce8f4;
    font-size:9px;
    font-weight:850;
}

.weather-windy-gradient {
    width:100%;
    height:10px;

    border-radius:999px;

    border:
        1px solid
        rgba(255,255,255,.10);

    background:
        linear-gradient(
            90deg,

            rgb(65,105,255) 0%,

            rgb(40,145,255) 10%,

            rgb(32,192,220) 20%,

            rgb(44,208,155) 30%,

            rgb(82,216,90) 40%,

            rgb(202,225,62) 50%,

            rgb(248,218,53) 58%,

            rgb(255,160,45) 68%,

            rgb(247,91,54) 76%,

            rgb(235,52,76) 84%,

            rgb(198,42,142) 90%,

            rgb(157,45,205) 95%,

            rgb(239,84,235) 100%
        );

    box-shadow:
        0 0 12px
        rgba(60,150,255,.14);
}

.weather-windy-labels {
    margin-top:4px;

    display:flex;

    justify-content:space-between;

    gap:5px;

    color:#8399af;

    font-size:8px;
}

.weather-windy-labels span:nth-child(4),
.weather-windy-labels span:nth-child(5) {
    color:#e8b5dc;
}

/* ZAPWEATHER STEP8B WINDY COLORS END */

/* ZAPWEATHER STEP8C STORM WEATHER START */

/*
 * The actual storm appearance comes from the
 * precipitation/weather field + moving wind.
 * The center marker is intentionally secondary.
 */

.zap-storm-motion-icon {
    width:23px !important;
    height:23px !important;
    font-size:17px !important;

    filter:
        drop-shadow(
            0 0 5px
            rgba(255,255,255,.85)
        ) !important;
}

.zap-storm-size-circle {
    opacity:.55;
}

.zap-weather-color-canvas {
    opacity:.98;
}

/* ZAPWEATHER STEP8C STORM WEATHER END */

/* ZAPWEATHER STEP8D WINDY WIND START */

/*
 * Old Step 7 particle canvas is disabled.
 * STEP 8D owns both the colored wind field
 * and the particle animation.
 */

.zap-wind-canvas {
    display:none !important;
}


.zap-windy-speed-canvas {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:414;
    opacity:.88;
}


.zap-windy-particle-canvas {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:455;
}


.windy-wind-legend {
    min-width:220px;
}


.windy-wind-gradient {

    height:9px;

    width:100%;

    border-radius:999px;

    background:
        linear-gradient(
            90deg,

            rgb(55,65,125) 0%,

            rgb(54,112,166) 12%,

            rgb(55,151,175) 24%,

            rgb(61,176,125) 39%,

            rgb(81,188,86) 50%,

            rgb(183,184,92) 65%,

            rgb(205,157,92) 76%,

            rgb(204,108,101) 87%,

            rgb(157,66,142) 100%
        );

    border:
        1px solid
        rgba(255,255,255,.16);
}


.windy-wind-scale {

    margin-top:3px;

    display:flex;

    justify-content:space-between;

    color:#aab9c7;

    font-size:8px;
}


.windy-wind-scale span:first-child {
    color:#e5edf5;
    font-weight:800;
}


/*
 * The natural model vortex is primary.
 * Keep the artificial center icon small.
 */

.zap-storm-motion-icon {
    width:18px !important;
    height:18px !important;
    font-size:14px !important;
}


/*
 * Keep official PAGASA wind extent visible
 * without covering the modeled wind vortex.
 */

.zap-storm-size-circle {
    opacity:.33 !important;
}


@media (max-width:760px) {

    .windy-wind-legend {
        width:100%;
        min-width:0;
    }

}

/* ZAPWEATHER STEP8D WINDY WIND END */

/* ZAPWEATHER STEP8E GLOBAL WIND START */

.zap-global-wind-color-canvas {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:402;
    opacity:.90;
}

.zap-global-wind-particle-canvas {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:445;
}

/*
 * Regional ECMWF stays above this layer,
 * so the Philippines / storm region remains
 * more detailed than the global background.
 */

/* ZAPWEATHER STEP8E GLOBAL WIND END */

/* ZAPWEATHER STEP8F SEAMLESS BLEND START */

/*
 * Global ECMWF is the continuous base.
 * Regional ECMWF adds detail without
 * appearing like a rectangular image.
 */

.zap-global-wind-color-canvas {
    opacity:.94 !important;
}

.zap-windy-speed-canvas {
    opacity:.82 !important;
}

.zap-global-wind-particle-canvas {
    opacity:.82;
}

.zap-windy-particle-canvas {
    opacity:.88;
}

/* ZAPWEATHER STEP8F SEAMLESS BLEND END */

/* ZAPWEATHER STEP8G CLEAR MAP START */

/*
 * Windy keeps geographic information readable.
 * Our OSM labels are baked into raster tiles, so
 * excessively opaque weather canvases hide them.
 */

.zap-global-wind-color-canvas {
    opacity:.58 !important;
}

.zap-windy-speed-canvas {
    opacity:.46 !important;
}

.zap-global-wind-particle-canvas {
    opacity:.86 !important;
}

.zap-windy-particle-canvas {
    opacity:.90 !important;
}

/*
 * Rain/thunder should remain visible without
 * completely obscuring map names and borders.
 */

.zap-weather-color-canvas {
    opacity:.72 !important;
}

/* ZAPWEATHER STEP8G CLEAR MAP END */

/* ZAPWEATHER STEP8H PAGASA RAIN START */

.pagasa-rain-legend {
    margin-top:11px;
}

.pagasa-rain-title {
    margin-bottom:7px;
    color:#dce9f6;
    font-size:9px;
    font-weight:900;
    letter-spacing:.06em;
}

.pagasa-rain-items {
    display:grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );
    gap:6px;
}

.pagasa-rain-item {
    min-height:52px;
    padding:7px 8px;
    border-radius:8px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    line-height:1.2;
    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.12);
}

.pagasa-rain-item strong {
    font-size:11px;
    font-weight:950;
}

.pagasa-rain-item span {
    margin-top:2px;
    font-size:8px;
    font-weight:900;
}

.pagasa-rain-item small {
    margin-top:3px;
    font-size:8px;
    font-weight:750;
}

.pagasa-yellow {
    background:#ffd700;
    color:#131313;
}

.pagasa-orange {
    background:#ff7700;
    color:#ffffff;
}

.pagasa-red {
    background:#cc0c23;
    color:#ffffff;
}

@media (max-width:600px) {

    .pagasa-rain-items {
        grid-template-columns:1fr;
    }

}

/* ZAPWEATHER STEP8H PAGASA RAIN END */

/* ZAPWEATHER STEP8I WINDY COLOR MATCH START */

/*
 * Palette visually matched to the Windy
 * wind scale shown in the supplied screenshot.
 */

.windy-wind-gradient {

    background:
        linear-gradient(
            90deg,

            #626fb8 0%,

            #4993a8 16.666%,

            #4d8e7b 33.333%,

            #68a236 50%,

            #a06c5c 66.666%,

            #954c90 83.333%,

            #5b86a0 100%
        ) !important;
}


/*
 * Stronger color appearance like the supplied
 * Windy screenshot while keeping the underlying
 * geographic map visible.
 */

.zap-global-wind-color-canvas {
    opacity:.70 !important;
}

.zap-windy-speed-canvas {
    opacity:.48 !important;
}

.zap-global-wind-particle-canvas {
    opacity:.92 !important;
}

.zap-windy-particle-canvas {
    opacity:.95 !important;
}

/* ZAPWEATHER STEP8I WINDY COLOR MATCH END */

/* STEP8J WIND SCALE */

.windy-wind-gradient {
    background:
        linear-gradient(
            90deg,
            #484396 0%,
            #4069b9 8%,
            #3697be 16%,
            #37b496 25%,
            #4bbe5c 34%,
            #96c446 43%,
            #cdb852 52%,
            #db914e 61%,
            #d55f5a 70%,
            #c04082 78%,
            #a03aa5 86%,
            #7a35b4 94%,
            #5c2a9b 100%
        ) !important;
}

/*
 * Keep colors strong without covering
 * country borders and labels too heavily.
 */

.zap-global-wind-color-canvas {
    opacity:.64 !important;
}

.zap-windy-speed-canvas {
    opacity:.54 !important;
}

/* END STEP8J */

/* ZAPWEATHER STEP8K EXACT WINDY RENDER START */

/*
 * Only one color field is now dominant at a
 * location, so we no longer need to make it
 * extremely transparent.
 *
 * Multiply keeps dark OSM borders and labels
 * readable through strong weather colors.
 */

.zap-global-wind-color-canvas {
    opacity:.82 !important;
    mix-blend-mode:multiply;
}

.zap-windy-speed-canvas {
    opacity:.82 !important;
    mix-blend-mode:multiply;
}


/*
 * Wind particles remain bright like Windy.
 */

.zap-global-wind-particle-canvas {
    opacity:.88 !important;
}

.zap-windy-particle-canvas {
    opacity:.92 !important;
}


/*
 * Exact visual order of the Windy scale
 * supplied by the user.
 */

.windy-wind-gradient {

    background:
        linear-gradient(
            90deg,

            #6070b6 0%,

            #4993a8 16.666%,

            #4d8e7b 33.333%,

            #68a236 50%,

            #a06c5c 66.666%,

            #954c90 83.333%,

            #5b869f 100%
        ) !important;
}


/*
 * Do not let optional rain colors wash over
 * Wind Flow unless the user turns them on.
 */

.zap-weather-color-canvas {
    opacity:.68 !important;
}

/* ZAPWEATHER STEP8K EXACT WINDY RENDER END */

/* ZAPWEATHER STEP8L TRUE WIND RENDER START */

/*
 * Important:
 *
 * Do NOT multiply the weather colors into
 * the pale OpenStreetMap tiles.
 *
 * That was changing the Windy palette into
 * pale greens/cyans.
 */

.zap-global-wind-color-canvas {
    opacity:.88 !important;
    mix-blend-mode:normal !important;
}


/*
 * Global color is now the main continuous
 * weather field.
 *
 * Regional ECMWF only adds finer structure.
 */

.zap-windy-speed-canvas {
    opacity:.24 !important;
    mix-blend-mode:normal !important;
}


/*
 * Keep both streamline layers strong.
 */

.zap-global-wind-particle-canvas {
    opacity:.92 !important;
}

.zap-windy-particle-canvas {
    opacity:.96 !important;
}


/*
 * Make the underlying OSM geography darker
 * and less colorful.
 *
 * This lets the wind colors dominate while
 * country lines/text remain visible.
 */

.leaflet-tile-pane {
    filter:
        saturate(.40)
        brightness(.76)
        contrast(1.20);
}


/*
 * Match sampled Windy colorbar.
 */

.windy-wind-gradient {

    background:
        linear-gradient(
            90deg,

            #5b6db1 0%,

            #478da3 16.666%,

            #4a8974 33.333%,

            #639b35 50%,

            #9a6556 66.666%,

            #8b4888 83.333%,

            #568099 100%
        ) !important;
}


/*
 * Slightly finer / cleaner Windy-style
 * white streamline appearance.
 */

.zap-global-wind-particle-canvas,
.zap-windy-particle-canvas {
    filter:
        brightness(1.18);
}


/*
 * Rain must not affect the comparison unless
 * user intentionally enables it.
 */

.zap-weather-color-canvas {
    opacity:.66 !important;
}

/* ZAPWEATHER STEP8L TRUE WIND RENDER END */

/* ZAPWEATHER STEP8M WINDY PARTICLES START */

/*
 * Old particle canvases are retired.
 * Their color canvases remain active.
 */

.zap-global-wind-particle-canvas,
.zap-windy-particle-canvas,
.zap-wind-canvas {
    display:none !important;
}


/*
 * Single unified moving U/V vector canvas.
 */

.zap-unified-wind-particles {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:458;
    opacity:.97;
}

/* ZAPWEATHER STEP8M WINDY PARTICLES END */

/* ZAPWEATHER STEP8O CLEAR WIND MAP START */

/*
 * Keep wind colors visible but allow
 * OpenStreetMap geography, roads, labels
 * and borders to show underneath.
 */

.zap-global-wind-color-canvas {
    opacity:.48 !important;
    mix-blend-mode:normal !important;
}


/*
 * Regional detailed ECMWF adds only
 * a small amount of extra color.
 */

.zap-windy-speed-canvas {
    opacity:.20 !important;
    mix-blend-mode:normal !important;
}


/*
 * Keep moving white wind particles
 * clear and visible.
 */

.zap-unified-wind-particles {
    opacity:.92 !important;
}


/*
 * Restore clearer normal OSM tiles.
 */

.leaflet-tile-pane {
    filter:
        saturate(.82)
        brightness(.98)
        contrast(1.08)
        !important;
}


/*
 * Optional PAGASA rainfall colors remain
 * separate and stronger only when enabled.
 */

.zap-weather-color-canvas {
    opacity:.68 !important;
}

/* ZAPWEATHER STEP8O CLEAR WIND MAP END */

/* ZAPWEATHER STEP8P SEPARATE WIND LAYERS START */

/*
 * ORIGINAL MAP:
 * Do not recolor or darken the OSM tiles.
 */

.leaflet-tile-pane {
    filter:none !important;
    opacity:1 !important;
}


/*
 * WIND COLORS:
 * Hidden independently from Wind Flow.
 *
 * The color engines can continue calculating
 * in the background, but they do not cover
 * the original map unless Wind Colors is ON.
 */

html.zap-hide-wind-colors
.zap-global-wind-color-canvas,

html.zap-hide-wind-colors
.zap-windy-speed-canvas {
    display:none !important;
}


/*
 * MOVING WIND:
 * One transparent canvas directly over
 * the original geographic map.
 */

.zap-unified-wind-particles {
    display:block !important;
    opacity:.90 !important;
    mix-blend-mode:normal !important;
    z-index:458 !important;
}


/*
 * Retired particle canvases remain hidden.
 */

.zap-global-wind-particle-canvas,
.zap-windy-particle-canvas,
.zap-wind-canvas {
    display:none !important;
}

/* ZAPWEATHER STEP8P SEPARATE WIND LAYERS END */

/* ZAPWEATHER STEP8Q MOVING OVERLAY START */

/*
 * ORIGINAL MAP stays normal and readable.
 */

.leaflet-tile-pane {
    filter:none !important;
    opacity:1 !important;
}


/*
 * Wind colors are optional and OFF initially.
 */

.zap-global-wind-color-canvas,
.zap-windy-speed-canvas {
    display:none !important;
}


html.zap-show-wind-colors
.zap-global-wind-color-canvas,

html.zap-show-wind-colors
.zap-windy-speed-canvas {
    display:block !important;
}


/*
 * Only this unified ECMWF particle canvas
 * normally overlaps the original map.
 */

.zap-unified-wind-particles {
    display:block !important;
    opacity:.96 !important;
    mix-blend-mode:normal !important;
    z-index:458 !important;
}


/*
 * Old particle renderers stay disabled.
 */

.zap-global-wind-particle-canvas,
.zap-windy-particle-canvas,
.zap-wind-canvas {
    display:none !important;
}


/*
 * PAGASA Storm Center marker is not used.
 * Forecast track/data may remain available.
 */

.zap-storm-motion-icon,
.zap-storm-center,
.zap-storm-center-marker,
.storm-center-marker {
    display:none !important;
}

/* ZAPWEATHER STEP8Q MOVING OVERLAY END */

/* ZAPWEATHER STEP8R PARTICLE VISIBILITY START */

.zap-unified-wind-particles {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:none !important;
    z-index:500 !important;
}


/*
 * Original map remains untouched.
 */

.leaflet-tile-pane {
    filter:none !important;
    opacity:1 !important;
}


/*
 * Wind color canvases remain optional.
 * They must not cover the map while
 * Wind Colors is unchecked.
 */

html:not(.zap-show-wind-colors)
.zap-global-wind-color-canvas,

html:not(.zap-show-wind-colors)
.zap-windy-speed-canvas {
    display:none !important;
}

/* ZAPWEATHER STEP8R PARTICLE VISIBILITY END */

/* ZAPWEATHER STEP8R1 VISIBLE DASH START */

.zap-unified-wind-particles {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:none !important;
    mix-blend-mode:normal !important;
    z-index:650 !important;
}


/*
 * Original OpenStreetMap remains completely
 * normal underneath the moving particles.
 */

.leaflet-tile-pane {
    filter:none !important;
    opacity:1 !important;
}


/*
 * Wind Colors remain hidden unless their
 * separate checkbox is enabled.
 */

html:not(.zap-show-wind-colors)
.zap-global-wind-color-canvas,

html:not(.zap-show-wind-colors)
.zap-windy-speed-canvas {
    display:none !important;
}

/* ZAPWEATHER STEP8R1 VISIBLE DASH END */

/* ZAPWEATHER STEP8R2-R1 START */

/*
 * Original OpenStreetMap remains completely
 * visible and unmodified.
 */

.leaflet-tile-pane {
    filter:none !important;
    opacity:1 !important;
}


/*
 * Unified moving wind sits directly above map.
 */

.zap-unified-wind-particles {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:none !important;
    mix-blend-mode:normal !important;
    z-index:650 !important;
}


/*
 * Wind Colors remain optional.
 */

html:not(.zap-show-wind-colors)
.zap-global-wind-color-canvas,

html:not(.zap-show-wind-colors)
.zap-windy-speed-canvas {
    display:none !important;
}


/*
 * Old particle engines stay hidden.
 */

.zap-global-wind-particle-canvas,
.zap-windy-particle-canvas,
.zap-wind-canvas {
    display:none !important;
}

/* ZAPWEATHER STEP8R2-R1 END */

/* ZAPWEATHER STEP8S RAIN INTENSITY START */

.rain-intensity-scale {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    margin-top:7px;
    overflow:hidden;
    border-radius:7px;
    font-size:8px;
    font-weight:800;
    text-align:center;
}

.rain-intensity-scale span {
    padding:5px 3px;
}

.rain-light {
    background:#2d91ff;
    color:#fff;
}

.rain-moderate {
    background:#ffdc28;
    color:#111;
}

.rain-strong {
    background:#ff9119;
    color:#fff;
}

.rain-heavy {
    background:#eb2d2d;
    color:#fff;
}

.rain-very-heavy {
    background:#9b0014;
    color:#fff;
}

/* ZAPWEATHER STEP8S RAIN INTENSITY END */

/* ZAPWEATHER STEP8T REMOVE PAGASA FORECAST START */

.zap-storm-track-label,
.zap-storm-forecast-label,
.zap-storm-motion-track,
.zap-forecast-track,
.pagasa-forecast-track {
    display:none !important;
}

/* ZAPWEATHER STEP8T REMOVE PAGASA FORECAST END */
