.session-page .game-heading { margin-bottom: 18px; gap: 16px; }
.session-page .game-heading h1 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin-top: 6px; }
.game-heading .eyebrow { font-size: .72rem; }
.game-room { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 25px; align-items: start; }
.game-workspace { min-width: 0; border: 1px solid #dae6e6; border-radius: 30px; background: #fffdf8; overflow: hidden; box-shadow: 0 12px 40px rgb(50 82 89 / 5%); }
.scene-mission { padding: 23px 27px 17px; }
.scene-mission .task-label { color: #377d78; font-size: .71rem; letter-spacing: .07em; }
.scene-mission h2 { font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.3; margin: 7px 0 5px; max-width: 35ch; }
.scene-mission p { color: var(--muted); font-size: .88rem; margin: 0; }
.game-canvas { position: relative; background: radial-gradient(ellipse at 55% 45%, #f1fafa, #e3f0f5); border-block: 1px solid #dce9ea; }
.globe-scene { position: relative; width: 100%; }
.game-globe { display: block; width: 100%; height: auto; }
.scene-svg-label { font: 600 15px Nunito, sans-serif; fill: #496876; }
.scene-caption { display: block; text-align: center; padding: 0 14px 12px; font-size: .64rem; color: #5b7581; }
.scene-targets { position: absolute; inset: 0; }
.scene-point { position: absolute; top: 50%; width: clamp(44px, 7vw, 54px); height: clamp(44px, 7vw, 54px); transform: translate(-50%, -50%); border: 3px solid #fffdf5; border-radius: 50%; background: #fffdf5; color: var(--text); font: 800 1.1rem Nunito, sans-serif; cursor: pointer; box-shadow: 0 4px 12px rgb(25 45 63 / 20%); }
.point-a { left: 41.25%; }.point-b { left: 58.75%; }
.scene-point:hover { box-shadow: 0 0 0 6px rgb(255 253 245 / 26%), 0 4px 12px rgb(25 45 63 / 20%); }
.scene-point[aria-pressed="true"] { background: #176e64; color: #fff; box-shadow: 0 0 0 5px #efc06b; }
.point-check { position: absolute; top: -10px; right: -10px; border-radius: 50%; font-size: .7rem; width: 22px; height: 22px; display: grid; place-items: center; background: #efc06b; color: #25324b; }
.scene-console { padding: 17px 24px 21px; min-height: 124px; }
.scene-response { font-size: .87rem; line-height: 1.45; min-height: 2.9em; margin: 0 0 12px; color: var(--muted); }
.scene-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.scene-actions .button { min-height: 44px; font-size: .86rem; padding: 11px 20px; }
.scene-actions .quiet { font-size: .75rem; padding-inline: 7px; }
.experiment-status { display: flex; align-items: center; gap: 8px; font-size: .88rem; min-height: 2.6em; margin-bottom: 10px; }
.scene-console .answer-feedback { margin: 0 0 15px; padding: 12px 14px; border-radius: 15px; }
.scene-console .answer-feedback p { font-size: .8rem; }.scene-console .answer-feedback strong { font-size: .95rem; }
.game-companion { min-width: 0; }
.session-page .stage-helper { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.session-page .stage-helper .helper-copy { position: relative; order: -1; min-width: 0; padding: 18px 18px 12px; background: #fffdf8; border: 1.5px solid #cfddd8; border-radius: 23px; box-shadow: 0 7px 22px rgb(41 76 65 / 4%); }
.stage-helper .helper-copy::after { content: ''; position: absolute; bottom: -10px; left: 52%; width: 17px; height: 17px; border-right: 1.5px solid #cfddd8; border-bottom: 1.5px solid #cfddd8; background: #fffdf8; transform: rotate(45deg); }
.session-page .stage-helper strong { display: block; font-size: .82rem; color: #397c74; margin-bottom: 9px; }
.session-page .stage-helper .helper-replica { margin: 0; font-size: 1rem; line-height: 1.5; color: #25324b; min-height: 4.5em; }
.stage-helper .helper-speech-controls { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.stage-helper .helper-speech-controls .button { min-height: 37px; padding: 7px 5px; font-size: .73rem; }
.stage-helper .helper-speech-controls .quiet { grid-column: auto; min-height: 32px; padding: 5px; }
.stage-helper .helper-speech-controls .primary { grid-row: span 2; align-self: stretch; font-size: .84rem; }
.session-page .stage-helper .speech-status { font-size: .63rem; margin: 7px 0 0; line-height: 1.35; }
.helper-fullbody { display: block; width: 100%; height: 315px; object-fit: contain; object-position: bottom center; margin-top: 16px; filter: drop-shadow(0 7px 7px rgb(48 72 68 / 10%)); }
.companion-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-top: 8px; }
.companion-tools .button { font-size: .76rem; padding: 9px 11px; min-height: 40px; }
.motion-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px 26px 24px; min-height: 300px; align-items: stretch; }
.motion-choice { display: flex; flex-direction: column; align-items: center; justify-content: space-between; border: 2px solid #cbdde0; background: #fffdf8; border-radius: 22px; color: var(--text); cursor: pointer; padding: 12px 12px 15px; font: 700 .93rem/1.4 Nunito, sans-serif; }
.motion-choice svg { width: 100%; max-width: 220px; }.choice-name { padding-inline: 4px; }.choice-select { font-size: .74rem; color: #367c75; margin-top: 12px; }
.motion-choice[aria-pressed="true"] { border-color: #176e64; background: #f3faf1; box-shadow: 0 0 0 3px #a9ceba; }
.motion-choice[aria-pressed="true"] .choice-motion { animation: choice-nudge .65s ease-in-out; transform-origin: 110px 80px; }
@keyframes choice-nudge { 50% { transform: rotate(14deg); } }
@media (max-width: 850px) and (min-width: 661px) {
  .game-room { grid-template-columns: minmax(0, 1fr) 225px; gap: 16px; }
  .session-page .stage-helper .helper-copy { padding-inline: 14px; }
  .session-page .stage-helper .helper-replica { font-size: .9rem; }
  .helper-fullbody { height: 280px; }
}
/* Tablet and computer share the same scene/companion composition. */
@media (min-width: 700px) {
  .stage-helper .helper-speech-controls { grid-template-columns: 1fr 1fr 1fr; }
  .stage-helper .helper-speech-controls .primary { grid-row: auto; font-size: .8rem; }
  .stage-helper .helper-speech-controls .button { min-height: 44px; font-size: .74rem; }
  .companion-tools .button { min-height: 44px; font-size: .8rem; }
}
@media (min-width: 700px) and (max-height: 850px) {
  .page-lesson .site-header, .page-test .site-header { padding-block: 12px; }
  .page-lesson main, .page-test main { padding-top: 10px; }
  .session-page .game-heading { margin-bottom: 14px; }
  .page-lesson .session-steps, .page-test .session-steps { margin-bottom: 16px; }
  .game-room { gap: 20px; }
  .globe-scene { max-width: 490px; margin-inline: auto; }
  .scene-mission { padding: 17px 22px 14px; }
  .scene-console { padding: 13px 22px 16px; }
  .session-page .stage-helper .helper-copy { padding: 14px 16px 10px; }
  .session-page .stage-helper .helper-replica { min-height: 3em; font-size: .95rem; }
  .helper-fullbody { height: 240px; margin-top: 14px; }
  .session-page .work-navigation { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .motion-choice[aria-pressed="true"] .choice-motion { animation: none; } }
