/* ==========================================================================
 * GX4000/js site v2.0.1 (build 2) -- core v1.1.2 -- gx4000.css
 * Embed-scoped styles for cpc.gamezyte.com (Sandvox-safe: everything is
 * anchored under gx-prefixed ids/classes; no page-level selectors).
 * WPM Productions / A.P.P.L.E. 2026
 * ========================================================================== */

#gxscreenwrap {
  position: relative;
  background: #000;
  border: 2px solid #2c2c38;
  border-radius: 8px;
  padding: 8px;
  display: block;
  text-align: center;
  max-width: 100%;
  overflow-x: auto;
  box-shadow: 0 0 24px rgba(0,0,0,.6) inset;
  margin: 0 auto;
}

#gxscreen {
  display: inline-block;
  width: 768px;
  height: 544px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #000;
}

#gxscreenwrap:fullscreen,
#gxscreenwrap:-webkit-full-screen {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #000;
}
#gxscreenwrap:fullscreen #gxscreen,
#gxscreenwrap:-webkit-full-screen #gxscreen {
  max-width: none;
}

#gxpausedoverlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  background: rgba(10, 10, 14, 0.82);
  color: #ffd24a;
  font-size: 22px;
  letter-spacing: 2px;
  text-align: center;
  pointer-events: none;
}
#gxpausedoverlay span {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #b9c2d0;
}
#gxpausedoverlay.hidden { display: none; }

.gxcontrols {
  margin: 8px auto 0;
  text-align: center;
  font: 13px "Segoe UI", system-ui, sans-serif;
  color: #333;
}
.gxcontrols button,
.gxcontrols select {
  font: inherit;
  padding: 3px 10px;
  margin: 0 3px;
  cursor: pointer;
}
.gxcontrols label { margin: 0 6px; white-space: nowrap; }

.gxstatusbar {
  margin: 6px auto 0;
  text-align: center;
  font: 12px "Courier New", monospace;
  color: #666;
}
#gxinputled { color: #2a7f2a; white-space: pre; margin-left: 12px; }

@media (max-width: 800px) {
  #gxscreen {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 768 / 544;
  }
}
