html, body { margin: 0; width: 600px; height: 600px; overflow: hidden; background: #000; }
#stage { width: 600px; height: 600px; outline: none; }
#badge { position: absolute; left: 0; top: 0; width: 600px; text-align: center; font: 700 16px/22px system-ui, sans-serif; color: #000; background: #ffc84a; display: none; }
#badge.on { display: block; }

/* 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; }
@media (min-height: 700px) { html, body { height: auto; min-height: 100%; overflow: visible; } }
