/* 修图工作台（局部改字 / 局部重绘） */
.image-edit-btn {
  position: absolute;
  right: 96px;
  bottom: 10px;
  z-index: 4;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: white;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-4px);
  transition: 0.2s ease;
  cursor: pointer;
}
.record-image:hover .image-edit-btn {
  opacity: 1;
  transform: translateY(0);
}

.edit-workbench {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
}
.edit-workbench[hidden] { display: none; }
.ew-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.82);
  backdrop-filter: blur(12px);
}
.ew-panel {
  position: relative;
  width: min(760px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: var(--panel-grad, #1b1813);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}
.ew-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ew-title { font-size: 16px; font-weight: 600; }
.ew-close { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.ew-stage-wrap { display: flex; flex-direction: column; gap: 8px; }
.ew-stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0 auto;
  cursor: crosshair;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  user-select: none;
}
.ew-stage img { display: block; max-width: min(700px, 86vw); max-height: 60vh; }
.ew-marquee {
  position: absolute;
  border: 2px dashed #fff;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.ew-hint { font-size: 12px; color: var(--muted, #9a938a); margin: 0; }
.ew-form { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.ew-form label { font-size: 13px; }
.ew-form textarea {
  width: 100%;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text, #fff);
  padding: 10px;
  font-size: 13px;
}
.ew-actions { display: flex; align-items: center; gap: 12px; }
.ew-status { font-size: 12px; color: var(--muted, #9a938a); }
