/* 布局 */
.main-flex { display: flex; justify-content: space-between; align-items: flex-start;}
.left-main { width: calc(100% - 335px); max-width: 845px; min-width: 0;}
.right-side {width: 320px; flex-shrink: 0; }
.card { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #eef0f2; }

/* 标题与信息 */
h1 { text-align: center; font-size: 24px; color: #222; margin: 10px 0 20px; }
.meta-info { display: flex; flex-wrap: wrap; gap: 15px; color: #666; justify-content: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.official-tag { color:#52c41a; margin-right:6px; }
.auth-text { color:#004094;font-weight: normal; }

/* 简介展开收起 */
.toggle-btn { color: #004094; cursor: pointer; font-weight: bold; font-size: 15px; }
.toggle-btn:hover { color: #ff9800; }
.intro-inner { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.intro-content { flex: 1; line-height: 1.8; font-size: 14px; text-align: left; }
.intro-img { border:1px solid #eee; padding:2px; background:#fff; max-width:100%; height:auto; display:block; margin:0 auto; border-radius:6px; box-shadow:0 1px 4px rgba(0,0,0,0.1); }

/* 系统匹配 */
.sys-match-bar { background: #fff7e6; border: 1px solid #ffbb96; padding: 12px 20px; border-radius: 6px; margin-bottom: 15px; display: none; align-items: center; justify-content: space-between; font-size:15px; }
.match-text { color: #873800; font-weight:bold; }
.match-ctrl-link { color: #004094; font-weight: bold; cursor: pointer; text-decoration: underline; }
.hide-count { color:#ff3000; font-size:16px; }

/* Tab切换 */
.tab-nav { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #f0f0f0; margin-bottom: 20px; }
.tab-items { display: flex; gap: 30px; }
.tab-btn { padding: 12px 0; cursor: pointer; color: #888; font-weight: bold; position: relative; bottom: -2px; border-bottom: 3px solid transparent; }
.tab-btn.active { color: #004094; border-bottom-color: #004094; }
.err-report-btn { color: #ff4d4f; font-weight: bold; font-size: 13px; border: 1px solid #ffccc7; background: #fff2f0; padding: 5px 15px; border-radius: 4px; }
.err-report-btn:hover { background: #ff4d4f; color: #fff; }

/* 下载区域 */
.pane-course { display:none; padding:10px 20px; line-height:2.2; background:#fdfdfd; }
.warm-tip { background: #f6ffed; border: 1px solid #b7eb8f; padding: 8px 12px; border-radius: 4px; font-size: 12px; color: #52c41a; margin-bottom: 10px; }
.dl-card { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px dashed #eee; transition: 0.2s; }
.dl-card.gray { background:#fafafa; }
.dl-card:hover { background: #f0f7ff; }
.dl-info h5 { margin: 0 0 5px; font-size: 15px; color: #004094; }
.speed-tip { background: #e6f7ff; border: 1px solid #91d5ff; padding: 12px 15px; border-radius: 8px; margin-bottom: 20px; font-size: 13px; color: #0050b3; }

/* 右侧排行 */
.rank-list { list-style: none; padding:0; margin:0; }
.rank-list li { padding: 10px 0; border-bottom: 1px solid #f5f5f5; display: flex; align-items: center; overflow: hidden; }
.rank-list li em { flex-shrink: 0; width: 22px; height: 20px; line-height: 20px; background: #e1e4e8; color: #666; text-align: center; font-size: 12px; margin-right: 12px; font-style: normal; border-radius: 3px; font-weight: bold; }
.rank-list li:nth-child(1) em { background: #ff4400; color: #fff; }
.rank-list li:nth-child(2) em { background: #ff9800; color: #fff; }
.rank-list li:nth-child(3) em { background: #ffc107; color: #fff; }
.rank-list li a { flex: 1; color: #333; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.rank-list li a:hover { color: #004094; }
.side-card-title { font-size: 18px; font-weight: bold; border-bottom: 1px solid #eee; padding-bottom: 15px; margin: 0; margin-bottom: 15px; }
.card-title-sm { font-size:18px; border-left: 4px solid #fc7b54; }

/* ========== 右侧广告 soft_right_bottom ========== */
#soft_right_bottom {
  background: #fff;
  border-radius: 8px;
  padding: 20px 5px 20px 0px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #eef0f2;
  text-align: center;
}

/* 工具卡片 */
.tool-card { background:#f0f7ff; border:1px solid #cce5ff; }
.tool-btn { display:block; background:#004094; color:#fff; text-align:center; padding:10px; border-radius:6px; font-weight:bold; }
.tool-btn:hover { background:#002d66; }

/* 报错反馈弹窗 */
.error-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}
.popup-container {
    max-width: 700px;
    background: #fff;
    margin: 80px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.popup-header {
    background: #004094;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popup-close {
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
.popup-body { padding: 25px; }
.form-item { margin-bottom: 18px; }
.form-item label { display: block; margin-bottom: 6px; font-weight: bold; color: #333; }
.form-item input,
.form-item textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}
.form-item textarea { min-height: 120px; resize: vertical; }
.submit-btn { background: #004094; color: #fff; border: none; padding: 10px 25px; border-radius: 4px; font-weight: bold; cursor: pointer; }
.submit-btn:hover { background: #003375; }

/* 全局提示 */
.msg-success {
    position:fixed;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    background:#004094;
    color:#fff;
    padding:14px 25px;
    border-radius:6px;
    z-index:10000;
    display:none;
}
@media (max-width:768px){
    .intro-inner{ flex-direction:column; align-items:center; }
    .intro-img{ margin-bottom:10px; }
    .main-flex {
        flex-direction: column;
    }
    .left-main {
        width: 100%;
        max-width: 100%;
    }
    .right-side {
        width: 100%;
        margin-top: 15px;
    }
}

/* ============================================================
   🎯 FAQ 统一重构后的核心样式
   ============================================================ */

/* ---------- 1. 全局基础结构 ---------- */
#soft_faq {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, "Microsoft YaHei";
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.faq-list {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

/* ---------- 2. 列表项与手风琴折叠 ---------- */
.faq-item {
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 6px;
}
.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 14px 16px;
    cursor: pointer;
    background: #fafafa;
    display: flex;
    gap: 10px;
    align-items: center;
    border-radius: 6px 6px 0 0;
    transition: background 0.2s ease;
}
.faq-question:hover {
    background-color: #f0f4ff;
}
.faq-question .q-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}
.faq-question .arrow {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.mail-icon {
    color: #004094 !important;
}

/* ---------- 3. 答案容器与排版 ---------- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    background-color: #f9fafb;
    transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    background: #fafbfc;
}
.faq-item.active .faq-question {
    background-color: #eff6ff;
    border-radius: 6px 6px 0 0;
}
.faq-item.active .arrow {
    transform: rotate(180deg);
}

.a-content {
    padding: 4px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}
.a-content p {
    margin: 0 0 8px 0;
}
.a-content ul {
    margin: 0 0 8px 0;
    padding-left: 20px;
}
.a-content li {
    margin-bottom: 4px;
}
.a-content strong {
    color: #1f2937;
}

/* ---------- 4. 头部标题 ---------- */
.faq-header {
    padding: 14px 18px;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
.faq-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}
.faq-title::before {
    content: "❓";
    font-size: 16px;
}

/* ---------- 5. 段落文本多样式 ---------- */
.p-bold-blue,
.p-safe-promise {
    color: #004094;
    font-weight: bold;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 8px;
}
.p-bold-blue {
    font-size: 15px;
}
.p-bold-green {
    color: #2e7d32;
    font-weight: bold;
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.p-bold-red {
    color: #c62828;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 8px;
}
.p-bold-normal {
    font-weight: bold;
    margin-bottom: 4px;
}
.p-gray-normal {
    color: #666;
    margin-bottom: 0;
}
.p-gray-small {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.p-bold-red-border {
    color: #c62828;
    font-weight: bold;
    margin-bottom: 0;
    border-top: 1px dashed #eee;
    padding-top: 10px;
}

/* ---------- 6. 超链接通用样式 ---------- */
.link-blue,
.link-underline,
.link-bold-blue {
    color: #004094;
    text-decoration: underline;
}
.link-blue,
.link-bold-blue {
    font-weight: bold;
}
.link-green,
.link-green-download {
    color: #2e7d32;
    text-decoration: underline;
}
.link-green {
    font-weight: bold;
}

/* ---------- 7. 状态文本 ---------- */
.text-bold-blue { color: #004094; font-weight: bold; }
.text-bold-red  { color: #c62828; font-weight: bold; }
.text-bold-green{ color: #2e7d32; font-weight: bold; }
.block { display: block; }

/* ---------- 8. 标签导航云 ---------- */
.faq-tag-bar {
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #004094;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.faq-tag-label {
    font-weight: bold;
    color: #333;
    font-size: 13px;
    line-height: 28px;
    flex-shrink: 0;
    margin-right: 8px;
}
.faq-tag-group {
    font-size: 13px;
    line-height: 1.8;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    flex: 1;
}
.faq-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.faq-tag:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
}
.tag-blue { background: #eef4fc; color: #004094 !important; border: 1px solid #d2e3f7; }
.tag-purple { background: #f5f0fa; color: #6b21a8 !important; border: 1px solid #e9dbf5; }
.tag-orange { background: #fdf5eb; color: #b45309 !important; border: 1px solid #fbe5cc; }
.tag-green { background: #eaf6ed; color: #1b5e20 !important; border: 1px solid #c7ebd1; }

/* ---------- 9. 功能卡片与引导框 ---------- */
.faq-tip-card {
    background: #fff2f2;
    border: 1px solid #ffcccc;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.tip-icon { font-size: 28px; flex-shrink: 0; }
.tip-content { font-size: 14px; color: #c62828; line-height: 1.6; }
.tip-title { font-size: 15px; display: block; margin-bottom: 4px; color: #b71c1c; font-weight: bold; }
.tip-highlight {
    background: #eef4fc;
    color: #004094;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #baccf1;
    font-weight: bold;
    display: inline-block;
    margin: 0 2px;
}

.faq-icon-guide {
    background: #f4f9ff;
    border: 1px solid #cce2ff;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.q-icon {
    font-weight: bold;
    color: #2563eb;
    font-size: 16px;
    min-width: 20px;
}
.q-text {
    flex: 1;
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}
.arrow {
    font-size: 12px;
    color: #6b7280;
    transition: transform 0.3s;
}
.faq-icon-guide img { width: 48px; height: 40px; object-fit: contain; flex-shrink: 0; }
.faq-icon-guide div { font-size: 13.5px; color: #1e3a8a; line-height: 1.6; }
.faq-icon-guide div strong { color: #0b57d0; display: block; margin-bottom: 2px; }

/* ---------- 10. 反馈、推广与报错框 ---------- */
.faq-feedback-bar {
    margin-top: 14px;
    background: #fff5f5;
    border: 1px dashed #fee2e2;
    padding: 10px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #666;
}
/* 新代码类名 —— 完全继承旧代码的内联样式 */
.tag-green-check {
    color: #52c41a;
    font-weight: bold;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 4px;
    display: inline-block;
    line-height: 1.5;
}

.tag-red-cross {
    color: #ff4d4f;
    font-weight: bold;
    background: #fff1f0;
    border: 1px solid #ffa39e;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 4px;
    display: inline-block;
    line-height: 1.5;
}
.faq-conclusion { margin-top: 12px; margin-bottom: 0; font-weight: bold; color: #2e7d32; }

.led-green, .led-red, .led-yellow {
    font-weight: bold;
    padding: 1px 8px;
    border-radius: 3px;
    display: inline-block;
}
.led-green { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.led-red { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
.led-yellow { background: #fffde7; color: #f57f17; border: 1px solid #fff9c4; }

.icon-copy { width: 20px; height: 20px; vertical-align: middle; margin: 0 2px; }

.faq-example-box {
    background: #f5f8fc;
    border: 1px solid #e1ebf7;
    padding: 14px 18px;
    margin: 15px 0;
    border-radius: 6px;
    font-size: 13.5px;
    color: #444;
}
.faq-example-box strong {
    color: #004094;
    display: block;
    margin-bottom: 8px;
}
.faq-example-box ul {
    margin: 0;
    padding-left: 18px;
}
.faq-example-box ul li {
    margin-bottom: 6px;
    line-height: 1.6;
}
.faq-example-note {
    color: #999 !important;
    font-size: 13px !important;
    margin-top: 10px !important;
    padding-top: 8px;
    border-top: 1px dashed #e8ecf0;
    text-align: center;
}

.faq-staff-message {
    background: #fffaf0;
    border: 1px dashed #ffd591;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #c45100;
    line-height: 1.6;
}
.faq-email-box {
    margin: 10px 0;
    background: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #004094;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    color: #111;
}
.faq-affiliate-box {
    margin-top: 12px;
    background: #fdf6ec;
    border: 1px solid #faeed7;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
}
.faq-affiliate-box span { font-size: 13px; color: #b25e00; max-width: 480px; }
.faq-affiliate-box a {
    background: #d9534f;
    color: #fff;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}
.faq-affiliate-box a:hover { background: #c9302c; }
/* ---------- 11. 布局与图片放大 ---------- */
.faq-img-with-text {
    margin: 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
}
.faq-img-with-text > div:last-child { flex: 1; min-width: 250px; }
.faq-img-stack { display: flex; flex-direction: column; gap: 10px; width: 180px; flex-shrink: 0; }

.img-zoom-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-align: center;
    width: 180px;
    flex-shrink: 0;
}
.img-zoom-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.img-zoom-container img {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
}
.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    border-radius: 4px;
}
.img-zoom-container:hover .zoom-overlay { opacity: 1; }

/* ---------- 12. 通用辅助类 ---------- */
kbd {
    font-family: inherit;
    background: #eee;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    border: 1px solid #ccc;
    box-shadow: 0 1px 0 #fff;
}
ul, ol { margin: 0 0 8px 0; padding-left: 20px; }
ul li, ol li { margin-bottom: 4px; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 640px) {
    .faq-tag-bar {
        flex-direction: column;
        gap: 6px;
    }
    .faq-tag-label {
        line-height: 1.6;
    }
    .faq-img-with-text {
        flex-direction: column;
        align-items: center;
    }
    .faq-img-stack,
    .img-zoom-container {
        width: 100%;
        max-width: 300px;
    }

    .faq-question {
        padding: 12px 14px;
    }
    .faq-question .q-text {
        font-size: 13px;
    }
    .faq-item.active .faq-answer {
        padding: 12px;
    }
}

/* ===================== 下载模块样式 ===================== */
.dl-section {
    margin-bottom: 30px;
}
.dl-card {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    overflow: visible !important;
    display: block !important;
}
.dl-info h5 {
    font-size: 15px;
    margin: 0 0 8px 0;
    font-weight: 600;
}
.dl-info p {
    margin: 0 0 18px 0;
    color: #666;
}
.dl-row {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.dl-row:last-child {
    margin-bottom: 0;
}

/* ========== 分类标题 ========== */
.dl-section-title {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 10px;
    padding-left: 10px;
    color: #333;
    border-left: 4px solid;
}
.dl-section-title-official {
    border-left-color: #52c41a;
}
.dl-section-title-base {
    border-left-color: #1a73e8;
}
.dl-section-title-scan {
    border-left-color: #9c27b0;
}
.section-sub {
    font-size: 12px;
    font-weight: normal;
    color: #999;
    margin-left: 8px;
}

/* ========== 温馨提示 ========== */
.dl-tip,
.dl-tip-official,
.dl-tip-text {
    background: #fafafa;
    color: #888;
    padding: 10px 15px;
    margin-top: 12px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.6;
    border: 1px solid #eeeeee;
}

/* ========== 下载按钮样式 ========== */
.dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    min-width: 88px;
    white-space: nowrap;
    flex-shrink: 0;
}
.dl-btn + .dl-btn {
    margin-left: 10px;
}
.dl-btn.official,
.dl-btn[style*="#52c41a"] {
    background-color: #E8F5E9;
    color: #2E7D32 !important;
    border-color: #C8E6C9;
}
.dl-btn.official:hover,
.dl-btn[style*="#52c41a"]:hover {
    background-color: #2E7D32;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}
.dl-btn.primary,
.dl-btn[style*="#1a73e8"] {
    background-color: #E3F2FD;
    color: #004094 !important;
    border-color: #BBDEFB;
}
.dl-btn.primary:hover,
.dl-btn[style*="#1a73e8"]:hover {
    background-color: #004094;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 64, 148, 0.2);
}
.dl-btn.backup,
.dl-btn[style*="#999"] {
    background-color: #ECEFF1;
    color: #455A64 !important;
    border-color: #CFD8DC;
}
.dl-btn.backup:hover,
.dl-btn[style*="#999"]:hover {
    background-color: #455A64;
    color: #ffffff !important;
}
.dl-btn.thunder {
    background: #FCE4EC;
    color: #C2185B !important;
    border: 1px solid #F8BBD0;
}
.dl-btn.thunder:hover {
    background: #F8BBD0;
    color: #C2185B !important;
}

.dl-site-tip {
    background: #f5f5f5;
    color: #666;
    font-size: 13px;
    padding: 6px 12px;
    margin: 4px 0 10px 0;
    border-radius: 4px;
    font-weight: normal;
    width: 100%;
}

.dl-wrap-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 10px;
    flex-wrap: wrap;
}
.dl-left-col {
    flex: 1 1 60%;
    min-width: 280px;
}
.dl-right-col {
    flex: 1 1 30%;
    min-width: 220px;
    min-height: 220px;
    background: #fafafa;
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 10px;
}

.scan-notice { background: #f0f7ff; border: 1px solid #004094; padding: 15px; border-radius: 6px; margin-bottom: 20px; display: flex; align-items: flex-start; }
.scan-notice .icon { font-size: 24px; margin-right: 12px; }
.scan-notice .text { font-size: 14px; color: #004094; line-height: 1.6; }
.scan-notice b { text-decoration: underline; }

.software-list { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 15px; margin-top: 20px; }
.software-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #eee; }
.software-item:last-child { border-bottom: none; }
.tag-twain { background: #28a745; color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 3px; }
.reset-badge {
    background: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: normal;
}

.card-header-center {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.card-header-center h1 {
    font-size: 26px;
    margin: 10px 0;
    color: #333;
}

.scan-step {
    display: flex;
    margin-top: 20px;
    gap: 10px;
}
.step-item {
    flex: 1;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
    color: #666;
}
.step-item b {
    display: block;
    color: #004094;
    font-size: 14px;
    margin-bottom: 5px;
}
.store-btn {
    border: 1px solid #004094;
    color: #004094 !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
}
.store-btn:hover {
    background: #004094;
    color: #fff !important;
}

#pane-dl,
#soft_xiazai {
    width: 100% !important;
    overflow: visible !important;
}

.down_in {
    margin: auto;
    padding: 10px 0;
    background: #fff;
    overflow: visible !important;
    width: 100% !important;
}

.download-btns {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    gap: 30px !important;
    flex-wrap: wrap !important;
    text-align: center;
    width: 100% !important;
    overflow: visible !important;
}

.download-btns > div {
    flex: 0 0 auto !important;
    -webkit-flex-shrink: 0 !important;
    flex-shrink: 0 !important;
    width: 260px !important;
    min-width: 260px !important;
    margin: 0 15px !important;
}

.download-btns a {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    width: 260px !important;
    height: 50px !important;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    -webkit-flex-shrink: 0 !important;
    flex-shrink: 0 !important;
    white-space: nowrap;
}

.download-btns p {
    font-size: 12px;
    color: #ADADAD;
    margin: 8px auto 0;
    max-width: 260px;
}

.left-btn a { background: #0C91EF; }
.right-btn a { background: #41B703; }

@media (max-width:768px){
    .dl-wrap-row {
        flex-direction: column;
    }
    .dl-left-col,
    .dl-right-col {
        width: 100%;
        flex: none;
    }
    .dl-right-col {
        min-height: 160px;
    }
}

/* ==========================================================================
   整合自页面行内样式及新简介布局控制
   ========================================================================== */

#soft-v-wrap {
    display: none;
}

#official-tag {
    display: none;
}

.detail-intro-open {
    display: block !important;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 15px;
    overflow: hidden;
}

.detail-intro-open .intro-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.detail-intro-open .intro-content {
    flex: 1;
    line-height: 1.8;
    font-size: 14px;
    text-align: left;
    color: #333;
}
.intro-title-bar {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-left: 8px;
    border-left: 3px solid #004094;
    line-height: 1;
}

@media (max-width: 768px) {
    .detail-intro-open .intro-inner {
        flex-direction: column;
        align-items: center;
    }
    .detail-intro-open .intro-img {
        margin-top: 15px;
    }
}

.tip-box {
    background: #f0f7ff;
    border: 1px solid #b3d8ff;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
}
.pros {
    color: #198754;
    font-weight: bold;
    margin: 4px 0;
}
.cons {
    color: #d92121;
    font-weight: bold;
    margin: 4px 0;
}
.download-notice-bar {
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    border-left: 4px solid #004094;
    padding: 10px 15px;
    margin-bottom: 20px;
    text-align: left;
    border-radius: 0 4px 4px 0;
}
.official-tag, #soft-v-wrap {
    display: none;
}

/* ============================================================
   🚀 返回顶部按钮
   ============================================================ */
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: rgba(0, 64, 148, 0.60);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    user-select: none;
    text-decoration: none;
    line-height: 1;
}

#back-to-top:hover {
    background: rgba(0, 64, 148, 0.85);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 64, 148, 0.30);
}

#back-to-top:active {
    transform: scale(0.92);
}

#back-to-top .arrow-up {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #fff;
    margin-bottom: 2px;
}

#back-to-top .tooltip {
    position: absolute;
    right: 62px;
    background: rgba(0, 0, 0, 0.70);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#back-to-top:hover .tooltip {
    opacity: 1;
}

@media (max-width: 640px) {
    #back-to-top {
        bottom: 25px;
        right: 18px;
        width: 46px;
        height: 46px;
        font-size: 18px;
        border-radius: 6px;
    }
    #back-to-top .tooltip {
        display: none;
    }
}
/* ================= 驱动简介浮动环绕 + 强制下沉方案 ================= */

/* 1. 外层容器清除浮动 */
.intro-flex-wrapper {
    display: block !important;
}

.intro-flex-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* 2. 右侧图片：向右浮动 */
.intro-right-col {
    float: right !important;
    width: 220px !important;       /* 图片卡片固定宽度 */
    margin-left: 20px !important;  /* 与左侧文字的间距 */
    margin-bottom: 12px !important;/* 与下方文字/卡片的间距 */
}

/* 3. 左侧内容区：块级自适应宽度 */
.intro-left-col {
    display: block !important;
    width: auto !important;
}

/* 4. 简介/参数文本：绕着图片排列，超出高度后自动往右延伸 */
.intro-left-col p {
    margin: 0 0 10px 0 !important;
    line-height: 1.8;
    color: #444;
}

/* 5. 移动端适配 */
@media (max-width: 768px) {
    .intro-right-col {
        float: none !important;
        width: 100% !important;
        max-width: 260px;
        margin: 0 auto 15px auto !important;
    }
}
/* ================= 特别说明 TBSM 卡片样式（合并版） ================= */
.tbsm {
    clear: both !important;
    display: block !important;
    width: 100% !important;
    margin-top: 20px !important;
    padding: 15px !important;
    background: #fffbe6 !important;
    border: 1px solid #ffe58f !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

.tbsm-title {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #d46b08 !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px dashed #ffe58f !important;
}

.tbsm-item {
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 13.5px;
    line-height: 1.7;
}
.tbsm-item:last-child {
    margin-bottom: 0;
}

.tbsm-tag {
    font-weight: bold;
    display: inline-block;
}

/* 子卡片类型 */
.tbsm-xl {
    background-color: #e6f7ff !important;
    border: 1px solid #91d5ff !important;
    color: #003a8c !important;
}
.tbsm-xl .tbsm-tag { color: #096dd9; }

.tbsm-sm {
    background-color: #f6ffed !important;
    border: 1px solid #b7eb8f !important;
    color: #135200 !important;
}
.tbsm-sm .tbsm-tag { color: #389e0d; }

.tbsm-btn {
    display: inline-block;
    background: #004094;
    color: #ffffff !important;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none !important;
    margin-left: 5px;
    transition: background 0.2s;
}
.tbsm-btn:hover {
    background: #ff9800;
}
.tbsm p {
    margin: 0 0 8px 0;
}
.tbsm a {
    color: #004094;
    font-weight: 500;
    text-decoration: underline;
}
.tbsm a:hover {
    color: #ff9800;
    text-decoration: none;
}
.tbsm img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
    border-radius: 6px;
}

/* 6. 移动端适配 */
@media (max-width: 768px) {
    .tbsm-btn {
        display: block;
        margin: 6px 0 0 0;
        text-align: center;
    }
}
/* 图片卡片样式 */
.intro-right-col .img-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.intro-right-col .img-card:hover {
    box-shadow: 0 4px 20px rgba(0, 64, 148, 0.10);
}

.intro-right-col .intro-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border: 1px solid #eee;
    padding: 2px;
    background: #fff;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.intro-right-col .img-tips {
    font-size: 11px;
    color: #aaa;
    margin-top: 8px;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.4;
}












/* 基础容器 */
.notice-box {
    border-radius: 10px;
    padding: 16px 20px;
    margin: 12px 0;
    background: #f8fafc;
    border-left: 5px solid #94a3b8;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* 增加极轻微的阴影提升浮动质感 */
}

/* 标题样式：加深字体并保持呼吸感 */
.notice-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* 列表与项 */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06); /* 淡虚线分割，排版更整齐 */
}

.notice-list li:last-child {
    border-bottom: none; 
}

.notice-list b {
    color: #1e293b;
}

/* 警告框强化 */
.notice-warning {
    margin-top: 12px;
    padding: 8px 12px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 6px;
    color: #d46b08;
    font-size: 13px;
    line-height: 1.6;
}

/* 分类主题色配色（主题色同步到标题） */
.notice-laser { border-left-color: #2563eb; background: #eff6ff; }
.notice-laser .notice-title { color: #1d4ed8; }

.notice-copier { border-left-color: #7c3aed; background: #f5f3ff; }
.notice-copier .notice-title { color: #6d28d9; }

.notice-dotmatrix { border-left-color: #ea580c; background: #fff7ed; }
.notice-dotmatrix .notice-title { color: #c2410c; }

.notice-inkjet { border-left-color: #0891b2; background: #ecfdf5; }
.notice-inkjet .notice-title { color: #0f766e; }

.notice-thermal { border-left-color: #16a34a; background: #f0fdf4; }
.notice-thermal .notice-title { color: #15803d; }

.notice-scanner { border-left-color: #dc2626; background: #fef2f2; }
.notice-scanner .notice-title { color: #b91c1c; }

.notice-default { border-left-color: #64748b; background: #f1f5f9; }
.notice-default .notice-title { color: #475569; }

/* 🌟 动态排错卡片里的内链美化 */
.notice-list a.notice-link {
    color: #004094;
    font-weight: bold;
    margin-left: 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.notice-list a.notice-link:hover {
    color: #ff4d4f;
    text-decoration: underline;
}