.avatar-crop-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(6px);
}

.avatar-crop-modal {
  width: min(100%, 380px);
  background: var(--color-bg-elevated, #111);
  border: 1px solid var(--color-border, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  padding: 20px 18px 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.avatar-crop-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.avatar-crop-hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--color-text-secondary, #999);
  text-align: center;
  line-height: 1.4;
}

.avatar-crop-stage {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  touch-action: none;
  cursor: grab;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.avatar-crop-stage.is-dragging {
  cursor: grabbing;
}

.avatar-crop-canvas {
  display: block;
  width: 280px;
  height: 280px;
}

.avatar-crop-ring {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.avatar-crop-zoom-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.avatar-crop-zoom-wrap span {
  font-size: 12px;
  color: var(--color-text-secondary, #999);
  flex-shrink: 0;
}

.avatar-crop-zoom {
  flex: 1;
  accent-color: var(--color-accent, #14a3a8);
}

.avatar-crop-actions {
  display: flex;
  gap: 10px;
}

.avatar-crop-actions .btn {
  flex: 1;
}
