/* ==========================================================================
   LED canvas (assets/led.js). Any element led.js mounts on gets .sb-led-host:
   the canvas fills it and the old CSS dot mask / text styling is switched off.
   ========================================================================== */

.sb-led-host {
  position: relative;
  padding: 0 !important;
  background: #000 !important;
}

/* the CSS dot masks the old text screens used — the canvas draws real LEDs instead */
.sb-led-host::after { display: none !important; }

.sb-led {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* glass sheen stays on top of the canvas where a host has one (device, panels) */
.sb-led-host::before { z-index: 3; }

/* Before led.js has swapped a screen for its canvas, hide the old HTML/text version so
   it doesn't flash on first load — the panel shows its dark, unlit LEDs for that moment. */
.device__screen:not(.sb-led-host) > .s,
.ps-boot:not(.sb-led-host),
.ps-live:not(.sb-led-host) { visibility: hidden; }
.pdp__led-screen:not(.sb-led-host),
.pdp__led-screen:not(.sb-led-host) * { color: transparent !important; text-shadow: none !important; }
