/* lockscreen.css — Win10 英雄壁纸、白色时钟与居中登录区 */
#lockscreen {
  position: fixed; inset: 0; z-index: 10000;
  color: #fff; overflow: hidden;
  background: #003b67 url('../assets/wallpapers/hero.svg') center / cover no-repeat;
}
#lockscreen::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, rgba(0,20,40,.16), rgba(0,12,28,.48));
  pointer-events: none;
}
.ls-brand {
  position: absolute; z-index: 1; top: 30px; right: 38px;
  font-size: 12px; font-weight: 600; letter-spacing: .45em; opacity: .55;
  user-select: none; text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.ls-panel {
  position: absolute; z-index: 1; top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(360px, 88vw); max-height: 82vh;
  display: flex; flex-direction: column; align-items: center;
}
#login-users { display: flex; flex-direction: column; align-items: stretch; gap: 5px; width: 100%; max-height: 72vh; overflow-y: auto; }
.lu-title { font-size: 18px; font-weight: 400; margin-bottom: 18px; text-align: center; user-select: none; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.lu-msg { font-size: 13px; opacity: .8; padding: 8px 2px; text-align: center; }
.login-user {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 14px; font-size: 17px; font-weight: 400; color: #fff; text-align: left;
  border: 1px solid rgba(255,255,255,.2); border-radius: 0;
  background: rgba(0,0,0,.2); transition: background .15s, border-color .15s;
}
.login-user:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); }
.login-user svg { opacity: .65; transition: opacity .15s, transform .15s; }
.login-user:hover svg { opacity: 1; transform: translateX(2px); }
#login-form { display: flex; flex-direction: column; align-items: center; gap: 11px; width: 100%; }
#login-name { font-size: 34px; font-weight: 400; line-height: 1.2; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.55); }
#login-sub { font-size: 13px; opacity: .85; min-height: 17px; text-align: center; }
.pw-row { position: relative; width: min(320px, 82vw); margin-top: 9px; }
#login-pw {
  width: 100%; height: 40px; padding: 8px 44px 8px 12px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(0,0,0,.25); border-radius: 0;
  outline: none; color: #1b1b1b; font-size: 14px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
#login-pw::placeholder { color: #666; }
#login-pw:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 1px var(--accent); }
#login-go {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 30px; border-radius: 0;
  display: flex; align-items: center; justify-content: center; color: #333;
  transition: background .15s, color .15s;
}
#login-go:hover { background: #dce9f5; color: #005a9e; }
#login-err { color: #ffc2c8; min-height: 18px; font-size: 13px; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.65); }
#login-back { color: rgba(255,255,255,.82); font-size: 13px; padding: 3px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
#login-back:hover { color: #fff; border-bottom-color: rgba(255,255,255,.7); }
.ls-clock { position: absolute; z-index: 1; left: 5vw; bottom: 6vh; text-align: left; user-select: none; text-shadow: 0 2px 5px rgba(0,0,0,.42); }
.ls-time-row { display: flex; align-items: baseline; justify-content: flex-start; gap: 11px; }
#lock-time { font-size: clamp(68px, 8vw, 112px); font-weight: 200; line-height: 1; font-family: "Segoe UI Light", "Segoe UI", var(--font); color: #fff; font-variant-numeric: tabular-nums; }
#lock-sec { font-size: clamp(20px, 2vw, 28px); font-weight: 300; color: #fff; opacity: .6; font-variant-numeric: tabular-nums; }
#lock-date { font-size: clamp(15px, 1.5vw, 20px); font-weight: 400; color: #fff; opacity: .88; margin-top: 10px; }
.ls-in .ls-panel { animation: lsFade .32s ease-out both; }
.ls-in .ls-clock { animation: lsRise .4s .05s ease-out both; }
.ls-in .ls-brand { animation: lsFade .5s .1s both; }
@keyframes lsRise { from { opacity: 0; transform: translateY(12px); } }
@keyframes lsFade { from { opacity: 0; } }
@media (max-width: 640px), (max-height: 620px) {
  .ls-clock { display: none; }
  .ls-panel { top: 50%; max-height: 92vh; }
  .ls-brand { top: 20px; right: 24px; }
}

.fc-overlay { position: fixed; inset: 0; z-index: 10500; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; }
.fc-box { width: 380px; max-width: 92vw; background: var(--win-bg); color: var(--win-fg); border: 1px solid var(--win-border); border-radius: 0; box-shadow: 0 16px 50px rgba(0,0,0,.5); overflow: hidden; }
.fc-title { padding: 14px 16px 4px; font-size: 15px; font-weight: 600; }
.fc-body { padding: 6px 16px 14px; font-size: 13px; }
.fc-body input { width: 100%; margin-top: 10px; padding: 8px 10px; border: 1px solid var(--win-border); border-radius: 0; background: var(--win-bg); color: inherit; outline: none; }
.fc-body input:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fc-err { color: var(--error); font-size: 12px; min-height: 16px; margin-top: 6px; }
.fc-btns { display: flex; justify-content: flex-end; padding: 0 16px 16px; }
.fc-ok { min-width: 88px; padding: 7px 14px; border-radius: 0; background: var(--accent); color: var(--on-accent); }
.fc-ok:hover { background: var(--accent-hover); }
