/* Dag/nacht-gradient (zachte reveal-mask via View Transitions), ongewijzigd overgenomen uit titusretro-hub, ui/editorial.css (regels 'Stationary old/new views' tot de ready-transitie). Bron-JS: theme-transition-v1.js (byte-gelijk aan hub en Rome). Herstel 14-11: zie BEVINDING-GRADIENT.md. */
/* Stationary old/new views: only the soft reveal mask and opacity animate. */
html[data-theme-gradient]::view-transition-old(root) { animation:none; }
html[data-theme-gradient]::view-transition-new(root) {
  mix-blend-mode:normal;
  /* Swup Reveal gradient recipe, adapted to stationary theme snapshots:
     github.com/swup/demos/blob/main/reveal/transitions.css (MIT). */
  mask-image:linear-gradient(to left,transparent 33.33%,white 66.66%);
  mask-size:300% 100%;
  animation:theme-soft-reveal 450ms ease-in-out both;
}
@keyframes theme-soft-reveal {
  from { mask-position:100%; opacity:0; }
  to { mask-position:0%; opacity:1; }
}
html[data-theme-gradient][data-theme-reveal="day"]::view-transition-new(root) {
  mask-image:linear-gradient(to right,transparent 33.33%,white 66.66%);
  animation-name:theme-soft-reveal-reverse;
}
@keyframes theme-soft-reveal-reverse {
  from { mask-position:0%; opacity:0; }
  to { mask-position:100%; opacity:1; }
}
