.map-app-prompt {
    position: fixed;
    inset: 0 0 min(10dvh, 80px);
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 352px;
    max-height: calc(100dvh - min(10dvh, 80px) - 32px);
    margin: auto;
    padding: 32px 24px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    color: #253047;
    box-shadow: 0 16px 56px rgb(0 0 0 / 20%);
    text-align: center;
    font-family: inherit;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.map-app-prompt::backdrop {
    background: rgb(15 23 42 / 58%);
    touch-action: none;
}

html.map-app-prompt-open,
html.map-app-prompt-open body {
    overflow: hidden;
}

.map-app-prompt [hidden] {
    display: none;
}

.map-app-prompt-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #526075;
    cursor: pointer;
}

.map-app-prompt-icon {
    display: block;
    margin: 0 auto 12px;
    border-radius: 15px;
}

.map-app-prompt .map-app-prompt-name {
    margin: 0 0 12px;
    color: #647084;
    font-size: 12px;
    line-height: 1.5;
}

.map-app-prompt h2 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.map-app-prompt #map-app-prompt-description {
    margin: 0 0 24px;
    color: #526075;
    font-size: 15px;
    line-height: 1.55;
}

.map-app-prompt-store {
    display: table;
    margin: 0 auto 12px;
    border-radius: 7px;
}

.map-app-prompt-store img {
    display: block;
    height: 48px;
    width: auto;
}

.map-app-prompt-dismiss {
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #526075;
    font: inherit;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.map-app-prompt button:enabled:hover {
    background: #f1f5f9;
}

.map-app-prompt :focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}
