body {
    margin: 0;
    font-family: 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    background: #f8f9fa;
    color: #222;
}

/* 全新列表样式 */
.list-section {
    margin: 60px 0;
    background: linear-gradient(135deg, #fff8f8 0%, #ffebee 100%);
    border-radius: 16px;
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    border: 1px solid rgba(211,47,47,0.1);
    overflow: hidden;
}

.list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.95) 100%);
    position: relative;
    border-bottom: 1px solid rgba(211,47,47,0.1);
}

.list-title {
    font-size: 24px;
    color: #d32f2f;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 2px 4px rgba(211,47,47,0.1);
}

.btn-publish-paid {
    background: linear-gradient(90deg, #ff5252, #d32f2f);
    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(211,47,47,0.1);
    transition: all 0.3s ease;
}

.btn-publish-paid:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(211,47,47,0.2);
}

.info-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px 40px;
    background: #fff;
}

.info-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(211,47,47,0.1);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    min-width: 0;
    position: relative;
    border: 1px solid rgba(211,47,47,0.1);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUpItem 0.4s ease forwards;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff5252, #d32f2f);
    transition: height 0.3s ease;
}

.info-item:hover::before {
    height: 6px;
}

.info-item:hover {
    box-shadow: 0 12px 40px rgba(211,47,47,0.15);
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(211,47,47,0.2);
}

.info-img-link {
    display: block;
    min-width: 140px;
    max-width: 180px;
    width: 180px;
    height: 120px;
    overflow: hidden;
    background: #f5f5f5;
}

.info-img-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(211,47,47,0.1), rgba(211,47,47,0.05));
    transition: all 0.3s ease;
}

.info-item:hover .info-img-link::after {
    background: linear-gradient(to bottom, rgba(211,47,47,0.2), rgba(211,47,47,0.1));
}

.info-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.info-item:hover .info-img-link img {
    transform: scale(1.05);
}

.info-content {
    flex: 1;
    padding: 18px 20px 12px 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.info-title {
    font-size: 18px;
    color: #222;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 16px;
}

.info-title::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #d32f2f;
    transition: all 0.3s ease;
}

.info-item:hover .info-title::before {
    color: #ff9800;
    transform: translateY(-50%) translateX(4px);
}

.info-title:hover {
    color: #d32f2f;
    text-decoration: none;
}

.info-desc {
    font-size: 15px;
    color: #666;
    margin-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 16px 24px;
    font-size: 14px;
    color: #888;
}

.info-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
}

.info-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
}

/* 侧边栏样式 */
.list-sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(211,47,47,0.1);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(211,47,47,0.1);
}

.sidebar-block {
    padding: 24px;
}

.sidebar-title {
    font-size: 18px;
    color: #d32f2f;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f4fa;
}

.sidebar-list a {
    color: #222;
    transition: color 0.3s;
}

.sidebar-list a:hover {
    color: #d32f2f;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .info-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .info-list {
        grid-template-columns: 1fr;
    }
}
.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; }
}