/* guard.css: the curtain of guard.js over the game area (site wrapper). */
.stage > .dos { z-index: 0; }                 /* js-dos's own layers stay under the curtain */
.guard-curtain {
  position: absolute; inset: 0; z-index: 9;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #1a1408 0%, #000 72%);
  transition: opacity 0.35s ease;
}
.guard-curtain[hidden] { display: none; }
.guard-curtain.gc-off { opacity: 0; pointer-events: none; }
.guard-curtain.gc-quiet .gc-box { visibility: hidden; }
.gc-box { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px; text-align: center; max-width: 30em; }
.gc-text { margin: 0; color: #e0b23a; font: 400 clamp(15px, 2.6vw, 22px)/1.35 "Russo One", system-ui, sans-serif; letter-spacing: 0.02em; }
.gc-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(224, 178, 58, 0.22); border-top-color: #e0b23a; animation: gc-spin 0.9s linear infinite; }
.gc-spin[hidden], .gc-btn[hidden] { display: none; }
@keyframes gc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gc-spin { animation-duration: 2.5s; } }
.gc-btn { font: 600 16px/1 system-ui, sans-serif; color: #111; background: #e0b23a; border: 0; border-radius: 6px; padding: 12px 22px; cursor: pointer; }
.gc-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
