/* An understated studio setting for the core study. */
.core3d {
  background: #151a1b;
}
.core3d-viewport {
  max-width: 1600px;
  aspect-ratio: 16 / 9;
  max-height: 760px;
  min-height: 440px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 48% 40%, rgba(178, 176, 159, .095), transparent 68%),
    linear-gradient(180deg, #192021 0%, #151a1b 86%);
}
.core3d-viewport::after {
  content: "";
  position: absolute;
  bottom: 12%;
  left: 7%;
  right: 7%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(203, 204, 193, .09), transparent);
}
.core3d-viewport canvas:focus-visible {
  outline: 1px solid #c3b18b;
  outline-offset: -5px;
}
.core3d-hotspots { z-index: 2; }
.core3d .hotspot {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.core3d .hotspot.show {
  visibility: visible;
  pointer-events: auto;
}
.core3d .hotspot::after {
  width: 21px;
  height: 21px;
  border-color: rgba(218, 207, 182, .52);
  animation: none;
}
.core3d .hotspot i {
  width: 6px;
  height: 6px;
  background: #d4c09a;
  box-shadow: 0 0 0 2px rgba(26, 30, 30, .65);
}
.core3d .hotspot b {
  left: 38px;
  color: #e5e4dc;
  font-size: 9px;
  letter-spacing: .12em;
  background: rgba(20, 25, 26, .93);
  border-color: rgba(221, 216, 199, .24);
}
.core3d .hotspot:focus-visible {
  outline: 1px solid #d4c09a;
  outline-offset: 1px;
  border-radius: 50%;
}
.core3d .hotspot:focus-visible b { opacity: 1; }
.core3d-controls button {
  min-height: 44px;
  min-width: 44px;
  border-radius: 0;
  letter-spacing: .1em;
}
.core3d-controls button.is-on {
  border-color: rgba(209, 190, 154, .5);
  background: rgba(209, 190, 154, .10);
}
.core3d-controls button:disabled { opacity: .35; cursor: default; }
.core3d-controls button:focus-visible { outline: 2px solid #d4c09a; outline-offset: 3px; }
.core3d-hint { line-height: 1.8; color: #a9ada9; letter-spacing: .1em; }
.core3d-readout { min-height: 174px; }
.core3d-readout p { max-width: 58ch; color: #b8bcb7; }
@media (max-width: 720px) {
  .core3d-viewport { aspect-ratio: 1 / 1; min-height: 360px; max-height: 480px; }
  .core3d-readout { min-height: 185px; }
  .core3d .hotspot b { display: none; }
  .core3d-controls { gap: 6px; }
  .core3d-controls button { padding-inline: 12px; font-size: 9px; }
  .core3d-hint { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .core3d .hotspot, .core3d .hotspot i, .core3d .hotspot b { transition: none; }
}
