/* number-memory · fullscreen.css - fit the play area to the screen while the shell's fullscreen is on.
   Everything is scoped under html.pip-immersive; leaving fullscreen restores the normal page.
   Driven by fullscreen-fit.js (sets --fs-w, adds .fs-stage / .fs-wide / .fs-board-root). */
html.pip-immersive .fs-stage{display:flex;flex-direction:column;align-items:stretch;gap:8px;overflow-x:hidden}
html.pip-immersive .fs-stage>*{flex:none;min-width:0}
html.pip-immersive .fs-stage.fs-wide{display:grid;grid-template-columns:minmax(0,var(--fs-w,60vh)) minmax(0,1fr);column-gap:18px;row-gap:0;align-content:start;grid-auto-rows:min-content}
html.pip-immersive .fs-stage.fs-wide>*{grid-column:2;margin-bottom:8px}
html.pip-immersive .fs-stage.fs-wide>.fs-board-root{grid-column:1;grid-row:1 / span 40;align-self:start;margin-bottom:0}
html.pip-immersive .fs-stage>.fs-board-root{margin-left:auto;margin-right:auto}
html.pip-immersive #card-grid{width:var(--fs-nat,388px)!important;max-width:none!important;zoom:var(--fs-zoom,1);margin:0 auto!important}
html.pip-immersive .ncw,html.pip-immersive .facts{display:none!important}
html.pip-immersive .nm-key{min-height:clamp(36px,6.4vh,56px)}html.pip-immersive #color-btns.nm-pad{gap:clamp(4px,1vh,8px);margin-top:4px}html.pip-immersive .nm-key.nm-skip{min-height:clamp(32px,5.4vh,48px)}html.pip-immersive .hud{padding:.2rem 0}
