/* ==================================================
 * 九遥多功能插件 v3.0.0 - 统一科技风 UI
 * ================================================== */
.jyx3-page{--jyx-ink:#0b1220;--jyx-muted:#64748b;--jyx-line:rgba(15,23,42,.09);--jyx-blue:#2563eb;width:100%;max-width:1040px;margin:0 auto;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;color:var(--jyx-ink);}
.jyx3-frame{border:1px solid var(--jyx-line);border-radius:26px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);box-shadow:0 28px 80px rgba(15,23,42,.09);overflow:hidden;}
.jyx3-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;background:radial-gradient(circle at 88% 0%,rgba(56,189,248,.2),transparent 34%),linear-gradient(120deg,#0b1220 0%,#111c2f 70%,#0f2a4a 100%);color:#fff;}
.jyx3-brand{display:flex;align-items:center;gap:16px;min-width:0;}
.jyx3-brand-logo{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;flex:0 0 52px;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.07);}
.jyx3-brand-logo img{width:100%;height:100%;object-fit:cover;}
.jyx3-kicker{color:#7db7ff;font-size:10px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;}
.jyx3-brand h1,.jyx3-brand h2{margin:3px 0 5px;color:#fff;font-size:23px;font-weight:700;letter-spacing:.2px;}
.jyx3-brand p{margin:0;color:rgba(255,255,255,.65);font-size:12px;line-height:1.6;}
.jyx3-status{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:7px 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.07);color:#fff;font-size:11px;font-weight:600;}
.jyx3-status i{width:6px;height:6px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.14);}
.jyx3-status.is-success i{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.15);}
.jyx3-status.is-warning i{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.15);}
.jyx3-body{padding:26px 28px 30px;}
.jyx3-grid{display:grid;grid-template-columns:minmax(310px,.82fr) minmax(0,1.38fr);gap:20px;align-items:start;}
.jyx3-grid.no-aside{grid-template-columns:minmax(0,620px);justify-content:center;}
.jyx3-card{border:1px solid var(--jyx-line);border-radius:20px;background:#fff;box-shadow:0 14px 40px rgba(15,23,42,.055);}
.jyx3-panel{padding:24px;}
.jyx3-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--jyx-line);}
.jyx3-panel-head h2,.jyx3-panel-head h3{margin:0 0 4px;color:var(--jyx-ink);font-size:17px;}
.jyx3-panel-head p{margin:0;color:var(--jyx-muted);font-size:12px;line-height:1.65;}
.jyx3-step-badge{padding:5px 9px;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:700;letter-spacing:.8px;}
.jyx3-status-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding:13px 15px;border:1px solid var(--jyx-line);border-radius:13px;background:#f8fafc;color:#475569;font-size:12px;}
.jyx3-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:700;}
.jyx3-pill.is-success{background:rgba(34,197,94,.1);color:#15803d;}
.jyx3-pill.is-warning{background:rgba(245,158,11,.12);color:#b45309;}
.jyx3-terminal{position:relative;overflow:hidden;padding:20px;border-radius:17px;background:radial-gradient(circle at 100% 0%,rgba(37,99,235,.22),transparent 38%),linear-gradient(150deg,#0b1220 0%,#111c31 100%);color:#fff;}
.jyx3-terminal-bar{display:flex;align-items:center;gap:6px;margin-bottom:18px;}
.jyx3-terminal-bar span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.24);}
.jyx3-terminal-bar em{margin-left:auto;color:rgba(255,255,255,.48);font-size:10px;font-style:normal;letter-spacing:.8px;text-transform:uppercase;}
.jyx3-code-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;color:rgba(255,255,255,.55);font-size:11px;}
.jyx3-code-meta b{color:#fff;font-weight:600;}
.jyx3-terminal .jiuyao-qq-code{margin:16px 0 13px;color:#fff;font-size:26px;font-weight:700;letter-spacing:6px;line-height:1.3;text-indent:0;}
.jyx3-terminal .jiuyao-qq-status{min-height:20px;margin:13px 0;color:rgba(255,255,255,.66);font-size:12px;}
.jyx3-terminal .spot-loader{background:#60a5fa;}
.jyx3-hint{color:rgba(255,255,255,.62);font-size:12px;line-height:1.65;}
.jyx3-terminal .jiuyao-qq-refresh{margin-top:16px;background:#fff!important;color:#0b1220!important;border-color:#fff!important;}
.jyx3-terminal .jiuyao-qq-refresh:hover{background:#e8eef8!important;border-color:#e8eef8!important;}
.jyx3-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px;}
.jyx3-btn-primary{background:#0b1220!important;border-color:#0b1220!important;color:#fff!important;}
.jyx3-btn-primary:hover{background:#050a12!important;border-color:#050a12!important;color:#fff!important;}
.jyx3-btn-ghost{background:transparent!important;border-color:rgba(15,23,42,.16)!important;color:#334155!important;}
.jyx3-btn-ghost:hover{background:#f1f5f9!important;color:#0b1220!important;}
.jyx3-empty{display:flex;align-items:center;justify-content:center;min-height:72px;color:#94a3b8;font-size:12px;text-align:center;}
.jyx3-empty-block{max-width:520px;margin:10px auto 0;padding:30px;text-align:left;}
.jyx3-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:16px;border-radius:16px;background:#0b1220;color:#fff;font-size:20px;}
.jyx3-empty-block h3{margin:0 0 8px;color:var(--jyx-ink);font-size:18px;}
.jyx3-empty-block p{margin:0 0 20px;color:var(--jyx-muted);font-size:12px;line-height:1.7;}
/* 隐私设置 */
.jyx3-privacy-card{padding:24px;overflow:hidden;}
.jyx3-privacy-head{display:flex;align-items:center;gap:14px;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid var(--jyx-line);}

.jyx3-label{color:var(--jyx-blue);font-size:10px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;}
.jyx3-privacy-head h3{margin:3px 0 3px;color:var(--jyx-ink);font-size:17px;}
.jyx3-privacy-head p{margin:0;color:var(--jyx-muted);font-size:11px;line-height:1.6;}
.jyx3-privacy-group{padding-top:22px;margin-top:22px;border-top:1px solid var(--jyx-line);}
.jyx3-privacy-group:first-of-type{padding-top:0;margin-top:0;border-top:0;}
.jyx3-group-title{display:flex;align-items:center;gap:10px;margin-bottom:12px;}

.jyx3-group-title>div{display:flex;flex-direction:column;}
.jyx3-group-title strong{color:#1e293b;font-size:13px;}
.jyx3-group-title small{margin-top:2px;color:#94a3b8;font-size:10px;}
.jyx3-setting-list{display:grid;gap:9px;}
.jyx3-setting-row{display:flex;align-items:center;gap:11px;padding:12px 13px;border:1px solid rgba(15,23,42,.075);border-radius:12px;background:#f8fafc;transition:.18s;}
.jyx3-setting-row:hover{border-color:rgba(37,99,235,.22);background:#fff;}

.jyx3-setting-copy{display:flex;flex:1;min-width:0;flex-direction:column;}
.jyx3-setting-copy strong{color:#1e293b;font-size:12px;}
.jyx3-setting-copy small{margin-top:2px;color:#94a3b8;font-size:10px;line-height:1.45;}
.jyx3-group-actions{display:flex;justify-content:flex-end;margin-top:12px;}
.jyx3-group-actions .but{font-size:12px;}
.jyx3-select-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid rgba(15,23,42,.075);border-radius:12px;background:#f8fafc;color:#475569;font-size:12px;}
.jyx3-select-row select{min-width:100px;padding:7px 9px;border:1px solid rgba(15,23,42,.12);border-radius:9px;background:#fff;color:#1e293b;}
.jyx3-search-box{margin-top:14px;}
.jyx3-search-box input{width:100%;height:42px;padding:0 13px;border:1px solid rgba(15,23,42,.1);border-radius:11px;background:#f8fafc;color:#1e293b;outline:0;}
.jyx3-search-box input:focus{border-color:rgba(37,99,235,.45);background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.08);}
.jyx3-blocked-list{display:grid;gap:8px;margin-top:12px;}
.jyx3-blocked-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid rgba(15,23,42,.075);border-radius:11px;background:#fff;}
.jyx3-blocked-item span{display:flex;min-width:0;flex-direction:column;}
.jyx3-blocked-item strong{color:#1e293b;font-size:12px;}
.jyx3-blocked-item small{margin-top:2px;color:#94a3b8;font-size:10px;}
/* 扫码授权入口 */
.jyx3-qr-card{position:relative;overflow:hidden;padding:28px;border:1px solid var(--jyx-line);border-radius:22px;background:radial-gradient(circle at 92% 0%,rgba(37,99,235,.08),transparent 34%),linear-gradient(180deg,#fff 0%,#f8fafc 100%);box-shadow:0 20px 56px rgba(15,23,42,.07);}
.jyx3-qr-head{display:flex;align-items:center;gap:15px;margin-bottom:24px;}
.jyx3-qr-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;flex:0 0 56px;overflow:hidden;border-radius:16px;background:#0b1220;}
.jyx3-qr-icon img{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;object-fit:contain;}
.jyx3-qr-icon>.fa{color:#fff;font-size:20px;}
.jyx3-qr-copy{flex:1;min-width:0;}
.jyx3-qr-copy h3{margin:3px 0 4px;color:var(--jyx-ink);font-size:18px;}
.jyx3-qr-copy p{margin:0;color:var(--jyx-muted);font-size:12px;line-height:1.6;}
.jyx3-stepper{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:12px;padding:18px;border:1px solid var(--jyx-line);border-radius:16px;background:#fff;}
.jyx3-step-item{display:flex;align-items:flex-start;gap:10px;min-width:0;}
.jyx3-step-num{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:10px;background:#0b1220;color:#fff;font-size:10px;font-weight:700;}
.jyx3-step-copy{display:flex;min-width:0;flex-direction:column;}
.jyx3-step-copy strong{color:#1e293b;font-size:11px;}
.jyx3-step-copy small{margin-top:2px;color:#94a3b8;font-size:10px;line-height:1.45;}
.jyx3-stepper>i{width:28px;height:1px;background:linear-gradient(90deg,#cbd5e1,#94a3b8,#cbd5e1);}
/* 确认授权 */
.jyx3-confirm-card{padding:24px;}
.jyx3-account-row{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--jyx-line);border-radius:14px;background:#f8fafc;}
.jyx3-account-copy{display:flex;min-width:0;flex:1;flex-direction:column;}
.jyx3-account-copy strong{color:#1e293b;font-size:13px;}
.jyx3-account-copy span{margin-top:2px;color:#94a3b8;font-size:10px;}
.jyx3-note{display:flex;align-items:center;gap:9px;margin-top:15px;padding:12px 14px;border-radius:12px;background:#f8fafc;color:#64748b;font-size:11px;line-height:1.6;}
/* 响应式 */
@media(max-width:880px){.jyx3-grid{grid-template-columns:1fr;}.jyx3-grid.no-aside{grid-template-columns:1fr;}}
@media(max-width:640px){.jyx3-page{margin:12px 0;}.jyx3-frame{border-radius:18px;}.jyx3-header{align-items:flex-start;flex-direction:column;padding:22px 18px;}.jyx3-body{padding:18px 14px 20px;}.jyx3-card,.jyx3-qr-card,.jyx3-privacy-card{border-radius:16px;}.jyx3-panel,.jyx3-privacy-card,.jyx3-confirm-card{padding:18px 15px;}.jyx3-brand h1,.jyx3-brand h2{font-size:20px;}.jyx3-brand-logo{width:46px;height:46px;flex-basis:46px;border-radius:13px;}.jyx3-terminal{padding:17px 14px;}.jyx3-terminal .jiuyao-qq-code{font-size:22px;letter-spacing:4px;}.jyx3-actions .but,.jyx3-group-actions .but{width:100%;text-align:center;}.jyx3-stepper{grid-template-columns:1fr;gap:10px;}.jyx3-stepper>i{display:none;}.jyx3-qr-head{align-items:flex-start;flex-wrap:wrap;}.jyx3-qr-icon{width:48px;height:48px;flex-basis:48px;}.jyx3-setting-row{padding:11px;}.jyx3-empty-block{padding:22px 10px;}}

.jyx3-qr-page{max-width:860px;margin:0 auto;}
.jyx3-qr-body{padding:0;}
.jyx3-qr-title{padding:0 0 18px;margin-bottom:20px;}

.jyx3-privacy-card .jiuyao-privacy-container{padding:0;}


/* v3.0.1：修复轻色卡片状态胶囊可读性 */
.jyx3-qr-card .jyx3-status{border-color:rgba(15,23,42,.1);background:#f8fafc;color:#334155;}
.jyx3-qr-card .jyx3-status i{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12);}
/* v3.0.1：兼容旧/新隐私结构，确保绑定页隐私区统一 v3 风格 */
.jyx3-privacy-card .jiuyao-privacy-container.jyx3-privacy-container{padding:0;}
.jyx3-privacy-card .jiuyao-panel-head{display:flex;align-items:center;gap:14px;margin:0 0 22px;padding:0 0 20px;border-bottom:1px solid var(--jyx-line);}
.jyx3-privacy-card .jiuyao-panel-head h3{margin:0 0 4px;color:var(--jyx-ink);font-size:17px;}
.jyx3-privacy-card .jiuyao-panel-head p{margin:0;color:var(--jyx-muted);font-size:11px;line-height:1.6;}
.jyx3-privacy-card .jiuyao-hub-title{display:flex;align-items:center;gap:10px;margin:22px 0 12px;}

.jyx3-privacy-card .jiuyao-hub-title div{display:flex;flex-direction:column;}
.jyx3-privacy-card .jiuyao-hub-title strong{color:#1e293b;font-size:13px;}
.jyx3-privacy-card .jiuyao-hub-title small{margin-top:2px;color:#94a3b8;font-size:10px;}
.jyx3-privacy-card .jiuyao-privacy-list,.jyx3-privacy-card .jiuyao-notification-list{display:grid;gap:9px;}
.jyx3-privacy-card .jiuyao-privacy-item{display:flex;align-items:center;gap:11px;padding:12px 13px;border:1px solid rgba(15,23,42,.075);border-radius:12px;background:#f8fafc;}

.jyx3-privacy-card .jiuyao-privacy-copy{display:flex;flex:1;min-width:0;flex-direction:column;}
.jyx3-privacy-card .jiuyao-privacy-copy strong{color:#1e293b;font-size:12px;}
.jyx3-privacy-card .jiuyao-privacy-copy small{margin-top:2px;color:#94a3b8;font-size:10px;line-height:1.45;}
.jyx3-privacy-card .jiuyao-actions{display:flex;justify-content:flex-end;margin-top:12px;}
.jyx3-privacy-card .jiuyao-security-section{margin-top:22px;padding-top:22px;border-top:1px solid var(--jyx-line);}
.jyx3-privacy-card .jiuyao-notice-days{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid rgba(15,23,42,.075);border-radius:12px;background:#f8fafc;color:#475569;font-size:12px;}
.jyx3-privacy-card .jiuyao-block-search{margin-top:14px;}
.jyx3-privacy-card .jiuyao-block-input{width:100%;height:42px;padding:0 13px;border:1px solid rgba(15,23,42,.1);border-radius:11px;background:#f8fafc;color:#1e293b;}
.jyx3-privacy-card .jiuyao-blocked-list{display:grid;gap:8px;margin-top:12px;}
/* 保证 v3 外壳覆盖旧绑定页尺寸 */
.jiuyao-qq-page.jyx3-page{max-width:1040px!important;margin:0 auto!important;overflow:visible!important;}


/* v3.0.2：安全连接使用绿色高对比度 */
.jyx3-qr-card .jyx3-status{border-color:rgba(34,197,94,.28);background:rgba(34,197,94,.08);color:#15803d;font-weight:700;}
.jyx3-qr-card .jyx3-status i{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.15);}
/* v3.0.2：夜间模式全文可读性修正 */
body.dark-theme .jyx3-panel-head,body.dark-theme .jyx3-privacy-head,body.dark-theme .jyx3-privacy-group{border-color:rgba(255,255,255,.1);}
body.dark-theme .jyx3-panel-head h2,body.dark-theme .jyx3-panel-head h3,body.dark-theme .jyx3-privacy-head h3,body.dark-theme .jyx3-group-title strong,body.dark-theme .jyx3-setting-copy strong,body.dark-theme .jyx3-qr-copy h3,body.dark-theme .jyx3-account-copy strong,body.dark-theme .jyx3-step-copy strong,body.dark-theme .jyx3-blocked-item strong,body.dark-theme .jyx3-empty-block h3{color:#f1f5f9;}
body.dark-theme .jyx3-panel-head p,body.dark-theme .jyx3-privacy-head p,body.dark-theme .jyx3-group-title small,body.dark-theme .jyx3-setting-copy small,body.dark-theme .jyx3-qr-copy p,body.dark-theme .jyx3-account-copy span,body.dark-theme .jyx3-step-copy small,body.dark-theme .jyx3-blocked-item small,body.dark-theme .jyx3-empty-block p,body.dark-theme .jyx3-note{color:#94a3b8;}
body.dark-theme .jyx3-status-row,body.dark-theme .jyx3-setting-row,body.dark-theme .jyx3-select-row,body.dark-theme .jyx3-account-row,body.dark-theme .jyx3-note,body.dark-theme .jyx3-stepper{background:#0f172a;border-color:rgba(255,255,255,.1);color:#cbd5e1;}
body.dark-theme .jyx3-setting-row:hover{border-color:rgba(96,165,250,.35);background:#111c31;}
body.dark-theme .jyx3-step-badge{background:#1e293b;color:#cbd5e1;box-shadow:none;}
body.dark-theme .jyx3-select-row select,body.dark-theme .jyx3-search-box input{background:#0f172a;border-color:rgba(255,255,255,.12);color:#e2e8f0;}
body.dark-theme .jyx3-search-box input::placeholder{color:#94a3b8;}
body.dark-theme .jyx3-search-box input:focus{background:#111c31;border-color:rgba(96,165,250,.55);box-shadow:0 0 0 3px rgba(59,130,246,.14);}
body.dark-theme .jyx3-blocked-item{background:#0f172a;border-color:rgba(255,255,255,.1);}
body.dark-theme .jyx3-btn-primary{background:#f8fafc!important;border-color:#f8fafc!important;color:#0f172a!important;}
body.dark-theme .jyx3-btn-primary:hover{background:#dbeafe!important;border-color:#dbeafe!important;color:#0f172a!important;}
body.dark-theme .jyx3-btn-ghost{border-color:rgba(255,255,255,.18)!important;color:#e2e8f0!important;}
body.dark-theme .jyx3-btn-ghost:hover{background:#1e293b!important;color:#fff!important;}
body.dark-theme .jyx3-empty,body.dark-theme .jyx3-label{color:#94a3b8;}
body.dark-theme .jyx3-privacy-card .jiuyao-panel-head,body.dark-theme .jyx3-privacy-card .jiuyao-security-section{background:transparent;border-color:rgba(255,255,255,.1);}
body.dark-theme .jyx3-privacy-card .jiuyao-privacy-item{background:#0f172a;border-color:rgba(255,255,255,.1);}

body.dark-theme .jyx3-privacy-card .jiuyao-privacy-copy strong{color:#f1f5f9;}
body.dark-theme .jyx3-privacy-card .jiuyao-privacy-copy small{color:#94a3b8;}
body.dark-theme .jyx3-privacy-card .jiuyao-notice-days{background:#0f172a;border-color:rgba(255,255,255,.1);color:#cbd5e1;}
body.dark-theme .jyx3-privacy-card .jiuyao-block-input{background:#0f172a;border-color:rgba(255,255,255,.12);color:#e2e8f0;}

body.dark-theme .jyx3-qr-card .jyx3-status{border-color:rgba(74,222,128,.28);background:rgba(34,197,94,.14);color:#4ade80;}


/* v3.0.4：隐私区标题严格左对齐，取消图标留下的异常缩进 */
.jyx3-privacy-card .jyx3-privacy-head,
.jyx3-privacy-card .jiuyao-panel-head{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;gap:0!important;text-align:left!important;}
.jyx3-privacy-card .jyx3-privacy-head>div,
.jyx3-privacy-card .jiuyao-panel-head>div{width:100%;min-width:0;margin:0!important;text-align:left!important;}
.jyx3-privacy-card .jyx3-privacy-head h3,
.jyx3-privacy-card .jiuyao-panel-head h3{margin-left:0!important;text-align:left!important;}
/* v3.0.4：兼容 html/body/.dark-theme 的深色模式 */
.dark-theme .jyx3-privacy-head h3,
.dark-theme .jyx3-panel-head h2,
.dark-theme .jyx3-panel-head h3,
.dark-theme .jyx3-group-title strong,
.dark-theme .jiuyao-hub-title strong,
.dark-theme .jyx3-setting-copy strong,
.dark-theme .jiuyao-privacy-copy strong,
.dark-theme .jyx3-qr-copy h3,
.dark-theme .jyx3-account-copy strong,
.dark-theme .jyx3-step-copy strong,
.dark-theme .jyx3-blocked-item strong,
.dark-theme .jyx3-empty-block h3{color:#f8fafc!important;}
.dark-theme .jyx3-privacy-head p,
.dark-theme .jyx3-panel-head p,
.dark-theme .jyx3-group-title small,
.dark-theme .jiuyao-hub-title small,
.dark-theme .jyx3-setting-copy small,
.dark-theme .jiuyao-privacy-copy small,
.dark-theme .jyx3-qr-copy p,
.dark-theme .jyx3-account-copy span,
.dark-theme .jyx3-step-copy small,
.dark-theme .jyx3-blocked-item small,
.dark-theme .jyx3-empty-block p,
.dark-theme .jyx3-note{color:#b4b6bb!important;}
.dark-theme .jyx3-status-row,
.dark-theme .jyx3-setting-row,
.dark-theme .jyx3-select-row,
.dark-theme .jyx3-account-row,
.dark-theme .jyx3-note,
.dark-theme .jyx3-stepper,
.dark-theme .jiuyao-privacy-item,
.dark-theme .jiuyao-notice-days{background:#24262a!important;border-color:rgba(255,255,255,.1)!important;color:#e5e7eb!important;}
.dark-theme .jyx3-step-badge{background:#1e293b!important;color:#cbd5e1!important;box-shadow:none!important;}
.dark-theme .jyx3-select-row select,
.dark-theme .jyx3-search-box input,
.dark-theme .jiuyao-block-input{background:#24262a!important;border-color:rgba(255,255,255,.12)!important;color:#f1f5f9!important;}
.dark-theme .jyx3-search-box input::placeholder{color:#9ca3af!important;}
.dark-theme .jyx3-blocked-item{background:#24262a!important;border-color:rgba(255,255,255,.1)!important;}
.dark-theme .jyx3-btn-primary{background:#f8fafc!important;border-color:#f8fafc!important;color:#0f172a!important;}
.dark-theme .jyx3-btn-primary:hover{background:#dbeafe!important;border-color:#dbeafe!important;color:#0f172a!important;}
.dark-theme .jyx3-btn-ghost{border-color:rgba(255,255,255,.18)!important;color:#e5e7eb!important;}
.dark-theme .jyx3-btn-ghost:hover{background:#1e293b!important;color:#fff!important;}
.dark-theme .jyx3-qr-card .jyx3-status{border-color:rgba(74,222,128,.28)!important;background:rgba(34,197,94,.14)!important;color:#4ade80!important;}


/* v3.0.5：隐私标题强制块级左对齐，移除所有图标空间 */
.jyx3-privacy-card .jyx3-privacy-head,
.jyx3-privacy-card .jiuyao-panel-head{display:block!important;width:100%!important;text-align:left!important;padding-left:0!important;margin-left:0!important;}
.jyx3-privacy-card .jyx3-privacy-head>div,
.jyx3-privacy-card .jiuyao-panel-head>div{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;text-align:left!important;}
.jyx3-privacy-card .jyx3-privacy-head .jyx3-label,
.jyx3-privacy-card .jiuyao-panel-head .jyx3-label{display:block!important;margin-bottom:4px!important;text-align:left!important;}
.jyx3-privacy-card .jyx3-privacy-head h3,
.jyx3-privacy-card .jiuyao-panel-head h3{display:block!important;margin:0 0 4px!important;padding:0!important;text-align:left!important;line-height:1.3!important;}
/* 保留开关滑块，它是控件结构而非图标 */
.jyx3-privacy-card .jiuyao-toggle>i,
.jyx3-privacy-card .jyx3-switch>i{display:block!important;width:42px!important;height:23px!important;margin:0!important;padding:0!important;}
/* v3.0.5：兼容任意 dark-theme 父级，小标题强制白色 */
.dark-theme .jyx3-privacy-card .jyx3-group-title strong,
.dark-theme .jyx3-privacy-card .jiuyao-hub-title strong,
.dark-theme .jyx3-privacy-card .jyx3-setting-copy strong,
.dark-theme .jyx3-privacy-card .jiuyao-privacy-copy strong,
.dark-theme .jyx3-privacy-card .jyx3-privacy-head h3,
.dark-theme .jyx3-privacy-card .jiuyao-panel-head h3{color:#ffffff!important;}
.dark-theme .jyx3-privacy-card .jyx3-group-title small,
.dark-theme .jyx3-privacy-card .jiuyao-hub-title small,
.dark-theme .jyx3-privacy-card .jyx3-setting-copy small,
.dark-theme .jyx3-privacy-card .jiuyao-privacy-copy small,
.dark-theme .jyx3-privacy-card .jyx3-privacy-head p,
.dark-theme .jyx3-privacy-card .jiuyao-panel-head p{color:#c8ccd4!important;}


/* v3.0.7：完全跟随子比主题的白天/夜间颜色变量 */
.jyx3-frame{background:var(--main-bg-color,#fff)!important;border-color:var(--main-border-color,rgba(15,23,42,.09))!important;}
.jyx3-card,.jyx3-qr-card{background:var(--main-bg-color,#fff)!important;border-color:var(--main-border-color,rgba(15,23,42,.09))!important;}
.jyx3-panel-head h2,
.jyx3-panel-head h3,
.jyx3-privacy-head h3,
.jyx3-group-title strong,
.jyx3-setting-copy strong,
.jyx3-qr-copy h3,
.jyx3-account-copy strong,
.jyx3-step-copy strong,
.jyx3-blocked-item strong,
.jyx3-empty-block h3{color:var(--key-color,#0b1220)!important;}
.jyx3-panel-head p,
.jyx3-privacy-head p,
.jyx3-group-title small,
.jyx3-setting-copy small,
.jyx3-qr-copy p,
.jyx3-account-copy span,
.jyx3-step-copy small,
.jyx3-blocked-item small,
.jyx3-empty-block p,
.jyx3-note{color:var(--muted-color,#64748b)!important;}
.jyx3-status-row,
.jyx3-setting-row,
.jyx3-select-row,
.jyx3-account-row,
.jyx3-note,
.jyx3-stepper,
.jiuyao-privacy-item,
.jiuyao-notice-days{background:var(--muted-bg-2-color,var(--muted-bg-color,#f8fafc))!important;border-color:var(--main-border-color,rgba(15,23,42,.09))!important;color:var(--main-color,#475569)!important;}
.jyx3-step-badge{background:var(--muted-bg-color,#f1f5f9)!important;color:var(--muted-color,#64748b)!important;}
.jyx3-select-row select,
.jyx3-search-box input,
.jiuyao-block-input{background:var(--main-bg-color,#fff)!important;border-color:var(--main-border-color,rgba(15,23,42,.1))!important;color:var(--key-color,#1e293b)!important;}
.jyx3-search-box input::placeholder{color:var(--muted-2-color,#94a3b8)!important;}
.jyx3-blocked-item{background:var(--main-bg-color,#fff)!important;border-color:var(--main-border-color,rgba(15,23,42,.09))!important;}
/* 屏蔽用户搜索下拉结果 */
.jiuyao-block-results{display:grid;gap:7px;margin-top:9px;}
.jiuyao-block-user{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 12px;border:1px solid var(--main-border-color,rgba(15,23,42,.09));border-radius:10px;background:var(--main-bg-color,#fff);color:var(--key-color,#1e293b);text-align:left;cursor:pointer;}
.jiuyao-block-user:hover{border-color:var(--focus-color,#2563eb);background:var(--muted-bg-2-color,var(--muted-bg-color,#f8fafc));}
.jiuyao-block-user strong{color:var(--key-color,#1e293b)!important;font-size:12px;}
.jiuyao-block-user span{color:var(--muted-color,#94a3b8)!important;font-size:10px;}
/* 暗色模式兜底：搜索用户名、账号名、列表标题必须亮色 */
.dark-theme .jiuyao-block-user,
.dark-theme .jiuyao-block-user strong,
.dark-theme .jyx3-blocked-item strong,
.dark-theme .jyx3-group-title strong,
.dark-theme .jyx3-setting-copy strong,
.dark-theme .jyx3-privacy-head h3{color:#ffffff!important;}
.dark-theme .jiuyao-block-user span,
.dark-theme .jyx3-blocked-item small,
.dark-theme .jyx3-group-title small,
.dark-theme .jyx3-setting-copy small,
.dark-theme .jyx3-privacy-head p{color:#c7ccd4!important;}
.dark-theme .jiuyao-block-user{background:var(--main-bg-color,#323335)!important;border-color:rgba(255,255,255,.1)!important;}
.dark-theme .jiuyao-block-user:hover{background:var(--muted-bg-2-color,#3a3b3e)!important;border-color:rgba(96,165,250,.5)!important;}


/* v3.0.8：明确按 body 深浅模式分流，避免误命中暗色卡片 */
body:not(.dark-theme) .jyx3-frame,
body:not(.dark-theme) .jyx3-card,
body:not(.dark-theme) .jyx3-privacy-card,
body:not(.dark-theme) .jyx3-qr-card{background:#ffffff!important;border-color:rgba(15,23,42,.09)!important;box-shadow:0 14px 40px rgba(15,23,42,.055)!important;}
body:not(.dark-theme) .jyx3-panel-head h2,
body:not(.dark-theme) .jyx3-panel-head h3,
body:not(.dark-theme) .jyx3-privacy-head h3,
body:not(.dark-theme) .jyx3-group-title strong,
body:not(.dark-theme) .jyx3-setting-copy strong,
body:not(.dark-theme) .jyx3-qr-copy h3,
body:not(.dark-theme) .jyx3-account-copy strong,
body:not(.dark-theme) .jyx3-step-copy strong,
body:not(.dark-theme) .jyx3-blocked-item strong,
body:not(.dark-theme) .jiuyao-block-user strong{color:#0b1220!important;}
body:not(.dark-theme) .jyx3-panel-head p,
body:not(.dark-theme) .jyx3-privacy-head p,
body:not(.dark-theme) .jyx3-group-title small,
body:not(.dark-theme) .jyx3-setting-copy small,
body:not(.dark-theme) .jyx3-qr-copy p,
body:not(.dark-theme) .jyx3-account-copy span,
body:not(.dark-theme) .jyx3-step-copy small,
body:not(.dark-theme) .jyx3-blocked-item small,
body:not(.dark-theme) .jiuyao-block-user span{color:#64748b!important;}
body:not(.dark-theme) .jyx3-status-row,
body:not(.dark-theme) .jyx3-setting-row,
body:not(.dark-theme) .jyx3-select-row,
body:not(.dark-theme) .jyx3-account-row,
body:not(.dark-theme) .jyx3-note,
body:not(.dark-theme) .jyx3-stepper,
body:not(.dark-theme) .jiuyao-privacy-item,
body:not(.dark-theme) .jiuyao-notice-days{background:#f8fafc!important;border-color:rgba(15,23,42,.08)!important;color:#475569!important;}
body:not(.dark-theme) .jiuyao-block-user{background:#ffffff!important;border-color:rgba(15,23,42,.09)!important;color:#0b1220!important;}
body:not(.dark-theme) .jiuyao-block-user:hover{background:#f8fafc!important;border-color:#2563eb!important;}

body.dark-theme .jyx3-frame,
body.dark-theme .jyx3-card,
body.dark-theme .jyx3-privacy-card,
body.dark-theme .jyx3-qr-card{background:var(--main-bg-color,#323335)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:0 18px 50px rgba(0,0,0,.28)!important;}
body.dark-theme .jyx3-panel-head h2,
body.dark-theme .jyx3-panel-head h3,
body.dark-theme .jyx3-privacy-head h3,
body.dark-theme .jyx3-group-title strong,
body.dark-theme .jyx3-setting-copy strong,
body.dark-theme .jyx3-qr-copy h3,
body.dark-theme .jyx3-account-copy strong,
body.dark-theme .jyx3-step-copy strong,
body.dark-theme .jyx3-blocked-item strong,
body.dark-theme .jiuyao-block-user strong{color:#ffffff!important;}
body.dark-theme .jyx3-panel-head p,
body.dark-theme .jyx3-privacy-head p,
body.dark-theme .jyx3-group-title small,
body.dark-theme .jyx3-setting-copy small,
body.dark-theme .jyx3-qr-copy p,
body.dark-theme .jyx3-account-copy span,
body.dark-theme .jyx3-step-copy small,
body.dark-theme .jyx3-blocked-item small,
body.dark-theme .jiuyao-block-user span{color:#c7ccd4!important;}
body.dark-theme .jyx3-status-row,
body.dark-theme .jyx3-setting-row,
body.dark-theme .jyx3-select-row,
body.dark-theme .jyx3-account-row,
body.dark-theme .jyx3-note,
body.dark-theme .jyx3-stepper,
body.dark-theme .jiuyao-privacy-item,
body.dark-theme .jiuyao-notice-days{background:#24262a!important;border-color:rgba(255,255,255,.1)!important;color:#e5e7eb!important;}
body.dark-theme .jiuyao-block-user{background:#24262a!important;border-color:rgba(255,255,255,.1)!important;color:#ffffff!important;}
body.dark-theme .jiuyao-block-user:hover{background:#2f3034!important;border-color:rgba(96,165,250,.5)!important;}


/* v3.0.9：白天模式顶部区和验证码面板改为亮色，不再固定深色 */
body:not(.dark-theme) .jyx3-header{background:linear-gradient(135deg,#ffffff 0%,#f1f5f9 100%)!important;color:#0b1220!important;border-bottom:1px solid rgba(15,23,42,.08)!important;}
body:not(.dark-theme) .jyx3-kicker{color:#2563eb!important;}
body:not(.dark-theme) .jyx3-brand h1,
body:not(.dark-theme) .jyx3-brand h2{color:#0b1220!important;}
body:not(.dark-theme) .jyx3-brand p{color:#64748b!important;}
body:not(.dark-theme) .jyx3-brand-logo{border-color:rgba(15,23,42,.1)!important;background:#ffffff!important;}
body:not(.dark-theme) .jyx3-status{border-color:rgba(15,23,42,.1)!important;background:#ffffff!important;color:#334155!important;}
body:not(.dark-theme) .jyx3-terminal{background:#f8fafc!important;color:#0b1220!important;border:1px solid rgba(15,23,42,.08)!important;}
body:not(.dark-theme) .jyx3-terminal-bar span{background:#cbd5e1!important;}
body:not(.dark-theme) .jyx3-terminal-bar em,
body:not(.dark-theme) .jyx3-code-meta,
body:not(.dark-theme) .jyx3-terminal .jiuyao-qq-status,
body:not(.dark-theme) .jyx3-hint{color:#64748b!important;}
body:not(.dark-theme) .jyx3-code-meta b,
body:not(.dark-theme) .jyx3-terminal .jiuyao-qq-code{color:#0b1220!important;}
body:not(.dark-theme) .jyx3-terminal .jiuyao-qq-refresh{background:#0b1220!important;border-color:#0b1220!important;color:#ffffff!important;}
body:not(.dark-theme) .jyx3-terminal .jiuyao-qq-refresh:hover{background:#050a12!important;border-color:#050a12!important;color:#ffffff!important;}
/* 夜间模式顶部继续使用深色科技风格 */
body.dark-theme .jyx3-header{background:radial-gradient(circle at 88% 0%,rgba(56,189,248,.2),transparent 34%),linear-gradient(120deg,#0b1220 0%,#111c2f 70%,#0f2a4a 100%)!important;color:#fff!important;}
body.dark-theme .jyx3-brand h1,
body.dark-theme .jyx3-brand h2{color:#ffffff!important;}
body.dark-theme .jyx3-brand p{color:rgba(255,255,255,.68)!important;}
body.dark-theme .jyx3-kicker{color:#7db7ff!important;}

body:not(.dark-theme) .jyx3-qr-card .jyx3-status{border-color:rgba(34,197,94,.28)!important;background:rgba(34,197,94,.08)!important;color:#15803d!important;}
body.dark-theme .jyx3-qr-card .jyx3-status{border-color:rgba(74,222,128,.28)!important;background:rgba(34,197,94,.14)!important;color:#4ade80!important;}


/* v3.0.10：修正页面顶部间距和隐私标题双线 */
.jyx3-page{margin-top:0!important;}
.jyx3-qr-page{margin-top:0!important;}
.jyx3-privacy-card .jyx3-privacy-head+.jyx3-privacy-group,
.jyx3-privacy-card .jiuyao-panel-head+.jyx3-privacy-group{margin-top:0!important;padding-top:0!important;border-top:0!important;}
/* v3.0.10：扫码授权安全连接保持绿色 */
body:not(.dark-theme) .jyx3-status-safe{border-color:rgba(34,197,94,.28)!important;background:rgba(34,197,94,.08)!important;color:#15803d!important;}
body.dark-theme .jyx3-status-safe{border-color:rgba(74,222,128,.28)!important;background:rgba(34,197,94,.14)!important;color:#4ade80!important;}
.jyx3-status-safe i{background:#22c55e!important;box-shadow:0 0 0 4px rgba(34,197,94,.15)!important;}
.jyx3-logo-center{display:inline-flex!important;align-items:center!important;justify-content:center!important;}


/* v3.1.1：面板蓝色英文小标题 */
.jyx3-panel-kicker{display:block;margin-bottom:5px;color:var(--focus-color,#2563eb)!important;font-size:10px;font-weight:700;letter-spacing:1.3px;line-height:1.2;text-transform:uppercase;}
.dark-theme .jyx3-panel-kicker{color:#7db7ff!important;}
/* v3.1.1：扫码授权两个按钮一行等宽 */
.jyx3-qr-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px;}
.jyx3-qr-actions .but{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-width:0!important;margin:0!important;padding-right:10px!important;padding-left:10px!important;text-align:center;}
@media(max-width:520px){.jyx3-qr-actions{gap:8px;}.jyx3-qr-actions .but{font-size:12px;}}


/* v3.1.2：强制统一 V3 蓝色英文小标题 */
.jyx3-panel-kicker{color:#2563eb!important;}
.dark-theme .jyx3-panel-kicker{color:#7db7ff!important;}
/* v3.1.2：重做扫码授权 01/02/03 步骤轨道 */
.jyx3-stepper{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr) 48px minmax(0,1fr)!important;gap:0!important;padding:16px!important;border:1px solid var(--main-border-color,rgba(15,23,42,.09))!important;border-radius:16px!important;background:var(--muted-bg-2-color,var(--muted-bg-color,#f8fafc))!important;}
.jyx3-step-item{padding:13px!important;border:1px solid var(--main-border-color,rgba(15,23,42,.08))!important;border-radius:13px!important;background:var(--main-bg-color,#fff)!important;box-shadow:0 5px 16px rgba(15,23,42,.045);}
.jyx3-step-num{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:10px!important;background:linear-gradient(135deg,#2563eb 0%,#38bdf8 100%)!important;color:#fff!important;box-shadow:0 5px 14px rgba(37,99,235,.22);}
.jyx3-step-copy strong{color:var(--key-color,#1e293b)!important;font-size:12px!important;}
.jyx3-step-copy small{margin-top:3px!important;color:var(--muted-color,#94a3b8)!important;font-size:10px!important;line-height:1.45!important;}
.jyx3-stepper>i{position:relative;justify-self:center;width:100%!important;height:1px!important;background:linear-gradient(90deg,rgba(37,99,235,.12),rgba(37,99,235,.55),rgba(37,99,235,.12))!important;}
.jyx3-stepper>i::after{position:absolute;top:-2px;right:-1px;width:5px;height:5px;border-top:1px solid rgba(37,99,235,.7);border-right:1px solid rgba(37,99,235,.7);content:"";transform:rotate(45deg);}
body.dark-theme .jyx3-step-item{background:var(--main-bg-color,#323335)!important;border-color:rgba(255,255,255,.1)!important;}
body.dark-theme .jyx3-step-copy strong{color:#fff!important;}
body.dark-theme .jyx3-step-copy small{color:#c7ccd4!important;}
@media(max-width:640px){.jyx3-stepper{grid-template-columns:1fr!important;gap:10px!important;padding:14px!important;}.jyx3-stepper>i{display:none!important;}}


/* v3.1.3：简化 01/02/03 步骤标识 */
.jyx3-step-num{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;min-width:20px!important;flex:0 0 auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#2563eb!important;box-shadow:none!important;font-size:11px!important;font-weight:700!important;letter-spacing:.8px!important;line-height:1!important;}
.dark-theme .jyx3-step-num{color:#7db7ff!important;}
