/* The Pixel overlay's start page: the pixel face for the sample lines and the legend. */

/* The overlay's own face (tools/pixel-font), sharp at 16px: two screen pixels to a font pixel. */
@font-face {
  font-family: 'HUDLab Pixel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/hudlab-pixel-1.ttf') format('truetype');
}

/* Sample lines in the overlay's face and shadow. */
.ex {
  display: flex; align-items: center;
  font-family: 'HUDLab Pixel', monospace;
  font-size: 16px; line-height: 20px; white-space: nowrap;
  text-shadow: 2px 2px 0 #3f3f3f;
  overflow: hidden;
}
.ex img { height: 14px; margin-right: 4px; flex-shrink: 0; }
/* The pixel logos at 2px per font pixel, shadow included; 3 font pixels to the name, as in the overlay. */
.ex-twitch img, .ex-kick img, .ex-youtube img { margin-right: 4px; image-rendering: pixelated; }
.ex-twitch img  { width: 18px; height: 20px; }
.ex-kick img    { width: 14px; height: 14px; }
.ex-youtube img { width: 22px; height: 16px; }
/* Sample lines of a platform that is off stay hidden. */
.ex[hidden] { display: none; }
.c-say { color: #ffffff; }

/* The legend's event lines, drawn as the overlay draws them. */
.legend .chan {
  font-family: 'HUDLab Pixel', monospace;
  font-size: 16px; line-height: 20px;
  text-shadow: 2px 2px 0 var(--sh);
}
/* Values taken from pixel/overlay.html, not re-picked by eye. */
.c-raidev { color: #ffaa00; --sh: #3f2a00; }
.c-subev  { color: #ffff55; --sh: #3f3f15; }
