/* The Armory's 3D hero (armory-viewer.js). The page places .armory-model; everything inside is the viewer's. */
.armory-model.av {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: 34rem;
}
.av-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 78vh;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 62%, rgba(214, 166, 69, 0.16), rgba(0, 0, 0, 0) 70%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(80, 40, 20, 0.35), rgba(0, 0, 0, 0) 70%);
}
.av-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}
.av-canvas:active { cursor: grabbing; }
.av-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted, #9b9991);
  font-size: 0.95rem;
  pointer-events: none;
}
.av-status[hidden] { display: none; }
.av-still .av-stage {
  background:
    radial-gradient(ellipse 22% 9% at 50% 88%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 70%),
    radial-gradient(ellipse 60% 45% at 50% 55%, rgba(214, 166, 69, 0.12), rgba(0, 0, 0, 0) 70%);
}
.av-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.9rem;
}
.av-bar:empty { display: none; }
.av-label { color: var(--text-2, #bdbbb2); }
.av-anim, .av-btn {
  font: inherit;
  color: var(--text, #ecebe6);
  background: var(--surface-2, #252a36);
  border: 1px solid var(--line, #2e3442);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
}
.av-btn { cursor: pointer; }
.av-btn:hover, .av-anim:hover { border-color: var(--accent, #d6a645); }
.av-btn:focus-visible, .av-anim:focus-visible { outline: 2px solid var(--accent, #d6a645); outline-offset: 2px; }
.av-export { color: var(--link, #e7bd62); }
.av-info { margin-left: auto; color: var(--muted, #9b9991); font-size: 0.85rem; }
