:root {
  --brand-ink: var(--text);
}
:root[data-theme="light"] {
  --brand-ink: var(--text);
}
html body .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.7px;
  color: var(--text);
}
html body .brand > img {
  width: 40px;
  height: 40px;
  flex: none;
}
html body .brand > span {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.2;
}
html body .brand b,
#welcome-home .brand b {
  color: var(--brand-ink);
  font-weight: inherit;
}
html body aside {
  width: 264px;
  padding: 24px 16px;
}
html body:not(.legal) > main {
  margin-left: 264px;
}
.provider-mark {
  display: inline-grid;
  place-items: center;
  width: var(--mark-size, 48px);
  height: var(--mark-size, 48px);
  border-radius: calc(var(--mark-size, 48px) / 4);
  overflow: hidden;
  flex: none;
  background: #121212;
  vertical-align: middle;
}
.provider-mark img {
  display: block;
  width: calc(var(--mark-size, 48px) * 2 / 3);
  height: calc(var(--mark-size, 48px) * 2 / 3);
  object-fit: contain;
}
.provider-mark[data-platform="soundcloud"] {
  background: #ff5500;
}
.provider-mark[data-platform="soundcloud"] img {
  width: 100%;
  height: 100%;
}
.provider-mark[data-platform="apple-music"] {
  background: transparent;
}
.provider-mark[data-platform="apple-music"] img {
  width: 100%;
  height: 100%;
}
.provider-mark[data-platform="merged"] {
  background: #272331;
}
.provider-selector,
#source-navigation.provider-selector {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 22px 0;
  flex: none;
}
.provider-selector .provider-link {
  display: grid;
  grid-template-columns: var(--mark-size, 48px) minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 10px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.16s;
}
.provider-selector .provider-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.4;
}
.provider-name small {
  display: block;
  font-size: 11px;
  font-weight: 450;
  color: var(--muted);
  margin-top: 2px;
}
.provider-current {
  font-size: 14px;
  color: var(--text);
  text-align: center;
}
.provider-selector .provider-link:hover {
  background: var(--surface);
  border-color: var(--line);
}
.provider-selector .provider-link[aria-current="page"] {
  background: var(--surface2);
  border-color: var(--line);
  box-shadow: inset 3px 0
    var(--shell-ink, var(--shell-accent, var(--accentInk)));
}
.provider-selector .provider-link[aria-current="page"] .provider-name {
  font-weight: 750;
}
.provider-selector .provider-link[data-platform="merged"] {
  margin-top: 8px;
  border-top-color: var(--line);
}
.provider-link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.provider-link.is-navigating .provider-current {
  width: 13px;
  height: 13px;
  border: 2px solid var(--muted);
  border-right-color: transparent;
  border-radius: 50%;
  font-size: 0;
  animation: provider-loading 0.8s linear infinite;
}
@keyframes provider-loading {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 760px) {
  html body aside {
    width: 100%;
    padding: 14px;
  }
  html body:not(.legal) > main {
    margin-left: 0;
  }
  html body .brand > img {
    width: 36px;
    height: 36px;
  }
  html body .brand > span {
    font-size: 21px;
  }
  html body aside .provider-selector,
  html body.music-shell aside #source-navigation.provider-selector {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 4px;
    margin: 12px -4px;
    scrollbar-width: thin;
  }
  .provider-selector .provider-link {
    flex: none;
    grid-template-columns: var(--mark-size, 48px) auto;
    gap: 9px;
    min-height: 64px;
    border-color: var(--line);
    padding: 8px 10px;
  }
  .provider-selector .provider-link[data-platform="merged"] {
    margin-top: 0;
  }
  .provider-selector .provider-current {
    display: none;
  }
  .provider-selector .provider-link[aria-current="page"] {
    box-shadow: inset 0 -3px
      var(--shell-ink, var(--shell-accent, var(--accentInk)));
  }
  .provider-selector .provider-link:focus-visible {
    outline-offset: -3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .provider-link {
    transition: none;
  }
  .provider-link.is-navigating .provider-current {
    animation: none;
  }
}

html body .brand b,
html body.source-youtube .brand b,
html body.source-combined .brand b {
  color: var(--brand-ink);
}

@media (min-width: 761px) {
  html body aside {
    overflow-y: auto;
  }
  html body aside nav {
    flex: none;
    overflow: visible;
  }
}
.provider-selector .provider-link[data-context="true"] {
  background: var(--surface2);
  border-color: var(--line);
}
html body aside .aside-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
html body aside .aside-bottom p {
  flex-basis: 100%;
}
