:root {
  --sky-top: #4fc4ff;
  --sky-mid: #63b4ff;
  --sky-low: #d7b24a;
  --jungle-dark: #14441d;
  --jungle-mid: #1f6b2f;
  --jungle-light: #34a853;
  --earth-dark: #3a1d10;
  --earth-mid: #6e3419;
  --earth-light: #b6672c;
  --pit: #120a0d;
  --ink: #fff6d9;
  --panel: rgba(35, 18, 10, 0.92);
  --panel-edge: #ad6f32;
  --accent: #ffd447;
  --danger: #ff7342;
  --leaf: #53d66c;
  --pixel-shadow: rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body {
  font-family: VT323, monospace;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--sky-top) 0 18%, var(--sky-mid) 18% 34%, var(--sky-low) 34% 41%, #2d8a49 41% 57%, #276b36 57% 63%, #5a2f18 63% 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.sky,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.sky {
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,0.45) 0 5%, transparent 5% 100%),
    radial-gradient(circle at 66% 12%, rgba(255,255,255,0.35) 0 4%, transparent 4% 100%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25) 0 3%, transparent 3% 100%),
    repeating-linear-gradient(to right, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 4px, transparent 4px, transparent 8px);
  opacity: 0.35;
}

.scanlines {
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.10) 2px, transparent 2px, transparent 5px);
  opacity: 0.14;
}

.hud, main { max-width: 1180px; margin: 0 auto; padding: 16px 20px; }
.hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.score,
nav a,
.level,
.button,
h1,
h2,
.pub-year,
.eyebrow {
  font-family: 'Press Start 2P', monospace;
}

.score {
  font-size: 10px;
  color: #fff;
  text-shadow: 2px 2px 0 #20451a;
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  font-size: 10px;
  color: #fff4bb;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.pub-links a:hover,
.pub-links a:focus-visible,
.button:hover,
.button:focus-visible {
  color: white;
  transform: translateY(-1px);
}

.frame {
  background: linear-gradient(180deg, rgba(55, 28, 15, 0.96), rgba(29, 13, 7, 0.96));
  border: 4px solid var(--panel-edge);
  box-shadow: inset 0 0 0 3px rgba(0,0,0,0.3), 0 10px 0 rgba(0,0,0,0.2);
  border-radius: 12px;
}

.hero {
  padding: 18px 18px 22px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 35%, rgba(255,255,255,0.07) 48%, transparent 62%);
  animation: shimmer 8s linear infinite;
}

.jungle-stage {
  position: relative;
  height: 360px;
  margin: -4px -4px 18px;
  border-bottom: 4px solid var(--panel-edge);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(153, 214, 255, 0.95) 0 24%, rgba(119, 197, 255, 0.92) 24% 40%, rgba(57, 143, 78, 0.30) 40% 62%, transparent 62% 68%),
    linear-gradient(180deg, transparent 0 68%, #6b3a18 68% 100%);
}

.canopy,
.tree-trunks,
.ground,
.vine-ropes,
.pitfall,
.pond,
.crocodile,
.adventurer,
.campfire,
.leopard,
.snake,
.scorpion,
.vine-swinger {
  position: absolute;
}

.canopy-back,
.canopy-front {
  left: 0;
  right: 0;
  height: 72px;
}

.canopy-back {
  top: 0;
  opacity: 0.42;
  background:
    linear-gradient(180deg, #0a4517 0 35%, transparent 35% 100%),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(39,115,45,0.8) 60px 84px, transparent 84px 148px),
    radial-gradient(circle at 10% 40%, #296d33 0 10%, transparent 10% 100%),
    radial-gradient(circle at 32% 30%, #296d33 0 12%, transparent 12% 100%),
    radial-gradient(circle at 68% 35%, #296d33 0 10%, transparent 10% 100%),
    radial-gradient(circle at 90% 42%, #296d33 0 12%, transparent 12% 100%);
}

.canopy-front {
  top: 8px;
  height: 88px;
  background:
    radial-gradient(circle at 6% 15%, #46ba55 0 8%, transparent 8% 100%),
    radial-gradient(circle at 16% 20%, #3ca84b 0 10%, transparent 10% 100%),
    radial-gradient(circle at 32% 8%, #46ba55 0 9%, transparent 9% 100%),
    radial-gradient(circle at 49% 18%, #3ca84b 0 10%, transparent 10% 100%),
    radial-gradient(circle at 66% 12%, #46ba55 0 8%, transparent 8% 100%),
    radial-gradient(circle at 82% 16%, #3ca84b 0 11%, transparent 11% 100%),
    radial-gradient(circle at 96% 10%, #46ba55 0 8%, transparent 8% 100%);
  filter: drop-shadow(0 5px 0 rgba(10,40,16,0.6));
}

.tree-trunks {
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.trunk {
  position: absolute;
  top: 0;
  width: 28px;
  height: 190px;
  background: repeating-linear-gradient(180deg, #6b3a18 0 16px, #8e5427 16px 32px);
  box-shadow: inset 4px 0 0 rgba(255, 208, 120, 0.2), inset -4px 0 0 rgba(53, 24, 10, 0.35);
  opacity: 0.82;
}

.trunk-a { left: 8%; }
.trunk-b { left: 30%; width: 18px; }
.trunk-c { left: 61%; }
.trunk-d { left: 86%; width: 18px; }

.vine-ropes {
  inset: 0;
  z-index: 2;
}

.log-platforms {
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.log {
  position: absolute;
  height: 12px;
  background: repeating-linear-gradient(90deg, #8c5a2b 0 16px, #6a3d1b 16px 32px);
  border: 2px solid #4f2b13;
  box-shadow: inset 0 2px 0 rgba(255, 219, 150, 0.25);
}

.log-a { left: 38%; top: 124px; width: 88px; }
.log-b { left: 57%; top: 142px; width: 72px; }

.rope {
  position: absolute;
  top: -8px;
  width: 6px;
  height: 128px;
  background: repeating-linear-gradient(180deg, #66db78 0 10px, #1f7d32 10px 20px);
  transform-origin: top center;
  box-shadow: 0 0 0 2px rgba(8, 44, 12, 0.25);
}

.rope-a { left: 19%; height: 154px; animation: vineSwing 2.3s ease-in-out infinite; }
.rope-b { left: 51%; height: 122px; animation: vineSwing 2.8s ease-in-out infinite reverse; }
.rope-c { left: 83%; height: 114px; animation: vineSwing 2.5s ease-in-out infinite; }

.ground {
  left: 0;
  right: 0;
  bottom: 0;
  height: 104px;
  background:
    linear-gradient(180deg, #825021 0 18px, #4c2513 18px 22px, #6e3419 22px 100%),
    repeating-linear-gradient(90deg, #80431d 0 28px, #6b3518 28px 56px),
    repeating-linear-gradient(90deg, #3f1b0f 0 6px, transparent 6px 14px);
}

.sprite {
  image-rendering: pixelated;
  filter: drop-shadow(4px 4px 0 var(--pixel-shadow));
  z-index: 3;
}

.sprite-trigger {
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.sprite-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.campfire {
  left: 10%;
  bottom: 142px;
  width: 8px;
  height: 8px;
  transform: scale(1.05);
  transform-origin: left bottom;
  background: transparent;
  box-shadow:
    8px 8px #ffcc47, 16px 8px #ff7342,
    8px 16px #ffd447, 16px 16px #ff7342, 24px 16px #ffcc47,
    16px 24px #ffe69a,
    8px 32px #5c2d15, 16px 32px #3f1b0f, 24px 32px #5c2d15,
    4px 40px #5c2d15, 12px 40px #3f1b0f, 20px 40px #5c2d15, 28px 40px #3f1b0f;
  animation: fireFlicker 0.9s steps(2, end) infinite;
}

.adventurer {
  left: 18.2%;
  top: 74px;
  width: 8px;
  height: 8px;
  transform-origin: 6px -46px;
  box-shadow:
    8px 0 #c57a3e, 16px 0 #c57a3e, 24px 0 #1b1209,
    0 8px #1b1209, 8px 8px #f2c082, 16px 8px #f2c082, 24px 8px #f2c082, 32px 8px #1b1209,
    8px 16px #d7b24a, 16px 16px #1f6bd0, 24px 16px #1f6bd0, 32px 16px #d7b24a,
    0 24px #5c2d15, 8px 24px #1f6bd0, 16px 24px #1f6bd0, 24px 24px #1f6bd0, 32px 24px #5c2d15, 40px 24px #5c2d15,
    8px 32px #f2c082, 16px 32px #1f6bd0, 24px 32px #1f6bd0, 32px 32px #f2c082,
    0 40px #5c2d15, 8px 40px #5c2d15, 24px 40px #5c2d15, 32px 40px #5c2d15,
    -8px 48px #5c2d15, 0 48px #5c2d15, 32px 48px #5c2d15, 40px 48px #5c2d15;
  animation: swingHero 2.3s ease-in-out infinite;
}

.vine-swinger {
  display: none;
}

.snake {
  left: 6%;
  bottom: 140px;
  width: 8px;
  height: 8px;
  transform: scale(1.35);
  transform-origin: left bottom;
  background: #f4b137;
  box-shadow:
    8px 0 #f4b137, 16px 0 #1b1209,
    0 8px #f4b137, 8px 8px #1b1209, 16px 8px #f4b137, 24px 8px #f4b137,
    24px 16px #f4b137, 32px 16px #1b1209, 40px 16px #f4b137,
    16px 24px #f4b137, 24px 24px #f4b137, 32px 24px #f4b137, 40px 24px #1b1209,
    8px 32px #f4b137, 16px 32px #1b1209, 24px 32px #f4b137, 32px 32px #f4b137,
    0 40px #f4b137, 8px 40px #f4b137, 16px 40px #f4b137, 24px 40px #1b1209,
    8px 48px #f4b137, 16px 48px #f4b137, 24px 48px #f4b137;
  animation: prowl 1.6s steps(2, end) infinite;
}

.scorpion {
  right: 8%;
  bottom: 136px;
  transform: scale(1.2);
  transform-origin: left bottom;
  width: 8px;
  height: 8px;
  background: #d9661c;
  box-shadow:
    8px 0 #d9661c, 16px 0 #d9661c,
    -8px 8px #d9661c, 0 8px #1a0d09, 8px 8px #d9661c, 16px 8px #1a0d09, 24px 8px #d9661c,
    -8px 16px #d9661c, 0 16px #d9661c, 8px 16px #d9661c, 16px 16px #d9661c, 24px 16px #d9661c,
    0 24px #d9661c, 8px 24px #1a0d09, 16px 24px #d9661c,
    8px 32px #d9661c, 16px 32px #d9661c, 24px 32px #d9661c,
    24px 40px #d9661c, 32px 40px #d9661c;
  animation: scuttle 1.1s steps(2, end) infinite;
}

.pitfall {
  left: 42%;
  bottom: 86px;
  width: 180px;
  height: 42px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 6px 10px 0;
  background: linear-gradient(180deg, #2a160c 0 16%, #0f0910 16% 100%);
  border: 4px solid #5d2d18;
  border-bottom-width: 8px;
}

.pitfall span {
  background: linear-gradient(180deg, #5a2c18 0 22%, #140b0d 22% 100%);
  border-left: 3px solid #c08141;
  border-right: 3px solid #2b150e;
}

.pond {
  left: 41%;
  bottom: 62px;
  width: 205px;
  height: 48px;
  border: 4px solid #2d5e76;
  background: linear-gradient(180deg, #a6ebf3 0 24%, #58bdd4 24% 100%);
  box-shadow: inset 0 6px 0 rgba(255,255,255,0.18);
  z-index: 2;
}

.crocodile {
  bottom: 70px;
  width: 84px;
  height: 34px;
  background: transparent;
  border: 0;
  overflow: visible;
  z-index: 4;
}

.crocodile-one { left: 45%; bottom: 76px; animation: bob 1.4s steps(2, end) infinite; }
.crocodile-two { left: 57%; bottom: 76px; animation: bob 1.4s steps(2, end) infinite .7s; }

.jaw {
  position: absolute;
  left: -4px;
  width: 88px;
  height: 18px;
  background: #59c85e;
  border: 4px solid #17471f;
  display: block;
}

.jaw::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 8px, #fff6d9 8px 12px);
  clip-path: polygon(0 100%, 8% 0, 16% 100%, 24% 0, 32% 100%, 40% 0, 48% 100%, 56% 0, 64% 100%, 72% 0, 80% 100%, 88% 0, 96% 100%, 100% 0, 100% 100%);
}

.jaw.top {
  top: 6px;
  transform-origin: left bottom;
  animation: chompTop 1.4s steps(2, end) infinite;
}

.jaw.bottom {
  display: none;
}

.level {
  margin: 0;
  font-size: 10px;
  color: var(--accent);
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(24px, 4.4vw, 48px);
  line-height: 1.18;
}

.desc,
p,
.pub-title,
.section-note,
.pub-links a {
  font-size: clamp(24px, 2.4vw, 31px);
}

.desc {
  margin: 0;
  max-width: 31ch;
  color: #ffe7b9;
}

.hero-meta {
  margin-top: 12px;
  color: #f0d29a;
  font-size: clamp(18px, 1.8vw, 24px);
}

.secret-hint {
  min-height: 28px;
  margin-top: 14px;
  color: #95ff9b;
  font-size: clamp(18px, 1.8vw, 22px);
}

.actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 2px solid #f7c851;
  border-radius: 8px;
  background: #ffd447;
  color: #3b250f;
  text-decoration: none;
  font-size: 10px;
  box-shadow: 0 4px 0 rgba(68, 43, 9, 0.4);
}

.button.ghost {
  background: transparent;
  color: #ffe9a0;
}

.cards,
.footer-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.status-board,
.expedition-log {
  margin-top: 14px;
  padding: 14px;
}

.cards article,
.footer-grid section,
.mission-strip {
  padding: 14px;
}

h2 {
  margin: 0 0 10px;
  font-size: 12px;
  color: #9fffa9;
  line-height: 1.45;
}

p { margin: 0; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 10px;
}

.status-board {
  display: grid;
  gap: 14px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.status-grid article {
  padding: 12px;
  background: rgba(0,0,0,0.20);
  border: 2px dashed #80512d;
  display: grid;
  gap: 8px;
}

.stat-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--accent);
}

.status-grid strong {
  font-size: clamp(21px, 2vw, 26px);
  color: #fff1c7;
}

.mission-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  align-items: start;
}

.mission-strip ul,
.pub-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mission-strip ul {
  display: grid;
  gap: 10px;
}

.mission-strip li {
  padding: 10px 12px;
  border: 2px dashed #855129;
  background: rgba(0,0,0,0.18);
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #fff0a4;
}

.publications {
  margin-top: 14px;
  padding: 16px;
}

.pub-toolbar {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.pub-search-wrap input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid #8b5a2a;
  border-radius: 8px;
  background: rgba(0,0,0,0.28);
  color: #fff3d6;
  font: inherit;
  font-size: 24px;
}

.pub-filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  min-height: 42px;
  padding: 8px 10px;
  border: 2px solid #8b5a2a;
  border-radius: 8px;
  background: rgba(0,0,0,0.22);
  color: #ffe7b9;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
}

.filter-btn.active {
  background: #ffd447;
  color: #3b250f;
}

.pub-count {
  margin-top: 12px;
  color: #95ff9b;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 12px;
}

.section-note {
  max-width: 25ch;
  color: #f3d7a7;
}

.section-note code {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #fff0a4;
}

.pub-list {
  display: grid;
  gap: 10px;
}

.pub-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px;
  background: rgba(0,0,0,0.22);
  border: 2px dashed #80512d;
}

.featured-pub {
  background: linear-gradient(180deg, rgba(66, 29, 14, 0.92), rgba(28, 11, 6, 0.92));
  border-style: solid;
  box-shadow: inset 0 0 0 2px rgba(255, 212, 71, 0.15);
}

.older-pub {
  background: linear-gradient(180deg, rgba(38, 22, 12, 0.86), rgba(21, 10, 6, 0.86));
}

.pub-year {
  color: var(--accent);
  font-size: 11px;
  line-height: 1.5;
}

.pub-body {
  display: grid;
  gap: 10px;
}

.pub-title {
  color: #fff3d6;
}

.pub-meta {
  color: #f0d29a;
  font-size: clamp(20px, 2vw, 26px);
}

.pub-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pub-links a {
  color: #95ff9b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pub-links a::before {
  content: "▸";
  color: var(--accent);
}

.pub-links a[href*="doi.org"]::before { content: "◎"; }
.pub-links a[href*="scholar.google.com"]::before { content: "◆"; }
.pub-links a[href*="researchgate.net"]::before { content: "◉"; }
.pub-links a[href$=".pdf"]::before,
.pub-links a[download]::before { content: "▣"; }

.contact-form {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form span {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid #8b5a2a;
  border-radius: 8px;
  background: rgba(0,0,0,0.24);
  color: #fff3d6;
  font: inherit;
  font-size: 24px;
  padding: 10px 12px;
}

.contact-form textarea {
  resize: vertical;
}

.expedition-log {
  display: grid;
  gap: 14px;
}

.log-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.log-grid article {
  padding: 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.3));
  border: 2px solid #80512d;
  box-shadow: inset 0 0 0 2px rgba(255, 212, 71, 0.08);
  display: grid;
  gap: 12px;
}

.log-grid span {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  line-height: 1.5;
  color: #9fffa9;
}

.footer-grid {
  grid-template-columns: 1fr 1fr;
}

.secret-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.secret-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 4, 2, 0.82);
}

.secret-modal__panel {
  position: relative;
  width: min(960px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  margin: 12px auto;
  padding: 18px;
  z-index: 1;
}

.secret-copy {
  color: #ffe7b9;
  margin-bottom: 14px;
}

.secret-game-wrap {
  aspect-ratio: 640 / 320;
  border: 3px solid #8b5a2a;
  background: #000;
  margin-bottom: 14px;
}

.secret-game-wrap--static {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #1b1209, #000);
}

.secret-static-card {
  max-width: 36ch;
  text-align: center;
  color: #ffe7b9;
  font-size: clamp(22px, 2.2vw, 28px);
}

.secret-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 2px solid #f7c851;
  border-radius: 8px;
  background: rgba(0,0,0,0.25);
  color: #fff6d9;
  font: inherit;
  font-size: 28px;
  cursor: pointer;
}

body.secret-open {
  overflow: hidden;
}

@keyframes shimmer {
  0% { transform: translateX(-30%); }
  100% { transform: translateX(30%); }
}

@keyframes vineSwing {
  0%, 100% { transform: rotate(12deg); }
  50% { transform: rotate(-15deg); }
}

@keyframes swingHero {
  0%, 100% { transform: rotate(16deg) translateY(0); }
  50% { transform: rotate(-15deg) translateY(4px); }
}

@keyframes runCycle {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-5px) translateX(2px); }
  50% { transform: translateY(0) translateX(5px); }
  75% { transform: translateY(-2px) translateX(2px); }
}

@keyframes prowl {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-4px) translateX(6px); }
}

@keyframes fireFlicker {
  0%, 100% { transform: scale(1.15) translateY(0); }
  50% { transform: scale(1.15) translateY(-2px); }
}

@keyframes scuttle {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes chompTop {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-14deg); }
}

@keyframes chompBottom {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

@media (max-width: 980px) {
  nav { display: none; }
  .cards,
  .status-grid,
  .mission-strip,
  .log-grid,
  .footer-grid,
  .section-head,
  .pub-toolbar,
  .contact-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .jungle-stage {
    height: 280px;
  }

  .adventurer { left: 28%; }
  .pitfall { left: 40%; width: 150px; }
  .crocodile-one { left: 39%; }
  .crocodile-two { left: 55%; }
}

@media (max-width: 720px) {
  .hud, main { padding: 12px; }
  .hero { padding: 14px 14px 18px; }
  .jungle-stage { height: 300px; }
  .sprite { transform-origin: left bottom; }
  .rope-a { left: 16%; height: 150px; }
  .log-a { left: 35%; top: 136px; width: 72px; }
  .log-b { left: 56%; top: 148px; width: 58px; }
  .campfire { left: 6%; bottom: 146px; transform: scale(1.05); }
  .adventurer { left: 14.5%; top: 78px; }
  .pitfall { left: 31%; bottom: 88px; width: 132px; height: 38px; }
  .pond { left: 30%; bottom: 64px; width: 160px; height: 42px; }
  .crocodile-one { left: 31%; bottom: 78px; }
  .crocodile-two { left: 50%; bottom: 78px; }
  .pub-card { grid-template-columns: 1fr; }
  .pub-search-wrap input { font-size: 20px; }
  .secret-modal__panel { padding: 14px; }
  .secret-game-wrap { aspect-ratio: 4 / 5; }
}
