:root{
    --bg:#f5f6f7; --surface:#fff; --border:#e4e6e9; --text:#22262b; --text-2:#666d75; --text-3:#98a0a8;
    --accent:#1264c0; --accent-soft:#edf3fb; --input:#f4f5f7; --danger:#c0392b;
  }
  @media (prefers-color-scheme: dark){
    :root{
      --bg:#17181b; --surface:#1e2024; --border:#2e3136; --text:#e6e8eb; --text-2:#a0a7af; --text-3:#767d85;
      --accent:#5b9ce8; --accent-soft:#1e2a38; --input:#26282d; --danger:#e57373;
    }
  }
  *{box-sizing:border-box;}
  html,body{height:100%;}
  body{
    margin:0;display:flex;align-items:center;justify-content:center;
    background:var(--bg);color:var(--text);
    font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;
    font-size:13px;-webkit-font-smoothing:antialiased;
  }
  .card{
    width:340px;max-width:calc(100vw - 40px);padding:26px 24px 22px;
    background:var(--surface);border:1px solid var(--border);border-radius:12px;
    box-shadow:0 10px 30px rgba(16,24,40,.08);
  }
  .brand{display:flex;align-items:center;gap:9px;margin-bottom:4px;}
  .dot{width:26px;height:26px;border-radius:7px;background:var(--accent-soft);color:var(--accent);
    display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;}
  h1{margin:0;font-size:16px;font-weight:600;}
  .sub{margin:2px 0 20px;font-size:12px;color:var(--text-3);}
  label{display:block;font-size:12px;color:var(--text-2);margin:0 0 6px;}
  input{
    width:100%;height:38px;padding:0 12px;margin-bottom:14px;
    border:1px solid var(--border);border-radius:7px;background:var(--input);color:var(--text);
    font-size:13px;font-family:inherit;outline:none;
  }
  input:focus{border-color:var(--accent);background:var(--surface);}
  .captcha-row{display:flex;gap:8px;align-items:stretch;margin-bottom:14px;}
  .captcha-row input{margin-bottom:0;flex:1;min-width:0;}
  .captcha-img{
    width:108px;height:38px;flex:0 0 108px;display:block;
    border:1px solid var(--border);border-radius:7px;background:var(--input);
    cursor:pointer;
  }
  button{
    width:100%;height:38px;border:0;border-radius:7px;background:var(--accent);color:#fff;
    font-size:13px;font-family:inherit;font-weight:600;cursor:pointer;
    transition:opacity .12s;
  }
  button:hover{opacity:.9;}
  button:disabled{opacity:.55;cursor:not-allowed;}
  .error{min-height:18px;margin:0 0 8px;font-size:12px;color:var(--danger);}
  .foot{margin-top:14px;font-size:11px;color:var(--text-3);text-align:center;}
