/* GIS Wala responsive and layout corrections — shared across every page */
:root { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
body { min-height: 100vh; }
img, svg, video, canvas, iframe { max-width: 100%; }
main, section, article, aside, header, footer, nav, div { min-width: 0; }
button, input, select, textarea { max-width: 100%; }
.site-footer { margin-block-end: 0 !important; }
main#home { min-height: 0; }
#home > .closing-cta { min-height: 0; margin-block-end: 0; }
body:has(main#home) { display: block; min-height: 0; }
body:has(main#home) > main#home { flex: none; min-height: 0; height: auto; margin: 0; }
body:has(main#home) > .site-footer { flex: none; margin: 0; }

/* Consistent game-page frame and All Games navigation */
main.game-full-page {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 0 42px !important;
  overflow: clip;
}
.game-full-page .game-back {
  width: min(100%, 1440px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px clamp(16px, 5vw, 72px) 14px !important;
}
.game-full-page .game-back a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0;
  margin: 0;
  color: #315d3b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid #9caf91;
}
.game-full-page .game-back a:hover { color: #183b2b; border-color: #315d3b; }
.game-full-page .game-back a:focus-visible {
  outline: 3px solid #78995f;
  outline-offset: 4px;
}
.game-full-page .locate-it {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 30px clamp(16px, 5vw, 72px) 42px !important;
}
.game-full-page .li-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.game-full-page .hangman.hangman {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 30px clamp(16px, 5vw, 72px) 42px;
  background: #e8eee4;
}
.game-full-page .hangman .gh-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.game-full-page.pd-page {
  width: 100%;
  max-width: 100%;
  padding: 0 0 42px;
  background: #e8eee4;
}
.game-full-page .pd-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px clamp(16px, 5vw, 72px) 42px;
}
.game-full-page.cq-page {
  width: 100%;
  max-width: 100%;
  padding: 0 0 42px;
  background: #e8eee4;
}
.game-full-page .cq-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px clamp(16px, 5vw, 72px) 42px;
}
.game-full-page .li-heading,
.game-full-page .gh-heading,
.game-full-page .pd-hero,
.game-full-page .cq-hero { min-width: 0; }
.game-full-page .li-heading > *,
.game-full-page .gh-heading > *,
.game-full-page .pd-hero > *,
.game-full-page .cq-hero > * { min-width: 0; }
.game-full-page .li-stats,
.game-full-page .gh-stats { flex-wrap: wrap; }
.game-full-page .li-nav { max-width: 100%; }
.game-full-page .li-level-grid,
.game-full-page .gh-level-grid,
.game-full-page .pd-level-grid,
.game-full-page .cq-level-grid { min-width: 0; }
.game-full-page .li-game-layout,
.game-full-page .gh-game-layout,
.game-full-page .pd-stage,
.game-full-page .cq-game-grid { min-width: 0; }
.game-full-page .li-map-panel,
.game-full-page .gh-board-card,
.game-full-page .pd-viewer-card,
.game-full-page .cq-map-card { min-width: 0; }

@media (max-width: 900px) {
  .game-full-page .li-heading,
  .game-full-page .gh-heading,
  .game-full-page .pd-hero,
  .game-full-page .cq-hero { grid-template-columns: 1fr; }
  .game-full-page .li-heading { align-items: flex-start; }
  .game-full-page .li-game-layout,
  .game-full-page .gh-game-layout,
  .game-full-page .pd-stage,
  .game-full-page .cq-game-grid { grid-template-columns: 1fr; }
  .game-full-page .li-hud,
  .game-full-page .gh-hud,
  .game-full-page .pd-hud,
  .game-full-page .cq-hud { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .game-full-page .li-level-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .game-full-page { padding-bottom: 28px !important; }
  .game-full-page .game-back { padding: 14px 17px 10px !important; }
  .game-full-page .locate-it,
  .game-full-page .hangman.hangman { padding: 22px 16px 30px !important; }
  .game-full-page .pd-shell,
  .game-full-page .cq-shell { padding: 22px 16px 30px !important; }
  .game-full-page .li-heading,
  .game-full-page .gh-heading { display: block; }
  .game-full-page .li-stats,
  .game-full-page .gh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .game-full-page .li-stats div,
  .game-full-page .gh-stats div { min-width: 0; padding: 10px 7px; }
  .game-full-page .li-intro-grid,
  .game-full-page .gh-menu-grid,
  .game-full-page .pd-lobby-grid,
  .game-full-page .cq-lobby-grid { grid-template-columns: 1fr; }
  .game-full-page .li-game-layout,
  .game-full-page .gh-game-layout,
  .game-full-page .pd-stage,
  .game-full-page .cq-game-grid { grid-template-columns: minmax(0, 1fr); }
  .game-full-page .li-hud,
  .game-full-page .gh-hud,
  .game-full-page .pd-hud,
  .game-full-page .cq-hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-full-page .li-level-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .game-full-page .li-progress-cards,
  .game-full-page .li-result-stats,
  .game-full-page .gh-result-stats,
  .game-full-page .pd-result-stats,
  .game-full-page .cq-result-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-full-page .li-map-panel { order: 1; }
  .game-full-page .li-question-card { order: 0; }
  .game-full-page #li-map { height: min(68vh, 560px); min-height: 340px; }
  .game-full-page .li-coordinates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-full-page .li-coordinate-answer { grid-column: 1 / -1; }
  .game-full-page .li-mode-list { grid-template-columns: 1fr; }
  .game-full-page .li-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 390px) {
  .game-full-page .li-level-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .game-full-page .li-stats strong,
  .game-full-page .gh-stats strong { font-size: 17px; }
  .game-full-page .li-coordinates { grid-template-columns: 1fr; }
  .game-full-page .li-coordinate-answer { grid-column: auto; }
  .game-full-page .li-nav-button { padding-inline: 9px; }
}

/* Site-wide responsive safeguards */
@media (max-width: 900px) {
  .site-header { padding-inline: clamp(16px, 4vw, 32px); }
  .site-header nav { gap: clamp(10px, 2vw, 20px); }
  .hero, .page-hero { min-width: 0; }
  .course-grid, .resource-grid, .game-grid, .page-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .site-header { padding-inline: 16px; }
  .site-header nav { max-width: calc(100vw - 32px); }
  .hero, .page-hero, .blog-section, .community-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero { min-height: 0; padding: 58px 17px 66px; gap: 34px; }
  .hero-copy, .hero-map, .page-hero > *, .blog-section > *, .community-section > * { min-width: 0; }
  .hero-map { width: calc(100% - 12px); height: auto; min-height: 270px; margin-right: 12px; }
  .floating-note { right: -8px; max-width: calc(100% - 12px); }
  .section, .discovery-section, .games-section { padding: 62px 17px !important; }
  .course-grid, .resource-grid, .game-grid, .page-card-grid { grid-template-columns: minmax(0, 1fr); }
  .youtube-band { flex-wrap: wrap; padding: 36px 17px !important; }
  .blog-section, .community-section { padding: 62px 17px !important; gap: 28px; }
  .site-footer { padding: 25px 17px !important; flex-wrap: wrap; }
  .footer-copy { width: 100%; order: 3; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .hero h1 { font-size: clamp(38px, 11vw, 52px); letter-spacing: -2.6px; }
  .section h2, .blog-section h2, .games-section h2, .community-section h2 { font-size: clamp(31px, 9vw, 39px); }
  .section-heading { align-items: flex-start; }
  .free-stamp { width: 68px; height: 68px; }
  .footer-links { gap: 10px; }
}


/* Final layout parity: all games use the Locate It page frame */
body:has(.game-full-page) { min-height: 100vh; }
.site-header { position: sticky; top: 0; z-index: 100; }
.game-full-page .game-back {
  position: sticky;
  top: 82px;
  z-index: 90;
  width: 100%;
  max-width: none;
  min-height: 58px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 8px clamp(16px, 7.3vw, 140px) !important;
  background: rgba(245,247,241,.97);
  border-bottom: 1px solid #dfe6dc;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.game-full-page .game-back a {
  min-height: 34px;
  padding: 6px 0;
  border: 0;
  color: #315d3b;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.game-full-page .game-back a:hover { color: #64864e; }

/* Shared full-width game canvas and consistent inner content width */
.game-full-page.pd-page,
.game-full-page.cq-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0 42px !important;
  background: #e8eee4;
  border-bottom: 1px solid #d5dfd3;
  color: #1d2b23;
}
.game-full-page .pd-shell,
.game-full-page .cq-shell {
  width: 100%;
  max-width: 1584px;
  margin: 0 auto;
  padding: 32px clamp(16px, 7.3vw, 140px) 42px !important;
}
.game-full-page .pd-hero,
.game-full-page .cq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  margin: 0 0 28px;
  padding: 0;
}
.game-full-page .pd-hero h1,
.game-full-page .cq-hero h1 {
  margin: 11px 0 7px;
  color: #1d2b23;
  font: 800 clamp(38px, 5vw, 58px)/1.05 var(--display);
  letter-spacing: -2.7px;
}
.game-full-page .pd-hero h1 em,
.game-full-page .cq-hero h1 em {
  font: italic 400 1em var(--serif);
  color: #66824b;
  letter-spacing: -1.5px;
}
.game-full-page .pd-hero-copy > p,
.game-full-page .cq-hero > div:first-child > p {
  max-width: 600px;
  margin: 0;
  color: #59685c;
  font-size: 15px;
  line-height: 1.65;
}
.game-full-page .pd-hero-meta,
.game-full-page .cq-hero-meta {
  gap: 10px;
  margin-top: 16px;
  color: #304935;
  font-size: 11px;
}
.game-full-page .pd-hero-image {
  height: clamp(150px, 16vw, 210px);
  max-width: 460px;
  width: 100%;
  justify-self: end;
  border: 1px solid #dce5d8;
  border-radius: 5px;
  box-shadow: none;
}
.game-full-page .cq-compass-art {
  width: min(100%, 460px);
  height: clamp(150px, 16vw, 210px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid #dce5d8;
  border-radius: 5px;
  background: #294d3b;
}
.game-full-page .pd-lobby,
.game-full-page .pd-results,
.game-full-page .cq-lobby,
.game-full-page .cq-results {
  width: 100%;
  max-width: none;
  margin: 0;
}
.game-full-page .pd-lobby-grid,
.game-full-page .cq-lobby-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid #dbe4d7;
  border-radius: 7px;
  background: #f8faf6;
}
.game-full-page .pd-card,
.game-full-page .cq-card {
  min-width: 0;
  border: 1px solid #e0e7dc;
  border-radius: 5px;
  background: #fff;
  padding: clamp(18px, 2vw, 26px);
}
.game-full-page .pd-guide,
.game-full-page .cq-guide { background: #fff; }
.game-full-page .pd-guide h2,
.game-full-page .cq-guide h2 {
  margin: 9px 0 13px;
  color: #1d3326;
  font: 800 25px/1.2 var(--display);
  letter-spacing: -.7px;
}
.game-full-page .pd-guide > p,
.game-full-page .cq-guide > p,
.game-full-page .pd-guide ol,
.game-full-page .cq-guide ol {
  color: #35443a;
  font-size: 14px;
  line-height: 1.7;
}
.game-full-page .pd-mode-card,
.game-full-page .cq-mode-card { background: #fff; }
.game-full-page .pd-modes,
.game-full-page .cq-modes { gap: 8px; margin: 13px 0 16px; }
.game-full-page .pd-mode,
.game-full-page .cq-mode {
  min-height: 77px;
  border-radius: 4px;
  padding: 11px 12px;
  background: #f7f9f4;
  border-color: #dfe7dc;
}
.game-full-page .pd-mode.is-active,
.game-full-page .cq-mode.is-active {
  background: #eaf1e4;
  border-color: #78996c;
  box-shadow: inset 3px 0 #5c7d45;
}
.game-full-page .pd-progress-head,
.game-full-page .cq-progress-head { margin-top: 34px; }
.game-full-page .pd-level-grid,
.game-full-page .cq-level-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.game-full-page .pd-play,
.game-full-page .cq-play { width: 100%; max-width: none; }

@media (max-width: 900px) {
  .game-full-page .game-back { top: 72px; }
  .game-full-page .pd-hero,
  .game-full-page .cq-hero { grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr); }
  .game-full-page .pd-lobby-grid,
  .game-full-page .cq-lobby-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .game-full-page .game-back { top: 68px; min-height: 50px; padding-inline: 17px !important; }
  .game-full-page .pd-shell,
  .game-full-page .cq-shell { padding: 24px 16px 30px !important; }
  .game-full-page .pd-hero,
  .game-full-page .cq-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
  .game-full-page .pd-hero h1,
  .game-full-page .cq-hero h1 { font-size: clamp(38px, 10vw, 48px); letter-spacing: -2px; }
  .game-full-page .pd-hero-image,
  .game-full-page .cq-compass-art { width: 100%; max-width: none; height: 190px; justify-self: stretch; }
  .game-full-page .pd-lobby-grid,
  .game-full-page .cq-lobby-grid { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .game-full-page .pd-card,
  .game-full-page .cq-card { padding: 17px; }
  .game-full-page .pd-modes,
  .game-full-page .cq-modes { grid-template-columns: minmax(0, 1fr); }
  .game-full-page .pd-level-grid,
  .game-full-page .cq-level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Homepage: natural content height only; no artificial flex growth or trailing gap */
body:has(main#home) { display: block !important; min-height: 0 !important; height: auto !important; }
body:has(main#home) > main#home { display: block; height: auto !important; min-height: 0 !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
body:has(main#home) > .site-footer { display: flex; margin-top: 0 !important; margin-bottom: 0 !important; }
body:has(main#home) > .site-footer + dialog { margin: 0; }
body:has(main#home) > .cursor-dot,
body:has(main#home) > .cursor-ring,
body:has(main#home) > .cursor-label { position: fixed !important; pointer-events: none; }
body:has(main#home) .closing-cta { margin-bottom: 0 !important; }



/* Game typography and control clipping correction */
/* Let glyph overhangs and italic letterforms render outside their line boxes. */
.game-full-page,
.game-full-page > section,
.game-full-page header,
.game-full-page .li-shell,
.game-full-page .gh-shell,
.game-full-page .pd-shell,
.game-full-page .cq-shell {
  overflow: visible;
}
.game-full-page h1,
.game-full-page h1 em,
.game-full-page .li-kicker,
.game-full-page .gh-kicker,
.game-full-page .pd-kicker,
.game-full-page .cq-kicker {
  overflow: visible !important;
  text-overflow: clip;
  text-indent: 0;
  padding-inline: .08em .14em;
  margin-inline: -.08em;
  line-height: 1.18;
}
.game-full-page .li-heading h1,
.game-full-page .gh-heading h1,
.game-full-page .pd-hero h1,
.game-full-page .cq-hero h1 {
  letter-spacing: -.035em;
  line-height: 1.18;
  padding-block: .06em .12em;
  margin-block: .16em .2em;
  overflow: visible !important;
}
.game-full-page .li-heading h1 em,
.game-full-page .gh-heading h1 em,
.game-full-page .pd-hero h1 em,
.game-full-page .cq-hero h1 em {
  letter-spacing: -.015em;
  display: inline-block;
  padding-inline: .025em .12em;
  padding-block: .02em .08em;
  line-height: 1.18;
  overflow: visible !important;
}
.game-full-page .li-kicker,
.game-full-page .gh-kicker,
.game-full-page .pd-kicker,
.game-full-page .cq-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 1.5em;
  padding-inline: 3px;
  margin-inline: -3px;
  letter-spacing: .14em;
  white-space: normal;
}
.game-full-page button,
.game-full-page .li-primary,
.game-full-page .li-secondary,
.game-full-page .gh-primary,
.game-full-page .gh-secondary,
.game-full-page .pd-button,
.game-full-page .cq-button,
.game-full-page .li-nav-button,
.game-full-page .gh-mode,
.game-full-page .pd-mode,
.game-full-page .cq-mode {
  box-sizing: border-box;
  overflow: visible;
  min-height: 44px;
  line-height: 1.35;
  padding-block: 11px;
  padding-inline: 15px;
  text-indent: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: center;
}
.game-full-page .li-nav-button {
  padding: 11px 15px 12px;
  line-height: 1.35;
}
.game-full-page .gh-mode,
.game-full-page .pd-mode,
.game-full-page .cq-mode {
  text-align: left;
  min-height: 64px;
}
.game-full-page button:focus-visible {
  outline-offset: 4px;
}
@media (max-width: 520px) {
  .game-full-page .li-heading h1,
  .game-full-page .gh-heading h1,
  .game-full-page .pd-hero h1,
  .game-full-page .cq-hero h1 {
    letter-spacing: -.03em;
    line-height: 1.2;
  }
  .game-full-page button,
  .game-full-page .li-primary,
  .game-full-page .li-secondary,
  .game-full-page .gh-primary,
  .game-full-page .gh-secondary,
  .game-full-page .pd-button,
  .game-full-page .cq-button {
    min-height: 44px;
    padding: 11px 13px;
  }
}



/* Definitive game navigation spacing fix */
/* The back link must occupy its own row; never overlay the hero. */
.game-full-page .game-back {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 1 !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 64px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px clamp(16px, 5vw, 72px) 14px !important;
  background: #f5f7f1 !important;
  border-bottom: 1px solid #e1e8dd;
  transform: none !important;
}
.game-full-page .game-back a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  min-height: 36px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 11px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  transform: none !important;
}
.game-full-page > .game-back + section {
  position: relative !important;
  inset: auto !important;
  clear: both !important;
  margin-top: 0 !important;
  padding-top: clamp(28px, 3vw, 44px) !important;
}
.game-full-page .li-shell,
.game-full-page .gh-shell,
.game-full-page .pd-shell,
.game-full-page .cq-shell {
  position: relative !important;
  inset: auto !important;
  transform: none;
}
.game-full-page .li-kicker,
.game-full-page .gh-kicker,
.game-full-page .pd-kicker,
.game-full-page .cq-kicker {
  position: relative !important;
  display: block !important;
  clear: both !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
@media (max-width: 680px) {
  .game-full-page .game-back {
    min-height: 56px !important;
    padding: 10px 17px !important;
  }
  .game-full-page > .game-back + section {
    padding-top: 25px !important;
  }
}



/* Pixel Detective: match Locate It full-width page frame */
/* Use the same viewport-spanning section and generous, consistent gutters as Locate It. */
.game-full-page.pd-page {
  --pd-gutter: clamp(18px, 4vw, 72px);
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 48px !important;
  overflow: visible !important;
  background: #e8eee4;
  border-block: 1px solid #d5dfd3;
}
.game-full-page.pd-page > .pd-shell {
  display: block;
  width: calc(100vw - var(--pd-gutter) - var(--pd-gutter)) !important;
  max-width: none !important;
  min-width: 0;
  margin-left: calc(50% - 50vw + var(--pd-gutter)) !important;
  margin-right: 0 !important;
  padding: 32px 0 40px !important;
}
.game-full-page.pd-page .pd-hero,
.game-full-page.pd-page .pd-lobby,
.game-full-page.pd-page .pd-play,
.game-full-page.pd-page .pd-results {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.game-full-page.pd-page .pd-hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: 8px;
  margin-bottom: 34px;
}
.game-full-page.pd-page .pd-lobby-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 16px;
}
.game-full-page.pd-page .pd-level-grid {
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.game-full-page.pd-page .pd-play {
  padding: 0;
}
.game-full-page.pd-page .pd-stage {
  width: 100%;
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, .68fr);
}
.game-full-page.pd-page .pd-card,
.game-full-page.pd-page .pd-viewer-card,
.game-full-page.pd-page .pd-question-card {
  min-width: 0;
}
@media (max-width: 900px) {
  .game-full-page.pd-page { --pd-gutter: clamp(20px, 4vw, 40px); }
  .game-full-page.pd-page .pd-stage {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .game-full-page.pd-page { --pd-gutter: 17px; }
  .game-full-page.pd-page > .pd-shell { padding-top: 24px !important; }
  .game-full-page.pd-page .pd-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 26px;
  }
  .game-full-page.pd-page .pd-lobby-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .game-full-page.pd-page .pd-level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .game-full-page.pd-page .pd-image-stage {
    width: 100%;
    min-width: 0;
  }
  .game-full-page.pd-page .pd-hud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
