#wc-ar-open.wc-ar-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  cursor: pointer;
  font-weight: 600;
  margin: 12px 0;
  background: #fff;
  color: #333;
}
#wc-ar-open.wc-ar-btn:hover { filter: brightness(.97); }

#wc-ar-modal { position: fixed; inset: 0; background: #000; z-index: 99999; }
#ar-video, #ar-canvas { position: absolute; width: 100%; height: 100%; object-fit: cover; }
/* No Mirror Transform */
#ar-canvas { transform: none; }

.ar-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(520px, calc(100vw - 24px));
  background: rgba(0,0,0,.65);
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
  backdrop-filter: saturate(1.2) blur(4px);
}

.ar-row { display: flex; align-items: center; gap: 10px; }
.ar-label { font-size: 14px; opacity: .95; min-width: 80px; font-weight:600; }

.range-wrap { position: relative; width: 100%; }
input[type=range] { width: 100%; cursor: pointer; }

.ar-value-bubble {
  display: none !important; /* Hidden by default, shown via JS for Rings */
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  pointer-events: none;
  white-space: nowrap;
}
.ar-value-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #fff;
}

#finger-select {
  width: 100%; height: 44px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: #fff; padding: 0 10px; font-size: 16px;
}
#finger-select option { background: #333; color: #fff; }

.ar-row-buttons { display: flex; gap: 14px; margin-top: 4px; }
.ar-row-buttons button {
  flex: 1; min-height: 48px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: #fff; font-weight: 700; font-size: 16px; cursor: pointer;
}
.ar-row-buttons button:hover { background: rgba(255,255,255,0.1); }

@media (min-width: 992px) {
  .ar-controls { width: min(400px, 50vw); }
}