/* 珍爱相亲 - 前台移动端样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #f5f5f7;
    color: #333;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.page-wrap {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #f5f5f7;
    position: relative;
    padding-bottom: 20px;
}

.list-header {
    padding: 16px 16px 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.profile-card {
    background: #fff;
    border-radius: 16px;
    margin: 0 12px 12px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
    display: block;
}

.card-top {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.card-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #2dd4bf, #14b8a6);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}

.badge-vip {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}

.card-info {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
    line-height: 1.6;
}

.card-meta {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 12px;
}

.card-photos {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.card-photos.single img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

.card-photos.multi img {
    flex: 1;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recommend-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #fce7f3, #fecdd3);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    color: #e11d48;
}

.recommend-bar .stars {
    color: #fbbf24;
    margin-left: 4px;
    letter-spacing: 1px;
}

.btn-chat {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    color: #fff;
    border-radius: 22px;
    padding: 8px 20px;
    font-size: 14px;
}

.btn-chat i { margin-right: 4px; }

.load-more {
    text-align: center;
    padding: 20px;
    color: #bbb;
    font-size: 13px;
}

.detail-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255,255,255,.95);
}

.detail-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
}

.btn-follow {
    background: linear-gradient(135deg, #818cf8, #6366f1);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 14px;
    cursor: pointer;
}

.detail-hero img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 0 0 16px 16px;
}

.detail-card {
    background: #fff;
    border-radius: 16px;
    margin: 12px;
    padding: 16px;
}

.detail-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-summary {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.detail-meta {
    font-size: 12px;
    color: #aaa;
}

.intro-card {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-radius: 16px;
    margin: 12px;
    padding: 20px 16px;
}

.intro-quote {
    font-size: 48px;
    color: #c4b5fd;
    line-height: 1;
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

.intro-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.intro-more {
    color: #6366f1;
    font-size: 13px;
    margin-top: 10px;
    display: inline-block;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title a {
    font-size: 13px;
    color: #6366f1;
    font-weight: 400;
}

.album-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 240px;
}

.album-grid .main-photo {
    grid-row: 1 / 3;
    border-radius: 12px;
    overflow: hidden;
}

.album-grid .main-photo img,
.album-grid .sub-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-grid .sub-photo {
    border-radius: 10px;
    overflow: hidden;
}

.tag-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 8px;
}

.tag-row .icon {
    color: #bbb;
    font-size: 16px;
    margin-top: 6px;
    flex-shrink: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #f3f4f6;
    color: #555;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
}

.detail-actions {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
    max-width: 480px;
}

.action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    border: none;
    cursor: pointer;
}

.action-btn.hi { background: linear-gradient(135deg, #f472b6, #ec4899); color: #fff; }
.action-btn.msg { background: linear-gradient(135deg, #60a5fa, #3b82f6); color: #fff; }
.action-btn.svc { background: #fff; color: #6366f1; }

.detail-page { padding-bottom: 100px; }

.avatar-placeholder {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    font-size: 48px;
}
