/* cards.css: a game card once card.js has drawn it. Link it after site.css (core/layout.py _head). Until the card is drawn the HTML card
   in site.css stands; from the moment it carries .drawn the canvas is the whole box, so nothing from the site (radius, border, shadow,
   padding, background) may touch it: the pixels are the game's, and a CSS edge on them would be the site's. The selectors are one class
   longer than site.css and the page sheets (front.css, skins.css), so they win whatever the order. */
.gc .gc-box.drawn {
  display: block; flex: none; box-sizing: content-box; width: auto; max-width: none; height: auto; margin: 0; padding: 0;
  border: 0; border-radius: 0; outline: 0; background: none; box-shadow: none; overflow: visible; line-height: 0; font-size: 0;
}
.gc .gc-box.drawn > canvas.gc-canvas, .tag.drawn > canvas.gc-canvas {
  display: block; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none;
  image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; image-rendering: pixelated;
}
/* a hologram tag: the game draws it with no plate (the role tags set a transparent background), so the site adds none either */
.tag.drawn[data-gc] { background: none; border: 0; border-radius: 0; box-shadow: none; line-height: 0; }
/* a hologram is never shrunk to fit: wider than its column it overflows, centred, as it does over an NPC's head. The NPC header and the
   hologram panel clip the sideways overflow so the page never scrolls (clip, not hidden: nothing is cut above or below). */
.tag.drawn { overflow: visible; }
.npc-head, .npc-tags { overflow-x: clip; }
