:root {
  --bg: #f3ede2;
  --panel: rgba(255, 251, 244, 0.82);
  --text: #201917;
  --muted: #625348;
  --line: rgba(73, 57, 41, 0.12);
  --shadow: 0 22px 55px rgba(55, 41, 28, 0.12);
  --shadow-soft: 0 18px 40px rgba(44, 33, 24, 0.08);
  --accent: #48654c;
  --accent-soft: rgba(72, 101, 76, 0.14);
  --surface-gradient: linear-gradient(140deg, rgba(255, 249, 241, 0.94), rgba(244, 236, 223, 0.82));
  --hero-glow: radial-gradient(circle at top right, rgba(100, 141, 109, 0.2), transparent 45%);
  --hero-burst: radial-gradient(circle at 75% 22%, rgba(72, 101, 76, 0.22), transparent 20%);
  --paper-grain: repeating-linear-gradient(
    115deg,
    rgba(75, 54, 37, 0.012) 0,
    rgba(75, 54, 37, 0.012) 1px,
    transparent 1px,
    transparent 14px
  );
}

body[data-mood="yangguan"] {
  --accent: #93512e;
  --accent-soft: rgba(147, 81, 46, 0.14);
  --hero-glow: radial-gradient(circle at top right, rgba(210, 145, 88, 0.24), transparent 45%);
  --hero-burst: radial-gradient(circle at 75% 22%, rgba(208, 147, 90, 0.28), transparent 20%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 38%),
    linear-gradient(180deg, #f6efe3 0%, #efe5d4 48%, #efe8db 100%);
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "Songti SC", serif;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

button,
audio,
a {
  -webkit-tap-highlight-color: transparent;
}

.background-wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    var(--hero-glow),
    var(--hero-burst),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.45), transparent 28%),
    var(--paper-grain);
  opacity: 0.98;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1.2rem, 3vw, 2.6rem);
  background: rgba(243, 237, 226, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.section-shell {
  margin-top: 1.8rem;
}

.panel {
  background: var(--surface-gradient);
  border: 1px solid rgba(76, 56, 37, 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  align-items: stretch;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 45%),
    radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.48), transparent 24%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0.35rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2,
.feature-card h3,
.work-card h3,
.scholar-card h3,
.audio-card h3,
.media-card h3,
.reading-card h3,
.knowledge-card h3,
.atlas-panel h3 {
  margin: 0;
  line-height: 1.16;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  max-width: 8ch;
}

.hero-summary {
  max-width: 60ch;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions,
.mood-switch {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.button,
.mood-button,
.knowledge-card,
.atlas-timeline-button {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button,
.mood-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

.button {
  padding: 0.82rem 1.2rem;
  background: var(--accent);
  color: #fffdf9;
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(70, 56, 40, 0.18);
}

.button:hover,
.mood-button:hover,
.knowledge-card:hover,
.atlas-timeline-button:hover,
.button:focus-visible,
.mood-button:focus-visible,
.knowledge-card:focus-visible,
.atlas-timeline-button:focus-visible {
  transform: translateY(-2px);
}

.mood-switch span {
  color: var(--muted);
  font-size: 0.92rem;
}

.mood-button {
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  border-color: rgba(70, 56, 40, 0.12);
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

.mood-button.is-active {
  background: var(--accent-soft);
  border-color: rgba(70, 56, 40, 0.18);
}

.hero-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.ribbon-card {
  padding: 1rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(248, 240, 229, 0.78)),
    var(--paper-grain);
  border: 1px solid rgba(76, 56, 37, 0.08);
  box-shadow: var(--shadow-soft);
}

.ribbon-card span,
.knowledge-index,
.atlas-badge,
.atlas-label,
.overlay-label,
.tag,
.work-type,
.metric,
.timeline span,
.hero-line-note {
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

.ribbon-card span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.ribbon-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-stage {
  position: relative;
  min-height: 100%;
  display: grid;
  align-items: stretch;
  z-index: 1;
}

.hero-stage::before {
  content: attr(data-character);
  position: absolute;
  top: -1.4rem;
  right: 0.4rem;
  font-size: clamp(8rem, 24vw, 15rem);
  line-height: 1;
  color: rgba(255, 250, 242, 0.55);
  z-index: 0;
  pointer-events: none;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 6% 4% 2% auto;
  width: 56%;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.hero-figure {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 26px;
  overflow: hidden;
  background: #dfd4c0;
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(25, 18, 15, 0.58));
}

.hero-figure img {
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.hero-figure figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #f6efe6;
  font-size: 0.9rem;
}

.hero-overlay-card {
  position: absolute;
  z-index: 2;
  max-width: 320px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 249, 241, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 56, 37, 0.1);
  box-shadow: 0 18px 35px rgba(46, 35, 24, 0.14);
}

.hero-overlay-card-quote {
  left: -1rem;
  bottom: 2.2rem;
}

.hero-overlay-card-note {
  right: -0.6rem;
  top: 1.4rem;
}

.overlay-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-line {
  margin: 0.45rem 0 0;
  font-size: 1.36rem;
  line-height: 1.45;
}

.hero-line-note,
.hero-focus-copy {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 0.2rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 15ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-background,
.grid-scholars,
.grid-media {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.feature-card,
.work-card,
.scholar-card,
.scholar-summary,
.media-card,
.audio-card,
.reading-card,
.sources-card,
.atlas-panel {
  padding: 1.4rem;
}

.feature-card:first-child {
  grid-column: span 7;
}

.feature-card:nth-child(2) {
  grid-column: span 5;
}

.metric-card {
  grid-column: span 4;
  padding: 1.2rem 1.25rem;
}

.metric {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.64rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.92rem;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 6.8rem 1fr;
  gap: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.timeline span {
  color: var(--accent);
  font-weight: 700;
}

.quote-block {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.42);
}

.atlas-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: start;
}

.knowledge-deck {
  display: grid;
  gap: 0.85rem;
}

.knowledge-card {
  width: 100%;
  padding: 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(76, 56, 37, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(247, 239, 227, 0.82)),
    var(--paper-grain);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.knowledge-card.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(236, 228, 214, 0.92)),
    var(--paper-grain);
  border-color: rgba(76, 56, 37, 0.18);
  box-shadow: 0 20px 38px rgba(46, 35, 24, 0.14);
}

.knowledge-index {
  display: inline-flex;
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
}

.knowledge-card h3 {
  margin-top: 0.7rem;
  font-size: 1.26rem;
}

.knowledge-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.atlas-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.atlas-badge {
  margin: 0;
  display: inline-flex;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.atlas-stamp {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.atlas-panel h3 {
  margin-top: 0.7rem;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}

.atlas-summary {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.atlas-columns {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.atlas-label {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atlas-tags,
.atlas-points {
  margin: 0;
  padding-left: 1.15rem;
}

.atlas-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding-left: 0;
}

.atlas-tags li {
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(76, 56, 37, 0.1);
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.9rem;
}

.atlas-quote-card {
  margin-top: 0.35rem;
  padding: 1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(244, 236, 224, 0.7)),
    var(--paper-grain);
  border: 1px solid rgba(73, 57, 41, 0.08);
}

.atlas-poem-title {
  margin: 0;
  color: var(--muted);
}

.atlas-poem-line {
  margin: 0.5rem 0 0;
  font-size: 1.14rem;
  line-height: 1.6;
}

.atlas-points li + li {
  margin-top: 0.7rem;
}

.atlas-timeline-wrap {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.atlas-timeline {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.atlas-timeline-button {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(76, 56, 37, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  text-align: left;
  cursor: pointer;
}

.atlas-timeline-button.is-active {
  border-color: rgba(76, 56, 37, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.atlas-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(76, 56, 37, 0.22);
  margin-top: 0.4rem;
}

.atlas-timeline-button.is-active .atlas-dot {
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.atlas-timeline-body {
  display: grid;
  gap: 0.22rem;
}

.atlas-timeline-body strong {
  font-size: 1rem;
}

.atlas-timeline-body span {
  color: var(--muted);
}

.works-layout {
  display: grid;
  gap: 1rem;
}

.work-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.work-type {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.tag {
  display: inline-flex;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.work-body {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 1.35rem;
  padding-top: 1.2rem;
}

.poem-block {
  padding: 1.2rem 1rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(244, 236, 224, 0.7)),
    var(--paper-grain);
  border: 1px solid rgba(73, 57, 41, 0.08);
}

.poem-block p {
  margin: 0.3rem 0;
  font-size: 1.12rem;
  text-align: center;
}

.analysis-block h4 {
  margin: 0 0 0.7rem;
  font-size: 1.14rem;
}

.analysis-block p {
  margin: 0.9rem 0 0;
}

.scholar-card {
  grid-column: span 4;
}

.scholar-summary {
  grid-column: span 12;
  background: linear-gradient(135deg, rgba(70, 101, 77, 0.15), rgba(255, 250, 244, 0.78));
}

.source-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.media-card {
  grid-column: span 5;
}

.audio-card {
  grid-column: span 4;
}

.reading-card {
  grid-column: span 3;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.media-gallery figure {
  margin: 0;
}

.media-gallery img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.media-gallery figcaption,
.media-note,
.audio-status,
.site-footer,
.sources-list {
  color: var(--muted);
}

.audio-card audio {
  width: 100%;
  margin-top: 0.8rem;
}

.reading-flow {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.reading-flow li + li {
  margin-top: 0.7rem;
}

.sources-list {
  margin: 0;
  padding-left: 1.15rem;
}

.sources-list li + li {
  margin-top: 0.55rem;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding-top: 0.5rem;
  font-size: 0.95rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero,
  .atlas-layout,
  .grid-background,
  .grid-scholars,
  .grid-media,
  .atlas-columns {
    grid-template-columns: 1fr;
  }

  .feature-card:first-child,
  .feature-card:nth-child(2),
  .metric-card,
  .scholar-card,
  .scholar-summary,
  .media-card,
  .audio-card,
  .reading-card {
    grid-column: auto;
  }

  .hero h1,
  .section-heading h2 {
    max-width: none;
  }

  .hero-stage {
    min-height: 620px;
  }
}

@media (max-width: 860px) {
  .hero-ribbon {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 540px;
  }

  .hero-overlay-card-quote {
    left: 0.75rem;
    bottom: 1rem;
  }

  .hero-overlay-card-note {
    right: 0.75rem;
    top: 1rem;
  }

  .work-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: start;
    flex-direction: column;
  }

  main {
    width: min(100% - 1rem, 1180px);
    padding-top: 1.2rem;
  }

  .hero,
  .feature-card,
  .work-card,
  .scholar-card,
  .scholar-summary,
  .media-card,
  .audio-card,
  .reading-card,
  .sources-card,
  .atlas-panel,
  .knowledge-card {
    border-radius: 22px;
  }

  .hero {
    padding: 1rem;
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero-stage::before {
    top: -0.6rem;
    font-size: clamp(6rem, 26vw, 8rem);
  }

  .hero-figure img {
    min-height: 500px;
  }

  .hero-overlay-card {
    max-width: calc(100% - 1.5rem);
    padding: 0.9rem 1rem;
  }

  .hero-overlay-card-note {
    top: auto;
    bottom: 7.8rem;
  }

  .work-head,
  .section-heading,
  .atlas-topline {
    flex-direction: column;
    align-items: start;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }

  .poem-block p {
    font-size: 1.04rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  .button,
  .mood-button,
  .knowledge-card,
  .atlas-timeline-button {
    transition: none;
  }
}

.jx-global-header,
.jx-global-header *,
.jx-global-footer,
.jx-global-footer * {
  box-sizing: border-box;
}

.jx-global-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid rgba(29, 26, 22, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.jx-header-inner {
  width: 100%;
  max-width: none;
  min-height: 84px;
  margin: 0;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.jx-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1d1a16;
  text-decoration: none;
}

.jx-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}

.jx-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(29, 26, 22, 0.16);
  object-fit: cover;
}

.jx-brand-name {
  color: #1d1a16;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.jx-site-url {
  color: #3f372f;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.jx-brand:hover .jx-site-url {
  color: #1d1a16;
}

.jx-global-footer {
  border-top: 1px solid rgba(29, 26, 22, 0.1);
  background: #ffffff;
  color: #5a5048;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.jx-footer-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.jx-beian-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}

.jx-beian-separator {
  color: inherit;
  opacity: 0.7;
}

.jx-global-footer a {
  color: inherit;
  text-decoration: none;
}

.jx-global-footer a:hover {
  color: #1d1a16;
}

.jx-police-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jx-beian-icon {
  width: 18px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .jx-header-inner {
    min-height: 58px;
    padding: 7px 12px;
  }

  .jx-avatar {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .jx-brand {
    gap: 9px;
  }

  .jx-brand-name {
    font-size: 21px;
  }

  .jx-site-url {
    font-size: 13px;
  }

  .jx-global-footer {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .jx-footer-inner {
    padding: 6px 10px;
    gap: 2px;
  }

  .jx-beian-row {
    flex-direction: column;
    gap: 2px;
  }

  .jx-beian-separator {
    display: none;
  }

  .jx-police-link {
    gap: 4px;
  }

  .jx-beian-icon {
    width: 14px;
    height: 16px;
  }
}
