body {
  background-color: #f5f6f8;
}

/* 登录页 */
.login-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}
.login-card { width: 360px; }
.login-card h4 { color: #1f2937; }

/* 头像缩略图（列表页） */
.avatar-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  background: #fff;
}

/* 编辑页头像框 */
.avatar-box {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.avatar-box img { width: 100%; height: 100%; object-fit: cover; }
.border-dashed { border-style: dashed; }

/* 图片列表项 */
.image-item .image-thumb {
  height: 110px;
  object-fit: cover;
  background: #f8f9fa;
}
.image-item .btn-group .btn { padding: 0.1rem 0.35rem; }

.card { border: none; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); }

.table th { white-space: nowrap; }

/* 苹果风格 iOS switch 开关 */
input.switch-ios {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: #e9e9ea;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  position: relative;
  outline: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.25s ease;
  vertical-align: middle;
}
input.switch-ios::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: left 0.25s ease;
}
input.switch-ios:checked {
  background: #34c759;
  box-shadow: none;
}
input.switch-ios:checked::before {
  left: 20px;
}

/* 列表里可点击复制的文本（CA / 跳转链接） */
.copy-text {
  cursor: pointer;
  display: inline-block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.copy-text:hover { color: #0d6efd; text-decoration: underline; }

/* 复制成功提示浮层 */
.copy-toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(33, 37, 41, 0.92);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.copy-toast.show { opacity: 1; }

/* 图片名字输入框 */
.img-title { font-size: 0.78rem; padding: 0.15rem 0.4rem; }
