/* The piercing star by day (static/landing/star.js places it): a white core in a golden glow, a lens's level flare and
   four fine points that turn as it flies (--star-turn), with a tail of six motes. Hidden until a page shows it (the
   landing page with its scene, the account pages while they move). */
.day-star { display: none; position: fixed; left: 0; top: 0; z-index: 3; width: 0; height: 0; pointer-events: none; opacity: 0; }
.day-star b, .day-star i { position: absolute; left: 0; top: 0; border-radius: 50%; }
.day-star b { width: 7rem; height: 7rem; margin: -3.5rem;
  background: radial-gradient(circle, var(--color-text-on-accent) 0 5%, var(--color-bg-above) 9%, color-mix(in srgb, var(--color-sky-glow) 60%, transparent) 18%, color-mix(in srgb, var(--color-sky-glow) 0%, transparent) 44%);
  filter: drop-shadow(0 0 1rem color-mix(in srgb, var(--color-sky-glow) 85%, transparent)); }
.day-star b::before, .day-star b::after { content: ""; position: absolute; }
.day-star b::before { inset: calc(50% - 1px) -70%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-sky-glow) 85%, transparent) 50%, transparent); }   /* a lens's level flare */
.day-star b::after { inset: 0; rotate: var(--star-turn, 0deg);
  background: linear-gradient(transparent 6%, var(--color-bg-above) 50%, transparent 94%) center / 2.5px 100% no-repeat,
    linear-gradient(90deg, transparent 6%, var(--color-bg-above) 50%, transparent 94%) center / 100% 2.5px no-repeat; }
.day-star i { width: 1rem; height: 1rem; margin: -.5rem; background: radial-gradient(circle, var(--color-bg-above), color-mix(in srgb, var(--color-sky-glow) 0%, transparent) 70%); }
/* The button it flies into, the landing page's first and an account form's while it is sent: its mark (✦) comes in
   as --star-landed goes from 0 to 1, its room kept from the start (the words moved over by half of it until then),
   and a soft ring of light opens round it as --star-ring goes from 0 to 1. The landing page sets the two from the
   scroll (landing.css), the account pages on a clock (account/sky.css). */
@property --star-landed { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --star-ring { syntax: "<number>"; inherits: true; initial-value: 1; }
:is(.l-ch--dawn .button:not(.secondary), .is-sending .sky-card form button[type=submit]) {
  --star-wait: calc((1 - var(--star-landed)) * .75em);
  padding-inline: calc(var(--space-7) - var(--star-wait)) calc(var(--space-7) + var(--star-wait));
  box-shadow: 0 0 0 calc(var(--star-ring) * .7rem) color-mix(in srgb, var(--color-border-above) calc((1 - var(--star-ring)) * 55%), transparent); }
:is(.l-ch--dawn .button:not(.secondary), .is-sending .sky-card form button[type=submit])::before {
  content: "✦" / ""; display: inline-block; width: 1em; margin-right: .5em; scale: var(--star-landed); }
@media print { .day-star { display: none !important; } }
