/* Jexly Media's own player for TVs: Google's player for cast devices in Jexly Media's colours. Where Google's
   player is yellow (the bar that shows where a video is, the marks while it loads) this one is the blue of the
   logo; the logo's squares move while the TV opens the player, loads a video or buffers; and while nothing plays
   the TV shows the logo and the name. */
html, body { margin: 0; height: 100%; background: #0e1117; overflow: hidden; }
body { font-family: "Open Sans", Roboto, Arial, sans-serif; color: #e8ecf2; }
cast-media-player {
  --background: #0e1117;
  --theme-hue: 222;
  --progress-color: #5b8cff;
  --break-color: #86a9ff;
  --spinner-image: url("squares.svg");
  --buffering-image: url("squares.svg");
  --logo-image: url("splash.svg");
  --logo-size: contain;
  --logo-repeat: no-repeat;
  --logo-background: #0e1117;
  --splash-image: url("splash.svg");
  --splash-size: contain;
  --splash-repeat: no-repeat;
  --splash-background: #0e1117;
}
/* while a video is being fetched: the moving squares, clear of the title Google's player shows (TVs cut the edges
   off a picture, so nothing sits in the outer tenth) */
#busy { position: fixed; right: 10%; top: 10%; width: 9vw; height: 9vw; z-index: 10; }
#busy img, #not-a-tv img { width: 100%; height: 100%; display: block; }
#busy[hidden], #not-a-tv[hidden] { display: none; }
#not-a-tv { position: fixed; inset: 0; z-index: 20; background: #0e1117; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 10%; }
#not-a-tv img { width: 140px; height: 140px; }
#not-a-tv h1 { margin: 1.2rem 0 .4rem; font-size: 2rem; }
#not-a-tv p { margin: 0; max-width: 34rem; color: #9aa7bd; line-height: 1.5; }
