:root {
  color-scheme: light;
  --paper: #f5f4fc;
  --ink: #24213b;
  --muted: #595470;
  --rule: #d9d4ed;
  --violet: #5537b4;
  --dark: #30205a;
  --light: #ebe4ff;
  font: 16px/1.65 "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
.shell { width: min(100% - 48px, 1000px); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; border-bottom: 1px solid var(--rule); }
.brand { font-weight: 850; font-size: 1.2rem; text-decoration: none; }
nav { display: flex; gap: clamp(12px, 2.7vw, 32px); align-items: center; font-size: .9rem; }
nav a { white-space: nowrap; color: var(--muted); text-decoration: none; }
nav a[aria-current] { color: var(--violet); font-weight: 730; text-decoration: underline; }
.mast { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding-block: clamp(36px, 7vw, 82px) 34px; }
.mast h1 { margin: 0; font-size: clamp(2.45rem, 8vw, 6rem); font-weight: 850; line-height: 1.12; letter-spacing: -.065em; }
.mast p { margin: 14px 0 0; color: var(--muted); font-size: clamp(.98rem, 2vw, 1.2rem); }
.issue { display: grid; gap: 5px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .86rem; }
.issue time { color: var(--ink); font-weight: 720; }
.lead { background: var(--dark); color: #fff; padding: clamp(25px, 5.5vw, 57px); border-radius: 5px 30px 5px 5px; }
.lead h2 { font-size: clamp(1.56rem, 4.2vw, 2.9rem); line-height: 1.28; max-width: 27ch; }
.lead a:focus-visible { outline-color: #fff; }
.lead .story-meta, .lead .summary { color: var(--light); }
.lead .category { background: var(--light); color: #352474; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; margin: 0; color: var(--muted); font-size: .79rem; }
.category { background: var(--light); color: #48338c; padding: 2px 9px; border-radius: 4px; font-weight: 690; }
.lead h2, .story h3 { margin: 12px 0 0; overflow-wrap: anywhere; }
.lead h2 a, .story h3 a { text-decoration: none; }
.lead h2 a:hover, .story h3 a:hover { text-decoration: underline; }
.summary { margin: 10px 0 0; max-width: 63ch; color: var(--muted); }
.read { display: inline-block; margin-top: 20px; font-weight: 680; }
.news { margin-top: clamp(26px, 5vw, 54px); }
.edition { border-top: 1px solid var(--rule); }
.edition-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; font-weight: 760; }
.edition-head h2 { margin: 0; font-size: 1.17rem; }
.edition-head time, .issue-count { font-weight: 540; font-size: .82rem; color: var(--muted); }
summary.edition-head { cursor: pointer; }
summary.edition-head span:first-child::before { content: '+'; color: var(--violet); display: inline-block; width: 1.45em; }
details[open] summary.edition-head span:first-child::before { content: '−'; }
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 38px; }
.story { border-top: 1px solid var(--rule); padding: 19px 0 22px; }
.story h3 { font-size: clamp(1.02rem, 2.2vw, 1.23rem); line-height: 1.42; }
.story .summary { font-size: .89rem; }
.repo .category { font-variant-numeric: tabular-nums; }
footer { border-top: 1px solid var(--rule); padding-block: 25px 45px; margin-top: 32px; color: var(--muted); font-size: .88rem; }
footer h2 { font-size: .95rem; margin: 0; color: var(--ink); }
footer ul { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 9px 0; }
@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .top { min-height: 64px; }
  .mast { grid-template-columns: 1fr; gap: 15px; padding-block: 36px 24px; }
  .stories { grid-template-columns: 1fr; }
}
