.euv-scene {
  --euv-process-studio: radial-gradient(ellipse at 46% 34%, #f8fafb 0%, #e2e7eb 68%, #ced7de 100%);
  --euv-machine-studio:
    radial-gradient(ellipse 80% 53% at 26% -16%, #eef3f578, transparent 95%),
    radial-gradient(ellipse 63% 36% at 76% 110%, #e5ecee72, transparent 100%),
    linear-gradient(174deg, #acbdc8 0%, #a5b6c2 46%, #adbec8 56%, #c1cfd4 72%, #b4c4cc 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--euv-process-studio);
}
.euv-scene.euv-machine-view { background: var(--euv-machine-studio); }
.viewer-host.euv-scene { position: absolute; inset: 0; }
.euv-scene .euv-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.euv-scene .euv-canvas.is-dragging { cursor: grabbing; }
.euv-scene .euv-canvas:focus-visible { outline: 3px solid #225bd1; outline-offset: -4px; }
.euv-scene .euv-pin {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  min-width: 36px;
  height: 40px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: #fff;
  display: grid;
  place-items: start center;
  touch-action: manipulation;
  font: 650 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.euv-scene .euv-pin[hidden] { display: none; }
.euv-scene[inert] .euv-pin { visibility: hidden; }
.euv-pin span {
  position: relative;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  background: #133b85;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px #172d4f40;
}
.euv-pin::before {
  content: '';
  position: absolute;
  width: 1.5px;
  height: 16px;
  bottom: 0;
  left: calc(50% - .75px);
  background: #3763b1;
}
.euv-pin::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  bottom: 0;
  left: calc(50% - 2px);
  background: #164caa;
  border-radius: 100%;
}
.euv-pin b {
  display: none;
  position: absolute;
  left: 100%;
  top: 2px;
  padding: 5px 8px;
  border-radius: 3px;
  color: #fff;
  background: #133b85;
  white-space: nowrap;
  font: 600 12px/1.1 system-ui, sans-serif;
}
.euv-pin:focus-visible { outline: 2px solid #164caa; outline-offset: 2px; }
.euv-pin:focus-visible b { display: block; }
@media (hover: hover) {
  .euv-pin:hover { z-index: 2; }
  .euv-pin:hover b { display: block; }
  .euv-pin:hover span { background: #2261d0; }
}
.euv-scene .euv-dissolve {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: var(--euv-process-studio);
}
.euv-scene .euv-dissolve[hidden] { display: none; }
.euv-scene .euv-canvas.is-pan { cursor: move; }
