
/* DORISAN FIX07 — badge exact player */
.ds07-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 34px;
  padding: .48rem .82rem;
  border-radius: 999px;
  border: 1px solid rgba(125,215,255,.55);
  background: rgba(2,16,30,.86);
  color: #eef8ff;
  font-weight: 900;
  font-size: .84rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(80,180,255,.18);
  backdrop-filter: blur(6px);
  margin-top: .65rem;
}

.ds07-badge:hover {
  border-color: rgba(125,215,255,.85);
  box-shadow: 0 0 22px rgba(80,180,255,.30);
}

#ds07-player-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,3,9,.78);
  backdrop-filter: blur(10px);
}

#ds07-player-modal.ds07-open {
  display: flex;
}

.ds07-dialog {
  width: min(980px, 96vw);
  max-height: min(86vh, 880px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(125,215,255,.28);
  background: linear-gradient(180deg, rgba(5,16,31,.98), rgba(1,6,14,.98));
  box-shadow: 0 32px 100px rgba(0,0,0,.64);
  color: #eef8ff;
}

.ds07-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(125,215,255,.16);
}

.ds07-title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1;
}

.ds07-subtitle {
  margin: 8px 0 0;
  color: rgba(238,248,255,.68);
}

.ds07-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(125,215,255,.32);
  background: rgba(255,255,255,.06);
  color: #eef8ff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.ds07-body {
  padding: 20px 24px 24px;
}

.ds07-audio {
  width: 100%;
  margin-bottom: 18px;
}

.ds07-track-list {
  display: grid;
  gap: 10px;
  max-height: 48vh;
  overflow: auto;
  padding-right: 4px;
}

.ds07-track {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(125,215,255,.12);
}

.ds07-track-num {
  color: rgba(238,248,255,.56);
  font-weight: 900;
}

.ds07-track-name {
  font-weight: 800;
}

.ds07-track-play {
  min-height: 34px;
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(125,215,255,.42);
  background: rgba(2,16,30,.82);
  color: #eef8ff;
  font-weight: 900;
  cursor: pointer;
}

.ds07-track.dorisan-track-active,
.ds07-track.d30-track-active,
.dorisan-fix17-track.dorisan-track-active,
.dorisan-fix17-track.d30-track-active {
  border-color: rgba(245,190,80,.95) !important;
  background:
    linear-gradient(135deg, rgba(75,46,12,.72), rgba(15,12,8,.90)) !important;
  box-shadow:
    0 0 0 1px rgba(245,190,80,.45),
    0 0 22px rgba(245,190,80,.22) !important;
}

.ds07-track.dorisan-track-active .ds07-track-name,
.ds07-track.d30-track-active .ds07-track-name,
.dorisan-fix17-track.dorisan-track-active strong,
.dorisan-fix17-track.d30-track-active strong {
  color: #fff4cf !important;
}

.ds07-track.dorisan-track-active button,
.ds07-track.d30-track-active button,
.dorisan-fix17-track.dorisan-track-active .dorisan-m3i-ascolta-pill,
.dorisan-fix17-track.d30-track-active .dorisan-m3i-ascolta-pill,
button.is-playing {
  color: #ffd98a !important;
  border-color: rgba(245,190,80,.72) !important;
}

@media (max-width: 620px) {
  .ds07-track {
    grid-template-columns: 40px 1fr;
  }
  .ds07-track-play {
    grid-column: 2;
    justify-self: start;
  }
}


/* DORISAN FIX07B — badge sotto titolo album */
.ds07-badge {
  display: inline-flex !important;
  width: fit-content !important;
  position: static !important;
  margin: .55rem 0 .55rem 0 !important;
  vertical-align: middle !important;
}

.ds07-badge + * {
  margin-top: .35rem;
}
