/* Home and article-library design. Shared article/product styles remain in styles.css. */
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 200; padding: 14px 20px; background: var(--gold-light); color: var(--navy); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-page main { position: relative; isolation: isolate; }
.home-page .section { position: relative; }
.home-page .section h2, .editorial-heading h2 { text-wrap: balance; }
.home-page .section { padding-top: 96px; padding-bottom: 96px; }
.home-page .galaxy-hero { min-height: 760px; min-height: min(850px, 100svh); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 3vw; padding: 144px 6.8vw 110px; background: radial-gradient(ellipse at 82% 48%, #173046 0, transparent 52%), #081827; }
.galaxy-hero .hero-copy { padding-top: 8px; }
.galaxy-hero h1 { font-size: clamp(42px, 4.7vw, 74px); line-height: 1.34; letter-spacing: -.055em; white-space: nowrap; }
.hero-gold { color: var(--gold-light); }
.galaxy-hero .eyebrow { font-size: 10px; gap: 20px; margin-bottom: 28px; letter-spacing: .11em; }
.galaxy-hero .hero-intro { font-size: 15px; margin-top: 25px; line-height: 2; color: #b6c0c6; }
.galaxy-hero .hero-actions { gap: 26px; margin-top: 34px; }
.hero-footnote { display: flex; gap: 10px; align-items: center; color: #94a3ac; font-size: 11px; margin: 32px 0 0; letter-spacing: .12em; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 12px #e5bb6855; }
.galaxy-chart { position: relative; z-index: 1; min-width: 0; transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transition: transform .6s ease-out; }
.chart-caption { display: flex; justify-content: space-between; gap: 12px; color: #a5b0b7; font: 9px/1.6 monospace; letter-spacing: .1em; padding: 0 12px; }
.chart-caption span:last-child { color: #b9a57e; }
.chart-bottom { padding-top: 10px; border-top: 1px solid #e6c88726; }
.galaxy-map { display: block; width: 100%; overflow: visible; }
.chart-grid { stroke: #b5ced318; stroke-width: 1; fill: none; }
.chart-grid path { stroke-dasharray: 2 7; }
.galaxy-orbits { stroke: url(#orbit-gradient); stroke-width: 1; fill: none; }
.chart-links path { fill: none; stroke: #e5bb6855; stroke-width: 1; }
.chart-links circle { fill: #e5bb68; }
.chart-labels { fill: #a8b8c1; font: 10px monospace; letter-spacing: 3px; }
.chart-core path { fill: #f3cf87; filter: drop-shadow(0 0 14px #f3cf8755); }
.chart-core circle { fill: none; stroke: #e5bb6826; stroke-dasharray: 2 8; }
.orbit-traveler { fill: #f3cf87; transform-origin: 280px 260px; animation: galaxy-revolution 38s linear infinite; }
.hero-scroll { position: absolute; bottom: 32px; left: 6.8vw; right: 6.8vw; display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid #f0d49b24; font-size: 10px; letter-spacing: .12em; color: #a9b3bb; z-index: 2; }
.hero-scroll span:last-child { font-size: 18px; color: var(--gold-light); }
.home-page .coordinate-bar { min-height: 66px; gap: 24px; background: #e9e0ce; border-bottom: 1px solid var(--rule); font-size: 12px; }
.editorial-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 44px; }
.editorial-heading .section-kicker { margin-bottom: 25px; }
.editorial-heading h2 { margin: 0; font: 500 clamp(34px, 3.4vw, 50px)/1.35 "Songti SC", STSong, serif; letter-spacing: -.035em; }
.editorial-heading h2 em { color: var(--vermillion); font-style: normal; }
.heading-aside { min-width: 220px; max-width: 330px; }
.heading-aside p { color: #62696c; font-size: 13px; line-height: 1.9; margin: 0 0 18px; }
.ink-link { display: inline-flex; align-items: center; gap: 30px; padding: 8px 0; color: var(--vermillion); font-size: 12px; border-bottom: 1px solid currentColor; }
.ink-link span { display: inline-block; transition: transform .2s ease; }
.ink-link:hover span { transform: translate(3px,-3px); }
.writing-layout { display: grid; grid-template-columns: 1.06fr 1fr; gap: 64px; }
.feature-art { display: block; position: relative; overflow: hidden; background: #e5ddce; }
.document-stack { position: relative; height: 280px; overflow: hidden; background: linear-gradient(125deg,#e5d9c4,#f1eadd 60%,#ded4c0); }
.document-stack:before { content: ""; position: absolute; width: 350px; height: 350px; border: 1px solid #aa916e33; border-radius: 50%; right: -110px; top: -110px; }
.document-sheet { position: absolute; width: 65%; height: 260px; left: 17%; top: 39px; border: 1px solid #b1a58f; background: #f9f5ec; box-shadow: 7px 13px 24px #4b3f2720; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.sheet-back { transform: rotate(-9deg); background: #b6c1bf; }
.sheet-front { padding: 26px 30px; transform: rotate(4deg); }
.feature-art:hover .sheet-front, .feature-art:focus-visible .sheet-front { transform: rotate(0) translateY(-8px); }
.feature-art:hover .sheet-back { transform: rotate(-12deg) translate(-10px,2px); }
.sheet-front > span { font: 8px monospace; letter-spacing: .1em; color: #66746c; }
.sheet-front strong { display: block; margin-top: 16px; font: 500 36px/1.2 "Songti SC", STSong, serif; }
.document-lines { margin: 20px 0 15px; }
.document-lines i { display: block; height: 1px; margin: 8px 0; background: #c4bcab; }
.document-lines i:nth-child(2) { width: 75%; background: #ab554c; }
.sheet-front small { font: 8px monospace; color: #69716d; }
.art-seal { position: absolute; top: 28px; right: 28px; border: 1px solid var(--vermillion); padding: 12px 7px; color: var(--vermillion); writing-mode: vertical-rl; font: 16px "Songti SC",STSong,serif; letter-spacing: .2em; transform: rotate(5deg); }
.art-arrow { position: absolute; left: 24px; bottom: 20px; font-size: 26px; color: #6c766f; }
.writing-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--vermillion); font: 10px/1.6 monospace; letter-spacing: .04em; margin: 22px 0 14px; }
.writing-feature h3 { margin: 0; font: 500 clamp(24px,2.2vw,32px)/1.45 "Songti SC",STSong,serif; }
.writing-feature > p { color: #62696c; font-size: 13px; line-height: 1.85; margin: 16px 0 18px; }
.writing-feature h3 a:hover, .writing-list h3 a:hover { color: var(--vermillion); }
.writing-list { border-top: 1px solid var(--rule); }
.writing-list article { position: relative; display: grid; grid-template-columns: 36px 1fr 22px; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--rule); }
.writing-list article:last-child { border-bottom: 0; }
.writing-number { font: italic 26px Georgia,serif; color: #9a978d; padding-top: 3px; }
.writing-list .writing-meta { margin: 0 0 10px; }
.writing-list h3 { margin: 0; font: 500 clamp(21px,1.95vw,28px)/1.4 "Songti SC",STSong,serif; }
.writing-list article div > p:last-child { margin: 12px 0 0; color: #6e7375; font-size: 11px; line-height: 1.7; }
.row-arrow { align-self: center; color: var(--vermillion); font-size: 22px; }
.home-page .selected-work { border-top: 1px solid var(--rule); }
.selected-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.selected-card { display: flex; flex-direction: column; min-width: 0; }
.project-art { position: relative; height: 222px; overflow: hidden; transition: box-shadow .3s; }
.selected-card:hover .project-art { box-shadow: 0 10px 22px #0d213615; }
.workbench-art { display: grid; place-items: center; padding: 22px; background: #142d3d; }
.mini-window { width: 100%; border: 1px solid #d4d5c666; padding: 14px; color: #d7e1df; border-radius: 5px; background: #112432; transition: transform .35s; }
.selected-card:hover .mini-window { transform: translateY(-4px); }
.mini-window > span { display: block; font: 7px monospace; color: #bfb58f; padding-bottom: 14px; border-bottom: 1px solid #ffffff26; }
.mini-window b { font-weight: 400; margin-left: 7px; letter-spacing: .04em; }
.mini-window > div { display: flex; gap: 5px; margin-top: 24px; }
.mini-window i { flex: 1; min-width: 0; background: #cad1bd12; padding: 13px 3px; text-align: center; font: normal 9px/1.5 sans-serif; border: 1px solid #c7d1bd26; }
.mini-window p { display: flex; justify-content: space-between; font-size: 8px; margin: 20px 0 2px; color: #b4bcb9; }
.mini-window em { color: var(--gold-light); font-style: normal; }
.course-art { background: #e7d2aa; padding: 25px; }
.course-art:after { content: ""; position: absolute; width: 200px; height: 200px; border: 1px solid #8b755b40; border-radius: 50%; right: -45px; top: 17px; }
.course-art > span { font: 8px monospace; letter-spacing: .1em; color: #6e5a3a; }
.course-art strong { display: block; position: relative; margin-top: 22px; z-index: 1; font: 500 36px/1.2 "Songti SC",STSong,serif; }
.course-art strong span { margin-left: 15px; color: #9c5b3c; }
.course-art small { display: block; margin-top: 20px; font-size: 9px; color: #6e5a3a; }
.people-art { display: grid; place-items: center; background: #dce1d8; }
.people-orbit { position: relative; width: 160px; height: 160px; border: 1px solid #6c7d724d; border-radius: 50%; }
.people-orbit > span { position: absolute; inset: 35px; display: grid; place-content: center; text-align: center; border-radius: 50%; border: 1px solid #6c7d7233; font: 500 24px/1.3 "Songti SC",STSong,serif; }
.people-orbit i { position: absolute; padding: 8px; border-radius: 50%; background: #e9ede5; color: #5d7065; font: normal 10px sans-serif; }
.people-orbit i:nth-of-type(1) { top: -12px; left: 62px; }
.people-orbit i:nth-of-type(2) { bottom: 20px; left: -15px; }
.people-orbit i:nth-of-type(3) { bottom: 20px; right: -15px; }
.project-caption { display: flex; justify-content: space-between; margin-top: 20px; font: 10px monospace; color: var(--vermillion); }
.selected-card h3 { margin: 14px 0 10px; font: 500 clamp(22px,1.9vw,28px)/1.4 "Songti SC",STSong,serif; }
.selected-card > p { color: #62696c; font-size: 12px; line-height: 1.85; margin: 0 0 24px; }
.selected-card > strong { display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 15px; margin-top: auto; font-size: 11px; font-weight: 400; }
.project-more { margin-top: 32px; }
.home-page .legal-ai-map { border-top: 1px solid var(--rule); }
.home-page .section-heading { margin-bottom: 42px; }
.home-page .section-heading h2, .home-page .about h2 { font-size: clamp(32px,3.4vw,48px); }
.home-page .task-explorer { margin-bottom: 0; }
.home-page .task-panel { min-height: 480px; }
.home-page .task-panel-head h3 { font-size: clamp(25px,2.5vw,36px); }
.home-page .about { background: #e9e2d4; max-width: none; }
.home-page .about > * { max-width: 1272px; margin-left: auto; margin-right: auto; }
.home-page .about .section-kicker { margin-bottom: 32px; }
.home-page .about-grid { gap: 6vw; }
.home-page .live-poster-card img { aspect-ratio: 4 / 3; object-fit: contain; background: #e8dfd0; }
.home-share-details { margin: 0 auto 60px; max-width: 1272px; border-top: 1px solid var(--rule); }
.home-share-details > summary { display: flex; justify-content: space-between; list-style: none; padding: 26px 0; cursor: pointer; font-size: 13px; }
.home-share-details > summary::-webkit-details-marker { display: none; }
.home-share-details[open] > summary span { transform: rotate(45deg); }
.home-page .home-share-details .outcome-share { padding: 28px 0; }
.journey-layer { display: none; }
@media (min-width: 1101px) {
  .journey-layer { display: block; position: absolute; top: 0; left: 0; pointer-events: none; width: 100%; z-index: 4; overflow: hidden; }
  .journey-track { fill: none; stroke: #b6955840; stroke-width: 1; stroke-dasharray: 2 9; }
  .journey-progress { fill: none; stroke: #c39846; stroke-width: 1; opacity: .6; }
  .journey-star { fill: #d2a550; filter: drop-shadow(0 0 4px #d2a55066); }
}
.reveal-ready [data-home-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-ready [data-home-reveal].is-visible { opacity: 1; transform: none; }
.writing-page { background: #f3eee3; }
.library-hero { padding: 160px max(6vw,24px) 64px; background: #e9e2d4; border-bottom: 1px solid var(--rule); }
.library-hero .eyebrow { color: var(--vermillion); margin-bottom: 28px; }
.library-hero h1 { margin: 0; font: 500 clamp(42px,5vw,72px)/1.25 "Songti SC",STSong,serif; }
.library-hero h1 span { display: block; font-size: .5em; color: #7d786b; margin-top: 18px; }
.library-hero > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; color: #62696c; margin: 28px 0 18px; }
.library-section { padding-top: 42px; }
.article-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); }
.article-tools[hidden], .library-card[hidden], .article-empty[hidden] { display: none; }
.article-tools fieldset { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; padding: 0; margin: 0; border: 0; }
.article-tools fieldset label { position: relative; cursor: pointer; }
.article-tools input[type="radio"] { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.article-tools fieldset span { display: block; padding: 12px 16px; font-size: 12px; border: 1px solid transparent; }
.article-tools input:checked + span { background: var(--ink); color: var(--paper); }
.article-tools input:focus-visible + span { outline: 2px solid var(--vermillion); outline-offset: 2px; }
.article-search { flex: 0 1 250px; }
.article-search input { width: 100%; min-height: 43px; border: 0; border-bottom: 1px solid #a99e8a; padding: 10px 12px; border-radius: 0; color: var(--ink); background: transparent; font: 13px sans-serif; }
.article-search input:focus-visible { outline: 2px solid var(--vermillion); outline-offset: 3px; }
.library-count { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 30px; color: #7d786b; font: 10px monospace; }
.library-count p { margin: 0; }
.library-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 50px; }
.library-card { display: flex; flex-direction: column; border-top: 1px solid var(--rule); padding: 28px 0 35px; min-width: 0; }
.library-card-top { display: flex; justify-content: space-between; gap: 10px; font: 10px/1.6 monospace; color: var(--vermillion); }
.library-card-top span:last-child { color: #7d786b; white-space: nowrap; }
.library-card h2 { margin: 22px 0 14px; font: 500 clamp(23px,2.25vw,32px)/1.45 "Songti SC",STSong,serif; }
.library-card h2 a:hover { color: var(--vermillion); }
.library-card > p { margin: 0 0 24px; color: #62696c; font-size: 13px; line-height: 1.9; }
.library-card > .ink-link { align-self: flex-start; margin-top: auto; }
.library-note { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--rule); font-size: 11px; line-height: 1.9; color: #7d786b; }
.article-empty { text-align: center; padding: 60px 20px; }
.article-empty h2 { font: 500 26px "Songti SC",STSong,serif; }
.article-empty p { color: #62696c; font-size: 14px; margin-bottom: 30px; }
.article-empty button { cursor: pointer; }
@keyframes galaxy-revolution { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  .home-page .galaxy-hero { min-height: 700px; padding-top: 130px; padding-bottom: 100px; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 0; }
  .galaxy-hero h1 { font-size: clamp(34px,4.6vw,48px); }
  .galaxy-hero .eyebrow { flex-direction: column; gap: 10px; }
  .galaxy-hero .hero-intro { font-size: 13px; }
  .galaxy-hero .hero-actions { gap: 18px; flex-wrap: wrap; }
  .chart-caption { font-size: 8px; }
  .chart-caption span:last-child { display: none; }
  .writing-layout { gap: 35px; }
  .writing-list article { gap: 10px; grid-template-columns: 28px 1fr 18px; }
  .selected-grid { gap: 20px; }
  .project-art { height: 208px; }
  .course-art { padding: 22px; }
  .course-art strong { font-size: 30px; }
  .workbench-art { padding: 14px; }
  .mini-window { padding: 10px; }
  .home-share-details { margin-left: 5.8vw; margin-right: 5.8vw; }
  .article-tools { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .home-page .section { padding: 64px 22px; }
  .home-page .galaxy-hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; padding: 114px 22px 78px; }
  .galaxy-hero .eyebrow { font-size: 9px; margin-bottom: 24px; }
  .galaxy-hero h1 { font-size: clamp(30px,7.7vw,48px); line-height: 1.4; }
  .galaxy-hero .hero-intro { font-size: 13px; margin-top: 22px; }
  .desktop-break { display: none; }
  .galaxy-hero .hero-actions { flex-direction: row; align-items: center; gap: 24px; margin-top: 26px; }
  .galaxy-hero .button { min-height: 46px; padding: 0 18px; font-size: 12px; }
  .galaxy-hero .text-link { font-size: 12px; gap: 10px; }
  .hero-footnote { font-size: 9px; margin-top: 24px; }
  .galaxy-chart { width: min(100%,380px); margin: 34px auto 4px; }
  .chart-caption { font-size: 8px; }
  .chart-caption span:last-child { display: inline; }
  .hero-scroll { bottom: 22px; left: 22px; right: 22px; font-size: 9px; }
  .home-page .coordinate-bar { gap: 11px; min-height: 60px; padding: 16px 22px; font-size: 10px; justify-content: center; }
  .home-page .coordinate-bar > span { width: 100%; text-align: center; font-size: 9px; }
  .editorial-heading { display: block; margin-bottom: 30px; }
  .editorial-heading .section-kicker { margin-bottom: 22px; }
  .editorial-heading h2 { font-size: 34px; }
  .heading-aside { margin-top: 22px; max-width: none; }
  .heading-aside p { font-size: 12px; margin-bottom: 14px; }
  .writing-layout { grid-template-columns: 1fr; gap: 36px; }
  .document-stack { height: 265px; }
  .sheet-front { padding: 24px; }
  .sheet-front strong { font-size: 33px; }
  .writing-feature h3 { font-size: 25px; }
  .writing-list h3 { font-size: 23px; }
  .writing-list h3 br { display: none; }
  .writing-list article { grid-template-columns: 30px 1fr 22px; gap: 12px; padding: 23px 0; }
  .selected-grid { grid-template-columns: 1fr; gap: 36px; }
  .project-art { height: 240px; }
  .workbench-art { padding: 30px; }
  .mini-window { max-width: 320px; padding: 17px; }
  .mini-window > span { font-size: 8px; }
  .mini-window i { font-size: 11px; }
  .mini-window p { font-size: 9px; }
  .course-art { padding: 30px; }
  .course-art strong { font-size: 42px; }
  .course-art small { margin-top: 16px; }
  .selected-card h3 { font-size: 26px; }
  .selected-card > p { font-size: 13px; }
  .home-page .task-tabs button { padding: 16px 10px; min-height: 100px; }
  .home-page .task-tabs button strong { font-size: 16px; }
  .home-page .task-tabs button span { font-size: 8px; }
  .home-page .task-tabs button small { display: none; }
  .home-page .task-panel { min-height: 0; }
  .home-page .task-panel-head { padding: 26px; }
  .home-page .task-panel-head h3 { font-size: 29px; }
  .home-page .section-heading, .home-page .about-grid { gap: 28px; }
  .home-page .section-heading h2, .home-page .about h2 { font-size: 33px; }
  .home-share-details { margin: 0 22px 36px; }
  .library-hero { padding: 116px 22px 48px; }
  .library-hero h1 { font-size: 46px; }
  .library-hero h1 span { font-size: 26px; }
  .library-section { padding: 28px 22px 60px; }
  .article-tools { gap: 18px; }
  .article-tools fieldset { width: 100%; gap: 2px; }
  .article-tools fieldset span { padding: 12px 10px; font-size: 11px; }
  .article-search { flex-basis: 100%; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card h2 { font-size: 27px; }
  .library-count { font-size: 9px; gap: 10px; }
  .writing-page footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-traveler { animation: none; }
  .galaxy-chart { transform: none; transition: none; }
  .journey-layer { display: none; }
  .reveal-ready [data-home-reveal] { opacity: 1; transform: none; transition: none; }
  .document-sheet { transition: none; }
}

/* Second design pass: works lead; the star now travels between full-width chapters. */
.home-page .hero-footnote { color: #b3bdc4; }
.home-page .selected-work { border-top: 0; }
.home-page .home-writing { border-top: 1px solid var(--rule); }
.home-page .journey-layer { display: block; position: absolute; top: 0; left: 0; width: 100%; overflow: hidden; pointer-events: none; z-index: 4; }
.journey-track { fill: none; stroke: #b6955833; stroke-width: 1; stroke-dasharray: 1 9; }
.journey-progress { fill: none; stroke: #c39846; stroke-width: 1; opacity: .3; }
.journey-tail { fill: none; stroke: #d5a34c; stroke-width: 2; stroke-linecap: round; opacity: .8; filter: drop-shadow(0 0 3px #d5a34c88); }
.journey-star { fill: #d5a34c; filter: drop-shadow(0 0 5px #d5a34c88); }
.star-halo { fill: #d5a34c; opacity: .09; }
.star-ring { fill: none; stroke: #e4b75e; stroke-width: .8; opacity: .5; stroke-dasharray: 2 5; animation: star-orbit 12s linear infinite; transform-origin: center; transform-box: fill-box; }
.star-heart { fill: #fff4cf; }
.journey-caption { position: fixed; right: 24px; bottom: 22px; z-index: 20; display: grid; grid-template-columns: auto auto; gap: 9px 16px; padding: 14px 18px 11px; pointer-events: none; background: #102536ee; color: #e8d3a3; border: 1px solid #d5a34c55; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; box-shadow: 0 4px 20px #07152615; }
.journey-caption.is-visible { opacity: 1; transform: none; }
.journey-caption > span { align-self: center; font-size: 9px; color: #a4b2b8; letter-spacing: .08em; }
.journey-caption strong { font: 400 12px "Songti SC", STSong, serif; }
.journey-caption i { grid-column: 1 / -1; height: 1px; background: #d5a34c44; position: relative; }
.journey-caption i:after { content: ""; display: block; height: 1px; background: #e4b75e; transform-origin: left; transform: scaleX(var(--journey-progress, 0)); }
.local-review-note { border-bottom: 1px solid #b8a68a; padding: 12px 0; color: #776749; font-size: 11px; line-height: 1.7; }
.article-reader { padding-top: 72px; }
.reader-toolbar { max-width: 1100px; margin: 0 auto; padding: 26px 24px 20px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; border-bottom: 1px solid var(--rule); font-size: 12px; }
.reader-toolbar > a { color: var(--vermillion); }
.reader-toolbar > span { font-size: 10px; color: #766d60; }
.reader-title { max-width: 800px; margin: 38px auto 28px; padding: 0 24px; }
.reader-title h1 { font: 500 clamp(27px,3vw,40px)/1.5 "Songti SC",STSong,serif; margin: 16px 0; }
.reader-title p { color: #766d60; font-size: 12px; line-height: 1.8; }
.reader-title .reader-context { margin-top: 14px; padding: 10px 14px; border-left: 2px solid var(--gold); background: rgba(215,168,74,.1); color: #4e5964; }
.reader-frame { display: block; width: min(100%,900px); min-height: 800px; margin: 0 auto 30px; border: 0; background: white; }
.reader-part-label { max-width: 800px; margin: 28px auto 12px; padding: 0 24px; font: 500 22px "Songti SC",STSong,serif; }
.library-pending { margin: 30px 0; border-top: 1px solid var(--rule); padding: 22px 0; color: #766d60; font-size: 12px; }
.library-pending summary { cursor: pointer; }
.library-pending ul { padding-left: 20px; line-height: 2; }
.library-card time { font-size: 10px; color: #766d60; }
.library-card .library-kind { color: var(--vermillion); font-size: 10px; }
@keyframes star-orbit { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
 .journey-track { opacity: .3; }
 .journey-caption { right: 16px; bottom: 16px; padding: 10px 12px 8px; gap: 7px 10px; }
 .journey-caption > span { display: none; }
 .journey-caption strong { font-size: 11px; }
 .reader-toolbar { padding-top: 20px; }
}
@media (max-width: 760px) {
 .home-page .journey-layer { opacity: .85; }
 .journey-progress { opacity: .18; }
 .reader-title { margin-top: 24px; }
 .article-reader { padding-top: 60px; }
 .reader-frame { min-height: 600px; }
}
@media (prefers-reduced-motion: reduce) {
 .home-page .journey-layer, .journey-caption { display: none; }
 .star-ring { animation: none; }
}
