/* The selected game owns the entire viewport. Only the download/error dialog is overlaid. */
.version-switch-status[hidden] { display: none !important; }
.version-switch-status {
  position: fixed; inset: 0; z-index: 30000; display: grid; place-items: center;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  box-sizing: border-box; background: #faf7f0; color: #31423c; font-family: system-ui, sans-serif;
}
.version-switch-card { width: 100%; max-width: 420px; text-align: center; }
.version-switch-card h2 { font-size: 22px; margin: 0 0 18px; }
.version-switch-card p { line-height: 1.65; font-size: 15px; overflow-wrap: anywhere; }
.version-switch-card button { min-height: 44px; min-width: 100px; border: 0; border-radius: 14px; padding: 12px 22px; background: #537b67; color: #fff; font: 600 14px system-ui; cursor: pointer; }
.version-switch-card button:disabled { visibility: hidden; }
.god-panel .god-version-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.god-panel .god-version-choices button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 8px 5px; text-align: center; border-radius: 12px; background: #faf7f0; color: #31423c; font: 600 12px system-ui,sans-serif; }
.god-panel .god-version-choices button small { margin-top: 4px; font-size: 10px; color: #63736c; }
.god-panel .god-version-choices .runtime-return-latest { grid-column: 1/-1; background: #537b67; color: #fff; }
body.historical-runtime.home-active .god-fab { display: flex !important; }
