* {
  box-sizing: border-box;
}

.spx-body {
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
  color: #10100f;
  background:
    linear-gradient(90deg, #f3f3ee 0 60%, #ffd927 60% 100%);
}

.spx-header {
  width: min(1280px, 96vw);
  margin: 0 auto;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.spx-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #111;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.04em;
}

.spx-brand img {
  width: 42px;
  height: 42px;
}

.spx-menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border-radius: 0;
  border: 2px solid #111;
  background: #ffe235;
  padding: 0.45rem;
}

.spx-menu-toggle span {
  display: block;
  height: 3px;
  background: #111;
  margin: 4px 0;
}

.spx-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spx-nav a {
  text-decoration: none;
  color: #111;
  border: 2px solid #111;
  background: #fff;
  padding: 0.35rem 0.8rem;
  text-transform: lowercase;
  font-weight: 700;
}

.spx-main {
  width: min(1320px, 96vw);
  margin: 0 auto 2rem;
}

.spx-hero,
.spx-band article,
.spx-game-shell,
.spx-play,
.spx-doc {
  border: 3px solid #111;
  background: #fff;
  padding: 1rem;
}

.spx-hero {
  padding: clamp(1.2rem, 4vw, 2.4rem);
}

.spx-tag {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.spx-hero h1,
.spx-band h2,
.spx-game-shell h2,
.spx-play h1,
.spx-doc h1,
.spx-doc h2 {
  font-family: "Anton", sans-serif;
  letter-spacing: 0.03em;
}

.spx-band {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr;
}

.spx-game-shell {
  margin-top: 0.9rem;
}

.spx-game-shell iframe,
.spx-play iframe {
  width: 100%;
  min-height: 660px;
  border: 2px solid #111;
  background: #000;
}

.spx-play,
.spx-doc {
  width: min(1120px, 94vw);
  margin: 1rem auto 2rem;
}

.spx-note {
  font-weight: 600;
}

.spx-footer {
  border-top: 3px solid #111;
  text-align: center;
  padding: 1.2rem 1rem 2.1rem;
}

.spx-footer div {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.spx-footer a {
  color: #111;
}

.spx-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 8, 8, 0.9);
}

.spx-age-overlay.enabled {
  display: grid;
}

.spx-age-card {
  width: min(460px, 95vw);
  border: 3px solid #111;
  background: #ffe131;
  padding: 1rem;
  color: #111;
}

.spx-age-actions {
  display: flex;
  gap: 0.8rem;
}

.spx-age-actions button {
  flex: 1;
  border: 2px solid #111;
  background: #fff;
  font-weight: 800;
  padding: 0.65rem;
}

body.spx-lock {
  overflow: hidden;
}

@media (max-width: 860px) {
  .spx-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .spx-header {
    grid-template-columns: 1fr auto;
  }

  .spx-menu-toggle {
    display: block;
  }

  .spx-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
  }

  .spx-nav.open {
    display: flex;
  }

  .spx-game-shell iframe,
  .spx-play iframe {
    min-height: 500px;
  }
}
