/* far.css - 远集&cos中心页面专用样式 */
* {
    margin:0; padding:0; box-sizing:border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background-image: url('/background1.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 5px;
}
/* 顶部导航条样式 */
.nav-bar {
    width: 100%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;            
    margin-bottom: 5px;
}
.nav-logo {
    font-size: 20px;
    font-weight: bold;
    color: #ff6b9d;
    text-decoration: none;
}
.nav-menu {
    display: flex;
    gap: 30px;
}
.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: #ff6b9d;
}
.nav-user {
    color: #666;
    font-size: 14px;
}
/* 容器样式 */
.container {
    max-width: 1000px;
    margin: 20px auto;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.page-title {
    font-size: 24px;
    color: #333;
}
.create-btn {
    background: #ff6b9d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
/* 远集列表样式 */
.far-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.far-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.far-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 15px;
    cursor: pointer;
    transition: transform 0.2s;
}
.far-item img:hover {
    transform: scale(1.02);
}
.far-info {
    flex: 1;
}
.far-info h3 {
    font-size: 18px;
    margin-bottom: 6px;
}
.far-info p {
    font-size: 14px;
    color: #666;
}
.far-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.like-btn {
    padding: 6px 12px;
    color: #fff; /* 修复：补充白色文字 */
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.join-btn {
    padding: 6px 12px;
    background: #00b42a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
/* 图片弹窗样式 */
.img-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.img-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.close-modal:hover {
    color: #ff6b9d;
}