.jewkbox-player-shell {
  position: relative;
}

.jewkbox-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-l, 0.75rem);
  overflow: hidden;
}

.jewkbox-player-start {
  position: absolute;
  z-index: 20;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  padding: 0.8rem 1.1rem;
  color: #fff;
  font: inherit;
  font-weight: 700;
  background: #8022f2;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.jewkbox-player-start[hidden] {
  display: none;
}

.jewkbox-player-status,
.jewkbox-coming-soon {
  display: grid;
  min-height: min(62vh, 42rem);
  place-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: #fff;
  text-align: center;
  background: #111;
  border-radius: var(--radius-l, 0.75rem);
}

.jewkbox-coming-soon h2,
.jewkbox-coming-soon p {
  margin: 0;
}

.jewkbox-coming-soon time {
  font-weight: 700;
}

.jewkbox-video-coming-soon media-player {
  display: none;
}

.channel-profile-image {
  position: relative;
  z-index: 2;
  width: 3em;
  height: 3em;
  border-radius: 50%;
}

.suggested-video-list {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.suggested-video-list-item {
  align-items: center;
}

.suggested-video-list-item h4 {
  display: -webkit-box;
  max-height: 4rem;
  overflow: hidden;
  line-height: 2rem;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.suggested-video-list-thumbnail {
  display: flex;
  height: 4em;
  align-items: center;
  overflow: hidden;
}

.more-from-artist__card {
  position: relative;
  overflow: hidden;
}

.more-from-artist__image {
  position: relative;
  width: 100%;
  height: 200px;
  background-position: center;
  background-size: cover;
}

.more-from-artist__title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10em 1em 1em;
  color: #fff;
  font-size: 1em;
  text-align: center;
  background: linear-gradient(#0000 40%, var(--action) 70%, #000 100%);
  background-size: 1px 400px;
  transition: background-position 0.5s ease-in-out;
}

.more-from-artist__card:hover .more-from-artist__title {
  background-position: 100px;
}

.in-this-video-outer {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  padding: 0;
  margin: 1em 0 0;
  list-style: none;
}

.in-this-video-outer li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 1em;
  margin-bottom: 1em;
  background: var(--base-dark-trans-20);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.in-this-video-outer li:hover {
  background: var(--base-dark-trans-50);
}

.in-this-video-outer li:hover a {
  color: #fff;
}

#next-up-top-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 1em;
  margin-top: 1em;
  border-top: 1px solid #ffffff17;
}

#next-up-text {
  color: #ffffff61;
  font-size: 0.8em;
  font-weight: 600;
  visibility: hidden;
}

#next-up {
  position: relative;
  display: none;
}

#next-up img {
  width: 4em;
  height: 2.5em;
  object-fit: cover;
  border-radius: 10px;
}

#next-up-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
}

#next-up h3 {
  margin: 0;
  color: #fff;
  font-size: 0.8em;
}

#next-up p {
  margin: 0;
  color: #999;
  font-size: 0.8em;
}

#next-up-outer {
  position: relative;
  display: block;
  padding: 1em;
  margin: 0;
  overflow: hidden;
  background: #ffffff08;
  border-radius: 10px;
}

#loading-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: #4caf5096;
  transition: width 0.3s;
}

#next-up-outer:hover #loading-bar {
  background-color: #4caf50;
}

.form-switch {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5em;
  color: #8c8c8c;
  font-size: 0.8em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.form-switch i {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: #40384b;
  border-radius: 23px;
  transition: background-color 0.3s linear;
}

.form-switch i::after {
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  content: "";
  background-color: #171419;
  border-radius: 11px;
  box-shadow: 0 2px 2px rgb(0 0 0 / 24%);
  transform: translate3d(2px, 2px, 0);
  transition: transform 0.2s ease-in-out;
}

.form-switch input {
  position: absolute;
  opacity: 0;
}

.form-switch input:focus-visible + i {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.form-switch input:checked + i {
  background-color: #8022f2;
}

.form-switch input:checked + i::after {
  transform: translate3d(22px, 2px, 0);
}
