*{box-sizing:border-box}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
  color:#fff;
  background:radial-gradient(1200px 600px at 20% 20%, #16243a, #0b1020 60%);
}
a{color:inherit;text-decoration:none}
.bg{position:fixed;inset:0;pointer-events:none;opacity:.35}

.container{max-width:1100px;margin:0 auto;padding:24px}
.topbar{
  display:flex;justify-content:space-between;align-items:center;
  padding:16px 24px;
  background:rgba(0,0,0,.28);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.brand{display:flex;align-items:center;gap:10px}
.logo{
  width:34px;height:34px;border-radius:10px;
  background:#7b5cff;display:flex;align-items:center;justify-content:center;
  font-weight:900;
}
.nav{display:flex;gap:14px;align-items:center}
.navlink{opacity:.78}
.navlink:hover{opacity:1}
.navlink.danger{color:#ff4d6d}

.footer{padding:18px 24px;opacity:.6}
.foot-inner{max-width:1100px;margin:0 auto;display:flex;justify-content:space-between}

/* UI primitives */
.card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:18px;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
}
.hero h1{margin:0 0 10px;font-size:34px}
.muted{opacity:.72}
.small{font-size:12px}
.row{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;
  background:linear-gradient(135deg,#7b5cff,#2de2e6);
  color:#07101c;font-weight:900;border:0;
}
.btn:hover{filter:brightness(1.05)}
.btn.ghost{
  background:rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
}
.btn.full{width:100%}

.form{margin-top:14px;display:flex;flex-direction:column;gap:10px}
label{font-size:13px;opacity:.85}
input{
  height:44px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:#fff;padding:0 12px;outline:none;
}
input:focus{border-color:rgba(123,92,255,.8)}
.link{color:#9aa7ff}

.tip{
  margin-top:14px;
  padding:12px 14px;border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.alert{
  margin-top:10px;
  padding:10px 12px;border-radius:14px;
  background:rgba(255,77,109,.12);
  border:1px solid rgba(255,77,109,.30);
}
.ok{
  margin-top:10px;
  padding:10px 12px;border-radius:14px;
  background:rgba(45,226,230,.10);
  border:1px solid rgba(45,226,230,.25);
}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
@media(max-width:900px){.grid2{grid-template-columns:1fr}}

.pane{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:14px;
}
.pane-title{font-weight:900;margin-bottom:10px}
.kv{display:flex;justify-content:space-between;margin:6px 0}

/* honeypot hidden */
.hp{position:absolute;left:-9999px;top:-9999px;opacity:0}

/* Turnstile container */
.turnstile{margin-top:10px}

/* ===== Settings ID Card styles（你之前那套保留） ===== */
.lh-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}
@media(max-width:900px){.lh-grid{grid-template-columns:1fr}}

.lh-card-id{
  background:linear-gradient(135deg,#1a2b45,#3a2550,#1a2b45);
  border-radius:20px;padding:20px;
  box-shadow:0 20px 40px rgba(0,0,0,.4);
}
.lh-id-top{display:flex;justify-content:space-between;font-size:12px;opacity:.8}
.lh-id-main{display:flex;gap:20px;align-items:center;margin-top:20px}
.lh-avatar{
  width:64px;height:64px;border-radius:16px;
  background:rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;font-weight:800;
}
.lh-id-meta{flex:1}
.lh-name{font-size:24px;font-weight:800;margin-bottom:10px}
.lh-id-row{display:flex;gap:30px}
.lh-id-label{font-size:11px;opacity:.6}
.lh-id-value{font-weight:700;margin-top:3px}
.lh-qr{text-align:center}
.lh-qr-box{
  width:90px;height:90px;border-radius:16px;
  background:#fff;color:#111;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  margin-bottom:8px;font-size:12px;font-weight:700;
}
.lh-mini-btn{
  background:rgba(255,255,255,.15);
  border:none;padding:6px 12px;border-radius:999px;cursor:pointer;color:#fff;
}
.lh-id-bottom{margin-top:20px;border-top:1px solid rgba(255,255,255,.15);padding-top:16px}
.lh-progress-bar{height:8px;background:rgba(255,255,255,.15);border-radius:999px;margin-top:8px;overflow:hidden}
.lh-progress-fill{display:block;height:100%;width:0%;background:#fff}