body { color: #333; font: 16px / 1.5 "\5FAE\8F6F\96C5\9ED1", sans-serif;}
.front .metadata:first-of-type { display: none; } 
.part-rule {display: none;}
.front { 
    clear: both;
    overflow: hidden;
    font-size: 1em;
    padding: 60px 10% 20px;
    word-break: break-word; 
    left: 260px;
}

#Tree {
    padding: 0 0 0 18px;
    will-change: height;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -ms-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.left-content {
    box-sizing: border-box;
    position: relative;
    height: 100%;
    float: left;
    min-width: 160px !important;
    border-right: 1px solid #eaebed;
    background: #f5f6fa;
    z-index: 6;
    width: 280px;
    position: absolute;
    /*top: 46px;*/
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    border-right: 1px solid #eaebed;
    transition-duration: .3s;
}

.right-content .table-title { text-align: center; font-size: .9em;margin: 1em 0 .2em;     font-weight: 700;line-height: 1.5;padding: 1em 0 .5em;}
.right-content .image-title { text-align: center; font-size: .9em;margin: 1em 0 .2em;     font-weight: 700;line-height: 1.5;padding: 1em 0 .5em;}
.right-content .image-subtitle { 
    text-align: center; 
    text-indent: 2em;
    line-height: 2 !important;
    margin-bottom: .5em;
    position: relative;
    word-break: break-word;
    font-size: .8em;
    color: #525252;
}

.right-content .title h1 {
    font-weight: 700;
    line-height: 1.5;
    padding: 1em 0 .5em;
    font-size: 1.4em;
    margin-top: 1.5em;
    margin-bottom: 1em;
    text-align: center;
}

.right-content .authors, .right-content .affiliations {
    text-align: center;
    font-size: .89em;
}

.authors .author, .affiliations .aff-item {
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.right-content .front .b {
    font-weight: 700px !important; 
}

.email-icon { font-size: 30px; cursor: pointer; }

.keywords, .funding, .received-date, .abstract { 
    font-size: .89em;
    padding: 0 0 5px;
    width: calc(100% - 25px);
    display: flex;
    margin-bottom: .5em;
    line-height: 2 !important;
}

.abstract { padding-top: 20px; }

.keywords span, .keywords span, .funding span, .received-date span, .abstract span {
    text-indent: 0;
    overflow: visible;
    text-align: left;
    position: relative;
    word-break: break-word;
}

.child b, .child span {
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    line-height: 30px;
    color: #56606d;
    font-size: 14px;
}

.child p {
    position: relative;
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 0 10px 0 30px;
    margin: 2px 0;
    color: #56606d;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 400;
}

.child p {
    overflow: hidden;
}

.child a {
    text-decoration: none;
}

.navmenubtn {
    position: absolute;
    left: 0;
    top: 4px;
    cursor: pointer;
}

.navmenubtn.cur em {
    background: url(../images/metro.png) no-repeat;
    background-position: -92px -72px;
}

.navmenubtn.cur em, .navmenubtn em {
    display: inline-block;
    width: 18px;
    height: 22px;
}

.navmenubtn em {
    background: url(../images/metro.png) no-repeat;
    background-position: -74px -72px;
}

em {
    font-style: normal;
    font-weight: 800;
}


.right-content {
    position: absolute;
    left: 280px;
    right: 0;
    top: 0;
    bottom: 0;
    box-sizing: border-box;
    background: #fff;
    z-index: 7;
    overflow-y: auto;
    transition: right .3s ease;
}

/* 翻译可用时形成“目录 + 原文 + 翻译”三栏，原文和翻译各占剩余空间的一半。 */
.translation-content {
    display: none;
    left: calc(50% + 140px);
    right: 0;
    border-left: 1px solid #eaebed;
    z-index: 8;
    transition: none;
}

body.translation-open #rightContent {
    right: calc(50% - 140px);
}

body.translation-open .translation-content {
    display: block;
}

.body, .back {
    padding: 0px 10% 20px;
    word-break: break-word; 
    left: 260px;
}


.document-title {
    font-weight: 700;
    line-height: 1.5;
    padding: 1em 0 .5em;
    font-size: 1.4em;
    margin-top: 1.5em;
    margin-bottom: 1em;
    text-align: center; 
}

.metadata-entry{
    font-weight: 700;
    line-height: 1.5;
    padding: 1em 0 .5em;
    font-size: 1.4em;
    margin-top: 1.5em;
    margin-bottom: 1em;
    text-align: center;
}

.metadata-group .metadata-entry {
    text-align: center;
    font-size: .89em;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    color: #517de9;
}

.metadata-group .metadata-entry:last-of-type {display: none;}

.body .section p{
    text-indent: 2em;
    line-height: 2 !important;
    margin-bottom: .5em;
    text-align: left;
    position: relative;
    word-break: break-word;
    font-weight: 400;
    list-style: none;
}

h2 {
    font-size: 1.4em;
    line-height: 1.5;
}

h3 {
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.5;
    /*padding: 1em 0 .5em;*/
}

.caption {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: .9em;
    margin: 1em 0 .2em;
}

.caption h5, .caption h3, .panel h5{
    text-align: center;
    font-size: .9em;
    line-height: 1.5;
    padding: 0px;
    margin: 0px;
    font-weight: 700;
}

.right-content img {
    display: flex;
    margin: .5em auto .8em;
    max-width: 67%;
    vertical-align: middle;
    border: none;
    justify-content: center;
}

table {
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
    margin: 0 auto;
    margin-bottom: 10px;
    border-collapse: collapse;
    border-spacing: 0;
}

.caption b {
    margin: 10px 0px 0px; font-weight: bold;
}

table td {
    min-height: 30px;
    padding: 5px;
    border: 1px solid #ccc;
}

.right-content a {
    color: #3474d9;
}

sup:has(> a) {
    color: #3474d9;
}


table td:has(math) {
    min-height: 30px;
    padding: 5px;
    border: none;
}

p:has(math) {
    /*text-align: center !important;*/
}

.back .main-title {
    padding: 5px 0;
    margin-bottom: 22px;
    font-size: 1.4em;
    font-weight: 700;
    border-bottom: 1px solid #d9d9d9;
}

.ref-list .row {
    display: flex;
    color: #525252;
    cursor: text;
    line-height: 25px;
    word-break: initial;
}

.ref-list .row p {
    margin: 8px 0;
}

.ref-list .row .cell {
    display: inline-block;
}

.fixedbar {
    display: none;
    width: 68px;
    height: 68px;
    background: rgba(30, 35, 46, .6);
    color: #fff;
    border-radius: 4px;
    text-align: center;
    line-height: 42px;
    margin-bottom: 2px;
    cursor: pointer;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fixedbar .fixedbar-icon{
    font-size: 20px;
    line-height: 1;
    padding: 4px 0 0;
}

.fixedbar .fixedbar-icon .i-box {
    display: block;
}

.fixedbar .fixedbar-icon .i-box i {
    font-size: 20px;
}

.fixedbar .icon-a-packup {
    margin: 10px auto 0 auto;
    height: 20px;
    width: 20px;
    color: #c1c5cd;
}

.fixedbar .fixedbar-icon .fixed-i-name {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

#backTop.show {display: block;}
#backTop.show {display: block;}

.tooler {
    position: relative;
    height: 40px;
    padding: 0 0 0 16px;
    line-height: 40px;
    text-align: left;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eaebed;
    border-right: 1px solid #eaebed;
}

.tooler img {
    width: 25px;
    height: 25px;
    color: #c1c5cd;
}

.list-btn {
    position: absolute;
    width: 44px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 4px;
    left: 5px;
    top: 6px;
    font-size: 18px;
    color: #506697;
    text-align: center;
}

.tooler span {
    position: relative;
    height: 40px;
    line-height: 40px;
    text-align: left;
    font-size: 14px;
    color: #666;
}

.tooler .title-tab-active {
    border-bottom: 2px solid #1a5eff;
    color: #1a5eff;
}

.tooler #tabTree {
    display: inline-block; margin-left: 37px; cursor: pointer;
}

.tooler #tabChart {
    display: inline-block; margin-left: 13px; cursor: pointer;
}

.left-content ul {
    padding: 0;
}

.left-content {
    overflow: hidden;
}

.left-content .child .cata-img {
    height: auto;
    white-space: wrap;
    cursor: pointer;
    list-style-type: none;
}


.tooler .tab-btn {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 44px;
    width: 20px;
    text-align: center;
    z-index: 2;
    cursor: pointer;
}

.left-content span {
    white-space: normal;
}

#chartContainer {    
    position: absolute;
    top: 46px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    border-right: 1px solid #eaebed;
}

/* 翻译角标提示 */
.translation-mark-en {
    display: none !important;
    font-size: 0; 
    position: relative;
	margin-left: 10px;
    top: -6px;   
}
.translation-mark-en::after {
    content: "AI Translation";
    font-size: 10px;
    left: 5px;
    color: #ff0000;
}
.translation-mark-zh {
    display: none !important;
    font-size: 0; 
    position: relative;
	margin-left: 10px;
    top: -6px;
}
.translation-mark-zh::after {
    content: "AI翻译";
    font-size: 10px;
    left: 5px;
    color: #ff0000;
}

/* 翻译全文声明 */
.translate-declare-en {
    display: none !important;

    height: 48px;
    background: rgba(30, 35, 46, .6);
    border-radius: 4px;
    position: fixed;
    right: 30px;
    z-index: 99;
    bottom: 160px;
}
.translate-declare-en::after {
    content: "This article is translated by AI";
    font-size: 10px;
    color: #ff0000;
}
.translate-declare-zh {
    display: none !important;
    
	height: 48px;
    background: rgba(30, 35, 46, .6);
    border-radius: 4px;
    position: fixed;
    right: 30px;
    z-index: 99;
    bottom: 160px;
}
.translate-declare-zh::after {
    content: "本文由AI翻译";
    font-size: 10px;
    color: #ff0000;
}

/* 翻译按钮：默认隐藏，接口返回 htmlData 后才显示。 */
.to-translation {
    text-decoration: none;
    bottom: 120px;
    line-height: 68px;
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    border: 0;
    font-family: inherit;
}

.to-translation.is-available {
	/*background: rgba(26, 94, 255, .85);*/
    display: block;
}

/*.to-translation[aria-expanded="true"] {
    background: rgba(30, 35, 46, .6);
}*/

/* 基础样式：元素相对定位，保持行内块 */
.translate-await {
    position: relative;
    display: inline-block;
	margin: 1px 0px;
}

/* 遮罩 + 光带动画 + 文字 */
.translate-await::before {
    content: "";
    position: absolute;
    inset: 0;
    /* ----- 多重背景叠加 ----- */
    background: 
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.8) 50%,
            transparent 100%
        ) /* 光带（白色半透明） */
        rgba(0, 0, 0, 0.2);                /* 您原有的半透明背景 */
    background-size: 200% 100%, 100% 100%; /* 光带宽度为200%，半透明背景为100% */
    background-repeat: no-repeat;
    /* ----- 毛玻璃模糊 ----- */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 4px;
    /* ----- Flex 居中文字 ----- */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    /* 防止遮罩阻挡点击 */
    pointer-events: none;
    z-index: 1;
    /* ----- 光带扫描动画 ----- */
    animation: scan-light 1.8s infinite linear;
}

/* 扫描动画：光带从左到右移动 */
@keyframes scan-light {
    0% {
        background-position: -200% 0, 0 0; /* 光带起始在左侧外部 */
    }
    100% {
        background-position: 200% 0, 0 0;  /* 光带移动到右侧外部 */
    }
}



/* 翻译失败：保留内容并显示错误蒙版。 */
.translate-error {
    position: relative;
    display: inline-block;
    margin: 1px 0;
    overflow: visible;
    isolation: isolate;
}

/* 错误蒙版不接收鼠标事件，确保右上角的“重试”按钮始终可点击。 */
.translate-error::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(220, 38, 38, .38);
    border-radius: 6px;
    background: rgba(254, 226, 226, .72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    pointer-events: none;
    z-index: 1;
}

/* 翻译完成：保持原有行内布局，避免inline-block造成正文意外换行。 */
.translate-finish {
    border-radius: 5px;
}

/* 机构是整块翻译单元，不能被通用蒙版样式改成行内布局。 */
.affiliations.translate-await,
.affiliations.translate-error,
.affiliations.translate-finish {
    display: block;
}

/*
 * 翻译完成显示“重新翻译”，失败显示“重试”。
 * 默认定位用于失败蒙版；完成态会覆盖为普通行内按钮并放在译文末尾。
 */
.translation-retry-button {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #4f7cff 0%, #3158df 100%);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(49, 88, 223, .3);
    transform: translate(30%, -58%);
    transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease, filter .18s ease;
    pointer-events: auto;
}

/* 完成态按钮直接跟在译文末尾，不再悬浮覆盖正文。 */
.translate-finish > .translation-retry-button {
    position: static;
    gap: 2px;
    height: 18px;
    margin-left: 5px;
    padding: 0 6px;
    border-radius: 9px;
    opacity: 0;
    font-size: 10px;
    line-height: 16px;
    vertical-align: middle;
    transform: none;
    box-shadow: none;
}

.translate-finish > .translation-retry-button .translation-retry-icon {
    font-size: 11px;
}

/* 鼠标移入当前译文片段、悬停按钮或键盘聚焦时再完整显示。 */
.translate-finish:hover > .translation-retry-button,
.translate-finish > .translation-retry-button:hover,
.translate-finish > .translation-retry-button:focus-visible {
    opacity: 1;
    transform: none;
    box-shadow: 0 3px 10px rgba(49, 88, 223, .24);
}

.translate-finish > .translation-retry-button:active {
    transform: scale(.97);
}

.translate-error > .translation-retry-button {
    opacity: 1;
    background: linear-gradient(135deg, #ef5b5b 0%, #cf3030 100%);
    box-shadow: 0 5px 14px rgba(207, 48, 48, .28);
}

.translation-retry-button:hover,
.translation-retry-button:focus-visible {
    filter: brightness(1.05);
    transform: translate(30%, -62%);
    box-shadow: 0 7px 18px rgba(49, 88, 223, .38);
    outline: none;
}

.translate-error > .translation-retry-button:hover,
.translate-error > .translation-retry-button:focus-visible {
    box-shadow: 0 7px 18px rgba(207, 48, 48, .36);
}

.translation-retry-button:active {
    transform: translate(30%, -52%) scale(.97);
}

.translation-retry-icon {
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    transition: transform .35s ease;
}

.translation-retry-button:hover .translation-retry-icon,
.translation-retry-button:focus-visible .translation-retry-icon {
    transform: rotate(-180deg);
}


/* 翻译声明 */
.ai_trans_tips_control {
    position: relative;
    --ai-tips-close-offset: 18px;
    --ai-tips-close-size: 26px;
}

.ai_trans_tips {
    margin: 10px;
    padding: 16px 52px 16px 20px;
    background: #fff9ede6;
    border: 1px solid #f2dfb9;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.08) 0 3px 8px, rgba(255, 255, 255, 0.04) 0 0 0 1px;
    backdrop-filter: blur(3px);
}

/*
 * 透明checkbox覆盖可见关闭按钮，点击后保存选中状态。
 * 不使用display:none，确保键盘仍可聚焦并通过空格键关闭。
 */
.ai_trans_tips_toggle {
    position: absolute;
    top: var(--ai-tips-close-offset);
    right: var(--ai-tips-close-offset);
    z-index: 4;
    width: var(--ai-tips-close-size);
    height: var(--ai-tips-close-size);
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.ai_trans_tips_close {
    position: absolute;
    top: var(--ai-tips-close-offset);
    right: var(--ai-tips-close-offset);
    z-index: 3;
    display: block;
    width: var(--ai-tips-close-size);
    height: var(--ai-tips-close-size);
    padding: 0;
    border: 1px solid rgba(146, 111, 45, .2);
    box-sizing: border-box;
    border-radius: 50%;
    color: #8a6a2f;
    background: rgba(255, 255, 255, .76);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(92, 69, 25, .14);
    transition: color .18s ease, background .18s ease, border-color .18s ease,
                box-shadow .18s ease, transform .18s ease;
}

/* 使用两条线绘制X，交点严格位于圆圈几何中心。 */
.ai_trans_tips_close::before,
.ai_trans_tips_close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    transform-origin: center;
}

.ai_trans_tips_close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.ai_trans_tips_close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.ai_trans_tips_toggle:hover + .ai_trans_tips_close,
.ai_trans_tips_toggle:focus-visible + .ai_trans_tips_close {
    color: #fff;
    background: #b58a42;
    border-color: #b58a42;
    transform: rotate(90deg);
    box-shadow: 0 4px 11px rgba(92, 69, 25, .22);
    outline: 2px solid rgba(181, 138, 66, .22);
    outline-offset: 2px;
}

/* 选中后同时隐藏提示框、可见按钮和透明checkbox，包装元素不再占高度。 */
.ai_trans_tips_toggle:checked,
.ai_trans_tips_toggle:checked + .ai_trans_tips_close,
.ai_trans_tips_toggle:checked ~ .ai_trans_tips {
    display: none;
}

.ai_trans_tips h3 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
}
.ai_trans_tips p {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

.translate-toggle {
    position: fixed;
    right: 24px;
    top: 20%;
    z-index: 20;
    min-width: 136px;
    height: 48px;
    padding: 0 18px 0 12px;
    border: 1px solid #a8c7f4;
    background: linear-gradient(135deg, #f2f7ff, #e6f1ff);
    color: #155bb5;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 14px rgba(33, 105, 199, .12);
}

.translate-toggle {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 8px;
    cursor: pointer;
}

button, a {
    font: inherit;
}

.ai-chip {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #245fca, #655bd3);
    font-size: 11px;
    letter-spacing: -.03em;
}

/* 0929 jzl */
.formula { display: flex; text-align: center; margin: 15px 0;    position: relative;    justify-content: center;
    align-items: center;}
.formula .formula-label { position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); }
math { font: 16px / 1.5 "\5FAE\8F6F\96C5\9ED1", sans-serif; math-style: normal;}

