/* Mood switch: a band of the new mood's colour ripples out from the button
   (see switchMood in home-v2.js). Inside the band the page is inverted: mood
   colour background, white type. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.vt-follow::view-transition-new(root) { clip-path: circle(var(--r2, 0px) at var(--vt-x) var(--vt-y)); }
#moodRipple { position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden; view-transition-name: mood-ripple; }
::view-transition-group(mood-ripple), ::view-transition-new(mood-ripple) { animation: none; }
::view-transition-old(mood-ripple) { display: none; }

#moodRipple .flood { position: absolute; inset: 0; background: var(--flood-bg, #4abbbb); color: #fff; overflow: hidden; }
/* Everything in the copy reads white on the colour; images and covers stay as they are. */
#moodRipple .flood * {
  color: #fff !important; border-color: rgba(255, 255, 255, 0.35) !important;
  animation-duration: 0.001s !important; animation-delay: 0s !important; transition: none !important;
}
#moodRipple .flood :is(.page-sheet, section, nav, .d-snapshots-band, .d-work, .off-strip, .pl-section) { background-color: transparent !important; }
/* The entrance fades must not replay in the copy: show everything where it ends up. */
#moodRipple .flood .d-fade-up, #moodRipple .flood .d-fade-in { animation: none !important; opacity: 1 !important; transform: none !important; }
