/* «חוגה», the logo assistant's look (pal-dial.js, 19.11.2026). The same file in both dashboards: change them together */
/* two sheets of glass over the page: under it its cord and the rings around a place, over it what flies off it */
.pf-glass { position: fixed; inset: 0 auto auto 0; display: block; margin: 0; padding: 0; border: 0; background: none; overflow: visible; pointer-events: none; }

/* the logo turns back into the phone's dial it is: the holes come back on the yellow ring, the face steps aside, and it dials
   (a quick turn to the finger stop, back in ticks). Its own colours day and night, as the awake logo's (pal.css) */
.mk.awake:is(.pf-dial, .pf-dialonce) .ring circle { transform: none; opacity: 1; fill: #fffbf0; stroke: #1b1a17; stroke-width: 7; transition: transform .24s cubic-bezier(.4, 0, .2, 1), opacity .12s; }
.mk.awake:is(.pf-dial, .pf-dialonce) :is(.face, .mouth) { opacity: 0; transition: opacity .1s; }
.mk.pf-dial .ring { transform-origin: 128px 128px; animation: pf-dial 1.6s .25s infinite; }
.mk.pf-dialonce .ring { transform-origin: 128px 128px; animation: pf-dial .95s .1s 1; }
@keyframes pf-dial {
  0% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.25, .8, .3, 1); }
  30% { transform: rotate(118deg); animation-timing-function: steps(1, end); }
  38% { transform: rotate(94deg); animation-timing-function: steps(1, end); }
  46% { transform: rotate(70deg); animation-timing-function: steps(1, end); }
  54% { transform: rotate(47deg); animation-timing-function: steps(1, end); }
  62% { transform: rotate(23deg); animation-timing-function: steps(1, end); }
  70%, 100% { transform: rotate(0deg); }
}
/* the answer rings in its bubble */
.pal-say.pf-ring { animation: pf-ring .6s linear; }
@keyframes pf-ring { 10%, 30%, 50%, 70% { rotate: 4deg; } 20%, 40%, 60%, 80% { rotate: -4deg; } 90% { rotate: 1deg; } }

/* into a setting and back (pal-view.js fade, 19.11.2026: «חלקה ולא בבום»): the whole page dissolves into the next as one picture,
   old and new on the same curve so what stays (the bar) stays still; no piece of it moves on its own over the settings */
html.vt-pal * { view-transition-name: none !important; }
html.vt-pal::view-transition-old(root), html.vt-pal::view-transition-new(root) { animation-duration: .36s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  .mk .ring { animation: none !important; }
  .pal-say.pf-ring { animation: none; }
}
