/* ===== 本地预览：登录页美化 ===== */
body.body-100{
  margin:0;
  min-height:100vh;
  background:#1b2230 url('https://t.alcy.cc/pc') center center / cover no-repeat fixed;
  display:flex; align-items:center; justify-content:center;
  font-family:"Noto Sans SC","Microsoft YaHei",-apple-system,sans-serif;
}
body.body-100::before{
  content:''; position:fixed; inset:0; z-index:0;
  background:
    radial-gradient(circle at 20% 15%, rgba(126,216,176,.28), transparent 55%),
    linear-gradient(150deg, rgba(20,26,38,.62), rgba(48,38,66,.5));
  backdrop-filter:blur(1.5px);
}
.typecho-login-wrap{
  position:relative; z-index:2;
  width:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  margin:0 auto; padding:30px 16px; box-sizing:border-box;
}
.typecho-login{
  width:372px !important; max-width:100%;
  background:rgba(255,255,255,.15) !important;
  backdrop-filter:blur(24px) saturate(160%);
  -webkit-backdrop-filter:blur(24px) saturate(160%);
  border:1px solid rgba(255,255,255,.32) !important;
  border-radius:24px !important;
  padding:38px 32px 24px !important;
  box-shadow:0 26px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.35) !important;
  box-sizing:border-box;
}
/* 头部：头像 + 站名 */
.ak-login-head{ text-align:center; margin-bottom:26px; }
.ak-login-head .ak-avatar{
  width:76px; height:76px; border-radius:50%;
  object-fit:cover;
  border:3px solid rgba(255,255,255,.75);
  box-shadow:0 10px 24px rgba(0,0,0,.28);
  display:block; margin:0 auto 14px;
}
.ak-login-head .ak-title{
  margin:0; font-size:21px; font-weight:700; letter-spacing:1px;
  color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.4);
}
.ak-login-head .ak-sub{
  margin:6px 0 0; font-size:12px; letter-spacing:3px;
  color:rgba(255,255,255,.78); text-transform:uppercase;
}
/* 隐藏原生 logo */
.typecho-login .i-logo{ display:none !important; }
/* 输入框 */
.typecho-login input.text-l{
  background:rgba(255,255,255,.9) !important;
  border:1px solid rgba(255,255,255,.6) !important;
  border-radius:12px !important;
  height:44px !important;
  padding:0 14px !important;
  font-size:14px;
  box-shadow:none !important;
  transition:box-shadow .18s, background .18s;
}
.typecho-login input.text-l:focus{
  background:#fff !important;
  border-color:rgba(126,216,176,.9) !important;
  box-shadow:0 0 0 4px rgba(126,216,176,.28) !important;
  outline:none;
}
.typecho-login p{ margin:0 0 14px; }
/* 按钮 */
.typecho-login .btn.primary{
  background:linear-gradient(135deg,#7fd8b0,#57b98f) !important;
  border:none !important;
  border-radius:12px !important;
  height:46px !important;
  font-size:15px !important;
  font-weight:600;
  letter-spacing:2px;
  color:#fff !important;
  width:100% !important;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(87,185,143,.38);
  transition:transform .15s, box-shadow .15s, filter .15s;
}
.typecho-login .btn.primary:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
  box-shadow:0 14px 28px rgba(87,185,143,.48);
}
.typecho-login .btn.primary:active{ transform:translateY(0); }
/* 记住我 */
.typecho-login label[for="remember"]{
  color:rgba(255,255,255,.9); font-size:12.5px;
}
.typecho-login .checkbox{ accent-color:#57b98f; }
/* 底部链接 */
.typecho-login .more-link{
  margin-top:20px; text-align:center; font-size:12.5px;
  border-top:1px solid rgba(255,255,255,.22); padding-top:16px;
}
.typecho-login .more-link a{ color:rgba(255,255,255,.92) !important; text-decoration:none; }
.typecho-login .more-link a:hover{ color:#c9f2df !important; }
.ak-login-foot{
  text-align:center; font-size:11.5px; color:rgba(255,255,255,.55);
  margin-top:14px; letter-spacing:.5px;
}
/* 错误提示美化 */
.typecho-login .message.error, .typecho-login .error{
  background:rgba(255,120,120,.22) !important;
  border:1px solid rgba(255,140,140,.5) !important;
  color:#fff !important; border-radius:10px; padding:8px 12px; font-size:13px;
}
@media (max-width:520px){
  .typecho-login{ width:100% !important; padding:30px 22px 20px !important; }
}

/* 验证码 */
.typecho-login .ak-captcha{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin:0 0 16px !important;
}
.typecho-login .ak-captcha img{
  flex:0 0 176px; width:176px !important; height:44px !important;
  border-radius:10px; cursor:pointer;
  border:1px solid rgba(255,255,255,.55);
  background:#fff; display:block;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
  transition:transform .15s;
}
.typecho-login .ak-captcha img:hover{ transform:scale(1.02); }
.typecho-login .ak-captcha input{
  flex:0 0 96px; width:96px !important; min-width:0;
  height:44px !important; padding:0 6px !important;
  text-align:center; font-size:16px; letter-spacing:1px;
  box-sizing:border-box;
}

/* 头像区块 */
#ak-avatar-section .ak-av-preview{ margin:0 0 14px; display:flex; align-items:center; gap:14px; }
#ak-avatar-section .ak-av-preview img{
  width:78px; height:78px; border-radius:50%; object-fit:cover;
  border:3px solid #e6e8ec; box-shadow:0 4px 14px rgba(0,0,0,.08);
}
#ak-avatar-section .ak-av-preview .description{ margin:0; max-width:420px; }
