/* Approved UBIM motion; dimensions and layout stay in ubim-brand.css. */
.hud-bar .hud-brand,
.open-brand-art {
  position: relative;
}

.ubim-header-shine {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.ubim-vault-video {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 320px;
  height: 320px;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
}

.open-brand-art.ubim-vault-ready > picture {
  opacity: 0;
}

.open-brand-art.ubim-vault-ready > .ubim-vault-video {
  opacity: 1;
}

#open-panel .ubim-motion-toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 0;
  padding: 8px;
  border: 1px solid #47717d;
  border-radius: 3px;
  background: #0b222ee6;
  color: #b7d1d9;
  line-height: 1;
}

#open-panel .ubim-motion-toggle:hover {
  border-color: #efb84e;
  color: #fff3d3;
}

#open-panel .ubim-motion-toggle:focus-visible {
  outline: 2px solid #efb84e;
  outline-offset: 3px;
}

.ubim-motion-toggle svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ubim-motion-toggle .ubim-play-icon,
.ubim-motion-toggle.is-paused .ubim-pause-icon {
  display: none;
}

.ubim-motion-toggle.is-paused .ubim-play-icon {
  display: block;
}

@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .open-brand-art.ubim-vault-ready > picture {
    opacity: 1;
  }

  .ubim-vault-video,
  #open-panel .ubim-motion-toggle {
    display: none;
  }
}

@media (max-width: 560px), (prefers-reduced-motion: reduce) {
  .ubim-header-shine {
    display: none;
  }
}

@media (pointer: coarse) {
  #open-panel .ubim-motion-toggle {
    width: 44px;
    height: 44px;
  }
}
