/* Manga reading-list controls; scoped to the detail header. */
.manga-details .stats {
  align-items: center;
  margin-top: 14px;
  gap: 12px 24px;
}
.manga-details .library-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 212, 255, .16);
}
.manga-details .library-actions button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid rgba(0, 212, 255, .32);
  border-radius: 10px;
  background: #19162c;
  color: #e2d9f4;
  font: 600 14px/1.4 system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.manga-details .library-actions .btn-list:hover {
  background: #172f43;
  border-color: #00d4ff;
  color: #7eeaff;
}
.manga-details .library-actions .btn-remove {
  background: rgba(255, 99, 120, .06);
  border-color: rgba(255, 120, 140, .3);
  color: #ffacb8;
}
.manga-details .library-actions .btn-remove:hover {
  background: rgba(255, 99, 120, .16);
  border-color: #ff879c;
}
.manga-details .library-actions button:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 3px;
}
.manga-details .library-actions button:active {
  filter: brightness(1.15);
}
@media (max-width: 768px) {
  .manga-details { width: 100%; }
  .manga-details .library-actions { justify-content: center; }
}
@media (max-width: 480px) {
  .manga-details .library-actions { gap: 8px; }
  .manga-details .library-actions .btn-list {
    flex: 1 1 calc(50% - 8px);
    padding: 10px 12px;
  }
  .manga-details .library-actions .btn-remove { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .manga-details .library-actions button { transition: none; }
}
