/* ── Update Banner ── */
#update-banner {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #1a1a2e;
  border: 1px solid rgba(99, 102, 241, 0.5);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #c8c8e8;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  min-width: 340px;
}

#update-banner.visible {
  bottom: 24px;
}

#update-banner.ready {
  border-color: rgba(99, 241, 180, 0.5);
}

#update-banner-msg {
  flex: 1;
  font-weight: 500;
}

#update-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#update-progress-bar {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

#update-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.update-install-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.update-install-btn:hover {
  opacity: 0.85;
}

.update-dismiss-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
  line-height: 1;
  transition: color 0.2s;
}

.update-dismiss-btn:hover {
  color: rgba(255,255,255,0.8);
}

#update-banner.error {
  border-color: rgba(255, 80, 80, 0.5);
}

#update-banner.error #update-banner-msg {
  color: #ff9999;
}
