#app-sheet {
    --panel: #fff;
    --text: #111;
    --sub: #7a7a7d;
    --blue: #0a84ff;
    --blue-press: #0077ed;
    color: var(--text);
    font-family: -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif;
    box-sizing: border-box;
    width: min(500px,calc(100% - 24px));
    max-width: none;
    margin: auto auto 12px;
    max-height: calc(100dvh - 24px);
    overflow: auto;
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 36px
}

#app-sheet * {
    box-sizing: border-box
}

#app-sheet [hidden] {
    display: none!important
}

html.pg-app-open {
    overflow: hidden
}

#app-sheet::backdrop {
    background: rgba(0,0,0,.14);
    backdrop-filter: blur(8px)
}

#app-sheet[open] {
    animation: sheet-in .42s cubic-bezier(.22,.9,.24,1) both
}

#app-sheet .sheet {
    position: relative;
    background: var(--panel);
    border-radius: 36px;
    padding: 24px 28px 24px;
    text-align: center;
    min-height: 0;
    box-shadow: 0 24px 56px rgba(0,0,0,.18)
}

#app-sheet .sheet:focus {
    outline: none
}

#app-sheet .sheet-close {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: #858589;
    cursor: pointer;
    box-shadow: none;
    transition: background .18s ease,border-color .18s ease,color .18s ease
}

#app-sheet .sheet-close:hover,#app-sheet .sheet-close:active {
    background: rgba(255,255,255,.30);
    backdrop-filter: blur(12px) saturate(145%)
}

#app-sheet .sheet-close:focus {
    outline: none;
    box-shadow: none
}

#app-sheet .sheet-close:focus-visible {
    outline: 2px solid #d1d1d6;
    outline-offset: 2px
}

#app-sheet .sheet-close svg {
    width: 18px;
    height: 18px;
    display: block
}

#app-sheet .sheet-title {
    margin: 0 0 34px;
    font-size: 24px;
    line-height: 1.14;
    letter-spacing: -.025em;
    font-weight: 400
}

#app-sheet .sheet-title span {
    display: block
}

#app-sheet .sheet-media-wrap {
    width: min(340px, 90vw);
    margin: 32px auto 32px;
    overflow: hidden;
    padding-top: 32px;
    padding-bottom: 32px;
}

#app-sheet .sheet-media {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    /* background:transparent; */
    /* transform: scale(1.3); */
    background: transparent;
    transform: translate(-4%, 0px) scale(1.5);
    transform-origin: center center;
}

#app-sheet .store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: min(360px,100%);
    min-height: 60px;
    margin: 0 auto;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(180deg,var(--blue) 0%,var(--blue-press) 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: none
}

#app-sheet .store-button:hover {
    filter: brightness(.98);
    text-decoration: none
}

#app-sheet .store-button:focus,#app-sheet .store-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10,132,255,.18)
}

#app-sheet .store-button span {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.45;
    letter-spacing: -.012em
}

#app-sheet .store-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px
}

#app-sheet .android-store {
    background: #f1f1f6;
    color: #111;
    margin-top: 8px
}

#app-sheet .sheet-note {
    width: min(320px,100%);
    margin: 14px auto 0;
    color: var(--sub);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: -.01em
}

#app-sheet .sheet-desktop img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: auto
}

#app-sheet .sheet-desktop .sheet-note {
    margin-top: 14px
}

#app-sheet[data-mode="desktop"] {
    width: min(540px,calc(100% - 32px));
    margin: auto
}

#app-sheet[data-mode="desktop"] .sheet {
    padding-bottom: 32px
}

@media(min-width: 700px) {
    #app-sheet {
        margin:auto
    }
}

@media(max-height: 650px) {
    #app-sheet .sheet {
        padding-top:28px
    }

    #app-sheet .sheet-media-wrap {
        margin-bottom: 26px
    }
}

@media(prefers-reduced-motion:reduce) {
    #app-sheet[open] {
        animation: none
    }

    #app-sheet::backdrop {
        backdrop-filter: none
    }
}

@keyframes sheet-in {
    from {
        opacity: 0;
        transform: translateY(38px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}
