/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* 顶部导航 */
.header-nav {
    display: flex;
    align-items: center;
    padding: 3vw 4vw;
    background: #fff5f5;
    border-bottom: 1px solid #ffecec;
}

.nav-title {
    font-size: 4.5vw;
    font-weight: bold;
    color: #eb403e;
    margin-right: 4vw;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    height: 8vw;
    border: 1px solid #ffacab;
    border-radius: 4vw;
    padding: 0 3vw;
    background: #fff;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 3.5vw;
    color: #333;
}

.search-btn {
    width: 5vw;
    height: 5vw;
}

.search-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 会员信息栏 */
.member-info {
    display: flex;
    align-items: center;
    padding: 3vw 4vw;
    background: #fdf5f5;
    border-bottom: 1px solid #eee;
}

.member-avatar {
    width: 12vw;
    height: 12vw;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 3vw;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-text {
    flex: 1;
}

.member-name {
    font-size: 4vw;
    font-weight: bold;
    color: #333;
    margin-bottom: 1vw;
}

.member-desc {
    font-size: 2.8vw;
    color: #666;
    line-height: 1.4;
}

.logout-btn {
    width: 20vw;
    height: 7vw;
    border: 1px solid #999;
    border-radius: 3.5vw;
    font-size: 3vw;
    color: #666;
    text-align: center;
    line-height: 7vw;
    background: transparent;
    cursor: pointer;
}

/* 内容标题栏 */
.content-header {
    display: flex;
    justify-content: left;
    align-items: center;
    background-color: #fff;
    margin-top: 3vw;
    padding: 3vw 4vw;
    /* border-bottom: 1px solid #eee; */
}

.content-header img {
    width: 1.5vw;
    height: 3vw;
}

.content-header p {
    margin-left: 2vw;
    font-size: 4vw;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.vip-page .content-header p {
    color: #ff7a78;
}

.free-page .content-header p {
    color: #53d889;
}

/* 容器样式 */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 6vw;
    row-gap: 4vw;
    padding: 3vw 4vw;
    background-color: #fff;
    flex: 1;
}

.content-item {
    text-align: center;
    height: 40vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item-img {
    width: 60%;
    aspect-ratio: 1/1;
    border-radius: 2vw;
    overflow: hidden;
    margin-bottom: 2vw;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-name-container {
    height: 10vw;
    display: flex;
    align-items: center;
}

.item-name {
    font-size: 3.5vw;
    color: #333;
    line-height: 1.4;
    text-align: left;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
