:root {
  --purple: #9b007a;
  --purple-dark: #7a045d;
  --purple-alt: #7a2cce;
  --border: #dfdfdf;
  --text: #333;
  --muted: #777;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; font-size: 14px; background: #fff; overflow-x: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.demo-strip { height: 28px; color: #fff; background: #5f074e; text-align: center; line-height: 28px; letter-spacing: .08em; font-size: 12px; }
.masthead { height: 220px; position: relative; background: #f7f2f5 url("assets/hbg.png") no-repeat center top; background-size: auto 220px; }
.masthead::before { content: ""; position: absolute; z-index: 1; top: 142px; left: calc(50% - 34px); width: 270px; height: 22px; overflow: hidden; box-sizing: border-box; background: #7a078c; }
.masthead-inner { width: 1318px; height: 100%; margin: 0 auto; position: relative; }
.brand { width: 640px; height: 140px; position: absolute; left: 0; top: 34px; }
.search { position: absolute; right: 0; bottom: 18px; display: flex; align-items: center; gap: 3px; }
.search select, .search input { height: 36px; border: 1px solid #b5b5b5; background: #fff; color: #555; }
.search select { width: 104px; padding: 0 6px; }
.search input { width: 180px; padding: 0 12px; border-right: 0; }
.search-button, .advanced { height: 36px; border: 0; color: #fff; background: var(--purple-alt); cursor: pointer; }
.search-button { width: 52px; font-size: 24px; line-height: 1; border-radius: 0 5px 5px 0; }
.advanced { min-width: 86px; border-radius: 5px; padding: 0 12px; }

.nav { height: 40px; background: var(--purple); position: relative; z-index: 20; }
.nav > ul { width: 1140px; height: 40px; margin: 0 auto; display: flex; justify-content: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: block; color: #fff; height: 40px; line-height: 40px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a.active { color: #f5f697; }
.nav li ul { display: none; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); width: 170px; padding: 6px 0; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.22); }
.nav li:hover ul, .nav li:focus-within ul { display: block; }
.nav li ul a { display: block; color: var(--purple); line-height: 40px; text-align: center; }
.nav li ul a:hover { color: var(--purple); background: #f2edf0; }
.mobile-menu { display: none; }

.layout { width: 1140px; margin: 16px auto; display: grid; grid-template-columns: 250px minmax(0, 1fr) 230px; gap: 20px; align-items: start; }
.card { border: 1px solid var(--border); background: #fff; }
.left-column > .card, .right-column > .card { margin-bottom: 20px; }
.section-heading { height: 35px; margin: 0 12px; border-bottom: 1px solid #ddd; display: flex; align-items: center; justify-content: space-between; }
.section-heading h2 { height: 35px; margin: 0; color: var(--purple); font-size: 16px; line-height: 35px; border-bottom: 2px solid var(--purple); }
.section-heading a { color: #999; font-size: 12px; }

.login-panel h2 { margin: 0; height: 44px; color: #fff; background: var(--purple); font-size: 16px; line-height: 44px; text-align: center; }
.login-list { padding: 10px 13px 1px; }
.login { width: 223px; height: 43px; margin-bottom: 10px; border: 0; color: #fff; background: url("assets/cbg.png") no-repeat center/100% 100%; text-align: left; padding-left: 94px; cursor: pointer; }
.login::before { content: ""; width: 26px; height: 26px; position: absolute; margin: -4px 0 0 -44px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.login.author::before { background-image: url("assets/zz.png"); }
.login.reviewer::before { background-image: url("assets/sg.png"); }
.login.editor::before { background-image: url("assets/bj.png"); }
.login.reader::before { background-image: url("assets/dz.png"); }
.side-card { padding: 10px 0 14px; }
.issue-filters { padding: 0 12px; }
.issue-filters select { width: 100%; height: 32px; margin-top: 10px; border: 1px solid #ccc; padding: 0 8px; color: #555; background: #fff; }
.issue-filters button { width: 100%; height: 32px; margin-top: 10px; border: 0; color: #fff; background: var(--purple); cursor: pointer; }
.submission-entry { padding: 10px 12px 14px; }
.submission-entry .section-heading { margin: 0; }
.submission-entry-primary, .submission-entry-secondary { display: flex; height: 42px; align-items: center; justify-content: center; margin-top: 10px; border: 1px solid var(--purple); color: #fff; background: var(--purple); font-size: 15px; }
.submission-entry-secondary { color: var(--purple); background: #fff; }
.submission-entry a:hover { color: #fff; background: var(--purple-dark); }
.news-list { padding: 2px 12px 0; }
.news-list li { position: relative; padding: 9px 0 8px 15px; border-bottom: 1px solid #e6e6e6; line-height: 20px; font-size: 13px; cursor: pointer; }
.news-list li::before { content: "›"; position: absolute; left: 2px; top: 8px; color: var(--purple); font-weight: 700; }
.news-list li:last-child { border-bottom: 0; }
.news-list.compact li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.center-column { min-width: 0; }
.hero { height: 292px; margin-bottom: 20px; position: relative; overflow: hidden; }
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editors { min-height: 212px; margin-bottom: 20px; border-left: 3px solid var(--purple); border-radius: 8px; display: flex; overflow: hidden; }
.vertical-title { width: 29px; align-self: center; flex: 0 0 29px; padding: 10px 4px; color: #fff; background: var(--purple); writing-mode: vertical-rl; text-orientation: upright; letter-spacing: 2px; }
.editor-track { min-width: 0; padding: 15px 10px 8px 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; overflow: hidden; }
.editor-track article { min-width: 0; text-align: center; }
.editor-track img { width: 148px; height: 148px; max-width: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #f4edf2; }
.editor-track h3 { margin: 5px 0 0; font-size: 13px; }

.articles { padding: 10px 12px 16px; overflow: hidden; }
.article-tabs { min-width: 650px; height: 49px; display: flex; gap: 6px; border-bottom: 1px solid #ddd; }
.article-tabs button, .article-tabs a { width: 91px; height: 37px; border: 0; color: #fff; background: url("assets/cbg2.png") no-repeat center/100% 100%; cursor: pointer; text-align: center; line-height: 37px; }
.article-tabs button.on { background-image: url("assets/cbg3.png"); border-bottom: 2px solid var(--purple); }
.article-tabs .archive { width: 101px; }
.article-display-heading { margin-bottom: 18px; padding: 0 0 12px; color: var(--purple); border-bottom: 2px solid var(--purple); font-size: 18px; font-weight: 700; }
.article-tools { margin: 20px 0 8px; display: flex; justify-content: space-between; align-items: center; }
.article-tools button { border: 0; background: transparent; color: #777; font-size: 21px; cursor: pointer; }
.article-tools button.active { color: var(--purple); }
.issue-title, .topic-title { display: inline-flex; min-height: 28px; align-items: center; padding: 4px 18px; color: #fff; background: var(--purple); font-size: 13px; }
.topic-title { display: flex; width: fit-content; margin-top: 12px; background: #b4419a; }
.article-list { max-height: 780px; overflow-y: auto; padding-right: 8px; }
.article { position: relative; padding: 22px 2px; border-bottom: 1px dashed #ddd; }
.article > input { position: absolute; left: 3px; top: 27px; }
.article h3 { margin: 0; color: #555; font-size: 15px; line-height: 1.65; }
.article .authors, .article .meta { margin: 7px 0 0; color: #666; line-height: 1.5; }
.article .actions { margin-top: 8px; display: flex; gap: 18px; color: #888; font-size: 13px; }
.article .actions button, .article .actions a { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.article .actions span { color: #f17e50; }
.article .actions > span { color: #888; }
.article .actions em { color: #f17e50; font-style: normal; }
.article .abstract { display: none; margin: 10px 0 0; padding: 12px; background: #faf8f9; color: #666; line-height: 1.8; }
.article.open .abstract, .articles.detail .article .abstract { display: block; }
.empty { padding: 60px 20px; text-align: center; color: #888; }

.journal { padding: 10px 0 16px; }
.cover { display: block; width: 158px; height: 218px; object-fit: cover; margin: 10px auto 15px; box-shadow: 0 2px 8px rgba(0,0,0,.16); }
.journal dl { margin: 0 14px; font-size: 12px; color: #666; }
.journal dl div { display: flex; line-height: 22px; }
.journal dt { flex: 0 0 auto; }
.journal dd { margin: 0; min-width: 0; }
.friend-list { padding: 7px 14px 0; }
.friend-list li { padding: 6px 0 6px 13px; position: relative; }
.friend-list li::before { content: "•"; position: absolute; left: 0; color: var(--purple); }
.friend-list a:hover { color: var(--purple); }

.footer { margin-top: 10px; color: #fff; background: var(--purple); }
.footer-inner { width: 1200px; min-height: 170px; margin: 0 auto; display: flex; justify-content: center; gap: 40px; padding-top: 26px; }
.footer-copy { width: 430px; }
.footer-copy p { margin: 0; line-height: 24px; font-size: 13px; }
.qr { width: 220px; text-align: center; }
.qr img { width: 100px; height: 100px; object-fit: cover; }
.qr h2 { margin: 4px 0 0; font-size: 14px; }
.copyright { height: 42px; line-height: 42px; text-align: center; background: var(--purple-dark); font-size: 13px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 30px; transform: translate(-50%, 20px); padding: 12px 18px; color: #fff; background: rgba(50, 20, 43, .94); border-radius: 4px; opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: 0 6px 24px rgba(0,0,0,.24); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.inner-page { width: 1140px; margin: 22px auto 40px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.inner-sidebar { border: 1px solid var(--border); background: #fff; }
.inner-sidebar h2 { margin: 0; padding: 13px 18px; color: #fff; background: var(--purple); font-size: 17px; }
.inner-sidebar a { display: block; padding: 12px 18px; border-bottom: 1px solid #eee; color: #555; }
.inner-sidebar a:hover { color: var(--purple); background: #faf5f8; }
.content-card { min-height: 520px; padding: 26px 34px 46px; border: 1px solid var(--border); background: #fff; }
.breadcrumb { margin-bottom: 18px; padding-bottom: 12px; color: #999; border-bottom: 1px solid #eee; }
.content-card h1 { margin: 0 0 22px; padding-bottom: 13px; color: var(--purple); font-size: 24px; border-bottom: 2px solid var(--purple); }
.content-card h2 { margin: 28px 0 12px; color: #555; font-size: 18px; }
.content-card p, .content-card li { color: #555; font-size: 15px; line-height: 2; }
.content-card ul { list-style: disc; padding-left: 24px; }
.content-card .meta-line { color: #999; text-align: center; margin-top: -10px; }
.content-card .notice { margin: 18px 0; padding: 15px 18px; border-left: 4px solid var(--purple); background: #faf4f8; }
.content-list { list-style: none !important; padding: 0 !important; }
.content-list li { border-bottom: 1px dashed #ddd; padding: 13px 2px; }
.content-list a { color: #444; }
.content-list a:hover { color: var(--purple); }
.download-search { display: grid; grid-template-columns: 136px minmax(0, 1fr) 118px; gap: 10px; margin-bottom: 22px; }
.download-search select, .download-search input { min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #d5c9d1; background: #fff; color: #4d4d4d; font: inherit; }
.download-search button { border: 0; color: #fff; background: var(--purple); font: inherit; cursor: pointer; }
.download-list li { display: flex; align-items: center; gap: 14px; padding: 16px 4px; }
.download-list li::before { content: "↓"; display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; color: #fff; background: var(--purple); font-weight: 700; }
.download-list a { flex: 1; }
.download-list time { flex: 0 0 auto; color: #999; font-size: 13px; }
.download-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.download-pager button { min-width: 38px; min-height: 34px; padding: 0 10px; border: 1px solid #d6c5d0; color: #666; background: #fff; cursor: pointer; }
.download-pager button.active { border-color: var(--purple); color: #fff; background: var(--purple); }
.download-pager button:disabled { cursor: default; opacity: .55; }
.download-pager span { color: #999; font-size: 13px; }
.download-detail { max-width: 720px; }
.download-detail .meta-line { text-align: left; margin: 0 0 20px; }
.issue-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.issue-grid a { display: block; padding: 10px; border: 1px solid #ddd; text-align: center; color: #555; }
.issue-grid a:hover { color: #fff; border-color: var(--purple); background: var(--purple); }
.article-summary { padding: 16px 18px; background: #fafafa; border: 1px solid #eee; }
.article-nav { display: flex; gap: 10px; margin: 20px 0; }
.article-nav a { padding: 8px 18px; color: #fff; background: var(--purple); }
.editor-profile { display: grid; grid-template-columns: 180px 1fr; gap: 26px; }
.editor-profile img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.search-inline { display: grid; grid-template-columns: 130px 1fr auto; gap: 8px; margin-bottom: 24px; }
.search-inline select, .search-inline input { height: 40px; border: 1px solid #ccc; padding: 0 10px; }
.search-inline button { padding: 0 22px; color: #fff; border: 0; background: var(--purple); }

.archive-search-panel { display: grid; grid-template-columns: 1fr 1fr 2.2fr auto; gap: 14px; align-items: end; margin: 0 0 24px; padding: 20px; border: 1px solid #e0d6dd; background: #fcfafb; }
.archive-field label { display: block; margin-bottom: 8px; color: #666; font-weight: 700; }
.archive-field select, .archive-field input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #cfc8cc; color: #555; background: #fff; }
.archive-keyword > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
.archive-keyword select { border-right: 0; }
.archive-form-actions { display: flex; gap: 8px; }
.archive-form-actions button { height: 42px; padding: 0 22px; border: 1px solid var(--purple); color: #fff; background: var(--purple); cursor: pointer; }
.archive-form-actions .secondary { color: var(--purple); background: #fff; }
.archive-result-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 54px; border-bottom: 1px solid #eee; }
.archive-result-head p { margin: 0; text-align: center; color: #888; font-size: 13px; }
.archive-view-controls { display: flex; align-items: center; gap: 4px; color: #555; }
.archive-view-controls button { width: 34px; height: 34px; padding: 0; border: 0; color: #888; background: transparent; font-size: 24px; cursor: pointer; }
.archive-view-controls button.active { color: var(--purple); }
.archive-issue-label, .archive-topic-label { display: inline-flex; min-height: 40px; align-items: center; margin-top: 18px; padding: 7px 20px; color: #fff; background: var(--purple); font-size: 18px; }
.archive-topic-label { display: flex; width: fit-content; min-height: 34px; margin-top: 12px; background: #b4419a; font-size: 15px; }
.archive-results { margin-top: 18px; }
.archive-article { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0; padding: 24px 8px 24px 12px; border-bottom: 1px dashed #d8d8d8; }
.archive-check { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--purple); }
.archive-article h3 { margin: 0; font-size: 18px; line-height: 1.75; }
.archive-article h3 a { color: #555; }
.archive-article h3 a:hover { color: var(--purple); }
.archive-article .archive-authors, .archive-article .archive-meta { margin: 8px 0 0; color: #666; font-size: 15px; line-height: 1.6; }
.archive-actions { display: flex; gap: 22px; margin-top: 10px; }
.archive-actions a, .archive-actions button { padding: 0; border: 0; color: #888; background: transparent; cursor: pointer; }
.archive-actions span { color: #f17e50; }
.archive-abstract-text { display: none; margin: 15px 0 0 !important; padding: 13px 16px; border-left: 3px solid var(--purple); background: #faf6f9; font-size: 14px !important; }
.archive-article.show-abstract .archive-abstract-text { display: block; }
.archive-empty { padding: 70px 20px; text-align: center; color: #777; background: #fafafa; }
.archive-empty strong { color: #555; font-size: 18px; }
.archive-empty p { margin: 8px 0 0; font-size: 14px; }
.archive-browser[data-view="grid"] .archive-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.archive-browser[data-view="grid"] .archive-article { min-width: 0; border: 1px solid #e6e0e4; background: #fff; }
.archive-browser[data-view="grid"] .archive-article h3 { font-size: 16px; }
.archive-browser[data-view="grid"] .archive-meta { font-size: 13px; }
.archive-browser[data-view="grid"] .archive-empty { grid-column: 1 / -1; }

.submission-page { width: 1140px; margin: 24px auto 46px; display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 24px; align-items: start; }
.submission-side-card, .submission-guide, .submission-card { border: 1px solid var(--border); background: #fff; }
.submission-side-card h2, .submission-guide h2 { margin: 0; padding: 13px 18px; color: #fff; background: var(--purple); font-size: 17px; }
.submission-side-card a { display: block; padding: 13px 18px; color: #555; border-bottom: 1px solid #eee; }
.submission-side-card a:last-child { border-bottom: 0; }
.submission-side-card a:hover, .submission-side-card a.active { color: var(--purple); background: #faf4f8; }
.submission-side-card a.active { border-left: 4px solid var(--purple); padding-left: 14px; font-weight: 700; }
.submission-guide { margin-top: 20px; }
.submission-guide ol { margin: 0; padding: 15px 20px 18px 38px; color: #666; }
.submission-guide li { margin-bottom: 8px; line-height: 1.7; }
.submission-card { min-height: 720px; padding: 24px 32px 44px; }
.submission-breadcrumb { padding-bottom: 13px; color: #999; border-bottom: 1px solid #eee; }
.submission-tabs { display: flex; margin: 20px 0 24px; border-bottom: 2px solid var(--purple); }
.submission-tabs a { min-width: 130px; padding: 11px 24px; color: var(--purple); text-align: center; font-size: 16px; }
.submission-tabs a.active { color: #fff; background: var(--purple); }
.submission-card h1 { margin: 0 0 18px; color: var(--purple); font-size: 25px; }
.submission-notice { margin-bottom: 24px; padding: 15px 18px; color: #7b3d66; background: #fff7fb; border-left: 4px solid var(--purple); line-height: 1.8; }
.submission-form { border-top: 1px solid #eee; }
.form-row { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 20px; align-items: center; padding: 13px 8px; border-bottom: 1px solid #f0f0f0; }
.form-row > label { color: #555; text-align: right; font-weight: 700; }
.form-row label b { color: #d43b3b; }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-height: 42px; padding: 9px 12px; color: #444; border: 1px solid #ccc; background: #fff; outline: none; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus, .query-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(155,0,122,.08); }
.form-row textarea { resize: vertical; }
.form-row small { display: block; margin-top: 6px; color: #999; line-height: 1.5; }
.form-row-top { align-items: start; }
.form-row-top > label { padding-top: 10px; }
.static-field { min-height: 42px; padding: 10px 12px; color: #555; background: #fafafa; border: 1px solid #e5e5e5; }
.file-picker { display: grid; grid-template-columns: auto 1fr; align-items: center; min-height: 44px; border: 1px solid #ccc; background: #fff; cursor: pointer; }
.file-picker span { align-self: stretch; display: flex; align-items: center; padding: 0 16px; color: #fff; background: var(--purple); }
.file-picker strong { min-width: 0; padding: 0 12px; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.form-consent { padding: 18px 12px 8px 183px; color: #555; line-height: 1.7; }
.form-consent label { display: block; margin-bottom: 8px; }
.form-consent a { color: var(--purple); text-decoration: underline; }
.form-consent input { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; accent-color: var(--purple); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-error { min-height: 27px; padding: 5px 12px 5px 183px; color: #c63232; }
.form-submit { display: flex; gap: 12px; justify-content: center; padding-top: 14px; }
.form-submit button, .query-form button, .submission-success button { min-width: 130px; height: 44px; padding: 0 24px; color: #fff; border: 1px solid var(--purple); background: var(--purple); cursor: pointer; }
.form-submit .secondary { color: var(--purple); background: #fff; }
.submission-success { padding: 40px 30px; text-align: center; background: #fcfafb; border: 1px solid #eadde6; }
.success-icon { width: 62px; height: 62px; margin: 0 auto 14px; color: #fff; background: var(--purple); border-radius: 50%; font-size: 36px; line-height: 62px; }
.submission-success h2 { margin: 0 0 8px; color: var(--purple); font-size: 24px; }
.submission-success dl, .query-success dl { max-width: 650px; margin: 24px auto; text-align: left; border-top: 1px solid #e4e4e4; }
.submission-success dl div, .query-success dl div { display: grid; grid-template-columns: 120px 1fr; padding: 11px 14px; border-bottom: 1px solid #e4e4e4; }
.submission-success dt, .query-success dt { color: #888; }
.submission-success dd, .query-success dd { margin: 0; color: #444; overflow-wrap: anywhere; }
.success-tip { color: #777; }
.notification-status { max-width: 650px; margin: 18px auto 0; padding: 11px 14px; color: #755c1d; background: #fff8dc; border: 1px solid #eadb9f; }
.notification-status.sent, .notification-status.dry_run, .notification-status.partial { color: #28613d; background: #eef9f2; border-color: #bddfc8; }
.notification-status.failed, .notification-status.unavailable { color: #9b3434; background: #fff2f2; border-color: #eccaca; }
.form-submit button:disabled { cursor: wait; opacity: .68; }
.primary-link { display: inline-flex; min-height: 44px; align-items: center; margin-right: 8px; padding: 0 24px; color: #fff; background: var(--purple); }
.submission-success button { color: var(--purple); background: #fff; }
.query-form { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: center; max-width: 680px; margin: 34px auto; }
.query-form label { text-align: right; color: #555; font-weight: 700; }
.query-form input { height: 44px; padding: 0 12px; border: 1px solid #ccc; outline: none; }
.query-form button { grid-column: 2; justify-self: start; }
.query-result { max-width: 680px; margin: 0 auto; }
.query-empty { padding: 24px; color: #777; background: #fafafa; border: 1px solid #eee; text-align: center; }
.query-success { padding: 24px; border: 1px solid #e6dbe2; background: #fcfafb; }
.query-success h2 { margin: 0; color: #555; font-size: 20px; line-height: 1.6; }

.admin-body { min-height: 100vh; background: #f6f2f5; }
.admin-header { height: 76px; padding: 0 max(24px, calc((100% - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(110deg, var(--purple-dark), var(--purple)); }
.admin-header > a:last-child { padding: 8px 14px; border: 1px solid rgba(255,255,255,.55); }
.admin-brand, .legal-brand { font-size: 25px; font-weight: 800; letter-spacing: .12em; }
.admin-main { width: min(1320px, calc(100% - 32px)); margin: 28px auto 56px; }
.admin-login-card { width: min(430px, 100%); margin: 70px auto; padding: 38px 44px; background: #fff; border-top: 5px solid var(--purple); box-shadow: 0 16px 45px rgba(71,19,57,.12); }
.admin-login-mark { width: 62px; height: 62px; margin: 0 auto 16px; color: #fff; background: var(--purple); border-radius: 50%; text-align: center; line-height: 62px; font-size: 27px; font-weight: 700; }
.admin-login-card h1, .admin-login-card p { margin: 6px 0; text-align: center; }
.admin-login-card p, .admin-login-card small { color: #888; }
.admin-login-card form { margin: 26px 0 18px; }
.admin-login-card label { display: block; margin: 13px 0 6px; color: #555; font-weight: 700; }
.admin-login-card input { width: 100%; height: 45px; padding: 0 12px; border: 1px solid #ccc; outline: none; }
.admin-login-card input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(155,0,122,.08); }
.admin-login-card button { width: 100%; height: 46px; margin-top: 10px; color: #fff; background: var(--purple); border: 0; cursor: pointer; }
.admin-error { min-height: 25px; padding-top: 8px; color: #b52f2f; }
.admin-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.admin-title-row p { margin: 0 0 2px; color: var(--purple); font-size: 12px; letter-spacing: .2em; }
.admin-title-row h1 { margin: 0; font-size: 30px; }
.admin-title-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.admin-title-actions span { margin-right: 8px; color: #777; }
.admin-title-actions a, .admin-title-actions button { height: 37px; padding: 0 14px; display: inline-flex; align-items: center; color: #fff; background: var(--purple); border: 1px solid var(--purple); cursor: pointer; }
.admin-title-actions .secondary { color: var(--purple); background: #fff; }
.admin-notice { margin-bottom: 16px; padding: 12px 15px; color: #23653b; background: #eef9f2; border: 1px solid #bddfc8; }
.admin-notice.error { color: #9b3434; background: #fff2f2; border-color: #eccaca; }
.admin-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.admin-stats article { padding: 16px 18px; background: #fff; border: 1px solid #eadfe6; border-bottom: 3px solid #c599b9; }
.admin-stats strong { display: block; color: var(--purple); font-size: 26px; }
.admin-stats span { display: block; margin-top: 4px; color: #777; font-size: 12px; }
.admin-workspace { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 18px; align-items: start; }
.admin-list-panel, .admin-detail { background: #fff; border: 1px solid #e3dce1; }
.admin-filters { display: grid; grid-template-columns: minmax(180px, 1fr) 190px auto auto; gap: 8px; padding: 15px; border-bottom: 1px solid #eee; }
.admin-filters input, .admin-filters select { height: 39px; padding: 0 10px; border: 1px solid #ccc; background: #fff; }
.admin-filters button { padding: 0 17px; color: #fff; background: var(--purple); border: 1px solid var(--purple); cursor: pointer; }
.admin-filters .secondary { color: var(--purple); background: #fff; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 12px 10px; color: #777; background: #faf8f9; text-align: left; white-space: nowrap; font-size: 12px; }
.admin-table td { padding: 13px 10px; border-top: 1px solid #eee; color: #666; vertical-align: top; }
.admin-table tr { cursor: pointer; }
.admin-table tr:hover, .admin-table tr.selected { background: #fff7fb; }
.admin-table td:first-child strong { color: var(--purple); font-size: 12px; }
.admin-table td:nth-child(2) b { display: block; color: #444; line-height: 1.45; }
.admin-table td:nth-child(2) small { display: block; margin-top: 4px; color: #999; }
.status-pill { display: inline-flex; padding: 4px 8px; color: var(--purple); background: #f8eaf4; border-radius: 12px; white-space: nowrap; font-size: 12px; }
.table-view { padding: 4px 8px; color: var(--purple); background: #fff; border: 1px solid var(--purple); cursor: pointer; }
.admin-empty, .admin-detail-empty { padding: 80px 20px; color: #999; text-align: center; }
.admin-detail { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.admin-detail-head { padding: 20px; border-bottom: 1px solid #eee; }
.admin-detail-head small { color: var(--purple); font-weight: 700; }
.admin-detail-head h2 { margin: 7px 0 15px; color: #444; font-size: 19px; line-height: 1.55; }
.download-button { display: inline-flex; height: 38px; padding: 0 16px; align-items: center; color: #fff; background: var(--purple); }
.admin-detail dl { margin: 0; padding: 8px 20px; }
.admin-detail dl > div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #e5e5e5; }
.admin-detail dt { color: #999; }
.admin-detail dd { margin: 0; color: #444; overflow-wrap: anywhere; }
.status-form { padding: 18px 20px 22px; background: #faf8f9; }
.status-form label { display: block; margin: 0 0 6px; color: #666; font-weight: 700; }
.status-form select, .status-form textarea { width: 100%; margin-bottom: 13px; padding: 9px 10px; border: 1px solid #ccc; background: #fff; }
.status-form button { height: 40px; padding: 0 20px; color: #fff; background: var(--purple); border: 0; cursor: pointer; }
.status-form button:disabled, .admin-title-actions button:disabled { opacity: .6; cursor: wait; }
.file-fingerprint { padding: 0 20px 20px; color: #888; }
.file-fingerprint code { display: block; margin-top: 8px; padding: 10px; overflow-wrap: anywhere; color: #666; background: #f5f5f5; font-size: 11px; }

.legal-header { min-height: 82px; padding: 0 max(24px, calc((100% - 1000px) / 2)); display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--purple); }
.legal-header nav { display: flex; gap: 24px; }
.legal-header nav a:hover { text-decoration: underline; }
.legal-page { width: min(1000px, calc(100% - 32px)); margin: 26px auto 48px; }
.legal-breadcrumb { margin-bottom: 14px; color: #999; }
.legal-breadcrumb a { color: var(--purple); }
.legal-page article { padding: 34px 48px 46px; background: #fff; border: 1px solid #e2dbe0; box-shadow: 0 8px 25px rgba(74,28,58,.06); }
.legal-page h1 { margin: 0; color: var(--purple); font-size: 30px; }
.legal-date { padding-bottom: 18px; color: #999 !important; border-bottom: 1px solid #eee; }
.legal-page h2 { margin: 28px 0 8px; color: #5d254e; font-size: 19px; }
.legal-page p { color: #555; line-height: 2; }
.legal-footer { padding: 22px; color: #fff; background: var(--purple-dark); text-align: center; }
.legal-footer a { text-decoration: underline; }

@media (max-width: 1180px) {
  .masthead-inner, .nav > ul, .layout, .inner-page, .submission-page { width: calc(100% - 32px); }
  .masthead-inner { max-width: 1140px; }
  .layout { grid-template-columns: 220px minmax(0, 1fr) 210px; gap: 14px; }
  .nav > ul > li > a { padding: 0 10px; font-size: 14px; }
  .login { width: 100%; }
  .footer-inner { width: 100%; }
}

@media (max-width: 900px) {
  .demo-strip { height: auto; min-height: 28px; padding: 5px 12px; line-height: 18px; }
  .masthead { height: 180px; background-size: auto 180px; }
  .masthead::before { top: 115px; left: calc(50% - 28px); width: 220px; height: 19px; padding: 1px 2px; font-size: 13px; line-height: 17px; }
  .masthead-inner { width: 100%; }
  .brand { width: 100%; }
  .search { left: 16px; right: 16px; bottom: 12px; }
  .search select { display: none; }
  .search input { width: 0; min-width: 0; flex: 1 1 auto; }
  .search-button { flex: 0 0 52px; }
  .advanced { min-width: 74px; }
  .nav { height: auto; min-height: 40px; }
  .mobile-menu { display: block; width: 100%; height: 40px; border: 0; color: #fff; background: var(--purple); text-align: left; padding-left: 18px; }
  .nav > ul { display: none; width: 100%; height: auto; flex-direction: column; background: var(--purple); }
  .nav > ul.open { display: flex; }
  .nav > ul > li > a { padding: 0 18px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav li ul { position: static; transform: none; width: 100%; box-shadow: none; }
  .layout { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .inner-page { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .submission-page { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .submission-aside { display: none; }
  .inner-sidebar { display: none; }
  .center-column { grid-row: 1; }
  .left-column { grid-row: 2; }
  .right-column { grid-row: 3; }
  .hero { height: auto; aspect-ratio: 620 / 290; }
  .editor-track { grid-template-columns: repeat(4, minmax(130px, 1fr)); overflow-x: auto; }
  .article-tabs { overflow-x: auto; }
  .article-list { max-height: none; }
  .login-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .login { margin: 0; }
  .footer-inner { padding: 24px; }
  .archive-search-panel { grid-template-columns: 1fr 1fr; }
  .archive-keyword { grid-column: 1 / -1; }
  .archive-result-head { grid-template-columns: auto 1fr; }
  .archive-result-head p { text-align: left; }
  .archive-view-controls { grid-column: 1 / -1; justify-content: flex-end; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
  .admin-workspace { grid-template-columns: 1fr; }
  .admin-detail { position: static; max-height: none; }
}

@media (max-width: 560px) {
  .masthead { height: 142px; position: relative; background: linear-gradient(120deg, #7d0067, #b10091); }
  .masthead::before { content: "医学美学美容"; position: absolute; left: 18px; top: 16px; width: auto; height: auto; padding: 0; overflow: visible; box-sizing: content-box; color: #fff; background: transparent; font-family: "STKaiti", "KaiTi", serif; font-size: 33px; font-weight: 700; letter-spacing: .11em; text-shadow: 0 2px 4px rgba(0,0,0,.22); }
  .masthead::after { content: "JOURNAL OF MEDICAL AESTHETICS AND COSMETOLOGY\A 国家科技期刊 · ISSN 1004-4949"; position: absolute; left: 19px; top: 61px; color: rgba(255,255,255,.92); white-space: pre-line; font-size: 9px; line-height: 1.75; letter-spacing: .03em; }
  .search { bottom: 8px; }
  .search input, .search-button, .advanced { height: 34px; }
  .advanced { display: none; }
  .article-tools { align-items: flex-start; gap: 12px; }
  .article .actions { flex-wrap: wrap; gap: 10px; }
  .login-list { grid-template-columns: 1fr; }
  .editors { min-height: 190px; }
  .editor-track img { width: 126px; height: 126px; }
  .footer-inner { flex-direction: column; align-items: center; gap: 20px; }
  .footer-copy { width: 100%; }
  .issue-grid { grid-template-columns: repeat(3, 1fr); }
  .editor-profile { grid-template-columns: 1fr; }
  .search-inline { grid-template-columns: 1fr; }
  .content-card { padding: 20px 16px 34px; }
  .archive-search-panel { grid-template-columns: 1fr; padding: 14px; }
  .archive-keyword { grid-column: auto; }
  .archive-keyword > div { grid-template-columns: 1fr; gap: 8px; }
  .archive-keyword select { border-right: 1px solid #cfc8cc; }
  .archive-form-actions button { flex: 1; }
  .archive-result-head { grid-template-columns: 1fr; gap: 8px; padding: 12px 0; }
  .archive-view-controls { grid-column: auto; justify-content: flex-start; }
  .archive-issue-label { font-size: 16px; }
  .archive-browser[data-view="grid"] .archive-results { grid-template-columns: 1fr; }
  .archive-article { padding-left: 4px; }
  .archive-article h3 { font-size: 16px; }
  .archive-actions { flex-wrap: wrap; gap: 14px; }
  .submission-card { padding: 20px 16px 34px; }
  .submission-tabs a { min-width: 0; flex: 1; padding: 10px; }
  .form-row { grid-template-columns: 1fr; gap: 7px; padding: 12px 0; }
  .form-row > label { text-align: left; }
  .form-row-top > label { padding-top: 0; }
  .form-consent, .form-error { padding-left: 0; }
  .file-picker { grid-template-columns: 1fr; }
  .file-picker span { min-height: 42px; justify-content: center; }
  .file-picker strong { padding: 11px 12px; text-align: center; }
  .form-submit { flex-direction: column; }
  .query-form { grid-template-columns: 1fr; }
  .query-form label { text-align: left; }
  .query-form button { grid-column: auto; width: 100%; }
  .submission-success dl div, .query-success dl div { grid-template-columns: 1fr; gap: 4px; }
  .primary-link, .submission-success button { width: 100%; justify-content: center; margin: 6px 0; }
  .download-search { grid-template-columns: 1fr; }
  .download-list li { align-items: flex-start; }
  .download-list time { padding-top: 4px; }
  .admin-header { height: 64px; }
  .admin-brand, .legal-brand { font-size: 19px; }
  .admin-main { width: calc(100% - 20px); margin-top: 16px; }
  .admin-login-card { margin: 26px auto; padding: 28px 22px; }
  .admin-title-row { align-items: flex-start; flex-direction: column; }
  .admin-title-actions { justify-content: flex-start; }
  .admin-title-actions span { width: 100%; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-filters { grid-template-columns: 1fr 1fr; }
  .admin-filters input, .admin-filters select { grid-column: 1 / -1; }
  .admin-table th:nth-child(3), .admin-table td:nth-child(3) { display: none; }
  .legal-header { padding: 15px 18px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .legal-header nav { gap: 14px; flex-wrap: wrap; }
  .legal-page article { padding: 25px 19px 34px; }
}

.past-issues-link { float: right; font-size: 14px; font-weight: 400; }

.masthead-inner { max-width: 100%; }
.masthead-submit { position: absolute; z-index: 2; right: 22px; bottom: 24px; display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 0 21px; border-radius: 4px; background: white; color: #82106e; font-size: 18px; font-weight: 700; }
.masthead-submit:hover, .masthead-submit:focus-visible { color: #641153; background: #fff1fa; text-decoration: underline; }
@media (max-width: 560px) {
  .masthead-submit { right: 15px; bottom: 8px; min-height: 40px; font-size: 15px; padding: 0 15px; }
}
