:root {
  --ink: #17150f;
  --paper: #e7e0cc;
  --acid: #dfff00;
  --red: #f04430;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #191914;
  color: var(--ink);
  font-family: "Arial Narrow", Impact, sans-serif;
}
button {
  font: inherit;
  cursor: pointer;
}
.site {
  min-height: 100vh;
  padding: 38px clamp(18px, 4vw, 64px);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(40, 38, 27, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 38, 27, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow: hidden;
  position: relative;
}
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}
.masthead {
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 7px solid var(--ink);
  padding-bottom: 22px;
}
.eyebrow {
  font-family: monospace;
  font-weight: bold;
  letter-spacing: 0.12em;
  font-size: 12px;
}
h1 {
  margin: 10px 0 0;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.73;
  letter-spacing: -0.055em;
  transform: scaleX(0.86);
  transform-origin: left;
}
h1 em {
  color: var(--red);
  font-style: normal;
  text-shadow: 4px 4px 0 var(--ink);
}
.status {
  font-family: monospace;
  font-size: 12px;
  max-width: 260px;
  border: 2px solid;
  padding: 10px;
  background: #f4eedc;
}
.status span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  border: 1px solid;
  margin-right: 7px;
  box-shadow: 0 0 8px #a5bd00;
}
.warning {
  max-width: 1250px;
  margin: 12px auto 28px;
  font-family: monospace;
  font-weight: bold;
  text-align: center;
  color: var(--paper);
  background: var(--ink);
  padding: 7px;
  letter-spacing: 0.18em;
}
.cabinet {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.experiment {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border: 3px solid var(--ink);
  background: #f4eedc;
  box-shadow: 7px 7px 0 var(--ink);
  overflow: hidden;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.experiment h2 {
  font-size: 27px;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.experiment p {
  font: 14px/1.4 monospace;
  max-width: 42ch;
}
.number {
  position: absolute;
  right: 15px;
  top: 10px;
  font: 40px Impact;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  opacity: 0.35;
}
.melt-lab,
.escape-lab {
  grid-column: span 6;
  overflow: visible;
}
.lever-lab {
  grid-column: span 4;
  background: var(--red);
}
.gravity-lab {
  grid-column: span 4;
  background: var(--acid);
}
.normal-lab {
  grid-column: span 4;
}
.melt-zone,
.escape-zone {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.melt-button {
  position: relative;
  z-index: 2;
  border: 3px solid;
  background: #4188ff;
  color: white;
  padding: 18px 38px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: filter 0.2s;
}
.melt-button:hover {
  filter: saturate(1.6);
}
.melt-button.melting {
  animation: melt 3.8s ease-in forwards;
  pointer-events: none;
}
.puddle {
  position: absolute;
  width: 15px;
  height: 4px;
  top: 118px;
  background: #4188ff;
  border: 2px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
  transition: all 2.8s 1s;
}
.puddle.visible {
  width: 190px;
  height: 30px;
  opacity: 1;
}
@keyframes melt {
  0% {
    transform: scale(1);
    border-radius: 0;
  }
  35% {
    transform: scaleY(0.75) skewX(8deg);
    border-radius: 10px 20px 5px 18px;
  }
  72% {
    transform: translateY(55px) scaleX(1.25) scaleY(0.15);
    border-radius: 50%;
    filter: blur(1px);
  }
  100% {
    transform: translateY(70px) scaleX(1.8) scaleY(0);
    opacity: 0;
  }
}
.escape-zone button {
  border: 2px solid;
  padding: 12px 20px;
  background: var(--acid);
  transition: transform 0.12s ease-out;
  box-shadow: 4px 4px 0;
}
.lever {
  display: block;
  width: 120px;
  height: 135px;
  margin: 25px auto 0;
  position: relative;
  background: transparent;
  border: 0;
}
.base {
  position: absolute;
  bottom: 0;
  left: 8px;
  width: 105px;
  height: 38px;
  background: #27241e;
  border: 3px solid;
  border-radius: 50%;
}
.stick {
  position: absolute;
  width: 14px;
  height: 88px;
  background: #ded6bd;
  border: 3px solid;
  left: 53px;
  bottom: 25px;
  transform-origin: bottom;
  transition: 0.25s;
}
.knob {
  position: absolute;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #7b0b06;
  border: 3px solid;
  left: 50%;
  top: -23px;
  transform: translateX(-50%);
  transition: 0.25s;
}

.lever:active .stick {
  transform: rotate(35deg);
}
.lever:active .knob {
  transform: translateX(-50%);
}
.hazard {
  margin-top: 34px;
  border: 4px solid;
  background: var(--ink);
  color: var(--acid);
  padding: 17px 22px;
  box-shadow: 6px 6px 0 white;
  transform: rotate(-2deg);
}
.normal {
  margin: 43px auto 0;
  display: block;
  border: 1px solid #bbb;
  color: #333;
  border-radius: 6px;
  padding: 12px 18px;
  background: #eee;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
footer {
  max-width: 1250px;
  margin: 42px auto 0;
  padding-top: 15px;
  border-top: 3px solid;
  display: flex;
  justify-content: space-between;
  font: 11px monospace;
  letter-spacing: 0.15em;
}
@media (max-width: 760px) {
  .masthead {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
  .cabinet {
    display: block;
  }
  .experiment {
    margin-bottom: 18px;
    min-height: 290px;
  }
  .status {
    max-width: 100%;
  }
  footer {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .melt-button.melting {
    opacity: 0.25;
  }
}

.frozen { --paper: #d9f7ff; --ink: #082b41; --acid: #9eefff; --red: #4ea9d8; background-color: #d5f5ff; }
.frozen::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 20; background: radial-gradient(circle at 10% 10%, rgba(255,255,255,.9) 0 2px, transparent 3px), radial-gradient(circle at 70% 30%, rgba(255,255,255,.8) 0 3px, transparent 4px); background-size: 90px 90px, 130px 130px; box-shadow: inset 0 0 85px 28px rgba(213,249,255,.95); }
.frozen .experiment {
  filter: saturate(.55);
}
.frozen .experiment:not(.freezer-lab) button { cursor: not-allowed; filter: grayscale(.4) brightness(1.15); }
.frozen .status span { background: #75e8ff; box-shadow: 0 0 12px #18bade; }
.frozen .melt-button.melting { animation-play-state: paused; }
.frozen .puddle, .frozen .lever .stick, .frozen .lever .knob { transition: none; }
/* 02 — crooked sticky note */
.escape-lab {
  background: #fff27a;
  border: 0;
  min-height: 285px;
  margin: 14px 24px;
  transform: rotate(2deg);
  box-shadow: 4px 7px 12px rgba(23, 21, 15, 0.28);
}

.escape-lab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(
    135deg,
    rgba(170, 145, 25, 0.25) 0 49%,
    #fff7a9 50% 100%
  );
}

.escape-lab h2 {
  font-family: "Comic Sans MS", cursive;
  text-transform: none;
  transform: rotate(-1deg);
}

.escape-lab p {
  font-family: "Comic Sans MS", cursive;
  font-size: 16px;
}

/* 01 — battered instruction booklet */
.melt-lab {
  background:
    linear-gradient(
      90deg,
      #c9c0a9 0,
      #f8f2df 7px,
      #b8ae97 10px,
      #eee7d2 16px,
      #eee7d2 100%
    );
  border: 2px solid #373329;
  border-left: 18px solid #3f78a8;
  min-height: 325px;
  transform: rotate(-1deg);
  box-shadow:
    inset 13px 0 10px rgba(70, 60, 42, 0.18),
    3px 3px 0 #a69e87,
    7px 8px 13px rgba(23, 21, 15, 0.3);
}

.melt-lab::before {
  content: "OPERATING MANUAL • REV. 03";
  display: block;
  margin-bottom: 18px;
  padding-bottom: 7px;
  border-bottom: 1px dashed #77705f;
  font: 11px monospace;
  letter-spacing: 0.13em;
}

.melt-lab::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(
    225deg,
    #d4ccb7 0 49%,
    transparent 50% 100%
  );
  filter: drop-shadow(-2px 2px 1px rgba(0, 0, 0, 0.25));
}

.melt-lab h2 {
  font-family: Georgia, serif;
  text-transform: none;
}

/* 03 — useless replacement lever sealed in a plastic bag */
.lever-lab {
  background:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.72) 0 8%,
      rgba(210, 224, 220, 0.45) 9% 18%,
      rgba(255, 255, 255, 0.55) 19% 48%,
      rgba(180, 205, 202, 0.35) 49% 53%,
      rgba(255, 255, 255, 0.65) 54% 100%
    );
  border: 2px solid rgba(54, 68, 65, 0.75);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.9),
    5px 8px 10px rgba(23, 21, 15, 0.28);
}

.lever-lab::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  pointer-events: none;
  border: 2px dashed rgba(70, 85, 82, 0.45);
  background:
    linear-gradient(
      72deg,
      transparent 0 25%,
      rgba(255, 255, 255, 0.7) 26% 28%,
      transparent 29% 67%,
      rgba(255, 255, 255, 0.5) 68% 70%,
      transparent 71%
    );
}

.lever-lab::after {
  content: "REPLACEMENT PART • NOT CONNECTED";
  position: absolute;
  right: 18px;
  bottom: 13px;
  z-index: 4;
  padding: 4px 7px;
  background: #f4e9bd;
  border: 1px solid #4b463b;
  font: 9px monospace;
  transform: rotate(-2deg);
}

/* Resting positions — tossed into the drawer */
.cabinet {
  gap: 6px;
  align-items: start;
  padding: 18px 14px 70px;
}

.melt-lab {
  transform: translate(5px, 8px) rotate(-1.4deg);
  z-index: 2;
}

.escape-lab {
  transform: translate(-20px, 27px) rotate(2.3deg);
  z-index: 4;
}

.lever-lab {
  transform: translate(18px, -4px) rotate(-3.2deg);
  z-index: 5;
}

.gravity-lab {
  transform: translate(4px, 21px) rotate(1.2deg);
  z-index: 3;
}

.normal-lab {
  transform: translate(-14px, -9px) rotate(-1.1deg);
  z-index: 2;
}

.freezer-lab {
  transform: translate(22px, 8px) rotate(1.5deg);
  z-index: 1;
}

/* Organized state — straight, spaced and non-overlapping */
.organized .cabinet {
  gap: 16px;
  padding: 18px 14px 70px;
  align-items: stretch;
}

.organized .experiment {
  transform: translate(0, 0) rotate(0deg) !important;
  margin: 0;
  z-index: 1;
}

/* 04 — wooden box of rubber bands */
.gravity-lab {
  background:
    radial-gradient(
      ellipse at 18% 72%,
      transparent 0 7px,
      rgba(79, 43, 18, 0.38) 8px 10px,
      transparent 11px
    ),
    radial-gradient(
      ellipse at 88% 28%,
      transparent 0 5px,
      rgba(79, 43, 18, 0.28) 6px 8px,
      transparent 9px
    ),
    repeating-linear-gradient(
      3deg,
      transparent 0 17px,
      rgba(92, 49, 20, 0.14) 18px,
      transparent 20px
    ),
    linear-gradient(
      100deg,
      #a96832 0%,
      #cf9250 22%,
      #b87638 48%,
      #d69b57 72%,
      #92562b 100%
    );
  border: 11px ridge #75451f;
  box-shadow:
    inset 0 0 0 5px rgba(72, 38, 15, 0.38),
    inset 0 0 24px rgba(55, 28, 10, 0.55),
    8px 10px 0 #4e3924;
  overflow: hidden;
}

.gravity-lab::before {
  content: "NO. 64 • ASSORTED RUBBER BANDS • 1/4 LB";
  position: absolute;
  top: 12px;
  left: -18px;
  width: 112%;
  padding: 6px 20px;
  background: #eee3bc;
  border-top: 2px solid #59452e;
  border-bottom: 2px solid #59452e;
  color: #49351f;
  font: 10px monospace;
  letter-spacing: 0.08em;
  transform: rotate(-1deg);
}

.gravity-lab::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 76% 78%,
      transparent 0 29px,
      #b83828 30px 35px,
      transparent 36px
    ),
    radial-gradient(
      ellipse at 65% 69%,
      transparent 0 38px,
      #d7a51f 39px 44px,
      transparent 45px
    ),
    radial-gradient(
      ellipse at 84% 61%,
      transparent 0 25px,
      #4e7d42 26px 30px,
      transparent 31px
    );
  transform: rotate(-8deg);
}

.gravity-lab > * {
  position: relative;
  z-index: 2;
}

.gravity-lab h2 {
  margin-top: 38px;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
}

/* 05 — obvious scam disguised as ordinary business mail */
.normal-lab {
  aspect-ratio: 1.75 / 1;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-self: start;
  min-height: 0;
  padding: 45px 38px 28px;
  background:
    linear-gradient(
      32deg,
      transparent 0 48.8%,
      rgba(94, 81, 57, 0.32) 49% 49.5%,
      transparent 49.7%
    ) bottom left / 55% 47% no-repeat,
    linear-gradient(
      -32deg,
      transparent 0 48.8%,
      rgba(94, 81, 57, 0.32) 49% 49.5%,
      transparent 49.7%
    ) bottom right / 55% 47% no-repeat,
    #eee6d2;
  border: 2px solid #4f483a;
  box-shadow:
    inset 0 0 15px rgba(94, 81, 57, 0.15),
    7px 7px 0 #242018;
  overflow: hidden;
}

.normal-lab::before {
  content: "PRESORTED STANDARD\A U.S. POSTAGE PAID";
  white-space: pre;
  position: absolute;
  top: 13px;
  left: 18px;
  padding: 4px 7px;
  border: 1px solid #776f61;
  color: #514b40;
  font: 8px/1.25 monospace;
  letter-spacing: 0.08em;
  transform: rotate(-1deg);
}

.normal-lab::after {
  content: "THIS IS NOT A SOLICITATION";
  position: absolute;
  right: 18px;
  bottom: 14px;
  padding: 4px 7px;
  border: 2px solid #a43b31;
  color: #a43b31;
  font: bold 9px monospace;
  transform: rotate(-4deg);
  opacity: 0.85;
}

.normal-lab h2 {
  margin-top: 15px;
  font-family: Arial, sans-serif;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.normal-lab p {
  max-width: 30ch;
  font-size: 12px;
}

.normal-lab .normal {
  margin: 4px auto 0;
  border: 1px dashed #817968;
  border-radius: 0;
  background: #faf7ee;
  font: bold 11px monospace;
  box-shadow: 2px 2px 0 rgba(70, 60, 43, 0.25);
}

/* 06 — loose toy freeze ray */
.site .cabinet .freezer-lab {
  grid-column: span 8;
  position: relative;
  width: 610px;
  height: 300px;
  min-height: 0;
  padding: 0;
  justify-self: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none;
  box-sizing: border-box;
  top: 60px;
}

.freezer-lab .number {
  top: 5px;
  right: 80px;
}

.freezer-lab > .freeze-ray > .freeze-button {
  pointer-events: auto;
}

.freezer-lab::before,
.freezer-lab::after {
  display: none;
}

.ray-copy {
  max-width: 310px;
  position: relative;
  z-index: 5;
}

.ray-copy h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

.ray-copy p {
  font-size: 13px;
}

.freeze-ray {
  position: absolute;
  right: 5px;
  bottom: 25px;
  width: 590px;
  height: 240px;
  transform: rotate(-7deg);
  transform-origin: center;
  filter: drop-shadow(9px 12px 4px rgba(23, 21, 15, 0.35));
  transition:
    transform 0.7s ease,
    filter 0.4s ease;
}

/* Long main body */
.ray-barrel {
  position: absolute;
  left: 125px;
  top: 58px;
  width: 365px;
  height: 90px;
  z-index: 3;
  border: 5px solid #17150f;
  border-radius: 48px 25px 32px 48px;
  background:
    linear-gradient(
      180deg,
      #b869ff 0 22%,
      #7236c9 23% 68%,
      #4d208e 69% 100%
    );
  box-shadow:
    inset 0 9px 0 rgba(255, 255, 255, 0.3),
    inset 0 -8px 0 rgba(35, 7, 73, 0.35);
}

.ray-barrel::before {
  content: "ABSOLUTE ZERO 5000";
  position: absolute;
  left: 93px;
  top: 31px;
  color: #edff38;
  font: bold 16px Arial, sans-serif;
  font-style: italic;
  letter-spacing: -0.04em;
  transform: rotate(-2deg);
}

/* Orange front nozzle */
.ray-nozzle {
  position: absolute;
  left: 38px;
  top: 74px;
  width: 125px;
  height: 63px;
  z-index: 4;
  border: 5px solid #17150f;
  border-radius: 35px 35px 35px 35px;
  background: #ff692e;
  box-shadow: inset 0 8px 0 rgba(255, 255, 255, 0.28);
}

.ray-nozzle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 26px;
  height: 35px;
  border: 4px solid #17150f;
  border-radius: 50%;
  background: #29241d;
  box-shadow:
  inset 5px 2px 0 rgba(255, 255, 255, 0.18),
  inset -4px -3px 0 rgba(0, 0, 0, 0.3);
}

/* Translucent water tank */
.ray-tank {
  position: absolute;
  left: 260px;
  top: 5px;
  width: 150px;
  height: 85px;
  z-index: 2;
  border: 5px solid #17150f;
  border-radius: 48% 52% 35% 40%;
  background:
    radial-gradient(
      circle at 35% 28%,
      rgba(255, 255, 255, 0.8) 0 8%,
      transparent 9%
    ),
    rgba(55, 224, 255, 0.72);
  box-shadow: inset 0 -13px 0 rgba(11, 139, 190, 0.3);
}

/* Handle */
.ray-grip {
  position: absolute;
  left: 320px;
  top: 125px;
  width: 90px;
  height: 110px;
  z-index: 1;
  border: 5px solid #17150f;
  border-radius: 10px 14px 30px 22px;
  background: #edff38;
  transform: skewX(-10deg) rotate(-3deg);
  box-shadow: inset -12px 0 0 rgba(125, 151, 0, 0.25);
}

/* The only functional part */
.freeze-button {
  position: absolute;
  left: 282px;
  top: 139px;
  width: 48px;
  height: 51px;
  z-index: 5;
  margin: 0;
  padding: 0;
  border: 5px solid #17150f;
  border-radius: 5px 5px 22px 22px;
  background: #ff692e;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  transform: rotate(-12deg);
  transition:
    transform 0.15s ease,
    background 0.3s ease;
}

.freeze-button::after {
  content: "PULL";
  color: #17150f;
  font: bold 8px monospace;
}

.freeze-button:active {
  transform: translate(7px, 5px) rotate(-22deg);
}

.organized .freeze-ray:not(.freeze-ray-back) {
  transform: rotate(0deg);
}

.organized .freeze-ray-back {
  transform: rotate(0deg) scaleX(-1);
}

/* The toy becomes alarmingly real after activation */
.frozen .ray-barrel {
  background: linear-gradient(#eaffff, #65d9fa 55%, #287faf);
}

.frozen .ray-nozzle,
.frozen .freeze-button {
  background: #a8f5ff;
}

.frozen .ray-grip {
  background: #d9fbff;
}

.frozen .freeze-button::after {
  content: "THAW";
}

/* 07 — suspicious pocket game */
.game-lab {
  grid-column: span 5;
  position: relative;
  width: 410px;
  min-width: 0;
  height: 450px;
  min-height: 450px;
  padding: 20px;
  justify-self: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: rotate(4deg);
}

.game-device {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 320px;
  height: 410px;
  margin: 0;
  padding: 28px 25px;
  box-sizing: border-box;
  overflow: hidden;
  transform: translateX(-50%);

  background:
    linear-gradient(
      145deg,
      #ff765c 0%,
      #e94258 65%,
      #b9254d 100%
    );

  border: 5px solid #17150f;
  border-radius: 28px 28px 55px 28px;

  box-shadow:
    10px 12px 0 #17150f,
    inset 8px 8px 0 rgba(255, 255, 255, 0.2),
    inset -8px -8px 0 rgba(70, 0, 30, 0.22);
}

.game-device::after {
  content: "Anymoz";
  position: absolute;
  bottom: 16px;
  left: 28px;

  color: rgba(35, 10, 20, 0.65);
  font: 10px monospace;
  letter-spacing: 1px;
}

.game-screen {
  width: 260px;
  height: 185px;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;

  color: #19351f;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(15, 40, 20, 0.08) 0,
      rgba(15, 40, 20, 0.08) 2px,
      transparent 2px,
      transparent 5px
    ),
    #a8ca72;

  border: 8px solid #26251f;
  border-radius: 10px;

  box-shadow:
    inset 5px 5px 0 rgba(30, 50, 25, 0.25),
    0 4px 0 rgba(255, 255, 255, 0.18);
}

.game-screen h2 {
  margin: 0 0 18px;
  font: bold 21px monospace;
  line-height: 1.05;
  text-transform: uppercase;
}

.game-screen p {
  margin: 0;
  font: bold 16px monospace;
  line-height: 1.25;
  text-transform: uppercase;
}

.game-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 42px;
  padding: 0 18px;
}

.game-controls button {
  width: 82px;
  height: 58px;
  padding: 4px;

  color: #fff7dd;
  background: #342540;

  border: 4px solid #17150f;
  border-radius: 50%;

  box-shadow:
    4px 5px 0 #17150f,
    inset 3px 3px 0 rgba(255, 255, 255, 0.18);

  font: bold 13px monospace;
  cursor: pointer;
}

.game-controls button:active {
  transform: translate(4px, 5px);
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.game-back {
  transform: rotate(-8deg);
}

.game-forward {
  transform: rotate(7deg);
}

.game-lab .number {
  top: auto;
  right: auto;
  bottom: 78px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
}

/* 08 — collected junk space */
.site .inventory-lab {
  grid-column: span 4;
  width: 420px;
  min-width: 0;
  min-height: 310px;
  padding: 20px;
  box-sizing: border-box;
  justify-self: center;
  transform: translate(-8px, 25px) rotate(-3deg);

  background: transparent;
  border: 0;
  box-shadow: none;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  height: 100%;
  min-height: 270px;
}

.inventory-slot {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: transparent;
}

.inventory-lab .number {
  top: 5px;
  right: 5px;
}
/* Collectible paperclip */
.collectible-paperclip {
  appearance: none;
  position: absolute;
  left: 52px;
  bottom: -45px;
  z-index: -1;

  width: 42px;
  height: 100px;
  padding: 0;

  border: 0;
  background: transparent;

  filter:
    drop-shadow(2px 3px 1px rgba(23, 21, 15, 0.3));

  transform: rotate(13deg);
  cursor: pointer;
}

.inventory-slot .collectible-paperclip {
  left: 50%;
  top: 50%;
  bottom: auto;
  z-index: 5;

  transform:
    translate(-50%, -50%)
    rotate(-17deg)
    scale(1.22);

  cursor: default;
}
/* Shared flip system */
.item-back {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 15;
  box-sizing: border-box;
  padding: 55px 35px 35px;
  overflow: hidden;

  background: inherit;
  border-radius: inherit;
}

.experiment.flipped
  > :not(.item-back):not(.flip-button):not(.number):not(.collectible-paperclip) {
  visibility: hidden !important;
  pointer-events: none !important;
}

.experiment.flipped::before,
.experiment.flipped::after {
  visibility: hidden;
}

.experiment.flipped > .item-back {
  display: block;
  visibility: visible;
  pointer-events: auto;
}

.flip-button {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 30;

  width: 35px;
  height: 35px;
  padding: 0;

  color: #17150f;
  background: #f4ecd2;

  border: 2px solid #17150f;
  border-radius: 50%;

  box-shadow: 3px 3px 0 #17150f;

  font: bold 21px/30px monospace;
  cursor: pointer;
}

.flip-button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.freezer-lab .flip-button {
  right: 120px;
  bottom: 20px;
  pointer-events: auto;
}

.sticky-back-note {
  margin: 70px 25px 0;
  color: #292315;
  font: 25px/1.35 "Comic Sans MS", cursive;
  text-align: center;
  transform: rotate(-4deg);
}

.sticky-back-note a {
  display: block;
  margin-top: 12px;
  color: #292315;
  text-decoration-thickness: 2px;
}

.lever-package-back {
  height: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  text-align: center;
  border: 2px dashed #88918c;
  background: rgba(246, 248, 239, 0.62);
}

.lever-package-back p {
  max-width: 330px;
  margin: 12px auto;
  font: 15px/1.45 monospace;
}

.lever-package-back .package-warning {
  font-size: 21px;
  font-weight: bold;
}

.collect-lever {
  margin: 12px auto 8px;
  padding: 12px 22px;
  background: #eee5bd;
  border: 2px solid #292720;
  box-shadow: 4px 4px 0 #292720;
  font: bold 15px monospace;
  cursor: pointer;
}

.lever-package-back small {
  display: block;
  font: 10px monospace;
  letter-spacing: 1px;
}

.lever-lab .item-back {
  padding: 35px 30px 45px;
}

/* Back of pocket game */
.game-lab .item-back {
  inset: 10px auto auto 50%;
  width: 320px;
  height: 410px;
  padding: 0;
  transform: translateX(-50%);

  background:
    linear-gradient(
      145deg,
      #ff765c,
      #e94258 65%,
      #b9254d
    );

  border: 5px solid #17150f;
  border-radius: 28px 28px 55px 28px;

  box-shadow:
    10px 12px 0 #17150f,
    inset 8px 8px 0 rgba(255, 255, 255, 0.2),
    inset -8px -8px 0 rgba(70, 0, 30, 0.22);
}

.game-back-shell {
  position: relative;
  width: 100%;
  height: 100%;
}

.game-back-brand {
  position: absolute;
  top: 38px;
  left: 0;
  width: 100%;
  text-align: center;
  font: bold 13px monospace;
  color: rgba(45, 15, 25, 0.7);
}

.speaker-grille {
  position: absolute;
  top: 85px;
  right: 45px;
  width: 85px;
  height: 65px;

  background:
    radial-gradient(
      circle,
      #291d25 0 3px,
      transparent 4px
    );

  background-size: 16px 16px;
}

.battery-door {
  position: absolute;
  left: 55px;
  bottom: 75px;
  width: 200px;
  height: 145px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;

  border: 4px solid #542034;
  border-radius: 12px;
  box-shadow: inset 3px 3px 0 rgba(80, 10, 35, 0.22);
}

.battery-door span {
  display: block;
  margin-bottom: 30px;
  font: bold 12px monospace;
}

.collect-battery {
  padding: 10px;
  background: #342540;
  color: #fff7dd;
  border: 3px solid #17150f;
  box-shadow: 3px 4px 0 #17150f;
  font: bold 12px monospace;
  cursor: pointer;
}

.case-screw {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #342c30;
  border-radius: 50%;
  box-shadow: inset 2px 0 rgba(255,255,255,0.2);
}

.screw-one { top: 20px; left: 20px; }
.screw-two { top: 20px; right: 20px; }
.screw-three { bottom: 25px; left: 25px; }
.screw-four { bottom: 25px; right: 25px; }

/* Keep 07's flip control physically on the game */
.game-lab .flip-button {
  top: 375px;
  right: 55px;
  bottom: auto;
}
.collectible-paperclip {
  appearance: none;
  position: absolute;
  left: 52px;
  bottom: -45px;
  z-index: -1;

  width: 48px;
  height: 100px;
  padding: 0;

  border: 0;
  background: transparent;

  filter:
    drop-shadow(2px 3px 1px rgba(23, 21, 15, 0.3));

  transform: rotate(13deg);
  cursor: pointer;
}

.collectible-paperclip svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #777b7d;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Canon-style 4LR44 battery */
/* Upright 4LR44 camera battery */
.inventory-battery {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 56px;
  height: 88px;

  border: 4px solid #24231f;
  border-radius: 9px 9px 15px 15px;

  background:
    linear-gradient(
      180deg,
      #ffc928 0 18%,
      #bd282c 19% 23%,
      transparent 24%
    ),
    linear-gradient(
      90deg,
      #171717,
      #4b4b48 45%,
      #191919 88%,
      #e7a421 89% 100%
    );

  box-shadow:
    inset 7px 0 7px rgba(255, 255, 255, 0.12),
    inset -6px 0 5px rgba(0, 0, 0, 0.35),
    4px 5px 0 rgba(23, 21, 15, 0.28);

  transform:
    translate(-50%, -50%)
    rotate(8deg);

  color: white;
  font-family: Arial, sans-serif;
}

/* Raised positive terminal */
.inventory-battery::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -12px;
  left: 8px;
  width: 30px;
  height: 10px;
  border: 3px solid #24231f;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #bdbdb7;
  box-sizing: border-box;
}

.inventory-battery b {
  position: absolute;
  left: 7px;
  top: 27px;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.battery-plus,
.battery-minus {
  position: absolute;
  right: 7px;

  width: 18px;
  height: 18px;

  border: 2px solid white;
  border-radius: 50%;

  text-align: center;
  font: bold 16px/15px Arial, sans-serif;
}

.battery-plus {
  top: 29px;
}

.battery-minus {
  bottom: 7px;
}
.game-lab.battery-removed .game-screen {
  background: #65705d;
  box-shadow:
    inset 0 0 0 7px #24231f,
    inset 0 0 20px rgba(0, 0, 0, 0.45);
}

.game-lab.battery-removed .game-screen > * {
  visibility: hidden;
}
.collect-rubber-band {
  appearance: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115px;
  height: 68px;
  padding: 0;
  border: 10px solid #b83c2d;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.3),
    2px 3px 2px rgba(67, 39, 17, 0.25);
  transform: translate(-50%, -50%) rotate(-16deg);
  cursor: pointer;
}
.inventory-slot .lever {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%) scale(0.65);
  transform-origin: center;
  cursor: default;
}
.freeze-ray-back {
  transform: rotate(-7deg) scaleX(-1);
}

.freeze-ray-back .ray-barrel::before,
.freeze-ray-back .ray-trigger-back::after {
  content: "";
}

.ray-trigger-back {
  pointer-events: none;
}
.inventory-slot .inventory-battery.installable {
  cursor: pointer;
}

.freeze-ray-back > .inventory-battery {
  left: 245px;
  top: 103px;
  z-index: 6;
  transform:
  translate(-50%, -50%)
  scaleX(-1)
  rotate(90deg);
  cursor: default;
  pointer-events: none;
}
.freeze-ray-back > .collectible-paperclip {
  left: 285px;
  top: 103px;
  bottom: auto;
  z-index: 5;
 transform:
  translate(-50%, -50%)
  scaleX(-1)
  rotate(90deg)
  scale(1.15);
  pointer-events: none;
}
.freeze-ray-back > .collect-rubber-band {
  left: 245px;
  top: 103px;
  z-index: 7;

  width: 11px;
  height: 72px;

  border: 0;
  border-radius: 6px;
  background: #b83c2d;

  box-shadow:
    inset 2px 0 rgba(255, 255, 255, 0.25),
    2px 2px 2px rgba(23, 21, 15, 0.3);

  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 1;
}
.freeze-ray-back > .lever {
  position: absolute;
  left: 245px;
  top: 103px;
  z-index: 6;

  margin: 0;

  transform:
    translate(-50%, -50%)
    scaleX(-1)
    rotate(90deg)
    scale(0.42);

  transform-origin: center;
  pointer-events: auto;
}
.site.phasing-out {
  pointer-events: none;
  animation: phase-out 1.8s steps(9, end) forwards;
}

@keyframes phase-out {
  0% {
    opacity: 1;
    filter: none;
    transform: scale(1);
  }

  35% {
    opacity: 0.8;
    filter: blur(1px) hue-rotate(40deg);
    transform: scale(1.01) skewX(-1deg);
  }

  70% {
    opacity: 0.35;
    filter: blur(6px) hue-rotate(170deg);
    transform: scale(0.96) skewX(4deg);
  }

  100% {
    opacity: 0;
    filter: blur(16px) hue-rotate(300deg);
    transform: scale(0.88) skewX(-8deg);
  }
}

.site.game-takeover .masthead,
.site.game-takeover .warning,
.site.game-takeover footer,
.site.game-takeover .noise {
  display: none;
}

.site.game-takeover .cabinet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: auto;

  background:
    radial-gradient(circle, #243421, #0b100a 70%);
}

.site.game-takeover .experiment:not(.game-lab) {
  display: none;
}

.site.game-takeover .game-lab {
  position: relative;
  display: block;
  grid-column: auto;
  top: auto;
  width: 410px;
  height: 450px;
  margin: 0;
  transform: none;
}
.reality-game-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(35px, 9vw, 140px);

  color: #18351d;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(24, 53, 29, 0.09) 0 2px,
      transparent 2px 6px
    ),
    #a9ca72;

  font-family: monospace;
  text-transform: uppercase;
}

.reality-game-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 80px rgba(24, 53, 29, 0.45);
}

.reality-game-screen h1 {
  max-width: 1000px;
  margin: 0 0 45px;
  font-size: clamp(38px, 8vw, 100px);
  line-height: 1;
}

.reality-game-screen p {
  margin: 0;
  font-size: clamp(20px, 3vw, 40px);
  animation: lcd-blink 1.1s steps(1) infinite;
}

@keyframes lcd-blink {
  50% {
    opacity: 0.35;
  }
}
/* 09 — jar of assorted clothing buttons */
.site .cabinet .button-jar-lab {
  grid-column: span 3;
  position: relative;
  width: 280px;
  height: 350px;
  min-height: 0;
  padding: 0;
  justify-self: center;
  overflow: visible;

  background: transparent;
  border: 0;
  box-shadow: none;

  transform: translate(-10px, 15px) rotate(5deg);
}

.button-jar-lab .number {
  top: 15px;
  right: 5px;
}

.button-jar {
  appearance: none;
  position: absolute;
  left: 50%;
  top: 35px;
  width: 190px;
  height: 285px;
  padding: 0;

  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  cursor: pointer;
}

.jar-lid {
  position: absolute;
  left: 14px;
  top: 0;
  z-index: 5;
  width: 162px;
  height: 43px;

  border: 5px solid #17150f;
  border-radius: 14px 14px 7px 7px;

  background:
    repeating-linear-gradient(
      90deg,
      #777 0 5px,
      #aaa 5px 9px
    );

  box-shadow:
    inset 0 7px rgba(255, 255, 255, 0.25),
    5px 6px 0 rgba(23, 21, 15, 0.25);
}

.jar-glass {
  position: absolute;
  left: 20px;
  top: 35px;
  width: 150px;
  height: 225px;
  overflow: hidden;

  border: 5px solid #17150f;
  border-radius: 12px 12px 45px 45px;

  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.55) 0 12%,
      rgba(184, 238, 245, 0.18) 13% 75%,
      rgba(89, 173, 188, 0.25) 76% 100%
    );

  box-shadow:
    inset 10px 0 rgba(255, 255, 255, 0.25),
    inset -9px 0 rgba(45, 105, 118, 0.2),
    7px 9px 0 rgba(23, 21, 15, 0.25);
}

.jar-glass::after {
  content: "";
  position: absolute;
  inset: 8px auto 18px 15px;
  z-index: 10;
  width: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.jar-buttons-image {
  position: absolute;
  left: 5px;
  bottom: -2px;
  width: 140px;
  height: 205px;
  object-fit: cover;
  object-position: center bottom;
}

.jar-label {
  position: absolute;
  left: 25px;
  top: 70px;
  z-index: 12;
  width: 140px;
  padding: 8px 5px;
  box-sizing: border-box;

  color: #352814;
  background: linear-gradient(
    135deg,
    #f4e7b7,
    #d9bd79
  );

  border: 3px double #5b3f1d;
  border-radius: 45% 45% 12px 12px;

  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.35),
    2px 3px 0 rgba(23, 21, 15, 0.22);

  text-align: center;
  transform: rotate(-1deg);
}

.jar-label b,
.jar-label small {
  display: block;
}

.jar-label b {
  font: bold 11px/1.1 Georgia, serif;
  letter-spacing: 0.5px;
}

.jar-label small {
  margin-top: 4px;
  font: bold 7px/1.2 monospace;
}

.button-jar:hover {
  transform: translateX(-50%) rotate(-2deg);
}
.organized .freezer-lab {
  margin-bottom: 120px;
}
/* Reusable retro error box */
.junk-error {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10000;
  width: min(390px, calc(100vw - 30px));

  color: #000;
  background: #c0c0c0;
  border: 3px outset #fff;

  box-shadow:
    8px 10px 0 rgba(0, 0, 0, 0.35);

  font: 16px/1.35 Arial, sans-serif;
  transform: translate(-50%, -50%);
}

.junk-error-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 5px 4px 8px;

  color: #fff;
  background: #000080;
  font-weight: bold;
}

.junk-error-x {
  width: 25px;
  height: 23px;
  padding: 0;

  color: #000;
  background: #c0c0c0;
  border: 2px outset #fff;

  font: bold 17px/1 Arial, sans-serif;
  cursor: pointer;
}

.junk-error-body {
  padding: 25px 22px 18px;
  text-align: center;
}

.junk-error-body p {
  margin: 0 0 25px;
}

.junk-error-ok {
  min-width: 85px;
  padding: 5px 16px;

  color: #000;
  background: #c0c0c0;
  border: 3px outset #fff;

  font: bold 15px Arial, sans-serif;
  cursor: pointer;
}

.junk-error-ok:active,
.junk-error-x:active {
  border-style: inset;
}

.junk-error.escaping {
  pointer-events: none;
}

.junk-error-trail {
  pointer-events: none;
}

.junk-error.vanishing,
.junk-error-trail.vanishing {
  opacity: 0;
  transition: opacity 0.4s linear;
}
.junk-error-trail {
  pointer-events: none;
}

.junk-error.vanishing,
.junk-error-trail.vanishing {
  opacity: 0;
  transition: opacity 0.4s linear;
}
.manual-back-hint {
  height: 100%;
  box-sizing: border-box;
  padding: 24px 28px;

  color: #373329;
  border: 1px dashed #77705f;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 27px,
      rgba(79, 110, 143, 0.18) 28px
    );

  font: 14px/1.45 monospace;
  transform: rotate(180deg);
}

.manual-back-hint strong {
  display: block;
  padding-bottom: 8px;
  border-bottom: 2px solid #373329;
  letter-spacing: 0.15em;
}

.manual-back-hint p {
  margin: 18px 0;
}

.manual-back-hint small {
  display: block;
  margin-top: 22px;
  font: 9px monospace;
  letter-spacing: 0.1em;
  opacity: 0.65;
}
.lever-lab .flip-button {
  right: auto;
  left: 14px;
}
/* Minecraft-style lever error */
/* Minecraft-style lever error */
.minecraft-error {
  overflow: hidden;
}

.minecraft-cracks {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.crack-stage {
  fill: none;
  stroke: #191919;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

.minecraft-error.crack-1 .crack-stage-1,
.minecraft-error.crack-2 .crack-stage-1,
.minecraft-error.crack-2 .crack-stage-2,
.minecraft-error.crack-3 .crack-stage-1,
.minecraft-error.crack-3 .crack-stage-2,
.minecraft-error.crack-3 .crack-stage-3,
.minecraft-error.crack-4 .crack-stage-1,
.minecraft-error.crack-4 .crack-stage-2,
.minecraft-error.crack-4 .crack-stage-3,
.minecraft-error.crack-4 .crack-stage-4,
.minecraft-error.crack-5 .crack-stage {
  opacity: 1;
}

.minecraft-error.breaking {
  animation: minecraft-damage 0.21s steps(2) infinite;
}

.minecraft-error.crack-3 {
  filter: brightness(0.9);
}

.minecraft-error.crack-4 {
  filter: brightness(0.75);
}

.minecraft-error.crack-5 {
  filter: brightness(0.55);
}

.minecraft-ok:disabled {
  color: #333;
  cursor: default;
}

.minecraft-shard {
  overflow: hidden;
  z-index: 10001;
}

.minecraft-shard .minecraft-cracks {
  opacity: 1;
}

.close-denied {
  animation: minecraft-denied 0.25s steps(2);
}

@keyframes minecraft-damage {
  50% {
    margin-left: 2px;
    margin-top: -1px;
  }
}

@keyframes minecraft-denied {
  25% {
    transform: translate(calc(-50% - 7px), -50%);
  }

  75% {
    transform: translate(calc(-50% + 7px), -50%);
  }
}
/* 05 — clean front; taped-shut back */
.normal-lab {
  background: #eee6d2;
}

.normal-lab > .item-back {
  padding: 0;
  background: #eee6d2;
}

.envelope-back {
  position: absolute;
  inset: 0;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      transparent 0 49.5%,
      rgba(94, 81, 57, 0.13) 50%,
      transparent 50.5%
    ),
    #eee6d2;
}

/* The actual envelope flap */
.envelope-flap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 68%;

  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.24),
      transparent 45%
    ),
    #e4dac1;

  clip-path: polygon(
    0 0,
    100% 0,
    50% 100%
  );

  filter:
    drop-shadow(0 3px 1px rgba(79, 72, 58, 0.65));
}

/* Badly applied masking tape */
.envelope-tape {
  position: absolute;
  z-index: 4;
  height: 34px;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.3),
      rgba(196, 167, 103, 0.72),
      rgba(255, 255, 255, 0.18)
    );

  border-left: 2px dashed rgba(96, 76, 38, 0.45);
  border-right: 2px dashed rgba(96, 76, 38, 0.45);

  box-shadow:
    1px 2px 2px rgba(55, 45, 25, 0.25);

  opacity: 0.82;
}

.tape-left {
  left: 4%;
  top: 45%;
  width: 40%;
  transform: rotate(7deg);
}

.tape-middle {
  left: 31%;
  top: 48%;
  width: 42%;
  transform: rotate(-4deg);
}

.tape-right {
  right: 3%;
  top: 43%;
  width: 35%;
  transform: rotate(9deg);
}

/* Handwritten across the taped closure */
.envelope-sorry {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 6;

  color: #24211d;
  font: bold 47px/1
    "Comic Sans MS",
    "Segoe Print",
    cursive;

  letter-spacing: 5px;
  transform:
    translate(-50%, -50%)
    rotate(-7deg);

  text-shadow:
    1px 0 #24211d,
    -1px 1px #24211d;
}
.minecraft-error,
.minecraft-error * {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M3 7 Q15 0 29 9 L25 14 Q16 7 8 11 Z' fill='%23b8bec2' stroke='%23171717' stroke-width='2'/%3E%3Cpath d='M13 9 L18 12 L8 31 L3 28 Z' fill='%23845b35' stroke='%23171717' stroke-width='2'/%3E%3C/svg%3E")
    8 8,
    crosshair !important;

  user-select: none;
}

.minecraft-error {
  touch-action: none;
}
.junk-sound-toggle {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 8500;

  padding: 8px 10px;

  color: #17150f;
  background: #f4ecd2;
  border: 2px solid #17150f;
  box-shadow: 3px 3px 0 #17150f;

  font: bold 10px monospace;
  cursor: pointer;
}

.junk-sound-toggle:active {
  translate: 3px 3px;
  box-shadow: none;
}
/* 10 — stack of Polaroids */
.site .cabinet .polaroid-lab {
  grid-column: span 4;
  position: relative;
  width: 100%;
  height: 350px;
  min-height: 0;
  padding: 0;
  justify-self: center;
  overflow: visible;

  background: transparent;
  border: 0;
  box-shadow: none;

  transform:
    translate(-8px, 20px)
    rotate(2deg);
}

.polaroid-lab .number {
  top: 18px;
  right: 8px;
}

.polaroid-stack {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 260px;
  height: 320px;

  transform:
    translateX(-50%)
    scale(1.25);

  transform-origin: right bottom;
}

.polaroid-sheet,
.polaroid-card {
  position: absolute;
  left: 20px;
  top: 25px;
  width: 220px;
  height: 270px;
  box-sizing: border-box;

  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.65),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #f5f1e7,
      #e4ddcf
    );

  border: 1px solid rgba(76, 70, 58, 0.28);
}

.polaroid-sheet-3 {
  transform:
    translate(-10px, 8px)
    rotate(-5deg);

  box-shadow:
    2px 3px 2px rgba(23, 21, 15, 0.10),
    8px 12px 18px rgba(23, 21, 15, 0.18);
}

.polaroid-sheet-2 {
  transform:
    translate(10px, 7px)
    rotate(4deg);

  box-shadow:
    3px 4px 3px rgba(23, 21, 15, 0.12),
    9px 13px 17px rgba(23, 21, 15, 0.15);
}

.polaroid-sheet-1 {
  transform:
    translate(-3px, 4px)
    rotate(-1.5deg);

  box-shadow:
    2px 3px 3px rgba(23, 21, 15, 0.13),
    7px 10px 14px rgba(23, 21, 15, 0.16);
}

.polaroid-card {
  z-index: 5;
  padding: 14px 14px 52px;

  transform: rotate(-2deg);

  box-shadow:
    1px 2px 2px rgba(23, 21, 15, 0.18),
    7px 11px 16px rgba(23, 21, 15, 0.24);
}

.polaroid-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.16),
      transparent 32%
    );

  mix-blend-mode: screen;
}

.polaroid-photo {
  position: relative;
  display: block;
  width: 190px;
  height: 190px;
  overflow: hidden;

  background: #252724;
  box-shadow:
    inset 0 0 0 1px rgba(25, 24, 20, 0.45),
    0 1px 2px rgba(23, 21, 15, 0.22);
}

.polaroid-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-normal {
  display: block;
}

.polaroid-frozen {
  display: none;
}

.site.frozen .polaroid-normal {
  display: none;
}

.site.frozen .polaroid-frozen {
  display: block;
}

@media (max-width: 760px) {
  .site .cabinet .polaroid-lab {
    width: 100%;
    height: 360px;
    margin-bottom: 18px;
    transform: rotate(1deg);
  }

  .polaroid-stack {
    left: 50%;
    top: 12px;

    transform:
      translateX(-50%)
      scale(1.08);

    transform-origin: center bottom;
  }
}
/* Tablet — preserve desktop drawer and allow touch panning */
@media (min-width: 761px) and (max-width: 1180px) {
  html {
    overflow-x: auto;
    overscroll-behavior-x: none;
  }

  body {
    min-width: 1378px;
  }

  .site {
    width: 1378px;
    min-width: 1378px;
    overflow: visible;
  }

  .masthead,
  .warning,
  .cabinet,
  footer {
    width: 1250px;
    max-width: none;
  }
}
/* Objects are no longer catalogued */
.number {
  display: none !important;
}
/* Cadaver anatomy keychain */
.site .cabinet .anatomy-keychain-lab {
  grid-column: span 3;
  position: relative;
  width: 360px;
  height: 520px;
  min-height: 0;
  padding: 0;
  justify-self: center;
  overflow: visible;

  background: transparent;
  border: 0;
  box-shadow: none;
}

.cadaver-keychain-toy {
  position: absolute;
  left: 55%;
  bottom: 10px;
  width: 310px;
  height: auto;

  transform: translateX(-50%) rotate(3deg);
  transform-origin: center top;
  cursor: pointer;
  touch-action: none;
}

.cadaver-keychain-toy.locked {
  cursor: default;
}

.cadaver-keychain-body {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(8px 10px 5px rgba(23, 21, 15, 0.28));
  pointer-events: none;
  user-select: none;
}

.cadaver-keychain-installed-lungs {
  position: absolute;
  left: 51%;
  top: 55%;
  z-index: 3;
  width: 20%;
  height: auto;

  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.cadaver-keychain-installed-lungs[hidden] {
  display: none;
}

.loose-keychain-lungs {
  appearance: none;
  position: absolute;
  left: 5px;
  bottom: 45px;
  z-index: 10;
  width: 105px;
  padding: 0;

  background: transparent;
  border: 0;
  cursor: grab;
  touch-action: none;
}

.loose-keychain-lungs:active {
  cursor: grabbing;
}

.loose-keychain-lungs img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(5px 7px 3px rgba(23, 21, 15, 0.3));
  pointer-events: none;
  user-select: none;
}

.loose-keychain-lungs.dragging {
  position: fixed;
  z-index: 10000;
  margin: 0;
  transform: translate(-50%, -50%) scale(1.08);
  pointer-events: none;
}

.anatomy-keychain-lab.lungs-installed
  .cadaver-keychain-toy {
  animation: anatomy-unlock 500ms ease;
}

@keyframes anatomy-unlock {
  40% {
    transform: translateX(-50%) rotate(-4deg) scale(1.04);
  }
}

@media (max-width: 700px) {
  .site .cabinet .anatomy-keychain-lab {
    grid-column: 1 / -1;
    width: min(340px, 100%);
    height: 470px;
  }

  .cadaver-keychain-toy {
    width: 275px;
  }

  .loose-keychain-lungs {
    left: 8px;
    bottom: 40px;
    width: 90px;
  }
}
.sketchbook-item {
  position: relative;
  width: 145px;
  height: 155px;
}

.sketchbook-link {
  position: absolute;
  inset: 0;
  display: block;
}

.sketchbook-cover {
  position: absolute;
  width: 400px;
  max-width: none;
  height: auto;
  left: 0;
  top: 0;
  transform: rotate(-4deg);
  transform-origin: top left;
  filter: drop-shadow(7px 10px 6px rgba(0, 0, 0, 0.55));
}