/* ═══════════════════════════════════════
   SCREEN PACKS — the Generate step's backdrop with the game's UI ghosted over
   it (WorkbenchScreenGenerate.js). The step itself uses the shared generator
   step rules in workbench-pages.css.
   ═══════════════════════════════════════ */

/* The backdrop at its own 16:9, larger than the shared picture cap: it is
   judged as a whole screen. The UI boxes are placed in percent of it. */
.wbsc-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}

.wb-img .wbsc-frame img {
  display: block;
  max-height: 540px;
}

/* One piece of the game's UI over this screen: see-through, so the picture
   under it can still be judged, and never in the way of a click on it. */
.wbsc-occ {
  position: absolute;
  display: grid;
  place-items: start;
  padding: 4px 6px;
  border: 1px dashed var(--text-secondary);
  border-radius: 4px;
  background: color-mix(in srgb, var(--bg-card) 45%, transparent);
  pointer-events: none;
}

.wbsc-occ span {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.2;
}
