*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
    background:#f3f4f6;
    color:#1f2937;
    line-height:1.55;
}
.top-nav{
    background:#2563eb;
    color:#fff;
}
.nav-inner{
    max-width:1200px;
    margin:0 auto;
    padding:14px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.nav-title{
    font-size:18px;
    font-weight:600;
}
.container{
    max-width:1200px;
    margin:0 auto;
    padding:16px;
}
.notice-box{
    margin-bottom:16px;
}
.notice-item{
    background:#ffffff;
    padding:10px 14px;
    border-radius:6px;
    margin-bottom:8px;
    border:1px solid #e5e7eb;
}
.notice-top{
    background:#fff1f1;
    border-left:4px solid #ef4444;
}
.ad-box{
    margin-bottom:20px;
}
.ad-row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:8px;
}
.ad-img{
    height:110px;
    max-width:100%;
    object-fit:cover;
    border-radius:6px;
    border:1px solid #ddd;
}
.filter-card{
    background:#ffffff;
    padding:16px;
    border-radius:8px;
    box-shadow:0 1px 3px #0000001a;
    margin-bottom:16px;
}
.filter-row{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:10px;
    margin:12px 0;
}
.filter-row select{
    padding:8px 10px;
    border:1px solid #d1d5db;
    border-radius:6px;
    background:#fff;
}
.filter-search{
    display:flex;
    gap:10px;
}
.filter-search input{
    flex:1;
    padding:8px 10px;
    border:1px solid #d1d5db;
    border-radius:6px;
}
button{
    padding:8px 14px;
    border:none;
    border-radius:6px;
    cursor:pointer;
}
#searchBtn{
    background:#2563eb;
    color:white;
}
#openPublishModal{
    background:#10b981;
    color:#fff;
    font-size:16px;
    padding:10px 20px;
}

.form-item{
    margin-bottom:14px;
}
.form-item label{
    display:block;
    margin-bottom:6px;
    font-weight:500;
}
.form-item input,.form-item select,.form-item textarea{
    width:100%;
    padding:9px 10px;
    border:1px solid #d1d5db;
    border-radius:6px;
    font-size:14px;
}
.contact-item{
    display:flex;
    gap:8px;
    align-items:center;
    margin-bottom:8px;
}
.contact-item select{
    width:120px;
}
.contact-item input{
    flex:1;
}
.del-contact{
    background:#ef4444;
    color:#fff;
    border:none;
    border-radius:4px;
    padding:5px 10px;
    white-space:nowrap;
}
#addContactBtn{
    background:#6366f1;
    color:#fff;
    margin-top:4px;
}
#aiRewriteBtn{
    background:#f59e0b;
    color:#fff;
}
.form-btn-group{
    margin-top:12px;
}
#submitPostBtn{
    width:100%;
    background:#2563eb;
    color:#fff;
    padding:11px;
    font-size:16px;
}
.post-card{
    background:#ffffff;
    border-radius:8px;
    padding:16px;
    margin-bottom:14px;
    box-shadow:0 1px 3px #0000001a;
}
.post-header{
    display:flex;
    gap:8px;
    align-items:center;
    margin-bottom:8px;
}
.top-badge{
    background:#ef4444;
    color:#fff;
    padding:2px 8px;
    border-radius:4px;
    font-size:12px;
}
.post-title{
    font-size:17px;
    font-weight:600;
}
.post-meta{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    font-size:14px;
    color:#4b5563;
    margin-bottom:8px;
}
.post-tags{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:10px;
}
.tag{
    font-size:13px;
    background:#eef2ff;
    padding:3px 8px;
    border-radius:4px;
    color:#2563eb;
}
.post-desc{
    margin-bottom:10px;
    line-height:1.6;
}
.post-contact{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:8px;
}
.contact-tag{
    font-size:14px;
    background:#f0fdf4;
    padding:4px 8px;
    border-radius:4px;
}
.post-time{
    font-size:13px;
    color:#6b7280;
}

@media(max-width:640px){
    .nav-title{font-size:15px;}
    .filter-row{grid-template-columns:1fr 1fr;}
    .ad-img{height:80px;}
    .post-card{padding:12px;}
}
