#pwa-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    font-family: system-ui, sans-serif;
}

/* коробка */
#pwa-box {
    width: 90%;
    max-width: 360px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    animation: popIn .25s ease;
}

/* появление */
@keyframes popIn {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* фирменная стрелка */
#ios-arrow {
    position: fixed;
    top: 8px;
    right: 42px; /* более точное место */
    font-size: 38px;
    color: #5e0937; /* фирменный */
    z-index: 100000;
    animation: arrowBounce 1.2s infinite ease-in-out;
    opacity: .95;
}

/* анимация стрелки */
@keyframes arrowBounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(7px); }
    100% { transform: translateY(0); }
}

/* пульсация на кнопке «Поделиться» */
#ios-pulse {
    position: fixed;
    top: 4px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(94,9,55,0.35);
    z-index: 99990;
    animation: pulse 1.7s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: .75; }
    50% { transform: scale(1.25); opacity: .35; }
    100% { transform: scale(1); opacity: .75; }
}

/* кнопка */
#pwa-btn {
    background: #5e0937;
    color: white;
    border: none;
    padding: 11px;
    width: 100%;
    border-radius: 10px;
    margin-top: 12px;
    font-size: 15px;
}