/* 极简用户信息页面样式 - 参考首页风格 */
body {
    background: #f9fafb;
    margin: 0;
    padding: 0;
}

.user-info-container {
    background: #f9fafb;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    padding-left: 0;
    padding-right: 0;
}

/* 固定顶部返回栏 */
.fixed-header {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    height: 40px;
    background: white;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.back-button {
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.back-button:hover {
    background: #e9ecef;
    transform: scale(1.05);
}

.back-button:active {
    transform: scale(0.95);
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-follow-btn {
    padding: 6px 12px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-follow-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.header-follow-btn:active {
    transform: translateY(0);
}

.header-follow-btn.following {
    background: #ff4757;
    color: white;
    border: 1px solid #ff4757;
}

.header-follow-btn.following:hover {
    background: #ff3742;
    border-color: #ff3742;
}

.header-register-btn {
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-register-btn:hover {
    background: #ff3742;
    transform: translateY(-1px);
}

.header-register-btn:active {
    transform: translateY(0);
}

.name-register-btn {
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.name-register-btn:hover {
    background: #ff3742;
    transform: translateY(-1px);
}

.name-register-btn:active {
    transform: translateY(0);
}

/* 用户基本信息区域 */
.user-profile-section {
    background: white;
    padding: 20px;
    margin: 0 0 8px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-radius: 0;
}

.user-avatar-container {
    flex-shrink: 0;
}

.user-avatar {
    width: 144px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.user-basic-info {
    flex: 1;
    min-width: 0;
}

.user-name-location {
    margin-bottom: 12px;
}

.user-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.basic-info-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.venue-row {
    margin-bottom: 12px;
}

.gender-age {
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.user-location {
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.user-details {
    space-y: 8px;
}

.user-detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.gender-icon {
    font-size: 16px;
    color: #ff6b9d;
    font-weight: bold;
}

.coach-qualification {
    font-size: 13px;
    color: #007bff;
    background: #e3f2fd;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.venue-name {
    font-size: 13px;
    color: #28a745;
    background: #e8f5e8;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.teaching-projects {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.projects-label {
    color: #333;
    font-weight: 500;
}

.projects-list {
    color: #666;
}

.qualifications {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.qualification-item {
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.qualification-item:nth-child(1) {
    color: #666;
    background: #f8f9fa;
}

.qualification-item:nth-child(2) {
    color: #666;
    background: #f8f9fa;
}

.qualification-item:nth-child(3) {
    color: #666;
    background: #f8f9fa;
}

.personal-intro-section {
    background: white;
    padding: 16px 20px;
    margin: 0 0 8px 0;
    border-radius: 0;
}

.personal-intro {
    margin: 0;
    position: relative;
}

.personal-intro p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* 个人简介样式 */
.intro-text {
    /* 移除展开按钮相关样式，只显示纯文字 */
}

/* 展开按钮样式已移除 */

/* 统计数据区域 */
.user-stats-section {
    background: white;
    padding: 20px;
    margin: 0 0 12px 0;
    border-radius: 0;
}

.stats-and-actions-row {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px;
}

.stats-container {
    display: flex;
    gap: 4px;
    width: 60%;
    justify-content: flex-start;
    padding-left: 0;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

/* 报名统计数据红色突出显示 */
.registration-number {
    color: #ff4757 !important;
    font-weight: 600 !important;
}

.registration-label {
    color: #ff4757 !important;
    font-weight: 500 !important;
}

.action-buttons {
    display: flex;
    gap: 6px;
    width: 40%;
    justify-content: flex-end;
    padding-right: 0;
}

.action-btn {
    flex: 1;
    max-width: 80px;
    padding: 8px 12px;
    border: none;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.action-btn.primary {
    background: #ff4757;
    color: white;
}

.action-btn.primary:hover {
    background: #ff3742;
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
}

.action-btn.secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.action-btn.secondary.followed {
    background: #ffffff;
    color: #000000;
    border-color: #ff3742;
}

.action-btn:active {
    transform: translateY(0);
}

/* 现场笔记标题 */
.notes-section-header {
    background: white;
    padding: 20px 20px 16px 20px;
    margin: 0 0 4px 0;
    border-radius: 0;
    position: relative;
}

.notes-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: #f5f5f5;
}

.notes-section-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 瀑布流样式 - 参考首页图片信息卡 */
.waterfall-container {
    background: white;
    padding: 12px 8px 20px 8px;
    display: flex;
    gap: 8px;
    border-radius: 0;
    margin: 0;
}

.waterfall-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.note-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 0;
    transition: all 0.2s ease;
}

.note-card:hover {
    transform: translateY(-1px);
}

.note-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.note-image-placeholder {
    width: 100%;
    display: block;
    background: #f5f5f5;
    border-radius: 12px 12px 0 0;
}

.note-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.note-info {
    padding: 12px;
}

.note-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.note-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-like {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #666;
    font-size: 11px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 2px;
    border-radius: 4px;
}

.note-like:hover {
    background: rgba(0, 0, 0, 0.05);
}

.note-like svg {
    color: #333;
    stroke-width: 2;
    transition: all 0.2s ease;
}

.note-like.liked svg {
    color: #ff4757;
    fill: #ff4757;
    stroke: #ff4757;
}

.note-like.liked {
    color: #ff4757;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 移动端区域间隔样式 */
    .user-profile-section {
        margin: 0 0 6px 0;
        padding: 16px;
    }
    
    .personal-intro-section {
        margin: 0 0 6px 0;
        padding: 12px 16px;
    }
    
    .personal-intro .intro-text {
        /* 移除展开按钮相关样式 */
    }
    .fixed-header {
        top: 48px;
        height: 44px;
        padding: 0 12px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .header-follow-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .header-register-btn {
        padding: 6px 16px;
        font-size: 14px;
    }
    
    .back-button {
        width: 28px;
        height: 28px;
    }
    
    .user-info-container {
        padding-top: 78px;
    }
    
    .user-profile-section {
        padding: 16px;
        gap: 12px;
    }
    
    .user-avatar {
        width: 126px;
        height: 157px;
    }
    
    .user-name {
        font-size: 18px;
    }
    
    .user-stats-section {
        padding: 16px;
        margin: 0 0 8px 0;
    }
    
    .stats-row {
        padding: 12px 0;
    }
    
    .stat-number {
        font-size: 12px;
    }
    
    .notes-section-header {
        margin: 0 0 3px 0;
        padding: 16px 16px 12px 16px;
    }
    
    .notes-section-header::after {
        left: 16px;
        right: 16px;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .notes-section-header {
        padding: 16px;
    }
    
    .notes-section-header h2 {
        font-size: 15px;
    }
    
    .waterfall-container {
        padding: 8px 6px 16px 6px;
        gap: 6px;
    }
    
    .waterfall-column {
        gap: 6px;
    }
    
    .note-info {
        padding: 10px;
    }
    
    .note-card {
        border-radius: 10px;
    }
    
    .note-title {
        font-size: 12px;
    }
    
    .note-like {
        font-size: 10px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 375px) {
    .user-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .action-buttons {
        gap: 8px;
    }
    
    .action-btn {
        font-size: 12px;
        padding: 7px 10px;
    }
    
    .waterfall-container {
        padding: 8px 4px;
    }
    
    .note-info {
        padding: 8px;
    }
}