/* ==============================================================
    会员中心 - 专用样式
   ============================================================== */

/* ---- Profile Tip ---- */
.profile-tip {
  margin: 0 20px 16px;
  background: linear-gradient(135deg, #EDF4FD, #E0EEFF);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-tip .tip-content { flex: 1; min-width: 0; }
.profile-tip .tip-text { font-size: 15px; font-weight: 500; color: var(--primary); margin-bottom: 6px; }
.profile-tip .tip-progress { display: flex; align-items: center; gap: 8px; }
.profile-tip .tip-progress-bar-bg {
  flex: 1; height: 5px; background: rgba(26,109,212,0.15); border-radius: 3px; overflow: hidden;
}
.profile-tip .tip-progress-bar-fill {
  height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.4s;
}
.profile-tip .tip-progress-label { font-size: 13px; color: var(--text-secondary); white-space: nowrap; }
.profile-tip .tip-action {
  flex-shrink: 0; padding: 6px 14px; border-radius: 8px; background: var(--primary);
  color: #fff; font-size: 15px; font-weight: 500; text-decoration: none;
  transition: opacity 0.15s; white-space: nowrap;
}
.profile-tip .tip-action:active { opacity: 0.8; }

/* ---- Profile Card ---- */
.profile-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 20px 20px 16px;
  padding: 20px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.profile-info { flex: 1; min-width: 0; }
.profile-info h2 {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin: 0 0 4px;
}
.profile-info p {
  font-size: 15px; color: var(--text-secondary);
  margin: 0; line-height: 1.4;
}
.cert-badge {
  display: inline-block; font-size: 12px; font-weight: 500;
  padding: 1px 6px; border-radius: 4px; margin-left: 6px;
  vertical-align: 2px; white-space: nowrap;
}
.cert-badge-ok { background: var(--primary); color: #fff; }
.cert-badge-no { background: var(--border); color: var(--text-secondary); }
.vis-badge {
  display: inline-block; font-size: 11px; font-weight: 500;
  padding: 1px 6px; border-radius: 4px; margin-left: 6px;
  vertical-align: 1px; white-space: nowrap;
}
.vis-all     { background: #E8F5E9; color: #2E7D32; }
.vis-cert    { background: #E3F2FD; color: var(--primary); }
.vis-private { background: var(--border); color: var(--text-secondary); }
.profile-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
}
.profile-btn {
  width: 36px; height: 36px;
  border: none; background: var(--bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); cursor: pointer;
  transition: background .2s;
}
.profile-btn:active { background: var(--border); }
.profile-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Stats Row ---- */
.profile-stats {
  display: flex;
  margin: 0 20px 16px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.profile-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 8px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  color: inherit;
}
.profile-stat:active { background: var(--bg); }
.profile-stat + .profile-stat { border-left: 1px solid var(--border); }
.profile-stat .icon {
  width: 20px; height: 20px;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.profile-stat .icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.profile-stat .label { font-size: 15px; color: var(--text-secondary); }

/* ---- Menu ---- */
.profile-menu {
  margin: 0 20px 16px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  cursor: pointer;
  transition: background .15s;
}
.profile-menu-item:active { background: var(--bg); }
.profile-menu-item + .profile-menu-item { border-top: 1px solid var(--border); }
.menu-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.menu-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.menu-title {
  font-size: 15px; font-weight: 500; color: var(--text);
}
.menu-sub {
  font-size: 13px; color: var(--text-muted); line-height: 1.3;
}
.menu-arrow {
  font-size: 18px; color: var(--text-muted);
}

/* ---- Logout ---- */
.logout-card {
  margin: 0 20px 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.logout-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  color: #DC2626;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}
.logout-item:active { background: #FEF2F2; }

/* 我的收藏 */
.fav-list-wrap { padding-top: 16px; }
#ldt-list { padding: 16px 16px 0; }
#act-list { padding: 16px 16px 0; }
#qych-list { padding: 16px 16px 0; }
#gxq-list { padding: 16px 16px 0; }
#zjzt-list { padding: 16px 16px 0; }
#zjzt-list .item-card h3 { font-size: 17px; font-weight: 600; }
.fav-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px;
  background: var(--card); border-radius: var(--radius);
  margin: 0 16px 8px; cursor: pointer; transition: all 0.15s;
}
.fav-item:active { background: var(--primary-light); transform: scale(0.99); }
.fav-item.selected { background: var(--primary-light); }
.fav-check { width: 14px; height: 14px; accent-color: var(--primary); cursor: pointer; margin: 0; }
.fav-check-wrap {
  display: flex; align-items: center;
  margin-top: 11px; flex-shrink: 0; cursor: pointer; position: relative;
}
.fav-check-wrap::before {
  content: ''; position: absolute;
  top: -13px; left: -8px; right: -8px; bottom: -13px;
}
.fav-item .fav-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.fav-body { flex: 1; min-width: 0; }
.fav-title { font-size: 17px; color: var(--text); line-height: 1.4; word-break: break-all; }
.fav-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; flex-wrap: nowrap; }
.fav-type-label {
  display: inline-block; padding: 1px 6px; border-radius: 4px;
  background: var(--primary-light); color: var(--primary); font-size: 13px;
}
.fav-meta > .fav-type-label { flex-shrink: 1; min-width: 0; }
.fav-meta > .fav-type-label:first-child { flex-shrink: 0; }
.fav-time { color: var(--text-muted); flex-shrink: 0; white-space: nowrap; }

/* 我的报名 */
.reg-item { cursor: pointer; }
.reg-item:active { background: var(--accent-light); transform: scale(0.99); }
.reg-item.selected { background: var(--accent-light); }
.reg-meta-line { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; }
.reg-status {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 13px; font-weight: 600; line-height: 1.5;
}
.reg-time { color: var(--text-muted); }
.reg-type-label {
  display: inline-block; padding: 1px 6px; border-radius: 4px;
  background: var(--accent-light); color: var(--accent); font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.reg-reply {
  margin-top: 8px; padding: 8px 10px; background: #F9FAFB; border-radius: 6px;
  font-size: 15px; color: var(--text-secondary); line-height: 1.5;
  border-left: 3px solid var(--primary);
}

/* 路演项目 */
.ldt-item { cursor: pointer; }
.ldt-item:active { background: var(--primary-light); transform: scale(0.99); }
.ldt-type-label {
  display: inline-block; padding: 1px 6px; border-radius: 4px;
  background: var(--primary-light); color: var(--primary); font-size: 13px;
}
.ldt-amount-label { font-size: 14px; color: var(--text-secondary); }
.ldt-status {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 13px; font-weight: 600; line-height: 1.5;
}
.ldt-more-wrap { position: relative; flex-shrink: 0; margin-left: 4px; }
.ldt-more-btn {
  background: none; border: none; font-size: 22px; line-height: 1;
  padding: 8px 4px; cursor: pointer; color: var(--text-muted);
  letter-spacing: 1px; position: relative;
}
.ldt-more-btn::before {
  content:''; position:absolute; top:50%; left:50%;
  width:40px; height:40px; transform:translate(-50%,-50%);
}
.ldt-action-menu {
  display: none; position: absolute; right: 0; top: 100%; z-index: 10;
  background: #fff; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  min-width: 120px; overflow: hidden;
}
.ldt-action-menu.active { display: block; }
.ldt-action-item {
  padding: 10px 16px; font-size: 16px; color: var(--text); cursor: pointer;
  transition: background .15s; white-space: nowrap;
}
.ldt-action-item:active { background: var(--bg); }
.ldt-action-danger { color: #DC2626; }
.ldt-center-review {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 13px; font-weight: 600; line-height: 1.5; flex-shrink: 0;
}
.ldt-more-inline { position: relative; display:inline-block; }
.ldt-more-inline .ldt-more-btn {
  background:none; border:none; font-size:20px; cursor:pointer;
  color:var(--text-muted); padding:2px 6px; line-height:1;
}
.reg-reply-label { font-weight: 600; color: var(--text); }
.reg-reply-time { display: block; margin-top: 4px; font-size: 13px; color: var(--text-muted); }

/* ==============================================================
   password.php – 修改密码
   ============================================================== */
.password-page .content { padding:20px; }
.password-form-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.password-page .skip-btn {
  display:block; text-align:center; margin-top:16px;
  font-size:16px; color:var(--primary); text-decoration:none; cursor:pointer;
}

/* ==============================================================
   settings.php – 编辑资料
   ============================================================== */
body { background: var(--bg); }
.settings-content { padding-top: 16px; }
.settings-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; margin-bottom: 12px;
}
.settings-card:last-child { margin-bottom: 0; }
.card-title {
  font-size: 17px; font-weight: 600; color: var(--text);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.card-title .badge { font-size: 13px; color: var(--text-muted); font-weight: 400; }

/* Progress Bar */
.progress-card {
  background: linear-gradient(135deg, #EDF4FD, #E0EEFF);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
}
.progress-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.progress-title { font-size: 16px; font-weight: 600; color: var(--primary); }
.progress-pct { font-size: 15px; font-weight: 700; color: var(--primary); }
.progress-bar-bg {
  height: 6px; background: rgba(26,109,212,0.15); border-radius: 3px; overflow: hidden;
}
.progress-bar-fill {
  height: 100%; background: var(--primary); border-radius: 3px;
  transition: width 0.4s ease;
}
.progress-hint { font-size: 14px; color: var(--text-secondary); margin-top: 8px; line-height: 1.4; }
.progress-hint a { color: var(--primary); text-decoration: none; font-weight: 500; }

/* Avatar */
.avatar-upload {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.avatar-preview {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  background: var(--bg); flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border);
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-preview .placeholder {
  width: 100%; height: 100%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: #fff;
}
.avatar-info { flex: 1; }
.avatar-info .hint { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.avatar-btn {
  display: inline-block; padding: 8px 16px; border-radius: 8px;
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 500;
  cursor: pointer; border: none; transition: opacity 0.15s;
}
.avatar-btn:active { opacity: 0.8; }
.avatar-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.avatar-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.avatar-btn-secondary { background: var(--bg); color: var(--text-secondary); border: 1px solid var(--border); }
.avatar-btn-secondary:active { background: var(--border); }

/* Form */
.form-group { margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  display: block; font-size: 15px; font-weight: 600; color: var(--text);
  margin-bottom: 6px;
}
.form-group label { cursor: default; }
.form-group .gender-option { cursor: pointer; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 16px; font-family: inherit;
  background: var(--card); color: var(--text); transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); outline: none;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

/* Gender toggle */
.gender-toggle { display: flex; gap: 10px; }
.gender-option {
  flex: 1; padding: 10px; text-align: center; border-radius: 8px;
  border: 1.5px solid var(--border); font-size: 16px; font-weight: 500;
  cursor: pointer; transition: all 0.15s; background: var(--card); color: var(--text-secondary);
  user-select: none;
}
.gender-option.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.gender-option:active { transform: scale(0.97); }
.gender-radio { display: none; }

/* Cert upload */
.cert-upload {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.cert-preview {
  width: 80px; height: 80px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); flex-shrink: 0;
}
.cert-preview img { width: 100%; height: 100%; object-fit: cover; }
.cert-btn {
  padding: 8px 16px; border-radius: 8px; background: var(--primary-light);
  color: var(--primary); font-size: 15px; font-weight: 500; cursor: pointer;
  border: 1px dashed var(--primary); transition: all 0.15s;
}
.cert-btn:active { background: var(--primary); color: #fff; }
.cert-hint { font-size: 14px; color: var(--text-muted); width: 100%; }
.cert-grid { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.cert-thumb { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); flex-shrink: 0; }
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.cert-del { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; line-height: 18px; text-align: center; border-radius: 50%; background: rgba(0,0,0,0.6); color: #fff; font-size: 14px; border: none; cursor: pointer; }
.cert-add-btn { width: 84px; height: 84px; border: 1px dashed #ccc; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #999; cursor: pointer; }
.cert-add-btn:active { background: var(--bg); }

/* Region select row */
.region-row { display: flex; gap: 10px; }
.region-row select,
.region-row input { flex: 1; min-width: 0; }

/* Submit bar */
.submit-bar {
  position: sticky; bottom: calc(var(--tab-height) + var(--safe-bottom)); padding: 12px 16px 16px;
  background: var(--bg);
}
.submit-bar .submit-btn { width: 100%; }

/* ---- 用户资料页 ---- */
.user-profile {
  margin: 20px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.user-profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
}
.user-profile-head .profile-avatar {
  width: 72px; height: 72px; font-size: 28px;
}
.user-profile-info { flex: 1; min-width: 0; }
.user-profile-info h2 {
  font-size: 22px; font-weight: 700; color: var(--text);
  margin: 0 0 4px;
}
.user-profile-class {
  font-size: 15px; color: var(--text-secondary);
  margin: 0; line-height: 1.4;
}
.user-profile-bio {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.user-profile-bio-label {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 6px;
}
.user-profile-bio p {
  font-size: 15px; color: var(--text);
  margin: 0; line-height: 1.6; word-break: break-word;
}
.user-profile-contact {
  flex: none;
  width: 100%;
}
.user-profile-occ {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.user-profile-occ-lock {
  display: flex; align-items: center; gap: 8px;
  padding: 14px; border-radius: 8px;
  background: var(--bg); border: 1px dashed var(--border);
  font-size: 14px; color: var(--text-secondary); text-align: center;
  justify-content: center; line-height: 1.5;
}
.occ-lock-icon { font-size: 16px; }
.user-profile-occ-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px;
}
.occ-item {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 15px;
}
.occ-label {
  flex: none; width: 72px; font-size: 13px; color: var(--text-secondary);
}
.occ-value {
  flex: 1; color: var(--text); word-break: break-word;
}

/* ==============================================================
   后台管理九宫格（center.php）
   ============================================================== */
.admin-grid-card {
  margin: 16px 20px 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-bottom: 12px;
}
.admin-grid-title {
  font-size: 15px; font-weight: 600; color: var(--text);
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-grid-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  margin-right: -4px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background .15s;
}
.admin-grid-refresh:active { background: var(--bg); color: var(--text); }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 8px 8px;
}
.admin-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 4px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background .15s;
}
.admin-grid-item:active { background: var(--bg); }
.admin-grid-icon {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: var(--primary-light);
}
.admin-badge {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
  border: none;
  box-shadow: 0 0 0 2px #fff;
}
.admin-grid-label {
  font-size: 13px; color: var(--text-secondary);
}

/* ==============================================================
   admincen/perm.php – 权限管理
   ============================================================== */
.perm-page.content { padding: 16px 0; }
.perm-empty {
  margin: 20px;
  padding: 40px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.perm-card {
  margin: 0 20px 12px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.perm-card:last-child { margin-bottom: 0; }
.perm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  transition: background .15s;
}
.perm-head:active { background: var(--bg); }
.perm-head.open { background: var(--bg); }
.perm-user { flex: 1; min-width: 0; }
.perm-name { font-size: 16px; font-weight: 600; color: var(--text); }
.perm-phone { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }
.perm-status-off {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  border-radius: 4px; background: #FEE2E2; color: #DC2626; font-size: 12px;
}
.perm-self {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  border-radius: 4px; background: var(--primary-light); color: var(--primary); font-size: 12px;
}
.perm-right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.perm-count { font-size: 13px; color: var(--text-muted); }
.perm-arrow {
  font-size: 18px; color: var(--text-muted);
  transition: transform .15s;
}
.perm-head.open .perm-arrow { transform: rotate(90deg); }
.perm-body {
  display: none;
  border-top: 1px solid var(--border);
  padding: 14px 16px 16px;
}
.perm-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
}
.perm-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
}
.perm-check input {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  margin: 0;
  flex-shrink: 0;
}
.perm-check input:disabled { cursor: not-allowed; }
.perm-check:has(input:disabled) { color: var(--text-muted); cursor: not-allowed; }
.perm-save {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .15s;
}
.perm-save:active { opacity: 0.85; }
.perm-tip {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px dashed var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

/*
   admincen/avatar_audit.php – 头像审核
*/
.avt-page.content { padding: 12px 16px; }
.avt-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.avt-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin-bottom: 12px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.avt-card:last-child { margin-bottom: 0; }
.avt-card.selected { background: var(--bg); }
.cm-card,
.ld-card,
.hd-card,
.qych-card,
.gxq-card,
.zjzt-card,
.ggl-card,
.av-card {
  transition: all 0.2s;
  cursor: pointer;
}
.cm-card:active,
.ld-card:active,
.hd-card:active,
.qych-card:active,
.gxq-card:active,
.zjzt-card:active,
.ggl-card:active,
.av-card:active { transform: scale(0.98); }
.avt-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
  text-decoration: none;
}
.avt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avt-info { flex: 1; min-width: 0; }
.avt-name { font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; }
.avt-phone { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }
.avt-time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.batch-success { color: #10b981; border-color: #10b981; }
.avt-loadmore {
  padding: 14px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/*
   admincen/user.php – 用户管理
*/
.user-page.content { padding: 12px 16px; }
.user-page .filter-bar { margin: 0 0 12px; }
.user-card {
  padding: 12px;
  margin-bottom: 12px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s;
  cursor: pointer;
}
.user-card:active { transform: scale(0.98); }
.user-card:last-child { margin-bottom: 0; }
.user-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, hsl(210, 70%, 55%), hsl(250, 65%, 65%));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-head { flex: 1; min-width: 0; }
.user-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.user-disabled {
  font-size: 11px;
  color: #fff;
  background: #EF4444;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 500;
}
.user-phone { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.user-body { margin-top: 10px; }
.user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.user-tag {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 10px;
}
.user-line {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 5px;
  line-height: 1.5;
}
.user-cert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.user-cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.user-cert-grid img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  cursor: zoom-in;
}




/* 活动二维码小图标 */
.qr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 14px;
  background: #F0FDF4;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.qr-badge:active {
  transform: scale(0.92);
}

/* 活动二维码小图(卡片内) */
.qr-thumb {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  flex-shrink: 0;
}
.qr-thumb img {
  width: 40px;
  height: 40px;
  display: block;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}
.qr-thumb span {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1;
}
.qr-thumb:active img {
  transform: scale(0.92);
}

/* 后台卡片二维码小图(无文字) */
.qr-badge-img {
  display: inline-flex;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-shrink: 0;
}
.qr-badge-img {
  display: inline-flex;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-shrink: 0;
}
.qr-badge-img img {
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}
.qr-badge-img:active img {
  transform: scale(0.92);
}

/* 报名管理页：顶部分析行 */
.reg-stat-bar {
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 0 16px 10px;
  box-shadow: var(--shadow);
  text-align: center;
}
.reg-stat-bar b {
  color: var(--primary);
  font-weight: 700;
}
/* 报名人卡片：历史记录按钮 */
.reg-history-btn {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(26, 109, 212, 0.45);
  border-radius: 6px;
  padding: 3px 8px;
  margin-left: 8px;
  cursor: pointer;
  line-height: 1.4;
}
.reg-history-btn:active {
  opacity: 0.8;
}

/* ---- 活动列表照片：分割线（会员中心 & 后台共用） ---- */
.act-photo-divider { width: 100%; height: 1px; background: var(--border); margin: 4px 0; }
.module-lydt .act-photo-divider { width: calc(100% - 32px); }
/* 报名入口 chip */
.module-lydt .item-card .reg-link,
.ld-card .reg-link,
.hd-card .reg-link,
.qych-card .reg-link,
.gxq-card .reg-link,
.zjzt-card .reg-link,
.user-card .reg-link,
.cm-card .reg-link,
.av-card .reg-link {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(26, 109, 212, 0.45);
  text-decoration: none;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
}
.module-lydt .item-card .reg-link.off {
  background: var(--bg);
  color: var(--text-secondary);
  border-color: var(--border);
  cursor: default;
}
