body {
    margin: 0;
    font-family: 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    background: #f8f9fa;
    color: #222;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0 24px 0;
}
.list-title {
    font-size: 24px;
    color: #1976d2;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-publish-paid {
    background: linear-gradient(90deg, #ff9800 0%, #ffb300 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 32px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(255,152,0,0.10);
    transition: background 0.2s, color 0.2s;
}
.btn-publish-paid:hover {
    background: linear-gradient(90deg, #fb8c00 0%, #ffa726 100%);
    color: #fff;
}
.info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.info-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(21,101,192,0.07);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    min-width: 0;
    cursor: pointer;
}
.info-item:hover {
    box-shadow: 0 6px 24px rgba(21,101,192,0.13);
    transform: translateY(-2px) scale(1.01);
}
.info-img-link {
    display: block;
    min-width: 140px;
    max-width: 180px;
    width: 180px;
    height: 120px;
    overflow: hidden;
    background: #f5f5f5;
}
.info-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}
.info-content {
    flex: 1;
    padding: 18px 20px 12px 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.info-title {
    font-size: 17px;
    color: #222;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.18s;
}
.info-title:hover {
    color: #ff9800;
    text-decoration: none;
}
.info-desc {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.info-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #bbb;
    margin-top: auto;
}
.info-author {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #1976d2;
}
.info-date {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #bbb;
}
/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    z-index: 9999;
}
.modal.active {
    display: block;
}
.modal-mask {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
}
.modal-dialog {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 32px rgba(21,101,192,0.13);
    padding: 32px 32px 24px 32px;
    min-width: 320px;
    max-width: 90vw;
    text-align: center;
}
.modal-title {
    font-size: 18px;
    color: #ff9800;
    font-weight: bold;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.modal-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 18px;
}
.modal-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.modal-btn.login {
    background: #1976d2;
    color: #fff;
}
.modal-btn.login:hover {
    background: #1251a3;
}
.modal-btn.register {
    background: #4caf50;
    color: #fff;
}
.modal-btn.register:hover {
    background: #388e3c;
}
.modal-btn.recharge {
    background: #ff9800;
    color: #fff;
}
.modal-btn.recharge:hover {
    background: #e68900;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #bbb;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.18s;
}
.modal-close:hover {
    color: #ff9800;
}
@media (max-width: 700px) {
    .list-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .modal-dialog {
        min-width: 0;
        padding: 18px 8px 12px 8px;
    }
    .info-img-link {
        width: 100px;
        min-width: 80px;
        max-width: 100px;
        height: 70px;
    }
    .info-content {
        padding: 10px 8px 8px 8px;
    }
}
.list-flex {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.info-list {
    flex: 7;
    min-width: 0;
}
.list-sidebar {
    flex: 3;
    min-width: 260px;
    max-width: 380px;
    margin-left: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.sidebar-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(21,101,192,0.07);
    padding: 18px 18px 10px 18px;
    margin-bottom: 0;
}
.sidebar-title {
    font-size: 17px;
    font-weight: bold;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.sidebar-title i {
    color: #ff9800;
    font-size: 18px;
}
.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    border-bottom: 1px solid #f0f4fa;
    padding: 0 0 6px 0;
}
.sidebar-list li:last-child {
    border-bottom: none;
}
.sidebar-list a {
    color: #222;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    transition: color 0.18s;
}
.sidebar-list a:hover {
    color: #1976d2;
    text-decoration: underline;
}
.sidebar-date {
    color: #bbb;
    font-size: 13px;
    margin-left: 12px;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .list-flex {
        flex-direction: column;
        gap: 24px;
    }
    .list-sidebar {
        margin-left: 0;
        max-width: 100%;
    }
} 

/* 分页条样式 */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 36px 0 0 0;
}
.pagination {
    display: flex;
    gap: 6px;
    padding: 0;
    list-style: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(21,101,192,0.07);
    overflow: hidden;
}
.page-item {
    display: flex;
}
.page-item a, .page-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    font-size: 16px;
    color: #1976d2;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    border-radius: 0;
}
.page-item a:hover {
    background: #edefff;
    color: #6563e9;
}
.page-item.active span {
    background: linear-gradient(90deg,#6563e9,#43e97b);
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
}
.page-item.disabled span {
    color: #bbb;
    cursor: not-allowed;
    background: none;
}
@media (max-width: 600px) {
    .pagination-wrapper { margin: 18px 0 0 0; }
    .pagination { gap: 2px; }
    .page-item a, .page-item span { min-width: 28px; height: 28px; font-size: 13px; padding: 0 6px; }
} 