/* VL Chromecast Receiver — video + splash; transport UI is CAF/Shaka default */
* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  /* Dynamic viewport — full screen on modern Chromium / Cast */
  min-height: 100dvh;
  background: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  overflow: hidden;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
}

#video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.loading-splash {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  pointer-events: none;
  overflow: hidden;
}

.loading-splash.hidden {
  display: none;
}

.loading-splash-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
