/* ── PWA INSTALL BANNER ── */
#pwa-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000; background: var(--blue-deep); border-top: 1px solid rgba(255,255,255,0.12); padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); box-shadow: 0 -4px 24px rgba(0,0,0,0.3); }
#pwa-banner.show { transform: translateY(0); }
.pwa-banner-icon { width: 44px; height: 44px; border-radius: 11px; overflow: hidden; flex-shrink: 0; background: #fff; }
.pwa-banner-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pwa-banner-text { flex: 1; }
.pwa-banner-title { font-size: 13px; font-weight: 700; color: #fff; }
.pwa-banner-sub { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 1px; }
.pwa-banner-btn { background: var(--blue-light); color: #fff; border: none; border-radius: 20px; padding: 8px 16px; font-size: 12px; font-weight: 700; cursor: pointer; flex-shrink: 0; font-family: inherit; }
.pwa-banner-close { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 18px; cursor: pointer; padding: 4px; flex-shrink: 0; line-height: 1; }
/* iOS instruction sheet */
#ios-sheet { position: fixed; inset: 0; z-index: 10001; background: rgba(0,0,0,0.6); display: none; align-items: flex-end; backdrop-filter: blur(4px); }
#ios-sheet.show { display: flex; }
.ios-sheet-inner { background: #1c1c1e; border-radius: 24px 24px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px)); width: 100%; max-height: 92vh; overflow-y: auto; }
.ios-sheet-handle { width: 36px; height: 4px; background: #3a3a3c; border-radius: 2px; margin: 0 auto 20px; }
.ios-sheet-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ios-sheet-header img { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }
.ios-sheet-header-text { flex: 1; }
.ios-sheet-header-title { font-size: 17px; font-weight: 800; color: #fff; }
.ios-sheet-header-sub { font-size: 12px; color: #8e8e93; margin-top: 2px; }
.ios-lang-bar { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.ios-lang-btn { background: #2c2c2e; border: 1.5px solid #3a3a3c; border-radius: 20px; padding: 6px 12px; font-size: 12px; font-weight: 700; color: #8e8e93; cursor: pointer; font-family: inherit; transition: all .15s; }
.ios-lang-btn.active { background: #0a84ff; border-color: #0a84ff; color: #fff; }
.ios-step { display: flex; align-items: center; gap: 14px; background: #2c2c2e; border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; }
.ios-step-num { width: 26px; height: 26px; border-radius: 50%; background: #0a84ff; color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ios-step-body { flex: 1; }
.ios-step-text { font-size: 13px; color: #ebebf5; font-weight: 500; line-height: 1.45; }
.ios-step-text strong { color: #fff; font-weight: 700; }
.ios-step-icon { flex-shrink: 0; width: 36px; height: 36px; background: #3a3a3c; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.ios-sheet-close { width: 100%; margin-top: 16px; padding: 16px; background: #0a84ff; border: none; border-radius: 16px; font-size: 16px; font-weight: 800; color: #fff; cursor: pointer; font-family: inherit; letter-spacing: .2px; }
