/* 网红资料页面样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    background: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    padding-bottom: 3.5rem;
}

.page-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* 头部 */
.whzl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 3rem;
    border-bottom: 1px solid #eee;
}

.whzl-back {
    font-size: 2rem;
    color: #333;
    text-decoration: none;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.whzl-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    flex: 1;
}

.whzl-spacer {
    width: 3rem;
    flex-shrink: 0;
}

/* 网红资料图片网格 */
.whzl-gallery {
    background: #fff;
    padding: 0.5rem;
    column-count: 2;
    column-gap: 0.5rem;
    min-height: calc(100vh - 3rem);
}

.whzl-item {
    break-inside: avoid;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    background: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 0.25rem;
}

.whzl-item img {
    width: 100%;
    height: auto;
    display: block;
}

.whzl-item-title {
    padding: 0.625rem;
    font-size: 0.875rem;
    color: #50637f;
    text-align: center;
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 空状态提示 */
.whzl-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
    color: #999;
    column-span: all;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-text {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.empty-tip {
    font-size: 0.875rem;
    color: #999;
}

/* 图片查看器（灯箱） */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
}

.image-viewer img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

/* 响应式 */
@media (max-width: 320px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 321px) and (max-width: 375px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 376px) and (max-width: 414px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 415px) {
    html {
        font-size: 18px;
    }
}
