/* Content sets panel height; score lanes follow it in document flow. */
.game-shell,.game-shell:not(.showing-correction),.game-shell.showing-correction{
  display:flex;flex-direction:column;align-items:stretch;gap:24px;
  width:min(1100px,calc(100% - 32px));height:auto;min-height:100svh;
  overflow:visible;margin:0 auto;padding:24px 0 32px;
}
.game-shell .game-card,.game-shell:not(.showing-correction) .game-card,.game-shell.showing-correction .game-card{
  display:block;position:relative;width:100%;height:auto;min-height:0;
  padding:32px;overflow:visible;flex:none;
}
.game-shell:not(.showing-correction) .gameplay-layout{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,34%);
  align-items:center;gap:32px;height:auto;min-height:420px;max-width:none;
}
.game-shell:not(.showing-correction) .gameplay-primary{
  min-width:0;align-self:center;justify-content:center;gap:18px;padding:8px 0;
}
.game-shell:not(.showing-correction) .picture-frame{
  width:min(100%,360px);height:auto;max-height:none;aspect-ratio:4/3;flex:none;
}
.game-shell:not(.showing-correction) .answer-cluster{gap:18px;min-width:0}
.game-shell:not(.showing-correction) .answer-cluster .word{
  font-size:clamp(2.5rem,6vw,5rem);line-height:1.05;max-width:100%;
}
.game-shell:not(.showing-correction) .answer-cluster .choices{margin:0;flex:none}
.game-shell:not(.showing-correction) .word-strategy-cue{
  box-sizing:border-box;align-self:center;width:100%;height:auto;max-width:380px;
  padding:20px;margin:0;gap:12px;
}
.game-shell:not(.showing-correction) .word-strategy-cue ol{
  grid-template-columns:minmax(0,1fr);gap:10px;
}
.game-shell:not(.showing-correction) .word-strategy-cue li{
  min-height:50px;font-size:1.1rem;padding:8px 10px;white-space:normal;
}
.game-shell .feedback-msg{min-height:24px;margin:0}
.game-shell .correction-card{height:auto;min-height:0;max-width:100%;margin:0 auto;padding:8px 0;gap:16px}
.game-shell .correction-strategy{max-width:100%}
.game-shell .correction-strategy img{max-width:100%;height:auto;object-fit:contain}
.game-shell .game-race{position:static;width:100%;max-width:none;margin:0;padding:8px 0 0;flex:none;transform:none}
.game-shell .race-wrap{position:static;height:auto;max-width:none;padding:12px 16px 20px;transform:none}
.game-shell .race-multiplayer{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.game-shell .multi-race-lane{position:static;height:auto;min-width:0;padding:0;margin:0}
.game-shell .race-label{margin:0 0 16px;gap:12px;flex-wrap:wrap;font-size:.9rem;line-height:1.3}
.game-shell .track{height:38px}
.game-shell .game-back{position:static;margin:0;flex:none}
@media(max-width:820px){
  .game-shell,.game-shell:not(.showing-correction),.game-shell.showing-correction{width:calc(100% - 24px);gap:20px;padding:16px 0 28px}
  .game-shell .game-card,.game-shell:not(.showing-correction) .game-card,.game-shell.showing-correction .game-card{padding:24px}
  .game-shell:not(.showing-correction) .gameplay-layout{grid-template-columns:minmax(0,1fr);min-height:0;gap:28px}
  .game-shell:not(.showing-correction) .picture-frame{width:min(100%,320px);max-height:none}
  .game-shell:not(.showing-correction) .word-strategy-cue{justify-self:center;max-width:520px;padding:16px}
  .game-shell:not(.showing-correction) .word-strategy-cue ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .game-shell .game-card,.game-shell:not(.showing-correction) .game-card,.game-shell.showing-correction .game-card{padding:24px 16px}
  .game-shell:not(.showing-correction) .picture-frame{width:min(100%,280px)}
  .game-shell:not(.showing-correction) .answer-cluster .word{font-size:clamp(2.25rem,10vw,3.5rem)}
  .game-shell:not(.showing-correction) .word-strategy-cue ol{grid-template-columns:minmax(0,1fr)}
  .game-shell .race-label{font-size:.82rem}
}
