.pose-label {
  position: absolute;
  z-index: 3;
  top: 124px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(203, 239, 255, .38);
  border-radius: 12px;
  background: rgba(8, 11, 11, .62);
  color: #e9f9ff;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .03em;
  backdrop-filter: blur(12px);
}

.zoom-controls { position:absolute; z-index:5; right:0; bottom:calc(100% + 10px); display:flex; flex-direction:column; align-items:center; width:66px; box-sizing:border-box; padding:8px 4px 2px; border-radius:18px; background:rgba(8,11,11,.7); color:#fff; font-size:10px; }
.zoom-controls[hidden] { display:none; }
.zoom-controls output { margin:5px 0; color:var(--lime); font-size:14px; font-variant-numeric:tabular-nums; }
.zoom-controls button { border:0; background:transparent; color:#fff; width:100%; min-height:36px; padding:5px; cursor:pointer; }
.zoom-direction { color:#bec8c3; }
.zoom-slider-track { position:relative; width:44px; height:clamp(76px, 15dvh, 130px); }
/* A clockwise quarter turn places the minimum at the top and maximum at the bottom. */
.zoom-controls input { position:absolute; top:50%; left:50%; display:block; width:clamp(76px, 15dvh, 130px); height:44px; margin:0; transform:translate(-50%, -50%) rotate(90deg); direction:ltr; writing-mode:horizontal-tb; accent-color:var(--lime); touch-action:none; }

.pose-label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9f4ff;
  box-shadow: 0 0 9px rgba(191, 235, 255, .9);
}

.pose-overlay {
  display: none;
  fill: none;
  stroke: none;
  filter: none;
  opacity: 1;
  pointer-events: none;
}

.pose-reference-outline {
  position: absolute;
  z-index: 3;
  inset: 5% 0 12%;
  width: 100%;
  height: 83%;
  object-fit: contain;
  opacity: .88;
  pointer-events: none;
  mix-blend-mode: screen;
  transform-origin: center;
  filter: drop-shadow(0 0 5px rgba(142, 218, 255, .72));
  transition: opacity .18s ease, transform .28s ease;
}

.pose-reference-outline.imported-outline {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
}

.pose-overlay .ghost-silhouette {
  stroke: rgba(221, 246, 255, .93);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(142, 218, 255, .86)) drop-shadow(0 0 8px rgba(142, 218, 255, .36));
}

.pose-overlay .ghost-body {
  fill: url(#ghost-fill);
  stroke-width: 2.4;
}

.pose-overlay .face-lock {
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .8));
}
