@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: optional; src: url("/fonts/inter-latin-v20.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-latin-ext-v20.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }
:root {
color-scheme: light;
--background: #ffffff;
--surface: #fafafa;
--surface-raised: #ffffff;
--foreground: #09090b;
--muted: #71717a;
--subtle: #a1a1aa;
--border: #e4e4e7;
--input: #d4d4d8;
--primary: #18181b;
--primary-hover: #27272a;
--primary-foreground: #fafafa;
--danger: #b42318;
--focus: #18181b;
--shadow: rgba(9, 9, 11, .06);
--scrim: rgba(9, 9, 11, .45);
--accent: #e11d48;
--cta: #e11d48;
--cta-hover: #be123c;
--cta-foreground: #ffffff;
--brand-google: #ffffff;
--brand-google-ink: #1f1f1f;
--brand-google-border: #747775;
--brand-discord: #5865f2;
--brand-discord-hover: #4752c4;
--brand-discord-ink: #ffffff;
--rank-first: #8a5b00;
--rank-second: #52606d;
--rank-third: #9a4f1d;
--accent-green: #15803d;
--status-saved: #d97706;
--status-reading: #2563eb;
--status-paused: #ea580c;
--status-finished: #16a34a;
--status-dropped: #6b7280;
--content: 1024px;
--gutter: clamp(2rem, 8vw, 2.5rem);
--text-label: .6875rem;
--text-caption: .75rem;
--text-body: .8125rem;
--text-title: .875rem;
--text-lead: 1rem;
--text-stat: 1.25rem;
--text-section: 1.125rem;
--text-display: 1.75rem;
--text-prose: .875rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-strong: 600;
--radius-sm: 6px;
--radius: 8px;
--radius-lg: 12px;
--radius-pill: 999px;
--inset-card: 1.1rem;
--shadow-pop: 0 1px 2px var(--shadow), 0 8px 24px -4px var(--shadow);
--ring-field: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent);
--control-h: 36px;
--medal-first: #f5c542;
--medal-first-ink: #5a4300;
--medal-second: #c7d0da;
--medal-second-ink: #3a4453;
--medal-third: #eaa066;
--medal-third-ink: #6b3410;
--plinth: color-mix(in srgb, var(--foreground) 3%, var(--background));
--badge-fill: color-mix(in srgb, var(--foreground) 5%, var(--background));
--badge-fill-hover: color-mix(in srgb, var(--foreground) 9%, var(--background));
}
:root[data-theme="dark"] {
color-scheme: dark;
--background: #1c1c1c;
--surface: #303030;
--surface-raised: #242424;
--foreground: #fafafa;
--muted: #a0a0a0;
--subtle: #737373;
--border: rgba(255, 255, 255, .1);
--input: rgba(255, 255, 255, .15);
--primary: #e5e5e5;
--primary-hover: #d4d4d4;
--primary-foreground: #1c1c1c;
--danger: #d54444;
--focus: #737373;
--shadow: rgba(0, 0, 0, .4);
--scrim: rgba(0, 0, 0, .62);
--accent: #fb7185;
--cta: #fb7185;
--cta-hover: #fda4af;
--cta-foreground: #1c1c1c;
--rank-first: #f6c453;
--rank-second: #cbd5e1;
--rank-third: #e9a66c;
--accent-green: #4ade80;
--status-saved: #fbbf24;
--status-reading: #60a5fa;
--status-paused: #fb923c;
--status-finished: #4ade80;
--status-dropped: #9ca3af;
}
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scrollbar-gutter: stable; background: var(--plinth); }
@supports (animation-timeline: scroll()) {
html, body { animation: canvas-ends linear both; animation-timeline: scroll(root); }
}
@keyframes canvas-ends {
0%, 97% { background-color: var(--background); }
100% { background-color: var(--plinth); }
}
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--muted) 40%, transparent) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 42%, transparent); border-radius: var(--radius-pill); border: 3px solid transparent; background-clip: padding-box; }
@media (hover: hover) { ::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--muted) 68%, transparent); background-clip: padding-box; } }
::-webkit-scrollbar-corner { background: transparent; }
body {
margin: 0;
max-width: 100%;
min-height: 100vh;
min-height: 100dvh;
display: flex;
flex-direction: column;
overflow-x: clip;
background: var(--background);
color: var(--foreground);
font-family: Inter, "Inter Fallback", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 16px;
line-height: 1.5;
text-rendering: optimizeLegibility;
}
.site-canvas { flex: 1 0 auto; display: flex; flex-direction: column; background: var(--background); padding-bottom: 4rem; padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.site-main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
a, button, summary, label, [role="button"], input, select, textarea { touch-action: manipulation; }
button, summary, [role="button"] { -webkit-user-select: none; user-select: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-block-start: 0; }
[lang="zh-Hans"] { font-family: "Noto Sans SC", "Microsoft YaHei", ui-sans-serif, sans-serif; }
::selection { background: color-mix(in srgb, var(--primary) 24%, transparent); }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 100; padding: .45rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--foreground); font-size: var(--text-body); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
}
:where(a, button, select, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
outline: 2px solid var(--focus);
outline-offset: 2px;
}
:where(textarea, input:not([type="checkbox"]):not([type="radio"])):focus-visible { outline: 0; border-color: var(--focus); box-shadow: var(--ring-field); }
:where(input[type="checkbox"], input[type="radio"]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.site-header {
position: relative;
z-index: 50;
background: var(--background);
padding-top: env(safe-area-inset-top, 0px);
padding-left: env(safe-area-inset-left, 0px);
padding-right: env(safe-area-inset-right, 0px);
}
.site-footer { background: var(--plinth); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.75rem 3rem; width: min(var(--content), calc(100% - var(--gutter))); margin: 0 auto; padding: 2.25rem 0 calc(2.6rem + env(safe-area-inset-bottom, 0px)); }
.footer-brand-col { display: flex; flex-direction: column; gap: .8rem; }
.footer-brand { color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-normal); }
.footer-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-nav a, .footer-legal a { color: var(--muted); font-size: var(--text-body); }
.footer-more { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; align-items: start; gap: .8rem 2rem; }
.footer-more-label { grid-column: 1 / -1; color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); text-transform: uppercase; letter-spacing: .05em; }
.footer-app { display: flex; align-items: center; gap: .6rem; }
.footer-app-ico { flex: none; width: 24px; height: 24px; border-radius: var(--radius-sm); }
.footer-app-txt { display: flex; flex-direction: column; gap: .04rem; min-width: 0; }
.footer-app-txt strong { font-weight: var(--weight-normal); font-size: var(--text-body); color: var(--muted); }
.footer-app-txt span { color: var(--muted); font-size: var(--text-caption); }
@media (hover: hover) { .footer-nav a:hover, .footer-legal a:hover, .footer-app:hover strong { color: var(--foreground); } }
.header-inner {
--header-gap: clamp(.85rem, 2vw, 1.75rem);
--nav-gap: .3rem;
display: grid;
grid-template-columns: auto minmax(220px, 320px) minmax(0, 1fr) auto;
align-items: center;
gap: var(--header-gap);
width: min(var(--content), calc(100% - var(--gutter)));
min-height: 64px;
margin: 0 auto;
position: relative;
}
.brand-wordmark {
font-size: 1.06rem;
font-weight: var(--weight-strong);
letter-spacing: -.03em;
}
.nav-scroller {
display: flex;
justify-content: flex-end;
min-width: 0;
overflow: visible;
padding-inline: 4px;
}
.main-nav { display: flex; align-items: center; gap: var(--nav-gap); width: max-content; }
.nav-link {
border-radius: var(--radius-sm);
padding: .55rem .7rem;
color: var(--muted);
font-size: var(--text-title);
font-weight: var(--weight-medium);
transition: background .1s ease, color .1s ease;
-webkit-user-select: none;
user-select: none;
}
@media (hover: hover) { .nav-link:hover { background: var(--surface); color: var(--foreground); } }
.nav-link.is-active { background: var(--surface); color: var(--foreground); }
.nav-group { position: relative; }
.nav-group > summary { display: flex; align-items: center; gap: .3rem; cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary .ico-chevron { width: 12px; height: 12px; color: var(--subtle); transition: transform .16s ease; }
.nav-group[open] > summary { background: var(--surface); color: var(--foreground); }
.nav-group[open] > summary .ico-chevron { transform: rotate(180deg); }
.nav-menu {
position: absolute;
top: calc(100% + .3rem);
left: 0;
z-index: 70;
display: grid;
min-width: 8.5rem;
padding: .3rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-raised);
box-shadow: var(--shadow-pop);
transform-origin: top left;
animation: popIn .14s ease-out;
}
.nav-group:last-child .nav-menu { transform-origin: top right; }
.nav-menu::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: -.4rem;
height: .4rem;
}
.nav-group:last-child .nav-menu { left: auto; right: 0; }
.nav-menu-link { display: flex; align-items: center; gap: .55rem; border-radius: var(--radius); padding: .4rem; color: var(--muted); font-size: var(--text-title); font-weight: var(--weight-normal); white-space: nowrap; -webkit-user-select: none; user-select: none; transition: background .12s ease, color .12s ease; }
.nav-menu-link > svg { flex: none; width: 16px; height: 16px; color: var(--muted); }
@media (hover: hover) { .nav-menu-link:hover { background: var(--surface); color: var(--foreground); } }
.nav-menu-link:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; background: var(--surface); color: var(--foreground); }
@media (pointer: coarse) { .nav-menu-link { display: flex; align-items: center; min-height: 40px; } }
.nav-menu-link.is-active { color: var(--foreground); font-weight: var(--weight-medium); }
.nav-back { display: none; }
.nav-drawer { gap: .1rem; }
.nav-drawer[hidden] { display: none; }
.nav-drawer:not(.is-sheet) { top: 100%; left: calc(var(--gutter) / 2); right: calc(var(--gutter) / 2); max-height: calc(100dvh - 5rem); overflow-y: auto; padding: .75rem; }
.nav-drawer-row { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .5rem; border-radius: var(--radius); color: var(--foreground); font-size: var(--text-title); font-weight: var(--weight-medium); line-height: 1.3; list-style: none; cursor: pointer; -webkit-user-select: none; user-select: none; transition: background .12s ease; }
.nav-drawer-row::-webkit-details-marker { display: none; }
.nav-drawer-row > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-drawer-row .source-ico { flex: none; width: 20px; height: 20px; }
.nav-drawer-row .ico-chevron { flex: none; width: 16px; height: 16px; color: var(--muted); transition: transform .15s ease; }
.nav-drawer-source[open] > .nav-drawer-row .ico-chevron { transform: rotate(180deg); }
.nav-drawer-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: 0 .25rem; padding: 0 0 .35rem calc(20px + .6rem); }
.nav-drawer-link { display: flex; align-items: center; min-width: 0; min-height: 44px; padding: 0 .5rem; border-radius: var(--radius); color: var(--muted); font-size: var(--text-title); white-space: nowrap; transition: background .12s ease, color .12s ease; }
@media (hover: hover) { .nav-drawer-link:hover, .nav-drawer-row:hover { background: var(--surface); color: var(--foreground); } }
.nav-drawer-link:focus-visible, .nav-drawer-row:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; background: var(--surface); }
.nav-drawer-link.is-active { color: var(--foreground); font-weight: var(--weight-medium); }
.nav-drawer-row > .ico-blog { flex: none; width: 20px; height: 20px; color: var(--muted); }
@media (min-width: 701px) { .nav-drawer { display: none; } }
.global-search { display: flex; align-items: stretch; border: 1px solid var(--input); border-radius: var(--radius); background: var(--surface-raised); overflow: hidden; }
.global-search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: .52rem .7rem; outline: 0; font-size: var(--text-title); }
.global-search input:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.global-search button { display: grid; place-items: center; border: 0; border-left: 1px solid var(--border); background: transparent; padding: 0 .7rem; color: var(--muted); }
@media (hover: hover) { .global-search button:hover { background: var(--surface); color: var(--foreground); } }
.global-search button .ico-search { width: 15px; height: 15px; }
.mobile-search { display: none; }
.mobile-search .search-field { flex: 1; }
.searchbox { display: flex; align-items: center; width: 100%; height: 40px; border: 1px solid var(--input); border-radius: var(--radius-pill); background: var(--surface-raised); }
.desktop-search .searchbox { height: 36px; }
.desktop-search { margin-left: clamp(.5rem, 2vw, 1.5rem); }
.searchbox:focus-within { border-color: var(--muted); }
.searchbox:has(input:focus-visible), .searchbox:has(.search-scope:focus-visible), .searchbox:has(.cs-btn:focus-visible) {
border-color: var(--focus);
box-shadow: var(--ring-field);
}
.searchbox .search-lead { display: grid; flex: none; place-items: center; padding-left: .8rem; color: var(--subtle); }
.searchbox .search-lead .ico-search { width: 15px; height: 15px; }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 .5rem; outline: 0; font-size: var(--text-title); }
.searchbox input::-webkit-search-cancel-button, .searchbox input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.searchbox input:focus-visible { outline: 0; box-shadow: none; }
.searchbox .search-scope { flex: none; align-self: stretch; margin: .3rem 0; padding: 0 .55rem 0 .6rem; border: 0; border-left: 1px solid var(--border); background: transparent; color: var(--muted); font: inherit; font-size: var(--text-caption); font-weight: var(--weight-medium); line-height: 1; cursor: pointer; appearance: none; -webkit-appearance: none; }
.searchbox .search-scope:focus-visible { outline: 0; color: var(--foreground); }
@media (hover: hover) { .searchbox .search-scope:hover { color: var(--foreground); } }
.searchbox .cs { flex: none; align-self: stretch; display: flex; margin: .3rem 0; border-left: 1px solid var(--border); }
.searchbox .cs-btn { min-height: 0; height: auto; gap: .3rem; margin: 0; padding: 0 .6rem 0 .65rem; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: var(--text-caption); font-weight: var(--weight-medium); white-space: nowrap; }
@media (hover: hover) { .searchbox .cs-btn:hover { color: var(--foreground); } }
.searchbox .cs.is-open .cs-btn, .searchbox .cs-btn:focus-visible { box-shadow: none; color: var(--foreground); }
.searchbox .cs-caret { width: 13px; height: 13px; }
.cs.is-icon-only .cs-label { display: grid; place-items: center; }
.cs.is-icon-only .cs-label .cs-ico { margin-right: 0; }
.searchbox .cs.is-icon-only .cs-btn { padding: 0 .55rem 0 .6rem; }
.searchbox .cs-menu { top: calc(100% + .7rem); right: 0; left: auto; min-width: 9rem; z-index: 80; overflow: visible; }
.searchbox .cs-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.searchbox .cs-menu.is-sheet::before { content: none; }
.mobile-search .searchbox .search-scope, .mobile-search .searchbox .cs { border-left: 0; }
.mobile-search .searchbox .cs-btn { position: relative; padding: 0 .6rem; border-radius: var(--radius-pill); background: var(--surface); color: var(--foreground); }
.mobile-search .searchbox .cs.has-icon .cs-btn { padding-left: .35rem; }
.mobile-search .searchbox .cs.is-icon-only .cs-btn { padding: 0 .5rem 0 .4rem; }
.mobile-search .searchbox .cs-btn::after { content: ""; position: absolute; inset: -7px -2px; }
.mobile-search .searchbox .search-clear { position: relative; width: 44px; }
.mobile-search .searchbox .search-clear::after { content: ""; position: absolute; inset: -2px 0; }
.searchbox .search-clear { display: grid; flex: none; place-items: center; width: 36px; height: 100%; border: 0; background: transparent; color: var(--muted); }
@media (hover: hover) { .searchbox .search-clear:hover { color: var(--foreground); } }
.searchbox .search-clear .ico-x { width: 14px; height: 14px; }
.nf-find { display: flex; flex-direction: column; align-items: center; gap: .6rem; width: min(26rem, 100%); margin: 1.75rem auto 3rem; }
.nf-find .search-field { width: 100%; min-width: 0; }
.state-page:has(+ .nf-find) { min-height: 0; padding: clamp(2.5rem, 12vh, 6rem) 0 0; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.25rem; }
.nf-links a { padding: .6rem 0; color: var(--muted); font-size: var(--text-body); }
@media (hover: hover) { .nf-links a:hover { color: var(--foreground); } }
.search-field { position: relative; }
.search-field .global-search { width: 100%; }
.search-suggest { display: none; position: absolute; top: calc(100% + .4rem); left: 0; right: 0; z-index: 70; max-height: 400px; overflow-y: auto; padding: .3rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-pop); scrollbar-width: none; }
.search-suggest::-webkit-scrollbar { display: none; }
.search-suggest.is-open { display: block; animation: popIn .14s ease-out; }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pop-above { transform-origin: bottom left; }
.nav-group:last-child .nav-menu.pop-above, .account-popover .nav-menu.pop-above, .count-note-body.pop-above { transform-origin: bottom right; }
.search-suggest-row { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; border-radius: var(--radius); color: var(--foreground); }
@media (hover: hover) { .search-suggest-row:hover { background: var(--surface); } }
.search-suggest-cover, .tag-suggest-cover { position: relative; flex: none; width: 30px; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.search-suggest-cover img, .tag-suggest-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.search-suggest-cover .cover-fallback { padding: 0; font-size: var(--text-caption); }
.search-suggest-text { display: grid; min-width: 0; }
.search-suggest-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-title); font-weight: var(--weight-medium); }
.search-suggest-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: var(--text-caption); }
.search-suggest-empty { padding: .6rem; color: var(--muted); font-size: var(--text-body); text-align: center; }
.search-suggest.is-loading .search-suggest-row { opacity: .55; transition: opacity .12s ease; }
.search-suggest-adv { display: block; margin-top: .2rem; padding: .55rem .6rem; border-top: 1px solid var(--border); color: var(--accent); font-size: var(--text-body); font-weight: var(--weight-medium); text-align: center; }
@media (hover: hover) { .search-suggest-adv:hover { background: var(--surface); } }
.search-toggle, .theme-toggle, .nav-toggle { display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: var(--radius); background: transparent; color: var(--muted); }
@media (hover: hover) { .search-toggle:hover, .theme-toggle:hover, .nav-toggle:hover { background: var(--surface); color: var(--foreground); } }
.search-toggle, .nav-toggle { display: none; }
.search-toggle .ico-search, .nav-toggle .ico-menu, .nav-toggle .ico-x { width: 18px; height: 18px; }
.nav-toggle .ico-x, .site-header.nav-open .nav-toggle .ico-menu { display: none; }
.site-header.nav-open .nav-toggle .ico-x { display: block; }
.theme-toggle svg { width: 17px; height: 17px; }
.account-slot { display: flex; align-items: center; justify-content: center; }
.account-slot [hidden] { display: none; }
.account-popover { position: relative; }
.account-popover > summary { list-style: none; cursor: pointer; -webkit-user-select: none; user-select: none; }
.account-popover > summary::-webkit-details-marker { display: none; }
.account-trigger { display: grid; width: 40px; height: 40px; place-items: center; border-radius: var(--radius); color: var(--muted); }
.account-trigger .ico-user { width: 18px; height: 18px; }
@media (hover: hover) { .account-trigger:hover { background: var(--surface); color: var(--foreground); } }
.account-popover[open] > .account-trigger { background: var(--surface); color: var(--foreground); }
.account-chip { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); font-size: var(--text-caption); font-weight: var(--weight-medium); text-transform: uppercase; }
.account-chip svg { width: 16px; height: 16px; }
@media (hover: hover) { .account-trigger.account-trigger-chip:hover { background: transparent; } }
.account-popover[open] > .account-trigger.account-trigger-chip { background: transparent; }
.account-popover[open] .account-chip { border-color: var(--input); }
.account-popover .nav-menu { left: auto; right: 0; transform-origin: top right; }
.account-popover form { margin: 0; }
.ico-provider { width: 16px; height: 16px; flex: none; }
.signin-menu { min-width: 15rem; padding: .4rem; }
.signin-buttons { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .4rem; }
.signin-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 38px; padding: .45rem .75rem; border: 1px solid transparent; border-radius: var(--radius); font-size: var(--text-body); font-weight: var(--weight-medium); white-space: nowrap; -webkit-user-select: none; user-select: none; transition: background .12s ease, border-color .12s ease; }
.signin-btn .ico-provider, .signin-btn .ico-discord { width: 17px; height: 17px; flex: none; }
.signin-btn-google { border-color: var(--brand-google-border); background: var(--brand-google); color: var(--brand-google-ink); }
.signin-btn-discord { background: var(--brand-discord); color: var(--brand-discord-ink); }
@media (hover: hover) {
.signin-btn-google:hover { background: color-mix(in srgb, var(--brand-google-ink) 6%, var(--brand-google)); }
.signin-btn-discord:hover { background: var(--brand-discord-hover); }
}
.account-signout { width: 100%; border: 0; background: transparent; font-family: inherit; text-align: left; cursor: pointer; }
.header-inner > .theme-toggle { margin-left: calc(var(--nav-gap) - var(--header-gap) - 4px); }
.header-inner > .account-slot { margin-left: calc(var(--nav-gap) - var(--header-gap)); }
.header-inner.has-account { grid-template-columns: auto minmax(220px, 320px) minmax(0, 1fr) auto auto; }
.theme-sun { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
[data-theme="dark"] .theme-moon { display: none; }
.site-main { width: min(var(--content), calc(100% - var(--gutter))); min-height: 72vh; margin: 0 auto; padding: 3rem 0 2.5rem; }
.site-main:focus { outline: 0; }
@media (min-width: 701px) {
:root { --gutter: clamp(3rem, 6vw, 6rem); }
}
.about-page { width: 100%; }
.about-page .charts-lede { max-width: none; color: var(--foreground); line-height: 1.7; font-size: var(--text-prose); }
.about-body p { max-width: none; margin: 0; color: var(--foreground); font-size: var(--text-prose); line-height: 1.7; }
.about-body p + p { margin-top: .85rem; }
.static-updated { margin: .55rem 0 0; color: var(--muted); font-size: var(--text-caption); }
.about-body .discord-btn, .about-body .contact-btn { margin-top: 1.15rem; }
.changelog-list { margin-top: 2rem; border-bottom: 1px solid var(--border); }
.changelog-release { border-top: 1px solid var(--border); }
.changelog-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: 1.25rem 0; list-style: none; cursor: pointer; }
.changelog-head::-webkit-details-marker { display: none; }
.changelog-head > :not(.ico-chevron) { grid-column: 1; }
.changelog-head .ico-chevron { grid-column: 2; grid-row: 2; align-self: center; width: 18px; height: 18px; color: var(--muted); transition: transform .16s ease; }
.changelog-release[open] > .changelog-head .ico-chevron { transform: rotate(180deg); }
@media (hover: hover) { .changelog-head:hover .ico-chevron { color: var(--foreground); } }
.changelog-head:focus-visible { outline-offset: 4px; border-radius: var(--radius-sm); }
.changelog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; color: var(--muted); font-size: var(--text-caption); font-variant-numeric: tabular-nums; }
.changelog-version { color: var(--accent); font-size: var(--text-caption); font-weight: var(--weight-strong); letter-spacing: .02em; }
.changelog-title { margin: .4rem 0 0; color: var(--foreground); font-size: var(--text-section); font-weight: var(--weight-strong); letter-spacing: -.02em; line-height: 1.25; }
.changelog-summary { display: block; margin-top: .45rem; color: var(--muted); font-size: var(--text-prose); line-height: 1.6; }
.changelog-body { padding: 0 0 1.75rem; color: var(--foreground); font-size: var(--text-prose); line-height: 1.7; }
.changelog-group { margin: 1.4rem 0 .5rem; color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .08em; text-transform: uppercase; }
.changelog-group:first-child { margin-top: .25rem; }
.changelog-body ul { margin: 0; padding-left: 1.35rem; }
.changelog-body li { margin-bottom: .5rem; }
.changelog-body li::marker { color: var(--subtle); }
.blog-index .blog-item-title, .blog-index .blog-item-desc,
.blog-index .charts-lede, .blog-post .charts-lede { max-width: none; }
.blog-cats { margin-top: 1.75rem; }
.blog-list { margin-top: .5rem; display: flex; flex-direction: column; }
.blog-item { position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: .75rem; padding: var(--inset-card); margin-inline: calc(-1 * var(--inset-card)); border-radius: var(--radius-lg); transition: background .12s ease; }
.blog-item > :not(.blog-num) { grid-column: 2; }
.blog-num { grid-column: 1; grid-row: 1 / span 3; color: var(--muted); font-size: var(--text-title); font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; line-height: calc(var(--text-lead) * 1.3); }
.blog-item + .blog-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; border-top: 1px solid var(--border); }
@media (hover: hover) { .blog-item:hover { background: var(--surface); } }
.blog-item-meta, .blog-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: .5rem 0 0; color: var(--muted); font-size: var(--text-caption); }
.blog-cat { color: var(--accent); font-weight: var(--weight-strong); font-size: var(--text-label); letter-spacing: .08em; text-transform: uppercase; }
.blog-dot { color: var(--subtle); }
.blog-sources { display: inline-flex; align-items: center; gap: .25rem; }
.blog-sources .source-ico { width: 14px; height: 14px; }
.blog-item-title { margin: 0; font-size: var(--text-lead); font-weight: var(--weight-medium); letter-spacing: -.015em; line-height: 1.3; }
.blog-item-title a { color: var(--foreground); text-decoration: none; }
.blog-item-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.blog-item-desc { margin: .55rem 0 0; color: var(--muted); font-size: var(--text-body); line-height: 1.55; }
.blog-post .charts-head { display: block; max-width: none; }
.blog-post .charts-title { max-width: none; }
.blog-post .charts-lede { max-width: none; color: var(--foreground); font-size: var(--text-prose); }
.blog-post .charts-eyebrow a { color: inherit; text-decoration: none; }
.blog-byline { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border); max-width: none; }
.blog-layout { margin-top: 2.75rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.blog-toc { order: 0; position: static; }
.blog-toc-head { display: block; color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .08em; text-transform: uppercase; }
.blog-toc-links { display: flex; gap: .4rem; margin-top: .6rem; overflow-x: auto; scrollbar-width: none; }
.blog-toc-links::-webkit-scrollbar { display: none; }
.blog-toc-links a { flex: none; padding: .35rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-raised); white-space: nowrap; color: var(--muted); font-size: var(--text-body); line-height: 1.35; text-decoration: none; }
@media (hover: hover) { .blog-toc-links a:hover { color: var(--foreground); } }
.blog-prose { order: 1; min-width: 0; color: var(--foreground); font-size: var(--text-prose); line-height: 1.7; }
.blog-prose > :first-child { margin-top: 0; }
.blog-prose p, .blog-prose ul, .blog-prose ol { margin: 0 0 1.25rem; }
.blog-prose h2 { margin: 2.6rem 0 .9rem; font-size: var(--text-section); font-weight: var(--weight-strong); letter-spacing: -.02em; line-height: 1.25; scroll-margin-top: 1.5rem; }
.blog-prose h3 { margin: 1.9rem 0 .6rem; font-size: var(--text-lead); font-weight: var(--weight-medium); letter-spacing: -.015em; line-height: 1.3; scroll-margin-top: 1.5rem; }
.blog-prose ul, .blog-prose ol { padding-left: 1.35rem; }
.blog-prose li { margin-bottom: .55rem; }
.blog-prose li::marker { color: var(--subtle); }
.blog-prose li > ul, .blog-prose li > ol { margin: .55rem 0 0; }
.blog-prose a { color: var(--foreground); text-decoration: underline; text-decoration-color: var(--input); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
@media (hover: hover) { .blog-prose a:hover { text-decoration-color: var(--foreground); } }
.blog-prose strong { font-weight: var(--weight-medium); color: var(--foreground); }
.blog-prose blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.35rem; border-left: 3px solid var(--accent); color: var(--foreground); font-size: inherit; line-height: inherit; }
.blog-prose blockquote p:last-child { margin-bottom: 0; }
.blog-prose code { padding: .12em .35em; border-radius: var(--radius-sm); background: var(--surface); font-size: .9em; }
.blog-prose hr { margin: 2.75rem 0; border: 0; border-top: 1px solid var(--border); }
.blog-prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.75rem; font-size: var(--text-body); }
.blog-prose th, .blog-prose td { border-bottom: 1px solid var(--border); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.blog-prose thead th { background: var(--surface); color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.blog-prose tbody tr:last-child > * { border-bottom: 0; }
.blog-related { max-width: none; margin-top: 4rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.blog-related .blog-list { margin-top: .75rem; }
.page-title, .display-title, .section-title { color: var(--foreground); font-weight: var(--weight-strong); letter-spacing: -.035em; overflow-wrap: anywhere; }
.display-title { max-width: 760px; margin-bottom: .8rem; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; }
.page-title { margin-bottom: .65rem; font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.1; }
.section-title { margin-bottom: 0; font-size: var(--text-section); letter-spacing: -.02em; line-height: 1.25; display: flex; align-items: baseline; gap: .5rem; }
.section-title::before { content: ""; flex: none; align-self: center; width: 3px; height: .95em; border-radius: var(--radius-pill); background: var(--accent); }
.lede { max-width: none; color: var(--muted); font-size: var(--text-prose); line-height: 1.65; }
.eyebrow { margin: 0 0 .45rem; color: var(--muted); font-size: var(--text-caption); font-weight: var(--weight-strong); letter-spacing: .04em; text-transform: uppercase; }
.section { margin-top: 3.5rem; }
.section-head, .section-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-note { margin: .3rem 0 0; color: var(--muted); font-size: var(--text-title); }
.book-meta-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .85rem; margin-top: .25rem; color: var(--muted); }
.book-meta-footer .source-freshness { margin: 0; font-size: var(--text-caption); }
.book-report { margin: 0; }
.book-meta-footer:has(.source-freshness) .book-report { display: flex; align-items: center; gap: .85rem; }
.book-meta-footer:has(.source-freshness) .book-report::before { content: ""; width: 1px; height: .8rem; background: var(--border); }
.book-meta-footer .source-freshness + .source-freshness { display: flex; align-items: center; gap: .85rem; }
.book-meta-footer .source-freshness + .source-freshness::before { content: ""; width: 1px; height: .8rem; background: var(--border); }
@media (max-width: 640px) { .book-meta-footer { justify-content: center; column-gap: .65rem; } .book-meta-footer:has(.source-freshness) .book-report, .book-meta-footer .source-freshness + .source-freshness { gap: .65rem; } }
.book-report-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--accent); font-size: var(--text-caption); text-decoration: none; text-underline-offset: 3px; }
@media (hover: hover) { .book-report-link:hover { text-decoration: underline; } }
[data-book-report-dialog] { text-align: left; }
.report-details-label { margin-top: .85rem; }
.report-privacy { margin-top: .6rem; font-size: var(--text-caption); }
[data-book-report-form] textarea { min-height: 7rem; resize: none; line-height: 1.5; }
.link-arrow, .text-link { color: var(--primary); font-size: var(--text-title); font-weight: var(--weight-medium); }
@media (hover: hover) { .link-arrow:hover, .text-link:hover { color: var(--primary-hover); } }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: .4rem; border: 1px solid transparent; border-radius: var(--radius); padding: .55rem .9rem; font-size: var(--text-title); font-weight: var(--weight-medium); transition: opacity .1s ease, background .1s ease; }
.button-primary { background: var(--primary); color: var(--primary-foreground); }
@media (hover: hover) { .button-primary:hover { background: var(--primary-hover); } }
.button-secondary { border-color: var(--input); background: var(--surface-raised); color: var(--foreground); }
@media (hover: hover) { .button-secondary:hover { background: var(--surface); } }
.field { display: grid; gap: .4rem; }
.field-label { color: var(--foreground); font-size: var(--text-body); font-weight: var(--weight-medium); }
.input, .select { width: 100%; min-height: 40px; border: 1px solid var(--input); border-radius: var(--radius); background: var(--surface-raised); padding: .55rem .7rem; outline: 0; }
.input:focus, .select:focus { border-color: var(--focus); box-shadow: var(--ring-field); }
.source-qidian { --source: var(--accent); }
.source-fanqie { --source: var(--accent); }
.source-jjwxc { --source: var(--accent); }
.source-faloo { --source: var(--accent); }
.source-badge { display: inline-flex; width: max-content; align-items: center; gap: .35rem; border: 1px solid color-mix(in srgb, var(--source, var(--primary)) 45%, var(--border)); border-radius: var(--radius-pill); background: color-mix(in srgb, var(--source, var(--primary)) 10%, transparent); padding: .2rem .5rem; color: var(--foreground); font-size: var(--text-label); font-weight: var(--weight-medium); }
.source-badge::before { width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--source, var(--primary)); content: ""; }
.source-ico { flex: none; display: inline-block; width: 16px; height: 16px; vertical-align: -.2em; }
.home-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: 1rem 3rem; align-items: end; border-bottom: 1px solid var(--border); padding: 1.25rem 0 2.5rem; }
.home-intro-copy { grid-row: span 2; }
.home-intro .display-title { max-width: 720px; }
.home-intro .lede { margin-bottom: 0; }
.home-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.source-filter-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.source-filter { display: inline-flex; min-height: 34px; align-items: center; gap: .45rem; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: .35rem .65rem; background: var(--surface-raised); color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); -webkit-user-select: none; user-select: none; }
@media (hover: hover) { .source-filter:hover { border-color: var(--input); background: var(--surface); color: var(--foreground); } }
.source-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--source); }
.home-hero { position: relative; isolation: isolate; padding: calc(99px + 1.6rem) 0 calc(99px + 1.4rem); text-align: center; }
.hero-wall { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; display: flex; width: min(100vw, 1680px); flex-direction: column; justify-content: space-between; overflow: hidden; opacity: .5; transform: translateX(-50%); -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
:root[data-theme="dark"] .hero-wall { opacity: .34; }
.hero-strip { display: flex; overflow: hidden; }
.hero-track { display: flex; flex: none; width: max-content; animation: hero-drift 90s linear infinite; }
.hero-strip:nth-child(2) .hero-track { transform: translate3d(-7%, 0, 0); animation-duration: 120s; animation-direction: reverse; }
.hero-cover { flex: none; width: 66px; height: 99px; margin-right: 6px; border-radius: var(--radius-sm); background: var(--surface); object-fit: cover; }
@keyframes hero-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-33.3333%, 0, 0); } }
.hero-copy { position: relative; max-width: 600px; margin: 0 auto; }
.hero-copy::before { position: absolute; z-index: -1; border-radius: var(--radius-lg); background: var(--background); content: ""; filter: blur(26px); inset: -2.6rem -2.25rem; }
.home-title { margin: 0 auto; max-width: 17em; color: var(--foreground); font-size: var(--text-display); font-weight: var(--weight-strong); letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.home-title-lead { display: block; }
.home-sub { max-width: 30em; margin: .8rem auto 0; color: var(--muted); font-size: var(--text-lead); line-height: 1.6; text-wrap: balance; }
.home-sources { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem; margin-top: 1.1rem; }
.home-source { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); transition: color .12s ease; }
.home-source .source-ico { width: 18px; height: 18px; }
@media (hover: hover) { .home-source:hover { color: var(--foreground); } }
.request-btn { margin-top: 1.1rem; min-height: 30px; padding: .3rem .9rem; border-radius: var(--radius-pill); background: var(--cta); color: var(--cta-foreground); font-size: var(--text-body); box-shadow: 0 1px 2px var(--shadow); transition: background .14s ease, transform .1s ease; }
.request-btn .ico-translate { width: 14px; height: 14px; color: currentColor; }
@media (hover: hover) { .request-btn:hover { background: var(--cta-hover); } }
.book-save { display: inline-flex; vertical-align: top; margin: 1.1rem 0 0 .5rem; }
.book-save-btn { min-height: 30px; padding: .3rem .9rem; border-radius: var(--radius-pill); font-size: var(--text-body); box-shadow: 0 1px 2px var(--shadow); transition: background .14s ease, border-color .14s ease, color .14s ease; }
.book-save-btn .ico { width: 14px; height: 14px; color: currentColor; }
.rt-ico { flex: none; width: 15px; height: 15px; border-radius: var(--radius-sm); }
.discord-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .58rem 1.15rem; border-radius: var(--radius-pill); background: var(--brand-discord); color: var(--brand-discord-ink); font-size: var(--text-body); font-weight: var(--weight-medium); transition: background .14s ease, transform .1s ease; }
@media (hover: hover) { .discord-btn:hover { background: var(--brand-discord-hover); } }
.contact-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .58rem 1.15rem; border-radius: var(--radius-pill); background: var(--primary); color: var(--primary-foreground); font-size: var(--text-body); font-weight: var(--weight-medium); transition: background .14s ease, transform .1s ease; }
@media (hover: hover) { .contact-btn:hover { background: var(--primary-hover); } }
.contact-btn .ico-mail { width: 19px; height: 19px; }
.discord-btn .ico-discord { width: 20px; height: 20px; }
.account-facts { display: grid; margin: 0; }
.account-facts > div { display: grid; gap: .15rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.account-facts > div:first-child { padding-top: 0; }
.account-facts > div:last-child { padding-bottom: 0; border-bottom: 0; }
.account-facts dt { color: var(--muted); font-size: var(--text-caption); }
.account-facts dd { margin: 0; color: var(--foreground); font-size: var(--text-title); overflow-wrap: anywhere; }
.account-signins { margin: 0; padding: 0; list-style: none; }
.saved-search-form { max-width: 32rem; }
.saved-search-form .browse-actions { margin-top: 1rem; }
.saved-search-dialog { width: min(26rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--foreground); box-shadow: var(--shadow-pop); }
@media (min-height: 560px) { .saved-search-dialog { overflow: visible; } }
.saved-search-dialog[open]:not(.is-sheet) { animation: dialogIn .2s ease-out; }
.saved-search-dialog.is-closing:not(.is-sheet) { animation: dialogOut .18s ease-in forwards; }
@keyframes dialogIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes dialogOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.96); } }
.saved-search-dialog::backdrop { background: var(--scrim); }
.saved-search-dialog[open]::backdrop { animation: scrimIn .2s ease; }
.saved-search-dialog.is-closing::backdrop { animation: scrimOut .2s ease forwards; }
@keyframes scrimIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrimOut { to { opacity: 0; } }
:root:has(.saved-search-dialog[open]) { overflow: hidden; }
.saved-search-dialog-card { padding: 1.25rem; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .35rem; }
.saved-search-dialog h2 { margin: 0; font-size: var(--text-lead); font-weight: var(--weight-medium); line-height: 1.35; }
.dialog-close { position: relative; display: grid; flex: none; place-items: center; width: 32px; height: 32px; margin: -.3rem -.45rem 0 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--muted); }
.dialog-close .ico-x { width: 15px; height: 15px; }
@media (hover: hover) { .dialog-close:hover { background: var(--surface); color: var(--foreground); } }
@media (pointer: coarse) { .dialog-close::after { content: ""; position: absolute; inset: -6px; } }
.saved-search-dialog-copy { margin: 0 0 1.1rem; color: var(--muted); font-size: var(--text-body); line-height: 1.55; }
.saved-search-dialog .field-label { display: block; margin-bottom: .4rem; }
.saved-search-dialog .cs { width: 100%; }
.saved-search-dialog .input, .saved-search-dialog .cs-btn { font-size: var(--text-title); }
.cs.is-invalid .cs-btn { border-color: var(--danger); }
.kbd-list { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .6rem 1.1rem; margin: .75rem 0 .1rem; }
.kbd-list dt { display: flex; gap: .25rem; }
.kbd-list dd { margin: 0; color: var(--muted); font-size: var(--text-body); }
.kbd-list kbd { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; padding: 0 .4rem; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: var(--radius-sm); background: var(--surface); color: var(--foreground); font: inherit; font-size: var(--text-caption); font-weight: var(--weight-medium); }
.saved-search-dialog .input { width: 100%; }
.saved-search-dialog .browse-actions { margin-top: 1rem; }
.saved-search-dialog-error { margin: .65rem 0 0; color: var(--danger); font-size: var(--text-body); }
.saved-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.saved-search-row:last-child { border-bottom: 0; }
.saved-search-link { display: grid; gap: .3rem; min-width: 0; padding: .1rem 0; overflow-wrap: anywhere; }
.saved-search-name { color: var(--foreground); font-size: var(--text-title); font-weight: var(--weight-medium); }
.saved-search-source { color: var(--muted); font-size: var(--text-caption); }
.saved-search-summary { color: var(--muted); font-size: var(--text-body); line-height: 1.55; }
.saved-search-delete { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; color: var(--muted); cursor: pointer; }
.saved-search-delete .ico { width: 18px; height: 18px; }
.saved-search-link:focus-visible, .saved-search-delete:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) { .saved-search-link:hover .saved-search-name { color: var(--primary); } .saved-search-delete:hover { color: var(--foreground); background: var(--surface); } }
.account-signin-name { overflow-wrap: anywhere; }
.account-signin { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; min-height: 3.6rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.account-signin:first-child { padding-top: 0; }
.account-signin:last-child { padding-bottom: 0; border-bottom: 0; }
.account-signin .ico-provider { width: 20px; height: 20px; }
.account-signin-text { display: grid; gap: .1rem; min-width: 0; }
.account-signin-name { color: var(--foreground); font-size: var(--text-title); font-weight: var(--weight-medium); }
.account-signin-note { overflow: hidden; color: var(--muted); font-size: var(--text-caption); white-space: nowrap; text-overflow: ellipsis; }
.account-signin-state { color: var(--muted); font-size: var(--text-body); white-space: nowrap; }
.account-signin .account-connect { min-height: 34px; white-space: nowrap; }
.about-body .account-meta, .account-facts .account-meta { color: var(--muted); font-size: var(--text-body); }
.about-body .account-help { margin-top: 1rem; }
.home-hero .discord-btn { margin-top: 1.35rem; }
.home-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; max-width: 640px; margin: 1.5rem auto 0; }
.home-stats div { display: flex; flex-direction: column; align-items: center; gap: .2rem; text-align: center; }
.home-stats dd { margin: 0; font-size: var(--text-stat); font-weight: var(--weight-strong); line-height: 1.1; font-variant-numeric: tabular-nums; }
.home-stats dt { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .06em; text-transform: uppercase; }
.home-genres { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; max-width: 880px; margin: 2rem auto 0; scrollbar-width: none; }
.home-genres::-webkit-scrollbar { display: none; }
.home-genre-chip { flex: none; display: inline-flex; align-items: center; min-height: 32px; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: .2rem .75rem; background: var(--surface-raised); color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); white-space: nowrap; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; transition: color .12s ease, border-color .12s ease, background .12s ease; }
@media (hover: hover) { .home-genre-chip:hover { color: var(--foreground); border-color: var(--input); background: var(--surface); } }
.home-body { display: flex; flex-direction: column; gap: 3.5rem; margin-top: 3rem; }
.home-body .section { margin-top: 0; }
.honour-badge.rank-first .honour-rank { background: var(--medal-first); color: var(--medal-first-ink); }
.honour-badge.rank-second .honour-rank { background: var(--medal-second); color: var(--medal-second-ink); }
.honour-badge.rank-third .honour-rank { background: var(--medal-third); color: var(--medal-third-ink); }
.shelf-card-rich { width: 138px; }
.shelf-time { color: var(--muted); font-size: var(--text-caption); }
.hc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem; align-items: start; }
.hc-col { min-width: 0; }
.hc-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding-bottom: .65rem; border-bottom: 1px solid var(--border); }
.hc-title { display: flex; align-items: center; gap: .5rem; margin: 0; min-width: 0; color: var(--foreground); font-size: var(--text-lead); font-weight: var(--weight-medium); letter-spacing: -.01em; white-space: nowrap; }
.hc-title > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hc-link { flex: none; color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); white-space: nowrap; }
@media (hover: hover) { .hc-link:hover { color: var(--foreground); } }
.hc-lead { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "cover body" "desc desc"; gap: .85rem 1rem; margin: .6rem -.5rem .55rem; padding: .6rem .5rem; border-radius: var(--radius); transition: background .12s ease; }
.hc-lead-cover { position: relative; grid-area: cover; overflow: hidden; aspect-ratio: 2 / 3; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 2px 8px var(--shadow); }
.hc-lead-body { display: flex; grid-area: body; min-width: 0; flex-direction: column; gap: .3rem; }
.hc-lead-num { margin-bottom: .15rem; color: var(--foreground); font-size: var(--text-stat); font-weight: var(--weight-strong); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.hc-lead-num.rank-first { color: var(--accent); }
.hc-lead-title { display: -webkit-box; overflow: hidden; font-size: var(--text-lead); font-weight: var(--weight-medium); line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hc-lead-author { overflow: hidden; color: var(--muted); font-size: var(--text-caption); text-overflow: ellipsis; white-space: nowrap; }
.hc-lead-meta { flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.hc-lead-desc { display: -webkit-box; grid-area: desc; min-height: calc(2 * 1.55em); overflow: hidden; color: var(--muted); font-size: var(--text-body); line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hc-list { margin: 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.hc-list li { border-bottom: 1px solid var(--border); }
.hc-item { display: grid; grid-template-columns: 2.25rem 32px minmax(0, 1fr); align-items: center; gap: .75rem; margin: 0 -.5rem; padding: .45rem .5rem; border-radius: var(--radius); transition: background .12s ease; }
@media (hover: hover) { .hc-lead:hover, .hc-item:hover { background: var(--surface); } }
.hc-num { color: var(--subtle); font-size: var(--text-lead); font-weight: var(--weight-strong); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; text-align: center; }
.hc-num.rank-second, .hc-num.rank-third { color: var(--foreground); }
.hc-item-cover { position: relative; overflow: hidden; aspect-ratio: 2 / 3; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.hc-lead-cover img, .hc-item-cover img, .voice-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-lead-cover .cover-fallback, .hc-item-cover .cover-fallback, .voice-cover .cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--subtle); }
.hc-lead-cover .cover-fallback { font-size: 1.6rem; }
.hc-item-cover .cover-fallback, .voice-cover .cover-fallback { font-size: var(--text-caption); }
.hc-item-text { display: flex; min-width: 0; flex-direction: column; gap: .1rem; }
.hc-item-title { overflow: hidden; font-size: var(--text-title); font-weight: var(--weight-medium); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.hc-item-author { overflow: hidden; color: var(--muted); font-size: var(--text-caption); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.home-tabs { position: relative; }
.home-tab-input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.home-tablist { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; gap: .4rem; }
.home-tablist::-webkit-scrollbar { display: none; }
.home-tab { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: .2rem .75rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; -webkit-user-select: none; user-select: none; transition: color .12s ease, background .12s ease, border-color .12s ease; }
@media (hover: hover) { .home-tab:hover { color: var(--foreground); border-color: var(--input); background: var(--surface); } }
.home-tab .source-ico { margin-right: .4rem; }
.home-panel { display: none; }
.home-tab-input:nth-of-type(1):checked ~ .home-panels > .home-panel:nth-child(1),
.home-tab-input:nth-of-type(2):checked ~ .home-panels > .home-panel:nth-child(2),
.home-tab-input:nth-of-type(3):checked ~ .home-panels > .home-panel:nth-child(3),
.home-tab-input:nth-of-type(4):checked ~ .home-panels > .home-panel:nth-child(4) { display: block; }
.home-tab-input:nth-of-type(1):checked ~ .section-head .home-tab:nth-child(1),
.home-tab-input:nth-of-type(2):checked ~ .section-head .home-tab:nth-child(2),
.home-tab-input:nth-of-type(3):checked ~ .section-head .home-tab:nth-child(3),
.home-tab-input:nth-of-type(4):checked ~ .section-head .home-tab:nth-child(4) { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.home-tab-input:nth-of-type(1):focus-visible ~ .section-head .home-tab:nth-child(1),
.home-tab-input:nth-of-type(2):focus-visible ~ .section-head .home-tab:nth-child(2),
.home-tab-input:nth-of-type(3):focus-visible ~ .section-head .home-tab:nth-child(3),
.home-tab-input:nth-of-type(4):focus-visible ~ .section-head .home-tab:nth-child(4) { outline: 2px solid var(--focus); outline-offset: 2px; }
.home-lists .section-head { align-items: flex-end; }
.home-panel-more { display: table; margin: .35rem 0 0 auto; }
.voice-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1100px) { .voice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .voice-list { grid-template-columns: minmax(0, 1fr); gap: .75rem; } }
.voice-list li { display: flex; min-width: 0; }
.voice { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .8rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); padding: var(--inset-card); transition: border-color .14s ease, box-shadow .14s ease; }
@media (hover: hover) { .voice:hover { box-shadow: 0 4px 16px var(--shadow); } .voice:hover .voice-title { text-decoration: underline; text-decoration-color: var(--input); text-underline-offset: .2em; } }
.voice-head { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.voice-cover { position: relative; flex: none; width: 32px; overflow: hidden; aspect-ratio: 2 / 3; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.voice-meta { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.voice-title { overflow: hidden; color: var(--foreground); font-size: var(--text-body); font-weight: var(--weight-medium); line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.voice-sub { display: flex; align-items: center; gap: .35rem; min-width: 0; color: var(--muted); font-size: var(--text-caption); white-space: nowrap; }
.voice-sub .source-ico { width: 14px; height: 14px; }
.voice-time { flex: none; }
.voice-subject { font-size: var(--text-title); font-weight: var(--weight-medium); line-height: 1.4; }
.voice-body { display: -webkit-box; overflow: hidden; color: var(--foreground); font-size: var(--text-title); line-height: 1.6; white-space: pre-line; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
@media (max-width: 700px) {
.hc-cols { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
.hc-col { display: block; }
.hc-lead { grid-template-columns: 84px minmax(0, 1fr); margin-top: .35rem; }
.hc-list { margin-top: 0; }
.hc-list li:nth-child(n+5) { display: none; }
.home-lists .section-head { flex-direction: column; align-items: flex-start; gap: .75rem; }
.voice-body { -webkit-line-clamp: 5; }
}
.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.book-card { display: grid; min-width: 0; grid-template-columns: 104px minmax(0, 1fr); gap: .9rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); padding: .8rem; transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease; }
@media (hover: hover) { .book-card:hover { border-color: color-mix(in srgb, var(--source, var(--primary)) 38%, var(--border)); box-shadow: 0 2px 10px var(--shadow); transform: translateY(-1px); } }
.book-cover { position: relative; aspect-ratio: 2 / 3; align-self: start; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.book-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: .3rem; background: color-mix(in srgb, var(--source, var(--muted)) 9%, var(--surface)); color: color-mix(in srgb, var(--source, var(--muted)) 60%, var(--subtle)); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: var(--weight-medium); line-height: 1; text-align: center; }
.book-card-body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.book-title { display: -webkit-box; margin: .55rem 0 0; overflow: hidden; color: var(--foreground); font-size: var(--text-lead); font-weight: var(--weight-medium); line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.book-original { display: -webkit-box; margin: .25rem 0 0; overflow: hidden; color: var(--muted); font-size: var(--text-caption); line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.book-author { margin: .4rem 0 0; color: var(--muted); font-size: var(--text-caption); line-height: 1.35; }
.book-meta, .metric-list { display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin: auto 0 0; padding-top: .65rem; color: var(--muted); font-size: var(--text-caption); }
.book-meta span + span::before, .metric-list span + span::before { content: "·"; margin-right: .6rem; color: var(--subtle); }
.metric-list { margin-top: 0; padding-top: .25rem; }
.library-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.library-header .lede { margin-bottom: 0; }
.library-count { display: grid; flex: none; margin: 0; text-align: right; }
.library-count strong { font-size: 1.4rem; line-height: 1; font-weight: var(--weight-strong); font-variant-numeric: tabular-nums; }
.library-count span { margin-top: .35rem; color: var(--muted); font-size: var(--text-caption); }
.filter-bar { display: grid; grid-template-columns: minmax(220px, 1.7fr) repeat(4, minmax(130px, 1fr)); gap: .75rem; align-items: end; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1rem; }
.filter-actions { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: .5rem; justify-content: flex-end; }
.library-results { margin-top: 0; }
.results-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.result-count { flex: none; margin: 0; color: var(--muted); font-size: var(--text-body); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem; margin-top: 1.75rem; font-size: var(--text-body); }
.pagination-link, .pagination-disabled { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--input); border-radius: var(--radius); -webkit-user-select: none; user-select: none; }
.pagination-link .ico-chevron, .pagination-disabled .ico-chevron { width: 16px; height: 16px; }
.pagination-link { background: var(--surface-raised); color: var(--foreground); transition: background .12s ease, border-color .12s ease; }
@media (hover: hover) { .pagination-link:hover { background: var(--surface); border-color: var(--muted); } }
.pagination-disabled { color: var(--subtle); background: var(--surface); opacity: .7; cursor: default; }
.pagination-pages { display: inline-flex; align-items: center; gap: .2rem; margin: 0 .25rem; }
.pagination-page { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .35rem; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); font-variant-numeric: tabular-nums; -webkit-user-select: none; user-select: none; transition: background .12s ease, color .12s ease; }
@media (hover: hover) { .pagination-page:hover { background: var(--surface); color: var(--foreground); } }
.pagination-page.is-current { border-color: var(--input); background: var(--surface-raised); color: var(--foreground); font-weight: var(--weight-medium); }
.pagination-gap { padding: 0 .15rem; color: var(--muted); }
#results[aria-busy="true"] { opacity: .55; transition: opacity .12s ease; }
.charts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.charts-eyebrow { margin: 0 0 .4rem; color: var(--accent); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .09em; text-transform: uppercase; }
.charts-title { margin: 0; font-size: var(--text-display); font-weight: var(--weight-strong); letter-spacing: -.03em; line-height: 1.1; color: var(--foreground); }
.charts-title-sep { color: var(--subtle); font-weight: var(--weight-normal); }
.charts-lede { margin: .5rem 0 0; max-width: none; color: var(--muted); font-size: var(--text-title); line-height: 1.5; }
.charts-stat { display: flex; flex: none; gap: 1.5rem; margin: 0; text-align: right; }
.charts-stat div { display: grid; gap: .15rem; }
.charts-stat dt { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .06em; text-transform: uppercase; }
.charts-stat dd { margin: 0; font-size: var(--text-stat); font-weight: var(--weight-strong); line-height: 1.1; font-variant-numeric: tabular-nums; }
.charts-filters { margin-top: 1.35rem; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); padding: .35rem 1rem; }
.filter-row { display: flex; align-items: center; gap: 1.1rem; min-width: 0; padding: .5rem 0; }
.filter-key { flex: none; width: 46px; color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .06em; text-transform: uppercase; }
.seg { display: flex; min-width: 0; flex-wrap: nowrap; gap: .4rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; overscroll-behavior-x: contain; }
.seg::-webkit-scrollbar { display: none; }
.seg.is-dragging { cursor: grabbing; }
.seg-item { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: .35rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); white-space: nowrap; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; transition: color .12s ease, background .12s ease, border-color .12s ease; }
@media (hover: hover) { .seg-item:hover { color: var(--foreground); border-color: var(--input); background: var(--surface); } }
.seg-item.is-active { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); font-weight: var(--weight-medium); }
@media (hover: hover) { .seg-item.is-active:hover { color: var(--primary-foreground); } }
.chip-row { display: flex; min-width: 0; flex-wrap: nowrap; gap: .4rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; overscroll-behavior-x: contain; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row.is-dragging { cursor: grabbing; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: .35rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); white-space: nowrap; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; transition: color .12s ease, background .12s ease, border-color .12s ease; }
@media (hover: hover) { .chip:hover { color: var(--foreground); border-color: var(--input); background: var(--surface); } }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); font-weight: var(--weight-medium); }
@media (hover: hover) { .chip.is-active:hover { color: var(--primary-foreground); } }
.chart-cover { position: relative; width: 56px; aspect-ratio: 2 / 3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.chart-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chart-cover .cover-fallback { display: grid; place-items: center; width: 100%; height: 100%; font-size: 1.1rem; color: var(--subtle); }
.chart-book { display: flex; min-width: 0; flex-direction: column; gap: .18rem; }
.chart-book strong { font-size: var(--text-title); font-weight: var(--weight-medium); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-untitled { color: var(--muted); font-weight: var(--weight-normal); font-style: italic; }
.chart-meta { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.chart-byline { min-width: 0; flex-shrink: 1; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: var(--text-caption); white-space: nowrap; }
.ico-meta { flex: none; width: 11px; height: 11px; }
.meta-chip { display: inline-flex; flex: none; align-items: center; gap: .28rem; padding: .1rem .45rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--foreground); font-size: var(--text-label); font-weight: var(--weight-medium); white-space: nowrap; text-transform: capitalize; }
.meta-chip .ico-meta { color: var(--subtle); }
.status-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--subtle); }
.chart-stats { display: flex; gap: 1.15rem; }
.chart-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.chart-stat-val { font-size: var(--text-title); font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; }
.chart-stat-lbl { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .04em; text-transform: uppercase; }
.chart-stat[data-metric-state="missing"] .chart-stat-val { color: var(--muted); font-weight: var(--weight-medium); }
.mv { display: inline-flex; align-items: center; gap: .08rem; padding: .1rem .32rem; border-radius: var(--radius-pill); font-size: var(--text-label); font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; line-height: 1.4; }
.mv .ico-caret { width: 7px; height: 7px; }
.mv-up { color: var(--accent-green); background: color-mix(in srgb, var(--accent-green) 14%, transparent); }
.mv-down { color: var(--danger); background: color-mix(in srgb, var(--danger) 14%, transparent); }
.mv-new { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: .5625rem; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 640px) {
.site-canvas { padding-bottom: 2.5rem; }
.footer-inner { gap: 1.15rem; padding: 1.5rem 0 1.8rem; flex-direction: column; align-items: center; text-align: center; }
.footer-brand-col { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 1.25rem; }
.footer-brand { display: none; }
.footer-nav, .footer-legal { display: contents; }
.footer-more { display: flex; flex-wrap: wrap; justify-content: center; }
.footer-more-label { flex: 1 0 100%; }
.footer-nav { gap: 0 1.25rem; margin: 0; }
.footer-nav a { padding: .6rem 0; }
.footer-legal { justify-content: center; gap: 1.25rem; margin: 0; }
.footer-legal a { padding: .6rem 0; }
.footer-more { align-items: center; gap: .55rem 1.25rem; }
.footer-app { padding: .5rem 0; margin: -.5rem 0; }
.footer-app-txt span { display: none; }
.footer-app-txt strong { white-space: nowrap; }
.footer-more-label { grid-column: 1 / -1; margin-bottom: .1rem; font-size: .5625rem; font-weight: var(--weight-medium); letter-spacing: .09em; }
.charts-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
.charts-stat { text-align: left; }
.charts-title { font-size: 1.5rem; }
.state-page .state-title { font-size: 1.5rem; }
.state-title { font-size: 1.2rem; }
.state-body { font-size: var(--text-body); }
.charts-browse .charts-head, .booklists-page .charts-head { flex-direction: row; align-items: flex-end; gap: 1rem; }
.charts-browse .charts-stat, .booklists-page .charts-stat { text-align: right; }
.charts:not(.charts-browse):not(.booklists-page) .charts-stat { flex-wrap: wrap; gap: .35rem 1.25rem; align-items: baseline; }
.charts:not(.charts-browse):not(.booklists-page) .charts-stat div { display: flex; align-items: baseline; gap: .4rem; }
.charts-stat dd { font-size: var(--text-lead); font-weight: var(--weight-strong); }
.charts-filters { padding: .35rem .8rem; }
.filter-row { padding: .55rem 0; }
.filter-key { display: none; }
ol.browse-list .browse-row { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "cover book" "desc desc" "stats stats"; gap: .55rem .8rem; align-items: start; padding: 1rem .5rem; }
.browse-row .browse-num { top: calc(1rem - 7px); }
.browse-row .browse-rank .mv { top: calc(1rem + 61px); }
.browse-row .chart-cover { width: 48px; }
.browse-row .chart-book { min-width: 0; gap: .25rem; }
.browse-row .chart-meta { flex-wrap: wrap; column-gap: .35rem; row-gap: .3rem; }
.browse-row .chart-byline { flex: 1 1 100%; }
.browse-row .meta-chip { padding: .08rem .4rem; }
.blog-item { grid-template-columns: 1.75rem minmax(0, 1fr); column-gap: .6rem; padding: var(--inset-card) 0; margin-inline: 0; }
.blog-post .charts-title { max-width: none; }
.blog-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; margin-top: 2rem; }
.blog-toc { order: 0; position: static; }
.blog-toc-links { flex-direction: row; gap: .4rem; margin-top: .6rem; padding-left: 0; border-left: 0; overflow-x: auto; scrollbar-width: none; }
.blog-toc-links::-webkit-scrollbar { display: none; }
.blog-toc-links a { flex: none; padding: .35rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-raised); white-space: nowrap; }
.blog-prose h2 { margin-top: 2.4rem; }
.blog-related { margin-top: 2.75rem; }
}
.browse-filters { margin-top: 1.35rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); padding: var(--inset-card); box-shadow: 0 1px 2px var(--shadow); }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.filter-head-title { display: inline-flex; align-items: center; gap: .45rem; color: var(--foreground); font-size: var(--text-title); font-weight: var(--weight-medium); }
.filter-head-title .ico-sliders { width: 16px; height: 16px; color: var(--muted); }
.filter-toggle { display: inline-flex; align-items: center; gap: .3rem; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: color .12s ease; }
@media (hover: hover) { .filter-toggle:hover { color: var(--foreground); } }
.filter-toggle .ico-chevron { width: 15px; height: 15px; transition: transform .15s ease; }
.filter-top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.filter-search { position: relative; flex: 1 1 240px; min-width: 170px; }
.filter-search .ico-search { position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--subtle); pointer-events: none; }
.filter-search .input { width: 100%; min-height: var(--control-h); padding-left: 2rem; font-size: var(--text-body); }
.filter-sort { flex: 0 1 165px; }
.filter-order { flex: 0 1 145px; }
.browse-filters.is-expanded .filter-toggle .ico-chevron { transform: scaleY(-1); }
.filter-toggle .lbl-less { display: none; }
.browse-filters.is-expanded .filter-toggle .lbl-more { display: none; }
.browse-filters.is-expanded .filter-toggle .lbl-less { display: inline; }
.filter-active { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .85rem; }
.browse-filters.is-expanded .filter-active { display: none; }
.active-chip { display: inline-flex; align-items: center; gap: .25rem; height: 27px; padding: 0 .35rem 0 .6rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--foreground); font-size: var(--text-caption); font-weight: var(--weight-medium); -webkit-user-select: none; user-select: none; }
@media (hover: hover) { .active-chip:hover { border-color: var(--muted); } }
.active-chip .ax { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: var(--muted); }
@media (hover: hover) { .active-chip:hover .ax { color: var(--foreground); } }
.active-chip .ax .ico-x { width: 10px; height: 10px; }
.filter-advanced { display: none; margin-top: 1.1rem; }
.browse-filters.is-expanded .filter-advanced { display: block; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.field-wide { grid-column: 1 / -1; }
.browse-filters .field { gap: .3rem; }
.browse-filters .field-label { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-medium); letter-spacing: .01em; }
.browse-filters .input, .browse-filters .select { min-height: var(--control-h); font-size: var(--text-body); }
.browse-filters input.input { height: var(--control-h); padding-top: 0; padding-bottom: 0; }
.browse-filters .button, .browse-filters .cs-btn { min-height: var(--control-h); font-size: var(--text-body); }
.tag-filter { margin-top: 1.1rem; }
.tag-filter > .field-label { display: block; color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-medium); }
.browse-actions { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; margin-top: 1.1rem; }
.browse-actions .button { min-height: var(--control-h); padding: .35rem 1rem; font-size: var(--text-body); font-weight: var(--weight-medium); white-space: nowrap; }
.browse-filters.js-filters:not(.is-expanded):not(.is-dirty) .browse-actions { display: none; }
.state-elsewhere { margin: -1rem auto 2rem; color: var(--muted); font-size: var(--text-body); text-align: center; }
.state-elsewhere a { color: var(--foreground); text-decoration: underline; text-underline-offset: 2px; }
.cs-list, .tag-suggest { scrollbar-width: none; -ms-overflow-style: none; }
.cs-list::-webkit-scrollbar, .tag-suggest::-webkit-scrollbar { width: 0; height: 0; display: none; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right .6rem center; padding-right: 1.9rem; }
.cs { position: relative; }
.cs-btn { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; min-height: var(--control-h); padding: .35rem .65rem; border: 1px solid var(--input); border-radius: var(--radius); background: var(--surface-raised); color: var(--foreground); font-size: var(--text-body); line-height: 1.2; text-align: left; cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease; }
@media (hover: hover) { .cs-btn:hover { border-color: var(--muted); } }
.cs.is-open .cs-btn, .cs-btn:focus-visible { border-color: var(--focus); box-shadow: var(--ring-field); outline: 0; }
.cs.is-disabled .cs-btn { opacity: .55; cursor: not-allowed; }
.cs-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-label.is-placeholder { color: var(--muted); }
.cs-ico { flex: none; width: 16px; height: 16px; }
.cs-label .cs-ico { display: inline-block; margin-right: .4rem; vertical-align: -3px; }
.cs-caret-wrap { flex: none; display: grid; color: var(--subtle); }
.cs-caret { width: 14px; height: 14px; transition: transform .15s ease; }
.cs.is-open .cs-caret { transform: scaleY(-1); }
.cs-menu { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + .3rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-pop); overflow: hidden; animation: popIn .14s ease-out; }
.cs-search { padding: .3rem; border-bottom: 1px solid var(--border); }
.cs-search-input { min-height: 32px; font-size: var(--text-body); }
.cs-list { max-height: 250px; overflow-y: auto; padding: .3rem; }
.cs-opt { display: flex; align-items: center; gap: .5rem; min-height: 32px; padding: .4rem .55rem; border-radius: var(--radius); font-size: var(--text-body); cursor: pointer; }
@media (hover: hover) { .cs-opt:hover { background: var(--surface); } }
.cs-opt.is-selected { color: var(--foreground); font-weight: var(--weight-medium); }
.cs-opt:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; background: var(--surface); color: var(--foreground); }
.cs-opt-check { flex: none; display: grid; margin-left: auto; color: var(--accent); }
.cs-opt-check .cs-check { width: 15px; height: 15px; }
.cs-empty { padding: .5rem .6rem; color: var(--muted); font-size: var(--text-caption); text-align: center; }
.browse-list { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.browse-list > li { border-bottom: 1px solid var(--border); }
.browse-list > li:last-child { border-bottom: 0; }
.browse-list > li.row-with-save { position: relative; anchor-scope: --row-stats, --row-val; }
.row-save { position: absolute; top: calc(1.05rem + 52px); right: calc(3.5rem + 80px); z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; color: var(--muted); cursor: pointer; }
@supports (anchor-scope: --row-stats) {
.row-with-save .chart-stats, .row-with-save .chart-stat:nth-child(2) > .chart-stat-lbl { anchor-name: --row-stats; }
.row-with-save > .row-save { right: auto; left: anchor(--row-stats center); translate: -50% 0; }
}
.row-with-save:has(> .row-save) .browse-row .chart-stats:not(:has(> .chart-stat)) { min-width: 44px; }
.row-save[hidden], .list-follow[hidden] { display: none; }
.row-save .ico { width: 20px; height: 20px; color: currentColor; }
.row-save .ico-save, [data-save-book][aria-pressed="true"] .ico-save-line { display: none; }
[data-save-book][aria-pressed="true"] .ico-save { display: inline; }
.row-save[aria-pressed="true"] { color: var(--shelf-tint, var(--foreground)); }
.row-save:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) {
.row-save { transition: color .12s ease; }
.row-save:hover { color: var(--foreground); }
.row-save[aria-pressed="true"]:hover { color: var(--shelf-tint, var(--foreground)); }
}
[data-shelf-status="saved"], [data-save-set="saved"] { --shelf-tint: var(--status-saved); }
[data-shelf-status="reading"], [data-save-set="reading"] { --shelf-tint: var(--status-reading); }
[data-shelf-status="paused"], [data-save-set="paused"] { --shelf-tint: var(--status-paused); }
[data-shelf-status="finished"], [data-save-set="finished"] { --shelf-tint: var(--status-finished); }
[data-shelf-status="dropped"], [data-save-set="dropped"] { --shelf-tint: var(--status-dropped); }
.save-menu-form { margin: 0; }
.save-menu { position: relative; }
.save-menu > summary { list-style: none; cursor: pointer; user-select: none; }
.save-menu > summary::-webkit-details-marker { display: none; }
.save-menu [hidden], .save-menu-panel[hidden] { display: none; }
.save-trigger .ico-status, .save-trigger:not([data-shelf-status=""]) .ico-save-line { display: none; }
.save-trigger[data-shelf-status="saved"] .ico-status-saved,
.save-trigger[data-shelf-status="reading"] .ico-status-reading,
.save-trigger[data-shelf-status="paused"] .ico-status-paused,
.save-trigger[data-shelf-status="finished"] .ico-status-finished,
.save-trigger[data-shelf-status="dropped"] .ico-status-dropped { display: inline; }
.save-trigger:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.save-menu[open] > .save-trigger[data-shelf-status=""] { background: var(--surface); }
.save-trigger:not([data-shelf-status=""]), .list-follow[aria-pressed="true"] { border-color: color-mix(in srgb, var(--shelf-tint) 40%, transparent); background: color-mix(in srgb, var(--shelf-tint) 10%, transparent); color: var(--shelf-tint); }
@media (hover: hover) { .save-trigger:not([data-shelf-status=""]):hover, .list-follow[aria-pressed="true"]:hover { background: color-mix(in srgb, var(--shelf-tint) 15%, transparent); } }
.save-menu[open] > .save-trigger:not([data-shelf-status=""]) { background: color-mix(in srgb, var(--shelf-tint) 15%, transparent); }
.save-menu-panel { position: absolute; top: calc(100% + .3rem); left: 0; z-index: 70; display: grid; width: 11rem; max-width: calc(100vw - 2rem); padding: .3rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-pop); transform-origin: top left; animation: popIn .14s ease-out; }
.save-menu-panel.is-floating { transform-origin: top right; }
.save-menu-item { display: flex; align-items: center; gap: .55rem; width: 100%; min-height: 36px; padding: .4rem .55rem; border: 0; border-radius: var(--radius); background: transparent; color: var(--foreground); font-family: inherit; font-size: var(--text-title); font-weight: var(--weight-normal); text-align: left; cursor: pointer; transition: background .12s ease, color .12s ease; }
.save-menu-item .ico { flex: none; width: 16px; height: 16px; color: var(--shelf-tint, currentColor); }
@media (hover: hover) { .save-menu-item:hover { background: var(--surface); } }
.save-menu-item:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.save-menu-item[aria-current="true"] { background: var(--surface); font-weight: var(--weight-medium); }
.save-menu-sep { height: 1px; margin: .25rem 0; background: var(--border); }
.save-menu-remove { color: var(--muted); }
.save-menu-remove .ico { color: currentColor; }
@media (hover: hover) { .save-menu-remove:hover { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); } }
[data-follow-list] { --shelf-tint: var(--accent); }
.list-follow { margin-top: 1rem; }
.booklist-page .charts-head-text { flex: 1 1 auto; align-self: stretch; min-width: 0; }
.booklist-summary { display: flex; align-items: center; gap: .75rem 1.5rem; margin-top: .8rem; }
.booklist-summary .booklist-metastrip { flex: 1 1 auto; margin: 0; }
.booklist-summary .list-follow { flex: none; width: auto; margin: 0 0 0 auto; }
.booklist-actions { margin-top: .75rem; }
.booklist-actions .booklist-tags { margin-top: 0; }
@media (max-width: 640px) {
.booklist-summary { flex-direction: column; align-items: stretch; gap: 1rem; }
.booklist-summary .list-follow { align-self: stretch; width: 100%; margin: 0; }
}
.list-follow:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.list-follow [data-follow-label] { display: inline-flex; flex-direction: column; align-items: center; }
.list-follow [data-follow-label]::after { content: "Following"; content: "Following" / ""; height: 0; overflow: hidden; visibility: hidden; }
[data-follow-list] .ico-save, [data-follow-list][aria-pressed="true"] .ico-save-line { display: none; }
[data-follow-list][aria-pressed="true"] .ico-save { display: inline; }
ol.booklist-list > li.row-with-follow { position: relative; anchor-scope: --row-stats, --row-val; }
@media (min-width: 701px) {
.row-with-follow > .row-follow { top: calc(1.15rem + 36px); right: calc(3.5rem + 80px); }
@supports (anchor-scope: --row-stats) {
.row-with-follow .chart-stats, .row-with-follow .chart-stat:nth-child(2) > .chart-stat-lbl { anchor-name: --row-stats; }
.row-with-follow:has(.chart-stats) > .row-follow { right: auto; left: anchor(--row-stats center); translate: -50% 0; }
}
ol.booklist-list > li.row-with-follow:has(> .row-follow):not(:has(.chart-stats)) > .booklist-row { grid-template-columns: 160px minmax(0, 1fr) 44px; }
.row-with-follow:not(:has(.chart-stats)) > .row-follow { right: 0; }
}
@media (max-width: 700px) {
.row-with-follow:has(> .row-follow) .booklist-row .chart-stats { padding-right: calc(20px + .85rem); }
.row-with-follow > .row-follow { top: calc(1rem + 24px); right: -12px; translate: 0 -50%; }
@supports (anchor-scope: --row-val) {
.row-with-follow .booklist-row .chart-stats, .row-with-follow .chart-stat:first-child > .chart-stat-val { anchor-name: --row-val; }
.row-with-follow:has(.chart-stats) > .row-follow { top: anchor(--row-val center); }
}
.row-with-follow:not(:has(.chart-stats)) > .row-follow { top: calc(1rem + 32px); }
}
@media (max-width: 380px) {
.row-with-follow:has(> .row-follow) .bl-row-cover:nth-child(n+3) { display: none; }
}
.booklist-row.is-unavailable .chart-book strong { color: var(--muted); }
@media (hover: hover) { ol.booklist-list .booklist-row.is-unavailable:hover { background: transparent; } }
.shelf-switch { display: flex; width: fit-content; gap: .15rem; margin-top: 1rem; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); }
.shelf-switch-item { display: inline-flex; align-items: center; min-height: 28px; padding: .25rem .95rem; border-radius: var(--radius-pill); color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); -webkit-user-select: none; user-select: none; transition: color .12s ease, background .12s ease; }
.shelf-switch-item.is-active { background: var(--surface-raised); color: var(--foreground); box-shadow: 0 1px 2px var(--shadow); }
@media (hover: hover) { .shelf-switch-item:hover { color: var(--foreground); } }
.shelf-switch-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.shelf-tabs { margin: 1.25rem 0 1rem; }
.shelf-tab-count { margin-left: .4rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.seg-item.is-active .shelf-tab-count { color: currentColor; }
.browse-row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "cover book stats" "cover desc stats"; gap: .35rem 1.25rem; align-items: start; padding: 1.05rem .5rem; margin: 0 -.5rem; border-radius: var(--radius); transition: background .12s ease; }
.browse-row .chart-cover { grid-area: cover; }
.browse-row .chart-book { grid-area: book; }
.browse-row .row-desc { grid-area: desc; }
.browse-row .chart-stats { grid-area: stats; }
@media (hover: hover) { .browse-row:hover { background: var(--surface); } }
.browse-row .chart-stats { align-self: start; gap: 1.75rem; padding-top: .15rem; }
.browse-row .chart-stat { min-width: 68px; align-items: center; }
.browse-row .chart-stat-val { white-space: nowrap; }
.browse-row .chart-book { gap: .4rem; }
.browse-row .chart-book strong { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.35; }
.browse-row .chart-meta { flex-wrap: wrap; gap: .3rem .4rem; }
@media (min-width: 641px) {
.browse-row:not(.booklist-row) .chart-book { container-type: inline-size; }
@container (min-width: 24.5rem) {
.browse-row .chart-meta { flex-wrap: nowrap; }
}
}
.browse-rank { display: contents; }
.browse-num { position: absolute; top: calc(1.05rem - 7px); left: calc(.5rem - 7px); z-index: 2; display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--primary); color: var(--primary-foreground); font-size: var(--text-label); font-weight: var(--weight-strong); font-variant-numeric: tabular-nums; line-height: 1; box-shadow: 0 1px 3px var(--shadow); }
.browse-rank .mv { position: absolute; top: calc(1.05rem + 73px); left: calc(.5rem - 7px); z-index: 2; height: 18px; margin: 0; padding: 0 .32rem; background: color-mix(in srgb, currentColor 16%, var(--surface-raised)); box-shadow: 0 1px 3px var(--shadow); }
.row-desc { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: var(--text-body); line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@media (max-width: 640px) {
.browse-row:not(.booklist-row) .chart-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: .35rem; padding-top: 0; }
.browse-row:not(.booklist-row) .chart-stat { min-width: 0; align-items: center; }
.row-with-save:has(> .row-save) .browse-row:not(.booklist-row) .chart-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row-with-save:has(> .row-save) .browse-row .chart-stats:not(:has(> .chart-stat)) { min-width: 0; min-height: 44px; }
.row-with-save > .row-save { top: auto; right: calc(12.5% - 22px); }
@supports (anchor-scope: --row-stats) {
.row-with-save .browse-row .chart-stats, .row-with-save .browse-row .chart-stat:first-child > .chart-stat-val { anchor-name: --row-val; }
.row-with-save > .row-save { left: auto; right: calc(12.5% - 22px); top: anchor(--row-val center); translate: 0 -50%; }
}
@supports not (anchor-scope: --row-stats) {
.browse-list > li.row-with-save:has(> .row-save) { display: grid; grid-template-columns: minmax(0, 1fr); }
.row-with-save > .browse-row { grid-area: 1 / 1; }
.row-with-save > .row-save { position: relative; grid-area: 1 / 1; align-self: end; justify-self: end; right: auto; margin: 0 calc(12.5% - 22px) calc(1rem + 6px) 0; }
}
}
.tag-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-top: .3rem; }
.tag-col { display: grid; gap: .4rem; align-content: start; }
.tag-col-head { display: flex; align-items: center; justify-content: space-between; min-height: 30px; }
.tag-col-label { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .05em; text-transform: uppercase; }
.tag-col-label-ex { color: color-mix(in srgb, var(--danger) 70%, var(--muted)); }
.tag-mode-select { width: 132px; }
.tag-mode-select .cs-btn { min-height: 30px; padding: .2rem .55rem; font-size: var(--text-caption); }
.tag-combobox { position: relative; }
.tag-suggest { position: absolute; z-index: 30; left: 0; right: 0; margin-top: .3rem; max-height: 250px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-pop); padding: .3rem; }
.tag-suggest-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .4rem .55rem; border-radius: var(--radius-sm); font-size: var(--text-body); }
.tag-suggest-row.is-add { cursor: pointer; }
@media (hover: hover) { .tag-suggest-row.is-add:hover { background: var(--surface); } }
.tag-suggest-row.is-picked { opacity: .55; }
.tag-suggest-row.is-active { outline: 2px solid var(--focus); outline-offset: -2px; background: var(--surface); }
.tag-suggest-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-suggest-text { display: grid; flex: 1; min-width: 0; }
.tag-suggest-text .tag-suggest-name { flex: initial; }
.tag-suggest-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: var(--text-caption); }
.tag-suggest.tag-suggest-books { max-height: 340px; }
.tag-suggest-sub { flex: none; color: var(--muted); font-size: var(--text-caption); font-variant-numeric: tabular-nums; }
.tag-suggest-picked { flex: none; color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-medium); }
.tag-suggest-empty { padding: .5rem .6rem; color: var(--muted); font-size: var(--text-caption); text-align: center; }
.tag-chips { display: flex; flex-wrap: wrap; gap: .35rem; min-height: 1.5rem; align-content: start; }
.tag-chips:empty::before { content: "None selected"; color: var(--muted); font-size: var(--text-caption); }
.tag-chip { display: inline-flex; align-items: center; gap: .25rem; height: 27px; padding: 0 .35rem 0 .6rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--foreground); font-size: var(--text-caption); font-weight: var(--weight-medium); -webkit-user-select: none; user-select: none; }
.tag-chip.is-in { border-color: color-mix(in srgb, var(--accent-green) 45%, var(--border)); background: color-mix(in srgb, var(--accent-green) 10%, var(--surface-raised)); }
.tag-chip.is-ex { border-color: color-mix(in srgb, var(--danger) 45%, var(--border)); background: color-mix(in srgb, var(--danger) 9%, var(--surface-raised)); }
.tag-chip-txt { line-height: 1.3; cursor: pointer; padding-left: .05rem; }
.tag-chip-x { display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: currentColor; opacity: .55; cursor: pointer; transition: opacity .12s ease, background .12s ease; }
@media (hover: hover) { .tag-chip-x:hover { opacity: 1; background: color-mix(in srgb, currentColor 18%, transparent); } }
.tag-chip-x .ico-x { width: 10px; height: 10px; }
@media (max-width: 860px) { .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
.filter-grid { grid-template-columns: 1fr 1fr; }
.filter-grid > .field:first-child { grid-column: 1 / -1; }
.tag-cols { grid-template-columns: 1fr; }
.filter-search { flex: 1 1 100%; }
.filter-sort, .filter-order { flex: 1 1 auto; }
.browse-actions .button { flex: 1 1 0; }
.browse-actions:has(> :nth-child(3)) { flex-wrap: wrap; }
.browse-actions:has(> :nth-child(3)) > .button-primary { order: -1; flex: 1 0 100%; }
.browse-filters.is-expanded .browse-actions { position: sticky; bottom: 0; z-index: 5; margin: 1.1rem calc(-1 * var(--inset-card)) calc(-1 * var(--inset-card)); padding: .65rem var(--inset-card) calc(.65rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--surface-raised); }
.cs-menu { min-width: min(18rem, calc(100vw - 32px)); }
}
.book-page { width: 100%; }
.book-detail-header { display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: clamp(1.25rem, 3.5vw, 2.5rem); align-items: start; }
.detail-cover { position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 4px 16px var(--shadow); }
.detail-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-cover .cover-fallback { font-size: clamp(2rem, 8vw, 3.5rem); }
.book-detail-main { min-width: 0; padding-top: .25rem; }
.book-detail-main > .source-badge { margin-bottom: .9rem; }
.detail-copy-row { display: flex; min-width: 0; align-items: start; gap: .45rem; }
.detail-copy-row.secondary { align-items: center; margin-top: .15rem; }
.detail-title { max-width: none; margin: 0; overflow-wrap: anywhere; font-size: var(--text-display); font-weight: var(--weight-strong); letter-spacing: -.03em; line-height: 1.12; }
.detail-original, .detail-author { margin: 0; overflow-wrap: anywhere; color: var(--muted); }
.detail-original { font-size: var(--text-title); }
.detail-author { margin-top: .3rem; font-size: var(--text-lead); }
.detail-author a { color: var(--foreground); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; transition: text-decoration-color .12s ease; }
@media (hover: hover) { .detail-author a:hover { text-decoration-color: var(--accent); } }
.detail-copy-row .copy-btn { flex: none; margin-top: .1rem; }
.book-facts { display: flex; flex-wrap: wrap; gap: .9rem 2.2rem; margin: 1.35rem 0 0; padding: 0; }
.book-facts > div { display: flex; flex-direction: column; gap: .2rem; }
.book-facts dt { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .06em; text-transform: uppercase; }
.book-facts dd { margin: 0; color: var(--foreground); font-size: var(--text-title); font-weight: var(--weight-medium); text-decoration: none; }
.book-facts dd a { color: var(--foreground); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .12s ease; }
@media (hover: hover) { .book-facts dd a:hover { text-decoration-color: var(--accent); } }
@media (pointer: coarse) { .book-facts dd a { padding-block: .875rem; } }
.detail-author-zh { color: var(--muted); font-weight: var(--weight-normal); }
.book-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: .55rem; }
.book-stat { display: flex; flex-direction: column; gap: .15rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); padding: .55rem .75rem; }
.book-stat-val { font-size: var(--text-lead); font-weight: var(--weight-strong); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.book-stat-lbl { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .05em; text-transform: uppercase; }
.honours-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.honour-badge { display: inline-flex; align-items: center; gap: .4rem; min-height: 26px; border: 1px solid transparent; border-radius: var(--radius-pill); padding: .2rem .65rem .2rem .2rem; background: var(--badge-fill); font-size: var(--text-caption); line-height: 1; transition: background .12s ease; }
@media (hover: hover) { .honour-badge:hover { background: var(--badge-fill-hover); } }
.honour-rank { display: inline-grid; place-items: center; min-width: 1.125rem; height: 1.125rem; padding: 0 .3rem; border-radius: var(--radius-pill); background: var(--primary); color: var(--primary-foreground); font-size: var(--text-label); font-weight: var(--weight-strong); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.honour-label { color: var(--foreground); font-weight: var(--weight-medium); }
.honour-channel { color: var(--muted); font-weight: var(--weight-medium); }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.tag-row .meta-chip, .booklist-tags .meta-chip { text-transform: none; border-color: transparent; color: var(--foreground); background: var(--badge-fill); font-weight: var(--weight-medium); transition: background .12s ease; }
.tag-row .meta-chip { min-height: 26px; font-size: var(--text-caption); line-height: 1.2; padding: .2rem .65rem; border-radius: var(--radius-pill); }
.booklist-tags { gap: .35rem; }
@media (hover: hover) { .tag-row a.meta-chip:hover, .booklist-tags a.meta-chip:hover { background: var(--badge-fill-hover); } }
.tag-row .chip-key { margin-right: .34rem; color: var(--muted); font-weight: var(--weight-normal); }
.catalogue-notice { max-width: 720px; margin: 1.15rem 0 0; border-left: 3px solid var(--primary); padding-left: .8rem; color: var(--muted); font-size: var(--text-body); }
.detail-section { margin-top: 2.75rem; }
.detail-section-head { margin-bottom: .9rem; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.section-head-row .section-title { min-width: 0; }
.section-head-row .text-link { flex: none; font-size: var(--text-body); white-space: nowrap; }
.section-head-row:has(> .comment-sort) { align-items: center; }
.section-head-row .comment-sort { flex: none; cursor: auto; }
.comment-sort[hidden] { display: none; }
.section-count { margin-left: auto; color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.reading-copy { max-width: none; margin: 0; color: var(--foreground); font-size: var(--text-prose); line-height: 1.7; white-space: pre-line; }
.reading-copy p { margin: 0; }
.clampable { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: var(--clamp, 6); }
.clampable.is-expanded { overflow: visible; -webkit-line-clamp: 9999; }
.expandable-toggle, .loadmore-btn { display: block; margin: .7rem auto 0; background: none; border: 0; color: var(--muted); font-size: var(--text-caption); font-weight: var(--weight-medium); cursor: pointer; }
.expandable-toggle[hidden], .loadmore-btn[hidden] { display: none; }
@media (hover: hover) { .expandable-toggle:hover, .loadmore-btn:hover { color: var(--foreground); } }
.loadmore-btn { margin-top: 1rem; border: 1px solid var(--border); border-radius: var(--radius); padding: .45rem 1.1rem; }
@media (hover: hover) { .loadmore-btn:hover { background: var(--surface); } }
.reading-copy.clampable { --clamp: 10; }
.comment-body.clampable { --clamp: 5; }
.booklist-page .charts-lede.clampable { --clamp: 6; }
.curator-note p.clampable { --clamp: 4; }
.book-shelf { display: flex; gap: .9rem; margin-top: .45rem; padding-top: .8rem; padding-bottom: 1rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; overscroll-behavior-x: contain; }
.book-shelf::-webkit-scrollbar { display: none; }
.book-shelf.is-dragging { cursor: grabbing; }
@supports (animation-timeline: scroll()) {
.book-shelf { animation: shelfFadeOut linear both; animation-timeline: scroll(self inline); }
}
@keyframes shelfFadeOut {
0%, 92% { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
100% { -webkit-mask-image: none; mask-image: none; }
}
.shelf-card { display: flex; flex: none; width: 128px; flex-direction: column; gap: .5rem; -webkit-user-drag: none; }
.shelf-card:hover { position: relative; z-index: 2; }
.shelf-cover { position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 2px 8px var(--shadow); transition: border-color .14s ease, transform .44s cubic-bezier(.22, 1, .36, 1), box-shadow .44s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
.shelf-card:hover .shelf-cover {
transform: translateY(-10px);
box-shadow: 0 12px 20px var(--shadow);
transition: transform .13s cubic-bezier(.2, .85, .3, 1), box-shadow .13s ease-out;
}
}
.shelf-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.shelf-cover .cover-fallback { display: grid; place-items: center; width: 100%; height: 100%; font-size: 1.6rem; color: var(--subtle); }
.shelf-title { display: -webkit-box; min-height: 2.6em; overflow: hidden; font-size: var(--text-body); font-weight: var(--weight-medium); line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shelf-author { overflow: hidden; color: var(--muted); font-size: var(--text-caption); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.booklist-shelf .booklist-card { flex: none; width: min(300px, 82vw); }
.booklist-shelf .booklist-card img { -webkit-user-drag: none; }
.booklist-shelf .bl-cover:nth-child(n+6) { display: none; }
.source-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.source-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); padding: 1rem; }
.source-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.source-identity, .source-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 1rem 0 0; }
.source-identity div, .source-stats div { min-width: 0; }
.source-identity dt, .source-stats dt { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-medium); }
.source-identity dd, .source-stats dd { margin: .15rem 0 0; overflow-wrap: anywhere; font-size: var(--text-body); font-weight: var(--weight-medium); }
.source-freshness { margin: 1rem 0 0; color: var(--muted); font-size: .7rem; margin-top: auto; }
.engine-note { margin: .75rem 0 0; font-size: var(--text-caption); }
.detail-section-head .engine-note, .booklist-listhead .engine-note { margin: .3rem 0 0; }
.book-detail-main > .source-freshness { margin-top: .75rem; }
.comment-list { max-width: none; display: flex; flex-direction: column; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.book-shelf { content-visibility: auto; contain-intrinsic-block-size: auto 260px; }
.comment-list > li { content-visibility: auto; contain-intrinsic-block-size: auto 150px; }
:root.cv-full .book-shelf, :root.cv-full .comment-list > li { content-visibility: visible; }
.comment-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); padding: var(--inset-card); }
.comment-card h3 { margin: 0 0 .4rem; font-size: var(--text-title); font-weight: var(--weight-medium); }
.comment-body { max-width: none; margin: 0; color: var(--foreground); font-size: var(--text-prose); line-height: 1.7; white-space: pre-line; }
.comment-card footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: .7rem; color: var(--muted); font-size: var(--text-caption); }
.comment-card footer span { display: inline-flex; align-items: center; gap: .3rem; }
.comments-pager > [data-comments-more] { display: flex; width: auto; margin: 1rem auto 0; }
.comments-pager > [data-comments-more][hidden] { display: none; }
.comments-pager[aria-busy="true"] .comment-list { opacity: .55; transition: opacity .12s ease; }
.comment-like .ico-heart { width: 14px; height: 14px; color: var(--accent); }
.page-header { max-width: none; margin-bottom: 2rem; }
.page-header > .source-badge { margin-bottom: .8rem; }
.page-header .lede { margin-bottom: 0; }
.booklist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.booklist-card { display: flex; min-width: 0; flex-direction: column; gap: .95rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); padding: var(--inset-card); transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease; }
@media (hover: hover) { .booklist-card:hover { box-shadow: 0 4px 16px var(--shadow); } }
.bl-covers { display: flex; padding-left: 2px; }
.bl-cover { position: relative; flex: none; width: 46px; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 1px 5px var(--shadow); transition: margin-left .16s ease; }
.bl-cover:not(:first-child) { margin-left: -18px; }
.bl-cover:nth-child(1) { z-index: 8; } .bl-cover:nth-child(2) { z-index: 7; } .bl-cover:nth-child(3) { z-index: 6; } .bl-cover:nth-child(4) { z-index: 5; }
.bl-cover:nth-child(5) { z-index: 4; } .bl-cover:nth-child(6) { z-index: 3; } .bl-cover:nth-child(7) { z-index: 2; } .bl-cover:nth-child(8) { z-index: 1; }
@media (hover: hover) { .booklist-card:hover .bl-cover:not(:first-child) { margin-left: -12px; } }
.bl-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-body { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.bl-body h2 { display: -webkit-box; margin: 0; min-height: calc(2 * 1.35em); overflow: hidden; font-size: var(--text-lead); font-weight: var(--weight-medium); line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.booklist-shelf .bl-body h2 { font-size: var(--text-title); font-weight: var(--weight-medium); }
.bl-desc { display: -webkit-box; margin: .4rem 0 0; min-height: calc(2 * 1.55em); overflow: hidden; color: var(--muted); font-size: var(--text-body); line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
ol.booklist-list .booklist-row { grid-template-columns: 160px minmax(0, 1fr) auto; grid-template-areas: "covers book stats"; gap: 1.25rem; align-items: start; padding: 1.05rem .5rem; }
.booklist-row .bl-row-covers { grid-area: covers; }
.booklist-row .chart-book { grid-area: book; }
.booklist-row .chart-stats { grid-area: stats; }
ol.booklist-list > li + li { border-top: 1px solid var(--border); }
@media (hover: hover) { ol.booklist-list .booklist-row:hover { background: var(--surface); } }
.bl-row-covers { display: flex; padding-top: .1rem; }
.bl-row-cover { flex: none; width: 48px; height: 68px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--background); }
.bl-row-cover + .bl-row-cover { margin-left: -22px; }
.bl-row-cover:nth-child(n+6) { display: none; }
.bl-row-cover img { width: 100%; height: 100%; object-fit: cover; }
.bl-row-cover-empty { background: var(--surface); }
.bl-row-cover { position: relative; }
.bl-row-cover img { position: relative; }
.bl-cover .cover-fallback, .bl-row-cover .cover-fallback { font-size: var(--text-caption); }
.booklist-row .chart-book { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.booklist-row .chart-book strong { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.35; }
.booklist-row .chart-meta { flex-wrap: wrap; gap: .3rem .4rem; }
.bl-row-time { display: block; color: var(--muted); font-size: var(--text-caption); }
.booklist-row .chart-stats { align-self: start; gap: 1.75rem; padding-top: .15rem; }
.booklist-row .chart-stat { min-width: 68px; align-items: center; }
.booklist-row .chart-stat-val { white-space: nowrap; }
.bl-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .6rem; }
.bl-kind { font-weight: var(--weight-medium); }
.bl-stats { flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: auto; padding-top: .7rem; }
.bl-stats .chart-stat { align-items: center; min-width: 0; }
.bl-filters .filter-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem .9rem; margin-top: .9rem; }
.bl-filters .filter-sort, .bl-filters .filter-order { flex: none; }
.bl-filter-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; gap: .75rem .9rem; }
.bl-field { display: flex; min-width: 0; flex-direction: column; gap: .3rem; }
.bl-field .select, .bl-field .cs { flex: none; width: 100%; }
.bl-bookfilter { margin-top: 1.1rem; margin-bottom: 1.25rem; display: grid; gap: .4rem; max-width: 420px; }
.bl-bookfilter > .field-label { display: block; color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-medium); }
.bl-tagfilter { margin-top: 1rem; }
.bl-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: auto; padding-top: .8rem; color: var(--muted); font-size: var(--text-caption); font-variant-numeric: tabular-nums; }
.booklist-listhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.75rem 0 .85rem; }
.booklist-listhead-text { min-width: 0; }
.booklist-sortbar { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; margin: 0; }
.booklist-sortbar .field-label { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-medium); letter-spacing: .01em; }
.booklist-sortbar .select, .booklist-sortbar .cs { flex: 0 0 165px; width: 165px; }
.count-note { position: relative; display: inline-block; margin-right: .35rem; vertical-align: middle; }
.count-note > summary { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: var(--radius-pill); color: var(--subtle); cursor: pointer; list-style: none; }
.count-note > summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .count-note > summary:hover { color: var(--foreground); } }
.count-note > summary:focus-visible { outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent); }
.count-note .ico-info { width: 14px; height: 14px; }
.count-note-body { position: absolute; z-index: 60; top: calc(100% + .45rem); right: 0; width: min(280px, 78vw); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); padding: .7rem .8rem; box-shadow: var(--shadow-pop); color: var(--muted); font-size: var(--text-caption); font-weight: var(--weight-normal); line-height: 1.55; text-align: left; letter-spacing: 0; text-transform: none; }
.count-note-body p { margin: 0; }
.count-note-body p + p { margin-top: .45rem; }
.count-note-body a { color: var(--foreground); text-decoration: underline; }
.booklist-metastrip { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; margin: .8rem 0 0; }
.booklist-metastrip div { display: flex; align-items: baseline; gap: .45rem; }
.booklist-metastrip dt { color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .04em; text-transform: uppercase; }
.booklist-metastrip dd { margin: 0; font-size: var(--text-title); font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; }
.booklist-page .charts-lede { max-width: none; white-space: pre-line; font-size: var(--text-prose); line-height: 1.5; }
.booklist-lede-wrap { margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.booklist-lede-wrap:has(+ .engine-note) { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.booklist-lede-wrap + .engine-note { margin: .5rem 0 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.booklist-entries > li { padding-bottom: .55rem; }
.curator-note { margin: .4rem 0 .9rem; border: 0; border-left: 2px solid var(--accent); border-radius: 0; background: none; padding: .1rem 0 .1rem .95rem; }
.curator-note span { display: block; margin-bottom: .3rem; color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .05em; text-transform: uppercase; }
.curator-note p { max-width: none; margin: 0; color: var(--foreground); font-size: var(--text-prose); line-height: 1.7; white-space: pre-line; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1.75rem 0 0; }
.stat-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); padding: 1rem; }
.stat-card dt { color: var(--muted); font-size: var(--text-caption); font-weight: var(--weight-medium); }
.stat-card dd { display: grid; gap: .35rem; margin: .8rem 0 0; }
.stats-value { font-size: var(--text-stat); font-weight: var(--weight-strong); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats-definition { color: var(--muted); font-size: var(--text-label); line-height: 1.45; }
.stats-section { margin-top: 2.75rem; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--surface-raised); font-size: var(--text-body); }
.data-table th, .data-table td { border-bottom: 1px solid var(--border); padding: .75rem 1rem; text-align: left; }
.data-table thead th { background: var(--surface); color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); text-transform: uppercase; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.reading-page { width: 100%; font-size: var(--text-prose); }
.reading-page .reading-lede { color: var(--muted); font-size: var(--text-prose); line-height: 1.7; }
.reading-page h2 { margin: 2rem 0 .6rem; font-size: 1.1rem; }
.reading-page > p:not(.eyebrow):not(.reading-lede) { color: var(--muted); line-height: 1.7; }
.state { max-width: 62ch; margin: 0 auto; padding: 2rem 0; text-align: center; }
.state-page { display: flex; min-height: 38vh; flex-direction: column; justify-content: center; padding: 1rem 0 3rem; }
.state-eyebrow { display: block; margin: 0 0 .45rem; color: var(--accent); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .09em; text-transform: uppercase; }
.state-title { margin: 0; color: var(--foreground); font-size: 1.35rem; font-weight: var(--weight-strong); letter-spacing: -.03em; line-height: 1.2; }
.state-page .state-title { font-size: var(--text-display); font-weight: var(--weight-strong); letter-spacing: -.03em; line-height: 1.1; }
.state-body { margin: .55rem auto 0; max-width: 52ch; color: var(--muted); font-size: var(--text-title); line-height: 1.5; }
.state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.25rem; }
.state-btn { min-height: 34px; padding: .42rem 1.1rem; border-radius: var(--radius-pill); font-size: var(--text-body); box-shadow: 0 1px 2px var(--shadow); transition: background .14s ease, transform .1s ease; }
.state-btn-primary { background: var(--cta); color: var(--cta-foreground); }
@media (hover: hover) { .state-btn-primary:hover { background: var(--cta-hover); } }
.ico { width: 13px; height: 13px; flex: none; }
.ico-star { color: var(--rank-first); }
.ico-save, .ico-views, .ico-like, .ico-rec, .ico-clicks, .ico-flower { color: var(--muted); }
.ico-like { width: 14px; height: 14px; flex: none; }
.ico-caret { width: 8px; height: 8px; flex: none; }
.copy-icon { width: 15px; height: 15px; }
.copy-btn { display: inline-grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); }
@media (hover: hover) { .copy-btn:hover, .copy-btn.is-copied { background: var(--surface); color: var(--primary); } }
.copy-btn.is-copy-failed { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
@media (pointer: coarse) {
.copy-btn { position: relative; }
.copy-btn::after { content: ""; position: absolute; inset: -6px; }
}
.copy-btn .ic-check { display: none; }
.copy-btn.is-copied .ic-copy { display: none; }
.copy-btn.is-copied .ic-check { display: block; }
@media (max-width: 939px) {
.header-inner { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.header-inner.has-account { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
.header-inner > .theme-toggle { margin-left: calc(var(--nav-gap) - var(--header-gap)); }
.desktop-search { display: none; }
.search-toggle { display: grid; }
.nav-scroller { justify-content: flex-start; }
.site-header.search-open .mobile-search,
.site-header.search-closing .mobile-search { display: flex; align-items: center; gap: .4rem; position: absolute; inset: 0; z-index: 60; background: var(--background); padding: 0 calc(var(--gutter) / 2); }
.site-header.search-open .mobile-search { animation: searchExpand .32s cubic-bezier(.22, 1, .36, 1); }
.site-header.search-closing .mobile-search { animation: searchCollapse .24s cubic-bezier(.4, 0, .9, 1) forwards; }
@keyframes searchExpand { from { clip-path: inset(0 0 0 100%); opacity: .35; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes searchCollapse { from { clip-path: inset(0 0 0 0); opacity: 1; } to { clip-path: inset(0 0 0 100%); opacity: .2; } }
}
@media (min-width: 940px) and (max-width: 1024px) {
.header-inner { grid-template-columns: auto minmax(220px, 320px) minmax(max-content, 1fr) auto; }
.header-inner.has-account { grid-template-columns: auto minmax(220px, 320px) minmax(max-content, 1fr) auto auto; }
}
@media (max-width: 1024px) {
.book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filter-query { grid-column: span 2; }
.source-card-grid { grid-template-columns: 1fr; }
.booklist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
:root { --inset-card: .9rem; }
input, select, textarea, .input, .select,
.global-search input, .searchbox input { font-size: var(--text-title); }
.browse-filters { border-radius: var(--radius-lg); }
.filter-head { margin-bottom: .8rem; }
.filter-grid { gap: .75rem .7rem; }
.filter-advanced { margin-top: .9rem; }
:root { --control-h: 40px; }
.save-menu-item { min-height: 44px; }
.header-inner { grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "brand search theme menu"; width: min(var(--content), calc(100% - var(--gutter))); min-height: 58px; --header-gap: .1rem; --nav-gap: .1rem; padding: .3rem 0; }
.header-inner.has-account { grid-template-columns: minmax(0, 1fr) auto auto auto auto; grid-template-areas: "brand search theme account menu"; }
.brand-wordmark { grid-area: brand; font-size: var(--text-lead); }
.search-toggle { grid-area: search; width: 44px; height: 44px; }
.theme-toggle { grid-area: theme; width: 44px; height: 44px; }
.account-slot { grid-area: account; }
.account-trigger { width: 44px; height: 44px; }
.account-popover .nav-menu:not(.signin-menu) { min-width: 9.5rem; padding: .3rem; }
.account-popover .nav-menu-link { display: flex; align-items: center; min-height: 44px; padding: .55rem .6rem; }
.nav-toggle { grid-area: menu; display: grid; width: 44px; height: 44px; }
.nav-scroller { display: none; }
.signin-btn { min-height: 44px; }
.site-main { width: min(var(--content), calc(100% - var(--gutter))); padding: 2rem 0 2rem; }
.display-title { font-size: 2.25rem; }
.page-title { font-size: 2rem; }
.button, .input, .select { min-height: 44px; }
.home-intro { grid-template-columns: 1fr; align-items: start; padding-top: .5rem; }
.home-intro-copy { grid-row: auto; }
.home-search { width: 100%; }
.source-filter-list { width: 100%; }
.home-hero { padding: calc(72px + 1.3rem) 0 calc(72px + 1.2rem); }
.home-title { font-size: 1.375rem; }
.home-sources { gap: .35rem .9rem; }
.hero-cover { width: 48px; height: 72px; margin-right: 5px; border-radius: var(--radius-sm); }
.hero-copy::before { inset: -2.1rem -1.4rem; filter: blur(22px); }
.home-stats { grid-template-columns: repeat(3, 1fr); gap: 1.1rem .8rem; }
.home-genres { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; touch-action: pan-x pan-y; overscroll-behavior-x: contain; padding-bottom: .2rem; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
.home-genres.is-rail-end { -webkit-mask-image: none; mask-image: none; }
.home-body { gap: 2.75rem; margin-top: 2.4rem; }
.section { margin-top: 2.5rem; }
.section-head, .section-header, .library-header, .results-head { align-items: start; }
.section-head { margin-bottom: .75rem; }
.book-shelf { gap: .65rem; margin-top: 1rem; }
.shelf-card { width: 104px; gap: .4rem; }
.shelf-card-rich { width: 112px; }
.shelf-cover { border-radius: var(--radius-sm); }
.shelf-cover .cover-fallback { font-size: 1.25rem; }
.shelf-author, .shelf-time { font-size: var(--text-label); }
ol.booklist-list .booklist-row { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "covers stats" "book book"; gap: .75rem .75rem; padding: 1rem .5rem; }
.booklist-row .bl-row-covers { grid-area: covers; }
.booklist-row .chart-book { grid-area: book; }
.bl-row-covers { padding-top: 0; }
.bl-row-cover { width: 46px; height: 64px; }
.bl-row-cover + .bl-row-cover { margin-left: -14px; }
.bl-row-cover:nth-child(n+4) { display: none; }
.booklist-row .chart-book strong { font-size: var(--text-title); }
.booklist-row .chart-stats { grid-area: stats; align-self: center; justify-content: flex-end; gap: .85rem; margin-top: 0; padding-top: 0; }
.booklist-row .chart-stat { min-width: 0; align-items: center; }
.booklist-row .chart-stat-lbl { letter-spacing: .04em; }
.bl-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .5rem; }
.bl-field .select, .bl-field .cs { width: 100%; }
.bl-stats { gap: .3rem .9rem; }
.booklist-shelf .booklist-card { width: min(268px, 76vw); gap: .75rem; }
.booklist-shelf .bl-cover { width: 40px; }
.booklist-shelf .bl-cover:not(:first-child) { margin-left: -15px; }
.book-grid { grid-template-columns: 1fr; }
.book-card { grid-template-columns: 88px minmax(0, 1fr); min-height: 150px; }
.book-title { margin-top: .4rem; }
.library-header { flex-direction: column; gap: 1rem; }
.library-count { display: flex; gap: .4rem; align-items: baseline; text-align: left; }
.filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filter-query { grid-column: 1 / -1; }
.book-detail-header { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1rem; }
.detail-cover { width: min(150px, 44vw); }
.book-detail-main { width: 100%; padding-top: 0; }
.detail-copy-row { justify-content: center; }
.detail-title { font-size: 1.5rem; }
.detail-author { font-size: var(--text-title); }
.book-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem .5rem; width: 100%; }
.book-facts > div { align-items: center; min-width: 0; text-align: center; }
.book-facts dd { overflow-wrap: anywhere; }
.request-btn { width: 100%; min-height: 36px; margin-top: 1.2rem; padding: .4rem 1rem; }
.book-save { display: flex; width: 100%; margin: .6rem 0 0; }
.book-save .save-menu-form, .book-save .save-menu { width: 100%; }
.book-save-btn { width: 100%; min-height: 36px; padding: .4rem 1rem; }
.book-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.book-stat { padding: .55rem .7rem; }
.book-cta-row { justify-content: center; }
.detail-section { margin-top: 2.25rem; }
.about-body .detail-section { margin-top: 1.8rem; }
.about-body .discord-btn { margin-top: .9rem; }
.changelog-list { margin-top: 1.5rem; }
.changelog-head { padding: 1.1rem 0; column-gap: .75rem; }
.booklist-listhead { margin: 1.4rem 0 .75rem; }
.booklist-sortbar .field-label { display: none; }
.booklist-sortbar .select, .booklist-sortbar .cs { flex: 0 0 132px; width: 132px; }
.reading-copy.clampable { --clamp: 8; }
.comment-body.clampable { --clamp: 4; }
.booklist-page .charts-lede.clampable { --clamp: 5; }
.curator-note p.clampable { --clamp: 3; }
.source-identity, .source-stats { grid-template-columns: 1fr 1fr; }
.comment-list { grid-template-columns: 1fr; }
.booklist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
.home-search, .filter-bar { grid-template-columns: 1fr; }
.filter-query { grid-column: auto; }
.filter-actions { justify-content: stretch; }
.filter-actions .button { flex: 1; }
.book-card { grid-template-columns: 76px minmax(0, 1fr); padding: .65rem; }
.shelf-card { width: 96px; }
.shelf-card-rich { width: 104px; }
.booklist-shelf .booklist-card { width: min(268px, 82vw); }
.home-stats { gap: .95rem .7rem; }
.source-identity, .source-stats { grid-template-columns: 1fr; }
.booklist-grid, .stat-grid { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
.chip-row, .seg { flex-wrap: wrap; overflow: visible; cursor: auto; }
.chip-row.is-dragging, .seg.is-dragging { cursor: auto; }
}
.charts-filters .seg, .charts-filters .chip-row { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; cursor: grab; }
.charts-filters .seg.is-dragging, .charts-filters .chip-row.is-dragging { cursor: grabbing; }
.charts-filters [data-railfade] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
.charts-filters [data-railfade].is-rail-end { -webkit-mask-image: none; mask-image: none; }
.charts-filters .seg-item, .charts-filters .chip { min-height: 32px; padding: .2rem .65rem; font-weight: var(--weight-normal); }
.charts-filters .seg-item.is-active, .charts-filters .chip.is-active { font-weight: var(--weight-medium); }
.charts-filters .filter-row { padding: .35rem 0; }
.select.js-select { min-height: var(--control-h); padding-top: .35rem; padding-bottom: .35rem; line-height: 1.2; }
.booklist-sortbar .select { font-size: var(--text-body); }
.tag-mode-select .select { min-height: 30px; padding: .2rem 1.9rem .2rem .55rem; font-size: var(--text-caption); }
@media (max-width: 700px) {
.seg-item, .chip, .home-genre-chip, .home-tab { min-height: 32px; padding: .2rem .65rem; }
.pagination-page { min-width: 40px; height: 40px; }
.pagination-link, .pagination-disabled { width: 48px; height: 40px; }
.hc-link, .home-panel-more, .section-head-row .text-link { padding-block: .65rem; margin-block: -.65rem; }
.filter-toggle { padding: .65rem .5rem; margin: -.65rem -.5rem; }
.expandable-toggle { padding: .6rem .75rem; margin-top: .1rem; margin-bottom: -.6rem; }
.book-facts dd a { padding-block: .875rem; }
.detail-author a { padding-block: .75rem; }
.booklist-page .charts-eyebrow a { padding-block: .9rem; }
.count-note > summary { position: relative; }
.count-note > summary::after { content: ""; position: absolute; inset: -11px; }
.book-shelf { margin-inline: calc(var(--gutter) / -2); padding-inline: calc(var(--gutter) / 2); scroll-padding-inline: calc(var(--gutter) / 2); scroll-snap-type: x proximity; }
.book-shelf > .shelf-card, .book-shelf > .booklist-card { scroll-snap-align: start; }
.blog-item { border-radius: 0; }
.blog-toc-links a { display: inline-flex; align-items: center; min-height: 40px; }
.blog-post .charts-eyebrow a { display: inline-block; padding-block: .8rem; margin-block: -.8rem; }
ol.booklist-list .booklist-row { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "covers title" "covers meta" "desc desc" "stats stats"; grid-template-rows: auto 1fr; gap: .4rem .8rem; align-items: start; }
ol.booklist-list .booklist-row .chart-book { display: contents; }
.booklist-row .chart-book > strong { grid-area: title; }
.booklist-row .chart-book > .chart-meta { grid-area: meta; align-self: start; }
.booklist-row .chart-book > .row-desc { grid-area: desc; margin-top: .2rem; }
.booklist-row .chart-stats { grid-area: stats; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-self: stretch; justify-content: stretch; margin-top: .2rem; }
.booklist-row .chart-stat { align-items: center; }
.row-with-follow:has(> .row-follow) .booklist-row .chart-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-right: 0; }
.row-with-follow > .row-follow { top: auto; bottom: calc(1rem + 5px); right: calc(12.5% - 22px); translate: none; }
@supports (anchor-scope: --row-val) {
.row-with-follow:has(.chart-stats) > .row-follow { bottom: auto; top: anchor(--row-val center); translate: 0 -50%; }
}
.row-with-follow:not(:has(.chart-stats)) > .row-follow { bottom: auto; top: calc(1rem + 32px); translate: 0 -50%; }
.row-with-follow:has(> .row-follow) .bl-row-cover:nth-child(3) { display: block; }
}
@media (max-width: 480px) {
.pagination { gap: .25rem; }
.pagination-link, .pagination-disabled { width: 44px; height: 40px; }
.pagination-pages { gap: 0; margin: 0 .15rem; }
.pagination-page { min-width: 30px; height: 40px; padding: 0 .2rem; }
.pagination-gap { padding: 0 .05rem; }
}
@media (pointer: coarse) {
.pagination-page, .pagination-link, .count-note > summary, .seg-item, .chip, .home-genre-chip, .home-tab, .tag-row a.meta-chip, .booklist-tags a.meta-chip, .honour-badge { position: relative; }
.pagination-page::after, .pagination-link::after, .count-note > summary::after, .seg-item::after, .chip::after, .home-genre-chip::after, .home-tab::after { content: ""; position: absolute; top: calc((100% - 44px) / 2); bottom: calc((100% - 44px) / 2); left: 0; right: 0; }
.count-note > summary::after { left: calc((100% - 44px) / 2); right: calc((100% - 44px) / 2); }
.seg-item::after, .chip::after, .home-genre-chip::after, .home-tab::after { left: -.2rem; right: -.2rem; }
.tag-row a.meta-chip::after, .booklist-tags a.meta-chip::after, .honour-badge::after { content: ""; position: absolute; inset: -.2rem; }
.charts-filters .seg, .charts-filters .chip-row, .home-tablist { padding-block: 6px; margin-block: -6px; }
.shelf-tabs { padding-block: 6px; margin-block: calc(1.25rem - 6px) calc(1rem - 6px); }
.blog-cats { padding-block: 6px; margin-block: calc(1.75rem - 6px) -6px; }
.home-genres { padding-block: 6px; margin-block: calc(2rem - 6px) -6px; }
}
:root.js-sheets details.save-menu[open] > .save-menu-panel:not(.is-sheet),
:root.js-sheets .account-popover[open] > .nav-menu:not(.is-sheet) { visibility: hidden; animation: none; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 200; background: var(--scrim); opacity: 0; touch-action: none; transition: opacity .2s ease; }
.sheet-backdrop.is-open { opacity: 1; }
.sheet-backdrop[hidden] { display: none; }
.is-sheet {
position: fixed; inset: auto 8px calc(8px + env(safe-area-inset-bottom, 0px)) 8px; z-index: 201;
display: flex; flex-direction: column;
width: auto; min-width: 0; max-width: none; max-height: calc(80dvh - env(safe-area-inset-bottom, 0px));
margin: 0; padding: 0;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-raised);
box-shadow: var(--shadow-pop);
overflow: hidden;
}
.is-sheet.is-sheet-in { animation: sheetIn .2s ease-out; }
@keyframes sheetIn { from { transform: translateY(calc(100% + 8px + env(safe-area-inset-bottom, 0px))); } to { transform: none; } }
@keyframes sheetOut { from { transform: none; } to { transform: translateY(calc(100% + 8px + env(safe-area-inset-bottom, 0px))); } }
.is-sheet.is-sheet-closing { animation: sheetOut .18s ease-in forwards; }
.is-sheet.is-sheet-dragging { animation: none; -webkit-user-select: none; user-select: none; }
.sheet-head, .sheet-title { -webkit-user-select: none; user-select: none; }
.is-sheet.is-sheet-settling { animation: none; transition: translate .18s ease-out; }
.is-sheet:focus { outline: 0; }
.nav-menu.is-sheet::before { content: none; }
.sheet-head { position: relative; flex: none; padding: 1.15rem .95rem .45rem; touch-action: none; }
.sheet-head::before { content: ""; position: absolute; top: .45rem; left: 50%; width: 36px; height: 4px; border-radius: var(--radius-pill); background: var(--border); translate: -50% 0; }
.sheet-title { display: block; color: var(--muted); font-size: var(--text-label); font-weight: var(--weight-strong); letter-spacing: .06em; text-transform: uppercase; }
.sheet-title:empty { display: none; }
.sheet-body { flex: 1 1 auto; display: flex; min-height: 0; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: .15rem .5rem .6rem; scrollbar-width: none; -ms-overflow-style: none; }
.sheet-body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.is-sheet .save-menu-item, .is-sheet .nav-menu-link, .is-sheet .cs-opt { display: flex; align-items: center; min-height: 48px; padding: .6rem .7rem; border-radius: var(--radius); color: var(--foreground); font-size: var(--text-title); font-weight: var(--weight-normal); }
.is-sheet .nav-menu-link.is-active, .is-sheet .cs-opt.is-selected, .is-sheet .save-menu-item[aria-current="true"] { color: var(--foreground); font-weight: var(--weight-medium); }
.is-sheet .save-menu-item { gap: .7rem; }
.is-sheet .nav-menu-link { gap: .65rem; white-space: normal; }
.nav-drawer.is-sheet { gap: 0; }
.nav-drawer.is-sheet .sheet-body { gap: .1rem; padding: .35rem .6rem .85rem; }
.is-sheet .signin-buttons { padding: .2rem 0 .15rem; }
.is-sheet .signin-btn { min-height: 48px; font-size: var(--text-title); }
.is-sheet .cs-opt { gap: .6rem; }
.is-sheet .cs-ico { width: 20px; height: 20px; }
.is-sheet .save-menu-item .ico { width: 18px; height: 18px; }
.is-sheet .save-menu-sep { margin: .35rem .2rem; }
.is-sheet .sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 0 .25rem; }
.is-sheet .sheet-grid > .save-menu-sep, .is-sheet .sheet-grid > .save-menu-remove, .is-sheet .sheet-grid > form, .is-sheet .sheet-grid > .cs-empty { grid-column: 1 / -1; }
.is-sheet .sheet-grid .cs-opt, .is-sheet .sheet-grid .save-menu-item, .is-sheet .sheet-grid .nav-menu-link { min-width: 0; white-space: nowrap; overflow: hidden; }
.is-sheet .cs-list { max-height: none; overflow: visible; padding: 0; }
.is-sheet .cs-search { position: sticky; top: 0; z-index: 1; padding: .1rem 0 .5rem; border-bottom: 0; background: var(--surface-raised); }
.is-sheet .cs-empty { padding: 1rem; font-size: var(--text-body); }
.save-menu-panel [hidden], .is-sheet [hidden] { display: none; }
.saved-search-dialog.is-sheet > .sheet-head { padding-bottom: 0; }
.saved-search-dialog.is-sheet .dialog-close { display: none; }
.saved-search-dialog.is-sheet > .saved-search-dialog-card { flex: 1 1 auto; min-height: 0; padding-top: .6rem; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.saved-search-dialog.is-sheet > .saved-search-dialog-card::-webkit-scrollbar { width: 0; height: 0; display: none; }
.saved-search-dialog.is-sheet::backdrop { opacity: var(--scrim-fade, 1); }
.saved-search-dialog:not([open]) { display: none; }
.top-progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 300; height: 2px; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.top-progress.is-on { opacity: 1; }
.top-progress-fill { height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease-out; }
:root.has-sheet { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}