:root {
  --bg: #ededed;
  --panel: #ffffff;
  --panel-soft: #f7f7f7;
  --ink: #191919;
  --muted: #707070;
  --line: #d8d8d8;
  --accent: #087f5b;
  --accent-dark: #066649;
  --danger: #c33d32;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 247, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 55px;
  border-bottom: 2px solid transparent;
}

.nav-link.active {
  border-bottom-color: var(--accent);
  color: var(--ink);
  font-weight: 800;
}

main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.login-shell {
  min-height: calc(100vh - 112px);
  display: grid;
  place-items: center;
}

.login-panel,
.realworld-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.login-panel {
  width: min(420px, 100%);
  padding: 28px;
}

.login-panel h1 {
  margin: 0 0 12px;
  letter-spacing: 0;
}

label {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 14px;
}

input,
select,
button {
  font: inherit;
}

input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

button:hover {
  background: var(--accent-dark);
}

.small {
  font-size: 13px;
}

.muted {
  color: var(--muted);
}

.error {
  color: var(--danger);
  font-weight: 700;
}

.realworld-shell {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.peptide-portal {
  min-height: calc(100vh - 112px);
  align-content: center;
  gap: 30px;
  padding: 34px 0 54px;
}

.reading-library {
  --accent: #9a3d28;
  min-height: calc(100vh - 112px);
  align-content: center;
  gap: 34px;
  padding: 42px 0 58px;
}

.reading-library-head h1 span {
  color: #1b6070;
}

.feature-story-grid.reading-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.portal-kicker::before {
  content: "";
  width: 38px;
  height: 2px;
  background: currentColor;
}

.feature-story {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-story:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.feature-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-story-media {
  height: 190px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.feature-story-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.monthly-story .feature-story-media img {
  object-position: 74% 53%;
}

.radiopharma-story .feature-story-media img {
  object-position: center 48%;
}

.library-story .feature-story-media img {
  object-position: center 50%;
}

.feature-story-body {
  display: grid;
  gap: 9px;
  padding: 24px;
}

.feature-story-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.feature-story strong {
  font-family: inherit;
  font-size: 32px;
  line-height: 1.12;
}

.feature-story-copy {
  color: var(--muted);
  font-size: 14px;
}

.feature-story-action {
  justify-self: start;
  margin-top: 6px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel-soft);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.realworld-head h1 {
  margin: 12px 0 10px;
  color: #071b21;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 72px;
  line-height: 0.92;
  letter-spacing: 0;
}

.realworld-head h1 span {
  color: var(--accent);
}

.realworld-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.realworld-calendar {
  position: sticky;
  top: 56px;
  z-index: 10;
  margin: 0 -2px;
  padding: 8px 2px 12px;
  background: var(--bg);
}

.realworld-calendar p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.realworld-calendar-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 112px)) auto;
  gap: 8px;
  align-items: end;
}

.realworld-calendar label {
  gap: 5px;
  min-width: 0;
  margin: 0;
}

.realworld-calendar label span {
  font-size: 12px;
  font-weight: 800;
}

.realworld-calendar select,
.realworld-calendar button {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.realworld-calendar select {
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

.realworld-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.realworld-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  overflow: hidden;
}

.realworld-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.realworld-card h2,
.empty-state h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.realworld-kicker {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.realworld-card-tools {
  display: flex;
  justify-content: flex-end;
}

.status-pill {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.status-pill.generated {
  border-color: #9fd1b5;
  background: #edf8f2;
  color: #126735;
}

.status-pill.delivery_failed {
  border-color: #efbbb5;
  background: #fff3f1;
  color: var(--danger);
}

.status-pill.missing {
  background: var(--panel-soft);
}

.realworld-text {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
}

.realworld-card pre {
  margin: 0;
  padding: 14px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.65;
}

.empty-state {
  padding: 18px;
}

.reading-story {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
}

.reading-story .feature-story-media {
  height: 100%;
  min-height: 280px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.series-cover-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 18px;
  background: #17232a;
}

.series-cover-strip img {
  min-width: 0;
  object-position: center;
}

.history-story .feature-story-body {
  background: #f6f2e9;
}

.history-cover-field {
  display: grid;
  place-items: center;
  padding: 22px;
  background: #18303a;
}

.history-cover-field img {
  width: min(230px, 62%);
  height: auto;
  aspect-ratio: 900 / 1387;
  object-fit: cover;
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.35);
}

.reading-topic-card {
  display: grid;
  grid-template-rows: 280px minmax(0, 1fr);
}

.reading-topic-card .feature-story-media {
  height: 280px;
}

.reading-topic-card.history-story .history-cover-field img {
  width: 150px;
}

.chinese-cover-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #27362f;
}

.chinese-cover-strip img {
  min-width: 0;
  object-position: center;
}

.chinese-topic-card .feature-story-body {
  background: #f1f4ef;
}

.reading-topic-card .feature-story-body {
  align-content: start;
}

.topic-current {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 5px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #5e625f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.topic-current b {
  color: var(--accent);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
}

.reading-page {
  --reading-accent: #a9362b;
  --reading-blue: #155b78;
  display: grid;
  gap: 0;
  margin: -28px;
  background: #f4f3f0;
}

.history-reading-page {
  --reading-accent: #9a3d28;
  --reading-blue: #1b6070;
}

.chinese-reading-page {
  --reading-accent: #a23f27;
  --reading-blue: #27616b;
}

.history-reading-page .reading-masthead {
  background: #f3efe5;
}

.chinese-reading-page .reading-masthead {
  background: #eef1eb;
}

.history-reading-page .reading-masthead h1 {
  max-width: 940px;
}

.chinese-featured .current-cover img {
  aspect-ratio: 1080 / 1526;
}

.reading-masthead,
.reading-section,
.current-reading,
.reading-route,
.reading-sources {
  padding-right: max(28px, calc((100vw - 1180px) / 2 + 28px));
  padding-left: max(28px, calc((100vw - 1180px) / 2 + 28px));
}

.reading-masthead {
  min-height: 410px;
  padding-top: 66px;
  padding-bottom: 54px;
  border-bottom: 1px solid #cfcfc9;
  background: #f8f7f4;
}

.reading-back {
  display: inline-flex;
  margin-bottom: 58px;
  color: #6e6d68;
  font-size: 13px;
  font-weight: 800;
}

.reading-kicker {
  display: block;
  color: var(--reading-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.reading-masthead h1 {
  max-width: 800px;
  margin: 14px 0 18px;
  color: #17232a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.reading-masthead > p {
  max-width: 720px;
  margin: 0;
  color: #5f5e59;
  font-size: 17px;
  line-height: 1.75;
}

.current-reading {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #d5d4ce;
  background: #fff;
}

.current-cover {
  margin: 0;
}

.current-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 700 / 1077;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(20, 24, 27, 0.2);
}

.current-reading-copy {
  min-width: 0;
}

.current-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 12px 0 22px;
}

.current-title-row h2 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #17232a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.book-author {
  margin: 8px 0 0;
  color: #6e6d68;
  font-size: 15px;
}

.book-subtitle {
  max-width: 620px;
  margin: 8px 0 0;
  color: #3e4545;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.4;
}

.reading-status {
  flex: 0 0 auto;
  padding: 5px 0 5px 12px;
  border-left: 3px solid var(--reading-accent);
  color: var(--reading-accent);
  font-size: 14px;
}

.current-summary {
  max-width: 760px;
  margin: 0 0 24px;
  color: #444641;
  font-size: 16px;
  line-height: 1.8;
}

.current-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #d8d7d1;
  border-bottom: 1px solid #d8d7d1;
}

.current-facts div {
  min-width: 0;
  padding: 16px 18px 16px 0;
}

.current-facts div + div {
  padding-left: 18px;
  border-left: 1px solid #d8d7d1;
}

.current-facts dt {
  margin-bottom: 5px;
  color: #777670;
  font-size: 12px;
  font-weight: 800;
}

.current-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #272a27;
  font-size: 14px;
  line-height: 1.55;
}

.series-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.series-progress span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border-top: 3px solid #cbc9c1;
  color: #777670;
  font-size: 12px;
}

.series-progress span.active {
  border-top-color: var(--reading-accent);
  color: var(--reading-accent);
  font-weight: 800;
}

.series-progress b {
  color: #252824;
}

.history-question-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.history-question-strip span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 52px;
  padding: 11px 12px;
  border-top: 3px solid #b8b0a2;
  color: #5c5b55;
  font-size: 12px;
  line-height: 1.45;
}

.history-question-strip b {
  color: var(--reading-accent);
}

.reading-section {
  padding-top: 72px;
  padding-bottom: 76px;
}

.reading-section + .reading-section {
  border-top: 1px solid #d5d4ce;
}

.reading-section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.reading-section-head h2,
.reading-route h2 {
  margin: 10px 0 12px;
  color: #17232a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

.reading-section-head p,
.reading-route > div > p {
  margin: 0;
  color: #66655f;
  font-size: 15px;
  line-height: 1.7;
}

.spice-vocabulary {
  background: #f8f7f3;
}

.vocabulary-head {
  margin-bottom: 26px;
}

.vocabulary-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
  border-top: 3px solid #17232a;
  border-bottom: 1px solid #c9c7bf;
}

.vocabulary-index a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 13px;
  min-width: 0;
  padding: 18px 20px;
  color: #363c3c;
}

.vocabulary-index a + a {
  border-left: 1px solid #c9c7bf;
}

.vocabulary-index b {
  grid-row: 1 / 3;
  color: var(--reading-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.vocabulary-index span {
  font-size: 14px;
  font-weight: 900;
}

.vocabulary-index small {
  overflow-wrap: anywhere;
  color: #77766f;
  font-size: 11px;
}

.vocabulary-group {
  border-bottom: 1px solid #cbc9c1;
}

.vocabulary-group:first-of-type {
  border-top: 1px solid #cbc9c1;
}

.vocabulary-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.vocabulary-group summary::-webkit-details-marker {
  display: none;
}

.vocabulary-group summary > span {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.vocabulary-group summary b {
  color: var(--reading-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.vocabulary-group summary strong {
  color: #17232a;
  font-size: 19px;
}

.vocabulary-group summary small {
  color: #84827b;
  font-size: 10px;
  font-weight: 900;
}

.vocabulary-group summary > i {
  color: var(--reading-accent);
  font-size: 25px;
  font-style: normal;
  line-height: 1;
  transition: transform 160ms ease;
}

.vocabulary-group[open] summary > i {
  transform: rotate(45deg);
}

.vocabulary-table {
  margin-bottom: 26px;
  border-top: 3px solid #17232a;
}

.vocabulary-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(200px, 1fr) minmax(280px, 1.6fr);
  gap: 20px;
  align-items: baseline;
  min-width: 0;
  padding: 13px 14px;
  border-bottom: 1px solid #d8d6cf;
}

.vocabulary-row:nth-child(odd):not(.vocabulary-table-head) {
  background: #f0eee8;
}

.vocabulary-table-head {
  padding-top: 10px;
  padding-bottom: 10px;
  background: #e4e1d8;
  color: #696862;
  font-size: 10px;
  font-weight: 900;
}

.vocabulary-row strong {
  overflow-wrap: anywhere;
  color: #173d4b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.35;
}

.vocabulary-row strong small {
  color: #8a8175;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.vocabulary-row > span,
.vocabulary-row p {
  min-width: 0;
  margin: 0;
  color: #555650;
  font-size: 13px;
  line-height: 1.6;
}

.vocabulary-row p i {
  color: #303b3d;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
}

.word-sense-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-bottom: 20px;
  border-top: 3px solid #17232a;
}

.word-sense-grid article {
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid #d8d6cf;
}

.word-sense-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: #173d4b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.4;
}

.word-sense-grid p,
.vocabulary-note {
  margin: 7px 0 0;
  color: #5d5e58;
  font-size: 13px;
  line-height: 1.6;
}

.vocabulary-note {
  margin: 0 0 28px;
  padding: 15px 17px;
  border-left: 3px solid var(--reading-accent);
  background: #edeae2;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.series-book {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d2d0c9;
  border-radius: 6px;
  background: #fff;
}

.series-book.is-current {
  border-color: #c66f66;
}

.series-book img {
  display: block;
  width: 100%;
  aspect-ratio: 700 / 1077;
  object-fit: cover;
  border-bottom: 1px solid #d2d0c9;
}

.series-book div {
  padding: 18px;
}

.series-book span {
  color: var(--reading-accent);
  font-size: 11px;
  font-weight: 900;
}

.series-book h3 {
  margin: 8px 0 10px;
  overflow-wrap: anywhere;
  color: #17232a;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.series-book p {
  margin: 0;
  color: #66655f;
  font-size: 13px;
  line-height: 1.65;
}

.history-lenses-section {
  background: #ece7dc;
}

.chinese-method {
  background: #e9ece5;
}

.history-lenses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 3px solid #17232a;
  border-bottom: 1px solid #bdb7aa;
}

.history-lenses article {
  min-width: 0;
  padding: 24px 20px 26px;
}

.history-lenses article + article {
  border-left: 1px solid #bdb7aa;
}

.history-lenses b {
  color: var(--reading-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.history-lenses h3 {
  margin: 14px 0 8px;
  color: #17232a;
  font-size: 18px;
  letter-spacing: 0;
}

.history-lenses p {
  margin: 0;
  color: #62615b;
  font-size: 13px;
  line-height: 1.65;
}

.history-book-groups .book-list em {
  color: #946c29;
}

.chinese-book-groups .book-list em {
  color: #806b2c;
}

.award-library {
  background: #faf9f6;
}

.award-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 54px;
}

.award-group {
  min-width: 0;
}

.award-group > header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 0 15px;
  border-bottom: 3px solid #17232a;
}

.award-group > header > span {
  color: var(--reading-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.award-group h3 {
  margin: 0;
  color: #17232a;
  font-size: 20px;
  letter-spacing: 0;
}

.award-group header p {
  margin: 3px 0 0;
  color: #898780;
  font-size: 10px;
  font-weight: 800;
}

.book-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.book-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 8px 18px;
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid #d8d7d1;
}

.book-list li > div {
  min-width: 0;
}

.book-list strong,
.book-list span {
  display: block;
  overflow-wrap: anywhere;
}

.book-list strong {
  color: #202522;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.25;
}

.book-list span {
  margin-top: 4px;
  color: #7a7973;
  font-size: 12px;
}

.book-list p {
  margin: 0;
  color: #555650;
  font-size: 13px;
  line-height: 1.55;
}

.book-list em {
  grid-column: 1 / -1;
  color: var(--reading-blue);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.reading-route {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 70px;
  border-top: 1px solid #d5d4ce;
  border-bottom: 1px solid #d5d4ce;
  background: #e8e6df;
}

.reading-route ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reading-route li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 0;
  border-bottom: 1px solid #c8c6be;
}

.reading-route li > b {
  color: var(--reading-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.reading-route li span,
.reading-route li strong,
.reading-route li small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.reading-route li strong {
  color: #202522;
  font-size: 14px;
}

.reading-route li small {
  margin-top: 3px;
  color: #77756f;
  font-size: 11px;
}

.reading-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 25px;
  padding-bottom: 28px;
  background: #17232a;
  color: #d7dcdd;
  font-size: 12px;
}

.reading-sources span {
  color: #e0b25b;
  font-weight: 900;
}

.reading-sources a {
  border-bottom: 1px solid #647178;
}

@media (max-width: 900px) {
  .feature-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-story-grid.reading-topic-grid {
    grid-template-columns: 1fr;
  }

  .current-reading {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
  }

  .current-facts {
    grid-template-columns: 1fr;
  }

  .current-facts div + div {
    padding-left: 0;
    border-top: 1px solid #d8d7d1;
    border-left: 0;
  }

  .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-lenses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-lenses article:nth-child(3) {
    border-left: 0;
  }

  .history-lenses article:nth-child(n + 3) {
    border-top: 1px solid #bdb7aa;
  }

  .reading-route {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 16px 0;
  }

  .brand {
    font-size: 13px;
  }

  .topbar nav {
    order: 2;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  .topbar nav span {
    display: none;
  }

  .nav-link {
    min-height: 38px;
  }

  main {
    padding: 20px 14px;
  }

  .realworld-head h1 {
    font-size: 44px;
  }

  .peptide-portal {
    align-content: start;
    padding-top: 18px;
  }

  .reading-library {
    align-content: start;
    gap: 26px;
    padding-top: 24px;
  }

  .feature-story-grid {
    grid-template-columns: 1fr;
  }

  .feature-story-media {
    height: 170px;
  }

  .feature-story-body {
    padding: 20px;
  }

  .feature-story strong {
    font-size: 27px;
  }

  .reading-story {
    display: block;
  }

  .reading-story .feature-story-media {
    height: 190px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .history-cover-field {
    padding: 12px;
  }

  .history-cover-field img {
    width: 100px;
  }

  .reading-topic-card {
    grid-template-rows: 220px minmax(0, 1fr);
  }

  .reading-topic-card .feature-story-media {
    height: 220px;
  }

  .reading-topic-card.history-story .history-cover-field img {
    width: 112px;
  }

  .series-cover-strip {
    padding: 10px;
  }

  .reading-page {
    margin: -20px -14px;
  }

  .reading-masthead,
  .reading-section,
  .current-reading,
  .reading-route,
  .reading-sources {
    padding-right: 18px;
    padding-left: 18px;
  }

  .reading-masthead {
    min-height: 360px;
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .reading-back {
    margin-bottom: 46px;
  }

  .reading-masthead h1 {
    font-size: 44px;
  }

  .reading-masthead > p {
    font-size: 15px;
  }

  .current-reading {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .current-cover {
    width: 142px;
  }

  .current-cover img {
    box-shadow: 0 10px 20px rgba(20, 24, 27, 0.18);
  }

  .current-title-row {
    display: block;
    margin-bottom: 16px;
  }

  .current-title-row h2 {
    font-size: 29px;
  }

  .book-subtitle {
    font-size: 16px;
  }

  .reading-status {
    display: inline-block;
    margin-top: 12px;
  }

  .current-summary {
    font-size: 14px;
  }

  .series-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-question-strip {
    grid-template-columns: 1fr;
  }

  .reading-section {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .reading-section-head h2,
  .reading-route h2 {
    font-size: 30px;
  }

  .series-grid,
  .award-groups,
  .history-lenses {
    grid-template-columns: 1fr;
  }

  .vocabulary-index,
  .word-sense-grid {
    grid-template-columns: 1fr;
  }

  .vocabulary-index a + a {
    border-top: 1px solid #c9c7bf;
    border-left: 0;
  }

  .vocabulary-group summary > span {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .vocabulary-group summary small {
    grid-column: 2;
  }

  .vocabulary-table-head {
    display: none;
  }

  .vocabulary-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 12px;
  }

  .vocabulary-row > span::before,
  .vocabulary-row p::before {
    display: block;
    margin-bottom: 2px;
    color: #8b8982;
    font-size: 9px;
    font-weight: 900;
  }

  .vocabulary-row > span::before {
    content: "核心意思";
  }

  .vocabulary-row p::before {
    content: "阅读语感";
  }

  .history-lenses article + article,
  .history-lenses article:nth-child(3) {
    border-top: 1px solid #bdb7aa;
    border-left: 0;
  }

  .award-groups {
    row-gap: 42px;
  }

  .book-list li {
    grid-template-columns: 1fr;
  }

  .book-list em {
    grid-column: 1;
  }

  .reading-route {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .reading-route ol {
    grid-template-columns: 1fr;
  }

  .realworld-calendar-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .realworld-calendar button {
    grid-column: 1 / -1;
  }

  .realworld-card {
    padding: 15px;
  }

  .realworld-card-head {
    align-items: flex-start;
  }
}
