.crop-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 2, 4, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.crop-modal[hidden] { display: none !important; }
.crop-card {
  width: min(420px, 100%);
  background: #1c0a10;
  border: 1px solid rgba(232, 197, 71, 0.35);
  border-radius: 16px;
  padding: 18px 16px 16px;
  color: #fff8ee;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
}
.crop-card h3 {
  margin: 0 0 6px;
  color: #e8c547;
  font-size: 22px;
}
.crop-hint {
  margin: 0 0 14px;
  color: #d7c4a4;
  font-size: 14px;
  line-height: 1.4;
}
.crop-view {
  width: 280px;
  height: 280px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  touch-action: none;
  cursor: grab;
  background: #12060a;
  box-shadow: 0 0 0 4px rgba(232, 197, 71, 0.45);
}
.crop-view:active { cursor: grabbing; }
.crop-view img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
}
.crop-zoom {
  display: block;
  margin: 0 10px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e8c547;
}
.crop-zoom input { width: 100%; margin-top: 6px; }
.crop-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.crop-btns button {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(232, 197, 71, 0.3);
  background: #2a1016;
  color: #fff8ee;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.crop-ok {
  background: linear-gradient(180deg, #ffe566, #e8c547) !important;
  color: #1a1200 !important;
  border-color: #b8860b !important;
}

.avatar-pick {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px dashed rgba(232, 197, 71, 0.45);
  background: rgba(8, 2, 4, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}
.avatar-pick img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-pick span {
  font-size: 13px;
  font-weight: 700;
  color: #e8c547;
  text-align: center;
  padding: 8px;
  line-height: 1.25;
}
.avatar-pick:hover { border-color: #e8c547; }
