@font-face{font-family:"Cinzel";font-style:normal;font-weight:600;font-display:block;src:url(../../font/Cinzel-600.woff2) format("woff2")}
*{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%}
body{font-family:"PingFang SC","Microsoft YaHei UI","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif;background:#0a0a0a;color:#e8e8e8;display:flex;flex-direction:column;min-height:100%}
a{color:inherit;text-decoration:none}
.research-header{flex:0 0 auto;position:sticky;top:0;z-index:100;background:#0a0a0a;border-bottom:1px solid #222}
.research-header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:12px 20px;min-height:48px}
.research-brand{display:inline-flex;align-items:flex-end;gap:.35em;font-size:16px;font-weight:700;line-height:1;color:#fff;white-space:nowrap}
.research-brand-word,.research-brand [data-i18n]{line-height:1}
.research-brand-word{font-family:"Cinzel","Times New Roman",serif;font-weight:600;font-size:18px;letter-spacing:0.02em}
.research-header-right{display:flex;align-items:center;gap:1rem}
.site-lang-select{margin:0;padding:4px 28px 4px 10px;font-size:14px;font-weight:500;line-height:1.2;font-family:inherit;color:#e8e8e8;background:#1a1a1a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239a9a9a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 8px center;border:1px solid #444;border-radius:4px;cursor:pointer;appearance:none;-webkit-appearance:none;min-height:32px}
.site-lang-select:hover{border-color:#76B900;color:#fff}
.site-lang-select:focus{outline:2px solid #76B900;outline-offset:2px}
.site-lang-select option{color:#111;background:#fff}
.research-layout{flex:1 1 auto;display:flex;align-items:stretch;min-height:0;width:100%}
.research-sidebar{flex:0 0 220px;width:220px;border-right:1px solid #222;background:#050505;padding:20px 0 32px;overflow-y:auto}
.research-nav{list-style:none;margin:0;padding:0}
.research-nav a{display:block;padding:10px 20px;font-size:15px;font-weight:600;color:#9a9a9a;border-left:3px solid transparent;transition:color .15s,border-color .15s,background .15s}
.research-nav a:hover{color:#fff;background:rgba(118,185,0,.06)}
.research-nav a.is-active{color:#fff;border-left-color:#76B900;background:rgba(118,185,0,.1)}
.research-main{flex:1 1 auto;min-width:0;padding:28px 32px 48px;overflow-y:auto}
.research-content{max-width:1030px;font-size:16px;color:#d8d8d8}
.research-prose{line-height:1.8}
.research-prose h1,.research-prose h2,.research-prose h3{font-family:"PingFang SC","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;color:#fff;font-weight:700;line-height:1.35}
.research-prose h1{font-size:calc(1.75rem - 1px);margin:0 0 .85em}
.research-prose h2{font-size:calc(1.3rem - 1px);margin:1.75em 0 .65em;padding-bottom:.4em;border-bottom:1px solid #333}
.research-prose h3{font-size:calc(1.1rem - 1px);margin:1.35em 0 .5em;color:#eee}
.research-prose>p{margin:0 0 1.1em}
.research-prose>p:last-child{margin-bottom:0}
.research-prose strong{font-weight:700;color:#fff}
.research-prose li strong{font-weight:700;color:#76B900}
.research-prose em{font-style:italic;color:#ccc}
.research-prose .md-ul,.research-prose .md-ol{margin:0 0 1.25em;padding-left:0;list-style:none}
.research-prose .md-ul>li,.research-prose .md-ol>li{position:relative;margin:0 0 .65em;padding-left:1.35em;line-height:1.75}
.research-prose .md-ul>li::before{content:"";position:absolute;left:.35em;top:.72em;width:5px;height:5px;border-radius:50%;background:#76B900}
.research-prose .md-ol{counter-reset:md-ol}
.research-prose .md-ol>li{counter-increment:md-ol;padding-left:1.75em}
.research-prose .md-ol>li::before{content:counter(md-ol) ".";position:absolute;left:0;top:0;font-weight:700;color:#76B900;min-width:1.25em}
.research-prose a{color:#76B900;text-decoration:none}
.research-prose a:hover{color:#9ed42d;text-decoration:none}
.research-prose .md-ol > li .research-paper-date{display:inline-block;font-size:14px;line-height:1.75;color:#4d7318;font-weight:500;vertical-align:baseline}
.research-prose .md-ol > li a + .research-paper-date{margin-left:.35em}
.research-prose code{font-family:ui-monospace,Consolas,monospace;font-size:.9em;background:#1a1a1a;color:#e8e8e8;padding:.12em .4em;border-radius:3px;border:1px solid #2a2a2a}
.research-prose pre{margin:0 0 1.25em;padding:14px 16px;background:#111;border:1px solid #333;border-radius:6px;overflow-x:auto;line-height:1.55}
.research-prose pre code{padding:0;background:transparent;border:none}
.research-prose figure.research-contact-qr{margin:1.25em 0 0;padding:0;border:none}
.research-prose .research-contact-qr-img{display:block;width:150px;height:auto;max-width:100%;border-radius:6px;border:1px solid #333;background:#111}
.research-prose figure.research-contact-qr + p{margin-top:.5em;font-size:14px;color:#9a9a9a;line-height:1.5}
.research-status{padding:2rem 0;color:#9a9a9a;font-size:14px}
.research-status.is-error{color:#e88}
/* 英文正文：长词换行 + 音节连字符（需 html lang=en） */
html:lang(en) .research-prose>p,
html:lang(en) .research-prose .md-ul>li,
html:lang(en) .research-prose .md-ol>li{overflow-wrap:break-word;word-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;hyphenate-limit-chars:6 3 3}
@media (max-width:768px){.research-layout{flex-direction:column}.research-sidebar{flex:0 0 auto;width:100%;border-right:none;border-bottom:1px solid #222;padding:12px 0}.research-nav{display:flex;flex-wrap:wrap;gap:4px;padding:0 12px}.research-nav a{border-left:none;border-radius:4px;padding:8px 12px}.research-nav a.is-active{border-left:none;box-shadow:inset 0 0 0 1px #76B900}.research-main{padding:20px 16px 32px}}
@media (hover:none) and (pointer:coarse) and (orientation:portrait){.research-header-inner{align-items:flex-start;padding:6px max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left));min-height:auto}.research-brand{flex-direction:column;align-items:flex-start;gap:8px;white-space:nowrap}.research-brand-word{font-size:16px}.research-header-right{align-items:flex-end}.site-lang-select{min-height:0;height:auto;line-height:1;padding:2px 22px 2px 8px;font-size:13px;margin:0}}
@media (hover:none) and (pointer:coarse) and (orientation:landscape){.site-lang-select{min-height:0;height:auto;line-height:1;padding:2px 22px 2px 8px;font-size:13px;margin:0}}
