/* FullscreenImageViewer 全屏图片查看器样式 */

.viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.loading {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-accent, #f84d96);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.error {
  color: var(--color-text-secondary, #9e9e9e);
  font-size: 48px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
