/* 词元套餐分组选项卡 */
.token-plan-tabs {
    margin-top: 8px;
}

.token-plan-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.token-plan-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: var(--text-secondary, #64748b);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.token-plan-tab:hover {
    color: var(--primary, #20d492);
    background: rgba(32, 212, 146, 0.06);
}

.token-plan-tab.active {
    color: var(--primary, #20d492);
    background: #fff;
    border-color: rgba(15, 23, 42, 0.08);
    border-bottom-color: #fff;
    margin-bottom: -1px;
    font-weight: 600;
}

.token-plan-tab .tab-en {
    font-size: 12px;
    opacity: 0.75;
    font-weight: 500;
}

.token-plan-tab .tab-count {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(32, 212, 146, 0.12);
    color: var(--primary, #20d492);
}

.token-plan-tab:not(.active) .tab-count {
    background: rgba(100, 116, 139, 0.12);
    color: var(--text-tertiary, #94a3b8);
}

.token-plan-panel {
    display: none;
    animation: tokenTabIn 0.25s ease;
}

.token-plan-panel.active {
    display: block;
}

.token-plan-panel-desc {
    color: var(--text-secondary, #64748b);
    font-size: 14px;
    margin: 0 0 20px;
    max-width: 720px;
    line-height: 1.6;
}

@keyframes tokenTabIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .token-plan-tab {
        padding: 8px 12px;
        font-size: 13px;
    }
    .token-plan-tab .tab-en {
        display: none;
    }
}
