    /* Loading screen for assignment links (see script above). */
    #ta-boot { display: none; }
    html.ta-boot #ta-boot {
      display: flex; position: fixed; inset: 0; z-index: 2147483000;
      flex-direction: column; align-items: center; justify-content: center; gap: 18px;
      background: #F9F8FB; color: #1F2850; font-family: 'Lexend', sans-serif; text-align: center; padding: 24px;
    }
    #ta-boot .ta-boot-logo { font-weight: 600; font-size: 2rem; color: #2B3D85; }
    #ta-boot .ta-boot-logo span { color: #DE826A; }
    #ta-boot .ta-boot-spin {
      width: 44px; height: 44px; border-radius: 50%;
      border: 5px solid #E4E0FA; border-top-color: #2B3D85; animation: taBootSpin .8s linear infinite;
    }
    #ta-boot .ta-boot-text { font-size: 1.15rem; font-weight: 500; }
    @keyframes taBootSpin { to { transform: rotate(360deg); } }
    @media (prefers-reduced-motion: reduce) { #ta-boot .ta-boot-spin { animation-duration: 2.4s; } }
    /* While the join overlay boots, hide every app surface and paint
       the same purple/orange gradient the join page uses so the
       transition feels like one continuous screen. The class is
       removed by showStudentJoinScreen once the overlay actually
       opens — the overlay's own fixed positioning then takes over. */
    html.joining-live body > * { visibility: hidden; }
    html.joining-live body::before {
      content: '';
      position: fixed; inset: 0;
      background: linear-gradient(135deg, #1F2850 0%, #223068 55%, #5B49C9 100%);
      z-index: 1;
    }
    html.joining-live body::after {
      content: '';
      position: fixed; right: -120px; top: -120px;
      width: 360px; height: 360px;
      background: radial-gradient(circle, rgba(222,130,106,.4), transparent 60%);
      z-index: 2;
      pointer-events: none;
    }
