/* T-544 (his pick B, 20 Nov, "B for all animations ... if its over 0.15s"): THE loading card (src/core/load-card.js), the Filling cover's card
   made small, in the page, no grey cover. The website and every extension build (lib/load-card.css). Colours: tokens only; the moving trace
   is blue (--brand-text), red stays for the logo and the main buttons (his rule).
   The wait: nothing for 0.15 s, then a 0.2 s fade in (a load that ends sooner never shows it). Reduced motion: the card still, shown at once
   after the same wait, the trace standing still. */
.lc-wrap { display: grid; place-items: center; padding: 64px 16px 96px; opacity: 0; animation: lc-in .2s ease-out .15s forwards; }
.lc-wrap.lc-fixed { position: fixed; inset: 0; z-index: 90; padding: 16px; pointer-events: none; }
@keyframes lc-in { to { opacity: 1; } }
.lc-wrap.lc-now { opacity: 1; animation: none; }   /* takes over from a card already on screen (the website's first-look card): no second wait, no blink */
.lc-card { display: grid; justify-items: center; gap: 12px; padding: 20px 28px 18px; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift); }
.lc-stamp { position: relative; width: 72px; height: 72px; }
.lc-ring, .lc-run { position: absolute; inset: 0; border-radius: 16px; }
.lc-ring { box-shadow: inset 0 0 0 3px var(--line); }
/* the trace: a conic sweep seen only through the ring's 3 px outline (the mask), turning once every 1.2 s */
.lc-run { overflow: hidden;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Crect x='1.5' y='1.5' width='69' height='69' rx='16' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Crect x='1.5' y='1.5' width='69' height='69' rx='16' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.lc-run::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 0deg, transparent 0 62%, var(--brand-text) 90%, transparent 100%); animation: lc-spin 1.2s linear infinite; }
@keyframes lc-spin { to { transform: rotate(1turn); } }
.lc-stamp .lc-mark { position: absolute; left: 15px; top: 15px; width: 42px; height: 42px; display: block; }
.lc-mark .mark-tile { fill: var(--logo-tile); } .lc-mark .mark-glyph { fill: var(--logo-glyph); }
.lc-word { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .lc-wrap { animation: lc-in 0s linear .15s forwards; }
  .lc-run::before { animation: none; transform: rotate(.15turn); }
}
