.vycweathermap{
    width:100%;
    min-width:0;
    color:#263746;
}

.vycweathermap *{
    box-sizing:border-box;
}

.vycweathermap-toolbar{
    position:relative;
    z-index:2;
    background:#f5f8fb;
    border:1px solid #d9e2ea;
    border-bottom:0;
    border-radius:9px 9px 0 0;
    overflow:hidden;
}

.vycweathermap-toolbar-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:.55rem 1.1rem;
    padding:.65rem .8rem;
}

.vycweathermap-control-group{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:.38rem;
}

.vycweathermap-layer-label{
    color:#627585;
    font-size:.68rem;
    font-weight:750;
    letter-spacing:.055em;
    text-transform:uppercase;
    margin-right:.08rem;
}

.vycweathermap-switch{
    display:inline-flex;
    align-items:center;
    gap:.32rem;
    min-height:31px;
    margin:0;
    padding:.28rem .5rem;
    border:1px solid #d2dde6;
    border-radius:999px;
    background:#fff;
    color:#334b60;
    cursor:pointer;
    font-size:.75rem;
    line-height:1;
}

.vycweathermap-switch input{
    margin:0;
}

.vycweathermap-view-buttons{
    display:flex;
    gap:.35rem;
    margin-left:auto;
}

.vycweathermap-view-button,
.vycweathermap-overlay-button,
.vycweathermap-step-button{
    border:1px solid #bbcbd8;
    background:#fff;
    color:#173f79;
    font:inherit;
    font-weight:650;
    cursor:pointer;
}

.vycweathermap-view-button,
.vycweathermap-overlay-button{
    min-height:33px;
    border-radius:6px;
    padding:.35rem .62rem;
    font-size:.75rem;
}

.vycweathermap-view-button:hover,
.vycweathermap-overlay-button:hover{
    background:#eaf2f8;
}

.vycweathermap-overlay-button.is-active{
    background:#174a7c;
    border-color:#174a7c;
    color:#fff;
}

.vycweathermap-overlay-clear{
    color:#667684;
}

.vycweathermap-timeline{
    display:flex;
    align-items:center;
    gap:.55rem;
    padding:.55rem .8rem .45rem;
    border-top:1px solid #dce6ed;
    background:#fff;
}

.vycweathermap-timeline-main{
    flex:1 1 auto;
    min-width:0;
}

.vycweathermap-timeline-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.8rem;
    margin-bottom:.15rem;
    color:#435b6c;
    font-size:.75rem;
}

.vycweathermap-timeline-head strong{
    color:#173f79;
}

.vycweathermap-valid-time{
    color:#6b7986;
    white-space:nowrap;
}

.vycweathermap-timeline-range{
    display:block;
    width:100%;
    margin:0;
}

.vycweathermap-timeline-scale{
    display:flex;
    justify-content:space-between;
    padding-top:.08rem;
    color:#83909a;
    font-size:.61rem;
}

.vycweathermap-step-button{
    flex:0 0 34px;
    width:34px;
    height:34px;
    border-radius:50%;
    padding:0;
    font-size:1.35rem;
    line-height:1;
}

.vycweathermap-step-button:hover{
    background:#eaf2f8;
}

.vycweathermap-stage{
    position:relative;
    width:100%;
    min-height:var(--vyc-map-height,800px);
    border-left:1px solid #d9e2ea;
    border-right:1px solid #d9e2ea;
    background:#d9e3ea;
}

.vycweathermap-canvas{
    width:100%;
    height:var(--vyc-map-height,800px);
    min-height:420px;
}

.vycweathermap-status{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    padding:2rem;
    background:#eef3f7;
    color:#52697b;
    text-align:center;
}

.vycweathermap-status-error{
    color:#8a3030;
}

.vycweathermap-overlay-badge{
    position:absolute;
    left:12px;
    bottom:24px;
    z-index:3;
    max-width:calc(100% - 24px);
    padding:.45rem .62rem;
    border-radius:6px;
    background:rgba(255,255,255,.93);
    box-shadow:0 1px 5px rgba(0,0,0,.22);
    color:#263746;
    font-size:.72rem;
    pointer-events:none;
}

.vycweathermap-overlay-badge span{
    display:block;
    margin-top:.08rem;
    color:#71808d;
    font-size:.64rem;
}

.vycweathermap-legend{
    position:absolute;
    right:12px;
    bottom:24px;
    z-index:3;
    width:235px;
    max-width:calc(100% - 24px);
    padding:.55rem .65rem;
    border-radius:7px;
    background:rgba(255,255,255,.93);
    box-shadow:0 1px 5px rgba(0,0,0,.22);
    pointer-events:none;
}

.vycweathermap-legend-title{
    margin-bottom:.35rem;
    color:#263746;
    font-size:.7rem;
    font-weight:750;
}

.vycweathermap-legend-gradient{
    height:9px;
    border-radius:4px;
    box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);
}

.vycweathermap-legend-scale{
    display:flex;
    justify-content:space-between;
    gap:.12rem;
    margin-top:.12rem;
    color:#4e6170;
    font-size:.56rem;
}

.vycweathermap-legend-note{
    margin-top:.32rem;
    color:#6f7d88;
    font-size:.59rem;
    line-height:1.25;
}

.vycweathermap-footer{
    display:flex;
    justify-content:space-between;
    gap:1rem;
    padding:.52rem .75rem;
    border:1px solid #d9e2ea;
    border-radius:0 0 9px 9px;
    background:#fff;
    color:#6b7986;
    font-size:.72rem;
    line-height:1.4;
}

.vycweathermap-info{
    min-width:220px;
    max-width:290px;
    color:#263746;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.vycweathermap-info h4{
    margin:0 0 .2rem;
    color:#173f79;
    font-size:1rem;
}

.vycweathermap-info-condition{
    margin-bottom:.55rem;
    color:#647585;
    font-size:.8rem;
}

.vycweathermap-info dl{
    margin:0;
}

.vycweathermap-info dl>div{
    display:grid;
    grid-template-columns:55px 1fr;
    gap:.5rem;
    padding:.2rem 0;
    border-bottom:1px solid #edf1f4;
}

.vycweathermap-info dt{
    color:#748391;
    font-size:.72rem;
    font-weight:600;
}

.vycweathermap-info dd{
    margin:0;
    color:#263746;
    font-size:.78rem;
    font-weight:600;
}

.vycweathermap-info-gribs{
    display:flex;
    flex-wrap:wrap;
    gap:.4rem;
    margin-top:.65rem;
}

.vycweathermap-info-gribs a{
    display:inline-block;
    border-radius:5px;
    background:#174a7c;
    color:#fff!important;
    padding:.4rem .55rem;
    text-decoration:none!important;
    font-size:.72rem;
    font-weight:700;
}

.vycweathermap-info-loading p{
    margin-bottom:0;
    color:#697a88;
    font-size:.8rem;
}

@media(max-width:900px){
    .vycweathermap-view-buttons{
        margin-left:0;
    }
}

@media(max-width:720px){
    .vycweathermap-toolbar-row{
        align-items:flex-start;
        flex-direction:column;
    }

    .vycweathermap-control-group{
        width:100%;
    }

    .vycweathermap-view-buttons{
        width:100%;
    }

    .vycweathermap-view-button{
        flex:1 1 auto;
    }

    .vycweathermap-timeline-head{
        align-items:flex-start;
        flex-direction:column;
        gap:.05rem;
    }

    .vycweathermap-valid-time{
        white-space:normal;
    }

    .vycweathermap-stage{
        min-height:600px;
    }

    .vycweathermap-canvas{
        height:600px;
    }

    .vycweathermap-footer{
        flex-direction:column;
        gap:.25rem;
    }

    .vycweathermap-legend{
        right:8px;
        bottom:72px;
        width:210px;
    }

    .vycweathermap-overlay-badge{
        left:8px;
        bottom:22px;
    }
}

@media(max-width:460px){
    .vycweathermap-layer-label{
        width:100%;
    }

    .vycweathermap-switch,
    .vycweathermap-overlay-button{
        flex:1 1 calc(50% - .5rem);
        justify-content:center;
    }

    .vycweathermap-timeline{
        gap:.32rem;
        padding-left:.45rem;
        padding-right:.45rem;
    }

    .vycweathermap-step-button{
        flex-basis:30px;
        width:30px;
        height:30px;
    }

    .vycweathermap-timeline-scale{
        font-size:.5rem;
    }

    .vycweathermap-legend{
        width:190px;
    }
}
