/* The public library: quiet, readable, and useful before an account is needed. */
.editorial {
  --ink: #172e35; --text: #526367; --border: #dedfd7; --paper: #f8f7f3;
  --green: #24634b; --green-hover: #194d39; --maxw: 1160px;
  color: var(--ink); background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.editorial *, .editorial *::before, .editorial *::after { box-sizing: border-box; }
.editorial [hidden] { display: none !important; }
.editorial a { color: inherit; }
.editorial button, .editorial input { font: inherit; }
.editorial :focus-visible { outline: 2px solid #24634b; outline-offset: 5px; }
.editorial .wrap { padding-inline: 32px; }
.editorial .site-header { background: rgba(248,247,243,.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.editorial .nav { min-height: 82px; gap: 28px; padding-block: 17px; }
.editorial .brand, .editorial .footer-brand { color: var(--ink); font: 650 23px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; letter-spacing: -.8px; }
.editorial .brand img { width: 30px; height: 30px; }
.brand-divider { margin-inline: 10px; color: #afb7b3; font-weight: 300; }
.brand-section { color: #64736e; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.editorial .nav-link { color: var(--ink); font: 500 13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.editorial .btn { min-height: 46px; padding: 12px 22px; justify-content: center; gap: 20px; border-radius: 6px; border: 1px solid transparent; box-shadow: none; font: 550 14px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; transition: background .15s, border-color .15s; }
.editorial .btn:active { transform: none; }
.editorial .btn-green { background: var(--green); color: #fff; }
.editorial .btn-green:hover { background: var(--green-hover); color: #fff; box-shadow: none; }
.editorial .btn-lg { padding: 17px 25px; font-size: 15px; }
.editorial .btn-ghost, .editorial .btn-outline { background: transparent; color: var(--ink); border-color: #b7c3bb; }
.editorial .btn-ghost:hover, .editorial .btn-outline:hover { background: #e9ede5; }
.eyebrow, .editorial .launch-kicker { color: #386450; font: 600 10px/1.7 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; text-transform: uppercase; letter-spacing: 1.7px; }
.eyebrow a:hover { text-decoration: underline; }
.library-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: center; padding-top: 65px; padding-bottom: 68px; }
.library-hero nav.eyebrow { display: flex; gap: 14px; margin-bottom: 30px; }
.editorial h1, .editorial h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.library-hero h1, .directory-hero h1 { margin: 0; color: var(--ink); font-size: clamp(42px,5.3vw,68px); line-height: 1.08; letter-spacing: -2.3px; }
.editorial h1 em, .editorial h2 em { font-weight: 400; color: #54735e; }
.hero-description { max-width: 510px; color: var(--text); font-size: 16px; line-height: 1.85; margin: 24px 0 28px; }
.hero-note { margin: 11px 0 29px; color: var(--text); font-size: 12px; }
.library-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 19px; border-top: 1px solid var(--border); color: var(--text); font-size: 11px; }
.library-facts strong { color: var(--ink); }
.hero-book { min-width: 0; align-self: stretch; display: flex; flex-direction: column; margin-block: 14px; background: #e9ede3; border: 1px solid #dde3d8; border-radius: 10px; overflow: hidden; }
.hero-book-stage { min-height: 300px; flex: 1; display: grid; place-items: center; padding: 40px 60px; background: #e9ede3; }
.hero-book-stage .book-art { width: 196px; height: 255px; border-radius: 3px 8px 8px 3px; box-shadow: -5px 2px 0 #e0dccc, 0 18px 26px -14px #42544066; }
.hero-book-caption { position: relative; padding: 20px 27px; background: #f0f2eb; border-top: 1px solid #dbe1d6; }
.hero-book-caption span:first-child { display: block; color: #576855; font-size: 10px; letter-spacing: 1.1px; text-transform: uppercase; }
.hero-book-caption strong { display: block; margin-top: 3px; font-family: Georgia,serif; font-size: 21px; font-weight: 400; }
.hero-book-caption span:last-child { position: absolute; right: 25px; top: 26px; font-size: 24px; color: #3d6450; }
.reading-shelf { padding-top: 44px; padding-bottom: 58px; }
.reading-shelf + .reading-shelf { border-top: 1px solid var(--border); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 30px; }
.section-heading .eyebrow { margin: 0 0 11px; }
.section-heading h2 { color: var(--ink); font-size: clamp(27px,3.2vw,39px); line-height: 1.2; letter-spacing: -.9px; margin: 0; }
.section-heading > p { color: var(--text); font-size: 12px; line-height: 1.7; margin: 0 0 3px; }
.featured-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.reading-card { min-width: 0; display: flex; flex-direction: column; border-radius: 8px; background: #fffefa; border: 1px solid #dedfd7; overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.reading-card:hover { border-color: #829d87; box-shadow: 0 6px 18px #172e3508; }
.book-art { width: 100%; height: 205px; background: #e7e9e0; overflow: hidden; }
.book-art img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.book-art-type { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; text-align: center; color: #fff; background: var(--book-color,#1c4f4a); }
.book-art-type::before { content: ''; position: absolute; inset: 12px; border: 1px solid #ffffff38; pointer-events: none; }
.book-art-type > span { font-size: 7px; letter-spacing: 1.5px; opacity: .85; }
.book-art-type > strong { max-width: 220px; font: 400 27px/1.15 Georgia,serif; margin: 20px 0; overflow-wrap: anywhere; }
.book-art-type i { width: 24px; height: 1px; background: #ffffffa0; }
.book-copy { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.book-pick { color: #37644c; font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 650; margin: 0 0 11px; }
.book-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10px; color: #556666; }
.book-meta > span:first-child { padding: 2px 6px; border: 1px solid #dce3d8; border-radius: 3px; color: #345642; background: #f0f3ec; }
.reading-card h3 { font: 400 23px/1.25 Georgia,serif; color: var(--ink); margin: 14px 0 0; letter-spacing: -.4px; overflow-wrap: anywhere; }
.book-translation { color: #627172; font-size: 12px; margin: 5px 0 0; }
.book-description { color: var(--text); font-size: 12px; line-height: 1.8; margin: 14px 0 23px; }
.book-action { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e8e9e1; padding-top: 15px; margin-top: auto; color: #24634b; font-size: 12px; font-weight: 600; }
.book-action > span { font-size: 19px; }
.all-stories { padding-top: 52px; padding-bottom: 78px; scroll-margin-top: 95px; }
.library-controls { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.level-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.level-filters button { min-height: 42px; padding: 9px 12px; border-radius: 5px; border: 1px solid var(--border); color: #4a5c5b; background: transparent; font-size: 11px; cursor: pointer; }
.level-filters button[aria-pressed='true'] { background: #203d38; border-color: #203d38; color: #fff; }
.library-search { display: flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid #d4d9ce; border-radius: 5px; background: #fffefa; padding: 0 13px; color: #647365; }
.library-search input { width: 180px; min-width: 0; min-height: 44px; color: var(--ink); background: transparent; border: 0; padding: 0; font-size: 12px; }
.library-search:focus-within { outline: 2px solid #24634b; outline-offset: 2px; }
.library-search input:focus-visible { outline: none; }
.collection-caption { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 20px; font-size: 11px; color: #63716d; }
.collection-caption p { margin: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.catalog-grid .reading-card { flex-direction: row; padding: 15px; gap: 16px; }
.catalog-grid .book-art { flex: 0 0 75px; width: 75px; height: 108px; border-radius: 3px; }
.catalog-grid .book-art img { padding: 2px; }
.catalog-grid .book-art-type { padding: 9px; }
.catalog-grid .book-art-type::before { inset: 5px; }
.catalog-grid .book-art-type > span { font-size: 4px; letter-spacing: .4px; }
.catalog-grid .book-art-type > strong { font-size: 12px; margin: 12px 0; }
.catalog-grid .book-copy { padding: 0; min-width: 0; }
.catalog-grid .reading-card h3 { font-size: 18px; line-height: 1.3; margin-top: 10px; }
.catalog-grid .book-meta { font-size: 9px; gap: 5px; }
.catalog-grid .book-translation { font-size: 11px; }
.catalog-grid .book-description { font-size: 11px; margin: 10px 0 15px; }
.catalog-grid .book-action { font-size: 10px; padding-top: 10px; }
.load-more { display: flex !important; margin: 32px auto 0; }
.load-more[hidden] { display: none !important; }
.library-empty { padding: 45px 20px; text-align: center; border: 1px dashed #c5cec2; border-radius: 8px; }
.library-empty h3 { font: 400 26px Georgia,serif; }
.reading-method { background: #e9ede4; border-block: 1px solid #dce2d6; padding-block: 60px; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.method-grid h2 { font-size: clamp(32px,4vw,48px); line-height: 1.15; letter-spacing: -1.1px; margin: 15px 0; }
.method-grid ol { display: grid; gap: 25px; margin: 0; padding: 0; list-style: none; }
.method-grid li { display: flex; gap: 20px; }
.method-grid li > span { color: #71836c; font: 400 17px Georgia,serif; padding-top: 1px; }
.method-grid h3 { font-size: 14px; font-weight: 600; margin: 0; }
.method-grid li p { font-size: 12px; margin: 6px 0 0; color: #536451; }
.method-grid li a { font-size: 12px; color: #24634b; display: inline-block; margin-top: 10px; text-decoration: underline; text-underline-offset: 4px; }
.library-next { display: flex; gap: 30px; justify-content: space-between; align-items: center; padding-block: 48px; }
.library-next h2 { font-size: 27px; margin: 0; }
.editorial .site-footer { background: #f0f1ea; border-top: 1px solid #dde0d4; }
.editorial-footer { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-block: 36px; }
.editorial-footer p { font-size: 11px; color: #68756c; margin: 7px 0 0; }
.editorial-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 11px; }
.editorial [data-privacy-settings] { color: inherit; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.editorial-footer a:hover, .editorial [data-privacy-settings]:hover { text-decoration: underline; text-underline-offset: 4px; }
.editorial-footer small { flex-basis: 100%; color: #68756c; font-size: 10px; }
.directory-hero { padding-top: 80px; padding-bottom: 32px; }
.directory-hero h1 { margin-top: 22px; }
.language-directory { padding-bottom: 80px; }
.language-directory .library-controls { margin: 10px 0 30px; }
.language-directory .library-search { width: 340px; }
.language-directory input { width: 100%; }
.language-directory [data-result-count] { font-size: 12px; color: var(--text); }
.language-tiles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.language-tile { position: relative; border: 1px solid var(--border); background: #fffefa; border-radius: 7px; padding: 25px; }
.language-tile:hover { border-color: #829d87; background: #f0f3ec; }
.language-tile h2 { font-size: 23px; margin: 0 0 6px; }
.language-tile > span { font-size: 11px; color: #64736d; }
.language-tile > span:last-child { position: absolute; right: 22px; top: 27px; font-size: 18px; }
.learning-languages { max-width: 1096px; margin: 0 auto 35px; padding: 20px; border: 1px solid var(--border); border-radius: 6px; }
.learning-languages p { margin: 0 0 10px; font-size: 13px; }
.learning-languages a { display: inline-block; margin: 0 15px 8px 0; text-decoration: underline; font-size: 13px; }
/* Reader shares the library's typography and controls. */
.story-page.editorial { --reader-paper: #fffefa; --reader-paper-dim: #f0f0e8; --reader-raised: #f3f4ec; --reader-ink: #172e35; --reader-muted: #526367; --reader-rule: #e0e1d6; --reader-accent: #edf2e8; }
.editorial .story-header { background: rgba(248,247,243,.97); }
.editorial .story-header .brand, .editorial .story-header .nav-link { color: var(--ink); }
.editorial .story-progress { height: 2px; background: #e6e9df; }
.editorial .story-progress span { background: #24634b; }
.editorial .story-intro { min-height: 0; max-width: 960px; grid-template-columns: 145px minmax(0,1fr); gap: 40px; padding-top: 42px; padding-bottom: 32px; align-items: start; }
.editorial .web-story-cover, .editorial .web-story-cover.has-image { width: 145px; height: 190px; aspect-ratio: auto; margin-top: 22px; border-radius: 4px 9px 9px 4px; padding: 0; transform: none; border: 1px solid #cdd6c9; box-shadow: -4px 3px 0 #deded1, 0 10px 20px #253a2514; }
.editorial .web-story-cover img { object-fit: contain; height: 100%; border-radius: 0; }
.editorial .web-story-cover span { font-size: 45px; }
.editorial .story-breadcrumb { margin-bottom: 15px; font-size: 11px; font-weight: 500; }
.editorial .story-breadcrumb a { color: #586b5e; }
.editorial .story-intro h1 { color: var(--ink); font: 400 clamp(30px,4vw,46px)/1.1 Georgia,serif; margin-top: 9px; letter-spacing: -1.2px; overflow-wrap: anywhere; }
.editorial .story-title-translation { color: #687665; font: italic 17px/1.4 Georgia,serif; margin-top: 8px; }
.editorial .story-blurb { color: var(--text); font-size: 13px; line-height: 1.75; margin-top: 16px; }
.editorial .story-meta { margin-top: 16px; gap: 6px; }
.editorial .story-meta span { padding: 4px 8px; color: #49604e; background: #edf1e8; border: 1px solid #dce3d6; border-radius: 4px; font-size: 10px; font-weight: 500; }
.editorial .reader-start { min-height: 42px; padding: 10px 16px; margin-top: 20px; font-size: 12px; }
.editorial .story-reader-layout { max-width: 1000px; grid-template-columns: 190px minmax(0,1fr); gap: 40px; padding-top: 25px; padding-bottom: 48px; }
.editorial .story-reader-guide { top: 115px; padding-top: 17px; }
.editorial .story-reader-guide h2 { color: var(--ink); font: 400 25px/1.2 Georgia,serif; }
.editorial .story-reader-guide > p:not(.launch-kicker) { color: var(--text); font-size: 12px; margin-top: 13px; }
.editorial .story-reader-guide ul { margin-top: 18px; gap: 9px; }
.editorial .story-reader-guide li { color: #536554; font-size: 11px; }
.editorial .story-reader-guide li span { color: #345c43; background: #e7ecdf; border-color: #d9e1d2; }
.editorial .web-reader { border: 1px solid #dfe2d6; border-radius: 8px; background: #fffefa; box-shadow: 0 8px 30px #172e3505; scroll-margin-top: 100px; overflow: hidden; }
.reader-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 24px; border-bottom: 1px solid #e8e9df; font-size: 11px; color: #61705e; }
.reader-toolbar > div { display: flex; gap: 2px; }
.reader-toolbar button { background: transparent; border: 1px solid transparent; color: #355e43; border-radius: 4px; min-height: 38px; min-width: 40px; cursor: pointer; }
.reader-toolbar button:hover { border-color: #bac9b3; }
.reader-toolbar button:disabled { opacity: .4; cursor: default; }
.editorial .reader-chapter-header { margin: 0; padding: 27px 32px 20px; border-radius: 0; box-shadow: none; background: #fffefa; }
.editorial .reader-chapter-header h2 { font: 400 28px/1.2 Georgia,serif; color: var(--ink); }
.editorial .reader-chapter-header > div { font-family: inherit; color: #59704f; font-size: 10px; }
.editorial .reader-chapter-header > p { color: #71806c; font: italic 14px Georgia,serif; }
.editorial .reader-grammar { margin: 0 30px 12px; border: 1px solid #dce3d3; background: #f1f4e9; border-radius: 5px; }
.editorial .reader-grammar summary, .editorial .reader-grammar summary span, .editorial .reader-grammar-notes strong, .editorial .reader-grammar-notes p { color: #526947; }
.editorial .reader-grammar-notes > div { border-top-color: #dce3d3; }
.editorial .reader-grammar-notes p { font-size: 12px; }
.editorial .web-story-cover .book-art { width: 100%; height: 100%; }
.editorial .web-story-cover .book-art-type > span { font-size: 6px; filter: none; }
.editorial .web-story-cover .book-art-type > strong { font-size: 20px; }
.editorial .related-reading { padding-top: 12px; max-width: 1000px; }
.editorial .reader-grammar summary { min-height: 44px; font-size: 11px; }
.editorial .reader-grammar-notes { font-size: 12px; }
.editorial .reader-copy { padding: 13px 32px 26px; }
.editorial .reader-paragraph { padding: 0; margin-bottom: 24px; border: 0; }
.editorial .reader-sentence { padding: 0 0 15px; }
.editorial .reader-sentence + .reader-sentence { margin-top: 0; }
.editorial .reader-sentence-text { color: var(--ink); font: 400 var(--reading-size,21px)/1.85 Georgia,'Times New Roman',serif; }
.editorial .reader-token { border-radius: 3px; padding-block: 0; border-bottom: 1px solid transparent; }
.editorial .reader-token:hover, .editorial .reader-token:focus-visible { background: #e7efdf; border-bottom-color: #5c7d4f; }
.editorial .reader-token:focus-visible { outline: 2px solid #5c7d4f; }
.editorial .reader-translation-toggle { min-height: 36px; color: #5e7354; font: 500 10px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.editorial .reader-translation { padding: 10px 13px; border: 0; border-left: 2px solid #b6cba6; border-radius: 0; font: 400 14px/1.7 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.editorial .reader-finish { padding: 30px; background: #edf1e7; }
.editorial .reader-finish h2 { font: 400 28px/1.2 Georgia,serif; color: var(--ink); }
.editorial .reader-finish > p:not(.launch-kicker) { font-size: 12px; margin-top: 13px; }
.editorial .reader-store-actions { margin-top: 20px; }
.editorial .reader-store-actions .btn { min-width: 0; font-size: 12px; padding: 13px 18px; }
.editorial .story-about { max-width: 780px; text-align: left; padding-bottom: 40px; }
.editorial .story-about h2 { color: var(--ink); font: 400 28px/1.25 Georgia,serif; }
.editorial .story-about > p:not(.launch-kicker) { color: var(--text); font-size: 13px; margin-top: 13px; }
.editorial .story-about > a { color: #24634b; font-size: 12px; font-weight: 550; margin-top: 20px; }
.story-credits { margin-top: 24px; border-block: 1px solid #dfe2d6; padding: 14px 0; font-size: 12px; color: var(--text); }
.story-credits summary { cursor: pointer; color: var(--ink); font-weight: 550; min-height: 30px; }
.story-credits dl { margin: 10px 0; }
.story-credits dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 15px; margin-bottom: 10px; }
.story-credits dt { font-weight: 600; }.story-credits dd { margin: 0; }
.story-credits a { text-decoration: underline; text-underline-offset: 3px; }
.editorial .story-page .site-footer, .story-page.editorial .site-footer { background: #f0f1ea; border-color: #dde0d4; }
.editorial .footer-links a, .editorial .footer-copy { color: #596b61; font-size: 11px; }
.editorial dialog.word-sheet { inset: auto 24px 24px auto; margin: 0; width: min(380px,calc(100vw - 48px)); max-height: calc(100dvh - 48px); padding: 30px; border: 1px solid #ced7c7; border-radius: 10px; color: var(--ink); background: #fffefa; box-shadow: 0 16px 70px #172e3533; }
.editorial dialog.word-sheet:not([open]) { display: none; }
.editorial dialog.word-sheet::backdrop { background: #14291e55; backdrop-filter: blur(2px); }
.editorial .word-sheet-close { min-width: 38px; min-height: 38px; background: #eef1e7; color: #35553c; border-radius: 5px; }
.editorial .word-sheet h2 { font: 400 31px Georgia,serif; padding-right: 20px; overflow-wrap: anywhere; }
.editorial .word-sheet-label { font-size: 10px; color: #5e7751; }
.editorial .word-sheet-gloss, .editorial [data-word-sheet-gloss] { font-size: 17px; line-height: 1.5; }
.editorial .word-sheet-example { background: #f0f3ea; border-color: #dce3d5; padding: 14px; border-radius: 5px; }
.editorial .word-sheet-example p { font-size: 13px; }
.editorial .seo-hero h1 { font-family: Georgia,serif; color: var(--ink); }
.editorial .seo-book-card { border-radius: 6px; box-shadow: none; border: 1px solid #d9dfd1; background: #fffefa; }
.editorial .seo-book-card h3 { font-family: Georgia,serif; font-weight: 400; }
.editorial .seo-how h2 { font-family: Georgia,serif; }
.editorial .story-locale-menu summary, .editorial .story-locale-menu > div { color: var(--ink); background: #fffefa; border-color: #ccd6c7; }
.editorial .story-locale-menu a { color: var(--ink); }.editorial .story-locale-menu strong { color: #245a3b; background: #e7eddf; }
.editorial .story-locale-menu a:hover { background: #eef2e7; color: #245a3b; }
@media (min-width: 1400px) { .library-hero { padding-top: 85px; padding-bottom: 85px; } }
@media (max-width: 1020px) {
  .library-hero { gap: 36px; }.hero-book-stage { padding: 30px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .editorial .story-reader-layout { grid-template-columns: 155px minmax(0,1fr); gap: 24px; }
  .language-tiles { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .editorial .wrap { padding-inline: 22px; }.editorial .nav { min-height: 70px; gap: 14px; padding-block: 12px; }
  .editorial .nav .nav-spacer { display: none; }.editorial .nav .brand { margin-right: auto; flex-shrink: 0; }
  .editorial .nav .nav-link, .editorial .nav .btn { white-space: nowrap; }
  .editorial .nav .btn span[aria-hidden] { display: none; }
  .editorial .story-locale-menu { flex-shrink: 0; }
  .editorial .story-locale-menu summary { white-space: nowrap; font-size: 11px; }
  .story-page.editorial .nav:has(.story-locale-menu) { gap: 8px; }
  .story-page.editorial .nav:has(.story-locale-menu) .brand { font-size: 19px; }
  .story-page.editorial .nav:has(.story-locale-menu) .brand img { width: 27px; height: 27px; }
  .editorial .brand { font-size: 21px; }.brand-divider,.brand-section { display: none; }
  .editorial .nav-link { font-size: 11px; }.editorial .btn-nav { font-size: 11px; min-height: 40px; padding: 10px 13px; gap: 9px; }
  .library-hero { padding-top: 38px; padding-bottom: 36px; gap: 30px; grid-template-columns: 1fr; }
  .library-hero h1, .directory-hero h1 { font-size: 48px; letter-spacing: -1.6px; }.library-hero nav.eyebrow { margin-bottom: 22px; }
  .hero-description { font-size: 15px; margin: 21px 0 23px; }.hero-note { margin-bottom: 22px; }
  .hero-book { display: none; }.library-facts { font-size: 10px; gap: 8px 15px; }
  .reading-shelf { padding-top: 28px; padding-bottom: 38px; }.section-heading { display: block; margin-bottom: 23px; }
  .section-heading h2 { font-size: 31px; }.section-heading > p { margin-top: 12px; font-size: 12px; }
  .section-heading > p br { display: none; }.featured-grid { grid-template-columns: 1fr; gap: 14px; }
  .featured-grid .reading-card { flex-direction: row; padding: 18px; gap: 18px; }.featured-grid .book-art { flex: 0 0 100px; height: 144px; width: 100px; border-radius: 4px; }
  .featured-grid .book-art-type { padding: 12px; }.featured-grid .book-art-type > strong { font-size: 17px; margin: 13px 0; }
  .featured-grid .book-art-type > span { font-size: 5px; letter-spacing: .5px; }.featured-grid .book-art-type::before { inset: 7px; }
  .featured-grid .book-copy { padding: 0; }.reading-card h3 { font-size: 23px; }.book-pick { font-size: 9px; margin-bottom: 8px; }
  .book-description { font-size: 12px; margin: 12px 0 15px; }.book-meta { font-size: 9px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 12px; }.catalog-grid .book-art { flex-basis: 85px; width: 85px; height: 120px; }
  .catalog-grid .book-meta { font-size: 10px; }.catalog-grid .reading-card h3 { font-size: 21px; }.catalog-grid .book-description,.catalog-grid .book-action { font-size: 12px; }
  .catalog-grid .book-translation { font-size: 12px; }.library-controls { gap: 14px; }.library-search { width: 100%; }.library-search input { width: 100%; font-size: 16px; }
  .level-filters { gap: 6px; }.level-filters button { font-size: 10px; padding-inline: 10px; }
  .collection-caption { font-size: 10px; gap: 12px; }.collection-caption p:last-child { flex-shrink: 0; }
  .method-grid { grid-template-columns: 1fr; gap: 26px; }.reading-method { padding-block: 34px; }.method-grid h2 { font-size: 37px; }
  .method-grid li p { font-size: 13px; }.method-grid h3 { font-size: 15px; }.library-next { display: block; padding-block: 36px; }
  .library-next h2 { margin-bottom: 20px; font-size: 29px; }.editorial-footer { padding-block: 28px; }.editorial-footer nav { gap: 15px; }
  .directory-hero { padding-top: 42px; }.language-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.language-tile { padding: 19px; }
  .language-tile h2 { font-size: 21px; }.language-tile > span:last-child { right: 14px; top: 20px; font-size: 15px; }
  .editorial .story-language-link { display: none; }.editorial .story-intro { grid-template-columns: 1fr; padding-top: 25px; gap: 0; padding-bottom: 15px; }
  .editorial .story-intro .web-story-cover { display: none; }.editorial .story-intro h1 { font-size: 36px; }
  .editorial .story-reader-layout { display: block; padding-top: 0; padding-inline: 14px; }.editorial .story-reader-guide { position: static; padding: 0 8px 20px; }
  .editorial .story-reader-guide .launch-kicker,.editorial .story-reader-guide h2,.editorial .story-reader-guide ul { display: none; }
  .editorial .story-reader-guide > p:not(.launch-kicker) { font-size: 12px; margin: 0; }
  .editorial .reader-copy { padding: 10px 22px 22px; }.editorial .reader-chapter-header { padding: 23px 22px 18px; }
  .editorial .reader-grammar { margin-inline: 20px; }.editorial .reader-chapter-header h2 { font-size: 26px; }
  .editorial .reader-finish { padding: 28px 22px; }.editorial .reader-finish h2 { font-size: 26px; }.editorial .reader-store-actions { flex-direction: column; }
  .editorial .reader-store-actions .btn { min-height: 46px; }.editorial .story-about { padding-top: 0; }
  .editorial dialog.word-sheet { inset: auto 12px 12px; width: auto; max-height: calc(100dvh - 24px); padding: 26px; }
  .story-credits dl > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 380px) { .editorial .nav { gap: 11px; }.editorial .brand { font-size: 19px; }.editorial .brand img { width: 25px; height: 25px; }.library-hero h1,.directory-hero h1 { font-size: 42px; }.featured-grid .reading-card { gap: 13px; padding: 14px; }.featured-grid .book-art { flex-basis: 77px; width: 77px; height: 115px; }.featured-grid .book-art-type > strong { font-size: 14px; }.reading-card h3 { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .editorial *, .editorial *::before, .editorial *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media (max-width: 380px) {
  .story-page.editorial .nav:has(.story-locale-menu) { display: grid; grid-template-columns: 1fr auto; }
  .story-page.editorial .nav:has(.story-locale-menu) .btn-nav { grid-row: 1; grid-column: 2; }
  .story-page.editorial .story-locale-menu { grid-row: 2; grid-column: 1 / -1; justify-self: end; }
}
