/* Gremlin 3D scan on the shared Garage chrome. Greyscale, same box and type as the rest of the car page. */
.gremlin-stage { position: relative; margin-top: 14px; padding: 0; overflow: hidden; }
.gremlin-stage model-viewer {
  display: block; width: 100%; height: min(70vh, 560px); min-height: 280px;
  --poster-color: #292929; background: #292929;
  filter: grayscale(1);
}
.gremlin-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; pointer-events: none; }
.gremlin-progress > div { height: 100%; width: 0; background: var(--ink); transition: width .2s; }
.gremlin-progress.done { opacity: 0; transition: opacity .6s .2s; }
.gremlin-hint { position: absolute; left: 12px; bottom: 10px; margin: 0; font: 16px/1 var(--font-lcd); color: #cecece; pointer-events: none; }

.gremlin-ar {
  position: absolute; right: 10px; bottom: 10px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px;
  padding: 7px 12px; font: 700 16px/1 var(--font-ui); cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}
.gremlin-ar:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }

.gremlin-load {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px;
  padding: 8px 16px; font: 700 18px/1 var(--font-ui); cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}
.gremlin-load:active { transform: translate(calc(-50% + 1px), calc(-50% + 1px)); box-shadow: 1px 1px 0 var(--ink); }
.gremlin-load[hidden] { display: none; }

.gremlin-note { margin: 8px 4px 0; color: #525252; font-size: 13.5px; }
.gremlin-note[hidden] { display: none; }
