:root {
  color-scheme: light;
  --paper: #f4f7fa;
  --surface: #fff;
  --ink: #203341;
  --brand: #145c8c;
  --muted: #617584;
  --line: #d9e3eb;
  --text-caption: 13px;
  --text-small: 14px;
  --text-body: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; padding-bottom: env(safe-area-inset-bottom); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input, select { border-radius: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.wrap { width: min(100% - 80px, 1000px); margin-inline: auto; }
.masthead { min-height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 650; letter-spacing: 1px; }
.brand-mark { display: block; width: 40px; height: 44px; object-fit: contain; background: var(--brand); border-radius: 2px 2px 10px 2px; }
.brand small { display: block; font-size: 11px; letter-spacing: 1.2px; font-weight: 500; margin-top: 2px; }
.edition, .eyebrow { font-size: var(--text-caption); letter-spacing: 2px; font-weight: 650; color: var(--brand); }
.edition { white-space: nowrap; }
.hero { padding: 55px 0 28px; }
.eyebrow { margin: 0 0 16px; }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -1.5px; line-height: 1.35; margin: 0; }
.accent { color: #5a9abc; }
.intro { font-size: var(--text-body); color: var(--muted); margin: 17px 0 30px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--text-small); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #3b85b2; }
.muted { color: var(--muted); }
.library { border-top: 2px solid var(--brand); }
.controls { padding: 24px 0 20px; border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; min-height: 52px; gap: 14px; border: 1px solid var(--line); background: var(--surface); padding: 0 18px; }
.search:focus-within { border-color: var(--brand); }
.search-icon { width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 50%; position: relative; margin-right: 3px; flex: 0 0 auto; }
.search-icon::after { content: ''; position: absolute; width: 6px; height: 1.5px; background: var(--muted); transform: rotate(45deg); right: -5px; bottom: -2px; }
input { width: 100%; min-width: 0; background: transparent; border: 0; padding: 14px 0; outline: none; font-size: var(--text-body); appearance: none; }
input::-webkit-search-cancel-button { display: none; }
input::placeholder { color: #7b8995; font-size: inherit; }
.clear-button { flex-shrink: 0; border: 0; background: none; min-width: 44px; min-height: 44px; margin-right: -12px; font-size: 25px; color: var(--muted); }
.alphabet { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; }
.letter-button { border: 0; background: transparent; min-width: 44px; min-height: 44px; padding: 6px 10px; font-size: var(--text-small); font-weight: 600; color: var(--muted); }
.letter-button[aria-pressed="true"] { color: #fff; background: var(--brand); }
.list-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0 13px; }
.list-heading h2 { font-size: var(--text-body); font-weight: 600; margin: 0; letter-spacing: 1px; }
.list-heading p { font-size: var(--text-caption); color: var(--muted); margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }
.journal-list { border-top: 1px solid var(--line); }
.journal-row { display: flex; align-items: center; gap: 22px; padding: 21px 22px; border-bottom: 1px solid var(--line); background: var(--surface); min-height: 95px; }
.row-number { align-self: flex-start; margin-top: 4px; font-size: var(--text-caption); color: #7a8996; font-variant-numeric: tabular-nums; width: 20px; flex: 0 0 20px; }
.row-body { min-width: 0; flex: 1; }
.journal-name { display: block; font: 22px/1.25 Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
.row-meta { display: block; font-size: var(--text-caption); letter-spacing: 1.2px; color: var(--muted); margin-top: 7px; }
.article-count { font-size: var(--text-caption); color: var(--muted); white-space: nowrap; }
.row-arrow { font-size: 20px; color: var(--brand); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-small); color: var(--muted); min-height: 44px; margin-top: 18px; }
.back-link span { font-size: 18px; }
.journal-hero { padding-top: 22px; }
.journal-title { max-width: 850px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -1px; line-height: 1.2; overflow-wrap: anywhere; }
.journal-hero .intro { margin-top: 20px; }
.year-filter { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 14px; font-size: var(--text-small); color: var(--muted); }
select { min-height: 44px; background: var(--surface); border: 1px solid var(--line); padding: 6px 28px 6px 12px; }
.article-list { border-top: 1px solid var(--line); }
.article-row { display: block; padding: 26px; border-bottom: 1px solid var(--line); background: var(--surface); }
.article-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: var(--text-caption); }
.article-meta time { font-variant-numeric: tabular-nums; }
.article-row h3 { font-size: 20px; font-weight: 500; line-height: 1.6; margin: 14px 0 20px; overflow-wrap: anywhere; }
.read-link { font-size: var(--text-small); color: var(--brand); }
.empty-state { padding: 55px 20px 64px; text-align: center; border: 1px solid var(--line); background: var(--surface); }
.empty-symbol { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #cbdbe7; color: #5786a5; border-radius: 50%; font: 24px Georgia, serif; margin-bottom: 15px; }
.empty-state h3 { font-size: 18px; font-weight: 500; margin: 0 0 10px; }
.empty-state p { font-size: var(--text-body); color: var(--muted); margin: 0; text-wrap: balance; }
.notice { padding: 40px 10px; color: var(--muted); text-align: center; font-size: var(--text-body); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-caption); letter-spacing: .5px; }
.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; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 10px; background: #fff; z-index: 5; }
.skip-link:focus { top: 10px; }
@media (hover: hover) {
  .journal-row:hover, .article-row:hover { background: #edf3f8; }
  .back-link:hover, .read-link:hover { text-decoration: underline; }
  .letter-button:hover { box-shadow: inset 0 0 0 1px var(--brand); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .masthead { min-height: 82px; }
  .brand { font-size: 15px; gap: 10px; }
  .brand-mark { width: 34px; height: 38px; }
  .brand small { font-size: 10px; letter-spacing: 1px; }
  .edition { font-size: 12px; letter-spacing: 1px; }
  .hero { padding-top: 34px; padding-bottom: 24px; }
  h1 { letter-spacing: -1px; }
  .eyebrow { font-size: 12px; letter-spacing: 1.8px; margin-bottom: 14px; }
  .intro { margin: 14px 0 26px; }
  .hero-bottom { gap: 8px; }
  .controls { padding: 20px 0 14px; }
  .alphabet { gap: 0; }
  .letter-button { flex: 1; padding: 6px; min-width: 40px; }
  .journal-row { padding: 19px 14px; gap: 12px; }
  .row-number { flex-basis: 16px; width: 16px; }
  .journal-name { font-size: 20px; line-height: 1.3; }
  .row-meta { margin-top: 6px; }
  .row-arrow { font-size: 18px; }
  .journal-title { font-size: 30px; }
  .journal-hero { padding-top: 19px; }
  .article-row { padding: 22px 18px; }
  .article-row h3 { font-size: 18px; }
  .footer { margin-top: 28px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 26px; }
  .journal-title { font-size: 28px; }
  .journal-row { gap: 9px; padding-inline: 10px; }
  .journal-name { font-size: 18px; }
}
