.history-nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 2.5rem;
}

.history-nav-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.history-nav-container::-webkit-scrollbar {
    display: none;
}

.history-nav-list {
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: max-content;
}

.history-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 0.6rem 1.5rem;
    border: 2px solid transparent;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    margin-bottom: -2px;
    color: var(--text-light);
    font-family: inherit;
}

.history-nav-item:hover {
    color: var(--primary-color);
    background: rgba(46, 134, 171, 0.05);
    border-color: rgba(46, 134, 171, 0.2);
}

.history-nav-item.active {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 -2px 8px rgba(46, 134, 171, 0.2);
    z-index: 1;
}

.history-year {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.history-nav-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    z-index: 2;
}

.history-nav-arrow:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(46, 134, 171, 0.05);
}

.history-nav-arrow:active {
    transform: scale(0.95);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .history-nav-item {
        min-width: 90px;
        padding: 0.5rem 1rem;
    }

    .history-year {
        font-size: 1rem;
    }

    .history-nav-arrow {
        width: 30px;
        height: 30px;
    }
}