.members-page,
.reader-page {
  background: #101716;
  color: #f1eee6;
}
.reading-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
  border-bottom: 1px solid #ffffff20;
}
.reading-brand {
  font:
    500 23px/1.2 "Cormorant Garamond",
    Georgia,
    serif;
  text-decoration: none;
}
.reading-brand span {
  display: block;
  margin-top: 10px;
  font:
    12px/1.5 "Noto Serif TC",
    serif;
  letter-spacing: 5px;
  color: #d3b783;
}
.reading-header nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
.reading-header a {
  text-decoration: none;
}
.reading-hero {
  padding-top: 92px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 70px;
}
.reading-hero h1 {
  font:
    400 clamp(64px, 6.4vw, 100px)/0.99 "Cormorant Garamond",
    Georgia,
    serif;
  letter-spacing: -2.5px;
  margin: 30px 0;
}
.reading-hero h1 em {
  color: #d3b783;
  font-weight: 400;
}
.reading-intro {
  font-size: 17px;
  line-height: 1.9;
  max-width: 480px;
  color: #c4cbc5;
  margin-bottom: 28px;
}
.reading-still {
  position: relative;
  aspect-ratio: 1.15;
  overflow: hidden;
  border-radius: 50% 50% 0 0;
}
.reading-still img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 59% center;
}
.reading-still span {
  position: absolute;
  bottom: 22px;
  left: 25px;
  color: #f1eee6;
  font-size: 9px;
  letter-spacing: 2px;
  text-shadow: 0 1px 4px #000;
}
.reading-paper {
  background: #f1eee6;
  color: #24352d;
}
.room-entry {
  padding: 74px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  border-bottom: 1px solid #21372b33;
}
.entry-copy h2,
.room-section-head h2,
.account-panel > h2 {
  font:
    400 clamp(37px, 4vw, 55px)/1.15 "Cormorant Garamond",
    Georgia,
    serif;
  margin: 18px 0;
}
.entry-copy > p:not(.eyebrow) {
  line-height: 1.9;
  max-width: 390px;
  color: #526057;
}
.room-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.room-form > label {
  font-size: 13px;
}
.room-form input:not([type="checkbox"]),
.room-form textarea,
.room-form select {
  box-sizing: border-box;
  width: 100%;
  background: #ffffff70;
  border: 1px solid #718074;
  border-radius: 0;
  min-height: 49px;
  padding: 12px 14px;
  color: #24352d;
  font: inherit;
  font-size: 16px;
}
.room-form .button,
.account-panel .button {
  background: #243c30;
  color: #fff;
  border: 0;
  cursor: pointer;
  justify-content: center;
  margin-top: 6px;
  min-height: 50px;
  font:
    500 14px "DM Sans",
    sans-serif;
}
.room-form .button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-help {
  font-size: 12px;
  line-height: 1.8;
  color: #566158;
}
.room-form [role="status"] {
  font-size: 14px;
  line-height: 1.7;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.room-benefits {
  padding: 58px 0 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  border-bottom: 1px solid #21372b33;
}
.benefit-number {
  font:
    italic 24px "Cormorant Garamond",
    Georgia,
    serif;
  color: #827041;
}
.room-benefits h3 {
  font:
    500 30px "Cormorant Garamond",
    Georgia,
    serif;
  margin: 15px 0;
}
.room-benefits p {
  font-size: 14px;
  line-height: 1.9;
  color: #526057;
}
.room-library {
  padding: 76px 0;
}
.room-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 28px;
}
.room-section-head > span {
  letter-spacing: 4px;
  font:
    13px "Noto Serif TC",
    serif;
  color: #57654f;
}
.empty-library {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 32px;
  padding: 40px;
  border: 1px solid #21372b33;
}
.empty-mark {
  font:
    80px "Noto Serif TC",
    serif;
  text-align: center;
  color: #9b8a60;
}
.empty-library h3 {
  font:
    400 30px "Cormorant Garamond",
    Georgia,
    serif;
  margin: 0 0 12px;
}
.empty-library p {
  max-width: 610px;
  line-height: 1.9;
  color: #526057;
  font-size: 15px;
  margin-bottom: 18px;
}
.account-panel {
  padding: 65px 0;
  border-bottom: 1px solid #21372b33;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.account-grid h3 {
  font:
    500 30px "Cormorant Garamond",
    Georgia,
    serif;
  margin-bottom: 20px;
}
.membership-card {
  background: #e5e5d9;
  padding: 35px;
  align-self: start;
  line-height: 1.8;
}
.membership-card .plain-button {
  margin: 14px 0 30px;
}
.membership-card p {
  font-size: 14px;
}
.plain-button {
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 6px 0;
  font: inherit;
  font-size: 13px;
  color: inherit;
  cursor: pointer;
}
.check-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.7;
  cursor: pointer;
  margin-bottom: 5px;
}
.check-label input {
  appearance: auto;
  accent-color: #243c30;
  flex: 0 0 18px;
  height: 18px;
  margin-top: 2px;
}
.room-notice {
  padding: 20px;
  background: #e2ddcd;
  line-height: 1.7;
  border-left: 3px solid #827041;
}
.publication-card {
  display: grid;
  grid-template-columns: 160px 1fr 40px;
  gap: 30px;
  padding: 32px 0;
  border-top: 1px solid #21372b33;
}
.publication-card h3 {
  font:
    400 35px/1.15 "Cormorant Garamond",
    Georgia,
    serif;
  margin: 0 0 16px;
}
.publication-card h3 a {
  text-decoration: none;
}
.publication-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #526057;
}
.publication-card .publication-meta {
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.publication-card .publication-status {
  font-size: 12px;
  color: #50613c;
  margin-top: 14px;
}
.publication-arrow {
  font-size: 27px;
  text-decoration: none;
}
.membership-terms {
  border-top: 1px solid #21372b33;
  border-bottom: 1px solid #21372b33;
  padding: 23px 0;
  font-size: 13px;
  line-height: 1.9;
}
.membership-terms summary {
  cursor: pointer;
  font-weight: 500;
}
.membership-terms p {
  margin-top: 18px;
  max-width: 850px;
  color: #526057;
}
.room-contact {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 45px;
  font-size: 13px;
}
.reading-footer {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  padding-top: 45px;
  padding-bottom: 45px;
  font-size: 12px;
  line-height: 1.9;
  color: #bac3bb;
}
.reading-footer a {
  text-decoration: none;
}
.reading-footer p + p {
  color: #acb5ad;
  margin-top: 8px;
}
.patron-benefits {
  font-size: 14px !important;
  line-height: 1.8 !important;
}
.patron-benefits a {
  display: block;
  margin-top: 14px;
  text-underline-offset: 4px;
}
.paper {
  max-width: 800px;
  padding-top: 90px;
  padding-bottom: 80px;
}
.paper h1 {
  font:
    400 clamp(44px, 5vw, 72px)/1.05 "Cormorant Garamond",
    Georgia,
    serif;
  margin: 30px 0;
}
.paper h2 {
  font:
    400 35px/1.2 "Cormorant Garamond",
    Georgia,
    serif;
  margin: 45px 0 22px;
}
.paper p,
.paper li {
  font:
    18px/1.95 Georgia,
    "Noto Serif TC",
    serif;
  margin: 20px 0;
  color: #d2d7cf;
}
.paper .paper-abstract {
  font-size: 22px;
  color: #d3b783;
  border-bottom: 1px solid #ffffff30;
  padding-bottom: 35px;
  margin-bottom: 50px;
}
.paper .eyebrow {
  font:
    11px "DM Sans",
    sans-serif;
  letter-spacing: 2px;
}
.paper li {
  font-size: 16px;
}
.paper ol {
  padding-left: 24px;
}
.source-edition,
.reader-gate {
  border: 1px solid #d3b78360;
  padding: 30px;
  margin-top: 55px;
}
.source-edition h2,
.reader-gate h2 {
  margin-top: 15px;
}
.reader-gate .button {
  background: #d3b783;
  color: #101716;
}
.members-page [hidden],
.reader-page [hidden] {
  display: none !important;
}
html[lang="zh-Hant"] .reading-hero h1 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1.4;
  letter-spacing: 2px;
}
html[lang="zh-Hant"] .reading-paper h2,
html[lang="zh-Hant"] .reading-paper h3 {
  font-family: "Noto Serif TC", serif;
  line-height: 1.65;
}
html[lang="zh-Hant"] .reading-paper h2 {
  font-size: 34px;
}
html[lang="zh-Hant"] .reading-paper h3 {
  font-size: 23px;
}
a,
button,
input,
textarea,
select {
  touch-action: manipulation;
}
.members-page :focus-visible,
.reader-page :focus-visible {
  outline: 3px solid #997a33;
  outline-offset: 5px;
}
.members-page #account-email {
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .reading-header {
    min-height: 92px;
  }
  .reading-brand {
    font-size: 20px;
  }
  .reading-header nav {
    gap: 18px;
    font-size: 12px;
  }
  .reading-hero {
    gap: 35px;
    padding-top: 65px;
    padding-bottom: 70px;
  }
  .reading-hero h1 {
    font-size: 66px;
  }
  .room-entry,
  .account-grid {
    gap: 40px;
  }
  .room-benefits {
    gap: 27px;
  }
  .room-section-head > span {
    display: none;
  }
  .publication-card {
    grid-template-columns: 115px 1fr 20px;
    gap: 18px;
  }
  .empty-library {
    padding: 28px;
    grid-template-columns: 85px 1fr;
    gap: 20px;
  }
  .reading-footer {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .reading-header {
    gap: 12px;
  }
  .reading-header nav > a:first-child {
    display: none;
  }
  .reading-brand {
    font-size: 20px;
  }
  .reading-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .reading-hero h1 {
    font-size: 76px;
  }
  .reading-intro {
    font-size: 15px;
  }
  .reading-still {
    aspect-ratio: 1.6;
    border-radius: 120px 120px 0 0;
    max-height: 260px;
  }
  .room-entry,
  .account-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .room-entry {
    padding: 42px 0;
  }
  .room-benefits {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .room-benefits > div {
    position: relative;
    padding-left: 43px;
  }
  .benefit-number {
    position: absolute;
    left: 0;
    top: 12px;
  }
  .room-benefits h3 {
    margin-top: 8px;
    font-size: 29px;
  }
  .room-library {
    padding: 46px 0;
  }
  .room-section-head h2 {
    font-size: 38px;
  }
  .empty-library {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 12px;
  }
  .empty-mark {
    font-size: 50px;
    text-align: left;
  }
  .empty-library h3 {
    font-size: 28px;
  }
  .account-panel {
    padding: 42px 0;
  }
  .membership-card {
    padding: 25px;
  }
  .publication-card {
    grid-template-columns: 1fr 22px;
    gap: 15px;
  }
  .publication-card .publication-meta {
    grid-column: 1/-1;
  }
  .publication-card h3 {
    font-size: 30px;
  }
  .room-contact {
    flex-direction: column;
    gap: 8px;
    overflow-wrap: anywhere;
  }
  .reading-footer {
    font-size: 11px;
  }
  .paper {
    padding-top: 50px;
  }
  .paper p {
    font-size: 17px;
  }
  .paper .paper-abstract {
    font-size: 20px;
  }
  .source-edition,
  .reader-gate {
    padding: 24px;
  }
  html[lang="zh-Hant"] .reading-hero h1 {
    font-size: 51px;
  }
  html[lang="zh-Hant"] .reading-paper h2 {
    font-size: 28px;
  }
}
@media (max-width: 600px) {
  .reading-hero h1 {
    font-size: clamp(58px, 16vw, 76px);
  }
}
