.gateways-game-site-shell {
  --ggs-bg: #12171e;
  --ggs-surface: #1b2330;
  --ggs-text: #f7f4ee;
  --ggs-muted: #d9d0c1;
  --ggs-line: #8d8374;
  --ggs-blue: #9fd0ef;
  --ggs-gold: #f0c9a0;
  --ggs-crimson: #f3b7c0;
  background: var(--ggs-bg);
  color: var(--ggs-text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  margin: 0;
}

.gateways-game-site-shell * {
  box-sizing: border-box;
}

.ggs-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ggs-gold);
  color: #12171e;
  padding: 0.5rem 0.75rem;
}

.ggs-skip:focus {
  top: 0.5rem;
}

.ggs-header,
.ggs-footer,
.gateways-game-site-shell main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.ggs-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ggs-line);
}

.ggs-wordmark-fallback {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.ggs-nav,
.ggs-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.gateways-game-site-shell a {
  color: var(--ggs-gold);
  text-underline-offset: 0.2em;
}

.gateways-game-site-shell a:focus,
.gateways-game-site-shell button:focus,
.gateways-game-site-shell input:focus,
.gateways-game-site-shell select:focus,
.gateways-game-site-shell textarea:focus {
  outline: 3px solid var(--ggs-blue);
  outline-offset: 2px;
}

.gateways-game-site-shell main {
  padding: 2rem 0 3rem;
}

.gateways-game-site-shell h1,
.gateways-game-site-shell h2 {
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.gateways-game-site-shell p,
.ggs-privacy {
  max-width: 68ch;
}

.ggs-figure,
.ggs-missing-asset,
.ggs-card-frame {
  background: var(--ggs-surface);
  border: 1px solid var(--ggs-line);
}

.ggs-figure img,
.ggs-card-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.ggs-missing-asset {
  min-height: 12rem;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--ggs-muted);
}

.ggs-manufacturing-note,
.ggs-preview-banner,
.ggs-draft-state {
  color: var(--ggs-muted);
  border-left: 3px solid var(--ggs-blue);
  padding-left: 0.75rem;
}

.ggs-card-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.ggs-card-frame {
  aspect-ratio: 63 / 88;
  overflow: hidden;
}

.ggs-form {
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
  margin-top: 1.5rem;
}

.ggs-form label {
  display: grid;
  gap: 0.35rem;
}

.ggs-form input,
.ggs-form select,
.ggs-form textarea,
.ggs-form button {
  font: inherit;
  color: var(--ggs-text);
  background: #10151c;
  border: 1px solid var(--ggs-line);
  padding: 0.65rem 0.75rem;
}

.ggs-form button {
  background: var(--ggs-gold);
  color: #12171e;
  font-weight: 650;
  cursor: pointer;
}

.ggs-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ggs-footer {
  border-top: 1px solid var(--ggs-line);
  padding: 1.5rem 0 2rem;
}

@media (max-width: 720px) {
  .ggs-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ggs-nav {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gateways-game-site-shell *,
  .gateways-game-site-shell *::before,
  .gateways-game-site-shell *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
