:root {
  color-scheme: light;
  --paper: #f6f4ec;
  --ink: #1e2c22;
  --subtle: #536056;
  --forest: #1d3727;
  --lime: #e1eeaa;
  --rule: #dcded1;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 300px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
button, textarea, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #6b8058; outline-offset: 4px; }
h1, h2, p, figure { margin: 0; }
.site { width: min(1120px, 100% - 80px); margin-inline: auto; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: .08em; }
.brand-mark { width: 27px; height: 27px; border-radius: 50%; background: var(--forest); position: relative; display: inline-grid; place-items: center; }
.brand-mark::before { content: ""; width: 12px; height: 12px; border: 1px solid var(--lime); border-right-color: transparent; border-radius: 50%; rotate: -27deg; }
.brand-mark::after { content: ""; position: absolute; width: 6px; height: 1px; background: var(--lime); right: 5px; rotate: -30deg; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--subtle); display: inline-flex; align-items: center; min-height: 44px; gap: 6px; font-size: 14px; white-space: nowrap; }
nav a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 7px; }
.book-count { font-size: 11px; min-width: 18px; height: 18px; padding: 0 3px; display: inline-grid; place-items: center; border-radius: 50%; background: #e3e7d9; }
.hero { min-height: 490px; display: flex; align-items: center; isolation: isolate; overflow: hidden; position: relative; border-radius: 23px; background: #182b21; color: #f7f7eb; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #192c21 0%, #192c21ee 25%, #192c2166 54%, transparent 78%), url("/art/hero.webp") 100% 55% / auto 119% no-repeat; }
.hero-content { padding: 57px 7%; }
.hero-label, .eyebrow { font-size: 13px; letter-spacing: .1em; display: flex; align-items: center; gap: 9px; font-weight: 600; }
.hero-label { color: #dedfcd; }
.hero-label span { height: 7px; width: 7px; background: var(--lime); border-radius: 50%; }
.hero h1 { font: 700 clamp(52px, 7vw, 92px)/1.09 var(--serif); letter-spacing: -.07em; margin: 22px 0 20px; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description { font-size: 15px; line-height: 1.85; color: #e5e8da; margin-bottom: 29px; max-width: 440px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 19px; border-radius: 8px; border: 1px solid transparent; padding: 10px 17px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.button-light { background: var(--lime); color: #202e20; }
.button-dark { background: var(--forest); color: #fffdf3; }
.button-outline { border-color: #abb5a5; background: transparent; color: var(--ink); }
.button:hover { filter: brightness(.93); }
.button:disabled { cursor: wait; opacity: .7; }
.text-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; padding: 3px 0; background: transparent; font-size: 14px; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; text-align: left; }
.sample { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(300px, 1.55fr); gap: 55px; padding: 43px 6.5% 44px; align-items: center; }
.sample h2, .inner-heading h1 { font: 700 clamp(33px, 4.3vw, 58px)/1.19 var(--serif); letter-spacing: -.05em; margin: 13px 0; }
.sample-intro > p:not(.eyebrow), .inner-heading > p:last-child { line-height: 1.7; color: var(--subtle); font-size: 15px; }
.sample-intro .text-button { margin-top: 5px; }
.mini-mark { width: 9px; height: 9px; border: 1.5px solid #54674f; transform: rotate(45deg); display: inline-block; }
.definition-example { min-height: 200px; border-radius: 15px; padding: 26px 30px 24px; background: #eaece0; border: 1px solid #e1e3d6; }
.definition-example figcaption { color: #52614f; font-size: 13px; font-weight: 650; }
.definition-example blockquote { font: 700 clamp(27px, 3.4vw, 47px)/1.25 var(--serif); letter-spacing: -.05em; margin: 11px 0 12px; }
.definition-example p { color: #52614f; font-size: 14px; line-height: 1.6; }
.site-footer { min-height: 67px; border-top: 1px solid var(--rule); color: var(--subtle); display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 13px; }
.site-footer span:first-child { font-weight: 700; }
.inner-view { max-width: 720px; min-height: 57vh; margin-inline: auto; padding: 32px 0 48px; }
.inner-heading { margin-bottom: 25px; }
.panel { background: #fbfaf5; border: 1px solid var(--rule); border-radius: 15px; padding: 29px; }
.panel label, legend { display: block; font-size: 15px; font-weight: 650; }
.panel textarea, .panel input { display: block; background: #fffef9; color: var(--ink); border: 1px solid #c8d0c1; border-radius: 8px; padding: 11px 12px; margin: 8px 0 19px; width: 100%; line-height: 1.55; font-size: 16px; }
.panel textarea { resize: vertical; }
.panel textarea::placeholder, .panel input::placeholder { color: #687368; }
fieldset { border: 0; padding: 14px 0 0; margin: 0; min-width: 0; border-top: 1px solid var(--rule); }
legend { padding: 0 10px 0 0; color: var(--subtle); }
fieldset label { margin-top: 4px; }
.ai-details { margin-top: 19px; padding-top: 13px; border-top: 1px solid var(--rule); }
summary { color: var(--forest); cursor: pointer; line-height: 2; font-size: 14px; font-weight: 600; }
.ai-details p { color: var(--subtle); font-size: 14px; margin: 9px 0 15px; line-height: 1.7; }
.status, .notices { color: #6b4530; font-size: 14px; line-height: 1.55; }
.status:not(:empty) { margin-top: 12px; }
.notices:not(:empty) { margin: 0 0 20px; }
.draft-panel h2, .book-entry h2 { font: 700 clamp(25px, 4vw, 39px)/1.3 var(--serif); margin: 10px 0; overflow-wrap: anywhere; }
.draft-reason { color: var(--subtle); line-height: 1.7; margin-bottom: 20px; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 19px; }
.book-list { display: grid; gap: 18px; margin-bottom: 20px; }
.book-entry p { line-height: 1.7; }
.entry-action, .entry-status { color: var(--subtle); overflow-wrap: anywhere; }
.entry-status { font-size: 13px; margin: 12px 0; }
.review-form, .review-history { border-top: 1px solid var(--rule); margin-top: 16px; padding-top: 12px; }
.review-history ul { padding-inline-start: 20px; color: var(--subtle); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.review-history li + li { margin-top: 6px; }
.empty-book { line-height: 1.75; color: var(--subtle); }
@media (max-width: 680px) {
  .site { width: calc(100% - 32px); }
  .site-header { height: 65px; gap: 12px; }
  .wordmark { font-size: 19px; gap: 7px; flex-shrink: 0; }
  .brand-mark { width: 24px; height: 24px; }
  nav { gap: clamp(10px, 3vw, 20px); }
  nav a { font-size: 13px; }
  .hero { min-height: 430px; border-radius: 17px; align-items: end; }
  .hero::before { background: linear-gradient(90deg, #192c21e8 0%, #192c2199 50%, #192c2112 100%), url("/art/hero.webp") 70% 50% / auto 100% no-repeat; }
  .hero-content { padding: 38px 23px 34px; }
  .hero h1 { margin: 17px 0; }
  .hero-description { font-size: 14px; margin-bottom: 22px; }
  .sample { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 31px 3px; }
  .sample h2 br, .wide { display: none; }
  .sample h2 { margin: 8px 0; }
  .definition-example { min-height: unset; padding: 21px; }
  .inner-view { padding: 23px 0 35px; }
  .panel { padding: 20px; }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: filter .18s ease; }
}
