/* ── Sticky Download Bar ──────────────────────────────────────────────────── */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(100%);
  transition: transform 300ms ease;
  padding: 10px 0;
}

.sticky-bar--visible {
  transform: translateY(0);
}

.sticky-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-bar__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

.sticky-bar__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-bar__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar__status {
  font-size: 0.74rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sticky-bar .btn {
  flex-shrink: 0;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sticky-bar {
    background: rgba(0, 0, 0, 0.90);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
  }
}
:root[data-theme="dark"] .sticky-bar {
  background: rgba(0, 0, 0, 0.90);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
}

/* Mobile */
@media (max-width: 480px) {
  .sticky-bar__name {
    font-size: 0.86rem;
  }
  .sticky-bar__status {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sticky-bar {
    transition: none;
  }
}
