.djsdg-library,
.djsdg-single-track,
.djsdg-library-lock {
  --djsdg-ink: #ffffff;
  --djsdg-muted: #c9c9c9;
  --djsdg-bg: #1a1a1a;
  --djsdg-panel: #242424;
  --djsdg-panel-strong: #303030;
  --djsdg-line: rgba(255, 255, 255, .13);
  --djsdg-pink: #ff6a00;
  --djsdg-purple: #ff7f1a;
  --djsdg-green: #3cd99b;
  box-sizing: border-box;
  color: var(--djsdg-ink);
  font-family: inherit;
}

.djsdg-library *,
.djsdg-single-track *,
.djsdg-library-lock * {
  box-sizing: border-box;
}

.djsdg-library {
  position: relative;
  overflow: hidden;
  margin: 28px auto;
  max-width: 1180px;
  padding: clamp(30px, 5vw, 70px);
  border: 1px solid var(--djsdg-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(121, 92, 249, .32), transparent 25rem),
    radial-gradient(circle at 7% 93%, rgba(241, 55, 131, .2), transparent 30rem),
    var(--djsdg-bg);
  box-shadow: 0 30px 80px rgba(4, 6, 22, .22);
}

.djsdg-library::after {
  position: absolute;
  top: -130px;
  right: -95px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.djsdg-library-heading {
  position: relative;
  z-index: 1;
  max-width: 630px;
  margin-bottom: 34px;
}

.djsdg-eyebrow {
  display: inline-block;
  margin: 0 0 9px;
  color: #cfc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
}

.djsdg-library h1,
.djsdg-single-track h2,
.djsdg-single-track h3,
.djsdg-library h2 {
  margin: 0;
  color: var(--djsdg-ink);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -.035em;
}

.djsdg-library h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: .97;
}

.djsdg-library-heading > p {
  max-width: 555px;
  margin: 16px 0 0;
  color: var(--djsdg-muted);
  font-size: 16px;
  line-height: 1.65;
}

.djsdg-track-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.djsdg-library-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--djsdg-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.djsdg-library-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .09);
}

.djsdg-library-cover {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / .82;
  background: #151b3b;
}

.djsdg-library-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 6, 20, .5));
  content: '';
  pointer-events: none;
}

.djsdg-library-cover img,
.djsdg-single-track-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.djsdg-library-card-body {
  display: flex;
  min-height: 176px;
  flex: 1;
  flex-direction: column;
  padding: 21px;
}

.djsdg-library-card-body .djsdg-eyebrow {
  margin-bottom: 7px;
  color: #ffbdd9;
  font-size: 9px;
}

.djsdg-library h2 {
  font-size: clamp(22px, 2.3vw, 29px);
  line-height: 1.04;
}

.djsdg-library h2 a {
  color: inherit;
  text-decoration: none;
}

.djsdg-track-meta {
  margin: 9px 0 0;
  color: var(--djsdg-muted);
  font-size: 14px;
  line-height: 1.45;
}

.djsdg-open-track {
  margin-top: auto;
  padding-top: 19px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.djsdg-open-track span {
  display: inline-block;
  margin-left: 3px;
  color: #ffa8cd;
  font-size: 18px;
  transition: transform .2s ease;
}

.djsdg-library-card:hover .djsdg-open-track span {
  transform: translateX(4px);
}

.djsdg-empty-state {
  position: relative;
  z-index: 1;
  padding: 30px;
  border: 1px dashed var(--djsdg-line);
  border-radius: 15px;
  color: var(--djsdg-muted);
  text-align: center;
}

.djsdg-single-track {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.25fr);
  max-width: 950px;
  margin: 34px auto;
  overflow: hidden;
  border: 1px solid var(--djsdg-line);
  border-radius: 25px;
  background:
    radial-gradient(circle at 90% 10%, rgba(121, 92, 249, .3), transparent 30rem),
    var(--djsdg-bg);
  box-shadow: 0 24px 65px rgba(4, 6, 22, .22);
}

.djsdg-single-track-art {
  min-height: 100%;
  background: linear-gradient(145deg, #592c87, #090d25);
}

.djsdg-single-track-art > img,
.djsdg-single-track-art > .djsdg-cover-placeholder {
  min-height: 100%;
}

.djsdg-single-track-info {
  padding: clamp(28px, 5vw, 56px);
}

.djsdg-single-track h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.djsdg-single-track-info > .djsdg-track-meta {
  margin-bottom: 28px;
  font-size: 15px;
}

.djsdg-cover-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .18), transparent 33%),
    linear-gradient(145deg, #f13783, #6338c7 58%, #0a1233);
  color: #fff;
  font-family: Arial, sans-serif;
  line-height: .8;
}

.djsdg-cover-placeholder span {
  font-size: clamp(48px, 9vw, 102px);
  font-weight: 900;
  letter-spacing: -.12em;
}

.djsdg-cover-placeholder strong {
  margin-left: 9px;
  font-size: clamp(20px, 3vw, 37px);
  letter-spacing: .15em;
}

.djsdg-gate {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 18px;
  background: rgba(255, 255, 255, .065);
}

.djsdg-gate-intro h3 {
  font-size: 21px;
  line-height: 1.1;
}

.djsdg-gate-intro p {
  margin: 9px 0 0;
  color: var(--djsdg-muted);
  font-size: 14px;
  line-height: 1.58;
}

.djsdg-social-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 19px;
}

.djsdg-social-button {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--djsdg-line);
  border-radius: 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.djsdg-social-button:hover,
.djsdg-social-button:focus-visible {
  transform: translateY(-2px);
  color: #fff;
}

.djsdg-social-instagram {
  background: linear-gradient(135deg, rgba(237, 65, 141, .45), rgba(142, 57, 225, .35));
}

.djsdg-social-tiktok {
  background: linear-gradient(135deg, rgba(33, 216, 211, .28), rgba(250, 44, 84, .28));
}

.djsdg-social-button.is-visited {
  border-color: rgba(60, 217, 155, .75);
  box-shadow: inset 0 0 0 1px rgba(60, 217, 155, .25);
}

.djsdg-social-button.is-visited::after {
  margin-left: 2px;
  color: var(--djsdg-green);
  content: '✓';
}

.djsdg-social-mark {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.djsdg-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 17px 0 0;
  color: #dfe2f7;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.djsdg-confirmation input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--djsdg-pink);
}

.djsdg-download-button {
  display: inline-flex;
  width: 100%;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 18px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(110deg, #ed367f, #795cf9);
  box-shadow: 0 11px 24px rgba(121, 92, 249, .25);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

.djsdg-download-button:not(:disabled):hover,
.djsdg-download-button:not(:disabled):focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.djsdg-download-button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(.2);
  opacity: .48;
}

.djsdg-download-button.is-loading {
  cursor: wait;
}

.djsdg-gate-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--djsdg-muted);
  font-size: 12px;
  line-height: 1.45;
}

.djsdg-gate-status[data-state="success"] {
  color: var(--djsdg-green);
}

.djsdg-gate-status[data-state="error"] {
  color: #ff9ca9;
}

.djsdg-password-input {
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
  color: #fff;
  font: inherit;
}

.djsdg-file-missing {
  padding: 16px;
  border: 1px solid rgba(255, 196, 83, .35);
  border-radius: 12px;
  background: rgba(255, 196, 83, .1);
  color: #ffe1a4;
  font-size: 14px;
}

.djsdg-listen-section {
  width: 100%;
  max-width: 600px;
  margin: 19px auto 0;
  text-align: left;
}

.djsdg-listen-heading {
  display: block;
  margin-bottom: 10px;
  color: #e9e5e2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.djsdg-listen-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.djsdg-listen-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}

.djsdg-listen-button:hover,
.djsdg-listen-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .44);
  color: #fff;
  filter: brightness(1.1);
}

.djsdg-listen-mark {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.djsdg-listen-button--youtube { background: linear-gradient(135deg, #b60813, #ef2731); }
.djsdg-listen-button--soundcloud { background: linear-gradient(135deg, #e85513, #ff9128); }
.djsdg-listen-button--spotify { background: linear-gradient(135deg, #137936, #20b85a); }
.djsdg-listen-button--apple-music { background: linear-gradient(135deg, #d74b89, #fc7062); }
.djsdg-listen-button--deezer { background: linear-gradient(135deg, #8a3ff7, #ff5c7b); }
.djsdg-listen-button--tidal { background: linear-gradient(135deg, #252525, #5d5d5d); }
.djsdg-listen-button--bandcamp { background: linear-gradient(135deg, #1c7183, #369eb4); }
.djsdg-listen-button--audiomack { background: linear-gradient(135deg, #ed6425, #ffb026); }
.djsdg-listen-button--tiktok { background: linear-gradient(135deg, #1a6e74, #ab3d5a); }
.djsdg-listen-button--other { background: linear-gradient(135deg, #5a473d, #8b6248); }

@media (max-width: 820px) {
  .djsdg-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .djsdg-single-track {
    grid-template-columns: 1fr;
  }

  .djsdg-single-track-art {
    min-height: 300px;
    max-height: 460px;
  }
}

@media (max-width: 530px) {
  .djsdg-library {
    margin-right: 0;
    margin-left: 0;
    padding: 28px 19px;
    border-radius: 19px;
  }

  .djsdg-track-grid {
    grid-template-columns: 1fr;
  }

  .djsdg-library-card {
    flex-direction: row;
  }

  .djsdg-library-cover {
    width: 39%;
    min-width: 125px;
    aspect-ratio: auto;
  }

  .djsdg-library-card-body {
    min-height: 160px;
    padding: 18px;
  }

  .djsdg-library h2 {
    font-size: 22px;
  }

  .djsdg-single-track {
    margin-right: 0;
    margin-left: 0;
    border-radius: 19px;
  }

  .djsdg-single-track-art {
    min-height: 260px;
  }

  .djsdg-single-track-info {
    padding: 28px 20px;
  }

  .djsdg-gate {
    padding: 18px;
  }

  .djsdg-social-actions {
    grid-template-columns: 1fr;
  }

  .djsdg-listen-actions {
    grid-template-columns: 1fr;
  }
}

.djsdg-download-frame {
  position: fixed;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.djsdg-newsletter-overlay {
  display: flex;
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(2, 3, 11, .78);
  backdrop-filter: blur(8px);
  animation: djsdg-newsletter-fade .2s ease both;
}

.djsdg-newsletter-dialog {
  position: relative;
  width: min(100%, 470px);
  padding: clamp(28px, 6vw, 42px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 94% 4%, rgba(139, 91, 246, .45), transparent 14rem),
    radial-gradient(circle at 4% 100%, rgba(255, 106, 0, .24), transparent 16rem),
    #15151d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .54);
  animation: djsdg-newsletter-pop .25s ease both;
}

.djsdg-newsletter-close {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  color: #e8e5f1;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, .09);
}

.djsdg-newsletter-eyebrow {
  display: block;
  margin-bottom: 11px;
  color: #c6b9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.djsdg-newsletter-dialog h3 {
  max-width: 355px;
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 5vw, 38px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.djsdg-newsletter-copy {
  margin: 14px 0 0;
  color: #d1cdda;
  font-size: 15px;
  line-height: 1.6;
}

.djsdg-newsletter-form {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.djsdg-newsletter-email {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 11px;
  color: #fff;
  font: inherit;
  outline: 0;
  background: rgba(0, 0, 0, .24);
}

.djsdg-newsletter-email:focus {
  border-color: #ff8a4a;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, .18);
}

.djsdg-newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #ddd8e7;
  font-size: 12px;
  line-height: 1.45;
}

.djsdg-newsletter-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: #ff6a00;
}

.djsdg-newsletter-consent a {
  color: #ffd0b1;
}

.djsdg-newsletter-feedback {
  min-height: 0;
  margin: 0;
  color: #ffd5da;
  font-size: 13px;
  line-height: 1.45;
}

.djsdg-newsletter-feedback[data-state="success"] {
  color: #8ce6bb;
}

.djsdg-newsletter-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.djsdg-newsletter-submit,
.djsdg-newsletter-dismiss {
  min-height: 49px;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.djsdg-newsletter-submit {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff6a00, #ff8849);
  box-shadow: 0 12px 26px rgba(255, 106, 0, .22);
}

.djsdg-newsletter-submit:disabled {
  cursor: wait;
  opacity: .75;
}

.djsdg-newsletter-dismiss {
  padding: 0 10px;
  border: 0;
  color: #d4cfde;
  background: transparent;
}

.djsdg-newsletter-close:hover,
.djsdg-newsletter-close:focus-visible,
.djsdg-newsletter-dismiss:hover,
.djsdg-newsletter-dismiss:focus-visible {
  color: #fff;
  outline: none;
}

.djsdg-newsletter-submit:hover,
.djsdg-newsletter-submit:focus-visible {
  filter: brightness(1.08);
  outline: none;
}

@keyframes djsdg-newsletter-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes djsdg-newsletter-pop {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 530px) {
  .djsdg-newsletter-overlay {
    align-items: flex-end;
    padding: 12px;
  }

  .djsdg-newsletter-dialog {
    padding: 30px 22px 25px;
    border-radius: 21px;
  }

  .djsdg-newsletter-actions {
    grid-template-columns: 1fr;
  }

  .djsdg-newsletter-dismiss {
    min-height: 38px;
  }
}

/* Dedicated single-track template: it deliberately bypasses a theme's generic page hero. */
.djsdg-track-template {
  --djsdg-track-top-space: clamp(56px, 5vw, 76px);
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  /*
   * The theme header is fixed and therefore sits outside normal document
   * flow. Reserve its desktop height (105px) before the download card.
   */
  padding: 105px 22px clamp(52px, 7vw, 104px) !important;
  background:
    radial-gradient(circle at 13% 3%, rgba(255, 106, 0, .18), transparent 26rem),
    radial-gradient(circle at 92% 84%, rgba(255, 127, 26, .11), transparent 27rem),
    #151515;
}

.djsdg-track-template-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-top: var(--djsdg-track-top-space);
}

/* Target the exact element styled by the theme. */
main#primary.djsdg-track-template {
  padding-top: 105px !important;
}

/* WordPress adds a 32px admin bar above the fixed site header when logged in. */
body.admin-bar main#primary.djsdg-track-template {
  padding-top: 137px !important;
}

.djsdg-track-template .djsdg-single-track {
  display: grid !important;
  grid-template-columns: minmax(270px, .88fr) minmax(0, 1.22fr);
  width: 100%;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 135, 44, .38);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 106, 0, .19), transparent 28rem),
    #1e1e1e;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.djsdg-track-template .djsdg-single-track-art {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: linear-gradient(145deg, #ff6a00, #742a00 52%, #171717);
}

.djsdg-track-template .djsdg-single-track-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .42), transparent 55%);
  content: '';
  pointer-events: none;
}

.djsdg-track-template .djsdg-single-track-art > img,
.djsdg-track-template .djsdg-single-track-art > .djsdg-cover-placeholder {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 510px;
  object-fit: cover;
}

.djsdg-track-template .djsdg-cover-placeholder {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, .25), transparent 33%),
    linear-gradient(145deg, #ff7f1a, #bc4300 55%, #171717);
}

.djsdg-track-template .djsdg-single-track-info {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(30px, 5.5vw, 68px);
}

.djsdg-track-template .djsdg-eyebrow {
  color: #ffae70;
}

.djsdg-track-template .djsdg-single-track h2 {
  max-width: 720px;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: .95;
  overflow-wrap: anywhere;
}

.djsdg-track-template .djsdg-track-meta {
  color: #d2d2d2;
  font-size: 15px;
}

.djsdg-track-template .djsdg-gate,
.djsdg-track-template .djsdg-file-missing {
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
  border-color: rgba(255, 153, 74, .36);
  background: rgba(255, 255, 255, .055);
}

.djsdg-track-template .djsdg-gate-intro h3 {
  font-size: 24px;
}

.djsdg-track-template .djsdg-download-button {
  background: linear-gradient(110deg, #ff6a00, #ff8a38);
  box-shadow: 0 12px 28px rgba(255, 106, 0, .25);
}

.djsdg-track-template .djsdg-social-button.is-visited {
  border-color: #ff9a54;
  box-shadow: inset 0 0 0 1px rgba(255, 154, 84, .24);
}

.djsdg-track-template .djsdg-social-button.is-visited::after {
  color: #ffb27b;
}

@media (max-width: 820px) {
  .djsdg-track-template {
    padding-right: 16px;
    padding-left: 16px;
  }

  .djsdg-track-template .djsdg-single-track {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .djsdg-track-template .djsdg-single-track-art,
  .djsdg-track-template .djsdg-single-track-art > img,
  .djsdg-track-template .djsdg-single-track-art > .djsdg-cover-placeholder {
    min-height: 320px;
    max-height: 440px;
  }
}

@media (max-width: 530px) {
  .djsdg-track-template {
    --djsdg-track-top-space: 42px;
    padding-top: 100px !important;
    padding-right: 12px;
    padding-left: 12px;
  }

  main#primary.djsdg-track-template {
    padding-top: 100px !important;
  }

  body.admin-bar main#primary.djsdg-track-template {
    padding-top: 140px !important;
  }

  .djsdg-track-template .djsdg-single-track {
    border-radius: 18px;
  }

  .djsdg-track-template .djsdg-single-track-art,
  .djsdg-track-template .djsdg-single-track-art > img,
  .djsdg-track-template .djsdg-single-track-art > .djsdg-cover-placeholder {
    min-height: 272px;
  }

  .djsdg-track-template .djsdg-single-track-info {
    padding: 29px 21px;
  }

  .djsdg-track-template .djsdg-single-track h2 {
    font-size: clamp(36px, 13vw, 56px);
  }

  .djsdg-track-template .djsdg-gate {
    margin-top: 24px;
  }
}

/* Minimal no-cover mode used for all new uploads. */
.djsdg-library-card--no-cover {
  display: block;
}

.djsdg-library-card--no-cover .djsdg-library-card-body {
  min-height: 190px;
}

.djsdg-track-template .djsdg-single-track--no-cover {
  grid-template-columns: 1fr;
  min-height: 0;
  max-width: 680px;
  margin: 0 auto;
}

.djsdg-track-template .djsdg-single-track--no-cover .djsdg-single-track-info {
  align-items: center;
  padding: clamp(28px, 4vw, 42px);
  text-align: center;
}

.djsdg-track-template .djsdg-single-track--no-cover h2 {
  max-width: 560px;
  font-size: clamp(25px, 2.25vw, 34px);
  line-height: 1.1;
}

.djsdg-track-template .djsdg-single-track--no-cover .djsdg-gate-intro h3 {
  font-size: 19px;
}

.djsdg-track-template .djsdg-single-track--no-cover .djsdg-gate-intro p {
  font-size: 13px;
}

.djsdg-track-template .djsdg-single-track--no-cover .djsdg-gate {
  margin-top: 20px;
  margin-right: auto;
  margin-left: auto;
  padding: 19px;
  text-align: left;
}

/* Branded inactive/expired link page. The address stays inaccessible but never
   falls back to WordPress's generic white error screen. */
.djsdg-unavailable-template {
  display: grid !important;
  min-height: calc(100vh - 105px);
  place-items: center;
}

.djsdg-unavailable {
  position: relative;
  width: min(100%, 650px);
  overflow: hidden;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(255, 143, 58, .40);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 106, 0, .20), transparent 20rem),
    radial-gradient(circle at 8% 100%, rgba(255, 127, 26, .12), transparent 22rem),
    #1d1d1d;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
  color: #fff;
  text-align: center;
}

.djsdg-unavailable::before {
  position: absolute;
  top: -94px;
  right: -78px;
  width: 218px;
  height: 218px;
  border: 1px solid rgba(255, 172, 112, .20);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.djsdg-unavailable__badge {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 21px;
  border: 1px solid rgba(255, 179, 125, .52);
  border-radius: 50%;
  place-items: center;
  background: linear-gradient(145deg, #ff6a00, #a94200);
  box-shadow: 0 12px 30px rgba(255, 106, 0, .22);
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
}

.djsdg-unavailable .djsdg-eyebrow {
  margin-bottom: 13px;
  color: #ffb377;
}

.djsdg-unavailable h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.djsdg-unavailable p {
  max-width: 450px;
  margin: 16px auto 0;
  color: #d6d0cb;
  font-size: 15px;
  line-height: 1.62;
}

.djsdg-unavailable__home {
  display: inline-flex;
  min-height: 46px;
  margin-top: 27px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 151, 72, .62);
  border-radius: 13px;
  background: linear-gradient(110deg, #ff6a00, #ff8a38);
  box-shadow: 0 12px 28px rgba(255, 106, 0, .23);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.djsdg-unavailable__home:hover,
.djsdg-unavailable__home:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 106, 0, .31);
  color: #fff;
}

@media (max-width: 530px) {
  .djsdg-track-template .djsdg-single-track--no-cover .djsdg-single-track-info {
    padding: 30px 21px;
  }

  .djsdg-track-template .djsdg-single-track--no-cover h2 {
    font-size: clamp(24px, 7.3vw, 30px);
  }

  .djsdg-unavailable-template {
    min-height: calc(100vh - 82px);
  }

  .djsdg-unavailable {
    padding: 36px 22px;
    border-radius: 20px;
  }

  .djsdg-unavailable h1 {
    font-size: 29px;
  }
}

/* Password screen for the optional /download/ library. */
.djsdg-library-lock-template {
  --djsdg-library-header-offset: 105px;
  --djsdg-library-top-space: clamp(56px, 5vw, 76px);
  display: grid !important;
  width: 100vw;
  min-height: 100vh;
  margin: 0 0 0 calc(50% - 50vw);
  padding: calc(var(--djsdg-library-header-offset) + var(--djsdg-library-top-space)) 20px clamp(52px, 7vw, 104px) !important;
  place-items: start center;
  box-sizing: border-box;
  background: #09090b;
}

/* The theme styles #primary directly. Reserve the actual header plus a visible gap. */
main#primary.djsdg-library-lock-template {
  padding-top: calc(var(--djsdg-library-header-offset) + var(--djsdg-library-top-space)) !important;
}

/* Safe fallback before the small script measures a logged-in fixed header. */
body.admin-bar main#primary.djsdg-library-lock-template {
  --djsdg-library-header-offset: 137px;
}

.djsdg-library-lock {
  position: relative;
  width: min(100%, 510px);
  overflow: hidden;
  margin: 0;
  padding: 44px 42px 38px;
  border: 1px solid rgba(255, 151, 82, .55);
  border-radius: 26px;
  text-align: center;
  background:
    radial-gradient(circle at 85% 5%, rgba(255, 106, 0, .18), transparent 15rem),
    radial-gradient(circle at 4% 100%, rgba(121, 92, 249, .16), transparent 18rem),
    #171717;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .36);
}

.djsdg-library-lock::before {
  position: absolute;
  top: -98px;
  right: -82px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.djsdg-library-lock__badge {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 132, 61, .72);
  border-radius: 50%;
  place-items: center;
  color: #ffb377;
  line-height: 1;
  background: rgba(255, 106, 0, .12);
  box-shadow: 0 0 28px rgba(255, 106, 0, .12);
}

.djsdg-library-lock__badge svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.djsdg-library-lock h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.3vw, 42px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}

.djsdg-library-lock > p:not(.djsdg-library-lock__note) {
  max-width: 365px;
  margin: 15px auto 0;
  color: #d6d0cb;
  font-size: 15px;
  line-height: 1.6;
}

.djsdg-library-lock__form {
  display: grid;
  gap: 9px;
  margin-top: 25px;
  text-align: left;
}

.djsdg-library-lock__form label {
  color: #efe8e3;
  font-size: 13px;
  font-weight: 700;
}

.djsdg-library-lock__form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 9px;
  color: #fff;
  outline: 0;
  background: rgba(0, 0, 0, .25);
}

.djsdg-library-lock__form input:focus {
  border-color: #ff873f;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, .15);
}

.djsdg-library-lock__form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #ff6a00, #ff8747);
  box-shadow: 0 12px 26px rgba(255, 106, 0, .22);
  transition: transform .2s ease, filter .2s ease;
}

.djsdg-library-lock__form button:hover,
.djsdg-library-lock__form button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.djsdg-library-lock__error {
  margin: 20px 0 -5px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 132, 149, .72);
  border-radius: 9px;
  color: #ffd5da;
  font-size: 13px;
  text-align: left;
  background: rgba(166, 30, 55, .28);
}

.djsdg-library-lock__note {
  margin: 18px 0 0;
  color: #a9a29d;
  font-size: 12px;
}

.djsdg-library-lock__home {
  display: inline-block;
  margin-top: 23px;
  color: #ffc398;
  font-size: 13px;
  text-decoration: none;
}

.djsdg-library-lock__home:hover,
.djsdg-library-lock__home:focus-visible {
  color: #fff;
}

@media (max-width: 530px) {
  .djsdg-library-lock-template {
    --djsdg-library-top-space: 42px;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .djsdg-library-lock {
    padding: 36px 22px 30px;
    border-radius: 20px;
  }
}

/* Compact library and multi-download experience. */
.djsdg-library {
  max-width: 1160px;
  margin: 24px auto;
  padding: clamp(24px, 3.5vw, 42px);
  border-radius: 23px;
  background:
    radial-gradient(circle at 92% 0%, rgba(121, 92, 249, .24), transparent 23rem),
    radial-gradient(circle at 0% 100%, rgba(241, 55, 131, .13), transparent 27rem),
    #171719;
}

.djsdg-library::after {
  top: -148px;
  right: -128px;
  width: 250px;
  height: 250px;
  opacity: .55;
}

.djsdg-library-heading {
  max-width: none;
  margin-bottom: 18px;
}

.djsdg-library-heading .djsdg-eyebrow {
  margin-bottom: 7px;
  color: #e6b5ff;
  font-size: 9px;
  letter-spacing: .2em;
}

.djsdg-library h1 {
  font-size: clamp(31px, 3.2vw, 45px);
  line-height: 1;
  letter-spacing: -.045em;
}

.djsdg-library-heading > p {
  max-width: 620px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.djsdg-library-bundle {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 68px;
  margin: 0 0 16px;
  padding: 13px 14px 13px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(212, 174, 255, .26);
  border-radius: 15px;
  background: linear-gradient(112deg, rgba(82, 52, 138, .25), rgba(255, 255, 255, .04));
}

.djsdg-library-bundle__copy {
  display: grid;
  gap: 3px;
}

.djsdg-library-bundle__copy strong {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.djsdg-library-bundle__copy span {
  color: #c9c4d0;
  font-size: 12px;
  line-height: 1.35;
}

.djsdg-library-bundle__actions,
.djsdg-bundle-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.djsdg-library-select-all,
.djsdg-library-download-selected,
.djsdg-bundle-cancel,
.djsdg-bundle-download {
  display: inline-flex;
  min-height: 39px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 219, 255, .34);
  border-radius: 10px;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, border-color .18s ease, opacity .18s ease;
}

.djsdg-library-select-all,
.djsdg-bundle-cancel {
  background: rgba(7, 7, 13, .36);
}

.djsdg-library-download-selected,
.djsdg-bundle-download {
  border-color: rgba(255, 156, 211, .6);
  background: linear-gradient(110deg, #da4e95, #8463e7);
  box-shadow: 0 10px 24px rgba(142, 88, 223, .23);
}

.djsdg-library-download-selected span {
  margin-left: 5px;
  font-size: 16px;
  line-height: 1;
}

.djsdg-library-select-all:hover,
.djsdg-library-download-selected:hover:not(:disabled),
.djsdg-bundle-cancel:hover:not(:disabled),
.djsdg-bundle-download:hover:not(:disabled),
.djsdg-library-select-all:focus-visible,
.djsdg-library-download-selected:focus-visible,
.djsdg-bundle-cancel:focus-visible,
.djsdg-bundle-download:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.djsdg-library-download-selected:disabled,
.djsdg-bundle-download:disabled,
.djsdg-bundle-cancel:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

.djsdg-track-grid {
  gap: 12px;
}

.djsdg-library-card--no-cover {
  position: relative;
  min-height: 151px;
  border-radius: 15px;
}

.djsdg-library-card--no-cover .djsdg-library-card-body {
  min-height: 149px;
  padding: 16px 17px 15px 48px;
}

.djsdg-library-card--no-cover.is-selected {
  border-color: rgba(255, 158, 215, .8);
  background: linear-gradient(145deg, rgba(160, 70, 147, .28), rgba(111, 78, 195, .2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 10px 30px rgba(105, 62, 157, .16);
}

.djsdg-library-card--no-cover:hover {
  transform: translateY(-3px);
}

.djsdg-library-card-body .djsdg-eyebrow {
  margin-bottom: 5px;
  font-size: 8px;
  letter-spacing: .16em;
}

.djsdg-library h2 {
  font-size: clamp(17px, 1.58vw, 21px);
  line-height: 1.18;
  letter-spacing: -.03em;
}

.djsdg-open-track {
  padding-top: 12px;
  color: #f1eafa;
  font-size: 12px;
}

.djsdg-open-track span {
  color: #ff9bce;
  font-size: 16px;
}

.djsdg-library-select {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 15px;
  display: block;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.djsdg-library-select input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.djsdg-library-select__mark {
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 7px;
  background: rgba(10, 10, 14, .68);
  box-shadow: 0 4px 11px rgba(0, 0, 0, .2);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.djsdg-library-select input:checked + .djsdg-library-select__mark {
  border-color: #ffb0da;
  background: linear-gradient(135deg, #e9519d, #8b66e8);
}

.djsdg-library-select input:checked + .djsdg-library-select__mark::after {
  display: block;
  width: 5px;
  height: 9px;
  margin: 4px auto 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: '';
  transform: rotate(45deg);
}

.djsdg-library-select input:focus-visible + .djsdg-library-select__mark {
  outline: 3px solid rgba(228, 181, 255, .55);
  outline-offset: 2px;
}

.djsdg-bundle-overlay {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(3, 3, 7, .76);
  backdrop-filter: blur(8px);
}

.djsdg-bundle-dialog {
  position: relative;
  width: min(100%, 490px);
  padding: 28px;
  border: 1px solid rgba(231, 199, 255, .34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 94% 0%, rgba(139, 99, 232, .28), transparent 15rem),
    #1b1a20;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
  color: #fff;
}

.djsdg-bundle-close {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 50%;
  color: #f5efff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, .08);
}

.djsdg-bundle-close:disabled {
  cursor: wait;
  opacity: .55;
}

.djsdg-bundle-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #eab8ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2em;
}

.djsdg-bundle-dialog h3 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.djsdg-bundle-copy {
  margin: 9px 0 19px;
  color: #cfc9d7;
  font-size: 13px;
  line-height: 1.5;
}

.djsdg-bundle-social-actions {
  display: grid;
  gap: 8px;
}

.djsdg-bundle-social-button {
  display: flex;
  min-height: 46px;
  padding: 0 13px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, .065);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.djsdg-bundle-social-button:hover,
.djsdg-bundle-social-button:focus-visible,
.djsdg-bundle-social-button.is-visited {
  border-color: rgba(255, 179, 221, .68);
  color: #fff;
  background: rgba(188, 107, 202, .2);
}

.djsdg-bundle-social-button:hover,
.djsdg-bundle-social-button:focus-visible {
  transform: translateY(-1px);
}

.djsdg-bundle-social-button.is-visited::after {
  margin-left: auto;
  color: #a4f0c9;
  content: '✓';
}

.djsdg-bundle-social-mark {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  background: linear-gradient(135deg, #d94f9d, #8769e6);
}

.djsdg-bundle-confirmation {
  display: flex;
  margin-top: 15px;
  align-items: flex-start;
  gap: 8px;
  color: #e8e3ee;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.djsdg-bundle-confirmation input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #d753a0;
}

.djsdg-bundle-confirmation.is-hidden {
  display: none;
}

.djsdg-bundle-feedback,
.djsdg-bundle-no-social {
  min-height: 18px;
  margin: 13px 0 0;
  color: #d3cbd9;
  font-size: 12px;
  line-height: 1.4;
}

.djsdg-bundle-feedback[data-state='success'] {
  color: #a8eecb;
}

.djsdg-bundle-feedback[data-state='error'] {
  color: #ffb9c5;
}

.djsdg-bundle-actions {
  margin-top: 14px;
}

.djsdg-bundle-cancel,
.djsdg-bundle-download {
  min-height: 42px;
}

@media (max-width: 820px) {
  .djsdg-library-bundle {
    align-items: flex-start;
    flex-direction: column;
  }

  .djsdg-library-bundle__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 530px) {
  .djsdg-library {
    margin: 16px 0;
    padding: 23px 16px;
    border-radius: 18px;
  }

  .djsdg-library h1 {
    font-size: 32px;
  }

  .djsdg-library-heading > p {
    font-size: 13px;
  }

  .djsdg-library-bundle {
    gap: 12px;
    padding: 13px;
  }

  .djsdg-library-bundle__actions {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 7px;
  }

  .djsdg-library-select-all,
  .djsdg-library-download-selected {
    width: 100%;
    min-height: 40px;
    padding: 0 8px;
    font-size: 11px;
  }

  .djsdg-library-card--no-cover {
    min-height: 132px;
  }

  .djsdg-library-card--no-cover .djsdg-library-card-body {
    min-height: 130px;
    padding: 15px 15px 14px 46px;
  }

  .djsdg-library h2 {
    font-size: 18px;
  }

  .djsdg-bundle-overlay {
    padding: 13px;
  }

  .djsdg-bundle-dialog {
    padding: 25px 19px 19px;
    border-radius: 17px;
  }

  .djsdg-bundle-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
  }

  .djsdg-bundle-cancel,
  .djsdg-bundle-download {
    width: 100%;
    padding: 0 8px;
    font-size: 11px;
  }
}

/* Private, owner-generated all-tracks package. */
.djsdg-all-pack-template {
  --djsdg-all-pack-header-offset: 118px;
  --djsdg-all-pack-top-space: clamp(68px, 6vw, 92px);
  position: relative;
  min-height: 64vh;
  box-sizing: border-box;
  padding: calc(var(--djsdg-all-pack-header-offset) + var(--djsdg-all-pack-top-space)) 20px clamp(58px, 8vw, 112px) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 2%, rgba(129, 82, 225, .21), transparent 30rem),
    radial-gradient(circle at 8% 92%, rgba(235, 94, 153, .12), transparent 28rem),
    #09090e;
}

main#primary.djsdg-all-pack-template {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-top: calc(var(--djsdg-all-pack-header-offset) + var(--djsdg-all-pack-top-space)) !important;
}

body.admin-bar main#primary.djsdg-all-pack-template {
  --djsdg-all-pack-header-offset: 144px;
}

.djsdg-all-pack,
.djsdg-all-pack * {
  box-sizing: border-box;
}

.djsdg-all-pack {
  position: relative;
  width: min(100%, 620px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(230, 205, 255, .32);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(153, 102, 236, .28), transparent 19rem),
    linear-gradient(145deg, rgba(32, 31, 41, .99), rgba(18, 18, 25, .99));
  box-shadow: 0 32px 90px rgba(0, 0, 0, .48);
}

.djsdg-all-pack::before {
  position: absolute;
  top: -130px;
  right: -118px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(229, 194, 255, .18);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.djsdg-all-pack__badge {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 23px;
  place-items: center;
  border: 1px solid rgba(247, 210, 255, .44);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(223, 88, 165, .95), rgba(126, 99, 230, .95));
  box-shadow: 0 12px 26px rgba(159, 78, 184, .24);
}

.djsdg-all-pack__badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.djsdg-all-pack .djsdg-eyebrow {
  position: relative;
  color: #efc2ff;
}

.djsdg-all-pack h1 {
  position: relative;
  max-width: 540px;
  margin: 9px 0 12px;
  color: #fff;
  font-size: clamp(31px, 5vw, 48px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.djsdg-all-pack__lead {
  position: relative;
  max-width: 500px;
  margin: 0;
  color: #d7d1dc;
  font-size: 16px;
  line-height: 1.58;
}

.djsdg-all-pack__summary {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 24px 0 14px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  background: rgba(255, 255, 255, .055);
}

.djsdg-all-pack__summary strong {
  color: #fff;
  font-size: 14px;
}

.djsdg-all-pack__summary span,
.djsdg-all-pack__note {
  color: #c9c2d0;
  font-size: 12px;
  line-height: 1.5;
}

.djsdg-all-pack__form {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.djsdg-all-pack__form label {
  color: #efeaf3;
  font-size: 12px;
  font-weight: 800;
}

.djsdg-all-pack__form input[type='password'] {
  width: 100%;
  min-height: 51px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  outline: 0;
  color: #fff;
  font: inherit;
  background: rgba(6, 7, 11, .42);
  box-shadow: none;
}

.djsdg-all-pack__form input[type='password']:focus {
  border-color: rgba(232, 164, 255, .82);
  box-shadow: 0 0 0 3px rgba(182, 103, 226, .18);
}

.djsdg-all-pack__form button,
.djsdg-all-pack__home {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(100deg, #f1772c, #e6589e 53%, #9261df);
  box-shadow: 0 13px 27px rgba(205, 83, 125, .24);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.djsdg-all-pack__form button:hover,
.djsdg-all-pack__form button:focus-visible,
.djsdg-all-pack__home:hover,
.djsdg-all-pack__home:focus-visible {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 17px 32px rgba(205, 83, 125, .32);
}

.djsdg-all-pack__note {
  position: relative;
  margin: 1px 0 0;
}

.djsdg-all-pack__error {
  position: relative;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 143, 164, .38);
  border-radius: 12px;
  color: #ffd2da;
  font-size: 13px;
  line-height: 1.45;
  background: rgba(139, 32, 57, .22);
}

.djsdg-all-pack__home {
  position: relative;
  width: max-content;
  margin-top: 24px;
  background: rgba(255, 255, 255, .09);
  box-shadow: none;
}

@media (max-width: 560px) {
  .djsdg-all-pack-template {
    --djsdg-all-pack-top-space: 56px;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .djsdg-all-pack {
    padding: 27px 20px 23px;
    border-radius: 19px;
  }

  .djsdg-all-pack h1 {
    font-size: 32px;
  }

  .djsdg-all-pack__lead {
    font-size: 14px;
  }

  .djsdg-all-pack__form button,
  .djsdg-all-pack__home {
    width: 100%;
  }
}

/* Selectable layouts for the public /download/ page. */
.djsdg-library--layout-list .djsdg-track-grid,
.djsdg-library--layout-minimal .djsdg-track-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.djsdg-library--layout-list .djsdg-library-card--no-cover {
  min-height: 0;
  border-color: rgba(226, 207, 255, .22);
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(111, 74, 172, .2), rgba(255, 255, 255, .045));
}

.djsdg-library--layout-list .djsdg-library-card--no-cover .djsdg-library-card-body {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 20px;
  padding: 15px 18px 15px 54px;
}

.djsdg-library--layout-list .djsdg-library-card-body .djsdg-eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 4px;
}

.djsdg-library--layout-list .djsdg-library-card-body h2 {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.12;
}

.djsdg-library--layout-list .djsdg-open-track {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 184, 221, .5);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .045);
}

.djsdg-library--layout-compact .djsdg-track-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.djsdg-library--layout-compact .djsdg-library-card--no-cover {
  min-height: 124px;
  border-radius: 13px;
}

.djsdg-library--layout-compact .djsdg-library-card--no-cover .djsdg-library-card-body {
  min-height: 122px;
  padding: 13px 13px 12px 43px;
}

.djsdg-library--layout-compact .djsdg-library-card-body .djsdg-eyebrow {
  margin-bottom: 4px;
  font-size: 7px;
}

.djsdg-library--layout-compact .djsdg-library-card-body h2 {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.12;
}

.djsdg-library--layout-compact .djsdg-open-track {
  padding-top: 8px;
  font-size: 11px;
}

.djsdg-library--layout-compact .djsdg-library-select {
  top: 12px;
  left: 12px;
  transform: scale(.88);
  transform-origin: top left;
}

.djsdg-library--layout-spotlight .djsdg-track-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.djsdg-library--layout-spotlight .djsdg-library-card--no-cover:first-child {
  min-height: 244px;
  grid-column: span 2;
  border-color: rgba(229, 176, 255, .42);
  background:
    radial-gradient(circle at 96% 8%, rgba(150, 105, 239, .36), transparent 16rem),
    linear-gradient(125deg, rgba(113, 53, 118, .31), rgba(46, 39, 78, .45));
}

.djsdg-library--layout-spotlight .djsdg-library-card--no-cover:first-child .djsdg-library-card-body {
  min-height: 242px;
  justify-content: center;
  padding: 24px 27px 23px 58px;
}

.djsdg-library--layout-spotlight .djsdg-library-card--no-cover:first-child h2 {
  max-width: 680px;
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.03;
}

.djsdg-library--layout-spotlight .djsdg-library-card--no-cover:first-child .djsdg-open-track {
  padding-top: 15px;
}

.djsdg-library--layout-minimal .djsdg-library-card--no-cover {
  min-height: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.djsdg-library--layout-minimal .djsdg-library-card--no-cover:first-child {
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.djsdg-library--layout-minimal .djsdg-library-card--no-cover:hover {
  transform: none;
  border-color: rgba(241, 194, 255, .52);
  background: rgba(255, 255, 255, .035);
}

.djsdg-library--layout-minimal .djsdg-library-card--no-cover .djsdg-library-card-body {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 20px;
  padding: 15px 17px 15px 53px;
}

.djsdg-library--layout-minimal .djsdg-library-card-body .djsdg-eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 4px;
  color: #d7c9e5;
}

.djsdg-library--layout-minimal .djsdg-library-card-body h2 {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.12;
}

.djsdg-library--layout-minimal .djsdg-open-track {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 0;
  color: #f4b0da;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .djsdg-library--layout-compact .djsdg-track-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .djsdg-library--layout-compact .djsdg-track-grid,
  .djsdg-library--layout-spotlight .djsdg-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .djsdg-library--layout-spotlight .djsdg-library-card--no-cover:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .djsdg-library--layout-list .djsdg-library-card--no-cover .djsdg-library-card-body,
  .djsdg-library--layout-minimal .djsdg-library-card--no-cover .djsdg-library-card-body {
    display: flex;
    min-height: 0;
    align-items: flex-start;
    padding: 14px 15px 14px 46px;
  }

  .djsdg-library--layout-list .djsdg-open-track,
  .djsdg-library--layout-minimal .djsdg-open-track {
    margin-top: auto;
  }

  .djsdg-library--layout-list .djsdg-open-track {
    align-self: flex-start;
    padding: 8px 10px;
  }

  .djsdg-library--layout-compact .djsdg-track-grid,
  .djsdg-library--layout-spotlight .djsdg-track-grid {
    grid-template-columns: 1fr;
  }

  .djsdg-library--layout-compact .djsdg-library-card--no-cover,
  .djsdg-library--layout-compact .djsdg-library-card--no-cover .djsdg-library-card-body {
    min-height: 126px;
  }

  .djsdg-library--layout-compact .djsdg-library-card--no-cover .djsdg-library-card-body {
    padding-left: 46px;
  }

  .djsdg-library--layout-compact .djsdg-library-card-body h2 {
    font-size: 18px;
  }

  .djsdg-library--layout-spotlight .djsdg-library-card--no-cover:first-child {
    min-height: 188px;
    grid-column: auto;
  }

  .djsdg-library--layout-spotlight .djsdg-library-card--no-cover:first-child .djsdg-library-card-body {
    min-height: 186px;
    padding: 20px 19px 18px 48px;
  }

  .djsdg-library--layout-spotlight .djsdg-library-card--no-cover:first-child h2 {
    font-size: 27px;
  }
}
