/* Greate Games. Colours are Resurrect 64 only, by DR Pixel's names
   (greate/styles/dr_pixel/kit/art/tools/pixkit.py PALETTE). The world is at night,
   so the site is dark by design. UI follows DR Pixel's PixelBox/PixelButton: stepped
   3 px ink borders, shadow fills, the gold honey button with a 3 px depth strip. */

@font-face {
  font-family: 'Pixelify Sans';
  src: url('/fonts/PixelifySans.ttf') format('truetype');
  font-display: swap;
}

:root {
  --ink: #2e222f;
  --shadow: #3e3546;
  --dusk: #625565;
  --navy: #323353;
  --indigo: #484a77;
  --aubergine: #45293f;
  --wine: #6e2727;
  --bark-red: #7a3045;
  --rust: #9e4539;
  --copper: #cd683d;
  --tan: #e6904e;
  --olive-dark: #4c3e24;
  --forest-shadow: #374e4a;
  --green-dark: #165a4c;
  --teal-dark: #0b5e65;
  --slate: #7f708a;
  --fog: #9babb2;
  --mist: #c7dcd0;
  --honey: #fbb954;
  --gold: #f9c22b;
  --cream-lime: #fbff86;
  --leaf: #91db69;
  --sky: #4d9be6;
  --mint: #30e1b9;

  /* each world layer's ground colour; also the dither band between layers */
  --charcoal: #313638;
  --bg-sky: var(--ink);
  --bg-surface: var(--charcoal);       /* the hillside below the hilltop */
  --bg-workshop: var(--shadow);
  --bg-underground: var(--olive-dark);
  --bg-depths: var(--navy);
  --bg-lab: var(--teal-dark);
  --bg-ground: var(--olive-dark);
  --bg-story: var(--shadow);

  --notch: polygon(3px 0, calc(100% - 3px) 0, 100% 3px, 100% calc(100% - 3px),
                   calc(100% - 3px) 100%, 3px 100%, 0 calc(100% - 3px), 0 3px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--ink); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font: 1.15rem/1.6 'Pixelify Sans', system-ui, sans-serif;
  /* Pixelify's "fi"/"fl" ligatures draw as a lone capital A: "Arst", "And" */
  font-variant-ligatures: none;
  font-feature-settings: 'liga' 0, 'clig' 0;
}

a { color: var(--honey); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
strong { color: var(--honey); font-weight: 700; }
img { max-width: 100%; }
.px { image-rendering: pixelated; }

/* ---- pieces: wooden sign, PixelBox plaque, honey button, badges ---- */

.layer-intro {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--mist);
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink);
}

.plaque {
  background: var(--shadow);
  border: 3px solid var(--ink);
  clip-path: var(--notch);
  padding: 1rem 1.1rem 1.2rem;
}

.button {
  display: inline-block;
  padding: 0.3rem 0.9rem 0.45rem;
  background: var(--honey);
  color: var(--ink);
  text-decoration: none;
  border: 3px solid var(--ink);
  box-shadow: inset 0 -3px 0 var(--copper);
  clip-path: var(--notch);
}
.button:hover { background: var(--gold); }
.button:active { box-shadow: inset 0 3px 0 var(--copper); }

.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0; }
.badge {
  padding: 0 0.5rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--fog);
  clip-path: var(--notch);
}
.badge-flagship { background: var(--gold); }
.badge-advanced { background: var(--sky); }
.badge-near_release { background: var(--leaf); }
.badge-released { background: var(--mint); }
.badge-retired { background: var(--dusk); color: var(--mist); }

/* ---- the surface: canvas world + the studio sign ---- */

.surface {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.landmarks.sky-landmarks {
  position: relative;
  width: 100%;
  margin: 3rem auto 0;
  padding: 0 16px;
}

/* room at the bottom for the hills and the studio house on the hilltop */
.hilltop { flex: 1 0 28svh; }

#world {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  touch-action: manipulation;
}

.sign {
  position: relative;
  margin: 13svh 16px 0;
  text-align: center;
  pointer-events: none;
}

.sign h1 {
  margin: 0;
  font-size: clamp(2.4rem, 10vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--honey);
  /* DR Pixel UI: a hard night outline over art, never a soft glow */
  text-shadow:
    3px 0 var(--ink), -3px 0 var(--ink), 0 3px var(--ink), 0 -3px var(--ink),
    3px 3px var(--ink), -3px 3px var(--ink), 3px -3px var(--ink), -3px -3px var(--ink),
    0 7px var(--shadow);
}

.tagline {
  margin: 0.9rem 0 0;
  font-size: clamp(1.05rem, 3.6vw, 1.4rem);
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink);
}

/* one quiet line that says what this is, and a plain link to the list: neither should look
   like a game's plaque or button */
.grounding {
  margin: 0.5rem 0 0;
  color: var(--fog);
  font-size: clamp(0.9rem, 3vw, 1.05rem);
  letter-spacing: 0.04em;
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink);
}
.to-list { margin: 1.3rem 0 0; }
.list-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mist);
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--dusk);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink);
  pointer-events: auto;
}
.list-link::before {             /* a tiny list: three rows, each a dot and a line */
  content: '';
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background:
    linear-gradient(var(--honey) 0 0) 0 1px / 3px 3px no-repeat,
    linear-gradient(var(--fog) 0 0) 5px 1px / 9px 3px no-repeat,
    linear-gradient(var(--honey) 0 0) 0 6px / 3px 3px no-repeat,
    linear-gradient(var(--fog) 0 0) 5px 6px / 9px 3px no-repeat,
    linear-gradient(var(--honey) 0 0) 0 11px / 3px 3px no-repeat,
    linear-gradient(var(--fog) 0 0) 5px 11px / 9px 3px no-repeat;
}
.list-link:hover { color: var(--honey); text-decoration-color: var(--honey); }

.dig {
  margin: 1.2rem 0 0;
  color: var(--fog);
  font-size: 1rem;
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink);
  animation: bob 1.6s steps(2, jump-none) infinite;
}

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

/* ---- world layers: one band per layer, its ground as a pixel tile ---- */

.layer {
  --c: var(--bg-surface);
  position: relative;
  padding: 3.4rem 16px 4.5rem;
  text-align: center;
}

/* a hard 2-row checker dither from the layer above, never a gradient */
.layer::before, .stratum::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: conic-gradient(var(--p) 25%, var(--c) 0 50%, var(--p) 0 75%, var(--c) 0) 0 0 / 8px 8px;
}

.layer-surface {
  --c: var(--bg-surface);
  background: var(--bg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' shape-rendering='crispEdges'%3E%3Cg fill='%23374e4a'%3E%3Crect x='11' y='9' width='1' height='1'/%3E%3Crect x='10' y='10' width='3' height='1'/%3E%3Crect x='10' y='11' width='3' height='1'/%3E%3Crect x='9' y='12' width='5' height='1'/%3E%3Crect x='9' y='13' width='5' height='1'/%3E%3Crect x='8' y='14' width='7' height='1'/%3E%3Crect x='47' y='27' width='1' height='1'/%3E%3Crect x='46' y='28' width='3' height='1'/%3E%3Crect x='46' y='29' width='3' height='1'/%3E%3Crect x='45' y='30' width='5' height='1'/%3E%3Crect x='45' y='31' width='5' height='1'/%3E%3Crect x='44' y='32' width='7' height='1'/%3E%3Crect x='25' y='55' width='1' height='1'/%3E%3Crect x='24' y='56' width='3' height='1'/%3E%3Crect x='24' y='57' width='3' height='1'/%3E%3Crect x='23' y='58' width='5' height='1'/%3E%3Crect x='23' y='59' width='5' height='1'/%3E%3Crect x='22' y='60' width='7' height='1'/%3E%3Crect x='69' y='66' width='1' height='1'/%3E%3Crect x='68' y='67' width='3' height='1'/%3E%3Crect x='68' y='68' width='3' height='1'/%3E%3Crect x='67' y='69' width='5' height='1'/%3E%3Crect x='67' y='70' width='5' height='1'/%3E%3Crect x='66' y='71' width='7' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='11' y='15' width='1' height='1'/%3E%3Crect x='47' y='33' width='1' height='1'/%3E%3Crect x='25' y='61' width='1' height='1'/%3E%3Crect x='69' y='72' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%233e3546'%3E%3Crect x='58' y='8' width='6' height='4'/%3E%3C/g%3E%3Cg fill='%239e4539'%3E%3Crect x='60' y='9' width='2' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 240px 240px;
}
.layer-surface::before { display: none; }   /* the hill runs on from the canvas, no seam */

/* every landmark above ground stands on its own grassy ledge, stepping down the hill */
.layer-surface .landmark, .layer-workshop .landmark { position: relative; padding-bottom: 26px; }
.layer-surface .landmark::after, .layer-workshop .landmark::after {
  content: '';
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: 0;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' shape-rendering='crispEdges'%3E%3Cg fill='%23547e64'%3E%3Crect x='0' y='0' width='3' height='1'/%3E%3Crect x='5' y='0' width='4' height='1'/%3E%3Crect x='10' y='0' width='2' height='1'/%3E%3Crect x='13' y='0' width='3' height='1'/%3E%3C/g%3E%3Cg fill='%23374e4a'%3E%3Crect x='0' y='1' width='16' height='2'/%3E%3C/g%3E%3Cg fill='%234c3e24'%3E%3Crect x='0' y='3' width='16' height='5'/%3E%3Crect x='0' y='8' width='1' height='1'/%3E%3Crect x='2' y='8' width='1' height='1'/%3E%3Crect x='4' y='8' width='1' height='1'/%3E%3Crect x='6' y='8' width='1' height='1'/%3E%3Crect x='8' y='8' width='1' height='1'/%3E%3Crect x='10' y='8' width='1' height='1'/%3E%3Crect x='12' y='8' width='1' height='1'/%3E%3Crect x='14' y='8' width='1' height='1'/%3E%3Crect x='1' y='9' width='1' height='1'/%3E%3Crect x='5' y='9' width='1' height='1'/%3E%3Crect x='9' y='9' width='1' height='1'/%3E%3Crect x='13' y='9' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%239e4539'%3E%3Crect x='3' y='4' width='1' height='1'/%3E%3Crect x='11' y='6' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='7' y='5' width='1' height='1'/%3E%3Crect x='14' y='3' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 48px 30px repeat-x;
  pointer-events: none;
}

/* in the sky they stand on a moonlit cloud */
.sky-landmarks .landmark { position: relative; padding-bottom: 26px; }
.sky-landmarks .landmark::after {
  content: '';
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: 0;
  height: 33px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 11' shape-rendering='crispEdges'%3E%3Cg fill='%23c7dcd0'%3E%3Crect x='4' y='0' width='5' height='1'/%3E%3Crect x='19' y='0' width='6' height='1'/%3E%3Crect x='2' y='1' width='9' height='1'/%3E%3Crect x='17' y='1' width='10' height='1'/%3E%3C/g%3E%3Cg fill='%239babb2'%3E%3Crect x='1' y='2' width='12' height='1'/%3E%3Crect x='15' y='2' width='14' height='1'/%3E%3Crect x='0' y='3' width='32' height='2'/%3E%3Crect x='12' y='2' width='3' height='1'/%3E%3Crect x='29' y='2' width='3' height='1'/%3E%3Crect x='0' y='2' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%237f708a'%3E%3Crect x='0' y='5' width='32' height='3'/%3E%3C/g%3E%3Cg fill='%23625565'%3E%3Crect x='0' y='8' width='32' height='1'/%3E%3Crect x='0' y='9' width='1' height='1'/%3E%3Crect x='2' y='9' width='1' height='1'/%3E%3Crect x='4' y='9' width='1' height='1'/%3E%3Crect x='6' y='9' width='1' height='1'/%3E%3Crect x='8' y='9' width='1' height='1'/%3E%3Crect x='10' y='9' width='1' height='1'/%3E%3Crect x='12' y='9' width='1' height='1'/%3E%3Crect x='14' y='9' width='1' height='1'/%3E%3Crect x='16' y='9' width='1' height='1'/%3E%3Crect x='18' y='9' width='1' height='1'/%3E%3Crect x='20' y='9' width='1' height='1'/%3E%3Crect x='22' y='9' width='1' height='1'/%3E%3Crect x='24' y='9' width='1' height='1'/%3E%3Crect x='26' y='9' width='1' height='1'/%3E%3Crect x='28' y='9' width='1' height='1'/%3E%3Crect x='30' y='9' width='1' height='1'/%3E%3Crect x='1' y='10' width='1' height='1'/%3E%3Crect x='5' y='10' width='1' height='1'/%3E%3Crect x='9' y='10' width='1' height='1'/%3E%3Crect x='13' y='10' width='1' height='1'/%3E%3Crect x='17' y='10' width='1' height='1'/%3E%3Crect x='21' y='10' width='1' height='1'/%3E%3Crect x='25' y='10' width='1' height='1'/%3E%3Crect x='29' y='10' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 96px 33px repeat-x;
  pointer-events: none;
}

/* the ground: the grass ends, the soil starts, the mine's headframe stands on it */
.ground {
  position: relative;
  padding: calc(96px + 3.4rem) 16px 2.6rem;
  text-align: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' shape-rendering='crispEdges'%3E%3Cg fill='%23547e64'%3E%3Crect x='0' y='0' width='3' height='1'/%3E%3Crect x='5' y='0' width='4' height='1'/%3E%3Crect x='10' y='0' width='2' height='1'/%3E%3Crect x='13' y='0' width='3' height='1'/%3E%3C/g%3E%3Cg fill='%23374e4a'%3E%3Crect x='0' y='1' width='16' height='2'/%3E%3C/g%3E%3Cg fill='%234c3e24'%3E%3Crect x='0' y='3' width='16' height='5'/%3E%3Crect x='0' y='8' width='1' height='1'/%3E%3Crect x='2' y='8' width='1' height='1'/%3E%3Crect x='4' y='8' width='1' height='1'/%3E%3Crect x='6' y='8' width='1' height='1'/%3E%3Crect x='8' y='8' width='1' height='1'/%3E%3Crect x='10' y='8' width='1' height='1'/%3E%3Crect x='12' y='8' width='1' height='1'/%3E%3Crect x='14' y='8' width='1' height='1'/%3E%3Crect x='1' y='9' width='1' height='1'/%3E%3Crect x='5' y='9' width='1' height='1'/%3E%3Crect x='9' y='9' width='1' height='1'/%3E%3Crect x='13' y='9' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%239e4539'%3E%3Crect x='3' y='4' width='1' height='1'/%3E%3Crect x='11' y='6' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='7' y='5' width='1' height='1'/%3E%3Crect x='14' y='3' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 96px / 48px 30px repeat-x,
              linear-gradient(var(--bg-surface) 96px, var(--bg-ground) 96px);
}
.ground::before {
  content: '';
  position: absolute;
  right: 9%;
  top: 21px;                      /* stands on the grass line, in the yard */
  width: 60px;
  height: 84px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 28' shape-rendering='crispEdges'%3E%3Cg fill='%239e4539'%3E%3Crect x='4' y='8' width='2' height='20'/%3E%3Crect x='14' y='8' width='2' height='20'/%3E%3Crect x='4' y='14' width='12' height='1'/%3E%3Crect x='4' y='21' width='12' height='1'/%3E%3C/g%3E%3Cg fill='%23cd683d'%3E%3Crect x='4' y='8' width='1' height='20'/%3E%3Crect x='14' y='8' width='1' height='20'/%3E%3C/g%3E%3Cg fill='%237a3045'%3E%3Crect x='3' y='7' width='14' height='1'/%3E%3C/g%3E%3Cg fill='%239babb2'%3E%3Crect x='8' y='1' width='4' height='1'/%3E%3Crect x='7' y='2' width='1' height='4'/%3E%3Crect x='12' y='2' width='1' height='4'/%3E%3Crect x='8' y='6' width='4' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='9' y='3' width='2' height='2'/%3E%3Crect x='10' y='5' width='1' height='23'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 60px 84px no-repeat;
}
.ground::after {
  content: '';
  position: absolute;
  right: calc(9% + 27px);
  top: 105px;
  bottom: 0;
  width: 3px;
  background: var(--ink);
}
.ground .layer-intro { margin-top: 0; }
.ground .dig { margin-top: 0.6rem; }

.layer-workshop {
  --c: var(--bg-workshop);
  background: var(--bg-workshop) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 12' shape-rendering='crispEdges'%3E%3Cg fill='%2345293f'%3E%3Crect x='0' y='0' width='32' height='1'/%3E%3Crect x='0' y='6' width='32' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='0' y='5' width='32' height='1'/%3E%3Crect x='0' y='11' width='32' height='1'/%3E%3Crect x='11' y='0' width='1' height='5'/%3E%3Crect x='27' y='6' width='1' height='5'/%3E%3C/g%3E%3Cg fill='%23625565'%3E%3Crect x='13' y='2' width='1' height='1'/%3E%3Crect x='9' y='2' width='1' height='1'/%3E%3Crect x='25' y='8' width='1' height='1'/%3E%3Crect x='29' y='8' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%2345293f'%3E%3Crect x='18' y='8' width='3' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 96px 36px;
}

/* the shed's roof is where the hillside ends and the Workshop begins; it stands on a plank floor */
.layer.layer-workshop { padding-top: 4.4rem; }   /* room for the roof (project pages wear the walls only) */
.layer.layer-workshop::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 5' shape-rendering='crispEdges'%3E%3Cg fill='%23e6904e'%3E%3Crect x='0' y='0' width='16' height='1'/%3E%3C/g%3E%3Cg fill='%239e4539'%3E%3Crect x='0' y='1' width='16' height='3'/%3E%3C/g%3E%3Cg fill='%237a3045'%3E%3Crect x='7' y='1' width='1' height='3'/%3E%3Crect x='15' y='1' width='1' height='3'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='0' y='4' width='16' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 48px 15px repeat-x; }
.layer-workshop .find { bottom: 15px; }
.layer-workshop::before { height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8' shape-rendering='crispEdges'%3E%3Cg fill='%236e2727'%3E%3Crect x='0' y='0' width='16' height='7'/%3E%3C/g%3E%3Cg fill='%237a3045'%3E%3Crect x='0' y='0' width='7' height='1'/%3E%3Crect x='8' y='0' width='7' height='1'/%3E%3Crect x='4' y='3' width='7' height='1'/%3E%3Crect x='12' y='3' width='4' height='1'/%3E%3Crect x='0' y='3' width='3' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='7' y='0' width='1' height='3'/%3E%3Crect x='15' y='0' width='1' height='3'/%3E%3Crect x='3' y='3' width='1' height='3'/%3E%3Crect x='11' y='3' width='1' height='3'/%3E%3Crect x='0' y='2' width='16' height='1'/%3E%3Crect x='0' y='5' width='16' height='1'/%3E%3Crect x='0' y='7' width='16' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 48px 24px repeat-x; }
.layer-workshop .landmark::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' shape-rendering='crispEdges'%3E%3Cg fill='%23e6904e'%3E%3Crect x='0' y='0' width='16' height='1'/%3E%3C/g%3E%3Cg fill='%23cd683d'%3E%3Crect x='0' y='1' width='16' height='1'/%3E%3C/g%3E%3Cg fill='%239e4539'%3E%3Crect x='0' y='2' width='16' height='3'/%3E%3C/g%3E%3Cg fill='%237a3045'%3E%3Crect x='0' y='4' width='16' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='0' y='5' width='16' height='1'/%3E%3Crect x='3' y='6' width='2' height='1'/%3E%3Crect x='3' y='7' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%239babb2'%3E%3Crect x='4' y='6' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E"); }

/* the 404 page is down here too: you dug too deep */
.layer-underground, body.dug {
  --c: var(--bg-underground);
  background: var(--bg-underground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' shape-rendering='crispEdges'%3E%3Cg fill='%232e222f'%3E%3Crect x='3' y='5' width='1' height='1'/%3E%3Crect x='17' y='12' width='2' height='1'/%3E%3Crect x='27' y='22' width='1' height='1'/%3E%3Crect x='9' y='27' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%239e4539'%3E%3Crect x='22' y='3' width='1' height='1'/%3E%3Crect x='6' y='17' width='1' height='1'/%3E%3Crect x='14' y='30' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23625565'%3E%3Crect x='29' y='9' width='2' height='1'/%3E%3Crect x='11' y='20' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 96px 96px;
}

.layer-depths {
  --c: var(--bg-depths);
  background: var(--bg-depths) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 16' shape-rendering='crispEdges'%3E%3Cg fill='%232e222f'%3E%3Crect x='0' y='7' width='32' height='1'/%3E%3Crect x='0' y='15' width='32' height='1'/%3E%3Crect x='15' y='0' width='1' height='7'/%3E%3Crect x='31' y='0' width='1' height='7'/%3E%3Crect x='7' y='8' width='1' height='7'/%3E%3Crect x='23' y='8' width='1' height='7'/%3E%3C/g%3E%3Cg fill='%233e3546'%3E%3Crect x='0' y='6' width='15' height='1'/%3E%3Crect x='16' y='6' width='15' height='1'/%3E%3Crect x='8' y='14' width='15' height='1'/%3E%3Crect x='24' y='14' width='7' height='1'/%3E%3Crect x='0' y='14' width='7' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 96px 48px;
}

.layer-sky {
  --c: var(--bg-sky);
  background: var(--bg-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' shape-rendering='crispEdges'%3E%3Cg fill='%237f708a'%3E%3Crect x='5' y='7' width='1' height='1'/%3E%3Crect x='24' y='19' width='1' height='1'/%3E%3C/g%3E%3Crect x='14' y='28' width='1' height='1' fill='%23c7dcd0'/%3E%3C/svg%3E") 0 0 / 96px 96px;
}

.layer-lab { --c: var(--bg-lab); background: var(--bg-lab) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cg fill='%23165a4c'%3E%3Crect x='0' y='15' width='16' height='1'/%3E%3Crect x='15' y='0' width='1' height='15'/%3E%3Crect x='0' y='7' width='16' height='1'/%3E%3Crect x='7' y='8' width='1' height='7'/%3E%3C/g%3E%3Cg fill='%230b8a8f'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3Crect x='1' y='0' width='1' height='1'/%3E%3Crect x='0' y='1' width='1' height='1'/%3E%3Crect x='8' y='8' width='1' height='1'/%3E%3Crect x='9' y='8' width='1' height='1'/%3E%3Crect x='8' y='9' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='15' y='15' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 48px 48px; }
.layer-lab .landmark { position: relative; padding-bottom: 26px; }
.layer-lab .landmark::after {
  content: '';
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: 0;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' shape-rendering='crispEdges'%3E%3Cg fill='%23c7dcd0'%3E%3Crect x='0' y='0' width='16' height='1'/%3E%3C/g%3E%3Cg fill='%239babb2'%3E%3Crect x='0' y='1' width='16' height='2'/%3E%3C/g%3E%3Cg fill='%237f708a'%3E%3Crect x='0' y='3' width='16' height='2'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='0' y='5' width='16' height='1'/%3E%3Crect x='2' y='6' width='1' height='4'/%3E%3Crect x='13' y='6' width='1' height='4'/%3E%3C/g%3E%3Cg fill='%23625565'%3E%3Crect x='1' y='6' width='1' height='4'/%3E%3Crect x='12' y='6' width='1' height='4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 48px 30px repeat-x;
  pointer-events: none;
}

/* two torches on the dungeon wall above the words: two frames, flickering */
.layer-depths .layer-head::before, .layer-depths .layer-head::after {
  content: '';
  position: absolute;
  top: -2.4rem;
  width: 18px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Crect x='2' y='6' width='2' height='6' fill='%239e4539'/%3E%3Crect x='2' y='2' width='2' height='4' fill='%23f79617'/%3E%3Crect x='2' y='3' width='2' height='2' fill='%23f9c22b'/%3E%3Crect x='1' y='4' width='1' height='2' fill='%23fb6b1d'/%3E%3Crect x='8' y='6' width='2' height='6' fill='%239e4539'/%3E%3Crect x='8' y='3' width='2' height='3' fill='%23f79617'/%3E%3Crect x='8' y='4' width='2' height='1' fill='%23f9c22b'/%3E%3Crect x='10' y='4' width='1' height='2' fill='%23fb6b1d'/%3E%3C/svg%3E") 0 0 / 36px 36px no-repeat;
  animation: flicker 0.5s steps(1) infinite;
}
.layer-depths .layer-head { position: relative; }
.layer-depths .layer-head::before { left: 14%; }
.layer-depths .layer-head::after { right: 14%; animation-delay: -0.25s; }
@keyframes flicker { 50% { background-position: -18px 0; } }

/* ---- landmarks: each project's art in a frame, its plaque, maybe its mascot ---- */

.landmarks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 2rem;
  max-width: 64rem;
  margin: 2.6rem auto 0;
  text-align: left;
}

.landmark { flex: 1 1 100%; display: flex; flex-direction: column; gap: 1.2rem; }

@media (min-width: 760px) {
  .tier-highlight { flex: 0 1 calc(50% - 1rem); }
  .tier-more { flex: 0 1 calc(33.33% - 1.34rem); }
  .tier-flagship { display: grid; grid-template-columns: 3fr 2fr; align-items: end; gap: 1.6rem; }
  .tier-flagship:nth-child(even) { grid-template-columns: 2fr 3fr; }
  .tier-flagship:nth-child(even) .landmark-art { order: 2; }
}

.landmark-art { position: relative; margin-top: var(--mh, 0); }

.frame {
  display: block;
  background: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  line-height: 0;
}
.frame img { display: block; width: 100%; height: auto; }
/* a project with only an icon (an app without screenshots): the icon on a dark board */
.frame-icon { padding: 2.4rem 0; background: var(--shadow); text-align: center; }
.frame.frame-icon img { display: inline-block; width: 128px; border: 3px solid var(--ink); }
.landmark .landmark-art { transition: translate 0.15s steps(2); }
.landmark .landmark-art:hover { translate: 0 -3px; }   /* the frame and the mascot on it together */

/* in a row of landmarks the plaques grow down to the ledge, so every one stands on the grass */
.landmark > .plaque { flex: 1 0 auto; }
.plaque h3 { margin: 0; font-size: 1.6rem; line-height: 1.15; }
.plaque h3 a { color: var(--honey); text-decoration: none; }
.tier-flagship .plaque h3 { font-size: clamp(1.7rem, 4vw, 2.2rem); }
.plaque .pitch { margin: 0.7rem 0 1rem; }

.mascot {
  position: absolute;
  right: 10%;
  bottom: calc(100% - 3px);
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 0;
  image-rendering: pixelated;
  cursor: pointer;
  animation: var(--anim) var(--dur) step-end infinite;   /* keyframes come with the mascot */
}
.mascot.hop { animation: var(--anim) var(--dur) step-end infinite, mascot-hop 0.42s steps(6); }
@keyframes mascot-hop { 50% { translate: 0 -18px; } }

/* ---- sprites borrowed from the games: the 404's hole, the swarm ---- */

.sprite {
  display: block;
  background-repeat: no-repeat;
  background-position: 0 0;
  image-rendering: pixelated;
  animation: var(--anim) var(--dur) step-end infinite;
}
.pit { display: flex; flex-direction: column; align-items: center; margin: 0 auto 1rem; }
.pit-rope { position: relative; z-index: 1; margin-bottom: -104px; }
.pit-note { color: var(--fog); }

/* LAST LINE's invaders come down over the page when nobody moves (world.js); tap to pop */
.swarm { position: fixed; left: 0; right: 0; top: 0; height: 0; z-index: 4; pointer-events: none; }
.invader {
  position: absolute;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 144px 48px;
  image-rendering: pixelated;
  pointer-events: auto;
  cursor: crosshair;
}
.invader.b { background-position: -48px 0; }
.invader.hit { background-position: -96px 0; pointer-events: none; }

/* ---- the strata: the story, one earth layer per period, newest on top ---- */

.stratum {
  --c: var(--olive-dark);
  --p: var(--olive-dark);
  position: relative;
  background: var(--c);
  padding: 3.4rem 16px 3rem;
}

.bedrock { --c: var(--bg-story); }
.bedrock .layer-intro { margin: 0 0 1.4rem; max-width: none; }
.layer-1 { --p: var(--bg-story); --c: var(--bark-red); }
.layer-2 { --p: var(--bark-red); --c: var(--wine); }
.layer-3 { --p: var(--wine); --c: var(--aubergine); }
.layer-4 { --p: var(--aubergine); --c: var(--teal-dark); }
.layer-5 { --p: var(--teal-dark); --c: var(--navy); }
.layer-6 { --p: var(--navy); --c: var(--shadow); }
.abyss { --p: var(--shadow); --c: var(--ink); padding-bottom: 5rem; }

.inner { max-width: 38rem; margin: 0 auto; }

.stratum h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  line-height: 1.2;
  color: var(--honey);
}

.stratum h3 {
  margin: 0.15rem 0 0.6rem;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--honey);
}

.stratum p { margin: 0 0 1rem; }
.stratum p:last-child { margin-bottom: 0; }

.when {
  color: var(--fog);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.outro { text-align: center; color: var(--fog); font-size: 1.3rem; }
/* the end of the world: the mine's elevator rides back up to the sky */
.ride-up { text-align: center; margin-top: 1.2rem; }
.list-link.up-link::before { width: 14px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 8' shape-rendering='crispEdges'%3E%3Cg fill='%23f9c22b'%3E%3Crect x='0' y='0' width='7' height='1'/%3E%3Crect x='0' y='7' width='7' height='1'/%3E%3Crect x='0' y='0' width='1' height='8'/%3E%3Crect x='6' y='0' width='1' height='8'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='2' y='1' width='1' height='6'/%3E%3Crect x='4' y='1' width='1' height='6'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 14px 16px no-repeat; }

/* ---- depth meter: how far down the visitor has dug ---- */

.depth {
  position: fixed;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 0.25rem 0.7rem;
  background: var(--shadow);
  color: var(--fog);
  font-size: 0.95rem;
  box-shadow: 0 0 0 3px var(--ink), 0 3px 0 3px var(--ink);
  opacity: 0;
  transition: opacity 0.3s steps(3);
  pointer-events: none;
  z-index: 5;
}

.depth .depth-m { color: var(--honey); }
.depth.on { opacity: 1; }
.depth .cage {
  display: inline-block;
  width: 14px;
  height: 16px;
  margin: 0 0.45rem -2px 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 8' shape-rendering='crispEdges'%3E%3Cg fill='%23f9c22b'%3E%3Crect x='0' y='0' width='7' height='1'/%3E%3Crect x='0' y='7' width='7' height='1'/%3E%3Crect x='0' y='0' width='1' height='8'/%3E%3Crect x='6' y='0' width='1' height='8'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='2' y='1' width='1' height='6'/%3E%3Crect x='4' y='1' width='1' height='6'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 14px 16px no-repeat;
}
.depth .ding { display: none; margin-left: 0.5rem; color: var(--cream-lime); }
.depth.ding-on .ding { display: inline; }

/* ---- finds: small secrets hidden in the layers (world.js counts them) ---- */

.layer, .ground, .stratum { --find-x: 7%; }
.find {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 0;
  image-rendering: pixelated;
  cursor: pointer;
}
.find:hover { translate: 0 -3px; }
.find.found { background-position: 100% 0; cursor: default; translate: none; animation: mascot-hop 0.42s steps(6); }
.find-left { left: var(--find-x); }
.find-right { right: var(--find-x); }
.find-clover { width: 30px; height: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10' shape-rendering='crispEdges'%3E%3Cg fill='%23f9c22b'%3E%3Crect x='17' y='0' width='1' height='1'/%3E%3Crect x='18' y='1' width='1' height='1'/%3E%3Crect x='18' y='2' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23165a4c'%3E%3Crect x='1' y='1' width='2' height='1'/%3E%3Crect x='5' y='1' width='2' height='1'/%3E%3Crect x='11' y='1' width='2' height='1'/%3E%3Crect x='15' y='1' width='2' height='1'/%3E%3Crect x='0' y='2' width='1' height='1'/%3E%3Crect x='3' y='2' width='1' height='1'/%3E%3Crect x='5' y='2' width='1' height='1'/%3E%3Crect x='8' y='2' width='1' height='1'/%3E%3Crect x='10' y='2' width='1' height='1'/%3E%3Crect x='13' y='2' width='1' height='1'/%3E%3Crect x='15' y='2' width='1' height='1'/%3E%3Crect x='0' y='3' width='1' height='1'/%3E%3Crect x='3' y='3' width='3' height='1'/%3E%3Crect x='8' y='3' width='1' height='1'/%3E%3Crect x='10' y='3' width='1' height='1'/%3E%3Crect x='13' y='3' width='3' height='1'/%3E%3Crect x='18' y='3' width='1' height='1'/%3E%3Crect x='1' y='4' width='2' height='1'/%3E%3Crect x='6' y='4' width='2' height='1'/%3E%3Crect x='11' y='4' width='2' height='1'/%3E%3Crect x='16' y='4' width='2' height='1'/%3E%3Crect x='1' y='5' width='2' height='1'/%3E%3Crect x='6' y='5' width='2' height='1'/%3E%3Crect x='11' y='5' width='2' height='1'/%3E%3Crect x='16' y='5' width='2' height='1'/%3E%3Crect x='0' y='6' width='1' height='1'/%3E%3Crect x='3' y='6' width='3' height='1'/%3E%3Crect x='8' y='6' width='1' height='1'/%3E%3Crect x='10' y='6' width='1' height='1'/%3E%3Crect x='13' y='6' width='3' height='1'/%3E%3Crect x='18' y='6' width='1' height='1'/%3E%3Crect x='0' y='7' width='1' height='1'/%3E%3Crect x='3' y='7' width='1' height='1'/%3E%3Crect x='5' y='7' width='1' height='1'/%3E%3Crect x='8' y='7' width='1' height='1'/%3E%3Crect x='10' y='7' width='1' height='1'/%3E%3Crect x='13' y='7' width='1' height='1'/%3E%3Crect x='15' y='7' width='1' height='1'/%3E%3Crect x='18' y='7' width='1' height='1'/%3E%3Crect x='1' y='8' width='2' height='1'/%3E%3Crect x='5' y='8' width='3' height='1'/%3E%3Crect x='11' y='8' width='2' height='1'/%3E%3Crect x='15' y='8' width='3' height='1'/%3E%3Crect x='7' y='9' width='1' height='1'/%3E%3Crect x='17' y='9' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23fbff86'%3E%3Crect x='17' y='1' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%231ebc73'%3E%3Crect x='1' y='2' width='1' height='1'/%3E%3Crect x='6' y='2' width='1' height='1'/%3E%3Crect x='11' y='2' width='1' height='1'/%3E%3Crect x='16' y='2' width='1' height='1'/%3E%3Crect x='4' y='4' width='1' height='1'/%3E%3Crect x='14' y='4' width='1' height='1'/%3E%3Crect x='4' y='5' width='1' height='1'/%3E%3Crect x='14' y='5' width='1' height='1'/%3E%3Crect x='1' y='7' width='1' height='1'/%3E%3Crect x='11' y='7' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23239063'%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3Crect x='7' y='2' width='1' height='1'/%3E%3Crect x='12' y='2' width='1' height='1'/%3E%3Crect x='17' y='2' width='1' height='1'/%3E%3Crect x='1' y='3' width='2' height='1'/%3E%3Crect x='6' y='3' width='2' height='1'/%3E%3Crect x='11' y='3' width='2' height='1'/%3E%3Crect x='16' y='3' width='2' height='1'/%3E%3Crect x='3' y='4' width='1' height='1'/%3E%3Crect x='5' y='4' width='1' height='1'/%3E%3Crect x='13' y='4' width='1' height='1'/%3E%3Crect x='15' y='4' width='1' height='1'/%3E%3Crect x='3' y='5' width='1' height='1'/%3E%3Crect x='5' y='5' width='1' height='1'/%3E%3Crect x='13' y='5' width='1' height='1'/%3E%3Crect x='15' y='5' width='1' height='1'/%3E%3Crect x='1' y='6' width='2' height='1'/%3E%3Crect x='6' y='6' width='2' height='1'/%3E%3Crect x='11' y='6' width='2' height='1'/%3E%3Crect x='16' y='6' width='2' height='1'/%3E%3Crect x='2' y='7' width='1' height='1'/%3E%3Crect x='6' y='7' width='2' height='1'/%3E%3Crect x='12' y='7' width='1' height='1'/%3E%3Crect x='16' y='7' width='2' height='1'/%3E%3C/g%3E%3C/svg%3E"); background-size: 60px 30px; }
.find-duck { width: 33px; height: 33px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 11' shape-rendering='crispEdges'%3E%3Cg fill='%232e222f'%3E%3Crect x='3' y='0' width='3' height='1'/%3E%3Crect x='14' y='0' width='3' height='1'/%3E%3Crect x='2' y='1' width='1' height='1'/%3E%3Crect x='6' y='1' width='1' height='1'/%3E%3Crect x='13' y='1' width='1' height='1'/%3E%3Crect x='17' y='1' width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3Crect x='4' y='2' width='1' height='1'/%3E%3Crect x='6' y='2' width='1' height='1'/%3E%3Crect x='13' y='2' width='1' height='1'/%3E%3Crect x='15' y='2' width='1' height='1'/%3E%3Crect x='17' y='2' width='1' height='1'/%3E%3Crect x='1' y='3' width='1' height='1'/%3E%3Crect x='6' y='3' width='1' height='1'/%3E%3Crect x='12' y='3' width='1' height='1'/%3E%3Crect x='17' y='3' width='1' height='1'/%3E%3Crect x='0' y='4' width='1' height='1'/%3E%3Crect x='6' y='4' width='1' height='1'/%3E%3Crect x='8' y='4' width='2' height='1'/%3E%3Crect x='11' y='4' width='1' height='1'/%3E%3Crect x='17' y='4' width='1' height='1'/%3E%3Crect x='19' y='4' width='2' height='1'/%3E%3Crect x='1' y='5' width='2' height='1'/%3E%3Crect x='6' y='5' width='2' height='1'/%3E%3Crect x='9' y='5' width='1' height='1'/%3E%3Crect x='11' y='5' width='1' height='1'/%3E%3Crect x='17' y='5' width='2' height='1'/%3E%3Crect x='20' y='5' width='1' height='1'/%3E%3Crect x='1' y='6' width='1' height='1'/%3E%3Crect x='9' y='6' width='1' height='1'/%3E%3Crect x='12' y='6' width='1' height='1'/%3E%3Crect x='20' y='6' width='1' height='1'/%3E%3Crect x='0' y='7' width='1' height='1'/%3E%3Crect x='9' y='7' width='1' height='1'/%3E%3Crect x='11' y='7' width='1' height='1'/%3E%3Crect x='20' y='7' width='1' height='1'/%3E%3Crect x='0' y='8' width='1' height='1'/%3E%3Crect x='9' y='8' width='1' height='1'/%3E%3Crect x='11' y='8' width='1' height='1'/%3E%3Crect x='20' y='8' width='1' height='1'/%3E%3Crect x='1' y='9' width='1' height='1'/%3E%3Crect x='8' y='9' width='1' height='1'/%3E%3Crect x='12' y='9' width='1' height='1'/%3E%3Crect x='19' y='9' width='1' height='1'/%3E%3Crect x='2' y='10' width='6' height='1'/%3E%3Crect x='13' y='10' width='6' height='1'/%3E%3C/g%3E%3Cg fill='%23fbff86'%3E%3Crect x='19' y='0' width='1' height='1'/%3E%3Crect x='19' y='1' width='1' height='1'/%3E%3Crect x='19' y='3' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23f9c22b'%3E%3Crect x='3' y='1' width='3' height='1'/%3E%3Crect x='14' y='1' width='3' height='1'/%3E%3Crect x='3' y='2' width='1' height='1'/%3E%3Crect x='5' y='2' width='1' height='1'/%3E%3Crect x='14' y='2' width='1' height='1'/%3E%3Crect x='16' y='2' width='1' height='1'/%3E%3Crect x='3' y='3' width='3' height='1'/%3E%3Crect x='14' y='3' width='3' height='1'/%3E%3Crect x='3' y='4' width='3' height='1'/%3E%3Crect x='14' y='4' width='3' height='1'/%3E%3Crect x='3' y='5' width='3' height='1'/%3E%3Crect x='8' y='5' width='1' height='1'/%3E%3Crect x='14' y='5' width='3' height='1'/%3E%3Crect x='19' y='5' width='1' height='1'/%3E%3Crect x='2' y='6' width='7' height='1'/%3E%3Crect x='13' y='6' width='7' height='1'/%3E%3Crect x='3' y='7' width='5' height='1'/%3E%3Crect x='14' y='7' width='5' height='1'/%3E%3Crect x='1' y='8' width='7' height='1'/%3E%3Crect x='12' y='8' width='7' height='1'/%3E%3C/g%3E%3Cg fill='%23fb6b1d'%3E%3Crect x='2' y='3' width='1' height='1'/%3E%3Crect x='13' y='3' width='1' height='1'/%3E%3Crect x='1' y='4' width='2' height='1'/%3E%3Crect x='12' y='4' width='1' height='1'/%3E%3Crect x='12' y='5' width='2' height='1'/%3E%3C/g%3E%3Cg fill='%23fbb954'%3E%3Crect x='1' y='7' width='2' height='1'/%3E%3Crect x='12' y='7' width='2' height='1'/%3E%3C/g%3E%3Cg fill='%23f79617'%3E%3Crect x='8' y='7' width='1' height='1'/%3E%3Crect x='19' y='7' width='1' height='1'/%3E%3Crect x='8' y='8' width='1' height='1'/%3E%3Crect x='19' y='8' width='1' height='1'/%3E%3Crect x='2' y='9' width='6' height='1'/%3E%3Crect x='13' y='9' width='6' height='1'/%3E%3C/g%3E%3C/svg%3E"); background-size: 66px 33px; }
.find-bone { width: 39px; height: 27px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 9' shape-rendering='crispEdges'%3E%3Cg fill='%23f9c22b'%3E%3Crect x='24' y='0' width='1' height='1'/%3E%3Crect x='23' y='1' width='1' height='1'/%3E%3Crect x='25' y='1' width='1' height='1'/%3E%3Crect x='24' y='2' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23fbff86'%3E%3Crect x='24' y='1' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='1' y='2' width='2' height='1'/%3E%3Crect x='9' y='2' width='2' height='1'/%3E%3Crect x='14' y='2' width='2' height='1'/%3E%3Crect x='22' y='2' width='2' height='1'/%3E%3Crect x='0' y='3' width='1' height='1'/%3E%3Crect x='3' y='3' width='1' height='1'/%3E%3Crect x='8' y='3' width='1' height='1'/%3E%3Crect x='11' y='3' width='1' height='1'/%3E%3Crect x='13' y='3' width='1' height='1'/%3E%3Crect x='16' y='3' width='1' height='1'/%3E%3Crect x='21' y='3' width='1' height='1'/%3E%3Crect x='24' y='3' width='1' height='1'/%3E%3Crect x='0' y='4' width='1' height='1'/%3E%3Crect x='4' y='4' width='5' height='1'/%3E%3Crect x='11' y='4' width='1' height='1'/%3E%3Crect x='13' y='4' width='1' height='1'/%3E%3Crect x='17' y='4' width='5' height='1'/%3E%3Crect x='24' y='4' width='1' height='1'/%3E%3Crect x='1' y='5' width='1' height='1'/%3E%3Crect x='10' y='5' width='1' height='1'/%3E%3Crect x='14' y='5' width='1' height='1'/%3E%3Crect x='23' y='5' width='1' height='1'/%3E%3Crect x='0' y='6' width='1' height='1'/%3E%3Crect x='4' y='6' width='5' height='1'/%3E%3Crect x='11' y='6' width='1' height='1'/%3E%3Crect x='13' y='6' width='1' height='1'/%3E%3Crect x='17' y='6' width='5' height='1'/%3E%3Crect x='24' y='6' width='1' height='1'/%3E%3Crect x='0' y='7' width='1' height='1'/%3E%3Crect x='3' y='7' width='1' height='1'/%3E%3Crect x='8' y='7' width='1' height='1'/%3E%3Crect x='11' y='7' width='1' height='1'/%3E%3Crect x='13' y='7' width='1' height='1'/%3E%3Crect x='16' y='7' width='1' height='1'/%3E%3Crect x='21' y='7' width='1' height='1'/%3E%3Crect x='24' y='7' width='1' height='1'/%3E%3Crect x='1' y='8' width='2' height='1'/%3E%3Crect x='9' y='8' width='2' height='1'/%3E%3Crect x='14' y='8' width='2' height='1'/%3E%3Crect x='22' y='8' width='2' height='1'/%3E%3C/g%3E%3Cg fill='%23c7dcd0'%3E%3Crect x='1' y='3' width='2' height='1'/%3E%3Crect x='9' y='3' width='2' height='1'/%3E%3Crect x='14' y='3' width='2' height='1'/%3E%3Crect x='22' y='3' width='2' height='1'/%3E%3Crect x='1' y='4' width='3' height='1'/%3E%3Crect x='9' y='4' width='2' height='1'/%3E%3Crect x='14' y='4' width='3' height='1'/%3E%3Crect x='22' y='4' width='2' height='1'/%3E%3Crect x='2' y='5' width='8' height='1'/%3E%3Crect x='15' y='5' width='8' height='1'/%3E%3Crect x='1' y='6' width='2' height='1'/%3E%3Crect x='9' y='6' width='1' height='1'/%3E%3Crect x='14' y='6' width='2' height='1'/%3E%3Crect x='22' y='6' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%239babb2'%3E%3Crect x='3' y='6' width='1' height='1'/%3E%3Crect x='10' y='6' width='1' height='1'/%3E%3Crect x='16' y='6' width='1' height='1'/%3E%3Crect x='23' y='6' width='1' height='1'/%3E%3Crect x='1' y='7' width='2' height='1'/%3E%3Crect x='9' y='7' width='2' height='1'/%3E%3Crect x='14' y='7' width='2' height='1'/%3E%3Crect x='22' y='7' width='2' height='1'/%3E%3C/g%3E%3C/svg%3E"); background-size: 78px 27px; }
.find-gem { width: 30px; height: 27px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 9' shape-rendering='crispEdges'%3E%3Cg fill='%23ffffff'%3E%3Crect x='17' y='0' width='1' height='1'/%3E%3Crect x='18' y='1' width='1' height='1'/%3E%3Crect x='4' y='2' width='1' height='1'/%3E%3Crect x='14' y='2' width='1' height='1'/%3E%3Crect x='16' y='2' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23625565'%3E%3Crect x='2' y='1' width='4' height='1'/%3E%3Crect x='12' y='1' width='4' height='1'/%3E%3Crect x='1' y='2' width='1' height='1'/%3E%3Crect x='11' y='2' width='1' height='1'/%3E%3Crect x='1' y='3' width='1' height='1'/%3E%3Crect x='11' y='3' width='1' height='1'/%3E%3Crect x='0' y='4' width='1' height='1'/%3E%3Crect x='7' y='4' width='1' height='1'/%3E%3Crect x='10' y='4' width='1' height='1'/%3E%3Crect x='17' y='4' width='1' height='1'/%3E%3Crect x='1' y='5' width='1' height='1'/%3E%3Crect x='11' y='5' width='1' height='1'/%3E%3Crect x='2' y='6' width='1' height='1'/%3E%3Crect x='5' y='6' width='2' height='1'/%3E%3Crect x='12' y='6' width='1' height='1'/%3E%3Crect x='15' y='6' width='2' height='1'/%3E%3Crect x='3' y='7' width='2' height='1'/%3E%3Crect x='13' y='7' width='2' height='1'/%3E%3C/g%3E%3Cg fill='%23fbff86'%3E%3Crect x='17' y='1' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%233e3546'%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3Crect x='5' y='2' width='1' height='1'/%3E%3Crect x='12' y='2' width='1' height='1'/%3E%3Crect x='15' y='2' width='1' height='1'/%3E%3Crect x='2' y='3' width='1' height='1'/%3E%3Crect x='6' y='3' width='2' height='1'/%3E%3Crect x='12' y='3' width='1' height='1'/%3E%3Crect x='16' y='3' width='2' height='1'/%3E%3Crect x='1' y='4' width='1' height='1'/%3E%3Crect x='11' y='4' width='1' height='1'/%3E%3Crect x='2' y='5' width='1' height='1'/%3E%3Crect x='6' y='5' width='1' height='1'/%3E%3Crect x='12' y='5' width='1' height='1'/%3E%3Crect x='16' y='5' width='1' height='1'/%3E%3Crect x='3' y='6' width='2' height='1'/%3E%3Crect x='13' y='6' width='2' height='1'/%3E%3C/g%3E%3Cg fill='%238fd3ff'%3E%3Crect x='3' y='2' width='1' height='1'/%3E%3Crect x='13' y='2' width='1' height='1'/%3E%3Crect x='3' y='3' width='2' height='1'/%3E%3Crect x='13' y='3' width='2' height='1'/%3E%3Crect x='2' y='4' width='1' height='1'/%3E%3Crect x='12' y='4' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%234d9be6'%3E%3Crect x='5' y='3' width='1' height='1'/%3E%3Crect x='15' y='3' width='1' height='1'/%3E%3Crect x='3' y='4' width='2' height='1'/%3E%3Crect x='6' y='4' width='1' height='1'/%3E%3Crect x='13' y='4' width='2' height='1'/%3E%3Crect x='16' y='4' width='1' height='1'/%3E%3Crect x='3' y='5' width='1' height='1'/%3E%3Crect x='13' y='5' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%234d65b4'%3E%3Crect x='5' y='4' width='1' height='1'/%3E%3Crect x='15' y='4' width='1' height='1'/%3E%3Crect x='4' y='5' width='2' height='1'/%3E%3Crect x='14' y='5' width='2' height='1'/%3E%3C/g%3E%3C/svg%3E"); background-size: 60px 27px; }
.find-chest { width: 36px; height: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' shape-rendering='crispEdges'%3E%3Cg fill='%232e222f'%3E%3Crect x='13' y='0' width='10' height='1'/%3E%3Crect x='13' y='1' width='1' height='1'/%3E%3Crect x='22' y='1' width='1' height='1'/%3E%3Crect x='13' y='2' width='1' height='1'/%3E%3Crect x='22' y='2' width='1' height='1'/%3E%3Crect x='2' y='3' width='8' height='1'/%3E%3Crect x='14' y='3' width='1' height='1'/%3E%3Crect x='21' y='3' width='1' height='1'/%3E%3Crect x='1' y='4' width='1' height='1'/%3E%3Crect x='10' y='4' width='1' height='1'/%3E%3Crect x='13' y='4' width='1' height='1'/%3E%3Crect x='21' y='4' width='1' height='1'/%3E%3Crect x='1' y='5' width='1' height='1'/%3E%3Crect x='10' y='5' width='1' height='1'/%3E%3Crect x='13' y='5' width='1' height='1'/%3E%3Crect x='22' y='5' width='1' height='1'/%3E%3Crect x='0' y='6' width='2' height='1'/%3E%3Crect x='4' y='6' width='4' height='1'/%3E%3Crect x='10' y='6' width='4' height='1'/%3E%3Crect x='16' y='6' width='4' height='1'/%3E%3Crect x='22' y='6' width='2' height='1'/%3E%3Crect x='0' y='7' width='1' height='1'/%3E%3Crect x='11' y='7' width='2' height='1'/%3E%3Crect x='23' y='7' width='1' height='1'/%3E%3Crect x='0' y='8' width='1' height='1'/%3E%3Crect x='5' y='8' width='1' height='1'/%3E%3Crect x='11' y='8' width='2' height='1'/%3E%3Crect x='17' y='8' width='1' height='1'/%3E%3Crect x='23' y='8' width='1' height='1'/%3E%3Crect x='0' y='9' width='1' height='1'/%3E%3Crect x='11' y='9' width='2' height='1'/%3E%3Crect x='23' y='9' width='1' height='1'/%3E%3Crect x='0' y='10' width='1' height='1'/%3E%3Crect x='11' y='10' width='2' height='1'/%3E%3Crect x='23' y='10' width='1' height='1'/%3E%3Crect x='1' y='11' width='10' height='1'/%3E%3Crect x='13' y='11' width='10' height='1'/%3E%3C/g%3E%3Cg fill='%237a3045'%3E%3Crect x='14' y='1' width='1' height='1'/%3E%3Crect x='21' y='1' width='1' height='1'/%3E%3Crect x='1' y='10' width='10' height='1'/%3E%3Crect x='13' y='10' width='10' height='1'/%3E%3C/g%3E%3Cg fill='%239e4539'%3E%3Crect x='15' y='1' width='6' height='1'/%3E%3Crect x='14' y='2' width='8' height='1'/%3E%3Crect x='2' y='5' width='8' height='1'/%3E%3Crect x='1' y='7' width='4' height='1'/%3E%3Crect x='7' y='7' width='4' height='1'/%3E%3Crect x='13' y='7' width='4' height='1'/%3E%3Crect x='19' y='7' width='4' height='1'/%3E%3Crect x='1' y='8' width='4' height='1'/%3E%3Crect x='7' y='8' width='4' height='1'/%3E%3Crect x='13' y='8' width='4' height='1'/%3E%3Crect x='19' y='8' width='4' height='1'/%3E%3Crect x='1' y='9' width='10' height='1'/%3E%3Crect x='13' y='9' width='10' height='1'/%3E%3C/g%3E%3Cg fill='%23f9c22b'%3E%3Crect x='15' y='3' width='2' height='1'/%3E%3Crect x='18' y='3' width='1' height='1'/%3E%3Crect x='20' y='3' width='1' height='1'/%3E%3Crect x='14' y='4' width='1' height='1'/%3E%3Crect x='16' y='4' width='3' height='1'/%3E%3Crect x='20' y='4' width='1' height='1'/%3E%3Crect x='14' y='5' width='4' height='1'/%3E%3Crect x='19' y='5' width='3' height='1'/%3E%3Crect x='2' y='6' width='2' height='1'/%3E%3Crect x='8' y='6' width='2' height='1'/%3E%3Crect x='14' y='6' width='2' height='1'/%3E%3Crect x='20' y='6' width='2' height='1'/%3E%3Crect x='5' y='7' width='2' height='1'/%3E%3Crect x='17' y='7' width='2' height='1'/%3E%3Crect x='6' y='8' width='1' height='1'/%3E%3Crect x='18' y='8' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23fbff86'%3E%3Crect x='17' y='3' width='1' height='1'/%3E%3Crect x='19' y='3' width='1' height='1'/%3E%3Crect x='15' y='4' width='1' height='1'/%3E%3Crect x='19' y='4' width='1' height='1'/%3E%3Crect x='18' y='5' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23cd683d'%3E%3Crect x='2' y='4' width='1' height='1'/%3E%3Crect x='9' y='4' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23e6904e'%3E%3Crect x='3' y='4' width='6' height='1'/%3E%3C/g%3E%3C/svg%3E"); background-size: 72px 36px; }
.find-flask { width: 27px; height: 33px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11' shape-rendering='crispEdges'%3E%3Cg fill='%238ff8e2'%3E%3Crect x='13' y='0' width='1' height='1'/%3E%3Crect x='12' y='1' width='1' height='1'/%3E%3Crect x='14' y='1' width='1' height='1'/%3E%3Crect x='13' y='2' width='1' height='1'/%3E%3Crect x='13' y='4' width='1' height='1'/%3E%3Crect x='3' y='6' width='1' height='1'/%3E%3Crect x='12' y='6' width='1' height='1'/%3E%3Crect x='12' y='7' width='1' height='1'/%3E%3Crect x='14' y='8' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%232e222f'%3E%3Crect x='3' y='2' width='3' height='1'/%3E%3Crect x='12' y='2' width='1' height='1'/%3E%3Crect x='14' y='2' width='1' height='1'/%3E%3Crect x='3' y='3' width='1' height='1'/%3E%3Crect x='5' y='3' width='1' height='1'/%3E%3Crect x='12' y='3' width='1' height='1'/%3E%3Crect x='14' y='3' width='1' height='1'/%3E%3Crect x='3' y='4' width='1' height='1'/%3E%3Crect x='5' y='4' width='1' height='1'/%3E%3Crect x='12' y='4' width='1' height='1'/%3E%3Crect x='14' y='4' width='1' height='1'/%3E%3Crect x='2' y='5' width='1' height='1'/%3E%3Crect x='6' y='5' width='1' height='1'/%3E%3Crect x='11' y='5' width='1' height='1'/%3E%3Crect x='15' y='5' width='1' height='1'/%3E%3Crect x='1' y='6' width='1' height='1'/%3E%3Crect x='7' y='6' width='1' height='1'/%3E%3Crect x='10' y='6' width='1' height='1'/%3E%3Crect x='16' y='6' width='1' height='1'/%3E%3Crect x='0' y='7' width='1' height='1'/%3E%3Crect x='8' y='7' width='2' height='1'/%3E%3Crect x='17' y='7' width='1' height='1'/%3E%3Crect x='0' y='8' width='1' height='1'/%3E%3Crect x='8' y='8' width='2' height='1'/%3E%3Crect x='17' y='8' width='1' height='1'/%3E%3Crect x='1' y='9' width='1' height='1'/%3E%3Crect x='7' y='9' width='1' height='1'/%3E%3Crect x='10' y='9' width='1' height='1'/%3E%3Crect x='16' y='9' width='1' height='1'/%3E%3Crect x='2' y='10' width='5' height='1'/%3E%3Crect x='11' y='10' width='5' height='1'/%3E%3C/g%3E%3Cg fill='%23c7dcd0'%3E%3Crect x='4' y='3' width='1' height='1'/%3E%3Crect x='13' y='3' width='1' height='1'/%3E%3Crect x='4' y='4' width='1' height='1'/%3E%3Crect x='3' y='5' width='3' height='1'/%3E%3Crect x='12' y='5' width='3' height='1'/%3E%3Crect x='2' y='6' width='1' height='1'/%3E%3Crect x='6' y='6' width='1' height='1'/%3E%3Crect x='11' y='6' width='1' height='1'/%3E%3Crect x='15' y='6' width='1' height='1'/%3E%3Crect x='1' y='7' width='1' height='1'/%3E%3Crect x='7' y='7' width='1' height='1'/%3E%3Crect x='10' y='7' width='1' height='1'/%3E%3Crect x='16' y='7' width='1' height='1'/%3E%3Crect x='1' y='8' width='1' height='1'/%3E%3Crect x='7' y='8' width='1' height='1'/%3E%3Crect x='10' y='8' width='1' height='1'/%3E%3Crect x='16' y='8' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%2330e1b9'%3E%3Crect x='4' y='6' width='1' height='1'/%3E%3Crect x='13' y='6' width='1' height='1'/%3E%3Crect x='2' y='7' width='2' height='1'/%3E%3Crect x='11' y='7' width='1' height='1'/%3E%3Crect x='2' y='8' width='1' height='1'/%3E%3Crect x='11' y='8' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%230eaf9b'%3E%3Crect x='5' y='6' width='1' height='1'/%3E%3Crect x='14' y='6' width='1' height='1'/%3E%3Crect x='4' y='7' width='3' height='1'/%3E%3Crect x='13' y='7' width='3' height='1'/%3E%3Crect x='3' y='8' width='3' height='1'/%3E%3Crect x='12' y='8' width='2' height='1'/%3E%3Crect x='2' y='9' width='3' height='1'/%3E%3Crect x='11' y='9' width='3' height='1'/%3E%3C/g%3E%3Cg fill='%230b8a8f'%3E%3Crect x='6' y='8' width='1' height='1'/%3E%3Crect x='15' y='8' width='1' height='1'/%3E%3Crect x='5' y='9' width='2' height='1'/%3E%3Crect x='14' y='9' width='2' height='1'/%3E%3C/g%3E%3C/svg%3E"); background-size: 54px 33px; }
.find-fossil { width: 33px; height: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10' shape-rendering='crispEdges'%3E%3Cg fill='%23fbff86'%3E%3Crect x='19' y='0' width='1' height='1'/%3E%3Crect x='19' y='1' width='1' height='1'/%3E%3Crect x='20' y='2' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23ab947a'%3E%3Crect x='3' y='1' width='5' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3Crect x='8' y='2' width='1' height='1'/%3E%3Crect x='14' y='2' width='5' height='1'/%3E%3Crect x='1' y='3' width='1' height='1'/%3E%3Crect x='3' y='3' width='4' height='1'/%3E%3Crect x='9' y='3' width='1' height='1'/%3E%3Crect x='13' y='3' width='1' height='1'/%3E%3Crect x='18' y='3' width='2' height='1'/%3E%3Crect x='1' y='4' width='1' height='1'/%3E%3Crect x='3' y='4' width='1' height='1'/%3E%3Crect x='6' y='4' width='2' height='1'/%3E%3Crect x='9' y='4' width='1' height='1'/%3E%3Crect x='13' y='4' width='1' height='1'/%3E%3Crect x='15' y='4' width='2' height='1'/%3E%3Crect x='19' y='4' width='1' height='1'/%3E%3Crect x='1' y='5' width='1' height='1'/%3E%3Crect x='3' y='5' width='1' height='1'/%3E%3Crect x='5' y='5' width='1' height='1'/%3E%3Crect x='7' y='5' width='1' height='1'/%3E%3Crect x='9' y='5' width='1' height='1'/%3E%3Crect x='13' y='5' width='1' height='1'/%3E%3Crect x='15' y='5' width='1' height='1'/%3E%3Crect x='17' y='5' width='1' height='1'/%3E%3Crect x='19' y='5' width='1' height='1'/%3E%3Crect x='1' y='6' width='1' height='1'/%3E%3Crect x='3' y='6' width='2' height='1'/%3E%3Crect x='7' y='6' width='1' height='1'/%3E%3Crect x='9' y='6' width='1' height='1'/%3E%3Crect x='13' y='6' width='1' height='1'/%3E%3Crect x='16' y='6' width='2' height='1'/%3E%3Crect x='19' y='6' width='1' height='1'/%3E%3Crect x='2' y='7' width='1' height='1'/%3E%3Crect x='7' y='7' width='1' height='1'/%3E%3Crect x='9' y='7' width='1' height='1'/%3E%3Crect x='14' y='7' width='4' height='1'/%3E%3Crect x='19' y='7' width='1' height='1'/%3E%3Crect x='3' y='8' width='6' height='1'/%3E%3C/g%3E%3Cg fill='%23b2ba90'%3E%3Crect x='14' y='1' width='5' height='1'/%3E%3Crect x='13' y='2' width='1' height='1'/%3E%3Crect x='19' y='2' width='1' height='1'/%3E%3Crect x='12' y='3' width='1' height='1'/%3E%3Crect x='14' y='3' width='4' height='1'/%3E%3Crect x='20' y='3' width='1' height='1'/%3E%3Crect x='12' y='4' width='1' height='1'/%3E%3Crect x='14' y='4' width='1' height='1'/%3E%3Crect x='17' y='4' width='2' height='1'/%3E%3Crect x='20' y='4' width='1' height='1'/%3E%3Crect x='12' y='5' width='1' height='1'/%3E%3Crect x='14' y='5' width='1' height='1'/%3E%3Crect x='16' y='5' width='1' height='1'/%3E%3Crect x='18' y='5' width='1' height='1'/%3E%3Crect x='20' y='5' width='1' height='1'/%3E%3Crect x='12' y='6' width='1' height='1'/%3E%3Crect x='14' y='6' width='2' height='1'/%3E%3Crect x='18' y='6' width='1' height='1'/%3E%3Crect x='20' y='6' width='1' height='1'/%3E%3Crect x='13' y='7' width='1' height='1'/%3E%3Crect x='18' y='7' width='1' height='1'/%3E%3Crect x='20' y='7' width='1' height='1'/%3E%3Crect x='14' y='8' width='6' height='1'/%3E%3C/g%3E%3Cg fill='%23ffffff'%3E%3Crect x='20' y='1' width='1' height='1'/%3E%3C/g%3E%3Cg fill='%23966c6c'%3E%3Crect x='3' y='2' width='5' height='1'/%3E%3Crect x='2' y='3' width='1' height='1'/%3E%3Crect x='7' y='3' width='2' height='1'/%3E%3Crect x='2' y='4' width='1' height='1'/%3E%3Crect x='4' y='4' width='2' height='1'/%3E%3Crect x='8' y='4' width='1' height='1'/%3E%3Crect x='2' y='5' width='1' height='1'/%3E%3Crect x='4' y='5' width='1' height='1'/%3E%3Crect x='6' y='5' width='1' height='1'/%3E%3Crect x='8' y='5' width='1' height='1'/%3E%3Crect x='2' y='6' width='1' height='1'/%3E%3Crect x='5' y='6' width='2' height='1'/%3E%3Crect x='8' y='6' width='1' height='1'/%3E%3Crect x='3' y='7' width='4' height='1'/%3E%3Crect x='8' y='7' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E"); background-size: 66px 30px; }

.ground .find { bottom: 6px; }
.stratum .find { bottom: 12px; }

.found-toast {
  position: fixed;
  right: 12px;
  bottom: 58px;
  max-width: calc(100vw - 24px);
  margin: 0;
  padding: 0.25rem 0.7rem;
  background: var(--shadow);
  color: var(--cream-lime);
  font-size: 0.95rem;
  box-shadow: 0 0 0 3px var(--ink), 0 3px 0 3px var(--ink);
  visibility: hidden;
  pointer-events: none;
  z-index: 5;
}
.found-toast.on { visibility: visible; }

/* ---- a project's page ---- */

.project { max-width: 58rem; margin: 0 auto; padding: 1.5rem 16px 3rem; }

.crumbs { margin: 0 0 1.5rem; }
.crumbs a {
  color: var(--honey);
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink);
}

.project-head { text-align: center; margin-bottom: 2rem; }
.project-head h1 {
  margin: 0;
  font-size: clamp(2.2rem, 9vw, 4rem);
  line-height: 1.1;
  color: var(--honey);
  text-shadow:
    3px 0 var(--ink), -3px 0 var(--ink), 0 3px var(--ink), 0 -3px var(--ink),
    3px 3px var(--ink), -3px 3px var(--ink), 3px -3px var(--ink), -3px -3px var(--ink);
}
.project-head .project-logo { line-height: 0; }
.project-icon { margin: 0 0 1rem; line-height: 0; }
.project-icon img { height: auto; border: 3px solid var(--ink); clip-path: var(--notch); box-shadow: 0 5px 0 var(--ink); }
.project-head .project-logo img { max-width: 100%; height: auto; }
.project-head .badges { justify-content: center; margin-top: 1rem; }
.project-head .pitch {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  color: var(--cream-lime);
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink);
}

.project-cover { margin-bottom: 2.4rem; }

.project-body { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .project-body { grid-template-columns: 2fr 1fr; align-items: start; } }

.prose, .facts {
  margin: 0;
  background: var(--shadow);
  border: 3px solid var(--ink);
  clip-path: var(--notch);
  padding: 1.2rem 1.3rem;
}
.prose p { margin: 0 0 1rem; }

.features { list-style: none; margin: 0; padding: 0; }
.features li { position: relative; padding-left: 1.3rem; margin: 0.35rem 0; }
.features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--honey);
  box-shadow: 0 6px 0 var(--copper);
}

.facts div { margin: 0 0 0.8rem; }
.facts div:last-child { margin: 0; }
.facts dt { color: var(--fog); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.facts dd { margin: 0; }

.links { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 2rem 0 0; }

.gallery { margin: 2.6rem 0 0; }
.gallery h2 {
  margin: 0 0 1rem;
  color: var(--honey);
  font-size: 1.6rem;
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink);
}
.strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 1rem;
  scrollbar-color: var(--honey) var(--ink);
}
.strip figure { flex: 0 0 auto; margin: 0; scroll-snap-align: start; max-width: 86vw; }
.strip a { display: block; line-height: 0; border: 3px solid var(--ink); background: var(--ink); }
.strip img { display: block; height: clamp(300px, 62svh, 540px); width: auto; max-width: 86vw; object-fit: contain; }
.strip figcaption {
  max-width: 260px;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--mist);
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink);
}

.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 3rem 0 0; }
.pager a {
  color: var(--honey);
  text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink);
}

/* ---- footer and plain pages (legal, list, 404) ---- */

.foot {
  padding: 1.5rem 16px 2.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--fog);
}

.foot a { color: var(--fog); }

.page { max-width: 40rem; margin: 0 auto; padding: 3rem 16px 2rem; }
.page h1 { color: var(--honey); font-size: 2.2rem; line-height: 1.2; }
.page h2 { color: var(--honey); font-size: 1.5rem; margin: 2.2rem 0 0.8rem; }
body.dug { min-height: 100svh; }
.lost { min-height: 80svh; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.list-page .layer-intro { margin: 0; text-shadow: none; color: var(--fog); }
.tier-intro { margin: -0.4rem 0 1rem; color: var(--fog); font-size: 1rem; }

.project-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.project-list a {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  color: var(--mist);
  text-decoration: none;
  background: var(--shadow);
  border: 3px solid var(--ink);
  clip-path: var(--notch);
}
.project-list a:hover { background: var(--dusk); }
.list-icon { flex: 0 0 64px; height: 64px; line-height: 0; }
.list-icon img { width: 64px; height: 64px; object-fit: cover; }
.list-text { display: flex; flex-direction: column; }
.list-meta { font-size: 0.85rem; color: var(--fog); }
.list-pitch { font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dig, .mascot, .mascot.hop, .layer-depths .layer-head::before, .layer-depths .layer-head::after { animation: none; }
  .landmark .landmark-art { transition: none; }
  .find.found, .sprite { animation: none; }
}
