/* RudyOS lock screen. Sizes are container units, so it scales with the screen. */
.lock-host { container-type: size; }
.lock { position: absolute; inset: 0; overflow: hidden; color: #fff; font-family: var(--font-ui); }
.lock-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 6, 14, 0.35), rgba(10, 6, 14, 0.08) 38%, rgba(10, 6, 14, 0.72)); }
.lock-top { position: absolute; left: 0; right: 0; top: 11cqh; text-align: center; }
.lock-time { display: block; font-size: 12.5cqw; font-weight: 250; line-height: 1; letter-spacing: -0.02em; text-shadow: 0 0.3cqw 2cqw rgba(0, 0, 0, 0.45); font-variant-numeric: tabular-nums; }
.lock-date { margin: 1.2cqw 0 0; font-size: 1.8cqw; font-weight: 500; opacity: 0.92; text-shadow: 0 0.1cqw 0.6cqw rgba(0, 0, 0, 0.6); }
.lock-user { position: absolute; left: 0; right: 0; bottom: 7cqh; display: grid; justify-items: center; gap: 0.6cqw; }
.lock-avatar { width: 6.6cqw; height: 6.6cqw; border-radius: 50%; display: grid; place-items: center; background: #0d0910; border: 0.15cqw solid rgba(255, 255, 255, 0.22); font: 400 4.6cqw/1 var(--font-neon); color: #ffd3e8; text-shadow: 0 0 1cqw #ff3d93; box-shadow: 0 0 3cqw rgba(255, 61, 147, 0.35); }
.lock-user b { font-size: 1.7cqw; font-weight: 650; }
.lock-hint { font-size: 1.15cqw; font-weight: 500; padding: 0.5cqw 1.5cqw; border-radius: 999px; background: rgba(255, 255, 255, 0.14); animation: lock-pulse 2.4s ease-in-out infinite; }
@keyframes lock-pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

/* full-screen lock in the OS */
.os-lock { position: absolute; inset: 0; z-index: 690; cursor: pointer; }
.os-lock .lock-shade { background: linear-gradient(180deg, rgba(10, 6, 14, 0.45), rgba(10, 6, 14, 0.15) 38%, rgba(10, 6, 14, 0.78)); }
@media (max-width: 759px) {
  .os-lock .lock-time { font-size: 22cqw; }
  .os-lock .lock-date { font-size: 4.4cqw; }
  .os-lock .lock-avatar { width: 16cqw; height: 16cqw; font-size: 11cqw; }
  .os-lock .lock-user b { font-size: 4.4cqw; }
  .os-lock .lock-hint { font-size: 3.4cqw; padding: 1.4cqw 4cqw; }
}
@media (prefers-reduced-motion: reduce) { .lock-hint { animation: none; } }
.os.is-locked .desktop, .os.is-locked .taskbar, .os.is-locked .windows, .os.is-locked .fx { visibility: hidden; }
