:root { --blue: #198cff; --blue-dark: #0875c5; --ink: #333; --muted: #929ba3; --line: #e9edf0; --media-radius: 10px; }
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #5aa8e7 url("/static/images/site-background.jpg") center top / cover fixed no-repeat; font-family: "Microsoft YaHei", "Noto Sans CJK SC", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.65; }
body.has-modal { overflow: hidden; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #0875c5; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid rgb(25 140 255 / 28%); outline-offset: 2px; }
.site-icon { display: inline-block; width: 1em; height: 1em; overflow: visible; fill: currentColor; vertical-align: -0.125em; }
.skip-link { position: fixed; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 200; padding: 8px 12px; background: #fff; }

.site-frame { display: grid; grid-template-columns: 80px minmax(0, 1028px); width: min(1108px, calc(100% - 48px)); margin: 80px auto 40px; overflow: hidden; border-radius: 14px; box-shadow: 0 12px 45px rgb(0 0 0 / 18%); }
.site-page { min-width: 0; background: #fff; }
.social-rail { padding-top: 38px; color: #fff; background: var(--blue); text-align: center; }
.social-rail a { display: block; margin: 0 10px 4px; padding: 18px 10px; color: rgb(255 255 255 / 70%); font-size: 20px; line-height: 1; }
.social-rail a:hover { color: #fff; background: rgb(255 255 255 / 15%); border-radius: 4px; }
.social-rail span { display: block; width: 20px; height: 1px; margin: 0 auto 20px; background: rgb(255 255 255 / 30%); }
.site-header { display: flex; align-items: baseline; gap: 24px; height: 102px; padding: 24px 50px; border-bottom: 1px solid var(--line); }
.site-brand { color: #1e73be; font-family: Georgia, "Songti SC", serif; font-size: 38px; font-weight: 700; }
.site-tagline { color: #90a1ad; }
.site-nav { position: relative; min-height: 60px; padding: 0 50px; border-bottom: 1px solid var(--line); }
.menu-links { display: flex; gap: 26px; align-items: center; min-height: 60px; margin-right: 68px; }
.menu-links > a, .tools-menu > summary { color: #888; font-weight: 600; white-space: nowrap; }
.menu-links > a:hover, .tools-menu > summary:hover { color: #333; }
.tools-menu { position: relative; }
.tools-menu summary { cursor: pointer; list-style: none; }
.tools-menu summary::-webkit-details-marker { display: none; }
.tools-menu summary .site-icon { width: 14px; height: 8px; margin-left: 5px; vertical-align: 1px; }
.tools-menu > div { position: absolute; z-index: 20; top: 34px; left: -14px; min-width: 120px; padding: 8px; border: 1px solid #e6e6e6; background: #fff; box-shadow: 0 8px 20px rgb(0 0 0 / 10%); }
.tools-menu > div a { display: block; padding: 7px 9px; color: #777; }
.nav-search { position: absolute; z-index: 24; right: 40px; top: 12px; width: 50px; height: 36px; }
.search-button { position: absolute; z-index: 2; inset: 0 0 0 auto; display: grid; width: 50px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 20px; color: #fff; background: var(--blue); line-height: 1; transition: background .18s ease, box-shadow .18s ease; }
.search-button .site-icon { width: 23px; height: 23px; }
.search-button:hover, .nav-search.is-open .search-button { background: var(--blue-dark); box-shadow: 0 4px 14px rgb(25 140 255 / 24%); }
.nav-search-form { position: absolute; right: 18px; top: 0; display: flex; width: 32px; height: 36px; overflow: hidden; border: 1px solid transparent; border-radius: 20px; background: #fff; opacity: 0; pointer-events: none; transition: width .22s ease, opacity .16s ease, border-color .16s ease, box-shadow .16s ease; }
.nav-search-form input { width: 100%; min-width: 0; padding: 6px 42px 6px 42px; border: 0; outline: 0; color: #333; background: transparent; }
.nav-search-submit { position: absolute; left: 3px; top: 3px; display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--blue); background: transparent; }
.nav-search-submit .site-icon { width: 16px; height: 16px; }
.nav-search.is-open .nav-search-form { width: min(300px, calc(100vw - 170px)); border-color: #cbd8e2; opacity: 1; pointer-events: auto; box-shadow: 0 5px 20px rgb(41 68 88 / 14%); }
.nav-search-fallback { position: absolute; z-index: 25; right: 40px; top: 12px; display: flex; width: 240px; height: 36px; overflow: hidden; border: 1px solid #cbd8e2; border-radius: 20px; background: #fff; }
.nav-search-fallback input { min-width: 0; padding: 6px 12px; flex: 1; border: 0; outline: 0; }
.nav-search-fallback button { display: grid; width: 38px; padding: 0; place-items: center; border: 0; color: var(--blue); background: transparent; }
.menu-button { display: none; }
.menu-toggle-icon { position: relative; display: block; width: 30px; height: 20px; }
.menu-toggle-icon span { position: absolute; left: 0; display: block; width: 100%; height: 2px; border-radius: 2px; background: #333; transform: rotate(0deg); transform-origin: left center; transition: .25s ease-in-out; }
.menu-toggle-icon span:nth-child(1) { top: 0; }
.menu-toggle-icon span:nth-child(2) { top: 8px; }
.menu-toggle-icon span:nth-child(3) { top: 16px; }
.menu-button[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) { left: 5px; top: -2px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { width: 0; opacity: 0; }
.menu-button[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) { left: 5px; top: 19px; transform: rotate(-45deg); }
.profile-strip { position: relative; display: flex; align-items: flex-start; gap: 30px; min-height: 200px; padding: 30px 50px 70px; overflow: hidden; }
.profile-strip > img, .profile-copy { position: relative; z-index: 2; }
.profile-strip img { width: 100px; height: 100px; object-fit: cover; border-radius: 10px; box-shadow: 0 5px 12px rgb(0 0 0 / 22%); }
.profile-strip strong { display: block; margin-bottom: 8px; color: #333; font-size: 20px; line-height: 1.6; }
.profile-strip p { margin: 0; color: #999; font-size: 15px; line-height: 1.6; }
.wave-divider { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; width: 100%; height: 80px; background: #198cff url("/static/images/curve-color.png") no-repeat bottom center; }

.page-grid { display: grid; grid-template-columns: minmax(0, 714px) 314px; }
.main-column { min-width: 0; padding: 28px 50px 80px; }
.sidebar { border-left: 1px solid var(--line); }
.side-card { padding: 30px 32px; border-bottom: 1px solid var(--line); }
.side-card h2 { margin: 0 0 15px; font-size: 15px; }
.page-title { margin: -28px -50px 24px; padding: 25px 50px; border-bottom: 1px solid var(--line); background: #fafafa; }
.page-title h1 { margin: 0; font-size: 20px; }
.page-title h1 > .site-icon { margin-right: 8px; }
.page-title h1 span { color: var(--blue); }

.home-intro { padding: 14px 0 18px; }
.home-intro blockquote { position: relative; margin: 0; padding-left: 50px; color: #777; font-style: italic; }
.home-intro blockquote::before { content: "“"; position: absolute; left: 0; top: -14px; color: #ccc; font: 68px Georgia, serif; }
.home-intro p { margin: 0 0 7px; }
.home-carousel { position: relative; margin: 0 0 44px; }
.carousel-track { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--media-radius); background: #eef4f8; }
.carousel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; }
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-previous, .carousel-next { position: absolute; top: 50%; z-index: 2; width: 42px; height: 56px; margin-top: -28px; padding: 0; border: 0; color: #fff; background: transparent; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 70%)); }
.carousel-previous .site-icon, .carousel-next .site-icon { width: 20px; height: 32px; }
.carousel-previous { left: 3px; }
.carousel-next { right: 3px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; }
.carousel-dots button { width: 7px; height: 7px; margin: 0 6px; padding: 0; border: 0; border-radius: 50%; background: #ccc; }
.carousel-dots button[aria-current="true"] { background: #333; }

.post-list-item { display: flex; gap: 24px; min-height: 120px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-thumbnail { flex: 0 0 112px; width: 112px; height: 112px; overflow: hidden; border-radius: 9px; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.post-thumbnail-placeholder { display: grid; place-items: center; color: #a9b7c2; background: linear-gradient(145deg, #f2f6f9, #e3ebf1); }
.post-thumbnail-placeholder .site-icon { width: 38px; height: 38px; }
.post-thumbnail:hover img, .recent-thumb:hover img, .related-image:hover img { transform: scale(1.035); }
.post-thumbnail img, .recent-thumb img, .related-image img { transition: transform .2s ease; }
.post-list-content { position: relative; min-width: 0; flex: 1; padding-right: 36px; }
.post-category { color: var(--blue); font-weight: 600; }
.post-category a + a::before { content: " / "; color: #aaa; }
.post-list-item h2 { margin: 6px 0; font-size: 22px; line-height: 1.35; }
.post-list-item h2 a { color: #333; }
.post-excerpt { margin: 6px 0; color: #777; }
.post-meta { margin: 7px 0 0; color: #aaa; font-size: 13px; }
.post-meta .site-icon, .related-posts p .site-icon { margin-right: 4px; }
.post-format-icon { position: absolute; right: 0; bottom: 0; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; color: #999; background: #f2f2f2; }
.post-format-icon .site-icon { width: 12px; height: 12px; }
.pagination { padding-top: 32px; }
.wp-pagenavi { text-align: center; font-weight: 600; line-height: 20px; }
.wp-pagenavi a, .wp-pagenavi span { display: inline-block; margin: 0 2px 10px; padding: 7px 8px; color: #aaa; font-size: 16px; }
.wp-pagenavi span.pages { display: block; margin-bottom: 1em; font-size: 17px; font-weight: 300; }
.wp-pagenavi a { color: var(--blue); border-top: 1px solid #eee; border-bottom: 3px solid #eee; }
.wp-pagenavi span.current { color: #333; border-top: 1px solid #eee; border-bottom: 3px solid var(--blue); }

.site-calendar { width: 100%; border-collapse: collapse; color: #777; font-size: 13px; }
.site-calendar caption { padding: 7px 10px; color: #fff; background: var(--blue); font-weight: 600; }
.site-calendar caption .site-icon { width: 15px; height: 15px; margin-right: 6px; color: rgb(255 255 255 / 70%); }
.site-calendar thead { background: #e2e2e2; }
.site-calendar th, .site-calendar td { padding: 4px 0; border: 1px solid #e2e2e2; text-align: center; }
.site-calendar a { font-weight: 700; }
.site-calendar .is-today { outline: 2px solid var(--blue); outline-offset: -2px; }
.calendar-nav { display: flex; justify-content: space-between; padding-top: 8px; font-size: 13px; font-weight: 600; }
.tabs-card { padding-top: 4px; }
.sidebar-tab-panel[hidden] { display: none !important; }
.sidebar-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.sidebar-tabs button { display: flex; min-width: 0; padding: 11px 3px 10px; align-items: center; justify-content: center; gap: 5px; border: 0; border-bottom: 2px solid transparent; color: #7f8b94; background: transparent; font-size: 13px; white-space: nowrap; }
.sidebar-tabs button .site-icon { width: 14px; height: 14px; }
.sidebar-tabs button[aria-selected="true"] { color: var(--blue-dark); border-bottom-color: var(--blue); font-weight: 700; }
.recent-list, .comment-summary-list { margin: 0; padding: 0; list-style: none; }
.recent-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.recent-thumb { display: grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; overflow: hidden; border-radius: 7px; background: #eee; color: #bbb; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-placeholder { color: #fff; background: #d2d2d2; }
.recent-placeholder .site-icon { width: 25px; height: 25px; }
.recent-list p { margin: 0; }
.recent-category { font-size: 12px; }
.recent-title { display: block; color: #333; font-weight: 600; line-height: 1.3; }
.recent-list small, .comment-summary-list small { display: block; color: #aaa; font-size: 11px; }
.comment-summary-list li { padding: 10px 0; border-bottom: 1px solid #eee; }
.comment-summary-list strong, .comment-summary-list a { display: block; }
.tag-cloud { display: flex; padding: 8px 0; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 7px 13px; line-height: 1.25; }
.tag-cloud a { display: inline-flex; padding: 2px 0; align-items: baseline; gap: 3px; color: #6f7e89; }
.tag-cloud a:hover { color: var(--blue-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.tag-cloud a small { color: #a0aab1; font-size: 12px; font-weight: 400; }
.tag-cloud .tag-level-1 { font-size: 12px; }
.tag-cloud .tag-level-2 { font-size: 14px; }
.tag-cloud .tag-level-3 { color: #586b79; font-size: 16px; font-weight: 600; }
.tag-cloud .tag-level-4 { color: #3f657f; font-size: 19px; font-weight: 650; }
.tag-cloud .tag-level-5 { color: var(--blue-dark); font-size: 23px; font-weight: 700; }
.sidebar-empty { color: #999; text-align: center; }
.audio-card { background: linear-gradient(180deg, #fbfdff, #f5f9fc); }
.audio-meta { padding: 0 0 13px; text-align: left; }
.audio-meta strong, .audio-meta span { display: block; }
.audio-meta strong { overflow: hidden; color: #27343c; text-overflow: ellipsis; white-space: nowrap; }
.audio-meta span { color: #8c98a0; font-size: 12px; }
.background-audio { width: 100%; height: 38px; }
.audio-enhanced-controls { padding-top: 12px; }
.audio-waveform { position: relative; height: 52px; overflow: hidden; border-radius: 6px; cursor: pointer; touch-action: none; }
.audio-waveform-bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 3px; }
.audio-waveform-bars span { width: 3px; min-height: 4px; flex: 1; border-radius: 3px; background: #c8d5de; }
.audio-waveform-played { position: absolute; inset: 0 auto 0 0; width: var(--audio-progress, 0%); overflow: hidden; }
.audio-waveform-played .audio-waveform-bars { width: var(--audio-waveform-width, 218px); }
.audio-waveform-played span { background: var(--blue); }
.audio-waveform:focus-visible { outline-offset: 4px; }
.audio-progress-row { display: flex; margin-top: 2px; justify-content: space-between; color: #7d8992; font-size: 12px; }
.audio-progress-row span:last-child { text-align: right; }
.audio-volume input { min-width: 0; accent-color: var(--blue); }
.audio-actions { display: flex; margin-top: 8px; justify-content: center; align-items: center; gap: 12px; }
.audio-actions button { display: grid; width: 38px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #65747e; background: transparent; }
.audio-actions button:hover { color: var(--blue-dark); background: #e5f2fd; }
.audio-actions .audio-toggle { width: 46px; height: 46px; color: #fff; background: var(--blue); box-shadow: 0 7px 18px rgb(25 140 255 / 24%); }
.audio-actions .audio-toggle:hover { color: #fff; background: var(--blue-dark); }
.audio-actions button .site-icon { width: 15px; height: 15px; }
.audio-actions .audio-toggle .site-icon { width: 17px; height: 17px; }
.audio-volume { display: grid; grid-template-columns: 34px 1fr; margin-top: 10px; align-items: center; gap: 8px; color: #7d8992; font-size: 11px; }
.audio-pause-icon, [data-audio-toggle][data-playing="true"] .audio-play-icon { display: none !important; }
[data-audio-toggle][data-playing="true"] .audio-pause-icon { display: inline-block !important; }
.post-navigation a { position: relative; display: block; min-height: 72px; padding: 15px 38px; border-bottom: 1px solid #eee; text-align: center; }
.post-navigation a > .site-icon { position: absolute; top: 50%; width: 10px; height: 18px; margin-top: -9px; color: #ccc; }
.post-navigation .next > .site-icon { right: 20px; }
.post-navigation .previous > .site-icon { left: 20px; }
.post-navigation a:hover > .site-icon { color: var(--blue); }
.post-navigation strong { display: block; color: #aaa; font-size: 12px; font-weight: 400; }
.post-navigation span { color: #333; font-weight: 600; }

.post-header { margin-bottom: 28px; }
.post-header h1 { margin: 8px 0; font-size: 38px; line-height: 1.25; }
.post-header .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.post-header .post-meta p { margin: 0; }
.legacy-rendered-html, .rich-text-content { color: #222; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
/* 沿用旧主题正文的字号与行距，Elementor 专属 CSS 随后按页面加载。 */
.legacy-rendered-html { color: #555; font-size: 17px; line-height: 1.6; font-weight: 300; }
.legacy-rendered-html .elementor-column { min-width: 0; }
.legacy-rendered-html p { margin: 0 0 1em; }
.legacy-rendered-html :is(h1, h2, h3, h4, h5, h6) { margin: 0 0 14px; color: #333; font-weight: 400; line-height: 1.3; }
.legacy-rendered-html h1 { font-size: 38px; letter-spacing: -1px; }
.legacy-rendered-html h2 { font-size: 34px; letter-spacing: -.7px; }
.legacy-rendered-html h3 { font-size: 28px; letter-spacing: -.5px; }
.legacy-rendered-html h4 { font-size: 24px; letter-spacing: -.3px; }
.legacy-rendered-html h5 { font-size: 20px; font-weight: 600; }
.legacy-rendered-html h6 { font-size: 18px; font-weight: 600; text-transform: uppercase; }
.legacy-rendered-html :is(ul, ol) { margin: 0 0 15px 30px; padding: 0; }
.legacy-rendered-html ul { list-style: square; }
.legacy-rendered-html ol { list-style: decimal; }
.legacy-rendered-html table { width: 100%; margin-bottom: 1.5em; border-collapse: collapse; font-size: 14px; text-align: center; }
.legacy-rendered-html :is(td, th) { padding: 5px; border-bottom: 1px solid #eee; text-align: center; vertical-align: middle; }
.legacy-rendered-html th { padding: 10px 5px; border-top: 1px solid #eee; font-weight: 600; }
.legacy-rendered-html img { max-width: 100%; cursor: zoom-in; }
.legacy-rendered-html :is(.wp-post-image, .attachment-post-thumbnail) { border-radius: var(--media-radius); }
.legacy-rendered-html figure.image { margin: 1.5em auto; text-align: center; }
.legacy-rendered-html figure.image figcaption { margin-top: 7px; color: #888; font-size: 13px; }
.legacy-rendered-html .content-lead { color: #4a555b; font-size: 1.18em; line-height: 1.75; }
.legacy-rendered-html .content-callout { margin: 1.4em 0; padding: 16px 18px; border-left: 4px solid var(--blue); border-radius: 4px; background: #eef8ff; }
.legacy-rendered-html .content-button { display: inline-block; padding: 9px 16px; border-radius: 6px; color: #fff; background: var(--blue); font-weight: 700; text-decoration: none; }
.legacy-rendered-html .content-button:hover { color: #fff; background: var(--blue-dark); }
.legacy-rendered-html .content-align-left { text-align: left; }
.legacy-rendered-html .content-align-center { text-align: center; }
.legacy-rendered-html .content-align-right { text-align: right; }
.legacy-rendered-html img.content-image-center { display: block; margin: 1.2em auto; }
.legacy-rendered-html img.content-image-left { float: left; max-width: 48%; margin: .4em 1.2em 1em 0; }
.legacy-rendered-html img.content-image-right { float: right; max-width: 48%; margin: .4em 0 1em 1.2em; }
.legacy-rendered-html img.content-image-wide { display: block; width: 100%; margin: 1.4em auto; }
.post-tags { display: flex; margin-top: 38px; padding-top: 20px; align-items: flex-start; gap: 14px; border-top: 1px solid var(--line); color: #75828b; }
.post-tags:has(> div:empty) { display: none; }
.post-tags-label { display: inline-flex; min-height: 30px; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.post-tags-label .site-icon { width: 14px; height: 14px; }
.post-tags > div { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { display: inline-flex; min-height: 30px; padding: 5px 10px; align-items: center; border: 1px solid #dce5eb; border-radius: 999px; color: #52636f; background: #f7f9fb; font-size: 13px; }
.post-tags a:hover { color: var(--blue-dark); border-color: #b8d8f4; background: #eff7ff; }
.related-section { margin-top: 38px; }
.related-section > h2, .comments > h2 { padding-bottom: 10px; border-bottom: 1px solid #eee; font-size: 18px; }
.related-section > h2 .site-icon { width: 22px; height: 22px; margin-right: 6px; }
.related-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0 0 25px; border-bottom: 1px solid #eee; list-style: none; }
.related-image { display: grid; width: 100%; aspect-ratio: 16 / 9; place-items: center; overflow: hidden; border-radius: var(--media-radius); background: #f0f0f0; color: #bbb; font-size: 32px; }
.related-placeholder { color: #fff; background: #d2d2d2; }
.related-placeholder .site-icon { width: 38px; height: 38px; }
.related-image img { width: 100%; height: 100%; object-fit: cover; }
.related-posts h3 { margin: 9px 0 4px; font-size: 16px; line-height: 1.35; }
.related-posts h3 a { color: #333; }
.related-posts p { margin: 0; color: #aaa; font-size: 12px; }
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment { margin-left: min(calc(var(--comment-depth) * 28px), 140px); padding: 12px 0; border-bottom: 1px solid #eee; }
.comment header { display: flex; justify-content: space-between; gap: 12px; }
.comment time { color: #aaa; font-size: 12px; }
.comment p { margin: 8px 0; }

.search-summary, .no-results { margin-bottom: 25px; padding: 18px; background: #f4f4f4; }
.search-summary p { margin-top: 0; }
.search-summary label { position: absolute; left: -9999px; }
.search-summary form div, .search-field-row { display: flex; }
.search-summary input, .search-field-row input { min-width: 0; flex: 1; padding: 11px; border: 1px solid #ccd3d8; }
.search-summary button, .search-field-row button { padding: 0 18px; border: 0; color: #fff; background: var(--blue); }
.error-search { margin-bottom: 26px; padding: 22px; background: #f4f4f4; }
.error-search label { display: block; margin-bottom: 9px; color: #777; }
.error-search form div { display: flex; }
.error-search input { min-width: 0; flex: 1; padding: 11px; border: 1px solid #ccd3d8; }
.error-search button { padding: 0 18px; border: 0; color: #fff; background: var(--blue); }
.error-entry { min-height: 110px; color: #666; }
.safe-error { width: min(620px, calc(100% - 32px)); margin: 12vh auto; padding: 42px; border-radius: 6px; background: #fff; box-shadow: 0 12px 48px rgb(0 0 0 / 18%); }
.safe-error h1 { margin-top: 0; }

.syntaxhighlighter { width: 100%; max-height: 550px; margin: 22px 0; overflow: auto; background: #fafafa; font: 13px/1.45 Consolas, monospace; }
.syntaxhighlighter table { width: 100%; border-collapse: collapse; }
.syntaxhighlighter .gutter { width: 38px; padding: 10px 8px; color: #aaa; text-align: right; vertical-align: top; border-right: 3px solid #63d86d; }
.syntaxhighlighter .code { padding: 10px 14px; white-space: nowrap; vertical-align: top; }
.syntaxhighlighter .keyword { color: #006699; }
.syntaxhighlighter .comments { color: #008200; }
.syntaxhighlighter .string { color: #d14; }
.syntaxhighlighter .toolbar { display: none; }

.site-footer { position: relative; padding: 100px 50px 20px; color: #aaa; background: #f4f4f4; font-size: 12px; }
.site-footer::before { content: ""; position: absolute; top: 0; right: 0; left: 0; width: 100%; height: 80px; background: #198cff url("/static/images/curve-color.png") no-repeat bottom center; }
.site-footer p { margin: 2px 0; }
#back-to-top { position: relative; z-index: 1; display: block; width: 60px; height: 30px; margin: 0 auto -30px; overflow: hidden; border-radius: 4px; color: #333; background: #e5e5e5; text-align: center; }
#back-to-top:hover { color: #333; }
.back-to-top-icon { position: relative; top: -7px; display: block; width: 24px; height: 38px; margin: 0 auto; fill: currentColor; }
.lightbox { width: min(94vw, 1400px); max-width: none; height: min(92vh, 1000px); padding: 46px 20px 20px; border: 0; background: #111; color: #fff; }
.lightbox::backdrop { background: rgb(0 0 0 / 88%); }
.lightbox img { display: block; width: 100%; height: calc(100% - 34px); object-fit: contain; }
.lightbox-close { position: absolute; top: 5px; right: 12px; width: 40px; height: 40px; padding: 8px; border: 0; color: #fff; background: transparent; }
.lightbox-close .site-icon { width: 22px; height: 22px; }
.lightbox-caption { height: 28px; margin: 6px 0 0; overflow: hidden; text-align: center; }

.prototype-notice, .protection-message, .editor-warning { margin-bottom: 24px; padding: 14px 18px; border-left: 4px solid var(--blue); background: #eef8ff; }
.prototype-badge { display: inline-block; padding: 3px 9px; border-radius: 20px; color: #0875c5; background: #e8f5ff; font-size: 13px; }
.editor-panel h1 { font-size: 32px; }
.editor-panel label { display: block; margin: 18px 0; font-weight: 600; }
.editor-panel input, .editor-panel textarea { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid #ccd3d8; border-radius: 4px; font: inherit; }
.editor-panel textarea { min-height: 360px; font-family: Consolas, monospace; }
.primary-button, .button-link { display: inline-block; padding: 9px 16px; border: 0; border-radius: 4px; color: #fff; background: var(--blue); }
.audit-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.audit-facts div { padding: 10px; background: #f7f7f7; }
.audit-facts dt { color: #888; font-size: 12px; }
.audit-facts dd { margin: 0; font-weight: 600; }
.raw-content { max-height: 450px; overflow: auto; padding: 15px; white-space: pre-wrap; background: #f4f4f4; }

@media (max-width: 760px) {
  body { background: #fff; }
  .site-frame { display: block; width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
  .site-header { justify-content: center; height: 90px; padding: 20px; }
  .site-brand { font-size: 34px; }
  .site-tagline { display: none; }
  .site-nav { height: 50px; padding: 0 18px; }
  .nav-search { right: 64px; top: 7px; }
  .nav-search-fallback { right: 64px; top: 7px; width: calc(100vw - 104px); }
  .nav-search.is-open .nav-search-form { width: calc(100vw - 104px); }
  .nav-search-form input { padding-right: 38px; }
  .menu-button { position: absolute; right: 20px; top: 15px; display: grid; width: 30px; height: 20px; padding: 0; place-items: center; border: 0; background: transparent; }
  .menu-links { position: absolute; z-index: 30; top: 50px; left: 0; right: 0; display: none; min-height: 0; margin: 0; padding: 68px 20px 16px; background: #fff; box-shadow: 0 8px 20px rgb(0 0 0 / 15%); }
  .menu-links.is-open { display: grid; gap: 0; }
  .menu-links > a, .tools-menu > summary { padding: 8px; }
  .tools-menu > div { position: static; margin: 4px 8px; box-shadow: none; }
  .social-rail { position: absolute; z-index: 31; top: 140px; width: 100%; height: 60px; padding: 17px 0; }
  .social-rail a { display: inline-block; margin: 0 10px; }
  .social-rail span { display: none; }
  .profile-strip { display: none; }
  .page-grid { display: block; padding-top: 60px; }
  .main-column { padding: 14px 16px 50px; }
  .sidebar { border-top: 1px solid var(--line); border-left: 0; }
  .calendar-card { display: none; }
  .side-card { padding: 24px 20px; }
  .post-navigation { border-top: 1px solid var(--line); }
  .page-title { margin: -14px -16px 18px; padding: 22px 16px; }
  .page-title h1 { font-size: 20px; }
  .home-intro { padding: 18px 8px 20px; }
  .home-carousel { margin: 0 8px 54px; }
  .post-list-item { display: block; padding: 28px 8px; text-align: center; }
  .post-thumbnail { display: block; width: 154px; height: 154px; margin: 0 auto 20px; }
  .post-list-content { text-align: left; }
  .post-list-content { padding-right: 36px; }
  .post-list-item h2 { font-size: 21px; }
  .post-header h1 { font-size: 24px; }
  .post-header { padding-top: 4px; }
  .legacy-rendered-html, .rich-text-content { font-size: 16px; line-height: 1.65; }
  .post-tags { display: block; }
  .post-tags-label { margin-bottom: 10px; }
  .related-posts { grid-template-columns: 1fr; }
  .related-posts li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
  .comment { margin-left: min(calc(var(--comment-depth) * 14px), 56px); }
  .audit-facts { grid-template-columns: 1fr; }
  .site-footer { padding: 130px 16px 40px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* 后台受保护预览复用公开正文布局，仅增加不会出现在公开路由的状态条。 */
.preview-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 12px 16px; border: 1px solid #89b7e8; border-radius: 6px; background: #eef7ff; }
.preview-banner a { flex: 0 0 auto; }
