/* 独立中间页：去掉浏览器默认边距，铺一层浅灰蓝渐变底 */
body.nq-lg-page{margin:0;min-height:100vh;background:linear-gradient(135deg,#eef3fb 0%,#e4ebf7 100%)}
html[data-theme="dark"] body.nq-lg-page{background:linear-gradient(135deg,#121826 0%,#0e1420 100%)}

/* 外链跳转提示：浅色遮罩 + 白色卡片，仿官方跳转提示 */
.nq-lg-mask{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;
  background:rgba(232,240,252,.82);backdrop-filter:blur(2px);padding:20px}
.nq-lg-card{width:100%;max-width:600px;background:#fff;color:#1f2733;border-radius:20px;
  box-shadow:0 24px 70px rgba(31,50,90,.18),0 2px 8px rgba(31,50,90,.06);
  padding:40px 46px 36px;text-align:center;font-family:inherit;position:relative}
.nq-lg-ic{width:62px;height:62px;margin:0 auto 18px;border-radius:50%;
  background:#fff4e2;display:flex;align-items:center;justify-content:center}
.nq-lg-ic svg{width:34px;height:34px}
.nq-lg-title{margin:0 0 14px;font-size:24px;font-weight:700;color:#1a2230}
.nq-lg-desc{margin:0 0 24px;font-size:15px;line-height:1.8;color:#6b7482}
.nq-lg-url{display:block;width:100%;box-sizing:border-box;border:1px solid #dfe4ec;background:#f7f9fc;
  border-radius:11px;padding:14px 16px;font-size:14.5px;color:#4a8bff;text-align:left;
  word-break:break-all;line-height:1.5}
.nq-lg-btns{display:flex;gap:14px;justify-content:center;margin-top:26px}
.nq-lg-btns button{border:0;border-radius:10px;padding:12px 26px;font-size:15px;cursor:pointer;font-family:inherit;transition:filter .15s}
.nq-lg-btns button:hover{filter:brightness(1.05)}
.nq-lg-back{background:#eef1f6;color:#4b5563}
.nq-lg-go{background:#4a8bff;color:#fff;box-shadow:0 6px 16px rgba(74,139,255,.28)}
@media(max-width:520px){
  .nq-lg-card{padding:30px 22px 26px;border-radius:16px}
  .nq-lg-title{font-size:20px}
  .nq-lg-desc{font-size:13.5px}
  .nq-lg-btns button{padding:11px 18px;font-size:14px}
}
/* 深色主题：卡片随站点变暗，文字转亮 */
html[data-theme="dark"] .nq-lg-mask{background:rgba(16,22,34,.78)}
html[data-theme="dark"] .nq-lg-card{background:var(--card,#1e2636);color:var(--text,#e8ecf2);border:1px solid var(--line,#2f3a4d)}
html[data-theme="dark"] .nq-lg-title{color:var(--text,#e8ecf2)}
html[data-theme="dark"] .nq-lg-desc{color:var(--muted,#9aa6b8)}
html[data-theme="dark"] .nq-lg-url{background:var(--bg,#161d2b);border-color:var(--line,#2f3a4d);color:#79a6ff}

/* 正文裸链接自动识别后生成的链接：蓝色下划线，长串不撑破布局 */
a.hyperlink{color:#2f7bff;text-decoration:underline;text-underline-offset:2px;word-break:break-all;cursor:pointer}
a.hyperlink:hover{color:#1d5fd6}
html[data-theme="dark"] a.hyperlink{color:#79a6ff}
html[data-theme="dark"] a.hyperlink:hover{color:#a3c2ff}
