/* v2.24: Construct the TWO real background regions shown in the user's hand-edited reference.
 * Geometry reference /mnt/data/image(20261114-085439).png:
 *  - gray shell begins above the first row and surrounds the whole board/controls,
 *  - black key well is inset into the shell and starts BELOW the top of the WHITE keycaps,
 *  - original buttons are UNTOUCHED and render in front of both layers.
 * No fake horizontal line, covering overlay or cosmetic replacement for the black plate.
 */

/* Outer gray panel including the lower reset/fullscreen action row. This is an ACTUAL
 * flat backing surface, not a CSS strip laid in front of the keys. */
.app .screen-panel .scene-macro {
  position: relative;
  background: #878787 !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0;
  border-radius: 11px;
  overflow: hidden;
}
/* Keep the untouched key layout on top of the case plate. */
.app .screen-panel .scene-macro .macro-body {
  position: relative;
  z-index: 1;
  background: transparent !important;
}
/* The no-black-plate base preserved the key geometry and made the board itself
 * transparent. Draw one REAL black well behind the 25 existing keys. Its edge
 * begins approx 20px below the visible top row at desktop scale, like the sketch.
 */
.app .screen-panel .board.keycap-board > .board-background {
  display: block !important;
  position: absolute;
  top: 3.3%;
  bottom: 0;
  left: -1.0%; /* allow the black plate to show OUTSIDE leftmost key */
  right: -1.0%; /* same right-side rim; keys stay fixed */
  z-index: 0;
  border-radius: 2% / 2.4%;
  background: #111619 !important;
  background-image: none !important;
  box-shadow: none !important;
  pointer-events: none;
}
/* No border reintroduction and no overlay that hides or alters keycap images.
 * The original .board-row z-index order renders every key over the black well. */
.app .screen-panel .board.keycap-board::before,
.app .screen-panel .board.keycap-board::after { content:none !important; display:none !important; }
