/* ==========================================================================
   Install banner, back-to-top, lightbox, shared keyframes
   ========================================================================== */
.install-banner { position: fixed; left: 16px; bottom: 16px; z-index: 1900; width: min(420px, calc(100vw - 32px)); background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); border: 2px solid var(--line); padding: 1rem 2rem 1rem 1.1rem; display: none; align-items: center; gap: .9rem; animation: popUp .6s var(--ease); }
.install-banner.show { display: flex; }
.install-banner img { width: 58px; height: 58px; border-radius: 16px; background: var(--sky-soft); padding: 4px; flex: none; }
.install-banner strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; line-height: 1.15; }
.install-banner span { font-size: .88rem; color: var(--muted); line-height: 1.35; display: block; }
.install-banner .ib-actions { display: flex; gap: .5rem; margin-top: .55rem; }
.install-banner .ib-x { position: absolute; top: 8px; right: 12px; border: 0; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
@keyframes popUp { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
#backToTop { position: fixed; right: 18px; bottom: 18px; z-index: 1800; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--grad-gold); color: var(--navy); font-size: 1.15rem; box-shadow: 0 12px 26px rgba(255, 159, 10, .45); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8); transition: all .35s var(--ease); }
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { transform: translateY(-4px) scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 6000; background: rgba(6, 24, 79, .92); display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.show { display: flex; animation: fadeIn .25s ease; }
.lightbox img { max-height: 86vh; max-width: min(1200px, 94vw); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox .lb-close { position: absolute; top: 16px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy); font-size: 1.2rem; cursor: pointer; }
.lightbox .lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; padding: 0 1rem; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
@media (max-width: 575.98px) {
    .install-banner { left: 10px; right: 10px; bottom: 10px; width: auto; }
    #backToTop { bottom: 96px; }
}
