@charset "UTF-8";
:root {
  color-scheme: dark;
  --surface: #191c1d;
  --surface-raised: #25292a;
  --glass: rgba(20, 34, 33, .52);
  --newsletter-glass: rgba(20, 34, 33, .30);
  --newsletter-text-shadow: 0 1px 2px #0d251fa6;
  --panel: rgba(20, 34, 33, .76);
  --card: rgba(20, 34, 33, .58);
  --dock: rgba(20, 34, 33, .68);
  --scene-wash: rgba(10, 24, 22, .12);
  --glass-filter: blur(24px) saturate(.85);
  --card-ink: #f5f3e9;
  --ink: #f5f3e9;
  --muted: #d9e0d9;
  --line: rgba(226, 236, 222, .17);
  --accent: #93e8b8;
  --accent-soft: rgba(147, 232, 184, .08);
  --dock-height: 60px;
  --ease-settle: cubic-bezier(.22, 1, .36, 1);
  --serif: 'Songti SC', 'STSong', 'SimSun', 'Times New Roman', Times, Georgia, serif;
  --sans: 'Helvetica Neue', Arial, ui-sans-serif, system-ui, 'PingFang SC', sans-serif;
  font-family: var(--sans);
  background: var(--surface);
  color: var(--ink);
}
:root[data-theme="light"] {
  color-scheme: light;
  --surface: #f3f2eb;
  --surface-raised: #e8eae2;
  --glass: rgba(249, 247, 235, .48);
  --newsletter-glass: rgba(249, 247, 235, .34);
  --newsletter-text-shadow: none;
  --panel: rgba(250, 249, 242, .82);
  --card: rgba(250, 249, 242, .68);
  --dock: rgba(249, 247, 235, .74);
  --scene-wash: rgba(249, 247, 235, .08);
  --card-ink: #202e26;
  --ink: #202e26;
  --muted: #29392f;
  --line: rgba(37, 57, 42, .18);
  --accent: #246646;
  --accent-soft: rgba(36, 102, 70, .08);
}
* { box-sizing: border-box; }
body { margin: 0; isolation: isolate; }
/* One fixed image spans every region. Glass surfaces sample this same scene. */
.site-scene { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--surface); }
.site-backdrop, .site-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-backdrop { object-fit: cover; object-position: 58% center; }
.site-shade { background: var(--scene-wash); }
.newsletter::before, .quick-links::before, .sidebar-footer::before, .newsletter-pages, .search-button, .feature-card, .dock, .app-panel, dialog {
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; border: 0; background: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, a, input, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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: -80px; padding: 12px 20px; background: var(--surface); z-index: 100; }
.skip-link:focus { top: 12px; }
.search-button { position: absolute; z-index: 3; top: auto; bottom: 20px; left: 36px; width: min(350px, calc(100% - 72px)); height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid var(--line); border-radius: 0; background: var(--card); color: var(--muted); font-size: 13px; box-shadow: 0 6px 20px #0001; }
.search-button .icon { width: 21px; height: 21px; color: var(--ink); }
.search-button kbd { margin-left: auto; font: 12px var(--sans); opacity: .7; }
.search-button:hover { border-color: var(--accent); }
.icon-button { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.icon-button:hover { background: var(--accent-soft); color: var(--accent); }
.theme-button .icon { width: 26px; height: 26px; }
.theme-button .moon, [data-theme="light"] .theme-button .sun { display: none; }
[data-theme="light"] .theme-button .moon { display: block; }
.dashboard { display: grid; grid-template-columns: clamp(280px, 25.5vw, 390px) minmax(0, 1fr); min-height: 660px; }
.sidebar { position: relative; z-index: 4; isolation: isolate; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); }
.newsletter::before, .quick-links::before, .sidebar-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--glass); pointer-events: none; }
.newsletter::before { background: var(--newsletter-glass); -webkit-backdrop-filter: blur(14px) saturate(.95); backdrop-filter: blur(14px) saturate(.95); }
.quick-links::before, .sidebar-footer::before { left: calc(-1 * var(--side-inset)); right: calc(-1 * var(--side-inset)); }
/* Keep the magazine typography on the shared room scene. */
.newsletter {
  --paper: var(--panel); --paper-ink: var(--ink); --paper-accent: var(--accent); --paper-line: var(--line);
  position: relative; isolation: isolate; min-height: 420px; flex: 1;
}
.newsletter-fold { height: 100%; }
.newsletter-toggle {
  position: relative; display: flex; flex-direction: column; min-height: 420px; height: 100%;
  padding: 30px; list-style: none; cursor: pointer; overflow: hidden; color: var(--ink); text-shadow: var(--newsletter-text-shadow);
}
.newsletter-toggle::-webkit-details-marker { display: none; }
.newsletter-toggle:focus-visible { outline-offset: -6px; }
.newsletter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.newsletter-name { font: italic 39px/1.15 Georgia, 'Times New Roman', serif; letter-spacing: -1.3px; }
.newsletter-edition { border: 1px solid var(--line); padding: 3px 5px; font-size: 10px; color: var(--ink); background: var(--glass); white-space: nowrap; }
.newsletter-copy { display: flex; flex-direction: column; margin-top: auto; padding-top: 36px; }
.newsletter-title { font: 600 clamp(20px, 1.7vw, 27px)/1.5 var(--serif); letter-spacing: .03em; }
.newsletter-description { font-size: 14px; line-height: 1.6; color: var(--ink); margin: 12px 0 21px; letter-spacing: .08em; }
.newsletter-fold-control { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 14px; }
[data-theme="light"] .newsletter-fold-control { color: #123b28; }
.newsletter-fold-control .icon { width: 18px; height: 18px; transition: transform .2s; }
.fold-label-open, .newsletter-fold[open] .fold-label-closed { display: none; }
.newsletter-fold[open] .fold-label-open { display: inline; }
.newsletter-fold[open] .newsletter-fold-control .icon { transform: rotate(180deg); }
.newsletter-pages { background: var(--paper); padding: 22px 27px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--paper-line) transparent; }
.newsletter-preview-label { color: var(--paper-accent); font-size: 10px; letter-spacing: .06em; }
.newsletter-preview-label span { color: var(--paper-ink); opacity: .6; margin-left: 8px; }
.newsletter-pages h2 { font: 27px/1.4 var(--serif); margin-top: 15px; }
.newsletter-preview-excerpt { font: 14px/1.75 var(--serif); color: var(--muted); margin-top: 12px; }
.newsletter-contents { margin-top: 20px; border-top: 1px solid var(--paper-line); }
.newsletter-contents a { display: flex; align-items: center; gap: 12px; min-height: 43px; font-size: 13px; border-bottom: 1px solid var(--paper-line); }
.newsletter-contents a>span { color: var(--paper-accent); font-size: 10px; }
.newsletter-contents .icon { width: 15px; height: 15px; margin-left: auto; opacity: .6; }
.newsletter-contents a:hover, .newsletter-read:hover { color: var(--paper-accent); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 15px; font-weight: 500; }
.text-link .icon { width: 18px; height: 18px; }
.newsletter-read { color: var(--paper-accent); margin-top: 18px; min-height: 30px; font-size: 13px; }
.js .newsletter-fold { position: absolute; inset: 0; }
.js .newsletter-fold[open] .newsletter-pages { position: absolute; inset: 94px 0 62px; }
.js .newsletter-fold[open] .newsletter-copy { visibility: hidden; }
.site-mark { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; background: #fffdf4; }
.site-mark img { width: 25px; height: 25px; object-fit: contain; }
.quick-links { --side-inset: 26px; position: relative; isolation: isolate; margin: 0 var(--side-inset); padding: 14px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.quick-links a { display: flex; align-items: flex-start; gap: 12px; padding: 20px 8px; font-size: 13px; min-width: 0; }
.quick-links a:nth-of-type(-n+2) { border-bottom: 1px solid var(--line); }
.quick-links a:nth-of-type(even) { padding-left: 17px; }
.quick-links .icon { width: 25px; height: 25px; }
.quick-links small { display: block; color: var(--muted); margin-top: 7px; font-size: 11px; white-space: nowrap; }
.quick-links a:hover { color: var(--accent); }
.quick-links-title { display: none; }
.sidebar-footer { --side-inset: 30px; position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 var(--side-inset); padding: 15px 0 20px; border-top: 1px solid var(--line); color: var(--muted); font: italic 12px var(--serif); }
.sidebar-footer span { display: flex; align-items: center; gap: 5px; font: 9px var(--sans); letter-spacing: .08em; }
.sidebar-footer .icon { width: 13px; height: 13px; }
.feature { position: relative; min-width: 0; min-height: 660px; overflow: hidden; color: #fffef5; }
.section-label { font-size: 12px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; text-shadow: 0 1px 12px #14251ac2; }
.carousel-arrows { display: flex; gap: 10px; margin-left: auto; }
.round-button { width: 42px; height: 42px; display: grid; place-items: center; background: #f6f1df91; backdrop-filter: blur(12px); border-radius: 50%; color: #17231b; }
.round-button:hover { background: #f6f1dfdb; }
.round-button:disabled { opacity: .38; cursor: default; }
#previous-slide .icon { transform: rotate(180deg); }
.feature-slide { position: relative; min-height: 660px; }
.feature-card { position: absolute; left: 36px; bottom: 144px; width: min(620px, calc(100% - 72px)); isolation: isolate; overflow: hidden; color: var(--card-ink); background: var(--card); border: 1px solid color-mix(in srgb, var(--card-ink) 12%, transparent); box-shadow: 0 8px 28px #0001; }

.feature-copy { position: relative; padding: 26px 28px 30px; z-index: 1; }
.feature-category { font-size: 12px; letter-spacing: .02em; margin-bottom: 12px; line-height: 1.5; }
.feature-category span { padding: 0 6px; opacity: .7; }
.feature-copy h1, .feature-copy h2 { font: 600 clamp(38px, 4vw, 60px)/1.2 var(--serif); letter-spacing: .02em; text-wrap: balance; }
.feature-copy h2 { font-size: clamp(34px, 3.3vw, 48px); }
.feature-description { max-width: 32em; margin-top: 13px; font-size: 14px; line-height: 1.8; color: inherit; text-wrap: pretty; }
.read-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 0; background: transparent; font-size: 13px; margin-top: 20px; transition: background .2s; }
.read-button .icon { width: 18px; height: 18px; }
.read-button:hover { background: var(--card-ink); color: var(--surface); }
.feature-bottom { position: absolute; left: 36px; right: 36px; bottom: 82px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.slide-position { appearance: none; -webkit-appearance: none; height: 44px; flex: 1; min-width: 60px; max-width: 360px; margin: 0; padding: 0; background: transparent; cursor: pointer; touch-action: none; }
.slide-position::-webkit-slider-runnable-track { height: 14px; border: 1px solid #f6f2df24; border-radius: 5px; background: #eeecdc30; box-shadow: inset 0 1px 3px #0002; }
.slide-position::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 34px; height: 10px; margin-top: 1px; border-radius: 3px; border: 1px solid #fff8; background: linear-gradient(#e7e9dd, #b9c7bb); box-shadow: 0 1px 3px #0003; cursor: grab; }
.slide-position:active::-webkit-slider-thumb { cursor: grabbing; }
.slide-position::-moz-range-track { height: 12px; border: 1px solid #f6f2df24; border-radius: 5px; background: #eeecdc30; box-shadow: inset 0 1px 3px #0002; }
.slide-position::-moz-range-thumb { width: 32px; height: 8px; border-radius: 3px; border: 1px solid #fff8; background: linear-gradient(#e7e9dd, #b9c7bb); box-shadow: 0 1px 3px #0003; cursor: grab; }
.slide-position:focus-visible { outline: none; }
.slide-position:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 3px; }
.slide-position:focus-visible::-moz-range-thumb { outline: 2px solid var(--accent); outline-offset: 3px; }
.slide-counter { flex-shrink: 0; font-size: 10px; letter-spacing: .12em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slide-counter b { font-weight: 500; }
.slide-counter span { opacity: .45; padding-left: 5px; }
.dock { display: flex; justify-content: center; padding: 4px 24px; height: calc(var(--dock-height) + env(safe-area-inset-bottom)); padding-bottom: calc(4px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--dock); }
.dock-apps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 1100px; min-width: 0; }
.dock-item { position: relative; justify-self: center; width: min(100%, 136px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 0; border-radius: 0; font-size: 11px; white-space: nowrap; }
.dock-item .icon { width: 28px; height: 28px; }
.dock-brand { font: 600 18px/1 var(--serif); letter-spacing: -.4px; }
.dock-item .site-mark { background: none; }
.dock-item .site-mark img { width: 28px; height: 28px; }
.dock-library-mark::before { content: ''; width: 25px; height: 28px; background: currentColor; mask: url('./assets/linguista/dock-library.svg') center / contain no-repeat; }
.dock-item:hover { color: var(--accent); background: var(--accent-soft); }
.dock-item.is-active { color: var(--accent); }
.dock-item.is-active::after { content: ''; position: absolute; width: 24px; height: 2px; bottom: 2px; background: var(--accent); }
.js .dock-apps { position: relative; }
.js .dock-item.is-active::after { display: none; }
.dock-indicator { position: absolute; left: 0; bottom: 2px; width: 24px; height: 2px; background: var(--accent); pointer-events: none; transition: transform 260ms var(--ease-settle), opacity 140ms ease; }
.app-panel { color: var(--ink); background: var(--panel); padding: 24px 25px 0; border: 1px solid var(--line); border-radius: 0; box-shadow: 0 12px 40px #0003; margin: 24px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-shrink: 0; margin-bottom: 15px; }
.panel-heading h2 { font: 600 32px/1.2 var(--serif); letter-spacing: -.4px; }
.panel-close { margin: -6px -10px 0 0; }
.panel-close .icon { width: 23px; height: 23px; }
.panel-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.library-tabs { position: relative; display: none; border-bottom: 1px solid var(--line); gap: 20px; flex-shrink: 0; }
.js .library-tabs { display: flex; }
.library-tabs button { min-width: 62px; height: 44px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 14px; padding: 0 10px 8px; }
.library-tabs button.is-active { color: var(--accent); border-color: var(--accent); }
.js .library-tabs button.is-active { border-color: transparent; }
.js .library-tabs::after { content: ''; position: absolute; left: 0; bottom: 0; width: var(--tab-width, 62px); height: 3px; background: var(--accent); transform: translateX(var(--tab-left, 0px)); transition: transform 240ms var(--ease-settle), width 240ms var(--ease-settle); pointer-events: none; }
.library-tabs button:hover { color: var(--ink); }
.content-row { display: flex; align-items: center; gap: 17px; padding: 16px 4px; border-bottom: 1px solid var(--line); min-height: 88px; }
.content-row:hover { background: var(--accent-soft); }
.content-row>.icon { width: 18px; height: 18px; margin-left: auto; }
.book-cover { width: 49px; height: 57px; flex-shrink: 0; object-fit: cover; background: #fffdf4; }
.row-copy { min-width: 0; }
.row-copy strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; }
.row-copy small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.panel-footer { padding: 20px 2px 23px; flex-shrink: 0; min-height: 62px; }
.panel-footer:hover { gap: 14px; }
.panel-intro { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0 0 18px; }
.article-preview { display: block; padding-bottom: 4px; }
.article-cover { display: grid; place-items: center; height: 140px; background: #52634b; margin-bottom: 16px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.preview-meta { font-size: 11px; color: var(--accent); }
.article-preview h3 { font: 600 26px/1.5 var(--serif); margin-top: 4px; }
.article-preview p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 9px; }
.panel-art, .panel-photo { height: 185px; width: 100%; margin: 5px 0 23px; overflow: hidden; object-fit: cover; }
.site-art { display: grid; place-items: center; background: #fffdf4; }
.site-art img { width: 120px; height: 120px; object-fit: contain; }
.sheet-handle { display: none; }
/* Without JavaScript, every article and panel stays readable in document flow. */
.js .dashboard { height: calc(100svh - var(--dock-height) - env(safe-area-inset-bottom)); min-height: 620px; }
.js .feature { min-height: 0; }
.js .feature-slide { position: absolute; inset: 0; min-height: 0; }
.js .feature-slide:not(.is-active):not(.is-leaving) { visibility: hidden; pointer-events: none; }
.js .feature-slide.is-leaving { pointer-events: none; }
.js .dock { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; }
.js body { padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom)); }
.js .app-panel { display: none; position: absolute; z-index: 5; top: auto; left: 36px; right: 36px; bottom: var(--main-bottom, 88px); width: auto; max-width: 760px; max-height: calc(100% - 24px - var(--main-bottom, 88px)); margin: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.js .app-panel:is([data-open], [data-closing]) { display: flex; flex-direction: column; }
.js .app-panel[data-closing] { pointer-events: none; }
/* Motion is brief and local: the shared landscape and reading layout stay still. */
.js .newsletter-fold[open] .newsletter-pages,
.js [data-library-content]:not([hidden]) { animation: content-in 220ms var(--ease-settle); }
dialog[open] { animation: search-in 220ms var(--ease-settle); }
dialog[open]::backdrop { animation: veil-in 180ms ease-out; }
.dock-item > .icon, .dock-item > .site-mark, .icon-button .icon, .round-button .icon,
.content-row > .icon, .text-link .icon { transition: transform 160ms var(--ease-settle); }
.dock-item:active > .icon, .dock-item:active > .site-mark { transform: translateY(1px) scale(.92); }
.icon-button:active .icon, .round-button:active .icon { transform: scale(.88); }
.read-button:active { transform: scale(.98); }
.read-button { transition: background 160ms ease, color 160ms ease, transform 160ms var(--ease-settle); }
.content-row:active, .library-tabs button:active { background: var(--accent-soft); }
@media (hover: hover) {
  .content-row:hover > .icon, .text-link:hover .icon { transform: translateX(3px); }
}
@keyframes content-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes search-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
@keyframes veil-in { from { opacity: 0; } }
dialog { width: min(590px, calc(100% - 28px)); max-height: 78dvh; padding: 27px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--panel); box-shadow: 0 25px 100px #0006; }
dialog::backdrop { background: #06100c40; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }.dialog-heading h2 { font: 29px var(--serif); }.dialog-heading .icon-button { margin-right: -8px; }
.search-field { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 0; padding: 0 14px; background: var(--glass); }.search-field:focus-within { border-color: var(--accent); }.search-field .icon { width: 20px; height: 20px; color: var(--muted); }
#search-input { width: 100%; min-width: 0; background: none; color: var(--ink); border: 0; height: 50px; outline: 0; font-size: 16px; }
.search-scope { font-size: 11px; color: var(--muted); margin-top: 10px; }#search-status { font-size: 12px; color: var(--muted); margin: 24px 0 5px; }
#search-results { list-style: none; padding: 0; margin: 0; }#search-results a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 52px; border-bottom: 1px solid var(--line); padding: 12px 3px; line-height: 1.6; font-size: 14px; }#search-results a:hover { color: var(--accent); }
body:has(dialog[open]) { overflow: hidden; }
@media (min-width: 901px) and (max-height: 800px) {
  .js .dashboard { min-height: 520px; }.newsletter { min-height: 360px; }.newsletter-toggle { min-height: 360px; padding: 23px 24px; }.newsletter-name { font-size: 33px; }.newsletter-description { margin: 9px 0 15px; }.quick-links { padding: 8px 0; }.quick-links a { padding-top: 14px; padding-bottom: 14px; }.sidebar-footer { padding-bottom: 14px; }.feature-card { bottom: 144px; }.feature-description { margin-top: 11px; }.read-button { margin-top: 18px; }
  .js .newsletter-fold[open] .newsletter-pages { inset: 72px 0 48px; padding-top: 10px; padding-bottom: 10px; }
  .newsletter-pages h2 { font-size: 23px; margin-top: 8px; }.newsletter-preview-excerpt { font-size: 13px; line-height: 1.65; margin-top: 8px; }.newsletter-contents { margin-top: 10px; }.newsletter-contents a { min-height: 32px; }.newsletter-read { margin-top: 8px; min-height: 24px; }
}
@media (max-width: 1150px) and (min-width: 901px) {
  .newsletter-toggle { padding-left: 24px; padding-right: 24px; }.newsletter-name { font-size: 33px; }
  .search-button { left: 24px; }
  .quick-links { --side-inset: 18px; }.quick-links a { gap: 9px; }.quick-links a:nth-of-type(even) { padding-left: 10px; }.quick-links small { font-size: 10px; }.sidebar-footer { --side-inset: 24px; }
  .feature-card { left: 24px; width: calc(100% - 48px); }.feature-bottom { left: 24px; right: 24px; }
}
@media (max-width: 900px) {
  :root { --dock-height: 56px; }
  .js .feature { touch-action: pan-y pinch-zoom; }
  .js .sheet-handle, .js .panel-heading { touch-action: none; }
  .js .panel-heading { user-select: none; }
  .search-button { position: fixed; top: auto; bottom: calc(var(--dock-height) + env(safe-area-inset-bottom) + 12px); left: 16px; width: calc(100% - 32px); height: 44px; font-size: 12px; }.search-button kbd { display: none; }
  .dashboard { display: flex; flex-direction: column; min-height: 0; }.js .dashboard { height: calc(100svh - var(--dock-height) - env(safe-area-inset-bottom)); min-height: 0; }
  .sidebar { border-right: 0; flex-shrink: 0; }
  .newsletter { min-height: 112px; flex: none; z-index: 6; border-bottom: 1px solid var(--line); }
  .newsletter-toggle { min-height: 111px; height: 111px; padding: 17px 22px; display: grid; grid-template-columns: minmax(0, 1fr) 18px; grid-template-rows: 1fr 1fr; gap: 3px 15px; color: var(--ink); }
  .newsletter-heading { grid-column: 1; grid-row: 1; align-self: end; justify-content: flex-start; gap: 8px; }
  .newsletter-name { font-size: 29px; letter-spacing: -.9px; }.newsletter-edition { display: none; }
  .newsletter-copy { grid-column: 1; grid-row: 2; margin: 0; padding: 0; align-self: start; }
  .newsletter-title { font: 13px/1.5 var(--sans); color: var(--ink); letter-spacing: 0; }.newsletter-description { display: none; }
  .newsletter-fold-control { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--accent); }
  .newsletter-fold-control>span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .newsletter-pages { padding: 15px 24px 16px; border-bottom: 1px solid var(--paper-line); box-shadow: 0 14px 24px #0003; }
  .newsletter-pages h2 { margin-top: 8px; font-size: 25px; line-height: 1.3; }.newsletter-preview-excerpt { margin-top: 8px; font-size: 13.5px; line-height: 1.65; }
  .newsletter-contents { margin-top: 12px; }.newsletter-contents a { min-height: 36px; }.newsletter-read { margin-top: 10px; }
  .js .newsletter-fold[open] .newsletter-pages { position: static; max-height: min(300px, calc(100svh - var(--dock-height) - 232px - env(safe-area-inset-bottom))); }
  .js .newsletter-fold[open] .newsletter-copy { visibility: visible; }
  .quick-links, .sidebar-footer { display: none; }
  .feature { min-height: 620px; }.js .feature { flex: 1; min-height: 0; --main-bottom: 82px; }.feature-slide { min-height: 600px; }.js .feature-slide { min-height: 0; }.site-backdrop { object-position: 76% center; }
  .section-label { display: none; }.carousel-arrows { gap: 8px; }.round-button { width: 40px; height: 40px; }.round-button .icon { width: 20px; height: 20px; }
  .feature-card { left: 16px; bottom: 132px; width: min(620px, calc(100% - 32px)); }.feature-copy { padding: 19px 20px 23px; }.feature-category { font-size: 11px; margin-bottom: 10px; }.feature-copy h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.22; }.feature-copy h2 { font-size: clamp(30px, 4.5vw, 36px); }.feature-description { font-size: 13px; line-height: 1.7; margin-top: 10px; max-width: 30em; }.read-button { height: 40px; margin-top: 16px; padding: 0 15px; font-size: 12px; gap: 22px; }.feature-bottom { left: 16px; right: 16px; bottom: 76px; gap: 16px; }.slide-dot { width: 30px; }.slide-counter { font-size: 9px; }
  .dock { padding-left: 12px; padding-right: 12px; }.dock-apps { gap: 2px; }.dock-item { font-size: 10px; gap: 5px; }.dock-brand { font-size: 14px; }.dock-item .icon { width: 25px; height: 25px; }.dock-item .site-mark { width: 28px; height: 28px; }.dock-item .site-mark img, .dock-library-mark::before { width: 25px; height: 25px; }
  .newsletter-pages .quick-links { display: grid; --side-inset: 0px; margin: 18px 0 0; padding: 12px 0 0; gap: 0 12px; }.newsletter-pages .quick-links::before { display: none; }.newsletter-pages .quick-links-title { display: block; grid-column: 1 / -1; font: 12px var(--sans); color: var(--muted); margin: 0 0 4px; }.newsletter-pages .quick-links a { padding: 12px 0; gap: 10px; font-size: 12px; }.newsletter-pages .quick-links small { font-size: 10px; margin-top: 4px; }.newsletter-pages .quick-links .icon, .newsletter-pages .quick-links .site-mark { width: 24px; height: 24px; }
  html:not(.js) .quick-links { display: grid; }

  .js .app-panel { top: auto; left: 16px; right: 16px; bottom: var(--main-bottom); max-width: none; max-height: calc(100% - 16px - var(--main-bottom)); padding: 20px; box-shadow: 0 8px 28px #0002; }
  .js .sheet-handle { display: grid; place-items: center; width: 64px; height: 24px; flex-shrink: 0; margin: -12px auto 2px; cursor: grab; }.js .sheet-handle::after { content: ''; width: 35px; height: 4px; border-radius: 5px; background: var(--muted); opacity: .55; }.js .sheet-handle:active { cursor: grabbing; }.panel-heading { margin-bottom: 14px; }.panel-heading h2 { font-size: 31px; }.panel-close { margin-right: -7px; }.library-tabs { gap: 21px; }.library-tabs button { font-size: 14px; min-width: 65px; height: 41px; }.content-row { min-height: 79px; padding: 12px 3px; gap: 15px; }.book-cover { width: 44px; height: 50px; font-size: 25px; }.row-copy strong { font-size: 14px; }.row-copy small { font-size: 11px; }.panel-footer { padding-top: 17px; padding-bottom: 19px; font-size: 14px; }.panel-intro { font-size: 13px; }.panel-art, .panel-photo { height: 145px; }.article-cover { height: 130px; }
  dialog { padding: 21px; max-height: 80dvh; }.dialog-heading h2 { font-size: 27px; }
}
@media (max-width: 360px) {
  :root { --dock-height: 56px; }
  .newsletter-toggle { padding-left: 17px; padding-right: 17px; column-gap: 12px; }.newsletter-name { font-size: 25px; }.newsletter-title { font-size: 12px; }.newsletter-pages { padding-left: 20px; padding-right: 20px; }

  .feature-copy { padding-left: 17px; padding-right: 17px; }.feature-bottom { gap: 10px; }.slide-dot { width: 25px; }
  .dock { padding-left: 8px; padding-right: 8px; }.dock-item { font-size: 8.5px; }.dock-brand { font-size: 12px; }.js .app-panel { padding-left: 18px; padding-right: 18px; }.row-copy strong { font-size: 13px; }.row-copy small { font-size: 10px; }
}
/* Two-stage navigation: a horizontal shelf feeds a single main-screen card. */
.card-shelf { position: absolute; z-index: 8; left: 24px; right: 24px; bottom: 12px; height: 156px; padding: 8px 12px 12px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 0; -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: 0 -4px 26px #0001; }
.shelf-heading { display: flex; align-items: center; gap: 16px; height: 38px; padding-left: 4px; }
.shelf-heading h2 { flex-shrink: 0; font: 500 14px var(--sans); }
#shelf-site { display: inline-flex; align-items: center; min-height: 34px; text-underline-offset: 4px; }
#shelf-site:hover, #shelf-site:focus-visible { color: var(--accent); text-decoration: underline; }
.shelf-description { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 11px/1.5 var(--sans); color: var(--muted); }
.shelf-links { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; flex: 0 0 88px; height: 84px; margin-left: 4px; padding-left: 16px; border-left: 1px solid var(--line); scroll-snap-align: start; }
.shelf-links a { display: inline-flex; align-items: center; min-height: 22px; flex-shrink: 0; color: var(--muted); font: 11px/1.4 var(--sans); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.shelf-links a:hover, .shelf-links a:focus-visible { color: var(--accent); text-decoration-color: currentColor; }
.shelf-links a:focus-visible { outline-offset: -2px; }
.shelf-actions { display: flex; flex-shrink: 0; margin-left: auto; gap: 2px; }
.shelf-actions .icon-button { width: 34px; height: 34px; }
.shelf-actions .icon { width: 17px; height: 17px; }
#shelf-previous .icon { transform: rotate(180deg); }
.shelf-actions button:disabled { opacity: .28; cursor: default; }
.shelf-track { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 4px 4px 8px; }
.mini-card { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 8px; flex: 0 0 112px; width: 112px; height: 84px; padding: 10px 8px; text-align: center; border: 1px solid var(--line); border-radius: 0; background: var(--accent-soft); scroll-snap-align: start; position: relative; }
.mini-card:hover, .mini-card[aria-pressed="true"] { border-color: var(--accent); }
.mini-card[aria-pressed="true"]::after { content: ''; position: absolute; bottom: -1px; left: 12px; right: 12px; height: 2px; background: var(--accent); }
.mini-card:focus-visible { outline-offset: 0; }
.mini-visual { display: grid; place-items: center; flex: 0 0 30px; color: var(--accent); }
.mini-visual img { width: 30px; height: 30px; object-fit: contain; }
.mini-visual .icon { width: 25px; height: 25px; }
.mini-copy { min-width: 0; max-width: 100%; }
.mini-copy strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 500 12px/1.45 var(--sans); text-align: center; }
.mini-copy small { display: none; margin-top: 5px; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card-text .mini-copy strong { font-size: 13px; line-height: 1.6; }
.mini-card-text .mini-copy small { display: block; }
.mini-card-cover { padding: 0; overflow: hidden; }
.mini-book { position: absolute; inset: 0; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: 19px 10px 9px 13px; text-align: left; color: var(--cover-ink); background: var(--cover-bg); box-shadow: inset 4px 0 6px #0002; }
.mini-book::after { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: #fff2; }
.mini-book-background, .mini-book-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.mini-book-photo .mini-book-background { object-fit: cover; opacity: .72; filter: grayscale(.8); mix-blend-mode: luminosity; }
.mini-book-photo .mini-book-shade { background: linear-gradient(115deg, color-mix(in srgb, var(--cover-bg) 92%, transparent), color-mix(in srgb, var(--cover-bg) 58%, transparent) 65%, color-mix(in srgb, var(--cover-bg) 25%, transparent)); }
.mini-book-icon .mini-book-background { object-fit: contain; padding: 9%; opacity: .13; transform: translate(19%, 12%) rotate(-12deg); filter: brightness(0) invert(var(--cover-invert)); }
.mini-book-icon .mini-book-shade { background: repeating-linear-gradient(0deg, #ffffff03 0 1px, transparent 1px 4px); }
.mini-book-label { position: absolute; top: 7px; left: 13px; font: 500 7px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.mini-book-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 13px/1.3 var(--serif); white-space: pre-line; text-wrap: balance; }
.mini-book-subtitle { display: block; margin-top: 5px; padding-top: 4px; border-top: 1px solid color-mix(in srgb, var(--cover-ink) 30%, transparent); font: 8px/1.2 var(--sans); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-book-subtitle:empty { display: none; }
/* Section covers share dimensions, with a different glyph and palette for each destination. */
[data-cover-kind="module"][data-motif="lines"] { --module-pattern: repeating-linear-gradient(0deg, transparent 0 10px, color-mix(in srgb, var(--cover-accent) 18%, transparent) 10px 11px); }
[data-cover-kind="module"][data-motif="grid"] { --module-pattern: repeating-linear-gradient(0deg, transparent 0 15px, color-mix(in srgb, var(--cover-accent) 16%, transparent) 15px 16px), repeating-linear-gradient(90deg, transparent 0 15px, color-mix(in srgb, var(--cover-accent) 16%, transparent) 15px 16px); }
[data-cover-kind="module"][data-motif="arch"] { --module-pattern: radial-gradient(circle at 85% 8%, transparent 0 24%, color-mix(in srgb, var(--cover-accent) 22%, transparent) 24.5% 43%, transparent 43.5%); }
[data-cover-kind="module"][data-motif="diagonal"] { --module-pattern: linear-gradient(125deg, transparent 0 58%, color-mix(in srgb, var(--cover-accent) 22%, transparent) 58% 79%, transparent 79%); }
.mini-book[data-cover-kind="module"] { justify-content: flex-end; padding: 10px 9px 11px 13px; }
.mini-book-icon[data-cover-kind="module"] { background-image: linear-gradient(0deg, var(--cover-bg), transparent 68%), var(--module-pattern, none); }
.mini-book[data-cover-kind="module"] .mini-book-shade { background: none; }
.mini-book-photo[data-cover-kind="module"] .mini-book-shade { background: linear-gradient(0deg, color-mix(in srgb, var(--cover-bg) 96%, transparent), color-mix(in srgb, var(--cover-bg) 40%, transparent)); }
.mini-book[data-cover-kind="module"] .mini-book-title { font-size: 13px; line-height: 1.35; text-wrap: pretty; }
.module-glyph { position: absolute; top: 8px; right: 9px; width: 44px; height: 44px; z-index: -1; background: var(--cover-ink); mask: var(--module-image) center / contain no-repeat; opacity: .42; pointer-events: none; }
.mini-card-cover[aria-pressed="true"]::after { z-index: 1; }
.feature.has-shelf .feature-bottom, .feature.has-shelf .search-button { visibility: hidden; pointer-events: none; }
.feature.has-detail .feature-slide, .feature.has-detail .feature-bottom { visibility: hidden; pointer-events: none; }
.js .app-panel .panel-body { flex-shrink: 0; overflow: visible; }
.js .app-panel .panel-heading { align-items: flex-start; }
.js .app-panel .panel-heading h2:focus { outline: none; }
.js .app-panel .panel-close { margin-left: auto; flex-shrink: 0; }
.js .app-panel .panel-photo { width: min(100%, 560px); height: clamp(140px, 26vh, 300px); }
.js .app-panel .site-art { background: transparent; height: 140px; place-items: start; }
.js .app-panel .site-art img { width: 100px; height: 100px; }
.detail-category { font: 12px/1.6 var(--sans); color: var(--accent); margin-bottom: 12px; }
.content-detail .panel-heading h2 { overflow-wrap: anywhere; font-size: clamp(30px, 3vw, 46px); line-height: 1.25; text-wrap: balance; }
.detail-description { margin-top: 14px; max-width: 38em; font: 15px/1.85 var(--serif); color: var(--muted); }
.detail-meta { font-size: 16px; line-height: 1.75; color: var(--muted); }
.inline-search .dialog-heading { display: none; }
@media (min-width: 901px) and (max-width: 1150px) {
  .js .app-panel { left: 24px; right: 24px; }
}
@media (max-width: 900px) {
  .card-shelf { position: fixed; left: 0; right: 0; bottom: calc(var(--dock-height) + env(safe-area-inset-bottom)); height: 150px; padding: 5px 8px 10px; }
  .shelf-heading { height: 34px; gap: 8px; }
  .shelf-heading h2 { font-size: 12px; }.shelf-description { font-size: 10px; }
  .js .dashboard:has(.is-browsing), .js .dashboard:has(.has-shelf) { height: calc(100svh - var(--dock-height) - env(safe-area-inset-bottom)); min-height: 0; }
  .js .feature:is(.is-browsing, .has-shelf) { flex: 1; min-height: 0; }
  .feature.has-shelf .feature-bottom { display: none; }
  .content-detail .panel-heading h2 { overflow-wrap: anywhere; font-size: 28px; }
  .detail-category { font-size: 11px; margin-bottom: 8px; }
  .detail-description { margin-top: 14px; max-width: 38em; font: 15px/1.85 var(--serif); color: var(--muted); }
.detail-meta { font-size: 13px; }
  .detail-copy .read-button { gap: 10px; padding: 0 12px; }
}
html:not(.js) .feature { overflow: visible; }
/* Reuse the main site's magazine cover and its two-face flip, in one DOM. */
.newsletter { min-height: 0; padding: 24px; display: grid; place-items: center; }
.newsletter .newsletter-fold { position: relative; inset: auto; width: min(100%, 330px, calc((100svh - 300px) * .75)); height: auto; aspect-ratio: 3 / 4; perspective: 1600px; }
.newsletter-face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 600ms cubic-bezier(.22,.61,.36,1), visibility 0s 300ms; }
.newsletter-cover-button { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; text-align: left; border: 1px solid var(--line); border-top: 3px solid var(--accent); background: var(--surface-raised); color: var(--ink); overflow: hidden; transform: rotateY(0); }
.newsletter-cover-button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('./assets/linguista/newsletter-geometric.svg') center / cover; opacity: .12; }
.newsletter-running-head { width: 100%; display: flex; justify-content: space-between; gap: 4px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font: 9px/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.newsletter-cover-title { display: flex; flex-direction: column; margin-top: 20px; font-family: var(--serif); line-height: 1; }
.newsletter-cover-name { font-size: clamp(28px, 3.5vw, 48px); letter-spacing: -.04em; }
.newsletter-cover-chinese { font-size: clamp(40px, 5vw, 70px); margin-top: 8px; }
.newsletter-cover-chinese > span { color: var(--accent); }
.newsletter-cover-edition { display: flex; align-items: flex-end; gap: 14px; margin-top: 23px; color: var(--accent); }
.newsletter-cover-number { font: 400 clamp(56px, 7vw, 92px)/.85 var(--serif); letter-spacing: -.06em; }
.newsletter-edition-label { display: flex; flex-direction: column; gap: 4px; font: 10px/1.4 var(--sans); letter-spacing: .06em; }
.newsletter-edition-label span:last-child { color: var(--muted); }
.newsletter-cover-topic { font: 17px/1.5 var(--serif); margin-top: 22px; }
.newsletter-cover-footer { width: 100%; display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); font: 10px/1.4 var(--sans); color: var(--muted); }
.newsletter .newsletter-face-back { padding: 20px; background: var(--surface-raised); color: var(--ink); transform: rotateY(180deg); visibility: hidden; border: 1px solid var(--line); max-height: none; overflow: auto; }
.newsletter-back-button { display: block; margin: -8px 0 14px auto; min-height: 36px; color: var(--accent); font-size: 12px; }
.newsletter-fold[data-flipped="true"] .newsletter-cover-button { transform: rotateY(-180deg); visibility: hidden; }
.newsletter-fold[data-flipped="true"] .newsletter-face-back { transform: rotateY(0); visibility: visible; transition-delay: 0s; }
.newsletter-fold[data-flipped="false"] .newsletter-cover-button { transition-delay: 0s; }
html:not(.js) .newsletter .newsletter-fold { aspect-ratio: auto; }
html:not(.js) .newsletter-face { position: relative; transform: none; visibility: visible; min-height: 400px; }
html:not(.js) .newsletter-cover-button { display: none; }
@media (min-width: 901px) and (max-height: 800px) {
  .newsletter { padding: 14px 24px; }
  .newsletter-cover-button { padding: 15px; }
  .newsletter-cover-title { margin-top: 12px; }
  .newsletter-cover-name { font-size: 31px; }.newsletter-cover-chinese { font-size: 45px; }
  .newsletter-cover-edition { margin-top: 14px; }.newsletter-cover-number { font-size: 60px; }
  .newsletter-cover-topic { margin-top: 14px; font-size: 14px; }
}
@media (max-width: 900px) {
  .newsletter { padding: 0; min-height: 136px; display: block; }
  .newsletter .newsletter-fold { width: 100%; height: 136px; aspect-ratio: auto; }
  .newsletter-cover-button { padding: 16px 22px; }
  .newsletter-running-head { display: none; }
  .newsletter-cover-title { flex-direction: row; align-items: baseline; gap: 10px; margin-top: 0; }
  .newsletter-cover-name { font-size: 30px; }.newsletter-cover-chinese { font-size: 27px; margin: 0; }
  .newsletter-cover-edition { position: absolute; right: 22px; top: 16px; margin: 0; gap: 8px; }
  .newsletter-cover-number { font-size: 42px; }.newsletter-edition-label { font-size: 8px; }
  .newsletter-cover-topic { font-size: 14px; margin-top: 10px; }
  .newsletter-cover-footer { padding-top: 8px; font-size: 9px; }
  .newsletter .newsletter-face-back { height: min(410px, calc(100svh - var(--dock-height) - 28px)); padding: 16px 22px; }
  .newsletter-pages .quick-links { margin-top: 12px; }
  .newsletter-back-button { position: sticky; top: -16px; background: var(--surface-raised); z-index: 2; padding: 0 4px; margin-bottom: 6px; }
  .feature-bottom { gap: 10px; }
  .carousel-arrows { gap: 6px; }
  .feature-bottom .round-button { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .newsletter-cover-button { padding-left: 17px; padding-right: 17px; }
  .newsletter-cover-name { font-size: 25px; }.newsletter-cover-chinese { font-size: 23px; }
  .newsletter-cover-edition { right: 17px; }.newsletter-cover-number { font-size: 34px; }
}

/* Shared cover proportions: artwork belongs to each card, never to the page scene. */
/* Reserve the same lower area for carousel controls and module shelves. */
.feature { --reading-width: 620px; --reading-height: 360px; --reading-inset: 36px; --reading-bottom: 184px; --main-bottom: var(--reading-bottom); --reading-top: 24px; --reading-padding: 28px; }
.js .feature-card.reading-card, .js .app-panel.reading-card {
  position: absolute; left: var(--reading-inset); right: auto; bottom: var(--reading-bottom); top: auto;
  width: min(var(--reading-width), calc(100% - 2 * var(--reading-inset))); max-width: none;
  height: var(--reading-height); max-height: calc(100% - var(--reading-bottom) - var(--reading-top));
  margin: 0; overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--cover-ink) 30%, transparent) transparent;
}
.reading-card {
  isolation: isolate; color: var(--cover-ink); background-color: var(--cover-bg);
  border: 1px solid color-mix(in srgb, var(--cover-ink) 22%, transparent); box-shadow: inset 6px 0 12px #0002, 0 8px 28px #0002;
}
.reading-card[data-art="photo"] {
  background-image: linear-gradient(105deg, color-mix(in srgb, var(--cover-bg) 96%, transparent), color-mix(in srgb, var(--cover-bg) 87%, transparent) 50%, color-mix(in srgb, var(--cover-bg) 38%, transparent)), var(--reading-image);
  background-size: cover; background-position: center; background-blend-mode: normal, luminosity;
}
.reading-card[data-art="icon"]::before {
  content: ''; position: absolute; z-index: -1; inset: 10% 8% 10% 36%; pointer-events: none;
  background: var(--cover-ink); mask: var(--reading-image) center / contain no-repeat;
  opacity: .12; transform: rotate(-10deg);
}
.reading-card[data-cover-kind="module"][data-art="icon"] { background-image: linear-gradient(105deg, var(--cover-bg) 30%, transparent), var(--module-pattern, none); }
.reading-card[data-cover-kind="module"][data-art="icon"]::before { inset: 15% 6% 15% 58%; opacity: .2; transform: none; }
.reading-card::after { content: ''; position: absolute; top: 0; bottom: 0; left: 8px; width: 1px; background: color-mix(in srgb, var(--cover-ink) 18%, transparent); pointer-events: none; }
.reading-card .feature-copy { min-height: 100%; padding: var(--reading-padding); display: flex; flex-direction: column; }
.reading-card :is(.feature-copy, .panel-heading) :is(h1, h2) { font: 600 clamp(30px, 3.2vw, 42px)/1.24 var(--serif); letter-spacing: .01em; overflow-wrap: anywhere; text-wrap: balance; }
.reading-card :is(.feature-category, .detail-category) { margin: 0 0 14px; font: 12px/1.5 var(--sans); color: inherit; opacity: .8; }
.reading-card :is(.feature-description, .detail-description, .detail-meta, .panel-intro) { max-width: 36em; font: 14px/1.8 var(--sans); color: inherit; }
.reading-card .feature-description { margin-top: 14px; margin-bottom: auto; }
.reading-card .read-button { align-self: flex-start; flex-shrink: 0; min-height: 44px; margin-top: 24px; color: inherit; }
.reading-card .read-button:hover { background: var(--cover-ink); color: var(--cover-bg); }
.js .app-panel.reading-card { padding: var(--reading-padding); }
.js .reading-card .panel-heading { margin-bottom: 14px; }
.js .reading-card .panel-body { display: flex; flex-direction: column; flex: 1 0 auto; }
.reading-card .detail-copy { display: flex; flex-direction: column; flex: 1; }
.reading-card .detail-description { margin-top: 12px; margin-bottom: 24px; }
.reading-card .detail-copy .read-button { margin-top: auto; }
.reading-card .detail-meta { margin-bottom: 24px; }
.reading-card :is(.panel-photo, .site-art) { display: none; }
.reading-card .panel-footer { color: inherit; padding-bottom: 0; }
.reading-card .sheet-handle::after { background: currentColor; }
@media (min-width: 901px) and (max-width: 1150px) { .feature { --reading-inset: 24px; } }
@media (max-width: 900px) {
  .feature { --reading-height: 340px; --reading-inset: 16px; --reading-bottom: 174px; --reading-top: 16px; --reading-padding: 20px; }
  .reading-card :is(.feature-copy, .panel-heading) :is(h1, h2) { font-size: 30px; }
  .reading-card :is(.feature-description, .detail-description, .detail-meta, .panel-intro) { font-size: 13px; line-height: 1.75; }
  .reading-card :is(.feature-category, .detail-category) { font-size: 11px; margin-bottom: 12px; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .newsletter::before, .quick-links::before, .sidebar-footer::before, .newsletter-pages, .search-button, .feature-card, .dock, .app-panel, .card-shelf, dialog { background: var(--surface-raised); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
