/* Shared HUD placement for both game editions. */
.creator-credit {
  position: absolute;
  left: max(12px, env(safe-area-inset-left));
  top: calc(66px + env(safe-area-inset-top));
  bottom: auto;
  z-index: 2;
  max-width: calc(100% - 196px);
  padding: 5px 8px;
  border-radius: 5px;
  background: #101525c7;
  color: #e1e8da;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .15px;
  pointer-events: none;
}
@media (max-width: 700px), (hover: none) and (pointer: coarse), (max-width: 1000px) and (max-height: 500px) {
  .creator-credit {
    top: auto;
    bottom: calc(48px + env(safe-area-inset-bottom));
  }
  #gameFrame .fly-button,
  #gameFrame:is(.expanded, :fullscreen) .fly-button {
    top: auto;
    bottom: calc(50px + env(safe-area-inset-bottom));
    right: max(12px, env(safe-area-inset-right));
    min-width: 154px;
    min-height: 52px;
    padding: 9px 10px;
    gap: 7px;
  }
  #gameFrame .fly-button b { font-size: 10px; }
  #gameFrame .fly-button small { font-size: 7px; }
  #gameFrame .fly-button kbd { display: none; }
  #gameFrame #toast,
  #gameFrame:is(.expanded, :fullscreen) #toast {
    bottom: calc(116px + env(safe-area-inset-bottom));
  }
}
