.report-screen {
  --report-bg-start: #050816;
  --report-bg-mid: #16112c;
  --report-bg-end: #0e2030;
  --report-glow-1: rgba(168, 85, 247, 0.32);
  --report-glow-2: rgba(236, 72, 153, 0.22);
  --report-glow-3: rgba(59, 130, 246, 0.18);
  position: relative;
  min-height: 100vh;
  background: linear-gradient(
    140deg,
    var(--report-bg-start) 0%,
    var(--report-bg-mid) 54%,
    var(--report-bg-end) 100%
  );
  color: #f8f7ff;
  overflow: hidden;
}

.report-screen__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 16%, var(--report-glow-1), transparent 24%),
    radial-gradient(circle at 88% 18%, var(--report-glow-2), transparent 22%),
    radial-gradient(circle at 62% 78%, var(--report-glow-3), transparent 24%);
  pointer-events: none;
}

.report-screen--lunar-dreamer {
  --report-bg-start: #040816;
  --report-bg-mid: #111b42;
  --report-bg-end: #091327;
  --report-glow-1: rgba(76, 103, 230, 0.34);
  --report-glow-2: rgba(39, 74, 170, 0.26);
  --report-glow-3: rgba(112, 129, 255, 0.2);
}

.report-screen--solar-bloom {
  --report-bg-start: #1a1002;
  --report-bg-mid: #3a2407;
  --report-bg-end: #241204;
  --report-glow-1: rgba(250, 204, 21, 0.34);
  --report-glow-2: rgba(251, 146, 60, 0.28);
  --report-glow-3: rgba(255, 227, 138, 0.18);
}

.report-screen--inferno-pulse {
  --report-bg-start: #170608;
  --report-bg-mid: #341016;
  --report-bg-end: #27110a;
  --report-glow-1: rgba(239, 68, 68, 0.36);
  --report-glow-2: rgba(249, 115, 22, 0.3);
  --report-glow-3: rgba(251, 191, 36, 0.16);
}

.report-screen--rose-velvet {
  --report-bg-start: #180910;
  --report-bg-mid: #371529;
  --report-bg-end: #26101a;
  --report-glow-1: rgba(244, 114, 182, 0.32);
  --report-glow-2: rgba(251, 182, 206, 0.22);
  --report-glow-3: rgba(255, 220, 235, 0.14);
}

.report-screen--sage-drift {
  --report-bg-start: #08120d;
  --report-bg-mid: #193126;
  --report-bg-end: #111f17;
  --report-glow-1: rgba(52, 211, 153, 0.26);
  --report-glow-2: rgba(132, 204, 22, 0.22);
  --report-glow-3: rgba(187, 247, 208, 0.14);
}

.report-screen--midnight-eclipse {
  --report-bg-start: #090511;
  --report-bg-mid: #1a1032;
  --report-bg-end: #12081f;
  --report-glow-1: rgba(91, 33, 182, 0.34);
  --report-glow-2: rgba(124, 58, 237, 0.24);
  --report-glow-3: rgba(192, 132, 252, 0.14);
}

.report-screen__header,
.report-screen__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.report-screen__header {
  padding: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.report-screen__header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.report-button {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #f0ba72 0%, #ec4899 100%);
  color: #150d18;
  font-weight: 700;
  cursor: pointer;
}

.report-button--secondary,
.report-button--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.report-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.report-button--ghost {
  backdrop-filter: blur(12px);
}

.report-screen__content {
  padding: 42px 0 56px;
}

.report-screen__hero,
.report-panel,
.report-stat-card,
.report-aura-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 26, 0.68);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.report-screen__hero {
  border-radius: 36px;
  padding: 40px;
  margin-bottom: 24px;
}

.report-section-label {
  margin: 0 0 12px;
  color: #d8c6ff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.report-screen__hero h1,
.report-panel h2,
.report-stat-card h3,
.report-aura-title {
  margin: 0;
}

.report-screen__hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.report-screen__hero-copy,
.report-stat-card p,
.report-screen__error,
.report-aura-description,
.report-aura-trait p,
.report-track-row p,
.report-artist-card p,
.report-meter-intensity {
  color: #ddd4f8;
}

.report-screen__hero-copy {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: 1.05rem;
}

.report-time-range--hero {
  margin-top: 24px;
  justify-content: flex-start;
}

.report-screen__error {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 4px solid #fb7185;
  border-radius: 16px;
  background: rgba(127, 29, 29, 0.32);
}

.report-screen__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.report-stat-card,
.report-panel {
  border-radius: 28px;
  padding: 28px;
}

.report-stat-card__label,
.report-aura-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-stat-card__label {
  margin-bottom: 18px;
  color: #d7c7ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.report-stat-card__artist {
  display: flex;
  align-items: center;
  gap: 14px;
}

.report-stat-card__artist img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.report-stat-card__image-placeholder,
.report-artist-card__image-placeholder {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #d8c6ff;
  font-weight: 700;
}

.report-stat-card__image-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.report-aura-card {
  --aura-glow-start: rgba(168, 85, 247, 0.16);
  --aura-glow-end: rgba(236, 72, 153, 0.16);
  --aura-overlay-start: rgba(168, 85, 247, 0.18);
  --aura-overlay-end: rgba(236, 72, 153, 0.18);
  --aura-surface-tint: rgba(20, 12, 42, 0.78);
  --aura-icon-bg: rgba(255, 255, 255, 0.12);
  --aura-star-color: rgba(233, 213, 255, 0.7);
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 32px;
  margin-bottom: 24px;
  background:
    linear-gradient(135deg, var(--aura-glow-start), var(--aura-glow-end)),
    var(--aura-surface-tint);
}

.report-aura-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--aura-overlay-start),
    transparent 45%,
    var(--aura-overlay-end)
  );
}

.report-aura-content {
  position: relative;
  z-index: 1;
}

.report-aura-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--aura-icon-bg);
  display: grid;
  place-items: center;
}

.report-aura-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.report-aura-icon--fallback {
  width: 68%;
  height: 68%;
}

.report-aura-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.report-aura-description {
  margin: 20px 0 24px;
  max-width: 64ch;
  font-size: 1.05rem;
}

.report-aura-traits-title {
  margin: 0 0 14px;
  font-weight: 700;
}

.report-aura-trait {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.report-aura-trait + .report-aura-trait {
  margin-top: 10px;
}

.report-aura-trait-dot,
.report-aura-star {
  border-radius: 999px;
  background: var(--aura-star-color);
}

.report-aura-card--lunar-dreamer {
  --aura-glow-start: rgba(56, 72, 174, 0.34);
  --aura-glow-end: rgba(25, 38, 112, 0.34);
  --aura-overlay-start: rgba(92, 108, 219, 0.24);
  --aura-overlay-end: rgba(34, 48, 142, 0.22);
  --aura-surface-tint: rgba(8, 14, 38, 0.82);
  --aura-icon-bg: rgba(122, 146, 255, 0.18);
  --aura-star-color: rgba(175, 196, 255, 0.7);
}

.report-aura-card--solar-bloom {
  --aura-glow-start: rgba(250, 204, 21, 0.34);
  --aura-glow-end: rgba(245, 158, 11, 0.32);
  --aura-overlay-start: rgba(253, 224, 71, 0.26);
  --aura-overlay-end: rgba(251, 191, 36, 0.22);
  --aura-surface-tint: rgba(43, 24, 4, 0.82);
  --aura-icon-bg: rgba(255, 222, 89, 0.2);
  --aura-star-color: rgba(255, 234, 164, 0.72);
}

.report-aura-card--inferno-pulse {
  --aura-glow-start: rgba(239, 68, 68, 0.34);
  --aura-glow-end: rgba(249, 115, 22, 0.34);
  --aura-overlay-start: rgba(251, 113, 133, 0.24);
  --aura-overlay-end: rgba(251, 146, 60, 0.22);
  --aura-surface-tint: rgba(40, 11, 14, 0.82);
  --aura-icon-bg: rgba(255, 153, 92, 0.18);
  --aura-star-color: rgba(255, 211, 180, 0.72);
}

.report-aura-card--rose-velvet {
  --aura-glow-start: rgba(244, 114, 182, 0.3);
  --aura-glow-end: rgba(251, 182, 206, 0.28);
  --aura-overlay-start: rgba(249, 168, 212, 0.24);
  --aura-overlay-end: rgba(253, 205, 225, 0.22);
  --aura-surface-tint: rgba(52, 19, 39, 0.8);
  --aura-icon-bg: rgba(255, 205, 229, 0.18);
  --aura-star-color: rgba(255, 225, 239, 0.72);
}

.report-aura-card--sage-drift {
  --aura-glow-start: rgba(52, 211, 153, 0.28);
  --aura-glow-end: rgba(132, 204, 22, 0.24);
  --aura-overlay-start: rgba(110, 231, 183, 0.22);
  --aura-overlay-end: rgba(163, 230, 53, 0.18);
  --aura-surface-tint: rgba(17, 36, 27, 0.82);
  --aura-icon-bg: rgba(167, 243, 208, 0.16);
  --aura-star-color: rgba(217, 249, 229, 0.68);
}

.report-aura-card--midnight-eclipse {
  --aura-glow-start: rgba(91, 33, 182, 0.34);
  --aura-glow-end: rgba(76, 29, 149, 0.28);
  --aura-overlay-start: rgba(139, 92, 246, 0.2);
  --aura-overlay-end: rgba(67, 20, 120, 0.24);
  --aura-surface-tint: rgba(16, 8, 30, 0.84);
  --aura-icon-bg: rgba(167, 139, 250, 0.16);
  --aura-star-color: rgba(221, 207, 253, 0.72);
}

.report-aura-trait-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  flex: 0 0 auto;
}

.report-aura-star {
  position: absolute;
  width: 5px;
  height: 5px;
}

.report-panel {
  margin-bottom: 24px;
}

.report-aura-card--empty {
  display: flex;
  align-items: center;
  min-height: 220px;
}

.report-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.report-time-range {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.report-time-range__button {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ddd4f8;
  font: inherit;
  cursor: pointer;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.report-time-range__button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.report-time-range__button--active {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.3),
    rgba(236, 72, 153, 0.26)
  );
  color: #fff7ff;
}

.report-share-copy {
  margin: 0 0 16px;
  color: #ddd4f8;
}

.report-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.report-share-input {
  flex: 1 1 320px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8f7ff;
  padding: 12px 18px;
}

.report-screen__error--inline {
  margin-top: 16px;
  margin-bottom: 0;
}

.report-meter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.report-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.report-meter-label {
  font-weight: 600;
}

.report-meter-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.report-meter-fill {
  height: 100%;
  border-radius: inherit;
}

.report-meter-fill-purple {
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
}

.report-meter-fill-pink {
  background: linear-gradient(90deg, #ec4899, #f9a8d4);
}

.report-meter-fill-blue {
  background: linear-gradient(90deg, #3b82f6, #7dd3fc);
}

.report-meter-fill-green {
  background: linear-gradient(90deg, #10b981, #86efac);
}

.report-meter-shimmer {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
}

.report-meter-value {
  margin-top: 8px;
  text-align: right;
  color: #ddd4f8;
}

.report-chart {
  height: 320px;
}

.report-chart--pie {
  min-height: 360px;
}

.report-screen__split {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 24px;
}

.report-artists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.report-artist-card {
  text-align: center;
}

.report-artist-card__image-wrap {
  position: relative;
  margin-bottom: 12px;
}

.report-artist-card__image-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.report-artist-card__image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.report-artist-card__image-wrap span,
.report-track-row__rank {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  font-weight: 700;
}

.report-artist-card__image-wrap span {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.report-tracks-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.report-track-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.report-track-row__rank {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.report-track-row__copy {
  flex: 1;
}

.report-track-row__copy h3,
.report-artist-card h3 {
  margin: 0 0 4px;
}

.report-empty-state {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #ddd4f8;
  text-align: center;
}

@media (max-width: 1024px) {
  .report-screen__stats-grid,
  .report-meter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .report-screen__split {
    grid-template-columns: 1fr;
  }

  .report-panel__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-time-range {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .report-screen__header {
    flex-direction: column;
    align-items: stretch;
  }

  .report-screen__header-actions {
    justify-content: stretch;
  }

  .report-screen__header-actions .report-button,
  .report-button--ghost {
    flex: 1 1 auto;
  }

  .report-screen__hero,
  .report-panel,
  .report-stat-card,
  .report-aura-card {
    padding: 22px;
  }

  .report-screen__stats-grid,
  .report-meter-grid,
  .report-artists-grid {
    grid-template-columns: 1fr;
  }

  .report-track-row {
    flex-wrap: wrap;
  }
}
