/* 前台样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "Microsoft YaHei", sans-serif; background: #f7f7f7; color: #333; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }

.topbar { background: #fff; border-bottom: 1px solid #eee; }
.header-inner { display: flex; align-items: center; min-height: 60px; padding: 8px 0; flex-wrap: wrap; }
.logo { font-size: 20px; font-weight: bold; color: #ff4d6d; margin-right: 30px; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nav a { color: #555; white-space: nowrap; }
.nav a:hover { color: #ff4d6d; }
.auth { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.auth a { color: #555; white-space: nowrap; }
.auth .btn-reg { background: #ff4d6d; color: #fff; padding: 7px 16px; border-radius: 4px; }
.vip-badge { background: #ffd700; color: #8b5a00; padding: 2px 8px; border-radius: 10px; font-size: 12px; margin-left: 5px; }

.hero { background: linear-gradient(135deg, #ff4d6d, #ff8fa3); color: #fff; text-align: center; padding: 60px 20px; }
.hero h1 { font-size: 34px; margin-bottom: 10px; }
.hero p { margin-bottom: 25px; opacity: .95; }
.btn-primary { display: inline-block; background: #fff; color: #ff4d6d; padding: 12px 32px; border-radius: 24px; font-size: 16px; font-weight: bold; }

.section { margin: 30px 0; }
.section h2 { font-size: 22px; margin-bottom: 20px; }
.user-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.user-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.avatar { height: 160px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-placeholder { font-size: 40px; color: #ccc; }
.user-info { padding: 12px; }
.user-info strong { display: block; margin-bottom: 4px; }
.meta { color: #999; font-size: 13px; }

.footer { text-align: center; padding: 30px; color: #999; margin-top: 40px; }

/* 表单 */
.form-box { background: #fff; max-width: 420px; margin: 40px auto; padding: 30px; border-radius: 8px; box-shadow: 0 1px 5px rgba(0,0,0,.08); }
.form-box h2 { text-align: center; margin-bottom: 25px; }
.form-item { margin-bottom: 18px; }
.form-item label { display: block; margin-bottom: 6px; color: #555; font-size: 14px; }
.form-item input, .form-item select, .form-item textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.btn-submit { width: 100%; background: #ff4d6d; color: #fff; border: none; padding: 12px; border-radius: 4px; font-size: 16px; cursor: pointer; }
.btn-submit:hover { background: #e64360; }
.form-tip { text-align: center; margin-top: 15px; color: #999; font-size: 14px; }
.form-tip a { color: #ff4d6d; }
.msg-error { background: #fff0f0; color: #d33; padding: 10px; border-radius: 4px; margin-bottom: 15px; font-size: 14px; }
.msg-success { background: #f0fff4; color: #2a9d3b; padding: 10px; border-radius: 4px; margin-bottom: 15px; font-size: 14px; }

/* 通用 */
.page-title { font-size: 24px; margin: 25px 0 20px; }
.btn { display: inline-block; padding: 8px 18px; border-radius: 4px; border: none; cursor: pointer; font-size: 14px; margin-right: 8px; }
.btn-primary { background: #ff4d6d; color: #fff; }
.btn-danger { background: #ff8fa3; color: #fff; }

/* 搜索筛选 */
.filter-bar { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.filter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-form select, .filter-form input { padding: 9px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.btn-search { background: #ff4d6d; color: #fff; border: none; padding: 9px 22px; border-radius: 4px; cursor: pointer; }
.result-count { color: #999; margin-bottom: 15px; font-size: 14px; }

/* 会员卡片角标 */
.avatar { position: relative; }
.vip-corner { position: absolute; top: 8px; right: 8px; background: #ffd700; color: #8b5a00; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: bold; }

/* 分页 */
.pagination { text-align: center; margin: 25px 0; }
.pagination a { display: inline-block; padding: 7px 16px; border: 1px solid #ddd; border-radius: 4px; margin: 0 5px; color: #555; }
.pagination span { color: #999; margin: 0 8px; }

/* 详情页 */
.detail-page { background: #fff; border-radius: 8px; padding: 25px; }
.detail-head { display: flex; gap: 25px; margin-bottom: 30px; }
.detail-avatar { width: 180px; height: 180px; border-radius: 8px; overflow: hidden; background: #f0f0f0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.detail-basic h1 { font-size: 24px; margin-bottom: 10px; }
.detail-basic p { color: #666; margin-bottom: 6px; }
.detail-actions { margin-top: 20px; }
.detail-table { border-top: 1px solid #eee; }
.detail-table .row { display: flex; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.detail-table .label { width: 120px; color: #999; flex-shrink: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 15px; }
.photo-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; }
.about-text { line-height: 1.8; color: #555; }

/* 资料页 */
.profile-box { background: #fff; border-radius: 8px; padding: 25px; margin-bottom: 20px; }
.profile-box h3 { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }

/* 充值页 */
.vip-page { background: #fff; border-radius: 8px; padding: 25px; }
.plan-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 25px; }
.plan-card { border: 2px solid #eee; border-radius: 8px; padding: 25px; text-align: center; cursor: pointer; transition: all .2s; }
.plan-card:hover { border-color: #ffb3c1; }
.plan-card.active { border-color: #ff4d6d; background: #fff5f7; }
.plan-name { font-size: 16px; font-weight: bold; margin-bottom: 10px; }
.plan-price { font-size: 30px; color: #ff4d6d; font-weight: bold; }
.plan-days { color: #999; margin-top: 5px; }
.pay-area { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.pay-left, .pay-right { border: 1px solid #eee; border-radius: 8px; padding: 20px; }
.pay-left h3, .pay-right h3 { margin-bottom: 15px; }
.qrcode-box { text-align: center; margin: 15px 0; }
.qrcode-box img { width: 220px; height: 220px; object-fit: contain; border: 1px solid #eee; }
.pay-tip { color: #888; text-align: center; }
.pay-tip strong { color: #ff4d6d; font-size: 18px; }

/* 订单页 */
.orders-page { background: #fff; border-radius: 8px; padding: 25px; }
.orders-page .table { width: 100%; border-collapse: collapse; }
.orders-page .table th, .orders-page .table td { padding: 11px 12px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; }
.badge-wait { background: #fff3cd; color: #856404; }
.badge-ok { background: #d4edda; color: #155724; }
.badge-no { background: #f8d7da; color: #721c24; }

/* 通知徽章 */
.notif-badge { background: #ff4d6d; color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 8px; position: relative; top: -8px; left: -2px; min-width: 16px; text-align: center; display: inline-block; }

/* 距离徽章 */
.distance-badge { display: inline-block; background: #ff4d6d; color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 12px; }

/* ========== 用户等级勋章 ========== */
.lv-badge { display: inline-block; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: bold; vertical-align: middle; white-space: nowrap; }
.lv-badge-lg { font-size: 14px; padding: 5px 14px; border-radius: 16px; }
.user-info strong, .detail-basic h1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.auth .lv-badge { margin: 0 2px; }

/* 导航任务入口 */
.nav-task { color: #ff8c42; font-weight: bold; position: relative; }

/* 导航邀请入口 */
.nav-invite { color: #4caf50; font-weight: bold; }

/* 导航滑动匹配入口 */
.nav-swipe { color: #ff6b9d; font-weight: bold; }

/* ========== 滑动匹配 ========== */
.swipe-page { max-width: 500px; margin: 0 auto; padding: 20px 15px; }
.swipe-header { text-align: center; margin-bottom: 20px; }
.swipe-header h2 { font-size: 24px; color: #333; }
.swipe-subtitle { color: #999; margin-top: 5px; font-size: 14px; }

.swipe-container { position: relative; min-height: 480px; display: flex; flex-direction: column; align-items: center; }

.swipe-card-wrapper {
    width: 100%; max-width: 380px; height: 440px;
    position: relative; margin: 0 auto;
}

.swipe-card {
    position: absolute; top: 0; left: 0; right: 0;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    cursor: grab; user-select: none;
    -webkit-user-select: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
}
.swipe-card:active { cursor: grabbing; }

.swipe-card-img { position: relative; height: 280px; overflow: hidden; }
.swipe-card-img img { width: 100%; height: 100%; object-fit: cover; }
.swipe-card-gradient {
    position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    background: linear-gradient(transparent, rgba(0,0,0,.5));
}

.swipe-card-info { padding: 16px 18px; }
.swipe-card-name {
    font-size: 20px; font-weight: bold; color: #333;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.swipe-vip {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #8b5a00; font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: bold;
}
.swipe-match-badge {
    background: #ff4d6d; color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 12px;
    margin-left: auto;
}
.swipe-card-meta { color: #888; font-size: 14px; margin-top: 4px; }
.swipe-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.swipe-tag {
    background: #f0f0f0; color: #666; font-size: 12px;
    padding: 4px 10px; border-radius: 14px;
}
.swipe-card-bio { color: #666; font-size: 13px; margin-top: 10px; line-height: 1.5; }

.swipe-actions {
    display: flex; justify-content: center; gap: 40px; margin-top: 25px;
}
.swipe-btn {
    width: 64px; height: 64px; border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.swipe-btn:hover { transform: scale(1.1); }
.swipe-btn:active { transform: scale(0.95); }
.swipe-btn-skip {
    background: #fff; color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(255,107,107,.25);
    border: 2px solid #ff6b6b;
}
.swipe-btn-skip:hover { box-shadow: 0 6px 20px rgba(255,107,107,.4); }
.swipe-btn-like {
    background: linear-gradient(135deg, #ff4d6d, #ff6b9d); color: #fff;
    box-shadow: 0 4px 15px rgba(255,77,109,.35);
}
.swipe-btn-like:hover { box-shadow: 0 6px 20px rgba(255,77,109,.5); }

/* 空状态 */
.swipe-empty { text-align: center; padding: 60px 20px; }
.swipe-empty .empty-icon { font-size: 60px; margin-bottom: 15px; }
.swipe-empty h3 { font-size: 20px; color: #555; margin-bottom: 8px; }
.swipe-empty p { color: #999; margin-bottom: 20px; }
.swipe-refresh-btn {
    background: #ff4d6d; color: #fff; border: none;
    padding: 10px 30px; border-radius: 24px; font-size: 15px; cursor: pointer;
}

/* 匹配弹窗 */
.swipe-match-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.7); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.swipe-match-modal {
    background: #fff; border-radius: 20px; padding: 40px 30px;
    text-align: center; max-width: 360px; width: 90%;
    animation: scaleIn 0.4s ease;
}
@keyframes scaleIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.match-hearts { font-size: 50px; margin-bottom: 10px; animation: pulse 0.6s ease infinite alternate; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.15); } }
.swipe-match-modal h2 { font-size: 24px; color: #ff4d6d; margin-bottom: 15px; }
.match-avatars { display: flex; justify-content: center; gap: -15px; margin-bottom: 15px; }
.match-avatars img {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
    border: 3px solid #ff4d6d;
}
.match-avatars img:first-child { margin-right: -15px; z-index: 1; }
.match-avatars img:last-child { margin-left: -15px; }
.swipe-match-modal p { color: #555; font-size: 15px; margin-bottom: 20px; }
.match-actions { display: flex; flex-direction: column; gap: 10px; }
.match-btn-primary {
    background: #ff4d6d; color: #fff; border: none;
    padding: 12px 30px; border-radius: 24px; font-size: 16px; cursor: pointer;
}
.match-btn-chat {
    background: #fff; color: #ff4d6d; border: 2px solid #ff4d6d;
    padding: 10px 30px; border-radius: 24px; font-size: 16px; text-align: center;
    display: inline-block;
}

/* ========== 认证徽章 ========== */
.badge-page { max-width: 700px; margin: 0 auto; }
.badge-subtitle { color: #999; margin-bottom: 20px; }
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.badge-card { background: #fff; border-radius: 12px; padding: 20px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.badge-icon { font-size: 40px; margin-bottom: 8px; }
.badge-name { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 5px; }
.badge-desc { font-size: 12px; color: #999; margin-bottom: 12px; }
.badge-status { display: inline-block; padding: 4px 14px; border-radius: 12px; font-size: 12px; }
.badge-pass { background: #d4edda; color: #155724; }
.badge-wait { background: #fff3cd; color: #856404; }
.badge-fail { background: #f8d7da; color: #721c24; }
.badge-apply-btn { font-size: 13px; }

/* ========== 星座配对 ========== */
.zodiac-page { max-width: 800px; margin: 0 auto; }
.zodiac-mine { text-align: center; padding: 20px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-radius: 12px; margin-bottom: 20px; }
.zodiac-icon { font-size: 48px; display: block; margin-bottom: 5px; }
.zodiac-list { display: flex; flex-direction: column; gap: 10px; }
.zodiac-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 12px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); text-decoration: none; color: inherit; }
.zodiac-card:hover { background: #fafafa; }
.zodiac-card-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.zodiac-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.zodiac-card-info { flex: 1; }
.zodiac-card-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.zodiac-card-zodiac { font-size: 12px; color: #764ba2; }
.zodiac-card-meta { font-size: 13px; color: #999; margin-top: 2px; }
.zodiac-card-pair { text-align: center; flex-shrink: 0; }
.pair-score { font-size: 18px; font-weight: bold; color: #ff4d6d; }
.pair-desc { font-size: 12px; color: #999; }

/* ========== 话题广场 ========== */
.forum-page { max-width: 800px; margin: 0 auto; }
.forum-header { display: flex; justify-content: space-between; align-items: center; }
.forum-header .page-title { margin: 0; }
.forum-categories { display: flex; gap: 8px; margin: 15px 0; flex-wrap: wrap; }
.forum-cat { padding: 6px 16px; border-radius: 20px; font-size: 13px; background: #f0f0f0; color: #666; text-decoration: none; }
.forum-cat.active, .forum-cat:hover { background: #ff4d6d; color: #fff; }
.forum-list { display: flex; flex-direction: column; gap: 8px; }
.forum-item { display: flex; gap: 12px; background: #fff; border-radius: 10px; padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); text-decoration: none; color: inherit; }
.forum-item:hover { background: #fafafa; }
.forum-item-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.forum-item-avatar img { width: 100%; height: 100%; object-fit: cover; }
.forum-item-body { flex: 1; min-width: 0; }
.forum-item-title { font-size: 15px; font-weight: 600; color: #333; display: flex; align-items: center; gap: 6px; }
.forum-top { background: #ff4d6d; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 4px; }
.forum-cat-tag { background: #f0f0f0; color: #888; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.forum-item-meta { font-size: 12px; color: #999; margin-top: 5px; }

.forum-detail { max-width: 800px; margin: 0 auto; }
.forum-detail-header { margin-bottom: 15px; }
.forum-detail-header h1 { font-size: 22px; margin-bottom: 8px; }
.forum-detail-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #999; flex-wrap: wrap; }
.forum-detail-avatar { width: 28px; height: 28px; border-radius: 50%; }
.forum-detail-content { background: #fff; border-radius: 10px; padding: 20px; line-height: 1.8; margin-bottom: 20px; }
.forum-replies { margin-bottom: 20px; }
.forum-replies h3 { margin-bottom: 12px; }
.forum-reply-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.forum-reply-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.forum-reply-body { flex: 1; }
.forum-reply-user { font-size: 14px; font-weight: 600; color: #333; }
.forum-reply-time { font-size: 12px; color: #999; margin-left: 8px; font-weight: normal; }
.forum-reply-content { font-size: 14px; color: #555; margin-top: 4px; line-height: 1.6; }
.forum-reply-form textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 10px; font-size: 14px; }
.back-link { display: inline-block; color: #ff4d6d; margin-bottom: 15px; font-size: 14px; }

/* ========== 同城活动 ========== */
.event-page { max-width: 800px; margin: 0 auto; }
.event-header { display: flex; justify-content: space-between; align-items: center; }
.event-header .page-title { margin: 0; }
.event-cities { display: flex; gap: 8px; margin: 15px 0; flex-wrap: wrap; }
.event-city { padding: 5px 14px; border-radius: 16px; font-size: 13px; background: #f0f0f0; color: #666; text-decoration: none; }
.event-city.active, .event-city:hover { background: #ff4d6d; color: #fff; }
.event-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.event-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); text-decoration: none; color: inherit; }
.event-card:hover { transform: translateY(-2px); transition: transform 0.2s; }
.event-card-img { height: 120px; background: linear-gradient(135deg, #ff758f, #ffb199); display: flex; align-items: center; justify-content: center; }
.event-card-placeholder { font-size: 48px; }
.event-card-body { padding: 12px 14px; }
.event-card-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-card-meta { font-size: 12px; color: #888; margin-bottom: 3px; }
.event-card-footer { display: flex; justify-content: space-between; font-size: 12px; color: #999; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0f0f0; }
.event-detail { max-width: 800px; margin: 0 auto; }
.event-detail-header h1 { font-size: 22px; margin-bottom: 5px; }
.event-detail-meta { font-size: 13px; color: #999; margin-bottom: 15px; }
.event-detail-info { background: #fff; border-radius: 10px; padding: 15px; margin-bottom: 15px; display: flex; flex-direction: column; gap: 8px; }
.event-info-item { font-size: 14px; color: #555; }
.event-detail-content { background: #fff; border-radius: 10px; padding: 20px; line-height: 1.8; margin-bottom: 15px; }
.event-actions { text-align: center; margin-bottom: 20px; }
.event-registrations h3 { margin-bottom: 10px; }
.event-reg-list { display: flex; flex-wrap: wrap; gap: 10px; }
.event-reg-item { display: flex; align-items: center; gap: 6px; background: #f8f8f8; padding: 6px 12px; border-radius: 20px; font-size: 13px; }
.event-reg-item img { width: 24px; height: 24px; border-radius: 50%; }
.btn-disabled { background: #ccc; color: #fff; cursor: not-allowed; }

/* ========== 暗恋表白墙 ========== */
.crushwall-page { max-width: 700px; margin: 0 auto; }
.crushwall-header { text-align: center; margin-bottom: 20px; }
.crushwall-subtitle { color: #999; font-size: 14px; }
.crushwall-form { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.crushwall-form h4 { margin-bottom: 12px; }
.crushwall-tip { font-size: 12px; color: #999; margin-top: 8px; }
.crushwall-list h3 { margin-bottom: 12px; }
.crushwall-item { background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.crushwall-item-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.crushwall-target { font-weight: 600; color: #ff4d6d; font-size: 15px; }
.crushwall-gender { font-size: 14px; }
.crushwall-time { font-size: 12px; color: #999; margin-left: auto; }
.crushwall-item-content { font-size: 14px; color: #555; line-height: 1.6; }
.crushwall-item-footer { margin-top: 10px; }
.crushwall-like-btn { background: none; border: 1px solid #ffcccc; border-radius: 16px; padding: 4px 12px; font-size: 13px; cursor: pointer; color: #ff4d6d; }
.crushwall-like-btn:hover { background: #fff5f5; }

/* ========== 早安晚安打卡 ========== */
.greeting-page { max-width: 700px; margin: 0 auto; }
.greeting-subtitle { text-align: center; color: #ff4d6d; font-size: 16px; margin-bottom: 20px; }
.greeting-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 25px; }
.greeting-card { background: #fff; border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.greeting-card.done { opacity: 0.7; }
.greeting-icon { font-size: 48px; margin-bottom: 8px; }
.greeting-label { font-size: 18px; font-weight: bold; color: #333; margin-bottom: 4px; }
.greeting-time { font-size: 12px; color: #999; margin-bottom: 12px; }
.greeting-done { display: inline-block; background: #d4edda; color: #155724; padding: 4px 16px; border-radius: 12px; font-size: 13px; }
.greeting-msg { margin-top: 8px; font-size: 13px; color: #888; }
.greeting-input { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 6px; margin-bottom: 8px; font-size: 13px; text-align: center; }
.greeting-btn { width: 100%; }
.greeting-today h3 { margin-bottom: 12px; }
.greeting-today-list { display: flex; flex-direction: column; gap: 8px; }
.greeting-today-item { display: flex; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.greeting-today-item img { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.greeting-today-body { flex: 1; }
.greeting-today-user { font-size: 14px; font-weight: 600; color: #333; }
.greeting-today-type { font-size: 12px; font-weight: normal; }
.greeting-today-msg { font-size: 13px; color: #888; margin-top: 3px; }

/* 导航入口 */
.nav-badge { color: #ffd700; font-weight: bold; }
.nav-zodiac { color: #764ba2; font-weight: bold; }
.nav-forum { color: #4a90d9; font-weight: bold; }
.nav-event { color: #ff8c42; font-weight: bold; }
.nav-crushwall { color: #ff4d6d; font-weight: bold; }
.nav-greeting { color: #27ae60; font-weight: bold; }

/* 通用 */
.pagination { text-align: center; margin-top: 20px; }
.empty-state { text-align: center; padding: 40px; color: #999; }
.no-replies { color: #999; padding: 20px 0; }
