#phoneLobby { display: none; }
.phone-game-loading { display: none; }
@media (hover: none) and (pointer: coarse) {
  .keyboard-game body:not([data-screen]) .phone-game-loading { display: block; text-align: center; }
  html:not(.keyboard-game) #phoneLobby { display: grid; }
  html:not(.keyboard-game) body > :is(.app-shell,.adventure-scenery) { display: none; }
}
html.phone-game:not(.keyboard-game) #phoneLobby { display: grid; }
html.phone-game:not(.keyboard-game) body > :is(.app-shell,.adventure-scenery) { display: none; }
#phoneLobby {
  align-content: center; justify-items: center; margin: 0; color: #143d43;
  min-height: 100vh; min-height: 100svh;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 80% 10%, #28605b, transparent 68%), #103c40;
}
#phoneLobby .phone-card { width: min(100%, 30rem); min-width: 0; overflow: hidden; border: 2px solid #d5ac6c; border-radius: 1.25rem; background: #fff5df; box-shadow: 0 .5rem 2rem #062a2c; }
.phone-poster { height: clamp(7rem, 21vh, 12rem); background: #28605b url("../assets/ui/valley-mobile.webp") center 48% / cover no-repeat; }
.phone-copy { padding: clamp(1rem, 5vw, 1.75rem); }
#phoneLobby .phone-kicker { margin: 0; color: #75501f; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
#phoneLobby h1 { margin: .25rem 0 .55rem; font-size: clamp(2rem, 8vw, 2.7rem); line-height: 1; letter-spacing: -.045em; }
#phoneLobby p { margin: .5rem 0 1rem; line-height: 1.45; }
#phoneLobby summary, #phoneLobby button { min-height: 44px; padding: .7rem .85rem; border-radius: .65rem; font-weight: 750; cursor: pointer; }
#phoneLobby summary { color: #fff; background: #a63c17; }
#phoneLobby summary:focus-visible { outline: 3px solid #136b84; outline-offset: 2px; }
#phoneLobby h2 { margin: 1.1rem 0 .4rem; font-size: 1.3rem; }
#phoneLobby input { box-sizing: border-box; min-width: 0; width: 100%; min-height: 44px; padding: .55rem; border: 1px solid #82908a; border-radius: .5rem; font-size: 16px; color: #143d43; background: #fff; }
#phoneLobby label { display: block; font-size: .85rem; font-weight: 750; }
#phoneLobby button { border: 1px solid #9caa99; color: #143d43; background: #fffaf0; }
#phoneEmailForm:not([hidden]) { display: grid; gap: .35rem; }
#phoneEmailForm [type=submit] { background: #164d51; border-color: #164d51; color: #fff; }
#phoneLobby small { font-size: .8rem; line-height: 1.4; }
.phone-link-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem; align-items: center; margin-top: 1rem; }
.phone-link-row label { grid-column: 1 / -1; }
#phoneLobby .phone-status { font-size: .85rem; }
#phoneKeyboard { margin-top: .5rem; }
#phoneLobby [hidden] { display: none; }
