ul li{list-style: none;}
.journal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--accent);
}

.search-btn {
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.search-btn:hover {
    opacity: 0.9;
}

.filter-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: 400;
    color: #6b7280;
}

.filter-options input[type="radio"],
.filter-options input[type="checkbox"] {
    margin: 0;
}

.short-input {
    width: 120px;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

select {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-left: auto;
}

.journal-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.journal-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.journal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.journal-card-top {
    display: flex;
    gap: 20px;
    padding: 20px;
    flex: 1;
}

.journal-image {
    width: 180px;
    height: 260px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.journal-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
    background: #f8f9fa;
}

.no-image i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.journal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.journal-card-bottom {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px 20px;
    border-top: 1px solid #f3f4f6;
    margin-top: 4px;
    padding-top: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.journal-card-bottom .detail-btn {
    margin-left: auto;
}

.bottom-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.bottom-link:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.journal-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.difficulty {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 8px;
}

.journal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.meta-item {
    font-size: 13px;
    color: #6b7280;
}

.journal-index {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.index-tag {
    padding: 2px 8px;
    background: #ecfdf5;
    color: #059669;
    font-size: 12px;
    border-radius: 4px;
}

.publish-time {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.accept-info {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 12px 0;
    background: #f9fafb;
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 3px solid var(--accent);
}

.accept-info-label {
    font-weight: 600;
    color: #1f2937;
    font-size: 12px;
    margin-bottom: 6px;
    display: block;
}

.accept-info-content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-btn {
    padding: 8px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.detail-btn:hover {
    opacity: 0.9;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

/* 详情页样式 */
.journal-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.detail-header {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.journal-cover {
    width: 200px;
    height: 280px;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
}

.journal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.journal-title-section {
    flex: 1;
}

.journal-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.difficulty-stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 16px;
}

.basic-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.info-item {
    font-size: 14px;
    color: #374151;
}

.detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tab-section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.tabs {
    display: flex;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.tab {
    padding: 14px 24px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.tab:hover {
    color: #374151;
}

.tab.active {
    background: #fff;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.tab-content {
    padding: 20px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-row label {
    font-size: 14px;
    color: #6b7280;
}

.info-row span {
    font-size: 15px;
    color: #1f2937;
}

.info-row .price {
    color: #ef4444;
    font-weight: 600;
    font-size: 18px;
}

.description-section,
.accept-section,
.reject-section {
    margin-bottom: 24px;
}

.description-section h3,
.accept-section h3,
.reject-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.description-section p,
.accept-section p,
.reject-section p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.submission-info,
.index-info {
    font-size: 14px;
    color: #4b5563;
}

.index-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.index-item {
    padding: 8px 16px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 6px;
}

.placeholder {
    color: #9ca3af;
    font-style: italic;
}

@media (max-width: 768px) {
    .journal-list {
        grid-template-columns: 1fr;
    }

    .journal-card {
        min-height: auto;
    }

    .journal-card-top {
        flex-direction: column;
    }

    .journal-image {
        width: 100%;
        height: 280px;
    }

    .journal-card-bottom {
        flex-direction: column;
    }

    .detail-btn,
    .bottom-link {
        width: 100%;
        justify-content: center;
    }

    .journal-card-bottom .detail-btn {
        margin-left: 0;
    }

    .detail-header {
        flex-direction: column;
        align-items: center;
    }

    .journal-cover {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }

    .journal-title-section {
        text-align: center;
    }

    .basic-info {
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        flex-direction: column;
        gap: 12px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-options {
        flex-wrap: wrap;
    }

    .filter-btn {
        margin-left: 0;
        width: 100%;
    }
}

.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pagination .current,
.pagination .active span{
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    border-width: 2px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
    font-weight: 700;
}

.pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
