:root {
  --bg: #f0f3f8;
  --panel: #ffffff;
  --side: #eef2f8;
  --side-text: #5f6b7c;
  --side-title: #1f2a37;
  --side-active: #2f6bff;
  --side-active-bg: #2f6bff;
  --primary: #2f6bff;
  --primary-soft: #e8f0ff;
  --text: #1f2a37;
  --muted: #8b95a7;
  --border: #e4e9f2;
  --danger: #e04b4b;
  --ok: #1a9a5c;
  --warn: #b8860b;
  --shadow: 0 8px 28px rgba(31, 56, 100, 0.06);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body {
  display: flex;
  min-height: 100%;
}

.sidebar {
  width: 232px;
  flex: none;
  background: var(--side);
  color: var(--side-title);
  display: flex;
  flex-direction: column;
  padding: 14px 10px 12px;
  border-right: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 18px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  background: transparent;
  flex: none;
}

.brand-name { font-weight: 700; font-size: 16px; color: var(--side-title); letter-spacing: 0.02em; }
.brand-sub { font-size: 12px; color: var(--side-text); margin-top: 2px; }

.nav { overflow: auto; flex: 1; padding: 0 4px 8px; }
.nav-group { margin-bottom: 4px; }
.nav-group-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--side-title);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.nav-group-head:hover { background: rgba(47, 107, 255, 0.06); }
.nav-group.active-group .nav-group-head {
  color: var(--side-active);
  background: rgba(47, 107, 255, 0.1);
}
.nav-group-ico {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-flex;
  color: inherit;
}
.nav-group-ico svg {
  width: 18px;
  height: 18px;
  display: block;
}
.nav-group-title {
  flex: 1;
  text-align: left;
  min-width: 0;
}
.nav-group-caret {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.5;
  transition: transform 0.15s ease;
  flex: none;
  margin-top: -3px;
}
.nav-group.open .nav-group-caret {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.nav-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2px;
  row-gap: 2px;
  padding: 2px 4px 10px 10px;
  align-items: start;
}
.nav-group.cols-1 .nav-sub-grid {
  grid-template-columns: 1fr;
}
.nav-group.collapsed .nav-sub-grid {
  display: none;
}
.nav-item {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--side-text);
  padding: 8px 8px 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
  position: relative;
  box-sizing: border-box;
}
.nav-group.cols-1 .nav-item {
  padding-left: 28px;
}
.nav-item-text {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding-right: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.nav-badge {
  position: absolute;
  top: 2px;
  right: 4px;
  z-index: 2;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f5222d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 1.5px #1a1f2e;
  pointer-events: none;
  box-sizing: border-box;
}
.nav-item:hover { background: rgba(47, 107, 255, 0.08); color: var(--side-title); }
.nav-item.active {
  background: var(--side-active-bg);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(47, 107, 255, 0.28);
}
.nav-item.active .nav-badge {
  box-shadow: 0 0 0 1.5px #2f6bff;
}

.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 420px at 70% -10%, rgba(47, 107, 255, 0.07), transparent 60%),
    var(--bg);
}

.topbar {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px) 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.top-search {
  grid-column: 2;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 999px;
  background: #e6ebf4;
  border: 1.5px solid #9aabc2;
  box-shadow: inset 0 1px 2px rgba(40, 60, 90, 0.06);
}
.top-search:focus-within {
  border-color: #2f6bff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.14);
}
.top-search-ico {
  width: 16px;
  height: 16px;
  flex: none;
  border: 2px solid #5f6f86;
  border-radius: 50%;
  position: relative;
}
.top-search-ico::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 2px;
  background: #5f6f86;
  right: -4px;
  bottom: -1px;
  transform: rotate(40deg);
  border-radius: 2px;
}
.top-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  height: 100%;
}
.top-search-input::placeholder { color: #6b7a90; }

.topbar-right {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: none;
}

.top-bell {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f4f6fb;
  color: #607089;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.top-bell:hover { background: #eaf0ff; color: var(--primary); }

/* 顶部图标按钮（特权席位等轻量入口，区别于红点铃铛） */
.top-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  margin-right: 8px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #4a4f63;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.top-icon-btn svg { flex: none; }
.top-icon-btn:hover {
  background: #eaf0ff;
  color: var(--primary);
  border-color: rgba(77, 81, 231, 0.25);
}
.top-icon-btn.on {
  background: #eaf0ff;
  color: var(--primary);
  border-color: rgba(77, 81, 231, 0.35);
}
.top-icon-text {
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}
.top-bell-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f5222d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

.admin-menu { position: relative; }
.admin-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px 6px 4px 4px;
  border-radius: 999px;
}
.admin-trigger:hover { background: #f4f6fb; }
.admin-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #e8eef8;
}
.admin-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.admin-caret {
  width: 6px;
  height: 6px;
  border-right: 1.6px solid #8b95a7;
  border-bottom: 1.6px solid #8b95a7;
  transform: rotate(45deg);
  margin-top: -3px;
  margin-right: 4px;
}
.admin-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 40;
}
.admin-dropdown button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}
.admin-dropdown button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px 0;
}
.page-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.page-desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding-top: 6px;
  white-space: nowrap;
}

.content {
  padding: 16px 28px 40px;
  overflow: auto;
  flex: 1;
}

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}

.input, .select, textarea {
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
textarea {
  height: auto;
  min-height: 80px;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}
.input:focus, .select:focus, textarea:focus {
  border-color: #9cbcff;
  box-shadow: 0 0 0 3px rgba(47,107,255,0.12);
}

.btn {
  height: 36px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn.ghost {
  background: #fff;
  color: var(--primary);
  border: 1px solid #c7d8ff;
}
.btn.danger { background: var(--danger); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12px; }

.card {
  background: var(--panel);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(228, 233, 242, 0.9);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
th {
  background: #f7f9fc;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
tr:last-child td { border-bottom: 0; }
/* 勿对 td 设 display:flex，否则表格分隔线会断在操作列 */
td.ops {
  white-space: normal;
}
td.ops > .btn,
td.ops > button {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 2px 6px 2px 0;
}
.btn-detail {
  position: relative;
  overflow: visible;
}
.btn-detail.has-dot {
  margin-right: 4px;
}
.btn-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5222d;
  box-shadow: 0 0 0 1.5px #fff;
  pointer-events: none;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}
.tag.ok { background: #e8f8f0; color: var(--ok); }
.tag.warn { background: #fff8e8; color: var(--warn); }
.tag.off { background: #f2f2f5; color: #888; }
.tag.danger { background: #fdeeee; color: var(--danger); }

.empty {
  padding: 48px;
  text-align: center;
  color: var(--muted);
}

.nav-item.locked {
  opacity: 0.55;
}
.nav-item.locked .nav-item-text {
  color: #9aa3b5;
}
.nav-lock {
  display: none;
}
.blur-gate {
  position: relative;
  min-height: 520px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e7ebf3;
  background: #fff;
}
.blur-gate-bg {
  filter: blur(9px);
  transform: scale(1.02);
  pointer-events: none;
  user-select: none;
  padding: 16px;
  opacity: 0.85;
}
.blur-gate-bg .toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.blur-gate-bg .chip {
  height: 28px;
  min-width: 64px;
  border-radius: 8px;
  background: #eef2f8;
}
.blur-gate-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(248, 250, 255, 0.28);
  backdrop-filter: blur(1px);
  padding: 24px;
}
.blur-gate-card {
  width: min(440px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e3e8f2;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(30, 40, 80, 0.12);
  padding: 22px 22px 18px;
  text-align: center;
}
.blur-gate-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2a44;
}
.blur-gate-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #667085;
}
.blur-gate-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.access-card .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.access-groups {
  display: grid;
  gap: 14px;
}
.access-group-title {
  font-weight: 600;
  margin-bottom: 8px;
}
.access-checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.access-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e7ebf3;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.access-check.granted {
  background: #f3fbf7;
  border-color: #cdeadc;
  color: #2f6b4f;
  cursor: default;
}
.access-note {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}
.access-note textarea {
  width: 100%;
  border: 1px solid #e7ebf3;
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
  font: inherit;
}
.muted {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 40, 0.4);
  display: grid;
  place-items: center;
  z-index: 50;
  padding: 20px;
}
.modal-mask[hidden] { display: none; }
.modal {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}
.modal.modal-wide {
  width: min(920px, 100%);
}
.modal.modal-subscribe-preview .modal-body {
  max-height: 72vh;
}
.subscribe-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.subscribe-modal-form {
  min-width: 0;
}
.subscribe-preview-wrap {
  position: sticky;
  top: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  border-left: 1px dashed var(--border);
  padding-left: 18px;
}
.subscribe-preview-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.subscribe-preview {
  background: #2f3033;
  color: #fff;
  border-radius: 12px;
  padding: 16px 18px 14px;
  font-size: 14px;
  line-height: 1.5;
}
.subscribe-preview .sp-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}
.subscribe-preview .sp-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}
.subscribe-preview .sp-row:last-child { margin-bottom: 0; }
.subscribe-preview .sp-k {
  flex: none;
  width: 5.5em;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}
.subscribe-preview .sp-v {
  flex: 1;
  min-width: 0;
  color: #fff;
  word-break: break-all;
}
@media (max-width: 820px) {
  .subscribe-modal-layout {
    grid-template-columns: 1fr;
  }
  .subscribe-preview-wrap {
    border-left: 0;
    border-top: 1px dashed var(--border);
    padding-left: 0;
    padding-top: 14px;
    position: static;
  }
}
.modal-head, .modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.modal-foot {
  border-bottom: 0;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 8px;
}
.modal-head h3 { margin: 0; font-size: 16px; }
.modal-body { padding: 18px; max-height: 60vh; overflow: auto; }
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-row .input, .form-row .select { width: 100%; }
.icon-btn {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f1b2e;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 80;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.toast[hidden] { display: none; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}
.detail-item {
  background: #faf8fc;
  border-radius: 12px;
  padding: 12px 14px;
}
.detail-item .k { font-size: 12px; color: var(--muted); }
.detail-item .v { margin-top: 6px; font-size: 15px; font-weight: 600; }

.recruit-detail-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.recruit-detail-photo {
  flex: none;
  width: 220px;
}
.recruit-detail-photo img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f3f0f8;
  display: block;
}
tr.row-active td {
  background: rgba(77, 81, 231, 0.08);
}
.appeal-shots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.appeal-shot {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f3f0f8;
  display: block;
}

.proof-mini {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border);
  vertical-align: middle;
}

.pager {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.pager-info { margin-right: 4px; }
.pager .btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.avatar-mini {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border);
  vertical-align: middle;
  background: #ececf3;
  content-visibility: auto;
}

.avatar-click {
  cursor: pointer;
}
.avatar-click:hover {
  outline: 2px solid #9b86f5;
  outline-offset: 1px;
}

.avatar-fallback {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d8ceff, #9b86f5);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.avatar-fallback.lg {
  width: 64px;
  height: 64px;
  font-size: 22px;
}

.avatar-detail {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #ececf3;
}

.avatar-detail-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rank-anchor {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rank-col-active {
  background: rgba(77, 81, 231, 0.08);
  color: #4d51e7;
}
th.rank-col-active {
  background: rgba(77, 81, 231, 0.12);
  color: #4d51e7;
}

.rank-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  vertical-align: middle;
  line-height: 0;
}
.rank-medal img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}
.rank-plain {
  display: inline-block;
  min-width: 28px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.proof-block {
  padding: 0 18px 18px;
}

.proof-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.proof-large {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
  background: #f6f4fa;
  border: 1px solid var(--border);
  cursor: zoom-in;
}

.proof-block .hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.check-label input {
  width: 16px;
  height: 16px;
}

.anchor-pick {
  display: flex;
  gap: 10px;
  align-items: center;
}
.anchor-pick .select {
  flex: 1;
  min-width: 0;
}
.anchor-pick .input {
  width: 180px;
  flex: none;
}

.image-upload .image-preview {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f6f4fa;
  display: block;
  margin-bottom: 10px;
}
.image-upload .image-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.image-upload .image-pick {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.image-upload .hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.product-cover {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f6f4fa;
  vertical-align: middle;
}

.rank-range-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-range-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.rank-range-label {
  width: 64px;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: #344054;
}

.rank-range-row label {
  font-size: 13px;
  color: #667085;
}

.rank-range-row .input[type='date'] {
  width: 150px;
}

.rank-board-card {
  margin-bottom: 14px;
  padding: 18px 20px;
}

.rank-board-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #1f2a44;
  margin-bottom: 14px;
}

.rank-info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #c5cedd;
  color: #7b879c;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  user-select: none;
}

.rank-board-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px 24px;
  flex-wrap: wrap;
}

.rank-board-left {
  flex: 1 1 420px;
  min-width: 0;
}

.rank-board-save {
  margin-top: 14px;
}

.rank-board-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 360px;
  padding-top: 2px;
}

.rank-board-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.rank-board-actions .btn-ico {
  width: 14px;
  height: 14px;
  flex: none;
  display: block;
}

.rank-range-hint[hidden] {
  display: none !important;
}

.modal.modal-banner-preview,
.modal.modal-recruit-preview {
  width: min(430px, 100%);
}

.banner-preview-wrap {
  padding: 2px 0 6px;
}

.banner-preview-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef3ff;
  border: 1px solid #c9d7ff;
}

.banner-preview-callout-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: #4d6bff;
  box-shadow: 0 0 0 4px rgba(77, 107, 255, 0.18);
}

.banner-preview-callout-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.banner-preview-callout-text strong {
  font-size: 13px;
  color: #24356b;
}

.banner-preview-callout-text span {
  font-size: 12px;
  color: #6677a8;
  line-height: 1.45;
}

.banner-preview-phone {
  max-width: 360px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef4ff 0%, #f7f9fd 42%, #ffffff 100%);
  border: 1px solid #d8e2f5;
  box-shadow: 0 16px 40px rgba(40, 70, 150, 0.14);
}

.banner-preview-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 2px;
  font-size: 11px;
  color: #1a2140;
  font-weight: 600;
}

.banner-preview-capsule {
  width: 78px;
  height: 22px;
  border-radius: 999px;
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.banner-preview-nav {
  padding: 6px 14px 10px;
}

.banner-preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-preview-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6ea0ff, #4d51e7);
  box-shadow: 0 2px 8px rgba(77, 81, 231, 0.28);
}

.banner-preview-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a2140;
  line-height: 1.2;
}

.banner-preview-brand-sub {
  font-size: 10px;
  color: #8b91a8;
  line-height: 1.2;
}

.banner-preview-home {
  padding: 0 12px 14px;
}

.banner-preview-zone {
  position: relative;
  padding: 8px;
  border-radius: 16px;
  border: 2px dashed #4d6bff;
  background: rgba(77, 107, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(77, 107, 255, 0.08);
}

.banner-preview-zone-label {
  position: absolute;
  top: -11px;
  left: 12px;
  z-index: 6;
  padding: 2px 10px;
  border-radius: 999px;
  background: #4d6bff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(77, 107, 255, 0.35);
}

.banner-preview-hero {
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 8px 22px rgba(45, 80, 220, 0.22);
}

.banner-preview-glow {
  position: absolute;
  right: -40px;
  top: -60px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 200, 255, 0.55), rgba(70, 90, 220, 0.08) 55%, transparent 70%);
  pointer-events: none;
}

.banner-preview-copy {
  position: relative;
  z-index: 2;
  padding: 14px 0 0 14px;
  width: 62%;
}

.banner-preview-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.3;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.banner-preview-title {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.banner-preview-desc {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
}

.banner-preview-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 10px;
}

.banner-preview-point {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.banner-preview-check {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

.banner-preview-check::after {
  content: "";
  position: absolute;
  left: 2.5px;
  top: 0.5px;
  width: 2.5px;
  height: 5px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.banner-preview-visual {
  position: absolute;
  right: 14px;
  top: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.95;
}

.banner-preview-mic {
  width: 55px;
  height: 75px;
  position: relative;
  transform: rotate(14deg);
}

.banner-preview-mic-head {
  width: 34px;
  height: 45px;
  margin: 0 auto;
  border-radius: 17px;
  background: linear-gradient(160deg, #b8f4ff, #5eb4ff 40%, #3b5bff 85%);
  border: 3px solid rgba(210, 245, 255, 0.9);
  box-shadow: 0 0 14px rgba(100, 200, 255, 0.55), inset 0 0 8px rgba(255, 255, 255, 0.25);
  box-sizing: border-box;
}

.banner-preview-mic-neck {
  width: 9px;
  height: 12px;
  margin: -1px auto 0;
  background: linear-gradient(#c9d7ff, #7a8ad8);
  border-radius: 0 0 2px 2px;
}

.banner-preview-mic-stand {
  width: 33px;
  height: 5px;
  margin: 2px auto 0;
  border-radius: 4px;
  background: rgba(200, 220, 255, 0.55);
}

.banner-preview-caption {
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 9px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.banner-preview-btn {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 20px;
  padding: 6px 14px;
  color: #3d5afe;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(30, 40, 120, 0.18);
}

.banner-preview-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}

.banner-preview-dots span {
  width: 6px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
}

.banner-preview-dots span.on {
  width: 14px;
  background: #fff;
}

.banner-preview-rest {
  margin-top: 12px;
  opacity: 0.55;
  filter: grayscale(0.15);
}

.banner-preview-quick {
  display: flex;
  background: #fff;
  border-radius: 14px;
  padding: 12px 6px;
  box-shadow: 0 4px 14px rgba(26, 42, 90, 0.05);
}

.banner-preview-quick > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #50556c;
}

.banner-preview-quick i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffc6d1, #e68a9d);
  display: block;
}

.banner-preview-quick i.b {
  background: linear-gradient(145deg, #a8c8ff, #5b8adf);
}

.banner-preview-quick i.p {
  background: linear-gradient(145deg, #d2c4ff, #8a6cf0);
}

.banner-preview-quick i.o {
  background: linear-gradient(145deg, #ffd0ae, #f08a4b);
}

.banner-preview-fade {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  color: #9aa3bd;
}

/* ===================== 招募卡片预览：完整小程序首页 ===================== */
.modal.modal-recruit-preview {
  width: min(420px, 100%);
}
.modal.modal-recruit-home-edit {
  width: min(980px, 100%);
}
.modal.modal-recruit-home-edit .modal-body {
  max-height: 78vh;
}
.recruit-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}
.recruit-edit-form { min-width: 0; }
.recruit-edit-preview {
  border-left: 1px dashed var(--border);
  padding-left: 16px;
  position: sticky;
  top: 0;
}
@media (max-width: 900px) {
  .recruit-edit-layout { grid-template-columns: 1fr; }
  .recruit-edit-preview {
    border-left: 0;
    border-top: 1px dashed var(--border);
    padding-left: 0;
    padding-top: 14px;
    position: static;
  }
}

.recruit-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.recruit-preview-callout { width: 100%; }

.hp-phone {
  width: 320px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef4ff 0%, #f5f8fd 38%, #ffffff 100%);
  border: 1px solid #d8e2f5;
  box-shadow: 0 16px 40px rgba(40, 70, 150, 0.14);
}
.hp-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 2px;
  font-size: 11px;
  color: #1a2140;
  font-weight: 600;
}
.hp-capsule {
  width: 78px;
  height: 22px;
  border-radius: 999px;
  background: #111;
}
.hp-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 8px;
}
.hp-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  background: #111;
}
.hp-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a2140;
  line-height: 1.2;
}
.hp-brand-sub {
  font-size: 10px;
  color: #8b91a8;
  line-height: 1.2;
}
.hp-scroll {
  padding: 0 12px 10px;
  max-height: 520px;
  overflow: auto;
}
.hp-banner {
  position: relative;
  height: 118px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, #0f2a4a, #1a5a8a 50%, #2d6bb8);
  box-shadow: 0 8px 18px rgba(45, 80, 220, 0.18);
}
.hp-banner-copy {
  position: relative;
  z-index: 2;
  padding: 12px 0 0 12px;
  width: 62%;
}
.hp-banner-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  border: 1px solid rgba(255,255,255,0.25);
}
.hp-banner-title {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}
.hp-banner-desc {
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.88;
}
.hp-banner-btn {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  background: #fff;
  color: #1a4fa0;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.hp-banner-mic {
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 34px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(180deg, #9fd0ff, #4d7dff);
  box-shadow: 0 8px 16px rgba(0,0,0,0.18);
  opacity: 0.9;
}
.hp-banner-mic::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: rgba(255,255,255,0.55);
}

.hp-quick {
  display: flex;
  margin-top: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 4px;
  box-shadow: 0 4px 14px rgba(26, 42, 90, 0.05);
}
.hp-quick > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #50556c;
}
.hp-quick i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: block;
}
.hp-quick i.q1 { background: linear-gradient(145deg, #ffc6d1, #e68a9d); }
.hp-quick i.q2 { background: linear-gradient(145deg, #a8c8ff, #5b8adf); }
.hp-quick i.q3 { background: linear-gradient(145deg, #b8f0c8, #4caf70); }
.hp-quick i.q4 { background: linear-gradient(145deg, #ffd0ae, #f08a4b); }

.hp-section { margin-top: 12px; }
.hp-section-head,
.hp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hp-section-title,
.hp-panel-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1a2140;
}
.hp-section-title i {
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: #4d6bff;
  display: block;
}
.hp-more {
  font-size: 11px;
  color: #8b91a8;
}
.hp-recruit-zone {
  position: relative;
  padding: 10px 8px 8px;
  border-radius: 14px;
  border: 2px dashed #ef4444;
  background: rgba(239, 68, 68, 0.05);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}
.hp-zone-label {
  position: absolute;
  top: -11px;
  left: 10px;
  z-index: 3;
  padding: 2px 10px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}
.hp-recruit-grid {
  display: flex;
  gap: 8px;
}
.hp-recruit-card {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 132px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  padding: 10px 8px;
  box-shadow: 0 6px 14px rgba(30, 60, 120, 0.12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hp-recruit-card.is-active {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ef4444, 0 10px 20px rgba(239, 68, 68, 0.25);
}
.hp-recruit-card.blue { background: linear-gradient(160deg, #5b8def, #2563eb); }
.hp-recruit-card.orange { background: linear-gradient(160deg, #fb923c, #ea580c); }
.hp-recruit-card.green { background: linear-gradient(160deg, #4ade80, #16a34a); }
.hp-recruit-blob {
  position: absolute;
  right: -18px;
  top: -22px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.hp-recruit-copy { position: relative; z-index: 1; }
.hp-recruit-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.hp-recruit-desc {
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.88;
  line-height: 1.35;
  min-height: 28px;
}
.hp-recruit-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 40, 90, 0.35);
  font-size: 10px;
  font-weight: 600;
}
.hp-recruit-card.orange .hp-recruit-btn { background: rgba(120, 40, 0, 0.35); }
.hp-recruit-card.green .hp-recruit-btn { background: rgba(10, 70, 30, 0.35); }
.hp-recruit-art {
  position: absolute;
  right: 6px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  opacity: 0.35;
  background: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.hp-recruit-art.person {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='black'/%3E%3Cpath d='M4 20c1.5-4 4-6 8-6s6.5 2 8 6' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='black'/%3E%3Cpath d='M4 20c1.5-4 4-6 8-6s6.5 2 8 6' fill='black'/%3E%3C/svg%3E");
  color: #fff;
  background: #fff;
}
.hp-recruit-art.bag {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 8h12l1 12H5L6 8zm3 0V6a3 3 0 016 0v2' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 8h12l1 12H5L6 8zm3 0V6a3 3 0 016 0v2' fill='black'/%3E%3C/svg%3E");
  color: #fff;
  background: #fff;
}
.hp-recruit-art.game {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='8' width='18' height='10' rx='4' fill='black'/%3E%3Ccircle cx='8' cy='13' r='1.5' fill='white'/%3E%3Ccircle cx='16' cy='12' r='1' fill='white'/%3E%3Ccircle cx='18' cy='14' r='1' fill='white'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='8' width='18' height='10' rx='4' fill='black'/%3E%3Ccircle cx='8' cy='13' r='1.5' fill='white'/%3E%3Ccircle cx='16' cy='12' r='1' fill='white'/%3E%3Ccircle cx='18' cy='14' r='1' fill='white'/%3E%3C/svg%3E");
  color: #fff;
  background: #fff;
}

.hp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.hp-panel {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(26, 42, 90, 0.05);
  min-width: 0;
}
.hp-panel-title img {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  object-fit: contain;
}
.hp-news-item,
.hp-rank-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #50556c;
  padding: 5px 0;
  border-top: 1px solid #f0f2f8;
}
.hp-news-item b,
.hp-rank-item b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1a2140;
  font-weight: 600;
}
.hp-news-item span,
.hp-rank-item em {
  color: #9aa3bd;
  font-style: normal;
  flex: none;
}
.hp-rank-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 2px;
}
.hp-rank-tabs span {
  font-size: 9px;
  color: #9aa3bd;
  padding: 2px 0;
}
.hp-rank-tabs span.on {
  color: #4d6bff;
  font-weight: 700;
  border-bottom: 2px solid #4d6bff;
}
.hp-crown {
  width: 12px;
  height: 12px;
  object-fit: contain;
  flex: none;
}
.hp-rank-item .av {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c7d2fe, #93c5fd);
  flex: none;
  display: block;
}
.hp-tabbar {
  display: flex;
  border-top: 1px solid #e8ecf5;
  background: #fff;
  padding: 6px 0 8px;
}
.hp-tabbar > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: #9aa3bd;
}
.hp-tabbar > div i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #d5dae8;
  display: block;
}
.hp-tabbar > div.on { color: #4d6bff; font-weight: 700; }
.hp-tabbar > div.on i { background: #4d6bff; }

/* 列表页缩略图 */
.recruit-thumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  min-height: 50px;
}
.recruit-thumb .recruit-preview-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.recruit-thumb .recruit-preview-title {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}
.recruit-thumb .recruit-preview-desc { display: none; }

.table-banner {
  border-collapse: collapse;
  width: 100%;
  table-layout: auto;
}

.table-banner th,
.table-banner td {
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.table-banner tr:last-child td {
  border-bottom: 0;
}

.table-banner td {
  vertical-align: middle;
}

.banner-thumb-cell {
  width: 280px;
  min-width: 260px;
  padding: 10px 12px !important;
  vertical-align: middle !important;
}

.banner-thumb-frame {
  width: 260px;
  max-width: 100%;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(40, 70, 150, 0.14);
  border: 1px solid rgba(200, 210, 230, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
}

.banner-thumb-frame:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(40, 70, 150, 0.2);
}

.banner-thumb {
  position: relative;
  height: 128px;
  padding: 12px 12px 10px;
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.banner-thumb-glow {
  position: absolute;
  right: -10px;
  top: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 200, 255, 0.45), rgba(70, 90, 220, 0.08) 55%, transparent 70%);
  pointer-events: none;
}

.banner-thumb-copy {
  position: relative;
  z-index: 1;
  max-width: 62%;
}

.banner-thumb-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 10px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.banner-thumb-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-thumb-desc {
  font-size: 10px;
  opacity: 0.88;
  line-height: 1.35;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-thumb-points {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.banner-thumb-point {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  opacity: 0.95;
}

.banner-thumb-check {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  position: relative;
  flex: none;
}

.banner-thumb-check::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 1px;
  width: 3px;
  height: 5px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.banner-thumb-visual {
  position: absolute;
  right: 14px;
  top: 22px;
  width: 54px;
  height: 70px;
  z-index: 1;
}

.banner-thumb-mic {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-thumb-mic-head {
  position: absolute;
  left: 50%;
  top: 0;
  width: 22px;
  height: 30px;
  margin-left: -11px;
  border-radius: 11px;
  background: linear-gradient(160deg, #b8f4ff, #5eb4ff 40%, #3b5bff 85%);
  box-shadow: 0 4px 12px rgba(20, 40, 120, 0.28);
}

.banner-thumb-mic-neck {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 6px;
  height: 16px;
  margin-left: -3px;
  border-radius: 3px;
  background: linear-gradient(#c9d7ff, #7a8ad8);
}

.banner-thumb-mic-stand {
  position: absolute;
  left: 50%;
  top: 42px;
  width: 28px;
  height: 6px;
  margin-left: -14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.banner-thumb-btn {
  position: absolute;
  left: 12px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2a3f8f;
  font-size: 10px;
  font-weight: 700;
}

.banner-thumb-dots {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 1;
}

.banner-thumb-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.banner-thumb-dots span.on {
  width: 12px;
  border-radius: 999px;
  background: #fff;
}

@media (max-width: 900px) {
  .sidebar { width: 220px; }
  .nav-sub-grid { padding-left: 8px; column-gap: 2px; }
  .detail-grid { grid-template-columns: 1fr; }
  .anchor-pick { flex-direction: column; align-items: stretch; }
  .anchor-pick .input { width: 100%; }
  .banner-thumb-cell { width: 220px; }
  .banner-thumb-frame { width: 200px; }
}

/* ===================== 管理后台 登录 / 注册页 ===================== */
.auth-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4vw;
  background: url('/tupian/1)-compressed (1).jpg') center center / cover no-repeat fixed;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  position: relative;
}
.auth-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,29,89,0.45) 0%, rgba(27,50,146,0.35) 46%, rgba(116,48,172,0.35) 100%);
  pointer-events: none;
  z-index: 0;
}
.auth-card { position: relative; z-index: 1; }
.auth-card {
  width: 380px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  padding: 32px 28px 22px;
  position: relative;
  animation: authFadeIn 0.3s ease;
}
@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.auth-logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: transparent;
}
.auth-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
}
.auth-sub {
  font-size: 12px;
  color: #8a8fa3;
  margin-top: 2px;
}
.auth-tabs {
  display: flex;
  gap: 4px;
  background: #f3f4fa;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 22px;
}
.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: #8a8fa3;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.auth-tab.active {
  background: #ffffff;
  color: var(--primary, #4d51e7);
  box-shadow: 0 2px 8px rgba(77, 81, 231, 0.08);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-form.hidden { display: none; }
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field > span {
  font-size: 12px;
  color: #4a4f63;
  font-weight: 500;
}
.auth-field input {
  height: 38px;
  border: 1px solid #e6e8f0;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-field input:focus {
  border-color: var(--primary, #4d51e7);
  box-shadow: 0 0 0 3px rgba(77, 81, 231, 0.12);
}
.auth-submit {
  height: 40px;
  border: none;
  border-radius: 8px;
  background: var(--primary, #4d51e7);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s, opacity 0.15s;
}
.auth-submit:hover { background: #3b3fce; }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-form.loading .auth-submit { opacity: 0.6; }
.auth-tip {
  text-align: center;
  font-size: 12px;
  color: #8a8fa3;
  margin-top: 6px;
}
.auth-tip a {
  color: var(--primary, #4d51e7);
  text-decoration: none;
  margin-left: 4px;
}
.auth-msg {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.auth-msg.error {
  background: #fff1f0;
  color: #c0392b;
}
.auth-msg.ok {
  background: #e8f7ee;
  color: #1a8540;
}
.auth-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  color: #b8bac8;
  letter-spacing: 0.5px;
}

/* 顶部下拉菜单 退出按钮危险色 */
.admin-dropdown .danger {
  color: #c0392b !important;
}
.admin-dropdown .danger:hover {
  background: #fff1f0 !important;
}

/* ���������ʾ�� */
.asset-update-banner {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #1f2937;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
.asset-update-banner .btn {
  background: #4d6bff;
  color: #fff;
  border: 0;
}
