/* v48 — laevakontakti täiskeha-sprited.
   Ruumireferents lukustab Väikese Halli vasakule ning inimese Hallist paremale,
   samale põrandajoonele ja alla-vasakule suunatud pilguga. */

.scene[data-room-owner="grey"][data-contact-form="ship"] {
  --screen-x: 49%;
  --screen-w: 48%;
}

.scene[data-room-owner="grey"][data-contact-form="ship"] .contact-stage.visible {
  display: grid !important;
  left: 25% !important;
  bottom: 8.5% !important;
  width: 24% !important;
  height: 82% !important;
  place-items: end center !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 9 !important;
}

.scene[data-room-owner="grey"][data-contact-form="ship"] .contact-sprite {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  image-rendering: auto !important;
  filter:
    drop-shadow(0 .34cqw .28cqw rgba(0, 7, 18, .36))
    drop-shadow(0 0 .38cqw rgba(81, 218, 255, .22)) !important;
}

.scene[data-room-owner="grey"][data-contact-form="ship"] .contact-name {
  display: none !important;
}

/* Aktiivse sinise või punase skännivälja tagumine kaar jääb inimese taha.
   Tavakontakti 25% asend säilib; ainult kaks skännietappi nihkuvad paremale. */
.scene[data-room-owner="grey"][data-contact-form="ship"][data-step-type="healthScan"] .contact-stage.visible,
.scene[data-room-owner="grey"][data-contact-form="ship"][data-step-type="fearScan"] .contact-stage.visible {
  left: 31% !important;
}

/* Terviseskänni ja sõnumi tööala jääb inimese paremale küljele. */
.scene[data-room-owner="grey"][data-contact-form="ship"][data-step-type="healthScan"] .holo-console,
.scene[data-room-owner="grey"][data-contact-form="ship"][data-step-type="healthFearGuidance"] .holo-console {
  left: 49% !important;
  width: 48% !important;
}

@media (max-width: 900px) {
  .scene[data-room-owner="grey"][data-contact-form="ship"] .contact-stage.visible {
    left: 24% !important;
    width: 25% !important;
  }

  .scene[data-room-owner="grey"][data-contact-form="ship"][data-step-type="healthScan"] .contact-stage.visible,
  .scene[data-room-owner="grey"][data-contact-form="ship"][data-step-type="fearScan"] .contact-stage.visible {
    left: 30% !important;
  }
}
