.dsep-card {
  margin: 20px auto;
  background: #121212;
  border-radius: 16px;
  padding: 1.4rem;
  border: 1px solid #2a2a2a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}
.dsep-card.light-mode {
  background: #f5f5f5;
  border-color: #ddd;
}
.dsep-card.light-mode .dsep-header {
  background: #e8e8e8;
}
.dsep-card.light-mode .dsep-header-text {
  color: #555;
}
.dsep-card.light-mode .dsep-header-icon {
  color: #999;
}
.dsep-card.light-mode .dsep-btn {
  background: #fff;
  border-color: #ddd;
}
.dsep-card.light-mode .dsep-btn:hover {
  background: #f0f0f0;
}
.dsep-card.light-mode .dsep-btn-text strong {
  color: #333;
}
.dsep-card.light-mode .dsep-btn-text small {
  color: #999;
}
.dsep-card.light-mode .dsep-btn-icon {
  background: #e8e8e8;
}

.dsep-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2a2a2a;
  border-radius: 50px;
  padding: 9px 22px;
  margin-bottom: 1.2rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.dsep-header-icon {
  color: #888;
  display: flex;
  align-items: center;
}
.dsep-header-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.dsep-player-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: #000;
}
.dsep-player-wrap iframe {
  display: block;
  border: 0;
  width: 100%;
}
.dsep-player-wrap.dsep-audio iframe {
  height: 252px;
}

.dsep-buttons {
  display: grid;
  grid-template-columns: auto auto;
  gap: 7px;
  justify-content: center;
}

.dsep-btn {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 50px;
  background: #1e1e1e;
  border: 1.5px solid #3a3a3a;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: border-color .2s, background .2s;
  color: #fff !important;
  width: auto;
  max-width: 170px;
  min-width: 0;
}
.dsep-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 170px;
}
.dsep-btn:hover {
  background: #2a2a2a;
  border-color: #555;
  text-decoration: none !important;
  color: #fff !important;
}
.dsep-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2a2a2a;
}
.dsep-btn-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.dsep-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.dsep-btn-text small {
  font-size: 9px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}
.dsep-btn-text strong {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dsep-embeds {
  margin: 0 auto 20px;
}
.dsep-embed-item {
  margin-top: 16px;
}
.dsep-embed-item iframe {
  border-radius: 8px;
  max-width: 100%;
}

@media (max-width: 480px) {
  .dsep-card {
    padding: 1rem;
  }
  .dsep-buttons {
    grid-template-columns: 1fr;
    justify-items: center;
    justify-content: unset;
  }
  .dsep-btn:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: center;
  }
  .dsep-btn {
    padding: 8px 14px;
    gap: 8px;
    justify-content: center;
  }
  .dsep-btn-icon {
    width: 28px;
    height: 28px;
  }
  .dsep-btn-icon svg {
    width: 18px;
    height: 18px;
  }
  .dsep-btn-text strong {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .dsep-card {
    padding: 0.8rem;
  }
  .dsep-btn {
    padding: 6px 12px;
    gap: 6px;
  }
  .dsep-btn-icon {
    width: 24px;
    height: 24px;
  }
  .dsep-btn-icon svg {
    width: 16px;
    height: 16px;
  }
  .dsep-btn-text strong {
    font-size: 11px;
  }
}
