/* The invitation has its own row below the menu and disappears during play. */
#classic-menu-shell {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  pointer-events: none;
}
#classic-menu-shell > #menu:not([hidden]) {
  position: relative;
  inset: auto;
  min-height: 0;
  pointer-events: auto;
}
.android-playtest {
  display: none;
  box-sizing: border-box;
  max-height: 42vh;
  overflow: auto;
  padding: 8px max(12px, env(safe-area-inset-right, 0px)) max(8px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  border-top: 1px solid #c4d6cf;
  background: #fffaf0;
  color: #173e50;
  text-align: center;
  font: 14px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  pointer-events: auto;
  user-select: text;
}
#menu:not([hidden]) + .android-playtest { display: block; }
.android-playtest h2 { margin: 0 0 4px; font-size: 16px; line-height: 1.3; }
.android-playtest p { max-width: 56rem; margin: 4px auto 8px; }
.android-playtest nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.android-playtest a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 10px;
  border: 2px solid #173e50;
  border-radius: 12px;
  background: #ffd95e;
  color: #173e50;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.android-playtest a:focus-visible { outline: 3px solid #145a64; outline-offset: 3px; }
