/* PIES Gen 2 3D Viewer widget. Generated from src/styles/main.css by wordpress/build-custom-code.cjs. */

.stage-fallback {
  display: none;
}
.no-webgl .stage-fallback {
  display: block;
}
.viewer {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(100% 100% at 50% 30%, #0f3058 0%, var(--ink) 60%, var(--ink-deep) 100%);
}
.viewer__canvas {
  width: 100%;
  height: clamp(420px, 62vh, 680px);
  cursor: grab;
  touch-action: pan-y;
}
.viewer__canvas:active {
  cursor: grabbing;
}
.viewer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--rule-dark);
  background: rgba(4, 16, 31, 0.6);
}
.segmented {
  display: inline-flex;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  padding: 3px;
  gap: 3px;
}
.segmented button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  cursor: pointer;
}
.segmented button[aria-pressed='true'] {
  background: var(--volt);
  color: var(--ink);
}
.viewer__hint {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}
.viewer .stage-fallback {
  width: 100%;
  height: clamp(420px, 62vh, 680px);
  object-fit: contain;
  background: #fff;
}

@media (max-width: 900px) {
  .no-webgl .hero__body {
    padding-top: 24px;
    flex-direction: column;
    align-items: stretch;
  }
}