:root {
  color-scheme: light;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  --ink: #294d49;
  --muted: #6d817c;
  --paper: #fffdf8;
  --line: #ded7bd;
  --green: #65a389;
  --green-dark: #407e67;
  --gold: #e8b44c;
  --coral: #d97162;
  --purple: #9277ae;
  --blue: #6f9fbe;
  --shadow: 0 18px 44px rgba(54, 78, 69, .14);
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: #f4f8ed; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 10%, rgba(238, 190, 78, .2) 0 125px, transparent 127px),
    radial-gradient(circle at 94% 78%, rgba(144, 119, 174, .14) 0 150px, transparent 152px),
    linear-gradient(145deg, #f2f8eb, #fffaf2 58%, #f1f5ee);
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .13;
  background-image: radial-gradient(#6d9183 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
}
button { color: inherit; font: inherit; }
button:not(:disabled) { cursor: pointer; }
button:focus-visible { outline: 4px solid rgba(232, 180, 76, .72); outline-offset: 4px; }
button:disabled { cursor: default; }
h1, h2, p { margin-top: 0; }

.app {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 50px;
}
.topbar,
.brand,
.topbar-actions,
.calm-badge,
.section-heading,
.level-card-top,
.level-footer,
.game-heading,
.answer-heading,
.feedback-card,
.result-actions {
  display: flex;
  align-items: center;
}
.topbar {
  min-height: 66px;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.brand {
  min-width: 0;
  gap: 12px;
  padding: 0;
  text-align: left;
  background: none;
  border: 0;
}
.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  background: #fff1bd;
  border: 3px solid #d8c99e;
  border-radius: 20px;
  box-shadow: 0 7px 16px rgba(67, 87, 78, .13);
  transform: rotate(-4deg);
}
.brand-mark::before,
.brand-mark::after {
  position: absolute;
  top: 17px;
  width: 7px;
  height: 9px;
  background: var(--ink);
  border-radius: 50%;
  content: "";
}
.brand-mark::before { left: 16px; }
.brand-mark::after { right: 16px; }
.brand-mark i {
  position: absolute;
  bottom: 13px;
  width: 27px;
  height: 12px;
  border-bottom: 4px solid var(--ink);
  border-radius: 0 0 50% 50%;
}
.brand-mark b {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 19px;
  height: 19px;
  background: #d8849a;
  border: 3px solid white;
  border-radius: 50%;
}
.brand strong,
.brand small { display: block; }
.brand strong { overflow-wrap: anywhere; font-size: 24px; font-weight: 900; }
.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.topbar-actions { flex: 0 0 auto; gap: 9px; }
.top-spark { color: var(--gold); font-size: 27px; }
.back-button,
.calm-badge {
  min-height: 48px;
  background: rgba(255, 253, 248, .94);
  border: 2px solid var(--line);
  border-radius: 17px;
}
.back-button { width: 48px; padding: 0; font-size: 23px; font-weight: 900; }
.calm-badge { gap: 7px; padding: 0 15px; color: var(--muted); font-size: 13px; font-weight: 900; }
.calm-badge span { color: #d8849a; font-size: 20px; }
.eyebrow {
  margin: 0 0 8px;
  color: #497f69;
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.primary-button,
.secondary-button,
.next-button,
.hint-button {
  min-height: 52px;
  padding: 0 20px;
  font-weight: 900;
  border-radius: 17px;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  background: var(--green-dark);
  border: 0;
  box-shadow: 0 8px 0 #2e6552;
}
.secondary-button { background: white; border: 3px solid var(--line); }
.next-button { flex: 0 0 auto; color: white; background: var(--green-dark); border: 0; }
.hint-button { flex: 0 0 auto; color: #765c1d; background: #fff1ba; border: 2px solid #e7c85f; }

.hero {
  display: grid;
  min-height: 500px;
  align-items: center;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  padding: clamp(42px, 6vw, 70px);
  overflow: hidden;
  background: rgba(255, 253, 248, .97);
  border: 3px solid var(--line);
  border-radius: 47px;
  box-shadow: var(--shadow);
}
.hero h1 {
  max-width: 580px;
  margin-bottom: 19px;
  font-size: clamp(49px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.52;
}
.hero-stats {
  display: flex;
  gap: 23px;
  margin-top: 30px;
}
.hero-stats span { min-width: 58px; }
.hero-stats strong,
.hero-stats small { display: block; }
.hero-stats strong { font: 900 26px/1 Georgia, serif; }
.hero-stats small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.hero-scene {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff0bc, #dcefe5 66%, #e9def3);
  border: 8px solid white;
  border-radius: 41px;
  box-shadow: 0 20px 38px rgba(57, 75, 70, .2);
}
.hero-scene::after {
  position: absolute;
  right: -32px;
  bottom: -48px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, .52);
  border-radius: 50%;
  content: "";
}
.hero-label {
  position: absolute;
  z-index: 5;
  top: 20px;
  left: 22px;
  padding: 8px 13px;
  color: #5f705f;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .82);
  border-radius: 14px;
}
.hero-face {
  position: absolute;
  display: block;
  width: 185px;
  filter: drop-shadow(0 12px 8px rgba(65, 72, 59, .18));
}
.hero-face-0 { z-index: 3; bottom: 13px; left: 7px; transform: rotate(-6deg); }
.hero-face-1 { z-index: 4; right: 6px; bottom: 16px; transform: rotate(6deg); }
.hero-face-2 { z-index: 2; top: 44px; left: calc(50% - 91px); width: 182px; }
.hero-question {
  position: absolute;
  z-index: 6;
  top: 19px;
  right: 23px;
  color: var(--purple);
  font: 900 47px/1 Georgia, serif;
  transform: rotate(7deg);
}
.hero-heart {
  position: absolute;
  z-index: 6;
  bottom: 20px;
  left: calc(50% - 18px);
  color: #cf8499;
  font-size: 44px;
}
.character-face { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.character-face > img { display: block; width: 100%; height: auto; object-fit: contain; }
.emotion-cue { position: absolute; right: 3%; bottom: 2%; display: block; width: 40%; filter: drop-shadow(0 5px 5px rgba(50, 69, 62, .22)); }
.emotion-cue .emotion-face { width: 100%; }

.how-section,
.levels-section { margin-top: 48px; }
.section-heading {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.section-heading h2 { margin: 0; font-size: clamp(33px, 4vw, 46px); font-weight: 900; letter-spacing: -.025em; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 800; line-height: 1.45; text-align: right; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.step-card {
  display: grid;
  min-width: 0;
  min-height: 132px;
  align-items: center;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 15px;
  padding: 20px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 26px;
}
.step-number {
  display: grid;
  width: 61px;
  height: 61px;
  place-items: center;
  color: white;
  font: 900 28px/1 Georgia, serif;
  background: var(--green);
  border: 5px solid #d6eee2;
  border-radius: 50%;
}
.step-card:nth-child(2) .step-number { background: var(--gold); border-color: #fff0bf; }
.step-card:nth-child(3) .step-number { background: var(--purple); border-color: #e7def2; }
.step-card strong,
.step-card small { display: block; }
.step-card strong { margin-bottom: 7px; font-size: 18px; }
.step-card small { color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1.4; }
.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.level-card {
  display: grid;
  min-width: 0;
  min-height: 470px;
  grid-template-rows: auto 166px 1fr auto;
  gap: 15px;
  padding: 21px;
  overflow: hidden;
  text-align: left;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 31px;
  box-shadow: 0 10px 0 rgba(185, 177, 145, .36);
  transition: transform .18s ease, border-color .18s ease;
}
.level-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.level-card-top,
.level-footer { justify-content: space-between; gap: 10px; }
.level-number {
  display: grid;
  width: 48px;
  height: 42px;
  place-items: center;
  color: white;
  font: 900 15px/1 Georgia, serif;
  background: var(--accent);
  border-radius: 14px 11px 15px 12px;
}
.level-stars { color: #b58d31; font-size: 13px; font-weight: 900; }
.level-preview {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 9px 3px 0;
  background: color-mix(in srgb, var(--accent) 16%, white);
  border-radius: 23px;
}
.level-preview span { width: 39%; margin: 0 -10px; }
.level-preview span:nth-child(1) { transform: rotate(-6deg); }
.level-preview span:nth-child(2) { z-index: 2; width: 43%; }
.level-preview span:nth-child(3) { transform: rotate(6deg); }
.level-copy small,
.level-copy strong,
.level-copy span { display: block; }
.level-copy small { margin-bottom: 7px; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.level-copy strong { margin-bottom: 9px; font-size: 25px; line-height: 1.05; }
.level-copy span { color: var(--muted); font-size: 14px; font-weight: 800; line-height: 1.42; }
.level-footer {
  padding-top: 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  border-top: 2px solid #eee9d8;
}
.level-footer b { color: var(--accent); }
.parent-tip {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 15px;
  margin-top: 30px;
  padding: 19px 22px;
  background: #fff5cd;
  border: 2px solid #ead38a;
  border-radius: 24px;
}
.parent-tip > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  font-size: 25px;
  background: white;
  border-radius: 17px;
}
.parent-tip p { align-self: center; margin: 0; color: #6f6548; font-size: 13px; font-weight: 800; line-height: 1.5; }

.game-shell {
  padding: clamp(25px, 4vw, 43px);
  background: rgba(255, 253, 248, .98);
  border: 3px solid var(--line);
  border-radius: 43px;
  box-shadow: var(--shadow);
}
.game-heading {
  justify-content: space-between;
  gap: 20px;
}
.game-heading > div { min-width: 0; }
.game-heading h1 { margin-bottom: 8px; font-size: clamp(36px, 5vw, 53px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.game-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-weight: 800; }
.round-badge {
  display: grid;
  flex: 0 0 auto;
  width: 83px;
  height: 83px;
  place-items: center;
  align-content: center;
  color: white;
  background: var(--accent);
  border: 6px solid color-mix(in srgb, var(--accent) 26%, white);
  border-radius: 50%;
}
.round-badge strong { font: 900 28px/1 Georgia, serif; }
.round-badge small { margin-top: 4px; font: 800 10px/1 Georgia, serif; }
.progress-track {
  height: 10px;
  margin: 20px 0 25px;
  overflow: hidden;
  background: #e4e1d4;
  border-radius: 10px;
}
.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: inherit;
  transition: width .25s ease;
}
.play-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
}
.character-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 610px;
  place-items: center;
  align-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, #fff2c9 0 135px, transparent 137px),
    linear-gradient(180deg, #e2f1eb 0 70%, #c99a6d 70%);
  border: 3px solid #d6d9c4;
  border-radius: 34px;
}
.character-card::after {
  position: absolute;
  right: 23px;
  bottom: 25px;
  left: 23px;
  height: 27px;
  background: rgba(74, 58, 41, .16);
  border-radius: 50%;
  filter: blur(5px);
  content: "";
}
.stage-label {
  position: absolute;
  z-index: 4;
  top: 22px;
  left: 22px;
  color: #5c806f;
  font: 900 11px/1 Georgia, serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.face-wrap {
  position: relative;
  z-index: 2;
  width: min(360px, 90%);
  margin-top: 34px;
  filter: drop-shadow(0 15px 9px rgba(58, 62, 50, .18));
}
.character-name {
  position: relative;
  z-index: 3;
  margin-top: -8px;
  padding: 10px 18px;
  color: white;
  font-size: 17px;
  font-weight: 900;
  background: #537f6d;
  border: 4px solid white;
  border-radius: 18px;
  box-shadow: 0 6px 0 #315e4d;
}
.feature-strip {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 15px;
  left: 16px;
  display: flex;
  justify-content: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.feature-strip.visible { opacity: 1; transform: translateY(0); }
.feature-strip span {
  padding: 7px 10px;
  color: #47675b;
  font-size: 10px;
  font-weight: 900;
  background: rgba(255, 255, 255, .92);
  border: 2px solid #cbd8ce;
  border-radius: 13px;
}
.question-column { min-width: 0; }
.story-card {
  display: grid;
  min-height: 112px;
  align-items: center;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 19px;
  background: #f7f3e7;
  border: 3px solid #ddd7bf;
  border-radius: 25px;
}
.story-card.face-only { background: #edf5ef; }
.story-prop {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  font-size: 34px;
  background: white;
  border: 3px solid #e4dec8;
  border-radius: 22px;
}
.story-card small,
.story-card strong { display: block; }
.story-card small { margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.story-card strong { overflow-wrap: anywhere; font-size: 18px; line-height: 1.35; }
.answer-heading {
  justify-content: space-between;
  gap: 16px;
  margin: 20px 2px 12px;
}
.answer-heading h2 { margin: 0; font-size: 26px; line-height: 1.08; }
.answer-heading > span { color: #d8849a; font-size: 37px; }
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.option-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.option-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 107px;
  align-items: center;
  grid-template-columns: 72px minmax(0, 1fr) 28px;
  gap: 9px;
  padding: 10px;
  text-align: left;
  background: white;
  border: 3px solid #ddd8c5;
  border-radius: 23px;
  box-shadow: 0 6px 0 #d8d2bc;
  transition: transform .15s ease, border-color .15s ease;
}
.option-card:not(:disabled):hover { border-color: var(--green); transform: translateY(-2px); }
.option-visual { display: block; width: 70px; }
.emotion-face { display: block; width: 100%; height: auto; }
.option-copy { min-width: 0; }
.option-copy strong,
.option-copy small { display: block; }
.option-copy strong { font-size: 17px; line-height: 1.05; }
.option-copy small { margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 800; }
.option-card > b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: white;
  background: #b9b3a1;
  border-radius: 50%;
}
.option-card.wrong { background: #fff0ed; border-color: var(--coral); box-shadow: 0 6px 0 #d89387; }
.option-card.wrong > b { background: var(--coral); }
.option-card.correct { background: #e5f4ea; border-color: var(--green); box-shadow: 0 6px 0 #70a989; }
.option-card.correct > b { background: var(--green-dark); }
.option-card.hinted { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 180, 76, .22), 0 6px 0 #d8bd75; animation: hintPulse 1s ease-in-out infinite; }
@keyframes hintPulse { 50% { transform: translateY(-3px); } }
.feedback-card {
  min-height: 88px;
  gap: 13px;
  margin-top: 14px;
  padding: 13px 15px;
  background: #f3f5f0;
  border: 2px solid #d9dfd4;
  border-radius: 22px;
}
.feedback-card.success { background: #e7f4eb; border-color: #9fc8ad; }
.feedback-card.retry { background: #fff0ed; border-color: #e3a69d; }
.feedback-card.hint { background: #fff6d8; border-color: #e8cf7c; }
.feedback-icon {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  background: white;
  border-radius: 17px;
}
.feedback-card p { min-width: 0; flex: 1 1 auto; margin: 0; }
.feedback-card strong,
.feedback-card small { display: block; }
.feedback-card small { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.4; }

.result-card {
  display: grid;
  min-height: 650px;
  align-items: center;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(25px, 5vw, 62px);
  padding: clamp(30px, 6vw, 68px);
  overflow: hidden;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 45px;
  box-shadow: var(--shadow);
}
.result-art {
  position: relative;
  min-height: 430px;
  background: radial-gradient(circle, #fff0bc 0 125px, #e0efe7 127px 100%);
  border: 7px solid white;
  border-radius: 38px;
  box-shadow: 0 17px 35px rgba(57, 75, 70, .17);
}
.result-face { position: absolute; display: block; width: 195px; }
.result-face-one { z-index: 3; bottom: 18px; left: 2px; transform: rotate(-6deg); }
.result-face-two { z-index: 4; right: 1px; bottom: 18px; transform: rotate(6deg); }
.result-face-three { top: 26px; left: calc(50% - 95px); }
.result-heart {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 25px;
  color: #d8849a;
  font-size: 51px;
}
.result-copy h1 { margin-bottom: 17px; font-size: clamp(44px, 6vw, 68px); letter-spacing: -.05em; line-height: .96; }
.result-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; font-weight: 800; line-height: 1.5; }
.result-stars { margin: 19px 0; color: var(--gold); font-size: 39px; letter-spacing: 4px; }
.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.result-stats span {
  padding: 14px 8px;
  text-align: center;
  background: #f5f2e8;
  border-radius: 17px;
}
.result-stats strong,
.result-stats small { display: block; }
.result-stats strong { font: 900 25px/1 Georgia, serif; }
.result-stats small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.emotion-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 23px;
}
.emotion-ribbon span {
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
  background: color-mix(in srgb, var(--emotion) 20%, white);
  border: 2px solid var(--emotion);
  border-radius: 13px;
}
.result-actions { flex-wrap: wrap; gap: 10px; }
.error-card {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  gap: 14px;
  margin-top: 80px;
  padding: 30px;
  text-align: center;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 40px;
}
.error-card > span { color: #d8849a; font-size: 80px; }
.error-card strong,
.error-card small { display: block; }
.error-card strong { font-size: 28px; }
.error-card small { margin-top: 8px; color: var(--muted); font-weight: 800; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy > p:not(.eyebrow),
  .hero h1 { margin-right: auto; margin-left: auto; }
  .hero-stats { justify-content: center; }
  .hero-scene { width: min(520px, 100%); margin: 0 auto; }
  .levels-grid { grid-template-columns: 1fr 1fr; }
  .level-card:last-child { grid-column: 1 / -1; width: min(540px, 100%); justify-self: center; }
  .play-layout { grid-template-columns: 1fr; }
  .character-card { min-height: 520px; }
  .face-wrap { width: min(345px, 75%); }
  .result-card { grid-template-columns: 1fr; }
  .result-art { width: min(520px, 100%); margin: 0 auto; }
}

@media (max-width: 720px) {
  .steps-grid,
  .levels-grid { grid-template-columns: 1fr; }
  .level-card,
  .level-card:last-child { width: 100%; min-height: 430px; grid-column: auto; }
  .level-preview { min-height: 150px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-heading > p { text-align: left; }
  .feedback-card { align-items: flex-start; flex-wrap: wrap; }
  .feedback-card .next-button,
  .feedback-card .hint-button { width: 100%; }
}

@media (max-width: 520px) {
  .app { width: min(100% - 20px, 1120px); padding-top: 12px; }
  .topbar { min-height: 52px; margin-bottom: 13px; }
  .brand { gap: 8px; }
  .brand-mark { width: 46px; height: 46px; border-radius: 15px; }
  .brand-mark::before,
  .brand-mark::after { top: 13px; width: 6px; height: 8px; }
  .brand-mark::before { left: 12px; }
  .brand-mark::after { right: 12px; }
  .brand-mark i { bottom: 10px; width: 22px; height: 10px; }
  .brand-mark b { width: 16px; height: 16px; }
  .brand strong { font-size: 18px; line-height: 1.05; }
  .brand small,
  .calm-badge { display: none; }
  .top-spark { display: none; }
  .back-button { width: 46px; min-height: 46px; }
  .hero { min-height: 0; gap: 31px; padding: 34px 19px 25px; border-radius: 31px; }
  .hero h1 { font-size: 43px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .primary-button { width: 100%; justify-content: center; }
  .hero-stats { gap: 13px; justify-content: space-between; }
  .hero-stats span { min-width: 0; }
  .hero-scene { min-height: 290px; border-width: 5px; border-radius: 29px; }
  .hero-face { width: 145px; }
  .hero-face-0 { left: -4px; }
  .hero-face-1 { right: -4px; }
  .hero-face-2 { top: 45px; left: calc(50% - 72px); width: 144px; }
  .hero-question { font-size: 39px; }
  .hero-heart { display: none; }
  .how-section,
  .levels-section { margin-top: 38px; }
  .section-heading h2 { font-size: 33px; }
  .step-card { min-height: 118px; grid-template-columns: 56px minmax(0, 1fr); padding: 16px; }
  .step-number { width: 53px; height: 53px; font-size: 24px; }
  .level-card { min-height: 405px; padding: 17px; border-radius: 27px; }
  .level-preview { min-height: 137px; }
  .level-copy strong { font-size: 23px; }
  .parent-tip { grid-template-columns: 45px minmax(0, 1fr); padding: 15px; }
  .parent-tip > span { width: 44px; height: 44px; }
  .game-shell { padding: 19px 11px 24px; border-radius: 29px; }
  .game-heading { align-items: flex-start; }
  .game-heading h1 { font-size: 36px; }
  .game-heading p:not(.eyebrow) { font-size: 13px; line-height: 1.4; }
  .round-badge { width: 65px; height: 65px; border-width: 5px; }
  .round-badge strong { font-size: 23px; }
  .progress-track { margin: 16px 0 18px; }
  .character-card { min-height: 395px; border-radius: 27px; }
  .stage-label { top: 17px; left: 17px; }
  .face-wrap { width: min(270px, 83%); margin-top: 25px; }
  .character-name { margin-top: -5px; font-size: 14px; }
  .feature-strip { right: 8px; bottom: 10px; left: 8px; gap: 4px; }
  .feature-strip span { padding: 6px 7px; font-size: 9px; }
  .story-card { min-height: 102px; grid-template-columns: 58px minmax(0, 1fr); gap: 11px; padding: 12px; border-radius: 21px; }
  .story-prop { width: 56px; height: 56px; font-size: 27px; border-radius: 17px; }
  .story-card strong { font-size: 15px; }
  .answer-heading { margin-top: 17px; }
  .answer-heading h2 { font-size: 23px; }
  .options-grid { grid-template-columns: 1fr; gap: 8px; }
  .option-card:last-child:nth-child(odd) { grid-column: auto; }
  .option-card {
    min-height: 91px;
    grid-template-columns: 50px minmax(0, 1fr) 23px;
    gap: 5px;
    padding: 7px;
    border-radius: 19px;
  }
  .option-visual { width: 50px; }
  .option-copy strong { font-size: 13px; }
  .option-copy small { margin-top: 4px; font-size: 9px; }
  .option-card > b { width: 23px; height: 23px; font-size: 12px; }
  .feedback-card { padding: 11px; border-radius: 19px; }
  .feedback-icon { width: 45px; height: 45px; }
  .result-card { padding: 23px 16px 29px; border-radius: 31px; }
  .result-art { min-height: 315px; border-width: 5px; border-radius: 27px; }
  .result-face { width: 145px; }
  .result-face-three { top: 21px; left: calc(50% - 72px); }
  .result-copy h1 { font-size: 45px; }
  .result-stars { font-size: 34px; }
  .result-actions { display: grid; }
  .result-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
