:root {
  --ink: #2b514d;
  --muted: #6d817d;
  --paper: #fffdf7;
  --cream: #fff4d8;
  --line: #ded4b8;
  --green: #4e9b7b;
  --green-dark: #34745f;
  --yellow: #f0b944;
  --coral: #ef7468;
  --blue: #62acd6;
  --purple: #8b73bd;
  --shadow: 0 18px 38px rgba(72, 74, 52, 0.13);
  --soft-shadow: 0 8px 20px rgba(72, 74, 52, 0.1);
}

* { box-sizing: border-box; }

html { min-width: 0; background: #f5efd9; }

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  background:
    radial-gradient(circle at 7% 15%, rgba(255,255,255,.85) 0 3px, transparent 4px) 0 0 / 34px 34px,
    radial-gradient(circle at 88% 9%, rgba(98,172,214,.14), transparent 22%),
    linear-gradient(145deg, #fbf6e5, #f0e7c7);
}

button { font: inherit; color: inherit; }
button:not(:disabled) { cursor: pointer; }
button:focus-visible { outline: 4px solid rgba(98,172,214,.4); outline-offset: 3px; }

.app {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 48px;
}

.loading-card {
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 2px solid var(--line);
  border-radius: 38px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.loading-card span { font-size: 52px; }
.loading-card p { margin: 0; font-size: 20px; font-weight: 900; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.brand,
.sound-button,
.notebook-button,
.primary,
.secondary,
.hint,
.back {
  border: 0;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.brand:hover,
.sound-button:hover,
.notebook-button:hover,
.primary:hover,
.secondary:hover,
.hint:hover:not(:disabled),
.back:hover { transform: translateY(-2px); }

.brand:active,
.sound-button:active,
.notebook-button:active,
.primary:active,
.secondary:active,
.hint:active:not(:disabled),
.back:active { transform: translateY(1px); }

.brand {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 12px 6px 7px;
  border-radius: 20px;
  background: rgba(255,253,247,.8);
  text-align: left;
}

.brand:hover { background: var(--paper); box-shadow: var(--soft-shadow); }

.brand > span {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid #d5c7a7;
  border-radius: 16px;
  color: var(--blue);
  background: #fff8e8;
  font-size: 27px;
  font-weight: 900;
}

.brand small,
.brand strong { display: block; }
.brand small { margin-bottom: 2px; color: #9b6d2e; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.brand strong { font-size: 18px; line-height: 1.08; }

.top-actions { display: flex; align-items: center; gap: 9px; }

.sound-button,
.notebook-button {
  min-height: 49px;
  border: 2px solid #d8cdaa;
  border-radius: 16px;
  background: rgba(255,253,247,.92);
  box-shadow: 0 5px 0 rgba(169,151,106,.22);
  font-weight: 900;
}

.sound-button { width: 49px; padding: 0; font-size: 24px; }
.notebook-button { padding: 0 15px; white-space: nowrap; }

.hero,
.steps,
.game-shell,
.result,
.notebook,
.detail {
  border: 2px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  overflow: hidden;
  border-radius: 42px;
}

.hero-copy { min-width: 0; z-index: 2; padding: 52px 30px 40px 54px; }

.eyebrow {
  display: inline-block;
  color: #a06e28;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}

h1, h2, p { overflow-wrap: anywhere; }
h1, h2 { margin: 0; letter-spacing: -.035em; }

.hero h1 {
  max-width: 590px;
  margin-top: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(45px, 5.2vw, 69px);
  line-height: 1.01;
}

.hero-copy > p {
  max-width: 600px;
  margin: 22px 0 27px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.hero-actions,
.result-actions,
.center { display: flex; flex-wrap: wrap; gap: 12px; }

.primary,
.secondary,
.hint {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 17px;
  font-weight: 900;
}

.primary { color: white; background: var(--green); box-shadow: 0 7px 0 var(--green-dark); }
.primary:hover { background: #59aa85; box-shadow: 0 9px 0 var(--green-dark); }
.secondary { border: 2px solid #d8cdaa; background: #fffaf0; box-shadow: 0 6px 0 rgba(169,151,106,.23); }
.hint { border: 2px solid #d5b75f; background: #fff1b9; box-shadow: 0 6px 0 rgba(180,134,36,.24); }
.hint:disabled { opacity: .5; box-shadow: none; cursor: default; }

.hero-senses {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 31px;
}

.hero-senses > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  border: 2px solid color-mix(in srgb, var(--sense) 45%, #d8cfb7);
  border-radius: 16px;
  background: color-mix(in srgb, var(--sense) 10%, #fffaf0);
}

.hero-senses .sense-svg { width: 58px; height: 58px; }
.hero-senses span { font-size: 10px; font-weight: 900; text-align: center; }

.hero-people {
  position: relative;
  min-height: 500px;
  background:
    linear-gradient(rgba(255,255,255,.46) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.46) 1px, transparent 1px),
    linear-gradient(145deg, #d8ecf1, #c6e2e8);
  background-size: 31px 31px, 31px 31px, auto;
}

.sense-rays {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 380px;
  height: 380px;
  border: 54px solid rgba(255,255,255,.25);
  border-radius: 50%;
  transform: translate(-50%,-48%);
  box-shadow: 0 0 0 32px rgba(255,255,255,.13);
}

.person {
  position: absolute;
  z-index: 2;
  bottom: -4%;
  width: 72%;
  height: 88%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 15px rgba(49,89,84,.17));
}

.person-left { left: -14%; }
.person-right { right: -14%; }

.hero-badge {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 25px;
  padding: 10px 14px;
  border: 2px solid #c79e42;
  border-radius: 11px;
  color: #7f581c;
  background: #ffe8a1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  white-space: nowrap;
  transform: translateX(-50%) rotate(-2deg);
}

.sense-svg { display: block; width: 100%; height: 100%; overflow: visible; }

.steps {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 29px 34px;
  border-radius: 30px;
}

.steps h2,
.routes h2,
.section-heading h1 { margin-top: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 34px; }

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

.steps li {
  min-width: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid #e2dac4;
  border-radius: 19px;
  background: #fffaf0;
}

.steps li span,
.route-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  background: var(--coral);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.steps strong { font-size: 14px; line-height: 1.25; }

.routes { padding: 46px 0 10px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.section-heading > p { margin: 0; color: var(--muted); }
.route-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }

.route-card {
  min-width: 0;
  min-height: 245px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border: 2px solid #d9d0b8;
  border-radius: 28px;
  text-align: left;
  box-shadow: 0 9px 0 rgba(151,137,105,.2);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.route-card:hover { transform: translateY(-4px) rotate(-.35deg); box-shadow: 0 13px 0 rgba(151,137,105,.2); }
.route-organs { background: #e5f1ed; }
.route-sense { background: #fff0d2; }
.route-pair { background: #eee8f5; }
.route-sense .route-number { background: var(--yellow); color: #694916; }
.route-pair .route-number { background: var(--purple); }

.route-copy { min-width: 0; display: flex; flex-direction: column; align-self: stretch; }
.route-copy em { color: #9a6c2d; font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .13em; }
.route-copy strong { margin: 8px 0; font-family: Georgia,"Times New Roman",serif; font-size: 27px; line-height: 1.08; }
.route-copy small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.route-copy b { margin-top: auto; padding-top: 16px; color: var(--green-dark); font-size: 13px; }

.adult-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 25px;
  padding: 19px 22px;
  border: 2px dashed #cdbb8e;
  border-radius: 22px;
  background: rgba(255,248,226,.76);
}

.adult-note > span { font-size: 25px; }
.adult-note p { margin: 0; color: var(--muted); line-height: 1.5; }
.adult-note strong { color: var(--ink); }

.game-shell,
.result,
.notebook,
.detail { border-radius: 38px; }
.game-shell { overflow: hidden; }

.game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 27px 32px 24px;
  border-bottom: 2px dashed #d8ceb1;
  background: #fffaf0;
}

.game-head h1 { margin: 5px 0; font-family: Georgia,"Times New Roman",serif; font-size: 41px; }
.game-head p { margin: 0; color: var(--muted); }

.progress { display: grid; grid-template-columns: repeat(5,32px); gap: 6px; flex: 0 0 auto; }
.progress span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #898574; background: #ede8d7; font-size: 11px; font-weight: 900; line-height: 1; }
.progress .done { color: white; background: var(--green); }
.progress .current { color: #654716; background: var(--yellow); box-shadow: 0 0 0 5px rgba(240,185,68,.17); }

.game-layout {
  display: grid;
  grid-template-columns: minmax(390px,.9fr) minmax(0,1.1fr);
  gap: 20px;
  padding: 24px 27px;
  background: linear-gradient(155deg,#f2f8f4,#f7f0dc);
}

.scene-card,
.question-card {
  min-width: 0;
  border: 2px solid #ddd4bc;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.scene-card { padding: 19px; }
.scene-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.scene-title span { color: #9a6c2d; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.scene-title strong { font-family: Georgia,"Times New Roman",serif; font-size: 20px; text-align: right; }
.scene-svg { width: 100%; max-height: 300px; display: block; }

.guide {
  min-height: 112px;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  overflow: hidden;
  margin-top: 10px;
  border: 2px solid #d8d0ba;
  border-radius: 21px;
  background: #edf5f2;
}

.guide img { width: 88px; height: 112px; align-self: end; object-fit: contain; object-position: bottom; background: #d9ebe5; }
.guide p { margin: 0; padding: 13px; color: var(--muted); font-size: 13px; line-height: 1.42; }

.question-card { padding: 27px; }
.question-card h2 { margin: 8px 0 21px; font-family: Georgia,"Times New Roman",serif; font-size: 31px; line-height: 1.18; }
.options { display: grid; gap: 11px; }

.sense-option {
  min-width: 0;
  min-height: 102px;
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 15px;
  padding: 9px 16px 9px 9px;
  border: 2px solid #ddd3ba;
  border-radius: 23px;
  background: #fffaf0;
  text-align: left;
  transition: transform 150ms ease, border 150ms ease, background 150ms ease;
}

.sense-option .sense-svg { width: 82px; height: 82px; padding: 8px; border-radius: 18px; background: white; }
.sense-option strong,
.sense-option small { display: block; }
.sense-option strong { font-size: 21px; }
.sense-option small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.sense-option:hover:not(:disabled) { transform: translateX(4px); border-color: #9dbca9; }

.pair-options { gap: 10px; }
.pair-option {
  min-width: 0;
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid #ddd3ba;
  border-radius: 23px;
  background: #fffaf0;
  transition: transform 150ms ease, border 150ms ease, background 150ms ease;
}

.pair-option > span { min-width: 0; display: flex; align-items: center; gap: 7px; }
.pair-option .sense-svg { width: 66px; height: 66px; flex: 0 0 auto; }
.pair-option b { font-size: 14px; }
.pair-option i { color: #a17435; font-size: 25px; font-style: normal; font-weight: 900; }
.pair-option:hover:not(:disabled) { transform: translateY(-3px); border-color: #9dbca9; }

.sense-option.is-wrong,
.pair-option.is-wrong { border-color: #d95f58; background: #fff0ed; animation: nudge 220ms ease; }
.sense-option.is-hint,
.pair-option.is-hint { border-color: #d59a22; background: #fff3c4; box-shadow: 0 0 0 5px rgba(240,185,68,.16); }
.sense-option.is-correct,
.pair-option.is-correct { border-color: var(--green-dark); background: #e5f3e8; box-shadow: 0 0 0 5px rgba(78,155,123,.15); }

.feedback-placeholder,
.feedback { margin: 0 27px; border-radius: 21px; }
.feedback-placeholder { min-height: 64px; display: grid; align-items: center; padding: 15px 19px; border: 2px dashed #d8cfb7; color: var(--muted); background: #fffaf0; font-size: 14px; }
.feedback { display: flex; align-items: flex-start; gap: 14px; padding: 17px 19px; border: 2px solid; }
.feedback > span { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--green); font-size: 21px; font-weight: 900; }
.feedback strong { display: block; margin-bottom: 4px; font-size: 18px; }
.feedback p { margin: 0; line-height: 1.45; }
.feedback.error { border-color: #e4a09a; background: #fff0ed; }
.feedback.error > span { background: var(--coral); }
.feedback.hint-box { border-color: #ddbb62; background: #fff3c4; }
.feedback.hint-box > span { color: #674816; background: var(--yellow); }
.feedback.success { border-color: #91c5a7; background: #e4f2e7; }

.game-actions { display: flex; justify-content: space-between; gap: 13px; padding: 19px 27px 27px; }

.result { padding: 44px 38px 39px; text-align: center; background: radial-gradient(circle at 13% 9%,rgba(240,185,68,.18),transparent 24%),radial-gradient(circle at 88% 12%,rgba(98,172,214,.15),transparent 22%),var(--paper); }
.result h1 { margin-top: 9px; font-family: Georgia,"Times New Roman",serif; font-size: 48px; }
.stars { display: flex; justify-content: center; gap: 7px; margin: 17px 0; }
.stars span { color: #ddd6c2; font-size: 51px; }
.stars .earned { color: var(--yellow); }
.result > p { margin: 0; color: var(--muted); font-size: 17px; }
.stats { width: min(600px,100%); display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin: 24px auto; }
.stats div { padding: 15px 8px; border: 2px solid #ddd4bc; border-radius: 18px; background: #fffaf0; }
.stats strong,.stats small { display: block; }
.stats strong { font-size: 28px; }
.stats small { color: var(--muted); }

.result-senses { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin: 27px 0; }
.result-senses > div { min-width: 0; min-height: 165px; display: grid; grid-template-rows: 105px auto auto; align-items: center; padding: 10px 6px; border: 2px solid color-mix(in srgb,var(--sense) 43%,#d8cfb7); border-radius: 19px; background: color-mix(in srgb,var(--sense) 8%,#fffaf0); }
.result-senses .sense-svg { width: 100%; height: 100%; max-height: 105px; }
.result-senses strong { font-size: 15px; }
.result-senses small { color: var(--muted); font-size: 11px; }
.result-actions { justify-content: center; }

.notebook { padding: 35px; }
.sense-book { display: grid; grid-template-columns: repeat(5,1fr); gap: 13px; }
.book-card { position: relative; min-width: 0; min-height: 310px; display: flex; flex-direction: column; align-items: center; padding: 28px 12px 16px; border: 2px solid color-mix(in srgb,var(--sense,#bbb) 43%,#d8cfb7); border-radius: 25px; background: color-mix(in srgb,var(--sense,#bbb) 8%,#fffaf0); text-align: center; transition: transform 150ms ease, box-shadow 150ms ease; }
.book-card.is-open:hover { transform: translateY(-4px); box-shadow: var(--soft-shadow); }
.book-card.is-locked { color: #999586; background: #efecdf; }
.book-number { position: absolute; top: 12px; left: 12px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 11px; font-weight: 900; }
.book-card > div { width: 145px; height: 145px; display: grid; place-items: center; margin-bottom: 11px; padding: 17px; border-radius: 50%; background: rgba(255,255,255,.78); font: 900 62px Georgia,serif; }
.book-card strong { font-family: Georgia,"Times New Roman",serif; font-size: 21px; }
.book-card small { margin-top: 5px; color: var(--muted); }
.center { justify-content: center; margin-top: 24px; }

.detail { padding: 27px 33px 33px; }
.back { min-height: 44px; padding: 0 14px; border-radius: 14px; background: #f1ecdc; font-weight: 900; }
.detail-grid { display: grid; grid-template-columns: minmax(290px,.78fr) minmax(0,1.22fr); gap: 37px; align-items: center; margin-top: 24px; }
.detail-icon { aspect-ratio: 1; padding: 52px; border: 3px solid color-mix(in srgb,var(--sense) 50%,#d8cfb7); border-radius: 40px; background: radial-gradient(circle,rgba(255,255,255,.92) 0 45%,transparent 46%),color-mix(in srgb,var(--sense) 18%,#e7f1ed); box-shadow: var(--soft-shadow); }
.detail-grid h1 { margin: 7px 0; font-family: Georgia,"Times New Roman",serif; font-size: 50px; }
.organ-name { margin: 0 0 16px; color: var(--muted); font-size: 17px; }
.detail-grid section { margin-top: 11px; padding: 15px 17px; border: 2px solid #dfd6be; border-radius: 19px; background: #fffaf0; }
.detail-grid section > strong { color: var(--green-dark); }
.detail-grid section p { margin: 6px 0 0; line-height: 1.5; }
.brain-note { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 17px 19px; border-radius: 20px; background: #e5f3e9; }
.brain-note span { color: var(--purple); font-size: 27px; }
.brain-note p { margin: 0; line-height: 1.45; }

@keyframes nudge { 0%,100%{transform:translateX(0)} 35%{transform:translateX(-5px)} 70%{transform:translateX(5px)} }

@media (max-width: 940px) {
  .hero { grid-template-columns: minmax(0,1fr) 350px; }
  .hero-copy { padding: 43px 21px 36px 37px; }
  .route-card { flex-direction: column; }
  .game-layout { grid-template-columns: 360px minmax(0,1fr); }
  .pair-option .sense-svg { width: 54px; height: 54px; }
  .pair-option b { font-size: 12px; }
}

@media (max-width: 760px) {
  .app { width: min(100% - 20px,1120px); padding-top: 10px; }
  .topbar { gap: 7px; }
  .brand { min-width: 0; padding-right: 8px; }
  .brand > span { width: 42px; height: 42px; }
  .brand small { font-size: 8px; }
  .brand strong { font-size: 15px; }
  .sound-button { width: 45px; min-height: 45px; }
  .notebook-button { min-height: 45px; padding: 0 10px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 37px 27px 32px; }
  .hero h1 { font-size: 48px; }
  .hero-people { min-height: 390px; }
  .steps { grid-template-columns: 1fr; padding: 25px 22px; }
  .steps ol { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 0; flex-direction: row; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .game-head { align-items: flex-start; flex-direction: column; padding: 24px 21px 21px; }
  .progress { width: 100%; grid-template-columns: repeat(10,1fr); gap: 5px; }
  .progress span { width: 29px; height: 29px; justify-self: center; }
  .game-layout { grid-template-columns: 1fr; padding: 18px; }
  .scene-card { display: grid; grid-template-columns: 1fr .85fr; gap: 12px; align-items: center; }
  .scene-title { grid-column: 1/-1; }
  .scene-svg { max-height: 260px; }
  .guide { margin: 0; grid-template-columns: 78px 1fr; }
  .guide img { width: 78px; }
  .question-card { padding: 24px; }
  .feedback-placeholder,.feedback { margin: 0 18px; }
  .game-actions { padding: 18px 18px 24px; }
  .sense-book { grid-template-columns: repeat(2,1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-icon { width: min(410px,100%); margin: 0 auto; }
}

@media (max-width: 520px) {
  .app { width: calc(100% - 16px); }
  .topbar { align-items: flex-start; }
  .brand { min-height: 53px; gap: 7px; }
  .brand > span { width: 38px; height: 38px; border-radius: 13px; font-size: 22px; }
  .brand small { display: none; }
  .brand strong { width: 108px; font-size: 14px; }
  .top-actions { gap: 5px; }
  .sound-button { width: 43px; min-height: 43px; }
  .notebook-button { min-height: 43px; padding: 0 8px; font-size: 11px; }
  .hero,.game-shell,.result,.notebook,.detail { border-radius: 28px; }
  .hero-copy { padding: 29px 20px 27px; }
  .hero h1 { font-size: 39px; }
  .hero-copy > p { margin: 17px 0 22px; font-size: 17px; }
  .hero-actions,.hero-actions button,.result-actions,.result-actions button { width: 100%; }
  .hero-senses { grid-template-columns: repeat(5,70px); overflow-x: auto; padding-bottom: 6px; }
  .hero-people { min-height: 340px; }
  .steps h2,.routes h2,.section-heading h1 { font-size: 29px; }
  .route-card { padding: 19px; }
  .route-number { width: 46px; height: 46px; }
  .route-copy strong { font-size: 22px; }
  .game-head h1 { font-size: 34px; }
  .progress { gap: 2px; }
  .progress span { width: 26px; height: 26px; font-size: 9px; }
  .game-layout { padding: 11px; }
  .scene-card { grid-template-columns: 1fr; padding: 13px; }
  .scene-title { grid-column: auto; }
  .scene-svg { max-height: 230px; }
  .guide { grid-template-columns: 74px 1fr; }
  .guide img { width: 74px; height: 100px; }
  .guide p { padding: 10px; font-size: 12px; }
  .question-card { padding: 19px 14px; }
  .question-card h2 { font-size: 25px; }
  .sense-option { min-height: 89px; grid-template-columns: 68px 1fr; padding: 8px; }
  .sense-option .sense-svg { width: 68px; height: 68px; }
  .sense-option strong { font-size: 18px; }
  .pair-option { min-height: 108px; gap: 4px; padding: 8px 5px; }
  .pair-option > span { flex-direction: column; gap: 1px; }
  .pair-option .sense-svg { width: 51px; height: 51px; }
  .pair-option b { font-size: 10px; }
  .pair-option i { font-size: 20px; }
  .feedback-placeholder,.feedback { margin: 0 11px; }
  .feedback { padding: 14px; }
  .game-actions { align-items: stretch; flex-direction: column; padding: 15px 11px 21px; }
  .game-actions button { width: 100%; }
  .result { padding: 33px 15px 27px; }
  .result h1 { font-size: 38px; }
  .stats { gap: 6px; }
  .stats div { padding: 11px 4px; }
  .stats small { font-size: 10px; }
  .result-senses { grid-template-columns: repeat(5,1fr); gap: 5px; }
  .result-senses > div { min-height: 113px; grid-template-rows: 66px auto auto; padding: 5px 2px; }
  .result-senses .sense-svg { max-height: 66px; }
  .result-senses strong { font-size: 10px; overflow-wrap: anywhere; }
  .result-senses small { font-size: 8px; }
  .notebook { padding: 25px 11px; }
  .sense-book { gap: 8px; }
  .book-card { min-height: 245px; padding: 24px 7px 13px; }
  .book-card > div { width: 123px; height: 123px; }
  .book-card strong { font-size: 18px; }
  .detail { padding: 19px 13px 24px; }
  .detail-icon { padding: 37px; }
  .detail-grid h1 { font-size: 39px; }
}

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