/* 批TGWAPPDEV640：普通用户邀请卡（店主认证面板上方）。按钮按文字占宽，禁止整行拉满。 */
.invite-friends { margin: 0 0 14px; }
.invite-friends__card { border: 1px solid #dce6e1; border-radius: 10px; background: #fff; padding: 14px 16px; }
.invite-friends__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.invite-friends__head h3 { margin: 0 0 4px; font-size: 16px; color: #18342b; }
.invite-friends__head span { display: block; font-size: 12px; color: #52675f; }
.invite-friends__head strong { font-size: 15px; color: #075d40; white-space: nowrap; }
.invite-friends__progress { height: 6px; margin: 10px 0 6px; border-radius: 999px; background: #e7efeb; overflow: hidden; }
.invite-friends__progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #146b5b, #7EDBB6); }
.invite-friends__hint { margin: 0 0 10px; font-size: 12px; color: #52675f; }
.invite-friends__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 6px 0; font-size: 13px; color: #18342b; }
.invite-friends__row > span { flex: 0 0 auto; color: #52675f; }
.invite-friends__row code { padding: 4px 10px; border-radius: 6px; background: #f1f6f3; font-size: 15px; letter-spacing: 1px; color: #075d40; }
.invite-friends__row input { flex: 1 1 220px; min-width: 160px; padding: 6px 10px; border: 1px solid #dce6e1; border-radius: 6px; background: #fafcfb; color: #18342b; font: inherit; }
.invite-friends__row button, .invite-friends__card > button { flex: 0 0 auto; width: auto; min-height: 32px; padding: 0 14px; border: 1px solid #146b5b; border-radius: 6px; background: #fff; color: #075d40; font: inherit; font-size: 13px; cursor: pointer; }
.invite-friends__row button:disabled { border-color: #cfdad6; color: #8b9c95; cursor: not-allowed; }
.invite-friends__qr { margin: 8px 0; }
.invite-friends__qr img { display: block; width: 160px; height: 160px; padding: 6px; border: 1px solid #dce6e1; border-radius: 8px; background: #fff; }
.invite-friends__status { min-height: 18px; margin: 6px 0 0; font-size: 12px; color: #52675f; }
.invite-friends__status[data-kind="error"] { color: #b3261e; }
.invite-friends__greeting { margin-top: 12px; font-size: 13px; color: #18342b; }
.invite-friends__greeting textarea { display: block; box-sizing: border-box; width: 100%; margin: 6px 0 8px; padding: 8px 10px; resize: vertical; border: 1px solid #dce6e1; border-radius: 6px; background: #fafcfb; color: inherit; font: inherit; line-height: 1.5; }
.invite-friends__empty { margin: 8px 0 0; font-size: 12px; color: #6e817a; }
.invite-friends__records { margin-top: 10px; font-size: 13px; }
.invite-friends__records summary { cursor: pointer; color: #075d40; }
.invite-friends__table { max-height: 280px; overflow: auto; margin-top: 8px; }
.invite-friends__table table { width: 100%; border-collapse: collapse; }
.invite-friends__table th, .invite-friends__table td { padding: 6px 8px; border-bottom: 1px solid #eef3f0; text-align: left; font-size: 12px; color: #18342b; }
.invite-friends__table th { color: #52675f; font-weight: 600; }
@media (max-width: 560px) {
  .invite-friends__row input { flex-basis: 100%; }
}

/* 个人中心（深色弹层）：容器本身已是 .account-center-section，邀请卡只做内容，避免双层边框。 */
.account-center-invite-friends .invite-friends__card { border: 0; border-radius: 0; background: transparent; padding: 0; }
.account-center-invite-friends .invite-friends__head h3 { color: #e6f2ec; }
.account-center-invite-friends .invite-friends__head span,
.account-center-invite-friends .invite-friends__hint,
.account-center-invite-friends .invite-friends__row > span,
.account-center-invite-friends .invite-friends__status,
.account-center-invite-friends .invite-friends__empty { color: #9db0bb; }
.account-center-invite-friends .invite-friends__head strong { color: #7EDBB6; }
.account-center-invite-friends .invite-friends__progress { background: #223741; }
.account-center-invite-friends .invite-friends__row code { background: #223741; color: #7EDBB6; }
.account-center-invite-friends .invite-friends__row input { border-color: #465c68; background: #101c23; color: #e6f2ec; }
.account-center-invite-friends .invite-friends__greeting { color: #e6f2ec; }
.account-center-invite-friends .invite-friends__greeting textarea { border-color: #465c68; background: #101c23; }
.account-center-invite-friends .invite-friends__row button,
.account-center-invite-friends .invite-friends__card > button { border-color: #7EDBB6; background: transparent; color: #7EDBB6; }
.account-center-invite-friends .invite-friends__row button:disabled { border-color: #465c68; color: #6e817a; }
.account-center-invite-friends .invite-friends__qr img { border-color: #465c68; background: #fff; }
.account-center-invite-friends .invite-friends__records summary { color: #7EDBB6; }
.account-center-invite-friends .invite-friends__table th { color: #c2d9e7; }
.account-center-invite-friends .invite-friends__table th,
.account-center-invite-friends .invite-friends__table td { border-bottom-color: #3d5360; color: #dbe9f0; }
.account-center-invite-friends .invite-friends__status[data-kind="error"] { color: #f08a80; }
