/* Smooth update reload */
body.pwa-updating {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Prefetch progress UI */
#pwa-prefetch-progress {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  pointer-events: none;
  font-family: system-ui, sans-serif;
}

.pwa-prefetch-box {
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  width: 170px;
}

.pwa-prefetch-text {
  font-size: 12px;
  color: #0b63d9;
  margin-bottom: 6px;
  text-align: center;
}

.pwa-prefetch-track {
  height: 4px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.pwa-prefetch-bar {
  height: 100%;
  width: 0%;
  background: #0b63d9;
  transition: width 0.25s ease;
}
