/* 功德碑：年份切换 + 表格（保留 lezu 背景/导航壳） */

.lezu-bg.nj-gdb-shell {
  height: auto !important;
  min-height: 640px;
  padding-bottom: 28px;
  box-sizing: border-box;
}

.nj-gdb-shell .main {
  width: 960px;
  height: auto !important;
  min-height: 0;
  margin: 0 auto;
  display: block;
}

.nj-gdb-board {
  width: 930px;
  margin: 0 auto 18px;
  padding: 14px 16px 18px;
  box-sizing: border-box;
  background: rgba(255, 252, 240, 0.92);
  border: 1px solid rgba(154, 80, 60, 0.35);
  box-shadow: 0 4px 18px rgba(80, 20, 10, 0.12);
}

.nj-gdb-intro {
  margin: 0 0 12px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #6b3a22;
  background: rgba(255, 248, 230, 0.9);
  border: 1px solid rgba(154, 100, 60, 0.25);
}

.nj-gdb-intro .hl {
  color: #ae0004;
  font-weight: 700;
}

.nj-gdb-years {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.nj-gdb-years button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 6px 14px;
  min-width: 4.5em;
  height: auto !important;
  width: auto !important;
  border: 1px solid #9a5038;
  background: #fff8e8;
  color: #781012;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  cursor: pointer;
  border-radius: 2px;
}

.nj-gdb-years button:hover {
  background: #fff;
  color: #000;
}

.nj-gdb-years button.is-active {
  background: #781012;
  border-color: #5a0c0e;
  color: #fff8e0;
}

.nj-gdb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  margin: 0 0 10px;
  font-size: 13px;
  color: #71330b;
}

.nj-gdb-meta strong {
  color: #ae0004;
  font-size: 15px;
}

.nj-gdb-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #c9a070;
  background: #fff;
}

.nj-gdb-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.nj-gdb-table th,
.nj-gdb-table td {
  border: 1px solid #e2d2b8;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.45;
  vertical-align: middle;
  text-align: left;
  word-wrap: break-word;
}

.nj-gdb-table thead th {
  background: linear-gradient(180deg, #9a3228 0%, #5c1014 100%);
  color: #fff6d8;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  border-color: #4a0e12;
  border-bottom: 2px solid #d4a84a;
  white-space: nowrap;
  padding-top: 11px;
  padding-bottom: 11px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  font-size: 14px;
}

.nj-gdb-table tbody tr:nth-child(even) {
  background: #fffaf0;
}

.nj-gdb-table tbody tr:hover {
  background: #fff1d8;
}

.nj-gdb-table thead .col-idx,
.nj-gdb-table tbody .col-idx {
  width: 48px;
  text-align: center;
}

.nj-gdb-table tbody .col-idx {
  color: #8a6a48;
}

.nj-gdb-table thead .col-name,
.nj-gdb-table tbody .col-name {
  width: 14%;
}

.nj-gdb-table tbody .col-name {
  font-weight: 700;
  color: #5a1808;
}

.nj-gdb-table thead .col-email,
.nj-gdb-table tbody .col-email {
  width: 18%;
}

.nj-gdb-table tbody .col-email {
  color: #6b4a28;
  font-size: 12px;
}

.nj-gdb-table thead .col-when,
.nj-gdb-table tbody .col-when {
  width: 22%;
}

.nj-gdb-table tbody .col-when {
  color: #4a3420;
}

.nj-gdb-table thead .col-amount,
.nj-gdb-table tbody .col-amount {
  width: 12%;
}

.nj-gdb-table tbody .col-amount {
  text-align: right;
  font-weight: 800;
  color: #ae0004;
  font-variant-numeric: tabular-nums;
}

.nj-gdb-table thead .col-channel,
.nj-gdb-table tbody .col-channel {
  width: 12%;
  text-align: center;
}

.nj-gdb-table tbody .col-channel {
  color: #6b4a28;
}

.nj-gdb-table thead .col-nth,
.nj-gdb-table tbody .col-nth {
  width: 10%;
  text-align: center;
}

.nj-gdb-table tbody .col-nth {
  color: #6b4a28;
}

.nj-gdb-bind {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(154, 80, 60, 0.35);
  border-left: 4px solid #9a3228;
  box-sizing: border-box;
}

.nj-gdb-bind.is-ok {
  border-left-color: #2f6b3a;
  background: #f7fff8;
}

.nj-gdb-bind-text {
  margin: 0;
  flex: 1 1 240px;
  font-size: 13px;
  line-height: 1.7;
  color: #5a3420;
}

.nj-gdb-bind-text .hl {
  color: #ae0004;
  font-weight: 700;
}

.nj-gdb-bind-text .mask {
  color: #2f6b3a;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nj-gdb-bind-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nj-gdb-bind-btn {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid #9a5038;
  background: #781012;
  color: #fff8e0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  border-radius: 2px;
}

.nj-gdb-bind-btn:hover {
  background: #9a2018;
}

.nj-gdb-bind-btn.is-ghost {
  background: #fff8e8;
  color: #781012;
}

.nj-gdb-bind-btn.is-ghost:hover {
  background: #fff;
}

.nj-gdb-empty {
  margin: 24px 0;
  text-align: center;
  color: #8a6a48;
  font-size: 14px;
}

.nj-gdb-footnote {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #8a6a48;
}

/* 旧侧栏月份目录：本页已用年份切换，隐藏避免干扰 */
.nj-gdb-shell #sidebar {
  display: none;
}
