/* 月老在线 全局样式 */

:root {
  --primary: #c2185b;
  --primary-dark: #880e4f;
  --primary-light: #fce4ec;
  --primary-lighter: #fff0f5;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text-main: #333333;
  --text-sub: #888888;
  --bg-page: #fdf6f8;
  --bg-card: #ffffff;
  --border: #f0dde2;
  --danger: #dc2626;
  --success: #16a34a;
  --gender-male: #1976d2;
  --gender-female: #e91e63;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(194, 24, 91, 0.08);
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ========== 顶部导航 ========== */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.site-logo {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 3px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo:hover {
  color: #ffffff;
  text-decoration: none;
}

.site-logo .heart-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: relative;
}

.site-logo .heart-icon::before {
  content: '\2665';
  font-size: 24px;
  color: var(--accent);
  line-height: 24px;
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 15px;
  white-space: nowrap;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
}

.main-nav a.active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* 顶部操作按钮 */
.top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 登录区 */
.auth-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  white-space: nowrap;
}

.auth-area .welcome-text {
  color: rgba(255, 255, 255, 0.9);
}

.auth-area .welcome-text .nick {
  color: var(--accent);
  font-weight: bold;
}

.auth-area .my-info-link {
  color: #ffd98a;
}

.auth-area .pm-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: bold;
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: top;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
}

.btn-light:hover {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-primary:disabled {
  background: #e8a0b0;
  cursor: not-allowed;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-sm {
  padding: 4px 12px;
  font-size: 13px;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-danger-outline {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
}

.btn-danger-outline:hover {
  background: #fef0f0;
}

/* ========== 主体内容 ========== */
.page-main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.section-title {
  font-size: 20px;
  color: var(--primary-dark);
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title .sub {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: normal;
}

.section-title .more-link {
  font-size: 14px;
  font-weight: normal;
  margin-left: auto;
}

/* ========== 首页横幅 ========== */
.hero {
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-couple-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-couple-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 56px 32px;
  width: 100%;
  background: linear-gradient(135deg, rgba(136, 14, 79, 0.75) 0%, rgba(194, 24, 91, 0.6) 50%, rgba(173, 20, 87, 0.75) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
}

.hero h1 {
  font-size: 30px;
  letter-spacing: 4px;
  margin-bottom: 12px;
  position: relative;
}

.hero .hero-theme {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  margin-bottom: 8px;
}

.hero .hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.hero .heart-deco {
  font-size: 36px;
  color: var(--accent);
  position: relative;
  margin-bottom: 8px;
}

/* ========== 用户卡片网格 ========== */
.user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.user-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.user-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(194, 24, 91, 0.15);
}

.user-card .user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 3px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
}

.user-card .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-card .user-avatar.avatar-male {
  background: var(--gender-male);
}

.user-card .user-avatar.avatar-female {
  background: var(--gender-female);
}

.user-card .user-avatar.avatar-default {
  background: var(--primary);
}

.user-card .user-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 4px;
}

.user-card .user-name .gender-icon {
  font-size: 14px;
  margin-left: 4px;
}

.user-card .user-name .gender-male {
  color: var(--gender-male);
}

.user-card .user-name .gender-female {
  color: var(--gender-female);
}

.user-card .user-meta {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

.user-card .user-hobbies {
  font-size: 12px;
  color: var(--primary);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== 近况列表 ========== */
.status-list {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.status-list-item {
  display: flex;
  align-items: flex-start;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  gap: 14px;
}

.status-list-item:last-child {
  border-bottom: none;
}

.status-list-item:hover {
  background: var(--primary-lighter);
}

.status-list-item .status-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}

.status-list-item .status-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-list-item .status-avatar.avatar-male {
  background: var(--gender-male);
}

.status-list-item .status-avatar.avatar-female {
  background: var(--gender-female);
}

.status-list-item .status-avatar.avatar-default {
  background: var(--primary);
}

.status-list-item .status-main {
  flex: 1;
  min-width: 0;
}

.status-list-item .status-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.status-list-item .status-author {
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
}

.status-list-item .status-author:hover {
  text-decoration: underline;
}

.status-list-item .status-time {
  font-size: 12px;
  color: var(--text-sub);
}

.status-list-item .status-content {
  font-size: 14px;
  color: #444444;
  line-height: 1.8;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.status-list-item .status-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 6px;
}

.status-list-item .status-stats span {
  cursor: pointer;
}

.status-list-item .status-stats span:hover {
  color: var(--primary);
}

/* ========== 搜索栏 ========== */
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-bar input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-card);
  color: var(--text-main);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.1);
}

.search-bar .btn {
  flex-shrink: 0;
}

/* ========== 评论 ========== */
.comment-section {
  margin-top: 24px;
}

.comment-item {
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-item .comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment-item .comment-author {
  font-size: 14px;
  color: var(--primary);
  font-weight: bold;
  cursor: pointer;
}

.comment-item .comment-date {
  font-size: 12px;
  color: var(--text-sub);
}

.comment-item .comment-body {
  font-size: 15px;
  color: #444444;
  word-break: break-word;
}

.comment-item .comment-actions {
  margin-top: 4px;
}

.comment-item .reply-link {
  font-size: 12px;
  color: var(--text-sub);
  cursor: pointer;
}

.comment-item .reply-link:hover {
  color: var(--primary);
}

.comment-reply-form {
  margin-top: 8px;
  display: none;
}

.comment-reply-form.show {
  display: block;
}

.comment-reply-form textarea {
  width: 100%;
  min-height: 60px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 8px;
}

.comment-reply-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* 评论表单 */
.comment-form {
  margin-top: 20px;
}

.comment-textarea {
  width: 100%;
  resize: vertical;
  min-height: 80px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
  color: var(--text-main);
  margin-bottom: 10px;
}

.comment-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.1);
}

/* ========== 表单 ========== */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 32px 36px;
  max-width: 680px;
  margin: 0 auto;
}

.form-card h2 {
  color: var(--primary-dark);
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #555555;
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--danger);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  background: #ffffff;
  color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.1);
}

.form-group input[readonly] {
  background: #f2f0ed;
  color: var(--text-sub);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.8;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row .form-group {
  flex: 1;
}

.code-row {
  display: flex;
  gap: 10px;
}

.code-row input {
  flex: 1;
}

.code-row .btn {
  flex-shrink: 0;
}

.form-tip {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ========== 形象照上传 ========== */
.photo-upload-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.photo-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--primary-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  background: var(--primary);
  flex-shrink: 0;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-upload-btns {
  flex: 1;
}

.photo-upload-btns input[type="file"] {
  display: none;
}

/* ========== 弹窗 ========== */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-mask.show {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-box-wide {
  max-width: 640px;
}

.modal-box h3 {
  color: var(--primary-dark);
  font-size: 20px;
  margin-bottom: 18px;
  text-align: center;
}

.modal-close {
  float: right;
  border: none;
  background: none;
  font-size: 20px;
  color: var(--text-sub);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--danger);
}

/* ========== 私信弹窗 ========== */
.pm-messages {
  max-height: 350px;
  overflow-y: auto;
  padding: 12px;
  background: #faf5f7;
  border-radius: 8px;
  margin-bottom: 12px;
}

.pm-message {
  margin-bottom: 10px;
  max-width: 75%;
}

.pm-message.mine {
  margin-left: auto;
  text-align: right;
}

.pm-message .pm-bubble {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  word-break: break-word;
  text-align: left;
}

.pm-message:not(.mine) .pm-bubble {
  background: #ffffff;
  border: 1px solid var(--border);
}

.pm-message.mine .pm-bubble {
  background: var(--primary);
  color: #ffffff;
}

.pm-message .pm-time {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 2px;
}

.pm-send-area {
  display: flex;
  gap: 8px;
}

.pm-send-area textarea {
  flex: 1;
  min-height: 50px;
  max-height: 100px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
}

.pm-send-area textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.pm-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pm-view-header .pm-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-dark);
}

/* ========== 提示条 ========== */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(50, 20, 30, 0.92);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 300;
  display: none;
  max-width: 80%;
  text-align: center;
}

.toast.show {
  display: block;
}

/* ========== 空状态与加载 ========== */
.empty-tip {
  text-align: center;
  color: var(--text-sub);
  padding: 40px 0;
  font-size: 14px;
}

.loading-tip {
  text-align: center;
  color: var(--text-sub);
  padding: 30px 0;
  font-size: 14px;
}

/* ========== 我的信息页 ========== */
.info-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.info-stat-card {
  flex: 1;
  min-width: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.info-stat-card .stat-num {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
}

.info-stat-card .stat-label {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 4px;
}

.info-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.info-tab {
  padding: 8px 20px;
  font-size: 15px;
  color: var(--text-sub);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.info-tab:hover {
  color: var(--primary);
}

.info-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: bold;
}

.info-tab-content {
  display: none;
}

.info-tab-content.show {
  display: block;
}

.comment-list-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.comment-list-item:hover {
  background: var(--primary-lighter);
}

.comment-list-item .item-main {
  flex: 1;
  min-width: 0;
}

.comment-list-item .item-content {
  font-size: 14px;
  color: #555555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-list-item .item-meta {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ========== 个人主页 ========== */
.profile-header {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 32px 36px;
  margin-bottom: 24px;
}

.profile-header .profile-top {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.profile-header .profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--primary-light);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  color: #ffffff;
}

.profile-header .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header .profile-avatar.avatar-male {
  background: var(--gender-male);
}

.profile-header .profile-avatar.avatar-female {
  background: var(--gender-female);
}

.profile-header .profile-avatar.avatar-default {
  background: var(--primary);
}

.profile-header .profile-info {
  flex: 1;
}

.profile-header .profile-info h2 {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-header .profile-info .gender-icon {
  font-size: 18px;
}

.profile-header .profile-info .gender-male {
  color: var(--gender-male);
}

.profile-header .profile-info .gender-female {
  color: var(--gender-female);
}

.profile-header .profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.profile-header .profile-hobbies {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 8px;
}

.profile-header .profile-bio {
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  background: var(--primary-lighter);
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 8px;
}

.profile-header .profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.profile-header .profile-stats {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-sub);
}

.profile-header .profile-stats span {
  color: var(--primary);
  font-weight: bold;
}

/* ========== 分页 ========== */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pager button {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}

.pager button:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.pager button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.pager button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pager .page-info {
  font-size: 13px;
  color: var(--text-sub);
  margin-left: 8px;
}

/* ========== 页脚 ========== */
.site-footer {
  background: #2a1520;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 22px 24px;
  font-size: 13px;
}

.site-footer a {
  color: #e8a0b0;
  margin: 0 6px;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer .footer-line {
  margin-top: 6px;
}

/* ========== 响应式（移动端适配） ========== */
@media (max-width: 768px) {
  .site-header {
    padding: 0 12px;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 0;
    gap: 6px;
  }

  .site-logo {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .main-nav a {
    padding: 4px 10px;
    font-size: 14px;
  }

  .auth-area {
    font-size: 13px;
    gap: 6px;
  }

  .top-actions {
    display: none;
  }

  .auth-area .welcome-text {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-main {
    padding: 16px 12px 36px;
  }

  .hero {
    min-height: 240px;
  }

  .hero-overlay {
    padding: 32px 16px;
  }

  .hero h1 {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .hero .hero-theme {
    font-size: 15px;
  }

  .user-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .user-card {
    padding: 14px 10px;
  }

  .user-card .user-avatar {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .status-list-item {
    padding: 12px 14px;
  }

  .status-list-item .status-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .form-card {
    padding: 22px 18px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .info-stats {
    gap: 10px;
  }

  .info-stat-card {
    min-width: 80px;
    padding: 12px 8px;
  }

  .info-stat-card .stat-num {
    font-size: 22px;
  }

  .info-tab {
    padding: 6px 14px;
    font-size: 14px;
  }

  .section-title {
    font-size: 17px;
  }

  .modal-box {
    padding: 20px 18px 18px;
  }

  .profile-header {
    padding: 20px 16px;
  }

  .profile-header .profile-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-header .profile-info h2 {
    justify-content: center;
  }

  .profile-header .profile-meta {
    justify-content: center;
  }

  .profile-header .profile-actions {
    justify-content: center;
  }

  .profile-header .profile-stats {
    justify-content: center;
  }

  .photo-upload-area {
    flex-direction: column;
    align-items: flex-start;
  }
}
