.pwa-ai-banner {
position: fixed;
bottom: 0; left: 0; right: 0;
z-index: 99998;
box-shadow: 0 -4px 24px rgba(0,0,0,.18);
padding: 12px 20px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.pwa-ai-dark     { background: #1a1a2e; color: #fff; }
.pwa-ai-light    { background: #fff;    color: #1a1a2e; border-top: 1px solid #e5e7eb; }
.pwa-ai-gradient { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #fff; }
.pwa-ai-banner-inner {
display: flex;
align-items: center;
gap: 14px;
max-width: 900px;
margin: 0 auto;
}
.pwa-ai-icon, .pwa-ai-icon-placeholder {
width: 48px; height: 48px;
border-radius: 12px;
object-fit: cover;
flex-shrink: 0;
}
.pwa-ai-icon-placeholder {
display: flex; align-items: center; justify-content: center;
font-size: 1.6rem;
background: rgba(255,255,255,.12);
}
.pwa-ai-banner-text {
flex: 1;
display: flex; flex-direction: column;
gap: 2px;
}
.pwa-ai-banner-text strong { font-size: .95rem; font-weight: 700; }
.pwa-ai-banner-text span   { font-size: .8rem; opacity: .75; }
.pwa-ai-banner-actions { display: flex; align-items: center; gap: 10px; }
.pwa-ai-btn-install {
background: #4f8ef7;
color: #fff;
border: none; cursor: pointer;
padding: 8px 20px;
border-radius: 50px;
font-size: .88rem; font-weight: 700;
transition: background .15s, transform .1s;
white-space: nowrap;
}
.pwa-ai-btn-install:hover { background: #3a7ae0; transform: scale(1.03); }
.pwa-ai-btn-close {
background: transparent;
border: none; cursor: pointer;
color: inherit; opacity: .6;
font-size: 1rem; padding: 4px 8px;
transition: opacity .15s;
}
.pwa-ai-btn-close:hover { opacity: 1; } .pwa-ai-modal {
position: fixed; inset: 0;
z-index: 99999;
display: flex; align-items: center; justify-content: center;
pointer-events: none;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.pwa-ai-modal--open { pointer-events: all; }
.pwa-ai-modal-backdrop {
position: absolute; inset: 0;
background: rgba(0,0,0,.55);
opacity: 0;
transition: opacity .3s;
backdrop-filter: blur(4px);
}
.pwa-ai-modal--open .pwa-ai-modal-backdrop { opacity: 1; }
.pwa-ai-modal-box {
position: relative; z-index: 1;
background: #fff;
border-radius: 24px;
padding: 36px 32px 28px;
max-width: 420px; width: 90%;
text-align: center;
box-shadow: 0 24px 64px rgba(0,0,0,.22);
transform: translateY(30px) scale(.96);
opacity: 0;
transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s;
}
.pwa-ai-modal--open .pwa-ai-modal-box {
transform: translateY(0) scale(1);
opacity: 1;
}
.pwa-ai-modal-close {
position: absolute; top: 14px; right: 16px;
background: #f3f4f6; border: none; cursor: pointer;
border-radius: 50%; width: 30px; height: 30px;
font-size: .85rem; color: #555;
display: flex; align-items: center; justify-content: center;
transition: background .15s;
}
.pwa-ai-modal-close:hover { background: #e5e7eb; }
.pwa-ai-modal-icon, .pwa-ai-modal-icon-ph {
width: 72px; height: 72px;
border-radius: 18px;
margin: 0 auto 14px;
display: block;
object-fit: cover;
}
.pwa-ai-modal-icon-ph {
display: flex; align-items: center; justify-content: center;
font-size: 2.4rem;
background: linear-gradient(135deg, #4f8ef7, #1a1a2e);
}
.pwa-ai-modal-box h2 {
font-size: 1.25rem; font-weight: 800;
color: #1a1a2e; margin: 0 0 6px;
}
.pwa-ai-modal-sub { font-size: .85rem; color: #777; margin: 0 0 18px; } .pwa-ai-device-badge {
display: inline-flex; align-items: center; gap: 8px;
background: #f3f4f6;
border-radius: 50px;
padding: 6px 14px;
font-size: .8rem; color: #444;
margin-bottom: 18px;
}
.pwa-ai-device-icon { font-size: 1rem; } .pwa-ai-stores { display: flex; flex-direction: column; gap: 10px; }
.pwa-ai-store-btn {
display: flex; align-items: center; justify-content: center;
gap: 12px;
padding: 12px 20px;
border-radius: 14px;
text-decoration: none;
font-size: .92rem; font-weight: 600;
transition: transform .12s, box-shadow .12s;
}
.pwa-ai-store-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.pwa-ai-store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.pwa-ai-store-btn span { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.pwa-ai-store-btn small { font-size: .65rem; font-weight: 400; opacity: .8; }
.pwa-ai-android { background: #1a1a2e; color: #fff; }
.pwa-ai-android:hover { color: #fff; }
.pwa-ai-apple   { background: #000;    color: #fff; }
.pwa-ai-apple:hover { color: #fff; } .pwa-ai-store-buttons-inline { display: flex; flex-wrap: wrap; gap: 10px; }
.pwa-ai-store-buttons-inline .pwa-ai-store-btn { flex: 1; min-width: 160px; } .pwa-ai-pwa-section { text-align: center; }
.pwa-ai-divider {
display: flex; align-items: center; gap: 10px;
color: #aaa; font-size: .78rem; margin: 16px 0 12px;
}
.pwa-ai-divider::before, .pwa-ai-divider::after {
content: ''; flex: 1; height: 1px; background: #e5e7eb;
}
.pwa-ai-pwa-btn {
display: inline-flex; align-items: center; gap: 10px;
background: linear-gradient(135deg, #4f8ef7, #6c63ff);
color: #fff; border: none; cursor: pointer;
padding: 12px 24px; border-radius: 14px;
font-size: .9rem; font-weight: 700;
transition: transform .12s, box-shadow .12s;
width: 100%;
justify-content: center;
}
.pwa-ai-pwa-btn svg { width: 20px; height: 20px; }
.pwa-ai-pwa-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(79,142,247,.3); } .pwa-ai-ios-steps {
background: #f8faff;
border: 1px solid #dbeafe;
border-radius: 12px;
padding: 12px 16px;
font-size: .82rem;
text-align: left;
margin-top: 10px;
}
.pwa-ai-ios-steps p { margin: 0 0 8px; font-weight: 600; color: #1e40af; }
.pwa-ai-ios-steps ol { margin: 0; padding-left: 18px; color: #444; }
.pwa-ai-ios-steps li { margin: 4px 0; }
.pwa-ai-ios-steps span { font-size: 1.1em; } .pwa-ai-toast {
position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
background: #1a1a2e; color: #fff;
padding: 12px 24px; border-radius: 50px;
font-family: -apple-system, sans-serif;
font-size: .88rem; font-weight: 600;
box-shadow: 0 8px 24px rgba(0,0,0,.2);
z-index: 999999;
opacity: 0;
transition: opacity .3s, transform .3s;
white-space: nowrap;
}
.pwa-ai-toast--in { opacity: 1; transform: translateX(-50%) translateY(0); }