/* "Checking your session" indicator of the course page (authed === null).
   Painted at once but invisible: it only fades in after 150 ms, so a fast
   /api/me never flashes it. No loop, no movement (docs/DESIGN.md, Tokens). */
@layer components {
  .session-check {
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: var(--space-3);
    background: var(--color-bg);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    opacity: 0;
    animation: session-check-in var(--duration-base) var(--ease-out) 150ms forwards;
  }

  .session-check__mark {
    width: var(--space-8);
    height: var(--space-1);
    border-radius: var(--radius-full);
    background: var(--color-action);
  }

  @keyframes session-check-in {
    to { opacity: 1; }
  }
}
