.game-shell {
  --game-cream: #fffaf0;
  --game-green: #175c49;
  --game-ink: #183f35;
  --game-muted: #596c62;
  --game-coral: #d67552;
  --game-mustard: #e7ba56;
  --game-line: #dbdfd1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 52px);
  border: 1px solid #e8e7dc;
  border-radius: 32px;
  background: var(--game-cream);
  color: var(--game-ink);
  font-family: inherit;
  box-sizing: border-box;
  text-align: left;
}
.game-shell *, .game-shell *::before, .game-shell *::after { box-sizing: border-box; }
.game-shell button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.game-shell button:focus-visible, .game-shell [tabindex="-1"]:focus-visible { outline: 3px solid var(--game-green); outline-offset: 5px; }
.game-shell h2, .game-shell h3, .game-shell p { margin: 0; }
.game-shell button svg { width: 22px; height: 22px; flex: 0 0 auto; }
.game-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.game-back { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--game-green); min-height: 44px; padding: 4px 0; font-size: 15px !important; font-weight: 700 !important; }
.game-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.game-tag { border: 1px solid #cbd7c6; padding: 8px 12px; border-radius: 999px; color: #486148; font-size: 11px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.game-eyebrow { color: #526640; font-size: 12px; font-weight: 800; letter-spacing: .12em; margin-bottom: 10px !important; }
.game-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.game-title { font-size: clamp(28px, 3.5vw, 45px); font-weight: 800; line-height: 1.15; letter-spacing: -.035em; }
.game-question-counter { color: var(--game-green); font-size: 29px; font-weight: 800; white-space: nowrap; }
.game-question-counter span { color: #6b7868; font-size: 16px; margin-left: 3px; }
.game-subtitle { margin-top: 12px !important; color: var(--game-muted); font-size: 16px; line-height: 1.65; }
.game-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin: 22px 0 30px; }
.game-progress-segment { height: 7px; border-radius: 10px; background: #e2e6d8; }
.game-progress-current { background: var(--game-mustard); }
.game-progress-done { background: var(--game-green); }
.game-play-layout, .game-summary-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 3.5vw, 50px); }
.game-question-panel { min-width: 0; }
.game-story { margin-bottom: 27px; padding: 20px 22px; border-radius: 17px; border-left: 4px solid var(--game-mustard); background: #f2f0df; }
.game-story-label { display: block; color: #5d603e; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin-bottom: 9px; }
.game-story p { font-size: 18px; font-weight: 500; line-height: 1.75; }
.game-prompt-row { margin-bottom: 22px; }
.game-question { font-size: clamp(23px, 2.35vw, 31px); font-weight: 800; line-height: 1.4; letter-spacing: -.018em; }
.game-question:focus, .game-summary-title:focus { outline: none; }
.game-listen { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 44px; padding: 5px 0; color: var(--game-green); border: 0; background: transparent; font-size: 13px !important; font-weight: 700 !important; }
.game-listen:hover span { text-decoration: underline; text-underline-offset: 3px; }
.game-listen svg { width: 19px !important; height: 19px !important; }
.game-choices { display: grid; gap: 13px; }
.game-choice { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 76px; padding: 17px 18px; text-align: left; border: 1.5px solid #cdd7c7; border-radius: 16px; background: #fffef9; color: var(--game-ink); transition: border-color .16s, background .16s, transform .16s; }
.game-choice:not(:disabled):hover { border-color: var(--game-green); background: #edf3e5; transform: translateY(-2px); }
.game-choice-letter { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 auto; border-radius: 10px; background: #eef0e5; color: #4f6550; font-size: 14px; font-weight: 800; }
.game-choice-text { flex: 1; min-width: 0; font-size: 19px; font-weight: 700; line-height: 1.4; }
.game-choice-state { display: inline-flex; align-items: center; gap: 4px; color: var(--game-green); font-size: 12px; font-weight: 700; }
.game-choice-state > span[aria-hidden] { font-size: 22px; font-weight: 400; }
.game-choice-state svg { width: 20px !important; height: 20px !important; }
.game-choice-correct { border-color: var(--game-green); background: #e3efdc; cursor: default !important; }
.game-choice-correct .game-choice-letter { color: #fff; background: var(--game-green); }
.game-choice-wrong { border-color: #dbb9a6; background: #f7ece2; color: #73594d; cursor: default !important; }
.game-choice-wrong .game-choice-state { color: #80503a; }
.game-choice:disabled:not(.game-choice-correct):not(.game-choice-wrong) { color: #68756a; background: #f6f6ee; cursor: default; }
.game-feedback-space { min-height: 108px; padding-top: 18px; }
.game-feedback { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; border-radius: 14px; }
.game-feedback-right { background: #e7f0dc; color: #25563c; }
.game-feedback-retry { background: #f6edda; color: #73542d; }
.game-feedback-icon { display: grid; place-items: center; flex: 0 0 auto; width: 23px; height: 24px; font-size: 26px; line-height: 1; }
.game-feedback-icon svg { width: 22px; height: 22px; }
.game-feedback strong { display: block; font-size: 15px; font-weight: 800; margin: 0 0 4px; }
.game-feedback p { font-size: 14px; line-height: 1.6; }
.game-next-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 20px; }
.game-gentle-hint { max-width: 230px; color: var(--game-muted); font-size: 12px; line-height: 1.6; }
.game-primary, .game-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 54px; padding: 15px 25px; border: 1.5px solid var(--game-green); border-radius: 13px; font-size: 15px !important; font-weight: 800 !important; line-height: 1.3; white-space: nowrap; transition: background .15s, transform .15s; }
.game-primary { background: var(--game-green); color: #fff; }
.game-primary:not(:disabled):hover { background: #104536; transform: translateY(-1px); }
.game-primary:disabled { color: #737d70; background: #e0e4d7; border-color: #e0e4d7; cursor: default; }
.game-secondary { background: transparent; color: var(--game-green); }
.game-secondary:hover { background: #eaf0df; }
.game-scene { min-width: 0; }
.game-image-wrap { position: relative; overflow: hidden; border: 1px solid #e4e2d4; border-radius: 24px; background: #eaf0df; isolation: isolate; }
.game-image { display: block; width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.game-scene-caption { position: absolute; inset: auto 15px 15px; border: 1px solid #ffffffc9; border-radius: 12px; padding: 12px 14px; color: var(--game-ink); background: #fffaf0ed; font-size: 13px; font-weight: 700; text-align: center; backdrop-filter: blur(8px); }
.game-scene-note { display: flex; align-items: center; gap: 12px; max-width: 360px; margin: 18px auto 0; }
.game-scene-note > svg { width: 23px; height: 23px; flex: 0 0 auto; color: #ae7920; }
.game-scene-note p { color: #63705b; font-size: 13px; line-height: 1.6; }
.game-garden { margin-top: 18px; padding: 15px 17px 5px; border: 1px solid #dce4cd; border-radius: 18px; background: #f0f4e4; }
.game-garden-top { display: flex; justify-content: space-between; gap: 10px; color: #48613a; font-size: 11px; font-weight: 800; }
.game-garden-flowers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; align-items: end; padding-top: 7px; }
.game-flower { position: relative; color: #546447; text-align: center; }
.game-flower-svg { display: block; max-width: 80px; width: 100%; margin: auto; opacity: .3; }
.game-flower-stem { stroke: #9ea990; fill: #c6cdb8; }
.game-flower-petals { fill: #c6cdb8; }
.game-flower-center { fill: #e2e3cd; }
.game-flower > span { display: block; min-height: 32px; font-size: 9px; line-height: 1.5; color: #40573b; font-weight: 800; overflow-wrap: anywhere; }
.game-flower-grown .game-flower-svg { opacity: 1; }
.game-flower-new .game-flower-svg { transform-origin: 50% 100%; animation: game-bloom .48s cubic-bezier(.17,.83,.31,1.25) both; }
.game-flower-grown .game-flower-stem { stroke: #62804c; fill: #91ac68; }
.game-flower-grown .game-flower-petals { fill: #e19b83; }
.game-flower-grown:nth-child(even) .game-flower-petals { fill: #e8c66d; }
.game-flower-grown:nth-child(3) .game-flower-petals { fill: #b2c99d; }
.game-flower-grown .game-flower-center { fill: #fff3bf; }
.game-summary-layout { align-items: center; padding-top: 15px; }
.game-celebration { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; background: #f4e7bd; color: #6d501a; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; margin-bottom: 21px; }
.game-celebration svg { width: 18px; height: 18px; color: #946612; }
.game-summary-title { font-size: clamp(30px, 3.5vw, 45px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.game-summary-description { margin-top: 20px !important; color: var(--game-muted); font-size: 18px; line-height: 1.75; }
.game-result { display: flex; align-items: center; gap: 18px; margin: 26px 0; padding: 18px 20px; border: 1px solid #d9e0cc; border-radius: 17px; background: #eff3e4; }
.game-result-number { font-size: 44px; font-weight: 800; line-height: 1; white-space: nowrap; color: var(--game-green); }
.game-result-number > span { font-size: 20px; color: #6b7a60; }
.game-result strong { font-size: 15px; font-weight: 800; }
.game-result p { margin-top: 6px; color: #5b6d51; font-size: 13px; line-height: 1.6; }
.game-summary-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.game-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.game-projector .game-title { font-size: clamp(36px, 4vw, 54px); }
.game-projector .game-question { font-size: clamp(28px, 2.9vw, 39px); }
.game-projector .game-choice-text { font-size: 23px; }
.game-projector .game-story p { font-size: 21px; }
.game-projector .game-choice { min-height: 88px; }
.game-projector .game-feedback p { font-size: 17px; }
.game-projector .game-feedback strong { font-size: 18px; }
.game-projector .game-play-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@keyframes game-bloom { from { transform: scale(.45); } to { transform: scale(1); } }
@media (max-width: 900px) {
  .game-shell { padding: 26px; border-radius: 24px; }
  .game-play-layout, .game-summary-layout, .game-projector .game-play-layout { gap: 24px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .game-image { aspect-ratio: .85; }
  .game-choice { gap: 10px; padding: 14px; }
  .game-choice-text { font-size: 17px; }
  .game-next-row { flex-wrap: wrap; }
  .game-next { margin-left: auto; }
  .game-scene-caption { font-size: 11px; inset: auto 9px 9px; padding: 9px; }
  .game-garden { padding: 12px 7px 3px; }
  .game-garden-top { font-size: 10px; }
  .game-flower > span { font-size: 8px; }
}
@media (max-width: 680px) {
  .game-shell { padding: 20px 17px; border-radius: 22px; }
  .game-topbar { margin-bottom: 23px; }
  .game-title, .game-projector .game-title { font-size: 29px; }
  .game-title-row { gap: 12px; align-items: flex-start; }
  .game-question-counter { font-size: 25px; padding-top: 3px; }
  .game-eyebrow { font-size: 10px; letter-spacing: .1em; }
  .game-subtitle { font-size: 14px; }
  .game-progress { margin: 20px 0 23px; }
  .game-play-layout, .game-summary-layout, .game-projector .game-play-layout { display: flex; flex-direction: column; gap: 27px; }
  .game-question-panel, .game-scene, .game-summary { width: 100%; }
  .game-story { margin-bottom: 22px; padding: 16px 17px; }
  .game-story p, .game-projector .game-story p { font-size: 17px; }
  .game-question, .game-projector .game-question { font-size: 25px; }
  .game-choice, .game-projector .game-choice { min-height: 76px; }
  .game-choice-text, .game-projector .game-choice-text { font-size: 18px; }
  .game-choice-state { font-size: 10px; }
  .game-choice-state svg { display: none; }
  .game-feedback-space { min-height: 102px; }
  .game-feedback p, .game-projector .game-feedback p { font-size: 14px; }
  .game-feedback strong, .game-projector .game-feedback strong { font-size: 15px; }
  .game-next-row { gap: 13px; margin-top: 18px; }
  .game-gentle-hint { max-width: none; width: 100%; font-size: 12px; }
  .game-primary, .game-secondary, .game-next { width: 100%; min-height: 55px; }
  .game-image { aspect-ratio: 1.65; }
  .game-scene-caption { font-size: 12px; padding: 10px; inset: auto 12px 12px; }
  .game-scene-note { margin: 13px auto 0; }
  .game-garden { padding: 15px 14px 4px; }
  .game-garden-top { font-size: 12px; }
  .game-flower > span { font-size: 9px; }
  .game-summary-title { font-size: 33px; }
  .game-summary-description { font-size: 17px; }
  .game-summary-actions { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-shell *, .game-shell *::before, .game-shell *::after { animation: none !important; transition: none !important; }
  .game-choice:not(:disabled):hover, .game-primary:not(:disabled):hover { transform: none; }
}
