/* default 主题样式：路径 themes/default/assets/css/theme.css，URL /themes/default/assets/css/theme.css */

:root {
    /*
     * UI/UX Pro Max 对齐要点：
     * - 正文字号 ≥16px、行高 1.5–1.75；长文略增至 --lh-prose。
     * - 间距刻度 8px 基准（--sp-*）；模块纵向节奏用 --site-module-gap。
     * - 布局基调：大留白 + 模块化卡片；色调见下方 slate + 草绿主色。
     */
    --c-bg: #ffffff;
    --c-surface-1: #ffffff;
    --c-surface-2: #ffffff;
    --c-surface-3: #ffffff;
    /* 正文：略加深主色、辅助用实色 slate，避免半透明发灰发糊 */
    --c-text: #0f172a;
    --c-text-muted: #64748b;
    --c-accent: #3d9e28;
    --c-hover: #2d7a1e;
    --c-border: rgba(15, 23, 42, 0.1);
    --fq-yd-green: #3d9e28;
    --fq-yd-green-deep: #2d7a1e;
    --fq-yd-green-hover: #256818;
    --fq-yd-green-soft: #5aad48;
    --fq-yd-green-tint: #e3efd8;
    /* 与下方「悦读文网版式」区块共用，避免重复 :root */
    --yd-green: #3d9e28;
    --yd-green-dark: #2d7a1e;
    /* 渐变：按钮等沿用；主导航条用下方实心色，贴近悦读文网 */
    --yd-nav-bg: linear-gradient(180deg, #4aaf3a 0%, #338a26 100%);
    --yd-nav-main-bg: #348c27;
    --yd-box-border: #e2e8f0;
    --yd-title-bg: #ffffff;
    --fq-yd-subnav-border: rgba(15, 23, 42, 0.12);
    --fq-yd-subnav-hover-bg: var(--fq-yd-green-tint);
    --fq-yd-text: var(--c-text);
    --fq-yd-muted: var(--c-text-muted);
    --fq-yd-link: var(--c-text);
    --fq-yd-link-hover: var(--c-hover);
    --fq-yd-border: var(--c-border);
    --fq-yd-topbar-bg: #ffffff;
    --fq-yd-panel: var(--c-surface-1);
    --fq-yd-page-bg: #ffffff;
    /* 阴影略收、边缘更利落，减少「雾感」 */
    --fq-yd-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.07);
    --fq-yd-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.05);
    --fq-yd-radius: 12px;
    --fq-yd-radius-sm: 8px;
    --fq-yd-transition: 0.2s ease;
    /* 整站内容最大宽度与双栏（略加宽画布，版面更舒展） */
    --fq-min-layout-max: 1420px;
    /* 右侧侧栏固定宽度（双栏/网格均引用此变量） */
    --fq-min-sidebar: 330px;
    /* Spacing scale (modern, consistent) */
    /* DESIGN.md: sub-8px increments for micro-alignment */
    --sp-0_5: 2px;
    --sp-0_75: 3px;
    --sp-1: 4px;
    --sp-1_25: 5px;
    --sp-1_5: 6px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 40px;

    /* 全站「模块级」间距：主栏与侧栏、首页网格、Dedecms 首页块（与双栏 gutter 同一刻度） */
    --site-module-gap: var(--sp-5);
    --fq-min-cols-gap: var(--sp-5);
    --fq-min-home-gap-y: var(--site-module-gap);
    --fq-min-home-gap-x: var(--site-module-gap);
    /* 主内容区上下留白、版心水平内边距（8px 网格） */
    --layout-main-padding-y-start: var(--sp-6);
    --layout-main-padding-y-end: var(--sp-7);
    --layout-page-padding-x: var(--sp-4);
    --layout-page-padding-x-lg: var(--sp-5);
    --layout-page-padding-x-xl: var(--sp-6);
    --layout-panel-padding: var(--sp-5) var(--sp-5) var(--sp-6);

    /* 全站正文字阶（与 dede-home 引用同一套变量） */
    --font-body: 16px;
    --lh-body: 1.6;
    --lh-prose: 1.7;
    --font-small: 14px;
    --lh-small: 1.5;
    --font-caption: 13px;
    --lh-caption: 1.45;
    --font-lg: 1.125rem;
    --lh-lg: 1.5;
    --font-xl: 1.25rem;
    --lh-xl: 1.4;
}

.fq-min-body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: var(--font-body);
    line-height: var(--lh-body);
    letter-spacing: normal;
    color: var(--fq-yd-text);
    background: var(--fq-yd-page-bg);
    -webkit-font-smoothing: antialiased;
}

/* 站点头部（顶栏 + 头部 + 导航）：随滚动吸顶 */
.fq-site-head {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
}

/* 小屏保持正文可读下限（≥16px） */
@media (max-width: 719px) {
    .fq-min-body {
        font-size: max(16px, 1rem);
    }
}

/* 个性皮肤：通过 body 上的 qy-skin--xxx class 更换背景图片与底色 */
.qy-skin--default {
    --fq-yd-page-bg: #ffffff;
}
.qy-skin--green {
    --fq-yd-page-bg: #ffffff;
}
.qy-skin--leaf {
    --fq-yd-page-bg: #ffffff;
}
.qy-skin--purple {
    --fq-yd-page-bg: #ffffff;
}
.qy-skin--sunset {
    --fq-yd-page-bg: #ffffff;
}

/* 皮肤背景：按“参考页”统一为纯白底（不再使用皮肤背景图） */
.fq-min-body.qy-skin--default {
    /* 默认主题：纯白底，无皮肤图 */
    background: #ffffff;
}
.fq-min-body.qy-skin--green {
    background: #ffffff;
}
.fq-min-body.qy-skin--leaf {
    background: #ffffff;
}
.fq-min-body.qy-skin--purple {
    background: #ffffff;
}
.fq-min-body.qy-skin--sunset {
    background: #ffffff;
}

/* 背景统一后，头部保持一致的默认样式（不再因皮肤变透明） */

/* 顶栏「个性皮肤」展开条 */
.qy-skin-bar {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.qy-skin-bar-inner {
    max-width: var(--fq-min-layout-max);
    margin: 0 auto;
    padding: var(--sp-2) var(--layout-page-padding-x);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    box-sizing: border-box;
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
    color: var(--fq-yd-muted);
}
.qy-skin-label {
    margin-right: 4px;
    white-space: nowrap;
}
.qy-skin-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    list-style: none;
    margin: 0;
    padding: 0;
}
.qy-skin-chip {
    border-radius: 999px;
    padding: var(--sp-0_5) var(--sp-2) var(--sp-0_5) var(--sp-0_5);
    border: 1px solid var(--yd-box-border);
    background: #fff;
    cursor: pointer;
    font-size: var(--font-caption);
    line-height: 1.3;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
}
.qy-skin-chip-thumb {
    width: 32px;
    height: 20px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--c-surface-3);
}
.qy-skin-chip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.qy-skin-chip-label {
    white-space: nowrap;
}
.qy-skin-chip.qy-skin-active {
    border-color: var(--yd-green, #3d9e28);
    box-shadow: 0 0 0 1px rgba(61, 158, 40, 0.28);
}
.qy-skin-close {
    margin-left: auto;
    cursor: pointer;
    color: #9ca3af;
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
    white-space: nowrap;
}

a {
    color: var(--fq-yd-link);
    text-decoration: none;
}

a:hover {
    color: var(--fq-yd-link-hover);
    text-decoration: underline;
}

/* 键盘聚焦：明显但不抢眼 */
a:focus-visible,
button:focus-visible,
.fq-min-search-input:focus-visible {
    outline: 2px solid var(--c-hover);
    outline-offset: 2px;
}

.fq-min-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 10px 16px;
    background: var(--c-text);
    color: #fff;
    font-size: 14px;
    border-radius: 0 0 var(--fq-yd-radius-sm) 0;
}

.fq-min-skip:focus {
    left: 0;
    outline: none;
    text-decoration: none;
}

.fq-min-center {
    max-width: var(--fq-min-layout-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--layout-page-padding-x);
    padding-right: var(--layout-page-padding-x);
    box-sizing: border-box;
}

@media (min-width: 1100px) {
    .fq-min-center {
        padding-left: var(--layout-page-padding-x-lg);
        padding-right: var(--layout-page-padding-x-lg);
    }
}

@media (min-width: 1440px) {
    .fq-min-center {
        padding-left: var(--layout-page-padding-x-xl);
        padding-right: var(--layout-page-padding-x-xl);
    }
}

/* 双栏布局见下文 `.fq-min-cols`（flex）；此处不再保留已失效的 grid 定义，避免与 769 行起冲突。 */

/* —— Panels & spacing rhythm —— */
.fq-min-panel {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    box-shadow: var(--fq-yd-shadow-sm);
}

.fq-min-inner {
    padding: var(--sp-5);
}

@media (min-width: 1100px) {
    .fq-min-inner:not(.fq-min-panel--sidebar) {
        padding: var(--sp-6);
    }
}

@media (max-width: 720px) {
    .fq-min-inner {
        padding: var(--sp-4);
    }
}

.fq-min-rule {
    border: 0;
    border-top: 1px solid var(--fq-yd-border);
    margin: var(--sp-4) 0;
}

.fq-min-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--sp-4);
}

.fq-min-list > li h3 {
    margin: 0 0 var(--sp-2);
    font-size: var(--font-body);
    line-height: 1.4;
    font-weight: 600;
    color: var(--c-text);
}

.fq-min-meta {
    color: var(--fq-yd-muted);
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 0 0 var(--sp-2);
}

.fq-min-muted {
    color: var(--fq-yd-muted);
}

/* Sidebar blocks: consistent spacing */
.fq-min-sidebar .yd-side-block,
.fq-min-sidebar .fq-yd-side-promo {
    margin: 0 0 var(--sp-4);
}
.fq-min-sidebar .yd-side-block:last-child,
.fq-min-sidebar .fq-yd-side-promo:last-child {
    margin-bottom: 0;
}

/* Sidebar density: reduce padding for narrow column */
.fq-min-panel--sidebar.fq-min-inner {
    padding: var(--sp-4);
}

@media (max-width: 720px) {
    .fq-min-panel--sidebar.fq-min-inner {
        padding: var(--sp-3);
    }
}

/* Home page layout hook */
.fq-min-home-layout {
    margin-top: var(--site-module-gap);
    margin-bottom: var(--site-module-gap);
}

/* 栏目页左侧：相邻模块间距统一 */
.fq-min-category-layout .fq-min-pleft .fq-min-panel + .fq-min-panel {
    margin-top: var(--site-module-gap);
}

/* Article tags: chips (enhanced by JS when comma-separated) */
.fq-min-tags {
    margin: var(--sp-4) 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--fq-yd-muted);
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
}
.fq-min-tags .fq-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--fq-yd-border);
    background: #f4f7f5;
    color: var(--fq-yd-text);
    text-decoration: none;
}
.fq-min-tags .fq-tag:hover {
    background: var(--fq-yd-green-tint);
    color: var(--fq-yd-green-deep);
    text-decoration: none;
    border-color: #c5ddd0;
}

/* 文章详情：上一篇 / 下一篇（卡片 + 边框奔跑小人，见 article-post-nav.js） */
/* padding-top 预留跑道，避免小人用负 top 伸出容器被 .fq-min-main{overflow:hidden} 裁切 */
.post-nav-container {
    position: relative;
    margin: 18px 0 22px;
    /* 略大于跑道高度，与卡片之间只留少量空隙 */
    padding-top: 36px;
    overflow: visible;
    font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans", sans-serif;
}

.border-runner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
}

.runner-on-border {
    position: absolute;
    top: 0;
    left: 2%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* 弹跳单独做在内层，避免与父级 transform（scaleX 转向）在同一属性上互相覆盖 */
.runner-bounce-layer {
    display: block;
}

.runner-svg {
    display: block;
    width: 32px;
    height: 32px;
}

.border-runner:not(.running) .runner-bounce-layer {
    animation: qy-runner-bounce 0.5s ease-in-out infinite;
}

@keyframes qy-runner-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.border-runner.running .runner-on-border {
    animation: qy-runner-run-horizontal 8s linear infinite;
}

.border-runner.running .runner-bounce-layer {
    animation: qy-runner-bounce-fast 0.25s ease-in-out infinite;
}

@keyframes qy-runner-run-horizontal {
    0% { left: 2%; transform: scaleX(1); }
    23% { left: 92%; transform: scaleX(1); }
    25% { left: 92%; transform: scaleX(-1); }
    27% { left: 90%; transform: scaleX(-1); }
    48% { left: 2%; transform: scaleX(-1); }
    50% { left: 2%; transform: scaleX(1); }
    73% { left: 92%; transform: scaleX(1); }
    75% { left: 92%; transform: scaleX(-1); }
    77% { left: 90%; transform: scaleX(-1); }
    98% { left: 2%; transform: scaleX(-1); }
    100% { left: 2%; transform: scaleX(1); }
}

@keyframes qy-runner-bounce-fast {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.post-nav-container .arm-left {
    animation: qy-runner-swing-arm-left 0.5s ease-in-out infinite;
    transform-origin: 16px 18px;
}

.post-nav-container .arm-right {
    animation: qy-runner-swing-arm-right 0.5s ease-in-out infinite;
    transform-origin: 16px 18px;
}

@keyframes qy-runner-swing-arm-left {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-30deg); }
}

@keyframes qy-runner-swing-arm-right {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(30deg); }
}

.post-nav-container .leg-left {
    animation: qy-runner-swing-leg-left 0.5s ease-in-out infinite;
    transform-origin: 16px 24px;
}

.post-nav-container .leg-right {
    animation: qy-runner-swing-leg-right 0.5s ease-in-out infinite;
    transform-origin: 16px 24px;
}

@keyframes qy-runner-swing-leg-left {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(25deg); }
}

@keyframes qy-runner-swing-leg-right {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-25deg); }
}

.post-nav-container .border-runner.running .arm-left,
.post-nav-container .border-runner.running .arm-right,
.post-nav-container .border-runner.running .leg-left,
.post-nav-container .border-runner.running .leg-right {
    animation-duration: 0.2s;
}

.post-nav-container .track-dust {
    position: absolute;
    bottom: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.28);
    opacity: 0;
    pointer-events: none;
    display: none;
    filter: blur(0.5px);
}

.border-runner.running .track-dust {
    display: block;
}

.post-nav-container .dust-1 {
    left: 15%;
    animation: qy-runner-dust-trail 1s ease-out infinite;
    animation-delay: 0s;
}

.post-nav-container .dust-2 {
    left: 35%;
    animation: qy-runner-dust-trail 1s ease-out infinite;
    animation-delay: 0.33s;
}

.post-nav-container .dust-3 {
    left: 55%;
    animation: qy-runner-dust-trail 1s ease-out infinite;
    animation-delay: 0.66s;
}

@keyframes qy-runner-dust-trail {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
    20% {
        opacity: 0.8;
        transform: translate(-3px, -6px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-8px, -14px) scale(0.7);
    }
}

.post-nav-elegant {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.post-nav-elegant > .nav-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 5.5rem;
    box-sizing: border-box;
}

.nav-card {
    position: relative;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #fafcfd 100%);
    border-radius: 24px;
    padding: 16px 20px;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    cursor: pointer;
    color: inherit;
    display: flex;
    align-items: center;
}

/* 无上一篇/下一篇时的弱化占位（仍占满半幅，避免「空白卡片」误解） */
.nav-card-placeholder {
    cursor: default;
    pointer-events: none;
    background: linear-gradient(135deg, #f8faf9 0%, #f1f5f3 100%);
    border-style: dashed;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: none;
}

.nav-card-placeholder::before {
    display: none;
}

.nav-card-placeholder .nav-badge,
.nav-card-placeholder .nav-title--muted {
    color: #9aa5b1;
}

.nav-card-next.nav-card-placeholder .nav-text {
    align-items: flex-end;
    text-align: right;
}

.nav-card--empty {
    visibility: hidden;
    pointer-events: none;
    cursor: default;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nav-card--empty::before {
    display: none !important;
}

.nav-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.06), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

a.nav-card:hover::before {
    left: 100%;
}

.progress-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #2e7d32;
    transition: width 0.35s ease;
}

a.nav-card:hover .progress-indicator {
    width: 100%;
}

a.nav-card:hover {
    transform: translateY(-3px);
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: 0 16px 28px -12px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(46, 125, 50, 0.12);
    background: #ffffff;
}

.nav-card-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    width: 100%;
    min-width: 0;
}

.nav-card-prev .nav-card-inner {
    justify-content: flex-start;
}

.nav-card-next .nav-card-inner {
    justify-content: flex-end;
}

.nav-icon-wrapper {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf5eb;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #2e7d32;
}

a.nav-card:hover .nav-icon-wrapper {
    background: #2e7d32;
    color: #fff;
    transform: scale(1.02);
}

.nav-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.nav-card-prev:hover .nav-icon {
    transform: translateX(-2px);
}

.nav-card-next:hover .nav-icon {
    transform: translateX(2px);
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 85%;
    min-width: 0;
}

.nav-card-prev .nav-text {
    align-items: flex-start;
}

.nav-card-next .nav-text {
    align-items: flex-end;
    text-align: right;
}

.nav-badge {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a0a8b2;
    transition: color 0.2s;
}

a.nav-card:hover .nav-badge {
    color: #2e7d32;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a2c3e;
    line-height: 1.35;
    transition: color 0.2s ease, font-weight 0.2s ease;
    letter-spacing: -0.2px;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.nav-card:hover .nav-title {
    color: #2e7d32;
    font-weight: 700;
}

@media (max-width: 768px) {
    .post-nav-container {
        margin-top: 16px;
        padding-top: 32px;
    }

    .border-runner {
        height: 28px;
    }

    .post-nav-container .track-dust {
        display: none !important;
    }

    .post-nav-elegant {
        flex-direction: column;
        gap: 20px;
    }

    .nav-card {
        padding: 14px 18px;
    }

    .nav-card-inner {
        justify-content: space-between;
    }

    .nav-card-prev .nav-card-inner,
    .nav-card-next .nav-card-inner {
        justify-content: space-between;
    }

    .nav-text {
        max-width: 78%;
    }

    .nav-title {
        font-size: 14px;
        white-space: normal;
        max-width: 100%;
    }

    .nav-icon-wrapper {
        width: 32px;
        height: 32px;
    }
}

@media (prefers-color-scheme: dark) {
    .nav-card-placeholder {
        background: linear-gradient(135deg, #1a2228 0%, #151c22 100%);
        border-color: rgba(255, 255, 255, 0.06);
    }

    .nav-card-placeholder .nav-badge,
    .nav-card-placeholder .nav-title--muted {
        color: #6b7785;
    }

    .nav-card:not(.nav-card--empty):not(.nav-card-placeholder) {
        background: linear-gradient(135deg, #1a252f 0%, #16202a 100%);
        border-color: rgba(255, 255, 255, 0.05);
    }

    a.nav-card:hover {
        background: #1f2c38;
        border-color: rgba(46, 125, 50, 0.35);
    }

    .nav-title {
        color: #e8edf2;
    }

    .nav-icon-wrapper {
        background: #1e3a24;
        color: #4caf50;
    }

    a.nav-card:hover .nav-title {
        color: #4caf50;
    }

    .progress-indicator {
        background: #4caf50;
    }
}

/* 文章评论：与相邻模块保持同节奏 */
.fq-min-article-comments {
    margin-top: var(--site-module-gap);
}

/* —— 顶栏 —— */
.fq-min-topbar {
    background: #ffffff;
    border-bottom: 1px solid var(--fq-yd-border);
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
}

.fq-min-topbar-inner {
    max-width: var(--fq-min-layout-max);
    margin: 0 auto;
    padding: 0 var(--layout-page-padding-x);
    min-height: 36px;
    line-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    flex-wrap: wrap;
    box-sizing: border-box;
}

@media (min-width: 1100px) {
    .fq-min-topbar-inner {
        padding-left: var(--layout-page-padding-x-lg);
        padding-right: var(--layout-page-padding-x-lg);
    }
}

@media (min-width: 1440px) {
    .fq-min-topbar-inner {
        padding-left: var(--layout-page-padding-x-xl);
        padding-right: var(--layout-page-padding-x-xl);
    }
}

.fq-min-topbar-tag {
    color: var(--fq-yd-muted);
    letter-spacing: 0.02em;
}

.fq-min-topbar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.fq-min-topbar-links li {
    display: inline;
}

.fq-min-topbar-links a {
    color: #555;
    transition: color var(--fq-yd-transition);
}

.fq-min-topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.fq-min-topbar-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    border: 1px solid #e6e6e6;
    background: #fff;
}

.fq-min-topbar-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    background: var(--fq-yd-green-soft);
}

.fq-min-topbar-user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fq-min-topbar-links a:hover {
    color: var(--c-hover, #2d7a1e);
    text-decoration: none;
}

.fq-min-topbar-sep {
    color: #bbb;
    margin: 0 6px;
}

/* —— 头部 —— */
.fq-min-header {
    background: var(--fq-yd-panel);
    border-bottom: 1px solid var(--fq-yd-border);
    box-shadow: var(--fq-yd-shadow-sm);
}

.fq-min-header-top {
    padding: var(--sp-5) var(--layout-page-padding-x) var(--sp-5);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--sp-5) var(--sp-6);
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .fq-min-header-top {
        display: grid;
        grid-template-columns: minmax(160px, 240px) minmax(320px, 1fr) minmax(220px, 400px);
        align-items: center;
        gap: var(--sp-5) var(--sp-6);
    }

    .fq-min-logo {
        align-self: center;
    }

    .fq-min-header-search {
        max-width: none;
        width: 100%;
        justify-self: stretch;
    }

    .fq-min-search-form {
        margin-top: 0;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .fq-min-quicknav {
        align-self: center;
    }

    .fq-min-quicknav ul {
        margin-top: 0;
        justify-content: flex-end;
    }
}

.fq-min-logo {
    flex: 0 0 auto;
}

.fq-min-logo-link {
    display: inline-block;
    line-height: 0;
}

.fq-min-logo-img {
    display: block;
    max-height: 58px;
    width: auto;
    /* 与侧栏宽度解耦，仅限制品牌区最大宽度 */
    max-width: min(280px, 100%);
    height: auto;
    object-fit: contain;
}

.fq-min-logo .fq-min-logo-title {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.fq-min-logo .fq-min-logo-title a {
    color: var(--fq-yd-green);
    text-decoration: none;
    transition: color var(--fq-yd-transition);
}

.fq-min-logo .fq-min-logo-title a:hover {
    color: var(--fq-yd-green-hover);
    text-decoration: none;
}

.fq-min-header-search {
    flex: 1 1 220px;
    min-width: 200px;
    max-width: 440px;
}

.fq-min-search-form {
    display: flex;
    align-items: stretch;
    margin-top: 4px;
    border: 2px solid var(--fq-yd-green-soft);
    border-radius: var(--fq-yd-radius-sm);
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color var(--fq-yd-transition), box-shadow var(--fq-yd-transition);
}

.fq-min-search-form:focus-within {
    border-color: var(--fq-yd-green);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 3px var(--fq-yd-green-tint);
}

.fq-min-search-input {
    flex: 1;
    border: none;
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--font-body);
    line-height: var(--lh-body);
    font-family: inherit;
    outline: none;
    min-width: 0;
}

.fq-min-search-input::placeholder {
    color: #9a9a9a;
}

.fq-min-search-btn {
    border: none;
    background: linear-gradient(180deg, var(--fq-yd-green) 0%, var(--fq-yd-green-deep) 100%);
    color: #fff;
    padding: 0 var(--sp-5);
    font-size: var(--font-small);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: filter var(--fq-yd-transition), transform 0.1s ease;
}

.fq-min-search-btn:hover {
    filter: brightness(1.06);
}

.fq-min-search-btn:active {
    transform: translateY(1px);
}

.fq-min-quicknav {
    flex: 1 1 100%;
}

@media (min-width: 720px) {
    .fq-min-quicknav {
        flex: 1 1 260px;
        margin-left: auto;
    }
}

.fq-min-quicknav ul {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: flex-start;
}

@media (min-width: 720px) {
    .fq-min-quicknav ul {
        justify-content: flex-end;
    }
}

.fq-min-quicknav a {
    font-size: 14px;
    color: #444;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color var(--fq-yd-transition), border-color var(--fq-yd-transition);
}

.fq-min-quicknav a:hover {
    color: var(--fq-yd-green);
    border-bottom-color: var(--fq-yd-green-soft);
    text-decoration: none;
}

/* —— 主导航（浅色顶栏 + 内联热搜标签） —— */
.fq-min-nav-wrap {
    background: var(--fq-yd-panel);
    border-bottom: 1px solid var(--fq-yd-border);
    box-shadow: var(--fq-yd-shadow-sm);
}

.fq-min-navmain {
    width: 100%;
    background: transparent;
    text-align: left;
}

.fq-min-navmain-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding-top: 6px;
    padding-bottom: 6px;
    box-sizing: border-box;
}

.fq-min-navmain-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
    min-width: 0;
}

.fq-min-navmain-list li a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fq-yd-text);
    line-height: 1.3;
    text-decoration: none;
    border-radius: 999px;
    transition: background var(--fq-yd-transition), color var(--fq-yd-transition);
}

.fq-min-navmain-list li a:hover {
    background: var(--fq-yd-green-tint);
    color: var(--fq-yd-green-deep);
    text-decoration: none;
}

.fq-min-navmain-list li a:focus-visible {
    outline: 2px solid var(--fq-yd-green-soft);
    outline-offset: 2px;
}

.fq-min-subnav.fq-min-subnav--inline {
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
    flex: 0 1 auto;
}

.fq-min-subnav-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.fq-min-subnav-pills li a {
    display: inline-block;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 500;
    color: var(--fq-yd-muted);
    background: #f4f7f5;
    border: 1px solid var(--fq-yd-border);
    border-radius: 999px;
    text-decoration: none;
    transition: background var(--fq-yd-transition), color var(--fq-yd-transition), border-color var(--fq-yd-transition);
}

.fq-min-subnav-pills li a:hover {
    background: var(--fq-yd-green-tint);
    color: var(--fq-yd-green-deep);
    border-color: #c5ddd0;
    text-decoration: none;
}

@media (max-width: 720px) {
    .fq-min-navmain-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .fq-min-subnav-pills {
        justify-content: flex-start;
    }
}

/* 历史：独立副导航块（若其它页面仍引用） */
.fq-min-subnav:not(.fq-min-subnav--inline) {
    background: var(--fq-yd-panel);
    border-bottom: 1px solid var(--fq-yd-border);
    box-shadow: var(--fq-yd-shadow-sm);
}

.fq-min-subnav:not(.fq-min-subnav--inline) .fq-min-center {
    padding-left: 0;
    padding-right: 0;
}

.fq-min-subnav:not(.fq-min-subnav--inline) ul:not(.fq-min-subnav-pills) {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    width: 100%;
    max-width: var(--fq-min-layout-max);
    border: 1px solid var(--fq-yd-subnav-border);
    border-radius: 0 0 var(--fq-yd-radius-sm) var(--fq-yd-radius-sm);
    overflow: hidden;
    box-sizing: border-box;
}

.fq-min-subnav:not(.fq-min-subnav--inline) li {
    text-align: center;
    border-right: 1px dotted var(--fq-yd-subnav-border);
    border-bottom: 1px dotted var(--fq-yd-subnav-border);
    margin: 0;
    min-width: 0;
}

.fq-min-subnav:not(.fq-min-subnav--inline) li a {
    display: block;
    min-height: 36px;
    line-height: 36px;
    padding: 0 6px;
    font-size: 13px;
    color: var(--fq-yd-green-deep);
    background: #fff;
    transition: background var(--fq-yd-transition), color var(--fq-yd-transition);
}

.fq-min-subnav:not(.fq-min-subnav--inline) li a:hover {
    background: var(--fq-yd-subnav-hover-bg);
    color: var(--fq-yd-green-deep);
    text-decoration: none;
}

/* —— 主区域 —— */
.fq-min-main {
    padding: var(--layout-main-padding-y-start) 0 var(--layout-main-padding-y-end);
    overflow: hidden;
}

.fq-min-main:focus {
    outline: none;
}

.fq-min-clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.fq-min-cols {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.fq-min-pleft {
    width: 100%;
    min-width: 0;
    margin-bottom: var(--site-module-gap);
    flex: 1 1 auto;
}

/* 模板统一使用 aside.fq-min-sidebar，未使用历史类名 .fq-min-pright；两者需同一套宽与 sticky */
.fq-min-pright,
.fq-min-cols > .fq-min-sidebar {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
}

@media (min-width: 992px) {
    .fq-min-cols {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: var(--fq-min-cols-gap);
    }

    .fq-min-pleft {
        flex: 1 1 calc(100% - var(--fq-min-sidebar) - var(--fq-min-cols-gap));
        max-width: calc(100% - var(--fq-min-sidebar) - var(--fq-min-cols-gap));
        margin-bottom: 0;
    }

    .fq-min-pright,
    .fq-min-cols > .fq-min-sidebar {
        flex: 0 0 var(--fq-min-sidebar);
        width: var(--fq-min-sidebar);
        max-width: var(--fq-min-sidebar);
        position: sticky;
        top: 16px;
        align-self: flex-start;
    }
}

/* —— 首页头条 —— */
.fq-min-bignews {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    margin-bottom: var(--site-module-gap);
    overflow: hidden;
    box-shadow: var(--fq-yd-shadow-md);
}

.fq-min-onenews {
    margin: 0;
    padding: var(--sp-5);
    border-bottom: 1px dashed #e5e5e5;
    background: linear-gradient(180deg, #fafafa 0%, #fff 55%);
}

.fq-min-onenews h2 {
    margin: 0 0 12px;
    text-align: center;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.02em;
}

.fq-min-onenews h2 a {
    color: #1e1e1e;
    text-decoration: none;
    transition: color var(--fq-yd-transition);
}

.fq-min-onenews h2 a:hover {
    color: var(--fq-yd-green);
}

.fq-min-onenews p {
    margin: 0;
    line-height: var(--lh-body);
    color: var(--fq-yd-muted);
    text-indent: 2em;
    font-size: var(--font-body);
}

.fq-min-more {
    color: var(--fq-yd-green);
    font-weight: 600;
    text-indent: 0;
    margin-left: 6px;
    white-space: nowrap;
    text-decoration: none;
}

.fq-min-more:hover {
    text-decoration: underline;
}

.fq-min-d1 {
    padding: 12px 16px;
    overflow: hidden;
    background: #ffffff;
}

.fq-min-d1arc {
    float: left;
    width: calc(50% - 10px);
    max-width: none;
    margin-right: 12px;
    margin-bottom: 4px;
    min-height: 28px;
    line-height: 28px;
    overflow: hidden;
    font-size: 14px;
}

.fq-min-d1arc a {
    transition: color var(--fq-yd-transition);
}

.fq-min-newarticle-bar {
    height: 34px;
    background: linear-gradient(90deg, var(--fq-yd-green) 0%, var(--fq-yd-green-soft) 100%);
    color: #fff;
    font-size: 13px;
    line-height: 34px;
    padding-left: 16px;
    letter-spacing: 0.12em;
}

.fq-min-newarticle-bar::before {
    content: "最新文章";
    font-weight: 700;
}

.fq-min-c2 {
    list-style: none;
    margin: 0;
    padding: 10px 14px 14px;
    clear: both;
}

.fq-min-c2 li {
    padding: 10px 0 10px 22px;
    border-bottom: 1px dashed #ebebeb;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Ccircle cx='5' cy='5' r='3.5' fill='%235a9c28'/%3E%3C/svg%3E") 4px 17px no-repeat;
    transition: background-color var(--fq-yd-transition);
}

.fq-min-c2 li:hover {
    background-color: var(--fq-yd-green-tint);
}

.fq-min-c2 li:last-child {
    border-bottom: none;
}

.fq-min-c2 a {
    font-size: 14px;
    color: #333;
}

.fq-min-c2 a:hover {
    color: var(--fq-yd-green);
}

.fq-min-empty {
    background: var(--fq-yd-panel);
    border: 1px dashed var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    padding: 40px 24px;
    text-align: center;
    color: var(--fq-yd-muted);
    font-size: 15px;
}

/* —— 侧栏 —— */
.fq-min-tbox {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    margin-bottom: var(--sp-4);
    overflow: hidden;
    box-shadow: var(--fq-yd-shadow-sm);
}

.fq-min-tbox-hd {
    padding: 11px 14px;
    background: linear-gradient(180deg, #f4faf0 0%, #e8f2e0 100%);
    border-bottom: 1px solid #cddfc0;
    font-size: 15px;
    color: #2a3d18;
    font-weight: 600;
}

.fq-min-tbox-bd {
    padding: 10px 14px 14px;
}

.fq-min-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fq-min-side-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--yd-box-border);
    font-size: var(--font-small);
    line-height: var(--lh-small);
}

.fq-min-side-list li:last-child {
    border-bottom: none;
}

.fq-min-side-list a {
    color: var(--c-text);
    transition: color var(--fq-yd-transition);
}

.fq-min-side-list a:hover {
    color: var(--fq-yd-green);
}

.fq-min-side-hint {
    display: block;
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
    color: var(--fq-yd-muted);
    margin-top: 3px;
}

/* 栏目页侧栏：当前栏目 */
.fq-min-side-cat-nav li.is-current {
    font-weight: 600;
}

.fq-min-side-cat-current {
    display: block;
    color: var(--fq-yd-green);
}

.fq-min-muted {
    margin: 0;
    font-size: var(--font-small);
    line-height: var(--lh-small);
    color: var(--fq-yd-muted);
}

/* —— 内页 —— */
.fq-min-panel {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    padding: var(--layout-panel-padding);
    max-width: var(--fq-min-layout-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    box-shadow: var(--fq-yd-shadow-md);
}

.fq-min-h1 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--c-text);
    letter-spacing: normal;
    line-height: 1.35;
}

.fq-min-rule {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, var(--fq-yd-green-soft), transparent);
    margin: 0 0 20px;
    opacity: 1;
}

.fq-min-card {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius-sm);
    padding: 18px 18px 20px;
    margin-bottom: 12px;
    box-shadow: var(--fq-yd-shadow-sm);
    transition: box-shadow var(--fq-yd-transition), border-color var(--fq-yd-transition);
}

.fq-min-card:hover {
    box-shadow: var(--fq-yd-shadow-md);
    border-color: #d0dcc8;
}

.fq-min-card h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
}

.fq-min-card h2 a {
    color: #1a1a1a;
    text-decoration: none;
}

.fq-min-card h2 a:hover {
    color: var(--fq-yd-green);
}

.fq-min-meta {
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
    color: var(--fq-yd-muted);
    margin-bottom: 10px;
}

.fq-min-card p {
    margin: 0;
    font-size: var(--font-body);
    line-height: var(--lh-body);
    color: var(--fq-yd-muted);
}

.fq-min-card-row {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
}

.fq-min-card-row img {
    max-width: 180px;
    max-height: 120px;
    border: 1px solid var(--yd-box-border);
    border-radius: var(--fq-yd-radius-sm);
    object-fit: cover;
}

.fq-min-pager {
    margin-top: var(--site-module-gap);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fq-min-pager a,
.fq-min-pager span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: var(--fq-yd-radius-sm);
    font-size: 14px;
    text-decoration: none;
    background: #fff;
    transition: background var(--fq-yd-transition), color var(--fq-yd-transition), border-color var(--fq-yd-transition);
}

.fq-min-pager a {
    color: #444;
}

.fq-min-pager a:hover {
    background: var(--fq-yd-green);
    border-color: var(--fq-yd-green);
    color: #fff;
    text-decoration: none;
}

.fq-min-pager span.fq-min-curr {
    background: var(--fq-yd-green);
    color: #fff;
    border-color: var(--fq-yd-green);
    font-weight: 700;
}

.fq-min-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fq-min-list li {
    padding: 14px 0;
    border-bottom: 1px dashed #e8e8e8;
}

.fq-min-list li:last-child {
    border-bottom: none;
}

.fq-min-list h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 600;
}

.fq-min-list h3 a {
    color: #1a1a1a;
}

.fq-min-list h3 a:hover {
    color: var(--fq-yd-green);
}

.fq-min-list p {
    margin: 0;
    font-size: 15px;
    color: var(--fq-yd-muted);
    line-height: 1.7;
}

.fq-min-category-list .fq-min-card-row img {
    /* 用固定宽高保证卡片高度稳定 */
    max-width: none;
    max-height: none;
    width: 180px;
    height: 120px;
    flex: 0 0 180px;
    display: block;
    object-fit: cover;
}

.fq-min-category-list .fq-min-card-ttl {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.35;
    max-height: calc(2 * 1.35em);
}

.fq-min-category-list .fq-min-card-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.7;
    max-height: calc(2 * 1.7em);
}

.fq-min-category-list .fq-min-card-row {
    align-items: flex-start;
}

@media (max-width: 720px) {
    .fq-min-category-list .fq-min-card-row img {
        width: 120px;
        height: 80px;
        flex-basis: 120px;
    }
}

.fq-min-list .fq-min-meta--catline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 13px;
    color: #888;
    margin: 0 0 8px;
}

.fq-min-list .fq-min-meta--catline .fq-min-meta-sep {
    margin: 0 5px;
    color: #ccc;
}

/* 文章页：面包屑 */
.fq-min-breadcrumb {
    margin: 0 0 var(--site-module-gap);
}

.fq-min-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: #888;
}

.fq-min-breadcrumb-list a {
    color: #1565a8;
    text-decoration: none;
}

.fq-min-breadcrumb-list a:hover {
    color: var(--fq-yd-green);
    text-decoration: underline;
}

.fq-min-breadcrumb-sep {
    color: #ccc;
    user-select: none;
}

/* 文章页：现代头部（面包屑 + 黑字标题 + 作者 / 浏览条） */
.fq-min-article .article-header-modern {
    max-width: 880px;
    margin: 0 auto 0.5rem;
    padding: 0 2px;
    font-family: var(--fq-yd-font, 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif);
}

/* 文章页 + 栏目列表 / 封面：同一套面包屑（箭头分隔 + 当前项 + 底部绿线） */
.fq-min-article .article-header-modern .fq-min-breadcrumb--modern,
.fq-min-panel.fq-min-inner .fq-min-breadcrumb--modern {
    margin: 0 0 32px;
    font-family: var(--fq-yd-font, 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif);
}

.fq-min-article .breadcrumb-wrapper,
.fq-min-panel.fq-min-inner .breadcrumb-wrapper {
    position: relative;
}

.fq-min-article .article-header-modern .breadcrumb-trail,
.fq-min-panel.fq-min-inner .breadcrumb-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    justify-content: flex-start;
    color: #888;
}

.fq-min-article .article-header-modern .breadcrumb-trail > a,
.fq-min-panel.fq-min-inner .breadcrumb-trail > a {
    color: #6c7f8f;
    text-decoration: none;
    font-weight: 450;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fq-min-article .article-header-modern .breadcrumb-trail > a:hover,
.fq-min-panel.fq-min-inner .breadcrumb-trail > a:hover {
    color: #2e7d32;
    transform: translateX(2px);
}

.fq-min-article .article-header-modern .breadcrumb-trail > a + a::before,
.fq-min-panel.fq-min-inner .breadcrumb-trail > a + a::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    flex-shrink: 0;
    vertical-align: -0.15em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23b9c7d4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.fq-min-article .article-header-modern .breadcrumb-current::before,
.fq-min-panel.fq-min-inner .breadcrumb-current::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    flex-shrink: 0;
    vertical-align: -0.15em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23b9c7d4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.fq-min-article .article-header-modern .breadcrumb-current,
.fq-min-panel.fq-min-inner .breadcrumb-current {
    color: #1e2f3e;
    font-weight: 600;
    background: linear-gradient(135deg, #1f2e2a, #2e7d32);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.fq-min-article .breadcrumb-decoration,
.fq-min-panel.fq-min-inner .breadcrumb-decoration {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2e7d32, #2e7d32, transparent);
    border-radius: 2px;
}

.fq-min-article .article-header-modern .title-container {
    margin-bottom: 24px;
}

.fq-min-article .article-header-modern .title-center {
    text-align: center;
}

.fq-min-article .article-header-modern .article-title-modern {
    font-size: clamp(1.75rem, 4.5vw, 2.55rem);
    font-weight: 700;
    line-height: 1.22;
    margin: 0;
    letter-spacing: normal;
    color: var(--c-text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-align: center;
    max-width: none;
}

.fq-min-article .article-header-modern .meta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 20px 0 28px;
    padding: 12px 20px;
    background: #fafcfd;
    border-radius: 60px;
    border: 1px solid #eff2f6;
}

.fq-min-article .article-header-modern .meta-center {
    justify-content: center;
}

.fq-min-article .article-header-modern .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fq-min-article .article-header-modern .author-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #e9f3e8, #ddebe0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
    flex-shrink: 0;
}

.fq-min-article .article-header-modern .author-avatar svg {
    stroke: currentColor;
}

.fq-min-article .article-header-modern .author-detail {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.fq-min-article .article-header-modern .author-name {
    font-weight: 700;
    color: #1e2f3c;
    font-size: 0.95rem;
}

.fq-min-article .article-header-modern .author-label {
    font-size: 0.7rem;
    color: #8ba0b0;
    background: #f0f3f8;
    padding: 2px 8px;
    border-radius: 20px;
}

.fq-min-article .article-header-modern .author-meta-extra {
    font-size: 0.8rem;
    color: #5b6e8c;
}

.fq-min-article .article-header-modern .stats-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fq-min-article .article-header-modern .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5b6e8c;
    font-size: 0.85rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fq-min-article .article-header-modern .stat-item:hover {
    color: #2e7d32;
    transform: translateY(-1px);
}

.fq-min-article .article-header-modern .stat-item svg {
    stroke: currentColor;
    flex-shrink: 0;
}

.fq-min-article .article-header-modern .stat-number {
    font-weight: 700;
    color: #1e2f3c;
}

.fq-min-article .article-header-modern .stat-label {
    color: #5b6e8c;
}

.fq-min-article .article-header-modern .stat-divider {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.fq-min-article .article-header-modern .stat-item--fav:hover {
    transform: none;
}

.fq-min-article .fq-min-article-fav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    color: #5b6e8c;
    font-size: 0.85rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fq-min-article .fq-min-article-fav-btn:hover {
    color: #2e7d32;
    transform: translateY(-1px);
}

.fq-min-article .fq-min-article-fav-btn svg {
    stroke: currentColor;
}

.fq-min-article .fq-min-article-fav-btn .stat-fav-text {
    font-weight: 700;
    color: #1e2f3c;
}

.fq-min-article .fq-min-article-fav-btn:hover .stat-fav-text {
    color: #2e7d32;
}


.fq-min-article .article-header-modern .title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.fq-min-article .article-header-modern .divider-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dce5ec, #dce5ec, transparent);
}

.fq-min-article .article-header-modern .divider-diamond {
    width: 6px;
    height: 6px;
    background: #2e7d32;
    transform: rotate(45deg);
    opacity: 0.5;
}

@media (max-width: 640px) {
    .fq-min-article .article-header-modern {
        padding: 0;
    }

    .fq-min-article .article-header-modern .breadcrumb-trail,
    .fq-min-panel.fq-min-inner .breadcrumb-trail {
        font-size: 0.7rem;
    }

    .fq-min-article .article-header-modern .meta-container {
        flex-direction: column;
        border-radius: 32px;
        padding: 16px;
    }

    .fq-min-article .article-header-modern .meta-center {
        gap: 16px;
    }

    .fq-min-article .article-header-modern .stats-wrapper {
        width: 100%;
        justify-content: center;
    }

    .fq-min-article .article-header-modern .divider-line {
        width: 40px;
    }
}

@media (prefers-color-scheme: dark) {
    .fq-min-article .article-header-modern .breadcrumb-trail > a,
    .fq-min-panel.fq-min-inner .breadcrumb-trail > a {
        color: #94a3b8;
    }

    .fq-min-article .article-header-modern .breadcrumb-trail > a:hover,
    .fq-min-panel.fq-min-inner .breadcrumb-trail > a:hover {
        color: #81c784;
    }

    .fq-min-article .article-header-modern .breadcrumb-trail > a + a::before,
    .fq-min-article .article-header-modern .breadcrumb-current::before,
    .fq-min-panel.fq-min-inner .breadcrumb-trail > a + a::before,
    .fq-min-panel.fq-min-inner .breadcrumb-current::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23475569' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    .fq-min-article .article-header-modern .breadcrumb-current,
    .fq-min-panel.fq-min-inner .breadcrumb-current {
        background: linear-gradient(135deg, #c8e6c9, #81c784);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }

    .fq-min-article .article-header-modern .article-title-modern {
        color: #e2e8f0;
    }

    .fq-min-article .article-header-modern .meta-container {
        background: #121f2a;
        border-color: #2a3a44;
    }

    .fq-min-article .article-header-modern .author-name {
        color: #e2e8f0;
    }

    .fq-min-article .article-header-modern .author-label {
        background: #1e2a32;
        color: #8ba0b0;
    }

    .fq-min-article .article-header-modern .author-avatar {
        background: #1e3228;
        color: #81c784;
    }

    .fq-min-article .article-header-modern .author-meta-extra {
        color: #7f8e9e;
    }

    .fq-min-article .article-header-modern .stat-number,
    .fq-min-article .fq-min-article-fav-btn .stat-fav-text {
        color: #e2e8f0;
    }

    .fq-min-article .article-header-modern .stat-item,
    .fq-min-article .article-header-modern .stat-label,
    .fq-min-article .fq-min-article-fav-btn {
        color: #7f8e9e;
    }

    .fq-min-article .article-header-modern .stat-divider {
        background: #2a3a44;
    }

    .fq-min-article .article-header-modern .divider-line {
        background: linear-gradient(90deg, transparent, #2a3a44, #2a3a44, transparent);
    }

    .fq-min-article .fq-min-article-fav-btn:hover,
    .fq-min-article .fq-min-article-fav-btn:hover .stat-fav-text {
        color: #81c784;
    }

}

/* 标题与元信息在主内容卡片内居中；面包屑仍在 nav 内保持左对齐 */
.fq-min-article-head {
    margin-bottom: 4px;
    text-align: center;
}

.fq-min-article .fq-min-article-title {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 600;
    margin: 0 auto 12px;
    line-height: 1.45;
    color: #1a1a1a;
    text-align: center;
    max-width: 44rem;
}

.fq-min-article .fq-min-meta--article {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px 0;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 14px;
    text-align: center;
}

.fq-min-article .fq-min-meta--article .fq-min-meta-sep {
    margin: 0 5px;
    color: #ccc;
}

.fq-min-article .fq-min-meta a {
    color: #1565a8;
}

.fq-min-article .fq-min-meta a:hover {
    color: var(--fq-yd-green);
}

.fq-min-article-cover {
    margin: 0 0 20px;
    text-align: center;
}

.fq-min-article-cover img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--fq-yd-radius-sm);
    box-shadow: var(--fq-yd-shadow-md);
}

/* 正文：与 body.fq-min-body 解耦，避免类名混用 */
.fq-min-article-prose {
    font-size: var(--font-body);
    color: var(--c-text);
    line-height: var(--lh-prose);
}

@media (min-width: 992px) {
    .fq-min-article-prose {
        max-width: 44rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 段落：正文居中时不使用首行缩进 */
.fq-min-article-prose p {
    text-indent: 0;
    margin: 0.75em 0;
}

.fq-min-article-prose > p:first-child {
    margin-top: 0;
}

.fq-min-article-prose li p,
.fq-min-article-prose th p,
.fq-min-article-prose td p {
    text-indent: 0;
}

.fq-min-article-prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--fq-yd-radius-sm);
    box-shadow: var(--fq-yd-shadow-md);
}

.fq-min-article-prose h2,
.fq-min-article-prose h3,
.fq-min-article-prose h4 {
    margin: 1.25em 0 0.5em;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    text-indent: 0;
}

.fq-min-article-prose h2 {
    font-size: 1.25rem;
}

.fq-min-article-prose h3 {
    font-size: 1.12rem;
}

.fq-min-article-prose h4 {
    font-size: 1.05rem;
}

.fq-min-article-prose blockquote {
    margin: 16px auto;
    padding: 12px 16px 12px 18px;
    border-left: 4px solid var(--fq-yd-green-soft);
    background: var(--c-surface-2);
    color: var(--c-text);
    text-indent: 0;
    text-align: left;
    max-width: 44rem;
}

.fq-min-article-prose blockquote p {
    text-indent: 0;
    margin: 8px 0;
}

.fq-min-article-prose pre {
    margin: 16px auto;
    padding: 14px 16px;
    overflow-x: auto;
    font-size: var(--font-caption);
    line-height: var(--lh-small);
    background: #ffffff;
    border: 1px solid var(--yd-box-border);
    border-radius: var(--fq-yd-radius-sm);
    text-indent: 0;
    text-align: left;
    max-width: 44rem;
}

.fq-min-article-prose code {
    font-family: ui-monospace, "Cascadia Code", "Sarasa Gothic SC", Consolas, monospace;
    font-size: 0.9em;
    padding: 0.1em 0.35em;
    background: #f0f0ec;
    border-radius: 4px;
}

.fq-min-article-prose pre code {
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: inherit;
}

.fq-min-article-prose ul,
.fq-min-article-prose ol {
    margin: 12px 0;
    padding-left: 1.75em;
    text-indent: 0;
}

.fq-min-article-prose li {
    margin: 6px 0;
}

.fq-min-article-prose table {
    width: 100%;
    max-width: 44rem;
    margin: 16px auto;
    border-collapse: collapse;
    font-size: 0.95em;
    text-indent: 0;
    text-align: left;
}

.fq-min-article-prose th,
.fq-min-article-prose td {
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    text-align: left;
}

.fq-min-article-prose th {
    background: var(--fq-yd-topbar-bg);
    font-weight: 600;
}

.fq-min-article-prose hr {
    margin: 24px 0;
    border: none;
    border-top: 1px dashed #ddd;
}

/* 评论区：主 article 卡片之外；宽度与上方 article 面板一致（通栏左栏），与右侧栏间距 = --fq-min-cols-gap */
.fq-min-article-after {
    min-width: 0;
    width: 100%;
}

.fq-min-article-after section.qc-comment {
    clear: both;
    margin-top: 1.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    box-sizing: border-box;
}

/* —— 文章详情：上一篇 / 下一篇 —— */
.fq-min-article-pn {
    margin-top: var(--sp-4);
    padding: var(--sp-4);
}

.fq-min-article-pn-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-3);
}

/* 强制双列（避免被其它规则覆盖或缓存导致失效） */
.fq-min-article-layout .fq-min-article-pn-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

.fq-min-article-pn-item {
    border: 1px solid var(--yd-box-border);
    border-radius: var(--fq-yd-radius);
    padding: var(--sp-3);
    background: var(--c-surface-1);
    min-width: 0;
}

.fq-min-article-pn-label {
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
    color: var(--fq-yd-muted);
    margin-bottom: var(--sp-1_5);
    font-weight: 600;
}

.fq-min-article-pn-link {
    display: inline-block;
    color: var(--c-text);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.fq-min-article-pn-link:hover {
    color: var(--fq-yd-green);
    text-decoration: underline;
}

.fq-min-article-pn-empty {
    color: #9ca3af;
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
}

@media (max-width: 720px) {
    .fq-min-article-pn-grid {
        grid-template-columns: 1fr;
    }
    .fq-min-article-layout .fq-min-article-pn-grid {
        grid-template-columns: 1fr !important;
    }
}

.fq-min-error h2 {
    font-size: 1.15rem;
    margin: 0 0 14px;
    font-weight: 600;
}

.fq-min-error a {
    color: var(--fq-yd-green);
    font-weight: 600;
}

/* —— 首页：导读 + 最新（同一区块） —— */
.fq-min-home-highlight {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    box-shadow: var(--fq-yd-shadow-sm);
    margin-bottom: var(--fq-min-home-gap-y);
    min-width: 0;
}

.fq-min-home-highlight-hd {
    padding: 12px 14px 10px;
    border-bottom: 1px solid #e5e8e0;
}

.fq-min-home-highlight-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.03em;
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 3px solid #8ecae6;
}

.fq-min-home-highlight-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .fq-min-home-highlight-body {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .fq-min-latest-col {
        border-left: 1px solid #e8ebe4;
    }
}

.fq-min-rec-col,
.fq-min-latest-col {
    min-width: 0;
    padding-bottom: 10px;
}

.fq-min-home-subtitle {
    margin: 0;
    padding: 10px 14px 8px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.02em;
    border-bottom: 1px dashed #e0e4dc;
}

.fq-min-home-sec-empty {
    margin: 12px 14px 14px;
    font-size: 14px;
    color: #999;
}

.fq-min-rec-slider {
    position: relative;
    padding: 0 0 8px;
}

.fq-min-rec-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.fq-min-rec-scroll::-webkit-scrollbar {
    height: 6px;
}

.fq-min-rec-scroll::-webkit-scrollbar-thumb {
    background: #c8d4c0;
    border-radius: 4px;
}

.fq-min-rec-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0;
}

.fq-min-rec-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 12px 10px;
}

.fq-min-rec-card:hover {
    text-decoration: none;
    color: inherit;
}

.fq-min-rec-visual {
    position: relative;
    border-radius: var(--fq-yd-radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, #e3ecf5 0%, #f0e8f5 100%);
    aspect-ratio: 16 / 10;
    max-height: 240px;
}

.fq-min-rec-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fq-min-rec-placeholder {
    width: 100%;
    height: 100%;
    min-height: 140px;
    background: linear-gradient(145deg, #dbe8f5 0%, #e8dff5 55%, #d4e8dd 100%);
}

.fq-min-rec-caption {
    margin: 10px 2px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: #333;
}

.fq-min-rec-dots {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    padding: 4px 14px 0;
}

.fq-min-rec-dot {
    width: 18px;
    height: 8px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #e8e8e8;
    cursor: pointer;
    transition: background var(--fq-yd-transition), border-color var(--fq-yd-transition);
}

.fq-min-rec-dot:hover {
    border-color: #999;
}

.fq-min-rec-dot.is-active {
    background: var(--yd-green, #3d9e28);
    border-color: var(--yd-green-dark, #2d7a1e);
}

.fq-min-latest-list {
    padding-top: 2px;
}

/* —— 首页：多栏目区块（双栏网格） —— */
.fq-min-home-empty code {
    font-size: 0.88em;
    padding: 2px 7px;
    background: #eef2ea;
    border-radius: 4px;
    color: #333;
}

.fq-min-home-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fq-min-home-gap-y) var(--fq-min-home-gap-x);
}

@media (min-width: 680px) {
    .fq-min-home-blocks {
        grid-template-columns: 1fr 1fr;
    }
}

.fq-min-cblock {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    box-shadow: var(--fq-yd-shadow-sm);
    padding: 0 0 12px;
    min-width: 0;
}

.fq-min-cblock-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px 10px;
    border-bottom: 1px solid #e5e8e0;
    margin-bottom: 4px;
}

.fq-min-cblock-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.03em;
}

.fq-min-cblock-more {
    flex-shrink: 0;
    font-size: 13px;
    color: #888;
    text-decoration: none;
}

.fq-min-cblock-more:hover {
    color: var(--fq-yd-green);
    text-decoration: none;
}

.fq-min-cblock-empty {
    margin: 12px 14px;
    font-size: 14px;
    color: #999;
}

.fq-min-cblock-list {
    list-style: none;
    margin: 0;
    padding: 4px 0 0;
}

.fq-min-cblock-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px dotted #e8e8e8;
}

.fq-min-cblock-list li:last-child {
    border-bottom: none;
}

.fq-min-cblock-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 8px 14px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
    transition: background var(--fq-yd-transition);
}

@media (min-width: 480px) {
    .fq-min-cblock-row {
        flex-wrap: nowrap;
    }
}

.fq-min-cblock-row:hover {
    background: var(--fq-yd-green-tint);
    text-decoration: none;
    color: #1a1a1a;
}

.fq-min-cblock-chev {
    flex: 0 0 auto;
    color: #c5c5c5;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}

.fq-min-cblock-tag {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.fq-min-cblock-tag--a {
    color: #e65100;
}

.fq-min-cblock-tag--b {
    color: var(--fq-yd-green-deep);
}

.fq-min-cblock-ttl {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 479px) {
    .fq-min-cblock-ttl {
        white-space: normal;
        flex-basis: 100%;
    }
}

.fq-min-cblock-date {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 13px;
    color: #999;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 479px) {
    .fq-min-cblock-date {
        margin-left: 0;
    }
}

/* —— 首页：偏资讯/索引布局（减少导购语感） —— */
.fq-min-home-objective-hd {
    margin-bottom: var(--site-module-gap);
    padding-bottom: 14px;
    border-bottom: 1px dashed #d5d9d2;
}

.fq-min-home-objective-kicker {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7a8f72;
    font-weight: 600;
}

.fq-min-home-objective-title {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #141414;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.fq-min-home-objective-desc {
    margin: 0;
    max-width: 52rem;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}

.fq-min-home-code {
    padding: 1px 6px;
    font-size: 12px;
    border-radius: 4px;
    background: #eef2ea;
    color: #333;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.fq-min-home-dual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: var(--fq-min-home-gap-y);
}

@media (min-width: 720px) {
    .fq-min-home-dual {
        grid-template-columns: 1fr 1fr;
        gap: var(--fq-min-home-gap-x);
        align-items: start;
    }
}

.fq-min-home-dual-col {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    box-shadow: var(--fq-yd-shadow-sm);
    min-width: 0;
}

.fq-min-home-dual-col + .fq-min-home-dual-col {
    margin-top: 0;
}

.fq-min-home-dual-h2 {
    margin: 0;
    padding: 12px 14px 6px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 1px solid #e5e8e0;
}

.fq-min-home-dual-meta {
    margin: 0;
    padding: 6px 14px 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #777;
    border-bottom: 1px dashed #e0e4dc;
    background: linear-gradient(180deg, #fbfcfa 0%, var(--fq-yd-panel) 100%);
}

.fq-min-home-objective-list {
    list-style: none;
    margin: 0;
    padding: 4px 0 6px;
}

.fq-min-home-objective-list li {
    margin: 0;
    border-bottom: 1px dotted #e8e8e8;
}

.fq-min-home-objective-list li:last-child {
    border-bottom: none;
}

.fq-min-home-obj-row {
    display: grid;
    grid-template-columns: minmax(4.5rem, 1fr) minmax(0, 3fr) auto;
    gap: 8px 12px;
    align-items: baseline;
    padding: 9px 14px;
    text-decoration: none;
    color: #222;
    font-size: 14px;
    line-height: 1.45;
    transition: background var(--fq-yd-transition);
}

@media (max-width: 520px) {
    .fq-min-home-obj-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .fq-min-home-obj-time {
        margin-left: 0;
    }
}

.fq-min-home-obj-row:hover {
    background: #f4f7f1;
    text-decoration: none;
    color: #111;
}

.fq-min-home-obj-cat {
    font-size: 12px;
    font-weight: 600;
    color: #5a6b54;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fq-min-home-obj-ttl {
    min-width: 0;
    font-weight: 500;
}

.fq-min-home-obj-time {
    font-size: 12px;
    color: #888;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fq-min-home-byline {
    margin-bottom: 8px;
}

.fq-min-home-byline-hd {
    margin-bottom: 10px;
}

.fq-min-home-byline-title {
    margin: 0 0 6px;
    font-size: 1.06rem;
    font-weight: 700;
    color: #1a1a1a;
}

.fq-min-home-byline-note {
    margin: 0;
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
    color: var(--fq-yd-muted);
    max-width: 48rem;
}

.fq-min-panel--sidebar .fq-min-h3 {
    margin-bottom: 4px;
}

.fq-min-sidebar-note {
    margin: 0 0 8px;
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
    color: var(--fq-yd-muted);
}

.fq-min-side-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.fq-min-side-ttl {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fq-min-side-meta {
    flex: 0 0 auto;
    font-size: var(--font-caption);
    line-height: var(--lh-caption);
    color: var(--fq-yd-muted);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 400px) {
    .fq-min-side-list a {
        flex-wrap: wrap;
    }

    .fq-min-side-ttl {
        white-space: normal;
    }
}

/* —— 首页 v2：主栏 + 侧栏 + 头条大图 —— */
.fq-portal-v2.fq-min-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--site-module-gap);
    align-items: start;
}

@media (min-width: 992px) {
    .fq-portal-v2.fq-min-cols {
        grid-template-columns: minmax(0, 1fr) var(--fq-min-sidebar);
        gap: var(--fq-min-cols-gap);
    }

    .fq-portal-aside.fq-min-sidebar {
        position: sticky;
        top: 16px;
        width: 100%;
        max-width: var(--fq-min-sidebar);
    }
}

.fq-portal-primary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--site-module-gap);
}

.fq-portal-spotlight {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    box-shadow: var(--fq-yd-shadow-md);
    overflow: hidden;
}

.fq-portal-spotlight-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
}

@media (min-width: 768px) {
    .fq-portal-spotlight-inner {
        grid-template-columns: minmax(220px, 1.05fr) minmax(0, 1.2fr);
        align-items: stretch;
    }
}

.fq-portal-spotlight-media {
    display: block;
    position: relative;
    min-height: 200px;
    background: linear-gradient(145deg, #2a4a3e 0%, #1a2c26 100%);
}

@media (min-width: 768px) {
    .fq-portal-spotlight-media {
        min-height: 100%;
    }
}

.fq-portal-spotlight-img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.fq-portal-spotlight-ph {
    display: block;
    width: 100%;
    min-height: 220px;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 30% 40%, rgba(74, 157, 115, 0.35) 0%, transparent 55%),
        linear-gradient(160deg, #1e3d32 0%, #0f1f1a 100%);
}

.fq-portal-spotlight-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #fafafa 0%, #fff 45%);
}

.fq-portal-spotlight-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fq-yd-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.fq-portal-spotlight-cat {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--fq-yd-green-tint);
    color: var(--fq-yd-green-deep);
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 12px;
}

.fq-portal-spotlight-dot {
    opacity: 0.45;
    font-weight: 400;
}

.fq-portal-spotlight-title {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.fq-portal-spotlight-title a {
    color: #13221c;
    text-decoration: none;
    transition: color var(--fq-yd-transition);
}

.fq-portal-spotlight-title a:hover {
    color: var(--fq-yd-green);
}

.fq-portal-spotlight-summary {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.75;
    color: #454545;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fq-portal-spotlight-foot {
    margin: 0;
}

.fq-portal-spotlight-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--fq-yd-green) 0%, var(--fq-yd-green-deep) 100%);
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(47, 111, 78, 0.28);
    transition: filter var(--fq-yd-transition), transform 0.12s ease;
}

.fq-portal-spotlight-cta:hover {
    filter: brightness(1.06);
    color: #fff;
    text-decoration: none;
}

.fq-portal-spotlight-cta:active {
    transform: translateY(1px);
}

.fq-portal-midgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}

@media (min-width: 880px) {
    .fq-portal-midgrid {
        grid-template-columns: 1fr 1fr;
    }
}

.fq-portal-midcol {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.fq-portal-panel--grow {
    flex: 1 1 auto;
}

.fq-portal-pics-bleed.fq-yd-portal-pics,
.fq-portal-topics-bleed.fq-yd-portal-topics {
    margin-bottom: 0;
}

.fq-yd-slider-shell {
    margin-bottom: 0;
}

.fq-yd-slider {
    position: relative;
    background: #1a1f1d;
    border-radius: var(--fq-yd-radius);
    overflow: hidden;
}

.fq-yd-slider-viewport {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #24302b;
    border-radius: var(--fq-yd-radius) var(--fq-yd-radius) 0 0;
}

.fq-yd-slider-dots {
    border-radius: 0 0 var(--fq-yd-radius) var(--fq-yd-radius);
}

/* —— 悦读文网式首页（主导航下主栏+侧栏） —— */
.fq-yd-portal .fq-min-pleft {
    min-width: 0;
}

.fq-yd-portal-hero {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    box-shadow: var(--fq-yd-shadow-sm);
    margin-bottom: var(--site-module-gap);
    padding: 20px 22px 18px;
}

.fq-yd-portal-hero-inner {
    max-width: 100%;
}

.fq-yd-portal-hero-title {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.fq-yd-portal-hero-title a {
    color: #1a3d0f;
    text-decoration: none;
}

.fq-yd-portal-hero-title a:hover {
    color: var(--fq-yd-green-deep);
    text-decoration: underline;
}

.fq-yd-portal-hero-summary {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fq-yd-portal-hero-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    font-size: 13px;
    color: #666;
}

.fq-yd-portal-hero-cat {
    padding: 2px 10px;
    background: #eef5e8;
    border-radius: 4px;
    color: #3d6630;
    font-weight: 600;
}

.fq-yd-portal-hero-more {
    font-weight: 600;
    color: var(--fq-yd-green-deep);
}

.fq-yd-portal-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    margin-bottom: var(--sp-4);
}

@media (min-width: 640px) {
    .fq-yd-portal-split {
        grid-template-columns: 1fr 1fr;
    }
}

.fq-yd-portal-panel {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    box-shadow: var(--fq-yd-shadow-sm);
    min-width: 0;
    padding: 0 0 10px;
}

.fq-yd-portal-h2 {
    margin: 0;
    padding: 10px 14px;
    border-bottom: 1px solid #e3e8df;
    background: linear-gradient(180deg, #f7faf4 0%, #fff 100%);
}

.fq-yd-portal-h2-text {
    display: inline-block;
    padding-left: 10px;
    border-left: 4px solid var(--fq-yd-green);
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
}

.fq-yd-portal-h2--inline {
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.fq-yd-portal-pics-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--fq-yd-border);
}

.fq-yd-portal-more {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

.fq-yd-portal-more:hover {
    color: var(--fq-yd-green);
}

.fq-yd-portal-list {
    list-style: none;
    margin: 0;
    padding: 8px 14px 4px;
}

.fq-yd-portal-list--dots li {
    position: relative;
    padding: 6px 0 6px 14px;
    border-bottom: 1px dotted #e5e5e5;
    font-size: 14px;
    line-height: 1.45;
}

.fq-yd-portal-list--dots li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--fq-yd-green);
    font-weight: 700;
}

.fq-yd-portal-list--dots li:last-child {
    border-bottom: none;
}

.fq-yd-portal-list--dots a {
    color: #333;
    text-decoration: none;
}

.fq-yd-portal-list--dots a:hover {
    color: var(--fq-yd-green-deep);
    text-decoration: underline;
}

.fq-yd-portal-list--dated li {
    padding: 7px 0;
    border-bottom: 1px dotted #e5e5e5;
    font-size: 14px;
}

.fq-yd-portal-list--dated li:last-child {
    border-bottom: none;
}

.fq-yd-portal-list--dated a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #333;
    text-decoration: none;
}

.fq-yd-portal-list--dated a:hover {
    color: var(--fq-yd-green-deep);
}

.fq-yd-portal-date {
    flex: 0 0 auto;
    font-size: 12px;
    color: #888;
    font-variant-numeric: tabular-nums;
}

.fq-yd-portal-li-title {
    flex: 1 1 auto;
    min-width: 0;
}

.fq-yd-portal-pics {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    box-shadow: var(--fq-yd-shadow-sm);
    padding: 14px 14px 16px;
    margin-bottom: var(--site-module-gap);
}

.fq-yd-portal-pics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 520px) {
    .fq-yd-portal-pics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.fq-yd-portal-pic-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.fq-yd-portal-pic-card:hover .fq-yd-portal-pic-caption {
    color: var(--fq-yd-green-deep);
}

.fq-yd-portal-pic-img-wrap {
    display: block;
    border-radius: var(--fq-yd-radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef2ea;
    margin-bottom: 6px;
}

.fq-yd-portal-pic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fq-yd-portal-pic-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3ecf5 0%, #e8f5e0 100%);
}

.fq-yd-portal-pic-caption {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fq-yd-portal-topics-note {
    margin: 0 0 12px;
    font-size: 13px;
    color: #666;
    line-height: 1.55;
}

.fq-yd-portal-topics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

@media (min-width: 768px) {
    .fq-yd-portal-topics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.fq-yd-portal-topic {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    box-shadow: var(--fq-yd-shadow-sm);
    overflow: hidden;
}

.fq-yd-portal-topic-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #f7faf4 0%, #fafcfa 100%);
    border-bottom: 1px solid #e8ebe4;
}

.fq-yd-portal-topic-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
}

.fq-yd-portal-topic-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.fq-yd-portal-topic-title a:hover {
    color: var(--fq-yd-green-deep);
}

.fq-yd-portal-topic-list {
    list-style: none;
    margin: 0;
    padding: 8px 12px 10px;
    columns: 1;
    column-gap: 28px;
}

@media (min-width: 560px) {
    .fq-yd-portal-topic-list {
        columns: 2;
    }
}

.fq-yd-portal-topic-list li {
    break-inside: avoid;
    padding: 6px 4px;
    border-bottom: 1px dotted #eee;
    font-size: 14px;
    line-height: 1.45;
}

.fq-yd-portal-topic-list a {
    color: #333;
    text-decoration: none;
}

.fq-yd-portal-topic-list a:hover {
    color: var(--fq-yd-green-deep);
    text-decoration: underline;
}

.fq-yd-portal-topic-body {
    padding: 0 12px 12px;
}

.fq-yd-topic-lead {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0 10px;
    border-bottom: 1px dashed #e8ebe4;
    margin-bottom: 4px;
}

.fq-yd-topic-lead-thumb {
    flex: 0 0 108px;
    width: 108px;
    height: 81px;
    border-radius: var(--fq-yd-radius-sm);
    overflow: hidden;
    background: #eef2ea;
}

.fq-yd-topic-lead-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fq-yd-topic-lead-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dce8f0 0%, #e8f5e0 100%);
}

.fq-yd-topic-lead-text {
    flex: 1 1 auto;
    min-width: 0;
}

.fq-yd-topic-lead-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.fq-yd-topic-lead-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.fq-yd-topic-lead-title a:hover {
    color: var(--fq-yd-green-deep);
    text-decoration: underline;
}

.fq-yd-topic-lead-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fq-yd-portal-topic-list--stack {
    columns: 1;
    padding-top: 4px;
}

@media (min-width: 560px) {
    .fq-yd-portal-topic-list.fq-yd-portal-topic-list--stack {
        columns: 1;
    }
}

.fq-yd-portal-topic-pill {
    display: inline;
    margin-right: 6px;
    white-space: nowrap;
}

.fq-yd-portal-topic-bc {
    color: #999;
    font-size: 13px;
}

.fq-yd-portal-topic-tag {
    color: #c2410c;
    font-size: 13px;
    font-weight: 600;
}

.fq-yd-portal-topic-li-title {
    display: inline;
}

/* 首页三栏网格（参照门户首屏：左轮播+推荐 / 中导读+最近更新 / 右侧栏） */
.fq-yd-portal--grid {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.fq-yd-portal--grid .fq-yd-portal-col--left {
    order: 1;
}

.fq-yd-portal--grid .fq-yd-portal-col--mid {
    order: 2;
}

.fq-yd-portal--grid .fq-yd-portal-col--pics {
    order: 3;
}

.fq-yd-portal--grid .fq-yd-portal-col--topics {
    order: 4;
}

.fq-yd-portal--grid .fq-yd-portal-col--side {
    order: 5;
}

@media (min-width: 992px) {
    .fq-min-cols.fq-yd-portal--grid {
        display: grid;
        grid-template-columns: minmax(210px, 0.95fr) minmax(300px, 1.2fr) var(--fq-min-sidebar);
        grid-template-rows: auto auto auto;
        gap: var(--fq-min-cols-gap);
        align-items: start;
    }

    .fq-yd-portal--grid .fq-yd-portal-col--left {
        grid-column: 1;
        grid-row: 1;
        order: unset;
    }

    .fq-yd-portal--grid .fq-yd-portal-col--mid {
        grid-column: 2;
        grid-row: 1;
        order: unset;
    }

    .fq-yd-portal--grid .fq-yd-portal-col--side {
        grid-column: 3;
        grid-row: 1 / -1;
        order: unset;
        position: sticky;
        top: 12px;
        align-self: start;
        width: 100%;
        max-width: var(--fq-min-sidebar);
    }

    .fq-yd-portal--grid .fq-yd-portal-col--span2 {
        grid-column: 1 / 3;
        order: unset;
    }

    .fq-yd-portal--grid .fq-yd-portal-col--pics {
        grid-row: 2;
    }

    .fq-yd-portal--grid .fq-yd-portal-col--topics {
        grid-row: 3;
    }
}

.fq-yd-portal-panel--flush {
    padding: 0;
    overflow: hidden;
}

.fq-yd-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: 0;
}

.fq-yd-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.fq-yd-slide-link {
    display: block;
    height: 100%;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.fq-yd-slide-img-wrap {
    display: block;
    height: 100%;
}

.fq-yd-slide-img,
.fq-yd-slide-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fq-yd-slide-ph {
    background: linear-gradient(145deg, #3d5a4a 0%, #1a2e22 100%);
}

.fq-yd-slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 12px 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.fq-yd-slide-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
}

.fq-yd-slider-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    padding: 8px 10px 10px;
    background: #fff;
    border: 1px solid var(--fq-yd-border);
    border-top: none;
    border-radius: 0 0 var(--fq-yd-radius) var(--fq-yd-radius);
}

.fq-yd-slider-dot {
    min-width: 24px;
    height: 24px;
    padding: 0 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
    font-size: 11px;
    color: #555;
    line-height: 1;
}

.fq-yd-slider-dot.is-active {
    background: var(--fq-yd-green);
    border-color: var(--fq-yd-green);
    color: #fff;
}

.fq-yd-portal-hero--compact {
    padding: 16px 18px 14px;
    margin-bottom: 10px;
}

.fq-yd-portal-shortcols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

@media (min-width: 480px) {
    .fq-yd-portal-shortcols {
        grid-template-columns: 1fr 1fr;
    }
}

.fq-yd-portal-shortcol {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius-sm);
    box-shadow: var(--fq-yd-shadow-sm);
    min-width: 0;
}

.fq-yd-portal-shortcol .fq-yd-portal-list {
    padding: 6px 12px 8px;
}

.fq-yd-portal-list--dense li {
    padding: 4px 0 4px 14px;
}

.fq-yd-portal-list--grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 20px;
    padding: 6px 14px 12px;
}

@media (min-width: 520px) {
    .fq-yd-portal-list--grid2 {
        grid-template-columns: 1fr 1fr;
    }
}

.fq-yd-portal-list--grid2 li {
    padding: 6px 0;
    border-bottom: 1px dotted #e5e5e5;
    font-size: 14px;
    line-height: 1.45;
}

.fq-yd-portal-list--grid2 a {
    color: #333;
    text-decoration: none;
}

.fq-yd-portal-list--grid2 a:hover {
    color: var(--fq-yd-green-deep);
    text-decoration: underline;
}

/* Home flash slider fallback styles.
 * theme.css 先于 dede-home.css 加载；若 dede-home 404/被拦截，仅靠本段也能叠层轮播。
 * 缺省时 <li> 会按文档流竖排，出现「左侧一列小图」的错位。
 */
.dede-index .flashnews {
    width: 100%;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #efefef;
}

.dede-index .flashnews .pic ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    height: 240px;
    width: 100%;
    max-width: 350px;
    background: #f2f2f2;
    overflow: hidden;
}

.dede-index .flashnews .pic li {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    list-style: none;
}

.dede-index .flashnews .pic li.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.dede-index .flashnews .pic img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border: 0;
}

.dede-index .flashnews .pic li a {
    display: block;
    position: relative;
    height: 100%;
}

.dede-index .flashnews .pic .dede-flash-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 12px;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    background: rgba(0, 0, 0, 0.52);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dede-index .flashnews .dede-flash-dots {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}

.dede-index .flashnews .dede-flash-dot {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #1f2937;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.dede-index .flashnews .dede-flash-dot.is-active {
    background: #ff8f00;
    border-color: #ef6c00;
    color: #fff;
}

.fq-yd-side-login-note {
    margin-top: 0;
}

.fq-yd-side-login-welcome {
    margin: 0 0 10px;
    font-size: 14px;
    color: #444;
}

.fq-yd-side-login-actions {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.fq-yd-side-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background var(--fq-yd-transition), color var(--fq-yd-transition);
}

.fq-yd-side-btn--primary {
    background: var(--fq-yd-green);
    color: #fff;
    border-color: var(--fq-yd-green-deep);
}

.fq-yd-side-btn--primary:hover {
    background: var(--fq-yd-green-deep);
    color: #fff;
    text-decoration: none;
}

.fq-yd-side-btn--ghost {
    background: #fff;
    color: var(--fq-yd-green-deep);
    border-color: #c5d9b8;
}

.fq-yd-side-btn--ghost:hover {
    background: var(--fq-yd-green-tint);
    text-decoration: none;
}

.fq-yd-side-link {
    font-size: 13px;
    margin-left: 4px;
}

.fq-yd-side-avatars {
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 8px;
}

.fq-yd-side-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #444;
    font-size: 12px;
    text-align: center;
}

.fq-yd-side-avatar:hover {
    color: var(--fq-yd-green-deep);
}

.fq-yd-side-avatar-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: linear-gradient(160deg, #dde8f0, #e8f2e0);
    color: #3d6630;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--fq-yd-border);
}

.fq-yd-side-avatar-name {
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

.fq-yd-side-promo {
    position: relative;
    margin-bottom: var(--sp-4);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e3eadf;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.fq-yd-side-promo:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(16, 24, 40, 0.08);
}

.fq-yd-side-promo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.4), transparent 42%),
        linear-gradient(145deg, #edf6ea 0%, #e3efdc 55%, #f3f9ef 100%);
    opacity: 1;
}

.fq-yd-side-promo-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 94px;
    padding: 14px 16px;
}

.fq-yd-side-promo-title-link,
.fq-yd-side-promo-title-link:hover,
.fq-yd-side-promo-title-link:focus-visible {
    text-decoration: none;
}

.fq-yd-side-promo-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 6px;
    color: #2f4a39;
    line-height: 1.25;
    text-decoration: none;
}

.fq-yd-side-promo-desc {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.45;
    color: #5f7968;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(76, 107, 81, 0.15);
    text-decoration: none;
}

.fq-yd-side-promo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fq-yd-side-promo-tags a {
    display: inline-block;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d5e6cf;
    color: #3f5f4a;
    line-height: 1.2;
    text-decoration: none;
}

.fq-yd-side-promo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    width: fit-content;
    min-width: 72px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #cde0c7;
    background: #fff;
    color: #2e5f2d;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
}

.fq-yd-side-promo-cta:hover {
    color: #245724;
    text-decoration: none;
    background: #f6fbf4;
}

.fq-yd-side-promo-tags a:hover {
    color: #2a6f2a;
    border-color: #c2d9ba;
    background: #f8fcf6;
    text-decoration: none;
}

.fq-yd-side-promo:hover .fq-yd-side-promo-title {
    color: #2a6f2a;
}

.fq-yd-side-promo:hover .fq-yd-side-promo-desc {
    color: #516f5f;
}

.fq-yd-side-bullets {
    list-style: disc;
    margin: 0 0 0 1.1em;
    padding: 6px 0 4px;
    font-size: 13px;
    line-height: 1.55;
}

.fq-yd-side-bullets li {
    margin: 5px 0;
    padding-left: 2px;
}

.fq-yd-side-bullets a {
    color: #333;
    text-decoration: none;
}

.fq-yd-side-bullets a:hover {
    color: var(--fq-yd-green-deep);
    text-decoration: underline;
}

.fq-yd-side-hot--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    padding-top: 4px;
}

.fq-yd-side-hot--grid .fq-yd-side-hot-a {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.fq-yd-side-hot--grid .fq-yd-side-hot-thumb {
    flex: none;
    width: 100%;
    height: 64px;
}

.fq-yd-portal-side .fq-yd-side-title {
    margin-bottom: 4px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--fq-yd-green);
    font-size: 1.02rem;
}

.fq-yd-side-card {
    margin-bottom: var(--sp-4);
    border-radius: 10px;
    border: 1px solid #e8ece7;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

.fq-yd-side-feature-list,
.fq-yd-side-text-list {
    list-style: none;
    margin: 0;
    padding: 4px 0 0;
}

.fq-yd-side-feature-list li,
.fq-yd-side-text-list li {
    margin: 0;
    border-bottom: 1px solid #ececec;
}

.fq-yd-side-feature-list li:last-child,
.fq-yd-side-text-list li:last-child {
    border-bottom: none;
}

.fq-min-side-list .fq-yd-side-feature-a {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 4px 0 6px;
    text-decoration: none;
}

.fq-min-side-list .fq-yd-side-feature-thumb {
    width: 112px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(145deg, #e7efea, #edf3ef);
}

.fq-min-side-list .fq-yd-side-feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fq-min-side-list .fq-yd-side-feature-body {
    min-width: 0;
    padding-top: 1px;
}

.fq-min-side-list .fq-yd-side-feature-txt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.45;
    color: #222;
}

.fq-min-side-list .fq-yd-side-feature-meta {
    font-size: 12px;
    color: #8b8f96;
    font-variant-numeric: tabular-nums;
}

.fq-min-side-list .fq-yd-side-feature-a:hover .fq-yd-side-feature-txt {
    color: var(--fq-yd-green-deep);
}

.fq-min-side-list .fq-yd-side-text-a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 0;
    text-decoration: none;
}

.fq-min-side-list .fq-yd-side-text-txt {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.45;
    color: #2b2b2b;
}

.fq-min-side-list .fq-yd-side-text-meta {
    flex: 0 0 auto;
    min-width: 40px;
    text-align: right;
    font-size: 12px;
    line-height: 1.2;
    color: #969696;
    font-variant-numeric: tabular-nums;
}

.fq-min-side-list .fq-yd-side-text-a:hover .fq-yd-side-text-txt {
    color: var(--fq-yd-green-deep);
}

.fq-min-side-list .fq-yd-side-feature-a:hover .fq-yd-side-feature-txt {
    color: var(--fq-yd-green-deep);
}

.fq-yd-side-text-list--hot {
    counter-reset: hotRank;
}

.fq-yd-side-text-list--hot .fq-yd-side-text-a {
    position: relative;
    padding-left: 18px;
}

.fq-yd-side-text-list--hot .fq-yd-side-text-a::before {
    counter-increment: hotRank;
    content: counter(hotRank);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 3px;
    background: #eaf3e4;
    color: #486342;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    font-weight: 600;
}

.fq-yd-side-text-list--hot li:nth-child(-n+3) .fq-yd-side-text-a::before {
    background: #d7ead0;
    color: #2e5f2d;
}

.fq-yd-side-feature-thumb .fq-yd-side-hot-ph {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #e5ece6 0%, #dfe8e1 100%);
}

.fq-yd-side-feature-thumb .fq-yd-side-hot-ph::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 0 0 1px rgba(114, 134, 120, 0.2);
}

@media (max-width: 520px) {
    .fq-min-side-list .fq-yd-side-feature-a {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 8px;
    }

    .fq-min-side-list .fq-yd-side-feature-thumb {
        width: 96px;
        height: 64px;
    }

    .fq-min-side-list .fq-yd-side-text-a {
        align-items: flex-start;
    }

    .fq-min-side-list .fq-yd-side-text-meta {
        min-width: 36px;
        padding-top: 2px;
    }
}

.fq-yd-side-list li {
    padding: 5px 0;
}

.fq-yd-side-hot {
    list-style: none;
    margin: 0;
    padding: 6px 0 0;
}

.fq-yd-side-hot li {
    margin-bottom: 10px;
}

.fq-yd-side-hot-a {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
}

.fq-yd-side-hot-a:hover {
    color: var(--fq-yd-green-deep);
}

.fq-yd-side-hot-thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 42px;
    border-radius: 4px;
    overflow: hidden;
    background: #eef2ea;
}

.fq-yd-side-hot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fq-yd-side-hot-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3ecf5 0%, #e8f5e0 100%);
}

.fq-yd-side-hot-txt {
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* —— 个人中心样式 —— */
.fq-min-profile-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--site-module-gap);
    margin-bottom: var(--site-module-gap);
}

@media (min-width: 992px) {
    .fq-min-profile-layout {
        grid-template-columns: 320px 1fr;
        gap: var(--site-module-gap);
    }
}

/* 个人信息卡片 */
.fq-min-profile-card {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    padding: 24px;
    box-shadow: var(--fq-yd-shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fq-min-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, var(--fq-yd-green) 0%, var(--fq-yd-green-soft) 100%);
    z-index: 1;
}

.fq-min-profile-avatar {
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
}

.fq-min-profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: var(--fq-yd-shadow-md);
    object-fit: cover;
    transition: transform var(--fq-yd-transition);
}

.fq-min-profile-avatar img:hover {
    transform: scale(1.05);
}

.fq-min-profile-name {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.fq-min-profile-signature {
    position: relative;
    z-index: 2;
    color: var(--fq-yd-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
    font-style: italic;
}

.fq-min-profile-stats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
    border-top: 1px solid var(--fq-yd-border);
    margin-top: 16px;
}

.fq-min-profile-stat {
    text-align: center;
}

.fq-min-profile-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fq-yd-green);
    line-height: 1;
}

.fq-min-profile-stat-label {
    display: block;
    font-size: 12px;
    color: var(--fq-yd-muted);
    margin-top: 4px;
}

/* 文章列表区域 */
.fq-min-profile-content {
    background: var(--fq-yd-panel);
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius);
    padding: 24px;
    box-shadow: var(--fq-yd-shadow-md);
}

.fq-min-profile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--fq-yd-green-tint);
}

.fq-min-profile-head h1 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.fq-min-profile-tabs {
    display: flex;
    gap: 8px;
}

.fq-min-profile-tab {
    padding: 6px 12px;
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius-sm);
    background: #fff;
    color: var(--fq-yd-muted);
    text-decoration: none;
    font-size: 13px;
    transition: all var(--fq-yd-transition);
}

.fq-min-profile-tab:hover,
.fq-min-profile-tab.active {
    background: var(--fq-yd-green);
    color: #fff;
    border-color: var(--fq-yd-green);
}

/* 文章卡片 */
.fq-min-article-card {
    background: #fff;
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius-sm);
    padding: 20px;
    margin-bottom: 16px;
    transition: all var(--fq-yd-transition);
    position: relative;
}

.fq-min-article-card:hover {
    box-shadow: var(--fq-yd-shadow-md);
    border-color: var(--fq-yd-green-soft);
    transform: translateY(-2px);
}

.fq-min-article-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.fq-min-article-card-cover {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: var(--fq-yd-radius-sm);
    overflow: hidden;
    background: var(--fq-yd-topbar-bg);
}

.fq-min-article-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--fq-yd-transition);
}

.fq-min-article-card:hover .fq-min-article-card-cover img {
    transform: scale(1.05);
}

.fq-min-article-card-title {
    flex: 1;
    min-width: 0;
}

.fq-min-article-card-title h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.fq-min-article-card-title h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color var(--fq-yd-transition);
}

.fq-min-article-card-title h3 a:hover {
    color: var(--fq-yd-green);
}

.fq-min-article-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--fq-yd-muted);
    margin-bottom: 12px;
}

.fq-min-article-card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fq-min-article-card-meta-sep {
    color: #ddd;
}

.fq-min-article-card-summary {
    color: var(--fq-yd-muted);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.fq-min-article-card-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: var(--fq-yd-muted);
}

.fq-min-article-card-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 空状态 */
.fq-min-profile-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--fq-yd-muted);
}

.fq-min-profile-empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.fq-min-profile-empty-text {
    font-size: 16px;
    margin-bottom: 8px;
}

.fq-min-profile-empty-subtext {
    font-size: 14px;
    color: #999;
}

/* 分页美化 */
.fq-min-page-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--fq-yd-border);
}

.fq-min-page-nav a,
.fq-min-page-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--fq-yd-border);
    border-radius: var(--fq-yd-radius-sm);
    background: #fff;
    color: var(--fq-yd-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--fq-yd-transition);
}

.fq-min-page-nav a:hover {
    background: var(--fq-yd-green);
    color: #fff;
    border-color: var(--fq-yd-green);
}

.fq-min-page-nav span.fq-min-page-current {
    background: var(--fq-yd-green);
    color: #fff;
    border-color: var(--fq-yd-green);
    font-weight: 700;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .fq-min-profile-layout {
        grid-template-columns: 1fr;
    }
    
    .fq-min-profile-card {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .fq-min-article-card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .fq-min-article-card-cover {
        width: 100%;
        height: 160px;
    }
    
    .fq-min-profile-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .fq-min-profile-stat {
        flex: 1;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .fq-min-profile-content {
        padding: 16px;
    }
    
    .fq-min-profile-card {
        padding: 20px 16px;
    }
    
    .fq-min-article-card {
        padding: 16px;
    }
    
    .fq-min-profile-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* —— 页脚 —— */
.fq-min-footer {
    clear: both;
    background: #ffffff;
    border-top: 1px solid var(--yd-box-border, #e2e8f0);
    padding: 36px 24px 44px;
    font-size: 13px;
    color: #666;
}

.fq-min-footer-inner {
    text-align: center;
}

.fq-min-footer-links {
    margin: 0 0 10px;
}

.fq-min-footer-links a {
    color: #444;
    transition: color var(--fq-yd-transition);
}

.fq-min-footer-links a:hover {
    color: var(--yd-green-dark, #2d7a1e);
}

.fq-min-footer-sep {
    margin: 0 10px;
    color: #ccc;
}

.fq-min-footer-copy {
    margin: 0;
    color: #999;
    font-size: 12px;
}

/*
 * 悦读文网首页版式复刻（themes/default）
 * 参考：https://www.yueduwen.com/index.html
 * 主题色变量已合并到文件顶部 :root
 */

.yd-topbar .yd-topbar-site {
    color: #888;
    font-weight: 400;
}

.yd-header .fq-min-header-top {
    padding-bottom: var(--sp-5);
}

.yd-quicknav ul {
    gap: 6px 12px;
}

.yd-quicknav a {
    font-size: 13px;
    white-space: nowrap;
}

.yd-nav-stack {
    margin-bottom: 0;
}

.yd-nav-main {
    background: var(--yd-nav-main-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.yd-nav-inner {
    /* 保持与 .fq-min-center 一致的左右留白，避免“头部比内容更宽”的错觉 */
    padding-top: 0;
    padding-bottom: 0;
}

/* 使用 ul.yd-nav-list 提高优先级，避免被其它 ul 规则冲掉 list-style/display */
ul.yd-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

ul.yd-nav-list > li > a,
.yd-nav-list li a {
    display: block;
    padding: 0 18px;
    line-height: 44px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.yd-nav-list li:last-child a {
    border-right: none;
}

.yd-nav-list li a:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #fff;
}

ul.yd-nav-list > li.is-current > a {
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
}

.yd-nav-list li a:hover,
.yd-nav-list li a:focus-visible {
    text-decoration: none;
}

ul.yd-nav-list > li > a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.yd-nav-sub {
    background: #ffffff;
    border-bottom: 1px solid var(--yd-box-border);
    padding: 10px 0 12px;
}

ul.yd-nav-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
}

ul.yd-nav-tags > li > a,
.yd-nav-tags a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    color: #3d5a38;
    text-decoration: none;
    border-radius: var(--fq-yd-radius-sm);
}

.yd-nav-tags a:hover {
    background: #e3efd8;
    color: var(--yd-green-dark);
}

/* 首页主侧两栏 */
.yd-home-root.fq-min-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fq-min-cols-gap);
    align-items: start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .yd-home-root.fq-min-cols {
        grid-template-columns: minmax(0, 1fr) var(--fq-min-sidebar);
        gap: var(--fq-min-cols-gap);
    }

    .yd-home-side.fq-min-sidebar {
        position: sticky;
        top: 16px;
    }
}

.fq-min-sidebar .fq-yd-side-hot--grid {
    /* 侧栏变窄后，热点图文改为单列更舒适 */
    grid-template-columns: 1fr;
}

.fq-min-sidebar .fq-yd-side-avatars {
    /* 窄侧栏内双列，避免三列头像+文案过挤 */
    grid-template-columns: repeat(2, 1fr);
}

/* 侧栏内缩略图略减，给标题留足宽度 */
.fq-min-sidebar .fq-min-side-list .fq-yd-side-feature-a {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
}

.fq-min-sidebar .fq-min-side-list .fq-yd-side-feature-thumb {
    width: 96px;
    height: 62px;
}

.yd-home-main {
    min-width: 0;
}

.yd-block {
    background: #fff;
    border: 1px solid var(--yd-box-border);
    margin-bottom: var(--sp-4);
    padding: var(--sp-4);
    border-radius: 2px;
}

.yd-block-title {
    margin: 0 0 12px;
    padding: 8px 10px;
    font-size: 15px;
    color: #1a1a1a;
    background: var(--yd-title-bg);
    border-left: 4px solid var(--yd-green);
    border-bottom: 1px solid #dfe8d6;
}

.yd-block-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: -6px -6px 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--yd-box-border);
}

.yd-block-title--inline {
    margin: 0;
    padding: 0 0 0 10px;
    border-left: 4px solid var(--yd-green);
    background: none;
    border-bottom: none;
}

.yd-more {
    font-size: 12px;
    color: #888;
    text-decoration: none;
    white-space: nowrap;
}

.yd-more:hover {
    color: var(--yd-green-dark);
}

/* 导读 */
.yd-lead-title {
    margin: 0 0 12px;
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    font-weight: 700;
    line-height: 1.35;
}

.yd-lead-title a {
    color: var(--yd-green-dark);
    text-decoration: none;
}

.yd-lead-title a:hover {
    text-decoration: underline;
}

.yd-lead-text {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.85;
    color: #444;
    text-indent: 2em;
}

.yd-lead-full {
    display: inline;
    margin-left: 0.35em;
    font-weight: 600;
    color: var(--yd-green-dark);
    text-decoration: none;
    text-indent: 0;
}

.yd-lead-full:hover {
    text-decoration: underline;
}

.yd-lead-strip {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    border-top: 1px dashed #ddd;
}

.yd-lead-strip-a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 72px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    text-align: center;
}

.yd-lead-strip-a:hover {
    color: var(--yd-green-dark);
}

.yd-lead-strip-ph {
    display: block;
    width: 56px;
    height: 42px;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
    border: 1px solid #e0e0e0;
}

.yd-lead-strip-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yd-lead-strip-fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dde8dd 0%, #c8dcc8 100%);
}

.yd-lead-strip-t {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.yd-cols2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 28px;
}

@media (min-width: 560px) {
    .yd-cols2 {
        grid-template-columns: 1fr 1fr;
    }
}

.yd-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.yd-list--dots li {
    position: relative;
    padding: 5px 0 5px 14px;
    border-bottom: 1px dotted #e0e0e0;
}

.yd-list--dots li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--yd-green);
    font-weight: 700;
}

.yd-list--dots a {
    color: #333;
    text-decoration: none;
}

.yd-list--dots a:hover {
    color: var(--yd-green-dark);
    text-decoration: underline;
}

.yd-list--dated li {
    padding: 6px 0;
    border-bottom: 1px dotted #e5e5e5;
}

.yd-list--dated a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.yd-list--dated a:hover {
    color: var(--yd-green-dark);
}

.yd-date {
    flex: 0 0 auto;
    font-size: 12px;
    color: #888;
    font-variant-numeric: tabular-nums;
}

.yd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 640px) {
    .yd-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.yd-gallery-card {
    text-decoration: none;
    color: inherit;
}

.yd-gallery-img {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    margin-bottom: 6px;
    background: #f0f0f0;
}

.yd-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yd-gallery-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #e0ebe0, #d0d8d0);
}

.yd-gallery-cap {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yd-topic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

@media (min-width: 780px) {
    .yd-topic-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.yd-topic {
    background: #fff;
    border: 1px solid var(--yd-box-border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0;
}

.yd-topic-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    background: linear-gradient(180deg, #f5faf2 0%, #eef5e8 100%);
    border-bottom: 1px solid #d8e4ce;
}

.yd-topic-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.yd-topic-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.yd-topic-title a:hover {
    color: var(--yd-green-dark);
}

.yd-topic-body {
    padding: 10px 12px 12px;
}

.yd-topic-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 520px) {
    .yd-topic-split {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.yd-topic-spot {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.yd-topic-spot-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 75px;
    border-radius: 2px;
    overflow: hidden;
    background: #edf2e8;
}

.yd-topic-spot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yd-topic-spot-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dce6dc, #cfdccf);
}

.yd-topic-spot-text {
    min-width: 0;
}

.yd-topic-spot-h {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.yd-topic-spot-h a {
    color: #1a1a1a;
    text-decoration: none;
}

.yd-topic-spot-h a:hover {
    color: var(--yd-green-dark);
}

.yd-topic-spot-sum {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yd-topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.yd-topic-list li {
    padding: 5px 0;
    border-bottom: 1px dotted #eee;
}

.yd-topic-list a {
    text-decoration: none;
    color: #333;
}

.yd-topic-list a:hover {
    color: var(--yd-green-dark);
}

.yd-bracket {
    color: #999;
    margin-right: 4px;
}

.yd-bracket-inner {
    color: #b45309;
    font-weight: 600;
}

.yd-side-ol {
    margin: 0 0 0 1.2em;
    padding: 4px 0 0;
    font-size: 13px;
    line-height: 1.55;
}

.yd-side-ol li {
    margin: 5px 0;
}

.yd-side-ol a {
    color: #333;
    text-decoration: none;
}

.yd-side-ol a:hover {
    color: var(--yd-green-dark);
}

.yd-side-block {
    margin-bottom: 12px;
}

.yd-footer .fq-min-footer-links a:hover {
    color: var(--yd-green-dark);
}
