/* 成都市硬笔书法家协会 · 官网（皮肤变量见 skins/*.css） */
:root {
  --ink: #1a120e;
  --ink-soft: #3d2c22;
  --ink-faint: #6b5648;
  --paper: #f3ebe0;
  --paper-2: #fffcf6;
  --paper-deep: #e8dcc8;
  --cinnabar: #a11c1c;
  --cinnabar-deep: #6f1010;
  --gold: #b0893e;
  --gold-soft: #d4b56a;
  --line: #d9c9ad;
  --line-strong: #c4ad88;
  --muted: #8a7664;
  --shadow: 0 12px 36px rgba(40, 24, 16, .09);
  --radius: 0;
  --max: 1180px;
  --font-ui: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-ui);
  --font-title: var(--font-ui);
  --font-body: var(--font-ui);
  /* 皮肤可覆盖的背景层 */
  --bg-glow: rgba(176,137,62,.14);
  --bg-top: #faf4ea;
  --bg-mid: var(--paper);
  --bg-bottom: #ebe1d0;
  --header-bg: linear-gradient(180deg, #1a100c 0%, #2a1810 55%, #23140e 100%);
  --footer-bg: linear-gradient(180deg, #241610, #140e0a);
  --header-border: var(--cinnabar);
  --accent-bar: var(--cinnabar);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.8;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -8%, var(--bg-glow), transparent 58%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 40%, var(--bg-bottom) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

a { color: var(--cinnabar); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--cinnabar-deep); }
img { max-width: 100%; display: block; }

/* —— 装裱框通用 —— */
.mount {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.mount::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(176,137,62,.35);
  pointer-events: none;
  z-index: 0;
}

/* —— Header：墨底朱栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), transparent 40%),
    var(--header-bg);
  color: #f5e6d3;
  border-bottom: 4px solid var(--header-border);
  box-shadow: 0 6px 28px rgba(0,0,0,.28);
}
.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  opacity: .55;
}
.header-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(245,230,211,.62);
  letter-spacing: .12em;
}
.header-top a { color: var(--gold-soft); margin-left: 14px; }
.header-top a:hover { color: #fff; }

.brand-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
}
.brand-bar::before,
.brand-bar::after {
  content: none;
}
/* 装饰花：夹在 ICON+标题 左右两侧 */
.brand-main::before,
.brand-main::after {
  content: "❖";
  color: rgba(212,181,106,.45);
  font-size: 14px;
  letter-spacing: 0;
  flex: 0 0 auto;
  line-height: 1;
}
/* 网站标志（方/竖构图） */
.brand-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
/* 兼容旧类名 */
.brand-logo {
  width: 56px; height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}
/* 标题图：深色底自适应反色（由 brand-title-adapt.js 切换） */
img.brand-title-img,
img.iw-brand-title,
img.sr-brand-title,
img.sg-brand-title {
  transition: filter .25s ease;
}
img.brand-title-on-dark {
  filter: invert(1) brightness(1.08) contrast(1.05) !important;
}

/* 书法标题横幅 + 站点名文字保底（图叠字上，失败露字） */
.brand-title-stack,
.sr-brand-title-stack,
.sg-brand-title-stack,
.iw-brand-title-stack {
  position: relative;
  display: inline-grid;
  place-items: center;
  max-width: min(780px, calc(94vw - 110px));
  vertical-align: middle;
}
.brand-title-stack > .brand-fallback,
.brand-title-stack > .brand-title-img,
.sr-brand-title-stack > .brand-fallback,
.sr-brand-title-stack > .sr-brand-title,
.sg-brand-title-stack > .brand-fallback,
.sg-brand-title-stack > .sg-brand-title,
.iw-brand-title-stack > .brand-fallback,
.iw-brand-title-stack > .iw-brand-title {
  grid-area: 1 / 1;
}
.brand-title-stack .brand-fallback,
.sr-brand-title-stack .brand-fallback,
.sg-brand-title-stack .brand-fallback,
.iw-brand-title-stack .brand-fallback {
  z-index: 0;
  text-align: center;
  line-height: 1.25;
  font-family: var(--font-display, serif);
  font-size: clamp(22px, 3.2vw, 36px);
  letter-spacing: .18em;
  font-weight: 400;
  color: #faf0e0;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  padding: 0 .2em;
  max-width: 100%;
  word-break: keep-all;
}
.brand-title-img {
  display: none;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(780px, calc(94vw - 110px));
  max-height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.28));
}
/* 图片加载成功后隐藏底层文字，避免透明图透出；失败则露字 */
.brand-title-stack.is-ready:not(.is-broken) .brand-fallback,
.sr-brand-title-stack.is-ready:not(.is-broken) .brand-fallback,
.sg-brand-title-stack.is-ready:not(.is-broken) .brand-fallback,
.iw-brand-title-stack.is-ready:not(.is-broken) .brand-fallback {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}
.brand-title-stack.is-broken > img,
.sr-brand-title-stack.is-broken > img,
.sg-brand-title-stack.is-broken > img,
.iw-brand-title-stack.is-broken > img {
  display: none !important;
}
/* 标志在左、标题图在右；副标题在下一行 */
.brand-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}
.brand-bar.is-logo-banner {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 14px;
}
.brand-bar.is-logo-banner .brand-title-img {
  display: block;
}
.brand-bar.is-logo-banner .brand-icon {
  width: 76px;
  height: 76px;
}
.brand-bar.is-logo-banner .brand { display: none; }
.brand-bar.is-logo-banner .brand-text {
  width: 100%;
  margin-top: 0;
}
.brand-bar.is-logo-banner .brand-text .sub {
  margin-top: 0;
}
.brand-bar:not(.is-logo-banner) .brand-main {
  gap: 14px;
}
.brand-bar:not(.is-logo-banner) .brand-title-img { display: none; }
.brand-bar.is-text-only .brand-icon,
.brand-bar.is-text-only .brand-logo,
.brand-bar.is-text-only .brand-title-img { display: none; }
.brand-text { text-align: center; }
.brand-bar .brand {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: .22em;
  font-weight: 400;
  color: #faf0e0;
  text-indent: .22em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  line-height: 1.25;
}
.brand-bar .sub {
  margin-top: 6px;
  font-size: 20px;
  color: var(--gold-soft);
  letter-spacing: .32em;
  text-indent: .32em;
  font-family: var(--font-body);
}

.nav-bar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 2px;
  padding: 4px 12px 16px;
}
.nav-bar a {
  color: rgba(240,226,207,.9);
  font-size: 14px;
  padding: 9px 15px;
  letter-spacing: .12em;
  position: relative;
  font-family: var(--font-title);
}
.nav-bar a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s, left .25s;
}
.nav-bar a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-bar a:hover::after { width: 42%; left: 29%; }
.nav-bar a.on {
  color: #fff;
  background: var(--cinnabar);
  box-shadow: inset 0 0 0 1px rgba(212,181,106,.35);
}
.nav-bar a.on::after {
  width: 50%;
  left: 25%;
  background: var(--gold-soft);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 18px 72px;
  position: relative;
}

/* —— Hero：全幅墨卷 —— */
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  outline: 4px solid rgba(176,137,62,.18);
  outline-offset: 3px;
  background: var(--hero-bg, #140e0a);
  box-shadow: var(--shadow);
  min-height: 400px;
}
.hero-slide {
  display: none;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  animation: heroIn .75s ease;
}
.hero-slide.active { display: block; }
.hero-slide.is-link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.hero-slide.is-link:hover .caption { color: #faf0e0; }
@keyframes heroIn {
  from { opacity: .35; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
.hero-slide .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 56px 36px 30px;
  background: linear-gradient(transparent, rgba(12,8,5,.88));
  color: #fff;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: .22em;
  font-family: var(--font-display);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-dots {
  position: absolute;
  right: 20px; bottom: 18px;
  z-index: 2;
}
.hero-dots span {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  margin: 0 4px;
  cursor: pointer;
  transition: background .2s, transform .2s;
  box-shadow: 0 0 0 1px rgba(176,137,62,.3);
}
.hero-dots span.on { background: var(--gold-soft); transform: scale(1.2); }

/* —— 要闻条 —— */
.scroll-news {
  margin: 22px 0 0;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(40,24,16,.05);
}
.scroll-news .label {
  flex: 0 0 auto;
  background:
    linear-gradient(180deg, var(--cinnabar) 0%, var(--cinnabar-deep) 100%);
  color: #fff;
  padding: 0 20px;
  letter-spacing: .35em;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  text-indent: .35em;
  position: relative;
}
.scroll-news .label::after {
  content: "";
  position: absolute;
  right: -1px; top: 18%; bottom: 18%;
  width: 1px;
  background: var(--gold-soft);
  opacity: .6;
}
.scroll-list {
  flex: 1;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.scroll-list-inner {
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform .45s ease;
}
.scroll-list-inner li {
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
  border-bottom: 1px dashed #ebe0d0;
  box-sizing: border-box;
}
.scroll-list-inner li:last-child { border-bottom: none; }
.scroll-list-inner a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  height: 100%;
}
.scroll-list-inner a:hover .t { color: var(--cinnabar); }
.scroll-list-inner .t {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.scroll-list-inner .d {
  flex: 0 0 auto;
  color: #a09080;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.scroll-more {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--cinnabar);
  font-size: 13px;
  text-decoration: none;
  border-left: 1px solid var(--line);
  letter-spacing: .12em;
  background: #faf6ee;
  font-family: var(--font-title);
}
.scroll-more:hover { background: #f3ebe0; color: var(--cinnabar-deep); }
.scroll-track { display: none; }

/* —— 区块标题 —— */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 44px 0 20px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  position: relative;
}
.section-head::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 72px;
  height: 3px;
  background: var(--accent-bar);
}
.section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  font-size: 26px;
  letter-spacing: .2em;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
}
.section-title small {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
  font-family: var(--font-body);
  opacity: .75;
}
.section-more {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .12em;
  white-space: nowrap;
  font-family: var(--font-title);
}
.section-more:hover { color: var(--cinnabar); }

.section-title.legacy,
div.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0 16px;
  font-size: 22px;
  letter-spacing: .2em;
  font-family: var(--font-display);
}
div.section-title::before,
div.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
div.section-title span {
  border-bottom: 2px solid var(--cinnabar);
  padding-bottom: 4px;
}

/* —— 首页双栏 / 卡片 —— */
.home-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-top: 8px;
}
.news-cards { display: grid; gap: 14px; }
.news-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 12px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
}
.news-card::after {
  content: "";
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: .5;
}
.news-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.news-card .thumb {
  width: 140px; height: 96px;
  object-fit: cover;
  background: var(--paper-deep);
  filter: sepia(.08);
}
.news-card .thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinnabar);
  font-size: 28px;
  letter-spacing: .1em;
  font-family: var(--font-display);
  background:
    linear-gradient(135deg, #ebe0ce, #f5eee0);
}
.news-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
  font-family: var(--font-title);
}
.news-card:hover h3 { color: var(--cinnabar); }
.news-card .sum {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .08em;
}

.side-stack { display: grid; gap: 14px; }
.side-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 18px 18px 14px;
  position: relative;
}
.side-panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cinnabar), var(--gold));
}
.side-panel h4 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: .2em;
  color: var(--cinnabar-deep);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-display);
  font-weight: 400;
}
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: var(--ink-soft); }
.side-list a:hover { color: var(--cinnabar); }
.side-list .date { color: var(--muted); font-size: 12px; flex-shrink: 0; }

.quick-entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.quick-entry {
  display: block;
  text-align: center;
  padding: 28px 12px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.quick-entry::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cinnabar);
  transform: scaleX(0);
  transition: transform .25s;
}
.quick-entry:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.quick-entry:hover::before { transform: scaleX(1); }
.quick-entry .qe-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinnabar);
  font-size: 20px;
  font-family: var(--font-display);
  letter-spacing: 0;
  background: rgba(176,137,62,.06);
}
.quick-entry h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: .16em;
  color: var(--ink);
  font-weight: 400;
  font-family: var(--font-title);
}
.quick-entry p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

.intro-band {
  margin-top: 36px;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    radial-gradient(ellipse 55% 80% at 88% 50%, rgba(176,137,62,.22), transparent 55%),
    linear-gradient(135deg, #1f130e 0%, #3d2218 50%, #160e0a 100%);
  position: relative;
}
.intro-band::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212,181,106,.28);
  pointer-events: none;
  z-index: 2;
}
.intro-band .intro-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 0;
  position: relative;
  z-index: 1;
}
.intro-band .intro-copy {
  color: #f5e6d3;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-band .intro-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: .28em;
  font-weight: 400;
  color: #faf0e0;
}
.intro-band .intro-copy p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 2;
  color: rgba(245,230,211,.88);
  text-align: justify;
  max-width: none;
}
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.intro-actions .btn { margin-top: 0; }
.intro-btn-ghost {
  margin-top: 0 !important;
  border-color: rgba(212,181,106,.55) !important;
  color: #faf0e0 !important;
  background: transparent !important;
}
.intro-btn-ghost:hover {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
}
.intro-band .intro-visual {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(184,149,74,.28);
  background:
    linear-gradient(160deg, rgba(44,24,16,.25), rgba(26,16,12,.6)),
    url('/static/images/banner1.jpg') center / cover no-repeat;
}
.intro-band .intro-seal {
  width: 96px; height: 96px;
  border: 2px solid rgba(201, 48, 48, .85);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: .12em;
  color: #e85a5a;
  background: rgba(80, 16, 16, .35);
  box-shadow:
    0 0 0 5px rgba(176,137,62,.15),
    inset 0 0 0 1px rgba(232,90,90,.35);
  position: relative;
  z-index: 1;
  transform: rotate(-8deg);
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.intro-band .intro-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .4em;
  color: rgba(245,230,211,.1);
  writing-mode: vertical-rl;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
  text-indent: .2em;
}

/* —— 列表 / 面板 —— */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  box-shadow: 0 4px 18px rgba(44,24,16,.04);
}
.news-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px dashed var(--line);
  transition: background .2s;
}
.news-list li:hover { background: #faf4ea; }
.news-list li:last-child { border-bottom: 0; }
.news-list a { color: var(--ink-soft); }
.news-list a:hover { color: var(--cinnabar); }
.news-list .date { color: var(--muted); font-size: 13px; white-space: nowrap; }

.page-title {
  text-align: center;
  margin: 4px 0 32px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .28em;
  color: var(--cinnabar-deep);
  font-family: var(--font-display);
  font-weight: 400;
  text-indent: .28em;
  position: relative;
  padding-bottom: 18px;
}
.page-title::before {
  content: "「";
  font-family: var(--font-display);
  color: var(--gold);
  margin-right: .15em;
  opacity: .7;
}
.page-title::after {
  content: "」";
  font-family: var(--font-display);
  color: var(--gold);
  margin-left: .15em;
  opacity: .7;
  display: inline;
  width: auto;
  height: auto;
  background: none;
}
.page-title {
  /* 底线单独用伪元素不够，加装饰线用边框 */
  border-bottom: none;
}
h1.page-title {
  background-image: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 120px 2px;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.panel {
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  padding: 30px 34px;
  box-shadow: var(--shadow);
  position: relative;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(176,137,62,.28);
  pointer-events: none;
}
.member-setting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.4rem;
  align-items: stretch;
}
.member-setting-card {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.member-setting-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.member-setting-card .form-box {
  flex: 1;
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .member-setting-grid { grid-template-columns: 1fr; }
}
.article-content {
  font-size: 16px;
  line-height: 2.05;
  color: var(--ink-soft);
  text-align: justify;
}
.article-content p { margin: 0 0 1em; }
.article-content img { max-width: 100%; margin: 12px auto; }

.article-content.rich-html,
.xiumi-fix {
  text-align: initial;
  line-height: inherit;
  font-size: inherit;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: transparent !important;
}
/* 微信/秀米粘贴常带巨量内联样式；只做容器约束，尽量不改作者排版 */
.article-content.rich-html *,
.xiumi-fix * {
  max-width: 100% !important;
  box-sizing: border-box !important;
  /* 去掉公众号粘贴的白底，避免与页面米色底叠成一截一截 */
  background-color: transparent !important;
}
.article-content.rich-html img,
.article-content.rich-html video,
.xiumi-fix img,
.xiumi-fix video {
  /* 覆盖微信 margin:0 / 全局 display:block，按编辑器所见居中 */
  display: block !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain;
}
/* 显式左/右浮动：保留环绕，取消强制水平居中 */
.article-content.rich-html img[style*="float:left"],
.article-content.rich-html img[style*="float: left"],
.xiumi-fix img[style*="float:left"],
.xiumi-fix img[style*="float: left"] {
  margin-left: 0 !important;
  margin-right: 1em !important;
}
.article-content.rich-html img[style*="float:right"],
.article-content.rich-html img[style*="float: right"],
.xiumi-fix img[style*="float:right"],
.xiumi-fix img[style*="float: right"] {
  margin-right: 0 !important;
  margin-left: 1em !important;
}
.article-content.rich-html svg,
.xiumi-fix svg {
  max-width: 100% !important;
  height: auto !important;
}
/* section 在微信里常作居中包裹层，勿强行改成左对齐块 */
.article-content.rich-html section,
.xiumi-fix section {
  max-width: 100%;
}
.article-content.rich-html table,
.xiumi-fix table {
  width: 100% !important;
  overflow-x: auto;
  display: block;
}
.article-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
  text-align: center;
  letter-spacing: .08em;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  justify-content: center;
}
.tabs a {
  padding: 9px 18px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper-2);
  font-size: 13px;
  letter-spacing: .1em;
  transition: all .2s;
  font-family: var(--font-title);
}
.tabs a.on, .tabs a:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(212,181,106,.4);
}
.tabs.tabs-sub {
  margin-top: -12px;
  margin-bottom: 22px;
  gap: 6px;
}
.tabs.tabs-sub a {
  padding: 6px 14px;
  font-size: 12px;
  background: transparent;
  border-style: dashed;
  color: var(--ink-faint);
}
.tabs.tabs-sub a.on, .tabs.tabs-sub a:hover {
  background: var(--paper-2);
  border-style: solid;
  border-color: var(--cinnabar);
  color: var(--cinnabar);
  box-shadow: none;
}

.people-grid, .talent-grid, .unit-grid, .art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}
.card-person, .card-talent, .card-unit, .card-art, .people-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 14px;
  text-align: center;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  min-width: 0;
}
.card-person::before, .card-talent::before, .card-unit::before,
.card-art::before, .people-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(176,137,62,.2);
  pointer-events: none;
}
.card-person:hover, .card-talent:hover, .card-unit:hover,
.card-art:hover, .people-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.card-person img, .card-talent img, .card-unit img,
.card-art img, .people-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #ebe0ce;
  filter: sepia(.06);
}
/* 人物一寸照：固定 3:4 相框，整图缩放不裁剪 */
.card-person img,
.people-card img {
  width: 105px;
  height: 140px;
  margin: 0 auto 10px;
  display: block;
  object-fit: contain;
  background: #f5eee0;
  border: 1px solid var(--line);
  filter: none;
}
.card-person h3, .card-talent h3 {
  margin: 12px 0 4px;
  font-size: 18px;
  letter-spacing: .12em;
  font-family: var(--font-title);
  font-weight: 400;
}
.card-person p, .card-talent p { margin: 0; color: var(--muted); font-size: 13px; }

.people-card .name {
  font-size: 20px;
  letter-spacing: .2em;
  color: var(--cinnabar);
  margin-top: 8px;
  font-family: var(--font-display);
}
.people-card .title { color: var(--gold); margin-top: 6px; font-size: 14px; }
.people-card .intro {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
  text-align: left;
}
.people-card.is-people {
  cursor: pointer;
}
.people-card .card-sum-wrap {
  margin-top: 10px;
}
.people-card .card-sum.intro {
  margin-top: 0;
  text-align: left;
}

.form-box { max-width: 560px; }
.form-box-center { margin-left: auto; margin-right: auto; }
.form-box label {
  display: block;
  margin: 14px 0 6px;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: .1em;
  font-family: var(--font-title);
}
.form-box input, .form-box textarea, .form-box select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fffef9;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  border-radius: 0;
}
.form-box input:focus, .form-box textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,137,62,.16);
}
.form-box input.is-invalid {
  border-color: #a61b1b;
  box-shadow: 0 0 0 3px rgba(166,27,27,.12);
}
.form-box select.is-invalid {
  border-color: #a61b1b;
  box-shadow: 0 0 0 3px rgba(166,27,27,.12);
}

/* 入会申请：上传面板（证件照 / 作品） */
.upload-panel {
  margin: 8px 0 6px;
  padding: 14px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f0e4 100%);
  border: 1px solid rgba(176, 137, 62, .28);
  border-radius: 2px;
}
.photo-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.upload-panel-side {
  flex: 1;
  min-width: 180px;
}
.upload-panel-title {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--cinnabar-deep, #6f1010);
  letter-spacing: .12em;
  font-family: var(--font-title);
}
.upload-panel-list {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: #6a5a4a;
  font-size: 13px;
  line-height: 1.8;
}
.upload-panel-hint {
  margin: 10px 0 0;
  color: #9a8a78;
  font-size: 12px;
  letter-spacing: .04em;
}
.work-panel-hint {
  margin-top: 12px;
}

.photo-inch-box {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  height: 157px; /* ≈ 1 寸 35×49 */
  margin: 0;
  padding: 0;
  border: 1.5px dashed rgba(140, 100, 50, .42);
  background:
    linear-gradient(135deg, rgba(255,255,255,.7), rgba(250,246,238,.9));
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color .2s, box-shadow .2s, background .2s, transform .15s;
  box-shadow: inset 0 0 0 4px rgba(255, 253, 248, .9);
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.photo-inch-box:hover {
  border-color: var(--gold, #b0893e);
  box-shadow:
    inset 0 0 0 4px rgba(255, 253, 248, .95),
    0 6px 16px rgba(80, 50, 20, .1);
  transform: translateY(-1px);
}
.photo-inch-box:active {
  transform: translateY(0);
}
.photo-inch-box.is-disabled,
.photo-inch-box:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}
.photo-inch-box.is-invalid {
  border-color: #a61b1b;
  box-shadow: 0 0 0 3px rgba(166,27,27,.12);
}
.photo-inch-plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(140, 100, 50, .4);
  background: rgba(255, 255, 255, .75);
  position: relative;
}
.photo-inch-plus::before,
.photo-inch-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(120, 80, 40, .55);
  transform: translate(-50%, -50%);
}
.photo-inch-plus::before {
  width: 14px;
  height: 2px;
}
.photo-inch-plus::after {
  width: 2px;
  height: 14px;
}
.photo-inch-label {
  font-size: 12px;
  color: rgba(120, 80, 40, .55);
  letter-spacing: .16em;
}
.photo-inch-box.has-photo {
  border-style: solid;
  border-color: rgba(140, 100, 50, .35);
  box-shadow: 0 4px 12px rgba(60, 35, 15, .1);
}
.photo-inch-box.has-photo .photo-inch-plus,
.photo-inch-box.has-photo .photo-inch-label {
  display: none;
}
.photo-inch-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff;
}
.photo-inch-img[hidden] {
  display: none !important;
}

/* 入会申请：作品方框上传 */
.work-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.work-box {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0;
  padding: 0;
  border: 1.5px dashed rgba(140, 100, 50, .42);
  background: rgba(255, 253, 248, .95);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
}
.work-box-add {
  cursor: pointer;
}
.work-box-add:hover {
  border-color: var(--gold, #b0893e);
  background: #fff;
  box-shadow: 0 4px 12px rgba(80, 50, 20, .08);
  transform: translateY(-1px);
}
.work-box.has-photo {
  border-style: solid;
  border-color: rgba(140, 100, 50, .28);
  box-shadow: 0 2px 8px rgba(60, 35, 15, .08);
}
.work-box-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(140, 100, 50, .4);
  background: rgba(255, 255, 255, .75);
  position: relative;
}
.work-box-plus::before,
.work-box-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(120, 80, 40, .55);
  transform: translate(-50%, -50%);
}
.work-box-plus::before {
  width: 12px;
  height: 2px;
}
.work-box-plus::after {
  width: 2px;
  height: 12px;
}
.work-box-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-box-del {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(40, 24, 18, .72);
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  cursor: pointer;
  transition: background .15s;
}
.work-box-del:hover {
  background: rgba(166, 27, 27, .9);
}

.form-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 9999;
  max-width: min(86vw, 360px);
  padding: 12px 18px;
  background: rgba(40, 24, 18, .92);
  color: #fff8f0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .04em;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  border: 1px solid rgba(196,163,90,.35);
  transform: translate(-50%, -50%) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.form-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* 全站轻提示（替代 alert） */
.site-toast-host {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10050;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: min(90vw, 380px);
}
.site-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(36, 22, 16, .94);
  color: #fff8f0;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .03em;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,.32);
  border: 1px solid rgba(196,163,90,.4);
  opacity: 0;
  transform: scale(.96);
  transition: opacity .28s ease, transform .28s ease;
}
.site-toast.is-show {
  opacity: 1;
  transform: scale(1);
}
.site-toast__ico {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(196,163,90,.25);
  position: relative;
}
.site-toast__ico::after {
  content: '';
  position: absolute;
  inset: 0;
  background: center / 10px 10px no-repeat;
}
.site-toast--ok {
  border-color: rgba(70, 140, 90, .45);
  background: linear-gradient(180deg, rgba(42, 72, 48, .96), rgba(28, 48, 34, .96));
}
.site-toast--ok .site-toast__ico {
  background: rgba(90, 170, 110, .35);
}
.site-toast--ok .site-toast__ico::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23c8f0d0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2.2 6.2l2.6 2.6 5-5'/%3E%3C/svg%3E");
}
.site-toast--err {
  border-color: rgba(180, 70, 60, .5);
  background: linear-gradient(180deg, rgba(90, 32, 28, .96), rgba(58, 22, 20, .96));
}
.site-toast--err .site-toast__ico {
  background: rgba(220, 100, 90, .35);
}
.site-toast--err .site-toast__ico::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ffd0c8' stroke-width='1.8' stroke-linecap='round' d='M3 3l6 6M9 3L3 9'/%3E%3C/svg%3E");
}
.site-toast--info .site-toast__ico::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.2' fill='none' stroke='%23e8d5a8' stroke-width='1.4'/%3E%3Cpath fill='none' stroke='%23e8d5a8' stroke-width='1.5' stroke-linecap='round' d='M6 5.2v3.2M6 3.6h.01'/%3E%3C/svg%3E");
}
.site-toast__txt {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.form-box .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.captcha-img {
  width: 120px;
  height: 40px;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #faf6ee;
  flex-shrink: 0;
}
.btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 34px;
  background: linear-gradient(180deg, var(--cinnabar) 0%, var(--cinnabar-deep) 100%);
  color: #fff !important;
  border: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  letter-spacing: .28em;
  font-family: var(--font-title);
  font-size: 15px;
  transition: filter .2s, transform .15s, box-shadow .2s;
  text-indent: .28em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 4px 14px rgba(111,16,16,.25);
}
.btn:active { transform: scale(.98); }
.btn-ghost {
  background: transparent;
  color: var(--cinnabar) !important;
  border: 1px solid var(--cinnabar);
  box-shadow: none;
  text-indent: .2em;
}
.btn-ghost:hover {
  background: var(--cinnabar);
  color: #fff !important;
  filter: none;
}
.btn-dark {
  background: linear-gradient(180deg, #4a2e20, #2c1810);
}
.btn-dark:hover { filter: brightness(1.08); }

.result-box {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, #fffdf8, #f7efe0);
  line-height: 2;
  position: relative;
}
.result-box::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(176,137,62,.3);
  pointer-events: none;
}
.query-result { text-align: center; line-height: 1.6; padding: 28px 22px; }
.query-result-icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 600; line-height: 1;
}
.query-yes .query-result-icon { background: #e8f5ea; color: #2a7a3a; }
.query-no .query-result-icon { background: #f8eaea; color: #a61b1b; }
.query-result-text {
  font-size: 24px; letter-spacing: .22em;
  font-family: var(--font-display);
}
.query-yes .query-result-text { color: #2a7a3a; }
.query-no .query-result-text { color: #a61b1b; }
.query-result-tip { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.cert-card {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(176,137,62,.12), transparent 45%),
    linear-gradient(145deg, #fffdf8 0%, #f4ead8 100%);
  border: 2px solid var(--gold);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow);
}
.cert-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(176,137,62,.4);
  pointer-events: none;
}
.cert-card-with-avatar {
  display: flex;
  gap: 24px;
  align-items: center;
}
.cert-avatar-wrap { flex: 0 0 auto; text-align: center; position: relative; z-index: 1; }
.cert-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
  background: #fff; margin: 0 auto;
}
.cert-avatar-ph {
  display: flex; align-items: center; justify-content: center;
  background: var(--cinnabar); color: #fff; font-size: 36px;
  letter-spacing: .1em; border: none;
  font-family: var(--font-display);
}
.cert-info { flex: 1 1 280px; min-width: 268px; position: relative; z-index: 1; }
.cert-info .cert-kv {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin: 0.4em 0;
  line-height: 1.55;
  white-space: nowrap;
}
.cert-info .cert-kv > strong {
  flex: 0 0 auto;
  font-weight: 600;
}
.cert-info .cert-kv > span {
  flex: 0 1 auto;
  min-width: 0;
}
.cert-info .cert-id {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: nowrap;
}
.cert-preview {
  flex: 0 1 auto;
  position: relative;
  z-index: 1;
  margin-left: auto;
  align-self: center;
  min-width: 0;
}
.member-cert-img {
  display: block;
  width: 620px;
  height: auto;
  max-width: min(620px, 58vw);
  background: #fff;
  border: 1px solid rgba(120, 90, 50, .28);
  box-shadow: 0 4px 14px rgba(40, 20, 10, .12);
}
@media (max-width: 960px) {
  .cert-card-with-avatar { flex-wrap: wrap; align-items: flex-start; }
  .cert-preview { margin-left: 0; width: 100%; display: flex; justify-content: center; }
  .member-cert-img { max-width: 620px; width: 100%; }
  .cert-info { min-width: 0; width: 100%; }
  .cert-info .cert-kv { white-space: normal; flex-wrap: wrap; }
  .cert-info .cert-id { white-space: nowrap; }
}
@media (max-width: 640px) {
  .cert-card-with-avatar { flex-direction: column; align-items: center; text-align: center; }
  .cert-info { width: 100%; text-align: left; }
}
.cert-card.cert-card-with-avatar::before {
  display: none;
}
.cert-card::before {
  content: "印";
  position: absolute;
  right: 24px; top: 20px;
  width: 42px; height: 42px;
  border: 2px solid rgba(161,28,28,.45);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: rgba(161,28,28,.5);
  letter-spacing: 0;
  transform: rotate(-12deg);
  z-index: 1;
}
.cert-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  letter-spacing: .22em;
  color: var(--cinnabar-deep);
  font-size: 24px;
  font-weight: 400;
}

.member-module-grid {
  margin-top: .5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.member-module-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 24px;
  min-height: 148px;
  height: 100%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  text-align: left;
  transition: all .25s;
  position: relative;
  box-sizing: border-box;
}
.member-module-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(176,137,62,.2);
  pointer-events: none;
}
.member-module-card:hover {
  border-color: var(--cinnabar);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.member-module-no {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: .2em;
  color: #fff;
  background: var(--cinnabar);
  padding: 3px 10px;
  font-family: var(--font-title);
  margin-bottom: 14px;
}
.member-module-card .mod-title {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: .14em;
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--ink, #2a1c14);
}
.member-module-card .mod-desc {
  margin: 0;
  margin-top: auto;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  letter-spacing: .04em;
}
@media (max-width: 900px) {
  .member-module-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .member-module-grid { grid-template-columns: 1fr; }
}
.member-tabs { flex-wrap: wrap; }

.site-footer {
  background: var(--footer-bg);
  color: #cfc0a8;
  text-align: center;
  padding: 48px 16px 36px;
  font-size: 13px;
  border-top: 4px solid var(--header-border);
  letter-spacing: .06em;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  margin: -48px auto 28px;
  max-width: 280px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  opacity: .5;
}
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .24em;
  color: #f5e6d3;
  margin-bottom: 14px;
}
.site-footer .footer-brand-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}
.site-footer .footer-brand-name {
  letter-spacing: inherit;
}
.site-footer .footer-brand .brand-title-img {
  display: none;
  max-height: 48px;
  max-width: min(480px, 78vw);
}
.site-footer .footer-brand.is-logo-banner .brand-title-img {
  display: block;
}
.site-footer .footer-brand.is-text-only .footer-brand-icon {
  display: none;
}
.site-footer .footer-brand .brand-title-stack {
  max-width: min(480px, 78vw);
}
.site-footer .footer-brand .brand-fallback {
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: .2em;
  color: #f5e6d3;
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: #fff; }
.site-footer .site-icp a { text-decoration: none; }
.site-footer .site-icp a:hover { text-decoration: underline; }
.site-police-beian,
.site-police-beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.beian-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  flex: 0 0 auto;
}
.footer-links { margin: 14px 0 18px; }
.footer-links a { margin: 0 12px; font-size: 13px; font-family: var(--font-title); }

.pager { margin-top: 24px; text-align: center; }
.pager a, .pager span {
  margin: 0 3px; padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  display: inline-block;
  font-size: 13px;
  background: var(--paper-2);
}
.pager .current { background: var(--cinnabar); color: #fff; border-color: var(--cinnabar); }

.pager .pagination,
.pagination {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination > li { display: inline-flex; list-style: none; }
.pagination > li > a,
.pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  transition: all .18s ease;
}
.pagination > li > a:hover {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}
.pagination > li.active > span {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: #fff;
  font-weight: 600;
}
.pagination > li.disabled > span {
  color: #bbb;
  background: #f7f3ec;
  cursor: default;
}

.contact-box .weixin-box { margin-top: 28px; text-align: center; }
.weixin-qr {
  width: 168px; height: 168px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: #fff;
  margin: 12px auto;
  padding: 8px;
  box-shadow: var(--shadow);
}
.contact-box .tip { color: var(--muted); font-size: 13px; }

/* 模块内标题统一 */
.panel > h2,
.cert-info h3,
.member-module-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
}

@media (max-width: 900px) {
  .home-grid, .quick-entries { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-top { display: none; }
  .brand-main::before, .brand-main::after { display: none; }
  .brand-bar .brand { font-size: 22px; letter-spacing: .14em; }
  .brand-icon { width: 52px; height: 52px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-bar.is-logo-banner .brand-icon { width: 56px; height: 56px; }
  .brand-bar.is-logo-banner .brand-title-img {
    max-width: min(100%, calc(94vw - 72px));
    max-height: 72px;
  }
  .brand-main { gap: 12px; }
  .nav-bar a { padding: 7px 10px; font-size: 13px; }
  .hero, .hero-slide { min-height: 220px; }
  .home-grid, .quick-entries { grid-template-columns: 1fr; }
  .intro-band .intro-inner { grid-template-columns: 1fr; }
  .intro-band .intro-visual {
    min-height: 140px;
    border-left: none;
    border-top: 1px solid rgba(184,149,74,.25);
  }
  .intro-band .intro-copy { padding: 28px 22px; }
  .intro-band::before { inset: 5px; }
  .news-card { grid-template-columns: 100px 1fr; }
  .news-card .thumb { width: 100px; height: 76px; }
  .panel { padding: 18px 16px; }
  .panel::before { inset: 4px; }
  .news-list li { flex-direction: column; gap: 4px; }
  .page-title { letter-spacing: .16em; }
}


/* —— 模块通用标题 / 卡片文案 —— */
.block-title {
  margin: 0 0 1rem;
  font-size: 22px;
  letter-spacing: .18em;
  color: var(--cinnabar-deep);
  font-family: var(--font-display);
  font-weight: 400;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.mod-title {
  font-size: 18px;
  margin: 14px 0 8px;
  color: var(--ink-soft);
  letter-spacing: .14em;
  font-family: var(--font-title);
  font-weight: 400;
}
.mod-desc {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.7;
}
.card-title {
  font-size: 16px;
  margin: 10px 0 4px;
  color: var(--ink-soft);
  letter-spacing: .08em;
  font-family: var(--font-title);
  font-weight: 400;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.card-meta {
  color: var(--cinnabar);
  font-size: 13px;
  letter-spacing: .06em;
}
.card-sum {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.card-sum-wrap {
  margin-top: 4px;
  text-align: center;
}
.card-sum-wrap .card-sum {
  margin: 0;
}
.card-sum-wrap.is-clamp .card-sum {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.card-sum-more {
  display: none;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cinnabar);
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  line-height: 1.4;
}
.card-sum-more:hover {
  text-decoration: underline;
}
.card-sum-wrap.is-clamp .card-sum-more {
  display: inline-block;
}
.card-art.is-honor {
  cursor: pointer;
}
/* 点击后居中浮层展示整卡 */
.honor-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s;
}
.honor-lightbox.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.honor-lightbox-mask {
  position: absolute;
  inset: 0;
  background: rgba(26, 16, 12, .55);
  backdrop-filter: blur(2px);
}
.honor-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  max-height: min(86vh, 720px);
  overflow: auto;
  background: #fffcf7;
  border: 1px solid #e2d5bf;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(26, 16, 12, .28);
  padding: 18px 18px 20px;
  text-align: center;
  animation: honorLbIn .22s ease;
}
@keyframes honorLbIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.honor-lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3ebe0;
  color: #5c4e40;
  font-size: 20px;
  line-height: 32px;
  cursor: pointer;
}
.honor-lightbox-close:hover {
  background: #e8dcc8;
  color: #8b1a1a;
}
.honor-lightbox-panel img {
  width: 100%;
  max-height: 280px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #f5eee0;
  border-radius: 4px;
}
/* 人物详情：放大为一寸照比例（约后台 96×128 的两倍） */
.honor-lightbox-panel.is-portrait img {
  width: 210px;
  height: 280px;
  max-height: none;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #f5eee0;
}
.honor-lightbox-panel.is-portrait .honor-lightbox-ph {
  width: 210px;
  height: 280px;
  margin: 0 auto;
}
.honor-lightbox-ph {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ebe0ce, #f5eee0);
  color: var(--cinnabar);
  font-size: 36px;
  font-family: var(--font-display);
  border-radius: 4px;
}
.honor-lightbox-title {
  margin: 14px 0 4px;
  font-size: 20px;
  letter-spacing: .12em;
  color: var(--ink-soft);
  font-family: var(--font-title);
  font-weight: 400;
  overflow-wrap: anywhere;
}
.honor-lightbox-year {
  color: var(--cinnabar);
  font-size: 14px;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.honor-lightbox-body {
  margin: 0;
  text-align: left;
  color: #5c4e40;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}
.level-item {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.level-item:last-child { border-bottom: 0; margin-bottom: 0; }
.level-name {
  color: var(--cinnabar);
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .16em;
  font-weight: 400;
}
.thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinnabar);
  font-size: 28px;
  letter-spacing: .1em;
  font-family: var(--font-display);
  background: linear-gradient(135deg, #ebe0ce, #f5eee0);
  width: 100%;
}
.people-card img {
  width: 105px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.talent-photo {
  text-align: center;
  margin-bottom: 22px;
}
.talent-photo img {
  max-width: 220px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  padding: 6px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.demo-tip {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  background: linear-gradient(180deg, #fffdf8, #f7efe0);
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
}

/* 会员名滚动 */
.member-name-marquee {
  overflow: hidden;
  margin: 0 0 16px;
  padding: 10px 0;
  border-top: 1px dashed rgba(0,0,0,.12);
  border-bottom: 1px dashed rgba(0,0,0,.12);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.member-name-track {
  display: flex;
  width: max-content;
  animation: member-name-scroll 40s linear infinite;
}
.member-name-marquee:hover .member-name-track { animation-play-state: paused; }
.member-name-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}
.member-name-item {
  font-size: 14px;
  color: var(--ink, #3a2a1e);
  white-space: nowrap;
  letter-spacing: .04em;
  font-family: var(--font-title, serif);
}
.member-name-item::before {
  content: "·";
  margin-right: 10px;
  color: var(--primary, #8b2f2f);
  opacity: .7;
}
@keyframes member-name-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
