/* 内页采用钢蓝观察手册视觉，仅依赖主样式提供的颜色与字体变量。 */
:where(.j-strip, .j-layout, .j-demo-body, .j-404) {
    color: var(--j-text);
    font-family: var(--j-sans);
    line-height: 1.75;
    overflow-wrap: anywhere;
}
:where(.j-layout, .j-demo-body, .j-404) :where(a, button, input):focus-visible,
:where(.j-newsitem-link, .j-tagchip, .j-tag-chip, .j-topiclist-link, .page-link):focus-visible,
.j-crumbs a:focus-visible {
    outline: 2px solid var(--j-accent);
    outline-offset: 3px;
}

/* 浅蓝横带将栏目名称与路径分开，避免旧式报纸装饰。 */
.j-strip {
    background: var(--j-soft);
    border-bottom: 1px solid var(--j-line);
}
.j-strip-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 32px;
    align-items: end;
    padding-block: 28px 30px;
}
.j-strip-issue {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--j-text-2);
    font-size: 12px;
    letter-spacing: .08em;
}
.j-strip-title {
    min-width: 0;
    margin: 0;
    color: var(--j-ink);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .025em;
}
.j-crumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 9px;
    min-width: 0;
    padding-bottom: 4px;
    color: var(--j-text-2);
    font-size: 13px;
}
.j-crumbs > * { min-width: 0; }
.j-crumbs a { color: var(--j-accent); text-decoration: none; }
.j-crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.j-crumbs em { color: var(--j-text-2); font-style: normal; }
.j-crumbs [aria-current] { color: var(--j-ink-2); }

/* 显式区域保证侧栏无论源码顺序如何，桌面均在右侧。 */
.j-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 272px);
    grid-template-areas: "main sidebar";
    gap: 28px;
    align-items: start;
    margin-block: 32px 64px;
}
.j-layout > .j-content-main { grid-area: main; }
.j-layout > .j-sidebar { grid-area: sidebar; }
.j-layout > .j-content-main:only-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 960px;
    justify-self: center;
}
.j-content-main {
    min-width: 0;
    padding: 28px;
    background: var(--j-surface);
    border: 1px solid var(--j-line);
    border-radius: 8px;
}
.j-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-width: 0;
    font-size: 14px;
}
.j-widget {
    min-width: 0;
    padding: 20px;
    background: var(--j-paper);
    border: 1px solid var(--j-line);
    border-radius: 6px;
}
.j-widget-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin: 0 0 16px;
    color: var(--j-ink);
    font-size: 18px;
    line-height: 1.6;
}
.j-widget-title small, .j-related-head small {
    color: var(--j-text-2);
    font-size: 12px;
    font-weight: 400;
}
.j-widget-tip { margin: -4px 0 18px; color: var(--j-text-2); font-size: 14px; }
.j-widget-cats, .j-widget-subcats, .j-widget-list, .j-topiclist {
    margin: 0;
    padding: 0;
    list-style: none;
}
.j-widget-cats > li + li { margin-top: 4px; }
.j-widget-cats a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 4px;
    color: var(--j-ink-2);
    text-decoration: none;
    line-height: 1.6;
}
.j-widget-cats a > span { flex-shrink: 0; color: var(--j-accent); }
.j-widget-cats a:hover { background: var(--j-soft); color: var(--j-accent); }
.j-widget-cats li.is-active > a {
    background: var(--j-accent);
    color: var(--j-surface);
    font-weight: 600;
}
.j-widget-cats li.is-active > a > span { color: inherit; }
.j-widget-subcats { margin: 6px 0 10px 12px; padding-left: 8px; border-left: 1px solid var(--j-line); }
.j-widget-subcats a { padding-block: 8px; font-size: 13px; }
.j-widget-list > li, .j-topiclist > li {
    min-width: 0;
    padding-block: 12px;
    border-bottom: 1px solid var(--j-line);
}
.j-widget-list > li:first-child, .j-topiclist > li:first-child { padding-top: 0; }
.j-widget-list > li:last-child, .j-topiclist > li:last-child { padding-bottom: 0; border-bottom: 0; }
.j-widget-list a, .j-topiclist-link {
    display: block;
    min-width: 0;
    color: var(--j-ink-2);
    text-decoration: none;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.j-widget-list a:hover, .j-topiclist-link:hover { color: var(--j-accent); text-decoration: underline; text-underline-offset: 4px; }
.j-widget-list time, .j-topiclist time {
    display: block;
    margin-top: 5px;
    color: var(--j-text-2);
    font-family: var(--j-mono);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}
.j-topiclist { min-width: 0; font-family: var(--j-sans); font-size: 14px; }
.j-sidebar > .j-topiclist { padding: 20px; border: 1px solid var(--j-line); border-radius: 6px; background: var(--j-paper); }
.j-widget-list--wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}
.j-widget-list--wide > li:first-child { padding-top: 12px; }
.j-widget-list--wide > li:last-child { padding-bottom: 12px; border-bottom: 1px solid var(--j-line); }
.j-widget-cta { background: var(--j-soft); border-top: 3px solid var(--j-accent-bright); }
.j-widget-cta h2 { margin: 0 0 10px; color: var(--j-ink); font-size: 18px; line-height: 1.6; }
.j-widget-cta p { margin: 0 0 18px; color: var(--j-text-2); }
.j-widget-cta .j-btn { max-width: 100%; white-space: normal; }

/* 共享资讯区块：文字居左，右侧小图，不沿用报纸式首字下沉。 */
.j-post-list { min-width: 0; }
.j-newsitem {
    min-width: 0;
    font-family: var(--j-sans);
    overflow-wrap: anywhere;
    border-bottom: 1px solid var(--j-line);
}
.j-newsitem:last-child { border-bottom: 0; }
.j-newsitem-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 168px);
    grid-template-areas: "body media";
    align-items: start;
    gap: 22px;
    min-width: 0;
    padding-block: 22px;
    color: var(--j-text);
    text-decoration: none;
}
.j-newsitem:first-child .j-newsitem-link { padding-top: 0; }
.j-newsitem:last-child .j-newsitem-link { padding-bottom: 0; }
.j-newsitem-body { grid-area: body; min-width: 0; }
.j-newsitem-media {
    grid-area: media;
    min-width: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--j-soft);
    border-radius: 5px;
}
.j-newsitem-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.j-newsitem-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0 0 8px;
    color: var(--j-ink);
    font-size: 20px;
    font-weight: 650;
    line-height: 1.6;
}
.j-newsitem-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0 0 10px;
    color: var(--j-text-2);
    font-size: 14px;
    line-height: 1.8;
}
.j-newsitem-desc:empty { display: none; }
.j-newsitem-meta { margin: 0; color: var(--j-text-2); font-family: var(--j-mono); font-size: 11px; line-height: 1.6; }
.j-newsitem-link:hover .j-newsitem-title { color: var(--j-accent); text-decoration: underline; text-underline-offset: 4px; }
.j-newsitem-link:focus-visible { border-radius: 4px; }

/* 标签同时适配区块标签与页面筛选标签，超长中文及网址均能换行。 */
.j-tag-cloud, .j-tag-filter, .j-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    min-width: 0;
}
.j-tagchip, .j-tag-chip, .j-article-tags > a {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
    max-width: 100%;
    padding: 7px 11px;
    border: 1px solid var(--j-line);
    border-radius: 4px;
    background: var(--j-surface);
    color: var(--j-accent);
    font-family: var(--j-sans);
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}
.j-tagchip > i, .j-tag-chip > i {
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    align-self: center;
    background: var(--j-accent-bright);
    border-radius: 50%;
}
.j-tagchip > em { min-width: 0; color: var(--j-text-2); font-family: var(--j-mono); font-size: 11px; font-style: normal; }
.j-tagchip > em:empty { display: none; }
.j-tagchip:hover, .j-tag-chip:hover, .j-article-tags > a:hover { background: var(--j-soft); border-color: var(--j-accent); }
.j-tagchip.is-active, .j-tag-chip.is-active, .j-tag-chip[aria-current="page"] {
    background: var(--j-accent);
    border-color: var(--j-accent);
    color: var(--j-surface);
}
.j-tagchip.is-active > em { color: inherit; }
.j-tag-filter { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--j-line); }
.j-content-main > .j-tag-panel { margin: 0; padding: 0; border: 0; background: none; }
.j-list-head { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--j-line); }
.j-list-head h2 { margin: 0 0 6px; color: var(--j-ink); font-size: 23px; line-height: 1.6; }
.j-list-head p { margin: 0; color: var(--j-text-2); font-size: 14px; }
.j-related, .j-tag-latest, .j-search-suggest, .j-search-latest, .j-so-section { min-width: 0; margin-top: 32px; }
.j-related-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px 20px;
    margin-bottom: 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--j-line);
}
.j-related-head h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; color: var(--j-ink); font-size: 21px; line-height: 1.6; }
.j-related-head > * { min-width: 0; }
.j-related-head > a { color: var(--j-accent); font-size: 13px; text-decoration: none; }
.j-related-head > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.j-related-head > p { margin: 0; color: var(--j-text-2); font-size: 13px; }

/* 独立详情面板最大九百六十像素，正文采用双倍行距。 */
.j-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--j-line);
    color: var(--j-text-2);
    font-size: 13px;
}
.j-author i { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--j-accent-bright); }
.j-author span { min-width: 0; }
.j-author a { margin-left: auto; color: var(--j-accent); text-decoration: none; }
.j-author a:hover { text-decoration: underline; text-underline-offset: 4px; }
.j-article-head { margin-bottom: 28px; }
.j-article-cat { display: inline-block; max-width: 100%; padding: 4px 10px; background: var(--j-soft); border-radius: 3px; color: var(--j-accent); font-size: 13px; text-decoration: none; }
.j-article-cat:hover { background: var(--j-accent); color: var(--j-surface); }
.j-article-title { margin: 16px 0; color: var(--j-ink); font-size: clamp(25px, 3vw, 38px); font-weight: 700; line-height: 1.5; }
.j-article-meta { display: flex; flex-wrap: wrap; gap: 5px 18px; color: var(--j-text-2); font-size: 12px; }
.j-article-meta > span { min-width: 0; }
.j-article-meta em { font-style: normal; }
.j-article-meta time { font-variant-numeric: tabular-nums; }
.j-article-abstract { margin: 22px 0 0; padding: 18px 20px; border-left: 3px solid var(--j-accent-bright); background: var(--j-paper); color: var(--j-text-2); font-size: 15px; line-height: 2; }
.j-article-content {
    width: 100%;
    max-width: 960px;
    min-width: 0;
    margin-inline: auto;
    color: var(--j-text);
    font-family: var(--j-sans);
    font-size: 17px;
    line-height: 2;
    overflow-wrap: anywhere;
}
.j-article-content :where(*) { min-width: 0; max-width: 100%; }
.j-article-content > :first-child { margin-top: 0; }
.j-article-content > :last-child { margin-bottom: 0; }
.j-article-content p { margin: 0 0 1.35em; }
.j-article-content :where(h1, h2, h3, h4, h5, h6) { margin: 1.6em 0 .7em; color: var(--j-ink); font-family: var(--j-sans); font-weight: 650; line-height: 1.6; }
.j-article-content h1 { font-size: 30px; }
.j-article-content h2 { font-size: 25px; }
.j-article-content h3 { font-size: 21px; }
.j-article-content :where(h4, h5, h6) { font-size: 18px; }
.j-article-content a { color: var(--j-accent); text-decoration: underline; text-underline-offset: 4px; }
.j-article-content a:hover { color: var(--j-accent-deep); }
.j-article-content :where(ul, ol) { margin: 0 0 1.35em; padding-left: 1.5em; }
.j-article-content ul { list-style: disc; }
.j-article-content ol { list-style: decimal; }
.j-article-content li { margin-block: .35em; }
.j-article-content li::marker { color: var(--j-accent); }
.j-article-content blockquote { margin: 26px 0; padding: 18px 22px; background: var(--j-soft); border-left: 3px solid var(--j-accent); color: var(--j-ink-2); }
.j-article-content blockquote > :last-child { margin-bottom: 0; }
.j-article-content figure { margin: 28px 0; }
.j-article-content img { display: block; max-width: 100% !important; height: auto !important; margin-inline: auto; border-radius: 4px; }
.j-article-content figcaption { margin-top: 9px; color: var(--j-text-2); font-size: 13px; text-align: center; }
.j-article-content :where(video, audio, iframe, embed, object) { max-width: 100%; }
.j-article-content video { height: auto; }
.j-article-content iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.j-article-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; margin: 24px 0; border-collapse: collapse; font-size: 14px; }
.j-article-content :where(th, td) { padding: 10px 14px; border: 1px solid var(--j-line); text-align: left; vertical-align: top; }
.j-article-content th { background: var(--j-soft); color: var(--j-ink-2); font-weight: 600; }
.j-article-content tbody tr:nth-child(even) { background: var(--j-paper); }
.j-article-content pre { max-width: 100%; overflow: auto; margin: 24px 0; padding: 18px; background: var(--j-paper); border: 1px solid var(--j-line); border-radius: 4px; font-size: 14px; line-height: 1.8; white-space: pre; }
.j-article-content code { padding: 2px 5px; border-radius: 3px; background: var(--j-soft); font-family: var(--j-mono); font-size: .88em; }
.j-article-content pre code { padding: 0; background: none; font-size: inherit; white-space: inherit; }
.j-article-content hr { margin: 30px 0; border: 0; border-top: 1px solid var(--j-line); }
.j-article-content :where(strong, b) { color: var(--j-ink); font-weight: 650; }
.j-article-content mark { background: var(--j-soft); color: var(--j-accent-deep); }
.j-article-tags { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--j-line); font-size: 13px; }
.j-article-tags > span { color: var(--j-text-2); }
.j-article-neighbor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.j-neighbor-item { min-width: 0; padding: 17px 18px; border: 1px solid var(--j-line); border-radius: 5px; color: var(--j-ink-2); text-decoration: none; }
.j-neighbor-item span { display: block; margin-bottom: 7px; color: var(--j-text-2); font-size: 12px; }
.j-neighbor-item strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.8; }
.j-neighbor-item:hover { background: var(--j-paper); border-color: var(--j-accent); }
.j-neighbor-item--next { text-align: right; }

/* 单页服务介绍与行动区，仅局部组合已有按钮。 */
.j-single-article { min-width: 0; }
.j-single-lead { color: var(--j-ink-2); font-size: 19px; }
.j-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.j-feature { min-width: 0; padding: 20px; background: var(--j-paper); border: 1px solid var(--j-line); border-radius: 5px; }
.j-feature h3 { margin: 0 0 10px; font-size: 18px; }
.j-feature p { margin: 0; color: var(--j-text-2); font-size: 14px; }
.j-check-list, .j-article-content .j-check-list { margin: 20px 0; padding: 0; list-style: none; }
.j-check-list li { position: relative; margin: 0; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--j-line); }
.j-check-list li::before { position: absolute; top: 1.1em; left: 2px; width: 6px; height: 6px; border: 2px solid var(--j-accent); content: ""; }
.j-single-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; padding: 24px; background: var(--j-soft); border-radius: 6px; }
.j-single-cta-text { flex: 1 1 280px; min-width: 0; }
.j-single-cta h2 { margin: 0 0 10px; color: var(--j-ink); font-size: 21px; line-height: 1.6; }
.j-single-cta p { margin: 0; color: var(--j-text-2); font-size: 14px; }
.j-single-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.j-single-cta-actions .j-btn { max-width: 100%; white-space: normal; }

/* 图集主图保留完整画幅，缩略图以钢蓝描边标记当前页。 */
.j-gallery-stage { margin: 0; overflow: hidden; background: var(--j-paper); border: 1px solid var(--j-line); border-radius: 6px; }
.j-gallery-stage > a { display: block; min-width: 0; padding: 12px; }
.j-gallery-stage img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; }
.j-gallery-stage figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; background: var(--j-surface); border-top: 1px solid var(--j-line); }
.j-gallery-counter { color: var(--j-accent); font-family: var(--j-mono); font-size: 13px; font-weight: 600; }
.j-gallery-tip { color: var(--j-text-2); font-size: 12px; }
.j-gallery-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.j-gallery-thumb { position: relative; display: block; min-width: 0; padding: 3px; border: 2px solid transparent; border-radius: 4px; background: var(--j-paper); text-decoration: none; }
.j-gallery-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.j-gallery-thumb span { position: absolute; right: 5px; bottom: 5px; max-width: calc(100% - 10px); padding: 1px 6px; border-radius: 2px; background: var(--j-surface); color: var(--j-ink-2); font-family: var(--j-mono); font-size: 11px; line-height: 1.6; }
.j-gallery-thumb:hover { border-color: var(--j-accent-bright); }
.j-gallery-thumb.is-active, .j-gallery-thumb[aria-current="page"] { border-color: var(--j-accent); background: var(--j-soft); }
.j-gallery-thumb.is-active span, .j-gallery-thumb[aria-current="page"] span { background: var(--j-accent); color: var(--j-surface); }
.j-gallery-desc { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--j-line); }

/* 兼容系统两种分页结构，激活为实色，禁用为灰底而非激活色。 */
.j-pagination-wrap { min-width: 0; margin-top: 28px; }
.pagination, .j-pagination, .j-article-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--j-sans);
    line-height: 1.5;
}
.j-article-pages { margin-top: 28px; }
:where(.pagination, .j-pagination) > li, .page-item { min-width: 0; max-width: 100%; margin: 0; padding: 0; list-style: none; }
.page-link, :where(.pagination, .j-pagination) > li > :is(a, span), .j-article-pages > :is(a, span) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--j-line);
    border-radius: 4px;
    background: var(--j-surface);
    color: var(--j-accent);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}
.page-link:hover, :where(.pagination, .j-pagination) > li > a:hover, .j-article-pages > a:hover { border-color: var(--j-accent); background: var(--j-soft); color: var(--j-accent-deep); }
:where(.pagination, .j-pagination) > li.active > :is(a, span),
.page-item.active > .page-link, .page-link[aria-current="page"],
.j-article-pages > :is(.active, .current, [aria-current="page"]) {
    border-color: var(--j-accent);
    background: var(--j-accent);
    color: var(--j-surface);
    font-weight: 600;
    cursor: default;
}
:where(.pagination, .j-pagination) > li.disabled, .page-item.disabled { cursor: not-allowed; }
:where(.pagination, .j-pagination) > li.disabled > :is(a, span),
.page-item.disabled > .page-link, .page-link[aria-disabled="true"],
.j-article-pages > :is(.disabled, [aria-disabled="true"]) {
    border-color: var(--j-line);
    background: var(--j-paper);
    color: var(--j-text-2);
    font-weight: 400;
    pointer-events: none;
    cursor: not-allowed;
}
.j-gallery-pagination { padding-top: 20px; border-top: 1px solid var(--j-line); }
.j-gallery-pagination .active > .page-link { box-shadow: inset 0 -3px 0 var(--j-accent-bright); }
.j-gallery-pagination .disabled > .page-link { box-shadow: none; }

/* 搜索输入保持可收缩，窄屏按钮独占一行。 */
.j-content-main > .j-search-panel { margin-bottom: 28px; background: var(--j-soft); }
.j-search-form, .j-404-search { display: flex; align-items: stretch; gap: 10px; min-width: 0; }
.j-search-form input, .j-404-search input {
    flex: 1 1 0%;
    width: 0;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--j-line);
    border-radius: 4px;
    background: var(--j-surface);
    color: var(--j-ink);
    font-size: 16px;
    line-height: 1.5;
}
.j-search-form input::placeholder, .j-404-search input::placeholder { color: var(--j-text-2); opacity: 1; }
.j-search-form input:focus, .j-404-search input:focus { border-color: var(--j-accent); }
.j-search-form .j-btn { flex-shrink: 0; max-width: 100%; white-space: normal; }
.j-search-hint { margin: 12px 0 0; color: var(--j-text-2); font-size: 13px; }
.j-so-cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.j-so-cat-card { position: relative; display: block; min-width: 0; padding: 20px 42px 20px 18px; border: 1px solid var(--j-line); border-radius: 5px; background: var(--j-paper); color: var(--j-ink-2); text-decoration: none; }
.j-so-cat-card strong { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 600; }
.j-so-cat-card span { display: block; color: var(--j-text-2); font-size: 13px; line-height: 1.8; }
.j-so-cat-card em { position: absolute; top: 20px; right: 16px; color: var(--j-accent); font-style: normal; }
.j-so-cat-card:hover { border-color: var(--j-accent); background: var(--j-soft); }
.j-empty { min-width: 0; padding: 42px 22px; border: 1px dashed var(--j-line); border-radius: 6px; background: var(--j-paper); text-align: center; }
.j-empty strong { display: block; margin-bottom: 10px; color: var(--j-ink); font-size: 21px; line-height: 1.6; }
.j-empty p { max-width: 520px; margin: 0 auto 20px; color: var(--j-text-2); font-size: 14px; }
.j-empty .j-btn { max-width: 100%; white-space: normal; }

/* 示例页所有业务、数据与品牌组合均限制在示例容器内。 */
.j-demo-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-block: 32px 64px; }
.j-demo-section { min-width: 0; padding: 30px; border: 1px solid var(--j-line); border-radius: 8px; background: var(--j-surface); }
.j-demo-section > :first-child { margin-top: 0; }
.j-demo-section > :last-child { margin-bottom: 0; }
.j-demo-section :where(h2, h3, h4, h5, h6) { margin: 22px 0 12px; color: var(--j-ink); line-height: 1.6; }
.j-demo-section h2 { font-size: 25px; }
.j-demo-section h3 { font-size: 21px; }
.j-demo-section h4 { font-size: 18px; }
.j-demo-section :where(h5, h6) { font-size: 16px; }
.j-demo-section p { margin: 0 0 20px; font-size: 16px; line-height: 2; }
.j-demo-row { display: flex; flex-wrap: wrap; gap: 12px; }
.j-demo-row .j-btn { max-width: 100%; white-space: normal; }
.j-demo-figure { margin: 24px 0; }
.j-demo-figure img { display: block; width: 100%; height: auto; border-radius: 5px; }
.j-demo-figure figcaption { padding-top: 10px; color: var(--j-text-2); font-size: 13px; }
.j-demo-biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 28px; }
.j-demo-biz .j-biz-media, .j-demo-biz .j-biz-body { min-width: 0; margin: 0; }
.j-demo-biz .j-biz-media img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 5px; }
.j-demo-biz .j-biz-body h3 { margin-top: 0; }
.j-demo-biz .j-biz-body p { margin-bottom: 0; color: var(--j-text-2); }
.j-demo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: 24px; }
.j-demo-stats .j-stat { min-width: 0; padding: 24px 18px; border: 1px solid var(--j-line); border-radius: 5px; background: var(--j-soft); text-align: left; }
.j-demo-stats .j-stat strong { display: block; color: var(--j-accent); font-family: var(--j-mono); font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1.3; }
.j-demo-stats .j-stat i { margin-left: 5px; font-family: var(--j-sans); font-size: 14px; font-style: normal; }
.j-demo-stats .j-stat span { display: block; margin-top: 8px; color: var(--j-text-2); font-size: 14px; }
.j-demo-brand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.j-demo-brand li { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-width: 0; min-height: 78px; padding: 18px; border: 1px solid var(--j-line); border-radius: 4px; color: var(--j-ink-2); font-size: 14px; text-align: center; }

/* 错误页以状态卡与检索区并列，保留真实推荐内容的阅读空间。 */
.j-404 { padding-block: 56px 64px; background: var(--j-paper); }
.j-404-inner {
    display: grid;
    grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
    grid-template-areas: "code title" "code desc" "code search" "code actions" "recommend recommend";
    gap: 20px 44px;
    align-items: start;
}
.j-404-inner > * { min-width: 0; }
.j-404-code { grid-area: code; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; align-self: stretch; margin: 0; padding: 36px 12px; border: 1px solid var(--j-line); border-top: 4px solid var(--j-accent-bright); border-radius: 8px; background: var(--j-soft); color: var(--j-accent); font-family: var(--j-mono); font-size: clamp(80px, 12vw, 160px); font-weight: 700; line-height: 1.1; letter-spacing: -.06em; }
.j-404-title { grid-area: title; margin: 0; color: var(--j-ink); font-size: clamp(25px, 3vw, 36px); line-height: 1.5; }
.j-404-desc { grid-area: desc; margin: 0; max-width: 620px; color: var(--j-text-2); font-size: 15px; line-height: 2; }
.j-404-search { grid-area: search; width: 100%; margin: 0; }
.j-404-search button { flex-shrink: 0; min-height: 48px; padding: 12px 20px; border: 1px solid var(--j-accent); border-radius: 4px; background: var(--j-accent); color: var(--j-surface); font-size: 15px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.j-404-search button:hover { border-color: var(--j-accent-deep); background: var(--j-accent-deep); }
.j-404-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 12px; }
.j-404-actions .j-btn { max-width: 100%; white-space: normal; }
.j-404-recommend { grid-area: recommend; margin-top: 20px; padding: 28px; border: 1px solid var(--j-line); border-radius: 8px; background: var(--j-surface); }
.j-404-recommend h2 { margin: 0 0 18px; color: var(--j-ink); font-size: 21px; }
.j-404-recommend ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.j-404-recommend li { min-width: 0; border-bottom: 1px solid var(--j-line); }
.j-404-recommend a { display: block; padding: 10px 0; color: var(--j-ink-2); font-size: 15px; line-height: 1.8; text-decoration: none; }
.j-404-recommend a:hover { color: var(--j-accent); text-decoration: underline; text-underline-offset: 4px; }

/* 平板宽度：主文在前、侧栏在后，保留完整内容而非隐藏侧栏。 */
@media (max-width: 860px) {
    .j-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "sidebar"; gap: 24px; margin-block: 26px 48px; }
    .j-layout > .j-content-main:only-child { grid-column: 1; }
    .j-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .j-strip-in { gap: 8px 24px; }
    .j-newsitem-link { grid-template-columns: minmax(0, 1fr) minmax(0, 156px); }
    .j-content-main { padding: 24px; }
    .j-gallery-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .j-demo-body { margin-block: 26px 48px; }
    .j-demo-section { padding: 24px; }
    .j-demo-biz { gap: 22px; }
    .j-404 { padding-block: 36px 48px; }
    .j-404-inner { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 18px 26px; }
    .j-404-code { font-size: clamp(70px, 12vw, 105px); }
}

/* 小屏平板：面包屑左对齐，卡片与双栏内容自然折叠。 */
@media (max-width: 640px) {
    .j-strip-in { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 22px; }
    .j-crumbs { justify-content: flex-start; padding-bottom: 0; font-size: 12px; }
    .j-layout { gap: 20px; margin-block: 22px 40px; }
    .j-content-main { padding: 20px; }
    .j-sidebar { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .j-newsitem-link { grid-template-columns: minmax(0, 1fr) minmax(0, 120px); gap: 16px; padding-block: 18px; }
    .j-newsitem-title { font-size: 18px; }
    .j-newsitem-desc { font-size: 13px; }
    .j-widget-list--wide, .j-feature-grid, .j-so-cat-grid, .j-article-neighbor { grid-template-columns: minmax(0, 1fr); }
    .j-neighbor-item--next { text-align: left; }
    .j-author { margin-bottom: 20px; }
    .j-article-content { font-size: 16px; }
    .j-article-content h1 { font-size: 27px; }
    .j-article-content h2 { font-size: 23px; }
    .j-article-content h3 { font-size: 20px; }
    .j-article-abstract { padding: 15px 16px; font-size: 14px; }
    .j-single-lead { font-size: 17px; }
    .j-single-cta { padding: 20px; }
    .j-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .j-gallery-stage > a { padding: 8px; }
    .j-gallery-stage figcaption { padding: 10px 12px; }
    .j-demo-section { padding: 20px; }
    .j-demo-biz { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .j-demo-stats .j-stat { padding: 18px 12px; }
    .j-demo-stats .j-stat strong { font-size: 30px; }
    .j-demo-brand li { padding: 14px 10px; }
    .j-404-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "code" "title" "desc" "search" "actions" "recommend"; gap: 18px; }
    .j-404-code { padding-block: 24px; font-size: 88px; letter-spacing: .02em; }
    .j-404-recommend { margin-top: 10px; padding: 20px; }
    .j-404-recommend ul { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* 手机宽度：不调整全局容器，三百二十像素仍可完整操作。 */
@media (max-width: 480px) {
    .j-layout { margin-block: 18px 32px; gap: 18px; }
    .j-content-main { padding: 16px; border-radius: 6px; }
    .j-strip-title { font-size: 26px; }
    .j-strip-issue { font-size: 11px; letter-spacing: .04em; }
    .j-crumbs { gap: 4px 7px; }
    .j-widget, .j-sidebar > .j-topiclist { padding: 16px; }
    .j-newsitem-link { grid-template-columns: minmax(0, 1fr) minmax(0, 80px); gap: 12px; padding-block: 16px; }
    .j-newsitem-title { -webkit-line-clamp: 3; margin-bottom: 6px; font-size: 16px; }
    .j-newsitem-desc { display: none; }
    .j-newsitem-media { aspect-ratio: 1 / 1; }
    .j-newsitem-meta { font-size: 10px; }
    .j-tag-cloud, .j-tag-filter, .j-article-tags { gap: 7px; }
    .j-tagchip, .j-tag-chip, .j-article-tags > a { padding: 8px 10px; font-size: 12px; }
    .j-list-head h2 { font-size: 20px; }
    .j-related-head h2 { font-size: 19px; }
    .j-related, .j-tag-latest, .j-search-suggest, .j-search-latest, .j-so-section { margin-top: 26px; }
    .j-author { gap: 6px; font-size: 12px; }
    .j-author a { width: 100%; margin-left: 0; }
    .j-article-title { margin-block: 12px; font-size: 25px; }
    .j-article-meta { gap: 5px 12px; font-size: 11px; }
    .j-article-abstract { padding: 14px 12px; }
    .j-article-content blockquote { padding: 14px; }
    .j-article-content pre { padding: 12px; font-size: 12px; }
    .j-article-content :where(th, td) { padding: 8px 10px; }
    .j-neighbor-item { padding: 14px; }
    .j-feature { padding: 16px; }
    .j-single-cta { padding: 16px; gap: 18px; }
    .j-single-cta h2 { font-size: 19px; }
    .j-single-cta-actions, .j-demo-row, .j-404-actions { width: 100%; }
    .j-single-cta-actions .j-btn, .j-demo-row .j-btn, .j-404-actions .j-btn { width: 100%; justify-content: center; }
    .j-search-form, .j-404-search { flex-direction: column; }
    .j-search-form input, .j-404-search input { flex: 0 1 auto; width: 100%; }
    .j-search-form .j-btn, .j-404-search button { width: 100%; min-height: 46px; }
    .j-search-hint { font-size: 12px; }
    .j-gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .j-gallery-tip { width: 100%; }
    .pagination, .j-pagination, .j-article-pages { gap: 6px; }
    .page-link, :where(.pagination, .j-pagination) > li > :is(a, span), .j-article-pages > :is(a, span) { min-width: 38px; min-height: 42px; padding: 8px 10px; font-size: 12px; }
    .j-empty { padding: 28px 14px; }
    .j-empty strong { font-size: 19px; }
    .j-demo-body { gap: 18px; margin-block: 18px 32px; }
    .j-demo-section { padding: 16px; }
    .j-demo-section h2 { font-size: 22px; }
    .j-demo-section h3 { font-size: 19px; }
    .j-demo-stats, .j-demo-brand { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .j-demo-stats .j-stat { padding: 18px; }
    .j-demo-brand li { min-height: 62px; }
    .j-404 { padding-block: 24px 36px; }
    .j-404-title { font-size: 25px; }
    .j-404-desc { font-size: 14px; }
    .j-404-recommend { padding: 16px; }
}
