/* ==========================================================================
   PWA "Install app" banner (built by js/pwa.js).
   Sits just above the floating bottom nav (.wp-footer-container is 110px
   + the iPhone safe area), below the T&C popup (z-index 200000).
   ========================================================================== */
.gc-pwa-banner {
    position: fixed;
    left: 50%;
    bottom: calc(118px + env(safe-area-inset-bottom, 0px));
    z-index: 100001;          /* above the footer nav (99999) and spin toast (100000) */
    display: flex;
    align-items: center;
    gap: 10px;
    width: calc(100% - 24px);
    max-width: 456px;
    padding: 10px 10px 10px 12px;
    box-sizing: border-box;
    background: #1d1233;
    border: 1px solid rgba(255, 79, 208, 0.35);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(139, 63, 251, 0.2);
    color: #ffffff;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    opacity: 0;
    transform: translate(-50%, 16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.gc-pwa-banner.gc-pwa-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.gc-pwa-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: 0 0 auto;
}

.gc-pwa-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.gc-pwa-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.gc-pwa-sub {
    font-size: 12px;
    line-height: 1.35;
    color: #b6a6d6;
}

.gc-pwa-sub b {
    color: #ffffff;
}

.gc-pwa-install {
    flex: 0 0 auto;
    padding: 9px 16px;
    border: 0;
    border-radius: 999px;
    font: 800 13px "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    background: linear-gradient(90deg, #8b3ffb, #ff4fd0);
    box-shadow: 0 4px 12px rgba(255, 79, 208, 0.4);
    cursor: pointer;
}

.gc-pwa-close {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    font-size: 14px;
    color: #b6a6d6;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}
