html,body{margin:0;min-width:0;background:#fff9ef}body{border:0;padding:0}.play-stage{border:0;width:100%;min-width:0}.game-heading h1{font:inherit;font-size:clamp(1.6rem,4vw,2.6rem);line-height:1;margin:0}.game-panel{min-width:0}button{touch-action:manipulation}
/* Synchronous head detection keeps the standalone presentation unchanged. */
.is-embedded .game-heading > div:first-child {
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;
}
.is-embedded .play-stage { padding-top:12px;min-height:0; }
.is-embedded .game-panel { display:flex;flex-direction:column; }
.is-embedded .game-heading { order:-3;justify-content:flex-end; }
.is-embedded .game-instructions { order:1;margin:8px 0; }
.is-embedded .game-actions { order:-1;margin-bottom:12px; }
@media(max-width:639px) {
  .is-embedded .game-stats { padding-top:0;gap:16px; }
  .is-embedded .game-stats > div { flex-direction:row;align-items:baseline;gap:5px; }
  .is-embedded .game-stats strong { font-size:20px; }
  .is-embedded .game-actions { flex-wrap:nowrap;gap:8px;align-items:stretch; }
  .is-embedded #lights-action { flex:1;min-width:0;width:auto;padding-inline:8px;gap:0; }
  .is-embedded #lights-action > .icon { display:none; }
  .is-embedded .utility-actions { width:auto;margin:0;gap:0; }
  .is-embedded .utility-actions > button { min-width:44px;padding-inline:4px;font-size:13px; }
}
.is-embedded .game-status { order:2;min-height:calc(4.5em + 28px); }
.is-embedded .lights-options { order:3; }
.is-embedded .steady-controls { order:4; }
.is-embedded .track-caption { min-height:3em; }
