/* 一条红线的阅读界面。所有正文均为可选择的 HTML 文本。 */
:root {
  --paper: #f4eee3; --paper-deep: #eae1d1; --ink: #292521;
  --muted: #70655b; --red: #a62d25; --red-dark: #83251f;
  --line: #d8cbb8; --white: #fffaf1; --serif: "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --nav-width: 218px; --header-height: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--ink); background: var(--paper) url("assets/paper.webp") repeat; font: 15px/1.85 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; color: inherit; }
button:disabled { opacity: .43; cursor: not-allowed; }
button { border: 0; background: none; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
textarea:focus-visible, input:focus-visible { outline-offset: 2px; }
::selection { color: var(--white); background: var(--red); }
[hidden] { display: none !important; }
.sr-only, .icon-defs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; left: 15px; top: -90px; background: var(--white); color: var(--red); z-index: 120; padding: 10px 20px; }
.skip-link:focus { top: 10px; }
.topbar { height: var(--header-height); position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; background: rgba(245,239,228,.93); border-bottom: 1px solid rgba(128,90,67,.13); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 13px; font: 500 15px var(--serif); letter-spacing: .12em; white-space: nowrap; }
.seal { display: grid; place-items: center; width: 32px; height: 35px; border: 1px solid var(--red); color: var(--red); font: 600 21px var(--serif); border-radius: 2px 5px 2px 3px; transform: rotate(-4deg); box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3px rgba(166,45,37,.38); }
.brand-dot { color: var(--red); padding: 0 3px; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; min-width: 44px; min-height: 44px; font-size: 12px; color: var(--muted); }
.sound-state { display: inline-grid; place-items: center; border: 1px solid var(--line); width: 21px; height: 21px; border-radius: 50%; font-size: 10px; }
.sound-toggle[aria-pressed=true] { color: var(--red); }
.sound-toggle[aria-pressed=true] .sound-state { border-color: var(--red); }
.top-progress { position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; }
.top-progress span { display: block; width: 100%; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.menu-button { display: none; }
.side-nav { position: fixed; left: 0; top: var(--header-height); bottom: 0; width: var(--nav-width); padding: 54px 30px 24px 38px; z-index: 10; border-right: 1px solid rgba(137,106,75,.13); display: flex; flex-direction: column; }
.side-kicker { color: var(--muted); font-size: 10px; letter-spacing: .2em; margin-bottom: 24px; }
.side-nav nav { display: grid; gap: 4px; }
.side-nav nav a { display: flex; align-items: center; gap: 12px; min-height: 43px; position: relative; color: var(--muted); transition: color .25s; }
.side-nav nav a span { font: 14px var(--serif); width: 18px; opacity: .75; }
.side-nav nav a b { font-size: 12px; font-weight: 400; letter-spacing: .04em; }
.side-nav nav a[aria-current=location] { color: var(--red); }
.side-nav nav a[aria-current=location]::after { content: ""; position: absolute; left: -14px; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.side-edition { margin-top: auto; padding-top: 30px; margin-bottom: 25px; display: flex; flex-direction: column; gap: 2px; }
.edition-number { color: var(--red); font: italic 68px/.95 Georgia, var(--serif); letter-spacing: -.11em; }
.side-edition>span:last-child { font-size: 10px; letter-spacing: .08em; color: var(--muted); margin-top: 14px; }
.text-button { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); padding: 9px 0; min-height: 40px; font-size: 12px; line-height: 1.5; text-align: left; }
.text-button:hover { color: var(--red); }
.side-nav>.text-button { font-size: 10px; }
main { position: relative; margin-left: var(--nav-width); max-width: 1500px; }
.chapter { position: relative; min-height: 820px; min-height: max(780px, 100svh); padding: 58px clamp(36px,5.1vw,84px) 82px; isolation: isolate; scroll-margin-top: 0; }
.chapter+.chapter { border-top: 1px solid rgba(135,101,69,.13); }
.chapter:target { scroll-margin-top: var(--header-height); }
.story-thread { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.story-thread path { fill: none; stroke-width: 1.1; }
#threadBase { stroke: #cba58e; opacity: .35; }
#threadProgress { stroke: var(--red); opacity: .66; }
.chapter-header { display: flex; align-items: center; gap: 16px; margin-bottom: 65px; position: relative; }
.chapter-number { color: var(--red); font: italic 30px/1 Georgia, serif; }
.eyebrow { font-size: 11px; letter-spacing: .18em; color: var(--red); font-weight: 500; }
.chapter-date { margin-left: auto; color: var(--muted); font: 12px Georgia, var(--serif); letter-spacing: .12em; }
.cover { padding-top: 108px; display: flex; flex-direction: column; }
.cover-edition { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 44px; }
.cover-edition .eyebrow { color: var(--muted); }
.date-mark { color: var(--muted); font: 12px Georgia, serif; letter-spacing: .15em; }
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 20px; align-items: center; flex: 1; min-height: 570px; }
.hero-copy { position: relative; z-index: 4; }
.kicker { display: flex; align-items: center; gap: 9px; font-size: 10px; color: var(--red); letter-spacing: .15em; }
.thread-dot { width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
.title-art { width: 440px; margin: 25px 0 17px -17px; mix-blend-mode: multiply; height: auto; }
.hero-verse { font: 400 clamp(17px,1.7vw,23px)/1.9 var(--serif); letter-spacing: .09em; }
.hero-note { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.9; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 14px 24px; border-radius: 2px; line-height: 1.5; transition: background .22s, transform .22s, box-shadow .22s; font-size: 13px; letter-spacing: .045em; }
.primary-button { background: var(--red); color: var(--white); border: 1px solid var(--red); }
.primary-button:hover:not(:disabled) { background: var(--red-dark); box-shadow: 0 6px 18px rgba(126,47,30,.13); transform: translateY(-1px); }
.secondary-button { border: 1px solid var(--line); background: rgba(255,250,243,.48); }
.secondary-button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.start-button { margin-top: 28px; }
.reading-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; margin-top: 18px; }
.tiny-line { width: 22px; height: 1px; background: var(--red); }
.hero-art-wrap { min-width: 0; height: 600px; position: relative; margin-right: -20px; }
.ghost-number { position: absolute; right: 0; top: -66px; font: italic 242px/1 Georgia, serif; color: rgba(166,45,37,.085); letter-spacing: -.09em; z-index: -1; }
.hero-art { position: absolute; inset: 70px -5% 13px -20%; overflow: hidden; -webkit-mask-image: linear-gradient(0deg,transparent 0%,black 13%,black 80%,transparent 100%); mask-image: linear-gradient(0deg,transparent 0%,black 13%,black 80%,transparent 100%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; mix-blend-mode: multiply; }
.hero-marginal { position: absolute; right: 3%; top: 30px; writing-mode: vertical-rl; font: 13px/2.4 var(--serif); letter-spacing: .22em; color: var(--muted); }
.art-note { position: absolute; right: 12px; bottom: 18px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.next-marker { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: auto; padding-top: 34px; color: var(--muted); font-size: 10px; letter-spacing: .16em; min-height: 66px; }
.next-marker .icon { width: 16px; height: 16px; color: var(--red); }
.chapter:not(.cover) .next-marker { position: absolute; bottom: 25px; left: 0; width: 100%; padding-top: 16px; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px,5vw,85px); align-items: center; min-height: 500px; }
.story-copy h2, h2 { font: 600 clamp(30px,3.15vw,47px)/1.55 var(--serif); letter-spacing: -.015em; }
h2 em { color: var(--red); font-style: normal; }
.lead { font: 400 17px/1.95 var(--serif); margin-top: 25px; letter-spacing: .025em; }
.body-copy { color: var(--muted); font-size: 13px; line-height: 2; margin-top: 20px; }
.place-label { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); letter-spacing: .08em; margin-bottom: 23px; }
.place-label>span { display: inline-block; width: 4px; height: 4px; border: 1px solid var(--red); border-radius: 50%; }
.source-card { margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source-card summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 16px 0; font-size: 12px; color: var(--red); cursor: pointer; }
.source-card summary::-webkit-details-marker { display: none; }
.source-card summary .icon { width: 18px; height: 18px; }
.disclosure-icon { margin-left: auto; transition: transform .25s; }
details[open] .disclosure-icon { transform: rotate(180deg); }
.source-content { padding: 0 0 18px 28px; font-size: 12px; line-height: 1.95; }
.source-content p+p { margin-top: 9px; }
.source-content a { display: block; margin-top: 13px; color: var(--red); font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }
.quilt-figure { position: relative; margin-top: 35px; }
.quilt-interactive { display: block; width: 100%; padding: 0; position: relative; overflow: hidden; border-radius: 2px; box-shadow: 0 20px 50px -20px #50402e61; text-align: left; }
.quilt-interactive>img { display: block; width: 100%; height: 390px; object-fit: cover; object-position: 52% center; transition: transform 1.2s; }
.cloth-flap { position: absolute; inset: 0 0 0 38%; background: repeating-linear-gradient(0deg,transparent,transparent 4px,#7e69550c 4px,#7e69550c 5px),repeating-linear-gradient(90deg,#e4dac7,#e4dac7 3px,#d9ccba 3px,#d9ccba 4px); box-shadow: -8px 0 25px #27201650; transform-origin: right; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.stitch { display: block; position: absolute; left: 14px; top: 0; bottom: 0; border-left: 2px dashed var(--red); opacity: .8; }
.cloth-word { position: absolute; top: 24px; right: 24px; writing-mode: vertical-rl; font: 17px/2 var(--serif); letter-spacing: .2em; color: #8b5c48; }
.touch-prompt { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; align-items: center; padding: 8px 13px; background: rgba(255,248,232,.94); font-size: 11px; white-space: nowrap; border: 1px solid #ded0b9; transition: opacity .3s; }
.touch-ring { width: 8px; height: 8px; border: 1px solid var(--red); border-radius: 50%; box-shadow: 0 0 0 3px #a62d2514; }
.quilt-interactive.is-open .cloth-flap { transform: translateX(108%) rotate(3deg); }
.quilt-interactive.is-open .touch-prompt { opacity: 0; }
.quilt-interactive.is-open>img { transform: scale(1.035); }
.quilt-figure figcaption { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 11px; }
.caption-key { color: var(--red); border-top: 1px solid var(--red); white-space: nowrap; padding-top: 7px; }
.quilt-caption-text { color: var(--muted); padding-top: 7px; }
.art-disclaimer { display: block; margin-top: 10px; font-size: 10px; color: var(--muted); }
.direction { background: linear-gradient(110deg,#eaddc033,transparent 70%); }
.direction-board { position: relative; padding: 20px 15px; perspective: 800px; }
.paper-back { position: absolute; inset: 22px 10px 18px 13px; border: 1px solid #cbbca4; transform: rotate(-6deg); background: #e5d9c3; box-shadow: 0 20px 30px -20px #4d3f2966; }
.direction-sheet { position: relative; min-height: 440px; padding: 24px 24px 20px; background: var(--white) url("assets/paper.webp"); border: 1px solid #e2d6c5; transform: rotate(2deg); box-shadow: 0 6px 16px #40301e12; }
.sheet-header, .sheet-foot { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.sheet-header { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.turn-line { display: block; width: 100%; height: 220px; margin-top: 26px; fill: none; }
.turn-line .old-direction { stroke: #beac99; stroke-width: 1.5; stroke-dasharray: 4 6; }
.turn-line .new-direction { stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.turn-line circle { fill: var(--red); stroke: var(--white); stroke-width: 4; }
.turn-line .line-arrow { stroke: var(--red); stroke-width: 2; }
.turn-label { position: absolute; top: 149px; right: 12%; padding: 4px 8px; color: var(--red); font-size: 10px; background: var(--paper); }
.small-red-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--red); margin-right: 4px; }
.page-turn { display: flex; align-items: center; gap: 16px; min-height: 50px; font: 14px var(--serif); color: var(--red); margin: 8px auto 28px; border-bottom: 1px solid var(--line); }
.page-turn .icon { width: 18px; }
.sheet-foot { padding-top: 12px; border-top: 1px solid var(--line); font-size: 8px; }
.turn-page-text { position: absolute; inset: 69px 20px 110px; background: var(--white) url("assets/paper.webp"); border: 1px solid var(--line); padding: 44px 24px; box-shadow: 0 7px 20px #705b2c14; animation: pageOpen .55s ease; }
.turn-page-text p { font: 17px/2 var(--serif); margin: 16px 0; }
.micro-copy { color: var(--muted); font-size: 10px; line-height: 1.9; }
@keyframes pageOpen { from { opacity: 0; transform: rotateY(-15deg) translateX(-10px); } to { opacity: 1; transform: none; } }
.center-heading { text-align: center; }
.center-heading .lead { margin-top: 17px; }
.mobile-break { display: none; }
.together { background: linear-gradient(180deg,transparent,#e9decc44 55%,transparent); }
.together .chapter-header { margin-bottom: 50px; }
.timeline { max-width: 690px; margin: 46px auto 0; }
.timeline-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.timeline-tab { position: relative; display: flex; align-items: flex-start; flex-direction: column; padding: 14px 18px 14px 24px; text-align: left; min-width: 0; color: var(--muted); border-left: 1px solid transparent; }
.timeline-tab.active { color: var(--red); border-left-color: var(--red); background: linear-gradient(90deg,#a62d250b,transparent); }
.timeline-node { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #c3a390; background: var(--paper); margin-bottom: 20px; position: relative; z-index: 1; }
.active .timeline-node { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px #a62d250b; }
.timeline-day { font: 35px/1.2 Georgia, serif; white-space: nowrap; }
.timeline-day span { font: 10px var(--sans); margin: 0 6px; }
.timeline-tab strong { font: 500 25px var(--serif); margin: 11px 0 12px; }
.timeline-tab small { font-size: 11px; }
.timeline-connector { position: absolute; top: 19px; left: 28px; right: 40%; border-top: 1px solid var(--line); }
.timeline-panels { margin-top: 30px; border: 1px solid var(--line); background: rgba(255,251,243,.55); }
.timeline-panel { min-height: 170px; padding: 22px 27px; }
.record-label { font-size: 9px; color: var(--red); letter-spacing: .17em; }
.timeline-panel h3 { font: 500 18px/1.7 var(--serif); margin: 8px 0 9px; }
.timeline-panel p { font-size: 12px; }
.panel-fine { display: block; color: var(--muted); font-size: 10px; margin-top: 9px; }
.timeline-help { margin-top: 12px; }
.source-inline { display: inline-block; font-size: 10px; color: var(--red); margin-top: 6px; padding: 5px 0; }
.chapter-question { text-align: center; font: 16px/2 var(--serif); margin-top: 35px; color: var(--muted); }
.chapter-question span { color: var(--ink); }
.today .chapter-header { margin-bottom: 40px; }
.today { background: linear-gradient(145deg,#e8e6d84d,transparent 70%); }
.bridge-wrap { max-width: 800px; margin: 35px auto 0; }
.bridge-scene { aspect-ratio: 2.12; position: relative; overflow: hidden; background: var(--paper-deep); border-radius: 2px; }
.bridge-history, .bridge-now, .bridge-now img, .bridge-tone { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bridge-history { filter: saturate(.75); }
.bridge-now { clip-path: inset(0 62% 0 0); }
.bridge-now img { object-position: center 53%; }
.bridge-tone { background: linear-gradient(0deg,#332a2933,transparent 70%); pointer-events: none; }
.bridge-divider { position: absolute; left: 38%; top: 0; bottom: 0; width: 1px; background: #fff2dbaa; }
.bridge-divider span { position: absolute; top: 50%; left: 0; display: grid; place-items: center; transform: translate(-50%,-50%); width: 29px; height: 29px; border-radius: 50%; color: var(--red); background: var(--white); font: 20px var(--serif); border: 1px solid #ffffff66; box-shadow: 0 2px 12px #30211022; }
.bridge-thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bridge-thread path { stroke: #b32e25; stroke-width: 2.8; fill: none; opacity: .8; }
.era-tag { position: absolute; bottom: 13px; color: var(--white); font-size: 10px; letter-spacing: .16em; padding: 3px 9px; background: #382c2366; }
.era-past { right: 15px; }.era-now { left: 15px; }
.bridge-control { display: flex; align-items: center; gap: 18px; margin-top: 19px; font-size: 10px; color: var(--muted); }
.bridge-control>span:first-child { white-space: nowrap; }
input[type=range] { appearance: none; -webkit-appearance: none; width: 100%; height: 24px; background: transparent; accent-color: var(--red); cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line); }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; border: 3px solid var(--paper); background: var(--red); margin-top: -6px; box-shadow: 0 0 0 1px var(--red); }
input[type=range]::-moz-range-track { height: 2px; background: var(--line); }
input[type=range]::-moz-range-thumb { width: 11px; height: 11px; border: 2px solid var(--paper); border-radius: 50%; background: var(--red); }
#bridgePercent { min-width: 28px; font: 11px Georgia, serif; }
.today-insights { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; max-width: 800px; margin: 27px auto 0; }
.insight { display: grid; grid-template-columns: 27px 1fr; column-gap: 10px; row-gap: 4px; text-align: left; border-top: 1px solid var(--line); padding: 14px 0 9px; color: var(--muted); }
.insight.active { color: var(--red); border-top-color: var(--red); }
.insight .icon { grid-row: span 2; margin-top: 2px; }
.insight span { font-size: 12px; }
.insight small { font-size: 10px; color: var(--muted); }
.insight-copy { text-align: center; font: 13px/1.9 var(--serif); margin: 17px auto 0; min-height: 30px; }
.action .chapter-header { margin-bottom: 36px; }
.action-form { max-width: 800px; margin: 36px auto 0; }
.action-options { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.action-option { position: relative; cursor: pointer; }
.action-option input { position: absolute; left: 20px; top: 20px; width: 1px; height: 1px; opacity: 0; }
.option-body { height: 100%; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); background: #fffaf144; transition: border-color .2s, background .2s, transform .2s; }
.option-top { display: flex; align-items: center; justify-content: space-between; color: var(--red); margin-bottom: 14px; }
.radio-mark { width: 13px; height: 13px; border: 1px solid #a29282; border-radius: 50%; }
.option-body strong { font: 500 20px var(--serif); margin-bottom: 12px; }
.option-body>span:not(.option-top) { font-size: 11px; color: var(--muted); line-height: 1.9; }
.option-body>small { font-size: 9px; color: var(--red); margin-top: 17px; }
.action-option input:checked+.option-body { border-color: var(--red); background: #a62d2505; transform: translateY(-2px); }
.action-option input:checked+.option-body .radio-mark { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px var(--paper); }
.action-option input:focus-visible+.option-body { outline: 3px solid var(--red); outline-offset: 4px; }
.writing-area { margin-top: 32px; }
.field-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.field-heading label { font: 18px var(--serif); }
#characterCount { font-size: 10px; color: var(--muted); }
textarea, .url-input { display: block; width: 100%; border: 1px solid var(--line); border-radius: 2px; background: rgba(255,251,244,.53); padding: 16px 18px; color: var(--ink); resize: vertical; min-height: 110px; line-height: 1.8; font-size: 15px; }
textarea::placeholder, input::placeholder { color: #81766b; font-size: 13px; }
textarea[aria-invalid=true] { border-color: var(--red); }
.signature-row { display: flex; align-items: center; gap: 20px; margin-top: 13px; font-size: 12px; }
.signature-row label { white-space: nowrap; }
.signature-row label>span { color: var(--muted); font-size: 10px; }
.signature-row input { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; color: var(--ink); width: 210px; min-width: 0; font-size: 14px; }
.signature-row input::placeholder { font-size: 11px; }
.form-error { color: var(--red); font-size: 12px; line-height: 1.7; min-height: 20px; margin-top: 8px; }
.generate-button { display: flex; width: 100%; margin-top: 10px; }
.privacy-note { color: var(--muted); font-size: 10px; margin: 13px 0 0; text-align: center; }
.result { padding-bottom: 30px; }
.result-grid { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: clamp(40px,7vw,110px); max-width: 1000px; margin: 0 auto; }
.result-copy>h2 { margin-top: 20px; font-size: clamp(30px,3vw,42px); }
.result-actions { margin-top: 28px; display: flex; align-items: stretch; flex-direction: column; gap: 12px; max-width: 275px; }
.result-actions>.text-button { justify-content: center; }
.result-copy .micro-copy { margin-top: 14px; max-width: 310px; }
.poster-frame { position: relative; max-width: 370px; margin: 0 auto; width: 100%; }
#posterPreview { width: 100%; height: auto; display: block; box-shadow: 0 16px 35px #33251729,0 0 0 1px #d8cbb8; background: var(--paper-deep); }
.poster-preview-tag { position: absolute; left: 10px; top: 10px; font-size: 9px; background: #fff9eced; border: 1px solid var(--line); padding: 2px 8px; z-index: 2; }
.poster-frame figcaption { font-size: 10px; text-align: center; margin-top: 15px; color: var(--muted); }
.work-footer { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 25px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.work-footer>p { font: 12px var(--serif); letter-spacing: .08em; color: var(--red); }
.work-footer>p>span { margin-left: 20px; color: var(--muted); }
.work-footer>div { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 22px; }
.work-footer .text-button { font-size: 10px; }
.work-footer>small { font-size: 9px; color: var(--muted); }
.mobile-progress { display: none; }
.toast { position: fixed; left: 50%; bottom: 70px; transform: translate(-50%,12px); background: #2c2625ec; color: #fff8ec; padding: 11px 20px; border-radius: 3px; z-index: 150; font-size: 12px; width: max-content; max-width: calc(100vw - 40px); opacity: 0; pointer-events: none; transition: transform .25s,opacity .25s; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
.reading-dialog { position: fixed; width: min(620px,calc(100vw - 34px)); border: 1px solid var(--line); border-radius: 3px; background: var(--paper) url("assets/paper.webp"); color: var(--ink); padding: 39px 36px 32px; max-height: 86vh; max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 30px 110px #27180e42; }
.reading-dialog::backdrop { background: #29201888; backdrop-filter: blur(4px); }
.reading-dialog>h2 { font-size: 25px; margin: 8px 0 25px; }
.reading-dialog h3 { font: 600 16px var(--serif); margin: 26px 0 11px; }
.reading-dialog p { font-size: 12px; line-height: 1.95; }
.reading-dialog p+p { margin-top: 12px; }
.reading-dialog .micro-copy { font-size: 10px; }
.dialog-close { display: grid; place-items: center; position: absolute; right: 7px; top: 8px; width: 44px; height: 44px; color: var(--muted); }
.source-list { padding-left: 20px; font-size: 12px; }
.source-list li { padding-left: 5px; margin-bottom: 18px; }
.source-list li a { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.source-list li span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.menu-dialog nav { display: grid; gap: 6px; margin-bottom: 25px; }
.menu-dialog nav a { display: flex; padding: 11px 0; gap: 22px; font-size: 14px; border-bottom: 1px solid var(--line); }
.menu-dialog nav a span { color: var(--red); }
.menu-dialog nav a b { font-weight: 400; }
.field-label { display: block; margin: 25px 0 10px; font-size: 12px; }
.url-input { font: 13px/1.7 var(--sans); min-height: 48px; }
#publishOutput { margin-top: 23px; text-align: center; }
#submissionQr { width: 190px; height: 190px; max-width: 100%; background: white; border: 1px solid var(--line); }
.breakable { word-break: break-all; margin: 15px 0; }
.publish-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 20px 0; }
.publish-actions .secondary-button { font-size: 12px; padding: 10px 15px; }
.save-dialog { width: min(470px,calc(100vw - 28px)); text-align: center; }
.save-dialog h2 { margin-bottom: 10px; }
#saveImage { display: block; width: 100%; height: auto; margin: 20px auto; border: 1px solid var(--line); }
.save-dialog .primary-button { width: 100%; }
body.dialog-open { overflow: hidden; }
.noscript-note { padding: 22px; text-align: center; background: var(--paper-deep); font-size: 13px; }
.has-motion .reveal { opacity: 0; transform: translateY(15px); transition: opacity .7s,transform .7s; }
.has-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
.no-motion *, .no-motion *::before, .no-motion *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
.no-motion .reveal { opacity: 1 !important; transform: none !important; }

/* V2: illustration-led editorial chapters, with readable HTML as the information layer. */
:root { --header-height:68px; --nav-width:204px; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-padding-top:var(--header-height); }
body { font-size:15px; line-height:1.9; }
.topbar { -webkit-backdrop-filter:blur(16px); }
.top-actions { gap:8px; }.share-glyph { font:26px/1 var(--serif); }.share-button { color:var(--red); }
.side-nav { padding-top:35px; overflow:auto; }.side-nav nav { gap:0; }.side-nav nav a { min-height:37px; }.side-edition { padding-top:20px; margin-bottom:15px; }.edition-number { font-size:60px; }
.chapter { padding-top:54px; padding-bottom:95px; min-height:750px; min-height:max(750px,100svh); overflow:hidden; }
.chapter-header { margin-bottom:40px; }.chapter-header .eyebrow { font-size:12px; }.chapter-title-art { width:100%; max-width:560px; height:auto; display:block; mix-blend-mode:multiply; margin:2px 0 20px; }
h2:has(.chapter-title-art) { line-height:1; }.center-heading .chapter-title-art { margin:0 auto 18px; max-width:640px; }
h2 { font-size:clamp(35px,3.4vw,54px); line-height:1.45; }
.body-copy { font-size:15px; }.history-body { max-width:550px; line-height:2; color:#63554a; }.lead { font-size:19px; }
.primary-button { background:linear-gradient(110deg,#9c211c,#b4382c 60%,#98251f); border-radius:5px; min-height:54px; font-size:15px; }
.secondary-button { border-radius:5px; font-size:14px; min-height:50px; }.text-button { font-size:13px; }
.cover { padding-top:100px; min-height:900px; min-height:max(900px,100svh); }
.cover-edition { margin-bottom:20px; }.hero-grid { min-height:640px; gap:5px; grid-template-columns:1fr 1.07fr; }
.title-art { width:100%; max-width:550px; margin:25px 0 22px -17px; }.hero-verse { font-size:24px; line-height:1.9; }
.cover-subtitle { font:17px/1.8 var(--serif); letter-spacing:.12em; margin-top:20px; }.cover-subtitle span { color:var(--red); font:italic 27px Georgia,serif; margin:0 3px; }
.hero-note { font-size:13px; }.hero-art-wrap { height:640px; }.hero-art { inset:42px -8% 0 -18%; }.hero-art img { object-position:37% center; }.ghost-number { font-size:280px; top:-50px; }.art-note { font-size:10px; }
.reading-meta { font-size:11px; }.next-marker,.chapter:not(.cover) .next-marker { font-size:12px; letter-spacing:.08em; }
.cover .next-marker { padding-top:20px; }
.source-card { border:1px solid #cab7a18a; background:#fffaf182; border-radius:8px; margin-top:23px; box-shadow:0 7px 24px #6b3d1810; }
.source-card summary { padding:15px 17px; font-size:13px; min-height:52px; }.source-content { padding:0 18px 19px; font-size:14px; line-height:2; }.source-content a,.source-inline { font-size:12px; }.source-inline { display:inline-block; margin-right:14px; line-height:1.7; padding:7px 0; }
.source-content p+p { margin-top:10px; }.source-card summary::-webkit-details-marker { display:none; }
.quilt-figure { margin:0 -20px; }.quilt-interactive>img { height:390px; object-fit:cover; }.quilt-interactive { border-radius:4px; box-shadow:0 18px 50px #47322122; }
.cloth-flap { width:45%; }.cloth-word { font-size:20px; }.quilt-figure figcaption { font-size:13px; }.art-disclaimer { font-size:11px; line-height:1.7; }
.chapter-afterword { text-align:center; padding-top:40px; margin:30px auto 0; border-top:1px solid var(--line); max-width:720px; }
.chapter-afterword>span { color:var(--red); font-size:12px; letter-spacing:.2em; }.chapter-afterword p { font:21px/2 var(--serif); margin-top:12px; }
.history-reading { max-width:940px; margin:40px auto 0; padding:27px 32px; border-left:2px solid var(--red); background:linear-gradient(110deg,#fff9f1a3,#faf4e938); border-radius:0 7px 7px 0; }
.history-reading p { font-size:15px; line-height:2; margin-top:12px; }.history-reading h3 { font:600 24px/1.7 var(--serif); margin-top:12px; }.history-reading small { font-size:11px; color:var(--muted); }
.reading-label { color:var(--red); font-size:12px; letter-spacing:.08em; }
.departure { background:linear-gradient(150deg,#fff9ef75,transparent 60%); }
.departure-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:55px; align-items:center; }.departure-art { position:relative; min-height:355px; padding-top:100px; overflow:hidden; }
.departure-year { font:italic 104px/1 Georgia,serif; color:#a62d2521; position:absolute; top:0; right:10px; }
.river-lines { position:absolute; inset:175px -150px auto -150px; transform:rotate(-14deg); }.river-lines i { display:block; width:100%; height:28px; margin-top:8px; border-top:1px solid #a52d2438; border-radius:50%; }.river-lines i:nth-child(2) { border-color:var(--red); border-width:2px; }
.departure-fact { position:relative; z-index:1; margin:5px auto; text-align:center; }.departure-fact>b { font:86px/1.3 Georgia,serif; color:var(--red); }.departure-fact>b>small { font:18px var(--serif); margin-left:5px; }.departure-fact p { font-size:12px; color:#66574b; margin-top:18px; }.river-caption { position:relative; margin-top:40px; text-align:center; font:16px var(--serif); }
.route-strip { display:grid; grid-template-columns:repeat(4,1fr); margin:35px auto 20px; max-width:940px; position:relative; }.route-strip:after { content:""; position:absolute; bottom:7px; left:2%; right:2%; height:1px; background:#a52d2455; }.route-strip a { display:flex; flex-direction:column; gap:3px; padding:8px; align-items:center; text-align:center; font-size:12px; }.route-strip b { font:20px Georgia,serif; color:var(--red); }.route-strip i { width:7px; height:7px; background:var(--red); border-radius:50%; margin-top:12px; z-index:1; }.context-note { max-width:940px; margin:25px auto 0; }
.direction-board { position:relative; margin-right:20px; overflow:visible; }.lantern-art { position:absolute; height:480px; width:auto; object-fit:cover; right:-50px; top:-85px; opacity:.8; -webkit-mask-image:linear-gradient(90deg,transparent,black 45%); mask-image:linear-gradient(90deg,transparent,black 45%); pointer-events:none; }
.direction-sheet { position:relative; background:#f6eee0; box-shadow:0 15px 45px #39241625; z-index:1; }.turn-page-text small { font-size:11px; color:var(--muted); }
.crossing-rhythm { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:28px 0 12px; color:var(--red); }.crossing-rhythm i { flex:1; height:16px; border-top:2px solid #aa3b3077; border-radius:50%; }.crossing-rhythm i:nth-child(even) { transform:scaleY(-1); }.crossing-rhythm b { font:italic 25px Georgia,serif; }.crossing-rhythm span { font-size:12px; white-space:nowrap; }
.trials { background:linear-gradient(180deg,#e3dfd35e,#f4eee3 45%); }
.trial-hero { position:relative; overflow:hidden; min-height:400px; padding:55px 40px; background:#333830; border-radius:4px; color:var(--white); }
.trial-hero>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:saturate(.45) brightness(.55); opacity:.6; }
.trial-hero:after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,#242d28c4,transparent);pointer-events:none; }.trial-hero-copy { position:relative; z-index:1; }.trial-hero-copy .eyebrow { color:#ecd8bc; }.trial-hero-copy h2 { margin-top:28px; }.trial-hero-copy h2 em { color:#f6d7b6; }.trial-hero-copy p { font:17px/2 var(--serif); margin-top:25px; }.trial-hero>.art-disclaimer { position:absolute; z-index:1; bottom:14px; right:22px; color:#eadfcc; }
.trail-moments { margin-top:30px; }.trail-entry { border-bottom:1px solid var(--line); }.trail-entry summary { list-style:none; display:flex; align-items:center; gap:18px; min-height:76px; cursor:pointer; padding:15px 4px; }.trail-entry summary::-webkit-details-marker { display:none; }.trail-entry time { color:var(--red); font:17px Georgia,serif; width:105px; flex:none; }.trail-entry summary>span { font:600 23px/1.5 var(--serif); }.trail-entry summary>b { margin-left:auto; font:23px var(--serif); color:var(--red); font-weight:400; }.trail-entry[open] summary>b { transform:rotate(45deg); }.trail-entry>div { padding:3px 32px 25px 124px; }.trail-entry p { font-size:15px; line-height:2; }.arrival-note { margin-top:42px; padding:28px; background:#a62d2508; border:1px solid #a62d2430; border-radius:7px; }.arrival-note h3 { font:600 27px/1.8 var(--serif); margin:8px 0; }.arrival-note p { font-size:15px; line-height:2; }
.reunion-panorama { margin:20px -35px 0; position:relative; }.reunion-panorama img { width:100%; display:block; max-height:450px; object-fit:cover; mix-blend-mode:multiply; -webkit-mask-image:linear-gradient(0deg,transparent,black 14%,black 90%,transparent); mask-image:linear-gradient(0deg,transparent,black 14%,black 90%,transparent); }.reunion-panorama figcaption { text-align:center; color:var(--muted); font-size:11px; margin-top:-4px; }.timeline { max-width:880px; margin-top:32px; }.timeline-panel p { font-size:15px; }.timeline-panel h3 { font-size:21px; }.timeline-day { font-size:40px; }.timeline-tab small { font-size:13px; }.timeline-panels { border-radius:5px; }.timeline-help,.panel-fine { font-size:12px; }
.spirit { background:linear-gradient(120deg,#a62d2508,transparent 70%); }.spirit-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; position:relative; }.spirit-intro { position:relative; padding-top:65px; }.spirit-watermark { position:absolute; top:0; left:8px; font:140px var(--serif); color:#a62d2511; writing-mode:vertical-rl; z-index:-1; }.spirit-intro .body-copy { line-height:2.3; }
.spirit-item { border-bottom:1px solid #bea58b80; }.spirit-item summary { cursor:pointer; list-style:none; display:flex; align-items:center; gap:15px; min-height:74px; padding:16px 0; }.spirit-item summary::-webkit-details-marker { display:none; }.spirit-item summary>span { font:italic 24px Georgia,serif; color:var(--red); flex:none; }.spirit-item h3 { font:600 22px/1.6 var(--serif); }.spirit-item summary>b { margin-left:auto; color:var(--red); font:22px var(--serif); }.spirit-item[open] summary>b { transform:rotate(45deg); }.spirit-item>div { padding:0 0 22px 42px; }.spirit-item p { font-size:15px; line-height:2; }.spirit-item small { display:block; color:var(--muted); font-size:13px; line-height:1.9; margin-top:10px; }.spirit-source { margin-top:45px; font-size:12px; color:var(--muted); }
.today .center-heading h2 { font-size:56px; }.bridge-wrap { max-width:980px; }.bridge-scene { border-radius:6px; aspect-ratio:1.85; }.bridge-history { object-position:center; }.bridge-divider { width:2px; }.bridge-divider span { width:42px; height:42px; }.bridge-control { font-size:13px; gap:20px; }#bridgePercent { font:20px Georgia,serif; min-width:4ch; font-variant-numeric:tabular-nums; text-align:right; }.bridge-explanation { font-size:11px; }.bridge-control input { min-height:44px; }.era-tag { font-size:12px; }.bridge-scene img { -webkit-user-drag:none; user-select:none; pointer-events:none; }.today-insights { max-width:980px; }.insight { border:1px solid var(--line); padding:18px; border-radius:5px; }.insight.active { background:#fff9ed9c; border-color:#a52d2488; }.insight span { font:19px var(--serif); }.insight small { font-size:12px; }.insight-copy { font-size:16px; max-width:800px; margin-top:25px; }
.action { background:linear-gradient(0deg,#a62d2405,transparent 75%); }.action-form { max-width:940px; }.option-body { border-radius:9px; overflow:hidden; position:relative; background:#fffaf176; padding:17px; box-shadow:0 8px 24px #67411f0c; }.option-illustration { width:100%; height:135px; object-fit:cover; mix-blend-mode:multiply; margin:2px 0 17px; border-radius:4px; }.option-top { position:absolute; top:16px; right:14px; margin:0; }.option-top>.icon { display:none; }.radio-mark { background:var(--paper); width:17px; height:17px; }.option-body strong { font-size:24px; color:var(--red); }.option-body>span:not(.option-top) { font-size:14px; }.option-body>small { font-size:11px; }.writing-area { background:#fffaf166; padding:23px; border:1px solid #c6ae9699; border-radius:8px; }.field-heading label { font-size:23px; }.field-heading span { font-size:12px; }textarea { min-height:140px; font-size:17px; border-radius:4px; }.signature-row input { font-size:16px; }.privacy-note { font-size:12px; }.generate-button { font:19px var(--serif); border-radius:32px; min-height:62px; margin:15px auto 0; }.option-body small { margin-top:auto; padding-top:15px; }
.result-actions { max-width:340px; }.poster-frame { max-width:410px; }.result-copy .micro-copy { font-size:12px; }.work-footer>small { font-size:11px; }.work-footer .text-button { font-size:12px; }
.reading-dialog { border-radius:10px; width:min(660px,calc(100vw - 24px)); -webkit-overflow-scrolling:touch; overscroll-behavior:contain; margin:auto; }.reading-dialog p { font-size:14px; }.reading-dialog .micro-copy { font-size:12px; }.reading-dialog h3 { font-size:18px; }.source-list li span { font-size:12px; }.source-list a { font-size:14px; }#saveImage { -webkit-touch-callout:default; user-select:auto; -webkit-user-select:auto; display:block; margin:auto; }
.dialog-fallback-backdrop { position:fixed; inset:0; background:#292018b3; z-index:99; }.reading-dialog.dialog-fallback { display:block; position:fixed; inset:6vh 12px auto; z-index:100; }.dialog-fallback:not([open]) { display:none; }
.wechat-share-guide { max-width:470px; text-align:center; }.wechat-share-guide .share-arrow { color:var(--red); font:60px Georgia,serif; text-align:right; }.wechat-share-guide h2 { font-size:27px; }.wechat-share-guide p { margin:16px 0; }.wechat-share-guide .primary-button { width:100%; margin-top:20px; }
body.keyboard-open .mobile-progress { display:none; }.wechat .share-button>span:last-child { display:none; }
@media (min-width:1800px) { main { margin-left:auto; margin-right:auto; padding-left:var(--nav-width); max-width:1710px; }.side-nav { left:calc((100vw - 1710px)/2); }.story-thread { display:none; } }
@media (max-width:1100px) and (min-width:901px) { :root { --nav-width:170px; }.side-nav { padding-left:23px; padding-right:15px; }.chapter { padding-left:38px;padding-right:35px; }.story-grid { gap:24px; }.hero-art-wrap { height:550px; }.hero-grid { min-height:600px; }.hero-verse { font-size:21px; }.spirit-grid { gap:30px; }.spirit-item h3 { font-size:19px; }.topbar { padding:0 25px; } }
@media (max-width:900px) {
 :root { --header-height:58px; --nav-width:0px; }.side-nav { display:none; }.menu-button { display:inline-flex; }main { margin:0; width:100%; }.topbar { padding:0 22px; }.brand { font-size:13px; }
 .chapter { padding:40px 32px 90px; min-height:700px; }.chapter-header { margin-bottom:36px; }.cover { padding-top:88px; min-height:870px; }.hero-grid { min-height:660px; }.hero-art-wrap { height:610px; }.title-art { max-width:400px; }.hero-verse { font-size:20px; }.lead { font-size:17px; }.history-body { font-size:15px; }.story-grid { gap:28px; }.chapter-title-art { max-width:430px; }
 .departure-grid { gap:20px; }.departure-year { font-size:95px; }.departure-fact>b { font-size:67px; }.spirit-grid { gap:30px; }
 .mobile-progress { display:flex; position:fixed; bottom:0; left:0; right:0; z-index:25; justify-content:space-between; align-items:center; padding:9px 22px calc(9px + env(safe-area-inset-bottom,0px)); min-height:38px; background:#f5eee2f0; border-top:1px solid #ccbaa283; font-size:11px; color:var(--muted); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }.mobile-progress b { color:var(--red); font-weight:500; }.reading-dialog { max-height:84vh; max-height:84dvh; }
}
@media (max-width:600px) {
 :root { --header-height:56px; }.topbar { padding:0 13px; }.brand { font-size:12px; gap:8px; letter-spacing:.05em; }.seal { width:27px; height:29px; font-size:20px; }.brand-dot { padding:0; }.top-actions { gap:0; }.quiet-button { min-width:36px; padding:8px 6px; min-height:44px; }.sound-toggle>span:not(.sound-state),.share-button>span:last-child { display:none; }.sound-state { width:16px; height:16px; font-size:9px; }.quiet-button .icon { width:19px; height:19px; }.sound-toggle { gap:3px; }.share-glyph { font-size:25px; }
 .chapter { padding:35px 24px 87px; min-height:0; }.chapter-header { gap:12px; margin-bottom:26px; }.chapter-number { font-size:29px; }.chapter-header .eyebrow { font-size:11px; letter-spacing:.08em; }.chapter-date { font-size:11px; letter-spacing:.03em; }
 .cover { min-height:800px; min-height:max(800px,100svh); padding:85px 24px 24px; position:relative; }.cover-edition { margin-bottom:18px; }.cover-edition .eyebrow { font-size:10px; letter-spacing:.05em; }.date-mark { font-size:10px; }.hero-grid { display:block; min-height:650px; min-height:max(650px,calc(100svh - 130px)); }.hero-copy { text-align:center; z-index:3; }.kicker { justify-content:center; font-size:10px; margin-top:20px; }.title-art { display:block; width:100%; max-width:390px; margin:25px auto 15px; }.hero-verse { font-size:18px; line-height:1.9; letter-spacing:.08em; }.cover-subtitle { margin-top:12px; font-size:13px; }.cover-subtitle span { font-size:23px; }.hero-note { display:none; }.start-button { margin-top:20px; font-size:13px; min-height:46px; padding:11px 18px; border-radius:28px; }.reading-meta { font-size:10px; justify-content:center; margin-top:13px; gap:6px; }
 .hero-art-wrap { position:absolute; left:0; right:0; bottom:52px; height:350px; margin:0; z-index:0; pointer-events:none; }.hero-art { inset:0; -webkit-mask-image:linear-gradient(0deg,transparent,black 14%,black 74%,transparent); mask-image:linear-gradient(0deg,transparent,black 14%,black 74%,transparent); }.hero-art img { width:100%; height:100%; object-fit:cover; object-position:35% center; }.ghost-number { font-size:225px; right:10px; top:calc(-1 * max(405px,100svh - 385px)); opacity:.9; }.hero-marginal { display:none; }.art-note { bottom:14px; right:24px; font-size:9px; }.cover .next-marker { position:absolute; bottom:39px; left:0; right:0; z-index:4; min-height:44px; padding:0; margin:0; font-size:11px; }
 h2,.story-copy h2 { font-size:36px; line-height:1.5; letter-spacing:-.025em; }.story-grid { display:flex; flex-direction:column; align-items:stretch; gap:27px; min-height:0; }.chapter-title-art,.center-heading .chapter-title-art { display:block; width:100%; max-width:420px; height:auto; margin:3px auto 18px; }.place-label { font-size:12px; margin-bottom:18px; }.lead { font-size:17px; margin-top:17px; }.body-copy,.history-body { font-size:14px; line-height:2; margin-top:16px; }.source-card summary { font-size:13px; padding:13px 14px; min-height:52px; }.source-content { padding:0 15px 18px; font-size:14px; }.source-inline { font-size:11px; }.micro-copy { font-size:11px; }
 #people .story-copy { display:contents; }#people .story-copy>.place-label { order:0; margin-bottom:0; }#peopleTitle { order:1; }#people .story-copy>.lead { order:2; margin-top:-14px; text-align:center; }#people .quilt-figure { order:3; }#people .story-copy>.history-body { order:4; margin:0; }#quiltHistory { order:5; margin-top:-12px; }
 .quilt-figure { margin:0 -24px; }.quilt-interactive { display:block; width:100%; border-radius:0; box-shadow:none; }.quilt-interactive>img { display:block; width:100%; height:300px; object-fit:cover; object-position:45% center; }.quilt-figure figcaption { margin:12px 24px 0; font-size:12px; }.quilt-figure>.art-disclaimer { margin:8px 24px 0; font-size:10px; }.cloth-word { font-size:18px; top:22px; right:20px; }.touch-prompt { font-size:12px; padding:8px 12px; }.chapter-afterword { margin-top:27px; padding-top:25px; }.chapter-afterword p { font-size:19px; }.chapter-afterword>span { font-size:11px; }
 .departure-grid { display:flex; flex-direction:column; gap:5px; }.departure-art { width:100%; min-height:250px; padding-top:55px; }.departure-year { font-size:97px; color:#a62d251c; }.departure-fact>b { font-size:75px; }.departure-fact p { font-size:12px; margin-top:14px; }.river-lines { top:120px; }.river-caption { font-size:14px; margin-top:26px; }.history-reading { padding:20px; margin-top:25px; }.history-reading p { font-size:14px; line-height:2; }.history-reading h3 { font-size:23px; }.reading-label { font-size:11px; }.route-strip { margin-top:25px; }.route-strip a { font-size:10px; padding:6px 2px; }.route-strip b { font-size:16px; }.route-strip span { line-height:1.7; }.context-note summary { font-size:12px; }
 .direction .story-grid { gap:35px; }.direction-board { margin:0 10px; padding:8px; }.lantern-art { height:380px; top:-30px; right:-28px; opacity:.55; }.direction-sheet { padding:19px; min-height:330px; }.turn-line { height:160px; }.turn-label { top:115px; right:12%; font-size:11px; }.page-turn { font-size:15px; margin-bottom:20px; }.sheet-foot { font-size:9px; line-height:1.6; }.turn-page-text { inset:50px 13px 100px; padding:20px 17px; }.turn-page-text p { font-size:16px; margin:8px 0; }.turn-page-text small { font-size:10px; }.crossing-rhythm { gap:4px; }.crossing-rhythm b { font-size:23px; }.crossing-rhythm span { font-size:10px; }
 .trial-hero { margin:0 -24px; min-height:390px; padding:35px 25px; border-radius:0; }.trial-hero-copy .eyebrow { font-size:11px; }.trial-hero-copy h2 { font-size:37px; margin-top:27px; }.trial-hero-copy p { font-size:16px; margin-top:24px; }.trial-hero>.art-disclaimer { font-size:10px; right:24px; }.trail-moments { margin-top:23px; }.trail-entry summary { gap:12px; min-height:72px; }.trail-entry time { width:82px; font-size:14px; }.trail-entry summary>span { font-size:20px; }.trail-entry summary>b { font-size:22px; }.trail-entry>div { padding:0 0 20px; }.trail-entry p { font-size:14px; }.arrival-note { margin-top:27px; padding:20px; }.arrival-note h3 { font-size:23px; }.arrival-note p { font-size:14px; }
 .together .chapter-header { margin-bottom:26px; }.together .center-heading { text-align:center; }.together .center-heading .lead { font-size:16px; }.reunion-panorama { margin:18px -24px 0; }.reunion-panorama img { height:280px; object-position:50% center; }.reunion-panorama figcaption { padding:0 24px; font-size:10px; margin:1px 0 0; }.timeline { margin-top:23px; }.timeline-tabs { gap:17px; }.timeline-tab { padding:12px 0 12px 13px; }.timeline-node { margin-bottom:15px; }.timeline-connector { top:17px;left:19px;right:38%; }.timeline-day { font-size:30px; }.timeline-day span { font-size:10px;margin:0 3px; }.timeline-tab strong { font-size:25px; margin:8px 0; }.timeline-tab small { font-size:11px; }.timeline-panels { margin-top:18px; }.timeline-panel { padding:20px 16px; min-height:170px; }.timeline-panel h3 { font-size:18px; }.timeline-panel p { font-size:14px; }.panel-fine { font-size:11px; }.timeline-help { font-size:11px; }.record-label { font-size:10px; }.chapter-question { margin-top:25px; font-size:17px; }
 .spirit-grid { display:block; }.spirit-intro { padding:0 0 24px; }.spirit-intro h2 { font-size:36px; }.spirit-intro .body-copy { display:none; }.spirit-watermark { writing-mode:horizontal-tb; font-size:135px; left:auto; right:-15px; top:-30px; }.spirit-item summary { gap:13px; min-height:76px; }.spirit-item summary>span { font-size:26px; }.spirit-item h3 { font-size:21px; }.spirit-item>div { padding:0 0 23px 39px; }.spirit-item p { font-size:14px; }.spirit-item small { font-size:12px; }.spirit-source { font-size:11px; margin-top:25px; }
 .today .chapter-header { margin-bottom:29px; }.today .center-heading h2 { font-size:45px; }.today .center-heading .lead { font-size:16px; }.bridge-wrap { margin-top:25px; }.bridge-scene { aspect-ratio:auto; height:350px; margin:0 -24px; border-radius:0; }.bridge-now img { object-position:50% 65%; }.bridge-history { object-position:32% 50%; }.bridge-divider span { width:36px;height:36px; }.era-tag { font-size:11px;bottom:16px; }.era-now {left:20px;}.era-past {right:20px;}.bridge-control { display:grid; grid-template-columns:1fr auto; gap:2px 18px; margin-top:19px; font-size:13px; }.bridge-control>span:first-child { white-space:normal; }.bridge-control input { grid-row:2;grid-column:1 / -1; }#bridgePercent { font-size:22px;grid-row:1;grid-column:2;min-width:4ch; }.bridge-explanation { font-size:10px;line-height:1.8; }
 .today-insights { display:flex; flex-direction:column; gap:9px; margin-top:20px; }.insight { display:grid; grid-template-columns:34px 1fr; padding:15px 17px; column-gap:14px; }.insight .icon { width:27px;height:27px; }.insight span { font-size:19px; }.insight small { font-size:12px; }.insight-copy { font-size:15px; text-align:left; min-height:60px; line-height:2; margin-top:20px; }
 .action .chapter-header { margin-bottom:25px; }.action .center-heading .lead { font-size:16px; }.action-form { margin-top:23px; }.action-options { gap:8px; }.option-body { padding:12px 10px; border-radius:8px; }.option-illustration { height:90px; margin:2px 0 13px; object-fit:cover; }.option-top { top:8px;right:7px; }.radio-mark { width:14px;height:14px; }.option-body strong { font-size:17px; white-space:nowrap; margin-bottom:10px; }.option-body>span:not(.option-top) { font-size:12px; line-height:1.8; }.option-body>span br { display:none; }.option-body>small { font-size:10px; padding-top:14px; }.writing-area { margin-top:25px; padding:17px 14px; }.field-heading label { font-size:20px; }.field-heading span { font-size:11px; }textarea { min-height:145px; padding:12px; font-size:16px; }textarea::placeholder { font-size:14px; }.signature-row { gap:14px; }.signature-row input { width:170px; font-size:16px; }.signature-row label { font-size:12px; }.signature-row label>span { font-size:11px; }.generate-button { font-size:17px; min-height:57px; margin-top:10px; }.privacy-note { font-size:11px; text-align:left; }.form-error { font-size:12px; }
 .result .chapter-header { margin-bottom:25px; }.result-grid { display:flex;flex-direction:column;gap:25px; }.result-copy { width:100%; }.result-copy>h2 { font-size:34px; margin-top:12px; }.result-copy>.lead { font-size:16px; margin-top:14px; }.result-copy>.body-copy { display:none; }.result-actions { max-width:none; display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:24px; }.result-actions>.primary-button,.result-actions>.secondary-button { font-size:12px;min-height:49px; padding:12px 8px; gap:5px; }.result-actions>.text-button { justify-content:center; font-size:12px; }.result-copy .micro-copy { font-size:11px; margin-top:9px; max-width:none; }.poster-frame { width:100%;max-width:380px; }.poster-frame figcaption { font-size:11px; }.poster-preview-tag { font-size:10px; }.work-footer { margin-top:40px;padding-top:25px; }.work-footer>p {font-size:12px;text-align:center; }.work-footer>p>span { display:block;margin:7px 0 0; }.work-footer>div {gap:8px 17px; }.work-footer .text-button {font-size:11px; }.work-footer>small {font-size:10px;text-align:center; }
 .reading-dialog { padding:35px 22px 25px;max-height:86vh;max-height:86dvh; }.reading-dialog>h2 {font-size:25px; }.reading-dialog p {font-size:14px;}.reading-dialog .micro-copy {font-size:12px;}.dialog-close {top:2px;right:2px;}.reading-dialog .primary-button {font-size:14px;}.source-list li span {font-size:12px;}.source-list a {font-size:14px;}.mobile-progress {padding-left:17px;padding-right:17px;font-size:10px;}.chapter:not(.cover) .next-marker {font-size:11px;bottom:20px;min-height:45px;padding-top:5px;}
 .mobile-break { display:block; }
}
@media (max-width:360px) { .chapter {padding-left:20px;padding-right:20px;}.brand {font-size:11px;gap:5px;}.quiet-button {min-width:32px;padding:7px 4px;}.topbar {padding:0 9px;}.cover {padding-left:21px;padding-right:21px;}.cover-edition .eyebrow,.date-mark {font-size:9px;}.title-art {margin-top:22px;}.hero-verse {font-size:17px;}.cover {min-height:780px;}.hero-art-wrap {height:320px;}.chapter-header {gap:10px;}.chapter-header .eyebrow {font-size:10px;}.chapter-date {font-size:10px;}.option-body {padding:10px 8px;}.option-body strong {font-size:15px;}.option-body>span:not(.option-top) {font-size:11px;}.option-body>small {font-size:9px;}.option-illustration {height:76px;}.signature-row {gap:8px;}.signature-row input {width:145px;}h2,.story-copy h2 {font-size:33px;}.today .center-heading h2 {font-size:40px;}.trial-hero {padding-left:22px;padding-right:22px;}.trial-hero-copy h2 {font-size:33px;}.trial-hero-copy p {font-size:15px;}.spirit-item h3 {font-size:20px;}.quilt-figure,.bridge-scene,.trial-hero,.reunion-panorama {margin-left:-20px;margin-right:-20px;} }
@media (prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} *,*::before,*::after {animation:none!important;transition:none!important;} }
@media print { .topbar,.side-nav,.mobile-progress,.next-marker,.result-actions,.work-footer,.story-thread {display:none;}main {margin:0;}.chapter {min-height:auto;padding:25px;break-inside:avoid;}.reveal {opacity:1!important;transform:none!important;} }

/* Keep the physical quilt visible; a narrow folded edge carries the interaction cue. */
.cloth-flap { inset:0 0 0 auto; width:25%; background:repeating-linear-gradient(0deg,transparent,transparent 4px,#7e69550c 4px,#7e69550c 5px),linear-gradient(90deg,#d6c3a9,#ece0cd); }
.cloth-word { font-size:15px; right:12px; top:20px; }.stitch { left:9px; }
@media(max-width:600px){.cloth-flap{width:24%;}.cloth-word{font-size:14px;right:10px;}.skip-link:not(:focus){visibility:hidden;}}
/* On phones, the visual page turn comes before its longer historical reading. */
@media(max-width:600px){
  #direction .story-copy{display:contents;}
  #direction .story-copy>.place-label{order:0;margin-bottom:0;}
  #directionTitle{order:1;}
  #direction .story-copy>.lead{order:2;margin-top:-10px;text-align:center;}
  #direction .direction-board{order:3;width:calc(100% - 20px);margin-top:14px;margin-bottom:12px;}
  #direction .story-copy>.history-body{order:4;margin-top:0;}
  #direction .story-copy>.source-card{order:5;margin-top:-9px;}
  .quiet-button{min-width:44px;min-height:44px;}
}
/* Keep the final keepsake, rather than its explanatory copy, as the mobile focal point. */
@media(max-width:600px){
  .result-grid{gap:16px;}
  .result-copy{display:contents;}
  .result-copy>.eyebrow,.result-copy>.lead{display:none;}
  .result-copy>h2{order:0;width:100%;font-size:23px;line-height:1.6;text-align:center;margin:0;}
  .result-copy>h2 br{display:none;}
  .poster-frame{order:1;width:min(100%,310px);margin:0 auto;}
  .result-actions{order:2;width:100%;margin:0;}
  .result-copy>.micro-copy{order:3;width:100%;margin:0;}
}
