.h5-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.h5-modal {
    width: 90%;
    max-width: 420px;
    background: #111;
    border-radius: 12px;
    padding: 18px;
    color: #fff;
    position: relative;
    animation: fadeIn .25s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.h5-modal h3 {
    text-align: center;
    margin-bottom: 12px;
}

.h5-route-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.h5-route {
    padding: 12px;
    border-radius: 8px;
    background: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.h5-route .enter-btn {
    background: #18a058;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    color: white;
    cursor: pointer;
}

#h5Close {
    position:absolute;
    right:12px;
    top:12px;
    cursor:pointer;
    font-size:20px;
}