.dashboard-header[data-background="castle"] {
  background: radial-gradient(ellipse at 50% 112%, #35204d, #140c28 72%);
}
.dashboard-header[data-background="castle"]::before,
.dashboard-header[data-background="castle"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/hero.png") center bottom / 100% 103% no-repeat;
  opacity: .74;
}
.dashboard-header[data-background="castle"]::before {
  mask-image: linear-gradient(to right, #000 17%, transparent 20.5%);
}
.dashboard-header[data-background="castle"]::after {
  mask-image: linear-gradient(to right, transparent 74%, #000 88%), linear-gradient(to bottom, transparent 31%, #000 59%);
  mask-composite: intersect;
}
.dashboard-header[data-background="violet"] {
  background: radial-gradient(ellipse at 15% 100%, #4a2162, transparent 56%), linear-gradient(115deg, #140c25, #28123d 75%, #3c1b49);
}
.dashboard-header[data-background="slate"] {
  background: radial-gradient(ellipse at 85% 110%, #384054, transparent 66%), linear-gradient(120deg, #10131d, #24213b);
}
@media (max-width: 600px) {
  .dashboard-header[data-background="castle"]::before,
  .dashboard-header[data-background="castle"]::after {
    opacity: .55;
  }
}
