:root {
  --showcase-ink: #25241f;
  --showcase-muted: #77746c;
  --showcase-accent: #79654b;
  --showcase-panel: rgba(251, 249, 245, 0.9);
  --showcase-hairline: rgba(77, 67, 52, 0.12);
}

.btn-preview-immersive {
  min-width: 58px;
  height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(119, 96, 62, 0.18);
  border-radius: 18px;
  background: rgba(251, 248, 242, 0.96);
  color: #66533a;
  box-shadow: 0 3px 12px rgba(89, 70, 43, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-preview-immersive svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-preview-immersive:hover:not(:disabled) {
  background: #fffdf8;
  box-shadow: 0 5px 16px rgba(89, 70, 43, 0.18);
  transform: translateY(-1px);
}

.btn-preview-immersive:active:not(:disabled) {
  transform: translateY(0) scale(0.97);
}

.btn-preview-immersive:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-designer-base {
  position: relative;
  min-width: 58px;
  height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(89, 83, 72, 0.14);
  border-radius: 18px;
  color: #666159;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(62, 52, 39, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font: 600 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-designer-base svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-designer-base:hover {
  color: #65523a;
  border-color: rgba(119, 96, 62, 0.28);
  box-shadow: 0 5px 16px rgba(89, 70, 43, 0.16);
  transform: translateY(-1px);
}

.btn-designer-base:active { transform: scale(0.97); }

.designer-base-indicator {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 6px;
  height: 6px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #a18c70;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.btn-designer-base.has-base .designer-base-indicator {
  opacity: 1;
  transform: scale(1);
}

.preview-section > .designer-base-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(108vw, 68vh, 840px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(0) scale(var(--designer-base-scale, 1));
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation: designer-base-arrive 320ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes designer-base-arrive {
  from { opacity: 0; transform: translate(-50%, -48%) scale(calc(var(--designer-base-scale, 1) * 0.985)); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(var(--designer-base-scale, 1)); }
}

.designer-base-image,
.designer-base-fallback,
.designer-base-sheen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.designer-base-image {
  z-index: 1;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  clip-path: circle(49.3% at 50% 50%);
  opacity: 0;
  filter: saturate(0.94) contrast(0.985) brightness(1.025);
  transition: opacity 260ms ease;
}

.designer-base-layer.is-loaded:not(.image-failed) .designer-base-image { opacity: 0.88; }

.designer-base-fallback {
  z-index: 0;
  border-radius: 50%;
  transform: scale(0.88);
  background: radial-gradient(circle at 38% 30%, #fffdf8 0 60%, #ded6ca 76%, #faf7f1 82%);
  box-shadow: 15px 22px 34px rgba(77, 63, 43, 0.12), inset 0 0 0 8px rgba(255, 255, 255, 0.56);
}

.designer-base-layer.base-glass .designer-base-fallback {
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.7) 0 60%, rgba(187, 199, 204, 0.38) 71%, rgba(255, 255, 255, 0.9) 79%, rgba(157, 170, 177, 0.22) 83%);
}

.designer-base-layer.base-obsidian .designer-base-fallback {
  background: radial-gradient(circle at 35% 28%, #4e4c49 0, #1c1b1a 46%, #080808 69%, #343331 78%, #0b0b0b 84%);
  box-shadow: 18px 24px 38px rgba(20, 18, 15, 0.25), inset 0 0 0 8px rgba(255, 255, 255, 0.07);
}

.designer-base-layer.base-walnut .designer-base-fallback {
  background: repeating-linear-gradient(4deg, #b38a63 0 3px, #ab7f59 3px 4px, #c19a73 4px 8px);
  box-shadow: 18px 24px 38px rgba(76, 49, 28, 0.2), inset 0 0 0 14px rgba(77, 44, 22, 0.18);
}

.designer-base-sheen {
  z-index: 2;
  border-radius: 50%;
  transform: scale(0.82);
  background: radial-gradient(circle at 29% 22%, rgba(255, 255, 255, 0.25), transparent 34%);
  mix-blend-mode: soft-light;
}

.designer-base-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 110000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: max(24px, env(safe-area-inset-top));
  background: rgba(31, 29, 25, 0.26);
  opacity: 0;
  transition: opacity 220ms ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.designer-base-sheet-overlay.is-visible { opacity: 1; }

.designer-base-sheet {
  width: min(100%, 620px);
  padding: 9px 16px calc(14px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  color: #302e29;
  background: rgba(250, 248, 244, 0.97);
  box-shadow: 0 -18px 54px rgba(53, 45, 34, 0.16), inset 0 1px rgba(255, 255, 255, 0.86);
  transform: translateY(24px);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.designer-base-sheet-overlay.is-visible .designer-base-sheet { transform: translateY(0); }

.designer-base-sheet-handle {
  width: 34px;
  height: 4px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: rgba(72, 67, 58, 0.2);
}

.designer-base-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.designer-base-sheet-header span {
  color: #91897d;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.designer-base-sheet-header h2 {
  margin: 1px 0 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.designer-base-sheet-close {
  width: 34px;
  height: 34px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  color: #625e56;
  background: rgba(226, 222, 215, 0.74);
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.designer-base-sheet-note {
  margin: 7px 0 12px;
  color: #827c72;
  font-size: 12px;
  line-height: 1.5;
}

.designer-base-size {
  margin: 0 0 10px;
  padding: 10px 12px 11px;
  border: 1px solid rgba(77, 67, 52, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
}

.designer-base-size-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.designer-base-size-label {
  color: #4d473e;
  font-size: 13px;
  font-weight: 600;
}

.designer-base-size-reset {
  border: 0;
  padding: 3px 9px;
  border-radius: 999px;
  color: #7a6a55;
  background: rgba(122, 106, 85, 0.12);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.designer-base-size-reset.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.designer-base-size-reset:hover { background: rgba(122, 106, 85, 0.2); }
.designer-base-size-reset:active { transform: scale(0.96); }

.designer-base-size-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.designer-base-size-range {
  flex: 1;
  min-width: 0;
  height: 26px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.designer-base-size-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #b7a484 0%,
    #b7a484 var(--fill, 50%),
    rgba(122, 106, 85, 0.16) var(--fill, 50%)
  );
}

.designer-base-size-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #7f6a4e;
  box-shadow: 0 2px 6px rgba(64, 47, 27, 0.28);
}

.designer-base-size-range::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(122, 106, 85, 0.16);
}

.designer-base-size-range::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: #b7a484;
}

.designer-base-size-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #7f6a4e;
  box-shadow: 0 2px 6px rgba(64, 47, 27, 0.28);
}

.designer-base-size-value {
  min-width: 44px;
  color: #6b6357;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.designer-base-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(70px, 1fr));
  gap: 8px;
  padding: 2px 1px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.designer-base-options::-webkit-scrollbar { display: none; }

.designer-base-option {
  position: relative;
  min-width: 0;
  padding: 5px 5px 7px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #625d54;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.designer-base-option:active { transform: scale(0.97); }

.designer-base-option[aria-pressed="true"] {
  color: #40372c;
  border-color: rgba(116, 88, 52, 0.24);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 18px rgba(75, 59, 39, 0.08);
}

.designer-base-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1.38 / 1;
  margin-bottom: 5px;
  border-radius: 9px;
  background-color: #efede8;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(61, 51, 39, 0.08);
}

.designer-base-option-label {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.designer-base-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #fff;
  background: #7f6a4e;
  box-shadow: 0 2px 6px rgba(64, 47, 27, 0.22);
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 180ms ease, transform 180ms ease;
}

.designer-base-option[aria-pressed="true"] .designer-base-check {
  opacity: 1;
  transform: scale(1);
}

.designer-base-sheet-done {
  width: 100%;
  height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 13px;
  color: #f8f6f1;
  background: #34312b;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.designer-base-sheet-done:hover { background: #25231f; }
.designer-base-sheet-done:active { transform: scale(0.985); }

.showcase-base-thumb.is-empty,
.designer-base-thumb.is-empty {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(228, 225, 219, 0.8)),
    repeating-linear-gradient(45deg, transparent 0 5px, rgba(86, 79, 68, 0.035) 5px 10px);
}

.showcase-base-thumb.is-empty::after,
.designer-base-thumb.is-empty::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  top: 50%;
  height: 1px;
  background: rgba(92, 82, 69, 0.5);
  transform: rotate(-24deg);
  transform-origin: center;
}

.btn-designer-base:focus-visible,
.designer-base-option:focus-visible,
.designer-base-sheet-close:focus-visible,
.designer-base-sheet-done:focus-visible,
.designer-base-size-reset:focus-visible,
.designer-base-size-range:focus-visible,
.btn-preview-immersive:focus-visible,
.showcase-icon-button:focus-visible,
.showcase-base-option:focus-visible {
  outline: 2px solid rgba(126, 100, 62, 0.8);
  outline-offset: 3px;
}

body.bracelet-showcase-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.bracelet-showcase {
  position: fixed;
  inset: 0;
  z-index: 120000;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--showcase-ink);
  background:
    radial-gradient(circle at 22% 8%, rgba(255, 248, 236, 0.92), transparent 32%),
    radial-gradient(ellipse at 50% 46%, transparent 36%, rgba(86, 68, 46, 0.18) 100%),
    linear-gradient(152deg, #f6f2eb 0%, #e4ddd2 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  isolation: isolate;
  overflow: hidden;
}

.bracelet-showcase.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bracelet-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.showcase-header {
  min-height: 62px;
  padding: calc(12px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  position: relative;
  z-index: 8;
}

.showcase-heading {
  text-align: center;
}

.showcase-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #958d80;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.showcase-heading h2 {
  margin: 0;
  color: #282722;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.showcase-icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(75, 66, 52, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4a463f;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(67, 57, 42, 0.09), inset 0 1px rgba(255, 255, 255, 0.8);
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background-color 180ms ease;
}

.showcase-icon-button:hover {
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
}

.showcase-icon-button:active {
  transform: scale(0.95);
}

.showcase-icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase-header-spacer {
  width: 40px;
}

.showcase-stage-wrap {
  min-height: 0;
  display: grid;
  place-items: center;
  position: relative;
  padding: 4px 12px 10px;
  perspective: 1100px;
  overflow: hidden;
}

.showcase-stage-wrap::before,
.showcase-stage-wrap::after {
  content: "";
  position: absolute;
  z-index: 6;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.showcase-stage-wrap::before {
  top: -18%;
  left: -12%;
  width: 78%;
  height: 125%;
  background: linear-gradient(
    118deg,
    transparent 18%,
    rgba(255, 246, 228, 0.1) 34%,
    rgba(255, 250, 240, 0.72) 46%,
    rgba(255, 244, 220, 0.28) 54%,
    transparent 68%
  );
  filter: blur(10px);
  transform: rotate(8deg);
}

.showcase-stage-wrap::after {
  top: -22%;
  right: -6%;
  width: 42%;
  height: 110%;
  background: linear-gradient(
    64deg,
    transparent 28%,
    rgba(255, 248, 232, 0.08) 42%,
    rgba(255, 252, 244, 0.42) 50%,
    rgba(255, 246, 226, 0.12) 56%,
    transparent 70%
  );
  filter: blur(14px);
  transform: rotate(-6deg);
}

.bracelet-showcase[data-theme="dark"] .showcase-stage-wrap::before {
  background: linear-gradient(
    118deg,
    transparent 22%,
    rgba(255, 236, 206, 0.05) 36%,
    rgba(255, 244, 220, 0.34) 47%,
    rgba(255, 232, 196, 0.1) 54%,
    transparent 66%
  );
}

.bracelet-showcase[data-theme="dark"] .showcase-stage-wrap::after {
  background: linear-gradient(
    64deg,
    transparent 32%,
    rgba(255, 236, 206, 0.04) 44%,
    rgba(255, 244, 220, 0.18) 51%,
    transparent 62%
  );
}

.showcase-stage-caption {
  position: absolute;
  left: 50%;
  bottom: 7px;
  z-index: 7;
  transform: translateX(-50%);
  color: rgba(74, 70, 63, 0.62);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
}

.showcase-plate {
  position: relative;
  width: min(88vw, 66dvh, 680px);
  max-width: calc(100vw - 24px);
  aspect-ratio: 1;
  transform: rotateX(1.5deg) translateZ(0);
  transform-style: preserve-3d;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
}

.showcase-plate.is-dragging {
  cursor: grabbing;
}

.showcase-base-plane,
.showcase-bracelet-plane,
.showcase-base-image,
.showcase-base-fallback,
.showcase-ring-shadow,
.showcase-turntable,
.showcase-light-map {
  position: absolute;
  inset: 0;
}

.showcase-base-plane {
  z-index: 1;
  transform: translate3d(0, 46%, 0) scale(calc(1.24 * var(--showcase-base-scale, 1)));
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  opacity: 1;
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.showcase-bracelet-plane {
  z-index: 4;
  transform: translate3d(0, -9%, 20px);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-plate[data-base="none"] .showcase-base-plane {
  opacity: 0;
  transform: translate3d(0, 40%, 0) scale(1.08);
}

.showcase-plate[data-base="none"] .showcase-bracelet-plane {
  transform: translate3d(0, 0, 18px);
}

.showcase-base-fallback {
  border-radius: 50%;
  transform: scale(0.88);
  background: radial-gradient(circle at 40% 34%, #fffdf7 0 60%, #ddd5c9 78%, #f7f3eb 82%);
  box-shadow: 18px 26px 38px rgba(81, 66, 43, 0.16), inset 0 0 0 9px rgba(255, 255, 255, 0.55);
}

.showcase-plate[data-base="glass"] .showcase-base-fallback {
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.78) 0 61%, rgba(189, 199, 204, 0.44) 71%, rgba(255, 255, 255, 0.88) 78%, rgba(159, 172, 178, 0.26) 82%);
  box-shadow: 18px 25px 42px rgba(58, 69, 74, 0.16), inset 0 0 0 8px rgba(255, 255, 255, 0.42);
}

.showcase-plate[data-base="obsidian"] .showcase-base-fallback {
  background: radial-gradient(circle at 35% 28%, #4e4c49 0, #181817 44%, #050505 69%, #343331 77%, #0b0b0b 84%);
  box-shadow: 20px 28px 44px rgba(20, 18, 15, 0.32), inset 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.showcase-plate[data-base="walnut"] .showcase-base-fallback {
  background: repeating-linear-gradient(4deg, #b38a63 0 3px, #ab7f59 3px 4px, #c19a73 4px 8px);
  box-shadow: 19px 28px 42px rgba(76, 49, 28, 0.23), inset 0 0 0 13px rgba(77, 44, 22, 0.2), inset 0 0 0 17px rgba(255, 255, 255, 0.14);
}

.showcase-base-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  clip-path: circle(49.3% at 50% 50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
  filter: saturate(0.97) contrast(1.01);
  will-change: opacity;
}

.showcase-base-image.is-active {
  opacity: 1;
}

.showcase-ring-shadow {
  inset: 23%;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.showcase-ring-shadow.is-floating {
  box-shadow: 10px 20px 22px rgba(52, 43, 32, 0.2);
  clip-path: inset(0 0 46% 0);
  filter: blur(8px);
  opacity: 0.66;
  transform: translate3d(2%, 6%, 0) scale(1.035);
}

.showcase-ring-shadow.is-contact {
  box-shadow: 5px 7px 7px rgba(52, 43, 32, 0.2);
  clip-path: inset(48% 0 0 0);
  filter: blur(3px);
  opacity: 0.76;
  transform: translate3d(1%, 2%, 0) scale(1.005);
}

.showcase-plate[data-base="none"] .showcase-ring-shadow.is-contact { opacity: 0; }

.showcase-plate[data-base="none"] .showcase-ring-shadow.is-floating {
  inset: 27% 20%;
  clip-path: none;
  border-radius: 50%;
  box-shadow: 12px 22px 28px rgba(65, 54, 40, 0.2);
  filter: blur(10px);
  opacity: 0.52;
  transform: translate3d(2%, 12%, 0) scaleY(0.86);
}

.showcase-turntable {
  z-index: 4;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}

.showcase-rope {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1.5px solid rgba(205, 203, 195, 0.62);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.65);
}

.showcase-bead {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform-origin: center;
  transform-style: preserve-3d;
  overflow: hidden;
  box-shadow: 5px 7px 10px rgba(38, 31, 23, 0.26), 1px 1px 2px rgba(255, 255, 255, 0.28) inset;
  pointer-events: none;
  will-change: transform;
}

.showcase-bead.is-accessory {
  overflow: visible;
  border-radius: 4px;
  box-shadow: none;
  transform-style: flat;
  backface-visibility: hidden;
  filter: drop-shadow(5px 7px 6px rgba(38, 31, 23, 0.24));
}

.showcase-bead img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.showcase-bead:not(.is-accessory)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.5) 0 6%, transparent 16%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%, rgba(27, 21, 16, 0.08));
  mix-blend-mode: screen;
}

.showcase-logo {
  position: absolute;
  left: 50%;
  top: 66%;
  z-index: 3;
  width: 15%;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.16;
  filter: grayscale(1) sepia(0.35) contrast(0.9);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.bracelet-showcase[data-theme="dark"] {
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 236, 210, 0.16), transparent 26%),
    radial-gradient(ellipse at 50% 42%, transparent 22%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(160deg, #3a342e 0%, #1c1916 100%);
  --showcase-ink: #f3efe8;
}

.bracelet-showcase[data-theme="dark"] .showcase-eyebrow {
  color: rgba(232, 220, 204, 0.62);
}

.bracelet-showcase[data-theme="dark"] .showcase-heading h2,
.bracelet-showcase[data-theme="dark"] .showcase-stage-caption {
  color: rgba(243, 236, 226, 0.86);
}

.bracelet-showcase[data-theme="dark"] .showcase-light-map {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 244, 220, 0.2), transparent 22%),
    radial-gradient(circle at 50% 54%, transparent 46%, rgba(255, 236, 210, 0.14) 62%, transparent 74%),
    radial-gradient(circle at 70% 78%, rgba(0, 0, 0, 0.55), transparent 52%);
}

.bracelet-showcase[data-theme="dark"] .showcase-logo {
  opacity: 0.2;
  filter: grayscale(1) brightness(2.5);
  mix-blend-mode: screen;
}

.showcase-light-map {
  z-index: 5;
  border-radius: 50%;
  transform: scale(0.81);
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 248, 232, 0.62) 0 8%, transparent 38%),
    radial-gradient(circle at 74% 80%, rgba(78, 54, 32, 0.28), transparent 48%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.showcase-play {
  position: absolute;
  right: 7%;
  bottom: 8%;
  z-index: 9;
}

.showcase-play .pause-mark {
  display: none;
}

.showcase-play.is-playing .play-mark {
  display: none;
}

.showcase-play.is-playing .pause-mark {
  display: block;
}

.showcase-play:disabled {
  opacity: 0.46;
  cursor: default;
}

.showcase-controls {
  position: relative;
  z-index: 10;
  padding: 12px max(14px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: var(--showcase-panel);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 -16px 44px rgba(71, 61, 47, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
}

.showcase-controls-inner {
  width: min(100%, 620px);
  margin: 0 auto;
}

.showcase-controls-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
}

.showcase-controls-title strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.showcase-controls-title span {
  color: var(--showcase-muted);
  font-size: 11px;
}

.showcase-base-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.showcase-base-option {
  min-width: 0;
  padding: 5px 5px 7px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #5c5851;
  background: transparent;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.showcase-base-option:hover {
  background: rgba(255, 255, 255, 0.5);
}

.showcase-base-option:active {
  transform: scale(0.97);
}

.showcase-base-option[aria-pressed="true"] {
  color: #463c2e;
  border-color: rgba(116, 88, 52, 0.22);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 5px 16px rgba(75, 59, 39, 0.07);
}

.showcase-base-thumb {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  margin-bottom: 5px;
  display: block;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(61, 51, 39, 0.08);
}

.showcase-base-option span:last-child {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 580;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-toast {
  position: fixed;
  left: 50%;
  bottom: calc(150px + env(safe-area-inset-bottom));
  z-index: 120100;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(35, 33, 29, 0.86);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  transform: translate(-50%, 8px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.showcase-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 430px) {
  .showcase-header {
    min-height: 58px;
    padding-top: calc(9px + env(safe-area-inset-top));
  }

  .showcase-plate {
    width: min(92vw, 59dvh);
  }

  .showcase-controls {
    padding-top: 10px;
  }

  .showcase-base-list {
    gap: 5px;
  }

  .showcase-base-option {
    padding-inline: 4px;
  }
}

@media (max-height: 640px) and (orientation: landscape) {
  .bracelet-showcase {
    grid-template-columns: 1fr minmax(250px, 36vw);
    grid-template-rows: auto 1fr;
  }

  .showcase-header {
    grid-column: 1 / -1;
  }

  .showcase-stage-wrap {
    grid-column: 1;
    grid-row: 2;
  }

  .showcase-controls {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.7);
  }

  .showcase-base-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-plate {
    width: min(55vw, 73dvh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bracelet-showcase,
  .showcase-base-image,
  .showcase-icon-button,
  .showcase-base-option,
  .btn-preview-immersive,
  .btn-designer-base,
  .designer-base-layer,
  .designer-base-sheet-overlay,
  .designer-base-sheet,
  .designer-base-option,
  .designer-base-sheet-done {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
