:root {
color-scheme: light;
--bg: #eef1f5;
--surface: rgb(255 255 255 / 68%);
--surface-strong: rgb(255 255 255 / 86%);
--paper: rgb(255 255 255 / 90%);
--chrome: rgb(255 255 255 / 78%);
--hover: rgb(15 23 42 / 5%);
--press: rgb(15 23 42 / 8%);
--chip: rgb(15 23 42 / 5%);
--text: #1f2937;
--text-2: #4b5563;
--text-3: #6b7280;
--muted: #9ca3af;
--border: rgb(15 23 42 / 8%);
--border-strong: rgb(15 23 42 / 14%);
--glass-edge: rgb(255 255 255 / 60%);
--primary: #64748b;
--accent: #4f46e5;
--accent-2: #0ea5e9;
--accent-soft: rgb(79 70 229 / 9%);
--accent-line: rgb(79 70 229 / 28%);
--link: #4338ca;
--active-bg: color-mix(in srgb, #94a3b8 18%, white);
--mark: rgb(250 204 21 / 38%);
--code-bg: rgb(15 23 42 / 4.5%);
--pre-bg: #f6f7fb;
--btn-primary-bg: #1f2937;
--btn-primary-fg: #fff;
--shadow-glass: inset 0 1px 0 rgb(255 255 255 / 45%), 0 8px 28px rgb(31 38 135 / 7%);
--shadow-chrome: inset 0 1px 0 rgb(255 255 255 / 55%), 0 10px 40px -10px rgb(0 0 0 / 14%), 0 4px 12px -4px rgb(0 0 0 / 6%);
--shadow-lift: inset 0 1px 0 rgb(255 255 255 / 45%), 0 18px 44px -12px rgb(31 38 135 / 18%);
--radius-xl: 28px;
--radius-lg: 22px;
--radius: 16px;
--radius-sm: 12px;
--pill: 999px;
--ease: cubic-bezier(0.22, 1, 0.36, 1);
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
--dur: 0.2s;
--font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", "Microsoft JhengHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
--font-serif: "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "Songti SC", "STSong", "Songti TC", "SimSun", "PMingLiU", Georgia, "Times New Roman", serif;
--font-kai: "LXGW WenKai", "LXGW WenKai Screen", "Kaiti SC", "STKaiti", "KaiTi", "BiauKai", "DFKai-SB", "TW-Kai", serif;
--font-mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
--font-read: var(--font-serif);
--user-scale: 1;
--read-size: calc(18px * var(--user-scale));
--measure: 42rem;
--page: 1120px;
--gutter: 20px;
--header-h: 60px;
--header-top: 14px;
--dock-space: 0px;
}
html[data-font="sans"] { --font-read: var(--font-sans); }
html[data-font="kai"] { --font-read: var(--font-kai); }
html[data-width="narrow"] { --measure: 36rem; }
html[data-width="wide"] { --measure: 50rem; }
html.dark {
color-scheme: dark;
--bg: #0d1117;
--surface: rgb(24 26 31 / 66%);
--surface-strong: rgb(28 30 36 / 86%);
--paper: rgb(22 24 29 / 88%);
--chrome: rgb(18 19 23 / 72%);
--hover: rgb(255 255 255 / 6%);
--press: rgb(255 255 255 / 10%);
--chip: rgb(255 255 255 / 7%);
--text: #f3f4f6;
--text-2: #d1d5db;
--text-3: #9ca3af;
--muted: #6b7280;
--border: rgb(255 255 255 / 8%);
--border-strong: rgb(255 255 255 / 14%);
--glass-edge: rgb(255 255 255 / 10%);
--primary: #94a3b8;
--accent: #a5b4fc;
--accent-2: #7dd3fc;
--accent-soft: rgb(165 180 252 / 12%);
--accent-line: rgb(165 180 252 / 34%);
--link: #a5b4fc;
--active-bg: rgb(148 163 184 / 18%);
--mark: rgb(250 204 21 / 30%);
--code-bg: rgb(255 255 255 / 7%);
--pre-bg: #0b0e14;
--btn-primary-bg: #f3f4f6;
--btn-primary-fg: #111827;
--shadow-glass: inset 0 1px 0 rgb(255 255 255 / 5%), 0 8px 28px rgb(0 0 0 / 35%);
--shadow-chrome: inset 0 1px 0 rgb(255 255 255 / 8%), 0 10px 40px -10px rgb(0 0 0 / 60%), 0 4px 12px -4px rgb(0 0 0 / 40%);
--shadow-lift: inset 0 1px 0 rgb(255 255 255 / 6%), 0 18px 44px -12px rgb(0 0 0 / 60%);
}
@media (max-width: 900px) {
:root {
--dock-space: calc(84px + env(safe-area-inset-bottom, 0px));
}
}
@media (max-width: 640px) {
:root {
--read-size: calc(17px * var(--user-scale));
--gutter: 12px;
--header-h: 54px;
--header-top: 10px;
--radius-xl: 22px;
--radius-lg: 18px;
}
} *, *::before, *::after { box-sizing: border-box; }
html {
background: var(--bg);
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
scroll-behavior: smooth;
scroll-padding-top: calc(var(--header-h) + var(--header-top) + 16px);
}
html.lfa-zh-wait body { visibility: hidden; }
body {
margin: 0;
min-height: 100vh;
min-height: 100dvh;
overflow-x: hidden;
color: var(--text);
font-family: var(--font-ui);
font-size: 15px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
-webkit-tap-highlight-color: transparent;
transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
@supports (overflow: clip) {
body { overflow-x: clip; }
}
img, svg, video, canvas, iframe { max-width: 100%; }
img, video { height: auto; }
svg.icon { flex: none; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--accent-soft); color: inherit; }
html.dark ::selection { background: rgb(165 180 252 / 28%); }
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-radius: 8px;
}
.screen-reader-text {
position: absolute !important;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0 0 0 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
.skip-link:focus {
position: fixed !important;
top: 12px;
left: 12px;
z-index: 200;
width: auto;
height: auto;
margin: 0;
padding: 10px 16px;
clip: auto;
clip-path: none;
background: var(--btn-primary-bg);
color: var(--btn-primary-fg);
border-radius: var(--pill);
}
.muted { color: var(--text-3); }
.center-text { text-align: center; } .ambient {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
background:
radial-gradient(38vmax 38vmax at 8% 12%, rgb(99 102 241 / 16%), transparent 70%),
radial-gradient(34vmax 34vmax at 92% 8%, rgb(14 165 233 / 13%), transparent 70%),
radial-gradient(40vmax 40vmax at 78% 96%, rgb(245 158 11 / 10%), transparent 70%),
radial-gradient(120% 80% at 50% 20%, rgb(255 255 255 / 55%), transparent 55%),
linear-gradient(160deg, #e8eef8 0%, #f4f1ea 48%, #e6ebe7 100%);
transition: opacity 0.4s var(--ease);
}
html.dark .ambient {
background:
radial-gradient(38vmax 38vmax at 8% 12%, rgb(99 102 241 / 14%), transparent 70%),
radial-gradient(34vmax 34vmax at 92% 8%, rgb(14 165 233 / 9%), transparent 70%),
radial-gradient(40vmax 40vmax at 78% 96%, rgb(245 158 11 / 6%), transparent 70%),
radial-gradient(120% 80% at 50% 15%, rgb(30 41 59 / 70%), transparent 60%),
linear-gradient(165deg, #0b1220 0%, #12161f 50%, #0f1412 100%);
}
.no-ambient .ambient { background: var(--bg); } .glass {
background: var(--surface);
border: 1px solid var(--glass-edge);
box-shadow: var(--shadow-glass);
border-radius: var(--radius-lg);
}
.paper {
background: var(--paper);
border: 1px solid var(--glass-edge);
box-shadow: var(--shadow-glass);
border-radius: var(--radius-xl);
}
.chrome {
background: var(--chrome);
border: 1px solid var(--glass-edge);
box-shadow: var(--shadow-chrome);
-webkit-backdrop-filter: blur(18px) saturate(180%);
backdrop-filter: blur(18px) saturate(180%);
}
html.dark .glass, html.dark .paper, html.dark .chrome { border-color: var(--glass-edge); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.chrome { background: var(--surface-strong); }
html:not(.dark) .chrome { background: rgb(255 255 255 / 96%); }
html.dark .chrome { background: rgb(22 24 29 / 97%); }
} .btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 42px;
padding: 0 18px;
border: 1px solid var(--border);
border-radius: var(--pill);
background: var(--surface-strong);
color: var(--text);
font-size: 14px;
font-weight: 500;
line-height: 1;
white-space: nowrap;
transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.btn:hover { background: var(--surface); border-color: var(--border-strong); transform: translateY(-1px); }
.btn:active { transform: scale(0.972); }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); border-color: transparent; }
.btn-primary:hover { background: var(--btn-primary-bg); opacity: 0.92; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--hover); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; margin-top: 14px; }
.btn .icon { opacity: 0.9; }
.icon-btn {
display: inline-grid;
place-items: center;
flex: none;
width: 40px;
height: 40px;
padding: 0;
border: 0;
border-radius: var(--pill);
background: transparent;
color: var(--text-2);
transition: background-color var(--dur) var(--ease), color var(--dur), transform var(--dur) var(--ease-spring);
}
.icon-btn:hover { background: var(--hover); color: var(--text); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn-sm { width: 34px; height: 34px; }
.chip {
position: relative;
z-index: 2;
display: inline-flex;
align-items: center;
gap: 5px;
min-height: 28px;
padding: 0 11px;
border: 1px solid transparent;
border-radius: var(--pill);
background: var(--chip);
color: var(--text-2);
font-family: var(--font-ui);
font-size: 12.5px;
font-weight: 500;
line-height: 1;
white-space: nowrap;
transition: background-color var(--dur) var(--ease), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease);
}
a.chip:hover, button.chip:hover { background: var(--active-bg); color: var(--text); }
button.chip { cursor: pointer; }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.chip-accent { background: var(--accent-soft); color: var(--accent); }
.chip-pin { background: rgb(245 158 11 / 14%); color: #b45309; }
html.dark .chip-pin { color: #fcd34d; }
.chip-tiny { min-height: 22px; padding: 0 8px; font-size: 11.5px; }
.chip-count { margin-left: 2px; font-size: 11px; opacity: 0.6; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.actions-center { justify-content: center; }
kbd {
display: inline-block;
min-width: 22px;
padding: 2px 6px;
border: 1px solid var(--border-strong);
border-bottom-width: 2px;
border-radius: 6px;
background: var(--surface-strong);
font-family: var(--font-mono);
font-size: 11px;
line-height: 1.3;
text-align: center;
} .site-header {
position: fixed;
top: calc(var(--header-top) + env(safe-area-inset-top, 0px));
left: 0;
right: 0;
z-index: 50;
display: flex;
justify-content: center;
padding: 0 var(--gutter);
pointer-events: none;
transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
view-transition-name: site-header;
}
.site-header.is-hidden { transform: translateY(calc(-100% - var(--header-top) - 12px)); }
.topbar {
pointer-events: auto;
display: flex;
align-items: center;
gap: 10px;
width: min(100%, var(--page));
height: var(--header-h);
padding: 0 8px 0 10px;
border-radius: var(--pill);
}
.brand {
display: inline-flex;
align-items: center;
gap: 10px;
min-width: 0;
padding: 4px 10px 4px 4px;
border-radius: var(--pill);
transition: background-color var(--dur);
}
.brand:hover { background: var(--hover); }
.brand-logo {
flex: none;
width: 32px;
height: 32px;
border-radius: 10px;
object-fit: cover;
}
.top-start { display: flex; align-items: center; gap: 4px; min-width: 0; } .account { position: relative; flex: none; }
.account-btn, .account-guest {
display: grid;
place-items: center;
width: 40px;
height: 40px;
padding: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: var(--text-2);
cursor: pointer;
transition: background-color var(--dur), transform var(--dur) var(--ease);
}
.account-guest:hover { background: var(--hover); color: var(--text); }
.account-btn:active, .account-guest:active { transform: scale(0.94); }
.account-avatar {
display: block;
width: 34px;
height: 34px;
border: 2px solid var(--glass-edge);
border-radius: 50%;
object-fit: cover;
box-shadow: 0 0 0 1px var(--border);
transition: box-shadow var(--dur);
}
.account-btn:hover .account-avatar,
.account-btn[aria-expanded="true"] .account-avatar { box-shadow: 0 0 0 2px var(--accent); }
.account-menu {
position: absolute;
top: calc(100% + 12px);
left: -6px;
z-index: 80;
width: 240px;
padding: 8px;
border-radius: 20px;
animation: pop-in 0.22s var(--ease) both;
}
.account-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.account-head-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.account-head div { display: flex; flex-direction: column; min-width: 0; }
.account-head strong { overflow: hidden; font-size: 14.5px; white-space: nowrap; text-overflow: ellipsis; }
.account-head span { overflow: hidden; color: var(--text-3); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.account-links { display: flex; flex-direction: column; gap: 2px; }
.account-links a {
display: flex;
align-items: center;
gap: 10px;
min-height: 40px;
padding: 0 10px;
border-radius: 12px;
color: var(--text-2);
font-size: 14px;
transition: background-color var(--dur), color var(--dur);
}
.account-links a:hover, .account-links a:focus-visible { background: var(--hover); color: var(--text); }
.account-links .account-logout { margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0 0 12px 12px; color: #c2410c; }
html.dark .account-links .account-logout { color: #fb923c; }
.brand-name {
overflow: hidden;
font-size: 15.5px;
font-weight: 650;
letter-spacing: 0.01em;
white-space: nowrap;
text-overflow: ellipsis;
}
.top-nav {
display: flex;
flex: 1;
justify-content: center;
gap: 4px;
min-width: 0;
}
.nav-item {
position: relative;
display: inline-flex;
align-items: center;
gap: 7px;
height: 40px;
padding: 0 14px;
border-radius: var(--pill);
color: var(--text-2);
font-size: 14px;
font-weight: 500;
white-space: nowrap;
transition: background-color var(--dur) var(--ease), color var(--dur), transform var(--dur) var(--ease);
}
.nav-item:hover { background: var(--hover); color: var(--text); }
.nav-item:active { transform: scale(0.96); }
.nav-item[aria-current="page"] { background: var(--active-bg); color: var(--text); }
.nav-item[aria-current="page"]::after {
content: "";
position: absolute;
left: 50%;
bottom: 3px;
width: 4px;
height: 4px;
margin-left: -2px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 8px var(--accent);
}
.top-tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.zh-glyph { font-family: var(--font-serif); font-size: 16px; font-weight: 700; line-height: 1; }
.theme-btn .theme-icon { display: grid; place-items: center; grid-area: 1 / 1; transition: transform 0.45s var(--ease-spring), opacity 0.25s; }
.theme-btn .theme-icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
html.dark .theme-btn .theme-icon-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
html.dark .theme-btn .theme-icon-moon { opacity: 1; transform: none; }
.read-progress {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 70;
height: 3px;
pointer-events: none;
}
.read-progress span {
display: block;
height: 100%;
background: linear-gradient(90deg, #6366f1, #0ea5e9 70%, #f59e0b);
transform: scaleX(0);
transform-origin: left center;
box-shadow: 0 0 10px rgb(99 102 241 / 45%);
} .dock {
position: fixed;
left: 50%;
bottom: max(12px, env(safe-area-inset-bottom, 0px));
z-index: 50;
display: none;
gap: 2px;
max-width: calc(100vw - 24px);
padding: 6px;
border-radius: 30px;
transform: translateX(-50%);
overflow-x: auto;
scrollbar-width: none;
transition: transform 0.4s var(--ease), opacity 0.3s;
view-transition-name: site-dock;
}
.dock::-webkit-scrollbar { display: none; }
.dock.is-hidden { transform: translate(-50%, calc(100% + 28px)); }
.dock .nav-item {
flex-direction: column;
justify-content: center;
gap: 3px;
min-width: 58px;
height: 56px;
padding: 0 10px;
border-radius: 24px;
font-size: 11px;
line-height: 1.1;
}
.dock .nav-item[aria-current="page"]::after { bottom: 2px; }
.dock .nav-more { border: 0; background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
.dock .nav-more[data-current="true"], .dock .nav-more[aria-expanded="true"] { background: var(--active-bg); color: var(--text); }
.dock-more {
position: fixed;
left: 50%;
bottom: calc(max(12px, env(safe-area-inset-bottom, 0px)) + 80px);
z-index: 51;
width: min(calc(100vw - 24px), 360px);
padding: 14px;
border-radius: 24px;
transform: translateX(-50%);
animation: sheet-in 0.25s var(--ease) both;
}
.dock-more-title { margin: 0 4px 10px; color: var(--text-3); font-size: 12.5px; font-weight: 600; }
.dock-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dock-more-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 14px 6px 12px;
border-radius: 18px;
color: var(--text-2);
font-size: 12.5px;
transition: background-color var(--dur);
}
.dock-more-item:hover { background: var(--hover); color: var(--text); }
.dock-more-item[aria-current="page"] { background: var(--active-bg); color: var(--text); }
@keyframes sheet-in { from { opacity: 0; transform: translate(-50%, 10px); } }
.dock .nav-label { max-width: 4.5em; overflow: hidden; text-overflow: ellipsis; } .site-main {
width: min(100% - var(--gutter) * 2, var(--page));
margin: 0 auto;
padding-top: calc(var(--header-h) + var(--header-top) + 34px + env(safe-area-inset-top, 0px));
padding-bottom: 56px;
outline: none;
}
.section { margin-top: 36px; }
.section:first-child { margin-top: 0; }
.section-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
margin: 0 4px 16px;
}
.section-title {
margin: 0;
color: var(--text);
font-size: 19px;
font-weight: 650;
letter-spacing: 0.01em;
}
.section-more { display: inline-flex; align-items: center; gap: 2px; color: var(--text-3); font-size: 13.5px; transition: color var(--dur); }
.section-more:hover { color: var(--text); }
.back-link { margin: 26px 4px 0; }
.back-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 14px; }
.back-link a:hover { color: var(--text); } .page-head {
display: flex;
gap: 18px;
align-items: flex-start;
margin-bottom: 30px;
padding: 28px 30px;
}
.page-head-icon {
display: grid;
place-items: center;
flex: none;
width: 48px;
height: 48px;
border-radius: 16px;
background: var(--active-bg);
color: var(--text);
}
.page-head-body { flex: 1; min-width: 0; }
.eyebrow { margin: 0 0 4px; color: var(--text-3); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.page-title { margin: 0; font-family: var(--font-read); font-size: clamp(1.6rem, 3.6vw, 2.25rem); font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.page-desc { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.page-desc p { margin: 0 0 0.5em; }
.page-count { margin: 10px 0 0; color: var(--text-3); font-size: 13px; }
.page-head .chips { margin-top: 16px; }
.page-head-form { margin-top: 18px; }
.hint { margin: 10px 2px 0; color: var(--text-3); font-size: 12.5px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; padding: 0; list-style: none; }
.stat-row li { display: flex; align-items: baseline; gap: 6px; }
.stat-row strong { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-row span { color: var(--text-3); font-size: 13px; }  .banner {
--banner-h: 72svh;
position: relative;
display: grid;
place-items: center;
min-height: max(420px, var(--banner-h));
padding: calc(var(--header-h) + var(--header-top) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) 72px;
overflow: hidden;
color: var(--text);
text-align: center;
isolation: isolate;
}
.banner-full { --banner-h: 100svh; }
.banner-medium { --banner-h: 52svh; }
.banner-media { position: absolute; inset: 0; z-index: -1; }
.banner-img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: var(--banner-pos, center);
animation: banner-zoom 1.6s var(--ease) both;
}
@keyframes banner-zoom { from { transform: scale(1.06); opacity: 0.4; } }
.banner-shade { position: absolute; inset: 0; }
.banner.has-image { color: #fff; }
.banner.has-image .banner-shade {
background:
linear-gradient(180deg, rgb(0 0 0 / calc(var(--banner-shade) * 0.6)) 0%, rgb(0 0 0 / var(--banner-shade)) 100%);
} .banner::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
height: 120px;
background: linear-gradient(180deg, transparent, var(--bg));
pointer-events: none;
}
.banner.no-image .banner-shade {
background:
radial-gradient(60% 70% at 18% 20%, rgb(99 102 241 / 22%), transparent 70%),
radial-gradient(55% 65% at 85% 30%, rgb(14 165 233 / 20%), transparent 70%),
radial-gradient(50% 60% at 55% 90%, rgb(245 158 11 / 16%), transparent 70%);
}
.banner-inner { position: relative; max-width: 46rem; }
.banner-title {
margin: 0;
font-family: var(--font-read);
font-size: clamp(2.1rem, 6.4vw, 3.6rem);
font-weight: 700;
line-height: 1.18;
letter-spacing: 0.02em;
overflow-wrap: anywhere;
}
.banner.has-image .banner-title { text-shadow: 0 2px 24px rgb(0 0 0 / 35%); }
.banner-text {
max-width: 34rem;
margin: 16px auto 0;
color: inherit;
opacity: 0.86;
font-family: var(--font-read);
font-size: clamp(15px, 2.2vw, 18px);
line-height: 1.8;
}
.banner-stats {
display: inline-flex;
flex-wrap: wrap;
justify-content: center;
margin: 26px 0 0;
padding: 6px;
list-style: none;
border: 1px solid var(--glass-edge);
border-radius: var(--pill);
background: var(--surface);
box-shadow: var(--shadow-glass);
-webkit-backdrop-filter: blur(16px) saturate(160%);
backdrop-filter: blur(16px) saturate(160%);
}
.banner.has-image .banner-stats { border-color: rgb(255 255 255 / 28%); background: rgb(255 255 255 / 14%); box-shadow: none; }
.banner-stats li { display: flex; align-items: baseline; gap: 5px; padding: 5px 14px; }
.banner-stats li + li { border-left: 1px solid var(--border); }
.banner.has-image .banner-stats li + li { border-color: rgb(255 255 255 / 25%); }
.banner-stats strong { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.banner-stats span { opacity: 0.75; font-size: 12.5px; }
.banner-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.btn-glass {
border-color: var(--glass-edge);
background: var(--surface);
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
}
.banner.has-image .btn-glass { border-color: rgb(255 255 255 / 35%); background: rgb(255 255 255 / 16%); color: #fff; }
.banner.has-image .btn-glass:hover { background: rgb(255 255 255 / 26%); }
.banner-down {
position: absolute;
left: 50%;
bottom: 22px;
display: grid;
place-items: center;
width: 42px;
height: 42px;
margin-left: -21px;
border-radius: 50%;
color: inherit;
opacity: 0.8;
animation: banner-bob 2.4s ease-in-out infinite;
}
.banner-down:hover { opacity: 1; background: rgb(127 127 127 / 18%); }
@keyframes banner-bob { 50% { transform: translateY(6px); } }
body.has-banner .site-main { padding-top: 8px; }
body.has-banner .site-header:not(.is-hidden) .topbar { transition: background-color 0.3s; } .home-layout {
display: grid;
grid-template-columns: 280px minmax(0, 1fr);
grid-template-areas: "side main";
gap: 24px;
align-items: start;
scroll-margin-top: calc(var(--header-h) + var(--header-top) + 12px);
}
.home-main { grid-area: main; min-width: 0; }
.home-side {
grid-area: side;
position: sticky;
top: calc(var(--header-h) + var(--header-top) + 16px);
display: flex;
flex-direction: column;
gap: 16px;
min-width: 0;
}
.side-card { padding: 20px; border-radius: var(--radius-lg); }
.side-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--text); font-size: 14.5px; font-weight: 650; }
.side-title svg { color: var(--text-3); }
.side-profile { text-align: center; padding-top: 26px; }
.side-profile-avatar {
display: grid;
place-items: center;
width: 88px;
height: 88px;
margin: 0 auto 14px;
overflow: hidden;
border: 3px solid var(--glass-edge);
border-radius: 50%;
background: var(--chip);
box-shadow: 0 12px 30px -12px rgb(15 23 42 / 40%);
color: var(--text-3);
transition: transform 0.6s var(--ease-spring);
}
.side-profile-avatar:hover { transform: rotate(360deg); }
.side-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.side-profile-name { margin: 0; font-size: 18px; font-weight: 700; }
.side-profile-bio { margin: 8px 0 0; color: var(--text-2); font-size: 13.5px; line-height: 1.7; overflow-wrap: anywhere; }
.side-profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 0; padding: 0; list-style: none; }
.side-profile-stats a { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-radius: 12px; transition: background-color var(--dur); }
.side-profile-stats a:hover { background: var(--hover); }
.side-profile-stats strong { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.side-profile-stats span { color: var(--text-3); font-size: 12px; }
.side-profile-links { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.side-facts { margin: 0; }
.side-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.side-facts div:last-child { border-bottom: 0; }
.side-facts dt { color: var(--text-3); }
.side-facts dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.side-cats { margin: 0; padding: 0; list-style: none; }
.side-cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--text-2); font-size: 14px; transition: background-color var(--dur), color var(--dur); }
.side-cats a:hover { background: var(--hover); color: var(--text); }
.side-cats span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.side-cats em { flex: none; min-width: 26px; padding: 1px 8px; border-radius: var(--pill); background: var(--chip); color: var(--text-3); font-size: 12px; font-style: normal; text-align: center; }
.side-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.side-comments { margin: 0; padding: 0; list-style: none; }
.side-comments a { display: flex; gap: 10px; padding: 8px; border-radius: 12px; transition: background-color var(--dur); }
.side-comments a:hover { background: var(--hover); }
.side-comments img { flex: none; width: 34px; height: 34px; border-radius: 50%; }
.side-comment-body { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.side-comment-body strong { font-weight: 600; }
.side-comment-body span { color: var(--text-3); line-height: 1.55; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-widgets { display: flex; flex-direction: column; gap: 16px; }
.side-widgets ul { margin: 0; padding-left: 1.1em; font-size: 14px; } .post-stream { display: flex; flex-direction: column; gap: 22px; }
.card-stream { padding: 0 0 18px; }
.card-stream:hover { transform: translateY(-3px); }
.stream-cover {
position: relative;
display: block;
aspect-ratio: 16 / 7;
overflow: hidden;
background: var(--chip);
}
.stream-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card-stream:hover .stream-cover img { transform: scale(1.04); }
.stream-cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / 55%)); }
.stream-head { position: relative; padding: 24px 28px 0; text-align: center; }
.stream-pin { position: absolute; top: 14px; left: 14px; z-index: 2; }
.card-stream.has-cover .stream-pin { border-color: rgb(255 255 255 / 30%); background: rgb(0 0 0 / 35%); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card-stream.has-cover .stream-head { padding-top: 16px; }
.stream-cover .stream-title {
position: absolute;
inset: 0;
display: flex;
align-items: flex-end;
justify-content: center;
overflow: visible;
-webkit-line-clamp: unset;
padding: 0 28px 18px;
color: #fff;
text-align: center;
text-shadow: 0 2px 14px rgb(0 0 0 / 45%);
}
.card-stream.has-cover .stream-meta { margin-top: 0; }
.stream-title {
margin: 0;
font-family: var(--font-read);
font-size: clamp(1.25rem, 2.4vw, 1.55rem);
font-weight: 700;
line-height: 1.4;
overflow-wrap: anywhere;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.stream-meta {
position: relative;
z-index: 2;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 4px 16px;
margin-top: 12px;
color: var(--text-3);
font-size: 13px;
}
.stream-meta .meta-item { display: inline-flex; align-items: center; gap: 5px; }
.stream-meta .meta-link { transition: color var(--dur); }
.stream-meta .meta-link:hover { color: var(--accent); }
.stream-excerpt {
margin: 14px 28px 0;
color: var(--text-2);
font-family: var(--font-read);
font-size: 15px;
line-height: 1.85;
overflow-wrap: anywhere;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.stream-foot {
position: relative;
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: 16px 28px 0;
padding-top: 14px;
border-top: 1px solid var(--border);
}
.stream-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.stream-more { display: inline-flex; flex: none; align-items: center; gap: 4px; color: var(--accent); font-size: 13.5px; font-weight: 600; }
.stream-more svg { transition: transform var(--dur) var(--ease); }
.stream-more:hover svg { transform: translateX(3px); }
@media (max-width: 1080px) {
.home-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 900px) {
.home-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side"; }
.home-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-side .side-profile { grid-column: 1 / -1; }
.home-side .side-widgets { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
.banner { min-height: max(380px, var(--banner-h)); padding-bottom: 64px; }
.banner-medium { --banner-h: 46svh; }
.banner-stats li { padding: 4px 10px; }
.home-side { grid-template-columns: minmax(0, 1fr); }
.stream-head { padding: 20px 18px 0; }
.card-stream.has-cover .stream-head { padding-top: 14px; }
.stream-cover .stream-title { padding: 0 18px 14px; }
.stream-cover { aspect-ratio: 16 / 9; }
.stream-excerpt { margin: 12px 18px 0; font-size: 14.5px; }
.stream-foot { margin: 14px 18px 0; }
.stream-meta { gap: 4px 12px; font-size: 12.5px; }
} .card-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
.card {
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
overflow: hidden;
border: 1px solid var(--glass-edge);
border-radius: var(--radius-lg);
background: var(--surface);
box-shadow: var(--shadow-glass);
transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); background: var(--surface-strong); }
.card:active { transform: scale(0.985); }
.card:focus-within { box-shadow: var(--shadow-lift), 0 0 0 2px var(--accent-line); }
.card-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--chip); }
.card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-cover img { transform: scale(1.035); }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 20px; }
.card-top { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; }
.card-top:empty { display: none; }
.card-title {
margin: 0;
font-family: var(--font-read);
font-size: 1.22rem;
font-weight: 700;
line-height: 1.45;
overflow-wrap: anywhere;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.card-link { transition: color var(--dur); }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card-excerpt {
margin: 0;
color: var(--text-2);
font-family: var(--font-read);
font-size: 15px;
line-height: 1.8;
overflow-wrap: anywhere;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.card .meta { margin-top: auto; padding-top: 4px; }
.card-featured { grid-column: 1 / -1; }
.card-featured .card-title { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.card-featured .card-excerpt { -webkit-line-clamp: 4; font-size: 15.5px; }
@media (min-width: 901px) {
.card-featured.has-cover { flex-direction: row; }
.card-featured.has-cover .card-cover { flex: 0 0 52%; aspect-ratio: auto; min-height: 300px; }
.card-featured .card-body { padding: 30px 34px; justify-content: center; }
}
mark { padding: 0 2px; border-radius: 4px; background: var(--mark); color: inherit; } .meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px 14px;
color: var(--text-3);
font-family: var(--font-ui);
font-size: 13px;
}
.meta-item { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
a.meta-item:hover { color: var(--text); }
.meta-avatar { width: 22px; height: 22px; border-radius: 50%; } .pagination {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px;
margin-top: 34px;
}
.pagination .page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-width: 42px;
height: 42px;
padding: 0 14px;
border: 1px solid var(--glass-edge);
border-radius: var(--pill);
background: var(--surface);
color: var(--text-2);
font-size: 14px;
font-variant-numeric: tabular-nums;
transition: background-color var(--dur), color var(--dur), transform var(--dur) var(--ease);
}
.pagination a.page-numbers:hover { background: var(--surface-strong); color: var(--text); transform: translateY(-1px); }
.pagination .current { background: var(--btn-primary-bg); color: var(--btn-primary-fg); border-color: transparent; }
.pagination .dots { border-color: transparent; background: transparent; } .empty {
padding: 44px 24px;
text-align: center;
}
.empty-icon {
display: grid;
place-items: center;
width: 60px;
height: 60px;
margin: 0 auto 16px;
border-radius: 20px;
background: var(--active-bg);
color: var(--text-2);
}
.empty-title { margin: 0; font-size: 19px; font-weight: 650; }
.empty-text { max-width: 28rem; margin: 8px auto 0; color: var(--text-3); font-size: 14.5px; }
.empty + .discover { margin-top: 18px; } .mini-list { margin: 0; padding: 0; list-style: none; }
.mini-list li + li { border-top: 1px dashed var(--border); }
.mini-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 2px; transition: color var(--dur); }
.mini-list a:hover .mini-title { color: var(--accent); }
.mini-title { min-width: 0; overflow: hidden; color: var(--text); font-size: 14.5px; text-overflow: ellipsis; white-space: nowrap; transition: color var(--dur); }
.mini-date { flex: none; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; } .discover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 0; }
.panel { padding: 22px 24px; }
.panel-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 650; }
.panel-title-gap { margin-top: 24px; }
.notfound + .discover, .page-head + .discover { margin-top: 0; } .search-form {
position: relative;
display: flex;
align-items: center;
gap: 8px;
max-width: 36rem;
padding: 5px 5px 5px 44px;
border: 1px solid var(--border-strong);
border-radius: var(--pill);
background: var(--surface-strong);
transition: border-color var(--dur), box-shadow var(--dur);
}
.search-form:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-form-icon { position: absolute; left: 16px; top: 50%; color: var(--text-3); transform: translateY(-50%); }
.search-field { flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search-field::-webkit-search-cancel-button { cursor: pointer; }
.search-submit { flex: none; min-height: 40px; } .reader {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 28px;
align-items: start;
}
@media (min-width: 1200px) {
.reader.has-toc { grid-template-columns: minmax(0, 1fr) 248px; }
}
.reader-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.article { padding: clamp(28px, 5vw, 58px) clamp(18px, 6vw, 72px) clamp(26px, 4vw, 44px); }
.article-head, .prose, .article-foot, .article-cover {
max-width: var(--measure);
margin-left: auto;
margin-right: auto;
transition: max-width 0.45s var(--ease);
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 16px; color: var(--text-3); font-size: 13px; }
.crumbs a { padding: 2px 4px; border-radius: 6px; transition: color var(--dur), background-color var(--dur); }
.crumbs a:hover { color: var(--text); background: var(--hover); }
.crumbs .icon { opacity: 0.55; }
.article-title {
margin: 0;
font-family: var(--font-read);
font-size: clamp(1.7rem, 4.2vw, 2.6rem);
font-weight: 700;
line-height: 1.3;
letter-spacing: 0.005em;
overflow-wrap: anywhere;
text-wrap: balance;
}
.article-lede {
margin: 16px 0 0;
color: var(--text-2);
font-family: var(--font-read);
font-size: calc(var(--read-size) * 1.02);
line-height: 1.8;
}
.article-head .meta { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.article-cover { margin-top: 28px; margin-bottom: 0; }
.article-cover img { display: block; width: 100%; border-radius: var(--radius); }
.article-cover figcaption { margin-top: 8px; color: var(--text-3); font-size: 13px; text-align: center; } .prose {
margin-top: 32px;
color: var(--text);
font-family: var(--font-read);
font-size: var(--read-size);
line-height: 1.88;
letter-spacing: 0.012em;
overflow-wrap: break-word;
word-break: normal;
font-kerning: normal;
transition: font-size 0.25s var(--ease);
}
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 1px; text-underline-offset: 0.22em; overflow-wrap: anywhere; transition: text-decoration-color var(--dur), color var(--dur); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong, .prose b { font-weight: 700; color: var(--text); }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
position: relative;
margin: 2em 0 0.75em;
color: var(--text);
font-family: var(--font-read);
font-weight: 700;
line-height: 1.4;
scroll-margin-top: calc(var(--header-h) + var(--header-top) + 20px);
overflow-wrap: anywhere;
}
.prose h1 { font-size: 1.6em; }
.prose h2 { font-size: 1.42em; padding-bottom: 0.35em; border-bottom: 1px solid var(--border); }
.prose h3 { font-size: 1.2em; }
.prose h4 { font-size: 1.06em; }
.prose h5, .prose h6 { font-size: 1em; color: var(--text-2); }
.heading-anchor {
position: absolute;
left: -1.1em;
top: 0;
padding-right: 0.2em;
color: var(--muted);
font-weight: 400;
text-decoration: none !important;
opacity: 0;
transition: opacity var(--dur);
}
.prose :is(h2, h3, h4):hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.5em; }
.prose li { margin: 0.3em 0; }
.prose li::marker { color: var(--text-3); }
.prose li > ul, .prose li > ol { margin: 0.3em 0; }
.prose blockquote {
margin: 1.6em 0;
padding: 0.9em 1.2em;
border-left: 3px solid var(--accent-line);
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
background: var(--accent-soft);
color: var(--text-2);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: 0.6em; color: var(--text-3); font-size: 0.85em; font-style: normal; }
.prose hr {
height: auto;
margin: 2.6em 0;
border: 0;
text-align: center;
}
.prose hr::before { content: "· · ·"; color: var(--muted); font-size: 1.1em; letter-spacing: 0.6em; }
.prose img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--radius-sm); cursor: zoom-in; }
.prose a img { cursor: pointer; }
.prose figure { max-width: 100%; margin: 1.8em 0; }
.prose figcaption, .prose .wp-caption-text, .prose .wp-element-caption { margin-top: 0.6em; color: var(--text-3); font-family: var(--font-ui); font-size: 13px; line-height: 1.6; text-align: center; }
.prose .wp-caption { max-width: 100% !important; width: auto !important; }
.prose code, .prose kbd, .prose samp {
font-family: var(--font-mono);
font-size: 0.86em;
}
.prose :not(pre) > code {
padding: 0.15em 0.42em;
border-radius: 6px;
background: var(--code-bg);
color: var(--text);
overflow-wrap: anywhere;
}
.code-block { position: relative; margin: 1.6em 0; }
.prose pre {
margin: 1.6em 0;
padding: 18px 20px;
overflow-x: auto;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--pre-bg);
color: var(--text);
font-family: var(--font-mono);
font-size: 0.82em;
line-height: 1.7;
letter-spacing: 0;
tab-size: 4;
-webkit-overflow-scrolling: touch;
overscroll-behavior-x: contain;
}
.code-block pre { margin: 0; }
.prose pre code { padding: 0; background: none; font-size: 1em; white-space: pre; overflow-wrap: normal; }
.code-copy {
position: absolute;
top: 8px;
right: 8px;
display: inline-flex;
align-items: center;
gap: 5px;
height: 30px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: var(--pill);
background: var(--surface-strong);
color: var(--text-3);
font-family: var(--font-ui);
font-size: 12px;
opacity: 0;
transition: opacity var(--dur), color var(--dur);
}
.code-block:hover .code-copy, .code-copy:focus-visible, .code-copy.is-done { opacity: 1; }
.code-copy:hover { color: var(--text); }
@media (hover: none) { .code-copy { opacity: 0.9; } }
.table-wrap {
max-width: 100%;
margin: 1.6em 0;
overflow-x: auto;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
-webkit-overflow-scrolling: touch;
}
.prose table { width: 100%; margin: 0; border-collapse: collapse; font-family: var(--font-ui); font-size: 0.86em; line-height: 1.6; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--chip); font-weight: 600; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.table-wrap table { min-width: 100%; }
.prose iframe, .prose video, .prose embed, .prose object { display: block; max-width: 100%; margin: 1.6em auto; border: 0; border-radius: var(--radius-sm); }
.prose .wp-block-embed__wrapper { position: relative; }
.prose details {
margin: 1.4em 0;
padding: 0.7em 1em;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--chip);
}
.prose summary { cursor: pointer; font-weight: 600; }
.prose details[open] summary { margin-bottom: 0.6em; }
.prose dl dt { font-weight: 700; }
.prose dl dd { margin: 0 0 0.8em 1.4em; }
.prose abbr[title] { text-decoration: underline dotted; cursor: help; }
.prose sup, .prose sub { line-height: 0; }
.prose .alignleft, .prose .alignright { max-width: 50%; }
.prose .alignleft { float: left; margin: 0.4em 1.4em 1em 0; }
.prose .alignright { float: right; margin: 0.4em 0 1em 1.4em; }
.prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.prose .alignwide, .prose .alignfull { max-width: 100%; }
.prose::after { content: ""; display: table; clear: both; }
.prose .wp-block-pullquote { margin: 2em 0; padding: 1.4em 0; border-top: 2px solid var(--border-strong); border-bottom: 2px solid var(--border-strong); text-align: center; }
.prose .wp-block-pullquote blockquote { margin: 0; border: 0; background: none; }
.prose .wp-block-gallery { gap: 10px; }
.prose .wp-block-button__link { padding: 0.6em 1.3em; border-radius: var(--pill); background: var(--btn-primary-bg); color: var(--btn-primary-fg); text-decoration: none; }
.prose .wp-block-separator { border: 0; }
.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2em; font-family: var(--font-ui); font-size: 14px; }
.page-links a, .page-links > span:not(.page-links-title) { display: inline-grid; place-items: center; min-width: 36px; height: 36px; border-radius: var(--pill); background: var(--chip); text-decoration: none; }
.page-links > span:not(.page-links-title) { background: var(--btn-primary-bg); color: var(--btn-primary-fg); } .article-foot { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); }
.article-foot .chips { margin-bottom: 18px; }
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.share-note { color: var(--text-3); font-size: 13px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; } .author-card {
display: flex;
gap: 16px;
align-items: flex-start;
padding: 22px 24px;
transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.author-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.author-card .avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; }
.author-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.author-body .eyebrow { margin: 0; }
.author-name { margin: 0; font-size: 17px; font-weight: 650; }
.author-bio { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.author-body .chip { align-self: flex-start; margin-top: 6px; } .post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-nav-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px 22px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.post-nav-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.post-nav-next { grid-column: 2; text-align: right; }
.post-nav-next .post-nav-label { justify-content: flex-end; }
.post-nav-label { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 12.5px; }
.post-nav-title { font-family: var(--font-read); font-size: 16px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .related .section-title { margin: 6px 4px 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-item { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; padding: 18px 20px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.related-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.related-title { font-family: var(--font-read); font-size: 15.5px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.related-meta { color: var(--text-3); font-size: 12.5px; } .toc {
display: flex;
flex-direction: column;
min-width: 0;
border-radius: var(--radius-lg);
}
.toc-head { display: flex; align-items: center; gap: 8px; padding: 14px 14px 10px 18px; }
.toc-title { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 650; }
.toc-percent { margin-left: auto; color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.toc-close { display: none; }
.toc-body { min-height: 0; overflow-y: auto; padding: 0 10px 14px; overscroll-behavior: contain; scrollbar-width: thin; }
.toc-list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.toc-list li { margin: 0; }
.toc-list a {
position: relative;
display: block;
padding: 6px 10px 6px 14px;
border-radius: 10px;
color: var(--text-3);
font-size: 13.5px;
line-height: 1.5;
overflow-wrap: anywhere;
transition: color var(--dur), background-color var(--dur);
}
.toc-list a::before {
content: "";
position: absolute;
left: 3px;
top: 9px;
bottom: 9px;
width: 2px;
border-radius: 2px;
background: transparent;
transition: background-color var(--dur);
}
.toc-list a:hover { background: var(--hover); color: var(--text); }
.toc-list a.is-active { color: var(--text); font-weight: 600; background: var(--active-bg); }
.toc-list a.is-active::before { background: var(--accent); }
.toc-list .lvl-3 a { padding-left: 28px; font-size: 13px; }
.toc-list .lvl-4 a { padding-left: 40px; font-size: 12.5px; }
@media (min-width: 1200px) {
.toc {
position: sticky;
top: calc(var(--header-h) + var(--header-top) + 24px);
max-height: calc(100vh - var(--header-h) - var(--header-top) - 48px);
}
.toc .sheet-handle { display: none; }
html.is-focus .toc { opacity: 0; pointer-events: none; }
.fab.fab-toc { display: none; }
}
@media (max-width: 1199.98px) {
.toc {
position: fixed;
left: 50%;
bottom: calc(10px + env(safe-area-inset-bottom, 0px));
z-index: 90;
width: min(560px, calc(100vw - 20px));
max-height: min(72vh, 640px);
border-radius: 26px;
transform: translate(-50%, calc(100% + 40px));
visibility: hidden;
transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.toc.is-open { transform: translate(-50%, 0); visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
.toc-close { display: inline-grid; }
.toc-list a { padding-top: 9px; padding-bottom: 9px; font-size: 14.5px; }
} .reader-fab {
position: fixed;
right: max(18px, env(safe-area-inset-right, 0px));
bottom: calc(24px + var(--dock-space));
z-index: 45;
display: flex;
flex-direction: column;
gap: 10px;
transition: bottom 0.4s var(--ease);
}
.fab {
display: grid;
place-items: center;
width: 46px;
height: 46px;
padding: 0;
border-radius: 50%;
color: var(--text-2);
transition: transform var(--dur) var(--ease-spring), color var(--dur), opacity 0.3s, visibility 0.3s;
}
.fab:hover { color: var(--text); transform: scale(1.06); }
.fab:active { transform: scale(0.94); }
.fab[aria-pressed="true"] { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.fab-top { opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab-top.is-visible { opacity: 1; visibility: visible; transform: none; }
body.dock-hidden .reader-fab { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } html.is-focus .site-header { transform: translateY(calc(-100% - var(--header-top) - 12px)); }
html.is-focus .dock { transform: translate(-50%, calc(100% + 28px)); }
html.is-focus .reader-fab { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
html.is-focus .ambient { opacity: 0.35; }
html.is-focus .reader { grid-template-columns: minmax(0, 1fr); }
html.is-focus .reader-main > :not(.article) { opacity: 0.4; transition: opacity 0.3s; }
html.is-focus .reader-main > :not(.article):hover { opacity: 1; }
html.is-focus .article { box-shadow: none; } .comments { padding: clamp(22px, 4vw, 36px); }
.comments-title { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 18px; font-weight: 650; }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin-left: 26px; padding-left: 16px; border-left: 2px solid var(--border); }
.comment-item { margin: 0; }
.comment-body { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment-avatar .avatar { width: 40px; height: 40px; border-radius: 50%; }
.comment-main { flex: 1; min-width: 0; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13.5px; }
.comment-author { font-weight: 650; }
.comment-author a:hover { color: var(--accent); }
.comment-time { color: var(--muted); font-size: 12.5px; }
.comment-awaiting { margin: 6px 0 0; color: #b45309; font-size: 13px; }
.comment-content { margin-top: 6px; color: var(--text-2); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.comment-content p { margin: 0 0 0.6em; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-actions { display: flex; gap: 6px; margin-top: 8px; }
.comment-actions a { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: var(--pill); background: var(--chip); color: var(--text-3); font-size: 12.5px; }
.comment-actions a:hover { color: var(--text); background: var(--active-bg); }
.bypostauthor > .comment-body .comment-author::after { content: ""; }
.comment-respond { margin-top: 24px; }
.comment-reply-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; font-size: 16px; font-weight: 650; }
.comment-reply-title small a { color: var(--text-3); font-size: 13px; font-weight: 500; }
.comment-notes, .logged-in-as { margin: 0 0 14px; font-size: 13px; color: var(--text-3); }
.comment-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.comment-form > p { margin: 0; }
.comment-form .comment-notes, .comment-form .logged-in-as, .comment-form-comment, .comment-form-cookies-consent, .form-submit { grid-column: 1 / -1; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--text-2); font-size: 13px; font-weight: 500; }
.comment-form .req { color: #dc2626; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
display: block;
width: 100%;
min-height: 44px;
padding: 10px 14px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-sm);
background: var(--surface-strong);
color: var(--text);
font-size: 16px;
line-height: 1.6;
outline: 0;
transition: border-color var(--dur), box-shadow var(--dur);
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form :is(input, textarea):focus { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form-cookies-consent label { margin: 0; font-size: 13px; color: var(--text-3); }
.comment-form-cookies-consent input { width: 18px; height: 18px; accent-color: var(--accent); }
.comments .nav-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 14px; } .filter-bar {
position: sticky;
top: calc(var(--header-h) + var(--header-top) + 10px);
z-index: 10;
display: flex;
gap: 8px;
margin: 0 -4px 20px;
padding: 4px;
overflow-x: auto;
scrollbar-width: none;
transition: top 0.4s var(--ease);
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar .chip { min-height: 34px; padding: 0 14px; background: var(--surface-strong); border-color: var(--glass-edge); box-shadow: var(--shadow-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.filter-bar .chip.is-active { background: var(--btn-primary-bg); }
body.header-hidden .filter-bar { top: 10px; }
.timeline { display: flex; flex-direction: column; gap: 18px; }
.tl-year { padding: 22px 26px 14px; }
.tl-year-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.tl-year-title { margin: 0; font-family: var(--font-read); font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-year-count { color: var(--text-3); font-size: 13px; }
.tl-list { position: relative; margin: 0; padding: 0 0 0 18px; list-style: none; }
.tl-list::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.tl-month { position: relative; margin: 14px 0 4px; color: var(--text-3); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.tl-month::before { content: ""; position: absolute; left: -18px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border: 2px solid var(--accent); border-radius: 50%; background: var(--paper); }
.tl-item {
display: grid;
grid-template-columns: 52px minmax(0, 1fr) auto;
align-items: baseline;
gap: 12px;
margin: 0 -10px;
padding: 9px 10px;
border-radius: 12px;
transition: background-color var(--dur);
}
.tl-item:hover { background: var(--hover); }
.tl-date { color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; }
.tl-title { min-width: 0; font-family: var(--font-read); font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; transition: color var(--dur); }
.tl-title:hover { color: var(--accent); }
.tl-title::after { content: ""; position: absolute; inset: 0; }
.tl-item { position: relative; }
.tl-meta { display: inline-flex; gap: 8px; color: var(--text-3); font-size: 12.5px; white-space: nowrap; }
.tl-cat { padding: 1px 8px; border-radius: var(--pill); background: var(--chip); }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px 22px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.topic-head { display: flex; align-items: center; gap: 10px; }
.topic-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.topic-name { flex: 1; min-width: 0; margin: 0; font-size: 16.5px; font-weight: 650; overflow-wrap: anywhere; }
.topic-count { flex: none; color: var(--text-3); font-size: 12.5px; }
.topic-desc { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.topic-posts { position: relative; z-index: 2; margin: 0; padding: 0; list-style: none; }
.topic-posts li { padding: 5px 0; border-top: 1px dashed var(--border); }
.topic-posts a { display: block; overflow: hidden; color: var(--text-2); font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.topic-posts a:hover { color: var(--accent); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 24px; }
.tag-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; border-radius: var(--pill); background: var(--chip); color: var(--text-2); line-height: 1.3; transition: background-color var(--dur), color var(--dur), transform var(--dur) var(--ease); }
.tag-pill:hover { background: var(--active-bg); color: var(--text); transform: translateY(-1px); }
.tag-pill.level-0 { font-size: 13px; }
.tag-pill.level-1 { font-size: 14px; }
.tag-pill.level-2 { font-size: 15.5px; font-weight: 500; }
.tag-pill.level-3 { font-size: 17px; font-weight: 600; color: var(--text); background: var(--accent-soft); }
.about-body { padding: clamp(24px, 5vw, 48px) clamp(18px, 6vw, 64px); }
.about-body .prose { margin-top: 0; }
.admin-hint { max-width: var(--measure); margin: 20px auto 0; font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.stat-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px; text-align: center; }
.stat-icon { color: var(--text-3); }
.stat-cell strong { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-cell span:last-child { color: var(--text-3); font-size: 12.5px; }
.author-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.link-card { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 18px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.link-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--active-bg); }
.link-card strong { display: block; font-size: 15px; }
.link-card small { display: block; margin-top: 2px; color: var(--text-3); font-size: 12.5px; line-height: 1.5; }
.notfound { margin-bottom: 18px; padding: 48px 24px; text-align: center; }
.notfound-code { margin: 0; background: linear-gradient(135deg, #6366f1, #0ea5e9 60%, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(72px, 16vw, 128px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.notfound .page-title { margin-top: 10px; }
.notfound .page-desc { max-width: 30rem; margin: 10px auto 22px; }
.notfound .search-form { margin: 0 auto; } .site-footer {
width: min(100% - var(--gutter) * 2, var(--page));
margin: 0 auto;
padding-bottom: calc(24px + var(--dock-space));
}
.footer-card { padding: 26px 28px 20px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.footer-brand { max-width: 30rem; }
.footer-brand .brand { margin-left: -4px; }
.footer-desc { margin: 8px 0 0; color: var(--text-3); font-size: 13.5px; line-height: 1.7; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-menu a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: var(--pill); color: var(--text-2); font-size: 14px; transition: background-color var(--dur), color var(--dur); }
.footer-menu a:hover { background: var(--hover); color: var(--text); }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; }
.footer-widgets ul { margin: 0; padding-left: 1.1em; }
.widget-title { margin: 0 0 10px; font-size: 14px; font-weight: 650; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 12.5px; } .scrim {
position: fixed;
inset: 0;
z-index: 85;
background: rgb(15 23 42 / 28%);
-webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
animation: fade-in 0.25s var(--ease);
}
.prefs {
position: fixed;
top: calc(var(--header-h) + var(--header-top) + 10px + env(safe-area-inset-top, 0px));
right: max(var(--gutter), calc((100vw - var(--page)) / 2));
z-index: 95;
width: 348px;
max-height: calc(100vh - var(--header-h) - var(--header-top) - 24px);
padding: 16px 18px 18px;
overflow-y: auto;
border-radius: 24px;
transform-origin: top right;
animation: pop-in 0.32s var(--ease-spring);
overscroll-behavior: contain;
}
.sheet-handle { display: none; width: 40px; height: 5px; margin: 0 auto 10px; border-radius: 3px; background: var(--border-strong); }
.prefs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.prefs-head h2 { margin: 0; font-size: 16px; font-weight: 650; }
.pref-row { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; }
.pref-row + .pref-row { border-top: 1px solid var(--border); }
.pref-label { color: var(--text-3); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; }
.seg {
display: grid;
grid-auto-columns: minmax(0, 1fr);
grid-auto-flow: column;
gap: 4px;
padding: 4px;
border-radius: 14px;
background: var(--chip);
}
.seg button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-width: 0;
min-height: 38px;
padding: 0 8px;
border: 0;
border-radius: 10px;
background: transparent;
color: var(--text-2);
font-size: 13.5px;
font-weight: 500;
white-space: nowrap;
transition: background-color var(--dur) var(--ease), color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease);
}
.seg button:hover { color: var(--text); }
.seg button:active { transform: scale(0.96); }
.seg button[aria-pressed="true"] { background: var(--surface-strong); color: var(--text); box-shadow: 0 1px 2px rgb(0 0 0 / 8%), 0 4px 10px -4px rgb(0 0 0 / 12%); }
html.dark .seg button[aria-pressed="true"] { background: rgb(255 255 255 / 12%); }
.font-sample { font-size: 16px; font-weight: 600; line-height: 1; }
.font-sample-serif { font-family: var(--font-serif); }
.font-sample-sans { font-family: var(--font-sans); }
.font-sample-kai { font-family: var(--font-kai); }
.seg-font .font-name { overflow: hidden; text-overflow: ellipsis; } .seg-font.is-many { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 216px; overflow-y: auto; overscroll-behavior: contain; }
.seg-font.is-many button { justify-content: flex-start; padding: 0 10px; }
.pref-hint { margin: 6px 2px 0; color: var(--text-3); font-size: 12px; line-height: 1.6; }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 4px; border-radius: 14px; background: var(--chip); }
.stepper-value { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper .icon-btn { background: var(--surface-strong); }
.prefs-preview {
margin: 8px 0 0;
padding: 12px 14px;
border-radius: 14px;
background: var(--chip);
color: var(--text-2);
font-family: var(--font-read);
font-size: calc(16px * var(--user-scale));
line-height: 1.8;
}
.prefs .btn-block { margin-top: 12px; } .search-dialog { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.search-backdrop { position: absolute; inset: 0; background: rgb(15 23 42 / 30%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in 0.25s var(--ease); }
.search-panel {
position: relative;
display: flex;
flex-direction: column;
width: min(640px, 100%);
max-height: 76vh;
overflow: hidden;
border-radius: 24px;
animation: pop-in 0.32s var(--ease-spring);
}
.search-bar { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--border); color: var(--text-3); }
.search-bar input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 17px; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-body { min-height: 0; padding: 8px 12px 12px; overflow-y: auto; overscroll-behavior: contain; }
.search-section-title { margin: 10px 8px 4px; color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.search-default .mini-list a { padding: 10px 8px; border-radius: 10px; }
.search-default .mini-list a:hover { background: var(--hover); }
.search-default .mini-list li + li { border-top: 0; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 8px 4px; }
.search-results:empty { display: none; }
.search-results + .search-default { display: none; }
.search-results:empty + .search-default { display: block; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; transition: background-color 0.12s; }
.sr-item:hover, .sr-item.is-active { background: var(--active-bg); }
.sr-type { flex: none; padding: 2px 8px; border-radius: var(--pill); background: var(--chip); color: var(--text-3); font-size: 11.5px; }
.sr-title { flex: 1; min-width: 0; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.sr-status { padding: 18px 12px; color: var(--text-3); font-size: 14px; text-align: center; }
.sr-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 11px; border-radius: 12px; background: var(--chip); color: var(--text-2); font-size: 14px; }
.sr-all:hover, .sr-all.is-active { background: var(--active-bg); color: var(--text); }
.search-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 12px; }
.search-foot kbd { margin-right: 2px; }
@media (hover: none) { .search-foot { display: none; } } .lightbox {
position: fixed;
inset: 0;
z-index: 120;
display: grid;
place-items: center;
padding: 24px;
background: rgb(8 10 14 / 88%);
cursor: zoom-out;
animation: fade-in 0.25s var(--ease);
}
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; object-fit: contain; box-shadow: 0 30px 80px rgb(0 0 0 / 50%); animation: pop-in 0.35s var(--ease); }
.lightbox-close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: 16px; color: #fff; background: rgb(255 255 255 / 12%); }
.lightbox-close:hover { background: rgb(255 255 255 / 22%); color: #fff; } .toast {
position: fixed;
left: 50%;
bottom: calc(28px + var(--dock-space));
z-index: 130;
padding: 10px 18px;
border-radius: var(--pill);
background: var(--btn-primary-bg);
color: var(--btn-primary-fg);
font-size: 14px;
box-shadow: 0 12px 30px -10px rgb(0 0 0 / 35%);
opacity: 0;
pointer-events: none;
transform: translate(-50%, 12px);
transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
html.is-locked { overflow: hidden; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), fill 0.4s, stroke 0.4s !important;
} @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.js .rise { animation: rise 0.52s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.18s var(--ease) both fade-out-vt; }
::view-transition-new(root) { animation: 0.32s var(--ease) both fade-in-vt; }
@keyframes fade-out-vt { to { opacity: 0; } }
@keyframes fade-in-vt { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-delay: 0s !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
html { scroll-behavior: auto; }
} @media (max-width: 1080px) {
.topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav-item { padding: 0 11px; }
.top-nav .nav-item .icon { display: none; }
.brand-name { max-width: 9em; }
}
.top-nav { overflow-x: auto; scrollbar-width: none; }
.top-nav::-webkit-scrollbar { display: none; }
@media (max-width: 900px) {
.top-nav { display: none; }
.dock { display: flex; }
.card-grid { grid-template-columns: minmax(0, 1fr); }
.related-grid { grid-template-columns: minmax(0, 1fr); }
.discover { grid-template-columns: minmax(0, 1fr); }
.author-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
body { font-size: 14.5px; }
.topbar { gap: 4px; padding: 0 4px 0 6px; }
.brand { gap: 8px; padding-right: 6px; }
.brand-logo { width: 28px; height: 28px; }
.brand-name { font-size: 15px; }
.icon-btn { width: 38px; height: 38px; }
.top-tools { gap: 0; }
.site-main { padding-top: calc(var(--header-h) + var(--header-top) + 22px + env(safe-area-inset-top, 0px)); padding-bottom: 40px; }
.section { margin-top: 28px; }
.account-btn, .account-guest { width: 38px; height: 38px; }
.account-avatar { width: 32px; height: 32px; }
.account-menu { position: fixed; top: calc(var(--header-h) + var(--header-top) + 8px + env(safe-area-inset-top, 0px)); left: 10px; width: min(260px, calc(100vw - 20px)); }
.brand { padding-left: 2px; }
.banner-actions .btn { flex: 1 1 auto; }
.page-head { flex-direction: column; gap: 14px; margin-bottom: 22px; padding: 22px 20px; }
.page-head-icon { width: 42px; height: 42px; border-radius: 14px; }
.card-body { padding: 18px 18px 16px; }
.card-title { font-size: 1.12rem; }
.card-excerpt { font-size: 14.5px; -webkit-line-clamp: 3; }
.card:hover { transform: none; }
.article { border-radius: var(--radius-xl); }
.article-head .meta { gap: 6px 12px; font-size: 12.5px; }
.prose { margin-top: 26px; line-height: 1.85; }
.prose pre { margin-left: -6px; margin-right: -6px; padding: 14px 16px; border-radius: 12px; }
.code-block { margin-left: -6px; margin-right: -6px; }
.code-block pre { margin: 0; }
.prose .alignleft, .prose .alignright { float: none; max-width: 100%; margin: 1.2em 0; }
.heading-anchor { display: none; }
.share { flex-direction: column; align-items: flex-start; }
.post-nav { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.post-nav-next { grid-column: auto; }
.author-card { padding: 18px; }
.comment-form { grid-template-columns: minmax(0, 1fr); }
.comment-list .children { margin-left: 8px; padding-left: 12px; }
.comment-body { gap: 10px; }
.comment-avatar .avatar { width: 34px; height: 34px; }
.tl-year { padding: 18px 16px 10px; }
.tl-year-title { font-size: 24px; }
.tl-item { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10px; margin: 0 -6px; padding: 8px 6px; }
.tl-meta { grid-column: 2; font-size: 12px; }
.tl-title { font-size: 15px; }
.topic-grid { grid-template-columns: minmax(0, 1fr); }
.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.link-grid { grid-template-columns: minmax(0, 1fr); }
.tag-cloud { padding: 18px; gap: 8px; }
.panel { padding: 18px; }
.footer-card { padding: 22px 20px 18px; }
.search-form { padding-left: 40px; }
.search-form-icon { left: 14px; }
.search-submit { padding: 0 14px; }
.reader-fab { right: max(12px, env(safe-area-inset-right, 0px)); gap: 8px; }
.fab { width: 44px; height: 44px; } .prefs {
top: auto;
left: 8px;
right: 8px;
bottom: calc(8px + env(safe-area-inset-bottom, 0px));
width: auto;
max-height: 82vh;
padding: 10px 18px 18px;
border-radius: 26px;
transform-origin: bottom center;
animation: sheet-up 0.42s var(--ease);
}
.prefs .sheet-handle, .toc .sheet-handle { display: block; margin-top: 2px; }
.pref-width { display: none; }
.search-dialog { padding: calc(10px + env(safe-area-inset-top, 0px)) 8px 8px; }
.search-panel { max-height: calc(100dvh - 20px); border-radius: 22px; }
}
@media (max-width: 360px) {
.brand-name { max-width: 7.5em; }
.dock .nav-item { min-width: 52px; padding: 0 6px; }
.brand-name { max-width: 6em; font-size: 14px; }
.banner-stats strong { font-size: 15px; }
}
@media (hover: none) {
.card:hover, .topic-card:hover, .post-nav-item:hover, .related-item:hover, .link-card:hover, a.author-card:hover, .btn:hover { transform: none; }
} @media print {
.site-header, .dock, .reader-fab, .toc, .read-progress, .ambient, .comments, .post-nav, .related, .share-actions, .site-footer, .scrim, .prefs, .search-dialog { display: none !important; }
.site-main { padding: 0; width: 100%; }
.paper, .glass { border: 0; box-shadow: none; background: none; }
.prose { font-size: 12pt; color: #000; }
.prose a { color: #000; }
}.col { min-width: 0; }
.col [hidden] { display: none !important; } .col-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.col-search { flex: 1 1 220px; min-width: 0; max-width: none; }
.col-select { position: relative; display: inline-flex; flex: none; align-items: center; color: var(--text-2); }
.col-select select {
height: 52px;
padding: 0 38px 0 18px;
border: 1px solid var(--border-strong);
border-radius: var(--pill);
background: var(--surface-strong);
color: var(--text);
font: inherit;
font-size: 14px;
-webkit-appearance: none;
appearance: none;
cursor: pointer;
}
.col-select .icon { position: absolute; right: 14px; pointer-events: none; }
.col-kind { flex: 0 1 220px; }
.col-toolbar { display: flex; align-items: center; gap: 8px; min-width: 0; margin-bottom: 18px; }
.col-toolbar-sticky {
position: sticky;
top: calc(var(--header-h) + var(--header-top) + 10px);
z-index: 10;
transition: top 0.4s var(--ease);
}
body.header-hidden .col-toolbar-sticky { top: 10px; }
.col-toolbar .filter-bar { position: static; flex: 1 1 auto; min-width: 0; margin: 0; }
.col-refresh { background: var(--surface-strong); box-shadow: var(--shadow-glass); }
.col-refresh.is-spinning .icon { animation: col-spin 0.9s linear infinite; }
.col-refresh[disabled] { cursor: progress; opacity: 0.7; }
.col-tabs .chip:focus-visible { outline-offset: -2px; }
.col-summary { margin: -6px 0 14px; color: var(--text-3); font-size: 13.5px; }
.col-note { margin: 18px 0 0; color: var(--text-3); font-size: 12.5px; text-align: center; }
.col-note.is-stale { color: var(--accent); }
.col-noscript { margin: 18px 0 0; padding: 18px; color: var(--text-2); text-align: center; }
.col-state-actions { margin-top: 16px; } .col-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.col-grid.is-state { display: block; }
.col-grid-anime { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } .col-card {
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
overflow: hidden;
color: inherit;
transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.col-card:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-lift); }
a.col-card:active { transform: scale(0.985); }
.col-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--chip); }
.col-card-game .col-cover { aspect-ratio: 460 / 215; }
.col-card-anime .col-cover { aspect-ratio: 3 / 4; }
.col-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
a.col-card:hover .col-cover img { transform: scale(1.04); }
.col-ph {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
padding: 12px;
background: linear-gradient(135deg, var(--accent-soft), var(--chip));
color: var(--text-2);
font-size: 13px;
font-weight: 600;
line-height: 1.4;
text-align: center;
}
.col-ph-text { display: -webkit-box; overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.col-tag {
position: absolute;
display: inline-flex;
align-items: center;
gap: 3px;
padding: 3px 7px;
border-radius: 7px;
background: rgb(0 0 0 / 62%);
color: #fff;
font-size: 11.5px;
font-weight: 500;
line-height: 1.2;
font-variant-numeric: tabular-nums;
}
.col-tag-br { right: 8px; bottom: 8px; }
.col-tag-tl { top: 8px; left: 8px; }
.col-tag-tr { top: 8px; right: 8px; }
.col-tag .icon { width: 12px; height: 12px; }
.col-play {
position: absolute;
top: 50%;
left: 50%;
display: grid;
place-items: center;
width: 46px;
height: 46px;
margin: -23px 0 0 -23px;
border-radius: 50%;
background: rgb(0 0 0 / 55%);
color: #fff;
opacity: 0;
transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
transform: scale(0.9);
}
.col-play .icon { width: 20px; height: 20px; fill: currentColor; }
a.col-card:hover .col-play, a.col-card:focus-visible .col-play { opacity: 1; transform: none; }
.col-game-title {
position: absolute;
inset: auto 0 0;
padding: 26px 12px 9px;
background: linear-gradient(transparent, rgb(0 0 0 / 74%));
color: #fff;
font-size: 14.5px;
font-weight: 600;
line-height: 1.35;
}
.col-game-title span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; min-width: 0; padding: 12px 14px 14px; }
.col-card-anime .col-body { padding: 10px 12px 12px; }
.col-title {
display: -webkit-box;
margin: 0;
overflow: hidden;
overflow-wrap: anywhere;
font-size: 15px;
font-weight: 600;
line-height: 1.42;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.col-sub { overflow: hidden; color: var(--text-3); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.col-intro {
display: -webkit-box;
margin: 0;
overflow: hidden;
overflow-wrap: anywhere;
color: var(--text-3);
font-size: 13px;
line-height: 1.55;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.col-foot { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; padding-top: 4px; color: var(--text-3); font-size: 12.5px; }
.col-foot span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; font-variant-numeric: tabular-nums; }
.col-foot .col-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col-foot .col-ellipsis .col-ellipsis { display: block; }
.col-foot .icon { flex: none; width: 13px; height: 13px; }
.col-ico { display: inline-flex; flex: none; } .col-chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.col-status { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: var(--pill); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.col-status-watching { background: rgb(34 197 94 / 15%); color: #15803d; }
.col-status-done { background: rgb(99 102 241 / 14%); color: #4338ca; }
.col-status-plan { background: rgb(245 158 11 / 16%); color: #b45309; }
.col-status-hold { background: var(--chip); color: var(--text-2); }
.col-status-dropped { background: rgb(244 63 94 / 13%); color: #be123c; }
html.dark .col-status-watching { color: #86efac; }
html.dark .col-status-done { color: #c7d2fe; }
html.dark .col-status-plan { color: #fcd34d; }
html.dark .col-status-dropped { color: #fda4af; }
.col-progress { height: 5px; overflow: hidden; border-radius: var(--pill); background: var(--chip); }
.col-progress span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width 0.5s var(--ease); }
.col-progress-text { display: flex; justify-content: space-between; gap: 8px; color: var(--text-3); font-size: 12px; }
.col-progress-text span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .col-skel {
background: linear-gradient(90deg, var(--chip) 25%, var(--hover) 50%, var(--chip) 75%);
background-size: 220% 100%;
animation: col-shimmer 1.4s ease-in-out infinite;
}
.col-skel-line { height: 13px; border-radius: 6px; }
.col-skel-short { width: 58%; }
.col-skel-chip { flex: none; width: 76px; height: 34px; border-radius: var(--pill); }
.is-skel .col-body { min-height: 84px; }
@keyframes col-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes col-spin { to { transform: rotate(360deg); } } .col-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 26px; }
.col-more-count { color: var(--text-3); font-size: 12.5px; } .pagination button.page-numbers { cursor: pointer; }
.pagination button.page-numbers:hover:not([disabled]) { background: var(--surface-strong); color: var(--text); transform: translateY(-1px); }
.pagination button.page-numbers[disabled] { cursor: default; opacity: 0.45; } .col-modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 24px; }
.col-modal[hidden] { display: none; }
.col-modal-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 58%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in 0.2s var(--ease); }
.col-modal-panel {
position: relative;
display: flex;
flex-direction: column;
width: min(100%, 980px);
max-height: 100%;
overflow: hidden;
border-radius: var(--radius-lg);
animation: pop-in 0.28s var(--ease);
}
.col-modal-head { display: flex; align-items: flex-start; gap: 10px; padding: 14px 14px 12px 18px; }
.col-modal-info { flex: 1 1 auto; min-width: 0; }
.col-modal-title { display: -webkit-box; margin: 0; overflow: hidden; overflow-wrap: anywhere; font-size: 16px; font-weight: 650; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.col-modal-up { margin: 2px 0 0; overflow: hidden; color: var(--text-3); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.col-modal-open { flex: none; }
.col-player { width: min(100%, calc((100vh - 130px) * 16 / 9)); margin: 0 auto; aspect-ratio: 16 / 9; background: #000; }
.col-player iframe { display: block; width: 100%; height: 100%; border: 0; } @media (max-width: 1080px) {
.col-grid-anime { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899.98px) {
.col-grid-fav, .col-grid-game { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-grid-anime { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-modal { padding: 0; }
.col-modal-panel { width: 100%; max-height: 100%; border-radius: 0; border-right: 0; border-left: 0; }
.col-modal-head { padding-top: max(14px, env(safe-area-inset-top, 0px)); }
}
@media (max-width: 640px) {
.col-grid { gap: 12px; }
.col-grid-anime { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.col-select select { font-size: 16px; }
.col-card-anime .col-intro { -webkit-line-clamp: 1; }
.col-modal { align-items: stretch; }
.col-modal-panel { height: 100%; background: var(--surface-strong); }
html:not(.dark) .col-modal-panel { background: #fff; }
html.dark .col-modal-panel { background: #16181d; }
.pagination button.page-numbers .pg-text { display: none; }
}
@media (max-width: 479.98px) {
.col-grid-fav, .col-grid-game { grid-template-columns: minmax(0, 1fr); }
.col-select { flex: 1 1 100%; }
.col-select select { width: 100%; }
.col-modal-open .pg-text { display: none; }
}
@media (hover: none) {
a.col-card:hover { transform: none; box-shadow: var(--shadow-glass); }
a.col-card:hover .col-cover img { transform: none; }
.col-play { opacity: 0.85; transform: none; }
}