.hotblock-menu {
    background: #fff;
    padding: 1rem 0;
}

.hotblock-menu ul {
    padding: 1rem 0.8rem 0;
    display: flex;
    flex-direction: column;
}

.hotblock-menu li {
    display: flex;
    justify-content: space-between; /* 主文本左，badge 右 */
    position: relative;
    max-width: 200px;
    color: #666;
    font-size: 14px;
    padding-bottom: 1.2rem;
    padding-right: 1rem;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotblock-menu li.is-active {
    font-weight: bold;
    color: #e6394d;
}

.hotblock-menu li.is-active span:first-child {
    color: #e6394d
}

.right-scroll-wrapper {
    flex: 1;
    overflow: hidden; /* 禁止自身横向滚动 */
}

.table-scroll-container {
    width: 100%;
    overflow-x: auto; /* 启用横向滚动 */
    overflow-y: visible; /* 不要隐藏纵向内容 */
    margin: 1rem 0;
}

.table-horizontal-scroll {
    width: 100%;
    overflow-x: auto; /* 启用横向滚动 */
    overflow-y: visible; /* 不要隐藏纵向内容 */
    margin: 1rem 0;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .zt-reason {
        flex-direction: column;
    }

    .zt-group {
        width: 100% !important;
        flex-direction: row;
        padding: 0.5rem 0;
        background: white;
        border-bottom: 1px solid #eee;
    }

    .hotblock-content-left .hotblock-menu ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap; /* 允许换行 */
        justify-content: space-evenly;
        gap: 0.6rem;
        padding: 0;
        margin: 0 -0.3rem;
    }

    .hotblock-content-left .hotblock-menu li {
        display: flex;
        width: calc((100% - 3rem) / 5);
        min-width: 60px;
        justify-content: space-between; /* 主文本左，badge 右 */
        align-items: center;
        padding: 0.5rem;
        background-color: #f5f5f5;
        border-radius: 4px;
        white-space: nowrap;
        overflow: hidden; /* 隐藏溢出内容 */
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .hotblock-content-left .hotblock-menu li .main-text {
        max-width: 4em;
        overflow: hidden;
        white-space: nowrap;
        flex-shrink: 1;
        text-align: left;
    }

    .hotblock-content-left .hotblock-menu li .badge {
        flex-shrink: 0;
        margin-left: 0.3em;
        font-size: 0.85em;
        white-space: nowrap;
    }
}