/* Shared by every page: the living Hayuzen logo, and the small "a Hayuzen app" badge on the app pages. */
/* ---------- The logo, alive: the logo's own four colours (as in Mitavya and X2: F49BE8, D49AE9, B29CE9, 7F8AEC)
   drift there and back through the letters every 6 seconds, exactly as the apps do it, and the
   smiling u blinks now and then. The letters and the eyes are two masks over the same moving colour. ---------- */
.logo { position: relative; display: inline-block; aspect-ratio: 1200 / 575; vertical-align: middle; }
.logo i { position: absolute; inset: 0; background: linear-gradient(98deg, #f49be8, #d49ae9, #b29ce9, #7f8aec, #b29ce9, #d49ae9, #f49be8);
  background-size: 300% 100%; animation: drift 6s ease-in-out infinite alternate;
  -webkit-mask: url("/media/logo-body.webp") center / 100% 100% no-repeat; mask: url("/media/logo-body.webp") center / 100% 100% no-repeat; }
.logo .le { -webkit-mask-image: url("/media/logo-eyes.webp"); mask-image: url("/media/logo-eyes.webp"); transform-origin: 48.2% 35.5%; animation: drift 6s ease-in-out infinite alternate, blink 4.6s infinite; }
@keyframes drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes blink { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.12); } 96% { transform: scaleY(1); } 97.5% { transform: scaleY(.12); } }

.logo-sm { height: 30px; }
.hz-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.hz-brand small { padding: 4px 10px; border-radius: 99px; font: 600 .72rem/1 "Bricolage", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .75;
  box-shadow: inset 0 0 0 1px currentColor; white-space: nowrap; }
.hz-line { font-weight: 600; background: linear-gradient(98deg, #f49be8, #d49ae9, #b29ce9, #7f8aec, #b29ce9, #d49ae9, #f49be8); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: drift 6s ease-in-out infinite alternate; }
@media (max-width: 520px) { .hz-brand small { display: none; } }
@media (prefers-reduced-motion: reduce) { .logo i, .hz-line { animation: none !important; } }
