/**
 * ATERO Cast Receiver — CAST-REDESIGN-1D4
 * Idle browser branding + official CAF player skin variables only.
 * No custom transport controls. No immersive overlays.
 */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #0b0d10;
  color: #f4f6f8;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Browser visitors: landing shell (Cast overlays this with cast-media-player). */
.atero-idle {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(56, 120, 180, 0.18), transparent 55%),
    #0b0d10;
  z-index: 0;
}

.atero-idle__mark {
  width: 96px;
  height: 96px;
  border-radius: 22%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.atero-idle__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.atero-idle__copy {
  margin: 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(244, 246, 248, 0.78);
}

.atero-idle__link {
  color: #8ec8ff;
  text-decoration: none;
  font-weight: 600;
}

.atero-idle__link:hover,
.atero-idle__link:focus {
  text-decoration: underline;
}

/* Official CAF player — full viewport; idle branding sits behind when idle. */
cast-media-player {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  --logo-image: url("/icon.webp");
  --splash-image: url("/icon.webp");
  --splash-size: contain;
  --splash-color: #0b0d10;
  --progress-color: #5aa7e6;
  --theme-hue: 205;
}

/* Tasteful metadata presentation via documented CAF CSS variables. */
cast-media-player {
  --metadata-title-color: #f4f6f8;
  --metadata-subtitle-color: rgba(244, 246, 248, 0.82);
}
