.app-download-prompt {
    color: #fff;
    font-family: "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    text-align: left;
    box-sizing: border-box;
}

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

#app-download-prompts.is-stay-open::before {
    position: fixed;
    inset: 0;
    z-index: 49;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    content: "";
}

.app-download-prompt__close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.app-download-prompt--stay {
    position: fixed;
    right: max(20px, env(safe-area-inset-right, 0px));
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: flex;
    align-items: center;
    width: 628px;
    max-width: calc(100vw - 40px);
    height: 401px;
    background: #211F38;
    border-radius: 32px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.app-stay-prompt__poster {
    display: block;
    flex: 0 0 284px;
    width: 284px;
    height: 401px;
    object-fit: cover;
    object-position: center 57.3%;
    border-radius: 32px 0 0 32px;
}

.app-stay-prompt__content {
    flex: 1;
    min-width: 0;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.app-stay-prompt__title {
    align-self: stretch;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    line-height: 34px;
    text-align: center;
    white-space: nowrap;
}
.app-stay-prompt__title span { color: #F12B9E; }

.app-stay-prompt__qr {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 160px;
    width: 160px;
    height: 160px;
    padding: 4px;
    background: #fff;
    border-radius: 7.27px;
}
.app-stay-prompt__qr > img,
.app-stay-prompt__qr > canvas {
    display: block;
    width: 152px;
    height: 152px;
}

.app-stay-prompt__description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 22px;
}
.app-stay-prompt__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.app-stay-prompt__download {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    width: 144px;
    height: 45px;
    background: #F12B9E;
    border-radius: 23px;
    color: #fff;
    font-family: "PingFang SC", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    white-space: nowrap;
}
.app-stay-prompt__download--ios { background: #2B98F1; }
.app-stay-prompt__close {
    top: 20px;
    right: 20px;
    background: transparent;
}

.app-download-prompt--player {
    position: absolute;
    right: 24px;
    bottom: 98px;
    z-index: 7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 440px;
    max-width: calc(100% - 48px);
    min-height: 94px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #211A2A;
}
.app-player-prompt__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.app-player-prompt__logo {
    flex: 0 0 62px;
    width: 62px;
    height: 48px;
    object-fit: contain;
}
.app-player-prompt__name {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}
.app-player-prompt__description {
    margin-top: 4px;
    color: #A69BB6;
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
}
.app-player-prompt__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 110px;
    width: 110px;
    height: 40px;
    border-radius: 20px;
    background: linear-gradient(90deg, #D51C8D 0%, #9321E9 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 26px;
    text-decoration: none;
}
.app-player-prompt__close {
    top: -12px;
    right: -4px;
    border-radius: 50%;
    background: #3B3045;
    color: #DDD5E4;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
}
.app-download-prompt a:focus-visible,
.app-download-prompt__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .app-download-prompt--stay {
        right: max(16px, env(safe-area-inset-right, 0px));
        bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 80px));
        width: 344px;
        max-width: calc(100vw - 32px);
        height: auto;
        border-radius: 24px;
    }
    .app-stay-prompt__poster { display: none; }
    .app-stay-prompt__content {
        padding: 40px 16px 24px;
        gap: 20px;
    }
    .app-stay-prompt__title {
        font-size: 21px;
        line-height: 30px;
    }
    .app-stay-prompt__close { top: 12px; right: 12px; }
    .app-stay-prompt__actions { align-self: stretch; }
    .app-stay-prompt__download {
        flex: 1;
        width: auto;
        gap: 5px;
        font-size: 14px;
    }
    .app-download-prompt--player {
        right: 16px;
        bottom: max(76px, calc(env(safe-area-inset-bottom, 0px) + 60px));
        max-width: calc(100% - 32px);
        min-height: 82px;
        padding: 16px 12px;
    }
    .app-player-prompt__brand { gap: 8px; }
    .app-player-prompt__logo {
        flex-basis: 40px;
        width: 40px;
        height: 36px;
    }
    .app-player-prompt__name { font-size: 14px; line-height: 22px; }
    .app-player-prompt__description { font-size: 12px; line-height: 18px; }
    .app-player-prompt__action { flex-basis: 80px; width: 80px; font-size: 12px; }
}
