/* ==================================================================
   爱思助手 常见问题 —— 列表页 + 文章页样式
   设计对齐爱思助手官网风格：1260px 容器 / #007AFF 主色 / 8-10px 圆角
   ================================================================== */

* { margin: 0; padding: 0; }

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

a { color: #236ee7; 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(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    color: #c7254e;
    word-break: break-all;
}

.zone { width: 1260px; margin: 0 auto; }

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

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

/* ---------------- 顶部条 ---------------- */
.bar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 70px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
}
.bar-in {
    width: 1260px;
    height: 70px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
.bar-logo { display: flex; align-items: center; margin-right: 28px; }
.bar-logo img { display: block; }
.bar-cap {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    padding-left: 14px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    margin-left: 14px;
}
.bar-nav { margin-left: auto; display: flex; align-items: center; }
.bar-nav a {
    font-size: 14px;
    color: #333;
    margin-left: 30px;
}
.bar-nav a:hover { color: #007aff; text-decoration: none; }
.bar-nav a.now { color: #007aff; font-weight: 700; }

/* ---------------- 面包屑 ---------------- */
.trail {
    font-size: 12px;
    line-height: 30px;
    color: #666;
    padding-top: 90px;
}
.trail a { color: #666; }
.trail a:hover { color: #007aff; }
.trail .gap { color: #bbb; margin: 0 8px; }
.trail .here { font-weight: 700; color: #333; }

/* ---------------- 列表页头部 ---------------- */
.billboard {
    background: rgba(0, 122, 255, 0.05);
    border-radius: 10px;
    padding: 38px 40px;
    margin-top: 16px;
}
.bill-cap {
    font-size: 26px;
    line-height: 36px;
    color: #333;
}
.bill-sub {
    font-size: 14px;
    line-height: 24px;
    color: #666;
    margin-top: 12px;
    max-width: 900px;
}
.bill-num {
    font-size: 13px;
    color: #999;
    margin-top: 10px;
}

/* 搜索 */
.seek { margin-top: 24px; display: flex; align-items: center; flex-wrap: zone; }
.seek-fld {
    width: 460px;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
}
.seek-fld:focus { border-color: #007aff; }
.seek-go {
    height: 42px;
    padding: 0 26px;
    margin-left: 12px;
    border: 0;
    border-radius: 8px;
    background: #007aff;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s;
}
.seek-go:hover { background: #0069d9; }
.seek-num { font-size: 13px; color: #666; margin-left: 16px; }

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

.rail {
    width: 240px;
    flex: 0 0 240px;
    position: sticky;
    top: 90px;
    margin-right: 40px;
}
.rail-cap {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    padding: 0 0 14px 12px;
}
.rail-nav a {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    transition: all .2s;
}
.rail-nav a:hover { background: rgba(0, 0, 0, 0.04); text-decoration: none; }
.rail-nav a.here {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
    font-weight: 700;
}
.rail-n {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 2px 9px;
}
.rail-nav a.here .rail-n { background: rgba(0, 122, 255, 0.15); color: #007aff; }

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

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

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

.card-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: #333;
    transition: color .2s;
}
.card-q:hover { color: #007aff; }
.card-no {
    flex: 0 0 26px;
    font-size: 13px;
    color: #bbb;
    line-height: 24px;
}
.card-qt { flex: 1; font-weight: 700; }
.card-arr {
    flex: 0 0 16px;
    width: 16px; height: 16px;
    margin-top: 4px;
    position: relative;
    transition: transform .25s;
}
.card-arr::before {
    content: "";
    position: absolute;
    left: 3px; top: 4px;
    width: 7px; height: 7px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
}
.card.unfold .card-arr { transform: rotate(180deg); }
.card.unfold .card-qt { color: #007aff; }

.card-bd {
    display: none;
    padding: 0 8px 24px 34px;
}
.card.unfold .card-bd { display: block; }

.card-sum {
    font-size: 14px;
    line-height: 26px;
    color: #555;
}
.card-sum strong { color: #333; }

.card-keys {
    margin-top: 14px;
    background: rgba(0, 122, 255, 0.04);
    border-radius: 8px;
    padding: 14px 18px;
}
.card-keys li {
    font-size: 13px;
    line-height: 24px;
    color: #555;
    padding-left: 16px;
    position: relative;
}
.card-keys li::before {
    content: "";
    position: absolute;
    left: 0; top: 10px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #007aff;
    opacity: .5;
}

.card-ft {
    margin-top: 18px;
    display: flex;
    align-items: center;
    flex-wrap: zone;
}
.card-go {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 18px;
    border-radius: 8px;
    background: rgba(0, 122, 255, 0.12);
    color: #236ee7;
    font-size: 13px;
}
.card-go:hover { background: rgba(0, 122, 255, 0.2); text-decoration: none; }

/* 发布时间 / 访问量（对齐官方详情页样式） */
.stamp {
    display: flex;
    align-items: center;
    flex-wrap: zone;
    color: #9aa0a8;
    font-size: 13px;
}
.stamp-it { display: flex; align-items: center; margin-left: 22px; }
.stamp-it img { width: 16px; height: 16px; margin-right: 6px; opacity: .55; }
.card-ft .stamp { margin-left: auto; }

.blank {
    padding: 60px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

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

.sheet-hd { padding-bottom: 22px; border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.sheet-grp {
    display: inline-block;
    font-size: 12px;
    color: #236ee7;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 6px;
    padding: 4px 12px;
}
.sheet-grp:hover { text-decoration: none; background: rgba(0, 122, 255, 0.18); }
.sheet-cap {
    font-size: 28px;
    line-height: 42px;
    color: #333;
    margin: 16px 0 18px;
}
.sheet-info { color: #9aa0a8; font-size: 13px; }
.sheet-info .stamp-it:first-child { margin-left: 0; }

.sheet-lead {
    font-size: 15px;
    line-height: 28px;
    color: #555;
    background: rgba(0, 122, 255, 0.04);
    border-left: 3px solid #007aff;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 26px 0 10px;
}
.sheet-lead strong { color: #333; }

.sheet-bd { font-size: 15px; line-height: 30px; color: #444; }
.sheet-bd h2 {
    font-size: 20px;
    line-height: 30px;
    color: #333;
    margin: 38px 0 16px;
    padding-left: 14px;
    border-left: 4px solid #007aff;
}
.sheet-bd h3 {
    font-size: 16px;
    line-height: 26px;
    color: #333;
    margin: 26px 0 12px;
}
.sheet-bd p { margin: 14px 0; }
.sheet-bd strong { color: #222; }
.sheet-bd ul, .sheet-bd ol { margin: 14px 0; padding-left: 4px; }
.sheet-bd ul li, .sheet-bd ol li {
    position: relative;
    padding-left: 24px;
    margin: 10px 0;
}
.sheet-bd ul li::before {
    content: "";
    position: absolute;
    left: 6px; top: 13px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #007aff;
    opacity: .55;
}
.sheet-bd ol { counter-reset: li; }
.sheet-bd ol li { counter-increment: li; }
.sheet-bd 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(0, 122, 255, 0.12);
    color: #236ee7;
}

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

/* 提示框 */
.tip {
    background: rgba(0, 122, 255, 0.05);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 26px;
    color: #555;
}
.tip-warn { background: rgba(255, 149, 0, 0.08); }
.tip strong { color: #333; }

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

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

/* 合并来源提示 */
.fuse {
    margin: 30px 0 0;
    border: 1px dashed rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 13px;
    line-height: 24px;
    color: #777;
}
.fuse-cap { font-weight: 700; color: #555; margin-bottom: 6px; }
.fuse li { padding-left: 14px; position: relative; }
.fuse li::before {
    content: "";
    position: absolute;
    left: 0; top: 11px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #bbb;
}

/* 来源 / 相关 / 上下篇 */
.refs { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(0, 0, 0, 0.07); }
.ref-cap, .near-cap { font-size: 16px; color: #333; 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: #666;
    margin: 10px 0;
}
.refs li::before {
    content: "[" counter(s) "]";
    position: absolute;
    left: 0; top: 0;
    color: #aaa;
    font-size: 12px;
}

.near { margin-top: 40px; }
.near-pool { display: flex; flex-wrap: zone; }
.near-it {
    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: 8px;
    font-size: 13px;
    line-height: 22px;
    color: #444;
}
.near-it:hover { background: rgba(0, 122, 255, 0.07); color: #236ee7; text-decoration: none; }

.turn {
    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;
}
.turn a, .turn span {
    max-width: 45%;
    color: #666;
    line-height: 22px;
}
.turn a:hover { color: #007aff; text-decoration: none; }
.turn span { color: #bbb; }

/* 目录 */
.menu {
    width: 220px;
    flex: 0 0 220px;
    margin-left: 40px;
    position: sticky;
    top: 90px;
}
.menu-cap { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 12px; }
.menu-nav a {
    display: block;
    font-size: 13px;
    line-height: 20px;
    color: #888;
    padding: 8px 12px;
    border-left: 2px solid rgba(0, 0, 0, 0.07);
    transition: all .2s;
}
.menu-nav a:hover { color: #007aff; text-decoration: none; }
.menu-nav a.here {
    color: #007aff;
    border-left-color: #007aff;
    background: rgba(0, 122, 255, 0.04);
}

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

/* ---------------- 分页控件 ---------------- */
.flip {
    display: flex;
    flex-wrap: zone;
    align-items: center;
    gap: 8px;
    margin: 30px 0 8px;
}
.flip-b {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e0e2e6;
    background: #fff;
    border-radius: 8px;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s;
}
.flip-b:hover:not([disabled]):not(.on) { border-color: #007aff; color: #007aff; }
.flip-b.on {
    background: #007aff;
    border-color: #007aff;
    color: #fff;
    font-weight: 700;
    cursor: default;
}
.flip-b[disabled] { opacity: .4; cursor: not-allowed; }
.flip-dot { color: #bbb; padding: 0 2px; }
.flip-info { margin-left: 8px; font-size: 13px; color: #999; }

/* ---------------- 响应式 ---------------- */
@media screen and (max-width: 1300px) {
    .zone { width: 100%; padding: 0 20px; box-sizing: border-box; }
    .bar-in { width: 100%; }
}
@media screen and (max-width: 1000px) {
    .menu { display: none; }
    .qmain { display: block; }
    .rail {
        width: auto; flex: none;
        position: static;
        margin: 0 0 26px;
    }
    .rail-nav { display: flex; flex-wrap: zone; }
    .rail-nav a { margin: 0 8px 8px 0; height: 36px; }
    .near-it { width: 100%; margin-right: 0; }
    .seek-fld { width: 100%; }
    .seek-go { margin: 10px 0 0; }
}
@media screen and (max-width: 700px) {
    .billboard { padding: 24px 20px; }
    .bill-cap { font-size: 21px; line-height: 30px; }
    .sheet-cap { font-size: 22px; line-height: 34px; }
    .card-ft { display: block; }
    .card-ft .stamp { margin: 12px 0 0; }
    .stamp-it:first-child { margin-left: 0; }
    .bar-cap { display: none; }
    .flip { gap: 6px; }
    .flip-b { min-width: 34px; height: 34px; padding: 0 8px; }
    .flip-info { width: 100%; margin: 6px 0 0; }
}





