:root {
  --red-deep: #8f1d1d;
  --red: #c62a1f;
  --red-bright: #e8442c;
  --gold: #f0c987;
  --gold-deep: #c9973f;
  --gold-light: #fff2d4;
  --ink: #1f1a18;
  --ink-2: #3a3330;
  --text: #2b2523;
  --text-2: #6b625e;
  --text-3: #9b918c;
  --paper: #fbf7f2;
  --line: rgba(31, 26, 24, 0.1);
  --shadow-sm: 0 1px 3px rgba(31, 26, 24, 0.07);
  --shadow: 0 6px 22px rgba(31, 26, 24, 0.09);
  --shadow-lg: 0 16px 48px rgba(31, 26, 24, 0.16);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
  --serif: 'Songti SC', 'STSong', 'Source Han Serif SC', 'Noto Serif SC', Georgia, serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  background: var(--red-deep);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 14px;
}

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

/* ============ 顶部导航（浮在大背景上） ============ */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
}

/* 后台顶栏用深红实底 */
.admin-body .topbar {
  position: relative;
  background: linear-gradient(135deg, #a8231c 0%, #7d1616 100%);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-seal {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, #fff2d4, #e5c07a);
  color: var(--red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.admin-body .brand-seal {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
}

.brand-text {
  min-width: 0;
}

.brand-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff8ec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.brand-sub {
  font-size: 11px;
  color: rgba(255, 240, 220, 0.72);
  letter-spacing: 1px;
  margin-top: 2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  gap: 9px;
  align-items: center;
  flex-shrink: 0;
}

.ghost-btn {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 220, 0.4);
  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  color: #fff4e2;
  font-size: 13px;
  transition: all 0.18s;
}

.ghost-btn:hover {
  background: rgba(255, 240, 220, 0.22);
  border-color: rgba(255, 240, 220, 0.7);
}

/* ============ 大背景 ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--red-deep);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('bg_hero.jpg');
  background-size: cover;
  background-position: center top;
  z-index: -2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 50% 8%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 26%, transparent 70%, rgba(20, 8, 8, 0.35) 100%);
}

/* ============ 前五席金字塔 ============ */
.featured {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.featured-head {
  text-align: center;
  margin-bottom: 26px;
}

.featured-eyebrow {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 220, 0.4);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.featured-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 5px;
  color: #fff8ec;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
  margin: 0 0 8px;
}

.featured-rule {
  width: 64px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* 席位网格：会长独占第一行，其余四席并排第二行 */
.seat-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 26px;
  justify-items: center;
  width: 100%;
  max-width: 1080px;
}

.seat-stage::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 46%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 220, 0.3), transparent);
  pointer-events: none;
}

.hero-seat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.22s ease;
}

.hero-seat:hover {
  transform: translateY(-4px);
}

/* 曾建华：独占第一行居中 */
.hero-seat.s1 {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
}

/* 其余四席：第二行并排 */
.hero-seat.s2 {
  grid-column: 1;
  grid-row: 2;
}
.hero-seat.s3 {
  grid-column: 2;
  grid-row: 2;
}
.hero-seat.s4 {
  grid-column: 3;
  grid-row: 2;
}
.hero-seat.s5 {
  grid-column: 4;
  grid-row: 2;
}

.hero-ring {
  position: relative;
  border-radius: 50%;
  background: linear-gradient(140deg, #fff8ec, #f2e2c6);
  padding: 6px;
  box-shadow:
    0 0 0 1px rgba(255, 240, 220, 0.55),
    0 12px 38px rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.22s, transform 0.22s;
}

.hero-seat:hover .hero-ring {
  box-shadow:
    0 0 0 2px rgba(255, 226, 170, 0.95),
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(240, 201, 135, 0.45);
  transform: scale(1.05);
}

.hero-ring .inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(140deg, #efe6d8, #ddd0bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  color: #a8967f;
}

/* 尺寸层级：会长最大 */
.hero-ring.r1 { width: 232px; height: 232px; }
.hero-ring.r2,
.hero-ring.r3,
.hero-ring.r4,
.hero-ring.r5 { width: 168px; height: 168px; }

.hero-ring .inner.s1 { font-size: 76px; }
.hero-ring .inner.s2,
.hero-ring .inner.s3,
.hero-ring .inner.s4,
.hero-ring .inner.s5 { font-size: 56px; }

/* 会长外圈光环 */
.hero-seat.s1 .hero-ring::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 226, 170, 0.5);
  pointer-events: none;
}

.hero-seat.s1 .hero-ring::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 226, 170, 0.28);
  pointer-events: none;
  animation: haloSpin 26s linear infinite;
}

@keyframes haloSpin {
  to { transform: rotate(360deg); }
}

.hero-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #fff8ec;
  margin-top: 26px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.hero-seat.s1 .hero-name {
  font-size: 22px;
  letter-spacing: 3px;
}

.hero-role {
  font-size: 11.5px;
  color: var(--gold-light);
  margin-top: 4px;
  letter-spacing: 1px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.hero-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7dfae, #c9973f);
  color: #5c3d12;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.36);
  z-index: 2;
  max-width: 116%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ 中间扣出的名录板 ============ */
.board {
  position: relative;
  z-index: 3;
  margin-top: 54px;
  background: var(--paper);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.22);
  min-height: 60vh;
}

.board-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 70px;
}

/* 工具条 */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.toolbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.search-box {
  position: relative;
  flex: 0 0 240px;
}

.search-box input {
  width: 100%;
  padding: 9px 13px 9px 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-box input:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 151, 63, 0.16);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  border: 1.6px solid var(--text-3);
  border-radius: 50%;
  pointer-events: none;
}

.search-icon::after {
  content: '';
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 5px;
  height: 1.6px;
  background: var(--text-3);
  transform: rotate(45deg);
  border-radius: 1px;
}

.filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
  padding-bottom: 1px;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.chip {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  font-size: 13px;
  white-space: nowrap;
  transition: all 0.15s;
  flex-shrink: 0;
}

.chip:hover {
  border-color: var(--gold-deep);
  color: var(--text);
}

.chip.active {
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 3px 10px rgba(198, 42, 31, 0.28);
}

.count-pill {
  font-size: 12.5px;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}

/* 板块 */
.section {
  margin-bottom: 38px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 2px;
}

.section-meta {
  font-size: 12px;
  color: var(--text-3);
}

.section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 151, 63, 0.3), transparent);
}

/* 会员网格 */
.grid {
  display: grid;
  gap: 14px;
}

.grid-member {
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}

.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 14px 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 151, 63, 0.5);
}

.member-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 11px;
  background: #eceae4;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(31, 26, 24, 0.12);
}

.member-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.member-title {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-company {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.badge-president { background: linear-gradient(135deg, #f3d59a, #c9973f); color: #5c3d12; }
.badge-chief { background: #f0e4cd; color: #6d5320; }
.badge-exec { background: #f2e2e0; color: #8c3b2c; }
.badge-exec_secretary { background: #f2e2e0; color: #8c3b2c; }
.badge-sec_gen_standing_vp { background: #f2e2e0; color: #8c3b2c; }
.badge-standing_vp { background: #f4e9e4; color: #8f5245; }
.badge-vp { background: #ece3dc; color: #6b4a38; }
.badge-vp_party { background: #ece3dc; color: #6b4a38; }
.badge-supervisor { background: #e8e4ee; color: #574b6b; }
.badge-deputy_supervisor { background: #eae7f1; color: #574b6b; }
.badge-supervisor_member { background: #eceaf2; color: #5d5570; }
.badge-standing_dir_sec { background: #e8ece9; color: #45604f; }
.badge-standing_dir { background: #ebefec; color: #4f6357; }
.badge-director { background: #eceef1; color: #5d6675; }
.badge-member { background: #eceef1; color: #5d6675; }

.member-card .rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 长职务名（如"常务理事兼副秘书长"）在窄卡片里缩字号，避免撑出卡片 */
.member-card .rank-badge.badge-standing_dir_sec {
  font-size: 9.5px;
  padding: 3px 7px;
  letter-spacing: 0;
}

.avatar-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e5dd, #dcd8ce);
  color: #8d8577;
  font-family: var(--serif);
  font-weight: 600;
}

/* 空态 */
.empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-3);
}

.empty-title {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 6px;
}

/* 详情面板 */
.detail-mask {
  position: fixed;
  inset: 0;
  background: rgba(24, 10, 10, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
  z-index: 90;
}

.detail-mask.show {
  opacity: 1;
  pointer-events: auto;
}

.detail-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: var(--paper);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.22);
}

.detail-panel.show {
  transform: translateX(0);
}

.detail-head {
  padding: 26px 26px 22px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.detail-head::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 240, 220, 0.08);
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
  line-height: 1;
  transition: all 0.15s;
  z-index: 2;
}

.detail-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.detail-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.detail-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 240, 220, 0.4);
  background: #3a3330;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  color: rgba(255, 240, 220, 0.7);
  font-size: 30px;
}

.detail-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.detail-role {
  font-size: 12.5px;
  color: rgba(255, 240, 220, 0.8);
  line-height: 1.5;
}

.detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 26px 34px;
}

.info-grid {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 11px 14px;
  font-size: 13.5px;
  margin-bottom: 24px;
}

.info-label {
  color: var(--text-3);
  font-size: 12.5px;
}

.info-value {
  color: var(--text);
  word-break: break-word;
}

.detail-section-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--gold-deep);
  letter-spacing: 1px;
}

.bio-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-2);
  white-space: pre-wrap;
}

.locked-box {
  background: #fff;
  border: 1px dashed rgba(201, 151, 63, 0.5);
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
}

.locked-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 10px;
  background: rgba(201, 151, 63, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.locked-text {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 4px;
}

.locked-sub {
  font-size: 12px;
  color: var(--text-3);
}

/* ============ 领导专属展示浮层 ============ */
.leader-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.leader-modal.show {
  display: flex;
}

.leader-modal-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(140, 25, 20, 0.86), rgba(20, 8, 8, 0.96));
  opacity: 0;
  transition: opacity 0.32s;
  backdrop-filter: blur(3px);
}

.leader-modal.show .leader-modal-bg {
  opacity: 1;
}

.leader-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  display: flex;
  justify-content: center;
}

.leader-card {
  position: relative;
  width: 100%;
  background: linear-gradient(165deg, #fffdf8 0%, #fdf4e4 48%, #f9ecd6 100%);
  border-radius: 26px;
  padding: 30px 30px 26px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(201, 151, 63, 0.6),
    0 0 0 6px rgba(240, 201, 135, 0.16),
    0 0 90px rgba(240, 201, 135, 0.55),
    0 34px 80px rgba(0, 0, 0, 0.55);
  transform: scale(0.7) translateY(30px) rotateX(12deg);
  opacity: 0;
  transition: transform 0.52s cubic-bezier(0.16, 1.32, 0.36, 1), opacity 0.3s;
  overflow: hidden;
}

.leader-modal.show .leader-card {
  transform: scale(1) translateY(0) rotateX(0);
  opacity: 1;
}

/* 卡片顶部流光 */
.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fff3d0, #f0c987, transparent);
  animation: sweepAcross 3.6s ease-in-out infinite;
  z-index: 3;
}

@keyframes sweepAcross {
  0% { left: -60%; }
  55%, 100% { left: 110%; }
}

/* 卡片内的放射光 */
.leader-rays {
  position: absolute;
  top: -60%;
  left: 50%;
  width: 220%;
  height: 160%;
  transform: translateX(-50%);
  background: conic-gradient(
    from 0deg,
    rgba(240, 201, 135, 0.16) 0deg,
    transparent 12deg,
    rgba(240, 201, 135, 0.16) 24deg,
    transparent 36deg
  );
  animation: raysSpin 44s linear infinite;
  pointer-events: none;
  opacity: 0.75;
}

@keyframes raysSpin {
  to { transform: translateX(-50%) rotate(360deg); }
}

.leader-eyebrow {
  position: relative;
  display: inline-block;
  padding: 4px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8f1d1d, #c62a1f);
  color: #ffeec9;
  font-size: 11.5px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(143, 29, 29, 0.35);
}

.leader-photo-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 旋转金色光环 */
.leader-halo {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(240, 201, 135, 0) 0deg,
    rgba(255, 226, 160, 1) 30deg,
    rgba(240, 201, 135, 0.15) 55deg,
    rgba(240, 201, 135, 0) 90deg,
    rgba(240, 201, 135, 0) 170deg,
    rgba(255, 232, 180, 1) 210deg,
    rgba(201, 151, 63, 0.2) 245deg,
    rgba(240, 201, 135, 0) 290deg,
    rgba(240, 201, 135, 0.9) 330deg,
    rgba(240, 201, 135, 0) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 7px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 7px));
  animation: leaderSpin 4.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(240, 201, 135, 0.75));
}

.leader-halo.halo2 {
  inset: -26px;
  opacity: 0.65;
  animation-duration: 11s;
  animation-direction: reverse;
  filter: drop-shadow(0 0 8px rgba(201, 151, 63, 0.6));
}

@keyframes leaderSpin {
  to { transform: rotate(360deg); }
}

.leader-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(140deg, #efe6d8, #ddd0bd);
  border: 4px solid #fff;
  box-shadow: 0 8px 26px rgba(26, 29, 36, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 62px;
  font-weight: 600;
  color: #a8967f;
  z-index: 1;
}

/* 上升的金色粒子 */
.leader-particles {
  position: absolute;
  inset: -30px;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

.leader-particles span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6d8 0%, rgba(240, 201, 135, 0.85) 40%, rgba(240, 201, 135, 0) 72%);
  animation: floatUp 3.2s ease-in infinite;
  box-shadow: 0 0 8px rgba(255, 230, 160, 0.9);
}

@keyframes floatUp {
  0% { transform: translate(0, 40px) scale(0.3); opacity: 0; }
  20% { opacity: 1; }
  70% { opacity: 0.85; }
  100% { transform: translate(var(--drift, 0), -160px) scale(1.15); opacity: 0; }
}

.leader-name {
  position: relative;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 6px;
  background: linear-gradient(180deg, #c62a1f 0%, #8f1d1d 50%, #5f1010 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.leader-badge {
  position: relative;
  display: inline-block;
  padding: 5px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3d59a, #c9973f);
  color: #5c3d12;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(201, 151, 63, 0.4);
}

.leader-company {
  position: relative;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 12px;
}

.leader-bio {
  position: relative;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.85;
  max-height: 130px;
  overflow-y: auto;
  padding: 0 4px;
  margin-bottom: 20px;
}

.leader-bio:empty {
  display: none;
}

.leader-actions {
  position: relative;
  display: flex;
  gap: 10px;
}

.leader-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(201, 151, 63, 0.45);
  background: rgba(255, 255, 255, 0.7);
  color: #6d1414;
  font-size: 14px;
  transition: all 0.18s;
}

.leader-btn:hover {
  background: #fff;
  border-color: var(--gold-deep);
}

.leader-btn.primary {
  background: linear-gradient(135deg, #a8231c, #7d1616);
  border-color: #7d1616;
  color: #ffeec9;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(143, 29, 29, 0.32);
}

.leader-btn.primary:hover {
  background: linear-gradient(135deg, #c62a1f, #a8231c);
}

/* 底栏 */
.footer {
  background: var(--red-deep);
  padding: 30px 20px 40px;
  text-align: center;
  color: rgba(255, 240, 220, 0.6);
  font-size: 12px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 6px;
}

/* 页脚的后台入口：低调但可点，悬停更明显 */
.footer-secret {
  display: inline-block;
  margin-top: 12px;
  color: rgba(255, 240, 220, 0.32);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 220, 0.12);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.footer-secret:hover,
.footer-secret:focus-visible {
  color: rgba(255, 240, 220, 0.9);
  background: rgba(255, 240, 220, 0.12);
  border-color: rgba(255, 240, 220, 0.35);
  outline: none;
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(31, 26, 24, 0.95);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.24s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 80px 20px;
  color: var(--text-3);
  font-size: 13px;
}

.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid var(--line);
  border-top-color: var(--gold-deep);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============ 手机端 ============ */
@media (max-width: 760px) {
  .topbar-inner {
    padding: 14px 15px;
  }

  .brand-seal {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .brand-title {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .featured {
    padding: 76px 15px 0;
  }

  .featured-head {
    margin-bottom: 20px;
  }

  .featured-title {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .featured-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    padding: 4px 13px;
  }

  .seat-stage {
    gap: 26px 10px;
    max-width: 100%;
  }

  .hero-ring.r1 { width: 168px; height: 168px; }
  .hero-ring.r2,
  .hero-ring.r3,
  .hero-ring.r4,
  .hero-ring.r5 { width: 84px; height: 84px; }

  .hero-ring .inner.s1 { font-size: 56px; }
  .hero-ring .inner.s2,
  .hero-ring .inner.s3,
  .hero-ring .inner.s4,
  .hero-ring .inner.s5 { font-size: 28px; }

  .hero-seat.s1 .hero-ring::after {
    inset: -10px;
  }

  .hero-seat.s1 .hero-ring::before {
    inset: -20px;
  }

  .hero-name {
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-top: 22px;
  }

  .hero-seat.s1 .hero-name {
    font-size: 19px;
    letter-spacing: 2px;
  }

  .hero-role {
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.4;
    max-width: 92px;
    text-align: center;
  }

  .hero-badge {
    font-size: 9px;
    padding: 2px 7px;
    bottom: -9px;
    max-width: 100%;
  }

  /* 领导浮层在手机端也要适配 */
  .leader-card {
    padding: 26px 20px 22px;
    border-radius: 22px;
  }

  .leader-name {
    font-size: 25px;
    letter-spacing: 3px;
  }

  .leader-photo-wrap {
    width: 140px;
    height: 140px;
  }

  .leader-photo {
    font-size: 52px;
  }

  .board {
    margin-top: 40px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }

  .toolbar {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }

  .toolbar-inner {
    padding: 12px 15px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .search-box {
    flex-basis: 100%;
    order: 2;
  }

  .filter-row {
    order: 1;
    flex-basis: 100%;
  }

  .count-pill {
    display: none;
  }

  .board-inner {
    padding: 0 15px 50px;
  }

  .section {
    margin-bottom: 30px;
  }

  .section-name {
    font-size: 15px;
  }

  .grid-member {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .member-card {
    padding: 13px 8px 11px;
  }

  .member-avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
  }

  .member-name {
    font-size: 13px;
  }

  .member-title {
    font-size: 11px;
  }

  .member-company {
    font-size: 10.5px;
    min-height: 30px;
  }

  .member-card .rank-badge {
    font-size: 9.5px;
    padding: 2px 7px;
    top: 6px;
    left: 6px;
    max-width: calc(100% - 12px);
  }

  .member-card .rank-badge.badge-standing_dir_sec {
    font-size: 8.5px;
    padding: 2px 5px;
  }

  /* 详情改底部弹层 */
  .detail-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.22);
  }

  .detail-panel.show {
    transform: translateY(0);
  }

  .detail-head {
    padding: 28px 20px 18px;
    border-radius: 22px 22px 0 0;
  }

  .detail-head::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 240, 220, 0.32);
    z-index: 3;
  }

  .detail-body {
    padding: 18px 20px 30px;
  }

  .info-grid {
    grid-template-columns: 68px 1fr;
    gap: 9px 12px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .grid-member {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
