html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #0A0A0C;
  overflow: hidden;
}

#app {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: Roboto, Arial, sans-serif;
  color: #FFFFFF;
  text-align: center;
  padding: 0 48px;
}

#logo {
  width: 160px;
  height: auto;
}

#title {
  font-size: 28px;
  font-weight: 600;
  max-width: 80vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: #FF453A;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#error {
  font-size: 20px;
  color: #FF453A;
  max-width: 70vw;
}

/* Hide the default CAF UI chrome — this receiver only shows Noria's own
   logo/title/spinner/error states, driven by receiver.js. */
cast-media-player {
  display: none;
}
