html, body { margin: 0; width: 600px; height: 600px; overflow: hidden; background: #000; }
#stage { width: 600px; height: 600px; }
.g [tabindex], .g input { outline: none; }
.g .item.req { border-color: #b99bff; }
.g .item.warnb { border-color: #ffc84a; }
.g input.say { flex: 1; min-width: 0; height: 56px; background: #000; color: #fff; border: 0; font: 700 24px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.g input.say::placeholder { color: #fff; opacity: 1; }
#banner { display: none; position: absolute; left: 30px; top: 430px; width: 540px; box-sizing: border-box; background: #000; border: 3px solid #b99bff; border-radius: 16px; padding: 12px 16px; gap: 14px; align-items: center;
  color: #fff; font: 500 20px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#banner.on { display: flex; }
#banner .ico { width: 44px; height: 44px; flex: none; fill: none; stroke: #b99bff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#banner .eyebrow { font-size: 16px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #b99bff; }
#banner .sm { font-size: 16px; color: #9db3c7; }
/* Phones only: a pad under the 600 x 600 view. The glasses' view is exactly 600 high, so this never shows there. */
#pad { display: none; }
@media (min-height: 700px) {
  html, body { height: auto; min-height: 100%; overflow: visible; }
  #pad { display: flex; gap: 8px; width: 600px; box-sizing: border-box; padding: 14px 12px 20px; background: #000; border-top: 2px solid #3a556b; }
  #pad button { flex: 1; min-height: 84px; background: #000; color: #fff; border: 3px solid #9db3c7; border-radius: 16px; font: 800 28px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; touch-action: manipulation; }
  #pad button:active { border-color: #3fe0ff; color: #3fe0ff; }
  .g [data-i], .g [data-key] { cursor: pointer; }
}

/* The way back to the course (S361). Never on the glasses or inside the Cast: both show exactly 600 x 600. */
#home { display: none; }
@media (min-height: 700px) {
  #home { display: block; width: 600px; box-sizing: border-box; padding: 18px 12px; text-align: center; background: #000; color: #3fe0ff; font: 700 24px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
}
@media (min-width: 760px) {
  #home { display: block; position: fixed; left: 620px; top: 16px; width: auto; padding: 10px 16px; border: 2px solid #3a556b; border-radius: 12px; background: #000; color: #3fe0ff; font: 700 18px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-decoration: none; }
}
#home:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
