.ad {
    color: #cdcccc;
    border: 1px solid #ebebeb;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 2px;
}

.ad-container {
    border-radius: 4px;
    text-align: left;
    border: 1px solid #eeeeee;
}

.ad-text {
    font-weight: bold;
}
.ad-text {
    position: absolute;
    bottom: 12px;
    right: 18px;
    background-color: rgb(210 209 209 / 4%);
    color: #d9d9d9;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: sans-serif;
    z-index: 1;
    pointer-events: none;
    border: 1px solid #bfbebe;
}

.ad-container img {
    border-radius: 0 !important;
}


.center-container p {
    margin: 15px 0 20px 0;
    line-height: 1.9em;
    font-size: 16px;
    /*padding-left: 30px;*/
}

.center-container img {
    border-radius: 4px;
    border: 1px solid rgb(240, 240, 240);
}

.center-container {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(55, 99, 170, .06);
    padding-bottom: 15px;
}

.content-row {
    margin-left: 0;
}

@media (min-width: 992px) {
    .content-row .center-container {
        width: 74.088%;
    }

    .content-row .right-container {
        width: 24%;
    }
}

blockquote {
    margin-top: 5px;
    border-left: 5px solid #98d1ff;
    background-color: #ebf3f9;
    color: #606060;
    line-height: 30px;
    font-size: 14px;
    border-radius: 3px;
}

#main-row > div.col-md-8.center-container > p.bottom-tag-block {
    text-align: center;
    color: gray;
    font-size: 12px;
}

/*.bottom-tag-block span {*/
/*    display: inline-block;*/
/*    border-radius: 1px;*/
/*    font-size: 13px;*/
/*    padding: 0 6px;*/
/*    background-color: #0c84ff;*/
/*    color: #ffffff;*/
/*}*/

/* 隐藏锚点目标，避免影响布局 */
#top-anchor {
    scroll-margin-top: 150px;  /* 导航栏高度 + 一些留白 */
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*visibility: hidden;*/
}

/* 固定在右下角的链接 */
.top-link {
    position: fixed;
    bottom: 95px;
    right: 38px;
    width: 48px;
    height: 48px;
    background-color: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.top-link:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.base_info {
    font-size: 13px;
    color: #8A919F;
    padding-top: 10px;
    padding-bottom: 15px;
    border-bottom: #f0f0f0 solid 1px;
}

.article_title > div {
    padding-right: 3px;
    padding-left: 12px;
}

.rec_article_item .title_text {
    /*font-size: 14px;*/
    /*color: #666;*/
    /*word-wrap: break-word;*/
    /*margin-bottom: 0;*/
    /*max-height: 60px;*/
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /*list-style-position: inside;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cover_img {
    width: 102px;
    border-radius: 2px;
    height: 53px;
}

.haoka {
    font-size: 15px;
    background: #F6F6F6;
    border: #DADADA 1px solid;
    border-radius: 0.6rem;
    margin-top: 3px
}

.haoka .lingqu {
    line-height: 40px;
    text-align: center;
    padding-top: 10px
}

.haoka .amount {
    color: #f54d4a;
    border: 1px solid #f04243;
    border-radius: 3px;
    margin-left: 6px;
}

.haoka .desc {
    line-height: 30px
}

.haoka img {
    width: 60px;
    height: 60px
}

.haoka .item_btn {
    border-radius: 50px;
    color: #ffffff;
    display: inline-block;
    width: 120px;
    height: 40px;
    background-color: #0088f5
}

.haoka .desc2 {
    line-height: 30px;
    font-size: 15px;
}
#real-content ul,#real-content ol {
    padding-left: 59px;
}
@media (max-width: 862px) {
    .haoka {
        /*text-align: center;*/
        padding-bottom: 5px;
        padding-top: 5px;
        font-size: 10px;
    }

    .haoka .desc {
        line-height: 17px
    }

    .haoka .desc2 {
        line-height: 17px;
        font-size: 10px;
    }

    .center-container img {
        height: 100%;
        width: 100%;
        border: 1px solid rgb(240, 240, 240);
    }

    .haoka .lingqu {
        line-height: 29px;
        text-align: center;
        padding-top: 2px;
        padding-left: 2px;
        padding-right: 0;
    }

    h1 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .desc-content {
        width: 51.3%;
    }

    .haoka img {
        width: 35px;
        height: 35px
    }

    .haoka .amount {
        margin-left: 3px;

    }

    .haoka .item_btn {
        border-radius: 50px;
        display: inline-block;
        width: 65px;
        height: 29px;
        background-color: #0088f5
    }

    .cover_img {
        width: 100px
    }

    #real-content ul, #real-content ol, #real-content ul, #real-content ul {
        padding-left: 30px;
    }
}

.base_info .time {
    margin-left: 2px;
}

.content a span u {
    word-wrap: break-word;
    /*color: #0a67fb;*/
}

.breadcrumb a {
    color: #8A919F;
}

.declaration a, .content a {
    /*color: #0a67fb;*/
    color: #005cbf;
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

.content a span .ad-text-red {
    color: red;
}

table tr:nth-child(2n) {
    background: rgb(30 93 65 / 8%);
}

table tbody tr:first-child {
    background: linear-gradient(30deg, #5297e9 10%, #104be5e0 100%);
    color: #ffffff;
}

table {
    line-height: 2.7em;
}

.base_info .view {
    margin-left: 2px;
}

.breadcrumb {
    margin-bottom: 0;
    background-color: #fff;
}

h1 {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    padding-top: 15px;
    padding-left: 14px;
    padding-right: 14px;
    color: #34495e;
}

h2 {
    font-size: 19px;
    font-weight: bold;
}

h2 {
    margin-top: 35px;
    font-size: 2.4rem;
    font-weight: bold;
    /*border-left: 6px solid #3f91ff;*/
    /*padding-left: 10px;*/
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 20px;
    /* background: linear-gradient(90deg, #2d69e9 0, #2fb6e7 100%); */
    /* background-clip: text; */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    border-radius: 3px;
}
.bi-paragraph::before {
    font-size: 24px;
    color: #0d6efd;
}

#main-row > div.col-md-8.center-container > div.row.text-center.previous_next_block {
    /*border-bottom: 1px solid #f3f6f9;*/
    /*border-top: 1px solid #f3f6f9;*/
}

#main-row > div.col-md-8.center-container > div.row.text-center.previous_next_block .previous_text {
    font-size: 14px;
    text-align: left;

    /*color: #c5c5c5;*/
    color: #2266dc;;
    margin: 0
}
#main-row > div.col-md-8.center-container > div.row.text-center.previous_next_block .previous_title {
    font-size: 14px;
    /*color: gray;*/
    color: #2266dc;
    font-weight: 600;
    text-align: left;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;        /* 限制显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;      /* 超出部分显示省略号 */
    word-break: break-all;        /* 可选：允许单词内换行，防止长单词撑开 */
}
#main-row > div.col-md-8.center-container > div.row.text-center.previous_next_block .next_text {
    font-size: 14px;
    text-align: right;
    color: #2266dc;
    margin: 0
}
#main-row > div.col-md-8.center-container > div.row.text-center.previous_next_block .next_title {
    font-size: 14px;
    text-align: left;
    /*color: gray;*/
    color: #2266dc;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;        /* 限制显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;      /* 超出部分显示省略号 */
    word-break: break-all;        /* 可选：允许单词内换行，防止长单词撑开 */
}


h3 {
    margin-top: 35px;
    font-size: 18px;
    font-weight: bold;
    /*color: #3f91ff;*/
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 20px;
}

table td, table th {
    border-collapse: collapse;
    border: 1px solid rgba(0, 0, 0, .2);
}

table tr th {
    background-color: #00000008;
    border-bottom-width: 3px;
    cursor: auto;
    text-align: center;
}

.content li {
    /*padding-top: 10px;*/
    padding-bottom: 10px;
}
.content li:hover {
    border-radius: unset;
    background-color: unset;
    color: unset !important;
}

/**
电脑端内边距
 */
.content .col-md-12 {
    padding-left: 110px;
    padding-right: 110px;
}

/**
手机端内边距
 */
@media (max-width: 862px) {
    .content .col-md-12 {
        padding-left: 25px;
        padding-right: 25px;
    }
}


ul .rec_article_item {
    overflow: hidden;
    font-size: 14px;
    /*list-style-position: inside;*/
    text-overflow: ellipsis;
    white-space: normal;
}

.rec_article_item .article_title span {
    color: #000000bf;
}

.right-container ul li::marker {
    color: #1673ff;
}

/*.right-container .info_block li a:hover{*/
/*    color: #0053b6;*/
/*}*/

/*pre code {*/
/*    display: block;*/
/*    overflow-x: auto;*/
/*    white-space: nowrap;*/
/*}*/
/*!*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*!*/
/*::-webkit-scrollbar {*/
/*    !*background-color: #f5f5f5;*!*/
/*    width: 10px;*/
/*    height: 10px;*/
/*}*/
/*!*定义滚动条轨道 内阴影+圆角*!*/
/*::-webkit-scrollbar-track {*/
/*    -webkit-box-shadow: inset 0 0 6px 6px rgba(0, 0, 0, 0.1);*/
/*    border-radius: 10px;*/
/*    background-color: #f5f5f5;*/
/*}*/
/*!*定义滑块 内阴影+圆角*!*/
/*::-webkit-scrollbar-thumb {*/
/*    border-radius: 10px;*/
/*    -webkit-box-shadow: inset 0 0 6px 6px rgba(0, 0, 0, 0.3);*/
/*    background-color: #ddd;*/
/*}*/
.top-ad-img {
    position: relative;
    animation: shake 3.5s;
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-6px);
    }
    50% {
        transform: translateX(6px);
    }
    75% {
        transform: translateX(-6px);
    }
    100% {
        transform: translateX(6px);
    }
}

tbody {
    text-align: center;
}
.center-container .declaration {
    margin-bottom: 19px;
    /*border-radius: 1px;*/
    /*background-color: #f8d995;*/
    font-size: 12px;
    color: gray;
    color: #6c757d;
    /*padding: 5px 5px 5px 5px;*/
    padding: 1rem 1rem;
    background-color: #f5f9ff;
    border-radius: 1rem;
}
/**
电脑端显示时调整左间距
 */
@media (min-width: 992px) {
    ol, ul {
        padding-left: 27px;
    }

    .center-container img {
        /*height: 100%;*/
        width: 100%;
    }
    .center-container .declaration {
        margin-left: 74px;
        margin-right: 74px;
    }
}

/*strong {*/
/*    color: #007de0;*/
/*}*/
.end1, .end2, .zhengwen {
    display: inline-block;
    height: 5px;
    width: 40px;
    background-color: #e6e6e6;
    border-radius: 5px;
}

.content a {
    /*text-decoration: underline;*/
    display: inline-block;
    font-size: 14px;
    /*padding: 1px 10px;*/
    /*border-radius: 8px;*/
    /*background-color: #0a67fb;*/
    color: #0a67fb;
    max-width: 100%;
    vertical-align: middle;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /*text-decoration: none;*/
}
.content a::before {
    font-family: 'bootstrap-icons';
    content: '\F1C5';
    margin-right: 5px;
}

.jd_goods_ad > div:first-of-type {
    left: 30%;
}

@media (max-width: 862px) {
    .jd_goods_ad > div:first-of-type {
        left: 0%;
    }
}


pre {
    /*background-color: #2a3052;*/
    /*background-color: unset;*/
    border: unset;
    color: #dedede !important;
    padding: 0;
    border-radius: 2px;
}
pre code {
    white-space: pre;
    padding: 20px 20px !important;
}

p code,li span code {
    color: #0c84ff;
    background-color: #1e80ff0d;
}

.detail_right_xg_title {
    width: 22px;
    height: 22px;
    display: inline-block;
    margin-bottom: 4px;
    margin-right: 4px;
}

/**
目录
 */
/* 文章整体容器：左侧目录 + 右侧内容 */
.article-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* ========= 左侧目录：最简单固定方式 ========= */
.sidebar-toc {
    width: 260px;
    flex-shrink: 0;           /* 防止压缩 */
    position: sticky;         /* 关键：固定效果 */
    top: 2rem;                /* 距离顶部2rem后固定 */
    align-self: flex-start;   /* 保证从顶部开始粘滞 */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 1.2rem 0;
    transition: all 0.2s;
    /* 如果目录内容太高，允许滚动（但一般目录不高） */
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

/* 简单自定义滚动条（可选，不影响功能） */
.sidebar-toc::-webkit-scrollbar {
    width: 3px;
}
.sidebar-toc::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}
.sidebar-toc::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* 目录头部 */
.toc-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    /*padding: 0 1.2rem 0.75rem 1.2rem;*/
    border-bottom: 2px solid #eef2f6;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toc-title span:first-child {
    /*font-size: 1.2rem;*/
    font-size: 16px;
}

/* 目录列表 - 极简树状 */
.toc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.toc-list ul {
    list-style: none;
    padding-left: 1.25rem;   /* 二级缩进 */
    margin: 0;
}
.toc-item {
    margin: 0;
}
/* 目录链接样式 */
.toc-link {
    display: block;
    padding: 0.45rem 1.2rem;
    /*font-size: 1.1rem;*/
    /*color: #334155;*/
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.15s ease;
    line-height: 2.0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#real-content ul li,#real-content ol li {
    font-size: 16px;
}

/*h1::before {*/
/*    content: "新";*/
/*    display: inline-block;*/
/*    background-color: #2196F3;*/
/*    color: white;*/
/*    padding: 3px 6px;*/
/*    margin-right: 8px;*/
/*    border-radius: 4px;*/
/*    vertical-align: middle;*/
/*    font-weight: normal;*/
/*    font-size: 14px;*/
/*}*/
/* 二级目录更浅一点 */
.toc-level-h3 .toc-link {
    padding-left: 2rem;
    /*font-size: 16px;*/
    /*color: #475569;*/
    color: #435063;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.toc-level-h4 .toc-link {
    padding-left: 2.8rem;
    font-size: 0.78rem;
    color: #5b6e8c;
}

/* hover 效果 */
.toc-link:hover {
    background-color: #f1f5f9;
    border-left-color: #94a3b8;
    color: #0f172a;
}
/* 当前激活章节高亮（简单醒目） */
.toc-link.active {
    background: #eef2ff;
    border-left-color: #3b82f6;
    color: #1e40af;
    font-weight: 500;
}



/* 响应式：屏幕较小时目录移到顶部（但仍保持简单） */
@media (max-width: 800px) {
    .article-page {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .sidebar-toc {
        position: relative;    /* 小屏幕不再固定，变成普通块级 */
        top: 0;
        width: 100%;
        max-height: 280px;
        overflow-y: auto;
        margin-bottom: 0.5rem;
    }
    .toc-link {
        padding: 0.4rem 1rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}
h2 {
    color: #34495e;
}

.article-title-main {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f2b4d, #1e4a76);
    background-clip: text;
    -webkit-background-clip: text;
    /* color: transparent; */
    margin: 0.5rem 0 0.75rem;
}
.meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.8rem;
    color: #5c6f91;
    font-size: 1.3rem;
    justify-content: center;

}
.meta-bar i {
    margin-right: 6px;
    color: #2266dc;
}
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
}
.bottom-tag {
    background: #eef2ff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 1.45rem;
    font-weight: 500;
    color: #2266dc;
}
body {
    color: #273d53;
}
/*strong {*/
/*    color: #2170f3f2;*/
/*}*/
.content-row ul li {
    line-height: 2.8rem;
}
/* 最简单的弹窗样式 */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center; justify-content: center;
    visibility: hidden;
    z-index: 1000;
    padding-top: 100px;
}
.modal.show { visibility: visible; }
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
    /*margin-top: 150px;*/
    margin: auto;
}
.modal-content img { max-width: 100%; margin: 10px 0; }
.close-btn {
    margin-top: 10px;
    padding: 5px 15px;
    cursor: pointer;
}
/* 按钮样式 */
/*.qr-btn {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    gap: 8px;*/
/*    background: #2c3e50;*/
/*    color: white;*/
/*    padding: 10px 20px;*/
/*    border-radius: 40px;*/
/*    cursor: pointer;*/
/*    font-size: 16px;*/
/*}*/
/*.qr-btn a {*/
/*    color: white;*/
/*    text-decoration: none;*/
/*}*/
