* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #2a2f35;
  background: radial-gradient(circle at 12% 0, rgba(164, 42, 36, 0.07), transparent 28rem), linear-gradient(90deg, rgba(180, 131, 53, 0.08) 1px, transparent 1px), #f4ead7;
  background-size: auto, 30px 30px, auto;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  line-height: 1.75;
}
a {
  color: #2a2f35;
  text-decoration: none;
}
a:hover {
  color: #a42a24;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select {
  font: inherit;
}
.gx2-wrap,
.gx-wrap {
  width: 1200px;
  margin: 0 auto;
}
::selection {
  color: #2a2f35;
  background: rgba(245, 166, 127, 0.55);
}
.gx-annot-selhl {
  position: absolute;
  z-index: 900;
  background: rgba(245, 166, 127, 0.55);
  border-radius: 2px;
  pointer-events: none;
}
.gx2-topbar {
  color: #f1dfb9;
  background: #2a2f35;
  border-bottom: 1px solid rgba(216, 179, 94, 0.35);
  font-size: 0.875rem;
}
.gx2-topbar-inner,
.gx2-header-main,
.gx2-nav,
.gx2-footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.gx2-powered {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 14px;
}
.gx2-topbar-inner {
  min-height: 38px;
}
.gx2-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.gx2-utility a {
  color: #f1dfb9;
}
.gx2-header {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  background: linear-gradient(180deg, rgba(255, 251, 241, 0.96), rgba(245, 245, 245, 0.94)), #f4ead7;
  border-bottom: 1px solid #f5a67f;
}
.gx2-header::before,
.gx2-header::after {
  content: "";
  position: absolute;
  top: 54px;
  width: 190px;
  height: 190px;
  pointer-events: none;
  background: url("/static/common/images/logo-mark.webp") center / contain no-repeat;
  opacity: 0.055;
  filter: sepia(0.3);
}
.gx2-header::before {
  left: -42px;
}
.gx2-header::after {
  right: -42px;
}
.gx2-ornament,
.gx2-footer-ornament,
.gx2-divider {
  background: url("/static/common/images/ornament-band.webp") center / cover no-repeat;
}
.gx2-ornament {
  height: 84px;
  border-bottom: 1px solid rgba(180, 131, 53, 0.35);
}
.gx2-header-main {
  position: relative;
  z-index: 3;
  min-height: 136px;
  padding: 22px 0;
}
.gx2-header-compact .gx2-header-main {
  min-height: 112px;
}
.gx2-logo {
  display: grid;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: #8e251f;
  border: 1px solid #d8b35e;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(71, 54, 35, 0.18);
}
.gx2-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gx2-title {
  min-width: 0;
  flex: 1 1 auto;
}
.gx2-title p {
  margin: 0 0 4px;
  color: #a42a24;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.gx2-title h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.08;
}
.gx2-title h1 a {
  color: #2a2f35;
}
.gx2-title span {
  display: block;
  margin-top: 8px;
  color: #664433;
}
.gx2-search {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 82px 6px;
  width: min(500px, 100%);
  padding: 6px;
  background: rgba(255, 251, 241, 0.86);
  border: 1px solid #f5a67f;
  border-radius: 0.08rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 12px 24px rgba(71, 54, 35, 0.08);
}
.gx2-search input,
.gx2-search select,
.gx2-search button {
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
}
.gx2-search input {
  padding: 0 14px;
  color: #473623;
  background: transparent;
}
.gx2-search select {
  color: #664433;
  background: transparent;
}
.gx2-search button {
  color: #f5f5f5;
  background: linear-gradient(180deg, #2d6e60, #235f52);
  border-radius: 0.08rem;
  cursor: pointer;
  font-weight: 800;
}
.gx2-search-field {
  position: relative;
  display: flex;
  min-width: 0;
}
.gx2-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(255, 251, 241, 0.98);
  border: 1px solid #f5a67f;
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(71, 54, 35, 0.16);
  max-height: 320px;
  overflow-y: auto;
}
.gx2-suggest .gx2-suggest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: #2a2f35;
}
.gx2-suggest .gx2-suggest-item:hover {
  color: #a42a24;
  background: #f5a67f;
}
.gx2-suggest .gx2-suggest-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gx2-suggest .gx2-suggest-count {
  flex: 0 0 auto;
  color: #664433;
  font-size: 0.78rem;
  font-style: normal;
}
.gx2-nav-shell {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #a42a24, #7d211d);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 24px rgba(125, 33, 29, 0.14);
}
.gx2-nav {
  justify-content: center;
  overflow-x: auto;
  min-height: 54px;
  gap: 0;
}
.gx2-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  color: #fff3d6;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
  font-weight: 800;
}
.gx2-nav a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.gx2-nav a:hover,
.gx2-nav a.is-current {
  color: #ffffff;
  background: rgba(42, 47, 53, 0.28);
}
.gx2-hero {
  padding: 34px 0 26px;
}
.gx2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 24px;
  align-items: stretch;
}
.gx2-hero-card,
.gx2-panel,
.gx-panel,
.gx-breadcrumb,
.gx-channel-hero {
  background: rgba(255, 251, 241, 0.92);
  border: 1px solid #f5a67f;
  border-radius: 10px;
  box-shadow: 0 20px 42px rgba(71, 54, 35, 0.1);
}
.gx-breadcrumb h1 {
  margin: 0;
  color: var(--gray-900);
}
.gx2-hero-card {
  display: grid;
  align-content: center;
  min-height: 430px;
  padding: clamp(26px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}
.gx2-hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(180, 131, 53, 0.32);
  border-radius: 8px;
  pointer-events: none;
}
.gx2-eyebrow,
.gx-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a42a24;
  font-weight: 800;
}
.gx2-eyebrow::before,
.gx-section-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: #b48335;
}
.gx2-hero-card h2,
.gx-channel-hero h2,
.gx-article-header h1 {
  margin: 16px 0 14px;
  color: #2a2f35;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.12;
}
.gx2-hero-card p,
.gx-channel-hero p {
  margin: 0 0 24px;
  color: #634b2d;
  font-size: 1.08rem;
}
.gx2-hero-slide {
  display: none;
}
.gx2-hero-slide.is-active {
  display: block;
  animation: gx2HeroFade 0.45s ease;
}
.gx2-hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.gx2-hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: transparent;
  border: 1px solid #f5a67f;
  border-radius: 0.08rem;
  cursor: pointer;
}
.gx2-hero-dots button:hover {
  background: rgba(245, 166, 127, 0.45);
}
.gx2-hero-dots button.is-active {
  background: #a42a24;
  border-color: #a42a24;
}
@keyframes gx2HeroFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.gx-album-desc {
  margin: 0;
  padding: 18px 16px 64px;
  text-align: center;
  font-weight: 700;
  color: #f5f5f5;
}
.gx2-btn,
.gx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  color: #f5f5f5;
  background: linear-gradient(180deg, #a42a24, #7d211d);
  border: 1px solid #f5a67f;
  border-radius: 0.08rem;
  font-weight: 800;
}
.gx2-btn:hover,
.gx-btn:hover {
  color: #ffffff;
}
.gx2-hero-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #f5a67f;
  border-radius: 10px;
  background: #d8c098;
  box-shadow: 0 20px 42px rgba(71, 54, 35, 0.12);
}
.gx2-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(42, 47, 53, 0.76));
  pointer-events: none;
}
.gx2-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.gx2-hero-media span {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #f5f5f5;
  font-size: 1.1rem;
  font-weight: 800;
}
.gx2-divider {
  height: 68px;
  margin: 12px auto 0;
  border: 1px solid rgba(180, 131, 53, 0.4);
  border-radius: 10px;
}
.gx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  padding: 28px 0 42px;
}
.gx-main,
.gx-sidebar {
  display: grid;
  gap: 22px;
}
.gx-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}
.gx2-panel,
.gx-panel {
  padding: 22px;
}
.gx-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2c992;
}
.gx-panel-title span {
  color: #2a2f35;
  font-size: 1.15rem;
  font-weight: 900;
}
.gx-panel-title a {
  color: #a42a24;
  font-size: 0.92rem;
  font-weight: 800;
}
.gx-lead-list,
.gx-article-list {
  display: grid;
  gap: 18px;
}
.gx-lead-list article,
.gx-article-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid #f5a67f;
}
.gx-lead-list article:last-child,
.gx-article-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.gx-thumb {
  display: block;
  overflow: hidden;
  height: 132px;
  background: #d8c098;
  border: 1px solid #dec48b;
  border-radius: 8px;
}
.gx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gx-lead-list h3,
.gx-article-list h2,
.gx-library-grid h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.45;
}
.gx-lead-list p,
.gx-article-list p,
.gx-library-grid p {
  margin: 0 0 8px;
  color: #664433;
}
.gx-meta,
.gx-lead-list time {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #664433;
  font-size: 0.88rem;
}
.gx-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.gx-channel-grid section {
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent), #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 10px;
}
.gx-channel-grid h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}
.gx-channel-grid ul,
.gx-rank-list,
.gx-book-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.gx-channel-grid li,
.gx-book-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px dashed #f5a67f;
}
.gx-channel-grid time,
.gx-book-list small {
  flex: 0 0 auto;
  color: #664433;
}
.gx-album-desc {
  margin: 0;
  padding: 18px 16px 64px;
  text-align: center;
  font-weight: 700;
  color: #f5f5f5;
}
.gx-gallery-strip,
.gx-gallery-grid,
.gx-library-grid,
.gx-photo-wall {
  display: grid;
  gap: 16px;
}
.gx-gallery-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gx-gallery-strip a,
.gx-gallery-grid a,
.gx-mini-gallery a {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  color: #f5f5f5;
  background: #d8c098;
  border: 1px solid #f5a67f;
  border-radius: 10px;
  background-image: url("/static/common/images/litpic-069.webp");
}
.gx-gallery-strip a img,
.gx-gallery-grid a img,
.gx-mini-gallery a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gx-gallery-strip a span,
.gx-gallery-grid a span,
.gx-mini-gallery a span,
.gx-gallery-strip a strong,
.gx-gallery-grid a strong,
.gx-mini-gallery a strong {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  color: #f5f5f5;
  background: rgba(42, 47, 53, 0.74);
  border: 1px solid rgba(245, 166, 127, 0.48);
  border-radius: 6px;
  font-weight: 800;
}
.gx-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gx-gallery-grid a {
  aspect-ratio: 4/3;
}
.gx-gallery-grid a > span {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  padding: 4px 8px;
  color: #f5f5f5;
  background: rgba(164, 42, 36, 0.86);
  border-radius: 5px;
  font-size: 0.82rem;
}
.gx-mini-gallery {
  display: grid;
  gap: 12px;
}
.gx-mini-gallery a {
  min-height: 132px;
}
.gx-rank-list {
  counter-reset: rank;
}
.gx-rank-list li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #ddc38a;
}
.gx-rank-list li::before {
  content: counter(rank);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #f5f5f5;
  background: #2d6e60;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}
.gx-quote {
  color: #473623;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent), #efe0bf;
  border-color: #c99a48;
}
.gx-quote span {
  color: #a42a24;
  font-weight: 900;
}
.gx-quote p {
  margin: 8px 0 0;
}
.gx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gx-tags a,
.gx-tags li a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #664433;
  background: #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 0.08rem;
}
.gx-tags-large a {
  min-height: 36px;
  padding: 0 14px;
}
.gx-channel-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0 0;
  padding: 30px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent), url("/static/common/images/ornament-band.webp");
  background-position: center top, center bottom;
  background-size: auto, 100% auto;
  background-repeat: repeat, no-repeat;
}
.gx-channel-hero h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}
.gx-channel-links,
.gx-side-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gx-channel-links a,
.gx-side-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  background: #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 0.08rem;
}
.gx-channel-links .is-current,
.gx-side-nav .is-current {
  color: #f5f5f5;
  background: #a42a24;
  border-color: #a42a24;
}
.gx-breadcrumb {
  padding: 12px 16px;
  color: #664433;
}
.gx-pages {
  margin-top: 22px;
  color: #664433;
}
.gx-pages ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gx-pages li,
.gx-pages a,
.gx-pages span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  background: #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 0.08rem;
}
.gx-article {
  padding: clamp(22px, 4vw, 42px);
}
.gx-article .source {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding-top: 16px;
  overflow-wrap: break-word;
  word-break: break-all;
}
.gx-article .source a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #f5f5f5;
  background: #2d6e60;
  border-radius: 0.08rem;
  margin-top: 15px;
}
.gx-article-header {
  padding-bottom: 18px;
  border-bottom: 1px solid #e2c992;
}
.gx-article-header h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}
.gx-summary {
  margin: 22px 0;
  padding: 16px 18px;
  color: #473623;
  background: #efe0bf;
  border-left: 4px solid #b48335;
  border-radius: 8px;
}
.gx-content {
  margin-top: 24px;
  color: #2a2f35;
  font-size: 1.06rem;
}
.gx-content p {
  margin: 0 0 1.15em;
}
.gx-content img {
  margin: 18px auto;
  border: 1px solid #f5a67f;
  border-radius: 10px;
}
.gx-prev-next {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e2c992;
}
.gx-comments {
  margin-top: 24px;
}
.gx-comments .gx-panel-title em {
  font-style: normal;
  color: #a42a24;
  font-weight: 900;
}
.gx-comment-form {
  margin-bottom: 24px;
  padding: 18px;
  background: #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gx-comment-form:focus-within {
  border-color: #f5a67f;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.gx-comment-form-title {
  margin-bottom: 12px;
  color: #a42a24;
  font-weight: 900;
  font-size: 1.05rem;
}
.gx-comment-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.gx-comment-fields input {
  min-height: 40px;
  padding: 0 12px;
  color: #2a2f35;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #f5a67f;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.gx-comment-fields input:focus {
  border-color: #a42a24;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(164, 42, 36, 0.15);
}
.gx-comment-fields input::placeholder {
  color: #888888;
}
.gx-comment-form textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px 12px;
  color: #2a2f35;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #f5a67f;
  border-radius: 8px;
  outline: none;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.gx-comment-form textarea:focus {
  border-color: #a42a24;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(164, 42, 36, 0.15);
}
.gx-comment-form textarea::placeholder {
  color: #888888;
}
.gx-comment-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.gx-comment-form-actions .gx-comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  color: #f5f5f5;
  background: linear-gradient(180deg, #a42a24, #7d211d);
  border: 1px solid #f5a67f;
  border-radius: 0.08rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.gx-comment-form-actions .gx-comment-submit:hover {
  color: #ffffff;
  filter: brightness(1.05);
  box-shadow: 0 6px 14px rgba(125, 33, 29, 0.28);
  transform: translateY(-1px);
}
.gx-comment-form-actions .gx-comment-submit:active {
  transform: translateY(0);
}
.gx-comment-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #664433;
  background: #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 0.08rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gx-comment-cancel:hover {
  color: #a42a24;
  background: #f5f5f5;
  border-color: #f5a67f;
}
.gx-comment-list {
  display: grid;
  gap: 16px;
}
.gx-comment-empty {
  padding: 28px;
  text-align: center;
  color: #664433;
  background: #f5f5f5;
  border: 1px dashed #f5a67f;
  border-radius: 10px;
  font-style: italic;
}
.gx-comment-item {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #f5a67f;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gx-comment-item:hover {
  border-color: #f5a67f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.gx-comment-reply {
  margin-top: 12px;
  margin-left: 24px;
  background: #f5f5f5;
  border-left: 2px solid #f5a67f;
}
.gx-comment-item > .gx-comment-form {
  margin: 12px 0 4px;
}
.gx-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.gx-comment-author {
  color: #a42a24;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.15s ease;
}
.gx-comment-author:hover {
  text-decoration: underline;
}
.gx-comment-head time {
  color: #664433;
  font-size: 0.85rem;
}
.gx-comment-reply-to {
  padding: 1px 8px;
  color: #a42a24;
  background: #f5a67f;
  border-radius: 0.08rem;
  font-size: 0.78rem;
}
.gx-comment-body {
  color: #2a2f35;
  line-height: 1.75;
  word-break: break-word;
}
.gx-comment-actions {
  margin-top: 8px;
  display: flex;
  gap: 14px;
}
.gx-comment-actions a {
  color: #a42a24;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.15s ease;
}
.gx-comment-actions a:hover {
  text-decoration: underline;
}
.gx-comment-children {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.gx-comment-pager {
  margin-top: 20px;
}
.gx-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.gx-pager a {
  padding: 6px 16px;
  color: #a42a24;
  background: #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 0.08rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.gx-pager a:hover:not(.disabled) {
  color: #ffffff;
  background: #a42a24;
  border-color: #a42a24;
  transform: translateY(-1px);
}
.gx-pager a.disabled {
  color: #664433;
  background: #f5f5f5;
  border-color: #f5a67f;
  cursor: not-allowed;
}
.gx-pager .gx-pager-info {
  color: #664433;
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .gx-comment-fields {
    grid-template-columns: 1fr;
  }
  .gx-comment-fields input {
    min-height: 44px;
  }
  .gx-comment-form {
    padding: 14px;
  }
  .gx-comment-form-actions {
    flex-wrap: wrap;
  }
  .gx-comment-form-actions button {
    flex: 1 1 auto;
    min-height: 44px;
  }
  .gx-comment-form textarea {
    min-height: 96px;
  }
  .gx-comment-item {
    padding: 12px;
  }
  .gx-comment-reply {
    margin-left: 12px;
  }
  .gx-comment-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
  .gx-pager {
    gap: 8px;
  }
  .gx-pager a {
    padding: 8px 14px;
  }
}
[data-theme="dark"] .gx-comment-form {
  background: #1a1d23;
  border-color: rgba(207, 173, 107, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .gx-comment-form:focus-within {
  border-color: rgba(207, 173, 107, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .gx-comment-form-title,
[data-theme="dark"] .gx-panel-title em {
  color: #e76f6a;
}
[data-theme="dark"] .gx-comment-fields input,
[data-theme="dark"] .gx-comment-form textarea {
  color: #e5e7eb;
  background: #22262d;
  border-color: rgba(207, 173, 107, 0.25);
}
[data-theme="dark"] .gx-comment-fields input:focus,
[data-theme="dark"] .gx-comment-form textarea:focus {
  color: #f9fafb;
  background: #2a2f38;
  border-color: #e76f6a;
  box-shadow: 0 0 0 3px rgba(231, 111, 106, 0.2);
}
[data-theme="dark"] .gx-comment-fields input::placeholder,
[data-theme="dark"] .gx-comment-form textarea::placeholder {
  color: #6b7280;
}
[data-theme="dark"] .gx-comment-form-actions .gx-comment-submit {
  color: #fff3d6;
  background: linear-gradient(180deg, #c04842, #93332e);
  border-color: rgba(207, 173, 107, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .gx-comment-form-actions .gx-comment-submit:hover {
  background: linear-gradient(180deg, #d4554f, #a53b35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .gx-comment-cancel {
  color: #c9c4ba;
  background: #22262d;
  border-color: rgba(207, 173, 107, 0.3);
}
[data-theme="dark"] .gx-comment-cancel:hover {
  color: #f0c2bd;
  background: #2a2f38;
  border-color: rgba(231, 111, 106, 0.5);
}
[data-theme="dark"] .gx-comment-empty {
  color: #9ca3af;
  background: #1a1d23;
  border-color: rgba(207, 173, 107, 0.2);
}
[data-theme="dark"] .gx-comment-item {
  background: #1f2329;
  border-color: rgba(207, 173, 107, 0.18);
}
[data-theme="dark"] .gx-comment-item:hover {
  border-color: rgba(207, 173, 107, 0.35);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .gx-comment-reply {
  background: #161920;
  border-left-color: rgba(207, 173, 107, 0.4);
}
[data-theme="dark"] .gx-comment-author {
  color: #e76f6a;
}
[data-theme="dark"] .gx-comment-head time {
  color: #9ca3af;
}
[data-theme="dark"] .gx-comment-reply-to {
  color: #cfad6b;
  background: rgba(207, 173, 107, 0.15);
}
[data-theme="dark"] .gx-comment-body {
  color: #d1cdc4;
}
[data-theme="dark"] .gx-comment-actions a {
  color: #e76f6a;
}
[data-theme="dark"] .gx-comment-actions a:hover {
  color: #f0c2bd;
}
[data-theme="dark"] .gx-pager a {
  color: #e76f6a;
  background: #1a1d23;
  border-color: rgba(207, 173, 107, 0.3);
}
[data-theme="dark"] .gx-pager a:hover:not(.disabled) {
  color: #fff3d6;
  background: #c04842;
  border-color: rgba(207, 173, 107, 0.6);
}
[data-theme="dark"] .gx-pager a.disabled {
  color: #6b7280;
  background: #14161b;
  border-color: rgba(207, 173, 107, 0.15);
  cursor: not-allowed;
}
[data-theme="dark"] .gx-pager .gx-pager-info {
  color: #9ca3af;
}
::selection {
  color: #2a2f35;
  background: rgba(245, 166, 127, 0.55);
}
.gx-annot-selhl {
  position: absolute;
  z-index: 900;
  background: rgba(245, 166, 127, 0.55);
  border-radius: 2px;
  pointer-events: none;
}
.gx-annotation {
  padding: 0 1px;
  color: inherit;
  background: rgba(245, 166, 127, 0.35);
  border-bottom: 1px dashed #a42a24;
  border-radius: 2px;
  cursor: pointer;
  transition: box-shadow 0.15s;
}
.gx-annotation:hover {
  box-shadow: inset 0 0 0 1px #a42a24;
}
.gx-annot-popup {
  position: absolute;
  z-index: 1000;
  width: 260px;
  padding: 12px;
  background: #fffbf1;
  border: 1px solid #f5a67f;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(42, 47, 53, 0.18);
}
.gx-annot-popup .gx-annot-popup-title {
  margin-bottom: 8px;
  color: #2a2f35;
  font-weight: 600;
}
.gx-annot-popup .gx-annot-name,
.gx-annot-popup .gx-annot-text {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 8px;
  padding: 6px 8px;
  color: #2a2f35 !important;
  background: #f5f5f5 !important;
  border: 1px solid #f5a67f;
  border-radius: 6px;
  font: inherit;
}
.gx-annot-popup .gx-annot-text {
  height: 64px;
  resize: vertical;
}
.gx-annot-popup .gx-annot-popup-actions {
  display: flex;
  gap: 8px;
}
.gx-annot-popup .gx-annot-popup-actions button {
  flex: 1;
  min-height: 32px;
  border: none;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}
.gx-annot-popup .gx-annot-popup-actions .gx-annot-submit {
  color: #f5f5f5;
  background: #a42a24;
}
.gx-annot-popup .gx-annot-popup-actions .gx-annot-submit:hover {
  background: #7d211d;
}
.gx-annot-popup .gx-annot-popup-actions .gx-annot-cancel {
  color: #2a2f35;
  background: #f5f5f5;
}
.gx-annot-popup .gx-annot-popup-actions .gx-annot-cancel:hover {
  background: #e6d8bd;
}
.gx-annot-tip {
  position: absolute;
  z-index: 1000;
  max-width: 320px;
  max-height: 320px;
  padding: 10px 12px;
  overflow-y: auto;
  color: #2a2f35;
  background: #fffbf1;
  border: 1px solid #f5a67f;
  border-left: 3px solid #a42a24;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(42, 47, 53, 0.18);
  font-size: 0.95rem;
  line-height: 1.6;
}
.gx-annot-tip .gx-annot-tip-title {
  margin-bottom: 6px;
  padding-bottom: 6px;
  color: #a42a24;
  border-bottom: 1px dashed #e2c992;
  font-size: 0.85rem;
}
.gx-annot-tip .gx-annot-tip-item + .gx-annot-tip-item {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e2c992;
}
.gx-annot-tip .gx-annot-tip-meta {
  margin-top: 4px;
  color: #888888;
  font-size: 0.8rem;
}
.gx-annot-tip .gx-annot-tip-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.gx-annot-tip .gx-annot-tip-foot .gx-annot-tip-meta {
  margin-top: 0;
}
.gx-annot-tip .gx-annot-report {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  color: #a42a24;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.4;
  cursor: pointer;
}
.gx-annot-tip .gx-annot-report svg {
  vertical-align: -1px;
}
.gx-annot-tip .gx-annot-report:hover {
  color: #f5f5f5;
  background: #a42a24;
}
.gx-annot-tip .gx-annot-report.is-reported {
  color: var(--text-muted);
  cursor: default;
}
.gx-annot-tip .gx-annot-report.is-reported:hover {
  color: var(--text-muted);
  background: transparent;
}
@media (max-width: 640px) {
  .gx-annot-popup {
    width: auto;
    max-width: calc(100vw - 24px);
    padding: 10px;
  }
  .gx-annot-popup .gx-annot-popup-actions button {
    min-height: 40px;
  }
  .gx-annot-tip {
    max-width: calc(100vw - 24px);
    max-height: 60vh;
  }
}
.gx-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.gx-action-row a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #f5f5f5;
  background: #2d6e60;
  border-radius: 0.08rem;
}
.gx-float-actions {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.gx-float-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #f5f5f5;
  background: #a42a24;
  border: 0;
  border-radius: 0.08rem;
  box-shadow: 0 10px 24px rgba(42, 47, 53, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}
.gx-float-btn:hover {
  background: #a42a24;
}
.gx-float-actions.is-visible .gx-float-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.gx-comment-jump {
  background: #2d6e60;
}
.gx-comment-jump:hover {
  background: #235f52;
}
.gx-qrcode,
.gx-sidebar > ins {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 36px auto 0;
}
.gx-sidebar > .gx-qrcode,
.gx-sidebar > ins {
  margin-top: 20px;
}
.gx-qrcode > ins,
.gx-sidebar > ins > ins {
  display: block !important;
  width: 260px !important;
  max-width: 100%;
  margin: 0 auto !important;
}
.gx-qrcode iframe,
.gx-sidebar > ins iframe {
  display: block;
  width: 260px;
  max-width: 100%;
  height: 280px;
  margin: 0 auto;
  background: transparent;
}
.gx-photo-wall {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}
.gx-photo-wall figure {
  margin: 0;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 10px;
}
.gx-photo-wall img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gx-photo-wall figcaption {
  padding: 10px 12px;
  color: #473623;
}
.gx-library-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gx-library-grid article {
  padding: 14px;
  background: #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 10px;
}
.gx-library-grid .gx-thumb {
  height: 170px;
  margin-bottom: 12px;
}
.gx-book-profile {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  margin-top: 24px;
  padding: 18px;
  background: #f5f5f5;
  border: 1px solid #f5a67f;
  border-radius: 10px;
}
.gx-book-profile img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}
.gx-book-profile dl {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
  align-content: start;
}
.gx-book-profile dt {
  color: #a42a24;
  font-weight: 900;
}
.gx-book-profile dd {
  margin: 0;
}
.gx2-footer {
  color: #f1dfb9;
  background: #1e241f;
  border-top: 1px solid rgba(216, 179, 94, 0.35);
}
.gx2-footer-ornament {
  height: 74px;
  opacity: 0.9;
}
.gx2-footer-grid {
  align-items: flex-start;
  padding: 32px 0;
}
.gx2-footer-grid > div {
  flex: 1 1 0;
}
.gx2-footer strong {
  color: #fff2ce;
}
.gx2-footer p {
  margin: 8px 0 0;
  color: #d5c295;
}
.gx2-footer a {
  color: #f3cf76;
}
.gx2-powered {
  flex-wrap: wrap;
  padding: 16px 0 22px;
  color: #bda878;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}
.gx2-powered-main,
.gx2-powered-meta {
  min-width: 0;
}
@media (max-width: 980px) {
  .gx2-header-main,
  .gx2-topbar-inner,
  .gx-channel-hero,
  .gx2-footer-grid {
    align-items: stretch;
    flex-direction: column;
  }
  .gx2-search {
    width: 100%;
  }
  .gx2-hero-grid,
  .gx-layout {
    grid-template-columns: 1fr;
  }
  .gx-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gx-gallery-grid,
  .gx-gallery-strip,
  .gx-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .gx2-wrap,
  .gx-wrap {
    width: min(100%, 1200px);
  }
  .gx2-topbar-inner {
    gap: 8px;
  }
  .gx2-utility {
    gap: 10px;
  }
  .gx2-ornament {
    height: 34px;
    background-size: cover;
    background-position: center;
    opacity: 0.92;
  }
  .gx2-header-main {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px 14px;
    min-height: 0;
    padding: 14px 0;
  }
  .gx2-header::before,
  .gx2-header::after {
    display: none;
  }
  .gx2-logo {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(71, 54, 35, 0.14);
  }
  .gx2-title {
    align-self: center;
  }
  .gx2-title h1 {
    font-size: 1.42rem;
  }
  .gx2-title p {
    font-size: 0.68rem;
    margin-bottom: 2px;
  }
  .gx2-title span {
    margin-top: 4px;
    font-size: 0.9rem;
  }
  .gx2-search {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    border-radius: 12px;
  }
  .gx2-search input,
  .gx2-search select,
  .gx2-search button {
    width: 100%;
  }
  .gx2-nav-shell {
    padding: 8px 0 10px;
    background: #efe0bf;
  }
  .gx2-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    min-height: 0;
    gap: 8px;
  }
  .gx2-nav a,
  .gx2-nav a:first-child {
    min-height: 38px;
    min-width: 0;
    padding: 0 8px;
    color: #a42a24;
    background: rgba(255, 251, 241, 0.9);
    border: 1px solid #f5a67f;
    border-radius: 0.08rem;
    font-size: 0.92rem;
  }
  .gx2-nav a:hover,
  .gx2-nav a:first-child:hover,
  .gx2-nav a.is-current,
  .gx2-nav a:first-child.is-current {
    color: #f5f5f5;
    background: #a42a24;
    border-color: #a42a24;
  }
  .gx2-hero {
    padding-top: 18px;
  }
  .gx2-hero-card {
    min-height: 0;
    padding: 24px;
  }
  .gx2-hero-card h2,
  .gx-channel-hero h2,
  .gx-article-header h1 {
    font-size: 2rem;
  }
  .gx2-hero-media,
  .gx2-hero-media img {
    min-height: 250px;
  }
  .gx2-divider {
    display: none;
  }
  .gx2-panel,
  .gx-panel,
  .gx-channel-hero {
    padding: 16px;
  }
  .gx-lead-list article,
  .gx-article-list article,
  .gx-book-profile {
    grid-template-columns: 1fr;
  }
  .gx-thumb {
    height: 190px;
  }
  .gx-channel-grid,
  .gx-sidebar,
  .gx-gallery-grid,
  .gx-gallery-strip,
  .gx-library-grid,
  .gx-photo-wall {
    grid-template-columns: 1fr;
  }
  .gx-gallery-strip a,
  .gx-gallery-grid a {
    min-height: 220px;
  }
  .gx2-footer-ornament {
    height: 32px;
    background-size: cover;
    background-position: center;
  }
  .gx2-hero-card,
  .gx2-panel,
  .gx-panel,
  .gx-breadcrumb,
  .gx-channel-hero {
    border: 0px;
    border-radius: 0px;
    box-shadow: none;
  }
}
/* ---------- 标签云 / 文章标签 ---------- */
.gx-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 6px 4px 2px;
}
.gx-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  color: #2a2f35;
  background: rgba(255, 251, 241, 0.86);
  border: 1px solid #f5a67f;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}
.gx-tag-item:hover {
  color: #fff3d6;
  background: #a42a24;
  border-color: #a42a24;
  box-shadow: 0 6px 14px rgba(125, 33, 29, 0.22);
}
.gx-tag-count {
  min-width: 22px;
  padding: 0 7px;
  color: #664433;
  background: #f4ead7;
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 20px;
  text-align: center;
}
.gx-tag-item:hover .gx-tag-count {
  color: #fff3d6;
  background: rgba(255, 255, 255, 0.18);
}
.gx-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 16px;
  background: rgba(244, 234, 215, 0.55);
  border: 1px dashed #f5a67f;
  border-radius: 8px;
}
.gx-tags-label {
  color: #664433;
  font-size: 0.9rem;
}
.gx-tag-link {
  display: inline-block;
  padding: 3px 12px;
  color: #2d6e60;
  background: #fffbf1;
  border: 1px solid #f5a67f;
  border-radius: 999px;
  font-size: 0.85rem;
}
.gx-tag-link:hover {
  color: #fff3d6;
  background: #2d6e60;
  border-color: #2d6e60;
}
@media (max-width: 640px) {
  body {
    line-height: 1.85;
  }
  .gx-content {
    font-size: 1.02rem;
    line-height: 1.9;
  }
  .gx-content img {
    margin: 14px auto;
    border-radius: 8px;
  }
  .gx-article {
    padding: 16px 14px;
  }
  .gx-article-header h1 {
    font-size: 1.7rem;
    line-height: 1.35;
  }
  .gx-summary {
    margin: 18px 0;
    padding: 14px;
  }
  .gx-meta,
  .gx-lead-list time {
    gap: 8px;
    font-size: 0.82rem;
  }
  .gx2-search input,
  .gx2-search select,
  .gx2-search button {
    height: 44px;
  }
  .gx2-nav a,
  .gx2-nav a:first-child {
    min-height: 44px;
  }
  .gx-action-row a,
  .gx-pager a {
    min-height: 44px;
  }
  .gx-tag-item {
    min-height: 44px;
    padding: 9px 16px;
  }
  .gx-tag-link {
    min-height: 34px;
    padding: 5px 14px;
  }
  .gx-float-actions {
    right: 14px;
    bottom: 18px;
    gap: 10px;
  }
  .gx-float-btn {
    width: 42px;
    height: 42px;
  }
}
