/* ============================================================
   NEBULA / ARK — 认证页样式（复用主题工业风语言）
   仅作用于 body.body-100（登录 / 注册）
   ============================================================ */
:root{
  --accent:#42b883;
  --accent-dim:rgba(66,184,131,.55);
  --accent-soft:rgba(66,184,131,.10);
  --ink:#e8edf2;
  --ink-2:rgba(232,237,242,.62);
  --ink-3:rgba(232,237,242,.38);
  --ink-4:rgba(232,237,242,.20);
  --line:rgba(255,255,255,.13);
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
  --cut:10px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

body.body-100{
  min-height:100vh;
  background:#0a0d12 !important;
  background-image:
    radial-gradient(110% 80% at 78% -10%, rgba(66,184,131,.16) 0%, transparent 58%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) !important;
  background-size:auto, 56px 56px, 56px 56px !important;
  color:var(--ink) !important;
  font-family:'Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC',system-ui,sans-serif !important;
  display:flex; align-items:center; justify-content:center;
}

/* 四周角标，营造 HUD 框感 */
body.body-100::before,
body.body-100::after{
  content:''; position:fixed; width:26px; height:26px; pointer-events:none; z-index:1;
  border-color:var(--accent-dim); border-style:solid; border-width:0;
}
body.body-100::before{ top:22px; left:22px; border-top-width:1px; border-left-width:1px; }
body.body-100::after{ bottom:22px; right:22px; border-bottom-width:1px; border-right-width:1px; }

body.body-100 .typecho-login-wrap{
  width:100%; padding:0;
  display:flex; align-items:center; justify-content:center;
}

body.body-100 .typecho-login{
  position:relative;
  width:min(408px, calc(100vw - 44px)) !important;
  padding:42px 38px 34px !important;
  background:rgba(255,255,255,.035) !important;
  border:1px solid var(--line) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  clip-path:polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  animation:authIn .5s var(--ease) both;
}
/* 顶部强调线 */
body.body-100 .typecho-login::before{
  content:''; position:absolute; left:0; top:0; width:52px; height:2px; background:var(--accent);
  box-shadow:0 0 14px var(--accent-dim);
}
/* 系统标签 */
body.body-100 .typecho-login::after{
  content:'AUTH // SECURE ACCESS';
  position:absolute; right:22px; top:16px;
  font-family:var(--mono); font-size:9px; letter-spacing:.2em;
  color:rgba(232,237,242,.28);
}

@keyframes authIn{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:none; }
}

/* Logo 区域 */
body.body-100 .typecho-login h1{
  margin:0 0 28px !important; padding:0 !important;
  text-align:left !important;
}
body.body-100 .typecho-login h1 .i-logo{
  display:inline-block !important;
  width:auto !important; height:auto !important;
  font-size:0 !important; line-height:1 !important;
  background:none !important; text-indent:0 !important;
  padding:0 !important;
}
body.body-100 .typecho-login h1 .i-logo::before{
  content:'Sign In';
  font-family:'Noto Sans SC',system-ui,sans-serif;
  font-size:23px; font-weight:600; letter-spacing:.02em;
  color:var(--ink);
}
body.body-100 .typecho-login form[name=register] ~ * ,
body.body-100 .typecho-login h1 .i-logo[href*="typecho"]{ }
/* 注册页标题替换 */
body.body-100 .typecho-login:has(form[name=register]) h1 .i-logo::before{
  content:'Create Account';
}

/* 输入框 */
body.body-100 .typecho-login p{ margin:0 0 14px !important; }
body.body-100 .typecho-login input.text-l,
body.body-100 .typecho-login input[type=text],
body.body-100 .typecho-login input[type=email],
body.body-100 .typecho-login input[type=password]{
  width:100% !important;
  height:auto !important;
  padding:13px 15px !important;
  font-size:14px !important;
  font-family:'Noto Sans SC',system-ui,sans-serif !important;
  color:var(--ink) !important;
  background:rgba(0,0,0,.26) !important;
  border:1px solid var(--line) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  outline:none !important;
}
body.body-100 .typecho-login input::placeholder{ color:rgba(232,237,242,.28) !important; }
body.body-100 .typecho-login input:focus{
  border-color:var(--accent) !important;
  background:rgba(0,0,0,.34) !important;
  box-shadow:0 0 0 1px var(--accent-dim) !important;
}

/* 提交按钮 */
body.body-100 .typecho-login .btn,
body.body-100 .typecho-login button[type=submit]{
  width:100% !important;
  padding:13px 20px !important;
  font-family:var(--mono) !important;
  font-size:11.5px !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  font-weight:600 !important;
  color:#06110c !important;
  background:var(--accent) !important;
  border:1px solid var(--accent) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  cursor:pointer;
  clip-path:polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition:background .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease);
}
body.body-100 .typecho-login .btn:hover,
body.body-100 .typecho-login button[type=submit]:hover{
  background:#4fd39a !important;
  box-shadow:0 0 24px rgba(66,184,131,.34) !important;
  transform:translateY(-1px);
}

/* 记住我 / 复选框 */
body.body-100 .typecho-login label{
  font-size:12px !important;
  color:var(--ink-3) !important;
  letter-spacing:.02em;
}
body.body-100 .typecho-login input[type=checkbox]{
  width:13px !important; height:13px !important;
  margin-right:6px; vertical-align:-2px;
  accent-color:var(--accent);
}

/* 底部链接区 */
body.body-100 .typecho-login .more-link{
  margin-top:22px !important;
  padding-top:18px !important;
  border-top:1px solid rgba(255,255,255,.07);
  font-family:var(--mono) !important;
  font-size:10px !important;
  letter-spacing:.14em !important;
  text-transform:uppercase;
  color:rgba(232,237,242,.30) !important;
  text-align:left !important;
}
body.body-100 .typecho-login .more-link a{
  color:var(--ink-2) !important;
  text-decoration:none !important;
  transition:color .2s var(--ease);
}
body.body-100 .typecho-login .more-link a:hover{ color:var(--accent) !important; }

/* Turnstile 容器 */
body.body-100 .turnstile-box{
  margin:4px 0 16px !important;
  display:flex; justify-content:center;
  min-height:0;
}

/* 提示消息 */
body.body-100 .message,
body.body-100 .notice{
  background:rgba(66,184,131,.10) !important;
  border:1px solid var(--accent-dim) !important;
  border-radius:0 !important;
  color:var(--ink) !important;
  font-size:12.5px !important;
  padding:10px 13px !important;
}
body.body-100 .message.error,
body.body-100 .notice.error{
  background:rgba(235,87,87,.10) !important;
  border-color:rgba(235,87,87,.5) !important;
}

/* 去掉 Typecho 默认的渐变/圆角残留 */
body.body-100 .typecho-login-head,
body.body-100 .typecho-login .typecho-option{ background:none !important; }

@media (max-width:520px){
  body.body-100 .typecho-login{ padding:34px 24px 28px !important; }
  body.body-100::before{ top:12px; left:12px; }
  body.body-100::after{ bottom:12px; right:12px; }
}
