@property --accent {
  syntax: '<color>';
  inherits: true;
  initial-value: #cefb69;
}

@keyframes accent-spectrum {
  0%, 100% { --accent: #cefb69; }
  9% { --accent: #f5ed85; }
  18% { --accent: #ffc38f; }
  27% { --accent: #ffa69f; }
  36% { --accent: #ffabd8; }
  45% { --accent: #d8b0ff; }
  54% { --accent: #b7b8ff; }
  63% { --accent: #9ccfff; }
  72% { --accent: #8ce4ed; }
  81% { --accent: #8de7c5; }
  90% { --accent: #a1ed99; }
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    animation: accent-spectrum 90s linear infinite;
  }
}
