:root {
  --forest-900: #193e35; --forest-700: #326a55; --forest-100: #eaf2ec;
  --ink-950: #23322c; --ink-800: #46564d; --ink-600: #6d7b72; --ink-400: #8b968f;
  --paper: #f7f8f6; --paper-strong: #fff; --line: #e2e7e1; --line-strong: #cbd5cd;
  --coral: #d77d64; --coral-pale: #fcf0e9; --blue: #5a85ab; --blue-pale: #edf3f8;
  --reader-size: 20px; --reader-leading: 1.8; --reader-font: Georgia, "Times New Roman", serif;
  color: var(--ink-950); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none; text-rendering: optimizeLegibility; letter-spacing: 0;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: auto; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink-950); }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; border: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #dca18b; outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 226px; background: var(--forest-900); padding: 35px 17px 20px; color: #ecf2eb; display: flex; flex-direction: column; z-index: 10; }
.brand-lockup { display: flex; align-items: center; gap: 12px; padding: 0 14px 49px; }
.brand-mark { height: 34px; width: 32px; display: flex; gap: 3px; align-items: end; border-radius: 6px; padding: 6px; background: #e3ecde; }
.brand-mark span { width: 4px; border-radius: 1px; background: var(--forest-900); height: 13px; }
.brand-mark span:nth-child(2) { height: 21px; }.brand-mark span:nth-child(3) { height: 17px; }
.brand-name { font-family: Georgia, serif; font-size: 31px; line-height: 1; }
.brand-period { color: #efad90; }
.brand-caption { font-size: 8px; margin-top: 6px; color: #a7b9aa; }
.sidebar-label { color: #94afa0; font-size: 11px; padding: 0 15px 12px; }
.side-nav { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 13px; text-align: left; min-height: 47px; padding: 0 15px; color: #c0d0c4; background: transparent; border-radius: 6px; font-size: 14px; transition: background .15s, color .15s; }
.nav-item:hover { background: #295245; color: #fff; }.nav-item.is-active { background: #345b48; color: white; box-shadow: inset 3px 0 #efad90; }
.nav-item svg { width: 19px; }.nav-count { margin-left: auto; font-size: 12px; color: #fac2aa; }
.sidebar-spacer { flex: 1; min-height: 30px; }
.streak-card { border: 1px solid #436050; border-radius: 8px; background: #24473c; padding: 16px 12px; margin: 0 1px 18px; }
.streak-top { display: flex; gap: 7px; align-items: center; font-size: 11px; color: #c2d2c6; }.streak-top svg { color: #f1bd9c; width: 16px; }.streak-top strong { margin-left: auto; font-weight: 500; color: #f4f8f2; }
.streak-bar { height: 4px; margin-top: 14px; background: #436353; border-radius: 3px; overflow: hidden; }.streak-bar span { display: block; height: 100%; background: #ecab8c; }
.streak-card p { font-size: 10px; margin: 11px 0 0; color: #a9beb0; line-height: 1.6; }
.profile-button { display: flex; gap: 10px; align-items: center; padding: 12px 4px 0; border-top: 1px solid #3a5849; color: #f4f8ef; background: transparent; text-align: left; }
.avatar { background: #e8a88a; color: #574739; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }.avatar svg { width: 17px; }.profile-copy { display: grid; gap: 4px; flex: 1; }.profile-copy strong { font-size: 12px; font-weight: 500; }.profile-copy small { font-size: 10px; color: #a7baac; }.profile-button > svg { width: 16px; color: #94afa0; }
.main-area { margin-left: 226px; }
.topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 13px; font-size: 11px; color: var(--ink-400); }.breadcrumb strong { color: var(--ink-800); font-weight: 500; }
.topbar-actions { display: flex; gap: 12px; align-items: center; }.search-trigger { display: flex; gap: 10px; align-items: center; border-radius: 6px; padding: 0 10px; height: 34px; width: 214px; color: var(--ink-400); background: #eeefea; font-size: 11px; }.search-trigger svg { width: 15px; }.search-trigger kbd { margin-left: auto; font-size: 10px; background: #f7f8f3; border: 1px solid #dfe3db; border-radius: 3px; padding: 2px 4px; }
.connection-status { display: flex; gap: 4px; color: var(--ink-400); font-size: 10px; }.connection-status svg { width: 12px; }
.icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 6px; background: transparent; color: var(--ink-600); }.icon-button:hover { background: var(--forest-100); color: var(--forest-700); }
.view-root { padding: 35px 42px 48px; max-width: 1350px; margin: 0 auto; outline: none; }
.mobile-topbar, .bottom-nav { display: none; }
.eyebrow { font-size: 9px; font-weight: 600; color: var(--ink-400); }
.page-title, .view-heading h1 { font-size: 29px; font-weight: 600; line-height: 1.5; margin: 7px 0; }
.page-subtitle, .view-heading p { font-size: 12px; color: var(--ink-600); margin: 0; line-height: 1.7; }
.view-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 28px; }.view-heading .eyebrow { margin-bottom: 8px; }
.solid-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 39px; font-size: 12px; font-weight: 500; padding: 0 14px; border-radius: 6px; transition: background .15s, color .15s; white-space: nowrap; }.solid-button { background: var(--forest-900); color: #fff; }.solid-button:hover { background: var(--forest-700); }.outline-button { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-800); }.outline-button:hover { border-color: var(--forest-700); background: var(--forest-100); }.solid-button svg, .outline-button svg { width: 15px; }
.link-button { display: inline-flex; align-items: center; gap: 6px; background: transparent; padding: 7px 0; font-size: 11px; color: var(--forest-700); }.link-button:hover { color: var(--coral); }.link-button svg { width: 14px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1.3; padding: 5px 8px; border-radius: 4px; }.pill-green { background: var(--forest-100); color: var(--forest-700); }.pill-coral { background: var(--coral-pale); color: #ab6751; }.pill-neutral { background: #eef0eb; color: var(--ink-600); }
.mini-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 10px; color: var(--ink-400); }.mini-meta > span { display: inline-flex; gap: 4px; align-items: center; }.mini-meta svg { width: 12px; height: 12px; }.mini-meta .load-dot { width: 5px; height: 5px; border-radius: 50%; margin-right: -7px; background: #83a991; }.mini-meta .moderate { background: #6f99b7; }.mini-meta .higher { background: #d9a572; }
.save-icon { display: grid; place-items: center; background: transparent; width: 33px; height: 33px; border-radius: 5px; color: var(--ink-400); }.save-icon:hover, .save-icon.is-saved { color: var(--forest-700); background: var(--forest-100); }.save-icon svg { width: 16px; }
.section-label { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 31px 0 16px; }.section-label h2 { font-size: 16px; font-weight: 600; margin: 5px 0 0; }.section-label > span { color: var(--ink-400); font-size: 11px; }
.today-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.today-date { display: flex; gap: 15px; align-items: center; color: var(--ink-600); font-size: 11px; }.edition { color: var(--ink-400); font-size: 9px; border-left: 1px solid var(--line-strong); padding-left: 15px; }
.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 26px 0; }.metric-item { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); padding: 17px 20px; border-radius: 7px; background: var(--paper-strong); min-height: 82px; }.metric-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 7px; background: var(--forest-100); color: var(--forest-700); }.metric-icon.coral { background: var(--coral-pale); color: var(--coral); }.metric-icon.blue { background: var(--blue-pale); color: var(--blue); }.metric-copy { display: flex; flex-direction: column; gap: 6px; }.metric-copy small { color: var(--ink-600); font-size: 10px; }.metric-copy strong { font-size: 23px; font-weight: 500; line-height: 1; }.metric-copy em { color: var(--ink-400); font-size: 10px; font-style: normal; margin-left: 7px; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(230px, 1fr); gap: 21px; }.hero-article { background: var(--paper-strong); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }.hero-art { position: relative; height: 203px; background: #d4dbd0; overflow: hidden; }.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }.image-label { position: absolute; bottom: 14px; left: 22px; color: #fff; font-size: 9px; background: rgba(20,46,30,.65); padding: 6px 8px; border-radius: 3px; }.hero-copy { padding: 22px 24px; }.hero-eyebrow { font-size: 10px; display: flex; align-items: center; gap: 6px; color: var(--forest-700); }.hero-eyebrow > span:last-child { margin-left: auto; color: var(--ink-400); font-size: 9px; }.editor-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }.hero-copy h2 { font-family: Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1.1; margin: 13px 0 12px; }.hero-copy h2 button { font: inherit; background: transparent; padding: 0; text-align: left; }.hero-copy p { font-size: 11px; color: var(--ink-600); line-height: 1.8; margin: 0 0 20px; max-width: 540px; }.hero-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.hero-footer > span { color: var(--ink-400); font-size: 10px; }
.today-side { display: flex; flex-direction: column; gap: 16px; }.continue-card { flex: 1; display: flex; flex-direction: column; border: 1px solid var(--line); background: #eff3ee; border-radius: 8px; padding: 21px 23px; }.continue-header { display: flex; align-items: center; justify-content: space-between; gap: 4px; }.continue-card h3 { font-family: Georgia, serif; font-size: 22px; line-height: 1.2; font-weight: 400; margin: 19px 0 10px; }.first-read h3 { font-family: inherit; font-size: 17px; font-weight: 500; margin: 14px 0 9px; }.continue-card p { color: var(--ink-600); font-size: 11px; line-height: 1.8; margin: 0; }.first-read-symbol { margin-top: 24px; color: var(--forest-700); }.first-read-symbol svg { width: 37px; height: 37px; stroke-width: 1.1; }.first-read .link-button { align-self: start; margin-top: 12px; }.progress-wrap { margin-top: auto; padding-top: 22px; }.progress-label { display: flex; justify-content: space-between; color: var(--ink-600); font-size: 11px; margin-bottom: 9px; }.progress-label strong { color: var(--forest-700); }.progress-track { height: 4px; background: #d8e2d8; border-radius: 3px; overflow: hidden; }.progress-track span { display: block; height: 100%; background: var(--coral); }.progress-wrap .solid-button { margin-top: 18px; width: 100%; }
.daily-review { border: 1px solid #eadbd0; background: #fff6ef; border-radius: 8px; padding: 19px 23px; }.daily-review > div { display: flex; align-items: center; gap: 9px; }.daily-review-icon { color: #ae795f; }.daily-review-icon svg { width: 18px; }.daily-review .eyebrow { color: #ae8a75; }.daily-review h3 { font-size: 16px; font-weight: 500; margin: 11px 0 8px; }.daily-review p { font-size: 11px; color: #9e806b; margin: 0 0 7px; }.daily-review .link-button { color: #a16d54; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }.article-card { border: 1px solid var(--line); border-radius: 8px; background: var(--paper-strong); overflow: hidden; transition: border-color .15s; }.article-card:hover { border-color: var(--line-strong); }.article-cover { position: relative; display: block; padding: 0; width: 100%; aspect-ratio: 1.85; overflow: hidden; background: #e0e6dc; }.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }.article-cover:hover img { transform: scale(1.025); }.article-cover .pill { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.9); color: #53634f; }.article-body { padding: 13px 17px 19px; }.article-source { display: flex; gap: 5px; align-items: center; font-size: 9px; color: var(--ink-400); }.article-source .save-icon { margin-left: auto; height: 27px; }.article-body h3 { font-family: Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.15; margin: 4px 0 10px; min-height: 48px; }.article-body h3 button, .result-copy h3 button, .library-copy h3 button { background: transparent; padding: 0; font: inherit; text-align: left; }.article-body p { font-size: 10px; line-height: 1.8; color: var(--ink-600); margin: 0 0 17px; }.content-footnote { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 19px; margin-top: 25px; font-size: 10px; color: var(--ink-400); }.content-footnote > span { display: flex; gap: 6px; }.content-footnote svg { width: 13px; }
.discover-tools { display: flex; gap: 10px; margin-bottom: 17px; }.discover-search { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--paper-strong); border-radius: 6px; flex: 1; }.discover-search svg { color: var(--ink-400); width: 16px; }.discover-search input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; font-size: 12px; color: var(--ink-950); }.discover-search:focus-within { border-color: var(--forest-700); }.filter-button { display: flex; gap: 8px; align-items: center; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 12px; background: transparent; }.filter-button svg { width: 15px; }.filter-button.is-active { background: var(--forest-100); }.filters-panel { display: flex; align-items: center; gap: 22px; margin: -5px 0 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }.filters-panel label { display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--ink-600); }select { border: 1px solid var(--line-strong); background: var(--paper-strong); color: var(--ink-800); padding: 6px 7px; border-radius: 5px; font-size: 11px; }.topic-row { display: flex; gap: 8px; padding-bottom: 17px; overflow: auto; scrollbar-width: none; }.topic-chip { background: transparent; color: var(--ink-600); border: 1px solid var(--line); border-radius: 5px; padding: 7px 15px; font-size: 12px; flex-shrink: 0; }.topic-chip.is-active { background: var(--forest-900); color: white; border-color: var(--forest-900); }.topic-chip:hover { border-color: var(--forest-700); }
.discover-layout { display: grid; grid-template-columns: minmax(0, 1fr) 235px; gap: 24px; }.result-list { display: grid; gap: 10px; }.result-item { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 17px; align-items: center; border: 1px solid var(--line); border-radius: 7px; padding: 12px; background: var(--paper-strong); }.result-thumb { width: 100px; height: 100px; padding: 0; background: #e1e7dc; overflow: hidden; border-radius: 5px; }.result-thumb img { height: 100%; width: 100%; object-fit: cover; }.result-copy h3 { font-family: Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.2; margin: 8px 0; }.result-copy p { font-size: 10px; color: var(--ink-600); line-height: 1.65; margin: 0 0 9px; }.result-action { align-self: stretch; display: flex; flex-direction: column; align-items: end; justify-content: space-between; gap: 8px; }.editor-note { align-self: start; padding: 22px; background: var(--blue-pale); border-top: 2px solid #9ab1c2; }.editor-note h3 { font-size: 19px; font-weight: 500; line-height: 1.7; margin: 14px 0 13px; }.editor-note p { color: var(--ink-600); font-size: 11px; line-height: 1.9; margin: 0; }.editor-note-list { display: grid; gap: 13px; border-top: 1px solid #d4e0e9; margin-top: 19px; padding-top: 18px; }.editor-note-list > div { display: flex; gap: 7px; font-size: 10px; color: var(--ink-600); line-height: 1.7; }.editor-note-list svg { width: 13px; color: var(--blue); }
.empty-state { border: 1px dashed var(--line-strong); text-align: center; padding: 60px 20px; border-radius: 7px; }.empty-state > span { display: inline-block; padding: 12px; background: var(--forest-100); color: var(--forest-700); border-radius: 8px; }.empty-state h3 { font-size: 17px; font-weight: 500; margin: 14px 0 8px; }.empty-state p { font-size: 12px; color: var(--ink-600); margin: 0; line-height: 1.8; }
.review-overview { display: grid; grid-template-columns: 1.7fr 1fr; gap: 17px; margin-bottom: 26px; }.review-progress-card { padding: 24px; background: var(--forest-900); border-radius: 8px; color: white; }.review-progress-card .eyebrow { color: #a8c5b5; }.review-progress-card h2 { font-size: 22px; font-weight: 500; margin: 15px 0 9px; }.review-progress-card p { font-size: 11px; color: #b8cbbc; margin: 0; }.review-progress-bottom { display: flex; align-items: center; gap: 25px; margin-top: 27px; }.review-progress-number { font-size: 29px; }.review-progress-number small { font-size: 12px; color: #a8c5b5; }.progress-track.dark { background: #436556; width: 150px; }.review-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.review-stat { display: flex; flex-direction: column; justify-content: center; padding: 18px; background: var(--paper-strong); border: 1px solid var(--line); border-radius: 7px; }.review-stat small { font-size: 10px; color: var(--ink-600); }.review-stat strong { font-size: 28px; margin: 18px 0; font-weight: 500; }.review-stat em { font-size: 9px; color: var(--ink-400); font-style: normal; }
.review-main { display: grid; grid-template-columns: minmax(0, 1fr) 235px; gap: 23px; align-items: start; }.flashcard { background: var(--paper-strong); border: 1px solid var(--line); border-radius: 8px; padding: 25px 30px; min-height: 375px; }.flashcard-top { display: flex; align-items: center; justify-content: space-between; }.flashcard h2 { display: flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-size: 37px; font-weight: 400; margin: 36px 0 14px; overflow-wrap: anywhere; }.flashcard-context { font-family: Georgia, serif; font-size: 19px; line-height: 1.7; color: var(--ink-800); margin: 0 0 15px; }.flashcard-context mark, .lookup-context mark { background: #f9e1d7; color: #5b4a3a; border-radius: 2px; }.flashcard-source { display: flex; gap: 6px; color: var(--ink-400); font-size: 10px; line-height: 1.5; }.flashcard-source svg { width: 12px; }.flashcard-hint { color: var(--ink-400); font-size: 12px; margin: 27px 0; }.flashcard-answer { border-left: 3px solid #9db6a6; padding: 12px 15px; margin: 25px 0; background: var(--forest-100); font-size: 14px; }.flashcard-answer p { font-size: 12px; line-height: 1.7; margin: 8px 0; }.flashcard-answer small { font-size: 10px; color: var(--ink-600); }.flashcard-footer { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }.reveal-button { width: 100%; }.rating-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }.rating-button { display: flex; justify-content: center; gap: 7px; align-items: center; color: var(--ink-800); background: var(--paper); border: 1px solid var(--line); padding: 10px 7px; border-radius: 5px; font-size: 12px; }.rating-button small { display: block; color: var(--ink-400); font-size: 9px; margin-top: 4px; }.rating-button:hover { border-color: var(--forest-700); background: var(--forest-100); }.rating-button svg { width: 14px; }.up-next { padding: 20px; border-top: 2px solid #cdb8a7; background: #f3eeea; }.up-next h3 { font-size: 12px; font-weight: 500; margin: 0 0 12px; }.up-next-item { display: flex; gap: 9px; padding: 12px 0; border-top: 1px solid #e3dad2; }.up-next-item > span { width: 24px; height: 24px; display: grid; place-items: center; background: var(--paper-strong); border-radius: 5px; color: #9f8068; font-size: 11px; }.up-next-item svg { width: 12px; }.up-next-item > div { display: grid; gap: 5px; }.up-next-item strong { font-family: Georgia, serif; font-size: 16px; font-weight: 400; }.up-next-item small { font-size: 10px; color: var(--ink-400); }.up-next-item.current strong { color: var(--forest-700); }.review-done { padding: 70px 20px; text-align: center; border-top: 1px solid var(--line); }.review-done > svg { width: 48px; height: 48px; color: var(--forest-700); }.review-done h2 { font-size: 23px; font-weight: 500; margin-top: 20px; }.review-done p { color: var(--ink-600); font-size: 12px; margin-bottom: 25px; line-height: 1.8; }
.library-tabs { display: flex; gap: 25px; margin-bottom: 22px; border-bottom: 1px solid var(--line); overflow: auto; }.library-tab { background: transparent; padding: 0 0 13px; border-bottom: 2px solid transparent; color: var(--ink-600); font-size: 12px; white-space: nowrap; }.library-tab span { margin-left: 8px; font-size: 10px; color: var(--ink-400); }.library-tab.is-active { border-bottom-color: var(--coral); color: var(--forest-700); }.library-list { display: grid; gap: 10px; }.library-item { display: grid; grid-template-columns: 85px 1fr auto; align-items: center; gap: 20px; padding: 13px; background: var(--paper-strong); border: 1px solid var(--line); border-radius: 7px; }.library-thumb { width: 85px; height: 75px; border-radius: 5px; padding: 0; overflow: hidden; background: #dfe7db; }.library-thumb img { width: 100%; height: 100%; object-fit: cover; }.library-copy h3 { font-family: Georgia, serif; font-size: 21px; font-weight: 400; margin: 9px 0; }.library-status { display: flex; align-items: center; gap: 20px; }.rights-note { display: flex; gap: 10px; color: var(--ink-400); border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; }.rights-note svg { width: 15px; }.rights-note p { margin: 0; font-size: 11px; line-height: 1.7; }.word-library { display: grid; gap: 0; }.word-library-item { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 18px 4px; }.word-title { font-family: Georgia, serif; font-size: 23px; padding: 0; background: transparent; }.word-title:hover { color: var(--forest-700); }.word-library-item p { font-size: 12px; color: var(--ink-800); margin: 8px 0; }.word-library-item small { color: var(--ink-400); font-size: 10px; }.word-library-actions { display: flex; gap: 14px; align-items: center; font-size: 11px; color: var(--ink-400); }
.reader-view { padding-top: 23px; }.reader-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }.reader-back { display: inline-flex; align-items: center; gap: 7px; background: transparent; font-size: 12px; color: var(--ink-600); }.reader-actions { display: flex; gap: 7px; }.reader-layout { display: grid; grid-template-columns: minmax(0, 680px) 240px; gap: 48px; justify-content: center; }.reader-meta { display: flex; gap: 8px; align-items: center; font-size: 10px; color: var(--ink-400); margin-bottom: 17px; }.reader-title { font-family: Georgia, serif; font-size: 43px; font-weight: 400; line-height: 1.1; margin: 0 0 19px; }.reader-deck { font-family: Georgia, serif; color: var(--ink-600); font-size: 18px; line-height: 1.6; margin: 0 0 23px; }.reader-byline { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 27px; }.author { display: flex; align-items: center; gap: 8px; color: var(--ink-600); font-size: 10px; }.author-avatar { display: grid; place-items: center; font-family: Georgia, serif; font-size: 17px; width: 29px; height: 29px; background: var(--forest-100); color: var(--forest-700); border-radius: 50%; }.reader-settings { display: flex; gap: 8px; }.mode-switch { display: flex; padding: 3px; background: #e9eee7; border-radius: 6px; }.mode-switch button { background: transparent; border-radius: 4px; color: var(--ink-600); padding: 5px 12px; font-size: 11px; }.mode-switch button.is-active { background: var(--paper-strong); color: var(--forest-700); box-shadow: 0 1px 3px #0000000a; }
.reader-figure { margin: 0 0 36px; }.reader-image { width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; display: block; border-radius: 5px; }.reader-figure figcaption { font-size: 10px; margin-top: 10px; color: var(--ink-400); }.reader-paragraph { scroll-margin-top: 85px; border-left: 2px solid transparent; margin-left: -15px; padding-left: 13px; }.reader-paragraph.is-speaking { border-color: var(--coral); }.reader-content p { font-family: var(--reader-font); font-size: var(--reader-size); line-height: var(--reader-leading); color: var(--ink-800); margin: 0 0 25px; }.reader-content p.lead { color: var(--ink-950); }.vocab { display: inline; font: inherit; line-height: inherit; padding: 0; color: inherit; background: transparent; text-decoration: underline dotted #95b4a0; text-underline-offset: 5px; border-radius: 2px; }.vocab:hover, .vocab.is-selected { background: #dfecdf; color: #275b43; text-decoration-color: transparent; }.paragraph-translation { display: none; padding: 14px 18px; border-left: 2px solid #d9a892; background: var(--coral-pale); margin: -7px 0 30px; }.paragraph-translation > span { font-size: 9px; color: #a7816a; }.reader-content .paragraph-translation p { font-family: inherit; font-size: 14px; line-height: 1.95; color: var(--ink-600); margin: 7px 0 0; }.reader-main.deep .paragraph-translation { display: block; }.reader-end { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }.reader-end strong { font-size: 14px; font-weight: 500; }.reader-end p { margin: 8px 0 0; font-size: 11px; color: var(--ink-400); }
.rail-sticky { position: sticky; top: 30px; }.rail-section { margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); }.rail-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }.rail-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 10px; color: var(--ink-400); }.rail-lookup { border: 1px solid var(--line); background: var(--paper-strong); border-radius: 7px; padding: 19px 16px; }.rail-lookup.empty { background: var(--forest-100); border-color: #dbe6d9; text-align: center; padding: 30px 15px; }.rail-lookup.empty > span { color: var(--forest-700); }.rail-lookup.empty > span svg { width: 30px; height: 30px; stroke-width: 1.3; }.rail-lookup.empty p { font-size: 13px; margin: 15px 0 9px; }.rail-lookup.empty small { color: var(--ink-400); font-size: 10px; }.lookup-word { display: flex; justify-content: space-between; gap: 8px; align-items: center; }.lookup-word h3 { font-family: Georgia, serif; font-weight: 400; font-size: 23px; overflow-wrap: anywhere; margin: 0; }.lookup-word > div { display: flex; }.lookup-word .icon-button { width: 26px; height: 26px; }.lookup-word .icon-button svg { width: 13px; }.audio-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--forest-100); color: var(--forest-700); flex-shrink: 0; }.audio-btn svg { width: 14px; }.lookup-pronunciation { color: var(--ink-400); font-size: 11px; margin: 8px 0 18px; }.lookup-translation { font-size: 14px; line-height: 1.7; margin: 0 0 10px; }.lookup-meaning { color: var(--ink-600); font-size: 12px; line-height: 1.65; margin: 0; }.lookup-context { color: var(--ink-800); font-family: Georgia, serif; font-size: 13px; line-height: 1.65; border-top: 1px solid var(--line); margin: 15px 0; padding-top: 15px; }.lookup-note { font-size: 10px; color: var(--ink-400); line-height: 1.7; }.lookup-save { width: 100%; padding: 0 8px; font-size: 11px; }.rail-section h3 { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: 12px; margin: 0 0 12px; }.rail-section h3 svg { width: 15px; }.audio-control { display: flex; align-items: center; gap: 10px; }.audio-track { flex: 1; }.audio-track-top { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--ink-600); }.audio-track select { border: 0; font-size: 10px; padding: 4px; background: transparent; }.audio-note { color: var(--ink-400); font-size: 10px; margin: 12px 0 0; }.article-word-list { display: grid; gap: 4px; }.article-word-list button { display: flex; justify-content: space-between; align-items: center; background: transparent; padding: 7px 0; font-family: Georgia, serif; font-size: 15px; color: var(--ink-600); }.article-word-list button:hover { color: var(--forest-700); }.article-word-list svg { width: 12px; color: var(--ink-400); }.source-rights > span { display: flex; gap: 5px; align-items: center; font-size: 10px; color: var(--ink-400); }.source-rights svg { width: 12px; }.source-rights p { font-size: 10px; line-height: 1.8; color: var(--ink-400); }
.overlay { position: fixed; inset: 0; background: #142b2666; z-index: 40; }.sheet { position: fixed; z-index: 50; background: var(--paper-strong); box-shadow: -8px 0 40px #16302920; }.settings-sheet { top: 0; right: 0; bottom: 0; width: min(380px, 100%); padding: 27px; overflow-y: auto; }.lookup-sheet { bottom: 20px; left: 50%; transform: translateX(-50%); width: min(410px, calc(100% - 30px)); max-height: 83vh; overflow: auto; border-radius: 8px; padding: 20px; }.lookup-sheet .rail-lookup { border: 0; padding: 18px 0 0; }.lookup-sheet .lookup-word .icon-button { display: none; }.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }.sheet-head h2 { font-size: 18px; font-weight: 500; margin: 0; }.sheet-close { display: grid; place-items: center; width: 33px; height: 33px; background: var(--paper); border-radius: 6px; color: var(--ink-600); }.sheet-close svg { width: 16px; }.settings-group { padding: 23px 0; border-bottom: 1px solid var(--line); }.settings-group h3 { font-size: 11px; color: var(--ink-400); margin: 0 0 14px; font-weight: 500; }.settings-group:last-child { border-bottom: 0; }.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 48px; font-size: 13px; }.settings-row strong { font-size: 12px; font-weight: 500; }.settings-row small { display: block; font-size: 10px; color: var(--ink-400); margin-top: 7px; line-height: 1.6; }.stepper { display: flex; align-items: center; gap: 4px; }.stepper output { min-width: 43px; text-align: center; font-size: 11px; }.toggle { background: #c5d1c8; width: 36px; height: 21px; padding: 2px; border-radius: 20px; }.toggle::after { content: ''; display: block; width: 17px; height: 17px; border-radius: 50%; background: white; transition: transform .15s; }.toggle.is-on { background: var(--forest-700); }.toggle.is-on::after { transform: translateX(15px); }.settings-export { width: 100%; margin: 14px 0; }.settings-note { font-size: 11px; line-height: 1.9; color: var(--ink-600); }.toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 8px); z-index: 100; pointer-events: none; padding: 12px 19px; border-radius: 6px; background: #264c3f; color: #f6faf4; opacity: 0; transition: transform .2s, opacity .2s; font-size: 12px; max-width: calc(100% - 30px); text-align: center; box-shadow: 0 6px 20px #193e3533; }.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }.noscript { margin-left: 260px; padding: 20px; }
body.dark { --paper: #191f1c; --paper-strong: #242c26; --ink-950: #ebf0e8; --ink-800: #cad6cb; --ink-600: #a2b2a5; --ink-400: #8e9e90; --line: #3b483e; --line-strong: #4b5c4e; --forest-100: #2d4434; --forest-700: #a6cbb3; --coral-pale: #3f3029; --blue-pale: #283b42; }
body.dark .solid-button { background: #396449; }body.dark .pill-neutral, body.dark .search-trigger, body.dark .mode-switch { background: #2e3930; }body.dark .search-trigger kbd { background: #364639; border-color: #4b5c4e; }body.dark .continue-card { background: #26362a; }body.dark .daily-review { background: #332b23; border-color: #5c4231; }body.dark .up-next { background: #302c26; }body.dark .up-next-item { border-color: #4b4036; }body.dark .flashcard-context mark, body.dark .lookup-context mark { background: #6a4534; color: #f1dccc; }body.dark .vocab:hover, body.dark .vocab.is-selected { background: #3b5540; color: #d3e8d7; }
@media (min-width: 1600px) { .view-root { padding-left: 65px; padding-right: 65px; }.topbar { padding-left: 65px; padding-right: 65px; }.hero-art { height: 240px; } }
@media (max-width: 1200px) { .sidebar { width: 202px; padding-left: 12px; padding-right: 12px; }.main-area { margin-left: 202px; }.view-root { padding-left: 27px; padding-right: 27px; }.topbar { padding: 0 27px; }.hero-art { height: 180px; }.feature-grid { gap: 16px; grid-template-columns: 1.65fr 1fr; }.hero-copy h2 { font-size: 27px; }.discover-layout { grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; }.reader-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 220px; }.connection-status { display: none; } }
@media (max-width: 1060px) { .reader-layout { display: block; max-width: 720px; margin: 0 auto; }.reader-rail { display: none; }.discover-layout { display: block; }.editor-note { display: none; }.hero-footer { flex-wrap: wrap; }.hero-footer > span { font-size: 9px; }.metric-item { padding: 15px; }.article-body { padding: 13px; }.review-main { grid-template-columns: 1fr 190px; gap: 16px; }.flashcard { padding: 22px; }.review-overview { grid-template-columns: 1.5fr 1fr; }.review-stat { padding: 12px; } }
@media (max-width: 780px) { .sidebar, .topbar { display: none; }.main-area { margin: 0; }.mobile-topbar { height: 61px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }.mobile-brand { font-family: Georgia, serif; font-size: 29px; color: var(--ink-950); }.topbar-actions { gap: 7px; }.view-root { padding: 26px 20px 95px; }.bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; border-top: 1px solid var(--line); background: var(--paper-strong); padding: 5px 10px calc(8px + env(safe-area-inset-bottom)); }.bottom-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 51px; background: transparent; color: var(--ink-400); font-size: 10px; }.bottom-nav-item.is-active { color: var(--forest-700); }.bottom-nav-item svg { width: 20px; }.page-title, .view-heading h1 { font-size: 25px; }.today-intro { align-items: start; }.today-intro > .outline-button { min-height: 33px; padding: 0 9px; font-size: 10px; margin-top: 34px; }.today-intro > .outline-button svg { display: none; }.edition { display: none; }.metric-strip { gap: 9px; margin: 22px 0; }.metric-item { padding: 14px 11px; min-height: 80px; gap: 8px; }.metric-icon { width: 30px; height: 30px; }.metric-icon svg { width: 15px; }.metric-copy strong { font-size: 22px; }.metric-copy em { font-size: 9px; margin-left: 4px; }.metric-copy small { font-size: 9px; }.feature-grid { display: block; }.hero-art { height: 220px; }.hero-copy { padding: 21px; }.hero-copy h2 { font-size: 31px; max-width: 520px; }.hero-copy p { font-size: 12px; }.hero-footer > span { font-size: 10px; }.today-side { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.continue-card, .daily-review { padding: 19px; }.first-read-symbol { margin-top: 17px; }.first-read h3, .daily-review h3 { font-size: 15px; }.article-grid { gap: 13px; grid-template-columns: 1fr 1fr; }.article-grid > article:last-child { display: none; }.article-body h3 { font-size: 23px; min-height: 53px; }.content-footnote > span:last-child { display: none; }.view-heading { align-items: start; flex-wrap: wrap; gap: 15px; }.view-heading h1 { line-height: 1.6; }.discover-tools { margin-top: 10px; }.topic-chip { padding: 8px 13px; }.review-overview { display: block; }.review-stats { margin-top: 13px; }.review-stat { padding: 15px; }.review-stat strong { margin: 13px 0; }.review-main { display: block; }.review-sidebar { display: none; }.rating-actions { gap: 7px; }.rating-button { font-size: 11px; }.rating-button svg { display: none; }.flashcard { padding: 22px; }.flashcard h2 { font-size: 36px; }.flashcard-context { font-size: 18px; }.reader-top { margin-bottom: 25px; }.reader-title { font-size: 38px; }.reader-deck { font-size: 17px; }.reader-byline { gap: 13px; }.reader-figure { margin-bottom: 30px; }.reader-content p { font-size: var(--reader-size); }.reader-end { flex-direction: column; align-items: start; }.reader-end .solid-button { width: 100%; }.lookup-sheet { bottom: calc(10px + env(safe-area-inset-bottom)); }.toast { bottom: 85px; }.settings-sheet { padding: 24px; }.library-item { gap: 12px; grid-template-columns: 68px 1fr; }.library-thumb { width: 68px; height: 70px; }.library-copy h3 { font-size: 21px; }.library-status { grid-column: 2; justify-content: space-between; margin-top: -4px; }.library-tabs { gap: 19px; }.word-library-actions { gap: 7px; }.filters-panel { gap: 13px; flex-wrap: wrap; } }
@media (max-width: 420px) { .view-root { padding-left: 17px; padding-right: 17px; }.page-title, .view-heading h1 { font-size: 23px; }.today-intro > .outline-button { display: none; }.metric-item { display: block; padding: 13px 11px; min-height: 99px; }.metric-icon { margin-bottom: 9px; width: 25px; height: 25px; }.metric-copy { gap: 7px; }.metric-copy strong { font-size: 21px; }.hero-art { height: 180px; }.hero-copy h2 { font-size: 29px; }.hero-copy { padding: 19px; }.today-side { grid-template-columns: 1fr; }.first-read { display: none; }.daily-review { padding: 18px 20px; }.article-grid { grid-template-columns: 1fr; }.article-grid > article:last-child { display: block; }.article-cover { aspect-ratio: 1.95; }.article-body { padding: 14px 18px 19px; }.article-body h3 { min-height: 0; }.article-body p { font-size: 11px; }.result-item { grid-template-columns: 76px minmax(0, 1fr); gap: 13px; align-items: start; }.result-thumb { width: 76px; height: 89px; }.result-copy h3 { font-size: 19px; margin-top: 6px; }.result-copy .eyebrow { font-size: 8px; }.result-action { grid-column: 2; flex-direction: row-reverse; align-items: center; margin-top: -6px; }.reader-title { font-size: 36px; }.reader-meta { flex-wrap: wrap; }.author { font-size: 9px; }.reader-settings { width: 100%; justify-content: space-between; }.mode-switch { flex: 1; }.mode-switch button { flex: 1; }.flashcard h2 { font-size: 33px; }.library-tabs { gap: 15px; }.library-tab { font-size: 11px; }.library-tab span { margin-left: 5px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
