/* 主题选择网格布局 */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.titleBox {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.topic-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

    .topic-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-color: #FF9933;
    }

    .topic-item i {
        font-size: 1.5rem;
    }

    .topic-item span {
        font-size: 1rem;
        font-weight: 500;
    }

    .topic-item.selected {
        background-color: #fff3e6;
        border-color: #FF9933;
        color: #FF9933;
    }

        .topic-item.selected i {
            color: #FF9933;
        }

@media (max-width: 768px) {
    .topic-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .topic-item {
        padding: 0.75rem;
    }

        .topic-item i {
            font-size: 1.25rem;
        }

        .topic-item span {
            font-size: 0.875rem;
        }
}
