/* The share card dialog. */

body.modal-open #map {
    filter: blur(6px);
}
.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(5, 7, 12, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}
.dialog {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px;
    border-radius: 36px;
}
.card-frame {
    width: min(562px, calc(100vw - 88px), calc((100vh - 190px) * .8));
    aspect-ratio: 1080 / 1350;
    border-radius: 29px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    background: #11141b;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.dlg-actions {
    width: 100%;
    display: flex;
    gap: 12px;
}
.dlg-actions button {
    flex: 1;
    height: 48px;
    border-radius: 999px;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--fill);
    color: #fff;
}
.btn-tonal {
    background: rgba(255, 255, 255, .12);
}
