.android-app-prompt[hidden] {
    display: none !important;
}

.android-app-prompt {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: end center;
    padding: 18px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.android-app-prompt__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(2, 10, 24, .72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.android-app-prompt__dialog {
    position: relative;
    width: min(100%, 430px);
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, .32);
    border-radius: 24px;
    outline: none;
    background: linear-gradient(145deg, #101f35, #081426 68%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .48), 0 0 45px rgba(8, 119, 249, .14);
    color: #f8fbff;
    animation: android-app-prompt-enter .28s ease-out both;
}

.android-app-prompt__dialog::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    top: -116px;
    right: -78px;
    border-radius: 50%;
    background: rgba(8, 119, 249, .17);
}

.android-app-prompt__close {
    position: absolute;
    z-index: 1;
    top: 14px;
    right: 14px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 12px;
    background: rgba(15, 30, 51, .82);
    color: #b8c8dc;
    cursor: pointer;
}

.android-app-prompt__close svg {
    width: 20px;
    fill: currentColor;
}

.android-app-prompt__brand {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(8, 119, 249, .46);
    border-radius: 19px;
    background: rgba(8, 119, 249, .12);
    box-shadow: 0 12px 30px rgba(8, 119, 249, .2);
}

.android-app-prompt__brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .96;
}

.android-app-prompt__copy {
    position: relative;
}

.android-app-prompt__eyebrow {
    color: #5ca9ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.android-app-prompt__copy h2 {
    margin: 8px 44px 8px 0;
    color: #fff;
    font-size: clamp(23px, 6vw, 30px);
    line-height: 1.14;
    letter-spacing: -.035em;
}

.android-app-prompt__copy p {
    margin: 0;
    color: #aebed2;
    font-size: 14px;
    line-height: 1.6;
}

.android-app-prompt__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.android-app-prompt__install,
.android-app-prompt__later {
    font: inherit;
}

.android-app-prompt__install {
    display: inline-grid;
    align-items: center;
    justify-content: start;
    justify-self: start;
    padding: 7px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    text-decoration: none;
}

.android-app-prompt__install img {
    display: block;
    width: clamp(176px, 48vw, 205px);
    max-width: 100%;
    height: auto;
}

.android-app-prompt__later {
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 999px;
    background: rgba(148, 163, 184, .055);
    color: #aebed2;
    cursor: pointer;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.android-app-prompt__install:hover {
    background: rgba(96, 165, 250, .08);
}

.android-app-prompt__later:hover {
    border-color: rgba(148, 163, 184, .3);
    background: rgba(148, 163, 184, .1);
    color: #d6e2f1;
}

.android-app-prompt__close:focus-visible,
.android-app-prompt__install:focus-visible,
.android-app-prompt__later:focus-visible {
    outline: 3px solid rgba(96, 165, 250, .58);
    outline-offset: 2px;
}

@keyframes android-app-prompt-enter {
    from { opacity: 0; transform: translateY(24px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 700px) {
    .android-app-prompt {
        place-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .android-app-prompt__dialog {
        animation: none;
    }
}
