@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/pixelify-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/pixelify-sans-600.ttf") format("truetype");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-400.ttf") format("truetype");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-600.ttf") format("truetype");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600.ttf") format("truetype");
}

:root {
  --night: #191220;
  --panel: #2c2138;
  --panel-light: #665172;
  --panel-dark: #201729;
  --edge: #100c17;
  --lavender: #b4a0d4;
  --cream: #f5e7d3;
  --text: #e5d8ec;
  --muted: #c4b7cf;
  --gold: #e8c98b;
  --pixel: "Pixelify Sans", "Courier New", monospace;
  --body: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --page: 1040px;
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(180deg, #1c1228 0%, #22143a 46%, #1b1126 100%) fixed var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  font-variant-ligatures: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

#sky,
#fx {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
}

#sky { z-index: -2; }
#fx { z-index: 60; }

img { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--pixel);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.15;
}

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 70;
  padding: 12px 18px;
  background: var(--cream);
  color: #2a173d;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--page));
  margin-inline: auto;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: #241a2f;
  border-bottom: 3px solid var(--edge);
  box-shadow: inset 0 -3px #3b2d49;
}

.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 600 1.2rem/1 var(--pixel);
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  border: 2px solid var(--edge);
  box-shadow: 0 0 0 2px var(--lavender);
}

.bar-links {
  display: flex;
  gap: 2px;
  margin: 0 -10px 0 0;
  padding: 0;
  list-style: none;
  font: 400 1.08rem/1 var(--pixel);
}

.bar-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.mc-btn {
  --button: #70558d;
  --highlight: #bca4d7;
  --shadow: #433154;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 20px;
  border: 3px solid var(--edge);
  border-radius: 0;
  background: var(--button);
  color: var(--cream);
  box-shadow: inset 3px 3px var(--highlight), inset -3px -3px var(--shadow), 0 4px var(--edge);
  font: 600 1.2rem/1.2 var(--pixel);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.12s, transform 0.12s, box-shadow 0.12s;
}

.mc-btn:active {
  transform: translateY(3px);
  box-shadow: inset 3px 3px var(--shadow), inset -3px -3px var(--highlight), 0 1px var(--edge);
}

.mc-btn--gold { --button: #695033; --highlight: #c2a270; --shadow: #3b2c1d; }
.mc-btn--stone { --button: #3d3549; --highlight: #70637c; --shadow: #231c2e; }
.mc-btn--green { --button: #3c7353; --highlight: #86c79b; --shadow: #234732; }

.mc-icon {
  flex: none;
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
}

svg.mc-icon { fill: currentColor; image-rendering: auto; }

.mc-panel {
  background: var(--panel);
  border: 3px solid var(--edge);
  box-shadow: inset 2px 2px var(--panel-light), inset -2px -2px var(--panel-dark), 0 6px rgba(16, 12, 23, 0.45);
  padding: 22px;
}

.mc-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 10px 14px;
  border: 3px solid var(--edge);
  border-radius: 0;
  background: #150f1d;
  box-shadow: inset 2px 2px #4f3c60;
  color: var(--cream);
  font: 400 1.25rem/1.2 var(--pixel);
}

.hero {
  position: relative;
  border-bottom: 3px solid var(--edge);
  overflow: hidden;
}

.hero-art img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 60%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 18, 32, 0.9) 0%, rgba(25, 18, 32, 0.74) 42%, rgba(25, 18, 32, 0.08) 74%, rgba(25, 18, 32, 0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 7vh, 68px) 0 clamp(44px, 8vh, 76px);
}

.hero-inner > * { max-width: 590px; }

.kicker {
  margin: 0 0 8px;
  font: 600 1.05rem/1.3 var(--serif);
  color: var(--gold);
}

h1 {
  font-size: clamp(2.1rem, 5.6vw, 3.5rem);
  line-height: 1.04;
  text-shadow: 3px 3px 0 #3a2850;
  text-wrap: balance;
}

.notice {
  margin-top: 22px;
  background: rgba(44, 33, 56, 0.94);
}

.notice h2,
.dialog h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.45rem;
  color: var(--gold);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.address { margin-top: 22px; }

.address label {
  display: block;
  margin-bottom: 6px;
  font: 600 1.1rem/1.2 var(--pixel);
  color: var(--cream);
}

.address-row {
  display: flex;
  gap: 10px;
}

.address-row .mc-btn { flex: none; min-width: 124px; }

.address-note {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.section {
  position: relative;
  padding: clamp(40px, 7vh, 68px) 0 0;
}

.section > h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.intro {
  max-width: 68ch;
  margin-bottom: 22px;
}

.about {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.portrait {
  cursor: pointer;
  padding: 6px;
  background: #70558d;
  border: 3px solid var(--edge);
  box-shadow: inset 3px 3px #bca4d7, inset -3px -3px #433154, 0 6px rgba(16, 12, 23, 0.45);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--edge);
}

.about-text h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.about-text { max-width: 66ch; padding-right: 76px; }

.signature {
  margin-top: 18px;
  font: 600 1.25rem/1.3 var(--serif);
  color: var(--cream);
}

.signature span { color: var(--gold); }

.tnt {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 3px solid var(--edge);
  background: none;
  cursor: pointer;
  box-shadow: 0 5px rgba(16, 12, 23, 0.5);
}

.tnt svg { display: block; width: 100%; height: 100%; }
.tnt.primed svg { animation: fuse 0.24s steps(1) 5; }
.tnt.gone { visibility: hidden; }

.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.path li {
  position: relative;
  counter-increment: step;
  padding-top: 18px;
}

.path li::before {
  content: counter(step);
  position: absolute;
  top: 12px;
  right: 16px;
  font: 600 2.4rem/1 var(--pixel);
  color: rgba(180, 160, 212, 0.45);
}

.path img {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
}

.path h3,
.get-card h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.path p { color: var(--muted); }

.need {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 14px;
  border-color: #3b2c1d;
  box-shadow: inset 2px 2px #c2a270, inset -2px -2px #201729, 0 6px rgba(16, 12, 23, 0.45);
}

.need > img { display: block; width: 84px; height: 84px; }
.need h3 { margin-bottom: 8px; font-size: 1.4rem; color: var(--gold); }
.need p { max-width: 74ch; }
.need .mc-btn { margin-top: 6px; }

.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: quick;
}

.quick li {
  counter-increment: quick;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 2px solid #7e6894;
  background: #33273f;
  font: 600 1.05rem/1.2 var(--pixel);
  color: var(--cream);
}

.quick li::before {
  content: counter(quick);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: #150f1d;
  color: var(--gold);
}

.need .hint {
  font-size: 0.95rem;
  color: var(--muted);
}

.need a:not(.mc-btn),
.path a,
.get-card > p a,
.mc-tooltip a,
.dialog p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.get {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.get-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.get-card > p { color: var(--muted); }
.get-card .mc-btn { margin-top: auto; }
.get-card .tip { margin-top: auto; }

.tip { position: relative; }

.mc-tooltip {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 3px solid #4b1fa3;
  background: #170a26;
  box-shadow: 0 0 0 3px #0c0613;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mc-tooltip strong {
  display: block;
  margin-bottom: 4px;
  font: 600 1.1rem/1.2 var(--pixel);
  color: var(--gold);
}

.fine {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.fine-icon { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; image-rendering: pixelated; }

.sub {
  margin: 30px 0 14px;
  font-size: 1.4rem;
}

.mods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 22px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.mod {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
}

.mc-slot {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid #181020;
  background: #42344f;
  box-shadow: inset 3px 3px #21182b, inset -3px -3px #786683;
}

.slot-icon { width: 28px; height: 28px; image-rendering: pixelated; }

.mod h3 {
  margin-bottom: 2px;
  font-size: 1.16rem;
}

.mod p {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}

.faqs {
  display: grid;
  gap: 10px;
}

.faq {
  background: var(--panel);
  border: 3px solid var(--edge);
  box-shadow: inset 2px 2px var(--panel-light), inset -2px -2px var(--panel-dark);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 10px 18px;
  font: 600 1.25rem/1.25 var(--pixel);
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: url("ui/plus.svg") center / contain no-repeat;
  image-rendering: pixelated;
}

.faq[open] summary::before { background-image: url("ui/minus.svg"); }
.faq[open] summary { border-bottom: 3px solid var(--edge); background: #382a47; }

.faq-body { padding: 18px 20px 20px; }
.faq-body > p { max-width: 72ch; }

.faq-body a,
.about-text a,
.fine a,
.foot a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-body h4 {
  margin: 22px 0 10px;
  font: 600 1.2rem/1.25 var(--pixel);
  color: var(--gold);
}

.faq-body .hint {
  font-size: 0.95rem;
  color: var(--muted);
}

.steps {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps:last-child { margin-bottom: 0; }

.steps li {
  position: relative;
  counter-increment: step;
  max-width: 76ch;
  min-height: 34px;
  padding: 3px 0 3px 48px;
}

.steps li + li { margin-top: 10px; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #181020;
  background: #42344f;
  box-shadow: inset 2px 2px #21182b, inset -2px -2px #786683;
  font: 600 1.1rem/1 var(--pixel);
  color: var(--gold);
}

.facts {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.facts li {
  position: relative;
  max-width: 76ch;
  padding-left: 30px;
}

.facts li + li { margin-top: 8px; }

.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  background: url("ui/check.svg") center / contain no-repeat;
  image-rendering: pixelated;
}

code,
kbd {
  padding: 1px 6px;
  border: 2px solid #46365a;
  background: #150f1d;
  color: var(--cream);
  font: 400 1.02em/1.3 var(--pixel);
  overflow-wrap: anywhere;
}

kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: 1px 7px;
  font: 600 0.95em/1.4 var(--body);
  text-align: center;
}

.hash code {
  display: block;
  padding: 10px 12px;
  font-size: 0.98rem;
}

.all-mods { margin-top: 4px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 4px 10px;
  border: 2px solid #7e6894;
  background: #33273f;
  font: 400 0.95rem/1.4 var(--body);
  color: var(--cream);
}

.sky-sign {
  position: absolute;
  z-index: -1;
  top: 18px;
  right: 0;
  width: clamp(84px, 12vw, 150px);
  aspect-ratio: 1;
  overflow: visible;
  pointer-events: none;
}

.sky-sign path {
  fill: none;
  stroke: rgba(196, 175, 217, 0.42);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.sky-sign rect { fill: var(--cream); }
.sign-creeper { top: -6px; right: 0; }

.foot { margin-top: clamp(20px, 4vh, 40px); }

.ground {
  position: relative;
  cursor: pointer;
  height: 92px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(16, 12, 23, 0.18) 0 4px, transparent 4px 32px) 0 100% / 100% 32px no-repeat,
    linear-gradient(180deg, transparent 0 60px, #86a45c 60px 64px, #6f8f4e 64px 70px, #6a4f86 70px 82px, #58406f 82px 92px);
}

.mob {
  position: absolute;
  left: 0;
  bottom: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.mob svg { display: block; }
.mob-creeper svg { width: 24px; height: 48px; }
.mob-chicken svg { width: 30px; height: 27px; }
.mob-pig svg { width: 36px; height: 21px; }
.mob-zombie svg { width: 24px; height: 42px; }
.mob-zombie.mini svg { width: 12px; height: 21px; }
.mob-enderman svg { width: 24px; height: 54px; }
.mob.hit svg { filter: brightness(3); }
.mob.away { visibility: hidden; }

.foot-inner {
  padding: 22px 0 calc(28px + env(safe-area-inset-bottom));
  font-size: 0.92rem;
  color: var(--muted);
}

.foot { background: linear-gradient(180deg, transparent 0 92px, #241a2f 92px); }

.foot-brand {
  margin-bottom: 6px;
  font: 600 1.3rem/1.2 var(--serif);
  color: var(--cream);
}

.foot-inner p { max-width: 70ch; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.dialog {
  width: min(100% - 32px, 540px);
  max-height: calc(100vh - 32px);
  padding: 24px;
  color: var(--text);
  overflow: auto;
}

.dialog::backdrop { background: rgba(12, 7, 20, 0.8); }
.dialog-key { color: var(--cream); }

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.chat {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 55;
  display: grid;
  gap: 4px;
  max-width: min(420px, 100% - 24px);
  pointer-events: none;
}

.chat p {
  margin: 0;
  padding: 6px 10px;
  background: rgba(12, 7, 20, 0.72);
  font: 600 1rem/1.35 var(--body);
  color: var(--cream);
}

.doc { padding: clamp(36px, 7vh, 64px) 0 0; }
.doc h1 { margin-bottom: 22px; }
.doc-body { max-width: 820px; padding: clamp(20px, 4vw, 34px); }
.doc-body h2 { margin: 30px 0 10px; font-size: 1.4rem; color: var(--gold); }
.doc-body h2:first-child { margin-top: 0; }
.doc-body address { margin-bottom: 14px; font-style: normal; }
.doc-body ul { margin: 0 0 14px; padding-left: 22px; }
.doc-body li + li { margin-top: 4px; }
.doc-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-body .stand { margin-top: 28px; font-size: 0.92rem; color: var(--muted); }
.foot-plain { margin-top: clamp(36px, 6vh, 60px); background: #241a2f; border-top: 3px solid var(--edge); }

.lost {
  padding: clamp(56px, 12vh, 120px) 0;
}

.lost h1 { margin: 14px 0; }
.lost p { margin-bottom: 22px; }

@media (hover: hover) and (pointer: fine) {
  .mc-btn:hover { filter: brightness(1.15); }
  .bar-links a:hover { color: var(--cream); }
  .tnt:hover { filter: brightness(1.15); }

  .tip .mc-tooltip {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 5;
    width: min(380px, 80vw);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s, visibility 0.12s;
  }

  .tip:hover .mc-tooltip,
  .tip:focus-within .mc-tooltip {
    opacity: 1;
    visibility: visible;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mob { animation: stroll 58s linear infinite; }
  .mob:nth-child(2) { animation-duration: 37s; animation-delay: -14s; }
  .mob:nth-child(3) { animation-duration: 46s; animation-delay: -31s; }
  .mob:nth-child(4) { animation-duration: 52s; animation-delay: -9s; }
  .mob:nth-child(5) { animation-duration: 66s; animation-delay: -42s; }
  .mob:nth-child(6) { animation-duration: 43s; animation-delay: -22s; }
  .mob:nth-child(7) { animation-duration: 11s; animation-delay: -3s; }
  .mob:nth-child(8) { animation-duration: 71s; animation-delay: -55s; }
  .mob:nth-child(9) { animation-duration: 14s; animation-delay: -8s; }
  .mob:nth-child(10) { animation-duration: 39s; animation-delay: -4s; }
  .mob:nth-child(11) { animation-duration: 34s; animation-delay: -17s; }
  .mob:nth-child(12) { animation-duration: 9s; animation-delay: -5s; }
  .mob.mini svg { animation-duration: 0.24s; }
  .mob.mini .step-a,
  .mob.mini .step-b { animation-duration: 0.24s; }
  .mob.hop svg { animation: hop 0.4s steps(4); }
  .mob svg { animation: bob 0.5s steps(2) infinite; }
  .step-a { animation: step-a 0.5s steps(1) infinite; }
  .step-b { animation: step-b 0.5s steps(1) infinite; }
  .shake main { animation: shake 0.42s steps(6); }
  .chat p { animation: chat-in 0.16s steps(3); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mc-btn { transition: none; }
  .mob:nth-child(1) { left: 3%; }
  .mob:nth-child(2) { left: 11%; }
  .mob:nth-child(3) { left: 19%; }
  .mob:nth-child(4) { left: 27%; }
  .mob:nth-child(5) { left: 35%; }
  .mob:nth-child(6) { left: 43%; }
  .mob:nth-child(7) { left: 51%; }
  .mob:nth-child(8) { left: 59%; }
  .mob:nth-child(9) { left: 67%; }
  .mob:nth-child(10) { left: 75%; }
  .mob:nth-child(11) { left: 83%; }
  .mob:nth-child(12) { left: 91%; }
  .step-b { display: none; }
}

@keyframes stroll {
  from { transform: translateX(-40px); }
  to { transform: translateX(100vw); }
}

@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-2px); }
}

@keyframes hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes step-a {
  0%, 49.9% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes step-b {
  0%, 49.9% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

@keyframes fuse {
  0%, 49.9% { filter: none; }
  50%, 100% { filter: brightness(0) invert(1); }
}

@keyframes shake {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-6px, 3px); }
  40% { transform: translate(5px, -4px); }
  60% { transform: translate(-4px, -2px); }
  80% { transform: translate(3px, 3px); }
  100% { transform: translate(0, 0); }
}

@keyframes chat-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .mods { grid-template-columns: repeat(2, 1fr); }
  .get { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .bar-links .optional { display: none; }
  .brand { font-size: 1rem; gap: 8px; }
  .bar-links { font-size: 1rem; }

  .hero-art img { object-position: 50% 100%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(25, 18, 32, 0.9) 0%, rgba(25, 18, 32, 0.82) 58%, rgba(25, 18, 32, 0.1) 84%, rgba(25, 18, 32, 0) 100%);
  }
  .hero-inner { padding: 28px 0 68vw; }

  .actions { flex-direction: column; }
  .actions .mc-btn { width: 100%; }
  .address-row { flex-wrap: wrap; }
  .address-row .mc-btn { width: 100%; }

  .about { grid-template-columns: 1fr; }
  .portrait { width: 144px; }
  .about-text { padding-right: 0; }
  .signature { padding-right: 76px; }

  .path { grid-template-columns: 1fr; gap: 10px; }
  .path li { display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; padding-top: 18px; }
  .path img { grid-row: span 2; width: 60px; height: 60px; margin: 0; }
  .path h3 { padding-right: 40px; }

  .mods { grid-template-columns: 1fr; }
  .need { grid-template-columns: 1fr; gap: 12px; }
  .need > img { width: 64px; height: 64px; }
  .need .mc-btn { width: 100%; }
  .get-card .mc-btn { width: 100%; }
  .mc-panel { padding: 18px; }
  .section > h2 { padding-right: 84px; }
  .sky-sign { top: 22px; width: 74px; }
  .sign-creeper { top: 4px; }
  .faq summary { padding: 10px 14px; font-size: 1.14rem; }
  .faq-body { padding: 16px 14px 18px; }
  .steps li { padding-left: 44px; }
  .dialog-actions .mc-btn { width: 100%; }
}
