/* One card in its pack, on black: a canvas the size of the window (card.js
   draws everything in it) and one clear button over it, which is the hand's,
   the keyboard's and a screen reader's way in. */
:root { color-scheme: dark; }
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; }
.room { position: fixed; inset: 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.room canvas, .hit { position: absolute; inset: 0; width: 100%; height: 100%; }
.hit {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  outline: none;
  touch-action: none;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
/* Without WebGL 2: the card's own face, still, on its black. */
.flat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(86vw, 57.27vh);
  aspect-ratio: 630 / 880;
  transform: translate(-50%, -50%);
  background: #08080a;
  border-radius: 4.76% / 3.41%;
  box-shadow: inset 0 0 0 1px #9a9da6;
}
