/* Ege Vakti PWA yükleme arayüzü v2.0.0 */
.ege-pwa-banner, .ege-pwa-modal-backdrop, .ege-pwa-modal-backdrop * {
  box-sizing: border-box;
}
.ege-pwa-banner[hidden], .ege-pwa-modal-backdrop[hidden] { display: none !important; }
.ege-pwa-banner {
  position: fixed;
  inset: auto auto calc(16px + env(safe-area-inset-bottom, 0px)) 50%;
  transform: translateX(-50%) translateY(150%);
  width: calc(100% - 32px);
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999999;
  background: #fff;
  color: #111827;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
  font: 14px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: transform .3s ease;
}
.ege-pwa-banner.visible { transform: translateX(-50%) translateY(0); }
.ege-pwa-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; object-fit: cover; }
.ege-pwa-info { flex: 1; min-width: 0; }
.ege-pwa-title { font-weight: 700; font-size: 15px; line-height: 1.4; }
.ege-pwa-desc { font-size: 12px; color: #4b5563; margin-top: 3px; }
.ege-pwa-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ege-pwa-btn-install {
  padding: 10px 12px;
  background: #0d47a1;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.ege-pwa-btn-install:hover { background: #09367e; }
.ege-pwa-btn-close {
  border: 0;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 6px;
}
.ege-pwa-btn-install:focus-visible, .ege-pwa-btn-close:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}
.ege-pwa-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(15, 23, 42, .6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.ege-pwa-modal {
  width: 100%;
  max-width: 480px;
  background: #fff;
  color: #111827;
  padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 28px rgba(0,0,0,.18);
  animation: egePwaSlideUp .24s ease-out;
}
.ege-pwa-modal h2 { font: 700 18px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; margin: 0 0 16px; color: #111827; }
.ege-pwa-modal p { margin: 0 0 12px; color: #374151; font-size: 14px; }
.ege-pwa-modal strong { color: #111827; }
.ege-pwa-modal .ege-pwa-modal-close { width: 100%; margin-top: 6px; }
@keyframes egePwaSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (max-width: 380px) {
  .ege-pwa-banner { gap: 8px; padding: 10px; }
  .ege-pwa-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .ege-pwa-desc { font-size: 11px; }
  .ege-pwa-btn-install { padding: 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ege-pwa-banner { transition: none; }
  .ege-pwa-modal { animation: none; }
}
