html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video, input, textarea {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
input, textarea {
  outline: none
}
body {
  font: 1rem "Microsoft YaHei", Arial, Helvetica, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.5;
}
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
h1, h2, h3, h4, h5, h6, em, i {
  font-weight: normal;
  font-style: normal;
}
ul, ol, li {
  list-style-type: none;
}
a {
  color: #555;
  text-decoration: none;
  outline: 0;
  -webkit-transition: background-color .15s linear, color .15s linear;
  -moz-transition: background-color .15s linear, color .15s linear;
  -o-transition: background-color .15s linear, color .15s linear;
  -ms-transition: background-color .15s linear, color .15s linear;
  transition: background-color .15s linear, color .15s linear;
}
a:hover {
  text-decoration: none;
  color: #000;
}
a:focus {
  outline: 0;
}
img {
  border: 0;
  display: block;
  max-width: 100%;
}
h1 {
  font-size: 1.875rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.25rem
}
h4 {
  font-size: 1.125rem
}
h5 {
  font-size: 1rem
}
h6 {
  font-size: 1rem
}
p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  text-align: justify;
  line-height: 1.8;
}
hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}
img {
  border: 0;
  display: block;
  max-width: 100%;
  vertical-align: bottom
}
input, textarea {
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 15px;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
  width: 100%;
}
.d-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.flex-nowrap {
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.flex-fill {
  flex: 1 1 auto;
}
.flex-align {
  align-items: center
}
.flex-justify {
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.row {
  margin-right: -15px;
  margin-left: -15px;
}
.cont {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding-right: 15px;
  padding-left: 15px;
}
.col {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 3rem;
}
.text-center {
  text-align: center !important;
}
.but {
  color: #777;
  background: #fff;
  padding: 8px 12px;
  border: solid #ccc 1px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}
.but:hover, .butb {
  color: #000;
  border: solid #000 1px;
  text-decoration: none;
}
blockquote {
  padding: 0.75rem;
  background-color: #f8f9fa;
  margin-bottom: 1rem;
}
blockquote p:last-child {
  margin-bottom: 0;
}
table {
  border-collapse: collapse;
  margin-bottom: 1rem;
}
table, table td, table th {
  border: 1px solid #ddd;
}
table td, table th {
  padding: 6px
}
table th {
  background-color: #f8f9fa
}
.header {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
h1.logo, h2.logo {
  font-size: 1.75rem;
  color: #000
}
.navbar {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: .5rem 0;
}
.navbar-brand {
  display: inline-block;
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}
.navbar-nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.navbar-nav li a {
  display: block;
  padding: .5rem 1rem;
  color: rgba(0, 0, 0, .5);
}
.navbar-nav li ul {
  display: none;
}
.navbar-toggler {
  -webkit-align-self: flex-start;
  -ms-flex-item-align: start;
  align-self: flex-start;
  padding: .25rem 0;
  font-size: 1.25rem;
  line-height: 1;
  background: 0 0;
  border: 1px solid transparent;
  border-radius: .25rem;
  right: 0rem;
  position: absolute;
}
.navbar-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  -webkit-background-size: 100% 100%;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.collapse {
  display: none;
}
.image-box a {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  position: relative;
  display: block;
}
.image-box a img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  background: #f3f4f6;
}
.list {
  padding: 0;
}
.list .top {
  position: absolute;
  top: 15px;
  left: 30px;
  z-index: 1;
  padding: 0 4px;
  font-size: 14px;
  background: #f1404b;
  color: #fff;
}
.list li h3 {
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1.375rem;
}
.list .image-box:hover img {
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.list hr {
  border-color: #999;
  width: 10%;
  margin-top: 10px;
  margin-bottom: 10px;
}
.date {
  color: #666;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 2px;
}
.post-tit .post-meta-divider {
  color: #ccc;
  margin: 0 8px;
}
.post-tit .post-meta-item {
  color: #888;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
}
.post-tit .post-meta-item a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}
.post-tit .post-meta-item a:hover {
  color: #667eea;
}
.post-tit .post-edit-link {
  color: #007bff;
}
.post-tit .post-edit-link:hover {
  color: #0056b3;
}
.post-tit .post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.pagelist {
  color: #666;
  width: 100%;
  clear: both;
  margin: 0 0 3rem;
  padding: 0 10px;
  font-size: 14px;
  -webkit-justify-content: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.pagelist .but {
  margin: 5px;
  line-height: 1.5;
}
.footer {
  border-top: 1px solid #eee;
  /* margin-top: 3rem; */
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: rgba(0, 0, 0, .6);
  background: #fff;
}
.footer-content {
  text-align: center;
}
.footer-slogan {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}
.footer-nav {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.8;
}
.footer-nav .nav-label {
  color: #666;
}
.footer-nav a {
  color: #666;
  text-decoration: none;
  margin: 0 5px;
}
.footer-nav a:hover {
  color: #007bff;
  text-decoration: underline;
}
.footer-nav .nav-divider {
  color: #ddd;
  margin: 0 3px;
}
.footer-copyright {
  font-size: 13px;
  color: #999;
}
.footer-copyright a {
  color: #666;
  text-decoration: none;
}
.footer-copyright a:hover {
  color: #007bff;
}
.page {
  padding-top: 1.5rem;
  margin: auto;
}
.pagelist li {
  line-height: 3.5;
}
.post-tit {
  margin-bottom: 1.5rem;
}
.post-tit hr {
  border-color: #999;
  width: 5%;
}

.post-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0 0 20px 0;
}
.sdt-wrap {
  float: right;
  margin: 10px 0 15px 20px;
  clear: right;
}
.sdt-grid {
  position: relative;
  width: 140px;
  height: 140px;
  background-color: #fdf8f0;
  background-image:
    linear-gradient(#d4a574 1px, transparent 1px),
    linear-gradient(90deg, #d4a574 1px, transparent 1px),
    linear-gradient(#c4956a 1.5px, transparent 1.5px),
    linear-gradient(90deg, #c4956a 1.5px, transparent 1.5px);
  background-size: 70px 70px, 70px 70px, 140px 140px, 140px 140px;
  background-position: -1px -1px, -1px -1px, center center, center center;
  border: 2px solid #c4956a;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sdt-char {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 70px;
  font-family: 'STKaiti', 'KaiTi', '楷体', 'STSong', 'SimSun', serif;
  color: #2c1810;
  line-height: 1;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
  user-select: none;
}
.post strong {
  display: inline-block;
  background: #667eea;
  color: #fff;
  padding: 1px 8px;
  border-radius: 4px;
  font-weight: 500;
  margin-right: 6px;
}
.rel-word-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.rel-word-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  background: #f5f5f5;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s;
  min-height: 40px;
}
.rel-word-item:hover {
  background: #e8e8e8;
}
.rel-word-text {
  font-size: 15px;
  color: #333;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .rel-word-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .rel-word-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 文章目录 */
.post-toc-wrap {
  position: fixed;
  left: max(calc((100vw - 1200px) / 2 - 220px), 10px);
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  max-height: calc(100vh - 40px);
  background: #fff;
  z-index: 100;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  overflow-y: auto;
  padding: 16px 0;
}
@media (max-width: 1480px) {
  .post-toc-wrap {
    display: none;
  }
}
.post-toc-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  padding: 0 16px 12px;
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}
.post-toc-body {
  padding: 6px 0;
}
.post-toc-body a {
  display: block;
  padding: 7px 16px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-toc-body a:hover,
.post-toc-body a.active {
  color: #667eea;
  background: #f0f2ff;
  border-left-color: #667eea;
}
.post-toc-body a.toc-title {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  border-bottom: 1px dashed #eee;
  margin-bottom: 4px;
  padding-bottom: 8px;
}
.post-toc-body a.toc-h3 {
  padding-left: 28px;
  font-size: 12px;
  color: #999;
}
.shiwen-text {
  margin: 20px 0 25px;
  padding: 28px 30px;
  background: linear-gradient(135deg, #fdfcf8 0%, #f8f5ee 100%);
  border: 1px solid #e8dfcc;
  border-radius: 10px;
  font-family: 'STKaiti', 'KaiTi', '楷体', 'Noto Serif SC', 'Source Han Serif SC', 'STSong', serif;
  font-size: 17px;
  line-height: 2.2;
  color: #3e3828;
  letter-spacing: 0.05em;
  text-align: center;
  box-shadow: 0 1px 8px rgba(180,160,130,0.1);
}
.shiwen-text br + br {
  content: '';
  display: block;
  margin-bottom: 8px;
}
.shiwen-text p {
  margin: 0 0 14px;
  text-indent: 2em;
}
.shiwen-text:first-line {
  font-size: 19px;
  font-weight: 500;
  color: #5a4e38;
}
@media (max-width: 768px) {
  .shiwen-text {
    padding: 20px 16px;
    font-size: 15px;
    line-height: 2;
  }
}
.guji-longtxt {
  margin: 20px 0 25px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #fcfaf6 0%, #f6f2e8 100%);
  border: 1px solid #dcd3c0;
  border-radius: 10px;
  font-family: 'STKaiti', 'KaiTi', '楷体', 'Noto Serif SC', 'STSong', 'SimSun', serif;
  font-size: 17px;
  line-height: 2.4;
  color: #3a3028;
  letter-spacing: 0.04em;
  text-align: justify;
  box-shadow: 0 1px 8px rgba(160,140,110,0.1);
}
.guji-longtxt p {
  margin: 0 0 18px;
  text-indent: 2em;
}
.guji-longtxt br + br {
  content: '';
  display: block;
  margin-bottom: 6px;
}
@media (max-width: 768px) {
  .guji-longtxt {
    padding: 20px 16px;
    font-size: 15px;
    line-height: 2.1;
  }
}
.post-nav {
  display: flex;
  gap: 20px;
}
.post-nav-item {
  flex: 1;
  min-width: 0;
}
.post-nav-link {
  display: block;
  padding: 15px 18px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}
.post-nav-link:hover {
  background: #eef1ff;
}
.post-nav-link.disabled {
  cursor: default;
  opacity: 0.5;
}
.post-nav-link.disabled:hover {
  background: #f8f9fa;
}
.post-nav-label {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 6px;
}
.post-nav-item.next .post-nav-label {
  text-align: right;
}
.post-nav-title {
  display: block;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-nav-item.next .post-nav-title {
  text-align: right;
}
@media (max-width: 480px) {
  .post-nav {
    flex-direction: column;
    gap: 10px;
  }
  .post-nav-item.next .post-nav-label,
  .post-nav-item.next .post-nav-title {
    text-align: left;
  }
}
/* 古籍封面卡片 */
.post-list-item-guji {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.post-list-item-guji .post-list-item-body {
  flex: 1;
  min-width: 0;
}
.guji-book-cover {
  flex-shrink: 0;
  width: 80px;
  height: 110px;
  background: linear-gradient(135deg, #4a3422 0%, #5c4033 40%, #4a3422 100%);
  border: 1px solid #3e2b1a;
  border-radius: 2px 6px 6px 2px;
  box-shadow: 2px 3px 10px rgba(0,0,0,0.25), inset 1px 0 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.guji-book-cover::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(218,165,105,0.35);
}
.guji-book-cover::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 4px;
  top: 10px;
  bottom: 10px;
  border: 1px solid rgba(218,165,105,0.2);
  border-radius: 1px;
}
.guji-book-cover-inner {
  position: absolute;
  left: 14px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.guji-book-cover-title {
  font-family: 'STKaiti', 'KaiTi', '楷体', 'STSong', 'SimSun', serif;
  font-size: 14px;
  color: #d4a56a;
  writing-mode: vertical-rl;
  letter-spacing: 4px;
  line-height: 1.6;
  max-height: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .post-list-item-guji {
    gap: 12px;
  }
  .guji-book-cover {
    width: 60px;
    height: 85px;
  }
  .guji-book-cover-title {
    font-size: 11px;
    max-height: 44px;
  }
}
/* 古籍文章页标题大封面 */
.post-tit-guji-wrap {
  display: flex;
  gap: 24px;
  align-items: center;
  text-align: left;
}
.post-tit-guji-wrap .post-tit-guji-body {
  flex: 1;
  min-width: 0;
}
.post-tit-guji-wrap .post-tit-guji-body hr {
  width: 100%;
}
.post-tit-guji-wrap .post-tit-guji-body .post-meta {
  justify-content: flex-start;
}
.guji-book-cover-lg {
  flex-shrink: 0;
  width: 100px;
  height: 140px;
}
.guji-book-cover-lg .guji-book-cover-inner {
  left: 18px;
  right: 10px;
}
.guji-book-cover-lg .guji-book-cover-title {
  font-size: 16px;
  max-height: 90px;
  letter-spacing: 5px;
}
@media (max-width: 768px) {
  .post-tit-guji-wrap {
    gap: 16px;
  }
  .guji-book-cover-lg {
    width: 70px;
    height: 100px;
  }
  .guji-book-cover-lg .guji-book-cover-inner {
    left: 12px;
    right: 6px;
  }
  .guji-book-cover-lg .guji-book-cover-title {
    font-size: 13px;
    max-height: 60px;
    letter-spacing: 3px;
  }
}
@media (max-width: 480px) {
  .post-tit-guji-wrap {
    gap: 12px;
  }
  .guji-book-cover-lg {
    width: 56px;
    height: 80px;
  }
  .guji-book-cover-lg .guji-book-cover-inner {
    left: 10px;
    right: 4px;
  }
  .guji-book-cover-lg .guji-book-cover-title {
    font-size: 11px;
    max-height: 48px;
    letter-spacing: 2px;
  }
}
/* 古籍章节列表 */
.guji-chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.guji-chapter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #faf9f6;
  border: 1px solid #e8e3d6;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.guji-chapter-item:hover {
  background: #f3efe6;
  border-color: #d4c8a6;
  box-shadow: 0 2px 6px rgba(180,160,120,0.12);
}
.guji-chapter-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c9a96e, #b8945c);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.guji-chapter-title {
  font-size: 14px;
  color: #4a3828;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .guji-chapter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .guji-chapter-grid {
    grid-template-columns: 1fr;
  }
}
.post ul, .post ol {
  list-style: disc;
  margin: 0 0 2em 0;
  padding-left: 1.25em;
}
.post ol li {
  list-style-type: decimal;
}
.post ol {
  list-style: decimal;
}
.post ul li {
  list-style-type: disc;
}
.post img {
  display: inline-block;
  vertical-align: middle
}
.post h2, .post h3, .post h4, .post h5, .post h6 {
  margin: 1.5rem 0;
  line-height: 1;
  position: relative;
}
.post h3 {
  border-left: 4px solid #667eea;
  padding-left: 12px;
  color: #333;
}
.tags {
  padding: 1rem 0 2rem;
  margin: -5px;
  font-size: 14px;
}
.tags .but {
  margin: 5px;
  line-height: 1.5;
  padding: 4px 8px;
}
.comments h3 {
  margin: 1.5rem 0;
  font-size: 1.875rem;
}
.postcomm {
  padding-bottom: 1.5rem
}
.Verify {
  position: relative;
}
.Verify img {
  position: absolute;
  top: 14px;
  right: 10px;
}
.reply {
  font-size: 13px;
  margin: 5px 0;
  display: block
}
.msg {
  margin: 1.5rem 0;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid rgba(170, 172, 182, 0.15);
  word-wrap: break-word
}
.msgurl a {
  color: #7a8b9a;
  font-size: 14px;
  display: none;
}
.msg:hover .msgurl a {
  display: block
}
.msgarticle {
  list-style-position: outside;
  padding: .625rem 0 0;
  color: #636874;
}
.avatar {
  -ms-flex: 0 0 3.8rem;
  flex: 0 0 3.8rem;
  max-width: 3.8rem;
  padding-right: 1rem;
}
.avatar img {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%
}
.msg small {
  color: #7a8b9a
}
.msg h3 small {
  font-size: 12px
}
.msg div.msg {
  padding: 20px 0 0;
  margin: 20px 0 0 -3.8rem;
  border-top: 1px solid rgba(170, 172, 182, 0.15);
  border-bottom: none
}
.msg div.msg .msgarticle {
  padding-bottom: 0
}
.msg div.msg .msgname {
  padding: 0
}
.msg:nth-last-child(3) {
  border-bottom: 0
}
@media only screen and (min-width: 576px) {
  .cont {
    width: 540px;
    max-width: 100%;
  }
  .col {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media only screen and (min-width: 768px) {
  .cont {
    width: 720px;
    max-width: 100%;
  }
  .col {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .header {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .navbar-nav li a {
    padding: .5rem 0 .5rem 2rem;
  }
  .navbar-toggler {
    display: none;
  }
  .navbar-collapse {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    width: 100%;
    justify-content: flex-end;
  }
  .navbar-nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .navbar {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .but {
    padding: 10px 15px;
  }
  .page {
    width: 70%;
  }
  .msg div.msg {
    margin: 20px 0 0 0;
  }
}
@media only screen and (min-width: 992px) {
  .cont {
    width: 960px;
    max-width: 100%;
  }
  .col {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 33.333333%;
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}
@media only screen and (min-width: 1200px) {
  .cont {
    width: 1200px;
    max-width: 100%;
  }
}

/* ================ CMS Style ================ */

/* 顶部导航 */
.cms-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px 0 50px 0;
    color: #fff;
}

.cms-header .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.cms-header .logo-area {
    display: flex;
    align-items: center;
}

.cms-header .logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.cms-header .logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.cms-toggler {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}
.cms-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.cms-toggler.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.cms-toggler.active span:nth-child(2) {
    opacity: 0;
}
.cms-toggler.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.cms-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    z-index: 100;
}
.cms-nav.open {
    display: block;
}
.cms-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
}
.cms-nav ul li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
}
.cms-nav ul li:last-child a {
    border-bottom: none;
}
.cms-nav ul li ul {
    padding-left: 20px;
}

/* 搜索框 */
.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    outline: none;
    margin: 0px !important;
}

.search-btn {
    padding: 12px 30px;
    background: #ff6b6b;
    border: none;
    border-radius: 0 25px 25px 0;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #ee5a5a;
}

/* 功能导航区 */
.cms-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #667eea;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.nav-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.nav-text {
    font-size: 14px;
}

/* 内容区域 */
.cms-content {
    padding: 3px 0 30px 0;
    background-color: #f8f9fa;
}

.content-row {
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 1;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.content-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.box-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 诗人网格 */
.poet-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.poet-item {
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.poet-item:hover {
    background: #667eea;
    color: #fff;
}

/* 诗词名句 */
.quote-list {
    list-style: none;
}

.quote-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

.quote-item:last-child {
    border-bottom: none;
}

.quote-item p {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px 0;
    font-style: italic;
}

.quote-author {
    font-size: 12px;
    color: #999;
}

/* 汉字网格 */
.char-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.char-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* 成语接龙 */
.idiom-game {
    text-align: center;
}

.current-idiom {
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.idiom-hint {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.idiom-input {
    width: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}

.idiom-btn {
    padding: 10px 20px;
    background: #667eea;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

.idiom-btn:hover {
    background: #5a6fd6;
}

/* 侧边栏 */
.sidebar-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.side-tit {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.side-list li:last-child {
    border-bottom: none;
}

.side-list li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.side-list li a:hover {
    color: #667eea;
}

.sidebar .search-box {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: stretch;
}

.sidebar .search-input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.sidebar .search-btn {
    padding: 8px 16px;
    background: #667eea;
    color: #fff;
    border: 1px solid #667eea;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

.sidebar .search-btn:hover {
    background: #5a6fd6;
}

.tags-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.tag-item:hover {
    background: #667eea;
    color: #fff;
}

.hot-list, .article-list, .category-list {
    list-style: none;
}

.hot-list li, .article-list li, .category-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.hot-list li:last-child, .article-list li:last-child, .category-list li:last-child {
    border-bottom: none;
}

.hot-list li a, .article-list li a, .category-list li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.hot-list li a:hover, .article-list li a:hover, .category-list li a:hover {
    color: #667eea;
}

.article-date {
    flex-shrink: 0;
    font-size: 12px;
    color: #bbb;
    margin-left: 8px;
}

.article-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-title-link {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-item-meta {
    margin-top: 4px;
}

.article-list li a.article-cate {
    display: inline-block;
    font-size: 11px;
    color: #667eea;
    text-decoration: none;
    background: #eef1ff;
    padding: 2px 8px;
    border-radius: 3px;
    transition: all 0.3s;
}

.article-list li a.article-cate:hover {
    color: #fff;
    background: #667eea;
}

/* 字母导航 */
.alphabet-nav {
    background: #f8f9fa;
    padding: 0 0 30px 0;
    overflow-x: hidden;
}

.alphabet-nav .cont {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.alphabet-bar {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(14, 1fr);
    gap: 10px;
}

.alpha-item {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.alpha-item:hover {
    background: #667eea;
    color: #fff;
}

@media (max-width: 768px) {
    .alphabet-bar {
        grid-template-rows: repeat(4, 1fr);
        grid-template-columns: repeat(7, 1fr);
        gap: 6px;
    }
    
    .alpha-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        min-height: 30px;
        font-size: 12px;
    }
    
    .cms-header .header-top {
        flex-direction: row;
        text-align: center;
    }
    
    .cms-header .top-nav ul {
        margin-top: 15px;
    }
    
    .cms-header .top-nav ul li {
        margin: 0 15px;
    }
    
    .content-row {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .char-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 769px) {
    .cms-toggler {
        display: none;
    }
    .cms-nav {
        display: flex !important;
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: none;
        width: auto;
    }
    .cms-nav ul {
        flex-direction: row;
    }
    .cms-nav ul li a {
        padding: .5rem 0 .5rem 2rem;
        border-bottom: none;
        color: #fff;
        font-size: 16px;
    }
    .cms-nav ul li a:hover {
        color: #ffd700;
    }
    .cms-nav ul li ul {
        display: none;
        padding-left: 0;
    }
}

.search-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.search-info strong {
    color: #e53e3e;
}

.search-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 1.4;
}

.search-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.search-item h4 a:hover {
    color: #007bff;
}

.search-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-meta a {
    color: #007bff;
    text-decoration: none;
}

.search-meta a:hover {
    text-decoration: underline;
}

.search-item strong,
.search-excerpt strong,
.search-item h4 strong {
    color: #e74c3c;
}

.search-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.search-empty strong {
    color: #e53e3e;
}

.search-suggest {
    font-size: 13px;
    color: #bbb;
    margin-top: 10px;
}

.char-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.char-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.char-card:hover {
    background: #e8e8e8;
}

.char-pinyin {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    text-align: center;
}

.char-text {
    font-size: 20px;
    color: #333;
    font-weight: 500;
}

.char-more {
    margin-top: 15px;
    text-align: right;
}

.char-more-link {
    display: inline-block;
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid #667eea;
    border-radius: 4px;
    transition: all 0.3s;
}

.char-more-link:hover {
    background: #667eea;
    color: #fff;
}

.zidian-count {
    color: #e74c3c;
    font-weight: 600;
    font-size: 15px;
}

.post-list-item {
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.post-list-item:last-child {
    border-bottom: none;
}

.post-list-item h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 1.4;
}

.post-list-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.post-list-item h4 a:hover {
    color: #007bff;
}

.post-list-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-list-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.post-list-meta a {
    color: #667eea;
    text-decoration: none;
}

.post-list-meta a:hover {
    text-decoration: underline;
}

.post-list-cate a {
    display: inline-block;
    font-size: 11px;
    color: #667eea;
    background: #eef1ff;
    padding: 2px 8px;
    border-radius: 3px;
    transition: all 0.3s;
}

.post-list-cate a:hover {
    color: #fff;
    background: #667eea;
}

@media (max-width: 768px) {
    .char-card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .char-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .char-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .char-text {
        font-size: 16px;
    }
}

.word-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.word-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.word-card:hover {
    background: #e8e8e8;
}

.word-pinyin {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    text-align: center;
}

.word-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .word-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .word-card-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }
}

.breadcrumb-section {
    padding: 12px 0;
    background: #f8f9fa;
}

.breadcrumb {
    font-size: 14px;
    color: #999;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #667eea;
}

.breadcrumb-sep {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb-current {
    color: #333;
}

.sentence-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sentence-item {
    padding: 10px 15px;
    border-bottom: 1px dashed #eee;
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}

.sentence-item:last-child {
    border-bottom: none;
}

.sentence-item:hover {
    background: #f8f9fa;
}