/* Sora's Horizon Cast v2: Immer sichtbarer eigener Button. Keine
   Requests an Google vor dem ersten Opt-in-Klick. */
.cast-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  flex: 0 0 46px;
  aspect-ratio: 1 / 1;
}
.player-controls .cast-optin {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: none;
  padding: 0;
  margin: 0;
  flex: 0 0 44px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.player-controls .cast-optin .cast-icon {
  display: block;
  box-sizing: content-box;
  width: 23px;
  height: 23px;
  min-width: 23px;
  min-height: 23px;
  flex: 0 0 23px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
}
.player-controls .cast-optin.is-connected {
  color: #ff77ac;
  border-color: #ff3d8e;
  box-shadow: 0 0 14px rgba(255, 61, 142, .36);
}
.player-controls .cast-optin:disabled {
  opacity: .6;
  cursor: progress;
}
.cast-status[hidden] { display: none !important; }
.cast-status {
  margin: 8px 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: #dfc5ed;
  text-align: center;
}
.cast-status.is-error { color: #ffc0cf; }
@media (max-width: 420px) {
  .cast-control {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    flex-basis: 42px;
  }
  .player-controls .cast-optin {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-basis: 40px;
  }
}
