#pwa-gate {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000000;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    background: rgba(0, 12, 36, 0.92);
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}

html.is-not-pwa #pwa-gate,
#pwa-gate.is-visible {
    display: flex;
}

@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: window-controls-overlay) {
    html:not(.is-not-pwa) #pwa-gate {
        display: none !important;
    }
}

html.is-pwa #pwa-gate {
    display: none !important;
}

html.is-not-pwa,
html.is-not-pwa body {
    overflow: hidden !important;
}

#pwa-gate .pwa-gate-card {
    width: 100%;
    max-width: 360px;
}

#pwa-gate img {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

#pwa-gate h1 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #4A7FBE;
}

#pwa-gate .pwa-gate-lead {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.86;
}

#pwa-gate .pwa-gate-steps {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    text-align: left;
}

#pwa-gate .pwa-gate-steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

#pwa-gate .pwa-gate-steps li:last-child {
    margin-bottom: 0;
}

#pwa-gate .pwa-gate-num {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2B5FAD;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

#pwa-gate .pwa-gate-install {
    display: none;
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 12px 16px;
    background: #2B5FAD;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

#pwa-gate.is-android-ready .pwa-gate-install {
    display: block;
}

#pwa-gate .pwa-gate-note {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.62;
}
