#playtestEntry {
  position: fixed;
  z-index: 20000;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 16px;
  border: 1px solid #b89a72;
  border-radius: 24px;
  background: #171322ed;
  color: #fff0d2;
  box-shadow: 0 4px 18px #0006;
  font: 600 12px/1.3 system-ui, sans-serif;
  letter-spacing: .04em;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 200ms ease;
}
/* During play in portrait, keep the entry notice below the corner HUD. */
html.mobile121:not(.landscape121):has(#start.hidden) #playtestEntry {
  top: max(112px, calc(env(safe-area-inset-top) + 106px));
}
#playtestEntry.leaving { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  #playtestEntry { transition: none; }
}

