/* Gotouchi Go Secure 0.13+ compatibility for theme 3.x. */
.game-page .game-shell { overflow: visible; border: 0; background: transparent; box-shadow: none; }
.game-shell .gg-secure-game {
  --gg-navy: var(--green-dark);
  --gg-indigo: var(--green);
  --gg-gold: var(--orange);
  --gg-cream: var(--cream);
  width: 100%;
  max-width: none;
  margin: 0;
  border-color: var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.game-shell .gg-secure-game h2 { color: var(--green-dark); letter-spacing: -.02em; }
.game-shell .gg-secure-game #gg-secure-status { border-left-color: var(--orange); background: #eaf8ff; }
.game-shell .gg-secure-game button,
.game-shell .gg-secure-game .button { min-height: 50px; border-radius: 14px; background: var(--green); box-shadow: none; }
.game-shell .gg-secure-game #gg-secure-start { background: var(--orange); }
.game-shell .gg-secure-game #gg-secure-access { display: grid; grid-template-columns: 1fr; gap: 8px; }
.game-shell .gg-secure-game #gg-secure-access button,
.game-shell .gg-secure-game #gg-secure-access input { width: 100%; max-width: none; margin: 0; }
.game-shell .gg-secure-game .gg-secure-map { width: 100%; height: min(58svh, 500px); border-width: 3px; border-radius: 16px; }
.game-shell .gg-secure-game .gg-secure-map-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.game-shell .gg-secure-game .gg-secure-map-controls button { width: 100%; min-width: 0; padding-inline: 8px; font-size: .82rem; }
.game-shell .gg-secure-game #gg-secure-recovery { overflow-x: auto; padding: 14px; border-radius: 14px; background: #e8f3ff; }
.game-shell .gg-secure-game #gg-secure-reward,
.game-shell .gg-secure-game #gg-secure-event-reward { border-color: var(--line); border-radius: 16px; }
.game-page .leaflet-container button { width: auto; min-height: 30px; border-radius: 4px; }
.game-page .leaflet-popup-content button.gg-secure-popup-go { width: 100%; min-height: 42px; border-radius: 999px; background: var(--orange); }
.gg-secure-quiz-modal button,
.gg-secure-get-card button,
.gg-secure-photo-notice-card button { font-family: inherit; }

@media (max-width: 480px) {
  .game-page { padding: 22px 10px 58px; }
  .game-page-heading { padding: 6px 6px 16px; }
  .game-page-heading h1 { font-size: 1.8rem; }
  .game-shell .gg-secure-game { padding: 16px 12px; border-radius: 18px; }
  .game-shell .gg-secure-game .gg-secure-map { min-height: 300px; }
}

@media (min-width: 620px) {
  .game-shell .gg-secure-game #gg-secure-access { grid-template-columns: 1fr 1fr; }
  .game-shell .gg-secure-game #gg-secure-recovery-code,
  .game-shell .gg-secure-game #gg-secure-resume-submit { grid-column: 1 / -1; }
}
