.gj-dialog.gj-security-dialog {
 --gj-ink:#2e3033; --gj-secondary:#82766d; --gj-border:#e8ded5;
 --gj-orange:#c85519; --gj-on-orange:#fff; --gj-tint:#fff1e5; --gj-bg:#fffdfa; --gj-surface:#fff;
 box-sizing:border-box; width:min(440px,calc(100vw - 28px))!important;
 min-width:0; max-width:440px!important; max-height:calc(100dvh - 32px);
 padding:22px; overflow:auto; color:#2e3033; background:#fff;
 font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
 border:1px solid #e8ded5; border-radius:16px; box-shadow:0 20px 70px #25190d30;
}
.gj-security-dialog * { box-sizing:border-box; }
.gj-security-dialog [hidden], .gj-dialog .gj-security-legacy-password[hidden] { display:none!important; }
.gj-security-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:17px; }
.gj-security-dialog .gj-security-heading h2 { margin:0; font-size:21px; font-weight:650; line-height:1.4; }
.gj-security-heading p { margin:4px 0 0; font-size:13px; color:#82766d; overflow-wrap:anywhere; }
.gj-security-close { flex:none; width:30px; height:30px; padding:0; border:0; border-radius:8px; background:#fff4e9; color:#895031; font-size:24px; line-height:28px; cursor:pointer; }
.gj-security-field { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; min-width:0; }
.gj-security-field>label { font-size:14px; font-weight:550; color:#4f4841; }
.gj-security-dialog .gj-security-field input { width:100%; height:42px; margin:0; background:#fcfaf7; font:inherit; border:1px solid #dfd6cc; border-radius:8px; padding:9px 11px; min-width:0; }
.gj-security-input { position:relative; display:flex; align-items:center; min-width:0; }
.gj-security-dialog .gj-security-input input { padding-right:59px; }
.gj-security-visibility { position:absolute; right:4px; width:49px; height:32px; margin:0; padding:0; border:0; border-left:1px solid #e8ded5; border-radius:0 5px 5px 0; background:transparent; color:#9d552f; font:inherit; font-size:13px; line-height:1.2; cursor:pointer; }
.gj-security-dialog :is(input,textarea,button,summary):focus-visible { outline:2px solid #d96828; outline-offset:2px; }
.gj-security-dialog :is(button,summary) { cursor:pointer; }
.gj-security-dialog button:disabled { cursor:wait; opacity:.6; }
.gj-security-note { color:#8a7d72; font-size:12px; line-height:1.6; margin:8px 0; }
.gj-security-error { margin:8px 0; color:#a9321f; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.gj-security-error:empty { display:none; }
.gj-security-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-top:15px; }
.gj-security-dialog .gj-button { min-height:38px; padding:8px 14px; font:500 14px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; white-space:normal; border-radius:8px; }
.gj-security-dialog .gj-button-primary { background:linear-gradient(145deg,#df722c,#c45316); color:#fff; box-shadow:0 3px 8px #ba59191a; }
.gj-security-dialog .gj-button-soft { color:#9d552f; background:#fff3e9; border:1px solid #efdbc9; }
.gj-security-recovery { margin-top:18px; border-top:1px solid #eadfd5; padding-top:12px; }
.gj-security-recovery summary { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:3px 0; color:#7c4f30; font-weight:600; }
.gj-security-recovery summary::before { content:'›'; width:12px; flex:none; font-size:20px; line-height:1; }
.gj-security-recovery[open] summary::before { transform:rotate(90deg); }
.gj-security-recovery summary small { margin-left:auto; font-size:12px; color:#9c8a7c; font-weight:400; }
.gj-security-recovery-body { padding-top:8px; }
.gj-security-status { font-size:13px; color:#86613f; margin:5px 0; }
.gj-security-result-title { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.gj-security-result-title strong { color:#7d4a28; font-size:15px; }
.gj-security-result-title span { padding:2px 6px; background:#fff0dd; border-radius:4px; color:#a36e3d; font-size:11px; }
.gj-security-code-result>p { font-size:12px; color:#8a7d72; margin:8px 0; }
.gj-security-dialog .gj-security-code { width:100%; resize:none; height:76px; padding:12px; border:1px solid #efc9a6; border-radius:9px; color:#94481e; background:#fff8ee; font:600 16px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap:anywhere; }
.gj-security-code-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; margin-top:12px; }
.gj-security-copy-status:empty { display:none; }
.gj-security-help { margin-top:18px; padding-top:12px; border-top:1px solid #eadfd5; color:#8b6242; font-size:13px; }
.gj-security-help p { font-size:12px; line-height:1.75; color:#8a7d72; margin:7px 0 0; }
.gj-security-account { margin:0 0 14px; padding:9px 12px; color:#875333; background:#fff6eb; border-radius:8px; overflow-wrap:anywhere; }
#gaojiu-refined .gj-login form .gj-security-forgot { display:block; width:auto; margin:10px 0 0 auto; padding:2px 0; border:0; background:transparent; color:#b45a25; font-size:13px; line-height:1.5; cursor:pointer; }
.gj-security-staff-entry { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; padding:12px 0; margin:8px 0; border-top:1px solid #eadfd5; border-bottom:1px solid #eadfd5; }
.gj-security-staff-entry strong { display:block; font-size:14px; color:#4f4841; }
.gj-security-staff-entry small { display:block; margin-top:3px; font-size:12px; line-height:1.5; color:#8a7d72; }
@media(max-width:480px) {
 .gj-dialog.gj-security-dialog { padding:18px; }
 .gj-security-recovery summary { flex-wrap:wrap; }
 .gj-security-actions .gj-button { flex:1; }
 .gj-security-code-actions .gj-button { flex:1 1 100px; }
}
