#screen {

  z-index: 100;
  background-color: black;
  box-shadow: 0px 0px 10px 0px black;

  /* Scaled game screen keeps sharp pixels (Anti-Aliasing setting overrides) */
  image-rendering: pixelated;
  image-rendering: crisp-edges;

}

.canvas-wrapper {
  min-width: 480px;
  min-height: 352px;
  max-width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
/* An HD item icon (Canvas.iconHD) has twice the pixels of the 32 px one and the same size: any other rule of the canvas wins (zero specificity) */
:where(canvas.icon-hd) {
  width: 32px;
  height: 32px;
}
