/* 启优宝 · 注册/登录/激活 全局入口（全子站通用，复用主站后端） */
:root{
  --brand:#1f9d6b; --brand-d:#15814f; --accent:#2f6fed; --ink:#1f3d2e;
  --muted:#7a8a82; --line:#e3ebe6; --bg:#f6f8fb;
}
#qyb-act-fab{
  position:fixed; right:18px; bottom:18px; z-index:9999;
  background:var(--brand); color:#fff; border:none;
  padding:11px 18px; border-radius:24px; font-size:15px; font-weight:600;
  box-shadow:0 4px 14px rgba(31,157,107,.35); cursor:pointer; font-family:inherit; max-width:46vw;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
#qyb-act-fab.on{ background:var(--brand-d); }
#qyb-act-fab:hover{ filter:brightness(1.05); }

#qyb-act-modal-mask{
  position:fixed; inset:0; background:rgba(15,30,25,.45); z-index:10000;
  display:none; align-items:center; justify-content:center; padding:16px;
}
#qyb-act-modal-mask.show{ display:flex; }
#qyb-act-modal{
  position:relative; background:#fff; border-radius:14px; width:min(380px,92vw); padding:24px 22px 20px;
  box-shadow:0 10px 40px rgba(0,0,0,.18); font-family:inherit;
}
#qyb-act-x{
  position:absolute; top:8px; right:12px; border:none; background:transparent;
  font-size:22px; line-height:1; color:#9aa; cursor:pointer; padding:4px;
}
#qyb-act-x:hover{color:#556;}
#qyb-act-account{ font-size:14px; color:var(--ink); margin-bottom:14px; line-height:1.7; }
#qyb-act-account .qyb-member{ color:var(--brand); font-weight:700; }
#qyb-act-account .qyb-nomember{ color:#d98a00; font-weight:600; }
.qyb-link{ border:none; background:none; color:var(--accent); cursor:pointer; font-size:13px; padding:0 2px; text-decoration:underline; }

.qyb-tabs{ display:flex; gap:6px; margin-bottom:16px; border-bottom:1px solid var(--line); }
.qyb-tabs button{
  flex:1; border:none; background:none; padding:9px 4px; font-size:14px; cursor:pointer;
  color:var(--muted); font-family:inherit; border-bottom:2px solid transparent; margin-bottom:-1px;
}
.qyb-tabs button.active{ color:var(--brand); font-weight:700; border-bottom-color:var(--brand); }

.qyb-pane input{
  width:100%; box-sizing:border-box; padding:11px 12px; font-size:15px; margin-bottom:10px;
  border:1.5px solid var(--line); border-radius:9px; outline:none; font-family:inherit;
}
.qyb-pane input:focus{ border-color:var(--brand); }
.qyb-msg{ min-height:18px; font-size:13px; margin:2px 0 10px; }
.qyb-msg.err{ color:#d9534f; }
.qyb-msg.ok{ color:var(--brand); }
.qyb-submit{
  width:100%; padding:11px; border-radius:9px; border:none; font-size:15px; font-weight:700;
  cursor:pointer; font-family:inherit; background:var(--brand); color:#fff;
}
.qyb-submit:hover{ background:var(--brand-d); }
.qyb-tip{ font-size:12px; color:var(--muted); margin:10px 0 0; line-height:1.5; }

/* 工具页锁定遮罩 */
#qyb-act-lock{
  position:fixed; inset:0; z-index:9990; background:rgba(246,248,251,.97);
  display:none; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:24px; font-family:inherit;
}
#qyb-act-lock.show{ display:flex; }
#qyb-act-lock .lock-card{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:28px; max-width:360px; box-shadow:0 8px 30px rgba(0,0,0,.08); }
#qyb-act-lock h2{ margin:0 0 8px; color:var(--ink); }
#qyb-act-lock p{ color:var(--muted); font-size:14px; margin:0 0 18px; line-height:1.6; }
#qyb-act-lock .lock-actions{ display:flex; gap:10px; }
#qyb-act-lock .btn{ flex:1; padding:11px 14px; border-radius:9px; border:none; font-size:14px; font-weight:700; cursor:pointer; font-family:inherit; }
#qyb-act-lock .btn.primary{ background:var(--brand); color:#fff; }
#qyb-act-lock .btn.ghost{ background:#eef2f0; color:#557; }
#qyb-act-lock .btn:hover{ filter:brightness(.97); }
