:root {
  --site-brand: #355f62;
  --site-brand-deep: #183f4b;
  --site-accent: #b8864c;
  --site-ink: #20353c;
  --site-paper: #f4f0e5;
  --site-surface: rgba(246, 240, 226, .96);
  --site-page: #e7ece8;
  --site-text: #26383d;
  --site-muted: #6c7978;
  --site-border: #cfd9d3;
}

body {
  color: var(--site-text);
  background: var(--site-page);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
}

#web_bg {
  background-image: url('/images/gpt_image_20260802_153007_117994.png') !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  opacity: .5;
  mix-blend-mode: normal;
}

#page-header.full_page {
  background-color: transparent !important;
  background-position: center;
  background-image: none !important;
  min-height: 72vh;
  border-bottom: 1px solid rgba(240, 232, 211, .28);
}

#page-header.full_page::before {
  background: linear-gradient(180deg, rgba(8, 28, 43, .18), rgba(8, 28, 43, .42));
}

/* 内容页顶部：用宣纸色承接整体水墨背景，移除主题默认蓝色 */
#page-header.not-home-page,
#page-header.post-bg {
  background: linear-gradient(180deg, rgba(247, 241, 228, .97), rgba(236, 226, 207, .92));
  border-bottom: 1px solid rgba(125, 105, 78, .28);
}

#page-header.not-home-page::before,
#page-header.post-bg::before {
  display: none;
}

#page-header.not-home-page #nav,
#page-header.post-bg #nav {
  background: transparent;
}

#page-header.not-home-page #nav a,
#page-header.not-home-page #nav span.site-page,
#page-header.not-home-page #nav .site-name,
#page-header.post-bg #nav a,
#page-header.post-bg #nav span.site-page,
#page-header.post-bg #nav .site-name {
  color: var(--site-ink);
  text-shadow: none;
}

#page-header.not-home-page #site-title,
#page-header.post-bg #post-info .post-title {
  color: var(--site-ink);
  text-shadow: none;
}

#page-header.not-home-page #site-title {
  letter-spacing: .12em;
}

#page-header.post-bg #post-info #post-meta,
#page-header.post-bg #post-info #post-meta a {
  color: var(--site-muted);
  text-shadow: none;
}

#site-info h1 {
  text-shadow: 0 2px 16px rgba(15, 23, 42, 0.28);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  letter-spacing: .08em;
  font-weight: 600;
}

#site-info {
  padding: 0 20px;
}

#site-subtitle {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.7;
  text-shadow: 0 2px 14px rgba(15, 23, 42, 0.24);
  color: #f7f2e8;
  font-weight: 400;
}

#site-subtitle .typed-cursor {
  display: none;
}

#scroll-down {
  bottom: 28px;
}

#site-subtitle {
  letter-spacing: 0.06em;
}

#content-inner {
  max-width: 1240px;
}

#nav {
  background: linear-gradient(180deg, rgba(11, 38, 52, .28), transparent);
}

#blog-info .site-name,
#menus .site-page {
  letter-spacing: .08em;
}

#menus .site-page {
  position: relative;
}

#menus .site-page::after {
  position: absolute;
  right: 12px;
  bottom: 2px;
  left: 12px;
  height: 1px;
  background: var(--site-accent);
  content: '';
  opacity: 0;
  transform: scaleX(.2);
  transition: opacity .2s ease, transform .2s ease;
}

#menus .site-page:hover::after,
#menus .site-page.current::after {
  opacity: .9;
  transform: scaleX(1);
}

#recent-posts .recent-post-item .article-title {
  color: var(--site-text);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-weight: 700;
}

#recent-posts > .recent-post-item,
aside .card-widget,
#post,
#page,
#archive {
  border: 1px solid var(--site-border);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

#recent-posts > .recent-post-item,
aside .card-widget {
  border-radius: 14px;
}

#recent-posts > .recent-post-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#recent-posts > .recent-post-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.11);
}

.card-widget,
#post,
#page,
#archive {
  background-color: var(--site-surface);
  background-image: linear-gradient(135deg, rgba(255,255,255,.32), transparent 42%), repeating-linear-gradient(0deg, rgba(125, 105, 78, .025) 0, rgba(125, 105, 78, .025) 1px, transparent 1px, transparent 5px);
  background-size: auto, 100% 6px;
}

.card-widget .item-headline {
  color: var(--site-brand-deep);
}

.card-widget .item-headline i,
#rightside button:hover,
.post-content a,
.page-content a {
  color: var(--site-accent);
}

#footer {
  background: #183b4a;
  border-top: 5px solid rgba(184, 134, 76, .48);
}

.post-content blockquote,
.page-content blockquote {
  border-left-color: var(--site-accent);
  background: rgba(244, 240, 229, .78);
}

#post,
#page,
#archive {
  border-radius: 14px;
}

.post-content,
.page-content {
  font-size: 16px;
  line-height: 1.85;
}

.post-content p,
.page-content p {
  margin: 1.15em 0;
}

.post-content h2,
.post-content h3,
.page-content h2,
.page-content h3 {
  color: var(--site-text);
  margin-top: 1.8em;
}

.post-content h2,
.page-content h2 {
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--site-border);
}

.post-content a,
.page-content a,
.recent-post-item a:hover,
.card-widget a:hover {
  color: var(--site-brand);
}

.post-content a:hover,
.page-content a:hover {
  color: var(--site-brand-deep);
}

.post-content img,
.page-content img {
  border-radius: 12px;
}

.post-content blockquote,
.page-content blockquote {
  border-radius: 0 8px 8px 0;
}

.post-content hr,
.page-content hr {
  position: relative;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(53, 95, 98, .48), transparent);
}

.post-content h2::before,
.page-content h2::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 10px 3px 0;
  border-radius: 50%;
  background: var(--site-accent);
  content: '';
}

/* 文章目录：年份印记、月份时间轴和宣纸卡片 */
#catalog {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 68px);
  border: 1px solid var(--site-border);
  border-radius: 18px;
  background: var(--site-surface);
  box-shadow: 0 18px 50px rgba(31, 55, 57, .09);
}

#catalog::before,
#catalog::after {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(53, 95, 98, .07);
  content: '';
  filter: blur(34px);
  pointer-events: none;
}

#catalog::before { top: -130px; right: -60px; }
#catalog::after { bottom: -160px; left: -80px; background: rgba(184, 134, 76, .07); }

.catalog-hero {
  position: relative;
  padding: 12px 0 42px;
  border-bottom: 1px solid var(--site-border);
}

.catalog-kicker {
  color: var(--site-accent);
  font-size: 13px;
  letter-spacing: .22em;
}

.catalog-hero h1 {
  margin: 14px 0 12px;
  color: var(--site-ink);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: .12em;
}

.catalog-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.9;
}

.catalog-seal {
  position: absolute;
  top: 12px;
  right: 8%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 2px solid rgba(151, 72, 52, .72);
  color: rgba(151, 72, 52, .86);
  font-family: "STKaiti", "Kaiti SC", "Noto Serif SC", serif;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: .16em;
  background: rgba(151, 72, 52, .035);
  box-shadow: inset 0 0 0 4px rgba(151, 72, 52, .1);
  transform: rotate(8deg);
}

.catalog-seal::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(151, 72, 52, .45);
  content: '';
}

.catalog-seal span {
  position: relative;
  display: block;
  white-space: nowrap;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 10px;
  color: var(--site-brand-deep);
  font-size: 14px;
  letter-spacing: .06em;
}

.catalog-toolbar-note { color: var(--site-muted); }

.catalog-list { position: relative; margin-top: 20px; }

.catalog-year {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 26px;
  position: relative;
  padding: 28px 0 12px;
}

.catalog-year-mark {
  position: sticky;
  top: 88px;
  align-self: start;
  color: rgba(53, 95, 98, .18);
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.06em;
}

.catalog-year-content { position: relative; padding-left: 28px; border-left: 1px solid rgba(53, 95, 98, .28); }
.catalog-year-content::before { position: absolute; top: 6px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--site-accent); content: ''; }
.catalog-year-content h2 { margin: 0 0 18px; color: var(--site-ink); font-size: 22px; letter-spacing: .16em; }
.catalog-month { margin: 0 0 26px; }
.catalog-month h3 { margin: 0 0 8px; color: var(--site-accent); font-size: 14px; font-weight: 500; letter-spacing: .18em; }
.catalog-month ol { margin: 0; padding: 0; list-style: none; }
.catalog-month li { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(108, 121, 120, .28); }
.catalog-month li time { color: var(--site-muted); font-family: Georgia, serif; font-size: 13px; }
.catalog-month li a { color: var(--site-text); font-size: 16px; line-height: 1.6; transition: color .2s ease, padding-left .2s ease; }
.catalog-month li a:hover { padding-left: 7px; color: var(--site-accent); }
.catalog-tags { display: flex; gap: 5px; justify-content: flex-end; }
.catalog-tags span { padding: 2px 7px; border: 1px solid rgba(53, 95, 98, .2); border-radius: 999px; color: var(--site-muted); font-size: 11px; }

/* 关于页：保持与文章目录相同的宣纸、水墨和印章视觉语言 */
.about-page {
  max-width: 980px;
  margin: 0 auto;
}

.about-hero {
  position: relative;
  padding: 10px 0 42px;
  border-bottom: 1px solid var(--site-border);
}

.about-hero::after {
  position: absolute;
  right: 4%;
  bottom: 26px;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(151, 72, 52, .58);
  content: '無塵';
  color: rgba(151, 72, 52, .72);
  font-family: "STKaiti", "Kaiti SC", "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 68px;
  letter-spacing: .12em;
  text-align: center;
  box-shadow: inset 0 0 0 4px rgba(151, 72, 52, .08);
  transform: rotate(8deg);
}

.about-kicker {
  margin: 0;
  color: var(--site-accent);
  font-size: 13px;
  letter-spacing: .22em;
}

.about-hero h2 {
  max-width: 680px;
  margin: 16px 0 14px;
  color: var(--site-ink);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .08em;
}

.about-lead {
  max-width: 700px;
  margin: 0;
  color: var(--site-muted);
  font-size: 17px;
  line-height: 2;
}

.about-section {
  padding: 38px 0 8px;
}

.about-section-heading {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-bottom: 20px;
}

.about-section-heading span {
  color: var(--site-accent);
  font-family: Georgia, serif;
  font-size: 14px;
  letter-spacing: .12em;
}

.about-section-heading h3 {
  margin: 0;
  color: var(--site-ink);
  font-size: 22px;
  letter-spacing: .12em;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-card {
  position: relative;
  min-height: 142px;
  padding: 23px 24px 20px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 253, 247, .42);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.about-card:hover {
  border-color: rgba(53, 95, 98, .42);
  box-shadow: 0 10px 26px rgba(31, 55, 57, .08);
  transform: translateY(-3px);
}

.about-card-index {
  color: rgba(184, 134, 76, .72);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: .18em;
}

.about-card h4 {
  margin: 9px 0 7px;
  color: var(--site-brand-deep);
  font-size: 18px;
}

.about-card p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-principles > p:not(.about-quote),
.about-contact > p {
  color: var(--site-muted);
}

.about-quote {
  margin: 0 0 18px;
  padding: 19px 24px;
  border-left: 3px solid var(--site-accent);
  color: var(--site-brand-deep);
  background: rgba(244, 240, 229, .78);
  font-family: "STKaiti", "Kaiti SC", "Noto Serif SC", serif;
  font-size: 20px;
  line-height: 1.9;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.about-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 150px;
  padding: 10px 14px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  color: var(--site-brand-deep);
  background: rgba(255, 253, 247, .48);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.about-links a:hover {
  color: #fffaf0;
  background: var(--site-brand);
  transform: translateY(-2px);
}

.about-links span { color: var(--site-accent); }
.about-links a:hover span { color: #fffaf0; }

.about-signature {
  margin: 40px 0 0;
  color: var(--site-accent);
  font-family: "STKaiti", "Kaiti SC", "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: .1em;
  text-align: right;
}

.post-content table,
.page-content table {
  display: block;
  overflow-x: auto;
}

figure.highlight,
pre {
  border-radius: 12px;
}

code,
pre {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

:not(pre) > code {
  padding: 0.15em 0.4em;
  color: #be123c;
  background: #fff1f2;
  border-radius: 5px;
}

#aside_content .card-widget {
  color: var(--site-muted);
}

@media (max-width: 768px) {
  #page-header.full_page {
    min-height: 58vh;
  }

  #site-info h1 {
    font-size: clamp(30px, 9vw, 44px);
  }

  #site-subtitle {
    font-size: 15px;
  }

  #catalog { padding: 28px 20px; }
  .catalog-seal { right: 4px; width: 64px; height: 64px; font-size: 12px; }
  .catalog-toolbar { display: block; line-height: 2; }
  .catalog-toolbar-note { display: block; }
  .catalog-year { grid-template-columns: 1fr; gap: 0; }
  .catalog-year-mark { position: static; margin-bottom: 8px; font-size: 30px; }
  .catalog-year-content { padding-left: 18px; }
  .catalog-month li { grid-template-columns: 1fr; gap: 3px; }
  .catalog-tags { justify-content: flex-start; }

  .about-hero::after { right: 2px; bottom: 22px; width: 58px; height: 58px; font-size: 13px; line-height: 54px; }
  .about-hero h2 { padding-right: 60px; font-size: clamp(27px, 8vw, 38px); }
  .about-lead { font-size: 16px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { min-height: auto; }
  .about-quote { padding: 16px 18px; font-size: 18px; }
  .about-links a { flex: 1 1 140px; }

  #content-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  #post,
  #page,
  #archive,
  #recent-posts > .recent-post-item,
  aside .card-widget {
    border-radius: 12px;
  }

  .post-content,
  .page-content {
    font-size: 16px;
  }

  #recent-posts > .recent-post-item .content {
    line-height: 1.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* 搜索面板：与宣纸水墨背景统一 */
#search-mask {
  background: rgba(28, 40, 42, .55);
  backdrop-filter: blur(8px) saturate(.82);
}

#local-search {
  position: static;
}

#local-search .search-dialog {
  position: fixed;
  top: 8vh;
  left: max(16px, calc((100vw - 760px) / 2));
  z-index: 1001;
  box-sizing: border-box;
  overflow: hidden;
  margin-left: 0;
  width: min(760px, calc(100vw - 32px));
  max-height: 84vh;
  padding: 0;
  border: 1px solid rgba(74, 78, 74, .3);
  border-radius: 20px;
  background-color: rgba(247, 243, 233, .98);
  box-shadow: 0 26px 80px rgba(35, 43, 42, .3), 0 4px 0 rgba(147, 72, 62, .2);
  transform: none;
  transform-origin: top left;
}

#local-search .search-dialog::before {
  position: absolute;
  top: 20px;
  right: 58px;
  width: 36px;
  height: 36px;
  background: url('/images/logo.png') center / contain no-repeat;
  content: '';
  opacity: .72;
  transform: rotate(6deg);
  pointer-events: none;
}

#local-search .search-dialog {
  padding: 25px 28px 23px;
  background-color: rgba(247, 243, 233, .98);
  background-image: linear-gradient(135deg, rgba(255,255,255,.34), transparent 42%), repeating-linear-gradient(0deg, rgba(125, 105, 78, .025) 0, rgba(125, 105, 78, .025) 1px, transparent 1px, transparent 5px);
  background-size: auto, 100% 6px;
}

#local-search .search-nav {
  margin-bottom: 18px;
  color: #263c3e;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 1.2em;
  letter-spacing: .14em;
}

#local-search .search-dialog-title::before {
  display: inline-block;
  width: 5px;
  height: 19px;
  margin-right: 10px;
  background: #93483e;
  content: '';
  vertical-align: -3px;
  transform: rotate(7deg);
}

#local-search .search-close-button {
  flex: none;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(66, 78, 76, .22);
  border-radius: 50%;
  color: #66716e;
  background: rgba(255, 255, 255, .38);
  transition: .2s ease;
}

#local-search .search-close-button:hover {
  color: #fffaf0;
  background: #93483e;
  transform: rotate(90deg);
}

#local-search .local-search-input input {
  box-sizing: border-box;
  height: 48px;
  padding: 8px 18px;
  border: 1px solid rgba(66, 78, 76, .3);
  border-radius: 13px;
  outline: none;
  background: rgba(255, 255, 255, .7);
  color: #263c3e;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 15px;
  transition: .2s ease;
}

#local-search .local-search-input input:focus {
  border-color: #93483e;
  background: #fffdf7;
  box-shadow: 0 0 0 4px rgba(147, 72, 62, .12);
}

#local-search .local-search-input input::placeholder {
  color: #777f7a;
}

#local-search hr {
  margin: 18px 0 14px;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(66, 78, 76, .3), transparent);
}

#local-search hr::before {
  display: none;
}

#local-search #loading-database {
  padding: 30px 20px;
  color: #66716e;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}

#local-search .search-result-list {
  overflow-y: auto;
  margin: 0;
  padding: 0 4px 4px 0;
  max-height: 50vh;
  scrollbar-color: rgba(66, 78, 76, .38) transparent;
}

#local-search .search-result-list .local-search-hit-item {
  display: block;
  margin: 9px 0;
  padding: 13px 15px 12px;
  border: 1px solid rgba(66, 78, 76, .14);
  border-radius: 12px;
  background: rgba(255, 253, 247, .68);
  transition: .2s ease;
}

#local-search .search-result-list .local-search-hit-item:hover {
  border-color: rgba(147, 72, 62, .48);
  background: rgba(255, 253, 247, .96);
  box-shadow: 0 8px 20px rgba(35, 43, 42, .1);
  transform: translateY(-2px);
}

#local-search .local-search-hit-item .search-result-title {
  display: block;
  margin-bottom: 5px;
  color: #263c3e;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 16px;
}

#local-search .local-search-hit-item .search-result {
  margin: 0;
  color: #66716e;
  font-size: 13px;
  line-height: 1.75;
}

#local-search .search-keyword {
  padding: 0 2px;
  border-radius: 3px;
  color: #8f4038;
  background: rgba(196, 151, 98, .22);
}

#local-search #local-search-stats {
  margin-top: 11px;
  color: #66716e;
  font-size: 12px;
  text-align: left;
}

#local-search .ais-Pagination-link {
  border: 1px solid rgba(66, 78, 76, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .44);
  color: #263c3e;
}

#local-search .ais-Pagination-item--selected .ais-Pagination-link {
  border-color: #93483e;
  background: #93483e;
  color: #fffaf0;
}

@media (max-width: 768px) {
  #local-search .search-dialog {
    top: 4vh;
    left: 10px;
    width: calc(100vw - 20px);
    max-height: 92vh;
    border-radius: 16px;
  }

  #local-search .search-dialog {
    padding: 21px 17px 18px;
  }

  #local-search .search-dialog::before {
    top: 17px;
    right: 49px;
    width: 30px;
    height: 30px;
  }

  #local-search .search-result-list {
    max-height: 61vh;
  }
}

/* 关于页二次美化：更像一页有呼吸感的个人杂志，而不是普通说明页 */
.about-page {
  max-width: 1000px;
  color: var(--site-text);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: clamp(24px, 6vw, 76px);
  align-items: end;
  min-height: 350px;
  padding: 18px 0 48px;
  border-bottom: 1px solid rgba(108, 121, 120, .32);
  background: radial-gradient(circle at 90% 30%, rgba(184, 134, 76, .11), transparent 23%), radial-gradient(circle at 5% 100%, rgba(53, 95, 98, .08), transparent 30%);
}

.about-hero::after { display: none; }
.about-hero-copy { min-width: 0; }

.about-hero h2 {
  max-width: 720px;
  margin: 18px 0 18px;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.26;
  letter-spacing: .08em;
}

.about-lead {
  max-width: 660px;
  font-size: 17px;
  line-height: 2.05;
}

.about-traits {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 27px;
  color: var(--site-brand);
  font-size: 12px;
  letter-spacing: .16em;
}

.about-traits i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--site-accent);
}

.about-hero-card {
  position: relative;
  display: flex;
  min-height: 228px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px;
  overflow: hidden;
  border: 1px solid rgba(151, 72, 52, .34);
  background: linear-gradient(150deg, rgba(151, 72, 52, .06), rgba(255, 253, 247, .2));
  box-shadow: inset 0 0 0 5px rgba(151, 72, 52, .045), 7px 7px 0 rgba(151, 72, 52, .08);
  transform: rotate(3deg);
}

.about-hero-card::before {
  position: absolute;
  top: -44px;
  right: -34px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(151, 72, 52, .25);
  border-radius: 50%;
  content: '';
}

.about-hero-card-label {
  color: rgba(151, 72, 52, .72);
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: .22em;
}

.about-hero-card strong {
  position: relative;
  color: rgba(151, 72, 52, .82);
  font-family: "STKaiti", "Kaiti SC", "Noto Serif SC", serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .16em;
}

.about-hero-card-seal {
  align-self: flex-end;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(151, 72, 52, .58);
  border-radius: 50%;
  color: rgba(151, 72, 52, .78);
  font-family: "STKaiti", "Kaiti SC", "Noto Serif SC", serif;
  font-size: 13px;
  letter-spacing: .12em;
}

.about-section {
  padding: 50px 0 4px;
}

.about-section-heading {
  gap: 15px;
  margin-bottom: 24px;
}

.about-section-heading span {
  min-width: 24px;
  font-size: 12px;
}

.about-section-heading h3 {
  font-size: 23px;
  letter-spacing: .1em;
}

.about-section-heading::after {
  display: block;
  width: 42px;
  height: 1px;
  margin-left: 2px;
  background: var(--site-accent);
  content: '';
  opacity: .62;
}

.about-grid {
  gap: 16px;
}

.about-card {
  min-height: 156px;
  padding: 25px 27px 22px;
  border-radius: 3px 14px 3px 14px;
  background: linear-gradient(145deg, rgba(255, 253, 247, .62), rgba(244, 240, 229, .34));
}

.about-card:nth-child(2) { border-radius: 14px 3px 14px 3px; }
.about-card:nth-child(3) { border-radius: 14px 3px 14px 3px; }
.about-card:nth-child(4) { border-radius: 3px 14px 3px 14px; }

.about-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--site-accent);
  content: '';
  transition: height .25s ease;
}

.about-card:hover::before { height: 100%; }
.about-card h4 { margin-top: 11px; font-size: 19px; }
.about-card p { max-width: 400px; line-height: 1.95; }

.about-principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, .92fr);
  gap: 34px;
  align-items: center;
}

.about-quote {
  position: relative;
  margin: 0;
  padding: 28px 30px 27px;
  border-left-width: 4px;
  border-radius: 0 16px 0 16px;
  background: linear-gradient(125deg, rgba(244, 240, 229, .9), rgba(255, 253, 247, .42));
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.9;
}

.about-quote::after {
  position: absolute;
  right: 21px;
  bottom: 10px;
  color: rgba(184, 134, 76, .45);
  content: '“';
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 1;
}

.about-principles-copy {
  color: var(--site-muted);
  font-size: 15px;
  line-height: 2;
}

.about-principles-copy p { margin: 0 0 15px; }
.about-principles-copy .about-small-note { color: var(--site-brand); font-size: 13px; }

.about-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 24px 26px;
  border: 1px solid var(--site-border);
  border-radius: 16px 4px 16px 4px;
  background: linear-gradient(110deg, rgba(53, 95, 98, .08), rgba(255, 253, 247, .42));
}

.about-contact-panel p { margin: 0; color: var(--site-muted); line-height: 1.9; }
.about-links { margin-top: 0; }
.about-links a { min-width: 132px; }

.about-signature {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(108, 121, 120, .22);
  font-size: 19px;
}

@media (max-width: 768px) {
  .about-hero {
    display: block;
    min-height: auto;
    padding-bottom: 35px;
    background: radial-gradient(circle at 100% 18%, rgba(184, 134, 76, .12), transparent 30%);
  }

  .about-hero h2 { padding-right: 0; font-size: clamp(31px, 9vw, 44px); }
  .about-hero-card { width: min(210px, 72%); min-height: 175px; margin: 30px 8px 0 auto; }
  .about-principles-layout { grid-template-columns: 1fr; gap: 20px; }
  .about-contact-panel { grid-template-columns: 1fr; gap: 18px; padding: 21px; }
  .about-links { margin-top: 0; }
}

/* 文章打印：保留内容本身，移除网页浏览界面的装饰与交互元素 */
#post .post-print-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 8px 12px 8px 0;
  padding: 0 13px;
  min-height: 26px;
  border: 1px solid rgba(53, 95, 98, .28);
  border-radius: 12px;
  color: var(--site-brand);
  background: rgba(255, 253, 247, .44);
  font: inherit;
  font-size: .85em;
  line-height: 1.8;
  vertical-align: middle;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

#post .post-print-button:hover,
#post .post-print-button:focus-visible {
  border-color: var(--site-brand);
  color: #fffaf0;
  background: var(--site-brand);
  outline: none;
  transform: translateY(-1px);
}

#post .post-print-button i {
  font-size: .95em;
}

@media print {
  @page {
    size: A4;
    margin: 18mm 16mm 20mm;
  }

  html,
  body {
    min-width: 0 !important;
    background: #fff !important;
    color: #1c2528 !important;
  }

  body {
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif !important;
    font-size: 11pt !important;
    line-height: 1.75 !important;
  }

  #web_bg,
  #sidebar,
  #aside-content,
  #rightside,
  #footer,
  #post-comment,
  .post-share,
  .tag_share,
  .post-print-button,
  #local-search,
  #search-mask,
  .toc,
  #card-toc,
  .post-copyright,
  .relatedPosts,
  .post-reward,
  .post-outdate-notice,
  .post-nav,
  .ads-wrap,
  .anchor,
  .headline {
    display: none !important;
  }

  #body-wrap,
  #content-inner,
  #main,
  main#content-inner.layout,
  #post {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  #page-header {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 8mm !important;
    padding: 0 0 5mm !important;
    border-bottom: 1px solid #cfd9d3 !important;
    background: #fff !important;
    color: #1c2528 !important;
  }

  #page-header::before,
  #page-header #nav {
    display: none !important;
  }

  #page-header #post-info {
    position: static !important;
    padding: 0 !important;
    text-align: left !important;
  }

  #page-header #post-info .post-title {
    margin: 0 0 4mm !important;
    color: #172328 !important;
    font-size: 24pt !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-shadow: none !important;
  }

  #page-header #post-info #post-meta,
  #page-header #post-info #post-meta a,
  #page-header #post-info #post-meta time {
    color: #586563 !important;
    font-size: 9.5pt !important;
    text-shadow: none !important;
  }

  #article-container {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1c2528 !important;
    font-size: 11pt !important;
    line-height: 1.8 !important;
  }

  /* 标题已在页面头部打印，避免正文中的 Markdown 一级标题重复占位。 */
  #article-container > h1:first-child {
    display: none !important;
  }

  #article-container > :first-child {
    margin-top: 0 !important;
  }

  #article-container::before {
    display: none !important;
  }

  #article-container a {
    color: inherit !important;
    text-decoration: underline;
    text-decoration-color: #9aa7a2;
    overflow-wrap: anywhere;
  }

  #article-container a[href^='http']::after,
  #article-container a[href^='//']::after {
    color: #586563;
    content: ' (' attr(href) ')';
    font-family: Arial, sans-serif;
    font-size: .78em;
    overflow-wrap: anywhere;
  }

  #article-container img,
  #article-container svg,
  #article-container video {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin-right: auto;
    margin-left: auto;
    break-inside: avoid;
  }

  #article-container figure,
  #article-container pre,
  #article-container blockquote {
    break-inside: avoid;
  }

  #article-container h1,
  #article-container h2,
  #article-container h3,
  #article-container h4,
  #article-container h5,
  #article-container h6 {
    color: #172328 !important;
    break-after: avoid;
    page-break-after: avoid;
  }

  #article-container h2,
  #article-container h3 {
    border-color: #d4ddd8 !important;
  }

  #article-container h2::before,
  #article-container h3::before {
    display: none !important;
  }

  #article-container blockquote {
    border-left: 3px solid #9b7142 !important;
    background: #f7f4ed !important;
    color: #374448 !important;
  }

  #article-container pre,
  #article-container figure.highlight {
    overflow: visible !important;
    border: 1px solid #d7dfdc !important;
    background: #f5f7f6 !important;
    color: #202b2e !important;
    white-space: pre-wrap !important;
    word-break: break-word;
  }

  #article-container code {
    color: inherit !important;
    background: transparent !important;
  }

  #article-container table {
    display: table !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.6em 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    color: #26383d !important;
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
    font-size: 9.5pt !important;
    line-height: 1.55 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  #article-container thead {
    display: table-header-group;
  }

  #article-container tfoot {
    display: table-footer-group;
  }

  #article-container tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  #article-container th,
  #article-container td {
    padding: 7pt 9pt !important;
    border-right: 1px solid #c3cfca !important;
    border-bottom: 1px solid #c3cfca !important;
    background: #fff !important;
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
  }

  #article-container th {
    border-top: 1px solid #8fa9a0 !important;
    border-bottom: 2px solid #355f62 !important;
    color: #183f4b !important;
    background: #e8efeb !important;
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
    font-size: 9.5pt !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    line-height: 1.45 !important;
    white-space: normal !important;
  }

  #article-container th:first-child,
  #article-container td:first-child {
    border-left: 1px solid #c3cfca !important;
  }

  #article-container tbody tr:nth-child(even) td {
    background: #f7f9f8 !important;
  }

  #article-container caption {
    margin-bottom: 6pt;
    color: #586563 !important;
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
    font-size: 9pt !important;
    font-weight: 600;
    text-align: left;
  }

  #article-container hr {
    background: #cfd9d3 !important;
  }

  #article-container p,
  #article-container ul,
  #article-container ol,
  #article-container figure {
    orphans: 3;
    widows: 3;
  }
}
