*{
    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.1);
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    margin-bottom: 20px;
}
.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:0 auto 2rem auto;
    padding:2rem;
    background:white;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);
    overflow:hidden;
}
.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;
}
/* 漫展列表纵向排列 */
.cos-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cos-item {
    display: flex;
    align-items: center;
    width:100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.cos-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}
.cos-item img:hover {
    transform: scale(1.05);
}
.cos-info {
    flex: 1;
    padding:0 15px;
}
.cos-info h3 {
    font-size: 18px;
    margin-bottom: 6px;
}
.cos-info p {
    font-size: 14px;
    color: #666;
}
.text-sm{
    font-size:13px;color:#888;
}
/* 按钮容器+按钮 */
.cos-btns{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.like-btn {
    padding: 6px 12px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size:14px;
}
.join-btn {
    padding: 6px 12px;
    background: #00b42a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size:14px;
}
.like-btn:hover,.join-btn:hover{
    opacity:0.85;
}
/* 弹窗通用 */
.img-modal, .question-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    z-index:9999;
    align-items:center;
    justify-content:center;
}
.modal-content{
    display:block;
    max-width:90%;
    max-height:80vh;
}
.close-modal {
    position:absolute;
    top:20px;
    right:30px;
    color:#fff;
    font-size:36px;
    cursor:pointer;
}
.question-modal-content{
    width:90%;
    max-width:500px;
    background:#fff;
    padding:20px;
    border-radius:8px;
}
.question-modal textarea{
    width:100%;
    padding:10px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:4px;
}
.btn-pass{
    background:#00b42a;
    color:#fff;
    border:none;
    padding:8px 16px;
    border-radius:4px;
    cursor:pointer;
}
.footer{
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color:#aaa;
    text-align:center;
    padding:1.5rem;
    margin-top:3rem;
}
/* ========== 新建漫展表单样式（create.html专用） ========== */
.form-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.form-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}
.form-item {
    margin-bottom: 20px;
}
.form-item label {
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}
.form-item input[type="text"],
.form-item textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: "Microsoft YaHei", sans-serif;
}
.form-item textarea {
    min-height: 120px;
    resize: vertical;
}
.file-box {
    border: 1px dashed #ccc;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.file-box:hover {
    border-color: #ff6b9d;
}
.file-tip {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}
#preview-img {
    margin-top: 12px;
    max-width: 160px;
    border-radius: 6px;
    display: none;
}
.submit-btn {
    width: 100%;
    background: #ff6b9d;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.submit-btn:hover {
    opacity: 0.85;
}
.back-btn {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.back-btn:hover {
    color: #ff6b9d;
}