* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body {
    line-height: 1.6;
    touch-action: manipulation;
    background-color: #ffffff;
}
a,a:hover,a.active{ text-decoration: none; color:#ffffff; }
.defa{ text-decoration: none; color:#333333; }
.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
    padding-bottom: 60px;
    color: #0e0f14;
}
/**页面顶部**/
.topnav{
    background: #333333;
    display: flex;
    justify-content: space-between;
    line-height: 2.2;
}
.navpage,.navpage2{ text-align: center;color: #ffffff; }

/**会员中心导航****/
.user-nav{ margin:0px 10px; }
.navitem{
    margin: 5px 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    border: 1px #dfdfdf solid;
    border-radius: 8px;
    flex-direction: row;
    color: #494848;
}
.navitem:hove{ background: #efefef; }

/**纪念列表**/
.jinian {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 10px 10px;
}

.jinian-item {
    border:1px #dddcdc solid;
    position: relative;
    overflow: hidden;
    color:#ffffff;
    padding: 2px 2px;
    margin-bottom: 10px;
    height: 200px;
}
.jinian-item img{ width: 100%;height:100%; }
.jinian-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    font-size: 12px;
    background-color: #5a5757;
    display: flex;
    justify-content: space-between;
}

/* 状态栏 */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-size: 14px;
    background-color: #ffffff;
}

.time {
    font-weight: bold;
}

.status-icons i {
    margin-left: 5px;
}
.headerbg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:250px;
    width: 100%; /* 或者具体宽度 */
    overflow: hidden; /* 隐藏溢出的部分 */
    position: relative; /* 定位容器 */
}
.headerbg img {
    width: 100%; /* 宽度填满容器 */
    height: auto; /* 高度自动调整以保持比例 */
    position: absolute; /* 绝对定位 */
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 微调居中位置 */
}
/* 用户信息区域 */
.user-header {
    position: relative;
    padding: 10px 10px 0px 10px;
    margin-top:-94px;
    z-index: 99;
    color:#1A1717;
}

.user-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
    color:#ffffff;
}
.user-name {
    font-size: 18px;
    font-weight: bold;
}

.user-id {
    font-size: 14px;
    color:#e0e0dd;
    margin-top: 5px;
}

.more-btn {
    position: absolute;
    color: #fff;
    font-size: 20px;
    z-index:9;
    top:1%;
    right:1%;
}
.more-btn-edit {
    position: absolute;
    color: #fff;
    font-size: 20px;
    z-index:9;
    top:15%;
    right:1%;
}

.user-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 15px 0;
    border:1px #dfdfdf solid;
    padding:10px 0px;
    border-radius: 10px;
}

.stat-item {
    flex: 1;
}

.stat-tag { display: flex;text-align: center;justify-content: space-around;  }

.stat-label {
    font-size: 12px;
    margin-top: 5px;
}

.user-bio {
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.5;
}

.user-tags {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
}

.tag {
    background-color: #dddddd;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    color:#333333;
}

.tag i {
    margin-right: 3px;
    color:#ffffff;
}
.stat-tag{ font-size: 12px;color:#333333; }
/* 功能按钮区域 */
.user-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
}

.action-btn {
    background-color: #333333;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.action-btn-ok {
    background-color: #ff6b9c;
    color:#ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.action-btn i {
    margin-right: 5px;
}

.edit-profile {
    background-color: transparent;
    border: 1px solid #333333;
}

.add-friend {
    background-color: #dddddd;
}

/* 导航标签 */
.content-tabs {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #333;
    padding: 0 15px;
}

.tab {
    padding: 15px 0;
    font-size: 16px;
    position: relative;
    cursor: pointer;
}

.tab.active {
    font-weight: bold;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fe2c55;
}

/* 作品区域 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 10px;
}
.disnone{ display:none; }

.work-item {
    aspect-ratio: 1/1;
    background-color: #333;
    position: relative;
    overflow: hidden;
    color:#ffffff;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 10px;
    font-size: 12px;
}

.work-stats {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.work-stats i {
    margin-right: 5px;
}

/***宠圈***/

/* 顶部导航 */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.nav-icons {
    display: flex;
    gap: 15px;
}

.nav-icons i {
    font-size: 18px;
    color: #666;
}

/* 标签栏 */
.tabs {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 50px;
    z-index: 99;
}

.tab {
    padding: 15px 0;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

.tab.active {
    font-weight: bold;
    color: #ff6b9c;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: #ff6b9c;
    border-radius: 3px;
}

/* 热门话题 */
.hot-topics {
    padding: 10px;
    background-color: #fff;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.topic-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.topic-item {
    align-items: center;
    padding: 5px 5px;
    border: 1px solid #f0f0f0;
    width:45%;
    margin-bottom: 5px;
}

.topic-content {
    flex: 1;
}

.topic-title {
    font-size: 15px;
    margin-bottom: 5px;
    color: #333;
}

.topic-stats {
    font-size: 12px;
    color: #999;
}

.topic-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.topic-1 .topic-icon {
    background-color: #ff9f43;
}

.topic-2 .topic-icon {
    background-color: #54a0ff;
}

.topic-3 .topic-icon {
    background-color: #5f27cd;
}

.topic-4 .topic-icon {
    background-color: #00d2d3;
}

/* 分隔线 */
.divider {
    height: 8px;
    background-color: #f5f5f5;
    margin: 2px 0;
}

/* 帖子列表 */
.post-list {
    padding: 0 10px;
}

.post-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    color: #999;
    font-size: 20px;
}

.user-details h3 {
    font-size: 15px;
    margin-bottom: 3px;
    color: #333333;
}

.user-details p {
    font-size: 12px;
    color: #999;
}
.delmyquan {
    background-color: #efefef;
    color: #a1a1a1;
    border: none;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
}
.follow-btn{
    background-color: #efefef;
    color: #333333;
    border: none;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
}
.follow-btn-ok {
    background-color: #ff6b9c;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
}
.dianzhan{   }
.dianzhan-ok{ color:#ff6b9c;}


.post-content {
    margin-bottom: 15px;
}

.post-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.post-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.post-tips {
    background-color: #f8f9fa;
    padding: 2px;
    /* 使用Flex布局 */
    display: flex;
    /* 允许弹性项目换行，当容器宽度不足以容纳所有项目时，项目会自动换行到下一行 */
    flex-wrap: wrap;
    /* 设置弹性项目之间的间距为10px */
    gap: 5px;
}

.post-tips ul {
    padding-left: 20px;
    margin: 5px 0;
}

.post-tips li {
    font-size: 13px;
    color: #666;
    margin-bottom: 3px;
}

.post-actions {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.action-btn-cq {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 13px;
    cursor: pointer;
}

.action-btn-cq i {
    margin-right: 5px;
    font-size: 16px;
}

.action-btn-cq.liked {
    color: #ff6b9c;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background-color: #121212;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #333;
    z-index: 100;
}

.nav-item {
    text-align: center;
    flex: 1;
    cursor: pointer;
}

.nav-icon {
    /**font-size: 22px;**/
    /**margin-bottom: 5px;**/
    color: #aaa;
}

.nav-item.active .nav-icon {
    color: #fff;
}

.nav-text {
    font-size: 12px;
    color: #aaa;
}
.nav-item.active .nav-text {
    color: #fff;
}
.nav-text a:hover,a.active{ text-decoration: none; color: #aaa; }
.nav-plus {
    background-color: #7a7576;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 10px rgb(106 100 101 / 50%);
}

.nav-plus i {
    color: #fff;
    font-size: 24px;
}
.notification-badge {
    position: absolute;
    top: -5px;
    right: 10px;
    background-color: #fe2c55;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/**默认没有数据的样式**/
.nodata{
    marign:auto auto;text-align: center;padding-top:30px;color:#999999;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .container {
        box-shadow: none;
    }