:root {
  --background: #f7f1ff;
  --background-secondary: #f0e8fc;
  --surface: #fff;
  --text: #171717;
  --muted: #626068;
  --purple: #8138ff;
  --lavender: #e5d9fb;
  --mint: #d4f5e2;
  --butter: #fff0b8;
  --border: #171717;
  --grid: rgba(124, 92, 165, .075);
  --shadow: 5px 6px 0 var(--border);
  --radius: 16px;
  --reading-size: 18px;
  --font: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', 'Arial', sans-serif;
  --transition: 180ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--text); background: var(--background); font-family: var(--font); font-size: 16px; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
button:disabled { cursor: default; opacity: .35; }
button:focus-visible, a:focus-visible, label:has(input:focus-visible) { outline: 3px solid var(--purple); outline-offset: 5px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--purple); outline-offset: 2px; }
::selection { background: var(--lavender); color: var(--text); }
h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 750; }
img, svg { display: block; max-width: 100%; }
section, article, main, aside { min-width: 0; }
[hidden] { display: none !important; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.sparkle { width: 44px; height: 44px; color: var(--purple); flex-shrink: 0; }
.page-width { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.grid-background { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -60px; padding: 12px 20px; z-index: 150; background: var(--text); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.muted { color: var(--muted); }
.white { background: var(--surface); }
.lavender { background: var(--lavender); }
.mint { background: var(--mint); }
.butter { background: var(--butter); }
.card-surface { border: 1.5px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
a.card-surface { transition: transform var(--transition), box-shadow var(--transition); }
a.card-surface:hover { transform: translate(-2px, -3px); box-shadow: 7px 9px 0 var(--border); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 51px; padding: 12px 24px; border: 1.5px solid var(--border); border-radius: 16px; background: var(--surface); font-size: 15px; font-weight: 650; box-shadow: 2px 3px 0 var(--border); transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.button:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--border); }
.button:active { transform: translate(1px, 2px); box-shadow: none; }
.button > .icon { color: var(--purple); }
.button-dark { background: var(--text); color: #fff; }
.button-dark .icon { color: #fff; }
.button-purple { color: #fff; background: var(--purple); border-color: var(--purple); box-shadow: none; }
.button-purple .icon { color: #fff; }
.button-purple:hover { box-shadow: 3px 4px 0 var(--border); }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--purple); font-size: 14px; font-weight: 600; padding-block: 6px; }
.text-link .icon { width: 19px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.small-button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; width: fit-content; min-height: 39px; padding: 7px 18px; background: #fff; border: 1.5px solid var(--border); border-radius: 30px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.small-button .icon { width: 20px; height: 20px; color: var(--purple); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.section-heading h2 { font-size: clamp(26px, 2.55vw, 37px); line-height: 1.35; letter-spacing: -.04em; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.section-bordered { border-top: 1px solid var(--border); padding-top: 36px; margin-top: 44px; }
.editorial-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin: -9px 0 22px; }
.small-rule { display: block; width: 24px; height: 1.5px; background: var(--text); margin: 15px 0; }
.purple-dot { color: var(--purple); }

/* Shared navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e5deed; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: min(1380px, calc(100% - 80px)); min-height: 76px; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 20px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap; }
.brand > .icon { width: 35px; height: 35px; stroke-width: 1.6; }
.brand-dot { color: var(--purple); }
.desktop-nav { display: flex; gap: 30px; align-items: stretch; align-self: stretch; }
.desktop-nav a { display: flex; align-items: center; position: relative; font-size: 14px; font-weight: 550; white-space: nowrap; transition: color var(--transition); }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--purple); }
.desktop-nav a[aria-current="page"]::after { position: absolute; content: ''; height: 3px; bottom: 15px; left: 0; right: 0; background: var(--purple); border-radius: 5px; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 10px; border-radius: 50%; transition: background var(--transition), color var(--transition); }
.icon-button:hover { background: var(--background-secondary); }
.private-link { color: #fff; background: var(--purple); }
.private-link:hover { background: #6826dd; }
.private-link > .icon { width: 20px; }
.search-trigger { display: flex; align-items: center; gap: 10px; border: 1px solid #bcb7c2; border-radius: 25px; padding: 9px 13px; font-size: 11px; color: var(--muted); min-height: 38px; }
.search-trigger > .icon { width: 17px; height: 17px; color: var(--text); }
.search-trigger kbd { font-family: inherit; font-size: 12px; padding: 1px 5px; border: 1px solid #ded9e5; border-radius: 3px; margin-left: 6px; }
.mobile-menu-trigger, .mobile-nav { display: none; }

/* The home editorial composition */
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; min-height: 650px; padding-block: 64px 65px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { font-size: clamp(68px, 6.6vw, 96px); line-height: 1.05; letter-spacing: -.075em; font-weight: 800; }
.hero-copy h1 > span { display: inline-block; color: #fff; background: #171717; border-radius: 90px; padding: 0 28px 9px 24px; margin-left: -8px; margin-top: 7px; letter-spacing: -.065em; white-space: nowrap; }
.hero-copy h2 { font-size: clamp(19px, 1.65vw, 25px); line-height: 1.7; letter-spacing: -.05em; margin-top: 28px; }
.hero-copy > p { font-size: 16px; line-height: 1.95; color: var(--muted); margin-top: 13px; }
.hero-button { min-height: 72px; min-width: 236px; margin-top: 34px; border-radius: 50px; font-size: 22px; gap: 38px; padding-inline: 30px; box-shadow: 5px 6px 0 var(--border); }
.hero-button .icon { width: 36px; height: 36px; stroke-width: 2.2; }
.hero-collage { position: relative; width: 100%; aspect-ratio: 1.12; isolation: isolate; }
.collage-book { display: block; position: absolute; left: 5%; top: 8%; width: 43%; height: 78%; transform: rotate(-8deg); z-index: 1; transition: transform var(--transition); }
.collage-book:hover { transform: rotate(-5deg) translateY(-5px); }
.book-cover { position: relative; width: 100%; height: 100%; background: var(--mint); border: 1.5px solid var(--border); border-radius: 6px 3px 3px 6px; box-shadow: 9px 10px 0 #171717; padding: 27px 18px 13px 24px; overflow: hidden; }
.book-cover::before { content: ''; position: absolute; left: 9px; top: 0; width: 1px; height: 100%; background: #17171780; }
.cover-title { position: relative; z-index: 2; font-size: clamp(21px, 2.1vw, 31px); font-weight: 800; letter-spacing: -.06em; text-align: center; white-space: nowrap; }
.cover-english { font-size: 9px; letter-spacing: 2px; font-weight: 650; text-align: center; margin-top: 9px; white-space: nowrap; }
.book-cover .abstract-art { position: absolute; width: 85%; height: 69%; bottom: 20px; right: 3%; }
.cover-author { position: absolute; font-size: 7px; font-weight: 600; letter-spacing: 1.7px; bottom: 8px; left: 28px; }
.collage-card { position: absolute; padding: 20px; border: 1.5px solid var(--border); border-radius: 13px; box-shadow: 5px 7px 0 #171717; transition: transform var(--transition); }
.collage-note { width: 44%; height: 33%; top: 10%; left: 54%; background: #fff; transform: rotate(7deg); z-index: 2; }
.collage-note:hover { transform: rotate(4deg) translateY(-4px); }
.mini-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; border-bottom: 1px solid #b9b6bc; padding-bottom: 10px; }
.mini-card-top > span { font-weight: 800; letter-spacing: 3px; font-size: 19px; line-height: .7; }
.collage-note > p { font-size: clamp(15px, 1.5vw, 22px); line-height: 1.7; font-weight: 700; letter-spacing: -.05em; margin-top: 13px; }
.mini-card-source { display: block; font-size: 9px; color: #626068; margin-top: 6px; letter-spacing: .03em; }
.collage-now { top: 45%; left: 47%; width: 34%; height: 31%; background: var(--lavender); transform: rotate(-8deg); z-index: 3; }
.collage-now:hover { transform: rotate(-5deg) translateY(-4px); }
.collage-now > p, .collage-reflection > p { font-size: clamp(17px, 1.7vw, 25px); font-weight: 750; line-height: 1.6; letter-spacing: -.04em; margin-top: 6px; }
.mini-dots { display: block; text-align: right; font-size: 19px; font-weight: 800; letter-spacing: 2px; line-height: .6; }
.collage-now > .icon { position: absolute; right: 17px; bottom: 14px; width: 17px; }
.collage-reflection { top: 68%; left: 67%; width: 32%; height: 26%; background: var(--butter); transform: rotate(-9deg); z-index: 4; }
.collage-reflection:hover { transform: rotate(-5deg) translateY(-4px); }
.collage-reflection > p { font-size: clamp(15px, 1.45vw, 21px); }
.hero-sparkle { position: absolute; width: 54px; height: 54px; left: 88%; top: 0; }
.word-sticker { position: absolute; padding: 9px 14px; border-radius: 10px; font-size: 17px; font-weight: 750; z-index: 5; }
.sticker-mint { left: 87%; top: 30%; background: var(--mint); transform: rotate(-16deg); }
.sticker-purple { left: 86%; top: 47%; background: #b287fb; transform: rotate(15deg); }
.collage-strokes { position: absolute; width: 20px; height: 26px; }
.collage-strokes::before, .collage-strokes::after { content: ''; position: absolute; width: 3px; height: 24px; background: var(--text); border-radius: 2px; transform: rotate(25deg); }
.collage-strokes::after { transform: rotate(55deg); left: 16px; top: 6px; }
.strokes-one { left: 84%; top: 59%; }
.strokes-two { left: 62%; top: 86%; transform: rotate(95deg); }
.editorial-strip { border-block: 1px solid var(--border); background: var(--background); }
.editorial-strip > div { display: flex; align-items: center; justify-content: space-between; min-height: 51px; font-size: 12px; letter-spacing: .3em; }
.editorial-strip i { font-style: normal; font-size: 15px; }
.home-collection { padding-block: 42px 52px; }
.collection-heading h2 { font-size: clamp(25px, 2.3vw, 35px); }
.filter-tabs { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.filter-tabs button { min-height: 36px; min-width: 62px; padding: 8px 18px; border: 1px solid #8a848f; background: #fff; border-radius: 30px; font-size: 12px; font-weight: 550; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.filter-tabs button:hover { background: var(--background-secondary); }
.filter-tabs button.active { background: var(--purple); color: #fff; border-color: var(--purple); }
.collection-grid { display: grid; grid-template-columns: 1.62fr 1fr 1fr; gap: 20px; }
.collection-card { position: relative; min-height: 285px; padding: 25px 25px 24px; overflow: hidden; }
.collection-copy { position: relative; z-index: 2; }
.card-kind { display: block; font-size: 11px; font-weight: 550; letter-spacing: .04em; margin-bottom: 14px; }
.collection-card h3 { font-size: 27px; letter-spacing: -.04em; line-height: 1.4; }
.collection-card p { color: #4d4d51; font-size: 13px; line-height: 1.9; margin-bottom: 20px; }
.collection-card .small-button { position: relative; z-index: 3; }
.collection-book .abstract-art { position: absolute; right: 2%; bottom: 10px; width: 42%; height: 79%; }
.collection-theme .abstract-art { position: absolute; right: -12px; bottom: 10px; width: 42%; height: 83%; }
.collection-theme h3 { font-size: 25px; }
.collection-note .abstract-art { position: absolute; right: -10px; bottom: 12px; width: 42%; height: 83%; }
.collection-note h3 { font-size: 25px; }
.collection-note .collection-copy > p { font-size: 12px; }
.collection-grid[data-filter="books"], .collection-grid[data-filter="themes"] { grid-template-columns: minmax(0, 650px); }
.collection-grid[data-filter="themes"] .collection-card { min-height: 285px; }
.collection-grid[data-filter="themes"] .abstract-art { right: 30px; }
.collection-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; border: 1px dashed #b4a8c4; border-radius: 16px; background: #ffffff95; padding: 45px; min-height: 240px; }
.collection-empty > .icon { width: 42px; height: 42px; color: var(--purple); }
.collection-empty h3 { font-size: 23px; margin-bottom: 12px; }
.collection-empty p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.collection-empty .text-link { margin-left: auto; flex-shrink: 0; }

/* The book and ten-part reading map */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-block: 25px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.breadcrumb .icon { width: 11px; height: 11px; }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb > span:last-child { color: var(--text); }
.book-page { padding-bottom: 48px; }
.book-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 18px 20px 20px 0; min-height: 365px; }
.book-hero h1 { font-size: clamp(45px, 4.5vw, 64px); letter-spacing: -.065em; line-height: 1.25; }
.book-english { font-size: clamp(23px, 2.8vw, 40px); font-weight: 800; letter-spacing: -.045em; margin-top: 8px; }
.book-author { font-size: 16px; margin-top: 20px; }
.book-description { font-size: 17px; line-height: 1.8; margin-top: 16px; color: #4b4950; }
.book-hero .button-row { margin-top: 28px; }
.book-hero-art { position: relative; display: flex; justify-content: center; align-items: center; height: 340px; }
.book-hero-art::before { position: absolute; content: ''; width: 325px; height: 325px; border-radius: 50%; background: var(--lavender); opacity: .7; }
.book-hero-art .book-cover { width: 205px; height: 295px; transform: rotate(6deg); box-shadow: 11px 12px 0 #171717; }
.book-hero-art .cover-title { font-size: 26px; }
.book-hero-art .cover-english { font-size: 8px; }
.book-sparkle { position: absolute; width: 42px; height: 42px; right: 40px; top: 26px; }
.art-caption { position: absolute; bottom: -14px; font-size: 10px; color: var(--muted); }
.book-themes { padding-top: 33px; margin-top: 28px; }
.themes-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 17px; }
.theme-card { position: relative; grid-column: span 4; min-height: 192px; padding: 22px 24px; overflow: hidden; }
.theme-card:nth-child(1) { grid-column: span 5; }
.theme-card:nth-child(2) { grid-column: span 4; }
.theme-card:nth-child(3) { grid-column: span 3; }
.theme-card:nth-child(n+7) { grid-column: span 3; }
.theme-card-large { min-height: 231px; }
.theme-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.theme-number { font-size: 19px; font-weight: 750; }
.theme-card-top .icon { width: 18px; }
.theme-card h3 { position: relative; z-index: 1; font-size: 24px; letter-spacing: -.04em; margin-bottom: 13px; }
.theme-card > p { max-width: 235px; font-size: 13px; line-height: 1.9; color: #535058; position: relative; z-index: 1; }
.theme-card > .theme-card-english { font-size: 22px; color: var(--text); font-weight: 650; line-height: 1.25; letter-spacing: -.045em; margin-bottom: 14px; }
.theme-sparkle { position: absolute; bottom: 22px; right: 22px; width: 56px; height: 56px; opacity: .65; }
.theme-card:nth-child(2) .theme-sparkle { color: #87cfb0; width: 35px; height: 35px; }
.theme-card:nth-child(n+7) h3 { font-size: 22px; }
.book-excerpts .section-heading > p { margin-right: auto; }
.empty-excerpts { padding: 35px 25px; border: 1px dashed #baadc9; border-radius: 15px; text-align: center; background: #ffffff4d; }
.empty-excerpts > .icon { width: 32px; height: 32px; margin: 0 auto 16px; stroke-width: 1.3; }
.empty-excerpts h3 { font-size: 16px; font-weight: 550; }
.empty-excerpts p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-block: 12px 10px; }
.reflection-invitation { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.reflection-invitation > div { display: flex; align-items: center; gap: 32px; }
.reflection-invitation h2 { font-size: 34px; letter-spacing: -.04em; white-space: nowrap; }
.reflection-invitation p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.excerpts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.excerpt-card { padding: 25px; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--purple); font-size: 11px; margin-bottom: 20px; }
.excerpt-card blockquote { font-family: Georgia, 'Noto Serif SC', 'SimSun', serif; font-size: 20px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.excerpt-source { font-size: 12px; color: var(--muted); line-height: 1.8; margin-block: 20px 10px; overflow-wrap: anywhere; }

/* Restrained reading surface */
.reading-page { padding-bottom: 60px; }
.reading-width { width: min(1130px, calc(100% - 96px)); margin-inline: auto; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 850px) minmax(180px, 228px); gap: 28px; align-items: start; }
.reading-sheet { padding: 28px 38px 24px; box-shadow: 5px 6px 0 var(--border); border-radius: 13px; }
.reading-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 7px; width: fit-content; margin-left: auto; border: 1px solid #dfdae6; border-radius: 30px; padding: 2px 8px 2px 13px; min-height: 37px; }
.reading-toolbar > span { color: var(--muted); font-size: 11px; margin-right: 2px; }
.reading-toolbar button { width: 33px; height: 33px; font-size: 14px; display: grid; place-items: center; border-radius: 50%; }
.reading-toolbar button:hover { background: var(--background-secondary); }
.reading-toolbar .icon { width: 16px; height: 17px; }
.toolbar-divider { height: 15px; width: 1px; background: #c8c1cf; margin-inline: 7px; }
.reading-toolbar .is-saved { color: var(--purple); }
.is-saved .icon { fill: var(--lavender); }
.reading-title { margin-block: 14px 30px; }
.reading-title h1 { font-size: clamp(28px, 3vw, 42px); line-height: 1.5; letter-spacing: -.06em; }
.reading-title > p { font-size: 15px; color: var(--muted); margin-top: 7px; }
.reading-sample-label { display: inline-block; font-size: 10px; color: var(--muted); margin-top: 13px; padding-left: 10px; border-left: 2px solid var(--lavender); }
.reading-section { margin-top: 30px; }
.reading-section-title { display: flex; align-items: center; gap: 17px; font-size: 21px; font-weight: 700; margin-bottom: 20px; letter-spacing: -.035em; }
.reading-section-title::after { content: ''; height: 1px; background: #c6c0cd; flex: 1; }
.source-notice { background: #f0e8fc; padding: 15px 18px; border-radius: 9px; color: #57505e; font-size: 13px; line-height: 1.9; }
.reading-quote { font-family: Georgia, 'SimSun', serif; white-space: pre-wrap; overflow-wrap: anywhere; font-size: calc(var(--reading-size) + 3px); line-height: 1.95; padding: 20px; margin-block: 15px; background: var(--background); border-left: 3px solid var(--purple); }
.reading-quote cite { display: block; font-family: var(--font); font-size: 12px; font-style: normal; color: var(--muted); margin-top: 16px; }
.prose { font-size: var(--reading-size); line-height: 1.95; overflow-wrap: anywhere; }
.prose h3 { font-size: calc(var(--reading-size) + 1px); font-weight: 700; letter-spacing: -.02em; line-height: 1.7; margin-block: 26px 12px; }
.prose section:first-of-type h3 { margin-top: 0; }
.prose section > p { color: #434047; margin-block: 0 16px; }
.original-callout { background: #f2ebfc; border-left: 5px solid var(--purple); padding: 15px 23px; border-radius: 6px 11px 11px 6px; margin-block: 27px; }
.original-callout > span { color: var(--purple); font-size: 11px; }
.original-callout > p { font-size: calc(var(--reading-size) + 1px); font-weight: 700; margin-top: 3px; color: var(--text); }
.reflection-prompt { margin-top: 25px; padding-top: 22px; border-top: 1px dashed #d3cadf; }
.reflection-prompt > span { font-size: 11px; color: var(--muted); }
.reflection-prompt > p { color: #434047; font-size: calc(var(--reading-size) - 1px); margin-top: 4px; }
.reflection-help { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 13px; }
textarea, input:not([type="checkbox"]):not([type="file"]), select { border: 1px solid #c8c1d0; background: #fff; border-radius: 9px; padding: 12px 14px; width: 100%; min-width: 0; }
textarea { resize: vertical; line-height: 1.8; min-height: 130px; font-size: 14px; }
textarea::placeholder, input::placeholder { color: #908899; }
.reflection-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 14px; }
.reflection-actions > span { font-size: 10px; color: var(--muted); }
.reflection-actions > button { min-height: 40px; padding: 9px 17px; font-size: 12px; border-radius: 25px; gap: 8px; }
.reflection-actions .icon { width: 15px; height: 15px; }
.reading-pagination { display: flex; justify-content: space-between; gap: 22px; border-top: 1px solid #bfb8c8; padding-top: 20px; margin-top: 24px; }
.reading-pagination > a { display: inline-flex; align-items: center; gap: 15px; background: var(--background-secondary); padding: 11px 15px; border-radius: 12px; font-size: 12px; }
.reading-pagination > a:hover { background: var(--lavender); }
.reading-pagination .icon { width: 18px; }
.reading-pagination small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.reading-sidebar { position: sticky; top: 103px; display: grid; gap: 23px; }
.sidebar-art { display: flex; justify-content: center; align-items: center; flex-direction: column; background: var(--lavender); padding: 15px 18px 12px; border-radius: 11px; }
.sidebar-art .abstract-art { height: 180px; width: 100%; }
.sidebar-art > span { font-size: 8px; letter-spacing: 2px; margin-top: 8px; }
.reading-toc { padding: 20px 17px; border-radius: 11px; }
.reading-toc h2 { font-size: 15px; margin-bottom: 17px; }
.reading-toc a { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; line-height: 1.8; color: var(--muted); margin-top: 13px; }
.reading-toc a::before { display: block; content: ''; flex-shrink: 0; width: 8px; height: 8px; border: 1px solid #a399b0; border-radius: 50%; margin-top: 6px; }
.reading-toc a.toc-active { color: var(--purple); font-weight: 600; }
.reading-toc a.toc-active::before { border-color: var(--purple); background: var(--purple); }
.reading-toc a.toc-subitem { padding-left: 17px; margin-top: 8px; font-size: 10px; }
.reading-toc a.toc-subitem::before { width: 3px; height: 3px; border: 0; background: #a399b0; margin-top: 8px; }
.reading-toc a:hover { color: var(--purple); }
.sidebar-back { font-size: 11px; margin-left: 4px; }

/* Collection, theme, film and about pages */
.index-page { padding-bottom: 70px; min-height: calc(100vh - 150px); }
.index-heading { padding-block: 32px 45px; }
.index-heading h1 { font-size: clamp(36px, 4.3vw, 61px); letter-spacing: -.06em; line-height: 1.35; }
.index-heading > p { color: var(--muted); font-size: 16px; line-height: 1.9; margin-top: 22px; }
.title-capsule { display: inline-block; background: #171717; color: #fff; border-radius: 60px; padding: 0 22px 7px; }
.book-library-card { display: grid; position: relative; grid-template-columns: 275px 1fr; gap: 70px; padding: 45px 65px; }
.book-library-card > div:first-child { display: flex; justify-content: center; }
.book-library-card .book-cover { width: 195px; height: 285px; transform: rotate(-7deg); }
.book-library-card .cover-title { font-size: 24px; }
.book-library-copy { align-self: center; }
.book-library-copy h2 { font-size: 39px; letter-spacing: -.045em; }
.book-library-copy .book-author { font-size: 15px; margin-top: 12px; }
.book-library-copy > p:not(.book-author) { font-size: 16px; line-height: 1.9; margin-top: 22px; color: #47534b; }
.book-library-copy .small-button { margin-top: 25px; }
.book-library-card > .sparkle { position: absolute; right: 45px; top: 36px; }
.index-endnote { text-align: center; margin-top: 45px; color: var(--muted); font-size: 13px; }
.film-empty { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 65px; padding: 48px 70px; }
.film-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 270px; }
.film-frame { display: flex; align-items: center; justify-content: center; background: var(--lavender); width: 240px; height: 180px; border: 2px solid var(--border); border-radius: 18px; box-shadow: 9px 10px 0 var(--border); transform: rotate(-8deg); }
.film-frame::before, .film-frame::after { content: ''; position: absolute; top: -28px; width: 90px; height: 30px; border: 2px solid var(--border); border-radius: 25px; background: var(--mint); }
.film-frame::before { left: 12px; transform: rotate(18deg); }
.film-frame::after { right: 12px; transform: rotate(-18deg); }
.film-frame > .sparkle { width: 80px; height: 80px; }
.film-dot { position: absolute; right: 0; bottom: 10px; width: 55px; height: 55px; background: var(--butter); border-radius: 50%; }
.film-empty h2 { font-size: 33px; line-height: 1.5; letter-spacing: -.05em; }
.film-empty p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-block: 20px; }
.about-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }
.about-letter { padding: 40px; }
.about-letter h2 { font-size: 28px; margin-bottom: 24px; }
.about-letter h3 { font-size: 18px; margin-block: 30px 15px; }
.about-letter p { color: #504a57; font-size: 16px; line-height: 2; margin-bottom: 17px; }
.about-letter .text-link { margin-top: 15px; }
.about-art { position: sticky; top: 105px; padding: 35px; display: flex; flex-direction: column; align-items: center; }
.about-art > .abstract-art { width: 100%; max-height: 300px; }
.about-art > span { letter-spacing: 4px; font-size: 11px; margin-top: 25px; }
.about-art > .sparkle { position: absolute; top: 26px; left: 30px; width: 30px; height: 30px; }

/* Browser-local writing and backups */
.editor-page { padding-bottom: 70px; }
.editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-block: 30px; }
.editor-heading h1 { font-size: clamp(32px, 3.5vw, 48px); letter-spacing: -.06em; }
.editor-heading p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-top: 13px; }
.local-indicator { display: flex; align-items: center; gap: 8px; color: #4a6354; font-size: 12px; white-space: nowrap; }
.local-indicator > span { width: 7px; height: 7px; background: #49916a; border-radius: 50%; }
.storage-notice { display: flex; align-items: flex-start; gap: 14px; background: var(--background-secondary); border: 1px solid #e0d4ee; border-radius: 12px; padding: 17px 21px; margin-bottom: 30px; }
.storage-notice > .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--purple); }
.storage-notice > p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.storage-error { padding: 15px; border: 1px solid #b92f5f; border-radius: 10px; color: #9a234e; font-size: 14px; margin-bottom: 20px; }
.editor-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 28px; }
.editor-panel { padding: 30px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.panel-heading h2 { font-size: 23px; letter-spacing: -.04em; }
.panel-heading > span { font-size: 14px; color: var(--muted); }
.panel-heading > .icon { width: 20px; height: 20px; }
.panel-intro { font-size: 13px; line-height: 1.9; color: var(--muted); margin-block: 14px 22px; }
.editor-panel form > label:not(.checkbox-label) { display: block; font-size: 13px; font-weight: 550; margin: 20px 0 9px; }
.editor-panel form > label > span:not(:only-child) { color: var(--muted); font-size: 11px; margin-left: 5px; }
.editor-panel input:not([type="checkbox"]), .editor-panel select { min-height: 45px; font-size: 13px; }
.editor-panel textarea { font-size: 14px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; font-size: 12px; line-height: 1.7; cursor: pointer; }
.checkbox-label input { accent-color: var(--purple); width: 16px; height: 16px; margin: 2px 0 0; flex-shrink: 0; }
.checkbox-label > span { margin-left: 0 !important; color: var(--text) !important; }
.field-help { color: var(--muted); font-size: 10px; line-height: 1.8; margin-top: 9px; }
.editor-panel form > .button { margin-top: 24px; }
.editor-secondary { display: grid; gap: 25px; }
.backup-actions { display: flex; flex-wrap: wrap; gap: 15px; }
.backup-actions > .button { font-size: 13px; gap: 9px; min-height: 44px; padding: 9px 16px; border-radius: 11px; }
.backup-actions .icon { width: 17px; height: 17px; }
.import-label { cursor: pointer; }
.saved-list { padding: 0; margin: 15px 0 0; list-style: none; }
.saved-list a { display: flex; align-items: center; gap: 13px; padding-block: 13px; border-bottom: 1px solid #e6dfed; font-size: 13px; }
.saved-list .icon { width: 16px; height: 16px; color: var(--purple); }
.saved-list a > .icon:last-child { margin-left: auto; color: var(--text); }
.saved-note { display: block; padding-block: 17px; border-bottom: 1px solid #d9cd9f; }
.saved-note > strong { font-size: 14px; }
.saved-note > p { font-size: 12px; color: var(--muted); line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 10px; }
.saved-note > span { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--purple); margin-top: 10px; }
.saved-note .icon { width: 14px; height: 14px; }
.delete-excerpt { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 11px; padding: 6px; }
.delete-excerpt:hover { color: #962142; }
.delete-excerpt > .icon { width: 14px; height: 14px; }

/* Footer, native dialog and feedback */
.site-footer { background: #fff; border-top: 1px solid #d5cbdc; }
.footer-inner { width: min(1280px, calc(100% - 112px)); margin-inline: auto; min-height: 78px; display: flex; align-items: center; gap: 18px; font-size: 11px; }
.footer-brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.footer-brand .icon { width: 27px; height: 27px; }
.footer-brand strong { font-size: 13px; letter-spacing: -.35px; }
.footer-chinese { border-left: 1px solid #bfb8c7; padding-left: 17px; white-space: nowrap; }
.footer-tagline { border-left: 1px solid #bfb8c7; padding-left: 17px; color: var(--muted); white-space: nowrap; }
.footer-note { margin-left: auto; color: var(--muted); display: inline-flex; align-items: center; gap: 15px; }
.footer-note .sparkle { width: 22px; height: 22px; }
.app-dialog { position: fixed; width: min(620px, calc(100% - 40px)); max-height: min(80vh, 740px); margin: 13vh auto auto; border: 1.5px solid var(--border); border-radius: 19px; padding: 27px; box-shadow: 7px 9px 0 #171717; background: #fff; overflow-y: auto; }
.app-dialog::backdrop { background: #25183955; backdrop-filter: blur(4px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.dialog-heading h2 { font-size: 23px; letter-spacing: -.04em; }
.dialog-heading .icon-button { background: var(--background); width: 34px; height: 34px; }
.dialog-heading .icon { width: 18px; height: 18px; }
.search-field { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--purple); border-radius: 11px; padding: 0 16px; background: var(--background); }
.search-field > .icon { color: var(--purple); width: 20px; height: 20px; }
.search-field input { border: none !important; box-shadow: none; background: transparent !important; padding: 14px 0 !important; outline: none !important; font-size: 14px; min-height: 50px; }
.search-summary { font-size: 11px; color: var(--muted); margin-block: 23px 10px; }
.search-results { max-height: 380px; overflow-y: auto; padding-right: 3px; }
.search-result { display: flex; align-items: center; gap: 17px; padding: 18px 10px; border-bottom: 1px solid #ece6f3; border-radius: 7px; }
.search-result:hover { background: var(--background); }
.search-result-kind { flex-shrink: 0; font-size: 9px; background: var(--background-secondary); padding: 6px 8px; border-radius: 5px; color: var(--purple); width: 58px; text-align: center; }
.search-result > span:nth-child(2) { flex: 1; min-width: 0; }
.search-result strong { font-size: 15px; }
.search-result small { display: block; color: var(--muted); font-size: 11px; margin-top: 7px; line-height: 1.7; }
.search-result > .icon { width: 17px; height: 17px; }
.search-hint { display: flex; justify-content: space-between; gap: 20px; margin-top: 21px; font-size: 10px; color: var(--muted); }
.search-empty { text-align: center; padding: 30px 10px; }
.search-empty h3 { font-size: 16px; font-weight: 550; }
.search-empty p { font-size: 12px; color: var(--muted); margin-top: 12px; }
.confirm-dialog { max-width: 480px; }
.confirm-dialog > p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 28px; }
.dialog-actions .button { font-size: 13px; }
.toast { position: fixed; bottom: 27px; left: 50%; transform: translate(-50%, 15px); max-width: calc(100% - 36px); width: max-content; color: #fff; background: #171717; border-radius: 12px; padding: 14px 22px; box-shadow: 3px 4px 0 #bda6d9; font-size: 13px; line-height: 1.7; z-index: 110; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--transition), transform var(--transition), visibility var(--transition); }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.not-found { min-height: calc(100vh - 155px); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px; padding-block: 70px; text-align: center; }
.not-found > span { font-size: 20px; color: var(--purple); }
.not-found h1 { font-size: clamp(26px, 3vw, 42px); letter-spacing: -.04em; }
.not-found p { color: var(--muted); line-height: 1.8; }

/* Quiet mode preserves the lavender palette and reduces visual density. */
html[data-mode="quiet"] .grid-background { background-image: none; }
html[data-mode="quiet"] .hero-sparkle, html[data-mode="quiet"] .collage-strokes, html[data-mode="quiet"] .word-sticker, html[data-mode="quiet"] .theme-sparkle { visibility: hidden; }
html[data-mode="quiet"] .card-surface { box-shadow: 2px 2px 0 #c5b9d2; }

@media (min-width: 1700px) {
  .hero-inner { min-height: 720px; }
}
@media (max-width: 1250px) {
  .page-width, .footer-inner { width: calc(100% - 80px); }
  .header-inner { gap: 23px; width: calc(100% - 48px); }
  .brand { font-size: 18px; gap: 9px; }
  .brand > .icon { width: 30px; height: 30px; }
  .desktop-nav { gap: 24px; }
  .search-trigger { border: 0; padding: 9px; }
  .search-trigger > span, .search-trigger kbd { display: none; }
  .search-trigger > .icon { width: 21px; height: 21px; }
  .header-tools { gap: 5px; }
  .hero-inner { min-height: 605px; gap: 20px; padding-block: 60px; }
  .hero-copy h1 { font-size: clamp(63px, 7vw, 85px); }
  .hero-copy h2 { font-size: 20px; }
  .hero-copy > p { font-size: 14px; }
  .hero-button { min-height: 65px; min-width: 220px; font-size: 20px; }
  .collage-card { padding: 16px; }
  .collage-note > p { margin-top: 10px; }
  .mini-card-source { font-size: 8px; }
  .cover-english { font-size: 8px; letter-spacing: 1.6px; }
  .collage-book .book-cover { padding: 22px 13px 10px 20px; }
  .word-sticker { font-size: 14px; padding: 8px 11px; }
  .hero-sparkle { width: 43px; height: 43px; }
  .collection-grid { grid-template-columns: 1.45fr 1fr 1fr; gap: 17px; }
  .collection-card { padding: 23px 20px; min-height: 285px; }
  .collection-card h3 { font-size: 24px; }
  .collection-theme h3, .collection-note h3 { font-size: 22px; }
  .collection-card p { font-size: 12px; }
  .collection-card .abstract-art { opacity: .88; }
  .collection-theme .abstract-art, .collection-note .abstract-art { right: -21px; width: 38%; }
  .collection-heading { align-items: flex-start; }
  .collection-heading h2 { max-width: 540px; font-size: 29px; }
  .filter-tabs { gap: 5px; }
  .filter-tabs button { min-width: 51px; padding: 8px 13px; }
  .theme-card { padding: 20px; }
  .theme-card h3 { font-size: 23px; }
  .theme-card:nth-child(n+7) h3 { font-size: 20px; }
  .theme-card-large > p { max-width: 220px; }
  .theme-sparkle { width: 35px; height: 35px; bottom: 25px; right: 12px; }
  .reading-width { width: calc(100% - 72px); }
  .reading-layout { gap: 24px; grid-template-columns: minmax(0, 1fr) 205px; }
  .reading-sheet { padding-inline: 30px; }
  .book-library-card { gap: 35px; padding-inline: 40px; }
}
@media (max-width: 960px) {
  .header-inner { min-height: 70px; }
  .desktop-nav { gap: 19px; }
  .desktop-nav a { font-size: 12px; }
  .brand { font-size: 16px; }
  .brand > .icon { width: 28px; height: 28px; }
  .header-tools { gap: 0; }
  .icon-button { width: 37px; height: 37px; }
  .search-trigger { min-height: 37px; padding: 8px; }
  .page-width, .footer-inner { width: calc(100% - 64px); }
  .hero-inner { gap: 8px; min-height: 540px; padding-block: 50px; }
  .hero-copy h1 { font-size: clamp(58px, 7.6vw, 72px); }
  .hero-copy h1 > span { padding-inline: 18px 22px; margin-left: -5px; padding-bottom: 7px; }
  .hero-copy h2 { font-size: 17px; margin-top: 24px; }
  .hero-copy > p { font-size: 13px; }
  .hero-button { min-height: 59px; min-width: 195px; font-size: 18px; gap: 28px; margin-top: 28px; }
  .hero-button .icon { width: 29px; height: 29px; }
  .collage-card { padding: 13px; border-radius: 10px; box-shadow: 4px 5px 0 #171717; }
  .mini-card-top { font-size: 8px; padding-bottom: 6px; }
  .mini-card-source { font-size: 7px; margin-top: 3px; }
  .collage-note > p { font-size: 13px; margin-top: 7px; }
  .collage-now > p { font-size: 20px; margin-top: 2px; }
  .collage-reflection > p { font-size: 14px; margin-top: 3px; }
  .mini-dots { font-size: 15px; }
  .cover-title { font-size: 20px; }
  .cover-english { font-size: 6px; letter-spacing: 1.2px; margin-top: 7px; }
  .cover-author { font-size: 5px; left: 22px; }
  .word-sticker { padding: 6px 8px; font-size: 11px; }
  .hero-sparkle { width: 35px; height: 35px; }
  .collage-strokes { transform: scale(.75); }
  .strokes-two { transform: rotate(95deg) scale(.75); }
  .collection-heading { display: block; }
  .collection-heading h2 { font-size: 29px; max-width: none; margin-bottom: 22px; }
  .collection-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .collection-book { grid-column: span 2; min-height: 265px; }
  .collection-book .abstract-art { right: 12px; width: 38%; height: 92%; }
  .collection-note, .collection-theme { min-height: 272px; }
  .collection-theme .abstract-art, .collection-note .abstract-art { right: 5px; width: 40%; opacity: 1; }
  .collection-note h3, .collection-theme h3 { font-size: 25px; }
  .collection-card h3 { font-size: 28px; }
  .collection-card p { font-size: 13px; }
  .footer-note { max-width: 200px; line-height: 1.7; }
  .footer-tagline { display: none; }
  .book-hero { grid-template-columns: 1.35fr 1fr; gap: 10px; padding-right: 0; min-height: 330px; }
  .book-hero h1 { font-size: 48px; }
  .book-english { font-size: 29px; }
  .book-description { font-size: 15px; }
  .book-hero-art { height: 290px; }
  .book-hero-art::before { width: 260px; height: 260px; }
  .book-hero-art .book-cover { width: 165px; height: 245px; padding-top: 21px; }
  .book-hero-art .cover-title { font-size: 21px; }
  .book-hero-art .cover-english { font-size: 6px; }
  .book-hero-art .cover-author { font-size: 6px; }
  .book-sparkle { right: 0; width: 31px; height: 31px; }
  .book-themes .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p { max-width: 225px; font-size: 12px; }
  .themes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .theme-card, .theme-card:nth-child(n) { grid-column: span 1; min-height: 200px; }
  .theme-card-large { min-height: 235px !important; }
  .theme-card:nth-child(n) h3 { font-size: 24px; }
  .theme-card p { max-width: 260px; }
  .theme-sparkle { width: 37px; height: 37px; }
  .book-excerpts .section-heading { flex-wrap: wrap; }
  .book-excerpts .section-heading > p { display: none; }
  .reflection-invitation > div { align-items: flex-start; flex-direction: column; gap: 16px; }
  .reflection-invitation h2 { font-size: 30px; }
  .reflection-invitation p { font-size: 12px; }
  .reading-width { width: calc(100% - 64px); max-width: 820px; }
  .reading-layout { grid-template-columns: minmax(0, 1fr); }
  .reading-sidebar { display: none; }
  .reading-sheet { padding: 25px 34px; }
  .reading-title h1 { font-size: 37px; }
  .reading-title { margin-top: 16px; }
  .book-library-card { grid-template-columns: 220px 1fr; padding: 34px; gap: 30px; }
  .book-library-copy h2 { font-size: 33px; }
  .book-library-copy > p:not(.book-author) { font-size: 14px; }
  .book-library-card > .sparkle { right: 25px; top: 24px; width: 30px; height: 30px; }
  .film-empty { gap: 30px; padding: 35px; }
  .film-frame { width: 190px; height: 160px; }
  .film-empty h2 { font-size: 27px; }
  .about-layout { grid-template-columns: 1.5fr 1fr; gap: 24px; }
  .about-letter { padding: 28px; }
  .about-letter p { font-size: 14px; }
  .about-art { padding: 24px; }
  .about-art > span { font-size: 8px; letter-spacing: 2px; }
  .editor-layout { grid-template-columns: 1fr 1fr; gap: 23px; }
  .editor-panel { padding: 23px; }
  .panel-heading h2 { font-size: 21px; }
  .backup-actions > .button { font-size: 11px; padding-inline: 12px; }
}
@media (max-width: 760px) {
  .header-inner { width: calc(100% - 36px); min-height: 67px; gap: 10px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand > .icon { width: 29px; height: 29px; }
  .desktop-nav { display: none; }
  .mobile-menu-trigger { display: inline-flex; }
  .header-tools { gap: 3px; }
  .icon-button { min-width: 39px; width: 39px; height: 42px; padding: 10px; }
  .private-link { display: none; }
  .mobile-nav { display: flex; flex-direction: column; padding: 10px 22px 22px; border-top: 1px solid #e7e0ee; box-shadow: 0 8px 14px #2415330a; position: absolute; width: 100%; background: #fff; max-height: calc(100dvh - 67px); overflow-y: auto; }
  .mobile-nav > a { display: flex; align-items: center; justify-content: space-between; font-size: 15px; min-height: 48px; border-bottom: 1px solid #eee7f6; }
  .mobile-nav > a[aria-current="page"] { color: var(--purple); }
  .mobile-nav > a .icon { width: 17px; height: 17px; }
  .mobile-nav > button { display: inline-flex; align-items: center; gap: 13px; text-align: left; padding-block: 15px; font-size: 14px; }
  .page-width, .footer-inner { width: calc(100% - 44px); }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding-block: 44px 29px; min-height: 0; }
  .hero-copy h1 { font-size: clamp(62px, 11.8vw, 82px); letter-spacing: -.07em; }
  .hero-copy h1 > span { padding: 1px 24px 9px 20px; margin-left: -3px; margin-top: 5px; }
  .hero-copy h2 { font-size: clamp(16px, 3vw, 21px); margin-top: 26px; line-height: 1.75; letter-spacing: -.045em; }
  .hero-copy > p { font-size: 14px; line-height: 1.9; max-width: 470px; margin-top: 10px; }
  .hero-button { min-height: 60px; min-width: 210px; margin-top: 26px; padding-inline: 27px; font-size: 19px; gap: 35px; }
  .hero-collage { width: min(100%, 520px); justify-self: center; margin-top: 10px; aspect-ratio: 1.16; }
  .cover-title { font-size: clamp(19px, 4.8vw, 28px); }
  .cover-english { font-size: clamp(6px, 1.3vw, 8px); }
  .collage-book .book-cover { padding-top: 22px; }
  .collage-note { top: 8%; left: 54%; width: 43%; height: 34%; }
  .mini-card-top { font-size: clamp(8px, 1.8vw, 10px); }
  .collage-note > p { font-size: clamp(13px, 3vw, 18px); margin-top: 9px; }
  .collage-now > p { font-size: clamp(18px, 4.8vw, 25px); }
  .collage-reflection > p { font-size: clamp(13px, 3.2vw, 18px); }
  .collage-reflection { top: 81%; left: 65%; width: 33%; height: 25%; }
  .collage-reflection .mini-card-source { display: none; }
  .collage-now { top: 47%; left: 47%; width: 34%; height: 30%; }
  .word-sticker { padding: 7px 9px; font-size: clamp(10px, 2.4vw, 13px); }
  .sticker-mint { left: 86%; top: 38%; }
  .sticker-purple { left: 85%; top: 48%; }
  .hero-sparkle { top: -1%; left: 88%; width: 35px; height: 35px; }
  .editorial-strip > div { min-height: 44px; font-size: 10px; letter-spacing: .12em; }
  .editorial-strip i { font-size: 12px; }
  .home-collection { padding-block: 33px 39px; }
  .collection-heading h2 { font-size: 27px; max-width: 360px; line-height: 1.6; letter-spacing: -.05em; margin-bottom: 18px; }
  .filter-tabs { gap: 7px; }
  .filter-tabs button { font-size: 12px; min-height: 39px; padding: 8px 16px; min-width: 59px; }
  .collection-grid { grid-template-columns: 1fr; gap: 22px; }
  .collection-book { grid-column: auto; min-height: 274px; }
  .collection-card { padding: 25px; min-height: 274px; }
  .collection-card:nth-child(n) .abstract-art { width: 38%; right: 12px; bottom: 13px; height: 84%; }
  .collection-card:nth-child(n) h3 { font-size: 28px; }
  .collection-card:nth-child(n) p { font-size: 13px; }
  .collection-card .collection-copy { max-width: 80%; }
  .collection-card .small-button { min-height: 41px; }
  .collection-note .abstract-art { width: 35%; }
  .collection-empty { flex-direction: column; align-items: flex-start; padding: 30px; min-height: 270px; gap: 19px; }
  .collection-empty h3 { font-size: 20px; }
  .collection-empty .text-link { margin-left: 0; }
  .footer-inner { min-height: 112px; padding-block: 22px; flex-wrap: wrap; column-gap: 15px; row-gap: 15px; }
  .footer-brand strong { font-size: 12px; }
  .footer-brand .icon { width: 25px; height: 25px; }
  .footer-chinese { font-size: 10px; padding-left: 14px; }
  .footer-note { max-width: none; width: 100%; justify-content: space-between; margin-left: 0; font-size: 10px; }
  .footer-note .sparkle { width: 17px; height: 17px; }
  .breadcrumb { padding-block: 20px; font-size: 11px; gap: 7px; }
  .book-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .book-hero h1 { font-size: 49px; line-height: 1.35; }
  .book-english { font-size: clamp(23px, 6.2vw, 32px); margin-top: 6px; }
  .book-author { font-size: 14px; margin-top: 19px; }
  .book-description { font-size: 14px; margin-top: 15px; }
  .book-hero .button-row { margin-top: 25px; gap: 13px; }
  .book-hero .button { font-size: 13px; padding: 11px 20px; min-height: 47px; border-radius: 13px; gap: 15px; }
  .book-hero-art { height: 300px; margin-block: 5px 18px; }
  .book-hero-art::before { width: 280px; height: 280px; }
  .book-hero-art .book-cover { width: 180px; height: 265px; }
  .book-hero-art .cover-title { font-size: 23px; }
  .book-hero-art .cover-english { font-size: 7px; }
  .book-sparkle { right: calc(50% - 150px); top: 25px; width: 32px; height: 32px; }
  .art-caption { bottom: -12px; font-size: 9px; }
  .book-themes { margin-top: 20px; }
  .section-heading { align-items: flex-start; gap: 14px; flex-direction: column; margin-bottom: 23px; }
  .section-heading h2 { font-size: 27px; letter-spacing: -.06em; }
  .section-heading > p { max-width: none; font-size: 12px; }
  .editorial-note { font-size: 10px; margin-top: -8px; }
  .themes-grid { gap: 17px; }
  .theme-card, .theme-card:nth-child(n) { padding: 17px; min-height: 195px; }
  .theme-card:nth-child(1) { grid-column: span 2; min-height: 218px; }
  .theme-card:nth-child(2) { min-height: 210px !important; }
  .theme-card-top { margin-bottom: 16px; }
  .theme-number { font-size: 17px; }
  .theme-card-top > .icon { width: 17px; height: 17px; }
  .theme-card:nth-child(n) h3 { font-size: 21px; line-height: 1.5; margin-bottom: 12px; }
  .theme-card > p { font-size: 11px; line-height: 1.9; }
  .theme-card:nth-child(n) .theme-card-english { font-size: 18px; }
  .theme-card:nth-child(1) .theme-sparkle { width: 65px; height: 65px; right: 24px; bottom: 30px; }
  .theme-card:nth-child(1) > p { max-width: 225px; }
  .theme-card:nth-child(2) .theme-sparkle { display: none; }
  .theme-card:last-child { grid-column: span 2; min-height: 160px; }
  .book-excerpts .section-heading { gap: 13px; }
  .book-excerpts .text-link { font-size: 12px; }
  .section-bordered { padding-top: 28px; margin-top: 34px; }
  .empty-excerpts { padding: 29px 20px; }
  .empty-excerpts h3 { font-size: 14px; line-height: 1.8; }
  .empty-excerpts p { font-size: 11px; }
  .reflection-invitation { flex-direction: column; align-items: flex-start; }
  .reflection-invitation > div { gap: 13px; }
  .reflection-invitation h2 { font-size: 28px; }
  .reflection-invitation .button { font-size: 13px; min-height: 45px; }
  .excerpts-grid { grid-template-columns: 1fr; }
  .reading-width { width: calc(100% - 30px); }
  .reading-width > .breadcrumb { padding-inline: 7px; }
  .reading-sheet { padding: 20px 23px; border-radius: 12px; box-shadow: 3px 4px 0 var(--border); }
  .reading-toolbar { margin-bottom: 22px; min-height: 42px; gap: 9px; }
  .reading-toolbar button { width: 35px; height: 37px; }
  .reading-title { margin-top: 5px; margin-bottom: 26px; }
  .reading-title h1 { font-size: clamp(26px, 6.4vw, 33px); line-height: 1.6; letter-spacing: -.07em; }
  .reading-title > p { font-size: 12px; line-height: 1.8; }
  .reading-sample-label { font-size: 9px; line-height: 1.8; }
  .reading-section-title { font-size: 19px; gap: 13px; margin-bottom: 16px; }
  .reading-section { margin-top: 27px; }
  .source-notice { font-size: 12px; padding: 14px; line-height: 1.9; }
  .prose { line-height: 1.95; }
  .prose h3 { font-size: var(--reading-size); margin-top: 25px; }
  .prose section > p { margin-bottom: 16px; }
  .original-callout { padding: 13px 16px; }
  .original-callout > p { font-size: var(--reading-size); line-height: 1.85; }
  .reflection-prompt > p { font-size: calc(var(--reading-size) - 1px); }
  .reflection-help { font-size: 11px; }
  .reflection-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .reflection-actions > .button { align-self: flex-end; min-height: 44px; padding-inline: 19px; font-size: 13px; }
  .reading-pagination { gap: 12px; }
  .reading-pagination > a { gap: 10px; padding: 11px 12px; font-size: 11px; }
  .reading-pagination > a .icon { width: 16px; height: 16px; }
  .reading-pagination small { font-size: 9px; }
  .index-heading { padding-block: 23px 33px; }
  .index-heading h1 { font-size: clamp(33px, 7.5vw, 48px); line-height: 1.45; }
  .index-heading > p { font-size: 13px; margin-top: 20px; }
  .book-library-card { grid-template-columns: 1fr; padding: 33px 26px; gap: 37px; }
  .book-library-card > div:first-child { padding-top: 7px; }
  .book-library-copy h2 { font-size: 34px; }
  .book-library-copy > p:not(.book-author) { font-size: 14px; }
  .book-library-card > .sparkle { right: 23px; top: 25px; }
  .index-endnote { font-size: 11px; line-height: 1.9; margin-top: 30px; }
  .film-empty { grid-template-columns: 1fr; padding: 30px 26px; gap: 20px; }
  .film-art { min-height: 220px; }
  .film-frame { width: 220px; height: 160px; }
  .film-empty h2 { font-size: 28px; }
  .film-dot { right: 20px; bottom: 10px; width: 35px; height: 35px; }
  .film-empty .button { font-size: 13px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-letter { padding: 27px; }
  .about-letter p { font-size: 15px; line-height: 2; }
  .about-art { display: none; }
  .editor-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 20px; }
  .editor-heading h1 { font-size: 33px; }
  .editor-heading p { font-size: 13px; }
  .storage-notice { padding: 16px; gap: 10px; }
  .storage-notice > p { font-size: 11px; }
  .editor-layout { grid-template-columns: 1fr; gap: 25px; }
  .editor-panel { padding: 25px; }
  .panel-heading h2 { font-size: 22px; }
  .editor-panel input:not([type="checkbox"]), .editor-panel select { min-height: 47px; font-size: 14px; }
  .backup-actions > .button { font-size: 12px; min-height: 45px; }
  .app-dialog { width: calc(100% - 32px); padding: 21px; margin-top: 8vh; max-height: 82dvh; }
  .dialog-heading { gap: 10px; }
  .dialog-heading h2 { font-size: 21px; }
  .search-field { padding-inline: 12px; gap: 10px; }
  .search-field input { font-size: 13px; }
  .search-result { gap: 12px; padding-inline: 3px; }
  .search-result-kind { width: 52px; font-size: 8px; padding-inline: 5px; }
  .search-result strong { font-size: 14px; }
  .search-result small { font-size: 10px; }
  .search-hint { font-size: 9px; }
  .toast { bottom: 20px; font-size: 12px; padding: 12px 17px; }
  .dialog-actions { gap: 11px; }
  .dialog-actions .button { padding: 11px 16px; min-height: 45px; }
}
@media (max-width: 380px) {
  .header-inner { width: calc(100% - 28px); }
  .brand { font-size: 14px; gap: 6px; }
  .brand > .icon { width: 26px; height: 26px; }
  .header-tools { gap: 0; }
  .icon-button { min-width: 34px; width: 34px; }
  .search-trigger { padding: 7px; }
  .page-width, .footer-inner { width: calc(100% - 36px); }
  .hero-copy h1 { font-size: clamp(50px, 16vw, 61px); }
  .hero-copy h2 { font-size: 16px; }
  .hero-copy > p { font-size: 13px; }
  .collage-card { padding: 10px 11px; }
  .collage-note > p { font-size: 12px; margin-top: 6px; }
  .mini-card-source { font-size: 6px; }
  .collage-reflection > p { font-size: 12px; }
  .collage-now > p { font-size: 17px; }
  .cover-title { font-size: 18px; }
  .collage-book .book-cover { padding: 18px 8px 10px 18px; box-shadow: 6px 7px 0 #171717; }
  .cover-english { font-size: 5px; }
  .word-sticker { font-size: 10px; padding: 5px 7px; }
  .sticker-mint { display: none; }
  .collection-heading h2 { font-size: 25px; }
  .filter-tabs button { padding-inline: 13px; min-width: 56px; }
  .collection-card { padding-inline: 22px; }
  .collection-card:nth-child(n) p { font-size: 12px; }
  .collection-card:nth-child(n) .abstract-art { right: 5px; width: 35%; }
  .theme-card, .theme-card:nth-child(n) { padding: 15px; }
  .theme-card:nth-child(n) h3 { font-size: 19px; }
  .theme-card > p { font-size: 10px; }
  .theme-card:nth-child(n) .theme-card-english { font-size: 16px; }
  .reading-sheet { padding: 19px; }
  .reading-title h1 { font-size: 25px; }
  .book-hero h1 { font-size: 45px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .index-heading, .book-hero-copy, .reading-title { animation: arrive 400ms ease both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header, .site-footer, .reading-sidebar, .reading-toolbar, .reflection-actions, .reading-pagination, .toast, .skip-link { display: none !important; }
  body { background: #fff; }
  .reading-width { width: 100%; max-width: none; }
  .reading-layout { display: block; }
  .reading-sheet { border: 0; box-shadow: none; padding: 0; }
  .reading-section { break-inside: avoid-page; }
}
