* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', Arial, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; }
a { color: #e91e63; text-decoration: none; }
a:hover { color: #c2185b; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.header { background: linear-gradient(135deg, #e91e63 0%, #ff5722 100%); color: white; padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-content { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 24px; font-weight: bold; color: white; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a { color: white; padding: 8px 15px; border-radius: 5px; transition: all 0.3s; }
.nav a:hover { background: rgba(255,255,255,0.2); }
.user-menu { display: flex; gap: 10px; align-items: center; }
.user-menu a { color: white; padding: 8px 15px; border-radius: 5px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.hero { background: linear-gradient(135deg, #e91e63 0%, #ff5722 100%); color: white; padding: 60px 0; text-align: center; }
.hero h1 { font-size: 2.5em; margin-bottom: 15px; }
.hero p { font-size: 1.2em; opacity: 0.9; }

.main-content { padding: 30px 0; }
.grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
@media (max-width: 768px) { .grid { grid-template-columns: 1fr; } }

.card { background: white; border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.card-title { font-size: 18px; font-weight: bold; color: #e91e63; }

.post { background: white; border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.post-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.post-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.post-author { font-weight: bold; }
.post-time { font-size: 12px; color: #999; }
.post-content { margin-bottom: 15px; line-height: 1.8; }
.post-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 15px; }
.post-images img { width: 100%; border-radius: 5px; }
.post-actions { display: flex; gap: 20px; color: #666; }
.post-actions a { color: #666; display: flex; align-items: center; gap: 5px; }
.post-actions a:hover { color: #e91e63; }

.btn { display: inline-block; padding: 10px 20px; border-radius: 5px; border: none; cursor: pointer; font-size: 14px; transition: all 0.3s; }
.btn-primary { background: #e91e63; color: white; }
.btn-primary:hover { background: #c2185b; }
.btn-outline { background: white; color: #e91e63; border: 1px solid #e91e63; }
.btn-outline:hover { background: #e91e63; color: white; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 14px; }
.form-input:focus { border-color: #e91e63; outline: none; }
.form-textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 14px; min-height: 100px; }

.profile-header { background: white; border-radius: 10px; padding: 30px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-align: center; }
.profile-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; }
.profile-name { font-size: 24px; font-weight: bold; margin-bottom: 10px; }
.profile-bio { color: #666; margin-bottom: 15px; }
.profile-stats { display: flex; justify-content: center; gap: 30px; }
.profile-stat { text-align: center; }
.profile-stat-num { font-size: 24px; font-weight: bold; color: #e91e63; }
.profile-stat-label { font-size: 12px; color: #999; }

.sidebar-section { background: white; border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.sidebar-title { font-size: 16px; font-weight: bold; margin-bottom: 15px; color: #e91e63; }
.user-list { list-style: none; }
.user-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee; }
.user-list li:last-child { border-bottom: none; }
.user-list img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gift-item { text-align: center; padding: 15px; border-radius: 10px; cursor: pointer; transition: all 0.3s; }
.gift-item:hover { background: #f5f5f5; }
.gift-icon { font-size: 40px; margin-bottom: 5px; }
.gift-name { font-size: 12px; color: #666; }
.gift-price { font-size: 12px; color: #e91e63; }

.chat-list { list-style: none; }
.chat-list li { display: flex; align-items: center; gap: 15px; padding: 15px; border-bottom: 1px solid #eee; cursor: pointer; }
.chat-list li:hover { background: #f5f5f5; }
.chat-list img { width: 50px; height: 50px; border-radius: 50%; }
.chat-preview { flex: 1; }
.chat-name { font-weight: bold; }
.chat-msg { font-size: 14px; color: #999; }

.match-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.match-photo { width: 100%; height: 300px; object-fit: cover; }
.match-info { padding: 20px; }
.match-name { font-size: 20px; font-weight: bold; margin-bottom: 10px; }
.match-meta { color: #666; font-size: 14px; margin-bottom: 15px; }

.footer { background: #333; color: white; padding: 30px 0; text-align: center; margin-top: 40px; }

@media (max-width: 768px) {
    .nav { display: none; }
    .grid { grid-template-columns: 1fr; }
    .post-images { grid-template-columns: repeat(2, 1fr); }
    .gift-grid { grid-template-columns: repeat(3, 1fr); }
}