.pwa-entry-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(13, 10, 8, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pwa-entry-card {
    position: relative;
    width: min(100%, 420px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 26px 20px 20px;
    border: 1px solid rgba(255, 174, 118, 0.3);
    border-radius: 24px;
    background:
        radial-gradient(circle at top, rgba(215, 122, 61, 0.2), transparent 46%),
        #1f1b18;
    color: #f7f0e9;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.pwa-entry-logo {
    width: 82px;
    height: 82px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.pwa-entry-card h2 {
    margin: 18px 0 8px;
    color: #f7f0e9;
    font-size: 25px;
    line-height: 1.15;
}

.pwa-entry-card > p {
    margin: 0 0 20px;
    color: #c9bbb0;
    font-size: 14px;
    line-height: 1.55;
}

.pwa-entry-install,
.pwa-entry-continue {
    width: 100%;
    min-height: 48px;
    border-radius: 13px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.pwa-entry-install {
    border: 0;
    background: linear-gradient(135deg, #ffae76, #d77a3d);
    color: #21130b;
    box-shadow: 0 10px 24px rgba(215, 122, 61, 0.22);
}

.pwa-entry-continue {
    margin-top: 10px;
    border: 1px solid rgba(255, 174, 118, 0.28);
    background: rgba(255, 255, 255, 0.05);
    color: #f7f0e9;
}

.pwa-entry-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #f7f0e9;
    font-size: 20px;
    cursor: pointer;
}

.pwa-entry-instructions {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 174, 118, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    color: #d8ccc3;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
}

.pwa-entry-instructions[hidden] {
    display: none;
}

[dir="rtl"] .pwa-entry-instructions {
    text-align: right;
}

body.pwa-entry-open {
    overflow: hidden;
}
