:root {
  --kc-header-height: 72px;
  --kc-nav: #ffffff;
  --kc-red: #e11d2e;
  --kc-ink: #101828;
  --kc-muted: #667085;
  --kc-line: #d0d5dd;
}

html.embed {
  --kc-header-height: 60px;
}

.topbar.kc-topbar,
.embed .topbar.kc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  height: var(--kc-header-height);
  min-height: var(--kc-header-height);
  padding: 8px max(14px, calc((100vw - 1180px) / 2));
  overflow: visible;
  border-bottom: 1px solid #e4e7ec;
  background: var(--kc-nav);
  color: var(--kc-ink);
  box-shadow: 0 2px 14px #10182814;
  position: sticky;
  top: 0;
  z-index: 200;
}

.kc-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-width: 196px;
  border-radius: 10px;
  color: var(--kc-ink);
  line-height: 1.05;
  text-decoration: none;
}

.kc-brand-mark {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 4px 12px #e11d2e2e;
}

.kc-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.kc-brand-name {
  color: var(--kc-ink);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.035em;
}

.kc-brand-name span {
  color: var(--kc-red);
}

.kc-brand-sub {
  margin-top: 5px;
  color: var(--kc-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kc-brand:hover .kc-brand-name,
.kc-brand:focus-visible .kc-brand-name {
  color: var(--kc-red);
}

.kc-brand:focus-visible {
  outline: 3px solid #fecdd3;
  outline-offset: 3px;
}

.embed .kc-brand-sub,
.embed .kc-library-label {
  display: none;
}

.embed .kc-brand-name {
  font-size: 16px;
}

.embed .kc-brand-mark {
  flex-basis: 36px;
  width: 36px;
  height: 36px;
  border-radius: 9px;
}


.embed .kc-picker-trigger {
  min-height: 46px;
}

.kc-library-label {
  color: var(--kc-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.kc-song-picker {
  position: relative;
  flex: 0 1 570px;
  width: min(570px, 62vw);
  min-width: 270px;
}

.kc-picker-trigger {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border: 1px solid #475467;
  border-radius: 12px;
  background: #fff;
  padding: 7px 11px 7px 8px;
  color: var(--kc-ink);
  text-align: left;
  box-shadow: 0 5px 18px #00000030;
  cursor: pointer;
}

.kc-picker-trigger:hover,
.kc-picker-trigger:focus-visible,
.kc-picker-trigger[aria-expanded="true"] {
  border-color: #fb7185;
  outline: 0;
  box-shadow: 0 0 0 3px #fb718542, 0 7px 20px #00000036;
}

.kc-picker-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  background: #fff1f2;
  color: var(--kc-red);
  font-size: 21px;
  font-weight: 900;
}

.kc-picker-copy {
  min-width: 0;
}

.kc-picker-label {
  display: block;
  margin-bottom: 2px;
  color: var(--kc-red);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.kc-picker-current {
  display: block;
  overflow: hidden;
  color: var(--kc-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kc-picker-chevron {
  color: #667085;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  transition: transform .16s ease;
}

.kc-picker-trigger[aria-expanded="true"] .kc-picker-chevron {
  transform: rotate(180deg);
}

.kc-picker-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(620px, calc(100vw - 24px));
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  color: var(--kc-ink);
  box-shadow: 0 22px 55px #10182838;
  z-index: 240;
}

.kc-picker-panel[hidden] {
  display: none !important;
}

.kc-picker-search-label {
  display: block;
  margin: 0 0 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}

.kc-picker-search {
  display: block;
  width: 100%;
  min-height: 50px;
  border: 1px solid #98a2b3;
  border-radius: 10px;
  background: #fff;
  padding: 11px 13px;
  color: var(--kc-ink);
  font: 700 15px/1.35 Inter, Arial, sans-serif;
  outline: none;
}

.kc-picker-search:focus {
  border-color: var(--kc-red);
  box-shadow: 0 0 0 3px #fecdd3;
}

.kc-picker-summary {
  min-height: 19px;
  margin: 9px 2px 7px;
  color: var(--kc-muted);
  font-size: 11px;
  font-weight: 800;
}

.kc-picker-results {
  display: grid;
  max-height: min(350px, calc(100vh - 235px));
  gap: 6px;
  overflow: auto;
  overscroll-behavior: contain;
}

.kc-picker-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  color: var(--kc-ink);
  text-decoration: none;
}

.kc-picker-result:hover,
.kc-picker-result:focus-visible {
  border-color: #fda4af;
  background: #fff8f8;
  outline: 0;
}

.kc-picker-result[aria-selected="true"] {
  border-color: #fda4af;
  background: #fff1f2;
}

.kc-picker-result strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kc-picker-result .kc-result-artist {
  grid-column: 1;
  color: var(--kc-muted);
  font-size: 12px;
}

.kc-picker-result .kc-result-meta {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.kc-picker-empty {
  padding: 20px 12px;
  border: 1px dashed #d0d5dd;
  border-radius: 10px;
  color: var(--kc-muted);
  text-align: center;
}

.kc-picker-all {
  display: block;
  margin-top: 10px;
  border-radius: 9px;
  background: #f2f4f7;
  padding: 10px;
  color: var(--kc-red);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.kc-picker-all:hover,
.kc-picker-all:focus-visible {
  background: #ffe4e6;
  outline: 0;
}

@media (min-width: 821px) {
  .kc-player-page .wrap,
  .embed .kc-player-page .wrap {
    height: calc(100vh - var(--kc-header-height)) !important;
    padding-top: 0;
  }
}

@media (max-width: 820px) {
  .topbar.kc-topbar,
  .embed .topbar.kc-topbar {
    gap: 8px;
    padding: 7px 8px;
  }

  .kc-brand {
    min-width: 112px;
  }

  .kc-brand-name {
    font-size: 14px;
    letter-spacing: 0;
  }

  .kc-brand-mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }


  .kc-brand-sub,
  .kc-library-label {
    display: none;
  }

  .kc-song-picker {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .kc-picker-trigger {
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    min-height: 56px;
    gap: 7px;
    padding: 6px 8px 6px 6px;
  }

  .kc-picker-icon {
    width: 32px;
    height: 38px;
    font-size: 18px;
  }

  .kc-picker-current {
    font-size: 13px;
  }

  .kc-picker-panel {
    position: fixed;
    top: calc(var(--kc-header-height) + 7px);
    right: 7px;
    left: 7px;
    width: auto;
    max-height: calc(100dvh - var(--kc-header-height) - 14px);
    overflow: auto;
  }

  .kc-player-page .playerbar {
    top: var(--kc-header-height) !important;
  }
}

@media (max-width: 430px) {
  .kc-brand {
    min-width: 96px;
  }

  .kc-brand-name,
  .embed .kc-brand-name {
    font-size: 12px;
  }

  .kc-brand-mark,
  .embed .kc-brand-mark {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }


  .kc-picker-label {
    font-size: 8px;
  }

  .kc-picker-result .kc-result-meta {
    display: none;
  }
}
