/* =========================================================
   内审实战培训平台 · 前台样式
   设计基调：深蓝到亮蓝的渐变、浅灰底、圆角卡片、克制留白
   ========================================================= */

/* 设计规范 v1 · 基础 token
   批次 1：新增 token 层，旧变量保留为别名，保证现有页面取值不变。 */
:root {
    /* 品牌与中性色 */
    --brand-800: #14307c;
    --brand-700: #1e40af;
    --brand-600: #2563eb;
    --brand-500: #3b82f6;
    --brand-50: #eff4ff;
    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --line: #e6ebf3;
    --line-strong: #cbd5e1;
    --bg: #f5f8fc;
    --surface: #fff;
    --success: #0f9f6e;
    --warning: #b45309;
    --danger: #dc2626;

    /* 字号阶梯 */
    --fs-2xs: 11px;
    --fs-xs: 12px;
    --fs-sm: 13px;
    --fs-base: 15px;
    --fs-md: 17px;
    --fs-lg: 20px;
    --fs-xl: 24px;
    --fs-2xl: 30px;

    /* 间距阶梯：4px 基准 */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-7: 32px;
    --sp-8: 40px;
    --sp-9: 48px;
    --sp-10: 64px;

    /* 圆角与阴影 */
    --r-micro: 4px;
    --r-chip: 8px;
    --r-control: 10px;
    --r-card: 16px;
    --r-compact: 12px;
    --r-pill: 999px;
    --shadow-1: 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-2: 0 6px 24px rgba(30, 64, 175, .07);
    --shadow-3: 0 16px 44px rgba(30, 64, 175, .13);

    /* 动效 */
    --dur-fast: .16s;
    --dur: .2s;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* 旧变量别名：全部指向原有取值 */
    --primary: var(--brand-700);
    --primary-2: var(--brand-500);
    --primary-soft: var(--brand-50);
    --ink: var(--ink-900);
    --ink-2: var(--ink-700);
    --muted: var(--ink-500);
    --muted-2: var(--ink-400);
    --white: var(--surface);
    --radius: var(--r-card);
    --radius-sm: var(--r-control);
    --shadow: var(--shadow-2);
    --shadow-lg: var(--shadow-3);
    --maxw: 1320px;
}

@font-face {
    font-family: "Source Han Sans SC";
    src: url("../fonts/source-han-sans-sc/SourceHanSansSC-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Han Sans SC";
    src: url("../fonts/source-han-sans-sc/SourceHanSansSC-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.site-body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.ic { display: inline-block; vertical-align: -3px; flex: none; }
.muted { color: var(--muted); }
.center { text-align: center; }
.strong { color: var(--primary); font-weight: 700; }

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 9px 18px;
    border-radius: var(--r-control);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    box-shadow: 0 6px 18px rgba(59, 130, 246, .25);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(59, 130, 246, .34); }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 8px 22px rgba(8, 30, 80, .18); }
.btn-outline-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .18); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d6ea; color: var(--primary); }
.btn-share { background: var(--success); color: #fff; box-shadow: 0 6px 18px rgba(15, 159, 110, .25); }
.btn-share:hover { box-shadow: 0 10px 26px rgba(15, 159, 110, .32); }
.btn-block { width: 100%; }
.btn-sm { min-height: 32px; padding: 7px 12px; font-size: 13px; line-height: 1.25; }

/* ---------------- 顶栏 ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { height: 38px; width: auto; border-radius: 8px; }
.brand-mark {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    box-shadow: 0 6px 16px rgba(30, 64, 175, .22);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .2px; }
.brand-sub { font-size: 12px; color: var(--muted-2); letter-spacing: .5px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 9px;
    color: var(--ink-2);
    font-size: 15px;
    transition: background .18s, color .18s;
}
.nav-link:hover { background: var(--primary-soft); color: var(--primary); }
.nav-link.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-search {
    display: flex; align-items: center;
    background: #f2f5fa;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 6px 0 14px;
    height: 38px;
    width: 230px;
    transition: border-color .18s, background .18s;
}
.header-search:focus-within { background: #fff; border-color: #bcd3f7; }
.header-search input {
    border: none; background: transparent; outline: none;
    font-size: 13px; width: 100%; color: var(--ink);
}
.header-search button {
    border: none; background: transparent; color: var(--muted);
    display: inline-flex; padding: 6px; cursor: pointer; border-radius: 50%;
}
.header-search button:hover { color: var(--primary); background: #e8effc; }
.header-tel { height: 38px; padding: 0 14px; font-size: 13px; }
.menu-btn { display: none; border: none; background: none; color: var(--ink-2); padding: 6px; cursor: pointer; }

/* ---------------- 首屏 ---------------- */
.hero {
    background:
        radial-gradient(1100px 500px at 78% -10%, rgba(96, 165, 250, .55), transparent 60%),
        linear-gradient(135deg, #14307c 0%, #1e40af 45%, #3b82f6 100%);
    color: #fff;
    padding: 74px 0 84px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .35;
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 4px 14px;
    margin: 0 0 22px;
}
.hero-title {
    font-size: 44px;
    line-height: 1.28;
    margin: 0 0 18px;
    font-weight: 700;
    letter-spacing: .5px;
    text-shadow: 0 6px 24px rgba(6, 20, 55, .25);
}
.hero-sub {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .86);
    margin: 0 0 30px;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; margin-bottom: 42px; }
.hero-stats { display: flex; gap: 42px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 30px; font-weight: 700; line-height: 1.2; }
.hero-stat span { font-size: 12px; color: rgba(255, 255, 255, .72); letter-spacing: .5px; }

.hero-visual img {
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(5, 18, 50, .35);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.hero-panel {
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    padding: 26px 26px 22px;
    box-shadow: 0 30px 60px rgba(5, 18, 50, .25);
}
.panel-line { height: 1px; background: rgba(255, 255, 255, .25); margin-bottom: 20px; }
.panel-quote p { font-size: 19px; line-height: 1.7; margin: 0 0 10px; }
.panel-quote span { font-size: 12px; color: rgba(255, 255, 255, .7); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.panel-cell {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    border-left: 3px solid var(--c, #60a5fa);
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 66px 0; }
.section-alt { background: linear-gradient(180deg, #fff, #f7f9fd); }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.section-kicker {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--primary-2);
    margin: 0 0 8px;
    font-weight: 600;
}
.section-kicker.light { color: rgba(255, 255, 255, .8); }
.section-title { font-size: 28px; margin: 0; letter-spacing: .3px; }
.section-more {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--muted); font-size: 13px;
    padding-bottom: 6px;
}
.section-more:hover { color: var(--primary); }

/* 领域卡片 */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 22px 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--c, var(--primary-2));
}
.cat-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    color: #fff;
    background: var(--c, var(--primary-2));
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    margin-bottom: 14px;
}
.cat-name { display: block; font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.cat-count { display: block; font-size: 12px; color: var(--muted); }
.cat-arrow { position: absolute; right: 18px; bottom: 20px; color: var(--c); opacity: .5; }
.cat-card:hover .cat-arrow { opacity: 1; }

/* ---------------- 课程卡片 ---------------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.course-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s;
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(6,16,36,.34), rgba(6,16,36,0)), var(--cat-color);
    overflow: hidden;
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.course-card:hover .card-cover img { transform: scale(1.04); }
.cover-fallback {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; color: rgba(255, 255, 255, .96);
    letter-spacing: 1px; font-size: 14px;
    background:
        radial-gradient(120% 120% at 15% 10%, rgba(255, 255, 255, .28), transparent 55%),
        linear-gradient(135deg, rgba(8, 20, 48, .18), rgba(8, 20, 48, .02));
}
.cover-fallback .ic { opacity: .95; }
.cover-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.cover-method {
    position: absolute; right: 12px; bottom: 12px;
    background: rgba(9, 20, 45, .62);
    color: #fff;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}
.card-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 17px; line-height: 1.5; margin: 0 0 8px; font-weight: 700; }
.card-summary { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.7; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--ink-2); margin-bottom: 12px; }
.meta-item { display: inline-flex; align-items: center; gap: 4px; }
.meta-item.level {
    background: var(--primary-soft); color: var(--primary);
    padding: 1px 8px; border-radius: 5px; font-size: 12px;
}
.card-foot {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #f1f4f9; padding-top: 12px;
    font-size: 12px; color: var(--muted);
}
.foot-days { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-weight: 600; }
.foot-date { color: var(--primary-2); }

/* ---------------- 定制咨询条 ---------------- */
.consult-band {
    background: linear-gradient(120deg, #16307a, #2563eb 70%);
    color: #fff;
    padding: 34px 0;
}
.consult-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.consult-inner h3 { margin: 0 0 6px; font-size: 20px; }
.consult-inner p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .78); }

/* ---------------- 页面头部 ---------------- */
.page-head {
    background: linear-gradient(180deg, #fff, #f5f8fc);
    padding: 40px 0 26px;
    border-bottom: 1px solid #eef2f8;
}
.page-title { font-size: 30px; margin: 0 0 8px; letter-spacing: .4px; }
.page-sub { margin: 0; color: var(--muted); font-size: 14px; }
.page-sub-note { color: var(--muted-2); font-size: 12px; margin-left: 10px; }
.page-head-about { background: linear-gradient(135deg, #14307c, #2563eb); color: #fff; border-bottom: none; padding: 56px 0 46px; }
.page-head-about .page-sub { color: rgba(255, 255, 255, .8); }

/* ---------------- 筛选 ---------------- */
.courses-wrap {
    padding: 28px 24px 60px;
    display: grid;
    grid-template-columns: 216px minmax(0, 1fr);
    grid-template-areas:
        "aside filter"
        "aside list";
    gap: 24px;
    scroll-margin-top: 86px;
    align-items: start;
}
.courses-wrap > * { min-width: 0; }
.timeline-card { grid-area: aside; }
.filter-card { grid-area: filter; margin-bottom: 0; }
.courses-list { grid-area: list; }
.filter-card {
    background: #fff;
    border-radius: var(--r-compact);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: 20px 22px 16px;
    margin-bottom: 26px;
}
.filter-search {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px 8px 6px 14px;
    margin-bottom: 16px;
    background: #fbfcfe;
}
.filter-search:focus-within { border-color: #bcd3f7; background: #fff; box-shadow: 0 0 0 3px rgba(59, 130, 246, .08); }
.filter-search input {
    flex: 1; border: none; outline: none; background: transparent;
    font-size: 15px; padding: 8px 0;
}
.search-icon { color: var(--muted-2); display: inline-flex; }
.filter-row { display: flex; align-items: flex-start; gap: 16px; padding: 7px 0; }
.filter-label { flex: none; width: 72px; color: var(--muted); font-size: 13px; padding-top: 5px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: var(--r-chip);
    border: 1px solid #e7ecf5;
    background: #fff;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    line-height: 1.35;
    cursor: pointer;
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.chip:hover { border-color: #bcd3f7; color: var(--primary); }
.chip:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.filter-foot { border-top: 1px dashed #eef2f8; margin-top: 10px; padding-top: 12px; }
.filter-reset { font-size: 13px; color: var(--muted); }
.filter-reset:hover { color: #dc2626; }

.courses-main { display: contents; }
.timeline-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 22px 20px;
    position: sticky;
    top: 92px;
}
.timeline-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.timeline-title { margin: 0; font-size: 15px; font-weight: 700; }
.timeline-hint { font-size: 12px; color: var(--muted-2); }
.timeline-year {
    list-style: none; margin: 14px 0 6px; padding: 0 0 6px;
    font-size: 12px; font-weight: 700; color: var(--muted-2);
    letter-spacing: .04em; border-bottom: 1px dashed #edf2f9;
}
.timeline-year span { color: #64748b; }
.timeline-foot { margin: 14px 0 0; font-size: 12px; color: var(--muted-2); }
.timeline { position: relative; }
.timeline-item { position: relative; padding-left: 20px; margin-bottom: 2px; list-style: none; }
.timeline-item::before {
    content: ""; position: absolute; left: 5px; top: 12px; bottom: -8px; width: 1px; background: #e4ebf6;
}
.timeline-item:last-child::before { display: none; }
.timeline-item::after {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 11px; height: 11px; border-radius: 50%;
    background: #dbe5f3; border: 2px solid #fff; box-shadow: 0 0 0 1px #e4ebf6;
}
.timeline-item.active::after { background: var(--primary-2); box-shadow: 0 0 0 2px var(--primary-2); }
.timeline-item a {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 6px 0 8px; font-size: 13px; color: var(--ink-2);
    transition: color .16s;
}
.timeline-item a:hover { color: var(--primary); }
.timeline-item.active a { color: var(--primary); font-weight: 700; }
.timeline-count { font-size: 12px; color: var(--muted-2); font-weight: 500; }
.timeline-item.active .timeline-count { color: var(--primary); }

.timeline-empty { font-size: 12px; color: var(--muted-2); }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 34px; }
.pager a {
    min-width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 9px; border: 1px solid var(--line);
    background: #fff; color: var(--ink-2); font-size: 13px; padding: 0 12px;
    transition: all .16s;
}
.pager a:hover { border-color: #bcd3f7; color: var(--primary); }
.pager a.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pager-gap { color: var(--muted-2); }

.empty-state {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-compact);
    padding: 70px 24px; text-align: center; color: var(--muted);
}
.empty-state .ic { color: #c7d4e6; margin-bottom: 12px; }
.empty-state p { margin: 0 0 16px; }

/* ---------------- 课程详情 ---------------- */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--muted-2);
    padding-top: 22px; padding-bottom: 6px;
}
.breadcrumb .current { color: var(--ink-2); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb a:hover { color: var(--primary); }

.course-detail {
    display: grid;
    grid-template-columns: 1fr 328px;
    gap: 26px;
    align-items: start;
    padding: 16px 24px 64px;
}
.detail-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-compact);
    box-shadow: var(--shadow);
    padding: 26px 28px;
}
.panel-title {
    display: flex; align-items: center; gap: 8px;
    margin: 0 0 18px;
    font-size: 17px;
    color: var(--ink);
    font-weight: 700;
}
.panel-title .ic { color: var(--primary-2); }
.panel-title-note { font-size: 12px; color: var(--muted-2); font-weight: 400; margin-left: 4px; }

.course-info-panel { padding-top: 30px; }
.info-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-micro); font-size: var(--fs-xs); font-weight: 600; }
.badge-cat { background: var(--c, var(--primary)); color: #fff; }
.badge-light { background: #f2f5fa; color: var(--ink-2); font-weight: 500; }
.detail-title { font-size: 30px; line-height: 1.35; margin: 0 0 12px; letter-spacing: .3px; }
.detail-summary { color: var(--muted); font-size: 15px; margin: 0 0 10px; line-height: 1.8; }
.course-inline-meta {
    display: flex; align-items: center;
    gap: clamp(7px, 2.2vw, 9px);
    margin: 0;
    color: var(--muted);
    font-size: clamp(11px, 3.05vw, 12px);
    line-height: 1.4;
    white-space: nowrap;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.course-inline-meta::-webkit-scrollbar { display: none; }
.course-inline-meta .meta-item { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; min-width: 0; }
.course-inline-meta .meta-item .ic { color: #8aa0b8; }
.course-inline-meta .meta-city { flex: 0 0 auto; }
.course-inline-meta .meta-sep { width: 1px; height: 12px; background: var(--line); flex: none; }
.course-inline-meta .meta-price { margin-left: 0; color: #64748b; font-weight: 500; white-space: nowrap; }
.course-inline-meta .meta-price small { font-size: 10px; color: var(--muted-2); font-weight: 400; margin-left: 1px; }

.sched-list { display: flex; flex-direction: column; gap: 10px; }
.sched-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px;
    background: #fafbfe;
    border: 1px solid #eef2f8;
    border-radius: 10px;
}
.sched-date { font-weight: 600; font-size: 14px; color: var(--ink); flex: none; }
.sched-note { font-size: 12px; color: var(--muted); flex: 1; }
.sched-state { font-size: 12px; padding: 2px 9px; border-radius: 999px; flex: none; }
.sched-state.open { background: #eaf7ef; color: #0f9f6e; }
.sched-state.running { background: #fff5e6; color: #b45309; }
.sched-state.closed { background: #f3f5f8; color: var(--muted-2); }

.teacher-box { display: flex; gap: 18px; align-items: flex-start; }
.teacher-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    object-fit: cover; flex: none;
    box-shadow: 0 8px 18px rgba(30, 64, 175, .15);
}
.teacher-avatar.fallback {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff; font-size: 22px; font-weight: 700;
}
.teacher-name { margin: 0; font-size: 16px; font-weight: 700; }
.teacher-title { margin: 2px 0 8px; font-size: 12px; color: var(--muted); }
.teacher-intro { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.8; }

.rich-content { font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.rich-content p { margin: 0 0 12px; }
.rich-content h3 { font-size: 16px; margin: 24px 0 10px; color: var(--ink); }
.rich-content h2 { font-size: 19px; margin: 26px 0 12px; }
.rich-content ul, .rich-content ol { padding-left: 22px; margin: 0 0 14px; list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content img { border-radius: 12px; margin: 14px 0; }
.rich-content blockquote { border-left: 3px solid var(--primary-2); background: #f7faff; margin: 16px 0; padding: 12px 16px; color: var(--ink-2); }

.recommend-list { display: flex; flex-direction: column; gap: 10px; }
.recommend-item {
    display: flex; align-items: center; gap: 14px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #eef2f8;
    background: #fcfdff;
    transition: all .18s;
}
.recommend-item:hover { border-color: #d7e3f6; background: #f7faff; transform: translateX(3px); }
.rec-cover {
    width: 74px; height: 54px; flex: none; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(6,16,36,.3), rgba(6,16,36,0)), var(--c);
    overflow: hidden;
}
.rec-cover img { width: 100%; height: 100%; object-fit: cover; }
.rec-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rec-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-meta { font-size: 12px; color: var(--muted-2); }
.rec-arrow { color: var(--muted-2); flex: none; }

.detail-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.side-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-compact);
    box-shadow: var(--shadow);
    padding: 14px;
    display: flex; flex-direction: column; gap: 10px;
}
.side-cover {
    border-radius: 12px; overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, rgba(6,16,36,.34), rgba(6,16,36,0)), var(--c);
    position: relative;
}
.side-cover img { width: 100%; height: 100%; object-fit: cover; }
.side-note { border-top: 1px dashed #eef2f8; margin-top: 4px; padding-top: 14px; text-align: center; }
.side-note p { margin: 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 5px; }
.side-tel { display: block; font-size: 19px; font-weight: 700; color: var(--primary); margin: 4px 0 2px; letter-spacing: .5px; }
.side-hours { font-size: 12px !important; color: var(--muted-2) !important; }

/* ---------------- 关于我们 ---------------- */
.about-wrap { padding: 30px 24px 60px; display: flex; flex-direction: column; gap: 22px; }
.about-intro { padding: 34px 36px; }
.about-mission {
    margin: 26px 0 0;
    padding: 20px 24px;
    border-left: 3px solid var(--primary-2);
    background: linear-gradient(90deg, #f4f8ff, #fbfcff);
    border-radius: 0 12px 12px 0;
    font-size: 17px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.8;
}
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.about-grid.single { grid-template-columns: 1fr; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 18px; align-items: baseline; font-size: 14px; }
.contact-list span { flex: none; width: 80px; color: var(--muted); }
.contact-list a, .contact-list strong { color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--primary); }
.wechat-panel { text-align: center; }
.about-qr {
    width: 170px; margin: 6px auto 12px;
    border-radius: 10px; border: 1px solid var(--line); padding: 6px; background: #fff;
}

/* ---------------- 弹层 ---------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(8, 15, 30, .55); backdrop-filter: blur(3px); }
.modal-box {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 30px 32px 28px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 30px 80px rgba(5, 12, 30, .35);
    animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
    position: absolute; right: 14px; top: 14px;
    border: none; background: #f2f5fa; color: var(--muted);
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.modal-close:hover { background: #e8effa; color: var(--primary); }
.modal-title { margin: 0 0 6px; font-size: 19px; }
.modal-sub { margin: 0 0 20px; font-size: 13px; color: var(--muted); }
.qr-wrap {
    display: flex; align-items: center; justify-content: center;
    padding: 14px; border-radius: 12px; background: #f7faff; border: 1px solid #e8effa;
    margin-bottom: 14px;
}
.qr-wrap svg, .qr-wrap img { width: 190px; height: 190px; }
.share-link { display: flex; gap: 8px; }
.share-link input {
    flex: 1; min-width: 0;
    border: 1px solid var(--line); border-radius: 9px;
    padding: 9px 12px; font-size: 12px; color: var(--muted); background: #fbfcfe;
}
.consult-block {
    background: #f7faff; border: 1px solid #e8effa; border-radius: 12px;
    padding: 16px 18px; margin-bottom: 12px; text-align: center;
}
.consult-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.consult-tel { font-size: 22px; font-weight: 700; color: var(--primary); letter-spacing: .5px; }
.consult-hours { display: block; font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.consult-qr {
    width: 170px; margin: 8px auto; border-radius: 10px; background: #fff;
    border: 1px solid #e8effa; padding: 5px;
}
.consult-tip { display: block; font-size: 12px; color: var(--muted); }

/* ---------------- 学员单位 ---------------- */
.partners-band {
    background: #fff;
    border-top: 1px solid #eef2f8;
    padding: 40px 0 44px;
}
.partners-title {
    text-align: center;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--muted-2);
    margin: 0 0 24px;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    align-items: center;
}
.partner-item {
    height: 66px;
    border-radius: 10px;
    border: 1px solid #eff3f9;
    background: #fbfcfe;
    display: flex; align-items: center; justify-content: center;
    padding: 8px 14px;
    transition: border-color .18s, background .18s;
}
.partner-item:hover { border-color: #d7e3f6; background: #f6f9ff; }
.partner-item img { max-height: 44px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: .2s; }
.partner-item:hover img { filter: none; opacity: 1; }
.partner-name {
    font-size: 13px;
    color: #5b6b82;
    font-weight: 600;
    letter-spacing: .5px;
    text-align: center;
}

/* ---------------- 页脚 ---------------- */
.site-footer { background: #101a30; color: rgba(255, 255, 255, .72); padding-top: 52px; }
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.footer-logo img { height: 34px; border-radius: 8px; }
.footer-desc { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .55); margin: 0; max-width: 320px; }
.footer-h { font-size: 13px; color: #fff; margin: 0 0 14px; letter-spacing: 1px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-links a { color: rgba(255, 255, 255, .62); }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .6); }
.footer-contact .ic { color: rgba(255, 255, 255, .4); }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0 20px; }
.footer-bar-inner { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .45); }
.footer-meta a { color: rgba(255, 255, 255, .45); }
.footer-meta a:hover { color: #fff; }

/* ---------------- 404 ---------------- */
.notfound { padding: 90px 24px 110px; text-align: center; }
.notfound-mark { font-size: 64px; font-weight: 800; color: #dbe6f5; letter-spacing: 4px; }
.notfound h1 { font-size: 20px; margin: 8px 0 24px; font-weight: 600; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
    .hero-title { font-size: 38px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .course-grid { grid-template-columns: repeat(2, 1fr); }
    .course-detail { grid-template-columns: 1fr 290px; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
    .header-search { display: none; }
    .site-nav { display: none; }
    .menu-btn { display: inline-flex; }
    .site-nav.open {
        display: flex;
        position: absolute; left: 0; right: 0; top: 70px;
        flex-direction: column;
        background: #fff;
        padding: 10px 16px 16px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 30px rgba(15, 30, 60, .08);
        gap: 2px;
    }
    .site-nav.open .nav-link { width: 100%; padding: 12px 10px; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero { padding: 48px 0 56px; }
    .hero-title { font-size: 30px; }
    .hero-sub { font-size: 15px; }
    .hero-stats { gap: 28px; }
    .hero-stat strong { font-size: 24px; }
    .courses-wrap {
        display: flex; flex-direction: column; gap: 16px;
        padding: 20px 16px 44px;
    }
    .timeline-card { order: 1; width: 100%; }
    .filter-card { order: 2; }
    .courses-list { order: 3; }
    .timeline-card { position: static; }
    .timeline { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
    .timeline { padding-right: 4px; }
    .timeline-item a { font-size: 12px; }
    .timeline-foot { display: none; }
    .timeline-item { flex: none; padding: 0; margin: 0; }
    .timeline-item::before, .timeline-item::after { display: none; }
    .timeline-card { padding: 14px 16px 10px; }
    .timeline-item a {
        flex-direction: column; align-items: center; justify-content: center;
        box-sizing: border-box; height: 42px; text-align: center;
        border: 1px solid #e7ecf5; border-radius: 8px;
        padding: 4px 11px; gap: 0; white-space: nowrap;
    }
    .timeline-item.active a { background: var(--primary); color: #fff; border-color: var(--primary); }
    .timeline-item.active .timeline-count { color: rgba(255, 255, 255, .8); background: transparent; }
    .timeline-item-all { display: none; }
    .timeline-filter-item { display: block; flex: none; }
    .timeline-filter-btn {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        box-sizing: border-box; min-width: 86px; height: 44px; padding: 4px 11px;
        border: 1px solid #dbe6f5; border-radius: 8px;
        background: #f5f9ff; color: var(--primary);
        text-align: left; white-space: nowrap;
    }
    .timeline-filter-main { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; line-height: 1.2; }
    .timeline-filter-count { margin-top: 2px; font-size: 12px; line-height: 1.2; font-weight: 500; color: #64748b; }
    .timeline-count {
        margin-top: 2px; padding: 0; border-radius: 0;
        background: transparent; font-size: 12px; line-height: 1.2;
    }
    .course-detail { grid-template-columns: minmax(0, 1fr); }
    .detail-side { position: static; order: -1; }
    .side-cover { display: none; }
    .side-card { padding: 16px; }
    .about-grid { grid-template-columns: 1fr; }
    .consult-inner { flex-direction: column; align-items: flex-start; }
    .page-title { font-size: 24px; }
    .detail-title { font-size: 23px; }
}

@media (max-width: 620px) {
    .container { padding: 0 16px; }
    .brand-sub { display: none; }
    .brand-name { font-size: 16px; }
    .header-tel span { display: none; }
    .header-tel { padding: 0 10px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-card { padding: 18px 16px; }
    .cat-icon { width: 38px; height: 38px; }
    .cat-name { font-size: 16px; }
    .course-grid, .course-grid.grid-2 { grid-template-columns: 1fr; }
    .filter-row { flex-direction: column; gap: 8px; }
    .filter-label { width: auto; padding-top: 0; font-size: 13px; }
    .panel, .about-intro { padding: 20px 18px; }
    .course-detail { padding: 12px 16px 44px; }
    .course-inline-meta .meta-price { margin-left: auto; }
    .sched-item { flex-wrap: wrap; gap: 6px; }
    .sched-item .sched-note { flex: 1 0 100%; order: 3; }
    .sched-item .sched-state { order: 2; margin-left: auto; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-item { height: 56px; }
    .footer-main { grid-template-columns: 1fr; gap: 24px; }
    .footer-bar-inner { flex-direction: column; gap: 6px; align-items: flex-start; }
    .hero-actions .btn { flex: 1; }
    .modal-box { padding: 24px 20px; margin: 0 12px; }
    .qr-wrap svg, .qr-wrap img { width: 170px; height: 170px; }
    .section { padding: 44px 0; }
    .section-title { font-size: 22px; }
}

/* ================= v1.4 首页幻灯片 ================= */
.hero-slider {
    position: relative;
    height: clamp(430px, 44vw, 560px);
    overflow: hidden;
    background: #0b1a3a;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0;
    transition: opacity .55s ease;
    background:
        radial-gradient(900px 460px at 78% 10%, rgba(96, 165, 250, .38), transparent 62%),
        linear-gradient(135deg, #0b1c3f 0%, var(--slide-bg, #14307c));
    color: #fff;
    overflow: hidden;
}
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: .92;
}
.hero-slide.is-active .hero-slide-img { animation: kenburns 14s ease-out both; }
@keyframes kenburns {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to { transform: scale(1.07) translate3d(-1.5%, -1%, 0); }
}
.hero-slide-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 10, 26, .92) 0%, rgba(4, 10, 26, .6) 46%, rgba(4, 10, 26, .12) 100%),
        radial-gradient(1200px 600px at 90% 0%, rgba(59, 130, 246, .25), transparent 60%);
}
.hero-slide-shade::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: .3;
}
.hero-slide-inner { position: relative; z-index: 3; max-width: 760px; }
.hero-slide .hero-kicker,
.hero-slide .hero-title,
.hero-slide .hero-sub,
.hero-slide .hero-actions,
.hero-slide .hero-stats { opacity: 0; }
.hero-slide.is-active .hero-kicker,
.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-sub,
.hero-slide.is-active .hero-actions,
.hero-slide.is-active .hero-stats { opacity: 1; }
.hero-slide .hero-title { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.25; margin: 0 0 16px; }
.hero-slide .hero-sub { max-width: 620px; margin-bottom: 26px; }
.hero-slide .hero-stats { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }

/* 首页内容出现动画：default soft = v1.12.54 的分层延迟，去掉上下位移 */
.hero-slider.hero-motion-soft .hero-slide .hero-kicker { transition: opacity calc(var(--hero-motion-duration, .8s) - .1s) ease .18s; }
.hero-slider.hero-motion-soft .hero-slide .hero-title { transition: opacity var(--hero-motion-duration, .8s) ease .26s; }
.hero-slider.hero-motion-soft .hero-slide .hero-sub { transition: opacity var(--hero-motion-duration, .8s) ease .36s; }
.hero-slider.hero-motion-soft .hero-slide .hero-actions { transition: opacity var(--hero-motion-duration, .8s) ease .46s; }
.hero-slider.hero-motion-soft .hero-slide .hero-stats { transition: opacity var(--hero-motion-duration, .8s) ease .56s; }

/* 整组淡入：所有内容同时出现 */
.hero-slider.hero-motion-fade .hero-slide .hero-kicker,
.hero-slider.hero-motion-fade .hero-slide .hero-title,
.hero-slider.hero-motion-fade .hero-slide .hero-sub,
.hero-slider.hero-motion-fade .hero-slide .hero-actions,
.hero-slider.hero-motion-fade .hero-slide .hero-stats { transition: opacity var(--hero-motion-duration, .8s) ease; }

/* 轻微缩放浮现：整个内容簇从 98.5% 到 100% */
.hero-slider.hero-motion-zoom .hero-slide-inner { opacity: 0; transform: scale(.985); transition: opacity var(--hero-motion-duration, .8s) ease, transform var(--hero-motion-duration, .8s) ease; }
.hero-slider.hero-motion-zoom .hero-slide.is-active .hero-slide-inner { opacity: 1; transform: none; }
.hero-slider.hero-motion-zoom .hero-slide .hero-kicker,
.hero-slider.hero-motion-zoom .hero-slide .hero-title,
.hero-slider.hero-motion-zoom .hero-slide .hero-sub,
.hero-slider.hero-motion-zoom .hero-slide .hero-actions,
.hero-slider.hero-motion-zoom .hero-slide .hero-stats { transition: opacity var(--hero-motion-duration, .8s) ease; }

/* 不启用内容动画：内容随幻灯片直接显示 */
.hero-slider.hero-motion-none .hero-slide-inner { opacity: 1; transform: none; }
.hero-slider.hero-motion-none .hero-slide .hero-kicker,
.hero-slider.hero-motion-none .hero-slide .hero-title,
.hero-slider.hero-motion-none .hero-slide .hero-sub,
.hero-slider.hero-motion-none .hero-slide .hero-actions,
.hero-slider.hero-motion-none .hero-slide .hero-stats { transition: none; }

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide-inner,
    .hero-slide .hero-kicker,
    .hero-slide .hero-title,
    .hero-slide .hero-sub,
    .hero-slide .hero-actions,
    .hero-slide .hero-stats { transition: none; transform: none; }
    .hero-slide.is-active .hero-slide-img { animation: none; }
}
.hero-arrow {
    position: absolute; top: 50%; z-index: 5;
    width: 42px; height: 42px; margin-top: -21px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 50%;
    background: rgba(9, 18, 40, .35);
    color: #fff;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: all .2s;
}
.hero-arrow:hover { background: rgba(59, 130, 246, .7); border-color: transparent; transform: scale(1.06); }
.hero-arrow.prev { left: 22px; transform: rotate(180deg); }
.hero-arrow.next { right: 22px; }
.hero-arrow.prev:hover { transform: rotate(180deg) scale(1.06); }
.hero-dots {
    position: absolute; left: 50%; bottom: 22px; z-index: 5;
    transform: translateX(-50%);
    display: flex; gap: 8px;
}
.hero-dot {
    width: 8px; height: 8px; border-radius: 999px;
    border: 0; padding: 0;
    background: rgba(255, 255, 255, .38);
    cursor: pointer;
    transition: all .25s;
}
.hero-dot.is-active { width: 26px; background: #fff; }
.hero-slide .btn-light { background: #fff; color: #12234a; }

/* 导航字号可调 */
.site-nav .nav-link { font-size: var(--nav-fs, 15px); }

/* ================= v1.4 课程详情排期时间线 ================= */
.sched-list { position: relative; }
.sched-list::before {
    content: ""; position: absolute; left: 21px; top: 14px; bottom: 14px;
    width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, rgba(37, 99, 235, .35), rgba(37, 99, 235, .05));
}
.sched-item {
    position: relative;
    padding: 13px 16px 13px 46px;
    background: #fff;
    border: 1px solid #e8effa;
    border-radius: 12px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sched-item::before {
    content: ""; position: absolute; left: 16px; top: 50%;
    width: 12px; height: 12px; margin-top: -6px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-2);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
    transition: all .22s ease;
}
.sched-item:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 26px rgba(30, 64, 175, .13);
}
.sched-item:hover::before {
    transform: scale(1.45);
    background: var(--primary-2);
    box-shadow: 0 0 0 7px rgba(37, 99, 235, .16);
}
.sched-item:hover .sched-date { color: var(--primary); }

/* 课程中心左侧时间线圆点（同步加强） */
.timeline-item::after { width: 13px; height: 13px; left: -1px; }
.timeline-item a:hover::after { }
.timeline-item a { position: relative; }

/* 移动端时间线可滑动提示 */
.timeline-swipe {
    display: none;
    align-items: center; gap: 6px;
    font-size: 12px; color: var(--muted-2);
    margin: -6px 0 10px;
}
.timeline-scroll { position: relative; }
@media (max-width: 860px) {
    .timeline-swipe { display: flex; }
    .timeline-scroll {
        margin: 0 -2px;
        -webkit-mask-image: linear-gradient(to right, #000 0, #000 88%, transparent 100%);
        mask-image: linear-gradient(to right, #000 0, #000 88%, transparent 100%);
    }
    .timeline { scroll-snap-type: x proximity; }
    .timeline-item { scroll-snap-align: start; }
}

/* 移动端详情页咨询/分享压缩为一行 */
@media (max-width: 860px) {
    .side-card { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
    .side-card .btn-share, .side-card .btn-consult { margin: 0; padding: 9px 10px; font-size: 13px; }
    .side-note {
        grid-column: 1 / -1;
        display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
        gap: 4px 8px; padding-top: 8px; margin-top: 0;
    }
    .side-note p { margin: 0; }
    .side-tel { font-size: 16px; margin: 0; }
    .side-hours { display: none; }
    .qr-wrap svg { max-width: 180px; max-height: 180px; }
}

/* ================= v1.4 分享弹层 ================= */
.share-tabs { display: flex; gap: 8px; margin: 4px 0 16px; }
.share-tab {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    padding: 9px 8px;
    border: 1px solid #e2eaf7;
    border-radius: 10px;
    background: #f8fbff;
    color: var(--ink-2);
    font-size: 13px;
    cursor: pointer;
    transition: all .18s;
}
.share-tab:hover { border-color: #bcd3f7; color: var(--primary); }
.share-tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.share-tip { margin: 12px 0 4px; font-size: 12px; line-height: 1.7; color: var(--muted); text-align: center; }
.share-note { margin: 12px 0 0; font-size: 12px; color: var(--muted-2); line-height: 1.6; text-align: center; }
#qqShare { margin-top: 10px; }

/* 学员单位 / 页脚字号变量 */
.footer-links { font-size: 13px; }

/* v1.4.1 首屏右侧「近期开课」浮层 */
.hero-side {
    position: absolute;
    top: 50%; right: calc((100% - var(--maxw)) / 2 + 24px);
    transform: translateY(-50%);
    width: 400px;
    z-index: 4;
}
.hero-side-card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    padding: 20px 20px 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(3, 10, 28, .38);
    color: #fff;
}
.hsc-kicker {
    display: flex; align-items: center; gap: 8px;
    margin: 0 0 14px; font-size: 12px; letter-spacing: 1.4px;
    color: rgba(255, 255, 255, .75); text-transform: uppercase;
}
.hsc-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.hsc-list { display: flex; flex-direction: column; gap: 2px; }
.hsc-row {
    display: flex; align-items: center; gap: 8px;
    height: 48px; padding: 6px 8px; border-radius: 10px;
    color: #fff;
    transition: background .18s ease, transform .18s ease;
}
.hsc-row:hover { background: rgba(255, 255, 255, .12); transform: translateX(3px); }
.hsc-meta { flex: none; width: 62px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hsc-date { font-size: 11.5px; font-weight: 700; color: #93c5fd; white-space: nowrap; letter-spacing: -.2px; line-height: 1.25; }
.hsc-cat { font-size: 10.5px; color: rgba(255, 255, 255, .62); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsc-title {
    flex: 1; min-width: 0; font-size: 13px; line-height: 1.35;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: rgba(255, 255, 255, .9);
}
.hsc-arrow { flex: none; color: rgba(255, 255, 255, .45); }
.hsc-more {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 10px; padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 12px; color: rgba(255, 255, 255, .78);
}
.hsc-more:hover { color: #fff; }

/* 标题不换行成孤字 */
.hero-slide-inner { max-width: 720px; }
.hero-slide .hero-title { font-size: clamp(30px, 3.05vw, 42px); word-break: keep-all; }

/* 推荐卡标题允许两行 */
.rec-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.rec-cover { width: 64px; height: 50px; }

/* 排期圆点更醒目 */
.sched-item::before { width: 14px; height: 14px; margin-top: -7px; left: 16px; box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.sched-item:hover::before { box-shadow: 0 0 0 8px rgba(37, 99, 235, .18); }

@media (min-width: 1181px) and (max-width: 1279px) {
    /* 窄桌面先保持原宽，避免玻璃卡压到左侧文案 */
    .hero-side { width: 360px; }
}
@media (min-width: 1181px) and (max-width: 1399px) {
    .hero-side { right: 84px; }
}
@media (max-width: 1180px) {
    .hero-side { display: none; }
}

/* 窄屏侧箭头会压住正文：只保留圆点，宽屏才显示左右箭头 */
@media (max-width: 1400px) {
    .hero-arrow { display: none; }
}

@media (max-width: 860px) {
    .hero-slider { height: 460px; }
    .hero-slide-inner { padding-bottom: 34px; }
    .hero-slide .hero-title { font-size: 27px; }
    .hero-slide .hero-stats { margin-top: 20px; padding-top: 14px; gap: 24px; }
    .hero-dots { bottom: 16px; }
    /* 移动端详情：推荐列表放到正文之后 */
    .detail-side { display: contents; }
    .side-card { order: -1; }
    .detail-main { order: 0; }
    .side-recommend { order: 1; }
}

#qqShare[hidden] { display: none !important; }

/* ================= v1.4.1 课程中心时间线强化 ================= */
.timeline {
    position: relative;
    padding: 4px 0 2px;
}
.timeline-item {
    position: relative;
    padding-left: 28px;
    margin: 0 0 2px;
}
.timeline-item::before {
    content: "";
    position: absolute; left: 7px; top: 22px; bottom: -6px;
    width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, #d8e4f4 0%, #eaf1fb 100%);
}
.timeline-item:last-child::before { display: none; }
.timeline-item::after {
    content: "";
    position: absolute; left: 0; top: 15px;
    width: 15px; height: 15px; border-radius: 50%;
    background: #fff;
    border: 2px solid #c9d8ec;
    box-shadow: 0 0 0 3px #f1f6fd, 0 2px 4px rgba(15, 35, 70, .08);
    transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), background .2s, border-color .2s, box-shadow .22s;
    z-index: 2;
}
.timeline-item a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 10px 9px;
    border-radius: 9px;
    font-size: 13px;
    color: var(--ink-2);
    transition: background .18s ease, color .18s ease;
}
.timeline-item a:hover { background: #f5f9ff; color: var(--primary); }
.timeline-filter-item { display: none; }
.timeline-item a:hover ~ .timeline-item-dot { }
.timeline-item:hover::after {
    transform: scale(1.5);
    background: #fff;
    border-color: var(--primary-2);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, .14), 0 2px 6px rgba(37, 99, 235, .18);
}
.timeline-item.active::after {
    background: var(--primary);
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .22), 0 4px 10px rgba(37, 99, 235, .28);
}
.timeline-item.active:hover::after {
    transform: scale(1.35);
    box-shadow: 0 0 0 7px rgba(37, 99, 235, .16), 0 4px 12px rgba(37, 99, 235, .3);
}
.timeline-item.active a { background: #eef5ff; color: var(--primary); font-weight: 700; }
.timeline-count {
    font-size: 12px; font-weight: 500; color: var(--muted-2);
    background: #f1f5fb; border-radius: 999px; padding: 1px 8px;
    transition: background .18s, color .18s;
}
.timeline-item.active .timeline-count { background: rgba(37, 99, 235, .12); color: var(--primary); font-weight: 700; }
.timeline-item:hover .timeline-count { background: #e6efff; color: var(--primary); }

/* 移动端：胶囊 + 可滑动提示 */
@media (max-width: 860px) {
    .timeline-item { padding-left: 0; }
    .timeline-item a { padding: 5px 12px; border-radius: 8px; }
    .timeline-filter-item { display: block; }
}

/* v1.4.1 移动端：隐藏圆点，恢复实心胶囊选中态 */
@media (max-width: 860px) {
    .timeline-item::before,
    .timeline-item::after { display: none; }
    .timeline-item.active a {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
    }
    .timeline-item.active .timeline-count {
        background: rgba(255, 255, 255, .18);
        color: rgba(255, 255, 255, .9);
    }
    .timeline-item:hover a { background: #f2f7ff; color: var(--primary); }
    .timeline-item.active:hover a { color: #fff; }
}

/* ================= v1.5 咨询/吸底/价格/底部导航 ================= */
.detail-price {
    display: flex; align-items: baseline; gap: 8px;
    margin: 6px 0 18px;
    font-size: 30px; font-weight: 800; color: #e0483d; letter-spacing: -.5px;
}
.detail-price .price-unit { font-size: 14px; font-weight: 500; color: var(--muted); }
.detail-price .price-note {
    margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--muted-2);
    background: #f6f8fc; padding: 3px 8px; border-radius: 6px;
}
.side-price {
    margin: 0 0 10px; font-size: 22px; font-weight: 800; color: #e0483d;
}
.side-price span { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 2px; }

/* 排期整行可点 */
.sched-item { display: block; padding: 0 !important; background: #fff; }
.sched-item::before { display: none !important; }
.sched-link {
    display: flex; align-items: center; gap: 14px;
    position: relative; padding: 13px 14px 13px 42px;
    color: inherit; border-radius: 12px;
    transition: background .18s, box-shadow .18s, transform .18s;
}
.sched-link::before {
    content: ""; position: absolute; left: 16px; top: 50%;
    width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%;
    background: #fff; border: 2px solid #b9cbe6;
    transition: transform .2s, background .2s, border-color .2s;
}
.sched-link:hover { background: #f4f8ff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 50, 100, .08); }
.sched-link:hover::before { background: var(--primary); border-color: var(--primary); transform: scale(1.25); }
.sched-arrow { margin-left: 2px; color: #b9c7db; display: inline-flex; transition: color .18s, transform .18s; }
.sched-link:hover .sched-arrow { color: var(--primary); transform: translateX(3px); }

/* 详情页手机吸底条 */
.detail-sticky { display: none; }
@media (max-width: 860px) {
    .detail-sticky {
        display: flex; gap: 6px; position: fixed; left: 50%; right: auto;
        transform: translateX(-50%); width: calc(100% - 40px); max-width: 420px;
        bottom: calc(64px + env(safe-area-inset-bottom));
        z-index: 45; padding: 4px; border-radius: 12px;
        background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, .58);
        box-shadow: 0 6px 18px rgba(15, 40, 80, .11);
    }
    .ds-btn {
        flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
        height: 36px; border: 0; border-radius: 9px; background: rgba(241, 246, 253, .82);
        color: var(--ink); font-size: 13px; font-weight: 600;
    }
    .ds-btn.ds-consult { background: rgba(255, 255, 255, .82); color: #1d4ed8; border: 1px solid rgba(207, 223, 247, .85); flex: 1.25; }
}

/* 手机底部固定导航 */
.mobile-tabbar { display: none; }
@media (max-width: 860px) {
    .mobile-tabbar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
        border-top: 1px solid #e9eff8;
        padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    }
    .tab-item {
        flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 3px; height: 50px; border: 0; background: none; color: #64748b;
        font-size: 11px; font-weight: 500;
    }
    .tab-item svg { color: #8a9ab0; }
    .tab-item span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .tab-item:hover, .tab-item:active { color: var(--primary); }
    .tab-consult { color: var(--primary); font-weight: 700; }
    .tab-consult svg { color: var(--primary); }
    .site-body { padding-bottom: 76px; }
    .site-footer { padding-bottom: 84px; }
    .detail-sticky ~ * { scroll-margin-top: 80px; }
}

/* 咨询弹层：微信优先 */
.consult-box .modal-title { margin-bottom: 4px; }
.consult-wechat {
    display: flex; gap: 18px; align-items: center;
    padding: 16px; border-radius: 14px; background: #f6f9ff; border: 1px solid #e6efff;
}
.consult-qr { width: 168px; height: 168px; object-fit: contain; border-radius: 10px; background: #fff; }
.consult-qr-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    color: var(--muted); font-size: 12px; border: 1px dashed #cfdcf0;
}
.consult-wechat-info { flex: 1; min-width: 0; }
.wechat-id-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 8px; }
.wechat-id-row strong { font-size: 18px; letter-spacing: .3px; color: var(--ink); word-break: break-all; }
.consult-foot {
    margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e2ebf8;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted);
}
.consult-foot .consult-tel { font-weight: 700; color: var(--primary); font-size: 16px; }

/* 手机端：详情右侧咨询卡由吸底条承担，隐藏重复块 */
@media (max-width: 860px) {
    .detail-side .side-card { display: none; }
    body:has(.detail-sticky) { padding-bottom: 136px; }
}

@media (max-width: 860px) {
    .sched-link { flex-wrap: wrap; row-gap: 4px; }
    .sched-link .sched-note { flex: 1 0 100%; order: 3; }
    .sched-link .sched-state { order: 2; margin-left: auto; }
    .sched-link .sched-arrow { display: none; }
}

.mobile-tabbar .tab-item.is-active { color: var(--primary); font-weight: 700; }
.mobile-tabbar .tab-item.is-active svg { color: var(--primary); }
.mobile-tabbar .tab-consult { color: #64748b; font-weight: 500; }
.mobile-tabbar .tab-consult svg { color: #8a9ab0; }

/* 价格并入课程概要行，弱化单独凸显 */
.detail-price, .side-price { display: none !important; }

/* 课程中心标题区 + 重点课程轮播 */
.courses-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.courses-head-text { flex: 0 0 auto; }
.mini-slider {
    position: relative; flex: 1 1 480px; max-width: 620px; height: 148px;
    border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(20, 50, 100, .12);
}
.mini-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
    display: flex; align-items: flex-end; color: #fff; text-decoration: none;
}
.mini-slide.is-on { opacity: 1; }
.mini-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 48, .58), rgba(8, 20, 48, .12)); }
.mini-slide-inner { position: relative; z-index: 2; padding: 18px 22px; display: flex; flex-direction: column; gap: 5px; }
.mini-slide-inner strong { font-size: 19px; line-height: 1.35; font-weight: 800; }
.mini-slide-inner em { font-style: normal; font-size: 12px; opacity: .86; line-height: 1.55; }
.mini-slide-btn { margin-top: 4px; font-size: 12px; font-weight: 600; opacity: .95; }
.mini-dots { position: absolute; right: 14px; bottom: 12px; z-index: 3; display: flex; gap: 6px; }
.mini-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .42); cursor: pointer; }
.mini-dot.is-on { background: #fff; }
@media (max-width: 1100px) { .mini-slider { flex-basis: 380px; height: 132px; } }
@media (max-width: 860px) {
    .courses-head-inner { display: block; }
    .mini-slider { margin-top: 16px; max-width: none; height: 120px; }
    .mini-slide-inner { padding: 14px 16px; }
    .mini-slide-inner strong { font-size: 16px; }
    .mini-slide-inner em { display: none; }
}

/* 课程中心：通栏重点课程幻灯片 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.courses-banner { padding: 18px 0 4px; }
.banner-slider { width: 100%; max-width: none; flex: none; height: clamp(190px, 21vw, 250px); border-radius: 18px; }
.banner-slider .mini-slide-inner { padding: 26px 34px; gap: 8px; max-width: 720px; }
.banner-slider .mini-slide-inner strong { font-size: clamp(20px, 2vw, 28px); }
.banner-slider .mini-slide-inner em { font-size: 14px; }
.banner-slider .mini-slide-btn { font-size: 13px; margin-top: 6px; }
.banner-slider .mini-slide::after { background: linear-gradient(90deg, rgba(8, 20, 48, .66) 0%, rgba(8, 20, 48, .28) 55%, rgba(8, 20, 48, .05) 100%); }
.courses-banner-fallback { padding: 26px 4px 6px; }
.courses-banner-fallback h2 { font-size: 34px; margin: 0 0 6px; }
.courses-banner-fallback p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 860px) {
    .banner-slider { height: 156px; border-radius: 14px; }
    .banner-slider .mini-slide-inner { padding: 18px 20px; }
    .banner-slider .mini-slide-inner strong { font-size: 18px; }
    .banner-slider .mini-slide-inner em { display: block; font-size: 12px; }
}

/* 课程中心通栏 2.0：左文案 + 右课程卡 */
.banner-panel {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    height: clamp(168px, 16vw, 196px);
    border-radius: 18px; overflow: hidden;
    background: linear-gradient(120deg, #0c2148 0%, #14346f 100%);
    box-shadow: 0 14px 34px rgba(12, 32, 70, .16);
}
.banner-stage { position: relative; overflow: hidden; }
.banner-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
    display: flex; align-items: center; color: #fff; text-decoration: none;
    pointer-events: none;
}
.banner-slide.is-on { opacity: 1; pointer-events: auto; }
.banner-slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 20, 48, .55), rgba(8, 20, 48, .08));
}
.banner-copy { position: relative; z-index: 2; padding: 0 30px; display: flex; flex-direction: column; gap: 7px; }
.banner-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .72); }
.banner-kicker i { width: 16px; height: 1px; background: rgba(255, 255, 255, .6); display: inline-block; }
.banner-copy strong { font-size: clamp(18px, 1.75vw, 24px); line-height: 1.3; font-weight: 800; letter-spacing: -.2px; }
.banner-copy em { font-style: normal; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 480px; }
.banner-cta { margin-top: 3px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #fff; }
.banner-cta b { font-weight: 400; transition: transform .2s; }
.banner-slide:hover .banner-cta b { transform: translateX(4px); }
.banner-dots { position: absolute; left: 30px; bottom: 14px; z-index: 3; display: flex; gap: 5px; }
.banner-dots .mini-dot { width: 6px; height: 6px; background: rgba(255, 255, 255, .35); }
.banner-dots .mini-dot.is-on { background: #fff; }
.banner-side {
    background: rgba(255, 255, 255, .06);
    border-left: 1px solid rgba(255, 255, 255, .1);
    padding: 12px 14px; display: flex; flex-direction: column; gap: 6px;
}
.banner-side-title { margin: 0 0 1px; font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .68); }
.banner-side-title span { opacity: .6; }
.banner-card {
    position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
    align-items: center; gap: 2px 8px;
    padding: 7px 10px; border-radius: 9px; text-decoration: none;
    background: rgba(255, 255, 255, .94);
    transition: transform .18s, box-shadow .18s;
}
.banner-card:hover { transform: translateX(3px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.bc-tag { grid-row: 1 / 3; font-size: 12px; font-weight: 600; color: #fff; background: var(--c, #2563eb); padding: 2px 6px; border-radius: 5px; align-self: center; }
.bc-title { font-size: 12px; font-weight: 700; color: #12233f; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-meta { font-size: 12px; color: #8494aa; }
.bc-arrow { grid-row: 1 / 3; color: #b3c1d4; font-size: 13px; }
@media (max-width: 1080px) {
    .banner-panel { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); height: 176px; }
    .banner-side { display: none; }
}
@media (max-width: 860px) {
    .banner-panel { display: block; height: 158px; border-radius: 14px; }
    .banner-stage { height: 100%; }
    .banner-copy { padding: 0 20px; }
    .banner-copy strong { font-size: 18px; }
    .banner-copy em { font-size: 12px; }
    .banner-dots { left: 20px; bottom: 12px; }
}

.banner-card { grid-template-columns: auto minmax(0, 1fr) 14px; grid-template-rows: auto auto; }
.banner-card .bc-tag { grid-area: 1 / 1 / 3 / 2; }
.banner-card .bc-title { grid-area: 1 / 2 / 2 / 3; text-align: left; }
.banner-card .bc-meta { grid-area: 2 / 2 / 3 / 3; text-align: left; }
.banner-card .bc-arrow { grid-area: 1 / 3 / 3 / 4; text-align: right; }

.banner-stage::before {
    content: ""; position: absolute; right: -60px; top: -140px; width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(96, 145, 255, .38) 0%, rgba(96, 145, 255, 0) 62%);
    pointer-events: none; z-index: 1;
}
.banner-panel { position: relative; }
.banner-panel::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0));
    pointer-events: none;
}

/* 右栏改为一体化玻璃面板 */
.banner-side { background: rgba(255, 255, 255, .045); padding: 12px 18px 10px; }
.banner-side-title { color: rgba(255, 255, 255, .58); font-size: 12px; margin-bottom: 2px; }
.banner-card {
    background: transparent; border-radius: 0; padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    grid-template-columns: 58px minmax(0, 1fr) 14px;
    transition: background .18s;
}
.banner-card:last-child { border-bottom: 0; }
.banner-card:hover { background: rgba(255, 255, 255, .05); transform: none; box-shadow: none; }
.banner-card .bc-tag {
    background: transparent; padding: 0; font-size: 12px; font-weight: 500;
    color: rgba(255, 255, 255, .62); letter-spacing: .02em; white-space: nowrap;
}
.banner-card .bc-tag::before {
    content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
    background: var(--c, #7fa6ff); margin-right: 5px; vertical-align: 1px;
}
.banner-card .bc-title { color: #fff; font-size: 12px; font-weight: 600; }
.banner-card .bc-meta { color: rgba(255, 255, 255, .46); font-size: 12px; margin-top: 2px; }
.banner-card .bc-arrow { color: rgba(255, 255, 255, .32); font-size: 12px; }

.banner-side { padding: 9px 18px 7px; }
.banner-side-title { margin: 0 0 0; line-height: 1.5; }
.banner-card { padding: 5px 0; }
.banner-card .bc-title { line-height: 1.3; }
.banner-card .bc-meta { margin-top: 1px; line-height: 1.25; }

/* 搜索高亮与已选条件 */
mark { background: #fff1a8; color: inherit; padding: 0 1px; border-radius: 2px; }
.filter-selected { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.filter-selected-label { font-size: 12px; color: var(--muted); margin-right: 2px; }
.chip-sel { background: #eef4ff !important; border-color: #c9dbff !important; color: #1d4ed8 !important; }
.chip-sel b { font-weight: 400; opacity: .6; margin-left: 2px; }
.empty-suggest { margin-top: 26px; }
.empty-suggest-title { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }

/* 后台推荐位页签 */
.tabs { display: inline-flex; gap: 3px; padding: 3px; background: #f1f5f9; border-radius: 10px; }
.tabs .tab { padding: 7px 13px; border-radius: 8px; font-size: 13px; color: #5b6b82; text-decoration: none; white-space: nowrap; }
.tabs .tab.is-active { background: #fff; color: #12233f; font-weight: 600; box-shadow: 0 1px 4px rgba(15, 35, 70, .1); }
.tabs .tab:hover { color: #1d4ed8; }

/* 分享图与移动端页脚 */
.share-actions { margin-top: 6px; display: grid; gap: 10px; }
.poster-box { margin-top: 8px; padding-top: 14px; border-top: 1px dashed #dbe3ee; text-align: center; }
.poster-box img { width: 100%; max-width: 360px; border-radius: 12px; box-shadow: 0 8px 24px rgba(15, 35, 70, .16); }
.poster-tip { margin: 10px 0 12px; font-size: 12px; color: #64748b; }
.footer-mini { display: none; }

@media (max-width: 860px) {
    .footer-main { display: none; }
    .footer-mini {
        display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
        padding: 20px 16px 14px; border-top: 1px solid rgba(255, 255, 255, .08);
    }
    .footer-mini a, .footer-mini button {
        background: none; border: 0; padding: 0; cursor: pointer;
        color: rgba(255, 255, 255, .82); font-size: 13px; text-decoration: none;
    }
    .footer-bar { padding: 10px 16px 76px; }
    .footer-bar-inner { justify-content: center; text-align: center; font-size: 12px; }
}

.modal-box { max-height: 88vh; overflow-y: auto; }
.qr-caption { margin: 8px 0 12px; text-align: center; font-size: 12px; color: #7b8798; }

/* 导航管理 v2：页脚精简 + 手机抽屉 */
.footer-slim { grid-template-columns: 1fr auto 1fr; align-items: center; }
.footer-spacer { min-width: 1px; }
.footer-contact { text-align: center; }
.footer-contact .footer-h { margin-bottom: 8px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 6px; align-items: center; }

.mobile-nav { display: none; }
@media (max-width: 860px) {
    .mobile-nav:not([hidden]) {
        display: flex; flex-direction: column;
        position: fixed; inset: 0; z-index: 1200;
        width: 100vw; height: 100vh;
        background: #fff; padding: 0 0 24px;
        overflow-y: auto;
    }
    .mobile-nav-head {
        display: flex; align-items: center; justify-content: space-between;
        padding: 16px 20px; border-bottom: 1px solid #eef2f8;
        font-weight: 700; color: #0f2340;
        position: sticky; top: 0; background: #fff; z-index: 2;
    }
    .mobile-nav-close {
        width: 34px; height: 34px; border: 0; border-radius: 9px;
        background: #f1f5fb; color: #334155; display: inline-flex; align-items: center; justify-content: center;
    }
    .mobile-nav-links { padding: 8px 12px; }
    .mobile-nav-link {
        display: flex; align-items: center; gap: 10px;
        padding: 15px 10px; border-bottom: 1px solid #f1f5f9;
        color: #1f2d3d; text-decoration: none; font-size: 15px;
    }
    .mobile-nav-link span { flex: 1; }
    .mobile-nav-link.active { color: #2456d8; font-weight: 600; }
    .mobile-nav-foot { margin-top: auto; padding: 18px 20px 0; }
    .mobile-nav-contact { margin: 12px 0 0; text-align: center; font-size: 12px; color: #8a95a5; }
}

@media (max-width: 860px) {
    .footer-bar { display: none; }
    .footer-mini { padding-bottom: 86px; gap: 14px; }
}

.footer-legal { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; font-size: 12px; color: rgba(255,255,255,.62); }
.footer-legal a { color: rgba(255,255,255,.62); text-decoration: none; }
.footer-extra { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin: 2px 0 0; padding: 0; list-style: none; }
.footer-extra a { color: rgba(255,255,255,.72); }
.footer-extra a:hover, .footer-legal a:hover { color: #fff; }
@media (max-width: 860px) {
    .footer-legal { display: none; }
}

/* 页脚 v3：品牌 + 网站联系 + 版权 */
.site-footer .footer-main {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) auto;
    gap: 48px; align-items: start; padding-bottom: 36px;
}
.footer-brand .footer-desc { max-width: 380px; }
.footer-extra { justify-content: flex-start; margin-top: 12px; }
.footer-contact { text-align: left; }
.footer-contact-list { align-items: flex-start; }
.footer-contact-btn {
    margin-top: 12px; padding: 0; border: 0; background: none;
    color: rgba(255,255,255,.8); font-size: 12px; cursor: pointer;
    text-decoration: underline; text-underline-offset: 3px;
}
.footer-contact-btn:hover { color: #fff; }
.site-contact-box { margin: 14px 0 4px; padding: 16px; border-radius: 12px; background: #f7f9fd; display: grid; gap: 10px; }
.site-contact-box p { display: flex; gap: 12px; margin: 0; font-size: 13px; color: #334155; }
.site-contact-box strong { width: 38px; color: #8592a6; font-weight: 500; flex: none; }
.site-contact-box a { color: #2456d8; word-break: break-all; }
.site-contact-tip { margin: 12px 0 0; font-size: 12px; color: #8592a6; }

@media (max-width: 860px) {
    .site-footer .footer-main { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 82px; }
    .footer-main { display: grid; }
    .footer-legal { align-items: flex-start; text-align: left; }
    .footer-brand .footer-desc { max-width: none; }
}

/* 页脚 v4：手机只留品牌名、联系我们、版权、备案 */
.footer-contact-btn { display: none; }
@media (max-width: 860px) {
    .site-footer .footer-main { gap: 18px; }
    .footer-brand .footer-desc, .footer-extra, .footer-contact-list, .footer-contact .footer-h { display: none; }
    .footer-brand .footer-logo { margin-bottom: 0; }
    .footer-contact { text-align: left; }
    .footer-contact-btn {
        display: inline-block; margin-top: 0; padding: 0;
        font-size: 13px; color: rgba(255,255,255,.8);
    }
}

/* 页脚 v5：右侧成组对齐 + 手机端直显联系信息 */
.footer-mobile { display: none; }
.site-footer .footer-main {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 48px; padding-bottom: 36px;
}
.footer-brand { flex: 1 1 auto; min-width: 0; }
.footer-right { display: flex; align-items: flex-start; gap: 64px; margin-left: auto; }
.footer-contact { text-align: right; }
.footer-contact-list { align-items: flex-end; }
.footer-legal { align-items: flex-end; text-align: right; }

@media (max-width: 860px) {
    .site-footer .footer-main { display: none; }
    .footer-mobile { display: block; padding: 22px 20px 84px; }
    .fm-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
    .fm-brand { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 14px; font-weight: 700; }
    .fm-brand img { height: 26px; border-radius: 7px; }
    .fm-brand .brand-mark { width: 30px; height: 30px; }
    .fm-copy { font-size: 12px; color: rgba(255,255,255,.5); text-align: right; }
    .fm-contact {
        display: flex; flex-wrap: wrap; gap: 6px 14px;
        margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.68);
    }
    .fm-contact a { color: rgba(255,255,255,.68); text-decoration: none; }
    .fm-icp { margin-top: 8px; font-size: 12px; }
    .fm-icp a { color: rgba(255,255,255,.45); text-decoration: none; }
}

/* 页脚文字统一左对齐 */
.footer-contact, .footer-legal { text-align: left; }
.footer-contact-list { align-items: flex-start; }

@media (max-width: 860px) {
    .site-footer { padding-top: 0; }
    .footer-mobile { padding: 20px 20px 78px; }
}

@media (max-width: 860px) {
    .site-footer { padding-bottom: 0; }
}

/* 页脚 v6：单行居中 */
.site-footer { padding: 22px 0 24px; }
.footer-line {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px 14px; padding-bottom: 0; text-align: center;
    font-size: 13px; color: rgba(255,255,255,.62);
}
.footer-line a { color: rgba(255,255,255,.62); text-decoration: none; }
.footer-line a:hover { color: #fff; }
.footer-sep { color: rgba(255,255,255,.3); }
.footer-inline-contact {
    display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 6px 14px;
}
.footer-inline-contact em { font-style: normal; color: rgba(255,255,255,.82); }
.footer-mobile { display: none; }

@media (max-width: 860px) {
    .site-footer { padding: 0 !important; }
    .footer-line { display: none !important; }
    .footer-mobile {
        display: flex !important; flex-wrap: wrap; align-items: center; justify-content: center;
        gap: 5px 10px; padding: 18px 16px 64px !important;
        text-align: center; font-size: 12px; color: rgba(255,255,255,.55);
    }
    .footer-mobile a { color: rgba(255,255,255,.55); text-decoration: none; }
}

@media (max-width: 860px) {
    .footer-mobile {
        padding: 14px 16px !important;
        margin-bottom: 62px;
    }
}

@media (max-width: 860px) {
    .footer-mobile { padding: 14px 16px !important; margin-bottom: 0; }
}

/* 分类横向轨道 v1.8.8 */
.cat-rail-nav { display: flex; gap: 8px; }
.rail-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; color: var(--ink-2);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .18s;
}
.rail-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }
.rail-btn:disabled { opacity: .32; cursor: default; }
.rail-btn svg { transition: transform .15s; }
.rail-btn[data-cat-dir="-1"] svg { transform: rotate(180deg); }
.cat-rail { position: relative; }
.cat-rail::before, .cat-rail::after {
    content: ""; position: absolute; top: 0; bottom: 8px; width: 54px;
    pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 1;
}
.cat-rail::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.cat-rail::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.cat-rail.has-prev::before, .cat-rail.has-next::after { opacity: 1; }
.cat-grid {
    display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 4px 2px 10px; margin: -4px -2px -10px;
    scrollbar-width: none;
}
.cat-grid::-webkit-scrollbar { display: none; }
.cat-card { flex: 0 0 236px; scroll-snap-align: start; }
.cat-count.is-soon { color: #b7791f; font-weight: 600; }

@media (max-width: 620px) {
    .cat-rail-nav { display: none; }
    .cat-grid { gap: 12px; padding-bottom: 6px; }
    .cat-card { flex-basis: 206px; padding: 18px 16px; }
    .cat-rail::before, .cat-rail::after { width: 32px; }
}

/* 手机课程卡压缩 v1.8.8 */
@media (max-width: 620px) {
    .card-cover { aspect-ratio: 2.8 / 1; }
    .card-body { padding: 14px 16px 12px; }
    .card-title { font-size: 16px; line-height: 1.45; margin-bottom: 5px; }
    .card-summary {
        font-size: 13px; line-height: 1.55; margin-bottom: 10px;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .card-meta { gap: 8px; font-size: 12px; margin-bottom: 8px; }
    .card-foot { padding-top: 9px; font-size: 12px; }
}

/* 首屏 v2：内容靠左、左上角提亮 */
.hero-slide-inner { max-width: var(--maxw); margin: 0 auto; }
.hero-slide .hero-title { max-width: 680px; }
.hero-slide-shade {
    background:
        linear-gradient(100deg, rgba(4, 10, 26, .78) 0%, rgba(4, 10, 26, .54) 44%, rgba(4, 10, 26, .08) 100%),
        radial-gradient(700px 420px at 22% 6%, rgba(37, 99, 235, .30), transparent 64%),
        radial-gradient(1200px 600px at 92% 0%, rgba(59, 130, 246, .22), transparent 60%);
}
.hero-slide-shade::after { opacity: .18; }

/* 手机分类滑动提示 */
.cat-swipe-hint { display: none; }
.cat-swipe-hint.is-hidden { display: none !important; }

/* 手机学员单位：自适应每行 3 个左右 */
@media (max-width: 620px) {
    .cat-swipe-hint {
        display: flex; align-items: center; justify-content: center; gap: 6px;
        margin: 2px 0 0; font-size: 12px; color: var(--muted-2); letter-spacing: .3px;
    }
    .cat-swipe-hint span { color: var(--primary); opacity: .75; }
    .partners-grid { grid-template-columns: repeat(auto-fit, minmax(94px, 1fr)); gap: 10px; }
    .partner-item { height: 48px; padding: 6px 8px; }
    .partner-name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .partners-title { margin-bottom: 16px; }
}

/* 首屏渐层：左上提亮一档 */
.hero-slide-shade {
    background:
        radial-gradient(640px 380px at 16% 0%, rgba(45, 100, 220, .34), transparent 64%),
        linear-gradient(100deg, rgba(4, 10, 26, .74) 0%, rgba(4, 10, 26, .52) 44%, rgba(4, 10, 26, .08) 100%),
        radial-gradient(700px 420px at 22% 6%, rgba(37, 99, 235, .26), transparent 64%),
        radial-gradient(1200px 600px at 92% 0%, rgba(59, 130, 246, .22), transparent 60%);
}

/* 课程介绍分隔线：通栏炭黑 */
.rich-content hr {
    border: 0; border-top: 1px solid #333; height: 0; width: 100%;
    margin: 22px 0;
}

/* 富文本对齐与图片 v1.9.1 */
.rich-content .ql-align-center { text-align: center; }
.rich-content .ql-align-right { text-align: right; }
.rich-content .ql-align-justify { text-align: justify; }
.rich-content img { max-width: 100%; }
.rich-content img:not([height]) { height: auto; }

/* 详情右侧色卡压扁，与左侧内容同起点 */
.detail-side { top: 84px; }
.side-cover { aspect-ratio: 2.2 / 1; }
.side-card { padding: 12px; gap: 9px; }

/* Word 粘贴表格 v1.9.2 */
.rich-content table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
.rich-content table th, .rich-content table td { border: 1px solid #dfe5ef; padding: 7px 10px; text-align: left; vertical-align: top; }
.rich-content table th { background: #f6f9fd; font-weight: 600; }
.rich-content table p { margin: 0; }

/* 富文本图片对齐：全局 img 是 block，text-align 管不到，需用 margin 居中 */
.rich-content .ql-align-center img,
.rich-content img.ql-align-center { display: block; margin-left: auto; margin-right: auto; }
.rich-content .ql-align-right img,
.rich-content img.ql-align-right { display: block; margin-left: auto; margin-right: 0; }
.rich-content .ql-align-left img,
.rich-content img.ql-align-left { display: block; margin-left: 0; margin-right: auto; }

/* 首页首屏数据：在报课程/课程领域可点进课程中心 */
.hero-stat-link { color: inherit; text-decoration: none; cursor: pointer; }
.hero-stat-link strong { transition: color .18s, transform .18s; }
.hero-stat-link:hover strong { color: #93c5fd; transform: translateY(-1px); }
.hero-stat-link:hover span { color: #fff; }

/* 首页近期课程：窗口内保持 3 行，向上轮播 */
.hsc-window { height: 112px; overflow: hidden; }
.hsc-track { display: flex; flex-direction: column; gap: 2px; transition: transform .45s ease; will-change: transform; }
.hsc-row { min-height: 36px; }

/* 课程中心通栏：左右同底无缝，右栏两组各 3 门 */
.banner-panel { height: 360px; }
.banner-side {
    border-left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.035) 26px, rgba(255,255,255,.02) 100%);
}
.banner-group { display: flex; flex-direction: column; }
.banner-group + .banner-group {
    margin-top: 6px; padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.banner-side-title { font-size: 12px; letter-spacing: .06em; }
.banner-card { padding: 5px 0; }
.banner-card .bc-title { font-size: 14px; line-height: 1.35; }
.banner-card .bc-meta { font-size: 12px; }
.banner-card .bc-tag { font-size: 12px; }
@media (max-width: 1080px) {
    .banner-panel { height: 176px; }
}
@media (max-width: 860px) {
    .banner-panel { height: 158px; }
}

/* 首屏左移：内容回到容器左缘，减少左侧空白 */
.hero-slide-inner {
    width: 100%;
    max-width: var(--maxw);
    padding: 0 24px;
    box-sizing: border-box;
}

/* 首屏左上角提亮：减少左上角发黑 */
.hero-slide-shade {
    background:
        radial-gradient(560px 340px at 0% 0%, rgba(56, 118, 235, .42), transparent 70%),
        linear-gradient(100deg, rgba(4, 10, 26, .62) 0%, rgba(4, 10, 26, .44) 46%, rgba(4, 10, 26, .06) 100%),
        radial-gradient(760px 430px at 20% 8%, rgba(37, 99, 235, .28), transparent 66%),
        radial-gradient(1200px 600px at 92% 0%, rgba(59, 130, 246, .22), transparent 60%);
}

@media (max-width: 860px) {
    .hero-slide-inner { padding: 0 20px 42px; }
}

/* 手机分类滑动提示：做成可见的小胶囊 */
@media (max-width: 620px) {
    .cat-swipe-hint {
        display: flex;
        width: max-content;
        margin: 10px auto 0;
        padding: 6px 13px;
        gap: 8px;
        border: 1px solid #dbe7fb;
        border-radius: 999px;
        background: #eef4ff;
        color: #1d4ed8;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .2px;
    }
    .cat-swipe-hint span { color: #2563eb; opacity: 1; animation: catHintPulse 1.8s ease-in-out infinite; }
    .cat-swipe-hint span:first-child { animation-delay: .2s; }
    .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .partner-item { height: 46px; padding: 4px 6px; }
}
@keyframes catHintPulse {
    0%, 100% { opacity: .55; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(2px); }
}

/* 前台表格样式与后台表格面板保持一致 */
.rich-content table.is-compact th,
.rich-content table.is-compact td { padding: 4px 8px; }
.rich-content table.is-zebra tr:nth-child(even) td { background: #f8fafc; }

/* 课程中心通栏 3.0：左侧整幅轮播、右侧 3 门一组浮框 */
.banner-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    height: 200px;
}
.banner-stage {
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 1;
}
.banner-side {
    grid-column: 2;
    grid-row: 1;
    z-index: 3;
    position: relative;
    margin: 10px 10px 10px 0;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: rgba(10, 27, 58, .64);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 42px rgba(2, 10, 28, .28);
    overflow: hidden;
}
.banner-groups { position: relative; height: 100%; }
.banner-group {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}
.banner-group.is-on { opacity: 1; transform: none; pointer-events: auto; }
.banner-side-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, .92);
}
.banner-side-title i {
    width: 6px; height: 6px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, .16);
}
.banner-card { padding: 4px 0; }
.banner-card .bc-title { font-size: 15px; line-height: 1.3; }
.banner-card .bc-meta { font-size: 12px; margin-top: 1px; }
.banner-card .bc-tag { font-size: 12px; }

@media (max-width: 1080px) {
    .banner-panel { height: 176px; }
    .banner-side { display: none; }
}
@media (max-width: 860px) {
    .banner-panel { display: block; height: 158px; }
    .banner-stage { height: 100%; }
}

/* 轮播只显示当前页，避免两页文字重影 */
.banner-slide { visibility: hidden; }
.banner-slide.is-on { visibility: visible; }
.banner-group { display: none; }
.banner-group.is-on { display: flex; }

/* 课程中心右栏 3 门一组，浮框高度与通栏一致 */

/* 课程中心通栏 4.0：三列重点课程，一条通栏背景，不再有右侧名单 */
.banner-panel {
    display: block;
    position: relative;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(120deg, #0c2148 0%, #14346f 100%);
    box-shadow: 0 14px 34px rgba(12, 32, 70, .16);
}
.banner-groups { position: absolute; inset: 0; }
.banner-group {
    position: absolute;
    inset: 0;
    display: none;
    padding: 22px 30px 18px;
}
.banner-group.is-on { display: block; }
.banner-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .72);
}
.banner-kicker i { width: 16px; height: 1px; background: rgba(255, 255, 255, .6); display: inline-block; }
.banner-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: calc(100% - 20px);
}
.banner-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0 26px;
    color: #fff;
    text-decoration: none;
}
.banner-tile strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: clamp(18px, 1.7vw, 24px);
    line-height: 1.32;
    font-weight: 800;
    letter-spacing: -.3px;
}
.banner-tile em {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .78);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-tile .banner-cta { margin-top: 10px; font-size: 12px; }
.banner-tile:hover .banner-cta b { transform: translateX(4px); }
.banner-dots { left: 30px; bottom: 12px; }

@media (max-width: 1080px) {
    .banner-panel { height: 176px; }
    .banner-group { padding: 18px 20px 16px; }
    .banner-tile { padding: 0 16px; }
    .banner-tile strong { font-size: 18px; }
}

@media (max-width: 860px) {
    .banner-panel { height: auto; min-height: 246px; }
    .banner-groups { position: static; }
    .banner-group { position: relative; display: none; padding: 20px 18px 18px; }
    .banner-group.is-on { display: block; }
    .banner-tiles { display: flex; flex-direction: column; height: auto; gap: 0; }
    .banner-tile { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
    .banner-tile:first-child { border-top: 0; padding-top: 0; }
    .banner-tile strong { font-size: 18px; }
    .banner-tile em { font-size: 12px; }
    .banner-tile .banner-cta { margin-top: 7px; }
    .banner-dots { position: static; padding: 0 18px 16px; }
}

.hsc-date.is-pending { font-size: 11.5px; color: rgba(255,255,255,.62); }

/* 首页右栏必须完整显示 3 门，避免第三行被窗口高度裁掉 */
.hsc-window { height: 148px; }

/* 课程排期：期数 + 每期城市 */
.sched-period-text {
    font-size: 12px; color: var(--primary); font-weight: 600;
    background: #eef4ff; border-radius: 5px; padding: 2px 7px; flex: none;
}
.sched-city {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; color: var(--muted); flex: none;
}
.sched-city svg { width: 13px; height: 13px; }

/* 详情页排期行：链接撑满整行，状态和箭头靠右，避免右侧大片空白 */
.sched-link { flex: 1 1 auto; }
.sched-state { margin-left: auto; }

/* 课程详情排期：整行按网格均匀分布，授课方式/天数填充中段，状态与箭头靠右 */
.sched-link {
    display: grid;
    grid-template-columns: minmax(210px, 1.35fr) 54px minmax(78px, .55fr) minmax(106px, .8fr) 68px 20px;
    align-items: center;
    column-gap: 14px;
    flex: 1 1 auto;
}
.sched-date { min-width: 0; white-space: nowrap; }
.sched-period-text { justify-self: start; white-space: nowrap; }
.sched-city { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-meta { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-state { justify-self: end; margin-left: 0; }
.sched-arrow { justify-self: end; }

/* 已结束的排期：鼠标悬停用灰调，避免和可报名期次混用蓝色 */
.sched-item.is-ended:hover {
    border-color: #d8dee8;
    box-shadow: 0 10px 22px rgba(100, 116, 139, .12);
}
.sched-item.is-ended:hover::before {
    background: #cbd5e1;
    border-color: #94a3b8;
    box-shadow: 0 0 0 6px rgba(148, 163, 184, .12);
    transform: scale(1.25);
}
.sched-item.is-ended:hover .sched-date { color: var(--muted); }

@media (max-width: 1020px) {
    .sched-link { grid-template-columns: 1fr auto; row-gap: 5px; column-gap: 10px; }
    .sched-date { grid-column: 1 / -1; }
    .sched-period-text { grid-column: 1; }
    .sched-city { grid-column: 1; }
    .sched-meta { grid-column: 1; }
    .sched-state { grid-column: 2; grid-row: 1 / span 2; }
    .sched-arrow { grid-column: 2; grid-row: 3; }
}

/* ================= v1.9.14 手机端体验优化 ================= */
/* 默认只给桌面用，手机规则在下方媒体查询中接管 */
.banner-mobile { display: none; }
.filter-mobile-bar, .filter-mask, .filter-sheet-head { display: none; }
.btn-search-icon { display: none; }

/* 课程详情右侧：咨询卡不动，大家都在学列表内部滚动 */
@media (min-width: 861px) {
    .detail-side {
        max-height: calc(100vh - 152px);
        overflow: hidden;
    }
    .side-card { flex: 0 0 auto; }
    .side-recommend {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .side-recommend .panel-title { flex: none; }
    .side-recommend .recommend-list {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-right: 4px;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
    .side-recommend .recommend-list::-webkit-scrollbar { width: 5px; }
    .side-recommend .recommend-list::-webkit-scrollbar-thumb {
        background: #cbd5e1; border-radius: 99px;
    }
    .side-recommend .recommend-list::-webkit-scrollbar-track { background: transparent; }
}

/* 已结束的排期整行灰调，和可报名期次明确区分 */
.sched-item.is-ended { background: #fbfcfd; border-color: #e6ebf2; }
.sched-item.is-ended .sched-date,
.sched-item.is-ended .sched-city,
.sched-item.is-ended .sched-meta { color: #8c99a9; }
.sched-item.is-ended .sched-period-text { background: #eef2f7; color: #7c8ba1; }
.sched-item.is-ended .sched-link::before { background: #f8fafc; border-color: #c2cbd8; }
.sched-item.is-ended .sched-link:hover {
    background: #f5f7fa;
    box-shadow: 0 6px 16px rgba(100, 116, 139, .08);
}
.sched-item.is-ended .sched-link:hover::before {
    background: #cbd5e1; border-color: #94a3b8;
}
.sched-item.is-ended .sched-link:hover .sched-arrow { color: #94a3b8; }

@media (max-width: 860px) {
    /* 顶部重点课程：桌面三列隐藏，手机一屏一门横向滑动 */
    .banner-panel { display: none; }
    .banner-mobile { display: block; }
    .banner-mobile-track {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        border-radius: 14px;
        background: #0c2148;
        box-shadow: 0 12px 28px rgba(12, 32, 70, .16);
        scrollbar-width: none;
    }
    .banner-mobile-track::-webkit-scrollbar { display: none; }
    .banner-mobile-slide {
        position: relative;
        flex: 0 0 100%;
        box-sizing: border-box;
        padding: 18px 20px 16px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        color: #fff;
        text-decoration: none;
        overflow: hidden;
        background-size: cover !important;
        background-position: center !important;
    }
    .banner-mobile-slide::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(180deg, rgba(6, 16, 36, .12), rgba(6, 16, 36, .42));
    }
    .banner-mobile-slide > * { position: relative; z-index: 2; }
    .banner-mobile-slide .banner-kicker { margin-bottom: 8px; }
    .banner-mobile-slide strong {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 22px;
        line-height: 1.3;
        font-weight: 800;
        letter-spacing: -.3px;
    }
    .banner-mobile-slide em {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 6px;
        font-style: normal;
        font-size: 13px;
        line-height: 1.55;
        color: rgba(255, 255, 255, .82);
    }
    .banner-mobile-slide .banner-cta { margin-top: 10px; }
    .banner-mobile-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 10px 0 2px;
    }
    .banner-mobile-dot {
        width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
        background: #c5d2e6; cursor: pointer;
        transition: width .2s, background .2s;
    }
    .banner-mobile-dot.is-on { width: 20px; border-radius: 99px; background: var(--primary); }

    /* 筛选：默认折叠，点开后底部抽屉 */
    .filter-card { display: none; padding: 16px 16px 14px; }
    .filter-card.is-open .filter-sheet-head {
        display: flex; align-items: center; justify-content: space-between;
        flex: none; padding-bottom: 10px; margin-bottom: 2px;
        border-bottom: 1px solid #edf1f7;
    }
    .filter-sheet-head span { font-size: 15px; font-weight: 700; color: var(--ink); }
    .filter-sheet-close {
        border: 0; background: transparent; color: #64748b;
        font-size: 11px; padding: 4px 0 4px 12px;
    }
    .filter-card.is-mobile-ready .filter-top {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }
    .filter-card.is-mobile-ready .filter-search {
        flex: 1 1 auto;
        min-width: 0;
        margin-bottom: 0;
        padding: 3px 4px 3px 12px;
    }
    .filter-card.is-mobile-ready .filter-search .search-icon { display: none; }
    .filter-card.is-mobile-ready .filter-search input {
        width: 100%;
        min-width: 0;
        font-size: 13px;
        padding: 7px 0;
    }
    .filter-search-btn {
        flex: none;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 9px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .btn-search-icon { display: inline-flex; align-items: center; justify-content: center; }
    .btn-search-text { display: none; }
    .filter-card.is-mobile-ready .filter-mobile-bar {
        display: flex;
        align-items: center;
        flex: none;
        margin: 0;
    }
    .filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 40px;
        padding: 0 12px;
        border: 1px solid #dbe6f5;
        border-radius: 8px;
        background: #f5f9ff;
        color: var(--primary);
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }
    .filter-toggle svg { color: var(--primary); }
    .filter-count {
        min-width: 17px; height: 17px; padding: 0 5px;
        display: inline-flex; align-items: center; justify-content: center;
        border-radius: 99px; background: var(--primary); color: #fff;
        font-size: 11px; font-weight: 700;
    }
    .filter-mobile-selected { display: none; }
    .filter-card.is-mobile-ready .filter-body { display: none; }
    .filter-card.is-open {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 130;
        max-height: 86vh;
        display: flex;
        flex-direction: column;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -18px 50px rgba(8, 20, 40, .22);
    }
    .filter-card.is-open .filter-top { flex: none; }
    .filter-card.is-open .filter-mobile-bar { flex: none; }
    .filter-card.is-open .filter-body {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-right: 4px;
        scrollbar-width: thin;
    }
    .filter-card.is-open .filter-foot { flex: none; }
    .filter-card.is-open .filter-toggle { background: #eef4ff; }
    .filter-mask {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 120;
        background: rgba(8, 15, 30, .48);
    }
    .filter-mask.is-on { display: block; }
    body.filter-lock { overflow: hidden; }

    /* 课程中心手机卡片：回到白底信息卡，四项信息合并为底部一行 */
    .courses-list .course-card .card-cover { aspect-ratio: 6.4 / 1; }
    .courses-list .course-card .cover-method { top: 12px; right: 12px; bottom: auto; }
    .courses-list .course-card .card-meta,
    .courses-list .course-card .card-foot { display: contents; }
    .courses-list .course-card .card-body { padding: 12px 14px 12px; }
    .courses-list .course-card .card-title { font-size: 15px; line-height: 1.45; margin-bottom: 4px; }
    .courses-list .course-card .card-summary {
        margin-bottom: 8px;
        font-size: 11px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .courses-list .course-card .card-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        margin-top: auto;
        padding-top: 9px;
        border-top: 1px solid #f1f4f9;
        font-size: 11px;
        color: var(--muted);
    }
    .courses-list .course-card .card-info .meta-item,
    .courses-list .course-card .card-info .foot-days,
    .courses-list .course-card .card-info .foot-date {
        flex: 1 1 0;
        min-width: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        white-space: nowrap;
    }
    .courses-list .course-card .card-info .meta-item:first-child { justify-content: flex-start; }
    .courses-list .course-card .card-info .foot-date {
        justify-content: flex-end;
        color: var(--primary-2);
    }
    .courses-list .course-card .card-info .meta-item.level { display: none; }
    .courses-list .course-card .card-info .ic { flex: none; }
    .courses-list .course-grid { gap: 16px; }

    /* 课程排期：两行紧凑布局，保留卡片、圆点和细线 */
    .sched-list { gap: 8px; }
    .sched-item { border-radius: 11px; }
    .sched-link {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 8px;
        row-gap: 4px;
        padding: 12px 12px 12px 38px;
    }
    .sched-date {
        grid-column: 1 / 3;
        grid-row: 1;
        font-size: 13px;
        white-space: nowrap;
    }
    .sched-state {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        padding: 2px 7px;
        font-size: 11px;
    }
    .sched-period-text { grid-column: 1; grid-row: 2; padding: 2px 6px; font-size: 12px; }
    .sched-city { grid-column: 2; grid-row: 2; font-size: 12px; }
    .sched-meta {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
        text-align: right;
        font-size: 11px;
    }
    .sched-arrow { display: none; }

    /* 月份条收紧 */
    .timeline-card { padding: 14px 16px 10px; }
    .timeline-head { align-items: center; margin-bottom: 10px; }
    .timeline-head .timeline-hint { display: none; }
    .timeline-head .timeline-swipe { display: flex; margin: 0; }
    .timeline-foot { margin-top: 10px; }
    .courses-list { padding-bottom: 10px; }
}


/* ================= v1.9.17 课程卡与首页分类统一 ================= */
/* 桌面 / 手机所有课程卡：封面压到目前约 1/3，底部两行合成一行 */
.course-card .card-cover { aspect-ratio: 16 / 3; }
.course-card .cover-method { top: 12px; right: 12px; bottom: auto; }
.course-card .card-meta,
.course-card .card-foot { display: contents; }
.course-card .card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f4f9;
    font-size: 12px;
    color: var(--muted);
}
.course-card .card-info .meta-item,
.course-card .card-info .foot-days,
.course-card .card-info .foot-date {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.course-card .card-info .meta-item,
.course-card .card-info .foot-days { flex: 0 1 auto; justify-content: flex-start; }
.course-card .card-info .foot-date {
    flex: 1 1 auto;
    justify-content: flex-end;
    color: var(--primary-2);
}
.course-card .card-info .meta-item.level { display: none; }
.course-card .card-info .ic { flex: none; }

/* 手机端：首页、课程中心课程卡统一为同一套紧凑格式 */
@media (max-width: 860px) {
    .course-card .card-cover { aspect-ratio: 6.4 / 1; }
    .course-card .card-body { padding: 12px 14px 12px; }
    .course-card .card-title { font-size: 15px; line-height: 1.45; margin-bottom: 4px; }
    .course-card .card-summary {
        margin-bottom: 8px;
        font-size: 11px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .course-card .card-info {
        padding-top: 9px;
        font-size: 11px;
    }
}

/* 手机端首页课程领域：图标和文字一行，卡片更矮更窄 */
@media (max-width: 860px) {
    .cat-card {
        flex: 0 0 176px;
        min-height: 80px;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .cat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        flex: none;
        border-radius: 10px;
    }
    .cat-icon svg { width: 24px; height: 24px; }
    .cat-main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }
    .cat-name {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 2px;
        white-space: nowrap;
    }
    .cat-count {
        font-size: 11px;
        line-height: 1.3;
    }
    .cat-arrow { display: none; }
}

/* ================= v1.9.18 重点课程推荐：三栏独立玻璃卡 ================= */
/* 桌面：高度压到原来 200px 的 4/5，三门课等权但各自独立 */
.banner-panel { height: 160px; border-radius: 16px; }
.banner-group { padding: 10px 16px 9px; gap: 0; }
.banner-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 2px 5px;
}
.banner-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .74);
}
.banner-kicker i { width: 14px; height: 1px; background: rgba(255, 255, 255, .56); }
.banner-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 18px;
    padding: 0 8px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    white-space: nowrap;
}
.banner-count b { color: #fff; font-weight: 700; }
.banner-panel.has-groups .banner-count { display: none; }
.banner-dots {
    top: 13px;
    right: 16px;
    left: auto;
    bottom: auto;
    gap: 4px;
}
.banner-dots .mini-dot { width: 5px; height: 5px; }
.banner-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    height: calc(100% - 21px);
}
.banner-tile {
    --accent: #60a5fa;
    position: relative;
    min-width: 0;
    padding: 7px 12px 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-top: 3px solid var(--accent);
    background: linear-gradient(180deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .045));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 7px 16px rgba(2, 12, 30, .12);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.banner-tile::before {
    content: "";
    position: absolute;
    right: -44px;
    top: -58px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent), transparent 66%);
    opacity: .14;
    pointer-events: none;
}
.banner-tile:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .145), rgba(255, 255, 255, .055));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 11px 22px rgba(2, 12, 30, .18);
}
.tile-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}
.tile-index {
    color: var(--accent);
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.06em;
    font-variant-numeric: tabular-nums;
}
.tile-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 16px;
    padding: 0 6px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    white-space: nowrap;
}
.tile-tag i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.banner-tile strong {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.02em;
}
.banner-tile em {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
    font-style: normal;
    font-size: 12px;
    line-height: 1.32;
    color: rgba(255, 255, 255, .68);
    white-space: normal;
}
.tile-foot {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 3px;
}
.tile-days { color: rgba(255, 255, 255, .58); font-size: 12px; white-space: nowrap; }
.tile-method { color: rgba(255, 255, 255, .72); font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-arrow {
    width: 19px;
    height: 19px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .17);
    background: rgba(255, 255, 255, .09);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}
.banner-tile:hover .tile-arrow { transform: translateX(2px); background: rgba(255, 255, 255, .16); }

/* 手机：整体高度压到原来 186.67px 的 4/5（149px），摘要两行，只留箭头 */
@media (max-width: 860px) {
    .banner-mobile-slide {
        height: 149px;
        min-height: 149px;
        padding: 11px 15px 10px;
    }
    .banner-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 5px;
    }
    .banner-mobile-slide .banner-kicker {
        margin: 0;
        font-size: 11px;
        letter-spacing: .11em;
        flex: none;
    }
    .banner-mobile-tag {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        height: 16px;
        padding: 0 7px;
        border-radius: 99px;
        border: 1px solid rgba(255, 255, 255, .13);
        background: rgba(255, 255, 255, .08);
        color: rgba(255, 255, 255, .86);
        font-size: 11px;
        white-space: nowrap;
    }
    .banner-mobile-tag i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
    .banner-mobile-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1 1 auto;
        min-height: 0;
    }
    .banner-mobile-slide strong {
        font-size: 18px;
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }
    .banner-mobile-slide em {
        width: 90%;
        margin-top: 3px;
        font-size: 13px;
        line-height: 1.35;
        -webkit-line-clamp: 2;
    }
    .banner-mobile-foot {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        flex: none;
        padding-top: 4px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }
    .banner-mobile-days { font-size: 12px; color: rgba(255, 255, 255, .58); white-space: nowrap; }
    .banner-mobile-method { font-size: 12px; color: rgba(255, 255, 255, .72); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .banner-mobile-arrow {
        width: 20px;
        height: 20px;
        flex: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, .17);
        background: rgba(255, 255, 255, .09);
        color: #fff;
        font-size: 11px;
        line-height: 1;
    }
}

/* ================= v1.9.20 重点课程推荐：加高 + 图标城市 + 更大间距 ================= */
.banner-panel { height: 178px; }
.banner-group { padding: 12px 34px; }
.banner-group-head {
    height: 18px;
    margin: 0 2px 5px;
    justify-content: flex-start;
}
.banner-kicker {
    gap: 8px;
    font-size: 13px;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .76);
}
.banner-kicker i { width: 16px; }
.banner-count { display: none; }
.banner-tiles {
    gap: 24px;
    height: calc(100% - 23px);
}
.banner-tile {
    padding: 9px 14px 8px;
    border-radius: 12px;
}
.tile-index { font-size: 21px; }
.tile-tag {
    height: 18px;
    padding: 0 7px;
    font-size: 12px;
}
.banner-tile strong { font-size: 18px; }
.banner-tile em {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.32;
    color: rgba(255, 255, 255, .72);
}
.tile-foot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 8px;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.tile-days,
.tile-method,
.tile-city,
.tile-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: rgba(255, 255, 255, .70);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tile-days { justify-self: start; }
.tile-method { justify-self: center; color: rgba(255, 255, 255, .72); }
.tile-city { justify-self: center; color: rgba(255, 255, 255, .68); }
.tile-date { justify-self: center; color: rgba(255, 255, 255, .78); }
.tile-days svg,
.tile-method svg,
.tile-city svg,
.tile-date svg { width: 14px; height: 14px; flex: none; opacity: .62; }
.tile-arrow {
    width: 22px;
    height: 22px;
    font-size: 0;
}
.tile-arrow svg { width: 11px; height: 11px; }

@media (max-width: 860px) {
    .banner-mobile-slide {
        height: 164px;
        min-height: 164px;
        padding: 12px 16px 11px;
    }
    .banner-mobile-top { margin-bottom: 4px; }
    .banner-mobile-slide .banner-kicker { font-size: 12px; letter-spacing: .1em; }
    .banner-mobile-tag { height: 18px; font-size: 12px; }
    .banner-mobile-slide strong { font-size: 18px; line-height: 1.25; }
    .banner-mobile-slide em {
        width: 96%;
        font-size: 13px;
        line-height: 1.35;
    }
    .banner-mobile-foot {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 6px;
        padding-top: 5px;
    }
    .banner-mobile-days,
    .banner-mobile-method,
    .banner-mobile-city,
    .banner-mobile-date {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
        color: rgba(255, 255, 255, .70);
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .banner-mobile-days { justify-self: start; }
    .banner-mobile-method { justify-self: center; }
    .banner-mobile-city { justify-self: start; }
    .banner-mobile-date { justify-self: end; color: rgba(255, 255, 255, .78); }
    .banner-mobile-days svg,
    .banner-mobile-method svg,
    .banner-mobile-city svg,
    .banner-mobile-date svg { width: 13px; height: 13px; flex: none; opacity: .62; }
    .banner-mobile-arrow { width: 22px; height: 22px; font-size: 0; }
    .banner-mobile-arrow svg { width: 11px; height: 11px; }
}

/* ================= v1.9.21 课程详情右栏 ================= */
/* 去掉大封面，右栏只做咨询转化；按钮并排收紧，避免整栏长条 */
.side-card {
    padding: 14px 14px 12px;
    border-radius: 18px;
    border-color: #dbe7f7;
    background:
        radial-gradient(160px 120px at 100% 0%, #f2f8ff 0%, rgba(242,248,255,0) 72%),
        linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 14px 36px rgba(18, 44, 84, .10), 0 2px 6px rgba(18, 44, 84, .04);
    gap: 10px;
}
.side-kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 2px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .12em;
    font-weight: 700;
    color: #6c8bb6;
}
.side-kicker::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}
.side-cta-row {
    display: flex;
    gap: 8px;
    width: 100%;
}
.side-cta-row .btn {
    height: 44px;
    border-radius: 12px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.side-cta-row .btn-consult {
    flex: 1.6;
    background: #ffffff;
    color: #1d4ed8;
    border: 1px solid #cfdff7;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .06);
}
.side-cta-row .btn-consult svg { color: #2563eb; }
.side-cta-row .btn-consult:hover { border-color: #a9c7ee; background: #f8fbff; }
.side-cta-row .btn-share {
    flex: 1;
    background: #ffffff;
    color: #087a53;
    border: 1px solid #c8e8da;
    box-shadow: 0 4px 12px rgba(15, 159, 110, .06);
    font-weight: 600;
    font-size: 13px;
}
.side-cta-row .btn-share svg { color: #0a9b68; }
.side-note {
    border-top: 1px solid #edf2f9;
    padding-top: 8px;
    margin-top: 2px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
}
.side-note p {
    justify-content: flex-start;
    font-size: 12px;
}
.side-note .side-tel {
    font-size: 17px;
    margin: 1px 0;
    letter-spacing: .2px;
}
.side-note .side-hours {
    flex: 1 0 100%;
    font-size: 12px;
    margin-left: 21px;
}

/* =========================================================
   文章中心 / 文章分类 / 文章详情
   ========================================================= */
.article-kicker {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; letter-spacing: .12em; font-weight: 700;
    color: #9fc4f4; text-transform: none;
}
.article-kicker.dark { color: #5d7ea9; }
.article-kicker.dark .ic { color: #2563eb; }
.article-kicker .ic { opacity: .9; }

/* ---------- 文章中心首屏 ---------- */
.article-hero {
    position: relative; overflow: hidden;
    background: #0b1d3d;
    color: #fff;
    padding: 74px 0 68px;
}
.article-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(680px 380px at 82% 8%, rgba(59, 130, 246, .32), transparent 70%),
        radial-gradient(460px 320px at 12% 100%, rgba(29, 78, 216, .26), transparent 72%),
        linear-gradient(125deg, #08162f 0%, #0d2551 52%, #123a79 100%);
}
.article-hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.6), transparent 70%);
    pointer-events: none;
}
.article-hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
    gap: 60px; align-items: end;
}
.article-hero-copy h1 {
    margin: 16px 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.28;
    letter-spacing: -.02em;
    font-weight: 700;
}
.article-hero-copy p { margin: 0; max-width: 680px; color: rgba(226, 238, 255, .72); font-size: 15px; line-height: 1.9; }
.article-hero-search {
    display: flex; align-items: center; gap: 10px;
    width: 100%; max-width: 660px; margin-top: 28px;
    background: rgba(255, 255, 255, .98);
    border-radius: 12px;
    padding: 7px 7px 7px 16px;
    box-shadow: 0 18px 40px rgba(2, 12, 32, .32);
}
.article-hero-search .article-search-icon { color: #64748b; display: inline-flex; }
.article-hero-search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font-size: 15px; color: var(--ink); padding: 10px 0;
}
.article-hero-search button {
    flex: 0 0 auto;
    border: 0; border-radius: 8px; cursor: pointer;
    background: linear-gradient(135deg, #1949a8, #2f75e8);
    color: #fff; font-size: 14px; font-weight: 600;
    padding: 11px 20px;
}
.article-hero-search button:hover { filter: brightness(1.08); }
.article-hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; color: rgba(219, 234, 255, .65); font-size: 12px; }
.article-hero-stats b { color: #fff; font-size: 17px; font-weight: 700; margin-right: 2px; }
.article-hero-stats .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(159, 196, 244, .7); }
.article-hero-note {
    border-left: 1px solid rgba(255, 255, 255, .16);
    padding: 4px 0 4px 26px;
    margin-bottom: 6px;
}
.article-note-index { font-size: 12px; letter-spacing: .2em; color: #6ea8f8; font-weight: 700; }
.article-hero-note p { margin: 14px 0 18px; color: rgba(226, 238, 255, .82); font-size: 14px; line-height: 1.95; }
.article-hero-note strong { color: #fff; font-weight: 600; }
.article-note-line { width: 42px; height: 1px; background: rgba(255,255,255,.28); }
.article-note-sign { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .08em; color: rgba(159, 196, 244, .7); }

/* ---------- 分类入口 ---------- */
.article-cat-section { background: #fff; padding: 52px 0 58px; border-bottom: 1px solid #edf1f7; }
.article-section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 24px;
}
.article-section-title { margin: 7px 0 0; font-size: 26px; line-height: 1.25; letter-spacing: -.01em; }
.article-section-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #2563eb; white-space: nowrap; }
.article-section-link .ic { transition: transform .2s; }
.article-section-link:hover .ic { transform: translateX(4px); }
.article-section-note { font-size: 12px; color: var(--muted-2); }
.article-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-cat-card {
    position: relative; display: flex; flex-direction: column;
    min-height: 150px; padding: 20px 20px 18px;
    background: #fbfdff;
    border: 1px solid #e6edf7;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s, box-shadow .2s;
}
.article-cat-card::before {
    content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
    background: var(--ac, #3b82f6); opacity: .9;
}
.article-cat-card:hover { transform: translateY(-3px); border-color: #cfe0f7; box-shadow: 0 12px 28px rgba(30,64,175,.09); }
.article-cat-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    color: #fff; background: var(--ac, #3b82f6); margin-bottom: 12px;
}
.article-cat-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.article-cat-count { font-size: 12px; color: #7790ae; margin-top: 3px; }
.article-cat-children { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; color: #7b90ac; font-size: 12px; }
.article-cat-children em { font-style: normal; }
.article-cat-arrow { position: absolute; right: 18px; bottom: 18px; color: var(--ac); opacity: .65; }

/* ---------- 最新文章 ---------- */
.article-latest-section { padding-top: 54px; padding-bottom: 70px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    overflow: hidden; box-shadow: 0 5px 18px rgba(30, 64, 175, .055);
    transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.article-cover {
    position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
    background: var(--ac, #3b82f6);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.article-card:hover .article-cover img { transform: scale(1.035); }
.article-cover-fallback {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    color: #fff;
    background:
        radial-gradient(90% 100% at 15% 0%, rgba(255,255,255,.24), transparent 62%),
        linear-gradient(135deg, rgba(6,16,40,.28), rgba(6,16,40,.02));
}
.article-cover-fallback::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 14px 14px; opacity: .5;
}
.article-cover-icon, .article-cover-tag { position: relative; z-index: 1; }
.article-cover-icon { opacity: .9; }
.article-cover-tag { font-size: 12px; letter-spacing: .12em; opacity: .92; }
.article-paid-badge {
    position: absolute; top: 11px; right: 11px; z-index: 2;
    background: rgba(15, 23, 42, .78); color: #fef3c7;
    font-size: 12px; padding: 3px 8px; border-radius: 5px;
}
.article-card-body { min-width: 0; padding: 16px 17px 15px; display: flex; flex-direction: column; flex: 1; }
.article-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: #8a9bb1; margin-bottom: 9px; }
.article-cat-link { color: #2563eb; font-size: 12px; font-weight: 600; }
.article-cat-link:hover { text-decoration: underline; }
.article-card-title { margin: 0 0 8px; font-size: 17px; line-height: 1.5; font-weight: 700; letter-spacing: -.01em; }
.article-card-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-title a:hover { color: #1d4ed8; }
.article-card-summary {
    margin: 0 0 14px; flex: 1; color: #61738b; font-size: 12px; line-height: 1.75;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #f0f4f9; padding-top: 11px; font-size: 12px; color: #8496ad; }
.article-author { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.article-author .ic { color: #98a9bf; }
.article-read-more { display: inline-flex; align-items: center; gap: 4px; color: #2563eb; font-weight: 600; white-space: nowrap; }
.article-read-more .ic { transition: transform .2s; }
.article-read-more:hover .ic { transform: translateX(3px); }

/* ---------- 分类 / 搜索页头 ---------- */
.article-page-head {
    padding: 26px 0 24px;
    background: linear-gradient(180deg, #fff 0%, #f4f8fd 100%);
}
.article-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: #8ca0b8; margin-bottom: 18px; }
.article-crumb a:hover { color: #2563eb; }
.article-crumb .current { color: #41536b; }
.article-crumb-light { color: rgba(210, 228, 255, .62); margin-bottom: 22px; }
.article-crumb-light a:hover { color: #fff; }
.article-crumb-light .current { color: rgba(255,255,255,.9); }
.article-page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.article-head-count { flex: none; text-align: right; line-height: 1.2; padding-bottom: 2px; }
.article-head-count strong { display: block; font-size: 32px; font-weight: 700; color: #1e40af; letter-spacing: -.03em; }
.article-head-count span { font-size: 12px; color: #8396ad; }

/* ---------- 分类页两栏 ---------- */
.article-layout { padding: 30px 0 64px; background: var(--bg); }
.article-layout-inner { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 24px; align-items: start; }
.article-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 14px; }
.article-side-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-compact);
    padding: 16px; box-shadow: 0 4px 16px rgba(30,64,175,.045);
}
.article-side-title {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: #52657d;
    padding-bottom: 12px; margin-bottom: 10px;
    border-bottom: 1px solid #f0f4f9;
}
.article-side-title .ic { color: #3b82f6; }
.article-side-title > span { display: inline-flex; align-items: center; gap: 6px; }
.article-filter-clear { margin-left: auto; font-size: 12px; color: #8aa0ba; font-weight: 400; }
.article-filter-clear:hover { color: #2563eb; }
.article-cat-list { display: flex; flex-direction: column; gap: 2px; }
.article-cat-item {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 8px 8px 8px calc(8px + var(--indent, 0px));
    border-radius: 7px; font-size: 13px; color: #40546d;
}
.article-cat-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-cat-item b { flex: none; font-size: 12px; color: #9bacc0; font-weight: 500; }
.article-cat-item:hover { background: #f6f9ff; color: #1d4ed8; }
.article-cat-item.active { background: #edf4ff; color: #1d4ed8; font-weight: 700; }
.article-cat-item.active b { color: #2563eb; }
.article-subcat-list { display: flex; flex-wrap: wrap; gap: 7px; }
.article-subcat-list a { font-size: 12px; padding: 5px 9px; border-radius: 6px; background: #f5f8fd; color: #526a88; }
.article-subcat-list a span { color: #94a3b8; margin-left: 4px; font-size: var(--fs-2xs); }
.article-subcat-list a:hover { background: #edf4ff; color: #2563eb; }
.article-filter-group { padding: 3px 0 13px; }
.article-filter-group + .article-filter-group { border-top: 1px dashed #eef2f8; padding-top: 12px; }
.article-filter-label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #41536b; margin-bottom: 8px; }
.article-filter-label em { font-style: normal; font-size: var(--fs-2xs); color: #2563eb; background: #eff5ff; border-radius: 4px; padding: 1px 5px; }
.article-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.article-filter-chips .chip { font-size: var(--fs-xs); padding: 4px 10px; }
.chip.is-on { background: #1e40af; border-color: #1e40af; color: #fff; }
.chip.is-on .ic { margin-right: 2px; }

.article-main { min-width: 0; }
.article-main-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.article-inline-search {
    display: flex; align-items: center; gap: 8px; min-width: 280px; flex: 1; max-width: 470px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px 5px 4px 12px;
}
.article-inline-search:focus-within { border-color: #bfd5f6; box-shadow: 0 0 0 3px rgba(59,130,246,.07); }
.article-inline-search span { display: inline-flex; color: #94a3b8; }
.article-inline-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 7px 0; font-size: 13px; }
.article-inline-search button { flex: 0 0 auto; border: 0; background: #f1f6ff; color: #2563eb; border-radius: 6px; font-size: 12px; padding: 7px 12px; cursor: pointer; }
.article-main-meta { font-size: 12px; color: #93a5ba; white-space: nowrap; }
.article-active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: -4px 0 15px; font-size: 12px; }
.article-active-label { color: #8497ad; }
.article-active-chip { display: inline-flex; align-items: center; gap: 4px; background: #edf4ff; color: #2563eb; border-radius: 5px; padding: 3px 7px; }
.article-active-chip:hover { background: #e2edff; }

.article-list { display: flex; flex-direction: column; gap: 13px; }
.article-row {
    position: relative;
    display: grid; grid-template-columns: 196px minmax(0, 1fr);
    background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 16px rgba(30,64,175,.045);
    transition: transform .2s ease, box-shadow .2s, border-color .2s;
}
.article-row:hover { transform: translateY(-2px); border-color: #d6e3f4; box-shadow: 0 12px 26px rgba(30,64,175,.09); }
.article-row:focus-within { border-color: #bfd4f2; box-shadow: 0 0 0 3px rgba(37,99,235,.12), 0 12px 26px rgba(30,64,175,.09); }
.article-row-cover {
    position: relative; z-index: 2; display: block; overflow: hidden; background: var(--ac, #3b82f6); min-height: 142px;
}
.article-row-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.article-row-cover .article-cover-tag { font-size: 12px; }
.article-row-body { padding: 15px 18px 14px; display: flex; flex-direction: column; min-width: 0; }
.article-row-top { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: #93a5ba; margin-bottom: 5px; }
.article-row-divider { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }
.article-row-title { margin: 0 0 5px; font-size: 18px; line-height: 1.45; font-weight: 700; letter-spacing: -.01em; }
.article-row-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 标题链接的透明拉伸层：标题、摘要、日期和卡片空白区整卡可点；分类与封面单独可点。 */
.article-row-hit::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.article-row-title a:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.article-row:hover .article-row-title a,
.article-row:focus-within .article-row-title a { color: #1d4ed8; }
.article-cat-link { position: relative; z-index: 2; }
.article-row-summary { margin: 0; color: #64748b; font-size: 12px; line-height: 1.72; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-row-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.article-row-attrs { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.article-mini-attr { font-size: 12px; color: #8698ad; background: #f6f9fd; border-radius: 4px; padding: 2px 6px; }
.article-mini-attr b { color: #51677f; font-weight: 600; margin-left: 3px; }
.article-pager { margin-top: 26px; }
.article-list-foot { text-align: right; color: #a1b1c3; font-size: 12px; margin-top: 10px; }

.article-empty { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 52px 24px; text-align: center; }
.article-empty h3 { margin: 12px 0 6px; font-size: 18px; }
.article-empty p { max-width: 500px; margin: 0 auto 18px; color: #7790ab; font-size: 13px; }
.article-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.article-empty-list { padding: 58px 24px; }

/* ---------- 文章详情 ---------- */
.article-detail-hero {
    background: #0b1d3d;
    color: #fff;
    padding: 30px 0 52px;
    background-image:
        radial-gradient(640px 360px at 82% 12%, rgba(59,130,246,.26), transparent 70%),
        linear-gradient(120deg, #08162f 0%, #0d2551 60%, #123a79 100%);
}
.article-detail-head-main { max-width: 880px; }
.article-detail-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.article-detail-kicker .article-cat-link { color: #a8c8f5; font-size: 12px; }
.article-paid-pill { font-size: 12px; color: #fde68a; border: 1px solid rgba(253,230,138,.35); padding: 1px 7px; border-radius: 4px; }
.article-detail-title { margin: 0 0 14px; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.32; letter-spacing: -.02em; font-weight: 700; }
.article-detail-lead { max-width: 780px; margin: 0 0 19px; color: rgba(225, 238, 255, .74); font-size: 14px; line-height: 1.9; }
.article-detail-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: rgba(198, 218, 245, .72); }
.article-detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-detail-meta .ic { opacity: .75; }

.article-detail-body-wrap { padding: 34px 0 20px; background: var(--bg); }
.article-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.article-detail-main {
    min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 34px 38px 24px; box-shadow: 0 6px 20px rgba(30,64,175,.05);
}
.article-detail-cover { margin: 0 0 26px; border-radius: 11px; overflow: hidden; background: #eff4fb; }
.article-detail-cover img { width: 100%; max-height: 440px; object-fit: cover; }
.article-content { font-size: 15px; line-height: 1.9; color: #334155; }
.article-content p { margin: 0 0 16px; }
/* 正文里遗留的 h1 一律按段落兜底，避免旧文章开篇被放大；正常 h1 已归一为 h2 */
.article-content h1 { font-size: inherit; line-height: inherit; font-weight: 400; margin: 0 0 18px; color: inherit; letter-spacing: 0; }
.article-content h2 { font-size: 22px; margin: 32px 0 14px; color: #0f172a; letter-spacing: -.01em; }
.article-content h3 { font-size: 18px; margin: 26px 0 10px; color: #14243d; }
.article-content img { border-radius: 10px; }
.article-content blockquote { margin: 20px 0; background: #f6f9fe; border-left: 3px solid #3b82f6; padding: 14px 18px; color: #3b5068; }
.article-content table { font-size: 13px; }
.article-paywall {
    display: flex; gap: 16px; align-items: flex-start;
    margin: 28px 0 8px; padding: 22px 22px;
    background: linear-gradient(135deg, #f3f8ff, #fbfdff);
    border: 1px solid #dce9fb; border-radius: 12px;
}
.article-paywall-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #e6f0ff; color: #2563eb; }
.article-paywall h3 { margin: 0 0 5px; font-size: 16px; color: #1e3a63; }
.article-paywall p { margin: 0 0 13px; color: #6c8099; font-size: 12px; line-height: 1.8; }
.article-paywall .btn { padding: 8px 14px; font-size: 12px; }
.article-detail-attrs { margin-top: 28px; padding-top: 22px; border-top: 1px solid #edf1f6; }
.article-detail-attrs-title { font-size: 12px; font-weight: 700; color: #52657d; margin-bottom: 12px; }
.article-detail-attr-list { display: flex; flex-direction: column; gap: 8px; }
.article-attr-row { display: flex; align-items: flex-start; gap: 12px; }
.article-attr-name { flex: none; width: 72px; font-size: 12px; color: #8aa0b9; }
.article-attr-values { display: flex; flex-wrap: wrap; gap: 6px; }
.article-attr-values em { font-style: normal; font-size: 12px; color: #345d92; background: #f2f7ff; border-radius: 4px; padding: 3px 8px; }
.article-detail-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 17px; border-top: 1px solid #edf1f6; font-size: 12px; }
.article-back { display: inline-flex; align-items: center; gap: 5px; color: #61758d; }
.article-back .ic { transform: rotate(180deg); }
.article-back:hover { color: #2563eb; }
.article-source { color: #96a8bc; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-source a { color: #5e7ba1; }

.article-detail-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
.article-info-list { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 7px 10px; margin: 0; font-size: 12px; }
.article-info-list dt { color: #91a3b8; }
.article-info-list dd { margin: 0; color: #41536b; min-width: 0; overflow-wrap: anywhere; }
.article-info-list dd a { color: #2563eb; }
.article-related-list { display: flex; flex-direction: column; gap: 12px; }
.article-related-list a { display: flex; flex-direction: column; gap: 4px; padding-bottom: 10px; border-bottom: 1px dashed #edf1f6; }
.article-related-list a:last-child { padding-bottom: 0; border-bottom: 0; }
.article-related-cat { font-size: 12px; color: var(--ac, #3b82f6); }
.article-related-list strong { font-size: 12px; line-height: 1.6; color: #334155; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-related-list strong a:hover { color: #2563eb; }
.article-related-list a:hover strong { color: #2563eb; }
.article-related-list em { font-style: normal; font-size: 12px; color: #a1b1c3; }
.article-related-section { padding-top: 26px; padding-bottom: 70px; }

/* ---------- 文章页响应式 ---------- */
@media (max-width: 1080px) {
    .article-hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr); gap: 34px; }
    .article-hero-note { padding-left: 18px; }
    .article-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-layout-inner { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; }
    .article-detail-grid { grid-template-columns: minmax(0, 1fr) 268px; gap: 22px; }
}
@media (max-width: 860px) {
    .article-hero { padding: 48px 0 42px; }
    .article-hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .article-hero-copy h1 { font-size: 31px; }
    .article-hero-note { display: none; }
    .article-hero-search { margin-top: 20px; }
    .article-cat-section { padding: 38px 0 42px; }
    .article-section-title { font-size: 22px; }
    .article-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .article-cat-card { min-height: 132px; padding: 15px 14px; }
    .article-layout { padding: 22px 0 45px; }
    .article-layout-inner { display: block; }
    .article-side { position: static; display: block; margin-bottom: 18px; }
    .article-side-card { padding: 14px 13px; }
    .article-side + .article-side { margin-top: 12px; }
    .article-side-card + .article-side-card { margin-top: 12px; }
    .article-cat-list { display: flex; flex-direction: row; flex-wrap: wrap; gap: 5px; }
    .article-cat-item { padding: 6px 9px; background: #f6f9fd; border-radius: 6px; }
    .article-filter-card { max-height: none; }
    .article-filter-group { padding-bottom: 10px; }
    .article-main-toolbar { display: block; }
    .article-inline-search { max-width: none; margin-bottom: 8px; }
    .article-main-meta { display: block; }
    .article-row { grid-template-columns: 132px minmax(0, 1fr); }
    .article-row-cover { min-height: 126px; }
    .article-row-body { padding: 12px 13px 11px; }
    .article-row-title { font-size: 15px; }
    .article-row-summary { -webkit-line-clamp: 2; font-size: 12px; }
    .article-row-foot { margin-top: 7px; }
    .article-row-attrs { display: none; }
    .article-detail-hero { padding: 22px 0 36px; }
    .article-detail-title { font-size: 27px; }
    .article-detail-body-wrap { padding: 22px 0 12px; }
    .article-detail-grid { display: block; }
    .article-detail-main { padding: 22px 18px 18px; }
    .article-detail-side { position: static; margin-top: 16px; }
    .article-related-section { padding-top: 20px; padding-bottom: 46px; }
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .article-card-body { min-width: 0; padding: 12px 13px; }
    .article-card-title { font-size: 15px; }
    .article-card-summary { font-size: 12px; }
    .article-card-foot { font-size: 12px; padding-top: 9px; }
}
@media (max-width: 620px) {
    .article-hero { padding: 38px 0 34px; }
    .article-hero-copy h1 { font-size: 27px; line-height: 1.32; }
    .article-hero-copy p { font-size: 13px; }
    .article-hero-search { display: flex; padding: 5px 5px 5px 12px; }
    .article-hero-search input { font-size: 14px; padding: 9px 0; }
    .article-hero-search button { padding: 9px 13px; font-size: 12px; }
    .article-hero-stats { gap: 8px; font-size: 12px; }
    .article-hero-stats b { font-size: 15px; }
    .article-cat-section { padding: 30px 0 34px; }
    .article-cat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .article-cat-card { min-height: 118px; padding: 13px 12px; }
    .article-cat-icon { width: 30px; height: 30px; margin-bottom: 8px; }
    .article-cat-name { font-size: 14px; }
    .article-cat-children { display: none; }
    .article-section-head { align-items: flex-start; gap: 10px; }
    .article-section-title { font-size: 20px; }
    .article-section-link { font-size: 12px; margin-top: 4px; }
    .article-section-note { display: none; }
    .article-page-head { padding: 20px 0 20px; }
    .article-page-head-row { display: block; }
    .article-head-count { margin-top: 12px; text-align: left; }
    .article-head-count strong { display: inline; font-size: 22px; margin-right: 4px; }
    .article-head-count span { font-size: 12px; }
    .article-layout { padding: 16px 0 38px; }
    .article-row { display: block; }
    .article-row-cover { min-height: 0; aspect-ratio: 16 / 6; max-height: 190px; }
    .article-row-body { padding: 12px 13px 11px; }
    .article-row-title { font-size: 15px; }
    .article-row-summary { -webkit-line-clamp: 2; }
    .article-detail-hero { padding: 18px 0 30px; }
    .article-detail-title { font-size: 24px; line-height: 1.38; }
    .article-detail-lead { font-size: 13px; }
    .article-detail-meta { gap: 10px 14px; font-size: 12px; }
    .article-detail-main { padding: 18px 15px 14px; }
    .article-content { font-size: 15px; line-height: 1.8; }
    .article-detail-cover { margin-bottom: 18px; }
    .article-paywall { display: block; padding: 17px 16px; }
    .article-paywall-icon { margin-bottom: 10px; }
    .article-attr-name { width: 64px; }
    .article-detail-foot { display: block; }
    .article-source { display: block; margin-top: 8px; white-space: normal; max-width: none; }
    .article-grid { grid-template-columns: 1fr; }
    .article-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
    .article-cover { aspect-ratio: auto; min-height: 122px; height: 100%; }
    .article-card-body { min-width: 0; padding: 11px 12px; }
    .article-card-title { font-size: 15px; -webkit-line-clamp: 2; }
    .article-card-summary { -webkit-line-clamp: 2; margin-bottom: 7px; }
    .article-card-foot { padding-top: 7px; }
}

@media (max-width: 1080px) {
    .article-cat-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* 移动端文章属性筛选：默认折叠，避免筛选墙挤压首条结果 */
.article-filter-toggle { position: absolute; opacity: 0; pointer-events: none; }
.article-filter-toggle-label { display: none; }
@media (max-width: 860px) {
    .article-filter-toggle-label {
        display: flex; align-items: center; justify-content: space-between; gap: 8px;
        margin: 0 0 12px; padding: 10px 13px; background: #fff; border: 1px solid var(--line);
        border-radius: 10px; color: #24415f; font-size: 13px; font-weight: 600; cursor: pointer;
    }
    .article-filter-toggle-label span { flex: 1; }
    .article-filter-toggle-label b { color: #2563eb; font-size: 12px; font-weight: 500; }
    .article-filter-toggle-label i { display: inline-flex; color: #8aa0bb; transition: transform .18s ease; }
    .article-filter-card { display: none; }
    .article-filter-toggle:checked ~ .article-filter-card { display: block; }
    .article-filter-toggle:checked ~ .article-filter-toggle-label i { transform: rotate(90deg); }
}

/* ---------- 全站搜索 ---------- */
.search-hero {
    background: #0b1d3d;
    color: #fff;
    padding: 22px 0 32px;
    background-image:
        radial-gradient(620px 300px at 84% 8%, rgba(59,130,246,.24), transparent 70%),
        linear-gradient(120deg, #08162f 0%, #0d2551 62%, #123a79 100%);
}
.search-crumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(198,218,245,.65); }
.search-crumb a { color: rgba(225,238,255,.82); }
.search-crumb a:hover { color: #fff; }
.search-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin: 16px 0 20px; }
.search-hero-copy { min-width: 0; }
.search-kicker { display: inline-flex; align-items: center; gap: 6px; color: #2563eb; font-size: 12px; font-weight: 600; }
.search-hero .search-kicker { color: #a8c8f5; }
.search-hero h1 { margin: 7px 0 8px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.22; letter-spacing: -.02em; font-weight: 700; }
.search-hero p { margin: 0; max-width: 720px; color: rgba(225,238,255,.72); font-size: 13px; line-height: 1.8; }
.search-hero-stat { flex: none; text-align: right; padding-bottom: 3px; }
.search-hero-stat strong { display: block; font-size: 38px; line-height: 1; color: #fff; letter-spacing: -.03em; }
.search-hero-stat span { display: block; margin-top: 6px; font-size: 12px; color: rgba(198,218,245,.7); }
.search-page-form {
    display: flex; align-items: center; gap: 8px; max-width: 880px;
    background: #fff; border-radius: 12px; padding: 5px 6px 5px 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.search-page-form:focus-within { box-shadow: 0 0 0 4px rgba(147,197,253,.18), 0 14px 34px rgba(0,0,0,.2); }
.search-page-icon { display: inline-flex; color: #8aa0bb; flex: none; }
.search-page-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 9px 0; color: var(--ink); font-size: 16px; }
.search-page-form input::placeholder { color: #9bacc0; }
.search-page-form button {
    flex: none; border: 0; cursor: pointer; padding: 12px 24px; border-radius: 8px;
    background: linear-gradient(135deg, #1e40af, #3b82f6); color: #fff; font-size: 14px; font-weight: 600;
}
.search-page-form button:hover { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.search-hero-hint { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 10px; color: rgba(198,218,245,.62); font-size: 12px; }
.search-hero-hint-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(198,218,245,.45); }

.search-body { padding: 28px 0 54px; }
.search-suggest-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; box-shadow: var(--shadow); }
.search-suggest-head h2 { margin: 7px 0 0; font-size: 21px; letter-spacing: -.01em; }
.search-hot-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.search-hot-list a {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
    background: #f6f9ff; border: 1px solid #e4edfa; border-radius: 8px;
    color: #31557d; font-size: 13px; transition: background .18s, border-color .18s, color .18s;
}
.search-hot-list a:hover { background: #edf4ff; border-color: #c9dcf5; color: #1d4ed8; }
.search-hot-list a span { display: inline-flex; color: #8aa0bb; }

.search-tabs { display: flex; align-items: center; gap: 4px; width: fit-content; padding: 4px; margin-bottom: 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.search-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 7px; color: #526a88; font-size: 13px; }
.search-tabs a:hover { background: #f5f9ff; color: #1d4ed8; }
.search-tabs a.is-on { background: #eaf2ff; color: #1d4ed8; font-weight: 700; }
.search-tabs a span { display: inline-flex; min-width: 18px; justify-content: center; padding: 1px 5px; border-radius: 4px; background: #f1f5fb; color: #7b8da4; font-size: 12px; font-weight: 500; }
.search-tabs a.is-on span { background: #fff; color: #2563eb; }

.search-result-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 18px; font-size: 12px; color: #7b8da4; }
.search-result-head p { margin: 0; }
.search-result-head strong { color: #1d4ed8; font-size: 18px; margin: 0 3px; }
.search-advanced-link { display: inline-flex; align-items: center; gap: 5px; color: #2563eb; font-size: 12px; }
.search-advanced-link:hover { color: #1d4ed8; }

.search-section { margin-top: 28px; }
.search-section:first-of-type { margin-top: 0; }
.search-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.search-section-head h2 { margin: 5px 0 0; font-size: 21px; letter-spacing: -.01em; }
.search-section-head h2 small { margin-left: 6px; color: #93a5ba; font-size: 12px; font-weight: 500; }
.search-section-link { display: inline-flex; align-items: center; gap: 5px; color: #2563eb; font-size: 12px; white-space: nowrap; }
.search-section-link:hover { color: #1d4ed8; }
.search-course-grid { margin-top: 0; }
.search-article-list { margin-top: 0; }
.search-pager { margin-top: 22px; }

.search-no-result { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 52px 24px; text-align: center; box-shadow: var(--shadow); }
.search-no-result-icon { display: inline-flex; color: #9cb2c9; }
.search-no-result h2 { margin: 12px 0 6px; font-size: 22px; letter-spacing: -.01em; }
.search-no-result p { max-width: 520px; margin: 0 auto 20px; color: #7790ab; font-size: 13px; line-height: 1.8; }
.search-no-result-form {
    display: flex; align-items: center; gap: 8px; max-width: 480px;
    margin: 0 auto 18px; padding: 4px 5px 4px 13px;
    background: #f8fbff; border: 1px solid #dfeaf9; border-radius: 10px;
}
.search-no-result-form:focus-within { border-color: #bcd4f6; box-shadow: 0 0 0 3px rgba(59,130,246,.10); }
.search-no-result-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 9px 0; color: var(--ink); font-size: 15px; }
.search-no-result-form button {
    flex: none; border: 0; cursor: pointer; padding: 9px 15px; border-radius: 7px;
    background: #1e40af; color: #fff; font-size: 13px; font-weight: 600;
}
.search-no-result-form button:hover { background: #1d4ed8; }

/* 详情页通栏幻灯片：紧贴页头、整幅通栏，文字与页面内容左边线对齐 */
.detail-slides-section { width: 100%; margin: 0; padding: 0; background: #0f1f3a; }
.detail-slides {
    position: relative; height: var(--detail-slides-h, 124px); overflow: hidden;
    background: var(--slides-bg, #14307c);
    isolation: isolate;
}
.detail-slides-item {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
    background: var(--slides-bg, #14307c);
}
.detail-slides-item.is-active { opacity: 1; visibility: visible; }
.detail-slides-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.detail-slides-shade {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(6, 20, 46, .72) 0%, rgba(6, 20, 46, .38) 56%, rgba(6, 20, 46, .04) 100%);
}
.detail-slides-copy {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; pointer-events: none;
}
.detail-slides-inner {
    width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 42px; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 5px; color: #fff;
}
.detail-slides-title, .detail-slides-sub {
    max-width: min(760px, 82%);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
    overflow: hidden; white-space: normal; overflow-wrap: anywhere; word-break: keep-all;
}
.detail-slides-title {
    margin: 0; font-size: 19px; line-height: 1.25; font-weight: 700;
    letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0,0,0,.2);
}
.detail-slides-sub { margin: 0; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.88); }
.detail-slides-btn {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 4px;
    padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.95);
    color: #14307c; font-size: 12px; font-weight: 700; line-height: 1.4;
}
.detail-slides-link { position: absolute; inset: 0; z-index: 3; }
.detail-slides-dots { position: absolute; right: 42px; bottom: 11px; z-index: 4; display: flex; gap: 5px; }
.detail-slides-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.42); box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.detail-slides-dot.is-active { background: #fff; }
.detail-slides.is-center .detail-slides-inner { align-items: center; text-align: center; }
.detail-slides.is-center .detail-slides-title,
.detail-slides.is-center .detail-slides-sub { max-width: min(860px, 92%); }
.detail-slides.is-center .detail-slides-shade {
    background: linear-gradient(90deg, rgba(6,20,46,.22) 0%, rgba(6,20,46,.58) 50%, rgba(6,20,46,.22) 100%);
}
@media (max-width: 760px) {
    .detail-slides { height: calc(var(--detail-slides-h, 124px) * .84); }
    .detail-slides-inner { padding: 0 18px; gap: 3px; }
    .detail-slides-title, .detail-slides-sub { max-width: 100%; -webkit-line-clamp: 2; line-clamp: 2; }
    .detail-slides-title { font-size: 14px; line-height: 1.3; }
    .detail-slides-sub { font-size: 12px; line-height: 1.45; }
    .detail-slides-btn { margin-top: 2px; padding: 4px 9px; font-size: 12px; }
    .detail-slides-dots { right: 20px; bottom: 8px; gap: 4px; }
    .detail-slides-dot { width: 4px; height: 4px; }
}

/* 单页内容 */
.page-single-body { padding: 26px 0 54px; }
.page-single-card {
    max-width: 860px; margin: 0 auto; padding: 38px 42px 44px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.page-single-head { padding-bottom: 22px; border-bottom: 1px solid #edf2f9; }
.page-single-title { margin: 0; font-size: 28px; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); }
.page-single-meta { margin-top: 10px; color: #8aa0bb; font-size: 12px; }
.page-single-content { margin-top: 24px; }
.page-single-empty { padding: 34px 0; }
@media (max-width: 760px) {
    .page-single-body { padding: 18px 0 40px; }
    .page-single-card { padding: 26px 18px 30px; border-radius: 12px; }
    .page-single-title { font-size: 21px; }
    .page-single-content { margin-top: 18px; }
}

.search-no-result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.search-no-result.compact { padding: 38px 24px; margin-top: 8px; }

@media (max-width: 860px) {
    .search-hero { padding: 18px 0 26px; }
    .search-hero-row { display: block; margin: 12px 0 16px; }
    .search-hero h1 { font-size: 27px; }
    .search-hero p { font-size: 12px; }
    .search-hero-stat { display: none; }
    .search-page-form { border-radius: 10px; padding-left: 12px; }
    .search-page-form input { font-size: 16px; }
    .search-page-form button { padding: 10px 17px; font-size: 13px; }
    .search-hero-hint { justify-content: flex-start; }
    .search-body { padding: 20px 0 40px; }
    .search-suggest-panel { padding: 20px 18px; }
    .search-suggest-head h2 { font-size: 18px; }
    .search-tabs { width: 100%; overflow-x: auto; }
    .search-tabs a { flex: 1; justify-content: center; padding: 8px 10px; }
    .search-result-head { align-items: flex-start; gap: 8px; }
    .search-result-head .search-advanced-link { white-space: nowrap; }
    .search-section-head { align-items: flex-start; gap: 10px; }
    .search-section-head h2 { font-size: 19px; }
    .search-section-link { margin-top: 4px; }
    .search-no-result { padding: 38px 18px; }
    .search-no-result h2 { font-size: 19px; }
    .search-section { margin-top: 24px; }
}

@media (max-width: 620px) {
    .search-hero h1 { font-size: 24px; }
    .search-page-form button { padding: 10px 14px; }
    .search-hero-hint { display: none; }
    .search-hot-list a { font-size: 12px; padding: 7px 10px; }
    .search-section-head { display: block; }
    .search-section-link { margin-top: 7px; }
    .search-section-head h2 { font-size: 18px; }
}

/* ---------- 文章版式：分类轨道 + 顶部筛选 + 列表优先 ---------- */
.article-cat-section.compact { padding: 30px 0 10px; }
.article-cat-rail {
    display: flex; align-items: stretch; gap: 8px;
    overflow-x: auto; padding: 2px 0 6px; scrollbar-width: thin;
}
.article-cat-pill {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    padding: 9px 13px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
    color: #31557d; transition: border-color .18s, background .18s, transform .18s;
}
.article-cat-pill:hover { background: #f7faff; border-color: #c9dcf5; transform: translateY(-1px); }
.article-cat-pill.is-on { background: #edf4ff; border-color: #bfd5f6; color: #1d4ed8; }
.article-cat-pill-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 7px; flex: none;
    background: #f2f7ff; color: var(--ac, #3b82f6);
}
.article-cat-pill-name { font-size: 13px; font-weight: 600; white-space: nowrap; }
.article-cat-pill b { font-size: 12px; font-weight: 500; color: #8fa2b8; background: #f5f8fd; border-radius: 4px; padding: 1px 6px; }

.article-browse { padding: 22px 0 52px; }
.article-filter-panel {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-compact);
    padding: 17px 18px 15px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.article-filter-btn, .article-filter-sheet-head, .article-filter-mask { display: none; }
.article-filter-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.article-filter-cats { min-width: 0; flex: 1; }
.article-filter-caption { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #526a88; font-weight: 600; white-space: nowrap; }
.article-filter-caption .ic { color: #2563eb; }
.article-cat-scroll { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 7px; padding: 1px 0 3px; }
.article-cat-scroll .article-cat-pill { padding: 7px 10px; }
.article-cat-scroll .article-cat-pill-icon { width: 22px; height: 22px; }
.article-cat-scroll .article-cat-pill-name { font-size: 12px; }
.article-inline-search { flex: none; width: 330px; max-width: 100%; margin: 0; }
.article-subcat-row { display: flex; align-items: center; gap: 14px; margin-top: 11px; padding-top: 11px; border-top: 1px dashed #eef2f8; }
.article-subcat-row .article-filter-caption { flex: none; }
.article-filter-rows { margin-top: 11px; padding-top: 9px; border-top: 1px dashed #eef2f8; }
.article-filter-row { display: flex; align-items: flex-start; gap: 16px; padding: 4px 0; }
.article-filter-row-head { align-items: center; justify-content: space-between; padding-bottom: 6px; }
.article-filter-name { display: flex; align-items: center; gap: 5px; width: 92px; flex: none; font-size: 12px; color: #526a88; padding-top: 4px; }
.article-filter-name em { font-style: normal; font-size: 12px; color: #2563eb; background: #eff5ff; border-radius: 4px; padding: 1px 5px; }
.article-filter-clear { font-size: 12px; color: #2563eb; }
.article-filter-clear:hover { color: #1d4ed8; text-decoration: underline; }
.article-result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 0 12px; }
.article-result-head strong { font-size: 21px; color: #1d4ed8; letter-spacing: -.02em; }
.article-result-head span { font-size: 12px; color: #8497ad; margin-left: 4px; }
.article-result-note { margin-left: 0 !important; }

.article-row { grid-template-columns: 132px minmax(0, 1fr); }
.article-row.no-cover { grid-template-columns: minmax(0, 1fr); }
.article-row-cover { min-height: 104px; }
.article-row-body { padding: 12px 16px 11px; }
.article-row-title { font-size: 17px; line-height: 1.45; margin-bottom: 4px; }
.article-row-summary { font-size: 12px; line-height: 1.7; }
.article-row-foot { margin-top: 7px; }
.article-paid-inline { font-size: 12px; color: #b45309; background: #fff7ed; border-radius: 3px; padding: 1px 5px; }

@media (max-width: 860px) {
    .article-cat-section.compact { padding: 22px 0 8px; }
    .article-cat-rail { gap: 7px; }
    .article-cat-pill { padding: 8px 11px; }
    .article-cat-pill-icon { width: 24px; height: 24px; }
    .article-browse { padding: 16px 0 40px; }
    .article-filter-panel { padding: 14px 13px 12px; }
    .article-filter-top { display: flex; align-items: stretch; gap: 10px; }
    .article-filter-btn {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        flex: none; min-width: 82px; min-height: 44px; height: auto; padding: 4px 10px;
        border: 1px solid #dbe6f5; border-radius: 8px;
        background: #f5f9ff; color: var(--primary); text-align: left; white-space: nowrap;
    }
    .article-filter-btn-main { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; line-height: 1.2; }
    .article-filter-btn-count { margin-top: 2px; font-size: 12px; line-height: 1.2; color: #64748b; }
    .article-filter-cats { width: auto; flex: 1; min-width: 0; }
    .article-filter-rows { display: none; }
    .article-filter-rows.is-open {
        display: block;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
        max-height: 82vh; overflow-y: auto; margin: 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
        background: #fff; border-top: 1px solid #edf1f7;
        border-radius: 18px 18px 0 0; box-shadow: 0 -18px 50px rgba(8, 20, 40, .22);
    }
    .article-filter-rows.is-open .article-filter-sheet-head {
        display: flex; align-items: center; justify-content: space-between;
        padding-bottom: 10px; border-bottom: 1px solid #edf1f7;
    }
    .article-filter-sheet-head span { font-size: 15px; font-weight: 700; color: var(--ink); }
    .article-filter-sheet-head button { border: 0; background: transparent; color: #64748b; font-size: 12px; padding: 4px 0 4px 12px; }
    .article-filter-mask { display: none; position: fixed; inset: 0; z-index: 120; background: rgba(8, 15, 30, .48); }
    .article-filter-mask.is-on { display: block; }
    body.article-filter-lock { overflow: hidden; }
    .article-inline-search { width: 100%; margin-top: 11px; }
    .article-cat-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
    .article-subcat-row { display: block; }
    .article-subcat-row .article-subcat-list { margin-top: 7px; }
    .article-filter-row { display: block; }
    .article-filter-name { width: auto; padding-top: 0; margin-bottom: 5px; }
    .article-filter-row-head { display: flex; align-items: center; justify-content: flex-end; padding-top: 0; padding-bottom: 4px; }
    .article-filter-row-head .article-filter-name { display: none; }
    .article-result-head { margin-top: 11px; }
    .article-row-cover { aspect-ratio: 16 / 5; max-height: 142px; }
    .article-row-body { padding: 11px 13px 10px; }
    .article-row-title { font-size: 16px; }
}

.article-empty-list.is-compact { padding: 28px 20px 26px; }
.article-empty-list.is-compact svg { width: 34px; height: 34px; }
.article-search-hot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 0 auto 16px; font-size: 12px; color: #8497ad; }
.article-search-hot a { color: #2563eb; background: #f2f7ff; border: 1px solid #e1ebfa; border-radius: 5px; padding: 3px 8px; }
.article-search-hot a:hover { background: #e8f1ff; border-color: #c9dcf7; }

.article-search-start {
    display: flex; align-items: center; gap: 15px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 18px 20px; box-shadow: var(--shadow);
}
.article-search-start-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; flex: none;
    background: #f2f7ff; color: #2563eb;
}
.article-search-start-copy { flex: 1; min-width: 0; }
.article-search-start-copy h3 { margin: 0 0 3px; font-size: 16px; color: var(--ink); }
.article-search-start-copy p { margin: 0 0 7px; color: #7790ab; font-size: 12px; line-height: 1.7; }
.article-search-start .article-search-hot { justify-content: flex-start; margin: 0; }
.article-search-start-link { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #2563eb; }
.article-search-start-link:hover { color: #1d4ed8; }
@media (max-width: 860px) {
    .article-search-start { display: block; padding: 16px; }
    .article-search-start-icon { width: 36px; height: 36px; margin-bottom: 8px; }
    .article-search-start-link { display: inline-flex; margin-top: 10px; }
}

@media (max-width: 860px) {
    .mobile-search {
        display: flex; align-items: center; gap: 7px;
        margin: 12px 12px 2px; padding: 0 5px 0 12px;
        height: 44px; background: #f4f7fc; border: 1px solid #e2eaf5; border-radius: 10px;
    }
    .mobile-search-icon { display: inline-flex; align-items: center; color: #64748b; flex: none; }
    .mobile-search input {
        flex: 1; min-width: 0; height: 100%; border: 0; outline: 0;
        background: transparent; color: #1f2d3d; font-size: 16px;
    }
    .mobile-search input::placeholder { color: #8b9bb0; }
    .mobile-search button {
        flex: none; height: 34px; padding: 0 13px; border: 0; border-radius: 7px;
        background: #2456d8; color: #fff; font-size: 13px; font-weight: 600;
    }
}

.mobile-search-btn {
    display: none; align-items: center; justify-content: center;
    width: 38px; height: 38px; flex: none; border-radius: 9px;
    background: #f1f5fb; color: #334155;
}
.mobile-search-btn:hover { background: #e8effc; color: #2563eb; }
/* 顶部快捷入口：APP / 关注我们，桌面与手机共用 */
.header-quick-btn {
    display: none; align-items: center; justify-content: center;
    width: 38px; height: 38px; flex: none; border-radius: 9px;
    background: #edf3fd; color: #1d4ed8; text-decoration: none;
    transition: background .18s, color .18s;
}
.header-quick-btn:hover { background: #e1ebfc; color: #173f9f; }
@media (min-width: 1024px) {
    .header-quick-btn { display: inline-flex; }
}
/* 小尺寸电脑：收紧搜索与电话，给导航留出空间 */
@media (min-width: 881px) and (max-width: 1365px) {
    .header-inner { gap: 12px; }
    .header-search { width: 180px; }
    .header-tel { width: 38px; padding: 0; justify-content: center; }
    .header-tel span { display: none; }
}
@media (max-width: 880px) {
    .mobile-search-btn { display: inline-flex; }
}

/* 文章详情：单栏阅读流，取消右侧信息栏 */
.article-detail-grid { grid-template-columns: minmax(0, 1fr); }
.article-detail-main { width: 100%; max-width: 900px; margin: 0 auto; }
@media (max-width: 1080px) {
    .article-detail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
    .article-detail-main { max-width: none; }
}

.article-related-section .container { max-width: 948px; }
@media (max-width: 620px) {
    .article-related-section .container { max-width: none; }
}

/* 文章详情：左正文 + 右侧热门课程 / 延伸阅读 */
.article-detail-grid {
    grid-template-columns: minmax(0, 880px) 320px;
    justify-content: center; gap: 28px; align-items: start;
}
.article-detail-main { width: 100%; max-width: none; margin: 0; }
.article-detail-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.article-side-block {
    padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 6px 20px rgba(30,64,175,.05);
}
.article-side-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-bottom: 12px; color: #0f2340; font-size: 14px; font-weight: 700;
}
.article-side-head span { display: inline-flex; align-items: center; gap: 5px; }
.article-side-head .ic { color: #2563eb; }
.article-side-more { display: inline-flex; align-items: center; gap: 2px; color: #2563eb; font-size: 12px; font-weight: 500; }
.article-side-course-list { display: flex; flex-direction: column; gap: 14px; }
.article-side-reads { display: flex; flex-direction: column; }
.article-side-item { display: block; padding: 10px 0; border-bottom: 1px solid #edf1f6; }
.article-side-item:first-child { padding-top: 2px; }
.article-side-item:last-child { padding-bottom: 0; border-bottom: 0; }
.article-side-item-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 12px; color: #9aa9bc; }
.article-side-item-meta em { font-style: normal; color: #2563eb; }
.article-side-item strong { display: block; color: #1f2d3d; font-size: 13px; line-height: 1.55; font-weight: 600; }
.article-side-item:hover strong { color: #2563eb; }

@media (max-width: 1080px) {
    .article-detail-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
}
@media (max-width: 860px) {
    .article-detail-grid { display: block; }
    .article-detail-side { position: static; margin-top: 18px; }
}

/* 文章中心 / 分类 / 搜索：列表主栏 + 热门课程右栏 */
.article-list-layout {
    display: grid; grid-template-columns: minmax(0, 880px) 320px;
    justify-content: center; align-items: start; gap: 28px;
}
.article-list-main { min-width: 0; }
.article-list-side { top: 92px; }
@media (max-width: 1080px) {
    .article-list-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
}
@media (max-width: 860px) {
    .article-list-layout { display: block; }
    .article-list-side { margin-top: 18px; }
}

@media (min-width: 1081px) and (max-width: 1240px) {
    .article-detail-grid,
    .article-list-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
}

/* 搜索：部分匹配提示与正文命中标记 */
.article-hit-note {
    display: inline-block; margin-left: 8px; padding: 0 5px;
    border-radius: 4px; background: #eef5ff; color: #2563eb;
    font-size: 12px; line-height: 18px; font-weight: 500; vertical-align: 1px;
}
.search-partial-note {
    display: flex; align-items: center; gap: 6px;
    margin: 14px 0 0; padding: 10px 13px;
    border: 1px solid #f0dfb6; border-radius: 10px;
    background: #fffaf0; color: #8a5a12; font-size: 12px; line-height: 1.6;
}
.search-partial-tag {
    display: inline-block; margin-left: 6px; padding: 0 6px;
    border-radius: 4px; background: #fff4d6; color: #9a6700;
    font-size: 12px; line-height: 18px; font-weight: 500;
}
.article-hit-note.is-before { margin: 0 6px 0 0; }

/* 搜索结果态：压缩头部，让结果进入首屏 */
.search-hero.is-compact { padding: 14px 0 18px; }
.search-hero.is-compact .search-page-form { max-width: 760px; margin-top: 12px; padding: 4px 5px 4px 12px; }
.search-hero.is-compact .search-page-form button { padding: 10px 22px; }
.search-hero.is-compact .search-page-form input { padding: 7px 0; font-size: 15px; }
.search-body.is-compact { padding-top: 18px; }
.search-body.is-compact .search-tabs { margin-bottom: 16px; }
.search-body.is-compact .search-section { margin-top: 24px; }
.search-body.is-compact .search-section-head { align-items: center; margin-bottom: 12px; }
.search-body.is-compact .search-section-head h2 { margin: 0; font-size: 19px; }
@media (max-width: 860px) {
    .search-hero.is-compact { padding: 12px 0 14px; }
    .search-hero.is-compact .search-page-form { margin-top: 10px; }
    .search-body.is-compact { padding: 14px 0 36px; }
    .search-body.is-compact .search-tabs { margin-bottom: 14px; }
    .search-body.is-compact .search-section { margin-top: 20px; }
}

/* ================= v1.10.1 搜索布局：单入口 + 四列课程 + 双列知识库 ================= */
.search-landing {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 25px 0 27px;
}
.search-crumb-light { color: #8ba0b4; }
.search-crumb-light a { color: #47627b; }
.search-crumb-light a:hover { color: var(--primary); }
.search-landing-copy { margin-top: 16px; }
.search-landing-copy h1 { margin: 7px 0 7px; font-size: 30px; line-height: 1.24; letter-spacing: -.03em; }
.search-landing-copy p { margin: 0; max-width: 700px; color: #71869a; font-size: 13px; line-height: 1.8; }

.search-result-crumb { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; color: #93a5ba; font-size: 12px; }
.search-result-crumb a { color: #5d748a; }
.search-result-crumb a:hover { color: var(--primary); }
.search-body.is-compact { padding-top: 14px; }

/* 搜索课程：四列，和课程中心同一张卡 */
.search-course-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 0;
}
.search-course-grid .course-card .card-body { padding: 15px 15px 13px; }
.search-course-grid .course-card .card-title { font-size: 16px; line-height: 1.45; }
.search-course-grid .course-card .card-summary { font-size: 12px; margin-bottom: 11px; }
.search-course-grid .course-card .card-meta { gap: 8px; font-size: 12px; margin-bottom: 9px; }
.search-course-grid .course-card .card-foot { padding-top: 9px; font-size: 12px; }

/* 搜索知识库：双列紧凑卡，去掉封面/作者/属性/匹配提示 */
.search-article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
}
.article-search-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 154px;
    padding: 15px 17px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--ac, #3b82f6);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(30,64,175,.04);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.article-search-card:hover { transform: translateY(-2px); border-color: #d6e3f4; box-shadow: 0 10px 24px rgba(30,64,175,.08); }
.article-search-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; font-size: 12px; color: #91a4b8; }
.article-search-cat { color: var(--ac, #2563eb); font-weight: 600; }
.article-search-dot { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }
.article-search-paid { color: #a16207; background: #fff7e6; border-radius: 3px; padding: 1px 5px; font-size: 12px; }
.article-search-title {
    margin: 0 0 6px;
    color: #152a40;
    font-size: 17px;
    line-height: 1.48;
    font-weight: 700;
    letter-spacing: -.015em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-search-summary {
    margin: 0;
    color: #697e92;
    font-size: 12px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-search-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-end;
    margin-top: auto;
    padding-top: 7px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 1180px) {
    .search-course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .search-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .search-course-grid { grid-template-columns: 1fr; }
    .search-tabs { gap: 2px; padding: 3px; }
    .search-tabs a { padding: 7px 7px; font-size: 12px; }
    .search-tabs a span { margin-left: 1px; padding: 1px 4px; }
    .search-landing { padding: 18px 0 20px; }
    .search-landing-copy h1 { font-size: 24px; }
    .search-landing-copy p { font-size: 12px; }
    .article-search-card { min-height: 0; }
    .article-search-title { font-size: 16px; }
    .article-search-summary { font-size: 12px; -webkit-line-clamp: 2; }
}

/* ================= 手机端：顶栏保留可见搜索框 ================= */
@media (max-width: 880px) {
    .header-inner { gap: 10px; }
    .header-actions { flex: 1 1 auto; min-width: 0; }
    .header-search {
        display: flex;
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-left: auto;
        height: 38px;
        padding: 0 4px 0 12px;
    }
    .header-search input { flex: 1 1 auto; width: 0; font-size: 16px; min-width: 0; }
    .header-search button { flex: none; padding: 5px; }
    .header-tel { display: none; }
    .mobile-search-btn { display: none !important; }
    .brand-sub { display: none; }
    .brand-name { font-size: 16px; }
}
@media (max-width: 560px) {
    .brand-text { display: flex; }
    .brand { gap: 8px; }
    .brand-name { font-size: 16px; }
    .brand-sub { display: block; font-size: 12px; letter-spacing: .2px; }
    .header-inner { position: relative; gap: 8px; }
    .header-actions { flex: 0 0 auto; min-width: 0; margin-left: auto; }
    .header-search { display: none; }
    .mobile-search-btn { display: inline-flex !important; width: 38px; height: 38px; border: 0; cursor: pointer; }
    .header-quick-btn { display: inline-flex !important; }
    .site-header.search-open .header-search {
        display: flex;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 16px;
        width: auto;
        max-width: none;
        height: 38px;
        z-index: 30;
        margin-left: 0;
        padding: 0 4px 0 12px;
        background: #fff;
        border-color: #bcd3f7;
        box-shadow: 0 10px 28px rgba(12, 34, 70, .16);
    }
    .site-header.search-open .header-search input { font-size: 16px; }
}
/* v1.12.35：超窄屏收紧顶栏，给关注 + 搜索两个入口留出空间 */
@media (max-width: 300px) {
    .brand-sub { display: none; }
    .header-inner { gap: 6px; }
    .header-actions { gap: 6px; }
    .header-quick-btn { width: 34px; height: 34px; }
    .mobile-search-btn { width: 34px !important; height: 34px !important; }
}

/* ==================== 书单模块 V3 ==================== */
.books-head{padding:26px 0 0;background:linear-gradient(180deg,#f2f7fd 0%,#f7fafe 100%);border-bottom:1px solid #e8eff8}
.books-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding:10px 0 28px}
.books-head-copy{max-width:760px}
.books-kicker{display:inline-flex;align-items:center;gap:7px;color:#2563eb;font-size: 12px;font-weight:700;letter-spacing:.14em;margin-bottom:10px}
.books-head-copy h1{margin:0;font-size:42px;line-height:1.18;letter-spacing:-.02em;color:#0f172a;font-weight:800}
.books-head-copy p{margin:12px 0 0;max-width:680px;color:#64748b;font-size:14px;line-height:1.8}
.books-head-stat{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;padding-bottom:4px}
.books-head-stat span{font-size:36px;line-height:1;font-weight:800;color:#1e40af;font-variant-numeric:tabular-nums}
.books-head-stat em{font-style:normal;color:#334155;font-size:13px;margin-top:6px;font-weight:600}
.books-head-stat small{color:#94a3b8;font-size: 12px;margin-top:4px}

.books-feature-wrap{margin-top:0;padding:26px 0 0}
.books-feature-board{position:relative;padding:26px 26px 28px;border-radius:18px;overflow:hidden;background-color:var(--books-slide-bg,#0c2342);background-image:radial-gradient(120% 140% at 10% 0,rgba(255,255,255,.10) 0,transparent 55%,rgba(0,0,0,.30) 100%);box-shadow:0 18px 40px rgba(15,35,66,.16)}
.books-feature-board.has-bg-image{background-image:linear-gradient(115deg,rgba(4,15,32,var(--books-slide-overlay,.82)),rgba(4,15,32,var(--books-slide-overlay,.82))),var(--books-slide-image);background-size:cover,cover;background-position:center,center;background-repeat:no-repeat}
.books-feature-board:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,255,255,.08),transparent 38%);pointer-events:none}
.books-feature-head{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px;color:#fff}
.books-feature-kicker{font-size: 12px;font-weight:700;letter-spacing:.16em;color:#93c5fd;display:block;margin-bottom:7px}
.books-feature-head h2{margin:0;font-size:23px;line-height:1.3;font-weight:700;letter-spacing:-.01em}
.books-feature-note{font-size: 12px;color:#a9c3e4;border-bottom:1px solid rgba(255,255,255,.22);padding-bottom:4px}
.books-feature-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.book-feature-card{display:flex;gap:14px;min-width:0;padding:14px;border-radius:12px;text-decoration:none;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:transform .22s ease,background .22s ease,border-color .22s ease}
.book-feature-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3)}
.book-feature-cover{flex:0 0 92px;width:92px;height:126px;border-radius:6px;overflow:hidden;background:#122743;box-shadow:0 8px 18px rgba(0,0,0,.3)}
.book-feature-cover img{width:100%;height:100%;object-fit:cover;display:block}
.book-feature-copy{min-width:0;display:flex;flex-direction:column;flex:1}
.book-feature-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.book-feature-top em{font-style:normal;font-family:Georgia,serif;font-size:13px;color:#93c5fd;letter-spacing:.08em}
.book-feature-top i{font-style:normal;font-size: 12px;line-height:1;color:#dbeafe;background:color-mix(in srgb,var(--book-cat) 40%,transparent);border:1px solid rgba(255,255,255,.18);padding:5px 7px;border-radius:999px;white-space:nowrap}
.book-feature-copy strong{color:#fff;font-size:14px;line-height:1.45;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.book-feature-copy small{color:#b7cee8;font-size: 12px;line-height:1.65;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.book-feature-meta{margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size: 12px;color:#9fb9d8}
.book-feature-meta b{display:inline-flex;align-items:center;gap:3px;color:#dbeafe;font-weight:600;white-space:nowrap}
.book-cover-fallback{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%;padding:16px 12px;background:linear-gradient(145deg,#173b6d,#28558a);color:#fff;box-sizing:border-box}
.book-cover-fallback b{font-family:"Songti SC",SimSun,serif;font-size:18px;line-height:1.35;font-weight:700;word-break:break-word}
.book-cover-fallback em{font-style:normal;font-size: 12px;color:#bfdbfe;letter-spacing:.08em}
.book-cover-fallback-sm{padding:10px 8px}
.book-cover-fallback-sm b{font-size:13px}

.books-body{padding:30px 0 64px}
.books-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:42px;align-items:start}
.books-main{min-width:0}
.book-cat-bar{display:flex;align-items:center;gap:8px;padding-bottom:16px;border-bottom:1px solid #e5edf7;overflow-x:auto;scrollbar-width:none}
.book-cat-bar::-webkit-scrollbar{display:none}
.book-cat-bar a{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:8px;border:1px solid #e2eaf5;background:#fff;color:#475569;font-size:12px;font-weight:600;text-decoration:none;transition:border-color .18s,background .18s,color .18s;white-space:nowrap}
.book-cat-bar a span{font-size: 12px;color:#94a3b8;background:#f1f5f9;border-radius:999px;padding:2px 5px;line-height:1}
.book-cat-bar a:hover{border-color:#bfdbfe;color:#1d4ed8}
.book-cat-bar a.is-on{border-color:#1e40af;background:#1e40af;color:#fff}
.book-cat-bar a.is-on span{background:rgba(255,255,255,.18);color:#fff}
.books-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:22px 0 16px}
.books-list-kicker{font-size: 12px;font-weight:700;letter-spacing:.14em;color:#94a3b8;display:block;margin-bottom:5px}
.books-list-head h2{margin:0;font-size:22px;line-height:1.3;color:#0f172a;font-weight:750}
.books-list-head em{font-style:normal;font-size:12px;color:#64748b;background:#eff6ff;border-radius:999px;padding:5px 9px}
.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}
.book-card{min-width:0;background:#fff;border:1px solid #e7edf6;border-radius:12px;overflow:hidden;box-shadow:0 1px 0 rgba(15,23,42,.02);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.book-card:hover{transform:translateY(-3px);border-color:#d8e5f5;box-shadow:0 14px 28px rgba(30,64,175,.09)}
.book-card-cover{display:block;aspect-ratio:3/4;background:#122743;overflow:hidden}
.book-card-cover img{width:100%;height:100%;object-fit:cover;display:block}
.book-card-body{padding:12px}
.book-card-meta{display:flex;align-items:center;gap:7px;font-size: 12px;color:#94a3b8;min-height:18px}
.book-cat{display:inline-flex;align-items:center;color:#1d4ed8;background:color-mix(in srgb,var(--book-cat) 13%,#fff);border:1px solid color-mix(in srgb,var(--book-cat) 24%,#fff);padding:3px 6px;border-radius:4px;font-size: 12px;line-height:1;font-weight:600}
.book-card-title{margin:8px 0 0;font-size:15px;line-height:1.5;font-weight:700;color:#0f172a}
.book-card-title a{color:inherit;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.book-card-author{margin:5px 0 0;font-size: 12px;color:#64748b}
.book-card-summary{margin:7px 0 0;font-size: 12px;line-height:1.7;color:#7b8798;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.book-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;padding-top:10px;border-top:1px solid #f0f4f9}
.book-more{display:inline-flex;align-items:center;gap:3px;font-size: 12px;color:#1d4ed8;font-weight:600;text-decoration:none}
.book-more:hover{color:#1e40af}
.book-linked{font-size:9px;color:#0f766e;background:#ecfdf5;border-radius:3px;padding:3px 5px}

.book-aside{min-width:0;position:sticky;top:88px;display:flex;flex-direction:column;gap:16px}
.side-panel{border:1px solid #e7edf6;border-radius:12px;background:#fff;padding:16px 16px 14px}
.side-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #f0f4f9}
.side-panel-head span{font-size:12px;font-weight:700;color:#0f172a}
.side-panel-head a{display:inline-flex;align-items:center;gap:2px;font-size: 12px;color:#64748b;text-decoration:none}
.side-panel-head a:hover{color:#1d4ed8}
.side-feature-course{display:block;text-decoration:none;padding:12px;border-radius:9px;background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #dbeafe}
.side-course-kicker{display:flex;align-items:center;gap:5px;font-size: 12px;color:#2563eb;margin-bottom:7px}
.side-feature-course strong{display:block;font-size:13px;line-height:1.5;color:#0f172a}
.side-feature-course em{display:block;font-style:normal;font-size: 12px;line-height:1.6;color:#64748b;margin-top:5px}
.side-course-list,.side-article-list,.side-book-list{display:flex;flex-direction:column;gap:9px}
.side-course-item{display:flex;align-items:center;gap:9px;text-decoration:none}
.side-course-thumb{flex:0 0 46px;width:46px;height:34px;border-radius:5px;background:#eff6ff;color:#3b82f6;display:flex;align-items:center;justify-content:center;overflow:hidden}
.side-course-thumb img{width:100%;height:100%;object-fit:cover}
.side-course-copy{min-width:0}
.side-course-copy strong{display:block;font-size:12px;line-height:1.45;color:#1e293b;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-course-copy em{display:block;font-style:normal;font-size: 12px;color:#94a3b8;margin-top:2px}
.side-article-item{text-decoration:none;padding:8px 0;border-bottom:1px dashed #edf2f8}
.side-article-item:last-child{border-bottom:0;padding-bottom:0}
.side-article-meta{display:block;font-size:9px;color:#94a3b8;margin-bottom:4px}
.side-article-item strong{display:block;font-size:12px;line-height:1.5;color:#334155;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.side-article-item:hover strong{color:#1d4ed8}
.side-book-item{display:flex;align-items:center;gap:9px;text-decoration:none}
.side-book-cover{flex:0 0 32px;width:32px;height:44px;border-radius:3px;overflow:hidden;background:#eff6ff}
.side-book-cover img{width:100%;height:100%;object-fit:cover}
.side-book-copy strong{display:block;font-size: 12px;line-height:1.4;color:#334155;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.side-book-copy em{display:block;font-style:normal;font-size:9px;color:#94a3b8;margin-top:2px}
.books-empty{padding:48px 24px;text-align:center;border:1px dashed #dbe5f2;border-radius:12px;background:#fbfdff}
.books-empty span{display:inline-flex;color:#93c5fd}
.books-empty h3{margin:10px 0 0;font-size:17px;color:#0f172a}
.books-empty p{margin:7px 0 16px;font-size:12px;color:#64748b}

/* 搜索结果中的书单卡 */
.search-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.book-search-card{display:flex;gap:12px;min-width:0;padding:12px;border:1px solid #e5edf7;border-radius:12px;background:#fff;transition:border-color .18s,box-shadow .18s}
.book-search-card:hover{border-color:#d6e4f7;box-shadow:0 8px 20px rgba(30,64,175,.06)}
.book-search-cover{flex:0 0 74px;width:74px;height:102px;border-radius:5px;overflow:hidden;background:#122743}
.book-search-cover img{width:100%;height:100%;object-fit:cover;display:block}
.book-search-body{min-width:0;display:flex;flex-direction:column;flex:1}
.book-search-title{margin:5px 0 0;font-size:13px;line-height:1.45;font-weight:700;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.book-search-title a{color:inherit;text-decoration:none}
.book-search-author{margin:3px 0 0;font-size: 12px;color:#64748b}
.book-search-summary{margin:5px 0 0;font-size: 12px;line-height:1.6;color:#8491a3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.book-search-body .book-more{margin-top:auto;padding-top:6px;font-size: 12px}
.book-result-groups{display:flex;flex-direction:column;gap:26px}
.book-result-group{padding-top:2px}
.book-result-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid #e8eff8}
.book-result-group-head h3{margin:0;font-size:17px;color:#0f172a;font-weight:700}
.book-result-group-head span{display:block;font-size: 12px;color:#94a3b8;margin-top:3px}
.book-result-group-head em{font-style:normal;font-size: 12px;color:#64748b;background:#f1f5f9;padding:4px 8px;border-radius:999px}

/* 图书详情 */
.book-detail-head{padding:24px 0 0;background:#f6f9fd;border-bottom:1px solid #e8eff8}
.book-detail-body{padding:26px 0 64px;background:#f6f9fd}
.book-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:42px;align-items:start}
.book-detail-main{min-width:0;display:flex;flex-direction:column;gap:18px}
.book-hero{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;padding:24px;border:1px solid #e5edf7;border-radius:14px;background:#fff}
.book-hero-cover{aspect-ratio:3/4;border-radius:8px;overflow:hidden;background:#122743;box-shadow:0 14px 28px rgba(15,35,66,.18)}
.book-hero-cover img{width:100%;height:100%;object-fit:cover;display:block}
.book-hero-copy{min-width:0;display:flex;flex-direction:column;justify-content:center}
.book-hero-copy h1{margin:9px 0 0;font-size:32px;line-height:1.28;letter-spacing:-.02em;color:#0f172a;font-weight:800}
.book-hero-author{margin:9px 0 0;font-size:13px;color:#475569}
.book-hero-summary{margin:15px 0 0;font-size:13px;line-height:1.85;color:#64748b}
.book-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:22px}
.book-hero-actions .btn{display:inline-flex;align-items:center;gap:7px;text-decoration:none}
.book-share-tip{display:block;height:16px;margin-top:8px;font-size: 12px;color:#0f766e;opacity:0;transition:opacity .2s}
.book-share-tip.is-on{opacity:1}
.book-content-card{padding:26px 28px 28px;border:1px solid #e5edf7;border-radius:14px;background:#fff}
.book-content-head{padding-bottom:16px;border-bottom:1px solid #eff4fa;margin-bottom:18px}
.book-content-head h2{margin:0;font-size:20px;color:#0f172a;font-weight:700}
.book-content-body{font-size:14px;line-height:1.95;color:#475569}
.book-content-body h3{margin:24px 0 8px;font-size:16px;color:#0f172a}
.book-content-body p{margin:0 0 14px}
.book-content-body p:last-child{margin-bottom:0}
.book-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:24px;padding-top:6px;border-top:1px solid #eff4fa}
.book-meta-item{padding:12px 0 0;min-width:0}
.book-meta-item span{display:block;font-size: 12px;color:#94a3b8;margin-bottom:4px}
.book-meta-item strong{display:block;font-size:12px;color:#334155;font-weight:600;line-height:1.5;word-break:break-word}
.book-detail-main .book-aside{position:static}

@media (max-width:1180px){
    .books-layout{gap:30px;grid-template-columns:minmax(0,1fr) 300px}
    .book-detail-layout{gap:30px;grid-template-columns:minmax(0,1fr) 300px}
    .book-grid{gap:18px 14px}
}
@media (max-width:980px){
    .books-layout{grid-template-columns:1fr}
    .book-aside{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    .book-detail-layout{grid-template-columns:1fr}
    .book-detail-main .book-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
    .book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .books-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .search-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
    .books-head-copy h1{font-size:32px}
    .books-head-row{align-items:flex-start;flex-direction:column;gap:14px;padding-bottom:22px}
    .books-head-stat{align-items:flex-start;flex-direction:row;gap:8px;align-items:baseline}
    .books-head-stat span{font-size:26px}
    .books-head-stat small{margin-top:0}
    .books-feature-board{padding:20px 16px;border-radius:14px}
    .books-feature-grid{grid-template-columns:1fr}
    .book-feature-card{padding:12px}
    .book-feature-cover{width:84px;height:116px;flex-basis:84px}
    .books-body{padding:22px 0 50px}
    .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
    .book-card-body{padding:11px 10px 10px}
    .book-card-title{font-size:14px}
    .book-search-grid{grid-template-columns:1fr}
    .book-hero{grid-template-columns:1fr;padding:18px;gap:18px}
    .book-hero-cover{width:170px;justify-self:center}
    .book-hero-copy h1{font-size:26px}
    .book-content-card{padding:20px 18px}
    .book-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .book-aside,.book-detail-main .book-aside{grid-template-columns:1fr}
}
@media (max-width:560px){
    .books-head-copy h1{font-size:28px}
    .books-head-copy p{font-size:13px}
    .books-feature-head{flex-direction:column;align-items:flex-start;gap:6px}
    .books-feature-note{display:none}
    .book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .book-card-cover{aspect-ratio:3/4}
    .book-card-summary{-webkit-line-clamp:3}
    .book-detail-head{padding-top:18px}
    .book-hero-copy h1{font-size:23px}
    .book-hero-actions .btn{flex:1 1 auto;justify-content:center}
    .book-meta-grid{grid-template-columns:1fr 1fr}
    .book-search-card{display:flex}
    .book-search-cover{flex:0 0 68px;width:68px;height:94px}
}
@media (max-width:380px){
    .book-grid{gap:12px 10px}
    .book-card-title{font-size:13px}
}

/* ================= v1.11.1 书单首屏、四列书卡与侧栏统一 ================= */
.books-top { padding: 18px 0 0; background: #f7fafe; }
.books-top .search-result-crumb { margin-bottom: 0; }
.books-feature-wrap { padding-top: 10px; }
.books-feature-swipe { display: none; }
.books-list-head { margin: 18px 0 14px; }
.books-list-head h2 { font-size: 21px; }
.book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.book-card-cover { position: relative; }
.book-card-cover:after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 74px;
    background: linear-gradient(180deg, transparent, rgba(5, 15, 30, .58));
    pointer-events: none;
}
.book-card-cover img { transition: transform .3s ease; }
.book-card:hover .book-card-cover img { transform: scale(1.025); }
.book-cover-more {
    position: absolute; right: 10px; bottom: 10px; z-index: 2;
    display: inline-flex; align-items: center; gap: 3px;
    padding: 4px 7px; border-radius: 4px;
    color: #fff; font-size: 12px; font-weight: 600; line-height: 1;
    background: rgba(7, 18, 36, .34); border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.book-card:hover .book-cover-more { color: #bfdbfe; border-color: rgba(191, 219, 254, .5); }
.book-card-body { padding: 11px 12px 12px; }
.book-card-title { margin: 0; font-size: 14px; line-height: 1.45; }
.book-card-line {
    display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
    margin: 7px 0 0; min-height: 18px;
    color: #64748b; font-size: 12px; line-height: 1.4;
}
.book-card-line .book-cat { padding: 3px 5px; font-size: 12px; }
.book-line-sep { color: #a8b5c6; }

.book-meta-grid.book-meta-hero {
    margin-top: 18px; padding-top: 14px; border-top: 1px solid #eef3fa;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.book-meta-grid.book-meta-hero .book-meta-item { padding-top: 0; }

@media (max-width: 1200px) {
    .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; }
}
@media (max-width: 1180px) {
    .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
    .book-card-title { font-size: 13px; }
}
@media (max-width: 980px) {
    .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .books-feature-wrap { padding-top: 4px; }
    .books-feature-grid {
        display: flex; overflow-x: auto; gap: 12px; padding-bottom: 4px;
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .books-feature-grid::-webkit-scrollbar { display: none; }
    .book-feature-card { flex: 0 0 86%; scroll-snap-align: start; }
    .books-feature-note { display: none; }
    .books-feature-swipe { display: inline-flex; color: #a9c3e4; font-size: 12px; }
    .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
    .book-card-title { font-size: 14px; }
    .book-meta-grid.book-meta-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .book-card-title { font-size: 13px; }
    .book-card-line { font-size: 12px; }
    .book-cover-more { right: 8px; bottom: 8px; font-size: 12px; }
}
@media (max-width: 380px) {
    .book-grid { gap: 12px 10px; }
    .book-card-title { font-size: 12px; }
}

/* ================= v1.11.3 图书视觉与响应式修正 ================= */
/* v1.11.4 移动端筛选与书单展板统一 */
/* 手机展板圆点：桌面不显示 */
.books-feature-dots { display: none; }

/* 桌面 4 列时，若本页数量除 4 余 1，最后一张做通栏横卡，保持 4 列尺度、不留孤卡 */
@media (min-width: 1201px) {
    .book-grid.has-orphan .book-card:last-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 170px minmax(0, 1fr);
    }
    .book-grid.has-orphan .book-card:last-child .book-card-cover {
        aspect-ratio: auto;
        height: 100%;
        min-height: 226px;
    }
    .book-grid.has-orphan .book-card:last-child .book-card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px 24px;
    }
    .book-grid.has-orphan .book-card:last-child .book-card-title {
        font-size: 19px;
    }
    .book-grid.has-orphan .book-card:last-child .book-card-line {
        font-size: 11px;
    }
}

/* 手机端重点图书：参照课程中心，只留一张主推卡 + 圆点横滑 */
@media (max-width: 760px) {
    .books-feature-board {
        min-height: 164px;
        box-sizing: border-box;
        padding: 12px 14px 8px;
        border-radius: 14px;
    }
    .books-feature-head {
        margin-bottom: 6px;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }
    .books-feature-head > div { flex: 1 1 auto; min-width: 0; }
    .books-feature-head h2,
    .books-feature-note { display: none; }
    .books-feature-kicker {
        margin-bottom: 0;
        font-size: 11px;
        letter-spacing: .12em;
    }
    .books-feature-grid { gap: 10px; padding-bottom: 0; }
    .book-feature-card {
        flex: 0 0 100%;
        padding: 8px;
        gap: 10px;
        border-radius: 10px;
    }
    .book-feature-cover {
        flex-basis: 68px;
        width: 68px;
        height: 94px;
    }
    .book-feature-top { margin-bottom: 4px; }
    .book-feature-copy strong {
        font-size: 15px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }
    .book-feature-copy small {
        margin-top: 3px;
        font-size: 11px;
        line-height: 1.55;
        -webkit-line-clamp: 2;
    }
    .book-feature-meta { padding-top: 6px; font-size: 12px; }
    .book-feature-meta b { font-size: 12px; }
    .books-feature-dots {
        position: relative;
        display: flex;
        justify-content: center;
        gap: 5px;
        padding: 9px 0 0;
    }
    .books-feature-dot {
        width: 4px; height: 4px; padding: 0; border: 0;
        border-radius: 99px; background: #c5d2e6;
        transition: width .18s, background .18s;
    }
    .books-feature-dot.is-on {
        width: 18px;
        background: var(--primary);
    }

    /* 手机奇数尾卡：通栏横卡，不再孤零零占半行 */
    .book-grid.has-odd .book-card:last-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
    }
    .book-grid.has-odd .book-card:last-child .book-card-cover {
        aspect-ratio: auto;
        height: 100%;
        min-height: 154px;
    }
    .book-grid.has-odd .book-card:last-child .book-card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 12px 14px;
    }

    /* 手机图书详情：封面在左、信息在右，压缩首屏高度 */
    .book-hero {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }
    .book-hero-cover {
        width: 110px;
        justify-self: start;
        border-radius: 7px;
        box-shadow: 0 10px 20px rgba(15,35,66,.16);
    }
    .book-hero-copy h1 {
        margin-top: 6px;
        font-size: 21px;
        line-height: 1.35;
    }
    .book-hero-author {
        margin-top: 6px;
        font-size: 11px;
    }
    .book-hero-summary {
        margin-top: 10px;
        font-size: 11px;
        line-height: 1.7;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .book-meta-grid.book-meta-hero {
        margin-top: 12px;
        padding-top: 8px;
    }
    .book-meta-item span { font-size: 12px; margin-bottom: 3px; }
    .book-meta-item strong { font-size: 12px; }
    .book-hero-actions {
        margin-top: 12px;
        gap: 8px;
    }
    .book-hero-actions .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .book-hero { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
    .book-hero-cover { width: 100px; }
    .book-hero-copy h1 { font-size: 19px; }
    .book-hero-summary { -webkit-line-clamp: 3; }
}

/* 桌面详情页：右侧栏吸顶，滚动正文时保持推荐位可见 */
@media (min-width: 1201px) {
    .book-detail-layout > .book-aside {
        position: sticky;
        top: 88px;
        align-self: start;
    }
}

/* 通栏尾卡：补一段摘要，避免横卡拉得太空 */
.book-card-summary-wide {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 7px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.book-wide-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    margin-top: 10px;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.book-wide-more:hover { color: #1e40af; }
@media (min-width: 1201px) {
    .book-grid.has-orphan .book-card:last-child .book-card-body { padding-right: 190px; }
    .book-grid.has-orphan .book-card:last-child .book-wide-more {
        position: absolute;
        right: 24px;
        bottom: 24px;
        margin-top: 0;
        font-size: 13px;
    }
    .book-grid.has-orphan .book-card:last-child { position: relative; }
}

/* 桌面详情页：同类图书放到正文下方，侧栏只保留新增知识与热门课程 */
.book-related-main {
    margin-top: 18px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #e3ecf5;
    border-radius: 14px;
}
.book-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.book-related-card {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e6eff8;
    border-radius: 12px;
    background: #f8fbff;
    text-decoration: none;
    color: inherit;
    transition: border-color .16s, background .16s;
}
.book-related-card:hover { border-color: #bfdbfe; background: #eff6ff; }
.book-related-cover {
    flex: 0 0 58px;
    width: 58px;
    height: 76px;
    overflow: hidden;
    border-radius: 5px;
    background: #0f2a63;
}
.book-related-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-related-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.book-related-copy strong {
    color: #0f172a;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.book-related-copy em { color: #94a3b8; font-size: 12px; font-style: normal; }
.book-related-link { color: #1d4ed8; font-size: 12px; font-weight: 600; }
@media (min-width: 1201px) {
    .book-detail-layout .book-side-related { display: none; }
}
@media (max-width: 1200px) {
    .book-related-main { display: none; }
}

/* 通栏书卡只保留一处“查看详情”：桌面用正文右下按钮，手机用封面按钮 */
@media (min-width: 1201px) {
    .book-grid.has-orphan .book-card:last-child .book-cover-more { display: none; }
}
@media (max-width: 760px) {
    .book-grid.has-odd .book-card:last-child .book-wide-more { display: none; }
}

/* v1.11.4 修正：移动端月份计数不再使用胶囊底，保证与筛选框一致 */
@media (max-width: 860px) {
    .timeline-item a {
        justify-content: center;
        box-sizing: border-box;
        min-height: 44px;
        padding: 4px 11px;
    }
    .timeline-name {
        font-size: 11px;
        line-height: 1.2;
    }
    .timeline-count,
    .timeline-item.active .timeline-count,
    .timeline-item:hover .timeline-count {
        margin-top: 2px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        font-size: 11px;
        line-height: 1.2;
        font-weight: 500;
    }
    .timeline-item.active .timeline-count { color: rgba(255, 255, 255, .82); }
}

/* ================= v1.11.6 知识库：内容列表页 ================= */
.kb-head {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 24px 0 20px;
}
.kb-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #93a5ba; font-size: 12px; }
.kb-crumb a { color: #5b7492; }
.kb-crumb a:hover { color: var(--primary-2); }
.kb-crumb .current { color: #8497ad; }
.kb-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 13px; }
.kb-head-copy { min-width: 0; }
.kb-title { margin: 0; font-size: 28px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.kb-desc { max-width: 760px; margin: 7px 0 0; color: #6c819a; font-size: 12px; line-height: 1.8; }
.kb-head-count { flex: none; display: flex; align-items: baseline; gap: 5px; padding-bottom: 2px; }
.kb-head-count strong { color: var(--primary); font-size: 26px; line-height: 1; letter-spacing: -.03em; }
.kb-head-count span { color: #93a5ba; font-size: 12px; }

.kb-body { padding: 24px 0 56px; background: var(--bg); }
.kb-layout {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr) 304px;
    gap: 20px;
    align-items: start;
    margin: 0;
}
.kb-rail {
    position: sticky;
    top: 84px;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(30, 64, 175, .05);
}
.kb-rail-head {
    display: block;
    padding: 17px 16px 14px;
    border-bottom: 1px solid #edf1f7;
}
.kb-rail-kicker { display: block; color: #92a4b9; font-size: 11px; line-height: 1; font-weight: 650; letter-spacing: .14em; }
.kb-rail-head strong { display: block; margin-top: 7px; color: #17345c; font-size: 14px; line-height: 1.2; font-weight: 750; letter-spacing: -.01em; }
.kb-rail-list { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.kb-rail-link {
    position: relative;
    display: flex; align-items: center; gap: 8px;
    min-height: 38px; padding: 8px 10px; border-radius: 9px;
    color: #466382; font-size: 13px; font-weight: 500; line-height: 1.4;
    transition: background .18s var(--ease), color .18s var(--ease);
}
.kb-rail-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-rail-link.is-all { margin-bottom: 3px; font-weight: 650; }
.kb-rail-link:hover { background: #f5f9ff; color: #1d4ed8; }
.kb-rail-link.is-branch { color: #2f5f96; }
.kb-rail-link.is-on {
    background: linear-gradient(90deg, #edf4ff 0%, #f7fbff 100%);
    color: #1d4ed8; font-weight: 700;
}
.kb-rail-link.is-on::before {
    content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
    width: 3px; border-radius: 0 3px 3px 0; background: #2563eb;
}
.kb-rail-sub {
    display: flex; flex-direction: column; gap: 2px;
    margin: 2px 0 4px 9px; padding-left: 9px;
    border-left: 1px solid #e2ebf5;
}
.kb-rail-link.level-2 { min-height: 34px; padding: 6px 8px; font-size: 12.5px; color: #637b95; }
.kb-rail-link.level-3 { min-height: 32px; padding: 5px 8px 5px 20px; font-size: 12px; color: #7a8fa5; }
.kb-rail-filter {
    display: flex; align-items: center; gap: 6px; width: calc(100% - 16px);
    margin: 4px 8px 8px; padding: 10px 9px 8px; border: 0; border-top: 1px solid #f0f4f9;
    background: transparent; color: #7b8da4; font-size: 12px; font-family: inherit; cursor: pointer;
}
.kb-rail-filter:hover { color: var(--primary-2); }
.kb-rail-filter b {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 16px; height: 16px; border-radius: 5px;
    background: #eaf1ff; color: #2563eb; font-size: 12px;
}

.kb-main { min-width: 0; }
.kb-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 52px; padding: 7px 12px 7px 8px; margin-bottom: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 4px 14px rgba(30, 64, 175, .035);
}
.kb-toolbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kb-tool-filter {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 36px; padding: 0 11px; border: 1px solid #dbe5f2; border-radius: 9px;
    background: #f8fbff; color: #31557d; font-size: 12px; font-family: inherit; cursor: pointer;
}
.kb-tool-filter:hover { border-color: #bfd4f2; background: #f2f7ff; color: #1d4ed8; }
.kb-tool-filter em { padding-left: 7px; border-left: 1px solid #e1e9f4; color: #8aa0bb; font-size: 12px; font-style: normal; }
.kb-toolbar-note { color: #93a5ba; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-sort { display: inline-flex; align-items: center; gap: 3px; flex: none; color: #8ba0b8; font-size: 12px; }
.kb-sort .ic { opacity: .7; transform: rotate(90deg); }
.kb-mobile-tools { display: none; }

.kb-list { display: flex; flex-direction: column; gap: 10px; }
.kb-list .article-row { border-radius: 12px; box-shadow: 0 3px 12px rgba(30, 64, 175, .035); }
.kb-list .article-row:hover { transform: translateY(-1px); }
.kb-list .article-row-body { padding: 15px 18px 13px; }
.kb-list .article-row-title { font-size: 17px; margin-bottom: 5px; }
.kb-list .article-row-summary { font-size: 12px; }
.kb-list .article-row-foot { margin-top: 9px; }
.kb-active-filters {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    margin: 0 0 11px; color: #8497ad; font-size: 12px;
}
.kb-active-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 8px; border-radius: 6px; background: #eaf2ff; color: #2563eb; font-size: 12px;
}
.kb-active-chip:hover { background: #dfebff; }
.kb-pager { margin-top: 24px; }

.kb-search-start {
    display: flex; align-items: flex-start; gap: 15px;
    padding: 32px 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.kb-search-start-icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 12px; background: #f1f6ff; color: #5b8def;
}
.kb-search-start h3 { margin: 1px 0 6px; font-size: 18px; color: var(--ink); }
.kb-search-start p { margin: 0 0 13px; color: #71869f; font-size: 12px; line-height: 1.8; }
.kb-hotwords { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #98a9bd; font-size: 12px; }
.kb-hotwords a { padding: 4px 9px; border-radius: 6px; background: #f5f9ff; color: #35679d; }
.kb-hotwords a:hover { background: #eaf2ff; color: #1d4ed8; }
.kb-empty { padding: 44px 24px; }

/* 知识库右栏：课程卡与书单页侧栏同一套结构 */
.kb-layout > .kb-side { position: sticky; top: 84px; }
.kb-article-side { position: sticky; top: 84px; }
.kb-article-side .kb-side { position: static; }
.kb-side .article-side-block, .kb-article-side .article-side-block { margin-bottom: 16px; }
.kb-side .article-side-block,
.kb-article-side .article-side-block {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.kb-side .article-side-head,
.kb-article-side .article-side-head {
    margin: 0 0 10px;
    padding: 0 2px 10px;
    border-bottom: 1px solid #e7eef8;
}

/* 书单列表/详情：桌面右栏课程模块去掉外层白卡，课程卡仍保留自身卡片 */
@media (min-width: 981px) {
    .book-aside .book-course-block {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .book-aside .book-course-block .article-side-head {
        margin: 0 0 10px;
        padding: 0 2px 10px;
        border-bottom: 1px solid #e7eef8;
    }
}
.kb-side .article-side-block:last-child, .kb-article-side .article-side-block:last-child { margin-bottom: 0; }

/* 侧栏课程卡：与书单详情侧栏完全一致，紧凑版 */
.article-side-course-list .course-card { border-radius: 12px; flex: 0 0 auto; }
.article-side-course-list .course-card .card-cover { aspect-ratio: 16 / 3; min-height: 54px; }
.article-side-course-list .course-card .card-body { padding: 11px 12px 12px; }
.article-side-course-list .course-card .card-title { font-size: 14px; line-height: 1.45; margin: 0 0 5px; }
.article-side-course-list .course-card .card-summary {
    font-size: 12px; line-height: 1.62; margin: 0 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-side-course-list .course-card .card-info { padding-top: 8px; font-size: 12px; gap: 4px; }
.article-side-course-list .course-card .meta-item { flex: none; justify-content: flex-start; }
.article-side-course-list .course-card .foot-days { flex: none; justify-content: flex-start; font-size: 12px; }
.article-side-course-list .course-card .foot-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.article-side-course-list .course-card .foot-date { flex: 0 0 auto; justify-content: flex-end; font-size: 12px; }
.article-side-course-list .course-card .card-price { font-size: 12px; }

/* 课程卡价格（全站课程卡） */
.course-card .card-price { color: #e04545; font-size: 13px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.course-card .card-info .foot-side { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex: 1 1 0; min-width: 0; }
.course-card .card-info .foot-side .foot-date { flex: none; justify-content: flex-end; }
.course-card .card-info .foot-side .card-price { flex: none; }

/* 侧栏图书条目：与书单页侧栏共用，放大到可识别封面 */
.side-book-cover { flex: 0 0 40px; width: 40px; height: 54px; }
.side-book-copy strong { font-size: 12px; line-height: 1.45; }
.side-book-copy em { font-size: 12px; }

/* 移动端底部配套学习卡 */
.kb-mobile-related { display: none; }
.kb-mini-course {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 11px; border: 1px solid #e6edf7; border-radius: 10px; background: #fbfdff;
}
.kb-mini-course-icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 10px; color: #fff;
    background: linear-gradient(150deg, var(--ac, #3b82f6), rgba(15, 23, 42, .88));
}
.kb-mini-course-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.kb-mini-course-copy em { color: #8ba0b8; font-size: 12px; font-style: normal; }
.kb-mini-course-copy strong { color: var(--ink); font-size: 13px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-mini-course-copy span { display: inline-flex; align-items: center; gap: 3px; color: #8599b1; font-size: 12px; }
.kb-mini-price { flex: none; color: #e04545; font-size: 14px; font-weight: 800; }
.kb-mini-book {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 11px; border: 1px solid #e6edf7; border-radius: 10px; background: #fff;
}
.kb-mini-book-cover {
    flex: none; width: 40px; height: 54px; border-radius: 5px; overflow: hidden;
    background: linear-gradient(150deg, #1e40af, #3b82f6);
}
.kb-mini-book-cover img { width: 100%; height: 100%; object-fit: cover; }
.kb-mini-book-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.kb-mini-book-copy em { color: #8ba0b8; font-size: 12px; font-style: normal; }
.kb-mini-book-copy strong { color: var(--ink); font-size: 13px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-mini-book-copy span { color: #8599b1; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-mini-arrow { flex: none; color: #a9b8c9; display: inline-flex; }

/* ================= v1.11.6 文章详情（知识库） ================= */
.kb-article-head { background: #fff; border-bottom: 1px solid var(--line); padding: 24px 0 20px; }
.kb-article-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; margin-top: 13px; }
.kb-article-head-copy { min-width: 0; max-width: 900px; }
.kb-article-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 7px; }
.kb-article-cat { color: var(--primary-2); font-size: 12px; font-weight: 600; }
.kb-article-cat:hover { color: #1d4ed8; }
.kb-article-title { margin: 0 0 9px; font-size: 32px; line-height: 1.4; letter-spacing: -.022em; color: var(--ink); font-weight: 700; }
.kb-article-lead { max-width: 820px; margin: 0 0 12px; color: #647b95; font-size: 13px; line-height: 1.8; }
.kb-article-meta { display: flex; flex-wrap: wrap; gap: 15px; color: #8ba0b8; font-size: 12px; }
.kb-article-meta span { display: inline-flex; align-items: center; gap: 4px; }
.kb-share-btn {
    flex: none; display: inline-flex; align-items: center; gap: 6px;
    min-height: 38px; padding: 0 13px; border: 1px solid #dbe5f2; border-radius: 9px;
    background: #f7faff; color: #31557d; font-size: 12px; font-family: inherit; cursor: pointer;
}
.kb-share-btn:hover { background: #edf4ff; border-color: #bfd4f2; color: #1d4ed8; }

.kb-article-body { padding: 26px 0 58px; background: var(--bg); }
.kb-article-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: 20px;
    align-items: start; margin: 0;
}
.kb-article-main {
    min-width: 0; padding: 34px 38px 26px; background: #fff;
    border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(30, 64, 175, .045);
}
.kb-article-main .article-detail-cover { margin-bottom: 25px; border-radius: 11px; }
.kb-article-main .article-content { font-size: 15px; line-height: 1.9; color: #334155; }
.kb-article-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 28px; padding-top: 18px; border-top: 1px solid #edf1f7;
}
.kb-share-text {
    display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0;
    background: transparent; color: #5f7d9f; font-size: 12px; font-family: inherit; cursor: pointer;
}
.kb-share-text:hover { color: var(--primary-2); }
.kb-article-main .article-source { margin: 12px 0 0; color: #8ba0b8; font-size: 12px; word-break: break-all; }
.kb-article-mobile-related { margin-top: 24px; padding-top: 20px; border-top: 1px solid #edf1f7; }
.kb-mobile-related-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 15px 0 9px; }
.kb-mobile-related-head:first-child { margin-top: 0; }
.kb-mobile-related-head > span { display: inline-flex; align-items: center; gap: 5px; color: #4c6582; font-size: 12px; font-weight: 700; }
.kb-mobile-related-head > a { display: inline-flex; align-items: center; gap: 2px; color: #8ba0b8; font-size: 12px; }
.kb-mobile-reads { display: flex; flex-direction: column; gap: 1px; background: #eef3f9; border-radius: 10px; overflow: hidden; }
.kb-mobile-read {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 12px; background: #fff; color: #405a77; font-size: 12px;
}
.kb-mobile-read span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-mobile-read .ic { flex: none; color: #a9b8c9; }

/* ================= v1.11.6 筛选浮层 / 手机抽屉 ================= */
.kb-filter-mask { position: fixed; inset: 0; z-index: 1100; background: rgba(9, 20, 38, .44); }
.kb-filter-sheet {
    position: fixed; z-index: 1101; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: flex; flex-direction: column; width: min(620px, calc(100vw - 36px)); max-height: 82vh;
    background: #fff; border-radius: 16px; box-shadow: 0 26px 70px rgba(8, 20, 40, .28); overflow: hidden;
}
.kb-sheet-head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 22px 13px; border-bottom: 1px solid #edf1f7;
}
.kb-sheet-head > span { color: var(--ink); font-size: 15px; font-weight: 700; }
.kb-sheet-head button { border: 0; background: transparent; color: #8ba0b8; font-size: 12px; font-family: inherit; cursor: pointer; }
.kb-sheet-body { display: flex; flex-direction: column; gap: 18px; padding: 18px 22px; overflow-y: auto; }
.kb-sheet-group { min-width: 0; }
.kb-sheet-label { display: flex; align-items: center; gap: 5px; margin-bottom: 9px; color: #5b7492; font-size: var(--fs-xs); font-weight: 600; }
.kb-sheet-label em { padding: 1px 5px; border-radius: 4px; background: #f2f6fc; color: #93a5ba; font-size: var(--fs-2xs); font-style: normal; font-weight: 500; }
.kb-sheet-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-sheet-chips .chip {
    display: inline-flex; align-items: center; gap: 4px;
    min-height: 32px; padding: 0 11px; border: 1px solid #e3eaf4; border-radius: 9px;
    background: #fff; color: #5e7691; font-size: var(--fs-xs);
}
.kb-sheet-chips .chip em { color: #a2b1c2; font-size: var(--fs-2xs); font-style: normal; }
.kb-sheet-chips .chip:hover { border-color: #bfd4f2; color: #1d4ed8; }
.kb-sheet-chips .chip.is-on { border-color: #bcd7ff; background: #edf4ff; color: #1d4ed8; font-weight: 600; }
.kb-sheet-chips .chip.is-on em { color: #2563eb; }
.kb-sheet-empty { margin: 0; color: #93a5ba; font-size: 12px; }
.kb-sheet-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 13px 22px calc(13px + env(safe-area-inset-bottom));
    border-top: 1px solid #edf1f7; background: #fff;
}
.kb-sheet-foot .btn { min-height: 38px; padding: 0 18px; font-size: 12px; }
.kb-sheet-clear { color: #8ba0b8; font-size: 12px; }
.kb-sheet-clear:hover { color: #e04545; }

/* ================= 知识库响应式 ================= */
@media (max-width: 1080px) {
    .kb-layout { grid-template-columns: 180px minmax(0, 1fr) 284px; gap: 16px; }
    .kb-article-grid { grid-template-columns: minmax(0, 1fr) 284px; gap: 18px; }
}
@media (max-width: 900px) {
    .kb-head { padding: 14px 0 13px; }
    .kb-crumb { gap: 5px; font-size: 12px; }
    .kb-head-row { align-items: flex-start; gap: 12px; margin-top: 9px; }
    .kb-title { font-size: 22px; line-height: 1.3; }
    .kb-desc { margin-top: 5px; font-size: 12px; line-height: 1.7; }
    .kb-head-count strong { font-size: 20px; }
    .kb-head-count span { font-size: 12px; }
    .kb-body { padding: 12px 0 38px; }
    .kb-layout { display: block; max-width: none; }
    .kb-rail, .kb-side, .kb-toolbar { display: none; }

    .kb-mobile-tools { display: block; margin: 12px 0 11px; }
    .kb-mobile-top { display: flex; align-items: center; gap: 8px; }
    .kb-filter-btn {
        flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
        width: 62px; height: 44px; padding: 0; border: 1px solid #dbe5f2; border-radius: 8px;
        background: #fff; color: #31557d; font-family: inherit; cursor: pointer;
    }
    .kb-filter-row { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 1.2; font-weight: 600; }
    .kb-filter-count { margin-top: 2px; color: #8ba0b8; font-size: 12px; line-height: 1.2; }
    .kb-chips {
        display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1;
        overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .kb-chips::-webkit-scrollbar { display: none; }
    .kb-chip {
        flex: none; display: inline-flex; align-items: center; gap: 3px;
        height: 34px; padding: 0 9px; border: 1px solid #e3eaf4; border-radius: 8px;
        background: #fff; color: #5e7691; font-size: var(--fs-xs); white-space: nowrap;
    }
    .kb-chip em { color: #a2b1c2; font-size: 12px; font-style: normal; }
    .kb-chip.is-on { border-color: #2f6bd8; background: #2f6bd8; color: #fff; font-weight: 600; }
    .kb-chip.is-on em { color: rgba(255, 255, 255, .72); }
    .kb-chip-more { border-style: dashed; color: #8ba0b8; font-family: inherit; }
    .kb-mobile-sort { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-top: 7px; color: #93a5ba; font-size: 12px; }
    .kb-mobile-sort .ic { transform: rotate(90deg); opacity: .7; }

    .kb-list { gap: 9px; }
    .kb-list .article-row { border-radius: 11px; }
    .kb-list .article-row-body { padding: 13px 14px 12px; }
    .kb-list .article-row-title { font-size: 15px; line-height: 1.45; margin-bottom: 4px; }
    .kb-list .article-row-summary { font-size: 12px; line-height: 1.68; }
    .kb-list .article-row-foot { margin-top: 7px; }
    .kb-active-filters { margin: -2px 0 9px; }
    .kb-search-start { padding: 22px 16px; gap: 11px; }
    .kb-search-start-icon { width: 42px; height: 42px; }
    .kb-search-start h3 { font-size: 16px; }
    .kb-search-start p { font-size: 12px; }

    .kb-mobile-related { display: block; margin-top: 14px; }
    .kb-article-mobile-related { display: block; }

    .kb-article-head { padding: 14px 0 13px; }
    .kb-article-head-row { gap: 10px; margin-top: 9px; }
    .kb-article-title { font-size: 22px; line-height: 1.42; margin-bottom: 7px; }
    .kb-article-lead { font-size: 12px; line-height: 1.7; margin-bottom: 9px; }
    .kb-article-meta { gap: 10px; font-size: 12px; }
    .kb-share-btn { min-height: 34px; padding: 0 9px; border-radius: 8px; }
    .kb-share-btn span { display: none; }
    .kb-article-body { padding: 13px 0 34px; }
    .kb-article-grid { display: block; max-width: none; }
    .kb-article-side { display: none; }
    .kb-article-main { padding: 18px 15px 16px; border-radius: 14px; }
    .kb-article-main .article-content { font-size: 15px; line-height: 1.8; }
    .kb-article-foot { margin-top: 22px; padding-top: 15px; }
    .kb-share-text { font-size: 12px; }
    .kb-article-mobile-related { margin-top: 20px; padding-top: 16px; }
    .kb-mobile-related-head { margin: 14px 0 8px; }
    .kb-mobile-related-head > span { font-size: 12px; }
    .kb-mobile-related-head > a { font-size: 12px; }

    .kb-filter-sheet {
        left: 0; right: 0; bottom: 0; top: auto; transform: none;
        width: 100%; max-height: 78vh; border-radius: 18px 18px 0 0;
    }
    .kb-sheet-head { padding: 15px 18px 12px; }
    .kb-sheet-body { padding: 15px 18px 18px; gap: 16px; }
    .kb-sheet-chips .chip { min-height: 33px; padding: 0 10px; }
    .kb-sheet-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
}

/* 筛选层默认隐藏：避免作者样式覆盖 hidden 属性 */
.kb-filter-mask[hidden],
.kb-filter-sheet[hidden] { display: none !important; }

/* 课程价格独立一行：不挤压底部三个信息位 */

/* ================= v1.11.8 细节修正 ================= */
/* 侧栏图书条目：放大封面与书名，避免显得小气 */
.side-book-list { gap: 7px; }
.side-book-item {
    gap: 12px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px;
    transition: background .18s ease;
}
.side-book-item:hover { background: #f6f9fe; }
.side-book-cover { flex: 0 0 56px; width: 56px; height: 76px; border-radius: 5px; }
.side-book-copy strong { font-size: 15px; line-height: 1.5; font-weight: 650; color: #243b53; }
.side-book-copy em { margin-top: 4px; font-size: 12px; color: #8ba0b8; }

/* 移动端筛选：滑动提示、右缘淡化、选中色统一 */
@media (max-width: 900px) {
    .kb-mobile-top { align-items: flex-end; }
    .kb-mobile-track { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
    .kb-swipe-hint {
        display: flex; align-items: center; justify-content: flex-end; gap: 2px;
        height: 13px; padding-right: 10px; color: #8496aa; font-size: 12px; line-height: 1;
    }
    .kb-swipe-hint .ic { opacity: .7; }
    .kb-chips {
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
        mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
    }
    .kb-chip.is-on { border-color: #1e40af; background: #1e40af; color: #fff; }
    .kb-sheet-chips .chip.is-on { border-color: #1e40af; background: #1e40af; color: #fff; }
    .kb-sheet-chips .chip.is-on em { color: rgba(255,255,255,.78); }
    .kb-mobile-sort { display: none; }

    /* 书单分类条：右缘淡化 + 滑动提示 */
    .book-swipe-hint {
        display: flex; align-items: center; justify-content: flex-end; gap: 2px;
        margin-bottom: 6px; padding-right: 10px; color: #8496aa; font-size: 12px;
    }
    .book-swipe-hint .ic { opacity: .7; }
    .book-cat-bar {
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
        mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
    }

    /* 文章详情手机端：暖纸色阅读底，降低屏幕刺激 */
    .kb-article-head { background: #fffdf8; border-bottom-color: #e9e2d5; }
    .kb-article-body { background: #f1ede4; }
    .kb-article-main {
        background: #fffdf8; border-color: #e8e0d1;
        box-shadow: 0 10px 28px rgba(80, 65, 45, .07);
    }
    .kb-article-main .article-content { color: #3f4741; }
    .kb-article-main .article-content h2,
    .kb-article-main .article-content h3 { color: #203a34; }
    .kb-article-main .article-content blockquote {
        background: #f6f1e7; border-left-color: #8b6f47; color: #5c5a50;
    }
    .kb-article-main .article-content a { color: #2d5b50; }
}

@media (min-width: 901px) { .book-swipe-hint { display: none; } }

/* v1.11.8 书单顶部：与课程中心同款紧凑单卡 */
.books-feature-board { padding: 18px 20px 20px; border-radius: 14px; }
.books-feature-head { align-items: center; margin-bottom: 12px; }
.books-feature-kicker { margin-bottom: 0; font-size: 12px; letter-spacing: .12em; }
.books-feature-note { display: none; }
.book-feature-card { padding: 10px; gap: 12px; border-radius: 10px; }
.book-feature-cover { flex-basis: 78px; width: 78px; height: 104px; border-radius: 5px; }
.book-feature-copy strong { font-size: 15px; }
.book-feature-copy small { font-size: 12px; line-height: 1.6; margin-top: 4px; }
.book-feature-meta { padding-top: 8px; font-size: 12px; }

@media (max-width: 760px) {
    .books-feature-board {
        box-sizing: border-box;
        min-height: 183px;
        height: 183px;
        padding: 12px 16px 10px;
        display: flex;
        flex-direction: column;
    }
    .books-feature-head { margin-bottom: 5px; }
    .books-feature-grid { flex: 1; min-height: 0; gap: 0; align-items: center; }
    .book-feature-card {
        flex: 0 0 100%;
        padding: 0;
        gap: 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .book-feature-card:hover { transform: none; background: transparent; }
    .book-feature-cover { flex-basis: 100px; width: 100px; height: 136px; }
    .book-feature-copy strong { font-size: 16px; line-height: 1.4; }
    .book-feature-copy small { font-size: 12px; line-height: 1.55; margin-top: 4px; }
    .book-feature-meta { padding-top: 7px; font-size: 12px; }
    .books-feature-dots { gap: 7px; padding: 10px 0 0; }
    .books-feature-dot { width: 7px; height: 7px; }
    .books-feature-dot.is-on { width: 20px; }
}


/* ================= v1.12.0 首页收敛与搜索首页 ================= */
.search-landing-hero {
    padding: 76px 0 70px;
    background-image:
        radial-gradient(760px 340px at 82% 0%, rgba(59,130,246,.28), transparent 68%),
        linear-gradient(120deg, #08162f 0%, #0d2551 58%, #123a79 100%);
}
.search-landing-center { max-width: 820px; margin: 0 auto; text-align: center; }
.search-hero-form { max-width: 760px; margin: 0 auto; }
.search-hero-hot {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 13px; margin-top: 16px;
    color: rgba(198,218,245,.55); font-size: 12px;
}
.search-hero-hot-label { margin-right: 2px; color: rgba(198,218,245,.62); font-size: 12px; }
.search-hero-hot a {
    display: inline; padding: 0; border: 0; background: transparent;
    color: #d7e8ff; font-size: 12px; line-height: 1.5;
    transition: color .18s ease;
}
.search-hero-hot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.search-body:has(.search-course-grid) { padding-top: 30px; }

@media (max-width: 760px) {
    .search-landing-hero { padding: 28px 0 26px; }
    .search-hero-form { padding-left: 12px; }
    .search-hero-form input { font-size: 16px; }
    .search-hero-form button { padding: 10px 17px; font-size: 13px; }
    .search-hero-hot { flex-wrap: nowrap; justify-content: center; gap: 7px; margin-top: 12px; white-space: nowrap; }
    .search-hero-hot-label { width: auto; margin: 0 1px 0 0; flex: none; text-align: left; font-size: 12px; }
    .search-hero-hot a { font-size: 12px; }
}


/* v1.12.1 首页幻灯片内四项数据 */
.hero-stats-four { gap: 34px; flex-wrap: nowrap; }
.hero-stats-four .hero-stat { min-width: 0; }
.hero-stats-four .hero-stat span { white-space: nowrap; }
@media (max-width: 860px) {
    .hero-slide .hero-stats-four { gap: 18px; margin-top: 24px; padding-top: 15px; }
    .hero-stats-four .hero-stat strong { font-size: 22px; }
    .hero-stats-four .hero-stat span { font-size: 12px; letter-spacing: 0; }
}


/* ================= v1.12.3 课程咨询吸顶与手机图书详情 ================= */
@media (min-width: 861px) {
    /* 咨询卡独立吸顶；推荐块跟随在下方，靠近页尾时由脚本收起，避免露出半截 */
    .course-detail { align-items: stretch; }
    .detail-side {
        position: static;
        height: 100%;
        max-height: none;
        overflow: visible;
    }
    .detail-side .side-card {
        position: sticky;
        top: 84px;
        z-index: 6;
        flex: 0 0 auto;
    }
    .detail-side .side-recommend {
        position: sticky;
        top: 268px;
        max-height: calc(100vh - 284px);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .detail-side .side-recommend .recommend-list {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-right: 4px;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
    .detail-side .side-recommend .recommend-list::-webkit-scrollbar { width: 5px; }
    .detail-side .side-recommend .recommend-list::-webkit-scrollbar-thumb {
        background: #cbd5e1; border-radius: 99px;
    }
}

@media (max-width: 760px) {
    /* 手机图书详情：封面只占标题/摘要两列，书目信息与按钮通栏，消除封面下方空洞 */
    .book-hero {
        grid-template-columns: 110px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 5px;
        align-items: start;
    }
    .book-hero-copy { display: contents; }
    .book-hero-cover {
        grid-column: 1;
        grid-row: 1 / span 4;
        width: 110px;
        height: 100%;
        min-height: 147px;
        align-self: stretch;
    }
    .book-card-meta { grid-column: 2; grid-row: 1; }
    .book-hero-copy h1 { grid-column: 2; grid-row: 2; margin-top: 0; }
    .book-hero-author { grid-column: 2; grid-row: 3; margin-top: 0; }
    .book-hero-summary { grid-column: 2; grid-row: 4; margin-top: 2px; }
    .book-meta-grid.book-meta-hero { grid-column: 1 / -1; grid-row: 5; margin-top: 8px; }
    .book-hero-actions { grid-column: 1 / -1; grid-row: 6; margin-top: 8px; }
    .book-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 380px) {
    .book-hero { grid-template-columns: 100px minmax(0, 1fr); }
    .book-hero-cover { width: 100px; }
    .book-hero-copy h1 { font-size: 19px; }
}

/* ================= v1.12.4 手机首页首屏 ================= */
@media (max-width: 860px) {
    /* 幻灯片高度收为原来的九分之八（460px → 409px） */
    .hero-slider { height: 409px; }

    /* 四项数字整体靠右，间距略增，便于右手点击 */
    .hero-slide .hero-stats-four {
        justify-content: flex-end;
        gap: 22px;
    }

    /* 中部按钮改为浅蓝雾面，降低白色块的刺眼感 */
    .hero-slide .btn-light {
        background: rgba(238, 244, 255, .92);
        border-color: rgba(255, 255, 255, .32);
        color: #16305f;
        box-shadow: 0 8px 20px rgba(4, 10, 26, .2);
        backdrop-filter: blur(6px);
    }
}

@media (max-width: 620px) {
    /* 学员单位名称底框加深一档，保持轻但有边界 */
    .partner-item {
        background: #f3f7fd;
        border-color: #dfe8f5;
    }
    .partner-item .partner-name { color: #52657f; }
}

/* ================= v1.12.5 知识库筛选体验 ================= */
.kb-tool-filter-v2 {
    min-height: 38px; padding: 0 12px; border-color: #cfe0f4; background: #fff;
    color: #1d4ed8; font-weight: 600;
}
.kb-tool-filter-v2:hover { background: #edf4ff; }
.kb-filter-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 17px; height: 17px; padding: 0 4px; border-radius: 5px;
    background: #2563eb; color: #fff; font-size: 12px; line-height: 1; font-style: normal; font-weight: 700;
}
.kb-active-clear {
    display: inline-flex; align-items: center; min-height: 30px; padding: 0 4px;
    color: #c24141; font-size: 12px; font-weight: 600;
}
.kb-active-clear:hover { color: #a61b1b; text-decoration: underline; }

/* 新版属性抽屉 */
.kb-filter-sheet-v2 .kb-sheet-head {
    align-items: center; padding: 15px 20px 13px;
}
.kb-filter-sheet-v2 .kb-sheet-head-copy { min-width: 0; }
.kb-filter-sheet-v2 .kb-sheet-head-copy span {
    display: block; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.3;
}
.kb-filter-sheet-v2 .kb-sheet-head-copy small {
    display: block; margin-top: 3px; color: #7d90a6; font-size: 12px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kb-sheet-close-v2 {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: -4px -8px -4px 0; padding: 0;
    border: 0; border-radius: 10px; background: transparent; color: #8ba0b8; cursor: pointer;
}
.kb-sheet-close-v2:hover { background: #f2f6fc; color: #31557d; }
.kb-filter-sheet-v2 .kb-sheet-body { gap: 16px; padding: 15px 20px 18px; }
.kb-filter-sheet-v2 { width: min(560px, calc(100vw - 36px)); }
.kb-sheet-tabs {
    display: flex; gap: 7px; padding: 0 20px 12px;
    flex: 0 0 auto;
    border-bottom: 1px solid #edf1f7;
}
.kb-sheet-tab {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    min-height: 38px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px;
    background: #f5f8fd; color: #6d8299; font-size: 12px; font-weight: 600;
    font-family: inherit; line-height: 1; cursor: pointer;
    transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.kb-sheet-tab:hover { border-color: #d4e2f4; color: #31557d; }
.kb-sheet-tab.is-on {
    border-color: #bed6f7; background: #edf4ff; color: #1d4ed8;
    box-shadow: 0 2px 7px rgba(37, 99, 235, .08);
}
.kb-sheet-tab b {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 17px; height: 17px; padding: 0 4px; border-radius: 5px;
    background: #2563eb; color: #fff; font-size: 11px; font-weight: 700;
}
.kb-sheet-pane { min-width: 0; }
.kb-sheet-pane[hidden] { display: none !important; }

/* 分类目录：桌面和手机共用；手机为两列大按钮网格 */
.kb-dir-all {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    min-height: 46px; margin-bottom: 10px; padding: 0 14px;
    border: 1px solid #dfe9f5; border-radius: 10px;
    background: #f8fbff; color: #31557d; font-size: 13px; font-weight: 650;
    transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.kb-dir-all:hover { border-color: #bfd4f2; background: #f2f7ff; color: #1d4ed8; }
.kb-dir-all.is-on { border-color: #b9d3f5; background: #edf4ff; color: #1d4ed8; }
.kb-dir-all .ic { flex: none; opacity: .62; }
.kb-dir-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px; align-items: start;
}
.kb-dir-group {
    min-width: 0; overflow: hidden;
    border: 1px solid #e3ebf5; border-radius: 11px; background: #fff;
    transition: border-color .16s var(--ease), background .16s var(--ease);
}
.kb-dir-group:hover { border-color: #c9dcf6; }
.kb-dir-group.is-open { grid-column: 1 / -1; border-color: #c9dcf6; background: #fbfdff; }
.kb-dir-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    width: 100%; min-height: 48px; padding: 0 12px; border: 0; background: transparent;
    color: #405f7f; font-size: 12.5px; font-weight: 600; font-family: inherit;
    line-height: 1.3; text-align: left; cursor: pointer;
}
.kb-dir-toggle span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-dir-toggle .ic { flex: none; color: #8ba2b9; transition: transform .18s var(--ease), color .16s; }
.kb-dir-toggle:hover { background: #f7fbff; color: #1d4ed8; }
.kb-dir-group.is-open .kb-dir-toggle { color: #1d4ed8; }
.kb-dir-group.is-open .kb-dir-toggle .ic { transform: rotate(90deg); color: #2563eb; }
.kb-dir-panel {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 0 10px 11px;
}
.kb-dir-panel[hidden] { display: none !important; }
.kb-dir-parent, .kb-dir-child {
    display: inline-flex; align-items: center;
    min-height: 32px; padding: 0 10px; border: 1px solid #e6edf6; border-radius: 8px;
    background: #fff; color: #61798f; font-size: 12px; line-height: 1.2;
    transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.kb-dir-parent { border-color: #d8e5f5; background: #f7fbff; color: #31557d; font-weight: 600; }
.kb-dir-parent:hover, .kb-dir-child:hover { border-color: #bfd4f2; background: #f2f7ff; color: #1d4ed8; }
.kb-dir-parent.is-on, .kb-dir-child.is-on { border-color: #b9d3f5; background: #edf4ff; color: #1d4ed8; font-weight: 650; }
.kb-dir-child.level-3 { border-style: dashed; color: #7a8fa5; }
.kb-dir-leaf {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-height: 48px; padding: 0 12px; border: 1px solid #e3ebf5; border-radius: 11px;
    background: #fff; color: #405f7f; font-size: 12.5px; font-weight: 600; line-height: 1.3;
    transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.kb-dir-leaf span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-dir-leaf .ic { flex: none; opacity: .58; }
.kb-dir-leaf:hover { border-color: #c9dcf6; background: #f7fbff; color: #1d4ed8; }
.kb-dir-leaf.is-on { border-color: #b9d3f5; background: #edf4ff; color: #1d4ed8; }
.kb-filter-sheet-v2 .kb-sheet-summary {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px;
    padding: 9px 11px; border: 1px solid #e3ecf8; border-radius: 9px;
    background: #f8fbff; color: #4a6888; font-size: 12px;
}
.kb-filter-sheet-v2 .kb-sheet-summary span { font-weight: 600; }
.kb-filter-sheet-v2 .kb-sheet-summary b { color: #1d4ed8; font-size: 13px; }
.kb-filter-sheet-v2 .kb-sheet-summary em { color: #8ba0b8; font-size: 12px; font-style: normal; }
.kb-filter-sheet-v2 .kb-sheet-label em { background: #edf4ff; color: #5b82b8; }
.kb-check-chip {
    position: relative; display: inline-flex; align-items: center; gap: 7px;
    min-height: 44px; padding: 0 12px 0 10px; border: 1px solid #e3eaf4; border-radius: 10px;
    background: #fff; color: #5e7691; font-size: 12px; line-height: 1.25; cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.kb-check-chip:hover { border-color: #bfd4f2; color: #1d4ed8; }
.kb-check-chip input {
    position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none;
}
.kb-check-box {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 19px; height: 19px; border: 1px solid #d6e1ee; border-radius: 5px;
    background: #fff; color: transparent;
}
.kb-check-chip input:checked + .kb-check-box {
    border-color: #2563eb; background: #2563eb; color: #fff;
}
.kb-check-chip input:checked ~ .kb-check-text { color: #1d4ed8; font-weight: 600; }
.kb-check-chip:has(input:checked) { border-color: #bcd7ff; background: #edf4ff; }
.kb-check-chip input:focus-visible + .kb-check-box { outline: 2px solid #93b8f0; outline-offset: 2px; }
.kb-sheet-clear-v2 {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 16px; border: 1px solid #e7b4b4; border-radius: 10px;
    background: #fff7f7; color: #b42323; font-size: 12px; font-weight: 600;
    text-decoration: none;
}
.kb-sheet-clear-v2:hover { border-color: #d66; background: #fff0f0; color: #a61b1b; }
.kb-sheet-clear-v2.is-off {
    border-color: #e8edf4; background: #fafbfd; color: #b8c4d2; pointer-events: none;
}
.kb-sheet-apply-v2 { flex: 1; min-height: 44px; padding: 0 16px; font-size: 12px; }
.kb-sheet-apply-v2[hidden] { display: none !important; }
.kb-sheet-cat-tip { flex: 1; text-align: right; color: #8ba0b8; font-size: 12px; }
.kb-sheet-cat-tip[hidden] { display: none !important; }
.kb-filter-sheet-v2 .kb-sheet-foot { gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }

@media (max-width: 900px) {
    .kb-mobile-tools-v2 {
        display: block; position: sticky; top: 70px; z-index: 25;
        margin: 0 -2px 11px; padding: 9px 2px 10px;
        background: rgba(247, 249, 252, .96);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(226, 234, 244, .9);
        box-shadow: 0 8px 16px -14px rgba(30, 64, 175, .35);
    }
    .kb-mobile-tools-v2 .kb-mobile-headline { align-items: center; gap: 10px; margin-bottom: 8px; }
    .kb-mobile-total { flex: none; color: #8ba0b8; font-size: 12px; line-height: 1; white-space: nowrap; }
    .kb-mobile-total b { margin-right: 2px; color: #31557d; font-size: 13px; font-weight: 750; }
    .kb-mobile-actions { display: flex; align-items: center; gap: 8px; }
    .kb-filter-btn-v2 {
        flex: none; flex-direction: row; gap: 4px; width: auto; min-width: 64px; height: 44px;
        padding: 0 10px; border: 1px solid #dbe5f2; border-radius: 11px;
        background: #fff; color: #31557d;
    }
    .kb-filter-btn-v2 .kb-filter-row { font-size: 12px; font-weight: 650; }
    .kb-filter-btn-v2 .kb-filter-badge { margin-left: 1px; }
    .kb-cat-btn {
        flex: 1; min-width: 0; justify-content: flex-start; gap: 7px;
        padding: 0 11px 0 12px; border-color: #cfe0f4; background: #f8fbff;
        text-align: left;
    }
    .kb-cat-btn-icon { flex: none; display: inline-flex; color: #5b82b8; }
    .kb-cat-btn-label {
        flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
        color: #294f7d; font-size: 12px; font-weight: 650; text-align: left;
    }
    .kb-cat-btn .ic:last-child { flex: none; color: #8ba2b9; transform: rotate(90deg); }
    .kb-cat-btn:hover { border-color: #bfd4f2; background: #f2f7ff; }
    .kb-cat-btn:hover .kb-cat-btn-label { color: #1d4ed8; }
    .kb-filter-sheet-v2 .kb-sheet-chips .chip { min-height: 44px; padding: 0 11px; }
    .kb-filter-sheet-v2 .kb-sheet-foot { flex-wrap: nowrap; }
    .kb-filter-sheet-v2 .kb-sheet-clear-v2 { padding: 0 12px; }
    .kb-sheet-tabs { padding: 0 18px 10px; gap: 6px; }
    .kb-sheet-tab { min-height: 42px; }
    .kb-dir-grid { gap: 7px; }
    .kb-dir-toggle, .kb-dir-leaf { min-height: 48px; padding: 0 11px; }
}
.kb-filter-sheet-v2 .kb-sheet-foot .kb-sheet-apply-v2 { min-height: 44px; }

/* v1.12.5 知识库属性按钮：无勾选框，整块变色 */
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #e3eaf4;
    border-radius: 10px;
    background: #fff;
    color: #52657f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip:hover {
    border-color: #bfd4f2;
    color: #1d4ed8;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip.is-on,
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip:has(input:checked) {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #fff;
    font-weight: 600;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip.is-on:hover,
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip:has(input:checked):hover {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #fff;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip:has(input:focus-visible) {
    outline: 2px solid #93b8f0;
    outline-offset: 2px;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-text { pointer-events: none; }
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-all { font-family: inherit; }
@media (max-width: 860px) {
    .kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip {
        min-height: 44px;
        padding: 0 14px;
        font-size: 13px;
    }
}

/* v1.12.5 课程中心：手机筛选抽屉，PC 保持原有内联卡片 */
@media (min-width: 861px) {
    .course-filter-sheet-v2,
    .course-filter-mask-v2 { display: none !important; }
}
@media (max-width: 860px) {
    .course-filter-sheet-v2 { max-height: 88vh; }
    .course-filter-sheet-v2 .kb-sheet-body { padding-top: 14px; }
}

/* v1.12.7 筛选抽屉：顶部/底部固定，中间滚动，避免小屏底栏被顶出屏幕 */
.kb-filter-sheet form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.kb-filter-sheet .kb-sheet-head,
.kb-filter-sheet .kb-sheet-foot { flex: 0 0 auto; }
.kb-filter-sheet .kb-sheet-body {
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 860px) {
    .kb-filter-sheet {
        max-height: calc(100vh - 56px);
        max-height: calc(100dvh - 56px);
    }
}

/* v1.12.8 课程中心手机端：筛选按钮固定在左侧，月份区独立横向滚动 */
@media (max-width: 860px) {
    .timeline-mobile-row {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
    }
    .timeline-filter-item {
        display: block;
        flex: 0 0 auto;
        margin: 0;
    }
    .timeline-mobile-row .timeline-scroll {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
    }
}

/* v1.12.9 课程中心手机端：筛选按钮与月份胶囊顶部对齐 */
@media (max-width: 860px) {
    .timeline-filter-item {
        padding-top: 4px;
        box-sizing: border-box;
    }
}

/* ================= v1.12.10 知识库前台信息瘦身 ================= */
/* 手机端全站隐藏面包屑，PC 保留 */
@media (max-width: 860px) {
    .kb-crumb,
    .breadcrumb,
    .search-result-crumb { display: none !important; }
}

/* 文章列表：分类、日期移到摘要下方 */
.article-row-meta {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 7px; margin-top: 7px; font-size: 12px; color: #93a5ba;
}
.article-row-meta .article-cat-link { font-weight: 600; }
.article-row-title { margin-top: 0; }

/* 文章详情：标题与正文同容器，去掉外层卡片与底部分隔线 */
.kb-article-body { background: #fff; }
.kb-article-crumb { margin-bottom: 14px; }
.kb-article-main {
    padding: 0; background: transparent; border: 0;
    border-radius: 0; box-shadow: none;
}
.kb-article-intro { margin: 0 0 22px; }
.kb-article-intro .kb-article-kicker { margin-bottom: 8px; }
.kb-article-intro .kb-article-title { margin-bottom: 9px; }
.kb-article-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.kb-share-btn {
    min-height: 0; padding: 0; border: 0; border-radius: 0;
    background: transparent; color: #31557d;
}
.kb-share-btn:hover { background: transparent; color: var(--primary-2); }
.kb-article-foot { border-top: 0; padding-top: 0; }

/* 手机端文章详情：淡蓝阅读底 */
@media (max-width: 860px) {
    .kb-article-body {
        background: #eef5ff;
        padding: 0 0 34px;
    }
    .kb-article-main { padding: 18px 15px 16px; }
    .kb-article-intro { margin-bottom: 16px; }
    .kb-article-main .article-content { color: #31465f; }
    .kb-article-main .article-content h2,
    .kb-article-main .article-content h3 { color: #17345c; }
    .kb-article-main .article-content blockquote {
        background: #e4efff; border-left-color: #3b82f6; color: #3a506b;
    }
    .kb-article-main .article-content a { color: #2456d8; }
    .kb-share-btn span { display: inline; }
    .kb-share-btn { font-size: 12px; }
    .kb-article-foot { margin-top: 22px; padding-top: 0; }
    .article-row-meta { margin-top: 6px; font-size: 12px; }
}

/* ================= v1.12.11 书单详情页头部整理 ================= */
.book-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.book-detail-capsule {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    height: 30px;
    border: 1px solid rgba(15, 35, 66, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    overflow: hidden;
}
.book-capsule-seg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    padding: 0;
    border: 0;
    border-right: 1px solid rgba(15, 35, 66, .10);
    background: transparent;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    transition: background .16s, color .16s;
}
.book-capsule-seg:last-child { border-right: 0; }
.book-capsule-seg:hover,
.book-capsule-seg:focus-visible { background: #f3f7fd; color: var(--primary-2); }
.book-capsule-ic { display: inline-flex; line-height: 0; }
.book-capsule-ic.is-back { transform: rotate(180deg); }
.book-capsule-ic.is-up { transform: rotate(-90deg); }
.book-content-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eff4fa;
}

@media (max-width: 760px) {
    .book-hero {
        grid-template-columns: 110px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 9px;
        align-items: start;
    }
    .book-hero-top {
        grid-column: 1 / -1;
        grid-row: 1;
        align-items: center;
        min-width: 0;
    }
    .book-detail-capsule {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        height: 30px;
        border: 1px solid rgba(15, 35, 66, .14);
        border-radius: 999px;
        background: rgba(255, 255, 255, .82);
        overflow: hidden;
    }
    .book-capsule-seg {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 28px;
        padding: 0;
        border: 0;
        border-right: 1px solid rgba(15, 35, 66, .10);
        background: transparent;
        color: #64748b;
        text-decoration: none;
        cursor: pointer;
        transition: background .16s, color .16s;
    }
    .book-capsule-seg:last-child { border-right: 0; }
    .book-capsule-seg:hover { background: #f3f7fd; color: var(--primary-2); }
    .book-capsule-ic { display: inline-flex; line-height: 0; }
    .book-capsule-ic.is-back { transform: rotate(180deg); }
    .book-capsule-ic.is-up { transform: rotate(-90deg); }

    .book-hero-copy h1 {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 2px;
        font-size: 22px;
        line-height: 1.3;
    }
    .book-hero-cover {
        grid-column: 1;
        grid-row: 3;
        width: 110px;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 5;
        align-self: start;
    }
    .book-hero-summary {
        grid-column: 2;
        grid-row: 3;
        margin-top: 0;
        -webkit-line-clamp: 4;
    }
    .book-meta-grid.book-meta-hero { grid-row: 4; }
    .book-hero-actions { grid-row: 5; }
}

@media (max-width: 380px) {
    .book-hero { grid-template-columns: 100px minmax(0, 1fr); }
    .book-hero-cover { width: 100px; }
    .book-hero-copy h1 { font-size: 20px; }
}

/* ================= v1.12.12 文章详情页：三栏胶囊 / 字号 / 阅读底色 ================= */
.kb-article-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
}
.kb-article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}
.kb-article-tags .badge {
    max-width: 100%;
    flex: 0 1 auto;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-detail-capsule {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    height: 30px;
    border: 1px solid rgba(15, 35, 66, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    overflow: hidden;
}
.article-capsule-seg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    padding: 0;
    border: 0;
    border-right: 1px solid rgba(15, 35, 66, .10);
    background: transparent;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    transition: background .16s, color .16s;
}
.article-capsule-seg:last-child { border-right: 0; }
.article-capsule-seg:hover,
.article-capsule-seg:focus-visible { background: #f3f7fd; color: var(--primary-2); }
.article-capsule-ic { display: inline-flex; line-height: 0; }
.article-capsule-ic.is-back { transform: rotate(180deg); }
.article-capsule-ic.is-up { transform: rotate(-90deg); }
.article-detail-capsule--foot { display: inline-flex; }

.kb-article-title { font-size: var(--article-title-size, 32px); }
.kb-article-main .article-content { font-size: var(--article-content-size, 15px); }

/* PC：正文和侧栏之间拉开呼吸感 */
.kb-article-grid { gap: 40px; }
@media (max-width: 1080px) {
    .kb-article-grid { gap: 30px; }
}

/* 手机：淡蓝阅读底，正文直接落在页面上 */
@media (max-width: 860px) {
    .kb-article-body {
        background: #eef5ff;
        padding: 13px 0 34px;
    }
    .kb-article-body .container,
    .kb-article-grid,
    .kb-article-main,
    .kb-article-intro,
    .kb-article-foot,
    .article-content {
        background-color: transparent;
    }
    .kb-article-main { padding: 18px 15px 16px; }
    .kb-article-kicker { gap: 8px; }
    .kb-article-tags .badge {
        max-width: 100%;
    }
    .kb-article-title {
        font-size: clamp(20px, calc(var(--article-title-size, 32px) * .7), 24px);
    }
    .kb-article-main .article-content {
        font-size: clamp(14px, calc(var(--article-content-size, 15px) * .95), 17px);
    }
    .article-detail-capsule--foot { display: inline-flex; }
    .kb-article-foot { margin-top: 22px; padding-top: 0; }
}

/* ================= v1.12.14 课程详情胶囊 / 书单顶部收口 ================= */
.info-badges {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
}
.info-badge-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}
.course-detail-capsule {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    height: 30px;
    border: 1px solid rgba(15, 35, 66, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    overflow: hidden;
}
.course-capsule-seg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    padding: 0;
    border: 0;
    border-right: 1px solid rgba(15, 35, 66, .10);
    background: transparent;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    transition: background .16s, color .16s;
}
.course-capsule-seg:last-child { border-right: 0; }
.course-capsule-seg:hover,
.course-capsule-seg:focus-visible { background: #f3f7fd; color: var(--primary-2); }
.course-capsule-ic { display: inline-flex; line-height: 0; }
.course-capsule-ic.is-back { transform: rotate(180deg); }
.course-capsule-ic.is-up { transform: rotate(-90deg); }
.course-intro-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}
.course-intro-head .panel-title { margin-bottom: 0; min-width: 0; }
.course-intro-head .course-learn-btn { flex: 0 0 auto; }
.course-intro-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}
.course-learn-bottom {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
}
.course-learn-bottom .course-learn-btn {
    min-width: 208px;
    padding: 11px 22px;
}
.course-intro-foot .course-detail-capsule {
    grid-column: 3;
    justify-self: end;
}

/* 累计点击：详情页轻量图标数字 */
.kb-article-views,
.page-view-count { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.detail-views {
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid #e2eaf5;
    background: #f8fafc;
    color: #64748b;
    font-weight: 500;
}
.detail-views .ic { width: 13px; height: 13px; }
.book-view-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.book-view-count .ic { width: 13px; height: 13px; }
.page-single-meta .page-view-count { margin-left: 10px; color: #8aa0bb; }

/* 录播课开始学习：收成小尺寸按钮，不再全宽、不再带箭头 */
.course-intro-head .course-learn-btn,
.course-learn-bottom .course-learn-btn {
    min-width: 0;
    width: auto;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
    box-shadow: none;
}
.course-learn-btn svg { color: var(--primary); }
.course-learn-bottom .course-learn-btn { min-width: 0; }

.btn-book-share {
    background: #fff;
    color: #0f766e;
    border: 1px solid #c8e8da;
    box-shadow: 0 4px 12px rgba(15, 159, 110, .06);
}
.btn-book-share svg { color: #0a9b68; }
.btn-book-share:hover { border-color: #9fd5c2; background: #f7fffb; }

/* 书单详情：去掉顶部多余横线，同时收紧上方空白 */
.book-detail-head {
    padding: 12px 0 0;
    border-bottom: 0;
}
.book-detail-body { padding-top: 18px; }
@media (max-width: 860px) {
    .book-detail-head { padding-top: 10px; }
    .book-detail-body { padding-top: 16px; }
    .course-intro-foot { margin-top: 14px; }
    .course-intro-head { gap: 10px; margin-bottom: 14px; }
    .course-intro-head .course-learn-btn { padding: 7px 11px; font-size: 12px; }
    .course-intro-foot { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; }
    .course-learn-bottom .course-learn-btn { min-width: 0; width: auto; padding: 7px 13px; font-size: 12px; }
    .book-content-foot { margin-top: 16px; padding-top: 14px; }
}

/* ================= v1.12.15 知识库移动端页头收口 ================= */
@media (max-width: 900px) {
    /* 去掉原先独立的白底标题块；分类名移到筛选控件上方 */
    .kb-head { display: none; }
    .kb-mobile-headline {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
        margin: 0 2px 7px;
    }
    .kb-mobile-title {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: var(--ink);
        font-size: 17px;
        line-height: 1.35;
        font-weight: 750;
        letter-spacing: -.02em;
    }
    .kb-mobile-swipe {
        flex: none;
        display: inline-flex;
        align-items: center;
        gap: 2px;
        color: #8496aa;
        font-size: 11px;
        line-height: 1;
        white-space: nowrap;
    }
    .kb-mobile-swipe .ic { opacity: .7; }
}

/* ================= v1.12.16 知识库电脑端页头收口 ================= */
.kb-main-heading { display: none; }
@media (min-width: 901px) {
    /* 知识库主页 / 分类页：不再单独占一块白底页头，也不再显示面包屑 */
    .kb-head--compact { display: none; }
    .kb-main-heading {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        margin: 0 2px 10px;
    }
    .kb-main-title {
        min-width: 0;
        margin: 0;
        color: var(--ink);
        font-size: 20px;
        line-height: 1.35;
        font-weight: 750;
        letter-spacing: -.02em;
    }
    .kb-result-total { flex: none; padding-bottom: 2px; color: #93a5ba; font-size: 12px; }
    .kb-result-total b { margin: 0 1px; color: #31557d; font-size: 13px; font-weight: 750; }
    .kb-main-title + .kb-toolbar { margin-top: 0; }
}

/* ================= v1.12.17 首页关注 / 回顶 / 文章原创标记 ================= */
.hero-follow {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
}
.hero-follow .hero-follow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    transition: background .18s, border-color .18s, transform .18s;
}
.hero-follow > span:last-child {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .5px;
}
.hero-follow:hover .hero-follow-icon { background: rgba(255, 255, 255, .20); border-color: rgba(255, 255, 255, .5); transform: translateY(-1px); }
.hero-follow:hover > span:last-child { color: #fff; }

/* v1.12.35：PC 端关注项与数字项按同一基线对齐 */
@media (min-width: 861px) {
    .hero-follow { gap: 3px; }
    .hero-follow .hero-follow-icon { margin-top: 3px; }
    .hero-follow > span:last-child { line-height: 1.7; }
}

/* 回到顶部：细环进度 + 轻浮起 */
.back-top {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 80;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.back-top.is-on { opacity: 1; visibility: visible; transform: none; }
.back-top::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--top-progress, 0) * 1%), rgba(15, 35, 66, .12) 0);
    opacity: .9;
}
.back-top::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 22px rgba(15, 35, 66, .14);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.back-top .back-top-ic {
    position: relative;
    z-index: 1;
    display: inline-flex;
    transform: rotate(-90deg);
}

/* 文章作者后的原创/转载 */
.kb-article-author .article-origin-badge {
    margin-left: 1px;
    padding: 1px 6px;
    border: 1px solid #cfe0fb;
    border-radius: 4px;
    background: #edf4ff;
    color: #1d4ed8;
    font-style: normal;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
}
.kb-article-author .article-origin-badge.is-reprint {
    border-color: #f1dfb5;
    background: #fffaf0;
    color: #a16207;
}

@media (max-width: 900px) {
    .hero-slide .hero-stats-four {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }
    .hero-stats-four .hero-stat { min-width: 0; }
    .hero-follow { gap: 5px; }
    .hero-follow .hero-follow-icon { width: 26px; height: 26px; }
    .hero-follow > span:last-child { font-size: 12px; letter-spacing: 0; }
    .hero-follow .hero-follow-icon .ic { width: 16px; height: 16px; }
    .back-top {
        right: 14px;
        bottom: calc(82px + env(safe-area-inset-bottom));
        width: 40px;
        height: 40px;
    }
}


/* ================= v1.12.26 手机端细节 ================= */
@media (max-width: 900px) {
    .hero-slide .hero-stats-four {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        grid-template-columns: none;
        gap: 8px;
        width: 100%;
    }
    .hero-stats-four .hero-stat { flex: 0 0 auto; }
}

@media (max-width: 760px) {
    /* 搜索结果书单：封面在上、信息在下，一行两本 */
    .search-book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }
    .book-search-card {
        flex-direction: column;
        gap: 0;
        padding: 10px;
        border-radius: 12px;
    }
    .book-search-cover {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        border-radius: 6px;
    }
    .book-search-body {
        padding-top: 9px;
        flex: 1;
    }
    .book-search-title {
        margin-top: 4px;
        font-size: 13px;
        line-height: 1.4;
    }
    .book-search-author { font-size: 12px; margin-top: 2px; }
    .book-search-summary { margin-top: 6px; font-size: 12px; line-height: 1.55; -webkit-line-clamp: 2; }
    .book-search-body .book-more { margin-top: 8px; padding-top: 7px; border-top: 1px solid #f0f4f9; font-size: 12px; }
}

@media (max-width: 860px) {
    /* 详情页吸底条上方留出空间，避免回顶按钮压住“好课分享” */
    body:has(.detail-sticky) .back-top {
        bottom: calc(126px + env(safe-area-inset-bottom));
    }
}


/* ================= v1.12.28 首页手机端首屏 ================= */
@media (max-width: 860px) {
    .hero-slide-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* v1.12.34：标题、副标题、按钮、数据行作为一个整体居中 */
        padding: 0 22px;
        box-sizing: border-box;
    }
    .hero-slide-copy {
        width: 100%;
        min-width: 0;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .hero-slide .hero-actions { margin-bottom: 0; }
    .hero-slide .hero-stats-four {
        width: 100%;
        /* 与按钮之间固定 48px，不再单独钉在底部 */
        margin: 48px 0 0;
        padding-top: 12px;
        gap: 4px;
    }
    .hero-stats-four .hero-stat strong {
        font-size: 22px;
        line-height: 26px;
    }
    .hero-stats-four .hero-stat span,
    .hero-follow > span:last-child {
        font-size: 11px;
        line-height: 14px;
        letter-spacing: 0;
    }
    .hero-follow { gap: 5px; }
    .hero-follow .hero-follow-icon { width: 26px; height: 26px; }
}

/* v1.12.34：极矮屏只做防溢出兜底，不参与常规机型的间距决策 */
@media (max-width: 860px) and (max-height: 540px) {
    .hero-slide-inner {
        justify-content: flex-start;
        padding-top: 12px;
    }
    .hero-slide .hero-sub { margin-bottom: 16px; }
    .hero-slide .hero-stats-four { margin-top: 8px; padding-top: 10px; }
}

/* 手机首屏：高度贴着底部导航，随屏幕高度自适应 */
@media (max-width: 860px) {
    .hero-slider {
        height: calc(100vh - 132px);
        height: calc(100svh - 132px - env(safe-area-inset-bottom));
        height: calc(100dvh - 132px - env(safe-area-inset-bottom));
        min-height: 340px;
    }
}

/* v1.12.29 超窄屏：课程介绍按钮不与返回胶囊挤压 */
@media (max-width: 340px) {
    .course-intro-head {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .course-intro-head .panel-title { flex: 1 1 100%; }
    .course-intro-head .course-learn-btn { margin-left: auto; }
    .course-intro-foot {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .course-learn-bottom { width: 100%; display: flex; justify-content: center; }
    .course-learn-bottom .course-learn-btn { width: auto; }
    .course-intro-foot .course-detail-capsule { align-self: flex-end; }
}

/* v1.12.29 手机首页标题：逗号强制换行，并兼容 iOS Safari 的 CJK 折行 */
@media (max-width: 860px) {
    .hero-slide .hero-title {
        word-break: normal;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        hyphens: none;
    }
}

/* v1.12.29 图书详情分享按钮：Safari 按钮渲染与底部安全间距 */
@media (max-width: 760px) {
    .book-hero { overflow: visible; }
    .book-hero-actions {
        position: relative;
        z-index: 3;
        margin-bottom: 6px;
    }
    .book-hero-actions .btn {
        -webkit-appearance: none;
        appearance: none;
        min-height: 44px;
        line-height: 1.35;
    }
}

/* v1.12.40 单页：作者 / 两段式胶囊 / 新增知识与双列书单 */
.page-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 288px;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: start;
}
.page-single-side { position: sticky; top: 84px; }
.page-single-side .article-side-block { margin-bottom: 16px; }
.page-single-side .article-side-block:last-child { margin-bottom: 0; }
.page-mobile-related { display: none; }
.page-single-meta-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 10px;
}
.page-single-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    min-width: 0; color: #8aa0bb; font-size: 12px;
}
.page-single-meta span { display: inline-flex; align-items: center; gap: 4px; }
.page-single-author { color: #647b95; }
.page-single-capsule { flex: 0 0 auto; }
.page-single-meta .page-view-count { margin-left: 0; color: #8aa0bb; }
.page-single-foot {
    display: flex; justify-content: flex-end;
    margin-top: 28px; padding-top: 16px;
    border-top: 1px solid #edf2f9;
}
.page-book-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.page-book-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; text-decoration: none; }
.page-book-cover {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3 / 4; width: 100%; overflow: hidden;
    border: 1px solid #e8eff9; border-radius: 7px; background: #eff6ff;
}
.page-book-cover img { width: 100%; height: 100%; object-fit: cover; }
.page-book-cover-empty { color: #8fb3df; display: inline-flex; }
.page-book-card strong {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    color: #1f2d3d; font-size: 12px; line-height: 1.45; font-weight: 600;
}
.page-book-card:hover strong { color: #1d4ed8; }

@media (max-width: 980px) {
    .page-single-grid { display: block; max-width: 860px; }
    .page-single-side { display: none; }
    .page-mobile-related {
        display: flex; flex-direction: column; gap: 16px;
        max-width: 860px; margin: 18px auto 0;
    }
}

@media (max-width: 980px) {
    .page-single-meta-row { gap: 8px; }
    .page-single-meta { gap: 8px; font-size: 12px; }
    .page-single-meta span { gap: 3px; }
}

/* ================= v1.12.41：关于我们重做 ================= */
.about-page { padding: 22px 0 56px; }
.about-hero {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-compact);
    box-shadow: var(--shadow); padding: 32px 36px; margin-bottom: 20px;
}
.about-hero-copy { min-width: 0; }
.about-kicker {
    margin: 0 0 8px; color: #2563eb; font-size: 12px; font-weight: 700;
    letter-spacing: .14em;
}
.about-title { margin: 0; font-size: 34px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
.about-sub { margin: 11px 0 0; max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.about-hero-actions { flex: none; display: flex; align-items: center; gap: 10px; padding-bottom: 2px; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.about-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
.about-intro { padding: 32px 36px; }
.about-section-head { padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #edf2f9; }
.about-section-kicker { margin: 0 0 4px; color: #2563eb; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.about-section-title { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.about-rich { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.about-official { text-align: center; padding: 24px 20px 20px; }
.about-official .panel-title { justify-content: center; }
.about-official-name { margin: 0 0 4px; color: var(--ink); font-size: 14px; font-weight: 600; }
.about-official-desc { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.about-contact { padding: 24px 22px; }
.about-contact .contact-list { gap: 12px; }
.about-contact .contact-list li { gap: 14px; }
.about-contact .contact-list span { width: 72px; font-size: 12px; }

@media (max-width: 980px) {
    .about-layout { grid-template-columns: 1fr; }
    .about-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .about-hero { align-items: flex-start; }
}
@media (max-width: 720px) {
    .about-hero { display: block; padding: 26px 22px; }
    .about-title { font-size: 28px; }
    .about-hero-actions { margin-top: 18px; }
    .about-hero-actions .btn { flex: 1; }
    .about-side { grid-template-columns: 1fr; }
    .about-intro { padding: 24px 20px; }
    .about-section-title { font-size: 19px; }
    .about-page { padding: 16px 0 40px; }
}
@media (max-width: 480px) {
    .about-hero { padding: 22px 18px; border-radius: 14px; }
    .about-title { font-size: 25px; }
    .about-sub { font-size: 13px; }
    .about-intro { padding: 22px 18px; border-radius: 14px; }
    .about-official, .about-contact { border-radius: 14px; }
    .about-qr { width: 150px; }
}

/* ================= v1.12.41：手机端搜索框完整覆盖顶栏内容 ================= */
@media (max-width: 560px) {
    .site-header.search-open .brand,
    .site-header.search-open .site-nav,
    .site-header.search-open .header-quick-btn,
    .site-header.search-open .mobile-search-btn,
    .site-header.search-open .header-tel {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
    .site-header.search-open .header-search {
        left: 14px;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        height: 42px;
        border-radius: 14px;
        background: #fff;
        border-color: #bcd3f7;
        box-shadow: 0 12px 30px rgba(12, 34, 70, .16);
        z-index: 40;
    }
    .site-header.search-open .header-search input { font-size: 16px; }
    .site-header.search-open .header-search button { width: 38px; height: 38px; }
}

/* v1.12.41.1 关于页：去掉重复页头，联系卡放在左栏，右侧只保留关注我们 */
.about-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas:
        "intro side"
        "contact side";
}
.about-intro { grid-area: intro; }
.about-contact { grid-area: contact; }
.about-side { grid-area: side; align-self: start; }
.about-layout.no-side {
    grid-template-columns: 1fr;
    grid-template-areas:
        "intro"
        "contact";
}
.about-contact .contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 30px;
}
.about-contact .contact-list li { display: flex; align-items: baseline; }
.about-page .about-layout { margin-top: 0; }

@media (max-width: 980px) {
    .about-layout.has-side {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "side"
            "contact";
    }
    .about-layout.no-side {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "contact";
    }
    .about-contact .contact-list { grid-template-columns: 1fr; }
}

/* v1.12.53 课程列表：两列断点下奇数尾卡通栏 */
@media (max-width: 860px) {
    .course-grid.has-odd > .course-card:last-child { grid-column: 1 / -1; }
}

/* v1.12.54 详情页幻灯片：方案 A · 单内容簇 + 轻量玻璃按钮；电脑/手机统一消费后台对齐 */
.detail-slides-lead {
    width: 100%;
    max-width: 900px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-left: 16px;
    border-left: 2px solid rgba(255,255,255,.30);
}
.detail-slides-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
}
.detail-slides-sub { max-width: min(760px, 100%); }
.detail-slides-btn {
    margin-top: 0;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.065);
    color: rgba(255,255,255,.94);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .2s ease, border-color .2s ease;
}
.detail-slides-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.36); }
.detail-slides-btn svg { width: 16px; height: 16px; flex: none; opacity: .84; }
.detail-slides.is-center .detail-slides-inner {
    align-items: center;
    text-align: center;
}
.detail-slides.is-center .detail-slides-lead {
    align-items: center;
    padding-left: 0;
    border-left: 0;
}
.detail-slides.is-center .detail-slides-bottom { justify-content: center; }
.detail-slides-dots { gap: 6px; }
.detail-slides-dot {
    width: 18px;
    height: 2px;
    border-radius: 99px;
    box-shadow: none;
    background: rgba(255,255,255,.3);
}
.detail-slides-dot.is-active {
    width: 26px;
    background: #fff;
}
@media (max-width: 760px) {
    .detail-slides-inner {
        align-items: flex-start;
        text-align: left;
        gap: 4px;
        padding: 0 20px;
    }
    .detail-slides-lead {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        border-left: 0;
    }
    .detail-slides-bottom { gap: 9px; }
    .detail-slides-title { font-size: 15px; line-height: 1.34; }
    .detail-slides-sub { font-size: 12px; line-height: 1.45; max-width: 100%; }
    .detail-slides-btn { padding: 5px 8px 5px 10px; gap: 6px; font-size: 11px; }
    .detail-slides-btn svg { width: 14px; height: 14px; }
    .detail-slides.is-center .detail-slides-inner { align-items: center; text-align: center; }
    .detail-slides.is-center .detail-slides-bottom { justify-content: center; }
    .detail-slides-dots {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 7px;
    }
    .detail-slides-dot { width: 14px; height: 2px; }
    .detail-slides-dot.is-active { width: 20px; }
}

/* v1.12.53 课程列表：手机/窄屏改为纵向后，列表必须撑满容器宽度 */
@media (max-width: 880px) {
    .courses-wrap { align-items: stretch; }
    .courses-list { width: 100%; }
}

/* v1.12.54 首页 hero：按钮改为自适应玻璃胶囊，取消移动端整条长条 */
.hero-slide .hero-actions .btn {
    flex: 0 0 auto;
    width: auto;
    min-height: 34px;
    padding: 7px 12px;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.075);
    color: rgba(255,255,255,.94);
    font-size: 13px;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-slide .hero-actions .btn:hover {
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.38);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.hero-slide .hero-actions .btn svg { width: 15px; height: 15px; opacity: .82; }
@media (max-width: 860px) {
    .hero-slide .hero-actions .btn {
        flex: 0 0 auto;
        width: auto;
        min-height: 32px;
        padding: 6px 10px;
        font-size: 11px;
        gap: 6px;
    }
    .hero-slide .hero-actions .btn svg { width: 14px; height: 14px; }
}

/* ================= v1.12.59 接缝数据条首页模板 ================= */
.hero-slider.hero-slider-seam {
    height: var(--seam-hero-h, 480px);
}
.hero-slider.hero-slider-seam .hero-dots {
    bottom: calc(var(--seam-overlap, 24px) + 22px);
}

.seam-strip {
    position: relative;
    z-index: 6;
    margin-top: calc(-1 * var(--seam-overlap, 24px));
    background: transparent;
}
.seam-bar {
    position: relative;
    display: flex;
    align-items: stretch;
    height: var(--seam-h, 84px);
    padding: 0 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(214, 226, 241, .9);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(21, 48, 94, .13), 0 2px 0 rgba(255, 255, 255, .85) inset;
}
.seam-bar::before {
    content: "";
    position: absolute; left: 22px; right: 22px; top: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, .85), rgba(96, 165, 250, .35) 42%, rgba(37, 99, 235, 0) 78%);
    border-radius: 0 0 2px 2px;
}
.seam-stat {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
    color: var(--ink-900);
    border-right: 1px solid #edf2fa;
    transition: background .18s ease;
}
.seam-stat:first-child { padding-left: 6px; }
.seam-stat:last-of-type { border-right: 0; }
.seam-stat:hover { background: rgba(239, 244, 255, .55); }
.seam-stat strong {
    font-size: 27px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.4px;
    color: #14307c;
}
.seam-stat span {
    font-size: 12px;
    line-height: 1.3;
    color: var(--muted);
    white-space: nowrap;
}
.seam-follow {
    align-self: center;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 18px;
    padding: 8px 14px 8px 10px;
    border: 1px solid #dbe7fa;
    border-radius: 999px;
    background: #f2f7ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.seam-follow:hover { background: #e8f1ff; border-color: #bfd6fa; transform: translateY(-1px); }
.seam-bar.no-follow {
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
}
.seam-follow-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #fff;
    color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, .12);
}

.home-knowledge-mobile { display: none; }

.home-courses-section {
    padding: 56px 0 72px;
    background: linear-gradient(180deg, #f5f8fc 0%, #f8faff 100%);
}
.home-course-head { margin-bottom: 26px; }
.home-course-head .section-title { font-size: 24px; line-height: 1.3; }
.home-course-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 22px;
}
.home-course-grid > .course-card {
    flex: 0 0 calc((100% - 66px) / 4);
    max-width: calc((100% - 66px) / 4);
    min-width: 0;
}

/* 平板：以课程列表带侧栏时的三张卡为参照 */
@media (max-width: 1279px) {
    .home-course-grid > .course-card {
        flex-basis: calc((100% - 44px) / 3);
        max-width: calc((100% - 44px) / 3);
    }
}
@media (max-width: 1023px) {
    .home-course-grid > .course-card {
        flex-basis: calc((100% - 22px) / 2);
        max-width: calc((100% - 22px) / 2);
    }
}

@media (max-width: 1180px) {
    .hero-slider.hero-slider-seam { height: var(--seam-hero-h, 480px); }
}

@media (max-width: 860px) {
    .hero-slider.hero-slider-seam {
        height: var(--seam-hero-h-mobile, 400px);
    }
    .hero-slider.hero-slider-seam .hero-dots {
        bottom: 34px;
    }
    .hero-slider.hero-slider-seam .hero-slide-inner {
        padding-bottom: 30px;
    }

    .seam-strip {
        margin-top: -14px;
    }
    .seam-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
        min-height: 0;
        padding: 6px 14px 12px;
        border-radius: 16px;
    }
    .seam-bar.is-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .seam-bar::before { left: 14px; right: 14px; }
    .seam-stat {
        padding: 13px 10px 11px;
        gap: 8px;
        border-right: 0;
    }
    .seam-stat:nth-child(2n) { border-left: 1px solid #edf2fa; }
    .seam-stat:nth-child(n+3) { border-top: 1px solid #edf2fa; }
    .seam-bar.is-three .seam-stat:nth-child(n+3) { border-top: 0; }
    .seam-bar.is-three .seam-stat:not(:first-child) { border-left: 1px solid #edf2fa; }
    .seam-stat:first-child { padding-left: 10px; }
    .seam-stat strong { font-size: 23px; }
    .seam-stat span { font-size: 11.5px; }
    .seam-follow {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(100% - 20px);
        max-width: 300px;
        padding: 9px 20px;
        margin: 10px 0 0;
        justify-content: center;
    }
    .seam-bar.no-follow { padding-top: 6px; padding-bottom: 6px; }

    .home-knowledge-mobile {
        display: block;
        padding: 32px 0 8px;
        background: #f5f8fc;
    }
    .home-mobile-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 14px;
    }
    .home-mobile-head .section-kicker { margin-bottom: 5px; }
    .home-mobile-head .section-title { font-size: 18px; line-height: 1.35; }
    .home-mobile-head .section-more { flex: none; padding-bottom: 3px; }
    .home-mobile-k-list {
        overflow: hidden;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow-1);
    }
    .home-mobile-k-row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        min-height: 64px;
        border-top: 1px solid #edf2fa;
    }
    .home-mobile-k-row:first-child { border-top: 0; }
    .home-mobile-k-row:hover { background: #f9fbff; }
    .home-mobile-k-meta {
        flex: 0 0 58px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
        font-size: 10.5px;
        line-height: 1.25;
        color: var(--muted);
    }
    .home-mobile-k-meta b {
        display: block;
        font-weight: 500;
        color: #2563eb;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .home-mobile-k-meta i {
        display: block;
        font-style: normal;
        font-size: 10px;
        color: #94a3b8;
        white-space: nowrap;
    }
    .home-mobile-k-title {
        flex: 1;
        min-width: 0;
        font-size: 14px;
        line-height: 1.5;
        color: var(--ink-900);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .home-mobile-k-arrow { flex: none; color: #9db0c9; }

    .home-courses-section { padding: 34px 0 46px; }
    .home-courses-section.is-headless { padding-top: 22px; }
    .home-course-head { margin-bottom: 18px; }
    .home-course-head .section-title { font-size: 18px; line-height: 1.35; }
    .home-course-grid { gap: 16px; }
    .home-course-grid > .course-card {
        flex-basis: 100%;
        max-width: 100%;
    }
    .home-course-grid > .course-card:nth-child(n+4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .seam-follow { transition: none; }
}

/* 文章详情：正文末尾版权声明（文末脚注，不做卡片容器） */
.article-copyright {
    margin: 34px 0 20px;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid #e6ebf2;
    border-radius: 0;
    background: transparent;
    color: #7c8798;
    font-size: 12.5px;
    line-height: 1.9;
}
.article-copyright-title {
    margin: 0 0 5px;
    color: #9aa5b5;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
}
.article-copyright-body { margin: 0; }
@media (max-width: 860px) {
    .article-copyright {
        margin: 28px 0 0;
        padding: 16px 0 0;
        font-size: 11px;
    }
}

/* 富文本编辑器格式映射：后台所见即前台所得 */
.rich-content .ql-size-small { font-size: .75em; }
.rich-content .ql-size-large { font-size: 1.5em; }
.rich-content .ql-size-huge { font-size: 2.5em; }
.rich-content .ql-size-12 { font-size: 12px; }
.rich-content .ql-size-14 { font-size: 14px; }
.rich-content .ql-size-16 { font-size: 16px; }
.rich-content .ql-size-18 { font-size: 18px; }
.rich-content .ql-size-20 { font-size: 20px; }
.rich-content .ql-size-24 { font-size: 24px; }
.rich-content .ql-size-28 { font-size: 28px; }
.rich-content .ql-size-32 { font-size: 32px; }
.rich-content .ql-font-serif { font-family: Georgia, "Times New Roman", serif; }
.rich-content .ql-font-monospace { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.rich-content .ql-indent-1 { padding-left: 2em; }
.rich-content .ql-indent-2 { padding-left: 4em; }
.rich-content .ql-indent-3 { padding-left: 6em; }
.rich-content .ql-indent-4 { padding-left: 8em; }
.rich-content .ql-indent-5 { padding-left: 10em; }
.rich-content .ql-indent-6 { padding-left: 12em; }
.rich-content .ql-indent-7 { padding-left: 14em; }
.rich-content .ql-indent-8 { padding-left: 16em; }
/* 长公式 / 连续英文 / 函数参数不换行导致整页横向溢出 */
.rich-content,
.article-content {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.rich-content pre,
.article-content pre,
.rich-content code,
.article-content code,
.rich-content .ql-code-block,
.article-content .ql-code-block {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}
.rich-content .ql-code-block-container,
.article-content .ql-code-block-container {
    max-width: 100%;
    overflow-x: auto;
}
.rich-content table,
.article-content table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
}
.rich-content p:has(> br:only-child),
.article-content p:has(> br:only-child) {
    display: none;
}

/* 分页：手机端“上一页/下一页”不能被 flex 压成竖排窄条 */
.pager {
    flex-wrap: wrap;
}
.pager a {
    flex: 0 0 auto;
    white-space: nowrap;
}
.pager-mobile { display: none; }
@media (max-width: 600px) {
    .pager { gap: 6px; }
    .pager a {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
        font-size: 11px;
    }
    /* 手机分页单行：页码窗口收缩为当前页前后各 1 页 */
    .pager-desktop { display: none !important; }
    .pager-mobile {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 3px;
        margin-top: 18px;
    }
    .pager-mobile a {
        min-width: 28px;
        height: 28px;
        padding: 0 5px;
        font-size: 11px;
    }
    .pager-mobile .pager-prev,
    .pager-mobile .pager-next {
        padding: 0;
        font-size: 16px;
        line-height: 1;
    }
    .pager-mobile .pager-gap {
        line-height: 28px;
        font-size: 11px;
    }
}
@media (max-width: 380px) {
    .pager-mobile { gap: 2px; }
    .pager-mobile a {
        min-width: 26px;
        height: 26px;
        padding: 0 4px;
        font-size: 11px;
    }
}
.rich-content .ql-code-block-container {
    margin: 14px 0; padding: 12px 14px;
    background: #f6f8fa; border: 1px solid #e2e8f0; border-radius: 8px;
    color: #334155; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px; line-height: 1.7; overflow-x: auto;
}
.rich-content .ql-code-block { white-space: pre-wrap; }
.rich-content sup { font-size: .75em; vertical-align: super; line-height: 0; }
.rich-content sub { font-size: .75em; vertical-align: sub; line-height: 0; }
@media (max-width: 720px) {
    .rich-content .ql-size-24 { font-size: 21px; }
    .rich-content .ql-size-28 { font-size: 23px; }
    .rich-content .ql-size-32 { font-size: 25px; }
}

/* ================= v1.12.77 知识库分类树与筛选统一 ================= */
/* PC 左栏加宽，完整分类树常驻；手机断点仍为 900px。 */
.kb-layout { grid-template-columns: 240px minmax(0, 1fr) 304px; }
@media (max-width: 1080px) {
    .kb-layout { grid-template-columns: 216px minmax(0, 1fr) 284px; gap: 16px; }
}
.kb-rail {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 100px);
    border-color: #dbe7f4;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 52%, #f8fbff 100%);
    box-shadow: 0 18px 46px rgba(26, 62, 120, .075);
}
.kb-rail::before {
    content: "";
    position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .22), transparent);
}
.kb-rail-head { padding: 14px 18px 12px; border-bottom-color: #edf2f8; }
.kb-rail-kicker { color: #8fa3ba; font-size: 10.5px; font-weight: 700; letter-spacing: .17em; }
.kb-rail-head strong { margin-top: 5px; color: #14325a; font-size: 15.5px; font-weight: 760; letter-spacing: -.015em; }
.kb-rail-list {
    gap: 0;
    min-height: 0;
    flex: 0 1 auto;
    padding: 7px 7px 10px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d7e5f5 transparent;
}
.kb-rail-list::-webkit-scrollbar { width: 4px; }
.kb-rail-list::-webkit-scrollbar-thumb { border-radius: 4px; background: #d7e5f5; }
.kb-rail-link {
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 9px;
    color: #405d7d;
    font-size: 13px;
    font-weight: 520;
    letter-spacing: -.005em;
}
.kb-rail-link.is-all { min-height: 36px; margin-bottom: 3px; padding: 7px 11px; font-size: 13.5px; font-weight: 680; }
.kb-rail-link.level-1 { min-height: 32px; font-size: 13.5px; font-weight: 650; }
.kb-rail-link.level-1.has-children { color: #244a75; }
.kb-rail-link.is-branch { color: #1d4ed8; font-weight: 680; }
.kb-rail-link:hover { background: #f3f8ff; color: #1d4ed8; }
.kb-rail-link.is-on {
    background: linear-gradient(90deg, #eaf3ff 0%, #f5faff 100%);
    color: #174ea6;
    font-weight: 720;
}
.kb-rail-link.is-on::before {
    top: 7px; bottom: 7px; width: 3px;
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .07);
}
.kb-rail-sub {
    position: relative;
    gap: 0;
    margin: 0 0 5px 9px;
    padding: 2px 0 2px 12px;
    border-left: 1px solid #dfeaf7;
}
.kb-rail-sub::before {
    content: "";
    position: absolute; left: -4px; top: 8px;
    width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%;
    background: #d7e8fb;
    box-shadow: 0 0 0 1px #e6f0fa;
}
.kb-rail-link.level-2 {
    min-height: 27px;
    padding: 4px 8px 4px 10px;
    border-radius: 8px;
    color: #637b95;
    font-size: 12.5px;
    font-weight: 540;
}
.kb-rail-link.level-3 {
    min-height: 27px;
    padding: 4px 8px 4px 20px;
    color: #7a8fa5;
    font-size: 12px;
    font-weight: 520;
}
.kb-rail-link.level-2.is-on::before,
.kb-rail-link.level-3.is-on::before {
    left: -15px; top: 50%; bottom: auto;
    width: 6px; height: 6px; transform: translateY(-50%);
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 3px #e8f2ff;
}
.kb-rail-filter-v2 {
    flex: none;
    justify-content: center;
    width: auto;
    min-height: 44px;
    margin: 1px 9px 9px;
    padding: 0 12px;
    border: 1px solid #d2e2f5;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbfdff, #f3f8ff);
    color: #294f7d;
    font-size: 12.5px;
    font-weight: 650;
}
.kb-rail-filter-v2:hover { border-color: #aecdf3; background: #edf5ff; color: #1d4ed8; }
.kb-rail-filter-v2 b {
    min-width: 18px; height: 18px;
    background: #1d4ed8; color: #fff; font-size: 12px;
}

/* 手机：只留一个筛选入口；沿用 v1.12.75 / 课程中心手机筛选的按钮语言。 */
.kb-mobile-actions { justify-content: flex-start; }
.kb-filter-btn-v2 {
    min-width: 76px;
    height: 42px;
    padding: 0 12px;
    border-color: #d5e3f4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30, 64, 175, .035);
}
.kb-filter-btn-v2:hover { border-color: #bfd4f2; background: #f8fbff; }
.kb-filter-btn-v2 .kb-filter-row { color: #294f7d; font-size: 12.5px; font-weight: 650; }
.kb-filter-btn-v2 .kb-filter-badge { margin-left: 2px; }

/* 筛选抽屉：桌面只显示属性；手机显示分类树 + 当前分类适用属性。 */
.kb-filter-sheet-v2 { width: min(600px, calc(100vw - 36px)); }
.kb-filter-sheet-v2 .kb-sheet-body { gap: 14px; padding: 16px 20px 18px; }
.kb-filter-sheet-v2 .kb-sheet-body-v2 { gap: 16px; }
@media (min-width: 901px) {
    .kb-filter-sheet-v2 .kb-sheet-cat-group { display: none; }
}
.kb-sheet-cat-group { min-width: 0; }
.kb-sheet-cat-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 7px;
}
.kb-sheet-cat-all-row { flex: 1 0 100%; }
.kb-sheet-cat-entry {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}
.kb-sheet-cat-entry.is-branch {
    flex: 1 0 100%;
    margin-left: 1px;
    padding: 1px 0 1px 9px;
    border-left: 2px solid #e5effa;
}
.kb-sheet-cat-entry.is-branch.is-current { border-left-color: #bfd8f8; }
.kb-sheet-cat-entry.is-leaf { flex: 0 0 auto; }
.kb-sheet-branch-children {
    display: flex;
    flex: 1 1 220px;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}
.kb-sheet-cat-list .chip.kb-cat-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid #e2eaf4;
    border-radius: 10px;
    background: #fff;
    color: #52657f;
    font-size: 12.5px;
    font-weight: 520;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.kb-sheet-cat-list .chip.kb-cat-chip:hover { border-color: #bfd4f2; background: #f7fbff; color: #1d4ed8; }
.kb-sheet-cat-list .chip.kb-cat-chip.is-on {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #fff;
    font-weight: 650;
}
.kb-sheet-cat-list .chip.kb-cat-chip.is-branch {
    border-color: #c9def8;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 650;
}
.kb-sheet-cat-list .chip.kb-cat-chip.kb-cat-top { font-weight: 650; }
.kb-sheet-cat-list .chip.kb-cat-chip.kb-cat-child { color: #61798f; }
.kb-sheet-cat-list .chip.kb-cat-chip.kb-cat-child.level-3 { color: #7a8fa5; }
.kb-filter-sheet-v2 .kb-sheet-attr-group { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kb-filter-sheet-v2 .kb-attr-group { min-width: 0; }
.kb-filter-sheet-v2 .kb-sheet-label { margin-bottom: 8px; color: #506a87; font-size: 12px; font-weight: 650; }
.kb-filter-sheet-v2 .kb-sheet-label em { background: #edf4ff; color: #5b82b8; }
@media (max-width: 900px) {
    .kb-sheet-cat-list { gap: 5px; }
    .kb-sheet-cat-list .chip.kb-cat-chip { min-height: 38px; padding: 0 10px; font-size: 12.5px; }
    .kb-sheet-cat-entry.is-branch { gap: 5px; padding-left: 8px; }
    .kb-sheet-branch-children { flex-basis: 210px; gap: 5px; }
}

/* 三级分类：用缩进与树线表达从属，不用展开箭头。 */
.kb-sheet-cat-list .chip.kb-cat-chip.level-3 {
    position: relative;
    padding-left: 24px;
    background: #fbfdff;
    color: #7d91a6;
}
.kb-sheet-cat-list .chip.kb-cat-chip.level-3::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 7px;
    height: 9px;
    border-left: 1px solid #bfd2e7;
    border-bottom: 1px solid #bfd2e7;
    border-radius: 0 0 0 3px;
    transform: translateY(-72%);
}

/* v1.12.77 移动端：隐藏桌面左栏与右侧栏，避免新加宽网格覆盖旧移动断点。 */
@media (max-width: 900px) {
    .kb-layout { display: block; }
    .kb-rail, .kb-side { display: none !important; }
}

/* ================= v1.12.78 筛选密度、分类折叠与分页跳转 ================= */
/* PC 分类树：默认折叠，当前分支自动展开；左栏不再内部裁切。 */
@media (min-width: 901px) {
    .kb-rail { max-height: none; }
    .kb-rail-list { flex: 0 0 auto; overflow: visible; }
}
.kb-rail-row {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
}
.kb-rail-row .kb-rail-link {
    flex: 1 1 auto;
    min-width: 0;
}
.kb-rail-toggle {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #92a6ba;
    font-family: inherit;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.kb-rail-toggle:hover { background: #eff6ff; color: #1d4ed8; }
.kb-rail-toggle.is-open { color: #2563eb; }
.kb-rail-sub[hidden] { display: none !important; }
.kb-rail-filter-v2 { min-height: 36px; height: 36px; margin-top: 0; }

.kb-toolbar-v78 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}
.kb-toolbar-v78 .kb-toolbar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.kb-toolbar-v78 .kb-tool-filter-v2 {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #d7e4f4;
    border-radius: 8px;
    background: #fff;
    color: #31557d;
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}
.kb-toolbar-v78 .kb-tool-filter-v2:hover { border-color: #bcd4f3; background: #f7fbff; color: #1d4ed8; }
.kb-toolbar-v78 .kb-toolbar-note { color: #8ba0b8; font-size: 12px; }
.kb-toolbar-v78 .kb-toolbar-note b { color: #47678c; font-weight: 700; }
.kb-pageinfo { color: #9aacbe; font-size: 11.5px; white-space: nowrap; }

/* 筛选面板：桌面 420px、选项 30px；手机 34px；分类 4 列自适应。 */
.kb-filter-sheet-v2 { width: min(420px, calc(100vw - 36px)); }
.kb-filter-sheet-v2 .kb-sheet-head { padding: 12px 16px 10px; }
.kb-filter-sheet-v2 .kb-sheet-body { gap: 12px; padding: 12px 16px 14px; }
.kb-filter-sheet-v2 .kb-sheet-body-v2 { gap: 12px; }
.kb-filter-sheet-v2 .kb-sheet-attr-group { gap: 10px; }
.kb-filter-sheet-v2 .kb-sheet-label { margin-bottom: 6px; }
.kb-filter-sheet-v2 .kb-sheet-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 12px;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kb-opt-count { color: #9aabba; font-size: 11px; font-weight: 500; }
.kb-toggle-chip.is-on .kb-opt-count,
.course-filter-sheet-v2 .kb-toggle-chip.is-on .kb-opt-count { color: rgba(255, 255, 255, .74); }
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip.is-disabled {
    border-color: #edf1f6;
    background: #f7f9fc;
    color: #b3c0ce;
    cursor: not-allowed;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip.is-disabled:hover {
    border-color: #edf1f6;
    background: #f7f9fc;
    color: #b3c0ce;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip.is-disabled .kb-opt-count { color: #c3cedb; }
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip input:disabled { pointer-events: none; }
.kb-filter-sheet-v2 .kb-sheet-foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.kb-filter-sheet-v2 .kb-sheet-foot .kb-sheet-clear-v2 {
    min-width: 64px;
    height: 40px;
    min-height: 40px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #8ba0b8;
    font-weight: 500;
}
.kb-filter-sheet-v2 .kb-sheet-foot .kb-sheet-clear-v2:hover { color: #d24a4a; background: transparent; }
.kb-filter-sheet-v2 .kb-sheet-foot .kb-sheet-clear-v2.is-off { color: #c0cbd8; background: transparent; }
.kb-filter-sheet-v2 .kb-sheet-foot .kb-sheet-apply-v2 { height: 40px; min-height: 40px; }

/* 手机：筛选入口回标题行，不再底部常驻；分类 4 列，子分类用纯文字层级。 */
@media (max-width: 900px) {
    .kb-mobile-tools-v2 {
        position: static;
        top: auto;
        margin: 0 0 10px;
        padding: 0 0 8px;
        border-bottom: 1px solid #edf2f8;
        background: transparent;
    }
    .kb-mobile-tools-v2 .kb-mobile-headline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 4px;
    }
    .kb-mobile-tools-v2 .kb-mobile-title {
        min-width: 0;
        overflow: hidden;
        color: #14325a;
        font-size: 16px;
        font-weight: 760;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .kb-filter-btn-inline {
        flex: none;
        min-width: 62px;
        height: 30px;
        padding: 0 9px;
        border-radius: 8px;
        box-shadow: none;
    }
    .kb-filter-btn-inline .kb-filter-row { gap: 3px; font-size: 11.5px; font-weight: 650; }
    .kb-filter-btn-inline .kb-filter-badge { min-width: 15px; height: 15px; padding: 0 3px; font-size: 10px; }
    .kb-mobile-subline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        color: #93a5b8;
        font-size: 11px;
        line-height: 1.3;
    }
    .kb-mobile-subline b { color: #5b7796; font-weight: 650; }

    .kb-filter-sheet-v2 { width: 100%; max-width: 100%; border-radius: 18px 18px 0 0; }
    .kb-filter-sheet-v2 .kb-sheet-head { padding: 13px 16px 10px; }
    .kb-filter-sheet-v2 .kb-sheet-body { padding: 12px 16px 14px; gap: 12px; }
    .kb-filter-sheet-v2 .kb-sheet-label { margin-bottom: 6px; }
    .kb-filter-sheet-v2 .kb-sheet-chips {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-chip {
        min-height: 34px;
        height: 34px;
        padding: 0 5px;
        font-size: 11px;
    }
    .kb-filter-sheet-v2 .kb-sheet-summary { padding: 8px 10px; }
    .kb-filter-sheet-v2 .kb-sheet-foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }

    .kb-filter-sheet-v2 .kb-sheet-cat-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        align-items: stretch;
    }
    .kb-sheet-cat-all-row { grid-column: auto; display: block; }
    .kb-sheet-cat-all-row .chip { width: 100%; }
    .kb-sheet-cat-entry.is-leaf { display: block; min-width: 0; }
    .kb-sheet-cat-entry.is-leaf .chip { width: 100%; }
    .kb-sheet-cat-list .chip.kb-cat-chip {
        width: 100%;
        min-height: 34px;
        height: 34px;
        padding: 0 4px;
        font-size: 11px;
        text-align: center;
    }
    .kb-sheet-cat-entry.is-branch {
        display: contents;
    }
    .kb-sheet-branch-row {
        grid-column: auto;
        display: flex;
        align-items: stretch;
        gap: 0;
        min-width: 0;
    }
    .kb-sheet-branch-row .kb-cat-chip {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .kb-sheet-branch-row .kb-cat-chip.is-on + .kb-sheet-cat-toggle {
        border-color: #1d4ed8;
        background: #1d4ed8;
        color: #fff;
    }
    .kb-sheet-cat-toggle {
        flex: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 34px;
        border-left: 0;
        border-radius: 0 9px 9px 0;
        padding: 0;
        border: 1px solid #dce7f4;
        background: #fff;
        color: #7890a8;
        font-family: inherit;
        font-size: 15px;
        line-height: 1;
        cursor: pointer;
    }
    .kb-sheet-cat-toggle.is-open { border-color: #c5daf5; background: #f2f8ff; color: #1d4ed8; }
    .kb-sheet-branch-children {
        grid-column: 1 / -1;
        display: flex;
        flex: none;
        flex-wrap: wrap;
        gap: 2px 12px;
        margin-top: 2px;
        padding: 3px 2px 3px 10px;
        border-left: 1px solid #e2ecf8;
    }
    .kb-sheet-branch-children[hidden] { display: none !important; }
    .kb-sheet-child-link {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 2px 2px;
        color: #55708c;
        font-size: 11px;
        line-height: 1.25;
        text-decoration: none;
        border-radius: 6px;
    }
    .kb-sheet-child-link:hover { color: #1d4ed8; background: #f4f9ff; }
    .kb-sheet-child-link.is-on { color: #1d4ed8; font-weight: 650; }
    .kb-sheet-child-link.level-3 { padding-left: 14px; color: #7c91a6; font-size: 11.5px; }
}
@media (max-width: 370px) {
    .kb-filter-sheet-v2 .kb-sheet-cat-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .kb-toolbar-v78 { display: none !important; }
}

/* 分页跳至指定页：桌面跟在页码后，手机单独一行。 */
@media (min-width: 601px) {
    .article-pager.kb-pager {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .article-pager.kb-pager .pager-desktop {
        width: auto;
        margin-top: 0;
    }
    .pager-jump { margin-top: 0; }
}
.pager-jump {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    color: #8ba0b8;
    font-size: 12px;
    vertical-align: middle;
}
.pager-jump input {
    width: 52px;
    height: 32px;
    padding: 0 6px;
    border: 1px solid #dbe6f3;
    border-radius: 8px;
    background: #fff;
    color: #274b73;
    font-family: inherit;
    font-size: 12px;
    text-align: center;
    outline: none;
}
.pager-jump input:focus { border-color: #93b8f0; box-shadow: 0 0 0 3px rgba(37, 99, 235, .09); }
.pager-jump button {
    height: 32px;
    padding: 0 11px;
    border: 1px solid #d5e3f4;
    border-radius: 8px;
    background: #f7fbff;
    color: #31557d;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.pager-jump button:hover { border-color: #bcd4f3; color: #1d4ed8; }
@media (max-width: 600px) {
    .article-pager.kb-pager { display: flex; flex-wrap: wrap; justify-content: center; }
    .article-pager .pager-mobile { flex-wrap: wrap; row-gap: 8px; width: 100%; margin-top: 0; }
    .pager-jump {
        display: flex;
        flex: 0 0 100%;
        justify-content: center;
        margin: 10px 0 0;
        font-size: 11px;
    }
    .pager-jump input { width: 46px; height: 30px; font-size: 12px; }
    .pager-jump button { height: 30px; padding: 0 10px; font-size: 11.5px; }
}

/* 课程中心手机筛选：三列等宽铺满，标签 36px，文字居中，右侧不留空。 */
@media (max-width: 860px) {
    .course-filter-sheet-v2 .kb-sheet-chips {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
    }
    .course-filter-sheet-v2 .kb-sheet-chips .chip {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        height: 36px;
        padding: 0 6px;
        justify-content: center;
        font-size: 11px;
        text-align: center;
    }
    .course-filter-sheet-v2 .kb-sheet-chips .kb-toggle-text {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: center;
    }
}

/* ================= v1.12.78-r3 筛选页分类 + 搜索 + 底部操作 ================= */
/* 分类区在所有尺寸都显示；分类下细线分隔属性区。 */
.kb-filter-sheet-v2 .kb-sheet-cat-group {
    display: block;
    padding-bottom: 12px;
    border-bottom: 1px solid #e7edf5;
}
.kb-filter-sheet-v2 .kb-sheet-cat-list {
    gap: 6px;
}
.kb-filter-sheet-v2 .kb-sheet-cat-list .chip.kb-cat-chip {
    min-height: 34px;
    height: 34px;
    border-radius: 9px;
}

/* 有下级的父分类：未选中时保持中性，不再整块蓝底；只有当前分类是蓝的。 */
.kb-sheet-cat-list .chip.kb-cat-chip.is-branch:not(.is-on) {
    border-color: #e2eaf4;
    background: #fff;
    color: #52657f;
    font-weight: 650;
}
.kb-sheet-cat-entry.is-branch.is-current { border-left-color: #e5effa; }

/* PC：分类两列，长名称仍有足够宽度；有下级的整行占满。 */
@media (min-width: 901px) {
    .kb-filter-sheet-v2 .kb-sheet-cat-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .kb-filter-sheet-v2 .kb-sheet-cat-all-row,
    .kb-filter-sheet-v2 .kb-sheet-cat-entry.is-branch { grid-column: 1 / -1; }
    .kb-filter-sheet-v2 .kb-sheet-cat-entry.is-leaf { display: block; }
    .kb-filter-sheet-v2 .kb-sheet-cat-entry.is-leaf .chip { width: 100%; }
}

/* 未选分类 / 分类无属性时的占位与搜索。 */
.kb-filter-sheet-v2 .kb-attr-panel { min-width: 0; }
.kb-attr-placeholder {
    margin: 0;
    padding: 2px 2px 4px;
    color: #9aabba;
    font-size: 12px;
    line-height: 1.55;
}
.kb-noattr { padding: 1px 0 4px; }
.kb-noattr-title { margin: 0; color: #3f5f80; font-size: 13px; font-weight: 650; line-height: 1.45; }
.kb-noattr-desc { margin: 4px 0 10px; color: #8ba0b8; font-size: 12px; line-height: 1.5; }
.kb-noattr-search {
    display: flex;
    align-items: center;
    gap: 7px;
}
.kb-noattr-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 36px;
    padding: 0 11px;
    border: 1px solid #dfe8f3;
    border-radius: 9px;
    background: #fff;
    color: #324e6e;
    font-family: inherit;
    font-size: 12.5px;
    outline: none;
}
.kb-noattr-search input:focus { border-color: #9fc3f2; box-shadow: 0 0 0 3px rgba(37, 99, 235, .09); }
.kb-noattr-search button {
    flex: none;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #1d4ed8;
    border-radius: 9px;
    background: #1d4ed8;
    color: #fff;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 650;
    cursor: pointer;
}

/* 手机：底部操作栏必须始终可见；中间分类与属性区独立滚动。 */
@media (max-width: 900px) {
    .kb-filter-sheet-v2 {
        top: auto;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: calc(100vh - 18px);
        max-height: calc(100dvh - 18px);
        border-radius: 18px 18px 0 0;
    }
    .kb-filter-sheet-v2 form {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }
    .kb-filter-sheet-v2 .kb-sheet-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .kb-filter-sheet-v2 .kb-sheet-foot {
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
        box-shadow: 0 -6px 18px rgba(31, 55, 83, .05);
    }
    .kb-filter-sheet-v2 .kb-sheet-cat-list {
        gap: 6px;
    }
    .kb-filter-sheet-v2 .kb-sheet-cat-list .chip.kb-cat-chip {
        height: 36px;
        min-height: 36px;
    }

    /* 父分类与“＋/－”共用一个圆角外壳，中间只留一条竖分隔线。 */
    .kb-sheet-branch-row {
        width: 100%;
        display: flex;
        align-items: stretch;
        gap: 0;
        min-width: 0;
        overflow: hidden;
        border: 1px solid #e2eaf4;
        border-radius: 9px;
        background: #fff;
        transition: border-color .15s ease, background .15s ease;
    }
    .kb-sheet-branch-row .kb-cat-chip {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: 36px;
        min-height: 36px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .kb-sheet-branch-row .kb-cat-chip.is-branch:not(.is-on) {
        border: 0;
        background: transparent;
        color: #52657f;
    }
    .kb-sheet-branch-row .kb-sheet-cat-toggle {
        flex: none;
        width: 27px;
        height: 36px;
        padding: 0;
        border: 0;
        border-left: 1px solid #e2eaf4;
        border-radius: 0;
        background: #fff;
        color: #7890a8;
        font-family: inherit;
        font-size: 15px;
        line-height: 1;
        cursor: pointer;
    }
    .kb-sheet-branch-row .kb-sheet-cat-toggle.is-open {
        background: #fff;
        color: #1d4ed8;
    }
    .kb-sheet-branch-row:has(.kb-cat-chip.is-on) {
        border-color: #1d4ed8;
        background: #1d4ed8;
    }
    .kb-sheet-branch-row:has(.kb-cat-chip.is-on) .kb-cat-chip.is-on {
        border: 0;
        background: transparent;
        color: #fff;
    }
    .kb-sheet-branch-row:has(.kb-cat-chip.is-on) .kb-sheet-cat-toggle {
        border-left-color: rgba(255, 255, 255, .34);
        background: #1d4ed8;
        color: #fff;
    }
}

/* 手机分页：五枚页码窗口 + 前进后退，铺满可用宽度。 */
@media (max-width: 600px) {
    .pager-mobile {
        width: 100%;
        justify-content: space-between;
        gap: 6px;
        padding: 0 2px;
    }
    .pager-mobile a {
        flex: 0 0 auto;
        min-width: 34px;
        height: 36px;
        padding: 0 8px;
    }
}

@media (min-width: 901px) {
    .kb-filter-sheet-v2 .kb-sheet-cat-entry.is-branch {
        display: block;
        width: 100%;
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: 0;
    }
    .kb-sheet-branch-row {
        display: flex;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        border: 1px solid #e2eaf4;
        border-radius: 9px;
        background: #fff;
        transition: border-color .15s ease, background .15s ease;
    }
    .kb-sheet-branch-row .kb-cat-chip {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        justify-content: flex-start;
        padding-left: 12px;
    }
    .kb-sheet-branch-row .kb-cat-chip.is-branch:not(.is-on) {
        border: 0;
        background: transparent;
        color: #52657f;
    }
    .kb-sheet-branch-row .kb-sheet-cat-toggle {
        flex: none;
        width: 30px;
        height: 34px;
        padding: 0;
        border: 0;
        border-left: 1px solid #e2eaf4;
        border-radius: 0;
        background: #fff;
        color: #7890a8;
        font-family: inherit;
        font-size: 15px;
        line-height: 1;
        cursor: pointer;
    }
    .kb-sheet-branch-row .kb-sheet-cat-toggle.is-open { background: #fff; color: #1d4ed8; }
    .kb-sheet-branch-row:has(.kb-cat-chip.is-on) {
        border-color: #1d4ed8;
        background: #1d4ed8;
    }
    .kb-sheet-branch-row:has(.kb-cat-chip.is-on) .kb-cat-chip.is-on {
        border: 0;
        background: transparent;
        color: #fff;
    }
    .kb-sheet-branch-row:has(.kb-cat-chip.is-on) .kb-sheet-cat-toggle {
        border-left-color: rgba(255, 255, 255, .34);
        background: #1d4ed8;
        color: #fff;
    }
    .kb-filter-sheet-v2 .kb-sheet-branch-children {
        display: flex;
        flex: none;
        width: 100%;
        flex-wrap: wrap;
        gap: 2px 12px;
        margin-top: 5px;
        padding: 3px 2px 3px 10px;
        border-left: 1px solid #e2ecf8;
    }
    .kb-filter-sheet-v2 .kb-sheet-branch-children[hidden] { display: none !important; }
}

/* 分类区独立滚动：属性区始终紧随细线下方可见。 */
.kb-filter-sheet-v2 .kb-sheet-cat-list {
    max-height: 232px;
    overflow-y: auto;
    padding-right: 4px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 900px) {
    .kb-filter-sheet-v2 .kb-sheet-cat-list { max-height: 238px; }
}

@media (max-width: 900px) {
    .kb-filter-sheet-v2 .kb-sheet-cat-list { max-height: 246px; scrollbar-width: none; }
    .kb-filter-sheet-v2 .kb-sheet-cat-list::-webkit-scrollbar { width: 0; height: 0; }
    .kb-sheet-branch-row { height: 36px; }
    .kb-sheet-branch-row .kb-cat-chip {
        height: 36px;
        min-height: 36px;
        padding: 0 3px;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .kb-sheet-branch-row .kb-sheet-cat-toggle {
        width: 24px;
        height: 36px;
    }
    .kb-sheet-branch-row .kb-cat-chip span,
    .kb-sheet-branch-row .kb-cat-chip { line-height: 36px; }
}

/* 触屏无悬停：避免手指离开后残留浅蓝描边。 */
@media (hover: none) {
    .kb-filter-sheet-v2 .kb-cat-chip:not(.is-on):hover {
        border-color: #e2eaf4;
        background: #fff;
        color: #52657f;
    }
    .kb-filter-sheet-v2 .kb-sheet-cat-toggle:hover { background: #fff; color: #7890a8; }
}

/* v1.12.80：PC 筛选窗放大为四列，父分类与普通分类同格同高；所有分类统一胶囊。 */
.kb-filter-sheet-v2 .kb-sheet-cat-list .chip.kb-cat-chip,
.kb-filter-sheet-v2 .kb-sheet-branch-row { border-radius: 999px; }
.kb-filter-sheet-v2 .kb-sheet-branch-row { border: 1px solid #e2eaf4; background: #fff; }
.kb-filter-sheet-v2 .kb-sheet-branch-row .kb-cat-chip {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
/* 点击后的焦点圈画在外层胶囊上，不在里面再套一圈圆角。 */
.kb-filter-sheet-v2 .kb-sheet-branch-row .kb-cat-chip:focus,
.kb-filter-sheet-v2 .kb-sheet-branch-row .kb-cat-chip:focus-visible {
    outline: none;
    box-shadow: none;
}
.kb-filter-sheet-v2 .kb-sheet-branch-row:has(.kb-cat-chip:focus-visible) {
    border-color: #9fc3f2;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}
.kb-filter-sheet-v2 .kb-sheet-branch-row .kb-sheet-cat-toggle {
    border: 0;
    border-left: 1px solid #e2eaf4;
    border-radius: 0;
    background: #fff;
}
.kb-filter-sheet-v2 .kb-sheet-branch-row:has(.kb-cat-chip.is-on) .kb-sheet-cat-toggle {
    border-left-color: rgba(255, 255, 255, .34);
    background: #1d4ed8;
}

@media (min-width: 901px) {
    .kb-filter-sheet-v2 {
        width: min(780px, calc(100vw - 56px));
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
    }
    .kb-filter-sheet-v2 .kb-sheet-cat-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
        padding-right: 0;
        gap: 8px;
    }
    .kb-filter-sheet-v2 .kb-sheet-cat-all-row,
    .kb-filter-sheet-v2 .kb-sheet-cat-entry.is-branch {
        display: contents;
        grid-column: auto;
        margin: 0;
        padding: 0;
        border: 0;
    }
    .kb-filter-sheet-v2 .kb-sheet-cat-entry.is-leaf { display: block; grid-column: auto; }
    .kb-filter-sheet-v2 .kb-sheet-branch-row {
        display: flex;
        grid-column: auto;
        width: 100%;
        height: 36px;
    }
    .kb-filter-sheet-v2 .kb-sheet-branch-row .kb-cat-chip {
        flex: 1 1 0;
        justify-content: center;
        padding: 0 0 0 26px;
        font-size: 12.5px;
        text-align: center;
    }
    .kb-filter-sheet-v2 .kb-sheet-branch-row .kb-sheet-cat-toggle { width: 26px; }
    .kb-filter-sheet-v2 .kb-sheet-branch-children {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin: 0;
        padding: 0 0 2px;
        border-left: 0;
    }
}

@media (max-width: 900px) {
    .kb-filter-sheet-v2 .kb-sheet-branch-row .kb-cat-chip { padding: 0 10px; font-size: 12px; }
}

/* 子分类也作为独立小胶囊，不再是一段裸文字。 */
.kb-filter-sheet-v2 .kb-sheet-branch-children {
    padding: 0;
    border-left: 0;
    margin-top: 0;
}
.kb-filter-sheet-v2 .kb-sheet-child-link {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #e2eaf4;
    border-radius: 999px;
    background: #fff;
    color: #5d7895;
    font-size: 12px;
}
.kb-filter-sheet-v2 .kb-sheet-child-link.level-3 { padding-left: 14px; }

/* 手机页码居中收拢，不再整行贴边分散。 */
@media (max-width: 600px) {
    .article-pager .pager-mobile {
        width: auto;
        max-width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 0 10px;
        margin-left: auto;
        margin-right: auto;
    }
    .pager-mobile a {
        min-width: 38px;
        height: 36px;
        padding: 0 9px;
    }
}

@media (max-width: 900px) {
    .kb-filter-sheet-v2 .kb-sheet-branch-row .kb-cat-chip {
        padding: 0 5px;
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .kb-filter-sheet-v2 .kb-sheet-cat-list { max-height: 300px; }
}

/* ================= v1.12.81 筛选页分类圆角矩形与清空按钮可见性 ================= */
/* 分类按钮改为圆角矩形，不再使用胶囊形；父子分类外壳、子分类按钮保持一致。 */
.kb-filter-sheet-v2 .kb-sheet-cat-list .chip.kb-cat-chip,
.kb-filter-sheet-v2 .kb-sheet-branch-row,
.kb-filter-sheet-v2 .kb-sheet-child-link {
    border-radius: 10px;
}

/* 已选中属性时，底部“清空属性 / 清空筛选”由弱文字变为明确可点的按钮。 */
.kb-filter-sheet-v2 .kb-sheet-foot .kb-sheet-clear-v2:not(.is-off),
.course-filter-sheet-v2 .kb-sheet-foot .kb-sheet-clear-v2:not(.is-off) {
    border: 1px solid #e2aaaa;
    background: #fff4f4;
    color: #a61b1b;
    font-weight: 650;
}
.kb-filter-sheet-v2 .kb-sheet-foot .kb-sheet-clear-v2:not(.is-off):hover,
.course-filter-sheet-v2 .kb-sheet-foot .kb-sheet-clear-v2:not(.is-off):hover {
    border-color: #cf8c8c;
    background: #ffecec;
    color: #891515;
}

/* ================= v1.12.82 课程列表手机分页居中与有子级分类文字居中 ================= */
.course-pager { display: flex; justify-content: center; }
@media (max-width: 600px) {
    .course-pager .pager-mobile {
        width: auto;
        max-width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 0 10px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ================= v1.12.84 搜索结果：保留关键词、取消、tab 与最新/最热 ================= */
.search-tabs {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.search-tabs::-webkit-scrollbar { display: none; }
.search-tabs a { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 860px) {
    .search-tabs { width: 100%; }
    .search-tabs a { flex: 0 0 auto; }
}

.search-sortbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; margin: -8px 0 18px; color: #7b8da4; font-size: 12px;
}
.search-sortbar b { color: #31557d; font-weight: 700; }
.search-sort { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.search-sort a { padding: 5px 11px; border-radius: 6px; color: #607892; font-size: 12px; line-height: 1.4; }
.search-sort a:hover { color: #1d4ed8; background: #f5f9ff; }
.search-sort a.is-on { color: #1d4ed8; background: #eaf2ff; font-weight: 700; }

/* 手机结果页：搜索框常驻，关键词不丢失；取消优先回上一页。 */
.search-result-form { display: none; }
@media (max-width: 560px) {
    .search-result-form {
        display: flex; align-items: center; gap: 6px;
        margin: 0 0 14px; padding: 4px 5px 4px 12px;
        background: #fff; border: 1px solid #dce7f4; border-radius: 10px;
    }
    .search-result-form .search-page-icon { color: #8aa0bb; }
    .search-result-form input[type="search"] {
        flex: 1 1 auto; min-width: 0; border: 0; outline: 0;
        background: transparent; padding: 9px 0; color: var(--ink);
        font-size: 16px;
    }
    .search-result-form button[type="submit"] {
        flex: none; border: 0; cursor: pointer; padding: 9px 12px;
        border-radius: 7px; background: #2563eb; color: #fff;
        font-size: 13px; font-family: inherit;
    }
    .search-result-form .search-result-cancel {
        flex: none; padding: 8px 1px 8px 8px; color: #6b7f95; font-size: 13px;
    }
    .search-sortbar { margin: -2px 0 14px; }
    .search-sortbar > span { white-space: nowrap; }
}
@media (max-width: 380px) {
    .search-sortbar { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* 手机顶栏搜索：打开后给“取消”留位置；桌面不显示，避免挤占搜索框 */
.header-search .header-search-cancel { display: none; }
@media (max-width: 560px) {
    .site-header.search-open .header-search-cancel {
        display: inline-flex; flex: none; align-items: center;
        padding: 0 8px 0 6px; border: 0; background: transparent;
        color: #5f748c; font-size: 13px; font-family: inherit; cursor: pointer;
        white-space: nowrap;
    }
}

/* ================= v1.12.84 文章阅读容器与文末软转化 ================= */
@media (min-width: 1081px) {
    .kb-article-grid {
        grid-template-columns: minmax(0, 800px) 304px;
        justify-content: center;
    }
}
@media (min-width: 861px) and (max-width: 1080px) {
    .kb-article-grid { grid-template-columns: minmax(0, 1fr) 284px; }
}

.article-adjacent {
    flex: 1 1 auto; min-width: 0;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px;
}
.article-adj {
    min-width: 0; display: flex; flex-direction: column; gap: 3px;
    color: #516b88; text-decoration: none;
}
.article-adj em {
    display: inline-flex; align-items: center; gap: 3px;
    color: #8ba0b8; font-size: 12px; font-style: normal; font-weight: 500;
}
.article-adj em .ic { width: 12px; height: 12px; }
.article-adj-prev em .ic { transform: rotate(180deg); }
.article-adj-next { text-align: right; align-items: flex-end; }
.article-adj span {
    min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap; color: #29476a; font-size: 13px; line-height: 1.5;
}
.article-adj:hover span { color: #2563eb; }
.article-adj.is-empty { opacity: .62; cursor: default; }
.article-adj.is-empty span { color: #93a5ba; }

@media (max-width: 600px) {
    .kb-article-foot { gap: 10px; align-items: flex-start; }
    .article-adjacent { grid-template-columns: 1fr; gap: 8px; }
    .article-adj-next { text-align: left; align-items: flex-start; }
    .article-adj-next em .ic { transform: rotate(180deg); }
    .article-adj span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* 文末软转化：只保留标题、1 门课程、3 篇延伸阅读；不套卡片、不叠加圆角。 */
.article-soft-learn { margin-top: 26px; padding-top: 20px; border-top: 1px solid #edf1f7; }
.article-soft-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 4px;
}
.article-soft-head > span {
    display: inline-flex; align-items: center; gap: 5px;
    color: #29476a; font-size: 13px; font-weight: 700;
}
.article-soft-head > a {
    display: inline-flex; align-items: center; gap: 2px;
    color: #8ba0b8; font-size: 12px;
}
.article-soft-course {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 0; border-bottom: 1px solid #edf1f7;
    color: inherit; text-decoration: none;
}
.article-soft-course-icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 9px;
    color: #fff; background: linear-gradient(150deg, var(--ac, #3b82f6), rgba(15, 23, 42, .84));
}
.article-soft-course-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.article-soft-course-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #17345c;
    font-size: 14.5px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.article-soft-course-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 9px; row-gap: 3px; min-width: 0; }
.article-soft-course-meta span { display: inline-flex; align-items: center; gap: 3px; color: #8599b1; font-size: 11.5px; line-height: 1.3; white-space: nowrap; }
.article-soft-course-meta .ic { flex: none; width: 12px; height: 12px; }
.article-soft-arrow { flex: none; color: #9aabc0; }
.article-soft-reads { display: flex; flex-direction: column; }
.article-soft-read {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid #edf1f7;
    color: #405a77; font-size: 13px; line-height: 1.5;
}
.article-soft-read span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-soft-read .ic { flex: none; color: #a9b8c9; }
.article-soft-read:hover { color: #2563eb; }
.article-soft-more {
    display: inline-flex; align-items: center; gap: 3px;
    margin-top: 10px; color: #7890a8; font-size: 12px;
}

/* ================= v1.12.84 课程中心：时间轴默认收起 ================= */
.plan-section.is-collapsed { display: none !important; }
.timeline-title.plan-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 0; padding: 0; border: 0; background: transparent;
    color: inherit; font: inherit; font-size: 15px; font-weight: 700;
    line-height: 1.4; text-align: left; cursor: pointer;
}
.timeline-title.plan-toggle:hover { color: #1d4ed8; }
.plan-toggle-icon { display: inline-flex; color: #3b82f6; }
@media (max-width: 760px) {
    .timeline-title.plan-toggle { cursor: default; pointer-events: none; }
    .plan-toggle-icon { display: none; }
}
.plan-section { scroll-margin-top: 82px; }

/* ================= v1.12.85 课程中心：展开提示、列表间距、当前月光晕 ================= */
/* 筛选卡自带 26px 下边距会与网格 24px 叠加，造成四五十像素的空档；统一收成 18px。 */
@media (min-width: 761px) {
    .courses-wrap { column-gap: 24px; row-gap: 18px; }
    .courses-wrap > .filter-card { margin-bottom: 0; }

    .timeline-title.plan-toggle {
        width: 100%; justify-content: flex-start;
        margin: -2px 0 0; padding: 2px 0;
    }
    .plan-toggle-copy {
        display: flex; flex-direction: column; gap: 1px;
        min-width: 0;
    }
    .plan-toggle-hint {
        color: #8ba0b8; font-size: 11px; font-weight: 500;
        line-height: 1.35; letter-spacing: .01em;
    }
    .plan-toggle-chevron {
        flex: none; margin-left: auto; display: inline-flex;
        color: #7c93ac; transition: transform .18s, color .18s;
    }
    .plan-toggle-chevron .ic { transform: rotate(90deg); }
    .timeline-title.plan-toggle:hover .plan-toggle-hint,
    .timeline-title.plan-toggle:hover .plan-toggle-chevron { color: #2563eb; }
    .timeline-title.plan-toggle:hover .plan-toggle-chevron { transform: translateY(2px); }
    .timeline-title.plan-toggle[aria-expanded="true"] .plan-toggle-chevron { transform: rotate(-90deg); }

    .timeline-item.is-current::after {
        background: #3b82f6;
        border-color: #fff;
        animation: timeline-current-pulse 2.6s ease-out infinite;
    }
    .timeline-item.is-current.active::after { background: var(--primary-2); }
}

@keyframes timeline-current-pulse {
    0%   { box-shadow: 0 0 0 2px rgba(59, 130, 246, .18), 0 0 0 0 rgba(59, 130, 246, .26); }
    55%  { box-shadow: 0 0 0 2px rgba(59, 130, 246, .18), 0 0 0 7px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 2px rgba(59, 130, 246, .18), 0 0 0 0 rgba(59, 130, 246, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .timeline-item.is-current::after { animation: none; }
}

@media (max-width: 760px) {
    .courses-wrap { gap: 16px; }
    .plan-toggle-copy { display: inline; }
    .plan-toggle-hint, .plan-toggle-chevron { display: none; }
}
/* v1.12.90 起，历史月份 PC 与手机同步隐藏 */
.timeline-item.is-history-hidden { display: none !important; }

/* ================= v1.12.85 课程中心：独立「查看时间轴」按钮 ================= */
@media (min-width: 761px) {
    .timeline-head { align-items: center; flex-wrap: wrap; gap: 8px; }
    .timeline-title {
        display: inline-flex; align-items: center; gap: 5px;
        min-width: 0; margin: 0;
    }
    .plan-title-icon { display: inline-flex; flex: none; color: #3b82f6; }
    .plan-title-text { min-width: 0; }

    .plan-link-toggle {
        flex: none; display: inline-flex; align-items: center; gap: 3px;
        margin-left: auto; padding: 4px 6px;
        border: 1px solid #d9e6fa; border-radius: 999px;
        background: #f5f9ff; color: #2563eb;
        font-size: 10.5px; font-weight: 600; line-height: 1.2;
        white-space: nowrap; cursor: pointer;
        transition: background .18s, border-color .18s, color .18s;
    }
    .plan-link-toggle:hover { background: #eaf2ff; border-color: #bfdbfe; color: #1d4ed8; }
    .plan-link-toggle:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
    .plan-toggle-chevrons {
        display: inline-flex; flex: none; color: currentColor;
        transition: transform .18s;
    }
    .plan-link-toggle[aria-expanded="true"] .plan-toggle-chevrons .ic { transform: rotate(180deg); }
}

@media (max-width: 760px) {
    .plan-title-icon, .plan-link-toggle { display: none; }
}

/* ================= v1.12.87 文章文末软转化衔接 / 底部双段胶囊 ================= */
.article-capsule-seg--action {
    width: auto;
    padding: 0 11px;
    gap: 5px;
    color: #506a86;
    font-size: 12px;
}
.article-capsule-label { line-height: 1; white-space: nowrap; }
.article-soft-bridge {
    margin: 0 0 10px;
    padding-left: 9px;
    border-left: 2px solid #bfd5f2;
    color: #607894;
    font-size: 12.5px;
    line-height: 1.7;
}
@media (max-width: 860px) {
    .article-soft-learn {
        margin-top: 16px;
        padding-top: 0;
        border-top: 0;
    }
    .article-soft-head { margin-bottom: 6px; }
    .article-soft-bridge { margin: 0 0 9px; }
}
@media (max-width: 600px) {
    .kb-article-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px solid #e6eef9;
    }
    .article-adjacent { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
    .article-adj-next { text-align: right; align-items: flex-end; }
    .article-adj-next em .ic { transform: none; }
    .article-adj-prev em .ic { transform: rotate(180deg); }
    .article-detail-capsule--foot { align-self: flex-end; }
}

/* ================= v1.12.88 文章操作胶囊统一为两段 ================= */
.article-detail-capsule--top,
.article-detail-capsule--soft { flex: 0 0 auto; }
.article-soft-head { align-items: center; gap: 8px; }
@media (max-width: 360px) {
    .article-soft-head { gap: 6px; }
    .article-soft-head > span { font-size: 12px; gap: 4px; }
    .article-detail-capsule--soft .article-capsule-seg--action { padding: 0 7px; gap: 4px; font-size: 11px; }
}

/* ================= v1.12.93 课程详情相关推荐与手机吸底 ================= */
.side-related { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.side-module { min-width: 0; }
.side-module-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 0 0 12px; padding: 0 2px 10px;
    border-bottom: 1px solid #e7eef8;
    color: #14243b; font-size: 14px; font-weight: 700; line-height: 1.3;
}
.side-module-head > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.side-module-head .ic { color: #2563eb; flex: none; }
.side-module-more { display: inline-flex; align-items: center; gap: 2px; flex: none; color: #64748b; font-size: 12px; font-weight: 500; }
.side-module-more:hover { color: #1d4ed8; }
.side-module-courses .article-side-course-list { gap: 12px; }
.side-module-courses .course-card { border-radius: 12px; }
.side-related-reads { display: flex; flex-direction: column; }

/* 相关图书：不用外卡，只做条目列表 */
.side-related .side-book-list { gap: 0; }
.side-related .side-book-item {
    margin: 0; padding: 8px 0; border-bottom: 1px solid #edf2f8; border-radius: 0;
    background: transparent;
}
.side-related .side-book-item:last-child { padding-bottom: 0; border-bottom: 0; }
.side-related .side-book-item:hover { background: transparent; }
.side-related .side-book-cover { flex: 0 0 48px; width: 48px; height: 66px; border-radius: 5px; }
.side-related .side-book-cover.is-empty {
    display: flex; align-items: center; justify-content: center;
    color: #7fa5d8; background: linear-gradient(135deg, #eef6ff, #f8fbff);
    border: 1px solid #e2edfb;
}
.side-related .side-book-copy strong { font-size: 14px; line-height: 1.45; font-weight: 650; color: #243b53; }
.side-related .side-book-copy em { margin-top: 3px; font-size: 12px; color: #8ba0b8; }

/* 标准图书卡：一行两本 */
.side-book-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.side-book-grid .book-card { min-width: 0; border-radius: 10px; }
.side-book-grid .book-card-body { padding: 9px 9px 10px; }
.side-book-grid .book-card-title { font-size: 13px; line-height: 1.45; }
.side-book-grid .book-card-line { font-size: 11px; gap: 4px; margin-top: 7px; flex-wrap: wrap; }
.side-book-grid .book-cover-more { display: none; }
.kb-article-side .side-book-grid { gap: 10px; }
.kb-article-side .side-book-grid .book-card-title { font-size: 12.5px; }


/* PC：咨询/分享作为右栏最后一个模块；滚到下方后贴底，不做内部滚动 */
.side-bottom-actions { display: none; }
@media (min-width: 861px) {
    .course-detail { align-items: stretch; }
    .detail-side {
        position: static;
        height: auto;
        max-height: none;
        min-height: 0;
        overflow: visible;
        gap: 18px;
    }
    /* 咨询/分享作为右栏末尾的操作条；滚到下方后贴住屏幕底部 */
    .detail-side .side-bottom-actions {
        display: block;
        flex: 0 0 auto;
    }
    .detail-side .side-bottom-actions.is-docked {
        position: fixed;
        bottom: 16px;
        z-index: 12;
        transition: opacity .18s ease, transform .18s ease;
    }
    .side-bottom-actions.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
    }
    .detail-side .side-bottom-actions .segmented-action-bar {
        box-shadow: none;
        background: rgba(255, 255, 255, .94);
        border-color: #dbe7f7;
    }
    /* 去掉独立滚动容器，让书目/课程/文章与文章页一样随页面滚动 */
    .detail-side .side-related-scroll { display: contents; }
    .detail-side .side-related { position: static; min-height: 0; }
    .detail-side .side-related > :last-child { margin-bottom: 0; }
}

/* 手机：推荐模块接在课程介绍之后；外卡取消，只留课程卡与条目 */
@media (max-width: 860px) {
    .detail-side { display: contents; }
    .side-related { order: 1; gap: 18px; }
    .side-module-head { margin-bottom: 10px; padding-bottom: 8px; }
    .side-module-courses .article-side-course-list { gap: 10px; }
    .side-related .side-book-item { padding: 7px 0; }
    .side-related .side-book-cover { flex: 0 0 44px; width: 44px; height: 60px; }
    .side-related .side-book-copy strong { font-size: 13px; }
    .side-related-reads .article-side-item:first-child { padding-top: 6px; }
}

/* 两段式操作条：中间无间隙，共用一个圆角外框，轻微透明 */
.segmented-action-bar {
    display: flex;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(207, 223, 247, .55);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 5px 16px rgba(15, 40, 80, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.segmented-action {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-right: 1px solid rgba(15, 35, 66, .10);
    border-radius: 0;
    background: transparent;
    color: #506a86;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}
.segmented-action:last-child { border-right: 0; }
.segmented-action:hover,
.segmented-action:focus { outline: 0; }
.segmented-action:focus-visible {
    background: rgba(255, 255, 255, .52);
    outline: 2px solid #93c5fd;
    outline-offset: -2px;
}
.segmented-action.segmented-consult { color: #1d4ed8; }
.segmented-action.segmented-consult .ic { color: #1d4ed8; }
.segmented-action.segmented-share { color: #0f766e; }
.segmented-action.segmented-share .ic { color: #0a9b68; }

/* 手机吸底：一个连续两段条，宽度随文字 */
@media (max-width: 860px) {
    .detail-sticky {
        width: auto; max-width: calc(100% - 32px);
        gap: 0; padding: 0;
        border-radius: 14px;
        border: 1px solid rgba(207, 223, 247, .55);
        background: rgba(255, 255, 255, .78);
        box-shadow: 0 5px 16px rgba(15, 40, 80, .08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        overflow: hidden;
    }
    .detail-sticky .segmented-action { height: 42px; padding: 0 17px; }
}

/* 文章详情手机端：下一篇下方好书分享，一行两本，不做卡中卡 */
.article-mobile-books { display: none; }
@media (max-width: 860px) {
    .article-mobile-books {
        display: block;
        margin: 18px 0 8px;
        padding: 0;
        background: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .article-mobile-books .article-side-head { margin: 0 2px 10px; }
    .article-mobile-books .side-book-grid { gap: 10px; }
    .article-mobile-books .side-book-grid .book-card-title { font-size: 13px; }
}

/* ================= v1.12.96 好书分享：横排书目条（PC/手机统一） ================= */
.book-share-list { display: flex; flex-direction: column; min-width: 0; }
.book-share-row {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 6px; margin: 0;
    border-bottom: 1px solid #edf2f8; border-radius: 8px;
    text-decoration: none; transition: background .18s ease;
}
.book-share-row:last-child { padding-bottom: 0; border-bottom: 0; }
.book-share-row:hover { background: #f7faff; }
.book-share-cover {
    flex: 0 0 52px; width: 52px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 5px; border: 1px solid #e2edfb; overflow: hidden;
    background: linear-gradient(135deg, #eef6ff, #f8fbff); color: #7fa5d8;
}
.book-share-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-share-copy { flex: 1 1 auto; min-width: 0; }
.book-share-copy strong {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin: 0; color: #243b53;
    font-size: 14px; line-height: 1.45; font-weight: 650;
}
.book-share-meta {
    display: flex; align-items: center; gap: 5px; min-width: 0;
    margin-top: 4px; color: #8ba0b8; font-size: 12px;
}
.book-share-meta em {
    flex: none; font-style: normal; padding: 1px 5px;
    border-radius: 4px; background: #eff6ff; color: #2563eb;
    white-space: nowrap; font-size: 11px;
}
.book-share-meta i { flex: none; font-style: normal; color: #cbd5e1; }
.book-share-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.book-share-arrow { flex: none; display: inline-flex; color: #9aacc0; }

/* ================= v1.12.100 统一无封面课程卡 ================= */
/* 标准：3px 分类色线 + 分类标签/授课方式 + 标题2行 + 摘要2行 + 底部三项 */
.course-card {
    border-top: 3px solid var(--cat-color, #dbeafe);
}
.course-card .card-body { padding: 12px 14px 12px; }
.card-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
    min-height: 18px;
}
.card-cat-chip {
    display: inline-flex;
    align-items: center;
    max-width: 58%;
    padding: 1px 7px;
    border-radius: 5px;
    background: #f4f7fc;
    background: color-mix(in srgb, var(--cat-color, #64748b) 10%, #fff);
    color: var(--cat-color, #64748b);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-method {
    flex: none;
    color: #7b8da4;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
}
.course-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 5px;
}
.course-card .card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 9px;
}
.course-card .card-info {
    flex-wrap: nowrap;
    gap: 7px;
    padding-top: 8px;
    margin-top: auto;
}
.course-card .card-info .meta-item {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.course-card .card-info .meta-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.course-card .card-info .foot-days,
.course-card .card-info .foot-date { flex: 0 0 auto; }
.course-card .card-info .foot-date { font-size: 12px; }

/* ================= v1.12.102 全站图书卡统一：浅色分层封面 + 作者蒙层 ================= */
/* 主栅格：默认 2 列，620 起 3 列，781 起 4 列，1181 起 5 列 */
.book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
@media (min-width: 620px) {
    .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; }
}
@media (min-width: 781px) {
    .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
}
@media (min-width: 1181px) {
    .book-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; }
}

/* 尾行保持原列宽，从第 1 列靠左排；不再整行居中悬挂 */
/* 5 列档位遇到 6/7/8 本时降为 4 列：4+2、4+3、4+4 */
@media (min-width: 1181px) {
    .book-grid.books-five-to-four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* 主卡：封面即书名，整卡可点 */
.book-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 35, 66, .06);
    border-radius: 14px;
    background: #eef5fc;
    box-shadow: 0 4px 12px rgba(15, 35, 66, .055);
    text-decoration: none;
    color: inherit;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.book-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 35, 66, .10);
    box-shadow: 0 12px 24px rgba(15, 35, 66, .10);
}
.book-card:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 3px;
}
.book-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.01) saturate(.97) contrast(.99);
    transition: transform .25s ease;
}
.book-card:hover > img { transform: scale(1.012); }

/* 左上分类：全卡只出现一次 */
.book-card-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 20px);
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    background: rgba(251, 253, 255, .78);
    box-shadow: 0 1px 4px rgba(15, 35, 66, .08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #263548;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.book-card-cat i {
    flex: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cat, #2563eb);
}

/* 底部作者蒙层：只放作者 */
.book-card-author {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: block;
    height: 36px;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, .18);
    background: rgba(226, 237, 249, .88);
    background: linear-gradient(180deg, rgba(255, 255, 255, .10) 0%, rgba(240, 247, 253, .35) 34%, color-mix(in srgb, var(--cat, #2563eb) 16%, rgba(218, 231, 244, .88)) 100%);
    box-shadow: 0 -5px 14px rgba(15, 35, 66, .04);
    backdrop-filter: blur(10px) saturate(.98);
    -webkit-backdrop-filter: blur(10px) saturate(.98);
    color: #22364b;
    font-size: 10.5px;
    line-height: 36px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 单页推荐的小号主卡 */
.book-card.is-sm { border-radius: 10px; }
.book-card.is-sm .book-card-cat {
    top: 7px;
    left: 7px;
    gap: 4px;
    max-width: calc(100% - 14px);
    padding: 4px 6px;
    font-size: 9px;
}
.book-card.is-sm .book-card-cat i { width: 3px; height: 3px; }
.book-card.is-sm .book-card-author {
    height: 30px;
    padding: 0 8px;
    font-size: 9px;
    line-height: 30px;
}

/* 小屏主卡 */
@media (max-width: 760px) {
    .book-card { border-radius: 12px; }
    .book-card-cat {
        top: 7px;
        left: 7px;
        gap: 4px;
        max-width: calc(100% - 14px);
        padding: 4px 7px;
        font-size: 9.5px;
    }
    .book-card-cat i { width: 3.5px; height: 3.5px; }
    .book-card-author {
        height: 34px;
        padding: 0 10px;
        font-size: 10px;
        line-height: 34px;
    }
}
@media (max-width: 380px) {
    .book-card-cat { font-size: 9px; padding: 4px 6px; }
    .book-card-author { height: 31px; padding: 0 9px; font-size: 9.5px; line-height: 31px; }
}

/* 缺封面兜底：改为浅色分层，避免旧深蓝块把整张卡压重 */
.book-cover-fallback {
    background: linear-gradient(145deg, #f8fcff 0%, color-mix(in srgb, var(--cat, #356f9f) 22%, #fff) 100%);
    color: #1d3148;
}
.book-cover-fallback b { color: #1d3148; }
.book-cover-fallback em { color: color-mix(in srgb, var(--cat, #356f9f) 72%, #41556b); }
.book-feature-cover .book-cover-fallback { padding: 10px 8px; }
.book-feature-cover .book-cover-fallback b { font-size: 13px; }

/* 搜索书卡：整卡可点，封面统一，卡外书名保留 */
.book-search-card {
    text-decoration: none;
    color: inherit;
}
.book-search-card:hover { transform: translateY(-1px); }
.book-search-cover { background: #eef5fc; }
.book-search-title,
.book-search-author,
.book-search-summary { text-decoration: none; }
.book-search-card { transition: transform .18s ease, border-color .18s, box-shadow .18s; }

/* 详情页同类图书：去掉箭头，补作者 */
.book-related-cover { background: #eef5fc; }
.book-related-copy em {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.book-related-card:hover { border-color: #bfdbfe; background: #eff6ff; }

/* 右侧栏同类图书：封面统一 */
.side-book-cover { background: #eef5fc; }
.side-book-item { text-decoration: none; color: inherit; }
.side-book-copy em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 文章 / 课程“好书分享”：去掉箭头，分类色随书 */
.book-share-cover { background: #eef5fc; }
.book-share-meta em {
    background: color-mix(in srgb, var(--cat, #2563eb) 12%, #fff);
    color: color-mix(in srgb, var(--cat, #2563eb) 70%, #1f2d3d);
}

/* 单页推荐：两列小卡，最大宽度收住，避免平板端封面过高 */
.page-book-grid { gap: 12px; }
@media (max-width: 980px) {
    .page-book-grid { max-width: 460px; margin: 0 auto; }
}


/* ================= v1.12.108 详情页返回/分享胶囊文字化 ================= */
.course-capsule-seg--action.is-icon,
.book-capsule-seg--action.is-icon {
    width: 34px;
    padding: 0;
    gap: 0;
}


.course-capsule-seg--action,
.book-capsule-seg--action {
    width: auto;
    padding: 0 11px;
    gap: 5px;
    font-size: 12px;
}
.course-capsule-label,
.book-capsule-label {
    line-height: 1;
    white-space: nowrap;
}
/* 文章详情 PC 文末：与上一篇/下一篇同一行，胶囊靠右；手机端已有文末上方胶囊，不重复 */
.article-foot-capsule {
    flex: 0 0 auto;
    margin-left: 8px;
}
@media (max-width: 860px) {
    .article-foot-capsule { display: none; }
}
@media (max-width: 760px) {
    .book-capsule-seg--action {
        width: auto;
        padding: 0 9px;
        gap: 4px;
        font-size: 11px;
    }
}
@media (max-width: 380px) {
    .book-capsule-seg--action {
        padding: 0 7px;
        gap: 3px;
        font-size: 11px;
    }
}
@media (max-width: 380px) {
    .header-actions { gap: 6px; }
}

/* ================= v1.12.109 课程中心：月份条通栏与筛选分面计数 ================= */
.chip-count {
    margin-left: 1px;
    font-size: 11px;
    font-weight: 500;
    color: #9aabba;
}
.chip.active .chip-count { color: rgba(255, 255, 255, .78); }
.chip.is-disabled {
    border-color: #edf1f6;
    background: #f7f9fc;
    color: #b3c0ce;
    cursor: not-allowed;
    pointer-events: none;
}
.chip.is-disabled .chip-count { color: #c3cedb; }

.timeline-title-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.timeline-title-all { display: none; }

@media (max-width: 860px) {
    /* 月份区直接落在页面底色上，去掉外层白卡与内层月份条形成的“卡中卡”。 */
    .timeline-card {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }
    .timeline-head {
        align-items: center;
        margin-bottom: 10px;
    }
    .timeline-title-line {
        flex: 0 1 auto;
        min-width: 0;
    }
    .timeline-title-all {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex: none;
        height: 30px;
        padding: 0 9px;
        border: 1px solid #e3eaf5;
        border-radius: 8px;
        background: #fff;
        color: #475569;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
    }
    .timeline-title-all:hover { border-color: #cfe0f7; color: #1d4ed8; }
    .timeline-title-all.is-on {
        border-color: var(--primary);
        background: var(--primary);
        color: #fff;
    }
    .timeline-title-count {
        font-size: 10.5px;
        font-weight: 500;
        color: #8fa3b8;
    }
    .timeline-title-all.is-on .timeline-title-count { color: rgba(255, 255, 255, .8); }
    .timeline-head .timeline-swipe {
        margin: 0 0 0 auto;
        flex: 0 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .kb-sheet-month-group { margin-bottom: 2px; }
    .kb-month-clear {
        height: 34px;
        padding: 0 11px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 600;
    }
}
@media (max-width: 350px) {
    .timeline-head .timeline-swipe { display: none; }
}

/* 手机筛选：长选项名省略，课程数始终保留 */
.kb-filter-sheet-v2 .kb-sheet-chips .kb-toggle-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    gap: 1px;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}
.kb-toggle-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kb-filter-sheet-v2 .kb-sheet-chips .kb-opt-count { flex: none; }

/* ================= v1.12.111 轻量通栏头图：课程中心 / 书单 ================= */
.hb-band {
    position: relative;
    isolation: isolate;
    background-color: var(--hero-bg, #edf4fb);
    background-image:
        radial-gradient(110% 150% at 0% 0%, var(--hero-glow, rgba(255,255,255,.34)) 0%, rgba(255,255,255,0) 52%),
        linear-gradient(135deg, rgba(0,0,0,0) 34%, var(--hero-shade, rgba(0,0,0,.05)) 100%);
    background-repeat: no-repeat;
    color: var(--hero-fg, #102a46);
    border-bottom: 1px solid var(--hero-line, rgba(16,42,70,.08));
    overflow: hidden;
}
.hb-band.has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(115deg, rgba(4,15,32,var(--hero-overlay,.55)), rgba(4,15,32,var(--hero-overlay,.55))),
        var(--hero-image);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}
.hb-inner {
    position: relative;
    z-index: 1;
    height: var(--hero-h, 168px);
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr);
    gap: 26px;
    align-items: stretch;
    padding-top: 14px;
    padding-bottom: 14px;
    box-sizing: border-box;
}
.hb-rail {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-right: 24px;
    border-right: 1px solid var(--hero-line, rgba(16,42,70,.08));
}
.hb-title {
    margin: 0;
    color: var(--hero-fg, #102a46);
    font-size: 26px;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -.02em;
}
.hb-count {
    color: var(--hero-muted, #5a6f87);
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}
.hb-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    color: var(--hero-fg, #102a46);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    opacity: .82;
}
.hb-link:hover { opacity: 1; }
.hb-link svg { width: 12px; height: 12px; }
.hb-stage {
    position: relative;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.hb-track {
    height: 100%;
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(var(--hb-count, 3), minmax(0, 1fr));
    gap: 12px;
}
.hb-slide { min-width: 0; height: 100%; }
.hb-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 11px;
    border: 1px solid var(--hb-card-border, rgba(16,42,70,.10));
    background: var(--hb-card, rgba(255,255,255,.92));
    box-shadow: var(--hero-shadow, 0 6px 18px rgba(20,46,80,.06));
    color: var(--hero-fg, #102a46);
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hb-card:hover { transform: translateY(-2px); border-color: var(--accent, #2563eb); }
.hb-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}
.hb-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 2px 7px;
    border-radius: 99px;
    background: var(--hero-chip-bg, rgba(37,99,235,.08));
    color: var(--hero-chip-fg, #1d4ed8);
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hb-method {
    color: var(--hero-muted, #5a6f87);
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
}
.hb-course-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.34;
    font-weight: 750;
    letter-spacing: -.02em;
}
.hb-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-top: 9px;
    color: var(--hero-muted, #5a6f87);
    font-size: 11px;
    line-height: 1.5;
}
.hb-meta > span { display: inline-flex; align-items: center; gap: 3px; min-width: 0; }
.hb-meta svg { width: 12px; height: 12px; flex: none; opacity: .72; }
.hb-book-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
}
.hb-book-cover {
    flex: 0 0 52px;
    width: 52px;
    height: 72px;
    border-radius: 5px;
    overflow: hidden;
    background: #e8eff8;
    box-shadow: 0 4px 12px rgba(16,42,70,.10);
}
.hb-book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-book-cover-fallback {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    padding: 6px; box-sizing: border-box; text-align: center;
    color: #fff; font-size: 10px; line-height: 1.35;
    background: linear-gradient(145deg,#1c3557,#2b4b74);
}
.hb-book-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}
.hb-book-copy strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--hero-fg, #102a46);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 750;
}
.hb-book-copy .hb-meta { margin-top: 0; }
.hb-dots { display: none; }
.hb-slim {
    padding: 20px 0 18px;
    background: #f6f9fd;
    border-bottom: 1px solid #e8eff8;
}
.hb-slim h1 { margin: 0; font-size: 28px; line-height: 1.25; color: #102a46; letter-spacing: -.02em; }
.hb-slim p { margin: 5px 0 0; color: #64748b; font-size: 12px; }

@media (max-width: 1080px) {
    .hb-inner { grid-template-columns: 168px minmax(0, 1fr); gap: 20px; }
    .hb-rail { padding-right: 18px; }
    .hb-title { font-size: 24px; }
    .hb-course-card strong { font-size: 16px; }
    .hb-book-card { gap: 10px; padding: 9px 10px; }
}
@media (max-width: 860px) {
    .hb-inner {
        height: var(--hero-hm, 142px);
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .hb-rail { padding-right: 10px; gap: 2px; }
    .hb-title { font-size: 18px; line-height: 1.18; }
    .hb-count { font-size: 11px; }
    .hb-link { margin-top: 5px; font-size: 11px; gap: 3px; }
    .hb-track { display: block; position: relative; }
    .hb-slide { display: none; height: 100%; }
    .hb-slide.is-on { display: block; }
    .hb-dots {
        display: flex;
        justify-content: flex-end;
        gap: 4px;
        position: absolute;
        right: 10px;
        bottom: 7px;
        z-index: 2;
        height: 4px;
        padding: 0;
        box-sizing: border-box;
    }
    .hb-dot {
        width: 4px; height: 4px; padding: 0; border: 0; border-radius: 99px;
        background: var(--hero-muted, #5a6f87); opacity: .35; cursor: pointer;
    }
    .hb-dot.is-on { width: 13px; background: var(--hero-chip-fg, #1d4ed8); opacity: .92; }
    .hb-card { height: 100%; padding: 9px 11px; border-radius: 9px; }
    .hb-card-top { margin-bottom: 4px; }
    .hb-course-card strong { font-size: 14px; line-height: 1.3; }
    .hb-meta { margin-top: 5px; gap: 3px 7px; font-size: 10px; }
    .hb-meta svg { width: 10px; height: 10px; }
    .hb-book-card { gap: 9px; padding: 8px 9px; }
    .hb-book-cover { flex-basis: 44px; width: 44px; height: 61px; }
    .hb-book-copy { gap: 3px; }
    .hb-book-copy strong { font-size: 13px; line-height: 1.3; }
    .hb-book-copy .hb-meta { font-size: 10px; }
}

@media (max-width: 380px) {
    .hb-inner { grid-template-columns: 74px minmax(0, 1fr); gap: 9px; }
    .hb-rail { padding-right: 8px; }
    .hb-title { font-size: 16px; }
    .hb-book-cover { flex-basis: 40px; width: 40px; height: 56px; }
    .hb-course-card strong { font-size: 13px; }
}

@keyframes heroSoftIn {
    from { opacity: 0; transform: translateY(8px); filter: blur(3px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes heroRiseIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 860px) {
    .hb-band[data-motion="soft"] .hb-slide.is-on { animation: heroSoftIn .72s cubic-bezier(.2,.7,.25,1) both; }
    .hb-band[data-motion="fade"] .hb-slide.is-on { animation: heroFadeIn .9s ease both; }
    .hb-band[data-motion="rise"] .hb-slide.is-on { animation: heroRiseIn .62s cubic-bezier(.2,.7,.25,1) both; }
}
@media (prefers-reduced-motion: reduce) {
    .hb-slide.is-on { animation: none !important; }
    .hb-card { transition: none; }
}

/* 手机端课程中心：通栏与“按月查看”之间留出呼吸位 */
@media (max-width: 880px) {
    .courses-wrap.container { padding-top: 32px; }
}

/* v1.12.113：手机顶栏 APP / 关注 / 搜索三入口收紧，避免 390/320 挤压 */
@media (max-width: 430px) {
    .header-actions { gap: 6px; }
    .header-quick-btn { width: 36px; height: 36px; border-radius: 8px; }
}
@media (max-width: 380px) {
    .header-inner { gap: 6px; }
    .brand-sub { display: none; }
    .brand-name { font-size: 15px; }
    .header-quick-btn { width: 34px; height: 34px; }
}

/* ==================== v1.12.113：底部快速访问（后台友情链接） ==================== */
.friends-band {
    background: #fff;
    border-top: 1px solid #eef2f8;
    padding: 16px 0 18px;
}
.friends-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
    line-height: 1.6;
}
.friends-title {
    color: #8492a6;
    letter-spacing: 1px;
}
.friends-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.friends-links a {
    color: #40536e;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s;
}
.friends-links a:hover { color: #1d4ed8; }
@media (max-width: 860px) {
    .friends-band { padding: 14px 0 16px; }
    .friends-inner { gap: 6px 12px; font-size: 12px; }
    .friends-links { gap: 7px 14px; }
}

@media (max-width: 340px) {
    .header-inner { gap: 4px; }
    .header-actions { gap: 4px; }
    .header-quick-btn, .mobile-search-btn { width: 32px !important; height: 32px !important; }
    .brand { gap: 6px; }
    .brand-name { font-size: 14px; }
}

@media (min-width: 881px) and (max-width: 1180px) {
    .brand-sub { display: none; }
}

@media (min-width: 881px) and (max-width: 1180px) {
    .site-nav .nav-link { font-size: 14px; padding-left: 10px; padding-right: 10px; }
}

@media (min-width: 1024px) and (max-width: 1080px) {
    .header-inner { gap: 10px; }
    .brand-name { font-size: 16px; }
    .site-nav .nav-link { font-size: 13px; padding-left: 8px; padding-right: 8px; }
}

@media (min-width: 861px) and (max-width: 1180px) {
    .hero-slide-inner { padding-left: 72px; box-sizing: border-box; }
}

/* v1.12.118 手机筛选抽屉：子分类选中同样使用蓝底白字，和一级分类保持一致。 */
.kb-filter-sheet-v2 .kb-sheet-child-link.is-on {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #fff;
    font-weight: 650;
}
.kb-filter-sheet-v2 .kb-sheet-child-link.is-on:hover {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #fff;
}

/* ================= v1.12.123 经典知识版：文章分类模块 ================= */
.knowledge-home { background: #fff; border-top: 1px solid #eef2f8; padding: 52px 0 46px; }
.knowledge-home.is-headless { padding-top: 24px; padding-bottom: 42px; }
.knowledge-home-mini-more { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.knowledge-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.knowledge-home-kicker { font-size: 12px; letter-spacing: 2px; color: var(--brand-500); margin: 0 0 8px; font-weight: 600; }
.knowledge-home-sub { font-size: 13px; color: var(--ink-500); margin: 6px 0 0; }
.knowledge-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.knowledge-home-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
    box-shadow: var(--shadow-2); padding: 18px 18px 12px; overflow: hidden;
    transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, border-color .2s;
}
.knowledge-home-card[data-href] { cursor: pointer; }
.knowledge-home-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: #d8e4f5; }
.knowledge-home-card::before { display: none; }
.kh-card-head { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #f1f4f9; }
.kh-card-icon { width: 34px; height: 34px; border-radius: 9px; background: #eff5ff; color: var(--brand-600); display: flex; align-items: center; justify-content: center; flex: none; }
.kh-card-icon svg { width: 19px; height: 19px; }
.kh-card-title { min-width: 0; flex: 1; }
.kh-card-title h3 { font-size: 17px; line-height: 1.3; margin: 0 0 3px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kh-card-title span { display: block; font-size: 11px; color: var(--ink-400); letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kh-card-more { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-400); flex: none; }
.kh-card-index { display: none; }
.kh-card-list { padding-top: 5px; }
.kh-row { display: flex; align-items: flex-start; gap: 7px; padding: 9px 0 8px; border-bottom: 1px solid #f4f7fb; text-decoration: none; }
.kh-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.kh-dot { width: 5px; height: 5px; border-radius: 50%; background: #c7d2e3; opacity: 1; margin-top: 7px; flex: none; }
.kh-row-title { font-size: 13px; line-height: 1.55; color: var(--ink-700); font-weight: 500; flex: 1; min-width: 0; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kh-row time { font-size: 10px; color: var(--ink-500); white-space: nowrap; padding-top: 4px; font-variant-numeric: tabular-nums; }
.kh-row:hover .kh-row-title { color: var(--brand-700); }
@media (max-width: 1080px) {
    .knowledge-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .knowledge-home { padding: 32px 0 30px; }
    .knowledge-home.is-headless { padding-top: 18px; padding-bottom: 28px; }
    .knowledge-home-mini-more { margin-bottom: 8px; }
    .knowledge-home-head { position: relative; display: block; margin-bottom: 16px; }
    .knowledge-home-head .section-more { position: absolute; top: 0; right: 0; padding-bottom: 0; font-size: 12px; }
    .knowledge-home-kicker { font-size: 10px; }
    .knowledge-home .section-title { font-size: 22px; }
    .knowledge-home-sub { font-size: 12px; max-width: 230px; }
    .knowledge-home-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 6px; }
    .knowledge-home-card {
        flex: 0 0 calc((100% - 12px) / 3); max-width: calc((100% - 12px) / 3);
        min-height: 96px; padding: 8px 2px 6px; border-radius: 12px;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        background: transparent; border: 0; box-shadow: none; overflow: visible;
    }
    .knowledge-home-card::before,
    .knowledge-home-card::after { display: none; content: none; }
    .knowledge-home-card:hover { transform: none; box-shadow: none; border-color: transparent; }
    .kh-card-head {
        position: static; z-index: auto; display: flex; flex-direction: column;
        align-items: center; justify-content: center; gap: 8px;
        width: 100%; flex: 1; padding: 0; border: 0;
    }
    .kh-card-icon {
        width: 48px; height: 48px; border-radius: 14px;
        background: #eff5ff; color: var(--brand-600); box-shadow: none;
    }
    .kh-card-icon svg { width: 22px; height: 22px; }
    .kh-card-title { width: 100%; margin: 0; padding: 0 2px; text-align: center; }
    .kh-card-title h3 {
        font-size: 13px; line-height: 1.25; margin: 0; letter-spacing: .1px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .kh-card-title span { display: none; }
    .kh-card-more { display: none; }
    .kh-card-list { display: none; }
    .kh-card-index { display: none; }
}
@media (max-width: 360px) {
    .knowledge-home .section-title { font-size: 20px; }
    .knowledge-home-sub { max-width: 210px; }
    .knowledge-home-grid { gap: 8px 4px; }
    .knowledge-home-card {
        flex-basis: calc((100% - 8px) / 3); max-width: calc((100% - 8px) / 3);
        min-height: 90px; padding: 8px 0 6px;
    }
    .kh-card-icon { width: 44px; height: 44px; border-radius: 13px; }
    .kh-card-icon svg { width: 20px; height: 20px; }
    .kh-card-title h3 { font-size: 12px; }
}

/* ================= v1.12.130 经典知识版手机首页 ================= */
.hero-eyebrow { display: none; }
.hero-slider.hero-slider-ck { height: var(--ck-hero-h-pc, clamp(430px, 44vw, 560px)); }
.ck-mobile-stats { display: none; }
.ck-latest { display: none; }
.kh-all-card { display: none; }
.ck-cat-sheet { display: none; }
.ck-cat-sheet[hidden] { display: none; }

@media (max-width: 860px) {
    .hero-slider.hero-slider-ck {
        height: var(--ck-hero-h-mobile, 228px);
        min-height: 0;
    }
    .hero-slider.hero-slider-ck .hero-slide-inner {
        justify-content: flex-start;
        padding: 18px 20px 16px;
        height: 100%;
        box-sizing: border-box;
    }
    .hero-slider.hero-slider-ck .hero-slide-copy {
        height: 100%;
        justify-content: center;
    }
    .hero-slider.hero-slider-ck .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 0 0 8px;
        color: rgba(219, 234, 255, .78);
        font-size: 9.5px;
        line-height: 1.2;
        letter-spacing: 1.2px;
        font-weight: 600;
    }
    .hero-slider.hero-slider-ck .hero-eyebrow i {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #7dd3fc;
        box-shadow: 0 0 8px rgba(125, 211, 252, .95);
    }
    .hero-slider.hero-slider-ck .hero-title {
        margin: 0;
        font-size: var(--ck-hero-title-size, 22px);
        line-height: 1.28;
        letter-spacing: .2px;
        text-shadow: 0 4px 18px rgba(6, 20, 55, .3);
    }
    .hero-slider.hero-slider-ck .hero-sub {
        margin: 7px 0 0;
        max-width: 310px;
        font-size: 12.5px;
        line-height: 1.55;
        color: rgba(255, 255, 255, .82);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    .hero-slider.hero-slider-ck .hero-actions {
        margin-top: 16px;
        margin-bottom: 0;
        padding-right: 64px;
    }
    .hero-slider.hero-slider-ck .hero-actions .btn {
        min-height: 31px;
        padding: 6px 11px;
        border: 1px solid rgba(255, 255, 255, .26);
        background: rgba(255, 255, 255, .10);
        color: rgba(255, 255, 255, .96);
        box-shadow: none;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .hero-slider.hero-slider-ck .hero-actions .btn svg { opacity: .72; }
    .hero-slider.hero-slider-ck .hero-slide .hero-stats { display: none; }
    .hero-slider.hero-slider-ck .hero-dots {
        left: auto;
        right: 19px;
        bottom: 22px;
        transform: none;
        gap: 5px;
    }
    .hero-slider.hero-slider-ck .hero-dot {
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, .42);
    }
    .hero-slider.hero-slider-ck .hero-dot.is-active { width: 14px; background: #fff; }

    .ck-mobile-stats {
        display: block;
        position: relative;
        z-index: 5;
        margin-top: -14px;
    }
    .seam-bar-ck-mobile {
        display: flex;
        grid-template-columns: none;
        height: 52px;
        padding: 0 10px;
        border-radius: 14px;
        border-color: rgba(214, 226, 241, .92);
        box-shadow: 0 12px 30px rgba(21, 48, 94, .12), 0 1px 0 rgba(255, 255, 255, .9) inset;
    }
    .seam-bar-ck-mobile::before { display: none; content: none; }
    .seam-bar-ck-mobile .hero-stats,
    .seam-bar-ck-mobile .hero-stats-four {
        display: flex;
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        align-items: center;
        justify-content: space-between;
        gap: 2px;
    }
    .seam-bar-ck-mobile .hero-stat {
        flex: 1 1 0;
        min-width: 0;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #14307c;
        padding: 0 2px;
    }
    .seam-bar-ck-mobile .hero-stat + .hero-stat {
        border-left: 1px solid #eef3fb;
    }
    .seam-bar-ck-mobile .hero-stat strong {
        display: block;
        width: 100%;
        font-size: 17px;
        line-height: 1.1;
        letter-spacing: -.2px;
        color: #14307c;
        text-align: center;
    }
    .seam-bar-ck-mobile .hero-stat span {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 2px;
        font-size: 10.5px;
        line-height: 1.1;
        letter-spacing: 0;
        color: #61748d;
        white-space: normal;
        overflow: hidden;
        text-overflow: clip;
        word-break: keep-all;
        text-align: center;
    }
    .seam-bar-ck-mobile .hero-follow {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #2563eb;
    }
    .seam-bar-ck-mobile .hero-follow .hero-follow-icon {
        width: 18px;
        height: 18px;
        margin: 0;
        border: 0;
        background: transparent;
        color: #2563eb;
    }
    .seam-bar-ck-mobile .hero-follow .hero-follow-icon .ic { width: 15px; height: 15px; }
    .seam-bar-ck-mobile .hero-follow > span:last-child {
        width: 100%;
        font-size: 10.5px;
        line-height: 1.1;
        letter-spacing: 0;
        color: #52657f;
        white-space: normal;
        text-align: center;
        word-break: keep-all;
    }

    .knowledge-home-grid.is-many > .knowledge-home-card:not(.kh-all-card):nth-child(n+6) {
        display: none;
    }
    .kh-all-card {
        display: flex;
        background: #f4f9ff;
        border: 1px solid #e3eefc;
        box-shadow: none;
    }
    .kh-all-card .kh-card-icon {
        background: #e8f1ff;
        color: #1d4ed8;
    }
    .kh-all-card .kh-card-title span { display: none; }
    .kh-all-card .kh-card-more { display: none; }

    .ck-latest {
        display: block;
        padding: 4px 0 28px;
        background: linear-gradient(180deg, #f6f9fe 0%, #fbfdff 100%);
    }
    .ck-latest-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 12px;
    }
    .ck-latest-head h2 {
        margin: 0;
        font-size: 18px;
        line-height: 1.3;
        letter-spacing: .2px;
        color: #183253;
    }
    .ck-latest-head a {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        color: #64748b;
        font-size: 11px;
        white-space: nowrap;
    }
    .ck-latest-list {
        display: flex;
        flex-direction: column;
        padding: 0 12px;
        background: #fff;
        border: 1px solid #e8eff8;
        border-radius: 14px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
    }
    .ck-latest-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 13px 0;
        border: 0;
        border-bottom: 1px solid #edf2f9;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        text-decoration: none;
        color: #243b58;
        min-height: 0;
    }
    .ck-latest-row:last-child { border-bottom: 0; }
    .ck-latest-title {
        min-width: 0;
        flex: 1;
        overflow: hidden;
        color: #243b58;
        font-size: 13.5px;
        line-height: 1.45;
        font-weight: 600;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .ck-latest-row time {
        flex: none;
        color: #8a9bb0;
        font-size: 10.5px;
        line-height: 1.3;
        font-variant-numeric: tabular-nums;
    }
    .ck-latest-row:hover .ck-latest-title { color: #1d4ed8; }

    .ck-cat-sheet {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 120;
    }
    .ck-cat-sheet[hidden] { display: none; }
    .ck-cat-sheet-mask {
        position: absolute;
        inset: 0;
        background: rgba(11, 24, 45, .45);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    .ck-cat-sheet-panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 76vh;
        display: flex;
        flex-direction: column;
        padding: 15px 15px calc(15px + env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
        background: #fff;
        box-shadow: 0 -18px 50px rgba(10, 26, 55, .2);
        animation: ckSheetUp .24s ease both;
    }
    @keyframes ckSheetUp {
        from { transform: translateY(18px); opacity: .6; }
        to { transform: translateY(0); opacity: 1; }
    }
    .ck-cat-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: none;
        padding: 0 2px 12px;
    }
    .ck-cat-sheet-head strong {
        color: #183253;
        font-size: 17px;
        line-height: 1.3;
    }
    .ck-cat-sheet-close {
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #f2f6fc;
        color: #64748b;
        display: flex;
        align-items: center;
        justify-content: center;
        outline: none;
    }
    .ck-cat-sheet-close:focus-visible { box-shadow: 0 0 0 2px rgba(37, 99, 235, .22); }
    .ck-cat-sheet-grid {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
        gap: 7px;
        padding: 2px 0 2px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .ck-cat-sheet-item {
        flex: 0 0 calc((100% - 26px) / 3);
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 4px;
        min-height: 42px;
        padding: 8px 5px 8px calc(5px + var(--ck-depth, 0) * 7px);
        border: 1px solid #e9f0fa;
        border-radius: 10px;
        background: #f8fbff;
        color: #24405f;
        text-decoration: none;
    }
    .ck-cat-sheet-icon {
        flex: none;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
        background: #eaf2ff;
        color: #2563eb;
    }
    .ck-cat-sheet-icon .ic { width: 13px; height: 13px; }
    .ck-cat-sheet-panel .ck-cat-sheet-name {
        min-width: 0;
        font-size: 11px;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    body.ck-sheet-open { overflow: hidden; }
}

@media (min-width: 861px) {
    .hero-slider.hero-slider-ck {
        height: var(--ck-hero-h-pc, clamp(430px, 44vw, 560px));
    }
}

/* v1.12.130 手机端收紧：分类标题、卡片与最新文章 */
@media (max-width: 860px) {
    .knowledge-home { padding: 20px 0 22px; }
    .knowledge-home.is-headless { padding-top: 14px; padding-bottom: 20px; }
    .knowledge-home.is-no-title .knowledge-home-head { display: none; }
    .knowledge-home.is-no-title { padding-top: 14px; }
    .knowledge-home-head { margin-bottom: 12px; }
    .knowledge-home-kicker,
    .knowledge-home-sub { display: none; }
    .knowledge-home .section-title {
        position: relative;
        max-width: calc(100% - 92px);
        padding-left: 11px;
        font-size: 20px;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .knowledge-home .section-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 3px;
        bottom: 3px;
        width: 3px;
        border-radius: 2px;
        background: #2563eb;
    }
    .knowledge-home-head .section-more { font-size: 12px; }
    .knowledge-home-grid { gap: 8px 6px; }
    .knowledge-home-card {
        min-height: 92px;
        padding: 9px 2px 7px;
        background: #fff;
        border: 1px solid #e6eef8;
        border-radius: 12px;
        box-shadow: 0 5px 14px rgba(19, 42, 79, .04);
        overflow: hidden;
    }
    .knowledge-home-card:hover {
        transform: none;
        border-color: #e6eef8;
        box-shadow: 0 5px 14px rgba(19, 42, 79, .04);
    }
    .kh-all-card {
        background: #f7fbff;
        border: 1px dashed #cbdcf6;
        box-shadow: none;
    }
    .kh-all-card .kh-card-icon { background: #eaf3ff; }

    .ck-latest { padding: 2px 0 20px; }
    .ck-latest.is-headless { padding-top: 12px; }
    .ck-latest-head { margin-bottom: 9px; }
    .ck-latest-head h2 { font-size: 17px; }
    .ck-latest-row { padding: 12px 0; background: transparent; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
    .ck-latest-title { font-size: 13.2px; line-height: 1.4; }
    .ck-latest-row time { font-size: 10px; }
}

@media (max-width: 360px) {
    .knowledge-home-grid { gap: 8px 4px; }
    .ck-cat-sheet-grid { gap: 4px; }
    .ck-cat-sheet-item { flex-basis: calc((100% - 12px) / 3); }
}

@media (max-width: 350px) {
    .ck-cat-sheet-item { flex-basis: calc((100% - 18px) / 2); }
}

@media (max-width: 360px) {
    .article-soft-course-meta { column-gap: 4px; }
    .article-soft-course-meta span { gap: 2px; font-size: 11px; }
}

/* =========================================================
   网页版 App 引导页 v1.12.145
   ========================================================= */
.app-guide { margin-top: 22px; display: grid; gap: 16px; }
.app-guide-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 26px;
    align-items: center;
    overflow: hidden;
    padding: 30px 34px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 8%, rgba(96, 165, 250, .38), transparent 34%),
        linear-gradient(135deg, #0f2a63 0%, #1e40af 58%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 18px 42px rgba(20, 48, 124, .18);
}
.app-guide-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .045), 0 0 0 68px rgba(255, 255, 255, .03);
    pointer-events: none;
}
.app-guide-hero-copy { position: relative; z-index: 1; }
.app-guide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bfd4ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}
.app-guide-kicker::before { content: ""; width: 18px; height: 2px; background: #93b4ff; border-radius: 99px; }
.app-guide-hero h2 {
    margin: 12px 0 0;
    font-size: 28px;
    line-height: 1.35;
    letter-spacing: -.02em;
    color: #fff;
}
.app-guide-hero p { max-width: 650px; margin: 12px 0 0; color: #dbe7ff; font-size: 14px; line-height: 1.85; }
.app-guide-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.app-guide-pills span {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #e8f0ff;
    font-size: 12px;
}
.app-guide-hero-mark {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: 128px;
    text-align: center;
}
.app-guide-hero-mark svg { display: block; width: 114px; height: 114px; margin: 0 auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .18)); }
.app-guide-hero-mark span { display: block; margin-top: 9px; color: #c9d9ff; font-size: 11px; letter-spacing: .1em; }
.app-guide-statusbar {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid #dce7f7;
    border-radius: 11px;
    background: #f7faff;
    color: #4b6483;
    font-size: 13px;
    line-height: 1.6;
}
.app-guide-status-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; box-shadow: 0 0 0 4px rgba(148, 163, 184, .12); }
.app-guide[data-app-state="installed"] .app-guide-statusbar { border-color: #bfe8d8; background: #f1fbf7; color: #087a55; }
.app-guide[data-app-state="installed"] .app-guide-status-dot { background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .12); }
.app-guide[data-app-state="notice"] .app-guide-statusbar { border-color: #fde3b6; background: #fffaf0; color: #9a5b08; }
.app-guide[data-app-state="notice"] .app-guide-status-dot { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .12); }
.app-guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.app-guide-actions .btn { min-height: 40px; }
.app-guide-actions [hidden] { display: none !important; }
.app-guide-copy-msg { color: #0f9f6e; font-size: 12px; }
.app-guide-copy-msg.is-error { color: #dc2626; }
.app-guide-report-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: -4px; color: #8a9bb0; font-size: 12px; }
.app-guide-report-row[hidden] { display: none; }
.app-guide-report {
    padding: 5px 9px;
    border: 1px dashed #cfe0fb;
    border-radius: 7px;
    background: #f8fbff;
    color: #2563eb;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.app-guide-report:hover { background: #eef5ff; }
.app-guide-report:disabled { cursor: default; color: #0f9f6e; border-color: #bfe8d8; background: #f1fbf7; }
.app-guide-wechat {
    padding: 12px 14px;
    border: 1px solid #fde3b6;
    border-radius: 11px;
    background: #fffaf0;
    color: #8a570d;
    font-size: 13px;
    line-height: 1.7;
}
.app-guide-wechat[hidden] { display: none; }
.app-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.app-guide-card {
    position: relative;
    padding: 18px 18px 16px;
    border: 1px solid #e5ecf6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .025);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.app-guide-card.is-current {
    border-color: #b9cdf5;
    box-shadow: 0 8px 24px rgba(30, 64, 175, .09);
}
.app-guide-card.is-current::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #1e40af, #60a5fa);
}
.app-guide-card-head { display: flex; align-items: center; gap: 10px; padding-right: 4px; }
.app-guide-device {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 10px;
    background: #eef4ff;
    color: #1e40af;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}
.app-guide-device.is-harmony { background: #fff2ec; color: #c2410c; }
.app-guide-device.is-desktop { background: #f2f5f9; color: #475569; }
.app-guide-card h3 { margin: 0; color: #10233f; font-size: 16px; line-height: 1.4; }
.app-guide-card-head p { margin: 2px 0 0; color: #8aa0bb; font-size: 11px; line-height: 1.5; }
.app-guide-badge {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 3px 7px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
}
.app-guide-badge[hidden] { display: none; }
.app-guide-steps { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.app-guide-steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: start; }
.app-guide-steps li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid #d7e3f5;
    border-radius: 50%;
    background: #f6f9fe;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
}
.app-guide-steps p { margin: 0; color: #536b86; font-size: 13px; line-height: 1.75; }
.app-guide-steps strong { color: #10233f; font-weight: 700; }
.app-guide-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed #e4ebf5; color: #8a9bb0; font-size: 11.5px; line-height: 1.65; }
.app-guide-foot {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 13px 15px;
    border-radius: 11px;
    background: #f7f9fc;
    color: #7b8fa8;
    font-size: 12px;
    line-height: 1.7;
}
.app-guide-foot svg { flex: 0 0 auto; margin-top: 2px; color: #8aa0bb; }
@media (max-width: 720px) {
    .app-guide { margin-top: 16px; gap: 12px; }
    .app-guide-hero { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px 20px; border-radius: 14px; }
    .app-guide-hero h2 { font-size: 22px; }
    .app-guide-hero p { font-size: 13px; line-height: 1.8; }
    .app-guide-hero-mark { display: none; }
    .app-guide-pills { margin-top: 14px; gap: 6px; }
    .app-guide-pills span { font-size: 11px; padding: 5px 8px; }
    .app-guide-statusbar { font-size: 12px; padding: 10px 12px; }
    .app-guide-grid { grid-template-columns: 1fr; gap: 10px; }
    .app-guide-card { padding: 16px 14px 14px; border-radius: 12px; }
    .app-guide-card.is-current::before { left: 14px; right: 14px; }
    .app-guide-card h3 { font-size: 15px; }
    .app-guide-steps { gap: 9px; }
    .app-guide-steps p { font-size: 12.5px; }
}

/* v1.12.147 关于我们：多账号关注模块（主账号大码 + 副账号紧凑列表） */
#follow { scroll-margin-top: 92px; }
.about-follow { padding: 22px 18px 18px; }
.about-follow-head { text-align: center; padding-bottom: 14px; border-bottom: 1px solid #edf2f9; }
.about-follow-head .panel-title { justify-content: center; margin: 0 0 4px; }
.about-follow-sub { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.about-follow-primary { padding: 16px 0 2px; text-align: center; }
.about-follow-qr { display: inline-flex; width: 156px; height: 156px; padding: 7px; border: 1px solid #e3eaf6; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(18, 43, 82, .08); }
.about-follow-qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.about-follow-primary-main { padding-top: 12px; }
.about-follow-type { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; margin-bottom: 7px; border-radius: 999px; background: #eef4ff; color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.about-follow-type.is-small { min-height: 19px; padding: 0 6px; margin: 0 0 4px; font-size: 10px; }
.about-follow-name { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.4; font-weight: 700; word-break: break-word; }
.about-follow-desc { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.about-follow-account { display: flex; align-items: center; gap: 7px; margin-top: 11px; padding: 7px 8px; border: 1px solid #e8eef8; border-radius: 9px; background: #f8fbff; text-align: left; }
.about-follow-account-label { flex: none; color: #7b8aa3; font-size: 11px; }
.about-follow-account-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.about-follow-copy { flex: none; padding: 4px 9px; border: 1px solid #cfe0fb; border-radius: 7px; background: #fff; color: #2563eb; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.about-follow-copy:hover { background: #eef5ff; }
.about-follow-copy.is-small { padding: 4px 8px; }
.about-follow-list { margin-top: 16px; border-top: 1px solid #edf2f9; }
.about-follow-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f4f9; }
.about-follow-row.no-qr { grid-template-columns: minmax(0, 1fr) auto; }
.about-follow-thumb { display: inline-flex; width: 48px; height: 48px; padding: 3px; border: 1px solid #e3eaf6; border-radius: 9px; background: #fff; }
.about-follow-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.about-follow-row-main { min-width: 0; text-align: left; }
.about-follow-row-name { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.4; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.about-follow-row-desc { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.about-follow-row-account { margin: 3px 0 0; color: #7b8aa3; font-size: 11px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.about-follow-row-account span { color: var(--ink-2); font-weight: 600; }
.about-follow-tip { margin: 14px 0 0; color: #8a98ad; font-size: 11px; line-height: 1.65; text-align: center; }

.about-qr-modal[hidden] { display: none !important; }
.about-qr-modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(9, 22, 43, .58); backdrop-filter: blur(4px); }
.about-qr-modal-card { position: relative; width: min(300px, 100%); padding: 22px 20px 18px; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(6, 20, 42, .32); text-align: center; }
.about-qr-modal-card img { display: block; width: 100%; max-width: 236px; height: auto; margin: 0 auto; border-radius: 10px; }
.about-qr-modal-close { position: absolute; top: 8px; right: 9px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f2f6fc; color: #60708a; font-size: 19px; line-height: 1; cursor: pointer; }
.about-qr-modal-title { margin: 12px 0 4px; color: var(--ink); font-size: 15px; font-weight: 700; }
.about-qr-modal-tip { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

@media (max-width: 980px) {
    .about-follow { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .about-follow { padding: 20px 16px 16px; }
    .about-follow-qr { width: 140px; height: 140px; }
    .about-follow-name { font-size: 15px; }
}

/* v1.12.148 关于我们：关注卡改为紧凑横排；多账号列表只保留必要信息 */
.about-follow { padding: 18px 18px 14px; }
.about-follow-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 0;
    border-bottom: 0;
    text-align: left;
}
.about-follow-head .panel-title {
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: .01em;
}
.about-follow-sub {
    flex: none;
    margin: 0;
    color: #94a3b8;
    font-size: 10.5px;
    line-height: 1.4;
    white-space: nowrap;
}
.about-follow-primary {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 0 13px;
    text-align: left;
}
.about-follow-primary.no-qr { grid-template-columns: minmax(0, 1fr); }
.about-follow-qr {
    width: 100px;
    height: 100px;
    padding: 6px;
    border: 1px solid #e4ebf6;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}
.about-follow-qr img { border-radius: 8px; }
.about-follow-primary-main { min-width: 0; padding-top: 0; }
.about-follow-type {
    display: inline-flex;
    align-items: center;
    min-height: 17px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: none;
    color: #2563eb;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .03em;
}
.about-follow-type.is-small {
    min-height: 16px;
    padding: 0;
    margin: 0;
    font-size: 10px;
}
.about-follow-name {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    word-break: break-word;
}
.about-follow-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.55;
}
.about-follow-account {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-top: 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    text-align: left;
}
.about-follow-account-label { flex: none; color: #94a3b8; font-size: 10.5px; }
.about-follow-account-value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #334155;
    font-size: 11.5px;
    font-weight: 700;
}
.about-follow-copy {
    flex: none;
    min-width: 30px;
    height: 24px;
    padding: 0 6px;
    border: 0;
    border-radius: 6px;
    background: #eff4ff;
    color: #2563eb;
    font: inherit;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
    cursor: pointer;
}
.about-follow-copy:hover { background: #e3edff; }
.about-follow-copy.is-small { height: 22px; padding: 0 5px; font-size: 10px; line-height: 22px; }
.about-follow-list { margin-top: 1px; border-top: 1px solid #edf2f9; }
.about-follow-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5fa;
}
.about-follow-row.no-qr { grid-template-columns: minmax(0, 1fr) auto; }
.about-follow-row:last-child { border-bottom: 0; padding-bottom: 6px; }
.about-follow-thumb {
    display: inline-flex;
    width: 32px;
    height: 32px;
    padding: 3px;
    border: 1px solid #e4ebf6;
    border-radius: 8px;
    background: #fff;
}
.about-follow-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
.about-follow-row-main { min-width: 0; text-align: left; }
.about-follow-row-title { display: flex; align-items: center; gap: 5px; min-width: 0; }
.about-follow-row-name {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}
.about-follow-row-account {
    margin: 1px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #94a3b8;
    font-size: 10.5px;
    line-height: 1.35;
}
.about-follow-row-account span { color: #475569; font-weight: 600; }
.about-follow-tip {
    margin: 9px 0 0;
    padding-top: 9px;
    border-top: 1px solid #f1f5fa;
    color: #94a3b8;
    font-size: 10.5px;
    line-height: 1.5;
    text-align: left;
}
@media (max-width: 980px) {
    .about-follow { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .about-follow { padding: 16px 16px 13px; }
    .about-follow-head .panel-title { font-size: 15px; }
    .about-follow-sub { font-size: 10px; }
    .about-follow-primary { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 13px 0 12px; }
    .about-follow-qr { width: 88px; height: 88px; }
    .about-follow-name { font-size: 14px; }
    .about-follow-desc { font-size: 11px; }
    .about-follow-tip { font-size: 10px; }
}

/* v1.12.150 关于我们：取消主副账号大小差异，所有账号统一 100px 二维码横排 */
.about-follow-list { margin-top: 2px; border-top: 0; }
.about-follow-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5fa;
}
.about-follow-item.no-qr { grid-template-columns: minmax(0, 1fr); }
.about-follow-item:first-child { padding-top: 14px; }
.about-follow-item:last-child { border-bottom: 0; padding-bottom: 6px; }
@media (max-width: 640px) {
    .about-follow-item { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 11px 0; }
    .about-follow-item.no-qr { grid-template-columns: minmax(0, 1fr); }
}

/* v1.12.151 课程详情：PC 左栏悬浮咨询条 + 手机底部紧凑操作条 */
.course-rail { display: none; }
@media (min-width: 861px) {
    .course-rail {
        display: flex;
        position: fixed;
        top: 0;
        z-index: 24;
        width: 52px;
        padding: 5px 0;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        border: 1px solid rgba(203, 211, 224, .68);
        border-radius: 16px;
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 10px 28px rgba(15, 40, 80, .10);
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        transition: none;
    }
    .course-rail.is-icon-only { width: 44px; }
    .course-rail.is-visible {
        visibility: visible;
        pointer-events: auto;
    }
    .course-rail-consult {
        width: 50px;
        min-height: 44px;
        padding: 3px 0;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: #1d4ed8;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        font: 600 11.5px/1.18 "PingFang SC", "Microsoft YaHei", sans-serif;
        cursor: pointer;
        transition: background .16s ease;
    }
    .course-rail-consult:hover,
    .course-rail-consult:focus-visible { background: rgba(239, 246, 255, .76); outline: 0; }
    .course-rail-consult.is-icon {
        width: 42px;
        min-height: 40px;
        border-radius: 11px;
    }
    .course-rail-share {
        width: 44px;
        min-height: 32px;
        padding: 3px 0;
        border: 0;
        border-radius: 9px;
        background: rgba(244, 248, 255, .62);
        color: #64748b;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font: 500 10px/1.18 "PingFang SC", "Microsoft YaHei", sans-serif;
        cursor: pointer;
        transition: background .16s ease;
    }
    .course-rail-share:hover,
    .course-rail-share:focus-visible { background: rgba(235, 243, 255, .82); outline: 0; }
    .course-rail-share.has-label { min-height: 34px; }
    .course-rail-share.is-icon {
        width: 32px;
        min-height: 32px;
        border-radius: 50%;
        padding: 0;
    }
    .course-rail-label {
        display: block;
        width: 27px;
        max-height: 30px;
        overflow: hidden;
        white-space: normal;
        word-break: break-all;
        line-height: 1.18;
        text-align: center;
    }
    .course-rail-share .course-rail-label {
        width: 42px;
        max-height: none;
        white-space: nowrap;
        word-break: normal;
        text-overflow: ellipsis;
    }
    .course-rail-sep {
        width: 22px;
        height: 1px;
        background: rgba(219, 231, 247, .78);
    }
}

@media (max-width: 860px) {
    .detail-sticky {
        width: max-content;
        max-width: calc(100% - 24px);
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        padding: 4px;
        gap: 2px;
        border-radius: 14px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .88);
        border-color: rgba(207, 223, 247, .68);
        box-shadow: 0 6px 18px rgba(15, 40, 80, .10);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
        transform: none;
    }
    .detail-sticky.is-visible {
        visibility: visible;
        pointer-events: auto;
    }
    .detail-sticky .segmented-action {
        flex: 0 0 auto;
        height: 38px;
        padding: 0 11px;
        gap: 5px;
        border-right: 0;
        border-radius: 10px;
        font-size: 12px;
    }
    .detail-sticky .segmented-consult {
        background: rgba(239, 246, 255, .78);
        color: #1d4ed8;
    }
    .detail-sticky .segmented-consult .ic { color: #1d4ed8; }
    .detail-sticky .segmented-share {
        height: 34px;
        padding: 0 9px;
        border-radius: 9px;
        background: rgba(248, 251, 255, .62);
        color: #64748b;
        font-size: 11px;
    }
    .detail-sticky .segmented-share .ic { color: #64748b; }
    .detail-sticky .segmented-consult.is-icon { width: 38px; padding: 0; }
    .detail-sticky .segmented-share.is-icon { width: 32px; padding: 0; border-radius: 50%; }
    .detail-sticky .detail-action-label {
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}


/* v1.12.153 表格垂直对齐与正文默认节奏 */
.rich-content table.is-valign-middle th,
.rich-content table.is-valign-middle td,
.article-content table.is-valign-middle th,
.article-content table.is-valign-middle td { vertical-align: middle; }
.rich-content table.is-valign-top th,
.rich-content table.is-valign-top td,
.article-content table.is-valign-top th,
.article-content table.is-valign-top td { vertical-align: top; }
.rich-content table.is-valign-bottom th,
.rich-content table.is-valign-bottom td,
.article-content table.is-valign-bottom th,
.article-content table.is-valign-bottom td { vertical-align: bottom; }

/* v1.12.155 前台保留后台拖动的列宽 */
.rich-content table.is-fixed, .article-content table.is-fixed { table-layout: fixed; }
@media (max-width: 780px) {
    .rich-content table.is-fixed, .article-content table.is-fixed { table-layout: auto; width: 100% !important; }
    .rich-content table.is-fixed th, .rich-content table.is-fixed td,
    .article-content table.is-fixed th, .article-content table.is-fixed td { width: auto !important; }
}
