.ysn-cdj {
  --ysn-cdj-yellow: #fecc59;
  --ysn-cdj-ink: #171717;
  --ysn-cdj-text: #404040;
  --ysn-cdj-border: #dedede;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 24px;
  padding: 22px;
  color: var(--ysn-cdj-text);
  background: #fff;
  border: 1px solid var(--ysn-cdj-border);
  border-top: 5px solid var(--ysn-cdj-yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  font-family: inherit;
}

.ysn-cdj *,
.ysn-cdj *::before,
.ysn-cdj *::after {
  box-sizing: border-box;
}

.ysn-cdj__heading {
  margin: 0 0 18px;
  padding: 0 0 11px;
  color: var(--ysn-cdj-ink);
  border-bottom: 1px solid #ececec;
  font: inherit;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.ysn-cdj__body {
  display: grid;
  grid-template-columns: minmax(125px, 170px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ysn-cdj__image-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #282828;
  border-radius: 3px;
}

.ysn-cdj__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 180ms ease;
}

.ysn-cdj__image-link:hover .ysn-cdj__image,
.ysn-cdj__image-link:focus .ysn-cdj__image {
  transform: scale(1.025);
}

.ysn-cdj__content {
  min-width: 0;
}

.ysn-cdj__song-title {
  margin: -3px 0 9px;
  padding: 0;
  border: 0;
  color: var(--ysn-cdj-ink);
  font: inherit;
  font-size: clamp(21px, 2.25vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ysn-cdj__song-title a,
.ysn-cdj__song-title a:hover,
.ysn-cdj__song-title a:focus {
  color: inherit;
  text-decoration: none;
}

.ysn-cdj__song-title a:hover,
.ysn-cdj__song-title a:focus {
  text-decoration: underline;
  text-decoration-color: var(--ysn-cdj-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.ysn-cdj__description {
  margin: 0 0 15px;
  color: var(--ysn-cdj-text);
  font-size: 16px;
  line-height: 1.62;
}

.ysn-cdj__button,
.ysn-cdj__button:visited {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 9px 16px;
  color: #111 !important;
  background: var(--ysn-cdj-yellow);
  border: 1px solid #e0ad35;
  border-radius: 3px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none !important;
  transition: background-color 150ms ease, transform 150ms ease;
}

.ysn-cdj__button:hover,
.ysn-cdj__button:focus {
  color: #111 !important;
  background: #ffd875;
  transform: translateY(-1px);
}

.ysn-cdj__button:focus-visible,
.ysn-cdj__image-link:focus-visible,
.ysn-cdj__song-title a:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.7);
  outline-offset: 3px;
}

.ysn-cdj__empty {
  padding: 12px;
  border-left: 4px solid #d63638;
  background: #fff;
}

.ysn-cdj--sidebar {
  margin-bottom: 20px;
  padding: 16px;
  border-top-width: 4px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.055);
}

.ysn-cdj--sidebar .ysn-cdj__heading {
  margin-bottom: 14px;
  padding-bottom: 9px;
  font-size: 18px;
}

.ysn-cdj--sidebar .ysn-cdj__body {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 13px;
}

.ysn-cdj--sidebar .ysn-cdj__content {
  display: contents;
}

.ysn-cdj--sidebar .ysn-cdj__image-link {
  grid-column: 1;
  grid-row: 1;
}

.ysn-cdj--sidebar .ysn-cdj__song-title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.ysn-cdj--sidebar .ysn-cdj__description {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.ysn-cdj--sidebar .ysn-cdj__button {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  min-height: 36px;
  padding: 8px 13px;
  font-size: 13px;
}

@media (max-width: 560px) {
  .ysn-cdj {
    padding: 17px;
  }

  .ysn-cdj__body {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 15px;
  }

  .ysn-cdj__song-title {
    font-size: 20px;
  }

  .ysn-cdj__description {
    grid-column: 1 / -1;
    font-size: 15px;
  }
}

@media (max-width: 410px) {
  .ysn-cdj--home .ysn-cdj__body {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ysn-cdj__image,
  .ysn-cdj__button {
    transition: none;
  }
}

