.video-duration {
  position: absolute;
  right: 0.5em;
  bottom: 0.5em;
  z-index: 10;
  padding: 0.1em 0.5em;
  color: #fff;
  font-size: 0.8em;
  background: #0000008f;
  border-radius: 8px;
  pointer-events: none;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4em 1em;
  color: #fff;
  fill: #fff;
  background: var(--base-dark-trans-70, rgb(0 0 0 / 70%));
  border: 0;
  border-radius: var(--btn-border-radius, 999px);
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  -webkit-tap-highlight-color: transparent;
}

.share-btn:hover,
.share-btn.is-copied {
  background: var(--action, #8022f2);
}

.profile-gradient-border {
  position: relative;
  isolation: isolate;
  background: #1d1f20;
  border-radius: 50%;
}

.profile-gradient-border::after {
  position: absolute;
  inset: -2px;
  z-index: 0;
  content: "";
  background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #8022f2, #5073b8, #1098ad, #07b39b, #6fba82);
  background-size: 300% 300%;
  border-radius: 50%;
  animation: profileanimatedgradient 6s ease alternate infinite;
}

.profile-gradient-border .channel-profile-image {
  position: relative;
  z-index: 1;
}

@keyframes profileanimatedgradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.jewkbox-artist-byline {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.jewkbox-artist-avatar {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
}

.jewkbox-artist-byline--single .jewkbox-artist-avatar {
  width: 4em;
  height: 4em;
}

.jewkbox-artist-byline--archive,
.jewkbox-artist-byline--hero {
  gap: 1.1em;
}

.jewkbox-artist-byline--archive .jewkbox-artist-avatar,
.jewkbox-artist-byline--hero .jewkbox-artist-avatar {
  width: 4em;
  height: 4em;
}

.jewkbox-video-card--large .jewkbox-artist-avatar {
  width: 3.25em;
  height: 3.25em;
}

.jewkbox-artist-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.jewkbox-artist-byline__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.jewkbox-artist-byline__label {
  color: var(--action, #a966ff);
  font-size: 0.68em;
  font-weight: 700;
  text-transform: uppercase;
}

.jewkbox-artist-byline__name {
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jewkbox-video-card--large .jewkbox-artist-byline__label,
.jewkbox-artist-byline--single .jewkbox-artist-byline__label {
  font-size: 0.76em;
}

.jewkbox-video-card--large .jewkbox-artist-byline__name {
  font-size: 1em;
}

.jewkbox-artist-byline--single .jewkbox-artist-byline__name {
  font-size: 1.1em;
}

.jewkbox-artist-byline--archive .jewkbox-artist-byline__name,
.jewkbox-artist-byline--hero .jewkbox-artist-byline__name {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.15;
}

.jewkbox-artist-byline--hero .jewkbox-artist-byline__label {
  font-size: 0.85em;
}

.jewkbox-artist-byline__count {
  color: #aaa;
  font-size: 0.95em;
}

.jewkbox-read-more__content {
  position: relative;
}

.jewkbox-read-more.is-collapsible .jewkbox-read-more__content {
  overflow: hidden;
}

.jewkbox-read-more.is-collapsed .jewkbox-read-more__content {
  max-height: 8em;
}

.jewkbox-read-more.is-collapsed .jewkbox-read-more__content::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.5em;
  content: "";
  background: linear-gradient(to bottom, transparent, #111119);
  pointer-events: none;
}

.jewkbox-read-more__toggle {
  padding: 0.35em 0;
  margin-top: 0.4em;
  color: var(--action-light, #b987ff);
  font: inherit;
  font-size: 0.9em;
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.jewkbox-read-more__toggle:hover,
.jewkbox-read-more__toggle:focus-visible {
  color: var(--action, #8022f2);
}

.jewkbox-read-more__toggle[hidden],
.jewkbox-read-more__less {
  display: none;
}

.jewkbox-read-more:not(.is-collapsed) .jewkbox-read-more__more {
  display: none;
}

.jewkbox-read-more:not(.is-collapsed) .jewkbox-read-more__less {
  display: inline;
}

.jewkbox-video-card {
  display: grid;
  min-width: 0;
  color: #fff;
}

.jewkbox-video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border-radius: var(--radius-m, 0.75em);
}

.jewkbox-video-card__thumbnail,
.jewkbox-video-card__preview,
.jewkbox-video-card__preview media-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.jewkbox-video-card__thumbnail {
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.jewkbox-video-card__preview,
.jewkbox-video-card__preview media-player {
  border: 0;
  pointer-events: none;
}

.jewkbox-video-card__preview {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.jewkbox-video-card__preview media-player,
.jewkbox-video-card__preview [data-media-provider] {
  position: relative;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.jewkbox-video-card__preview [data-media-provider] iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.jewkbox-video-card__preview iframe.vds-youtube[data-no-controls] {
  height: 1000%;
}

.jewkbox-video-card__preview * {
  pointer-events: none !important;
}

.jewkbox-video-card__media.is-previewing .jewkbox-video-card__thumbnail {
  opacity: 0;
}

.jewkbox-video-card__media.is-previewing .jewkbox-video-card__preview {
  opacity: 1;
}

.jewkbox-video-card__upcoming {
  position: absolute;
  right: 0.5em;
  bottom: 0.5em;
  z-index: 3;
  padding: 0.25em 0.55em;
  color: #fff;
  font-size: 0.75em;
  font-weight: 700;
  background: var(--action, #8022f2);
  border-radius: 999px;
}

.jewkbox-video-card__body {
  display: grid;
  gap: 0.65em;
  padding-top: 0.75em;
}

.jewkbox-video-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  unicode-bidi: plaintext;
}

.jewkbox-video-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  color: #999;
  font-size: 0.8em;
}

.jewkbox-video-card__meta time {
  flex: 0 0 auto;
}

.jewkbox-video-card--sidebar {
  grid-template-columns: minmax(7em, 42%) 1fr;
  align-items: start;
  gap: 0.75em;
}

.jewkbox-video-card--sidebar .jewkbox-video-card__body {
  align-content: start;
  padding: 0;
}

.jewkbox-video-card--sidebar .jewkbox-artist-avatar {
  display: none;
}

.jewkbox-video-card--sidebar .jewkbox-video-card__meta {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.25em;
}

/* Popular videos: full-width list used outside the homepage. */
.youtube-video-top-list {
  display: grid;
  gap: 2em;
}

.youtube-video-top-list__item {
  position: relative;
  display: flex;
  width: 100%;
  height: 10em;
  overflow: hidden;
  align-items: center;
  border: 0.094em solid #471f77;
}

.youtube-video-top-list__thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-video-top-list__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(#19062fe3 0%, #1d0935a1 70%);
  background-size: 1px 25em;
  transition: background-position 0.3s ease-in-out;
}

.youtube-video-top-list__item:hover .youtube-video-top-list__overlay {
  background-position: 6.25em;
}

.youtube-video-top-list__permalink {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.youtube-video-top-list__content {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  gap: 2em;
  padding: 0 1.25em;
  color: #fff;
  pointer-events: none;
}

.youtube-video-top-list__number {
  width: 2.5em;
  height: 2.5em;
  flex: 0 0 2.5em;
  color: #fff;
  font-weight: 700;
  line-height: 2.5em;
  text-align: center;
  background: var(--action, #8022f2);
  border-radius: 50%;
}

.youtube-video-top-list__text {
  display: grid;
  width: calc(100% - 3em);
  gap: 0.65em;
}

.youtube-video-top-list__content h2 {
  display: -webkit-box;
  max-height: 6em;
  overflow: hidden;
  margin: 0;
  line-height: 2em;
  overflow-wrap: break-word;
  text-overflow: ellipsis;
  white-space: normal;
  unicode-bidi: plaintext;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  align-items: left;
}

.youtube-video-top-list .jewkbox-artist-byline {
  position: relative;
  z-index: 4;
  width: fit-content;
  pointer-events: auto;
}

.youtube-video-top-list .jewkbox-artist-byline__label {
  color: var(--action-light-trans-80, #c89eff);
}

/* Popular videos: compact ranked cards used on the homepage. */
.jewkbox-top-videos {
  color: #fff;
}

.jewkbox-top-videos__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 1em;
}

.jewkbox-top-videos__header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.3em;
}

.jewkbox-top-videos__heading {
  display: grid;
  gap: 0.25em;
}

.jewkbox-top-videos__heading p {
  margin: 0;
  color: rgb(255 255 255 / 58%);
  font-size: 0.85em;
}

.jewkbox-top-videos__header a {
  color: var(--action-light-trans-80, #c89eff);
  font-size: 0.8em;
  text-decoration: none;
}

.jewkbox-mobile-splide {
  visibility: visible;
}

.jewkbox-home-hero {
  overflow: hidden;
  color: #fff;
  background: #0d0b11;
  border: 0.08em solid rgb(255 255 255 / 7%);
  border-radius: 1em;
  visibility: visible;
  height: 35em;
}

.jewkbox-home-hero:not(.is-initialized) .splide__slide {
  width: 100%;
}

.jewkbox-home-hero .splide__track,
.jewkbox-home-hero .splide__list,
.jewkbox-home-hero .splide__slide {
  min-height: inherit;
}

.jewkbox-home-hero__slide {
  position: relative;
  display: flex;
  height: 35em;
  overflow: hidden;
  align-items: center;
  isolation: isolate;
  background: #0d0b11;
}

.jewkbox-home-hero__background,
.jewkbox-home-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.jewkbox-home-hero__background {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.jewkbox-home-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(7 5 13 / 96%) 0%, rgb(10 7 17 / 80%) 37%, rgb(10 7 17 / 20%) 72%),
    linear-gradient(0deg, rgb(7 5 13 / 75%) 0%, transparent 42%);
}

.jewkbox-home-hero__content {
  display: flex;
  width: min(48em, 62%);
  padding: 4em;
  flex-direction: column;
  align-items: flex-start;
}

.jewkbox-home-hero__eyebrow {
  margin-bottom: 0.8em;
  color: var(--action-light, #b987ff);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jewkbox-home-hero__artist {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5em, 5vw, 4.6em);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0.08em 0.3em rgb(0 0 0 / 38%);
  unicode-bidi: plaintext;
}

.jewkbox-home-hero__artist a {
  color: inherit;
  text-decoration: none;
}

.jewkbox-home-hero__title {
  margin: 0.45em 0 0;
  color: var(--action-light, #b987ff);
  font-size: clamp(1.35em, 2.4vw, 2.25em);
  line-height: 1.15;
  unicode-bidi: plaintext;
  text-align: left;
}

.jewkbox-home-hero__description {
  display: -webkit-box;
  max-width: 38em;
  overflow: hidden;
  margin: 1em 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: 1em;
  line-height: 1.5;
  unicode-bidi: plaintext;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jewkbox-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
  margin-top: 1.6em;
}

.jewkbox-home-hero__button {
  display: inline-flex;
  min-height: 3.2em;
  padding: 0.65em 1.4em;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.55em;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.jewkbox-home-hero__button:hover,
.jewkbox-home-hero__button:focus-visible {
  color: #fff;
  transform: translateY(-0.1em);
}

.jewkbox-home-hero__button--primary {
  background: linear-gradient(135deg, var(--action, #8022f2), #a539ff);
  box-shadow: 0 0.7em 2em rgb(128 34 242 / 25%);
}

.jewkbox-home-hero__button--primary:hover,
.jewkbox-home-hero__button--primary:focus-visible {
  background: linear-gradient(135deg, #9131ff, #b54cff);
}

.jewkbox-home-hero__button--secondary {
  background: rgb(11 9 16 / 48%);
  border: 0.08em solid rgb(255 255 255 / 20%);
  backdrop-filter: blur(0.4em);
}

.jewkbox-home-hero__button--secondary:hover,
.jewkbox-home-hero__button--secondary:focus-visible {
  background: rgb(255 255 255 / 12%);
  border-color: rgb(255 255 255 / 35%);
}

.jewkbox-home-hero__button svg {
  width: 1.4em;
  height: 1.4em;
  fill: currentcolor;
}

.jewkbox-home-hero .splide__pagination {
  position: absolute;
  right: 4em;
  bottom: 1.6em;
  left: 4em;
  z-index: 4;
  gap: 0.55em;
  padding: 0;
}

.jewkbox-home-hero .splide__pagination__page {
  display: block;
  width: 0.7em;
  height: 0.7em;
  padding: 0;
  background: rgb(255 255 255 / 42%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.jewkbox-home-hero .splide__pagination__page.is-active {
  width: 1.8em;
  background: var(--action, #8022f2);
}

.jewkbox-home-hero__toggle {
  position: absolute;
  right: 1.5em;
  bottom: 1.25em;
  z-index: 5;
  width: 2.2em;
  height: 2.2em;
  padding: 0;
  color: #fff;
  font-size: 0.75em;
  background: rgb(5 3 10 / 58%);
  border: 0.08em solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-video-top-cards .splide__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2em;
}

.youtube-video-top-cards .splide__slide {
  min-width: 0;
}

.youtube-video-top-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 3.35em minmax(0, 1fr);
  align-items: start;
}

.youtube-video-top-card__number {
  position: relative;
  z-index: 0;
  margin-top: 0.08em;
  margin-right: -0.08em;
  color: #471f77;
  font-size: 5em;
  font-weight: 800;
  line-height: 0.8;
  text-align: center;
}

.youtube-video-top-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 0.35em;
}

.youtube-video-top-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border: 0.08em solid #471f77;
  border-radius: 0.55em;
}

.youtube-video-top-card__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.youtube-video-top-card__media:hover .youtube-video-top-card__thumbnail {
  transform: scale(1.035);
}

.youtube-video-top-card__title {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 0.86em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  text-overflow: ellipsis;
  unicode-bidi: plaintext;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.youtube-video-top-card .jewkbox-artist-byline {
  width: fit-content;
  max-width: 100%;
  color: #aaa;
  font-size: 0.8em;
}

.youtube-video-top-card .jewkbox-artist-avatar,
.youtube-video-top-card .jewkbox-artist-byline__label {
  display: none;
}

.youtube-video-top-card .jewkbox-artist-byline__name {
  color: inherit;
}

.jewkbox-popular-artists {
  color: #fff;
}

.jewkbox-popular-artists__header {
  margin-bottom: 1em;
}

.jewkbox-popular-artists__header h2 {
  margin: 0;
  font-size: 1.3em;
}

.jewkbox-popular-artists__header a {
  color: #fff;
  text-decoration: none;
}

.jewkbox-popular-artists__header a:hover,
.jewkbox-popular-artists__header a:focus-visible {
  color: var(--action-light, #b987ff);
}

.jewkbox-popular-artists__splide .splide__list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2em;
}

.jewkbox-popular-artists__splide .splide__slide {
  min-width: 0;
  padding-top: 1em;
}

.jewkbox-popular-artist {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 0.8em;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.jewkbox-popular-artist__image {
  position: relative;
  display: flex;
  width: calc(100% - 0.3em);
  max-width: 10em;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  background: #1b1922;
  border-radius: 50%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jewkbox-popular-artist:hover .jewkbox-popular-artist__image,
.jewkbox-popular-artist:focus-visible .jewkbox-popular-artist__image {
  box-shadow: 0 0 0 0.18em rgb(128 34 242 / 22%), 0 0.8em 2em rgb(0 0 0 / 25%);
  transform: translateY(-0.2em);
}

.jewkbox-popular-artist__image img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.jewkbox-popular-artist__name {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  font-size: 0.9em;
  line-height: 1.25;
  text-overflow: ellipsis;
  unicode-bidi: plaintext;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jewkbox-popular-artist--view-all .jewkbox-popular-artist__image {
  color: rgb(255 255 255 / 65%);
  background: linear-gradient(145deg, #24222d, #181620);
  border: 0.08em solid rgb(255 255 255 / 7%);
}

.jewkbox-popular-artist__ellipsis {
  font-size: 1.5em;
  letter-spacing: 0.2em;
  transform: translateX(0.1em);
}

@media (max-width: 75em) {
  .youtube-video-top-cards .splide__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jewkbox-popular-artists__splide .splide__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 48em) {
  .jewkbox-home-hero {
    min-height: 32em;
    border-radius: 0.8em;
  }

  .jewkbox-home-hero__slide {
    min-height: 32em;
    align-items: flex-end;
  }

  .jewkbox-home-hero__background {
    object-position: 58% center;
  }

  .jewkbox-home-hero__overlay {
    background:
      linear-gradient(0deg, rgb(7 5 13 / 98%) 0%, rgb(7 5 13 / 76%) 48%, rgb(7 5 13 / 20%) 100%),
      linear-gradient(90deg, rgb(7 5 13 / 62%) 0%, transparent 100%);
  }

  .jewkbox-home-hero__content {
    width: 100%;
    box-sizing: border-box;
    padding: 2em 1.4em 4.5em;
  }

  .jewkbox-home-hero__artist {
    font-size: 2.4em;
  }

  .jewkbox-home-hero__title {
    font-size: 1.35em;
  }

  .jewkbox-home-hero__description {
    font-size: 0.9em;
    -webkit-line-clamp: 2;
  }

  .jewkbox-home-hero__actions {
    margin-top: 1.2em;
  }

  .jewkbox-home-hero__button {
    min-height: 3em;
    padding: 0.6em 1em;
    font-size: 0.82em;
  }

  .jewkbox-home-hero .splide__pagination {
    right: 3.5em;
    bottom: 1.35em;
    left: 1.4em;
    justify-content: flex-start;
  }

  .jewkbox-home-hero__toggle {
    right: 1em;
    bottom: 0.95em;
  }

  .youtube-video-top-cards .splide__list,
  .jewkbox-popular-artists__splide .splide__list {
    display: flex;
    gap: 0;
  }

  .youtube-video-top-cards .splide__slide {
    min-width: 0;
  }

  .youtube-video-top-card {
    height: 100%;
  }

  .jewkbox-popular-artists__splide .splide__slide {
    width: 8.75em;
  }

  .jewkbox-popular-artist__image {
    width: 8em;
  }
}

@media (max-width: 30em) {
  .jewkbox-top-videos__header {
    align-items: flex-start;
    flex-direction: column;
  }

}

.jewkbox-search-outer {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.jewkbox-search-results {
  position: absolute;
  top: 3em;
  z-index: 1000;
  display: flex;
  max-width: 600px;
  padding: 1em;
  flex-direction: column;
  gap: 1em;
  background: var(--base-dark, #171419);
  border-radius: 8px;
}

.jewkbox-search-results[hidden] {
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.5em;
  border-radius: 10px;
}

.search-result-item:hover {
  background: #f0f8ff1c;
}

.search-result-item a,
.search-result-item p {
  color: #fff;
  font-size: 0.9em;
}

.search-result-item img {
  width: 4em;
  height: 3em;
  object-fit: cover;
  border-radius: 4px;
}

.search-input-container {
  position: relative;
  max-width: 600px;
  overflow: hidden;
  background: #2e2b33;
  border-radius: 50px;
}

.ajax-search-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  z-index: 10;
  width: 20px;
  height: 20px;
  padding: 0;
  fill: #fff;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.search-input-container input[type="text"],
.search-input-container input[type="search"] {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 8px 8px 35px;
  color: #fff;
  font: inherit;
  background: transparent;
  border: 0;
}

.jewkbox-search-field::placeholder {
  font-size: 0.8em;
}

.search-artists-section,
.search-videos-section {
  display: flex;
  flex-direction: column;
}

.search-section-title {
  padding-bottom: 0.3em;
  margin-bottom: 0.3em;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.search-artist-item img {
  width: 3em;
  height: 3em;
  object-fit: cover;
  border-radius: 50%;
}

.jewkbox-search-state {
  margin: 0;
  color: rgb(255 255 255 / 68%);
  font-size: 0.9em;
  text-align: center;
}

.jewkbox-search-state.is-error {
  color: #ffb4b4;
}

.jewkbox-mobile-search-trigger {
  display: none;
  width: 3em;
  height: 3em;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgb(255 255 255 / 10%);
  border: 0.08em solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  box-shadow: 0 0.5em 1.5em rgb(0 0 0 / 18%);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.jewkbox-mobile-search-trigger:hover,
.jewkbox-mobile-search-trigger:focus-visible {
  background: rgb(255 255 255 / 17%);
  border-color: var(--action, #8022f2);
}

.jewkbox-mobile-search-trigger svg {
  width: 1.45em;
  height: 1.45em;
  fill: currentcolor;
}

.jewkbox-mobile-search-dialog {
  color: #fff;
  color-scheme: dark;
}

.jewkbox-mobile-search-dialog:not([open]) {
  display: none;
}

.jewkbox-mobile-search-dialog::backdrop {
  background: rgb(5 3 10 / 82%);
  backdrop-filter: blur(0.35em);
}

.jewkbox-mobile-search-dialog__inner {
  min-height: 100%;
}

.jewkbox-mobile-search-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.jewkbox-mobile-search-dialog__header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.35em;
}

.jewkbox-mobile-search-dialog__close {
  display: inline-flex;
  width: 3em;
  height: 3em;
  padding: 0;
  flex: 0 0 3em;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgb(255 255 255 / 9%);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.jewkbox-mobile-search-dialog__close:hover,
.jewkbox-mobile-search-dialog__close:focus-visible {
  color: var(--action-light, #b987ff);
  background: rgb(255 255 255 / 15%);
}

.jewkbox-mobile-search-dialog__close svg {
  width: 1.4em;
  height: 1.4em;
  fill: currentcolor;
}

body.jewkbox-search-dialog-open {
  overflow: hidden;
}

@media (max-width: 48em) {
  .jewkbox-search--desktop {
    display: none;
  }

  .jewkbox-mobile-search-trigger {
    display: inline-flex;
  }

  .jewkbox-mobile-search-dialog {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #2c1645 0%, #15111b 42%, #0d0b11 100%);
    border: 0;
  }

  .jewkbox-mobile-search-dialog[open] {
    display: block;
  }

  .jewkbox-mobile-search-dialog__inner {
    display: flex;
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    padding: max(1em, env(safe-area-inset-top)) max(1em, env(safe-area-inset-right)) max(1em, env(safe-area-inset-bottom)) max(1em, env(safe-area-inset-left));
    flex-direction: column;
    gap: 1.25em;
  }

  .jewkbox-search--mobile {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    gap: 1em;
  }

  .jewkbox-search--mobile .search-input-container {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    background: rgb(255 255 255 / 10%);
    border: 0.08em solid rgb(255 255 255 / 15%);
    box-shadow: 0 1em 3em rgb(0 0 0 / 18%);
  }

  .jewkbox-search--mobile .search-input-container:focus-within {
    border-color: var(--action, #8022f2);
    box-shadow: 0 0 0 0.2em rgb(128 34 242 / 20%);
  }

  .jewkbox-search--mobile .search-input-container input[type="search"] {
    min-height: 3.4em;
    padding: 0.8em 1em 0.8em 3em;
    font-size: 1em;
    outline: 0;
  }

  .jewkbox-search--mobile .ajax-search-icon {
    left: 1em;
    width: 1.35em;
    height: 1.35em;
  }

  .jewkbox-search--mobile .jewkbox-search-results {
    position: static;
    z-index: auto;
    width: 100%;
    max-width: none;
    min-height: 0;
    max-height: none;
    padding: 0.25em;
    overflow-y: auto;
    flex: 1;
    gap: 1.25em;
    background: transparent;
    border-radius: 0;
    overscroll-behavior: contain;
  }

  .jewkbox-search--mobile .search-result-item {
    min-height: 4em;
    padding: 0.65em;
    background: rgb(255 255 255 / 5%);
    border: 0.08em solid rgb(255 255 255 / 7%);
    border-radius: 0.75em;
  }

  .jewkbox-search--mobile .search-result-item:hover,
  .jewkbox-search--mobile .search-result-item:focus-visible {
    background: rgb(255 255 255 / 11%);
    border-color: rgb(255 255 255 / 14%);
  }

  .jewkbox-search--mobile .search-result-item p {
    margin: 0;
    font-size: 0.95em;
  }

  .jewkbox-search--mobile .search-section-title {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.55em 0.25em;
    margin: 0;
    background: #15111b;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-gradient-border::after {
    animation: none;
  }
}
