:root {
  --ink: #14213d;
  --paper: #fffaf0;
  --panel: #ffffff;
  --primary: #ff4f71;
  --primary-dark: #b9234b;
  --secondary: #148ba5;
  --accent: #ffd34e;
  --soft: #dff5f4;
  --line: #14213d;
  --shadow: 7px 7px 0 #14213d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background-color: var(--paper); background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(66,150,180,.09) 32px); font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif; line-height: 1.5; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: .8rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

.hero { min-height: 500px; padding: 3.2rem max(6vw, 1.25rem) 7rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr); gap: 2rem; align-items: center; color: #fff; background-color: var(--ink); background-image: radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--secondary), transparent 35%) 0 7%, transparent 7.5%), radial-gradient(circle at 89% 24%, color-mix(in srgb, var(--primary), transparent 32%) 0 10%, transparent 10.5%), linear-gradient(135deg, #14213d 0%, #203d68 100%); overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 420px; height: 130px; border: 12px solid var(--accent); border-color: var(--accent) transparent transparent; border-radius: 50%; right: -70px; bottom: -50px; transform: rotate(-9deg); }
.hero-copy, .mascot-wrap { position: relative; z-index: 1; }
.eyebrow, .step, .info-kicker, .question-number { text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: .78rem; }
.eyebrow { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 790px; margin-bottom: 1rem; font-size: clamp(3rem, 7vw, 6rem); line-height: .92; letter-spacing: -.055em; transform: rotate(-1deg); }
h1 span { color: var(--accent); text-decoration: underline wavy var(--primary) 5px; text-underline-offset: 10px; }
.hero-text { max-width: 670px; font-size: clamp(1.05rem, 2vw, 1.35rem); color: #d8e8ff; }
.hero-actions, .copy-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.mega-button { font-size: 1.2rem; padding: 1rem 1.6rem; animation: buttonPulse 1.8s infinite; }
.tiny-note { margin: .8rem 0 0; font-size: .82rem; color: #bcd4ef; }
.button { border: 3px solid var(--line); border-radius: 14px; padding: .82rem 1.15rem; font-weight: 900; cursor: pointer; transition: transform .16s, box-shadow .16s; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--line); }
.button:focus-visible, .organelle:focus-visible, .mode-button:focus-visible, .theme-chip:focus-visible { outline: 4px solid var(--accent); outline-offset: 4px; }
.button-primary { background: var(--accent); }
.button-secondary { background: #fff; color: var(--ink); }
.mascot-wrap { min-height: 390px; display: grid; place-items: center; }
.mascot { width: min(390px, 95%); max-height: 405px; object-fit: contain; filter: drop-shadow(10px 12px 0 rgba(5,13,31,.35)); transform: rotate(1.5deg); }
.speech-bubble { position: absolute; right: 0; top: 3%; background: #fff; color: var(--ink); border: 4px solid var(--line); border-radius: 22px 22px 22px 4px; padding: .75rem 1rem; font-size: .9rem; transform: rotate(3deg); box-shadow: 5px 5px 0 var(--primary); }
.doodle { position: absolute; font-weight: 950; color: var(--accent); border: 3px solid var(--accent); border-radius: 50%; padding: .45rem; transform: rotate(-12deg); }
.doodle-one { left: 3%; top: 18%; }

main { width: min(1180px, calc(100% - 2rem)); margin: -3.2rem auto 0; position: relative; z-index: 2; }
.game-hud { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; width: min(520px, calc(100% - 1rem)); margin: 0 auto .75rem; }
.hud-item { background: #fff; border: 3px solid var(--line); border-radius: 16px 9px 15px 10px; padding: .45rem .7rem; display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: .4rem; align-items: center; box-shadow: 3px 3px 0 var(--line); transform: rotate(-.5deg); }
.hud-item:nth-child(2) { transform: rotate(1deg); }
.hud-item strong { font-size: 1.25rem; }
.hud-item small { grid-column: 1 / -1; font-weight: 900; font-size: .6rem; letter-spacing: .1em; text-align: center; }
.mode-switcher { background: #fff; border: 4px solid var(--line); border-radius: 18px; padding: .45rem; display: flex; gap: .35rem; box-shadow: var(--shadow); }
.mode-button { flex: 1; border: 0; border-radius: 11px; background: transparent; padding: 1rem; font-weight: 900; cursor: pointer; }
.mode-button.active { background: var(--accent); }
.mission-strip { margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.mission { background: #fff; border: 3px dashed #91a4bd; border-radius: 15px; padding: .75rem; display: flex; align-items: center; gap: .65rem; opacity: .65; }
.mission span { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #dce7f3; font-weight: 950; }
.mission p, .mission small { margin: 0; display: block; }
.mission small { font-size: .72rem; }
.mission.active { opacity: 1; border-style: solid; border-color: var(--primary); transform: rotate(-.5deg); }
.mission.done { opacity: 1; border-style: solid; border-color: #1f9c66; background: #dff7e9; }
.mission.done span { background: #55d48b; }
.mode-panel { padding: 4.2rem 0 2rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.section-heading h2, .personalize h2 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 0; }
.section-heading > p { background: var(--soft); border: 3px solid var(--line); border-radius: 999px; padding: .6rem .9rem; font-weight: 900; margin-bottom: 0; white-space: nowrap; }
.step { color: var(--primary-dark); margin-bottom: .45rem; }
.explorer-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .65fr); gap: 1.25rem; align-items: stretch; }
.cell-stage, .info-card, .quiz-card, .results-card, .share-card, .personalize { background: var(--panel); border: 4px solid var(--line); border-radius: 25px 14px 30px 18px; box-shadow: var(--shadow); }
.cell-stage { transform: rotate(-.2deg); }
.info-card { transform: rotate(.5deg); }
.cell-stage { padding: 1.2rem; min-width: 0; background-image: linear-gradient(#fff 0 0), repeating-linear-gradient(0deg, transparent 0 29px, #d8ebef 30px); }
.cell { display: block; width: 100%; height: auto; max-height: 580px; }
.cell .organelle { filter: url(#hand-drawn); }
.organelle { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: filter .16s, transform .16s, opacity .16s; }
.organelle:hover, .organelle:focus { filter: saturate(1.3) brightness(1.05); transform: scale(1.035); }
.organelle.selected { filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 8px var(--primary)); animation: organellePop .36s ease-out; }
.tap-hint { text-align: center; margin: .2rem 0 0; font-size: .9rem; font-weight: 800; }
.info-card { padding: 2rem; display: flex; flex-direction: column; justify-content: center; background: var(--soft); }
.info-icon { font-size: 3.4rem; }
.info-kicker { color: var(--secondary); margin: 1rem 0 .3rem; }
.info-card h3 { font-size: 2rem; line-height: 1; margin-bottom: .8rem; }
.memory-hook { margin-top: 1rem; background: #fff; border-left: 7px solid var(--primary); padding: .9rem; font-weight: 800; }
.organelle-list { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: .65rem; }
.organelle-button { min-height: 70px; border: 3px solid var(--line); border-radius: 14px; padding: .6rem; background: #fff; font-weight: 900; cursor: pointer; box-shadow: 3px 3px 0 var(--line); }
.organelle-button.visited { background: var(--accent); transform: rotate(-1deg); }

.score-pill { padding: .75rem 1rem; border: 3px solid var(--line); background: var(--accent); border-radius: 999px; font-size: 1.1rem; white-space: nowrap; }
.quiz-card, .results-card { padding: clamp(1.5rem, 5vw, 3.4rem); max-width: 820px; margin: 0 auto; }
.quiz-progress { height: 15px; border: 3px solid var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 1.6rem; }
.quiz-progress span { display: block; height: 100%; width: 10%; background: var(--primary); transition: width .25s; }
.quiz-card h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); line-height: 1.15; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.answer { text-align: left; min-height: 64px; border: 3px solid var(--line); background: #fff; border-radius: 14px; padding: .85rem 1rem; font-weight: 900; cursor: pointer; box-shadow: 3px 3px 0 var(--line); }
.answer:hover:not(:disabled) { background: var(--soft); }
.answer.correct { background: #9be6bd; }
.answer.wrong { background: #ffabb8; }
.answer:disabled { color: var(--ink); cursor: default; }
.feedback { min-height: 2.4rem; padding: 1rem 0 .3rem; font-weight: 900; }
.feedback.combo { color: #b9234b; font-size: 1.15rem; animation: feedbackPop .25s ease-out; }
.next-button { display: block; margin-left: auto; }
.results-card { text-align: center; }
.result-burst { font-size: 5rem; }
.results-card h3 { font-size: 2.6rem; }

.share-card { padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.share-lead { font-size: 1.25rem; font-weight: 900; }
.copy-row input { flex: 1; min-width: 200px; border: 3px solid var(--line); border-radius: 12px; padding: .8rem; background: #fff; }
.copy-status { min-height: 1.5rem; color: var(--secondary); font-weight: 900; }
.privacy-note { border-left: 6px solid var(--secondary); padding-left: .8rem; font-size: .9rem; }
.qr-wrap { text-align: center; transform: rotate(1deg); }
.qr-wrap img { display: block; width: 210px; height: 210px; border: 8px solid #fff; outline: 4px solid var(--line); margin-bottom: .8rem; background: #fff; }
.personalize { margin: 3rem 0 5rem; padding: 2rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: #ffe9bd; }
.personalize p:last-child { margin-bottom: 0; }
.theme-picker { display: flex; flex-wrap: wrap; gap: .6rem; }
.theme-chip { background: #fff; border: 3px solid var(--line); padding: .6rem .8rem; border-radius: 12px; font-weight: 900; cursor: pointer; }
.theme-chip.active { box-shadow: 4px 4px 0 var(--line); transform: translate(-2px, -2px); }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -2px; margin-right: .35rem; }
.swatch.electric { background: #ff4f71; }.swatch.firecracker { background: #e94f20; }.swatch.space { background: #8357d6; }
footer { padding: 2.3rem max(6vw, 1.25rem); background: var(--ink); color: #fff; display: flex; justify-content: space-between; gap: 1rem; }
.toast { position: fixed; left: 50%; bottom: 1.4rem; transform: translate(-50%, 130%); z-index: 50; background: var(--accent); border: 4px solid var(--line); box-shadow: 6px 6px 0 var(--line); border-radius: 16px; padding: .8rem 1.1rem; font-weight: 950; transition: transform .25s ease-out; text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.celebration { position: fixed; inset: 0; pointer-events: none; z-index: 49; overflow: hidden; }
.confetti { position: absolute; top: -20px; width: 12px; height: 20px; border: 2px solid var(--line); animation: confettiFall 1.6s ease-in forwards; }

@keyframes buttonPulse { 0%,100% { transform: rotate(-1deg) scale(1); } 50% { transform: rotate(1deg) scale(1.04); } }
@keyframes organellePop { 50% { transform: scale(1.12); } }
@keyframes feedbackPop { 50% { transform: scale(1.04) rotate(-1deg); } }
@keyframes confettiFall { to { transform: translateY(110vh) rotate(680deg); } }

body[data-theme="firecracker"] { --primary: #e94f20; --primary-dark: #a32c10; --secondary: #1c78a8; --accent: #ffd15a; --soft: #ffe2cc; }
body[data-theme="space"] { --primary: #9a6cff; --primary-dark: #5530a6; --secondary: #19a7a0; --accent: #9df6d0; --soft: #e8e0ff; --paper: #f7f3ff; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .mascot-wrap { min-height: 340px; }
  .mascot { max-height: 350px; }
  .explorer-grid { grid-template-columns: 1fr; }
  .organelle-list { grid-template-columns: repeat(2, 1fr); }
  .share-card, .personalize { grid-template-columns: 1fr; }
  .qr-wrap { justify-self: center; }
}
@media (max-width: 540px) {
  main { width: min(100% - 1rem, 1180px); }
  .mode-switcher { position: sticky; top: .5rem; z-index: 10; }
  .mode-button { padding: .75rem .3rem; font-size: .85rem; }
  .section-heading { align-items: start; }
  .answers { grid-template-columns: 1fr; }
  .speech-bubble { font-size: .78rem; right: .2rem; }
  .organelle-list { grid-template-columns: 1fr 1fr; }
  .mission-strip { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* The intentionally homemade version: notebook paper, marker colors, and wonky boxes. */
:root {
  --ink: #18224b;
  --paper: #fffdf0;
  --panel: #fffefa;
  --primary: #f26a21;
  --primary-dark: #a83b08;
  --secondary: #087fbd;
  --accent: #ffe45b;
  --soft: #d9f4ff;
  --line: #18224b;
  --shadow: 3px 4px 0 #18224b;
}

body {
  font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
  background-color: #fffdf0;
  background-image:
    linear-gradient(90deg, transparent 0 54px, rgba(242,89,119,.35) 55px 57px, transparent 58px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(74,155,207,.18) 32px 33px);
}

.hero {
  min-height: 430px;
  padding: 2.2rem max(7vw, 1.4rem) 2.8rem;
  color: var(--ink);
  background: rgba(255,253,240,.92);
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  border-bottom: 4px dashed var(--ink);
}
.hero::after { display: none; }
.hero-copy { transform: rotate(-.4deg); }
.eyebrow { color: #0d62a8; font-family: "Arial Black", Impact, sans-serif; font-size: .92rem; text-decoration: underline 4px #ffe45b; }
h1, h2, h3, .button, .mode-button, .hud-item, .mission, .organelle-button, .answer { font-family: "Arial Black", Impact, "Trebuchet MS", sans-serif; }
h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); color: #1767b0; text-shadow: 2px 2px 0 #ffcf3c; letter-spacing: -.035em; }
h1 span { color: #f26a21; text-decoration: underline wavy #42b883 4px; }
.hero-text { max-width: 650px; color: var(--ink); font-size: 1.14rem; }
.tiny-note { color: #414141; transform: rotate(-1deg); font-weight: 800; }
.mega-button { animation: none; font-size: 1.1rem; text-transform: lowercase; transform: rotate(1deg); }
.button { border-width: 3px; border-radius: 7px 14px 8px 12px; box-shadow: 2px 3px 0 var(--line); }
.button:hover { transform: rotate(-1deg) translateY(-2px); box-shadow: 3px 5px 0 var(--line); }

.mascot-wrap { min-height: 330px; }
.mascot { width: min(300px, 92%); max-height: 330px; filter: drop-shadow(5px 6px 0 rgba(24,34,75,.18)); transform: rotate(2deg); }
.speech-bubble { right: -1%; top: 4%; padding: .55rem .75rem; border-width: 3px; border-radius: 8px 15px 7px 11px; box-shadow: 2px 3px 0 #f26a21; font-size: .78rem; background: #fff49c; }
.doodle { color: #f26a21; border: 0; font-size: 1.15rem; text-decoration: underline wavy #1767b0; }
.tablet-doodle { width: min(390px, 100%); max-height: 370px; transform: rotate(1.2deg); filter: drop-shadow(4px 6px 0 rgba(24,34,75,.2)); }

main { margin: 1.2rem auto 0; }
.game-hud { margin-bottom: 1.2rem; }
.hud-item { border-width: 2px; border-radius: 4px; box-shadow: 2px 3px 0 rgba(24,34,75,.65); }
.hud-item:nth-child(1) { background: #fff49c; transform: rotate(-1.5deg); }
.hud-item:nth-child(2) { background: #ffd8a8; transform: rotate(1.2deg); }
.hud-item:nth-child(3) { background: #c9f2db; transform: rotate(-.7deg); }

.mode-switcher { padding: 0; gap: .6rem; background: transparent; border: 0; box-shadow: none; }
.mode-button { border: 3px solid var(--line); border-radius: 8px 13px 6px 10px; box-shadow: 2px 3px 0 var(--line); background: #d9f4ff; text-transform: lowercase; transform: rotate(-.5deg); }
.mode-button:nth-child(2) { background: #ffd8a8; transform: rotate(.7deg); }
.mode-button:nth-child(3) { background: #d9f3c9; transform: rotate(-.4deg); }
.mode-button.active { background: #ffe45b; transform: translateY(-3px) rotate(-1deg); }

.mission-strip { gap: 1rem; }
.mission { border: 2px dashed #69718e; border-radius: 3px; box-shadow: none; background: rgba(255,255,255,.75); transform: rotate(-.5deg); }
.mission:nth-child(2) { transform: rotate(.6deg); }
.mission:nth-child(3) { transform: rotate(-.2deg); }
.mission:nth-child(1) { background: #fff49c; }
.mission:nth-child(2) { background: #bfe7ff; }
.mission:nth-child(3) { background: #c9f2db; }
.mission.active { border-color: #f26a21; box-shadow: 2px 3px 0 #f26a21; }

.mode-panel { padding-top: 3.2rem; }
.section-heading h2, .personalize h2 { color: #1767b0; text-decoration: underline wavy #ffe45b 4px; }
.section-heading > p { border-width: 2px; border-radius: 5px; background: #fff49c; transform: rotate(1deg); }
.step { color: #a83b08; }

.cell-stage, .info-card, .quiz-card, .results-card, .share-card, .personalize {
  border-width: 3px;
  border-radius: 6px 13px 8px 11px;
  box-shadow: 3px 4px 0 var(--line);
}
.cell-stage { background: rgba(255,255,255,.88); transform: rotate(-.35deg); }
.info-card { background: #dff7ff; transform: rotate(.8deg); }
.memory-hook { border-left-width: 5px; background: #fff49c; transform: rotate(-.6deg); }
.organelle-button { min-height: 62px; border-width: 2px; border-radius: 4px 9px 5px 8px; box-shadow: 2px 2px 0 var(--line); }
.organelle-button:nth-child(3n+1) { transform: rotate(-.7deg); }
.organelle-button:nth-child(3n+2) { transform: rotate(.6deg); }
.organelle-button:nth-child(4n+1) { background: #fff49c; border-radius: 3px 12px 5px 9px; }
.organelle-button:nth-child(4n+2) { background: #ccecff; border-radius: 12px 4px 10px 5px; }
.organelle-button:nth-child(4n+3) { background: #d7f2c8; border-radius: 5px 10px 3px 13px; }
.organelle-button:nth-child(4n) { background: #ffd8a8; border-radius: 9px 3px 12px 5px; }
.organelle-button.visited { transform: rotate(-1.3deg) scale(1.02); }
.quiz-card { background: #fffef7; }
.answer { border-width: 2px; border-radius: 5px 10px 6px 9px; box-shadow: 2px 2px 0 var(--line); }
.answer:nth-child(1) { background: #fff49c; transform: rotate(-.35deg); }
.answer:nth-child(2) { background: #ccecff; transform: rotate(.45deg); }
.answer:nth-child(3) { background: #d7f2c8; transform: rotate(.25deg); }
.answer:nth-child(4) { background: #ffd8a8; transform: rotate(-.5deg); }
.personalize { background: #fff49c; }
.theme-chip { border-width: 2px; border-radius: 5px; }
.toast { border-width: 3px; border-radius: 6px 11px 7px 9px; box-shadow: 3px 4px 0 var(--line); }
footer { background: #1767b0; border-top: 5px dashed #ffe45b; }

body[data-theme="firecracker"], body[data-theme="space"] { --paper: #fffdf0; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .mascot-wrap { min-height: 300px; }
  .mascot { max-height: 300px; }
}

@media (max-width: 540px) {
  .tablet-doodle { max-height: 285px; }
  .speech-bubble { top: -2%; }
}

/* Simple version based on Colton's handwritten mockup. */
body {
  background: #1d1d1d;
  color: #fff;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.handwritten-hero {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: #1d1d1d;
}

.handwriting-crop {
  width: 100%;
  aspect-ratio: 1748 / 550;
  overflow: hidden;
}

.handwriting-crop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.student-credit {
  margin: .5rem 1rem 0;
  color: #fff;
  text-align: center;
  font-family: "Arial Black", Impact, "Trebuchet MS", sans-serif;
  font-size: clamp(.85rem, 2vw, 1.25rem);
  font-weight: 950;
  letter-spacing: .035em;
}

.typed-intro {
  padding: 1.2rem 1rem 2rem;
  color: #55df70;
  text-align: center;
  font-family: "Arial Black", Impact, "Trebuchet MS", sans-serif;
  font-weight: 950;
  text-transform: uppercase;
}

.typed-intro h1 {
  max-width: none;
  margin: 0 0 1rem;
  color: #55df70;
  font-family: inherit;
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.025em;
  text-shadow: none;
  transform: none;
}

.typed-intro a {
  display: inline-block;
  padding: .55rem 1.2rem;
  color: #55df70;
  border: 5px solid #55df70;
  text-decoration: none;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1;
}

.typed-intro p {
  margin: 1.3rem 0 0;
  color: #55df70;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  line-height: 1;
}

main {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.game-hud,
.mode-switcher,
.mission-strip,
.section-heading,
.organelle-list,
#quiz,
.toast,
.celebration {
  display: none !important;
}

.mode-panel {
  padding: 0 0 3rem;
}

.explorer-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  gap: 1.25rem;
  align-items: stretch;
}

.cell-stage,
.info-card {
  border: 3px solid #fff;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.cell-stage {
  padding: 1rem;
  background: #262626;
  background-image: none;
}

.cell {
  max-height: none;
}

.tap-hint {
  margin: .75rem 0 .2rem;
  color: #63ff66;
  font-family: Impact, "Arial Black", "Trebuchet MS", sans-serif;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: .045em;
}

.info-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: #1d1d1d;
  color: #fff;
  justify-content: center;
}

.info-icon {
  font-size: 3rem;
}

.info-kicker {
  color: #63ff66;
  font-family: Impact, "Arial Black", "Trebuchet MS", sans-serif;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: .09em;
}

.info-card h3 {
  color: #63ff66;
  font-family: Impact, "Arial Black", "Trebuchet MS", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 950;
  letter-spacing: .015em;
}

#info-function {
  font-size: 1.08rem;
  font-weight: 800;
}

.memory-hook {
  margin-top: 1.2rem;
  padding: 1rem;
  color: #1d1d1d;
  background: #fff;
  border: 0;
  border-left: 8px solid #63ff66;
  font-family: "Arial Black", "Trebuchet MS", sans-serif;
  transform: rotate(-.5deg);
}

.organelle.selected {
  filter: url(#hand-drawn) drop-shadow(0 0 10px #fff);
}

@media (max-width: 760px) {
  .handwriting-crop { aspect-ratio: 1748 / 580; }
  main { width: min(100% - 1rem, 1100px); }
  .explorer-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 260px; }
}
