/* ========== 快捷建立组合（/q 筛选页 + 会员展示页访客列表） ========== */
.quick-pair-btn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 4px 12px;
  border: 1px solid #FF589B;
  border-radius: 999px;
  background: #fff;
  color: #FF589B;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.quick-pair-btn:hover { background: #fff0f5; }
.quick-pair-btn:disabled { opacity: .6; cursor: default; }

.quick-pair-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  align-self: flex-start;
  margin-top: 6px;
}
.quick-pair-actions .quick-pair-btn { margin-top: 0; }
.quick-pair-copy-btn,
.quick-pair-exclude-btn {
  padding: 4px 12px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
}
.quick-pair-copy-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
.quick-pair-exclude-btn:hover {
  background: #fff7fa;
  border-color: #f3c3d7;
  color: #be185d;
}
.quick-pair-exclude-btn:disabled { opacity: .6; cursor: default; }

.recommend-exclude-toolbar {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 10px;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 767px) {
  .recommend-exclude-toolbar { box-sizing: border-box; padding: 0 16px; }
}
.recommend-exclude-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 13px 6px 9px;
  border: 1px solid #eef2f7;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.recommend-exclude-link:hover {
  border-color: #f3c3d7;
  background: #fff7fa;
  color: #be185d;
  box-shadow: 0 2px 6px rgba(190, 24, 93, .08);
}
.recommend-exclude-link-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #fff1f7;
  color: #be185d;
  font-size: 9px;
  line-height: 1;
}
.recommend-exclude-link-in-sort {
  height: 34px;
  margin-left: auto;
  padding: 0 13px 0 9px;
  box-sizing: border-box;
  align-self: flex-end;
}
@media (max-width: 560px) {
  .recommend-exclude-link-in-sort {
    order: 3;
    width: 100%;
    margin-left: 0;
    margin-top: 2px;
    justify-content: center;
  }
}

.recommend-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .45);
}
.recommend-modal-overlay.show { display: flex; }
.recommend-modal {
  width: min(440px, 100%);
  max-height: min(80vh, 640px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .22);
}
.recommend-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}
.recommend-modal-close {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.recommend-modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  background: #f8fafc;
}
.recommend-reason-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}
.recommend-reason-chip {
  padding: 5px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
}
.recommend-reason-chip.active {
  border-color: #f3c3d7;
  background: #fff7fa;
  color: #be185d;
}
.recommend-reason-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 70px;
  padding: 9px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
  resize: vertical;
}
.recommend-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid #f1f5f9;
}
.recommend-modal-btn {
  min-width: 84px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
}
.recommend-modal-btn.primary {
  border-color: #FF589B;
  background: #FF589B;
  color: #fff;
}
.recommend-modal-btn:disabled { opacity: .6; cursor: default; }
.recommend-exclude-tip {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}
.recommend-exclude-list { display: flex; flex-direction: column; gap: 10px; }
.recommend-exclude-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}
.recommend-exclude-row img,
.recommend-exclude-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: #e5e7eb;
  box-shadow: 0 0 0 1px #f1f5f9;
}
.recommend-exclude-avatar-placeholder { display: block; }
.recommend-exclude-row-main { flex: 1; min-width: 0; }
.recommend-exclude-row-title {
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.recommend-exclude-row-detail {
  margin-top: 2px;
  color: #475569;
  font-size: 12.5px;
  line-height: 1.5;
}
.recommend-exclude-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
  color: #94a3b8;
  font-size: 12px;
}
.recommend-exclude-reason {
  padding: 1px 7px;
  border-radius: 999px;
  background: #fff1f7;
  color: #be185d;
  font-size: 11px;
  line-height: 1.5;
}
.recommend-exclude-date { color: #94a3b8; }
.recommend-exclude-row button { flex: 0 0 auto; }
.recommend-exclude-row .recommend-exclude-restore {
  min-width: 76px;
  height: 30px;
  padding: 0 10px;
  border-color: #f3c3d7;
  border-radius: 999px;
  background: #fff7fa;
  color: #be185d;
  font-size: 12px;
}
.recommend-exclude-row .recommend-exclude-restore:hover { background: #ffe4ef; }
.recommend-exclude-empty {
  padding: 28px 12px;
  text-align: center;
}
.recommend-exclude-empty-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #ecfdf3;
  color: #16a34a;
  font-size: 20px;
  line-height: 38px;
}
.recommend-exclude-empty-title { color: #334155; font-size: 14px; font-weight: 600; }
.recommend-exclude-empty-text { margin-top: 4px; color: #94a3b8; font-size: 12px; }

.recommend-excluded-hidden { display: none !important; }
.recommend-exclude-toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 10070;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 86vw;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(31, 41, 55, .94);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.recommend-exclude-toast.show { opacity: 1; pointer-events: auto; }
.recommend-exclude-toast button {
  border: 0;
  background: transparent;
  color: #f9a8d4;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.mp-iv-body {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 5px;
  align-items: center;
}
.mp-iv-badges {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  min-width: 0;
  line-height: 1.35;
}
.mp-iv-summary {
  grid-column: 1 / -1;
}
.mp-iv-pair-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  justify-self: start;
  box-sizing: border-box;
  height: 14.8px;
  padding: 1px 5px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #64748b;
  background: #fff;
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.mp-iv-pair-btn:hover { background: #f8fafc; }

.mp-iv-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: start;
  min-width: 0;
}
.mp-iv-copy-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 14.8px;
  padding: 1px 3px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #64748b;
  background: #fff;
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.mp-iv-copy-btn:hover { background: #f8fafc; }

#quickPairToast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 10080;
  max-width: 86vw;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(31, 41, 55, 0.92);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
#quickPairToast.show { opacity: 1; }
