:root {
    /* ===== 主题变量（亮色默认）===== */
    --bg: #ffffff;            /* 页面主背景 */
    --bg-soft: #faf7f2;       /* 浅色块（页脚/提示/栏目高亮底） */
    --bg-hover: #fcfaf8;      /* 悬浮浅底/图占位 */
    --bg-surface: #ffffff;    /* 卡片/面板白底 */
    --text-strong: #1a1a1a;   /* 主文字 */
    --text: #555;             /* 正文 */
    --text-weak: #8a939e;     /* 次要文字/日期 */
    --border: #e5e5e5;        /* 常规边框/分隔线 */
    --border-strong: #cfd8e3; /* 输入框等明显边框 */
    --accent: #811C21;        /* 品牌深红 */
    --accent-hover: #A24A3A;  /* 红色 hover */
    --accent-soft: #faf7f2;   /* 红色系浅底 */
    --accent-soft-border: #E8BD98; /* 金色装饰 */
    --link: #1a5c8f;          /* 链接蓝 */
    --title: #0d2740;         /* 标题深蓝 */

    /* 背景纸张颗粒：极低对比度的中性噪点，只在页面底色上可见，卡片仍是纯白 */
    --bg-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
    --bg-texture-size: 180px 180px;
    /* B. 帘纹纸：极细竖纹，4px 一个周期，只有 1.8% 的暖灰 */
    --bg-laid: repeating-linear-gradient(90deg, rgba(120,96,72,.018) 0 1px, rgba(0,0,0,0) 1px 4px);
    /* C. 顶部品牌光晕：深红极淡，从上往下 500px 内散掉 */
    --bg-glow: radial-gradient(1100px 480px at 50% -140px, rgba(129,28,33,.045), rgba(129,28,33,0) 70%);
    color-scheme: light;
}

/* ===== 深色模式（跟随系统/浏览器）===== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #141414;
        --bg-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
        --bg-laid: repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, rgba(0,0,0,0) 1px 4px);
        --bg-glow: radial-gradient(1100px 480px at 50% -140px, rgba(192,57,43,.07), rgba(192,57,43,0) 70%);
        --bg-soft: #1e1e1e;
        --bg-hover: #262626;
        --bg-surface: #1a1a1c;
        --text-strong: #e8e6e3;
        --text: #b8b4ae;
        --text-weak: #9a958e;        /* 深色下提高对比度 */
        --border: #333336;
        --border-strong: #4a4a4e;
        --accent: #c0392b;        /* 深色下用稍亮的红保证可读 */
        --accent-hover: #d45545;
        --accent-soft: #2a1c1a;
        --accent-soft-border: #8a6a50;
        --link: #6da8d8;
        --title: #e8e6e3;
        color-scheme: dark;
    }

    /* ===== 深色模式细节微调 ===== */
    body { background: var(--bg); }
    .site-header, .site-footer { background: var(--bg-surface); }
    .hero-title, .journal-title, .article-detail-title, .news-detail-title,
    .result-title a, .news-title, .card-title, h1, h2, h3, h4 {
        color: var(--text-strong);
    }
    .news-detail-content img, .news-detail-content { filter: none; }
    .article-detail-content img { filter: none; }
    /* 浅底色图片容器 */
    .cover-placeholder, .news-thumb { background: var(--bg-hover); }
    /* 代码/正文链接蓝在深色下可读 */
    .ref-item a:link, .ref-item a:visited, .result-links a { color: var(--link); }
    /* 输入控件深色 */
    input, select, textarea {
        background-color: var(--bg-surface);
        color: var(--text-strong);
        border-color: var(--border-strong);
    }
    input::placeholder { color: var(--text-weak); }
    /* 表格斑马/表头 */
    .publishing-table th, .admin-tbl th { background: var(--bg-soft); color: var(--text-strong); }
    /* 图片链接 hover 底色 */
    .auth-link:hover, .jp-item:hover span { background: var(--bg-hover); }
}

html, body { height: 100%; }
body.page-body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; }
body.page-body .page-main { flex: 1 0 auto; }
body.page-body .site-footer { flex-shrink: 0; }

html {
    /* 现代学术风：干净留白、强可读性 */
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--bg);
    /* C 光晕（不重复）→ B 帘纹（平铺）→ A 颗粒（平铺），后者盖前者 */
    background-image: var(--bg-glow), var(--bg-laid), var(--bg-texture);
    background-repeat: no-repeat, repeat, repeat;
    background-size: auto, auto, var(--bg-texture-size);
    background-position: center top, 0 0, 0 0;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
    color: var(--text-strong);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 .5em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ===== 头部 ===== */
.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
    border-top: 3px solid var(--accent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 10px 20px; }
.main-nav { margin-left: auto; }
.brand { display: flex; align-items: center; gap: 10px; line-height: 0; text-decoration: none; }
.brand-name { font-size: .98rem; font-weight: 600; letter-spacing: .06em; color: var(--accent); white-space: nowrap; line-height: 1.2; }
.brand-logo { height: 52px; width: auto; display: block; }
.main-nav { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: .95rem; align-items: center; justify-content: flex-end; }
.main-nav a { color: var(--text-strong); padding: 4px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }
/* 右上角「投编审稿」：蓝色主行动按钮（与其他菜单项区分） */
.main-nav a.nav-blue { color: #fff; background: var(--link); border: 1px solid var(--link); border-radius: 999px;
                       padding: 5px 16px; font-weight: 600; transition: background .18s, border-color .18s, color .18s; }
.main-nav a.nav-blue:hover { background: #14507c; border-color: #14507c; color: #fff; text-decoration: none; }
/* 暗色模式：--link 会变浅蓝，白字对比不足 → 固定用深蓝底 */
@media (prefers-color-scheme: dark) {
    .main-nav a.nav-blue { background: #1a5c8f; border-color: #1a5c8f; color: #fff; }
    .main-nav a.nav-blue:hover { background: #20699f; border-color: #20699f; }
}
/* 账户登录/注册框（上下两行 + 边框） */
.auth-link { color: var(--accent); font-size: .88rem; padding: 5px 18px; text-align: center; text-decoration: none; }
.auth-link + .auth-link { border-top: 1px solid var(--border); }
.auth-link:hover { background: var(--bg-soft); color: var(--accent); text-decoration: none; }
.auth-link-reg { background: var(--accent); color: #fff; }
.auth-link-reg:hover { background: var(--accent-hover); color: #fff; }

/* ===== 主区 ===== */
.site-main { padding: 36px 20px 56px; }

/* Hero */
.hero { text-align: center; padding: 34px 0 26px; }
.hero-title { font-size: 2.1rem; color: var(--accent); letter-spacing: 2px; }
.hero-sub { color: var(--text-weak); font-size: .85rem; margin: 4px 0 14px; letter-spacing: 1px; }
.hero-desc { color: var(--text); margin: 0 auto; white-space: nowrap; }
/* 窄屏放不下时允许折行，避免溢出 */
@media (max-width: 980px) { .hero-desc { white-space: normal; } }

/* 三刊卡 */
.journals { margin: 22px 0 36px; }
.journals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.journal-card {
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 8px;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.journal-card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(13,90,167,.08); }
.journal-card-cover { margin: -18px -18px 14px; height: 260px; background: var(--bg-hover); overflow: hidden; }
.journal-card-cover img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--bg-surface); }
.cover-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-weak); font-size: 1.1rem; font-family: "Songti SC","Noto Serif CJK SC",serif; }
.journal-name { font-size: 1.25rem; color: var(--accent); margin-bottom: 2px; }
.journal-name a { color: inherit; text-decoration: none; }
.journal-name a:hover { color: var(--accent); }
.journal-issue { color: var(--accent); font-size: .8rem; font-weight: 600; margin: 2px 0 6px; }
.journal-sub { color: var(--text-weak); font-size: .85rem; margin-bottom: 14px; line-height: 1.7; }
.journal-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.journal-links .btn { text-align: center; }
.btn {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    font-size: .85rem;
    color: var(--accent);
    background: var(--bg-surface);
}
.btn:hover { background: var(--bg-hover); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent); }
/* 投稿/审稿/办公通道按钮：外框与文字均用 CMYK C100 M85 Y31 K0（≈ #003D78）*/
.btn-channel { border-color: #003D78; color: #003D78; }
.btn-channel:hover { border-color: #003D78; color: #003D78; }

/* 双栏 */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 30px; }
.panel { border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; background: var(--bg-surface); }
.panel-title { font-size: 1.05rem; color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 8px; margin-bottom: 12px; }
.item-list { list-style: none; margin: 0; padding: 0; }
.item-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.item-row:last-child { border-bottom: none; }
.item-date { color: var(--text-weak); font-size: .78rem; white-space: nowrap; }

/* 采编通道表 */
.publishing-panel { margin-bottom: 20px; }
.publishing-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.publishing-table th, .publishing-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.publishing-table th { color: var(--accent); white-space: nowrap; }
/* 期刊总览「投稿与审稿通道」：主色统一为采编系统蓝 rgb(0,61,120) */
.publishing-panel .panel-title { color: #003D78; border-bottom-color: #003D78; }
.publishing-table th { color: #003D78; }
.publishing-table a { color: #003D78; }
.publishing-table a:hover { color: #002a55; }
.panel-hint { color: var(--text-weak); font-size: .78rem; margin: 10px 0 0; }

/* ===== 页脚 ===== */
.site-footer { border-top: 2px solid var(--accent); background: var(--bg-soft); padding: 30px 0 0; font-size: .85rem; color: var(--text); }
.footer-cols { display: grid; grid-template-columns: 280px 1fr 400px; gap: 32px; padding-bottom: 24px; }
.footer-col h4 { font-size: .95rem; color: var(--accent); margin: 0 0 12px; }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo { height: 42px; width: auto; }
.footer-brand-name { font-weight: 700; color: var(--accent); font-size: 1.05rem; }
.footer-contact p { margin: 4px 0; line-height: 1.7; }
.footer-col-links ul { list-style: none; margin: 0; padding: 0; }
/* 常用链接：分栏数由后台链接数量决定（--link-cols 由底栏模板按数量注入，1~4 列）*/
.footer-col-links ul.footer-links-cols { columns: var(--link-cols, 2); column-gap: 26px; }
.footer-col-links li { padding: 1px 0; line-height: 1.45; break-inside: avoid; }
/* 链接列数较多时，把中间列放宽一点，避免中文标题被挤断 */
@media (min-width: 961px) {
  .footer-cols[data-link-cols="3"], .footer-cols[data-link-cols="4"] { grid-template-columns: 240px minmax(0, 1fr) 340px; }
}
.footer-col-links a { color: var(--text); text-decoration: none; }
.footer-col-links a:hover { color: var(--accent); text-decoration: underline; }
.wx-qr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; align-items: start; }
.wx-qr-item { text-align: center; }
.wx-qr-item img { width: 100%; max-width: 68px; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--border); border-radius: 4px; display: block; margin: 0 auto 3px; background: var(--bg-surface); }
.wx-qr-item span { font-size: .6rem; color: var(--text); display: block; line-height: 1.25; white-space: nowrap; text-align: center; }
@media (max-width: 960px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-col-wx { grid-column: 1 / -1; } .wx-qr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .wx-qr-item img { max-width: 76px; }
  .wx-qr-item span { font-size: .66rem; } }
@media (max-width: 1000px) { .footer-col-links ul.footer-links-cols { columns: 2; } }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr; } .footer-col-links ul.footer-links-cols { columns: 1; } .wx-qr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .wx-qr-item img { max-width: 58px; }
  .wx-qr-item span { font-size: .52rem; } }
@media (max-width: 430px) { .wx-qr-item span { white-space: normal; } }   /* 极窄屏才允许折行，防溢出 */
.publishing-row { display: flex; gap: 14px; align-items: baseline; padding: 4px 0; flex-wrap: wrap; }
.publishing-journal { font-weight: 600; min-width: 120px; }
.footer-bottom { margin-top: 0; border-top: 1px solid var(--border); padding: 14px 20px 16px; color: var(--text-weak); font-size: .78rem; text-align: center; }
.footer-bottom p { margin: 2px 0; }

/* ===== 响应式 ===== */
@media (max-width: 780px) {
    .content-grid { grid-template-columns: 1fr; }
    /* 头部：两行 —— 首行 logo + 登录/注册；次行主导航（横向可滑） */
    .site-header .header-inner {
        display: grid; grid-template-columns: 1fr auto; align-items: center;
        gap: 8px 12px; padding: 8px 14px;
    }
    .site-header .brand { grid-column: 1; grid-row: 1; }
    .site-header .brand-logo { height: 44px; }
    .site-header .brand-name { font-size: .9rem; }
    /* 登录/注册由上下堆叠改为并排胶囊 */
    .site-header .auth-link { padding: 7px 14px; font-size: .86rem; }
    .site-header .auth-link + .auth-link { border-top: 0; border-left: 1px solid var(--border); }
    /* 主导航独占次行，横向滚动不换行 */
    .site-header .main-nav {
        grid-column: 1 / -1; grid-row: 2; margin: 0; justify-content: flex-start;
        flex-wrap: nowrap; gap: 0 18px; overflow-x: auto; -webkit-overflow-scrolling: touch;
        border-top: 1px solid var(--border); padding-top: 8px; scrollbar-width: none;
    }
    .site-header .main-nav::-webkit-scrollbar { display: none; }
    .site-header .main-nav a { padding: 3px 0; font-size: .94rem; }
    .site-header .main-nav a.nav-blue { padding: 4px 13px; }
    .hero-title { font-size: 1.6rem; }
    .publishing-table { font-size: .8rem; }
}
@media (max-width: 400px) {
    .site-header .brand-logo { height: 38px; }
    .site-header .main-nav { gap: 0 14px; }
    .site-header .main-nav a { font-size: .9rem; }
    .site-header .auth-link { padding: 6px 11px; font-size: .82rem; }
}
/* ===== M3 期刊页 ===== */
.breadcrumb { font-size: .85rem; color: var(--text-weak); margin: 14px 0; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.journal-header { padding: 26px 0 8px; border-bottom: 2px solid var(--accent); margin-bottom: 20px; }
.journal-title { font-size: 2rem; color: var(--accent); margin: 0 0 4px; font-family: "Songti SC","Noto Serif CJK SC",serif; }
.journal-title-en { color: var(--text-weak); font-size: 1rem; margin: 0 0 10px; }
.journal-meta { display: flex; gap: 22px; margin: 6px 0 14px; }
.journal-meta div { display: flex; gap: 6px; }
.journal-meta dt { color: var(--text-weak); }
.journal-meta dd { margin: 0; color: var(--text-strong); font-weight: 600; }
.journal-actions { display: flex; gap: 10px; margin: 8px 0; }

.journal-about { line-height: 1.85; color: var(--text); font-size: .95rem; }
.journal-about p { margin: 0 0 10px; }

.journal-cols { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-top: 8px; }
.journal-col-main { min-width: 0; }
.journal-col-side { }

.card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 6px; padding: 18px 20px; margin-bottom: 18px; }
.card-title { font-size: 1.05rem; color: var(--accent); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--accent-hover); }

.article-list { list-style: none; margin: 0; padding: 0; counter-reset: art; }
.article-item { padding: 9px 0; border-bottom: 1px dashed var(--border); }
.article-item:last-child { border-bottom: none; }
.article-title { color: var(--accent); font-size: .98rem; text-decoration: none; line-height: 1.6; }
.article-title:hover { color: var(--accent-hover); text-decoration: underline; }
.article-authors { color: var(--text-weak); font-size: .85rem; margin: 3px 0 0; }

.notice-list, .issue-list { list-style: none; margin: 0; padding: 0; }
.notice-list li, .issue-list li { padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.notice-list li:last-child, .issue-list li:last-child { border-bottom: none; }
.notice-list a, .issue-list a { color: var(--text-strong); text-decoration: none; }
.notice-list a:hover, .issue-list a:hover { color: var(--accent-hover); }
.muted { color: var(--text-weak); font-size: .8rem; margin-left: 6px; }
.more-link { margin: 10px 0 0; font-size: .88rem; }
.more-link a { color: var(--accent-hover); text-decoration: none; }

@media (max-width: 860px) {
  .journal-cols { grid-template-columns: 1fr; }
}

/* ===== M3 文章详情 ===== */
.article-detail { max-width: 820px; }
.article-detail-header { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 16px; }
.article-detail-title { font-size: 1.6rem; line-height: 1.5; color: var(--accent); margin: 0 0 8px; font-family: "Songti SC","Noto Serif CJK SC",serif; }
.article-detail-title-en { color: var(--text-weak); font-size: 1rem; margin: 0 0 8px; }
.article-detail-authors { color: var(--text-strong); font-size: .95rem; margin: 6px 0; }
.article-detail-meta { color: var(--text-weak); font-size: .85rem; display: flex; gap: 14px; margin: 4px 0 0; flex-wrap: wrap; }
.article-detail-actions { display: flex; align-items: center; gap: 12px; margin: 14px 0; flex-wrap: wrap; }
.article-detail-doi { color: var(--text-weak); font-size: .82rem; margin: 6px 0 0; }
.article-detail-doi a { color: var(--accent-hover); text-decoration: none; word-break: break-all; }
.article-abstract { background: var(--bg-soft); border-left: 3px solid var(--accent); padding: 14px 18px; margin: 16px 0; line-height: 1.85; color: var(--text-strong); font-size: .95rem; }
.article-abstract h2 { font-size: 1rem; color: var(--accent); margin: 0 0 8px; }
.abstract-en { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); color: var(--text); }
.article-keywords { color: var(--text-strong); font-size: .9rem; margin: 12px 0; }
.article-refs { margin: 18px 0; }
.article-refs h2 { font-size: 1.05rem; color: var(--accent); margin-bottom: 8px; }
.article-notes { margin: 18px 0; }
.article-notes h2 { font-size: 1.05rem; color: var(--accent); margin-bottom: 8px; }
.refs-body { font-size: .88rem; line-height: 1.7; color: var(--text); }
/* 每条参考文献独立成行：条间留白 + 悬挂缩进让序号对齐 */
.ref-item { display: block; padding: 6px 0 6px 2em; text-indent: -2em; border-bottom: 1px dashed var(--border); }
.ref-item:last-child { border-bottom: none; }
.ref-item a { word-break: break-all; }
.ref-item a:link, .ref-item a:visited { color: var(--link); }
.article-stats { color: var(--text-weak); font-size: .8rem; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 24px; display: flex; gap: 16px; }

/* 期目录 */
.issue-article-list { list-style: none; margin: 0; padding: 0; }
.issue-article-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.issue-article-item:last-child { border-bottom: none; }
.issue-article-item .article-title-en { color: var(--text-weak); font-size: .88rem; margin: 2px 0; }
.issue-article-item .article-links { margin: 5px 0 0; display: flex; gap: 14px; font-size: .85rem; }
.issue-article-item .article-links a { color: var(--accent-hover); text-decoration: none; }
.issue-article-item .article-links a:hover { text-decoration: underline; }
.empty-tip { color: var(--text-weak); padding: 30px 0; text-align: center; }
.issue-year-block { }
.issue-year-list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; }
.issue-year-list li { padding: 4px 0; break-inside: avoid; }
.issue-year-list a { color: var(--text-strong); text-decoration: none; font-size: .9rem; }
.issue-year-list a:hover { color: var(--accent-hover); }
@media (max-width: 700px) { .issue-year-list { columns: 2; } }

/* ===== M3 工作论文 ===== */
.search-bar { display: flex; gap: 8px; margin: 14px 0; max-width: 560px; }
.search-bar input { flex: 1; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 4px; font-size: .92rem; }
.wp-list { list-style: none; margin: 0; padding: 0; }
.wp-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.wp-item:last-child { border-bottom: none; }
.wp-title { font-size: 1.1rem; color: var(--accent); margin: 0 0 4px; font-family: "Songti SC","Noto Serif CJK SC",serif; line-height: 1.5; }
.wp-abs { color: var(--text); font-size: .88rem; line-height: 1.7; margin: 6px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wp-meta { display: flex; align-items: center; gap: 14px; font-size: .85rem; flex-wrap: wrap; }
.wp-download { color: var(--accent); font-weight: 600; text-decoration: none; }
.wp-download:hover { text-decoration: underline; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0; }
.page-info { color: var(--text-weak); font-size: .85rem; }

/* ===== M3 期刊栏目区块 ===== */
.journal-section-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; }
.section-pill { padding: 5px 16px; border: 1px solid var(--accent); border-radius: 20px; color: var(--accent); text-decoration: none; font-size: .85rem; background: var(--bg-surface); }
.section-pill:hover { background: var(--accent); color: #fff; }
.journal-section-block { }
.section-item-list { list-style: none; margin: 0; padding: 0; }
.section-item { padding: 7px 0; border-bottom: 1px dashed var(--border); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.section-item:last-child { border-bottom: none; }

/* ===== 首页底部两栏（投稿指南/期刊订阅/荣誉展示/专题新闻 + 友情链接）===== */
.footer-links-panel { display: grid; grid-template-columns: 1fr 260px; gap: 30px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 22px 26px; margin: 18px 0 10px; }
.footer-links-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 20px; }
.footer-link-col-title { font-size: .95rem; color: var(--accent); margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.footer-link-col ul, .footer-friends ul { list-style: none; margin: 0; padding: 0; }
.footer-link-col li, .footer-friends li { padding: 4px 0; font-size: .88rem; }
.footer-link-col a, .footer-friends a { color: var(--text); text-decoration: none; }
.footer-link-col a:hover, .footer-friends a:hover { color: var(--accent); }
.footer-friends { border-left: 1px solid var(--border); padding-left: 24px; }
@media (max-width: 860px) { .footer-links-panel { grid-template-columns: 1fr; } .footer-friends { border-left: none; padding-left: 0; margin-top: 8px; } }

/* ===== 首页三栏（公告/新闻/荣誉）===== */
.home-cols { display: grid; grid-template-columns: 3fr 3fr 2.6fr; gap: 20px; margin: 10px 0 28px; }
.home-col { min-width: 0; padding: 16px 18px; }
.home-col .item-row { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 5px 0; }
.home-col .item-row a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-strong); text-decoration: none; }
.home-col .item-row a:hover { color: var(--accent); }
.home-col .item-row .item-date { color: var(--text-weak); font-size: .76rem; flex-shrink: 0; }
@media (max-width: 900px) { .home-cols { grid-template-columns: 1fr; } }

/* ===== 新闻列表/详情 ===== */
.news-layout { display: grid; grid-template-columns: 200px 1fr; gap: 26px; }
.news-side-title { font-size: 1rem; color: var(--accent); margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--accent); }
.news-side-list { list-style: none; margin: 0; padding: 0; }
.news-side-list li a { display: block; padding: 7px 10px; color: var(--text-strong); text-decoration: none; font-size: .92rem; border-left: 3px solid transparent; }
.news-side-list li a:hover { color: var(--accent); background: var(--bg-soft); }
.news-side-list li.active a { color: var(--accent); background: var(--bg-soft); border-left-color: var(--accent); font-weight: 600; }
.news-main { min-width: 0; }
.news-page-title { font-size: 1.4rem; color: var(--title); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.news-thumb { flex-shrink: 0; width: 176px; aspect-ratio: 900 / 383; overflow: hidden; background: var(--bg-hover); }
.news-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-info { flex: 1; min-width: 0; }
.news-title { color: var(--text-strong); font-size: .98rem; text-decoration: none; line-height: 1.55; display: block; }
.news-title:hover { color: var(--accent); }
.news-meta { color: var(--text-weak); font-size: .8rem; margin-top: 4px; display: flex; gap: 14px; }
.news-detail { max-width: 860px; }
.news-detail-title { font-size: 1.6rem; color: var(--title); line-height: 1.45; margin: 0 0 8px; font-family: "Songti SC","Noto Serif CJK SC",serif; }
.news-detail-en { color: var(--text-weak); font-size: .95rem; }
.news-detail-meta { color: var(--text-weak); font-size: .85rem; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 18px; display: flex; gap: 18px; }
.news-detail-content { line-height: 1.9; color: var(--text-strong); font-size: .98rem; word-break: break-word; }
.news-detail-content img { max-width: 100%; height: auto; }
.news-detail-content p { margin: 0 0 12px; }
@media (max-width: 800px) { .news-layout { grid-template-columns: 1fr; } }

/* ===== 新闻导航分组 ===== */
.news-side-group { font-size: .82rem; color: var(--accent); font-weight: 700; padding: 10px 10px 2px; }
.news-side-group:first-of-type { padding-top: 0; }
.news-side-root { }

/* ===== 文章检索 ===== */
.search-hero { padding: 20px 0 10px; }
.search-panel { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; padding: 22px 26px; margin: 14px 0 22px; box-shadow: 0 1px 6px rgba(0,0,0,.04); }
.sp-scope { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; background: var(--bg-soft); border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; padding: 9px 14px; margin-bottom: 16px; font-size: .88rem; color: var(--text); }
.sp-scope strong { color: var(--accent); }
.sp-scope-tip { font-size: .8rem; color: var(--text-weak); }
.sp-group { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.sp-label { font-size: .92rem; font-weight: 700; color: var(--accent); padding-top: 6px; flex-shrink: 0; }
.journal-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.jp-item { position: relative; cursor: pointer; }
.jp-item input { position: absolute; opacity: 0; }
.jp-item span { display: inline-block; padding: 7px 18px; border: 1px solid var(--border-strong); border-radius: 20px; font-size: .88rem; color: var(--text); background: var(--bg-surface); transition: all .15s; }
.jp-item:hover span { border-color: var(--accent); color: var(--accent); }
.jp-item input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.sp-grid { display: flex; flex-direction: column; gap: 14px; }
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.sp-field label { display: block; font-size: .82rem; color: var(--text); margin-bottom: 5px; font-weight: 600; }
.sp-field input, .sp-field select { padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 6px; font-size: .9rem; width: 100%; box-sizing: border-box; }
.sp-field input:focus, .sp-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(129,28,33,.08); }
.sp-inline { display: flex; gap: 8px; align-items: center; }
.sp-sep { color: var(--text-weak); }
.sp-submit-field { display: flex; align-items: flex-end; }
.sp-submit { width: 100%; padding: 10px 0; font-size: .95rem; border: none; }
.search-tips { background: var(--bg-soft); border-left: 3px solid #E8BD98; padding: 12px 18px; border-radius: 0 6px 6px 0; margin-bottom: 20px; }
.search-tips h3 { font-size: .92rem; color: var(--text-weak); margin: 0 0 6px; }
.search-tips ul { margin: 0; padding-left: 18px; color: var(--text); font-size: .85rem; line-height: 1.9; }

/* 检索结果 */
.result-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; }
.result-side-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; position: sticky; top: 12px; }
.result-side-title { font-size: 1rem; color: var(--accent); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.result-form label { display: block; font-size: .8rem; color: var(--text); margin: 8px 0 3px; }
.result-form input, .result-form select { width: 100%; box-sizing: border-box; padding: 6px 10px; border: 1px solid var(--border); border-radius: 5px; font-size: .85rem; }
.result-yvi { display: flex; gap: 5px; }
.result-yvi input { min-width: 0; }
.result-main { min-width: 0; }
.result-summary { font-size: .95rem; color: var(--text); padding-bottom: 10px; border-bottom: 2px solid var(--accent); margin-bottom: 6px; }
.result-summary strong { color: var(--accent); font-size: 1.1rem; }
.result-time { float: right; color: var(--text-weak); font-size: .82rem; }
.result-empty { text-align: center; padding: 60px 0; color: var(--text-weak); }
.result-empty .btn { margin-top: 14px; }
.result-list { list-style: none; margin: 0; padding: 0; }
.result-item { padding: 16px 2px; border-bottom: 1px solid var(--border); }
.result-item:hover { background: var(--bg-hover); }
.result-title { font-size: 1.08rem; margin: 0 0 4px; line-height: 1.5; }
.result-title a { color: var(--title); text-decoration: none; font-family: "Songti SC","Noto Serif CJK SC",serif; }
.result-title a:hover { color: var(--accent); }
.result-title-en { color: var(--text-weak); font-size: .85rem; margin: 0 0 4px; }
.result-authors { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 4px 0; font-size: .9rem; color: var(--text-strong); }
.result-journal { color: var(--accent); font-weight: 600; font-size: .82rem; }
.result-yvnp { color: var(--text-weak); font-size: .8rem; }
.result-agency { color: var(--text-weak); font-size: .83rem; margin: 2px 0; }
.result-abs { color: var(--text); font-size: .86rem; line-height: 1.7; margin: 6px 0 4px; }
.result-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--text-weak); align-items: center; }
.result-kw { color: var(--text-weak); }
.result-col { color: var(--text-weak); }
.result-links a { color: var(--link); margin-right: 10px; text-decoration: none; }
.result-links a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .result-layout { grid-template-columns: 1fr; }
  .sp-row { grid-template-columns: 1fr; }
}

/* ===== Item 静态页 ===== */
.item-page { max-width: 860px; }
.item-page-header { border-bottom: 2px solid var(--accent); padding-bottom: 12px; margin-bottom: 18px; }
.item-page-title { font-size: 1.5rem; color: var(--title); margin: 0 0 4px; font-family: "Songti SC","Noto Serif CJK SC",serif; }
.item-page-en { color: var(--text-weak); font-size: .9rem; margin: 0; }
.item-page-content { line-height: 2; color: var(--text); font-size: .98rem; word-break: break-word; }
.item-page-content p { margin: 0 0 12px; }
.item-page-content img { max-width: 100%; height: auto; }
.item-page-content a { color: var(--accent); }

/* ===== 认证页（登录/注册）===== */
.auth-page { display: flex; justify-content: center; padding: 30px 10px 50px; }
.auth-card { width: 100%; max-width: 400px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; padding: 30px 34px; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.auth-card-wide { max-width: 560px; }
.auth-title { font-size: 1.5rem; color: var(--accent); margin: 0 0 2px; text-align: center; }
.auth-sub { color: var(--text-weak); font-size: .85rem; text-align: center; margin: 0 0 18px; }
.auth-tip { padding: 8px 12px; border-radius: 5px; font-size: .85rem; margin-bottom: 12px; }
.auth-tip-err { background: #fdf0f0; color: #a33; border: 1px solid #e5b8b8; }
.auth-tip-ok { background: #eef8ee; color: #2a7a2a; border: 1px solid #b8e0b8; }
.auth-tip-warn { background: #fff8e6; color: #8a6d1a; border: 1px solid #e6d9a8; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: .85rem; color: var(--text); margin-bottom: 4px; }
.auth-field input { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 6px; font-size: .95rem; background: var(--bg-surface); color: var(--text-strong); }
.auth-field input:focus { outline: none; border-color: var(--accent); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.auth-btn { width: 100%; padding: 10px 0; background: var(--accent); color: #fff; border: none; border-radius: 6px; font-size: 1rem; cursor: pointer; margin-top: 6px; }
.auth-btn:hover { background: var(--accent-hover); }
.auth-links { text-align: center; margin-top: 14px; font-size: .88rem; color: var(--text); }
.auth-links a { color: var(--accent); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-links .sep { color: var(--border-strong); margin: 0 7px; }
/* 验证码行：输入框 + 发送按钮并排 */
.auth-code-row { display: flex; gap: 8px; align-items: stretch; }
.auth-code-row input { flex: 1; min-width: 0; }
.auth-btn-inline { width: auto; padding: 0 14px; margin-top: 0; font-size: .88rem; white-space: nowrap; }
.auth-code-tip { font-size: .78rem; color: var(--text-weak); margin-top: 4px; min-height: 1.1em; }
.auth-hint { text-align: center; color: var(--text-weak); font-size: .78rem; margin-top: 10px; }

/* 用户门户 */
.portal-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; padding: 28px 30px; max-width: 720px; }
.portal-sub { color: var(--text-weak); font-size: .9rem; margin: 4px 0 18px; }
.portal-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.portal-tag { background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); padding: 3px 12px; border-radius: 14px; font-size: .82rem; }
@media (max-width: 560px) { .auth-grid { grid-template-columns: 1fr; } }


/* 封面推荐文章 */
.featured-section { margin-bottom: 16px; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.featured-item { display: flex; flex-direction: column; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 6px; padding: 10px 12px; text-decoration: none; background: var(--bg-surface); transition: box-shadow .15s; }
.featured-item:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.featured-title { color: var(--text-strong); font-size: .92rem; line-height: 1.5; font-family: "Songti SC","Noto Serif CJK SC",serif; }
.featured-authors { color: var(--text-weak); font-size: .78rem; margin-top: 4px; }
.featured-meta { color: var(--accent); font-size: .75rem; margin-top: 3px; }

/* ===== 首页三栏：标题 hover 慢慢浮现封面（覆盖层，不挤压列表） ===== */
.home-col, .home-col .item-list, .home-col .news-2col { overflow: visible; }
.home-col .item-row { position: relative; min-width: 0; }
.home-col .item-row .item-main { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex: 1 1 0; min-width: 0; max-width: 100%; overflow: hidden; }
.home-col .item-row .item-main > a,
.home-col .item-row .item-main > span {
    flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--text-strong); text-decoration: none;
    display: block; max-width: 100%;
}
.home-col .item-row .item-main > a:hover { color: var(--accent); }
.home-col .item-row .item-main .item-date { flex-shrink: 0; }

.home-col .item-row.has-cover:hover { z-index: 30; }
.home-col .item-row .item-cover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, 100%);
    padding: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(15, 35, 60, .18);
    opacity: 0;
    transform: translateY(10px) scale(.985);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
    z-index: 40;
}
.home-col .item-row.has-cover:hover .item-cover {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.home-col .item-row .item-cover img {
    display: block;
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
}
@media (hover: none) {
    .home-col .item-row .item-cover { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .home-col .item-row .item-cover { transition: none; }
}

/* 已截止标记 */
.deadline-badge { color: #c0392b; font-weight: 700; font-size: .82rem; margin-right: 4px; white-space: nowrap; }
.news-info .deadline-badge { font-size: .85rem; }

/* ===== 期刊门户二级导航（顶栏下方）===== */
.jn-nav { background: var(--bg-surface); border-bottom: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,.04); position: relative; z-index: 30; }
.jn-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: stretch; padding: 0 16px; }
.jn-item { display: flex; align-items: center; gap: 4px; padding: 14px 20px; font-size: 15px; color: var(--text-strong); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.jn-item:hover, .jn-item.active { color: var(--accent); border-bottom-color: var(--accent); }
.jn-item .caret { font-size: 10px; color: var(--text-weak); }
.jn-drop { position: relative; }
.jn-sub { position: absolute; top: 100%; left: 0; min-width: 150px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(0,0,0,.1); padding: 6px 0; display: none; z-index: 40; }
.jn-drop:hover .jn-sub { display: block; }
.jn-sub a { display: block; padding: 9px 18px; font-size: 14px; color: var(--text); text-decoration: none; }
.jn-sub a:hover { background: var(--bg-soft); color: var(--accent); }

/* ===== 期刊首页三行布局 ===== */
.jh-wrap { max-width: 1200px; margin: 20px auto 40px; padding: 0 16px; }
.jh-row { display: flex; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.jh-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px 24px; }
/* 第一行：封面 + 期刊信息 */
.jh-head { display: flex; gap: 26px; align-items: flex-start; margin-bottom: 22px; }
/* 期刊信息框底色图（Journal.HomeBg）：cover 铺底 + 半透明白遮罩，保证刊名/主编/刊号/按钮可读；未设置则不生效（回退原外观） */
.jh-head.jh-has-bg { position: relative; background-image: var(--jh-bg); background-size: cover; background-position: center center; background-repeat: no-repeat; overflow: hidden; }
.jh-head.jh-has-bg::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    /* 底图主体在右侧：遮罩左段保持原始 40% 强度，向右渐隐到 0，露出右侧主体 */
    background: linear-gradient(90deg, rgba(255,255,255,.40) 0%, rgba(255,255,255,.40) 42%, rgba(255,255,255,0) 70%);
}
.jh-head.jh-has-bg > .cover, .jh-head.jh-has-bg > .info { position: relative; z-index: 1; }
/* 底图上文字加白描边（光晕），提升可读性；无底图时不生效 */
.jh-head.jh-has-bg .jname,
.jh-head.jh-has-bg .jname-en,
.jh-head.jh-has-bg .jh-meta-list .k,
.jh-head.jh-has-bg .jh-meta-list .v { text-shadow: 0 1px 2px rgba(255,255,255,.85); }
/* 提升最弱的标签/英文名对比度（用变量，两种主题自适应） */
.jh-head.jh-has-bg .jh-meta-list .k { color: var(--text-strong); }
.jh-head.jh-has-bg .jname-en { color: var(--text); }
/* 按钮在底图上更实；品牌红主按钮保持不变 */
.jh-head.jh-has-bg .btn { background: rgba(255,255,255,.92); }
.jh-head.jh-has-bg .btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
/* 深色模式：描边转暗、按钮深底（遮罩与亮色同套，不加强） */
@media (prefers-color-scheme: dark) {
    .jh-head.jh-has-bg .jname, .jh-head.jh-has-bg .jname-en,
    .jh-head.jh-has-bg .jh-meta-list .k, .jh-head.jh-has-bg .jh-meta-list .v { text-shadow: 0 1px 3px rgba(0,0,0,.65); }
    .jh-head.jh-has-bg .btn { background: rgba(26,26,28,.92); }
    .jh-head.jh-has-bg .btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
}
.jh-head .cover { width: 190px; flex-shrink: 0; }
.jh-head .cover img { width: 100%; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.15); display: block; }
.jh-head .info { flex: 1; min-width: 0; }
.jh-head .jname { font-size: 26px; font-weight: 700; color: var(--title); margin: 0 0 4px; letter-spacing: 1px; }
.jh-head .jname-en { font-size: 14px; color: var(--text-weak); margin: 0 0 16px; }
.jh-meta-list { display: grid; grid-template-columns: 1fr; gap: 8px; font-size: 14.5px; }
.jh-meta-list .row { display: flex; gap: 10px; }
.jh-meta-list .k { color: var(--text-weak); min-width: 88px; flex-shrink: 0; }
.jh-meta-list .v { color: var(--text-strong); }
/* 第二行：左=最新一期，右=信息块堆叠 */
.jh-col-left { flex: 1.1; min-width: 300px; }
.jh-col-right { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 14px; }
.jh-block { box-sizing: border-box; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; }
.jh-block h3 { font-size: 15px; color: var(--accent); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.jh-block h3 a { font-size: 12px; color: var(--text-weak); text-decoration: none; font-weight: 400; }
.jh-issue-cover { width: 150px; border-radius: 6px; box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.jh-issue-line { font-size: 14px; color: var(--text); margin: 10px 0; }
.jh-issue-line b { color: var(--text-strong); }
.jh-search { display: flex; gap: 8px; }
.jh-search input { flex: 1; padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 6px; font-size: 14px; }
.jh-search button { padding: 9px 18px; background: var(--accent); color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; }
.jh-list { list-style: none; margin: 0; padding: 0; }
.jh-list li { padding: 6px 0; font-size: 13.5px; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 10px; }
.jh-list li:last-child { border-bottom: none; }
.jh-list a { color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-list a:hover { color: var(--accent); }
.jh-list .d { color: var(--text-weak); font-size: 12px; white-space: nowrap; }
/* 浏览刊期：文章按栏目分组 */
.iss-col + .iss-col { margin-top: 10px; }
.iss-col-name { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 2px; padding: 4px 10px; background: var(--bg-soft); border-left: 3px solid var(--accent); border-radius: 0 4px 4px 0; }
.iss-col-name .iss-col-n { font-size: 11px; font-weight: 400; color: var(--text-weak); }
/* 词共现网络 / 词云（ECharts 本地 vendor） */
.jh-wc-title { display: inline-flex; align-items: baseline; gap: 8px; }
.jh-wc-issue { font-size: 12px; color: var(--text-weak); font-weight: 400; }
.jh-wordcloud { position: relative; width: 100%; height: 320px; }
.jh-wordcloud::before { content: ''; position: absolute; inset: 0; border-radius: 10px; pointer-events: none; background: radial-gradient(58% 55% at 50% 46%, rgba(143,32,40,.055), rgba(26,92,143,.045) 55%, rgba(255,255,255,0) 80%); opacity: 0; transition: opacity .8s ease; }
.jh-wordcloud.breathe::before { opacity: 1; animation: jhWcBreathe 9s ease-in-out infinite; }
@keyframes jhWcBreathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .jh-wordcloud.breathe::before { animation: none; } }
.jh-wc-hint { margin: 8px 0 0; text-align: center; font-size: 11px; color: var(--text-weak); letter-spacing: .2px; }
.jh-wc-motion { font-size: 11px; font-weight: 400; color: var(--text-weak); background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 1px 9px; line-height: 1.7; cursor: pointer; }
.jh-wc-motion.on { color: var(--accent); border-color: var(--accent-soft-border); background: var(--accent-soft); }
@media (max-width: 560px) { .jh-wordcloud { height: 260px; } .jh-wc-hint { font-size: 10.5px; } }
/* 「词云图」卡：作为右栏最后一张卡（源码中已置于视频之后）flex:1 撑满剩余高度，
   使其底边与左栏「浏览刊期」卡底边齐平（配合 .jh-block 的 box-sizing:border-box）。
   栏内无剩余空间时因它是最后一张，底边即为栏底。 */
.jh-col-right > .jh-block.jh-fill { flex: 1 1 auto; display: flex; flex-direction: column; }
.jh-col-right > .jh-block.jh-fill > .jh-wordcloud { flex: 1 1 auto; height: auto; min-height: 320px; }
@media (max-width: 560px) { .jh-col-right > .jh-block.jh-fill > .jh-wordcloud { min-height: 260px; } }
/* 视频轮播 */
.jh-video { position: relative; overflow: hidden; border-radius: 8px; background: #000; }
.jh-video-track { display: flex; transition: transform .5s ease; }
.jh-video-track .slide { min-width: 100%; position: relative; }
.jh-video-track img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; opacity: .92; }
.jh-video-track .cap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; padding: 20px 14px 10px; font-size: 13px; }
.jh-video-nav { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.jh-video-nav button { width: 7px; height: 7px; border-radius: 50%; border: none; background: var(--border-strong); cursor: pointer; padding: 0; }
.jh-video-nav button.on { background: var(--accent); }
/* 第三行：封面文章 + 统计/二维码 */
.jh-row-featured { margin-top: 48px; }   /* 封面文章行与上方距开（与上排 30px 折叠后取大值） */
.jh-featured { flex: 2; min-width: 320px; display: flex; }
.jh-featured > .jh-block { flex: 1 1 auto; }   /* 高度撑满，与右侧两栏合计等高 */
.jh-side3 { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 14px; }
.jh-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jh-stats .s { text-align: center; padding: 10px; background: var(--bg-soft); border-radius: 8px; }
.jh-stats .s .n { font-size: 22px; font-weight: 700; color: var(--accent); }
.jh-stats .s .l { font-size: 12px; color: var(--text-weak); margin-top: 2px; }
.jh-qr { text-align: center; }
.jh-qr img { width: 130px; height: 130px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; }
.jh-qr p { font-size: 13px; color: var(--text-weak); margin: 8px 0 0; }
.jh-art-list { list-style: none; margin: 0; padding: 0; }
.jh-art-list li { padding: 9px 0; border-bottom: 1px dashed var(--border); }
.jh-art-list li:last-child { border-bottom: none; }
.jh-art-list a { font-size: 14.5px; color: var(--text-strong); text-decoration: none; }
.jh-art-list a:hover { color: var(--accent); }
.jh-art-list .meta { font-size: 12px; color: var(--text-weak); margin-top: 3px; }
@media (max-width: 900px) { .jh-head { flex-direction: column; } .jh-head .cover { width: 140px; } }

/* 子页面信息网格：铺满卡片宽度、自适应多列，不因内容少而缩窄 */
.jh-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 10px 40px; }
.jh-meta-grid .row { display: flex; gap: 10px; align-items: baseline; }
.jh-meta-grid .k { color: var(--text-weak); min-width: 84px; flex-shrink: 0; }
.jh-meta-grid .v { color: var(--text-strong); }

/* 修复：flex 布局下 .page-main 因 margin:auto 被内容宽度收缩 → 强制全宽，各页宽度一致 */
body.page-body .page-main { width: 100%; box-sizing: border-box; }
body.page-body .page-main > .container,
body.page-body .page-main.container { width: 100%; }

/* 期刊首页：浏览刊期（年份/期数选择 + 滑动窗口） */
.issue-picker { display:flex; gap:12px; margin:6px 0 12px; flex-wrap:wrap; }
.issue-picker label { font-size:13px; color:var(--text-weak); display:flex; align-items:center; gap:6px; }
.issue-picker select { padding:4px 8px; border:1px solid var(--border); border-radius:6px; background:var(--bg-surface); color:var(--text); font-size:13px; }
.issue-slider { display:flex; align-items:stretch; gap:6px; margin:10px 0; }
.is-nav { flex:0 0 auto; width:30px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:6px; color:var(--text); text-decoration:none; font-size:20px; line-height:1; background:var(--bg-surface); }
.is-nav:hover { background:var(--bg-soft); }
.is-nav.disabled { opacity:.35; }
.is-track { flex:1 1 auto; display:flex; gap:6px; overflow-x:auto; }
.is-item { flex:1 0 auto; min-width:60px; padding:6px 8px; border:1px solid var(--border); border-radius:6px; text-align:center; text-decoration:none; color:var(--text); background:var(--bg-surface); line-height:1.35; }
.is-item .is-y { display:block; font-size:11px; color:var(--text-weak); }
.is-item .is-n { display:block; font-size:13px; font-weight:600; }
.is-item:hover { border-color:var(--accent); }
.is-item.active { background:var(--accent); border-color:var(--accent); }
.is-item.active .is-y, .is-item.active .is-n { color:#fff; }
.issued-head { display:flex; justify-content:space-between; align-items:baseline; margin:12px 0 6px; padding-top:10px; border-top:1px dashed var(--border); }
.issued-label { font-weight:600; }
.issued-count { font-size:12px; color:var(--text-weak); }

.issued-cover { display:flex; gap:14px; align-items:flex-start; cursor:pointer; border:1px solid var(--border); border-radius:8px; padding:10px; background:var(--bg-surface); margin-bottom:10px; }
.issued-cover:hover { border-color:var(--accent); }
.issued-cover img { width:118px; border-radius:6px; box-shadow:0 3px 12px rgba(0,0,0,.15); display:block; }
.issued-cover-ph { width:118px; height:158px; display:flex; align-items:center; justify-content:center; background:var(--bg-soft); border-radius:6px; color:var(--text-weak); font-size:13px; text-align:center; padding:6px; }
.issued-cover-meta { display:flex; flex-direction:column; gap:7px; position:relative; }
.issued-pick { font-size:12px; color:var(--accent); }
/* 浏览刊期弹窗：就近锚定在触发封面下方，不做全屏变暗（外部关闭用 document 透明捕获）*/
.is-anchor { position:relative; }
.is-modal { position:absolute; top:100%; left:0; z-index:1000; margin-top:6px; }
.is-modal[hidden] { display:none; }
.is-modal-box { box-sizing:border-box; position:relative; background:var(--bg-surface); border:1px solid var(--border); border-radius:8px; padding:10px 12px; width:200px; max-width:calc(100vw - 32px); box-shadow:0 10px 30px rgba(0,0,0,.20); }
.is-modal-title { font-weight:600; font-size:13px; margin-bottom:8px; }
.is-modal-form { display:flex; flex-direction:column; gap:8px; }
.is-modal-form label { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:13px; color:var(--text); }
.is-modal-form select { flex:0 1 auto; min-width:0; max-width:120px; padding:3px 8px; border:1px solid var(--border); border-radius:6px; background:var(--bg-surface); color:var(--text); font-size:13px; }
.is-modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:2px; }
.is-modal-actions .btn { padding:4px 10px; font-size:13px; }
/* 窄屏：弹窗改贴 meta 右缘向左展开，避免横向溢出 */
@media (max-width: 520px) {
  .is-modal { left:auto; right:0; }
  .is-modal-box { width:190px; }
}

/* ===== 首页「新闻动态」单栏两列（多列布局，自动均衡）===== */
.home-cols-single { grid-template-columns: minmax(0, 1fr); }
.news-2col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(7, auto);
    grid-auto-flow: column;
    column-gap: 36px;
    row-gap: 0;
}
.news-2col .item-row { break-inside: avoid; min-width: 0; max-width: 100%; padding: 9px 10px; margin: 0 -10px; border-bottom: 1px solid #f0ece5; border-radius: 8px; transition: background .18s ease; }
.news-2col .item-row:hover { background: #faf8f4; }
.news-2col .item-row .item-main { gap: 14px; }
.news-2col .item-row .item-main > a,
.news-2col .item-row .item-main > span { font-size: .91rem; line-height: 1.55; }
.news-2col .item-row .item-date { font-size: .75rem; color: #9a958d; }

/* 首页新闻：跟随鼠标的封面浮层 */
.news-cover-float { position: fixed; z-index: 9999; width: min(340px, calc(100vw - 28px)); padding: 8px; background: #fff; border: 1px solid rgba(20,35,50,.10); border-radius: 14px; box-shadow: 0 18px 45px rgba(15,35,60,.20); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985); transform-origin: top left; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.news-cover-float.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.news-cover-float img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 383; object-fit: cover; border-radius: 9px; background: #f1eee8; }
@media (hover: none) { .news-cover-float { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .news-cover-float { transition: none; } }
@media (max-width: 700px) {
    .news-2col { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}

/* ===== 首页「新闻动态」置顶条目：加粗 ===== */
.home-col .item-row.is-top a,
.home-col .item-row.is-top span { font-weight: 800; color: var(--accent); }

/* ===== 首页幻灯片（左右滑动切换）===== */
.home-slider { position:relative; overflow:hidden; aspect-ratio:900/383; margin:10px 0 22px; border-radius:12px; background:#eef0f3; box-shadow:0 2px 12px rgba(0,0,0,.06); }
.home-slider .slide { position:absolute; inset:0; width:100%; height:100%; text-decoration:none; color:#fff;
  transform:translateX(100%); transition:transform .42s cubic-bezier(.4,0,.2,1); will-change:transform; }
.home-slider .slide.on { transform:translateX(0); }
.home-slider .slide.leave-next { transform:translateX(-100%); }   /* 切下一张：当前张滑出到左侧 */
.home-slider .slide.leave-prev { transform:translateX(100%); }    /* 切上一张：当前张滑出到右侧 */
.home-slider .slide-img { width:100%; height:100%; object-fit:cover; display:block; }
.home-slider .slide-cap { position:absolute; left:0; right:0; bottom:0; padding:26px 18px 14px; font-size:1.02rem; font-weight:600; line-height:1.5;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.62)); text-shadow:0 1px 3px rgba(0,0,0,.5);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.home-slider .slide-tag { display:inline-block; background:var(--accent); color:#fff; border-radius:4px; font-size:.72rem; padding:1px 7px; margin-right:8px; vertical-align:1px; font-weight:700; }
.home-slider .slide-nav { position:absolute; top:50%; transform:translateY(-50%); z-index:3; border:0; width:34px; height:52px; background:rgba(0,0,0,.28); color:#fff; font-size:22px; line-height:1; cursor:pointer; border-radius:6px; }
.home-slider .slide-nav:hover { background:rgba(0,0,0,.5); }
.home-slider .slide-nav.prev { left:8px; } .home-slider .slide-nav.next { right:8px; }
.home-slider .slide-dots { position:absolute; right:12px; bottom:10px; z-index:3; display:flex; gap:6px; }
.home-slider .slide-dot { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.55); cursor:pointer; }
.home-slider .slide-dot.on { background:#fff; width:20px; border-radius:4px; }

/* ============================================================
   全站右上角「活动专题」纸折角（_Layout.cshtml 注入，每页显示）
   结构：.topic-corner > .topic-corner-fold(=::before/::after 三角) + .topic-corner-logo
   ============================================================ */
.topic-corner {
    position: fixed; top: 0; right: 0; z-index: 60;
    width: 124px; height: 124px; display: block;
    text-decoration: none; line-height: 0;
}
.topic-corner:hover { text-decoration: none; }
/* 折角（GitHub-corner 风格：右上实心三角挂角）——作为 logo 的底色/衬底 */
.topic-corner-fold { position: absolute; inset: 0; z-index: 1; display: block; pointer-events: none; }
.topic-corner-fold::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    filter: drop-shadow(-4px 4px 6px rgba(0, 0, 0, .32));
}
.topic-corner-fold::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 50%);
    clip-path: polygon(100% 0, 100% 42%, 42% 0);
}
/* 三角挂角里的专题 logo（白底圆角小徽标，靠外角放置，类似 GitHub 角里的图标） */
.topic-corner-logo {
    position: absolute; top: 14px; left: 66px; box-sizing: border-box;
    width: 52px; height: 52px; object-fit: contain; padding: 5px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    z-index: 2;
}
@media (max-width: 1080px) {
    .topic-corner { width: 98px; height: 98px; }
    .topic-corner-logo { top: 10px; left: 52px; width: 40px; height: 40px; padding: 4px; }
}
/* 有活动专题折角时：窄屏把主导航左移，避开折角遮挡；宽屏留白足够无需移动 */
@media (max-width: 1290px) {
    body.has-topic-corner .header-inner .main-nav { margin-right: 108px; }
}
@media (max-width: 768px) {
    .topic-corner { display: none; }
    body.has-topic-corner .header-inner .main-nav { margin-right: 0; }
}

/* ============================================================
   专题前台页（/Topic/{别名或 id}，Views/Topic/Index.cshtml）
   ============================================================ */
.topic-head {
    display: flex; align-items: center; gap: 20px;
    padding: 6px 0 18px; border-bottom: 2px solid var(--accent); margin-bottom: 22px;
}
.topic-head-logo {
    width: 88px; height: 88px; object-fit: contain; flex-shrink: 0;
    border: 1px solid var(--border); border-radius: 10px; background: var(--bg-surface);
}
.topic-head-name {
    font-size: 1.9rem; color: var(--accent); margin: 0; line-height: 1.3;
    font-family: "Songti SC", "Noto Serif CJK SC", serif;
}
@media (max-width: 560px) {
    .topic-head { gap: 14px; }
    .topic-head-logo { width: 64px; height: 64px; }
    .topic-head-name { font-size: 1.4rem; }
}

.topic-intro {
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px;
    padding: 16px 20px; margin-bottom: 22px; color: var(--text); font-size: .95rem; line-height: 1.85;
}
.topic-intro > :first-child { margin-top: 0; }
.topic-intro > :last-child { margin-bottom: 0; }
.topic-intro img { max-width: 100%; height: auto; }

.topic-section { margin-bottom: 28px; }
.topic-section-title {
    font-size: 1.15rem; color: var(--accent); margin: 0 0 14px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border);
}

/* 新闻资讯轮播 */
.topic-slider {
    position: relative; overflow: hidden; aspect-ratio: 900 / 383; margin: 0;
    border-radius: 12px; background: #eef0f3; box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
.topic-slider .topic-slide {
    position: absolute; inset: 0; width: 100%; height: 100%; text-decoration: none; color: #fff;
    transform: translateX(100%); transition: transform .42s cubic-bezier(.4, 0, .2, 1); will-change: transform;
}
.topic-slider .topic-slide.on { transform: translateX(0); }
.topic-slider .topic-slide.leave-next { transform: translateX(-100%); }
.topic-slider .topic-slide.leave-prev { transform: translateX(100%); }
.topic-slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.topic-slide-ph {
    display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
    background: var(--bg-hover); color: var(--text-weak); font-size: 1.1rem;
}
.topic-slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px;
    font-size: 1.02rem; font-weight: 600; line-height: 1.5;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .62)); text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.topic-slide-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; border: 0;
    width: 34px; height: 52px; background: rgba(0, 0, 0, .28); color: #fff;
    font-size: 22px; line-height: 1; cursor: pointer; border-radius: 6px;
}
.topic-slide-nav:hover { background: rgba(0, 0, 0, .5); }
.topic-slide-nav.prev { left: 8px; }
.topic-slide-nav.next { right: 8px; }
.topic-slide-dots { position: absolute; right: 12px; bottom: 10px; z-index: 3; display: flex; gap: 6px; }
.topic-slide-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; }
.topic-slide-dot.on { background: #fff; width: 20px; border-radius: 4px; }

/* 相关视频网格 */
.topic-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.topic-video-card {
    display: block; position: relative; padding: 0; border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden; background: var(--bg-surface); cursor: pointer; text-align: left;
    transition: border-color .18s, box-shadow .18s;
}
.topic-video-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
.topic-video-thumb { position: relative; display: block; }
.topic-video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.topic-video-ph {
    display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9;
    background: var(--bg-hover); color: var(--text-weak); font-size: 2rem;
}
.topic-video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 52px; height: 52px; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 4px;
}
.topic-video-card:hover .topic-video-play { background: var(--accent); }
.topic-video-title { display: block; padding: 10px 12px; font-size: .92rem; color: var(--text-strong); line-height: 1.5; }

/* 视频弹层 */
.topic-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.topic-modal[hidden] { display: none; }
.topic-modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); }
.topic-modal-box { position: relative; z-index: 1; width: min(900px, 92vw); }
.topic-modal-box video { width: 100%; max-height: 78vh; background: #000; border-radius: 10px; display: block; }
.topic-modal-close {
    position: absolute; top: -42px; right: 0; width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .9); color: #222; font-size: 20px; line-height: 1; cursor: pointer;
}
.topic-modal-title { color: #fff; font-size: .95rem; margin-top: 10px; text-align: center; }

/* ============================================================
   专题新闻详情页（/Topic/News/{id}，Views/Topic/News.cshtml）
   ============================================================ */
.topic-news-back { margin: 0 0 14px; font-size: 14px; }
.topic-news { max-width: 860px; }
.topic-news-title { font-size: 1.5rem; line-height: 1.55; margin: 0 0 10px; }
.topic-news-meta { color: var(--text-weak); font-size: 13px; margin-bottom: 14px; }
.topic-news-cover { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 0 0 18px; }
.topic-news-summary {
    font-size: 15px; line-height: 1.9; color: var(--text-weak);
    background: var(--bg-soft); border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0; padding: 12px 14px; margin: 0 0 18px;
}
.topic-news-body { font-size: 16px; line-height: 2; color: var(--text); }
.topic-news-body img { max-width: 100%; height: auto; border-radius: 8px; }
.topic-news-body table { max-width: 100%; }
.topic-news-empty { color: var(--text-weak); }

/* ===== 投编审稿（三刊卡 + 投稿流程）===== */
/* 本页以蓝色为主色调：在页面容器内覆盖主题变量，不影响全站其他页面 */
.ts-wrap {
    max-width: 1120px; margin: 0 auto; padding: 8px 0 4px;
    --accent: #1a5c8f;
    --accent-hover: #14507c;
    --accent-soft: #eef4fa;
    --accent-soft-border: #a9c6de;
    --ts-tint: #f4f8fc;
    --ts-shadow: rgba(26,92,143,.10);
}

.ts-head { margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.ts-h1 { font-size: 26px; margin: 0 0 8px; color: var(--text-strong); font-weight: 700; letter-spacing: 2px; }
.ts-lead { margin: 0; font-size: 13.5px; color: var(--text-weak); }

.ts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.ts-card { display: flex; flex-direction: column; background: var(--bg-surface);
           border: 1px solid var(--border); border-top: 3px solid var(--accent-soft-border); border-radius: 10px; overflow: hidden;
           transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease; }
.ts-card:hover { box-shadow: 0 10px 26px var(--ts-shadow); transform: translateY(-3px); border-color: var(--accent-soft-border); }

.ts-card-top { display: flex; gap: 14px; padding: 18px 18px 16px; background: var(--ts-tint);
               border-bottom: 1px solid var(--border); }
a.ts-cover { display: block; }
.ts-cover { flex: 0 0 74px; width: 74px; height: 100px; border-radius: 4px; overflow: hidden;
            background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 6px rgba(0,0,0,.10); }
.ts-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-cover-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
               font-size: 12px; color: var(--text-weak); text-align: center; padding: 6px; line-height: 1.4; }

.ts-meta { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.ts-name { font-size: 17px; margin: 0; color: var(--text-strong); font-weight: 700; line-height: 1.35; }
.ts-name-en { margin: 5px 0 0; font-size: 11.5px; color: var(--text-weak); line-height: 1.45; }
.ts-issn { margin: 6px 0 0; font-size: 11.5px; color: var(--text-weak); letter-spacing: .3px; }

.ts-links { list-style: none; margin: 0; padding: 6px 0; flex: 1; }
.ts-links li + li { border-top: 1px solid var(--border); }
.ts-link { display: flex; align-items: baseline; gap: 8px; padding: 11px 18px; text-decoration: none;
           transition: background .16s ease; }
.ts-link:hover { background: var(--bg-hover); text-decoration: none; }
.ts-link-t { font-size: 14px; color: var(--text-strong); font-weight: 600; flex: 0 0 auto; }
.ts-link-s { font-size: 11.5px; color: var(--text-weak); flex: 1 1 auto; min-width: 0;
             overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-link-a { flex: 0 0 auto; font-size: 12px; color: var(--text-weak); border: 1px solid var(--border-strong);
             border-radius: 999px; padding: 2px 12px; transition: all .16s ease; }
.ts-link:hover .ts-link-a { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.ts-link-main .ts-link-t { color: var(--accent); }
.ts-link-main .ts-link-a { color: #fff; background: var(--accent); border-color: var(--accent); }
.ts-link-main:hover .ts-link-a { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

.ts-flow { margin-top: 30px; }
.ts-flow-h { font-size: 16px; color: var(--text-strong); margin: 0 0 14px; font-weight: 700;
             padding-left: 11px; border-left: 3px solid var(--accent); line-height: 1.2; }
.ts-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ts-step { position: relative; background: var(--ts-tint); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.ts-step-no { display: block; font-size: 20px; font-weight: 700; color: var(--accent); opacity: .45; letter-spacing: 1px; line-height: 1; }
.ts-step-t { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--text-strong); }
.ts-step-d { display: block; margin-top: 6px; font-size: 12px; color: var(--text-weak); line-height: 1.7; }

.ts-note { margin: 20px 0 0; font-size: 12.5px; color: var(--text-weak); line-height: 1.9;
           padding: 12px 16px; background: var(--ts-tint); border-left: 3px solid var(--accent);
           border-radius: 6px; }

@media (max-width: 1000px) {
    .ts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ts-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .ts-grid { grid-template-columns: 1fr; gap: 16px; }
    .ts-steps { grid-template-columns: 1fr; }
    .ts-h1 { font-size: 22px; }
}

/* ===== 站点徽标（圆形印，深红）===== */
/* 暗色模式：徽标本身是深红+透明底，在深底上对比不足 → 加白色圆形衬底 */
@media (prefers-color-scheme: dark) {
    .brand-logo { background: #fff; border-radius: 50%; padding: 2px; box-sizing: content-box; }
}

/* 投编审稿页 · 暗色模式蓝色主题 */
@media (prefers-color-scheme: dark) {
    .ts-wrap { --accent: #6da8d8; --accent-hover: #8bbde5; --accent-soft: #22303c;
               --accent-soft-border: #3b5a75; --ts-tint: #1d242b; --ts-shadow: rgba(0,0,0,.45); }
    .ts-link-main .ts-link-a { color: #10222f; }
}

/* 打印：去掉背景纹理，省墨且不干扰 */

/* ===== 首页：荣誉与收录 ===== */
.home-honor { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 26px 28px 22px; margin: 8px 0 30px; }
.hh-head { text-align: center; margin-bottom: 16px; }
.hh-title { font-size: 1.4rem; letter-spacing: .14em; color: var(--accent); margin: 0; font-weight: 600; }
.hh-title::after { content: ""; display: block; width: 54px; height: 2px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--accent-soft-border), transparent); }
.hh-sub { margin: 7px 0 0; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-weak); }
.hh-index { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hh-index-rows { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hh-index-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; line-height: 1.5; }
.hh-index-journal { flex: 0 0 104px; font-size: .74rem; color: var(--text-weak); }
.hh-codes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; font-size: .74rem; }
.hh-codes b { color: var(--accent); font-weight: 600; }
.hh-codes i { font-style: normal; color: var(--border-strong); }
.hh-index-label { flex: 0 0 auto; font-size: .78rem; color: var(--text-weak); letter-spacing: .1em; padding-top: 6px; }
.hh-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hh-badges li { display: flex; align-items: baseline; gap: 6px; border: 1px solid var(--accent-soft-border); background: var(--accent-soft); border-radius: 4px; padding: 4px 10px; }
.hh-badges b { color: var(--accent); font-size: .8rem; letter-spacing: .04em; }
.hh-badges span { font-size: .68rem; color: var(--text-weak); max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 年度时间线：横向可拖拽，节点可点击 */
.hh-timeline { position: relative; margin: 16px 0 2px; overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.hh-timeline::-webkit-scrollbar { display: none; }
.hh-timeline.dragging { cursor: grabbing; }
.hh-track { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; min-width: 100%; padding: 6px 6px 0; }
.hh-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hh-line polyline { fill: none; stroke: var(--border); stroke-width: 1; stroke-linecap: round; }
.hh-node { position: relative; flex: 1 0 auto; min-width: 54px; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 0 2px; background: none; border: none; cursor: pointer; color: var(--text-weak); font: inherit; }
.hh-node-dot { position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-surface); border: 2px solid var(--border-strong); transition: all .18s ease; }
.hh-node-year { font-size: .78rem; letter-spacing: .04em; transition: color .18s; }
.hh-node:hover .hh-node-dot { border-color: var(--accent-soft-border); }
.hh-node:hover .hh-node-year { color: var(--accent); }
.hh-node.on .hh-node-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(129, 28, 33, .12); transform: scale(1.1); }
.hh-node.on .hh-node-year { color: var(--accent); font-weight: 600; }
.hh-node-mark { position: absolute; top: -5px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-soft-border); }
.hh-panel { display: none; }
.hh-panel.on { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 10px; }
.hh-panel.on.single { grid-template-columns: 1fr; }
.hh-col-title { font-size: .82rem; color: var(--text-weak); letter-spacing: .12em; margin: 0 0 6px; font-weight: 600; }
.hh-list { list-style: none; margin: 0; padding: 0; }
.hh-list li { display: flex; gap: 9px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.hh-list li:last-child { border-bottom: none; }
.hh-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-soft-border); margin-top: 8px; flex: 0 0 auto; }
.hh-item-main { min-width: 0; }
.hh-item-title { font-size: .87rem; color: var(--text-strong); line-height: 1.55; }
.hh-item-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; font-size: .72rem; color: var(--text-weak); align-items: baseline; }
.hh-level { font-style: normal; color: var(--accent); border: 1px solid var(--accent-soft-border); border-radius: 3px; padding: 0 5px; }
.hh-winner { color: var(--text); font-weight: 600; }
.hh-empty { font-size: .78rem; color: var(--text-weak); margin: 4px 0; }
@media (max-width: 760px) { .hh-panel.on { grid-template-columns: 1fr; gap: 14px; } .home-honor { padding: 20px 18px; } }

@media print {
    body { background-image: none !important; }
}

/* ============================================================
   手机端布局优化（2026-10-27）
   目标：≤780px 一列流式布局、触控友好、减少首屏拥挤与无谓留白。
   规则集中在此段，便于后续维护；优先级高于上方同名桌面规则。
   ============================================================ */

/* 手机端折叠菜单（桌面隐藏） */
.mnav { display: none; }

@media (max-width: 780px) {
    /* ---------- 基础容器 ---------- */
    .container { padding-left: 14px; padding-right: 14px; }
    .site-main { padding: 18px 14px 36px; }
    h1, h2, h3, h4 { letter-spacing: 0; }

    /* ---------- 页头：徽标 + 菜单按钮 ---------- */
    .site-header .header-inner {
        display: flex; flex-wrap: nowrap; align-items: center;
        justify-content: space-between; gap: 10px; padding: 8px 14px;
    }
    .site-header .brand { min-width: 0; }
    .site-header .brand-logo { height: 42px; }
    .site-header .brand-name {
        font-size: .86rem; max-width: 58vw;
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .site-header .main-nav { display: none; }

    .mnav { display: block; margin-left: auto; position: relative; z-index: 60; }
    .mnav > summary {
        list-style: none; display: flex; align-items: center; gap: 7px;
        height: 40px; padding: 0 12px; box-sizing: border-box;
        border: 1px solid var(--border-strong); border-radius: 9px;
        color: var(--text-strong); background: var(--bg-surface);
        font-size: .86rem; cursor: pointer; user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    .mnav > summary::-webkit-details-marker { display: none; }
    .mnav[open] > summary { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
    .mnav-icon { display: flex; flex-direction: column; gap: 3px; width: 15px; }
    .mnav-icon i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
    .mnav-panel {
        position: absolute; right: 0; top: calc(100% + 8px);
        width: min(232px, calc(100vw - 28px)); box-sizing: border-box;
        background: var(--bg-surface); border: 1px solid var(--border);
        border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.16);
        padding: 6px; z-index: 70;
    }
    .mnav-panel a {
        display: flex; align-items: center; min-height: 44px; padding: 0 14px;
        border-radius: 8px; color: var(--text-strong); font-size: .96rem;
        text-decoration: none;
    }
    .mnav-panel a:hover, .mnav-panel a:active { background: var(--bg-soft); color: var(--accent); }
    .mnav-panel a.nav-blue {
        justify-content: center; margin: 6px 2px 2px; min-height: 42px;
        background: var(--link); color: #fff; font-weight: 600;
    }
    .mnav-panel a.nav-blue:hover { background: #14507c; color: #fff; }

    /* ---------- 通用：按钮触控高度 ---------- */
    .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 12px; box-sizing: border-box; }

    /* ---------- 首页 Hero ---------- */
    .hero { padding: 12px 0 18px; }
    .hero-title { font-size: 1.55rem; letter-spacing: 1px; }
    .hero-sub { font-size: .7rem; line-height: 1.7; letter-spacing: .4px; margin: 6px 0 10px; }
    .hero-desc { font-size: .86rem; line-height: 1.75; padding: 0 2px; }

    /* ---------- 首页三刊卡 ---------- */
    .journals { margin: 14px 0 24px; }
    .journals-grid { gap: 14px; }
    .journal-card { padding: 14px; border-radius: 10px; }
    .journal-card-cover { margin: -14px -14px 12px; height: 208px; }
    .journal-name { font-size: 1.12rem; }
    .journal-sub {
        font-size: .84rem; line-height: 1.65; margin-bottom: 12px;
        display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
    }
    .journal-links { gap: 7px; }
    .journal-links .btn { font-size: .8rem; padding: 6px 4px; }

    /* ---------- 首页新闻列表 ---------- */
    .home-cols { gap: 14px; margin: 8px 0 22px; }
    .home-col { padding: 14px 15px; }
    .home-col .card-title { font-size: 1rem; margin-bottom: 6px; }
    .home-col .item-row { padding: 8px 0; }
    .home-col .item-row .item-main { flex-wrap: wrap; gap: 1px 8px; }
    .home-col .item-row .item-main > a,
    .home-col .item-row .item-main > span {
        white-space: normal; line-height: 1.55; overflow: visible; text-overflow: clip;
    }
    .home-col .item-row .item-date { font-size: .72rem; }

    /* ---------- 首页荣誉与收录 ---------- */
    .home-honor { padding: 18px 14px 16px; margin: 4px 0 24px; }
    .hh-head { margin-bottom: 12px; }
    .hh-title { font-size: 1.2rem; letter-spacing: .1em; }
    .hh-index { flex-direction: column; gap: 7px; padding: 10px 0; }
    .hh-index-label { padding-top: 0; font-size: .74rem; }
    .hh-index-journal { flex: 0 0 auto; font-size: .72rem; font-weight: 600; color: var(--accent); }
    .hh-codes { font-size: .73rem; }
    .hh-badges { gap: 6px; }
    .hh-badges li { padding: 4px 8px; }
    .hh-badges span { max-width: none; white-space: normal; }

    /* ---------- 期刊门户：二级导航 ---------- */
    .jn-inner {
        overflow-x: auto; -webkit-overflow-scrolling: touch;
        padding: 0 8px; scrollbar-width: none;
    }
    .jn-inner::-webkit-scrollbar { display: none; }
    .jn-item { padding: 11px 12px; font-size: 14px; }
    .jn-sub { min-width: 160px; }

    /* ---------- 期刊门户：头部与卡片 ---------- */
    .jh-wrap { padding: 0 12px; margin: 14px auto 30px; }
    .jh-head {
        flex-direction: column; align-items: center; text-align: center;
        gap: 14px; padding: 16px; margin-bottom: 16px;
    }
    .jh-head .cover { width: 128px; }
    .jh-head .jname { font-size: 22px; }
    .jh-head .jname-en { font-size: 12.5px; line-height: 1.5; margin-bottom: 10px; }
    .jh-meta-list { width: 100%; text-align: left; font-size: 13px; gap: 5px; }
    .jh-meta-list .k { min-width: 76px; }
    .jh-row { flex-direction: column; gap: 14px; margin-bottom: 18px; }
    .jh-col-left, .jh-col-right, .jh-featured, .jh-side3 { flex: 1 1 100%; width: 100%; min-width: 0; }
    .jh-block { padding: 14px; border-radius: 10px; }
    .jh-block h3 { font-size: 14.5px; margin-bottom: 10px; }
    .jh-issue-cover { width: 124px; }
    .jh-issue-line { font-size: 13px; }
    .jh-list li { font-size: 13px; padding: 7px 0; }
    .jh-stats { gap: 10px; }
    .jh-stats .s { padding: 8px; }
    .jh-stats .s .n { font-size: 20px; }
    .jh-qr img { width: 112px; height: 112px; }
    .jh-wordcloud { height: 250px; }
    .jh-col-right > .jh-block.jh-fill > .jh-wordcloud { min-height: 250px; }
    .jh-meta-grid { grid-template-columns: 1fr; gap: 6px; }
    .jh-meta-grid .k { min-width: 74px; }

    /* 刊期选择器 */
    .issue-picker { gap: 8px; }
    .issue-slider { gap: 4px; }
    .is-nav { width: 26px; font-size: 18px; }
    .is-item { min-width: 54px; padding: 5px 6px; }
    .issued-cover { gap: 10px; padding: 8px; }
    .issued-cover img { width: 96px; }
    .issued-cover-ph { width: 96px; height: 130px; }
    .issued-head { flex-wrap: wrap; gap: 2px 8px; }

    /* ---------- 新闻列表 / 详情 ---------- */
    .breadcrumb { font-size: .78rem; margin: 10px 0; }
    .news-layout { gap: 12px; }
    .news-side-title { font-size: .92rem; margin-bottom: 8px; }
    .news-side-list {
        display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .news-side-list::-webkit-scrollbar { display: none; }
    .news-side-list li { flex: 0 0 auto; }
    .news-side-list li a {
        display: block; padding: 7px 12px; border: 1px solid var(--border);
        border-radius: 999px; font-size: .84rem; border-left-width: 1px; white-space: nowrap;
    }
    .news-side-list li.active a { border-color: var(--accent); background: var(--accent-soft); }
    .news-side-group { padding: 0 2px; font-size: .78rem; }
    .news-page-title { font-size: 1.18rem; margin-bottom: 10px; }
    .news-row { gap: 10px; padding: 12px 0; }
    .news-thumb { width: 106px; border-radius: 6px; }
    .news-title { font-size: .9rem; line-height: 1.55; }
    .news-meta { font-size: .74rem; gap: 8px; flex-wrap: wrap; }
    .news-detail-title { font-size: 1.28rem; }
    .news-detail-en { font-size: .85rem; }
    .news-detail-meta { flex-wrap: wrap; gap: 4px 12px; font-size: .78rem; }
    .news-detail-content { font-size: .95rem; line-height: 1.85; }

    /* ---------- 文章详情 / 期目录 ---------- */
    .article-detail-title { font-size: 1.28rem; }
    .article-detail-title-en { font-size: .88rem; }
    .article-detail-meta { flex-wrap: wrap; gap: 5px 12px; font-size: .78rem; }
    .article-abstract { padding: 12px 14px; font-size: .9rem; line-height: 1.8; }
    .article-keywords { font-size: .85rem; }
    .article-detail table, .news-detail-content table, .item-page-content table,
    .topic-news-body table {
        display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    }
    .article-stats { flex-wrap: wrap; gap: 8px 14px; }
    .refs-body { font-size: .84rem; line-height: 1.75; }
    .ref-item { padding-left: 1.6em; text-indent: -1.6em; }
    .issue-article-item { padding: 12px 0; }
    .issue-article-item .article-links { gap: 10px; flex-wrap: wrap; }
    .issue-year-list { columns: 2; column-gap: 14px; }

    /* ---------- 文章检索 ---------- */
    .search-hero { padding: 6px 0 2px; }
    .search-panel { padding: 16px 14px; border-radius: 10px; margin: 10px 0 16px; }
    .sp-scope { font-size: .82rem; padding: 8px 10px; }
    .sp-group { flex-direction: column; gap: 8px; margin-bottom: 14px; padding-bottom: 12px; }
    .sp-label { padding-top: 0; font-size: .88rem; }
    .sp-row { grid-template-columns: 1fr; gap: 12px; }
    .sp-inline { flex-wrap: wrap; }
    .result-side-card { position: static; padding: 14px; }
    .result-item { padding: 14px 0; }
    .result-title { font-size: 1rem; }
    .result-summary { font-size: .9rem; }
    .result-time { float: none; display: block; margin-top: 4px; }
    .search-tips { padding: 10px 12px; }

    /* ---------- 投稿审稿 ---------- */
    .ts-wrap { padding: 4px 0; }
    .ts-head { margin-bottom: 16px; padding-bottom: 10px; }
    .ts-h1 { font-size: 21px; letter-spacing: 1px; }
    .ts-lead { font-size: 12.5px; line-height: 1.7; }
    .ts-grid { gap: 14px; }
    .ts-card-top { padding: 14px; gap: 12px; }
    .ts-cover { flex-basis: 64px; width: 64px; height: 88px; }
    .ts-name { font-size: 16px; }
    .ts-link { padding: 11px 14px; }
    .ts-step { padding: 12px 14px; }
    .ts-flow { margin-top: 22px; }

    /* ---------- 工作论文 / 专题 ---------- */
    .wp-title { font-size: 1rem; }
    .wp-abs { font-size: .84rem; line-height: 1.7; }
    .wp-item { padding: 13px 0; }
    .wp-meta { gap: 8px 12px; }
    .wp-download { display: inline-flex; align-items: center; min-height: 32px; }
    .topic-head { padding: 2px 0 14px; margin-bottom: 16px; }
    .topic-head-logo { width: 58px; height: 58px; }
    .topic-head-name { font-size: 1.32rem; }
    .topic-intro { padding: 12px 14px; font-size: .9rem; line-height: 1.75; }
    .topic-section { margin-bottom: 22px; }
    .topic-section-title { font-size: 1.05rem; }
    .topic-news-title { font-size: 1.3rem; }
    .topic-news-body { font-size: 15px; line-height: 1.9; }

    /* ---------- 登录 / 认证 ---------- */
    .auth-page { padding: 18px 4px 36px; }
    .auth-card { padding: 22px 18px; }
    .portal-card { padding: 20px 16px; }

    /* ---------- 页脚 ---------- */
    .site-footer { padding-top: 20px; font-size: .82rem; }
    .footer-cols { gap: 18px; padding-bottom: 16px; }
    .footer-col h4 { margin-bottom: 8px; }
    .footer-brand { margin-bottom: 10px; }
    .footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
    .footer-contact h4 { grid-column: 1 / -1; }
    .footer-contact p { margin: 0; line-height: 1.65; font-size: .8rem; }
    .footer-col-links ul.footer-links-cols { columns: 2; column-gap: 16px; }
    .footer-col-links li { padding: 0; }
    .footer-col-links a { display: block; padding: 6px 0; line-height: 1.35; }
    .wx-qr-grid { gap: 8px; }
    .wx-qr-item img { max-width: 62px; }
    .wx-qr-item span { font-size: .64rem; line-height: 1.3; }
    .footer-bottom { padding: 12px 14px 14px; font-size: .72rem; }

    /* ---------- 其它 ---------- */
    .pagination { gap: 10px; margin: 18px 0; }
    .section-pill { padding: 6px 14px; }
    .footer-links-panel { padding: 16px; }
}

@media (max-width: 400px) {
    .site-header .brand-logo { height: 38px; }
    .hero-title { font-size: 1.4rem; }
    .journal-card-cover { height: 186px; }
    .footer-contact { grid-template-columns: 1fr; }
    .wx-qr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wx-qr-item img { max-width: 74px; }
}

/* 手机端补充：订阅表单 / 下载中心 / 查稿 */
@media (max-width: 780px) {
    .sub2-grid { gap: 14px; margin-top: 14px; }
    .sub2-card { padding: 16px 14px; }
    .sub2-h { font-size: 16px; }
    .sub2-row { gap: 8px; }
    .sub2-row label { flex: 0 0 66px; font-size: 13px; }
    .sub2-row select, .sub2-row input { font-size: 16px; padding: 9px 10px; } /* ≥16px 防 iOS 聚焦缩放 */
    .sub2-code { font-size: 16px; }

    .mm-toolbar { gap: 8px; }
    .mm-sel { min-width: 0; flex: 1 1 42%; }
    .mm-art { min-width: 0; width: 100%; max-width: none; flex: 1 1 100%; }
    .mm-hint { flex: 1 1 100%; }
    .mm-viewer { gap: 8px; }
    .mm-stage img { height: 300px; }
    .mm-nav { width: 34px; height: 34px; font-size: 18px; }
    .mm-foot { flex-wrap: wrap; gap: 4px 10px; }
    .data-tbl { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .dl-item { gap: 8px; padding: 10px 4px; }
    .dl-item-name { font-size: 13.5px; word-break: break-all; }

    .q-card { margin-top: 10px; }
    .q-item { padding: 13px; }
    .q-vcrow img { height: 44px; }
}

/* 极窄屏（≤420px）：订阅表单网格按 0 最小宽度收缩，避免 input 默认 min-content 撑破卡片 */
@media (max-width: 420px) {
    .sub2-grid { grid-template-columns: minmax(0, 1fr); }
    .sub2-card { min-width: 0; }
    .sub2-row { flex-wrap: wrap; }
    .sub2-row label { flex: 1 1 100%; }
    .sub2-row select, .sub2-row input { flex: 1 1 100%; width: 100%; }
    .sub2-row-code .btn { flex: 1 1 100%; margin-top: 2px; }
}
