.spectify-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.spectify-video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.spectify-video-dialog {
  position: relative;
  width: min(1180px, 100%);
  overflow: hidden;
  border: 1px solid rgba(138, 112, 255, 0.34);
  border-radius: 26px;
  background: #0e0e12;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72), 0 0 70px rgba(138, 112, 255, 0.12);
  transform: translateY(18px) scale(0.985);
  transition: transform 260ms ease;
}

.spectify-video-modal.is-open .spectify-video-dialog {
  transform: translateY(0) scale(1);
}

.spectify-video-topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #aaa6b3;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.spectify-video-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.spectify-video-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a70ff;
  box-shadow: 0 0 16px rgba(138, 112, 255, 0.9);
}

.spectify-video-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.spectify-video-close:hover {
  background: #8a70ff;
  border-color: #8a70ff;
  transform: rotate(4deg);
}

.spectify-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050507;
}

.spectify-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.spectify-video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 12px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #716d79;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spectify-video-youtube {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.spectify-video-youtube::after {
  content: "↗";
  color: #8a70ff;
  font-size: 15px;
}

html.spectify-video-open,
html.spectify-video-open body {
  overflow: hidden !important;
}

@media (max-width: 680px) {
  .spectify-video-modal { padding: 12px; }
  .spectify-video-dialog { border-radius: 18px; }
  .spectify-video-topbar { min-height: 52px; padding: 0 12px 0 16px; }
  .spectify-video-footer { min-height: 58px; padding: 10px 16px; }
  .spectify-video-footer > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .spectify-video-modal,
  .spectify-video-dialog { transition: none; }
}

.spectify-report-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(5, 5, 8, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.spectify-report-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.spectify-report-dialog {
  width: min(1180px, 100%);
  height: min(88vh, 920px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(181, 159, 255, 0.28);
  border-radius: 22px;
  background: #101016;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
  transform: translateY(14px) scale(0.99);
  transition: transform 220ms ease;
}

.spectify-report-modal.is-open .spectify-report-dialog {
  transform: translateY(0) scale(1);
}

.spectify-report-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 12px 14px 12px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.spectify-report-title {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin-right: auto;
}

.spectify-report-title span {
  color: #bca8ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.spectify-report-title strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spectify-report-open,
.spectify-report-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  cursor: pointer;
}

.spectify-report-open {
  padding: 0 16px;
  font-size: 12px;
  font-weight: 600;
}

.spectify-report-close {
  width: 42px;
  padding: 0;
  font-size: 22px;
}

.spectify-report-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #e9e9e9;
}

html.spectify-report-open,
html.spectify-report-open body {
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .spectify-report-modal { padding: 0; }
  .spectify-report-dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }
  .spectify-report-bar {
    min-height: 64px;
    padding: max(10px, env(safe-area-inset-top)) 10px 10px 16px;
  }
  .spectify-report-title span { display: none; }
  .spectify-report-title strong { font-size: 13px; }
  .spectify-report-open { padding: 0 13px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .spectify-report-modal,
  .spectify-report-dialog { transition: none; }
}
