/* Boot / login / lock / shutdown screens. */

.power-screen {
  position: absolute; inset: 0; z-index: 2000;
  background: #000; color: #d8dce2;
  font-family: var(--font-mono); font-size: 13px;
  padding: 18px 22px; overflow: hidden;
  white-space: pre-wrap; line-height: 1.5;
}
.power-screen.off { display: grid; place-items: center; }
.power-screen .boot-line { display: block; }
.boot-ok { color: #4ec96a; font-weight: 700; }
.boot-info { color: #7fa8d9; }
.boot-warn { color: #f5c211; }
.boot-dim { color: #55606c; }
.boot-brand { color: #6ea8ff; }

/* Firmware / POST */
#post-screen { letter-spacing: .4px; }
.post-center { position: absolute; inset: 0; display: grid; place-items: center; }
.post-logo-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.post-bottom { position: absolute; bottom: 16px; left: 22px; right: 22px; display: flex; justify-content: space-between; color: #55606c; font-size: 11.5px; }
.post-keys { color: #8b95a1; }

/* Splash */
#splash-screen { display: grid; place-items: center; background: #050506; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; animation: splashin .6s var(--ease); }
@keyframes splashin { from { opacity: 0; transform: scale(.94) } }
.splash-word { display: flex; align-items: center; gap: 14px; color: #f2f4f8; font-family: var(--font-sans); font-weight: 600; font-size: 26px; letter-spacing: -0.5px; }
.splash-word .tag { color: #9b9b9b; font-weight: 400; font-size: 13px; margin-top: 8px; }
.splash-spinner { display: flex; gap: 7px; }
.splash-spinner i { width: 8px; height: 8px; border-radius: 50%; background: #3a3f47; animation: splashes 1.2s infinite; }
.splash-spinner i:nth-child(2) { animation-delay: .15s }
.splash-spinner i:nth-child(3) { animation-delay: .3s }
.splash-spinner i:nth-child(4) { animation-delay: .45s }
.splash-spinner i:nth-child(5) { animation-delay: .6s }
.splash-spinner i.on { background: #1F63EC; }
@keyframes splashes { 0%, 60%, 100% { background: #3a3f47; transform: none } 30% { background: #1F63EC; transform: translateY(-4px) } }
.splash-status { color: #676767; font-family: var(--font-mono); font-size: 11.5px; }
.splash-hint { position: absolute; bottom: 26px; color: #3f4349; font-family: var(--font-sans); font-size: 11px; }

/* Login / lock */
#login-screen, #lock-screen {
  display: grid; place-items: center;
  background-size: cover; background-position: center;
}
#login-screen::before, #lock-screen::before {
  content: ''; position: absolute; inset: 0;
  backdrop-filter: blur(14px) brightness(.55);
}
html[data-theme="light"] #login-screen::before, html[data-theme="light"] #lock-screen::before { backdrop-filter: blur(14px) brightness(.92); }
.login-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; color: #fff; animation: splashin .5s var(--ease); }
.login-clock { text-align: center; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.login-clock .lg-time { font-size: 54px; font-weight: 600; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.login-clock .lg-date { font-size: 14px; opacity: .85; }
.login-avatar { border-radius: 50%; box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 0 4px rgba(255,255,255,.16); }
.login-user { font-size: 16px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.login-pass {
  display: flex; align-items: center; gap: 8px;
  background: rgba(12, 13, 15, .55); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 6px 8px 6px 16px; backdrop-filter: blur(8px);
}
.login-pass input {
  background: none; border: none; outline: none; color: #fff;
  font-size: 14px; width: 210px; letter-spacing: 2px;
}
.login-pass input::placeholder { letter-spacing: 0; color: rgba(255,255,255,.55); }
.login-pass .go {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff;
}
.login-pass .go:hover { background: var(--accent-2); }
.login-hint { font-size: 11.5px; color: rgba(255,255,255,.6); }
.login-session {
  display: flex; align-items: center; gap: 8px; margin-top: 2px;
  color: rgba(255,255,255,.8); font-size: 12px;
}
.login-session select {
  background: rgba(12,13,15,.55); color: #fff; border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; outline: none;
}
.login-session select option { color: #111; }
.login-users { display: flex; gap: 26px; margin-top: 8px; }
.login-userpick { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; padding: 8px; border-radius: var(--radius-m); border: 1.5px solid transparent; }
.login-userpick:hover, .login-userpick.sel { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.login-userpick .uname { font-size: 12px; }
.login-userpick .uicon { position: relative; }
.login-userpick.guest .uicon { opacity: .85; }
.login-bad { color: #ff8a80; font-size: 12px; min-height: 16px; }
.login-spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin .8s linear infinite; }
.login-brand { position: absolute; top: 26px; left: 0; right: 0; display: flex; justify-content: center; opacity: .9; }
.login-foot { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 22px; color: rgba(255,255,255,.55); font-size: 11.5px; font-family: var(--font-mono); }

/* Lock screen specifics */
#lock-screen .login-inner { gap: 14px; }

/* Shutdown screens */
.shutdown-screen { display: grid; place-items: center; background: #000; }
.shutdown-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; color: #9aa2ad; animation: splashin .4s var(--ease); }
.shutdown-inner .sd-title { color: #e8ebef; font-family: var(--font-sans); font-size: 16px; }
.power-btn-off {
  width: 74px; height: 74px; border-radius: 50%;
  border: 1.5px solid #2c3138; color: #6a7280;
  display: grid; place-items: center; transition: all .2s;
}
.power-btn-off:hover { border-color: var(--accent); color: #fff; box-shadow: 0 0 34px var(--accent-glow); }
.off-hint { color: #3f4349; font-family: var(--font-sans); font-size: 12px; }

/* Skip affordance */
.skip-hint {
  position: absolute; bottom: 14px; right: 18px; z-index: 2010;
  color: #4a5058; font-family: var(--font-sans); font-size: 11px;
  cursor: pointer; padding: 6px 10px; border-radius: 8px;
}
.skip-hint:hover { color: #9aa2ad; }
