*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pdd: #e02e24;
  --pdd-light: #fff0ef;
  --jd: #e4393c;
  --jd-light: #fff5f5;
  --tb: #ff5000;
  --tb-light: #fff3ed;
  --green: #10b981;
  --green-light: #ecfdf5;
  --blue: #3b82f6;
  --blue-light: #eff6ff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f0f2f5;
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


.nav-root {
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.nav-brand-name {
  font-weight: 700;
  color: var(--slate-800);
  font-size: 16px;
}
.nav-brand-host {
  font-size: 11px;
  color: var(--slate-400);
  display: block;
  line-height: 1;
}
.nav-list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  flex: 1;
}
.nav-link {
  text-decoration: none;
  color: var(--slate-500);
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all .2s;
}
.nav-link:hover, .nav-link.active { background: var(--slate-100); color: var(--slate-800); }


.container { max-width: 800px; margin: 0 auto; padding: 16px; }


.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}


.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-eyebrow { font-size: 12px; color: var(--slate-400); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.hero-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.gradient-title {
  background: linear-gradient(135deg, #f97316, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: 14px; color: var(--slate-500); margin-bottom: 16px; }


.page-home {
  min-height: 100vh;
  background:
    linear-gradient(165deg, #d9efff 0%, #eef6fc 28%, #f8fbff 55%, #ffffff 100%);
  position: relative;
}
.page-home::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}
.page-home .nav-root,
.page-home .home-main,
.page-home .footer {
  position: relative;
  z-index: 1;
}
.nav-root--home {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(226, 232, 240, 0.8);
}

.home-main {
  padding: 20px 16px 28px;
  max-width: 520px;
  margin: 0 auto;
}
.home-main-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-ad-card-host {
  margin: 0;
}

.home-ad-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 10px 28px rgba(15, 23, 42, 0.08);
  background: linear-gradient(145deg, #fffefb 0%, #fef7ed 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-ad-card--link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.06),
    0 14px 36px rgba(15, 23, 42, 0.12);
}

.home-ad-card--link:active {
  transform: translateY(0);
}

.home-ad-card--static {
  cursor: default;
}

.home-ad-card__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.home-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px 18px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.home-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.06),
    0 14px 36px rgba(15, 23, 42, 0.1);
}
.home-card:active {
  transform: translateY(0);
}

.home-card-edge {
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
}
.home-card-edge--pdd {
  background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%);
}
.home-card-edge--jd {
  background: linear-gradient(180deg, #ef4444 0%, #f97316 100%);
}
.home-card-edge--tb {
  background: linear-gradient(180deg, #ff6a00 0%, #fbbf24 100%);
}

.home-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.home-card-icon--pdd {
  background: linear-gradient(145deg, #dbeafe, #e0e7ff);
  color: #e02e24;
}
.home-card-icon--jd {
  background: linear-gradient(145deg, #ffe4e6, #fff1f2);
  color: #e4393c;
}
.home-card-icon--tb {
  background: linear-gradient(145deg, #ffedd5, #fff7ed);
  color: #ff5000;
}

.home-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-card-kicker {
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-400);
  letter-spacing: 0.02em;
}
.home-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-800);
  line-height: 1.25;
  margin: 0;
}
.home-card-desc {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.45;
  margin: 0;
}
.home-card-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.home-card-tag--pdd {
  background: #dbeafe;
  color: #1d4ed8;
}
.home-card-tag--jd {
  background: #fef9c3;
  color: #c2410c;
}
.home-card-tag--tb {
  background: #ffedd5;
  color: #9a3412;
}

.home-card-cta {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-400);
  white-space: nowrap;
  align-self: center;
}
.home-card:hover .home-card-cta {
  color: var(--slate-600);
}
.home-card--pdd .home-card-cta,
.home-card--jd .home-card-cta {
  color: #2563eb;
}
.home-card--pdd:hover .home-card-cta,
.home-card--jd:hover .home-card-cta {
  color: #1d4ed8;
}
.home-card--tb {
  background: linear-gradient(135deg, #ffffff 0%, #fffaf5 55%, #fff8f0 100%);
}
.home-card--tb .home-card-cta--tb {
  color: #ea580c;
}
.home-card--tb:hover .home-card-cta--tb {
  color: #c2410c;
}

.footer--home {
  padding-bottom: 28px;
  background: transparent;
}


.spot-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.spot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  text-decoration: none;
  background: #fff;
  border: 1.5px solid var(--slate-200);
  transition: all .2s;
}
.spot:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.spot-icon { font-size: 32px; flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.spot-body { flex: 1; min-width: 0; }
.spot-kicker { font-size: 11px; color: var(--slate-400); }
.spot-title { font-size: 15px; font-weight: 700; color: var(--slate-800); }
.spot-desc { font-size: 12px; color: var(--slate-500); }
.spot-arrow { font-size: 13px; color: var(--slate-400); white-space: nowrap; }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2563eb; }
.btn-danger { background: var(--pdd); color: #fff; }
.btn-danger:hover { background: #c02828; }
.btn-ghost { background: transparent; color: var(--slate-600); border: 1px solid var(--slate-200); }
.btn-ghost:hover { background: var(--slate-50); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-xs { padding: 4px 10px; font-size: 11px; border-radius: 6px; }


.input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--slate-50);
  transition: border .2s;
}
.input:focus { outline: none; border-color: var(--blue); background: #fff; }
.input::placeholder { color: var(--slate-300); }
textarea.input { resize: vertical; min-height: 80px; }


.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}
.tag-green { background: var(--green-light); color: #065f46; }
.tag-blue { background: var(--blue-light); color: #1e40af; }
.tag-red { background: var(--jd-light); color: #991b1b; }
.tag-orange { background: var(--tb-light); color: #9a3412; }


.cg-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--slate-800);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cg-toast.is-visible { opacity: 1; }


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] {
  display: none;
}
.modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.modal-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.modal-body { font-size: 13px; color: var(--slate-600); line-height: 1.6; margin-bottom: 16px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }

.tb-confirm-overlay {
  z-index: 235;
}
.tb-confirm-message {
  font-size: 15px;
  color: var(--slate-800);
  margin: 0 0 18px;
  line-height: 1.55;
}
.tb-confirm-actions,
.tb-amount-prompt-actions {
  gap: 12px;
  justify-content: stretch;
}
.tb-confirm-actions {
  margin-top: 0;
}
.tb-amount-prompt-actions {
  margin-top: 14px;
}
.tb-confirm-actions .btn,
.tb-amount-prompt-actions .btn {
  flex: 1;
  min-height: 48px;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 12px;
}

.tb-amount-prompt-overlay {
  z-index: 230;
}
.tb-amount-prompt-message {
  font-size: 14px;
  color: var(--slate-700);
  margin: 0 0 12px;
  line-height: 1.5;
}
.tb-amount-prompt-hint {
  font-size: 12px;
  color: var(--slate-500);
  margin: 8px 0 0;
  line-height: 1.45;
}
.tb-amount-prompt-input {
  width: 100%;
  box-sizing: border-box;
}

.code-list { list-style: none; }
.code-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 14px;
}
.code-item:last-child { border-bottom: none; }
.code-text { font-family: "SF Mono", "Menlo", monospace; font-size: 18px; font-weight: 700; letter-spacing: 2px; color: var(--slate-800); flex: 1; }
.code-meta { font-size: 11px; color: var(--slate-400); }


.team-list { list-style: none; }
.team-item {
  padding: 16px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  margin-bottom: 10px;
  background: #fafbff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.team-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.team-link { font-size: 13px; color: var(--slate-600); word-break: break-all; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-link-actions {
  display: flex;
  gap: 12px;
  margin: 10px 0 12px;
  align-items: stretch;
}
.team-my-link-btn {
  flex: 1;
  min-height: 50px;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  border: none;
  line-height: 1.2;
}
.team-my-link-btn--outline {
  background: #fff;
  border: 1px solid var(--slate-300);
  color: var(--slate-800);
}
.team-my-link-btn--outline:active {
  background: var(--slate-50);
}
.team-my-link-btn--fill {
  background: linear-gradient(180deg, #ff8833 0%, #ff6600 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 102, 0, 0.25);
}
.team-my-link-btn--fill:active {
  opacity: 0.92;
}
.team-progress { margin-bottom: 8px; }
.team-progress-bar {
  height: 6px;
  background: var(--slate-200);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}
.team-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #f97316, #ef4444);
  transition: width .3s;
}
.team-progress-info { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate-500); }
.team-members { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.team-member-item {
  background: var(--slate-100);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--slate-600);
}
.team-member-init { background: #fef3c7; color: #92400e; }
.team-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }


.team-item .team-actions {
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}
.team-item .team-actions .tb-my-card-btn {
  flex: 1 1 auto;
  min-width: min(100%, 104px);
  min-height: 46px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  box-sizing: border-box;
}
.team-item .team-actions .tb-my-card-btn:only-child {
  max-width: 220px;
}
.team-item .team-actions .tb-my-card-btn.btn-primary {
  box-shadow: 0 3px 14px rgba(37, 99, 235, 0.28);
  border: none;
}
.team-item .team-actions .tb-my-card-btn.btn-primary:active {
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}
.team-item .team-actions .tb-my-card-btn.btn-ghost {
  border-width: 1.5px;
  border-color: var(--slate-300);
  background: #fff;
}
.team-item .team-actions .tb-my-card-btn.btn-ghost:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}
.team-item .team-actions .tb-my-card-btn--report {
  color: #dc2626 !important;
  border-color: rgba(220, 38, 38, 0.35);
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}
.team-item .team-actions .tb-my-card-btn--report:hover {
  background: #fee2e2;
  border-color: rgba(220, 38, 38, 0.45);
}

.tb-my-refresh-btn {
  min-height: 42px;
  padding: 10px 18px !important;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 12px !important;
  border-width: 1.5px !important;
  border-color: var(--slate-300) !important;
  background: #fff;
}
.tb-my-refresh-btn:hover {
  background: var(--slate-50);
}

.team-kick-list {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team-kick-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--slate-600);
}
.team-kick-btn {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 600;
  border-radius: 10px !important;
  border-width: 1.5px !important;
  border-color: var(--slate-300) !important;
  background: #fff;
}

@media (max-width: 360px) {
  .team-item .team-actions .tb-my-card-btn {
    min-width: calc(50% - 5px);
    flex: 1 1 calc(50% - 5px);
  }
  .team-item .team-actions .tb-my-card-btn:only-child {
    max-width: none;
    flex: 1 1 100%;
  }
}


.tabs.tb-main-tabs {
  display: flex;
  gap: 0;
  padding: 4px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.tb-main-tabs .tb-main-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px;
  margin: 0;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  color: var(--slate-600);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.tb-main-tabs .tb-main-tab.active {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.12);
}
.tb-main-tab-badge {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff5000, #f97316);
  font-variant-numeric: tabular-nums;
}


.tb-hall-pane-card {
  padding-top: 14px;
}
.tb-hall-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  min-width: 0;
}
.tb-hall-toolbar-heading {
  margin: 0;
  flex-shrink: 0;
}
.tb-hall-filter-pills {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}
.tb-hall-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.tb-hall-toolbar-actions .tb-my-refresh-btn {
  padding-left: 12px !important;
  padding-right: 12px !important;
  font-size: 13px !important;
  min-height: 38px;
}
.tb-hall-filter-pill {
  border: 1px solid var(--slate-200);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-600);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.tb-hall-filter-pill.active {
  border-color: #fb923c;
  color: #ea580c;
  background: #fff7ed;
  font-weight: 600;
}
.tb-hall-filter-num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tb-join-panel-member-link-wrap {
  margin-top: 4px;
  margin-bottom: 14px;
}
.tb-hall-full-hint {
  font-size: 12px;
  color: var(--slate-500);
  margin: 0 0 10px;
  line-height: 1.45;
}
.tb-hall-full-hint[hidden] {
  display: none !important;
}
.tb-hall-cta-detail--muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-400);
  cursor: default;
  border-radius: 10px;
  border: 1px dashed var(--slate-200);
  background: var(--slate-50);
}


.footer {
  text-align: center;
  padding: 20px 16px;
  font-size: 12px;
  color: var(--slate-400);
}
.footer a { color: var(--slate-500); }


.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.section-title { font-size: 16px; font-weight: 700; }
.section-count { font-size: 13px; color: var(--slate-400); }
.empty-tip { text-align: center; color: var(--slate-400); font-size: 13px; padding: 20px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  border: 1px solid var(--slate-200);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.chip:hover { background: var(--slate-50); }
.chip.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}
.meta-label { color: var(--slate-500); white-space: nowrap; min-width: 70px; }

.desc-item { font-size: 13px; color: var(--slate-500); margin-bottom: 4px; }
.desc-item strong { color: var(--slate-700); }

.stats-row { display: flex; gap: 12px; margin-bottom: 8px; }
.stat-item { flex: 1; background: var(--slate-50); padding: 8px; border-radius: var(--radius-sm); text-align: center; }
.stat-num { font-size: 20px; font-weight: 700; }
.stat-lbl { font-size: 11px; color: var(--slate-400); }

input[type="number"]::-webkit-inner-spin-button { opacity: 1; }


.page-pdd {
  background: linear-gradient(180deg, #e8f1fc 0%, #eef4fb 35%, #f4f7fb 100%);
  min-height: 100vh;
}
.page-pdd .nav-root {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}
.pdd-shell {
  max-width: 520px;
  padding-bottom: 28px;
}

.pdd-stat-bar {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border-radius: 18px;
  padding: 18px 8px;
  margin-bottom: 12px;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
}
.pdd-stat-cell {
  flex: 1;
  text-align: center;
  color: #fff;
}
.pdd-stat-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.pdd-stat-label {
  font-size: 12px;
  opacity: 0.92;
  margin-top: 4px;
}
.pdd-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
  margin: 4px 0;
}

.pdd-btn-tutorial {
  width: 100%;
  padding: 11px 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(37, 99, 235, 0.45);
  background: #fff;
  color: #dc2626;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.pdd-btn-tutorial:active {
  transform: scale(0.99);
}
.pdd-btn-tutorial:hover {
  background: #f8fafc;
}

.pdd-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.pdd-form-kicker {
  font-size: 11px;
  color: var(--slate-400);
  font-weight: 500;
  margin-bottom: 2px;
}
.pdd-form-title {
  font-size: 17px;
  font-weight: 800;
  color: #1e3a5f;
  margin: 0 0 14px;
  line-height: 1.35;
}
.pdd-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pdd-input-code {
  flex: 1;
  min-width: 140px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--slate-200);
  font-size: 18px;
  letter-spacing: 3px;
  text-align: center;
  font-family: inherit;
  background: #f8fafc;
}
.pdd-input-code:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
}
.pdd-btn-submit {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.pdd-btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.pdd-btn-ocr {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  background: #fff;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.pdd-btn-ocr:disabled {
  opacity: 0.65;
}
.pdd-detect-msg {
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 10px;
  min-height: 1.2em;
}

.pdd-list-head {
  margin-bottom: 12px;
}
.pdd-list-title {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdd-list-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}
.pdd-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.pdd-tab {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  background: #fff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.pdd-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border-color: transparent;
}
.pdd-empty-tip {
  text-align: center;
  color: var(--slate-400);
  font-size: 13px;
  padding: 24px 12px;
}
.pdd-unified-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pdd-li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--slate-200);
  margin-bottom: 10px;
  background: #fafbff;
}
.pdd-li-used {
  opacity: 0.92;
  background: #f8fafc;
}
.pdd-li-loading {
  justify-content: center;
  border-style: dashed;
  background: #f8fafc;
  cursor: default;
}
.pdd-li-loading .pdd-li-loading-inner {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-500);
  padding: 10px 4px;
}
.pdd-li-body {
  min-width: 0;
}
.pdd-li-code {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #059669;
  font-variant-numeric: tabular-nums;
}
.pdd-li-mine {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.2;
}
.pdd-li-meta {
  font-size: 11px;
  color: var(--slate-400);
  margin-top: 4px;
}
.pdd-li-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: none;
}
.pdd-li-btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
}
.pdd-li-btn-primary:active {
  transform: scale(0.98);
}
.pdd-li-btn-disabled {
  background: var(--slate-200);
  color: var(--slate-500);
  cursor: not-allowed;
}

/* 外卖打车神券推广卡片（链接来自后台域名绑定 / 全站默认） */
.promo-coupon-banner-slot {
  margin-bottom: 14px;
}
.promo-coupon-banner-slot:empty {
  display: none;
}
.promo-coupon-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px 14px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.promo-coupon-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--slate-400);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 6px;
}
.promo-coupon-close:hover {
  color: var(--slate-600);
  background: var(--slate-100);
}
.promo-coupon-head {
  padding-right: 28px;
  margin-bottom: 12px;
}
.promo-coupon-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
  margin: 0 0 4px;
}
.promo-coupon-sub {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.4;
  margin: 0;
}
.promo-coupon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.promo-coupon-item {
  flex: 1 1 110px;
  min-width: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 6px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
  box-sizing: border-box;
}
a.promo-coupon-item:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}
.promo-coupon-item--muted {
  cursor: default;
  opacity: 0.72;
}
.promo-coupon-item--muted:hover {
  border-color: var(--slate-200);
  background: #fff;
}
.promo-coupon-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}
.promo-coupon-icon--mt {
  background: #ffe033;
  color: #111;
}
.promo-coupon-icon--tb {
  background: #ff5000;
  color: #fff;
}
.promo-coupon-icon--jd {
  background: #e4393c;
  color: #fff;
}
.promo-coupon-icon--di {
  background: linear-gradient(145deg, #ffb020, #ff7a00);
  color: #fff;
}
.promo-coupon-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.promo-coupon-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-coupon-item-sub {
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 520px) {
  .promo-coupon-item {
    flex: 1 1 calc(50% - 6px);
    min-width: calc(50% - 8px);
  }
}

/* PDD 域名插入口令卡片（后台配置，仅指定域名可见） */
.pdd-li-pin {
  position: relative;
  align-items: stretch;
  background: linear-gradient(180deg, #fffdf8 0%, #fff8f0 100%);
  border-color: #fde68a;
  padding: 16px 12px 14px 16px;
  overflow: hidden;
}
.pdd-pin-edge {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #2563eb, #3b82f6);
}
.pdd-pin-wrap {
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}
.pdd-pin-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  align-self: stretch;
  gap: 0;
  padding-left: 4px;
}
.pdd-pin-rail--has-corner {
  justify-content: flex-start;
  padding-top: 0;
  gap: 10px;
}
.pdd-pin-corner-slot {
  flex-shrink: 0;
  line-height: 0;
}
.pdd-pin-code-pill-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pdd-pin-code-shrink {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}
.pdd-pin-code-shrink .pdd-li-mine {
  flex-shrink: 0;
}
.pdd-pin-code-line.pdd-li-code {
  display: inline-block;
  flex-wrap: nowrap;
  gap: 0;
}
.pdd-pin-code-line {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111827 !important;
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}
.pdd-pin-corner {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}
.pdd-pin-pill {
  flex-shrink: 0;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
  background: #ffe4e6;
  padding: 4px 12px;
  border-radius: 999px;
  line-height: 1.3;
  vertical-align: middle;
}
.pdd-pin-fixed-meta {
  margin-top: 6px;
}
.pdd-pin-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.pdd-li-btn-share {
  background: #fff;
  color: #1e293b;
  border: 1px solid var(--slate-300);
}
.pdd-li-btn-share:active {
  transform: scale(0.98);
}


.tb-hall-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tb-hall-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
}
.tb-hall-row1 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.tb-hall-row1-amounts {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 6px 10px;
  overflow: hidden;
}

.tb-hall-head-amount,
.tb-hall-remain-group {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 6px;
}
.tb-hall-head-amount {
  gap: 8px;
}
.tb-hall-remain-group {
  gap: 4px;
}
.tb-hall-row1-meta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}
.tb-hall-total {
  font-size: 22px;
  font-weight: 800;
  color: var(--slate-800);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tb-hall-dot {
  color: var(--slate-400);
  font-size: 12px;
  user-select: none;
}
.tb-hall-remain-label {
  font-size: 14px;
  font-weight: 600;
  color: #ea580c;
}
.tb-hall-remain-val {
  font-size: 18px;
  font-weight: 800;
  color: #dc2626;
  font-variant-numeric: tabular-nums;
}
.tb-hall-time-pill {
  font-size: 11px;
  color: var(--slate-500);
  border: 1px solid var(--slate-200);
  padding: 3px 10px;
  border-radius: 999px;
  background: #fafafa;
}
.tb-hall-status-pill {
  font-size: 11px;
  font-weight: 600;
  color: #15803d;
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 999px;
}
.tb-hall-status-pill--full {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #ea580c;
  border: 1px solid #fdba74;
}
.tb-hall-status-pill--locked {
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
}
.tb-hall-cta-detail {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 45%, #ef4444 100%);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
  white-space: nowrap;
}
.tb-hall-cta-detail:active {
  transform: scale(0.98);
}
.tb-hall-row2 {
  font-size: 12px;
  color: var(--slate-500);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.tb-hall-row2-dot {
  color: var(--slate-400);
  user-select: none;
}
.tb-hall-report {
  border: none;
  background: none;
  padding: 0;
  font-size: inherit;
  color: var(--slate-500);
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}
.tb-hall-report:active {
  color: var(--tb);
}
.tb-hall-row3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tb-hall-progress-track {
  flex: 1;
  min-width: 0;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fce7f3 0%, #f1f5f9 100%);
  overflow: hidden;
}
.tb-hall-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb923c 0%, #f97316 45%, #f43f5e 100%);
  transition: width 0.35s ease;
}
.tb-hall-pct {
  font-size: 15px;
  font-weight: 800;
  color: #ea580c;
  min-width: 2.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tb-hall-cta {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 40%, #ef4444 100%);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.tb-hall-cta:active {
  transform: scale(0.98);
}
.tb-hall-cta-icon {
  font-size: 15px;
  line-height: 1;
}
.tb-hall-cta--muted {
  background: var(--slate-200);
  color: var(--slate-600);
  box-shadow: none;
  cursor: default;
}


.tb-join-overlay {
  align-items: flex-end;
  padding: 0;
  justify-content: center;
}
@media (min-width: 480px) {
  .tb-join-overlay {
    align-items: center;
    padding: 20px;
  }
}
.tb-join-sheet {
  background: #f5f5f5;
  width: 100%;
  max-width: 440px;
  max-height: min(92vh, 780px);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
}
@media (min-width: 480px) {
  .tb-join-sheet {
    border-radius: 16px;
    max-height: 90vh;
  }
}
.tb-join-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
  flex-shrink: 0;
}
.tb-join-back {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--slate-800);
  cursor: pointer;
  border-radius: 10px;
  font-family: inherit;
  padding: 0;
}
.tb-join-back:hover {
  background: var(--slate-100);
}
.tb-join-head-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-800);
}
.tb-join-head-placeholder {
  width: 40px;
}
.tb-join-scroll {
  overflow-y: auto;
  padding: 12px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.tb-join-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--slate-100);
}
.tb-join-target-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.tb-join-target-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-800);
}
.tb-join-target-amt {
  font-size: 26px;
  font-weight: 800;
  color: #ff6600;
  letter-spacing: -0.02em;
}
.tb-join-remain-line {
  font-size: 14px;
  color: var(--slate-800);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 8px;
}
.tb-join-people-line {
  font-size: 12px;
  color: var(--slate-500);
  text-align: center;
  margin-bottom: 14px;
}
.tb-join-leader-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
  border: 1px solid #fed7aa;
}
.tb-join-leader-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tb-join-leader-mid {
  flex: 1;
  min-width: 0;
}
.tb-join-leader-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-800);
  word-break: break-all;
}
.tb-join-leader-sub {
  font-size: 11px;
  color: var(--slate-500);
  margin-top: 4px;
  line-height: 1.4;
}
.tb-join-leader-amt {
  font-size: 16px;
  font-weight: 800;
  color: #ff6600;
  flex-shrink: 0;
}
.tb-join-board-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate-800);
}
.tb-join-board-desc {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.55;
  margin-bottom: 12px;
}
.tb-join-warn {
  font-size: 12px;
  line-height: 1.55;
  color: #9a3412;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}
.tb-join-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 6px;
}
.tb-join-field-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 14px;
}
.tb-join-field-input:focus {
  outline: none;
  border-color: #fdba74;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2);
}
.tb-join-submit-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(180deg, #ff8833 0%, #ff6600 100%);
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.35);
}
.tb-join-submit-btn:active {
  transform: scale(0.99);
}
.tb-join-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.tb-join-submit-btn--ghost {
  background: #fff !important;
  color: var(--slate-700) !important;
  border: 1.5px solid var(--slate-300) !important;
  box-shadow: none !important;
}
.tb-join-submit-btn--ghost:active {
  background: var(--slate-50) !important;
}
.tb-join-roster-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  margin: 14px 0 8px;
}
.tb-join-roster {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tb-join-member-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}


.tb-member-summary #tb-member-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.tb-member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
  border: 1px solid #fed7aa;
}
.tb-member-row--member {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: var(--slate-200);
}
.tb-member-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.tb-member-row-icon--lead {
  background: linear-gradient(135deg, #fb923c, #ea580c);
}
.tb-member-row-icon--mem {
  background: linear-gradient(135deg, #64748b, #475569);
}
.tb-member-link-card {
  padding-bottom: 14px;
}
.tb-member-link-card--top {
  position: sticky;
  top: 0;
  z-index: 4;
  border-color: #fed7aa;
  box-shadow: 0 4px 14px rgba(251, 146, 60, 0.12);
}
.tb-member-link-card--top .tb-member-link-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tb-member-link-card--top .tb-member-link-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, #fb923c, #ea580c);
  flex-shrink: 0;
}
.tb-member-link-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 10px;
}
.tb-member-link-url {
  font-size: 13px;
  color: var(--slate-600);
  word-break: break-all;
  line-height: 1.5;
  padding: 12px;
  background: var(--slate-50);
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  margin-bottom: 12px;
  min-height: 44px;
}
.tb-member-link-url.is-empty {
  color: var(--slate-400);
}
.tb-member-link-actions {
  display: flex;
  gap: 10px;
}
.tb-member-link-actions--wx .tb-member-link-btn--outline {
  flex: 1;
}
.tb-member-link-btn {
  flex: 1;
  min-height: 48px;
  padding: 14px 12px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  border: none;
  line-height: 1.2;
}
.tb-member-link-btn--outline {
  background: #fff;
  border: 1px solid var(--slate-300);
  color: var(--slate-800);
}
.tb-member-link-btn--fill {
  background: linear-gradient(180deg, #ff8833 0%, #ff6600 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 102, 0, 0.25);
}
.tb-member-link-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.tb-member-op-hint {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.5;
  padding: 0 4px;
  margin-bottom: 12px;
}
.tb-member-split-actions {
  display: flex;
  gap: 10px;
  padding-bottom: 8px;
}
.tb-member-split-btn {
  flex: 1;
  padding: 13px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  border: 2px solid transparent;
}
.tb-member-split-btn--left {
  background: #fff;
  border-color: #fdba74;
  color: #ea580c;
}
.tb-member-split-btn--right {
  background: #fff;
  border-color: #fca5a5;
  color: #dc2626;
}
.tb-member-split-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}


.site-announce-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.site-announce-overlay[hidden] {
  display: none !important;
}
.site-announce-modal {
  max-width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.site-announce-body {
  max-height: min(60vh, 440px);
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}
.site-announce-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 8px 0;
}
.site-announce-body a {
  color: var(--blue);
}
/* 公告富文本对齐（Quill 写入 class，访客页未加载 quill.snow.css） */
.site-announce-body .ql-align-center {
  text-align: center;
}
.site-announce-body .ql-align-right {
  text-align: right;
}
.site-announce-body .ql-align-justify {
  text-align: justify;
}


html.home-gate-pending body > main {
  visibility: hidden;
}
.site-module-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--page-bg, #f1f5f9);
  box-sizing: border-box;
}
.site-module-gate-inner {
  max-width: 420px;
  width: 100%;
  padding: 28px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}
.site-module-gate-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-800);
}
.site-module-gate-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-600);
}
.site-module-gate-btn {
  display: inline-flex;
  justify-content: center;
  min-width: 140px;
}


.page-jd {
  background: linear-gradient(180deg, #eef2f7 0%, #e8edf5 40%, #f4f6fa 100%);
  min-height: 100vh;
}
.page-jd .jd-main {
  padding-bottom: 20px;
  padding-top: 8px;
}
.jd-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.jd-submit-card {
  padding-bottom: 14px;
}
.jd-publish-extra {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}
.jd-publish-extra[hidden] {
  display: none !important;
}
.jd-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: #fafbfc;
  font-size: 15px;
  line-height: 1.5;
  font-family: inherit;
  resize: vertical;
}
.jd-textarea:focus {
  outline: none;
  border-color: #93c5fd;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.jd-detect-line {
  font-size: 12px;
  color: var(--slate-400);
  margin: 6px 0 8px;
  min-height: 16px;
}
.jd-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.jd-publish-extra .jd-meta-grid {
  margin-bottom: 0;
}
.jd-meta-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 8px;
}
.jd-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jd-chip {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.jd-chip:hover {
  background: #dbeafe;
}
.jd-chip--active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.jd-custom-input {
  width: 100%;
  max-width: 200px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  font-size: 14px;
  font-family: inherit;
}
.jd-btn-pool {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.jd-btn-pool:active {
  transform: scale(0.99);
}
.jd-btn-pool:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.jd-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.jd-section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 8px;
}
.jd-section-title--muted {
  color: var(--slate-500);
}
.jd-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #dbeafe;
  color: #1d4ed8;
}
.jd-count-badge--muted {
  background: var(--slate-200);
  color: var(--slate-600);
}
.jd-refresh-btn {
  border: none;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.jd-pool-tip {
  font-size: 12px;
  color: var(--slate-400);
  margin: 0 0 10px;
  line-height: 1.45;
}
.jd-code-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jd-code-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.jd-code-card__edge {
  width: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #4ade80, #22c55e);
}
.jd-code-card__body {
  flex: 1;
  min-width: 0;
  padding: 14px 14px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.jd-code-card__main {
  min-width: 0;
  flex: 1;
}
.jd-code-card__id {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-800);
  word-break: break-all;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.jd-code-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}
.jd-code-card__tag--mine {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}
.jd-code-card__tag--mini {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.jd-code-card__subrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
}
.jd-code-card__time {
  font-size: 12px;
  color: var(--slate-400);
  margin: 0;
}
.jd-code-card__meta-dot {
  color: var(--slate-300);
  user-select: none;
}
.jd-code-card__quota {
  font-size: 12px;
  color: var(--slate-500);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.jd-code-card__use {
  flex-shrink: 0;
  border: 1.5px solid #2563eb;
  background: #fff;
  color: #2563eb;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
}
.jd-code-card__use:active {
  background: #eff6ff;
}
.jd-code-card--used {
  opacity: 0.55;
}
.jd-code-card--used .jd-code-card__edge {
  background: var(--slate-300);
}
.jd-code-card--used .jd-code-card__id {
  color: var(--slate-500);
}
.jd-code-card--used .jd-code-card__tag {
  background: var(--slate-100);
  border-color: var(--slate-200);
  color: var(--slate-500);
}
.jd-code-card--used .jd-code-card__use {
  border-color: var(--slate-300);
  color: var(--slate-400);
  cursor: not-allowed;
  background: var(--slate-50);
}
.jd-empty-tip {
  text-align: center;
  font-size: 13px;
  color: var(--slate-400);
  padding: 12px 8px;
}
.jd-list-card--muted {
  background: #f8fafc;
}

.jd-modal-overlay {
  align-items: flex-start;
  justify-content: center;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  padding-top: max(12px, env(safe-area-inset-top, 0px));
}
@media (min-width: 480px) {
  .jd-modal-overlay {
    padding-top: max(24px, env(safe-area-inset-top, 0px));
  }
}
.jd-lock-sheet {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  padding: 22px 20px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}
@media (min-width: 480px) {
  .jd-lock-sheet {
    border-radius: 0 0 16px 16px;
  }
}
.jd-lock-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--slate-400);
  cursor: pointer;
  border-radius: 10px;
  font-family: inherit;
  padding: 0;
}
.jd-lock-close:hover {
  background: var(--slate-100);
  color: var(--slate-600);
}
.jd-lock-title {
  margin: 0 32px 14px 0;
  font-size: 18px;
  font-weight: 800;
  color: #1e3a5f;
  text-align: center;
}
.jd-lock-line {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--slate-600);
  text-align: center;
  line-height: 1.5;
}
.jd-lock-warn {
  margin: 0 0 18px;
  font-size: 13px;
  color: #c2410c;
  text-align: center;
  line-height: 1.55;
}
.jd-lock-field-label {
  font-size: 12px;
  color: var(--slate-400);
  margin-bottom: 8px;
}
.jd-lock-code-box {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
  word-break: break-all;
  line-height: 1.55;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid #93c5fd;
  background: #f0f9ff;
  margin-bottom: 16px;
  min-height: 48px;
}
.jd-lock-btn-copy {
  width: 100%;
  border: 1.5px solid #2563eb;
  background: #fff;
  color: #2563eb;
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 12px;
}
.jd-lock-btn-copy:active {
  background: #eff6ff;
}
.jd-lock-footer-btns {
  display: flex;
  gap: 10px;
}
.jd-lock-btn-secondary {
  flex: 1;
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-700);
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
}
.jd-lock-btn-secondary:hover {
  background: var(--slate-50);
}
