.showroom {
  position: relative;
  padding-bottom: var(--showroom-exit-space, 35vh);
  padding-bottom: var(--showroom-exit-space, 35svh);
  color: var(--c-cream, #fff8ee);
}
.showroom-presentation {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
}
.showroom-presentation::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 44%, rgba(60,79,155,.76), rgba(60,79,155,0) 68%);
}
.showroom-heading {
  position: absolute;
  z-index: 8;
  top: max(94px, calc(env(safe-area-inset-top) + 82px));
  inset-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
  pointer-events: none;
}
.showroom-eyebrow {
  margin: 0 0 12px;
  color: var(--c-gold-soft, #ffd98a);
  font: 11px/1.5 ui-monospace, monospace;
  letter-spacing: .22em;
}
.showroom-title {
  margin: 0;
  color: inherit;
  font: 600 32px/1.2 var(--font-serif, serif);
  letter-spacing: -.03em;
}
.showroom-hit {
  position: absolute;
  inset: 21% 0 25%;
  z-index: 7;
  touch-action: pan-y;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
}
.showroom-hit.is-dragging { cursor: grabbing; }
.showroom-hit:focus-visible {
  outline: 1px solid var(--c-gold, #f7b84b);
  outline-offset: -12px;
  border-radius: 40%;
}
.showroom-hint {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: calc(100% + 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  max-width: calc(100vw - 40px);
  font-size: 12px;
  color: rgba(255,248,238,.82);
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity .4s;
}
.showroom-hint svg { width: 44px; height: 32px; animation: showroom-gesture 2.8s ease-in-out infinite; }
.showroom-hint.is-dismissed,
.showroom:not([data-mode="ready"]) .showroom-hint { opacity: 0; }
@keyframes showroom-gesture { 0%,100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.showroom-toolbar {
  position: absolute;
  z-index: 9;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 20px));
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: max-content;
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
  opacity: var(--showroom-opacity, 1);
}
.showroom-dial {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  color: var(--c-gold, #f7b84b);
}
.showroom-dial svg { display: block; width: 100%; height: 100%; }
.showroom-dial-track,.showroom-dial-inner,.showroom-dial-tick,.showroom-dial-arc { fill: none; }
.showroom-dial-track { stroke: rgba(247,184,75,.23); stroke-width: 1; }
.showroom-dial-inner { stroke: rgba(247,184,75,.35); stroke-width: .7; }
.showroom-dial-tick { stroke: rgba(247,184,75,.65); stroke-width: 1; }
.showroom-dial-arc { stroke: var(--c-gold, #f7b84b); stroke-width: 1.8; stroke-linecap: round; }
.showroom-angle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 14px/1 ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}
.showroom-controls { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.showroom-views {
  display: flex;
  border: 1px solid rgba(247,184,75,.35);
  border-radius: 100px;
  padding: 3px;
  background: rgba(20,26,60,.62);
}
.showroom-extras { display: flex; align-items: center; gap: 6px; }
.showroom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(247,184,75,.42);
  border-radius: 100px;
  color: var(--c-cream, #fff8ee);
  background: rgba(20,26,60,.68);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s, background .2s, opacity .2s;
}
.showroom-button:active { transform: scale(.96); }
.showroom-button:focus-visible { outline: 2px solid var(--c-gold-soft, #ffd98a); outline-offset: 4px; }
.showroom-button:disabled { opacity: .3; cursor: default; }
.showroom-view { flex: 1 1 0; padding-inline: 15px; border-color: transparent; background: transparent; }
.showroom-view[aria-pressed="true"] {
  color: var(--c-night, #141a3c);
  background: var(--c-cream, #fff8ee);
}
.showroom-explode { padding-inline: 14px; border-color: var(--c-gold, #f7b84b); color: var(--c-gold-soft, #ffd98a); }
.showroom-explode[aria-pressed="true"] { color: var(--c-night, #141a3c); background: var(--c-gold, #f7b84b); }
.showroom-round { width: 44px; padding: 0; font-size: 22px; }
.showroom-reset { padding-inline: 12px; }
.showroom-hotspots { position: absolute; z-index: 8; inset: 0; pointer-events: none; overflow: hidden; opacity: var(--showroom-opacity, 1); }
.showroom-hotspot {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--hotspot-target-size, 44px);
  height: var(--hotspot-target-size, 44px);
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s;
  will-change: transform;
}
.showroom-hotspot.is-visible { opacity: 1; pointer-events: auto; }
.showroom-hotspot::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--hotspot-marker-size, 22px);
  height: var(--hotspot-marker-size, 22px);
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  border: 1.5px solid var(--c-gold, #f7b84b);
  border-radius: 50%;
  background: transparent;
  content: "";
}
.showroom-hotspot::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(247,184,75,.45);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(247,184,75,.2);
  content: "";
  animation: showroom-pulse 2.6s ease-in-out infinite;
}
.showroom-hotspot-stem {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  background: var(--c-gold, #f7b84b);
  transform-origin: 0 0;
  pointer-events: none;
}
.showroom-hotspot-dot {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-gold, #f7b84b);
  pointer-events: none;
}
.showroom-hotspot-title {
  position: absolute;
  top: 50%;
  left: calc(100% - 2px);
  width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(247,184,75,.32);
  border-radius: 20px;
  background: rgba(20,26,60,.86);
  font-size: 12px;
  color: var(--c-cream, #fff8ee);
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}
.showroom-hotspot:focus-visible .showroom-hotspot-title { opacity: 1; }
@keyframes showroom-pulse { 0%,100% { transform: scale(.9); opacity: .25; } 65% { transform: scale(1.18); opacity: .7; } }
.showroom-card {
  position: absolute;
  z-index: 15;
  inset: auto 0 0;
  padding: 32px 28px calc(28px + env(safe-area-inset-bottom));
  border: 1px solid rgba(247,184,75,.56);
  border-radius: 28px 28px 0 0;
  color: var(--c-ink, #2e3f86);
  background: var(--c-cream, #fff8ee);
  box-shadow: 0 -10px 60px rgba(11,15,38,.25);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  opacity: var(--showroom-opacity, 1);
}
.showroom-card[hidden] { display: none; }
.showroom-card.is-open { animation: showroom-drawer-enter .4s cubic-bezier(.16,1,.3,1) both; }
.showroom-card.is-swiping { transition: none; animation: none; }
@keyframes showroom-drawer-enter { from { transform: translateY(100%); } to { transform: translateY(0); } }
.showroom-card-handle { position: absolute; inset: 0 54px auto; height: 28px; touch-action: none; }
.showroom-card-handle span { display: block; width: 38px; height: 3px; margin: 11px auto 0; border-radius: 4px; background: rgba(46,63,134,.25); }
.showroom-card-close { position: absolute; top: 8px; right: 12px; padding: 0; border: 0; background: transparent; color: var(--c-ink, #2e3f86); font-size: 26px; }
.showroom-card-tag { margin: 4px 0 9px; color: var(--c-red, #e65248); font-size: 12px; letter-spacing: .08em; }
.showroom-card-title { margin: 0 0 12px; font: 600 24px/1.3 var(--font-serif, serif); }
.showroom-card-body { margin: 0; font-size: 15px; line-height: 1.75; max-width: 34em; }
.showroom-connector { position: absolute; top: 0; left: 0; z-index: 14; width: 1px; height: 1px; background: var(--c-gold, #f7b84b); transform-origin: 0 0; opacity: calc(var(--connector-visible, 0) * var(--showroom-opacity, 1)); pointer-events: none; display: none; }
.showroom-index { display: none; margin-top: 46px; max-width: 260px; opacity: var(--showroom-opacity, 1); pointer-events: auto; }
.showroom-index-label { margin: 0 0 14px; font-size: 12px; letter-spacing: .14em; color: var(--c-gold-soft, #ffd98a); }
.showroom-index-list { display: grid; gap: 3px; }
.showroom-index-button { justify-content: flex-start; gap: 17px; border: 0; border-radius: 0; padding: 4px 0; background: transparent; color: rgba(255,248,238,.62); font-size: 15px; min-height: 44px; }
.showroom-index-number { color: var(--c-gold, #f7b84b); font: 11px/1 ui-monospace, monospace; letter-spacing: .1em; }
.showroom-index-button::before { content: ""; width: 0; height: 1px; background: var(--c-gold, #f7b84b); transition: width .2s; }
.showroom-index-button[aria-pressed="true"] { color: var(--c-cream, #fff8ee); }
.showroom-index-button[aria-pressed="true"]::before { width: 24px; }
.showroom:not([data-mode="ready"]) .showroom-index { visibility: hidden; }
.showroom-fallback {
  position: absolute;
  z-index: 4;
  inset: 0;
  opacity: var(--showroom-opacity, 1);
  pointer-events: none;
  transition: opacity .4s;
}
.showroom-fallback-art { position: absolute; inset: 16% 0 22%; }
.showroom-static-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.showroom-placeholder { display: none; width: 100%; height: 100%; }
.showroom-fallback-art.has-error .showroom-static-image { display: none; }
.showroom-fallback-art.has-error .showroom-placeholder { display: block; }
.showroom-status { position: absolute; left: 50%; bottom: calc(158px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 9px; width: max-content; max-width: calc(100% - 40px); transform: translateX(-50%); font-size: 12px; }
.showroom-status-label { color: rgba(255,248,238,.8); }
.showroom-progress { font-variant-numeric: tabular-nums; color: var(--c-gold-soft, #ffd98a); }
.showroom-loading-wheel { width: 24px; height: 24px; animation: showroom-loading-spin 2s linear infinite; }
@keyframes showroom-loading-spin { to { transform: rotate(360deg); } }
.showroom[data-mode="ready"] .showroom-fallback { opacity: 0; }
.showroom[data-mode="lite"] .showroom-loading-wheel,
.showroom[data-mode="lite"] .showroom-progress { display: none; }
.showroom:not([data-mode="ready"]) .showroom-hotspots { visibility: hidden; }
.showroom-debug { position: absolute; z-index: 20; top: 20%; left: 12px; max-width: min(260px, calc(100% - 24px)); padding: 10px; border: 1px solid rgba(247,184,75,.5); border-radius: 12px; background: rgba(11,15,38,.88); font: 11px/1.5 ui-monospace, monospace; color: var(--c-gold-soft, #ffd98a); }
.showroom-debug summary { cursor: pointer; }
.showroom-debug pre { max-height: 180px; overflow: auto; margin: 8px 0 0; user-select: text; white-space: pre-wrap; }
@media (min-width: 768px) {
  .showroom-heading { inset-inline: 40px; }
  .showroom-title { font-size: 42px; }
}
@media (min-width: 900px) {
  .showroom-presentation { min-height: 760px; }
  .showroom-heading { top: 120px; }
  .showroom-title { font-size: clamp(40px,4vw,60px); }
  .showroom-toolbar { bottom: 38px; gap: 24px; }
  .showroom-hint { left: auto; right: 0; transform: none; }
  .showroom-dial { width: 88px; height: 88px; flex-basis: 88px; }
  .showroom-angle { font-size: 18px; }
  .showroom-controls { flex-direction: row; align-items: center; gap: 18px; }
  .showroom-button { font-size: 15px; }
  .showroom-view { min-width: 68px; }
  .showroom-extras { gap: 9px; }
  .showroom-explode { padding-inline: 22px; }
  .showroom-hit { inset: 15% 15% 19%; }
  .showroom-fallback-art { inset: 12% 0 18%; }
  .showroom-status { bottom: 148px; }
  .showroom-card { top: 0; left: 0; right: auto; bottom: auto; width: 300px; max-width: calc(100% - 40px); border-radius: 22px; padding: 28px; transition: none; }
  .showroom-card.is-open { animation: none; }
  .showroom-card-handle { display: none; }
  .showroom-card-body { font-size: 16px; }
  .showroom-connector { display: block; }
}
@media (min-width: 1200px) { .showroom-heading { inset-inline: 64px; } .showroom-index { display: block; } }
@media (max-width: 374px) {
  .showroom-toolbar { gap: 10px; max-width: calc(100% - 32px); }
  .showroom-extras { gap: 4px; }
  .showroom-explode,.showroom-reset { padding-inline: 10px; }
}
@media (pointer: fine) {
  .showroom-button:not(:disabled):hover { background: rgba(247,184,75,.17); }
  .showroom-view[aria-pressed="true"]:hover { background: var(--c-cream, #fff8ee); }
  .showroom-hotspot:hover .showroom-hotspot-title { opacity: 1; }
  .showroom-hotspot:not(:disabled):hover,.showroom-index-button:not(:disabled):hover { background: transparent; }
  .showroom-index-button:not(:disabled):hover { color: var(--c-cream, #fff8ee); }
  .showroom-card-close:hover { background: rgba(46,63,134,.07); }
}
@media (prefers-reduced-motion: reduce) {
  .showroom *, .showroom *::before, .showroom *::after { animation: none !important; transition: none !important; }
}
