/* 焕然美商学院 · 登录门控（深色科技风，与工作台一致） */
#cloudGate{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;
  background:radial-gradient(1200px 600px at 50% -10%,rgba(90,120,150,.28),transparent 60%),linear-gradient(160deg,#0a0f16 0%,#0d141d 45%,#080c12 100%);
  padding:20px;color:#e8eef5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
#cloudGate.show{display:flex}
#cloudGate .gate-card{width:100%;max-width:420px;background:linear-gradient(160deg,rgba(28,38,50,.92),rgba(16,23,32,.96));
  border:1px solid rgba(150,175,200,.18);border-radius:20px;padding:36px 30px 30px;
  box-shadow:0 30px 80px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06);position:relative;overflow:hidden}
#cloudGate .gate-card:before{content:"";position:absolute;top:-60px;left:50%;transform:translateX(-50%);width:260px;height:160px;
  background:radial-gradient(ellipse,rgba(120,200,220,.22),transparent 70%);pointer-events:none}
#cloudGate .gate-brand{text-align:center;margin-bottom:26px;position:relative}
#cloudGate .gate-mark{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:14px;
  background:linear-gradient(145deg,#1d2b38,#101822);border:1px solid rgba(150,200,220,.3);
  box-shadow:0 0 0 4px rgba(120,190,210,.06),0 10px 30px rgba(0,0,0,.4);margin-bottom:14px}
#cloudGate .gate-mark b{font-size:20px;background:linear-gradient(120deg,#cfe9f2,#8fb9c9);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:1px}
#cloudGate .gate-brand h1{font-size:19px;margin:0 0 6px;font-weight:650;letter-spacing:.5px}
#cloudGate .gate-brand p{margin:0;font-size:11px;letter-spacing:2px;color:#7f97a8;text-transform:uppercase}
/* 登录方式切换：验证码登录 / 密码登录 */
#cloudGate .gate-tabs{display:flex;gap:6px;margin:0 0 20px;padding:4px;
  background:rgba(8,13,19,.6);border:1px solid rgba(150,175,200,.14);border-radius:12px}
#cloudGate .gate-tab{flex:1;padding:10px 8px;border:1px solid transparent;border-radius:9px;
  background:transparent;color:#8fa6b6;font:600 13px/1.2 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;
  cursor:pointer;transition:background .2s,color .2s,border-color .2s}
#cloudGate .gate-tab:hover{color:#d5e7ef}
#cloudGate .gate-tab.active{background:linear-gradient(145deg,#2b4a58,#1d3440);
  color:#eaf6fb;border-color:rgba(130,200,220,.35);box-shadow:0 4px 14px rgba(0,0,0,.25)}
#cloudGate .gate-pwd-tip{margin:-4px 0 14px;padding-left:2px;font-size:11px;line-height:1.6;color:#7f97a8}
#cloudGate .gate-field{margin-bottom:14px}
#cloudGate .gate-field label{display:block;font-size:12px;color:#8fa6b6;margin:0 0 7px;padding-left:2px}
#cloudGate .gate-input-row{display:flex;gap:8px}
#cloudGate input{gap:0;width:100%;background:rgba(8,13,19,.75);border:1px solid rgba(150,175,200,.2);border-radius:11px;
  padding:13px 14px;color:#eaf2f7;font-size:15px;outline:none;transition:border-color .2s,box-shadow .2s}
#cloudGate input::placeholder{color:#5f7383}
#cloudGate input:focus{border-color:rgba(120,200,220,.55);box-shadow:0 0 0 3px rgba(120,200,220,.1)}
#cloudGate input.code-input{letter-spacing:6px;font-size:17px;font-variant-numeric:tabular-nums}
#cloudGate .gate-code-btn{flex:0 0 auto;white-space:nowrap;background:linear-gradient(145deg,#223642,#162630);color:#bfe4ef;
  border:1px solid rgba(130,200,220,.28);border-radius:11px;padding:0 14px;font-size:13px;cursor:pointer;transition:.2s}
#cloudGate .gate-code-btn:hover:not(:disabled){border-color:rgba(130,200,220,.5);color:#e0f5fb}
#cloudGate .gate-code-btn:disabled{opacity:.45;cursor:not-allowed}
#cloudGate .gate-primary{width:100%;margin-top:8px;background:linear-gradient(120deg,#3f6d7e,#2a4c5a);color:#f2fbfd;
  border:1px solid rgba(150,220,235,.35);border-radius:11px;padding:14px;font-size:15px;font-weight:600;cursor:pointer;
  box-shadow:0 8px 24px rgba(40,90,110,.28);transition:.2s}
#cloudGate .gate-primary:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}
#cloudGate .gate-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}
#cloudGate .gate-msg{min-height:20px;margin-top:12px;text-align:center;font-size:12.5px;color:#ff9a9a;line-height:1.5}
#cloudGate .gate-msg.ok{color:#7fe3c0}
#cloudGate .gate-foot{margin-top:18px;padding-top:16px;border-top:1px solid rgba(150,175,200,.12);text-align:center;
  font-size:11px;color:#6f8595;line-height:1.7}
#cloudGate .gate-back{display:inline-block;margin-top:10px;color:#8fb9c9;cursor:pointer;font-size:12px;text-decoration:underline;text-underline-offset:3px}

/* 顶部栏登录状态（桌面 + 移动） */
.hr-auth-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#9fb6c4;cursor:pointer}
.hr-auth-pill .dot{width:6px;height:6px;border-radius:50%;background:#7fe3c0;box-shadow:0 0 8px rgba(127,227,192,.6)}
@media(max-width:680px){
  #cloudGate .gate-card{padding:30px 22px 24px;border-radius:16px}
}

/* 首次登录改密引导（可跳过）：黑银科技风浮层 */
.hr-pwd-tip{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;
  padding:20px;background:rgba(4,8,13,.82);backdrop-filter:blur(6px)}
.hr-pwd-tip-card{width:100%;max-width:420px;background:linear-gradient(160deg,rgba(28,38,50,.97),rgba(14,20,28,.98));
  border:1px solid rgba(150,175,200,.2);border-radius:18px;padding:30px 26px 26px;color:#e8eef5;
  box-shadow:0 18px 60px rgba(0,0,0,.5)}
.hr-pwd-tip-badge{display:inline-block;font-size:11px;letter-spacing:1px;color:#8fd8ea;
  background:rgba(120,200,220,.1);border:1px solid rgba(130,200,220,.28);border-radius:20px;padding:4px 12px}
.hr-pwd-tip-card h3{margin:16px 0 8px;font-size:19px;font-weight:600;color:#f2fbfd}
.hr-pwd-tip-card p{margin:0 0 18px;font-size:12.5px;line-height:1.7;color:#9fb6c4}
.hr-pwd-tip-card p b{color:#cfe9f2;font-weight:600}
.hr-pwd-tip-fields label{display:block;font-size:12px;color:#8fa6b6;margin:0 0 10px;padding-left:2px}
.hr-pwd-tip-fields input{width:100%;margin-top:6px;background:rgba(8,13,19,.75);border:1px solid rgba(150,175,200,.2);
  border-radius:11px;padding:12px 14px;color:#eaf2f7;font-size:15px;outline:none;transition:border-color .2s,box-shadow .2s}
.hr-pwd-tip-fields input::placeholder{color:#5f7383}
.hr-pwd-tip-fields input:focus{border-color:rgba(120,200,220,.55);box-shadow:0 0 0 3px rgba(120,200,220,.1)}
.hr-pwd-tip-msg{min-height:18px;margin:6px 0 4px;font-size:12.5px;color:#ff9a9a;text-align:center}
.hr-pwd-tip-actions{display:flex;gap:12px;margin-top:8px}
.hr-pwd-tip-actions button{flex:1;padding:13px;border-radius:11px;font-size:14px;font-weight:600;cursor:pointer;transition:.2s}
.hr-pwd-tip-skip{background:transparent;color:#9fb6c4;border:1px solid rgba(150,175,200,.24)}
.hr-pwd-tip-skip:hover{color:#d5e7ef;border-color:rgba(150,175,200,.45)}
.hr-pwd-tip-ok{background:linear-gradient(120deg,#3f6d7e,#2a4c5a);color:#f2fbfd;border:1px solid rgba(150,220,235,.35)}
.hr-pwd-tip-ok:hover:not(:disabled){filter:brightness(1.1)}
.hr-pwd-tip-ok:disabled{opacity:.5;cursor:not-allowed}
