body.topic-bg-page {
    background: url('/uploads/zt/zt.jpg') center top / cover no-repeat fixed;
    background-color: #0f1419;
}
body.topic-bg-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, 0.88);
    z-index: -1;
    pointer-events: none;
}


.topic-info-bar {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(142, 45, 226, 0.08), rgba(74, 0, 224, 0.04));
    border: 1px solid rgba(142, 45, 226, 0.2);
    border-radius: 8px;
    margin-bottom: 20px;
    align-items: flex-start; 
}


.topic-info-pic {
    flex-shrink: 0;
    width: 320px;
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--darker);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    border: 2px solid rgba(142, 45, 226, 0.4);
    position: relative;
}
.topic-info-pic img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.topic-info-content {
    flex: 1;
    min-width: 0;
}


.topic-info-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.3;
}
.topic-info-title i {
    color: #8E2DE2;
    font-size: 22px;
    background: rgba(142, 45, 226, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    flex-shrink: 0;
}


.topic-info-desc {
    font-size: 14px;
    color: #a0aab5;
    margin: 0;
    line-height: 1.8; 
    text-align: justify; 
    word-break: break-all; 
}

.topic-info-desc.long-content {
    max-height: 300px; 
    overflow-y: auto; 
    padding-right: 10px;
}

.topic-info-desc.long-content::-webkit-scrollbar {
    width: 6px;
}
.topic-info-desc.long-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}
.topic-info-desc.long-content::-webkit-scrollbar-thumb {
    background: rgba(142, 45, 226, 0.4);
    border-radius: 3px;
}
.topic-info-desc.long-content::-webkit-scrollbar-thumb:hover {
    background: rgba(142, 45, 226, 0.6);
}


.topic-header-card {
    background: rgba(38, 46, 55, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.05) !important;
}


@media (max-width: 768px) {
    .topic-info-bar {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        align-items: stretch;
    }
    .topic-info-pic {
        width: 100%;
        height: auto;
        padding-bottom: 56.25%;
    }
    .topic-info-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .topic-info-title i {
        font-size: 16px;
    }
    .topic-info-desc {
        font-size: 13px;
        line-height: 1.7;
        max-height: 200px; /* 手机端最大高度 200px */
    }
}