:root {
  color-scheme: light;
  --paper: #ffffff;
  --canvas: #f5f2ea;
  --ink: #202a28;
  --muted: #65716c;
  --line: #dedbd2;
  --red: #a52d32;
  --red-dark: #812127;
  --red-tint: #f8e9e7;
  --green: #315d50;
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--canvas);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; }
[hidden] { display: none !important; }
body[data-theme="forest"] { --red: #2d634e; --red-dark: #214e3d; --red-tint: #e8f3ec; }
body[data-theme="navy"] { --red: #36536c; --red-dark: #233f57; --red-tint: #e9eff4; }
body[data-theme="crimson"] { --red: #a72f2e; --red-dark: #842322; --red-tint: #f8eae7; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.skip-link { position: absolute; z-index: 10; top: -60px; left: 12px; padding: 10px 16px; background: var(--paper); }
.skip-link:focus { top: 10px; }

.site-header { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header::before { position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); content: ""; }
.header-inner, .hero-inner, .feed-section, .footer-inner, .issue-sample-inner { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 3px 12px 3px 3px; background: var(--red); color: white; font-size: 21px; font-weight: 800; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 19px; letter-spacing: .055em; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.header-note { padding-left: 16px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .06em; }

.hero { overflow: hidden; background: radial-gradient(circle at 80% 10%, #eee4d4 0, transparent 34%), linear-gradient(116deg, #f8f5ec 0%, #f0e9dd 100%); border-bottom: 1px solid #e3dbce; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); align-items: center; column-gap: clamp(42px, 7vw, 110px); row-gap: 24px; padding: 82px 0 88px; }
.hero.has-unit .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 0 24px; }
.hero.has-unit .hero-copy { display: none; }
.hero.has-unit .unit-form { padding: 17px 20px; box-shadow: none; }
.hero.has-unit .matched-profile { margin-top: 13px; padding-top: 11px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.eyebrow-line { width: 26px; height: 2px; background: var(--red); }
h1 { margin: 0; font-family: "Noto Serif CJK SC", "Songti SC", "SimSun", serif; font-size: clamp(38px, 4.1vw, 58px); line-height: 1.3; font-weight: 700; letter-spacing: -.035em; }
h1 span { color: var(--red); }
.hero-description { max-width: 550px; margin: 25px 0 0; color: #56615c; font-size: 15px; line-height: 1.9; }
.hero-source { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.reading-guide { display: flex; flex-wrap: wrap; gap: 11px 21px; margin-top: 35px; padding-top: 17px; border-top: 1px solid #dcd4c8; color: #5c6862; font-size: 12px; }
.reading-guide span { white-space: nowrap; }
.reading-guide b { margin-right: 5px; color: var(--red); font-size: 11px; }
.hero-sample-link { display: inline-block; margin-top: 23px; color: var(--red-dark); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.unit-form { padding: 30px 29px 26px; background: var(--paper); border: 1px solid #e3dcd2; border-top: 4px solid var(--red); border-radius: 6px; box-shadow: 0 22px 50px rgb(52 44 31 / 9%); }
.unit-form label { display: block; margin-bottom: 15px; font-size: 15px; font-weight: 700; }
.form-row { display: flex; gap: 9px; }
.form-row input { min-width: 0; flex: 1; height: 50px; padding: 0 13px; border: 1px solid #cfcfc8; border-radius: 4px; background: #fff; color: var(--ink); outline: none; }
.form-row input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgb(167 47 46 / 13%); }
.form-row button, .retry-button { border: 0; border-radius: 5px; background: var(--red); color: white; font-size: 13px; font-weight: 700; white-space: nowrap; }
.form-row button { padding: 0 16px; }
.form-row button:hover, .retry-button:hover { background: var(--red-dark); }
.form-row button span { margin-left: 4px; }
.form-hint { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.matched-profile { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.matched-profile strong { font-size: 13px; }
.matched-profile p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.matched-profile button { margin-top: 9px; padding: 0; border: 0; background: none; color: var(--red-dark); font-size: 12px; text-decoration: underline; }
.reader-preferences { grid-column: 1 / -1; border: 1px solid #e7ded7; border-radius: 6px; background: var(--paper); }
.reader-preferences summary { padding: 13px 20px; color: var(--red-dark); font-size: 13px; font-weight: 700; cursor: pointer; }
.reader-preferences summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.preferences-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); grid-template-rows: auto 1fr; column-gap: clamp(42px, 7vw, 110px); padding: 20px 29px 26px; border-top: 1px solid var(--line); }
.reader-preferences h2 { font-family: inherit; font-size: 17px; }
.preferences-content > p { margin: 8px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.preferences-content > form { grid-column: 2; grid-row: 1 / 3; }
.reader-preferences form > label:not(.check-row) { display: block; margin: 13px 0 7px; font-size: 13px; font-weight: 700; }
.reader-preferences form > label:first-child { margin-top: 0; }
.reader-preferences input[type="text"] { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #cfcfc8; border-radius: 5px; }
.check-row { display: flex; align-items: center; gap: 8px; margin-top: 13px; color: #414940; font-size: 12px; }
.check-row input { accent-color: var(--red); }
.preferences-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.preferences-actions button { min-height: 38px; padding: 0 13px; border: 0; border-radius: 4px; background: var(--red); color: white; font-size: 12px; font-weight: 700; }
.preferences-actions .text-button { border: 1px solid var(--line); background: transparent; color: var(--muted); }
.inline-status, .reader-status { min-height: 1.5em; color: var(--muted); font-size: 12px; }
.reader-status { margin: 10px 0 0; }
.reader-notifications { grid-column: 1 / -1; padding: 14px 20px; border: 1px solid #e7ded7; border-radius: 6px; background: var(--paper); }
.reader-notifications h3 { font-size: 14px; margin: 0 0 8px; }
.reader-notifications ul { margin: 0; padding-left: 19px; font-size: 13px; line-height: 1.7; }
.embed-profile { padding: 29px 28px 25px; background: var(--paper); border: 1px solid #e7ded7; border-radius: 9px; box-shadow: 0 20px 50px rgb(81 53 39 / 8%); }
.embed-profile-label { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.embed-profile strong { display: block; margin-top: 12px; font-size: 21px; line-height: 1.5; overflow-wrap: anywhere; }
.embed-profile p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.feed-section { padding: 54px 0 56px; }
.formal-section { min-height: 0; padding-bottom: 12px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.section-kicker { margin: 0 0 8px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .19em; }
h2 { margin: 0; font-family: "Noto Serif CJK SC", "Songti SC", "SimSun", serif; font-size: clamp(24px, 2.5vw, 31px); line-height: 1.4; }
.updated-at { margin: 0 0 4px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.candidate-panel { margin-top: 22px; padding: 20px 22px; border: 1px solid #dfd8cf; border-radius: 7px; background: #fffdf9; }
.candidate-panel h3 { margin: 0 0 7px; font-size: 15px; }
.candidate-panel p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.candidate-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 9px; margin-top: 15px; }
.candidate-option { padding: 11px 13px; border: 1px solid #d7d8d1; border-radius: 5px; background: white; color: var(--ink); text-align: left; }
.candidate-option:hover, .candidate-option:focus-visible { border-color: var(--red); box-shadow: 0 0 0 2px rgb(167 47 46 / 9%); }
.candidate-option strong, .candidate-option span { display: block; }
.candidate-option strong { font-size: 13px; }
.candidate-option span { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.feed-status { margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.feed-columns { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.feed-columns button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 12px; }
.feed-columns button[aria-current="true"] { border-color: var(--red); color: var(--red-dark); background: var(--red-tint); }
.feed-status:empty { display: none; }
.feed-items { display: grid; gap: 16px; margin-top: 25px; }
.feed-items:empty { display: none; }
.story-card { padding: 27px 30px 25px; border: 1px solid #e2ded5; border-left: 3px solid var(--red); border-radius: 3px; background: var(--paper); box-shadow: 0 5px 16px rgb(29 34 29 / 3%); }
.same-title-reports { margin-top: -16px; padding: 0 30px 18px; border: 1px solid #e2ded5; border-top: 0; background: var(--paper); }
.same-title-summary { cursor: pointer; padding: 14px 0 0; color: var(--red); font-size: 14px; }
.same-title-reports .story-card { margin-top: 16px; box-shadow: none; }
.story-topline, .story-meta, .story-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.story-topline { justify-content: space-between; gap: 14px; }
.story-badge { display: inline-block; padding: 5px 9px; border-radius: 3px; background: #eaf0ed; color: var(--green); font-size: 11px; font-weight: 700; }
.story-badge.is-fusion { background: var(--red-tint); color: var(--red-dark); }
.story-badge.is-ai { background: #f4efe0; color: #75591e; }
.story-meta { color: var(--muted); font-size: 12px; }
.story-card h3 { margin: 19px 0 16px; font-size: clamp(19px, 2vw, 23px); line-height: 1.48; }
.story-reason { margin: 0 0 17px; padding: 10px 13px; border-left: 3px solid var(--red); background: #fbf6f1; color: #595a50; font-size: 12px; line-height: 1.7; }
.story-sections { display: grid; gap: 13px; }
.story-section { margin: 0; }
.story-section dt { margin: 0 0 5px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.story-section dd { margin: 0; color: #3e463e; font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.story-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 18px; color: var(--red-dark); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.story-link:hover { color: var(--red); }
.story-detail-button { display: block; margin-top: 16px; border: 0; background: transparent; padding: 0; color: var(--red-dark); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.story-detail { margin-top: 14px; padding: 17px 18px; border: 1px solid #e5e2db; background: #fcfbf8; }
.story-detail[hidden] { display: none; }
.story-detail h4 { margin: 0 0 12px; font-size: 16px; }
.story-detail-review { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.story-detail-section + .story-detail-section { margin-top: 12px; }
.story-detail-section strong { color: var(--green); font-size: 12px; }
.story-detail-section p { margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.story-source-body { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e5e2db; }
.story-source-body summary { width: fit-content; color: var(--red-dark); font-size: 13px; font-weight: 700; cursor: pointer; }
.story-source-body summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.story-source-body p { margin: 10px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.story-detail-note { color: var(--muted); font-size: 13px; }
.story-detail-sources { margin-top: 16px; padding-top: 13px; border-top: 1px solid #e5e2db; }
.story-detail-sources strong { color: var(--green); font-size: 12px; }
.story-detail-sources ul { margin: 8px 0 0; padding-left: 20px; }
.story-detail-sources li { margin-top: 8px; line-height: 1.6; }
.story-detail-sources .story-link { display: inline; margin-left: 10px; }
.story-work-button { display: block; margin-top: 16px; padding: 0; border: 0; background: transparent; color: var(--red-dark); font-size: 13px; font-weight: 700; }
.story-work-brief { display: grid; gap: 13px; margin-top: 14px; padding: 18px; border: 1px solid #e5e2db; background: #fcfbf8; }
.story-work-brief h4 { margin: 0; font-size: 16px; }
.story-work-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.story-work-field { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.story-work-field textarea { width: 100%; min-height: 68px; padding: 9px 11px; border: 1px solid #cfcfc8; border-radius: 4px; background: var(--paper); color: var(--ink); font-weight: 400; line-height: 1.6; resize: vertical; }
.story-work-field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.story-work-download { justify-self: start; min-height: 38px; padding: 0 13px; border: 0; border-radius: 4px; background: var(--red); color: white; font-size: 12px; font-weight: 700; }
.issue-sample { padding: 65px 0 76px; background: #f9f7f1; border-bottom: 1px solid var(--line); }
.issue-sample .section-heading { align-items: end; }
.sample-state { color: var(--muted); font-size: 12px; }
.issue-sample-card { padding: 33px 37px; border: 1px solid #e2ded5; border-top: 4px solid var(--red); background: var(--paper); }
.sample-question { margin: 0 0 11px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.issue-sample-card h3 { margin: 0 0 23px; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.45; }
.issue-editorial-label { margin: -11px 0 5px; color: var(--red-dark); font-size: 12px; font-weight: 700; }
.issue-date-line { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.sample-evidence { display: grid; gap: 17px; }
.sample-evidence > div { padding-left: 15px; border-left: 2px solid #d5ddd6; }
.sample-evidence strong { color: var(--green); font-size: 12px; }
.sample-evidence p { margin: 7px 0 0; color: #3e463e; font-size: 14px; line-height: 1.85; }
.issue-sample-card .story-work-button { margin-top: 20px; }
.story-original-title { margin: -8px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.story-feedback { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 13px; border-top: 1px solid #eeece6; color: var(--muted); font-size: 11px; }
.feedback-button { min-height: 32px; padding: 0 11px; border: 1px solid #d8d8d0; border-radius: 4px; background: white; color: #3e463e; font-size: 11px; }
.feedback-button:hover, .feedback-button:focus-visible { border-color: var(--red); color: var(--red-dark); }
.story-feedback-reason-select { min-height: 32px; max-width: 185px; padding: 0 6px; border: 1px solid #d8d8d0; border-radius: 4px; background: white; color: #3e463e; font: inherit; }
.story-feedback-status { color: var(--green); }
.feed-action { margin-top: 16px; }
.retry-button { padding: 10px 18px; }

.site-footer { border-top: 1px solid var(--line); background: #eeeae1; }
.footer-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 25px 0 30px; }
.footer-inner strong { font-size: 13px; }
.footer-inner strong span { color: var(--muted); font-size: 11px; font-weight: 400; }
.footer-case-link { display: block; width: fit-content; margin-top: 8px; color: var(--accent); font-size: 12px; font-weight: 650; text-decoration: none; }
.footer-case-link:hover, .footer-case-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.noscript { max-width: 620px; margin: 20px auto; padding: 16px; color: var(--red-dark); }

@media (max-width: 760px) {
  .header-inner, .hero-inner, .feed-section, .footer-inner, .issue-sample-inner { width: min(100% - 32px, 560px); }
  .issue-sample { padding: 44px 0 54px; }
  .issue-sample-card { padding: 25px 21px; }
  .header-inner { min-height: 64px; }
  .header-note { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 49px 0 44px; }
  .hero.has-unit .hero-inner { padding: 16px 0; }
  .hero-description { margin-top: 16px; font-size: 14px; }
  .reading-guide { margin-top: 24px; }
  .unit-form { padding: 23px 19px 21px; }
  .reader-preferences { grid-column: 1; }
  .preferences-content { display: block; padding: 20px 19px; }
  .embed-profile { padding: 23px 19px 21px; }
  .feed-section { padding: 20px 0 60px; }
  .section-heading { padding-bottom: 14px; }
  .feed-columns, .feed-status, .feed-items { margin-top: 10px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .updated-at { white-space: normal; }
  .story-card { padding: 16px 19px; }
  .story-card h3 { margin: 12px 0 14px; }
  .story-topline { align-items: flex-start; flex-direction: column; }
  .footer-inner { display: block; }
  .footer-inner p { margin-top: 8px; }
}

@media (max-width: 390px) {
  .hero:not(.has-unit) .form-row { flex-direction: column; }
  .hero:not(.has-unit) .form-row button { min-height: 44px; }
}

@media (max-width: 350px) {
  .form-row { flex-direction: column; }
  .form-row button { min-height: 44px; }
}
