.peytzgames-exit {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(20, 22, 42, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font: 600 0.875rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.peytzgames-exit:hover {
  border-color: rgba(233, 69, 96, 0.75);
  background: rgba(30, 30, 55, 0.98);
  color: #fff;
  transform: translateY(-1px);
}

.peytzgames-exit:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.75);
  outline-offset: 3px;
}

#app .avatar-stage-copy {
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  text-align: center;
}

@media (max-width: 760px) {
  #app .avatar-stage-copy {
    top: 5rem;
  }
}

@media (max-width: 540px) {
  #app .avatar-stage-copy {
    top: 1.25rem;
  }

  .peytzgames-exit span {
    display: none;
  }

  .peytzgames-exit {
    width: 44px;
    padding: 0;
    justify-content: center;
    font-size: 1.1rem;
  }
}
