/* nonogram · fullscreen. Paired with fullscreen-fit.js (sets --fs-cell on <html>, toggles ng-fs-wide).
   Only applies inside the game-shell Full screen (html.pip-immersive). */
html.pip-immersive .ng-stage {
  background-color: var(--color-paper);
  background-image:
    radial-gradient(ellipse 90% 60% at 0% 0%, var(--color-blob-1) 0 36%, transparent 58%),
    radial-gradient(ellipse 80% 55% at 100% 8%, var(--color-blob-2) 0 34%, transparent 56%),
    radial-gradient(ellipse 70% 50% at 85% 100%, var(--color-blob-3) 0 32%, transparent 54%);
}
html.pip-immersive body[data-screen="play"] #play .play-ad { display: none; }
html.pip-immersive body[data-screen="play"] #play .play-rail { display: block; padding: 4px 8px 0; max-width: none; }
html.pip-immersive body[data-screen="play"] #play .press-wrap { overflow: visible; padding-bottom: 6px; }
html.pip-immersive body[data-screen="play"] #play .press,
html.pip-immersive body[data-screen="play"] #play .press.is-big { --cell: var(--fs-cell, clamp(1.7rem, 8.2vw, 2.75rem)); }
html.pip-immersive body[data-screen="play"] #play .press { padding: 10px 10px 14px; box-shadow: 0 0 0 4px var(--plate-ink), 6px 8px 0 var(--press-navy); }
html.pip-immersive body[data-screen="play"] #play .play-head { gap: 5px; margin-bottom: 8px; }
html.pip-immersive body[data-screen="play"] #play .play-head .btn { min-height: 40px; padding: .4rem .7rem; }
html.pip-immersive body[data-screen="play"] #play .play-head #status { padding: .35rem .6rem; font-size: .8rem; }
/* landscape: plate left, controls right */
html.pip-immersive.ng-fs-wide body[data-screen="play"] #play .play-rail > div:first-child {
  display: grid;
  grid-template-columns: auto minmax(240px, 300px);
  column-gap: 22px;
  justify-content: center;
  align-items: start;
}
html.pip-immersive.ng-fs-wide body[data-screen="play"] #play .press-wrap { grid-column: 1; grid-row: 1 / span 6; }
html.pip-immersive.ng-fs-wide body[data-screen="play"] #play .play-head { grid-column: 2; grid-row: 1; }
html.pip-immersive .ng-stage .line-lab, html.pip-immersive .ng-stage [id^="ng-depth"] { display: none !important; }
/* title screen in full screen: drop the long intro so the demo plate and the buttons fit one screen */
html.pip-immersive body[data-screen="title"] #title { padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
html.pip-immersive body[data-screen="title"] #title .kicker,
html.pip-immersive body[data-screen="title"] #title .lede,
html.pip-immersive body[data-screen="title"] #title .demo-cap { display: none; }
html.pip-immersive body[data-screen="title"] #title h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); margin: 6px 0; }
html.pip-immersive body[data-screen="title"] #title .shop { padding-bottom: 12px; box-shadow: 6px 8px 0 var(--press-red); }
html.pip-immersive body[data-screen="title"] #title .row .btn { min-height: 44px; }
html.pip-immersive body[data-screen="levels"] #levels,
html.pip-immersive body[data-screen="how"] #how { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
@media (orientation: landscape) and (max-height: 480px) {
  html.pip-immersive body[data-screen="title"] #title .demo-card { display: none; }
  html.pip-immersive body[data-screen="title"] #title .row { display: flex; flex-wrap: wrap; gap: 8px; }
}
