/* ==================================================================
   ToDesk 常见问题 —— 列表页 + 文章页样式
   设计对齐 todesk.comc：1200px 容器 / #0175FF 主色 / #00D6E1 青色点缀
   ================================================================== */

* { margin: 0; padding: 0; }

body {
    font-family: "PingFang SC", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #1a1a26;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a { color: #0175ff; text-decoration: none; }
a:hover { text-decoration: underline; }
img { border: 0; max-width: 100%; }
ul, ol { list-style: none; }
code {
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 13px;
    background: rgba(1, 117, 255, 0.07);
    padding: 2px 6px;
    border-radius: 4px;
    color: #0060d6;
    word-break: break-all;
}

.page { width: 1200px; margin: 0 auto; }

.hid {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #0175ff;
    color: #fff;
    padding: 10px 18px;
    z-index: 999;
    border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; text-decoration: none; }

/* ---------------- 顶部条 ---------------- */
.hd2 {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 64px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 12px 0 rgba(0, 30, 80, 0.06);
}
.hd2__in {
    width: 1200px;
    height: 64px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
.hd2__logo { display: flex; align-items: center; margin-right: 24px; }
.hd2__logo img { display: block; height: 30px; width: auto; }
.hd2__tit {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a26;
    padding-left: 14px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    margin-left: 4px;
}
.hd2__nav { margin-left: auto; display: flex; align-items: center; }
.hd2__nav a {
    font-size: 14px;
    color: #33333d;
    margin-left: 28px;
}
.hd2__nav a:hover { color: #0175ff; text-decoration: none; }
.hd2__nav a.currp { color: #0175ff; font-weight: 700; }

/* ---------------- 面包屑 ---------------- */
.navpath {
    font-size: 12px;
    line-height: 30px;
    color: #6b6b76;
    padding-top: 86px;
}
.navpath a { color: #6b6b76; }
.navpath a:hover { color: #0175ff; }
.navpath .sep { color: #c4c4cc; margin: 0 8px; }
.navpath .act { font-weight: 700; color: #1a1a26; }

/* ---------------- 列表页头部 ---------------- */
.mast {
    background: linear-gradient(120deg, rgba(1, 117, 255, 0.06), rgba(0, 214, 225, 0.06));
    border-radius: 14px;
    padding: 36px 40px;
    margin-top: 14px;
}
.mast__tit {
    font-size: 26px;
    line-height: 36px;
    color: #1a1a26;
}
.mast__desc {
    font-size: 14px;
    line-height: 24px;
    color: #5b5b66;
    margin-top: 12px;
    max-width: 940px;
}
.mast__stat {
    font-size: 13px;
    color: #8a8a93;
    margin-top: 10px;
}

/* 搜索 */
.find { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; }
.find__input {
    width: 460px;
    height: 44px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.find__input:focus { border-color: #0175ff; box-shadow: 0 0 0 3px rgba(1, 117, 255, 0.12); }
.find__btn {
    height: 44px;
    padding: 0 28px;
    margin-left: 12px;
    border: 0;
    border-radius: 10px;
    background: #0175ff;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s;
}
.find__btn:hover { background: #0060d6; }
.find__count { font-size: 13px; color: #6b6b76; margin-left: 16px; }

/* ---------------- 主体两栏 ---------------- */
.mainc {
    display: flex;
    align-items: flex-start;
    padding: 36px 0 70px;
}

.cats {
    width: 234px;
    flex: 0 0 234px;
    position: sticky;
    top: 86px;
    margin-right: 40px;
}
.cats__tit {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a26;
    padding: 0 0 14px 12px;
}
.cats__nav a {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    color: #33333d;
    transition: all .2s;
}
.cats__nav a:hover { background: rgba(1, 117, 255, 0.05); text-decoration: none; }
.cats__nav a.act {
    background: rgba(1, 117, 255, 0.1);
    color: #0175ff;
    font-weight: 700;
}
.cats__num {
    margin-left: auto;
    font-size: 12px;
    color: #9a9aa3;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 2px 9px;
}
.cats__nav a.act .cats__num { background: rgba(1, 117, 255, 0.15); color: #0175ff; }

.bodyc { flex: 1; min-width: 0; }

/* ---------------- 分组标题 ---------------- */
.grp { margin-bottom: 40px; }
.grp__tit {
    font-size: 18px;
    color: #1a1a26;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
}
.grp__tit em {
    font-style: normal;
    font-size: 13px;
    font-weight: 400;
    color: #9a9aa3;
    margin-left: 12px;
}

/* ---------------- 问答手风琴 ---------------- */
.ask { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }

.ask__q {
    display: flex;
    align-items: flex-start;
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 20px 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    line-height: 24px;
    color: #1a1a26;
    transition: color .2s;
}
.ask__q:hover { color: #0175ff; }
.ask__idx {
    flex: 0 0 28px;
    font-size: 13px;
    color: #c4c4cc;
    line-height: 24px;
}
.ask__txt { flex: 1; font-weight: 700; }
.ask__arr {
    flex: 0 0 16px;
    width: 16px; height: 16px;
    margin-top: 4px;
    position: relative;
    transition: transform .25s;
}
.ask__arr::before {
    content: "";
    position: absolute;
    left: 3px; top: 4px;
    width: 7px; height: 7px;
    border-right: 2px solid #9a9aa3;
    border-bottom: 2px solid #9a9aa3;
    transform: rotate(45deg);
}
.ask.opened .ask__arr { transform: rotate(180deg); }
.ask.opened .ask__txt { color: #0175ff; }

.ask__body {
    display: none;
    padding: 0 8px 24px 36px;
}
.ask.opened .ask__body { display: block; }

.ask__sum {
    font-size: 14px;
    line-height: 26px;
    color: #4a4a55;
}
.ask__sum strong { color: #1a1a26; }

.ask__pts {
    margin-top: 14px;
    background: rgba(1, 117, 255, 0.045);
    border-radius: 10px;
    padding: 14px 18px;
}
.ask__pts li {
    font-size: 13px;
    line-height: 24px;
    color: #4a4a55;
    padding-left: 16px;
    position: relative;
}
.ask__pts li::before {
    content: "";
    position: absolute;
    left: 0; top: 10px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #0175ff;
    opacity: .5;
}

.ask__foot {
    margin-top: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.ask__more {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 18px;
    border-radius: 8px;
    background: rgba(1, 117, 255, 0.1);
    color: #0175ff;
    font-size: 13px;
}
.ask__more:hover { background: rgba(1, 117, 255, 0.18); text-decoration: none; }

/* 发布时间 / 阅读量 */
.imeta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #9a9aa3;
    font-size: 13px;
}
.imeta__item { display: flex; align-items: center; margin-left: 22px; }
.imeta__item svg, .imeta__item img { width: 15px; height: 15px; margin-right: 6px; opacity: .6; }
.ask__foot .imeta { margin-left: auto; }

.nohit {
    padding: 60px 0;
    text-align: center;
    color: #9a9aa3;
    font-size: 14px;
}

/* ---------------- 文章页 ---------------- */
.artw {
    display: flex;
    align-items: flex-start;
    padding: 10px 0 70px;
}
.post { flex: 1; min-width: 0; max-width: 850px; }

.post__hd { padding-bottom: 22px; border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.post__cat {
    display: inline-block;
    font-size: 12px;
    color: #0175ff;
    background: rgba(1, 117, 255, 0.1);
    border-radius: 6px;
    padding: 4px 12px;
}
.post__cat:hover { text-decoration: none; background: rgba(1, 117, 255, 0.18); }
.post__tit {
    font-size: 27px;
    line-height: 40px;
    color: #1a1a26;
    margin: 16px 0 18px;
}
.post__info { color: #9a9aa3; font-size: 13px; }
.post__info .imeta__item:first-child { margin-left: 0; }

.post__lead {
    font-size: 15px;
    line-height: 28px;
    color: #4a4a55;
    background: rgba(1, 117, 255, 0.045);
    border-left: 3px solid #0175ff;
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin: 26px 0 10px;
}
.post__lead strong { color: #1a1a26; }

.post__body { font-size: 15px; line-height: 30px; color: #3a3a44; }
.post__body h2 {
    font-size: 20px;
    line-height: 30px;
    color: #1a1a26;
    margin: 38px 0 16px;
    padding-left: 14px;
    border-left: 4px solid #0175ff;
}
.post__body h3 {
    font-size: 16px;
    line-height: 26px;
    color: #1a1a26;
    margin: 26px 0 12px;
}
.post__body p { margin: 14px 0; }
.post__body strong { color: #1a1a26; }
.post__body ul, .post__body ol { margin: 14px 0; padding-left: 4px; }
.post__body ul li, .post__body ol li {
    position: relative;
    padding-left: 24px;
    margin: 10px 0;
}
.post__body ul li::before {
    content: "";
    position: absolute;
    left: 6px; top: 13px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #0175ff;
    opacity: .55;
}
.post__body ol { counter-reset: li; }
.post__body ol li { counter-increment: li; }
.post__body ol li::before {
    content: counter(li);
    position: absolute;
    left: 0; top: 4px;
    width: 18px; height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 11px;
    border-radius: 50%;
    background: rgba(1, 117, 255, 0.12);
    color: #0175ff;
}

/* 配图 */
.fig {
    margin: 24px 0;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}
.fig img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}
.fig figcaption {
    font-size: 12px;
    line-height: 20px;
    color: #9a9aa3;
    margin-top: 12px;
}

/* 提示框 */
.tip {
    background: rgba(1, 117, 255, 0.05);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 26px;
    color: #4a4a55;
}
.tip--warn { background: rgba(255, 149, 0, 0.09); }
.tip strong { color: #1a1a26; }

/* 表格 */
.dtable_wrap { overflow-x: auto; margin: 22px 0; }
.dtable {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.dtable th, .dtable td {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 14px;
    line-height: 24px;
    text-align: left;
    vertical-align: top;
}
.dtable th { background: rgba(1, 117, 255, 0.06); font-weight: 700; color: #1a1a26; }
.dtable tbody tr:nth-child(even) { background: rgba(0, 0, 0, 0.015); }

.unver {
    font-size: 12px;
    color: #b06000;
    background: rgba(255, 149, 0, 0.12);
    border-radius: 4px;
    padding: 1px 7px;
    margin: 0 2px;
    white-space: nowrap;
}

/* 来源 / 相关 / 上下篇 */
.refs { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(0, 0, 0, 0.07); }
.refs__tit, .rels__tit { font-size: 16px; color: #1a1a26; margin-bottom: 14px; }
.refs ol { counter-reset: s; }
.refs li {
    counter-increment: s;
    position: relative;
    padding-left: 24px;
    font-size: 13px;
    line-height: 24px;
    color: #6b6b76;
    margin: 10px 0;
}
.refs li::before {
    content: "[" counter(s) "]";
    position: absolute;
    left: 0; top: 0;
    color: #b4b4bc;
    font-size: 12px;
}

.rels { margin-top: 40px; }
.rels__list { display: flex; flex-wrap: wrap; }
.rels__item {
    width: calc(50% - 20px);
    box-sizing: border-box;
    margin: 0 20px 12px 0;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    font-size: 13px;
    line-height: 22px;
    color: #3a3a44;
}
.rels__item:hover { background: rgba(1, 117, 255, 0.07); color: #0175ff; text-decoration: none; }

.pnv {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 13px;
}
.pnv a, .pnv span {
    max-width: 45%;
    color: #6b6b76;
    line-height: 22px;
}
.pnv a:hover { color: #0175ff; text-decoration: none; }
.pnv span { color: #b4b4bc; }

/* 目录 */
.outl {
    width: 220px;
    flex: 0 0 220px;
    margin-left: 40px;
    position: sticky;
    top: 86px;
}
.outl__tit { font-size: 14px; font-weight: 700; color: #1a1a26; margin-bottom: 12px; }
.outl__nav a {
    display: block;
    font-size: 13px;
    line-height: 20px;
    color: #8a8a93;
    padding: 8px 12px;
    border-left: 2px solid rgba(0, 0, 0, 0.07);
    transition: all .2s;
}
.outl__nav a:hover { color: #0175ff; text-decoration: none; }
.outl__nav a.act {
    color: #0175ff;
    border-left-color: #0175ff;
    background: rgba(1, 117, 255, 0.04);
}

/* ---------------- 页脚 ---------------- */
.footc {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding: 30px 0 50px;
    font-size: 12px;
    line-height: 24px;
    color: #9a9aa3;
}
.footc a { color: #9a9aa3; }
.footc p { max-width: 1000px; }

/* ---------------- 分页控件 ---------------- */
.pgn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 30px 0 8px;
}
.pgn__b {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e2e4ea;
    background: #fff;
    border-radius: 8px;
    color: #33333d;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s;
}
.pgn__b:hover:not([disabled]):not(.curp) { border-color: #0175ff; color: #0175ff; }
.pgn__b.curp {
    background: #0175ff;
    border-color: #0175ff;
    color: #fff;
    font-weight: 700;
    cursor: default;
}
.pgn__b[disabled] { opacity: .4; cursor: not-allowed; }
.pgn__dot { color: #b4b4bc; padding: 0 2px; }
.pgn__info { margin-left: 8px; font-size: 13px; color: #9a9aa3; }

/* ---------------- 响应式 ---------------- */
@media screen and (max-width: 1240px) {
    .page { width: 100%; padding: 0 20px; box-sizing: border-box; }
    .hd2__in { width: 100%; }
}
@media screen and (max-width: 1000px) {
    .outl { display: none; }
    .mainc { display: block; }
    .cats {
        width: auto; flex: none;
        position: static;
        margin: 0 0 26px;
    }
    .cats__nav { display: flex; flex-wrap: wrap; }
    .cats__nav a { margin: 0 8px 8px 0; height: 36px; }
    .rels__item { width: 100%; margin-right: 0; }
    .find__input { width: 100%; }
    .find__btn { margin: 10px 0 0; }
}
@media screen and (max-width: 700px) {
    .mast { padding: 24px 20px; }
    .mast__tit { font-size: 21px; line-height: 30px; }
    .post__tit { font-size: 22px; line-height: 34px; }
    .ask__foot { display: block; }
    .ask__foot .imeta { margin: 12px 0 0; }
    .imeta__item:first-child { margin-left: 0; }
    .hd2__tit { display: none; }
    .pgn { gap: 6px; }
    .pgn__b { min-width: 34px; height: 34px; padding: 0 8px; }
    .pgn__info { width: 100%; margin: 6px 0 0; }
}

/* ---------- SEO 底部站内导航（模仿 uuyc163 全站互链） ---------- */
.site-map-links { max-width: 1080px; margin: 20px auto 0; padding: 18px 16px 0; border-top: 1px solid #e8eaf0; font-size: 13px; line-height: 2.1; }
.site-map-links strong { display: block; margin-bottom: 4px; color: #8a8d97; font-weight: 500; }
.site-map-links a { display: inline-block; margin: 0 14px 4px 0; color: #6b7280; text-decoration: none; }
.site-map-links a:hover { color: #0175ff; }