* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

#app {
    /* max-width: 600px; */
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
    min-height: 100vh;
}
.status-bar {
    position: fixed;
    top: 10px;
    left: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 15px;
    text-align: center;
    z-index: 1000;
    font-size: 14px;
    animation: fadeInOut 10s infinite;
    border-radius:20px;
}

.status-user {
    font-weight: bold;
    color: #ffcc00;
}

/* 添加淡入淡出动画 */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-100%); }
    10% { opacity: .5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(0); }
    70% { opacity: .9; transform: translateY(-40%); }
    90% { opacity: .4; transform: translateY(-80%); }
    100% { opacity: 0; transform: translateY(-100%); }
}
.banner {
    position: relative;
    width: 100%;
}
.banner img{
    width: 100%;
}
.binder {
 display: flex;
 align-items: center;
 flex-direction: column;
 margin-top: 20px;
}
.binder img{
    width: 120px;
    height: 120px; 
}
.binder .binder-name{
    font-size: 20px;
}
.binder .binder-title{
    font-size: 16px;
    color: red;
    margin: 8px 0;
    font-weight: bold;
}
.binder .binder-description{
    font-size: 16px;
    color: red;
    font-weight: bold;
}

.members {
   background: #fff;
   border-radius: 5px;
   padding: 18px 10px;
   margin: 28px 0px;
}
.members .member-count{
    font-size: 20px;
    display: flex;
    align-items: center;
}
.members .member-list{
   display: flex;
   flex-wrap: wrap;
}
.members .member-list .member-item{
   list-style: none;
   text-align: center;
   line-height: normal;
   width: calc(100% / 5);
   margin: 16px 0;
 }
 .members .member-list .member-item img{
    width: 50px;
    border-radius: 6px;
  }

  .members .member-list .member-item .member-name{
    margin-top: 4px;
    color:#616161;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .members .seperator{
    width: 100%;
    height: 1px;
    background: #dadada;
    margin: 16px 0;
  }
  .binder-info .mark{
    font-size: 14px;
    color: red;
    font-weight: bold;
  }
  .binder-info .group-description{
    color: #979797;
    line-height: 24px;
    margin: 10px 5px 14px;
  }
  .binder-info video{
    width: 100%;
    border-radius: 5px;
  }
  .read-count{
    color: #979797;
  }




.group-rules {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.highlight {
    margin: 10px 0;
}

.important {
    color: red;
    font-weight: bold;
}

.read-count {
    color: #999;
    font-size: 14px;
    margin-top: 10px;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
 
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.text {
    font-size: 12px;
    color: #666;
}

.comment-section {
    margin-bottom: 70px;
}

.comment-header {
    text-align: right;
    margin-bottom: 15px;
    color: #666;
}

.comments {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment {
    display: flex;
    gap: 10px;
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.username {
    font-weight: bold;
}

.location {
    font-size: 12px;
    color: #999;
}

.comment-text {
    margin-bottom: 10px;
}

.reply {
    display: flex;
    gap: 10px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.reply-content {
    flex: 1;
}

.like-count {
   text-align: right;
    color: #666;
}
.user-like-count{
    position: absolute;
    top: 0;
    right: 7px;
    color: #666;
}

.join-button {
    position: fixed;
    bottom: 20px;
    left: 8px;
    right: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.join-button button {
    width: 100%;
    padding: 12px;
    background-color: #ff4d94; /* 保留原始颜色作为备用 */
    background-image: linear-gradient(to right, #da39bf, #ff4b2b); /* 添加红色渐变 */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}