body.profile-page .btn-edit-profile,
.btn-edit-profile {
  background: rgba(255, 255, 255, 0.8) !important;
  color: #64748B !important;
  border: 1.5px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

body.profile-page .btn-edit-profile:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: #C084FC !important;
  color: #8B5CF6 !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.12) !important;
}
body.profile-page .btn-edit-profile.btn-secondary,
body.profile-page .btn-edit-profile.btn-admin {
  background: rgba(255, 255, 255, 0.8) !important;
  color: #64748B !important;
  border: 1.5px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

body.profile-page .btn-edit-profile.btn-secondary:hover,
body.profile-page .btn-edit-profile.btn-admin:hover {
  border-color: #C084FC !important;
  color: #8B5CF6 !important;
  background: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.12) !important;
}
.profile-points-info,
#profileCard [style*="background: rgb(255, 251, 252)"],
#profileCard .profile-points-info {
  background: linear-gradient(135deg, rgba(255, 245, 248, 0.9) 0%, rgba(250, 245, 255, 0.9) 100%) !important;
  border: 1px solid rgba(255, 101, 132, 0.15) !important;
  border-radius: 18px !important;
  padding: 16px 20px !important;
}
#profileCard strong,
#profileCard span[style*="color: rgb(40, 114, 86)"],
#profileCard .user-level-badge {
  color: #8B5CF6 !important;
  background: rgba(139, 92, 246, 0.1) !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}
.notification-item.unread,
div[style*="background: rgb(254, 249, 195)"],
div[style*="background-color: rgb(254, 249, 195)"] {
  background: linear-gradient(135deg, rgba(255, 240, 245, 0.85) 0%, rgba(253, 242, 248, 0.85) 100%) !important;
  border: 1px solid rgba(255, 101, 132, 0.2) !important;
  border-left: 4px solid #FF6584 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(255, 101, 132, 0.08) !important;
  transition: all 0.25s ease !important;
}
.notification-item,
div[style*="background: rgb(248, 250, 252)"] {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 16px !important;
  margin-bottom: 10px !important;
  transition: all 0.2s ease !important;
}

.notification-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 101, 132, 0.25) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}
button.btn-mark-all,
.btn-read-all {
  background: linear-gradient(135deg, #FF6584 0%, #FF8A80 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 101, 132, 0.25) !important;
  border-radius: 999px !important;
}
.wechat-bind-card,
div:has(> .wechat-status) {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 18px !important;
  padding: 12px 20px !important;
}
.btn-wechat-unbind {
  background: rgba(241, 245, 249, 0.8) !important;
  border: 1px solid rgba(203, 213, 225, 0.6) !important;
  border-radius: 999px !important;
  color: #64748B !important;
  font-size: 0.8rem !important;
}

.btn-wechat-unbind:hover {
  color: #EF4444 !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  background: rgba(254, 242, 242, 0.9) !important;
}
.notify-settings-card {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 20px !important;
  padding: 18px 24px !important;
  margin-bottom: 20px !important;
}

.notify-setting-item {
  padding: 8px 14px !important;
  border-radius: 12px !important;
  background: rgba(248, 250, 252, 0.6) !important;
  border: 1px solid rgba(226, 232, 240, 0.5) !important;
}
.notify-switch input:checked + .slider {
  background: linear-gradient(135deg, #FF6584 0%, #C084FC 100%) !important;
  box-shadow: 0 2px 8px rgba(255, 101, 132, 0.35) !important;
}
.profile-tabs-section {
  border-radius: 22px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.profile-tab {
  font-weight: 600 !important;
  color: #94A3B8 !important;
  transition: all 0.25s ease !important;
}

.profile-tab.active {
  color: #FF6584 !important;
  font-weight: 800 !important;
  border-bottom: 3px solid #FF6584 !important;
}
.profile-my-post-views,
span[style*="background: linear-gradient(135deg, rgba(255, 107, 157, 0.1)"] {
  background: rgba(255, 101, 132, 0.08) !important;
  color: #FF6584 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
body.profile-page #profileCard > .btn-edit-profile {
  border-radius: 14px !important;
  min-height: 46px;
  margin-top: 10px;
  box-shadow: none !important;
  letter-spacing: 0.01em;
}

body.profile-page #profileCard > .btn-edit-profile:first-of-type {
  background: #fff1f4 !important;
  color: #c24166 !important;
  border: 1px solid #f6c8d5 !important;
}

body.profile-page #profileCard > .btn-edit-profile.btn-secondary {
  background: #f6f7fb !important;
  color: #596579 !important;
  border: 1px solid #e2e6ef !important;
}

body.profile-page #profileCard > .btn-edit-profile.btn-admin {
  background: #fff8eb !important;
  color: #a96b18 !important;
  border: 1px solid #f1d79e !important;
}

body.profile-page #profileCard > .btn-edit-profile:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(75, 61, 91, 0.08) !important;
}

body.profile-page #feedbackToggleBtn {
  margin-top: 18px !important;
  padding: 15px 17px !important;
  background: linear-gradient(135deg, #fffaf5, #fff4f7) !important;
  border: 1px solid #f1d9d4 !important;
  color: #684f5d !important;
  box-shadow: 0 8px 20px rgba(143, 91, 105, 0.08) !important;
}

body.profile-page #feedbackToggleBtn > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #ffe8ee;
  font-size: 1.05rem !important;
}

body.profile-page #feedbackInlineForm {
  padding: 20px 17px !important;
  background: #fffdfb !important;
  border: 1px solid #f0dedc !important;
  box-shadow: 0 10px 26px rgba(126, 92, 83, 0.1) !important;
}

body.profile-page #feedbackInlineForm select,
body.profile-page #feedbackInlineForm input,
body.profile-page #feedbackInlineForm textarea {
  border: 1px solid #eadfe3 !important;
  background: #fff !important;
  color: #4b4050 !important;
}

body.profile-page #fbSubmitBtn {
  background: #c85b7d !important;
  box-shadow: 0 6px 14px rgba(200, 91, 125, 0.2) !important;
}

body.profile-page .profile-my-post-views {
  gap: 5px;
  background: #f5f7fb !important;
  color: #667085 !important;
  border: 1px solid #e5e9f0;
}

body.profile-page .profile-my-post-views svg { opacity: 0.85; }

body.profile-page .profile-checkin-encouragement,
body.profile-page .profile-checkin-title-goal {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff8ec;
  color: #8a6740;
  font-size: .78rem;
  line-height: 1.45;
}

body.profile-page .profile-checkin-title-goal {
  background: #fff0f4;
  color: #b34f70;
  font-weight: 700;
}

[data-theme="dark"] body.profile-page .profile-checkin-encouragement { background: rgba(245, 190, 94, .12); color: #f1c875; }
[data-theme="dark"] body.profile-page .profile-checkin-title-goal { background: rgba(255, 101, 132, .12); color: #ff9fba; }
@media (max-width: 768px) {
  body.profile-page #feedbackToggleBtn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 58px !important;
    box-sizing: border-box !important;
    margin: 14px 0 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #eadfe3 !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #554657 !important;
    box-shadow: 0 4px 14px rgba(80, 55, 72, 0.07) !important;
    transform: none !important;
  }

  body.profile-page #feedbackToggleBtn::before,
  body.profile-page #feedbackToggleBtn::after {
    display: none !important;
    content: none !important;
  }

  body.profile-page #feedbackToggleBtn > span:first-child {
    display: inline-flex !important;
    flex: 0 0 36px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    border: 1px solid #f5d6df !important;
    border-radius: 11px !important;
    background: #fff1f4 !important;
    color: #c65378 !important;
    font-size: 1rem !important;
  }

  body.profile-page #feedbackToggleBtn > span:nth-child(2) {
    min-width: 0 !important;
    color: #554657 !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
  }

  body.profile-page #feedbackToggleBtn #feedbackArrow {
    display: inline-flex !important;
    flex: 0 0 26px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    margin-left: auto !important;
    border-radius: 50% !important;
    background: #f7f3f6 !important;
    color: #8b7180 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
  }

  body.profile-page #feedbackInlineForm {
    margin-top: 8px !important;
    padding: 14px !important;
    border: 1px solid #eadfe3 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(80, 55, 72, 0.06) !important;
  }

  body.profile-page #feedbackInlineForm::before {
    display: none !important;
    content: none !important;
  }

  body.profile-page #feedbackInlineForm > div {
    margin-bottom: 10px !important;
  }

  body.profile-page #feedbackInlineForm input,
  body.profile-page #feedbackInlineForm select,
  body.profile-page #feedbackInlineForm textarea {
    width: 100% !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    border: 1px solid #eadfe3 !important;
    border-radius: 11px !important;
    background: #fcfafc !important;
    color: #4b4050 !important;
    font-size: 0.9rem !important;
  }

  body.profile-page #feedbackInlineForm textarea {
    min-height: 104px !important;
    line-height: 1.55 !important;
  }

  body.profile-page #feedbackInlineForm input:focus,
  body.profile-page #feedbackInlineForm select:focus,
  body.profile-page #feedbackInlineForm textarea:focus {
    border-color: #d77b98 !important;
    box-shadow: 0 0 0 3px rgba(215, 123, 152, 0.14) !important;
  }

  body.profile-page #feedbackInlineForm #fbSubmitBtn {
    width: 100% !important;
    min-height: 46px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #b95478 !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(185, 84, 120, 0.2) !important;
    font-size: 0.94rem !important;
  }
}

[data-theme="dark"] body.profile-page #feedbackToggleBtn,
[data-theme="dark"] body.profile-page #feedbackInlineForm {
  border-color: var(--border-light) !important;
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] body.profile-page #feedbackToggleBtn > span:first-child {
  border-color: rgba(255, 159, 186, 0.2) !important;
  background: rgba(255, 101, 132, 0.14) !important;
  color: #ff9fba !important;
}

[data-theme="dark"] body.profile-page #feedbackToggleBtn > span:nth-child(2) {
  color: var(--text-primary) !important;
}

[data-theme="dark"] body.profile-page #feedbackToggleBtn #feedbackArrow {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #d7c6d8 !important;
}

[data-theme="dark"] body.profile-page #feedbackInlineForm input,
[data-theme="dark"] body.profile-page #feedbackInlineForm select,
[data-theme="dark"] body.profile-page #feedbackInlineForm textarea {
  border-color: var(--border-color) !important;
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}
body.profile-page .profile-action-stack {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

body.profile-page .profile-account-actions {
  margin-top: 14px;
}

body.profile-page .profile-action-entry {
  margin-top: 0 !important;
}

body.profile-page .profile-action-btn {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 54px !important;
  box-sizing: border-box !important;
  gap: 11px !important;
  margin: 0 !important;
  padding: 9px 13px !important;
  border: 1px solid #eadfe3 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #554657 !important;
  box-shadow: 0 4px 14px rgba(80, 55, 72, 0.06) !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  text-align: left !important;
  transform: none !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s !important;
}

body.profile-page .profile-action-btn:hover,
body.profile-page .profile-action-btn:focus-visible {
  border-color: #dfa0b4 !important;
  box-shadow: 0 7px 18px rgba(185, 84, 120, 0.12) !important;
  transform: translateY(-1px) !important;
}

body.profile-page .profile-action-icon {
  display: inline-flex !important;
  flex: 0 0 36px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border: 1px solid #f1dce3 !important;
  border-radius: 11px !important;
  background: #fff5f7 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

body.profile-page .profile-action-icon .ui-action-svg {
  display: block;
  width: 17px;
  height: 17px;
}

body.profile-page .profile-action-btn > span:nth-child(2) {
  min-width: 0;
  flex: 1 1 auto;
  color: #554657 !important;
}

body.profile-page .profile-action-arrow {
  display: inline-flex !important;
  flex: 0 0 26px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #f7f3f6 !important;
  color: #8b7180 !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
}

body.profile-page .profile-action-primary .profile-action-icon {
  background: #fff1f4 !important;
  border-color: #f4ccd8 !important;
}

body.profile-page .profile-action-secondary .profile-action-icon {
  background: #f3f6fb !important;
  border-color: #dde5f0 !important;
}

body.profile-page .profile-action-admin .profile-action-icon {
  background: #fff8eb !important;
  border-color: #f0d8a7 !important;
}

[data-theme="dark"] body.profile-page .profile-action-btn {
  border-color: var(--border-light) !important;
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] body.profile-page .profile-action-btn:hover {
  background: var(--bg-card-hover) !important;
  border-color: rgba(255, 107, 157, 0.3) !important;
}

[data-theme="dark"] body.profile-page .profile-action-btn > span:nth-child(2) {
  color: var(--text-primary) !important;
}

[data-theme="dark"] body.profile-page .profile-action-icon {
  border-color: var(--border-light) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] body.profile-page .profile-action-arrow {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #d7c6d8 !important;
}

@media (max-width: 768px) {
  body.profile-page .profile-action-stack {
    gap: 9px;
  }

  body.profile-page .profile-action-btn {
    min-height: 56px !important;
    padding: 10px 12px !important;
  }
}
@media (min-width: 769px) {
  body.profile-page .main-content {
    width: min(700px, calc(100% - 32px)) !important;
    max-width: 700px !important;
    margin-inline: auto !important;
  }

}
@media (min-width: 769px) and (max-width: 1240px) {
  body.profile-page .side-cards-container {
    display: none !important;
  }
}

@media (min-width: 1241px) {
  body.profile-page .side-cards-container {
    display: flex !important;
  }
}
