.pwa-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
    max-width: 460px;
    margin: 0 auto;
    padding: 14px 16px;
    background: rgba(10, 13, 19, 0.92);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 16px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.6), 0 0 24px rgba(197, 160, 89, 0.12);
    transform: translateY(140%);
    opacity: 0;
    visibility: hidden;
    transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .45s ease, visibility .45s;
}

    .pwa-banner.show-banner {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

.pwa-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.pwa-banner-install-btn {
    background: linear-gradient(135deg, #c5a059, #9a7b40);
    color: #000 !important;
    font-weight: 900;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: .85rem;
}

.pwa-banner-close {
    background: transparent;
    color: #94a3b8;
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
}

.pwa-fab-btn {
    position: fixed;
    left: 16px;
    bottom: 24px;
    z-index: 1090;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #c5a059, #9a7b40);
    color: #000;
    font-weight: 900;
    border: none;
    border-radius: 999px;
    font-size: .9rem;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
    transform: translateY(80px);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .4s ease, visibility .4s;
}

    .pwa-fab-btn.show-fab {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

@media all and (display-mode: standalone) {
    .pwa-fab-btn, .pwa-banner {
        display: none !important;
    }
}

@media all and (-webkit-standalone) {
    .pwa-fab-btn, .pwa-banner {
        display: none !important;
    }
}

/* iOS guide */
.pwa-ios-guide {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

    .pwa-ios-guide.d-none {
        display: none;
    }

.pwa-ios-guide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pwa-ios-guide-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: linear-gradient(145deg, #1b2029, #13161d);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,.5);
    padding: 1.5rem;
    z-index: 2;
    color: #fff;
}

.pwa-ios-guide-close {
    position: absolute;
    top: .6rem;
    left: .6rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.08);
    color: #c5a059;
}

.pwa-ios-guide-content h3 {
    color: #c5a059;
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-align: center;
}

.pwa-ios-guide-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

    .pwa-ios-guide-steps li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: .9rem;
    }

.pwa-ios-guide-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(197,160,89,.15);
    border: 1px solid rgba(197,160,89,.35);
    color: #c5a059;
}
