/* Auri the mascot on the homepage (Plan.md Phase 50), with the Auri page's look (auri-page/src/mascot.css, Phase 46).
   auri-mascot.js measures the page and sets every size and place. She is decoration: no clicks reach her and screen
   readers skip her. The glass values are the Auri page's own, light and dark. */
.mz { position: absolute; left: 0; top: 0; pointer-events: none; --mz-shade: #2a174a;
  --pane: #ffffff8c; --pane-line: #ffffffcc; --pane-glow: inset 0 1px 0 #ffffffb3, 0 18px 50px #2814461f, 0 0 30px #8e63e81a; }
@media (prefers-color-scheme: dark) {
  .mz { --mz-shade: #000; --pane: #ffffff0a; --pane-line: #ffffff1f; --pane-glow: inset 0 1px 0 #ffffff14, 0 18px 50px #00000059, 0 0 30px #8e63e822; }
}
.mz > *, .mz img { position: absolute; }
.mz img { display: block; left: 0; top: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }

/* She arrives once: up 12 px while fading in. Any opening rule for the copy's children is switched off for her and the
   arrival class brings its own. */
.auri-feature-copy > .mz { animation: none; }
.mz.mz-enter, .auri-feature-copy > .mz.mz-enter { animation: mz-enter .9s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes mz-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Breathing, the gentle one (his pick): her whole figure grows 1% and back every 4.6 s from her seat line. */
.mz-her { animation: mz-breathe 4.6s ease-in-out infinite; }
@keyframes mz-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.01); } }
/* Her closed eyes lie over the picture and show for a blink. */
.mz-shut { opacity: 0; transition: opacity 45ms linear; }

/* The step is the Auri page's glass. The prefixed line comes first on purpose, as on the Auri page. */
.mz-glass { border: 1px solid var(--pane-line); border-radius: 12px; background: var(--pane); box-shadow: var(--pane-glow);
  -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); }
/* The soft marks where her hands press on the glass. */
.mz-mark { height: 5px; border-radius: 50%; filter: blur(2px); background: color-mix(in srgb, var(--mz-shade) 40%, transparent); }

/* Reduced motion: no breathing, no blinking, no arrival. She holds still with her eyes open. */
@media (prefers-reduced-motion: reduce) { .mz, .mz * { animation: none !important; transition: none !important; } }
