html.djs-shell-host,
html.djs-shell-host body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #100b10;
}

html.djs-shell-host body:not(.djs-public-shell) { visibility: hidden; }

.djs-public-shell {
  color: #fff1f6;
  font: 14px/1.5 Arial, Helvetica, sans-serif;
}

.djs-public-shell [hidden] { display: none !important; }

.djs-site-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: 'page' 'player';
  width: 100%;
  height: 100vh;
  height: 100svh;
  isolation: isolate;
}

.djs-public-frame {
  grid-area: page;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #100b10;
}

.djs-site-shell .djs-global-player {
  grid-area: player;
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
  max-width: 100%;
  border-top-color: #ffffff20;
  background: linear-gradient(110deg, #1f121df2, #101013fa 70%);
  box-shadow: 0 -10px 35px #0004, inset 0 1px 0 #ffffff05;
}

.djs-player-slot { min-width: 0; }

.djs-global-player .library-dock-extra {
  width: 100%;
  max-width: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1px;
  padding: 4px 0;
}

.djs-global-player .library-dock-extra .music-round-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #d7b6c8;
  background: transparent;
  font-size: 21px;
  cursor: pointer;
  transition: color .2s, background .2s;
}

.djs-global-player .music-round-button:hover,
.djs-global-player .music-round-button[aria-expanded=true] {
  color: #ffb3c6;
  background: #ee426619;
}

.djs-global-player .music-round-button:disabled { opacity: .3; cursor: default; }
.djs-player-metrics { min-width: 0; flex: 0 0 100%; display: flex; justify-content: center; }

.djs-engagement {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: #d1afc2;
  font-size: 12px;
}

.djs-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 65px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #ffffff20;
  border-radius: 99px;
  color: #d6b4c7;
  background: #ffffff04;
  font: inherit;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.djs-like-heart { font-size: 21px; line-height: 1; }
.djs-like[aria-pressed=true] { color: #ff809b; border-color: #e74f7177; background: #dc3f6315; }
.djs-like:hover { color: #ffa8be; border-color: #e87c9c88; transform: translateY(-1px); }
.djs-like:disabled { cursor: wait; opacity: .65; }
.djs-play-count { color: #b696aa; font-size: 11px; font-variant-numeric: tabular-nums; }
.djs-engagement.is-compact { gap: 12px; font-size: 11px; }
.djs-engagement.is-compact .djs-like { border-color: transparent; background: transparent; min-width: 52px; padding-inline: 7px; }
.djs-engagement.is-compact .djs-play-count { font-size: 9px; }

.djs-shell-loader {
  position: absolute;
  z-index: 40;
  inset: 0 0 var(--djs-player-height, 0px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #100b10ee;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.djs-shell-loader img, .djs-popup-loading img { width: 76px; height: 76px; object-fit: contain; animation: djs-logo-breathe .9s ease-in-out infinite alternate; }
.djs-shell-loading-label { color: #c09dac; font-size: 11px; letter-spacing: .5px; }
@keyframes djs-logo-breathe { to { transform: scale(1.06); opacity: .6; } }

.djs-release-modal {
  position: fixed;
  inset: 0;
  width: min(760px, calc(100vw - 36px));
  max-width: none;
  max-height: min(88svh, 900px);
  margin: auto;
  padding: 38px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #ffffff2e;
  border-radius: 26px;
  color: #fff1f7;
  background: radial-gradient(ellipse at 0 0, #72334a70, transparent 70%), #21141ee8;
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  box-shadow: 0 30px 100px #0009, inset 0 1px 0 #ffffff16;
  font-family: Arial, Helvetica, sans-serif;
  animation: djs-modal-arrive .25s ease-out;
}

.djs-release-modal::backdrop { background: #050207b3; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
@keyframes djs-modal-arrive { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.djs-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #ffffff16;
  border-radius: 50%;
  color: #ebc9d9;
  background: #ffffff07;
  font-size: 25px;
  cursor: pointer;
}

.djs-modal-hero { display: flex; align-items: center; gap: 25px; margin: 10px 15px 22px 0; min-width: 0; }
.djs-modal-hero > img { flex: 0 0 140px; width: 140px; height: 140px; object-fit: cover; border-radius: 12px; box-shadow: 0 12px 30px #0005; }
.djs-modal-hero > div { min-width: 0; }
.djs-modal-eyebrow { margin: 0 0 10px; font-size: 9px; letter-spacing: 1.7px; color: #d2a8bd; }
.djs-modal-hero h2 { margin: 0 0 12px; font-size: clamp(25px, 4vw, 39px); line-height: 1.12; letter-spacing: -1.2px; overflow-wrap: anywhere; }
.djs-modal-artist { margin: 0; color: #d5b1c4; font-size: 12px; }
.djs-modal-distributor { margin: 8px 0 0; color: #a9889b; font-size: 10px; }
.djs-listening-heading { margin: 26px 0 14px; font-size: 16px; font-weight: 600; color: #f2d6e5; }
.djs-listening-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.djs-listening-option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 118px;
  padding: 18px 12px;
  border: 1px solid #ffffff1e;
  border-radius: 16px;
  background: #ffffff04;
  color: #e9c7d9;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, border-color .2s, background .2s;
}

.djs-listening-option img { width: 30px; height: 30px; object-fit: contain; }
.djs-listening-option svg { width: 29px; height: 29px; }
.djs-listening-option small { display: block; margin-top: 4px; color: #ad91a3; font-size: 9px; font-weight: 400; }
.djs-listening-option.is-site { border-color: #d9577899; background: #d94c6b12; }
.djs-listening-option.is-spotify svg { color: #61d894; }
.djs-listening-option.is-amazon svg { color: #79dce8; }
.djs-listening-option:hover { transform: translateY(-3px); border-color: #e97c9b99; background: #ffffff0a; }
.djs-listening-option:disabled { opacity: .35; cursor: default; transform: none; }
.djs-modal-tracks { display: grid; gap: 3px; margin: 25px 0 16px; }
.djs-modal-track { display: flex; align-items: center; gap: 15px; min-height: 50px; width: 100%; border: 0; border-radius: 9px; padding: 10px 12px; color: #d9b6c8; background: transparent; text-align: left; cursor: pointer; font: inherit; font-size: 12px; line-height: 1.5; }
.djs-modal-track:hover { color: #fff2f8; background: #ffffff07; }
.djs-modal-track > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.djs-modal-track-number { color: #9e7f91; font-size: 10px; font-variant-numeric: tabular-nums; }
.djs-modal-track-play { color: #f16d8d; font-size: 11px; }
.djs-modal-details { display: inline-flex; align-items: center; min-height: 44px; color: #bfa0b1; font-size: 11px; text-underline-offset: 4px; }
.djs-popup-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.djs-modal-loading { display: grid; place-items: center; min-height: 200px; margin: 0; padding: 25px; color: #d5b0c2; font-size: 14px; line-height: 1.8; text-align: center; }

.djs-queue-panel {
  position: fixed;
  z-index: 90;
  right: 14px;
  bottom: calc(var(--djs-player-height, 120px) + 12px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(390px, calc(100vw - 28px));
  max-height: min(60svh, 550px);
  padding: 20px 16px;
  overflow: hidden;
  border: 1px solid #ffffff21;
  border-radius: 19px;
  color: #f4d8e6;
  background: #211721ee;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px #0007;
}

.djs-queue-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.djs-queue-header h2 { margin: 0; font-size: 17px; color: #ebcedd; }
.djs-queue-header .music-round-button { background: transparent; color: #d6afc3; border: 0; width: 44px; min-width: 44px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.djs-queue-items { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; min-height: 0; }
.djs-queue-track { display: flex; align-items: center; gap: 12px; min-height: 64px; width: 100%; padding: 10px 8px; border: 0; border-radius: 10px; color: #c5a2b6; background: transparent; text-align: left; font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; }
.djs-queue-track img { width: 39px; height: 39px; object-fit: cover; border-radius: 6px; flex: none; }
.djs-queue-track span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.djs-queue-track small { color: #967589; font-size: 10px; font-variant-numeric: tabular-nums; }
.djs-queue-track:hover { background: #ffffff06; color: #f6dcea; }
.djs-queue-track.is-current { color: #ff99b2; background: #dd416217; }
.djs-shell-toast { position: fixed; z-index: 300; left: 50%; bottom: calc(var(--djs-player-height, 0px) + 20px); transform: translateX(-50%); max-width: min(460px, calc(100vw - 30px)); padding: 14px 20px; border: 1px solid #d05c7c80; border-radius: 13px; color: #fce1ed; background: #301b2df5; box-shadow: 0 12px 40px #0006; font-size: 12px; line-height: 1.65; }

.djs-public-shell button:focus-visible,
.djs-public-shell a:focus-visible { outline: 2px solid #ff9db9; outline-offset: 4px; }

@media (max-width: 800px) and (min-width: 561px) {
  .djs-site-shell .djs-global-player { grid-template-columns: minmax(0, 1fr) 180px; }
  .djs-engagement.is-compact { gap: 6px; }
  .djs-engagement.is-compact .djs-play-count { font-size: 8px; }
}

@media (max-width: 560px) {
  .djs-site-shell .djs-global-player { display: block; padding-inline: 8px; }
  .djs-global-player .library-dock-extra { min-height: 44px; padding: 0; gap: 2px; }
  .djs-global-player .djs-player-metrics { flex: 0 1 auto; margin-left: 4px; }
  .djs-engagement.is-compact { gap: 7px; }
  .djs-engagement.is-compact .djs-play-count { font-size: 8px; }
  .djs-global-player .library-dock-extra .music-round-button { width: 40px; min-width: 40px; }
  .djs-release-modal { width: calc(100vw - 24px); max-height: 88svh; padding: 28px 20px 20px; border-radius: 22px; }
  .djs-modal-hero { align-items: flex-end; gap: 16px; margin-top: 21px; }
  .djs-modal-hero > img { flex-basis: 94px; width: 94px; height: 94px; border-radius: 9px; }
  .djs-modal-hero h2 { font-size: 27px; letter-spacing: -.9px; }
  .djs-modal-eyebrow { font-size: 8px; margin-bottom: 8px; }
  .djs-modal-artist { font-size: 10px; }
  .djs-modal-distributor { font-size: 9px; }
  .djs-listening-options { gap: 7px; }
  .djs-listening-option { min-height: 108px; padding: 14px 6px; border-radius: 13px; font-size: 10px; }
  .djs-listening-option small { font-size: 8px; }
  .djs-modal-track { gap: 11px; padding-inline: 6px; font-size: 11px; }
  .djs-listening-heading { font-size: 15px; }
  .djs-queue-panel { padding: 18px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .djs-shell-loader img,
  .djs-popup-loading img,
  .djs-release-modal { animation: none; }
  .djs-listening-option,
  .djs-like,
  .djs-global-player .music-round-button { transition: none; }
  .djs-listening-option:hover,
  .djs-like:hover { transform: none; }
}

@media print {
  html.djs-shell-host,
  html.djs-shell-host body { height: auto; overflow: visible; }
  .djs-site-shell { display: block; height: auto; }
  .djs-public-frame { min-height: 95vh; }
  .djs-global-player,
  .djs-shell-loader,
  .djs-release-modal,
  .djs-queue-panel,
  .djs-shell-toast { display: none !important; }
}
