/* avatar-crop.css — wave179-avatarcrop: the shared picture editor
 * (avatar-crop.js). A dim backdrop, one card, the photo under a
 * circular mask. Round pictures everywhere in the Rookery come
 * through here, so the framing the person chose is what's stored. */

.avc-back {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(16, 18, 38, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.avc-card {
  background: #fff; color: #1c1e2e;
  border-radius: 16px; padding: 20px 22px 18px;
  width: min(360px, 94vw);
  box-shadow: 0 18px 50px rgba(10, 10, 30, 0.35);
  text-align: center;
}
.avc-h { margin: 0 0 4px; font-size: 17px; }
.avc-note { margin: 0 0 14px; font-size: 13px; color: #5a5e75; }
.avc-stage {
  position: relative;
  width: min(288px, 74vw); height: min(288px, 74vw);
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #eceaf4;
  box-shadow: 0 0 0 3px #2a095e, 0 0 0 6px #e9e2f7;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.avc-stage.avc-grabbing { cursor: grabbing; }
.avc-img {
  position: absolute; left: 0; top: 0;
  max-width: none;
  pointer-events: none;
}
.avc-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #5a5e75;
}
.avc-zoom {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 6px 4px;
  font-size: 13px; color: #5a5e75;
}
.avc-zoom input[type="range"] { flex: 1; accent-color: #2a095e; }
.avc-acts {
  display: flex; justify-content: flex-end; gap: 8px;
  margin-top: 12px;
}
